mirror of
https://github.com/openai/codex.git
synced 2026-09-03 14:59:03 +00:00
## What changed - Add `threadSection/create`, `threadSection/update`, and `threadSection/delete` app-server methods, with generated protocol schemas and TypeScript bindings. - Persist custom sections in SQLite with stable UUIDv7 identities, trim and validate display names, and prevent renaming or deleting the built-in pinned section. - Delete sections transactionally and return their active and archived threads to the unsectioned list. - Serialize section mutations with section listing so concurrent requests observe ordered updates. ## Testing - Cover section persistence across restarts, ordered renames, member cleanup on deletion, invalid requests, unsupported stores, and thread-store/state-runtime behavior. GitOrigin-RevId: dc9a4be283c21dbc93ab1829eafc4825d8df6575
34 lines
846 B
JSON
Generated
34 lines
846 B
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"ThreadSection": {
|
|
"description": "An independently persisted, user-visible thread section.",
|
|
"properties": {
|
|
"id": {
|
|
"description": "Opaque UUIDv7 identity that remains stable when the section is renamed.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The current user-visible section name.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"description": "The independently persisted section created by the server.",
|
|
"properties": {
|
|
"section": {
|
|
"$ref": "#/definitions/ThreadSection"
|
|
}
|
|
},
|
|
"required": [
|
|
"section"
|
|
],
|
|
"title": "ThreadSectionCreateResponse",
|
|
"type": "object"
|
|
} |