mirror of
https://github.com/openai/codex.git
synced 2026-08-30 14:19:08 +00:00
## What changed - Add `thread/section/move` to atomically move a thread into, within, or out of a section. Threads can be inserted before an existing member or appended, and moves within a section preserve `sectionEnteredAt`. - Add `section_position` sorting to `thread/list`, with ascending order as its default, and expose `sectionEnteredAt` in thread responses. - Persist section positions and entry times in SQLite, including migration of existing section members into recency order. Section membership is no longer updated through `thread/metadata/update`. ## Testing - Cover section moves, reordering, pagination, persistence across restarts and rollout reconciliation, concurrent updates, and rank renumbering. GitOrigin-RevId: aec6d7ddedca5277029b5caf5c074975397e956c
30 lines
768 B
JSON
Generated
30 lines
768 B
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "Parameters for moving a thread within a server-owned section ordering.",
|
|
"properties": {
|
|
"beforeThreadId": {
|
|
"description": "Existing thread to insert before; omission or null appends to the section.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"sectionId": {
|
|
"description": "Destination section, or `null` to remove the thread from its section.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"threadId": {
|
|
"description": "Thread to move into, within, or out of a section.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"sectionId",
|
|
"threadId"
|
|
],
|
|
"title": "ThreadSectionMoveParams",
|
|
"type": "object"
|
|
} |