mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
Add persisted sections for organizing threads (#35722)
## What changed - Replace the `isPinned` thread metadata and filters with an optional persisted `section` and `sectionId`. - Add the paginated `threadSection/list` app-server method so clients can discover sections even when they contain no threads. - Seed a stable `Pinned` section, validate section assignments, and support filtering for a specific section or for unsectioned threads. ## Testing - Cover section protocol serialization, listing and pagination, metadata updates, filtering, persistence, migration compatibility, and operation without SQLite state. GitOrigin-RevId: 7972b5471d29317b9387bfd90aa9f573f691ad4c
This commit is contained in:
committed by
copyberry
parent
9291a123fb
commit
85c6da1c79
+3
-3
@@ -40,10 +40,10 @@
|
||||
],
|
||||
"description": "Patch the stored Git metadata for this thread. Omit a field to leave it unchanged, set it to `null` to clear it, or provide a string to replace the stored value."
|
||||
},
|
||||
"isPinned": {
|
||||
"description": "Patch whether this thread is pinned. Omit to leave the stored value unchanged.",
|
||||
"sectionId": {
|
||||
"description": "Omit to leave the section unchanged, set to `null` to clear it, or provide a section ID.",
|
||||
"type": [
|
||||
"boolean",
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user