diff --git a/codex-rs/app-server-protocol/schema/json/ClientRequest.json b/codex-rs/app-server-protocol/schema/json/ClientRequest.json index 200bf63fd1..909d636835 100644 --- a/codex-rs/app-server-protocol/schema/json/ClientRequest.json +++ b/codex-rs/app-server-protocol/schema/json/ClientRequest.json @@ -3683,6 +3683,10 @@ "null" ] }, + "includeSummaries": { + "description": "When true, include lightweight metadata for each loaded thread in the page.", + "type": "boolean" + }, "limit": { "description": "Optional page size; defaults to no limit.", "format": "uint32", @@ -3691,10 +3695,6 @@ "integer", "null" ] - }, - "includeSummaries": { - "description": "When true, include lightweight metadata for each loaded thread in the page.", - "type": "boolean" } }, "type": "object" @@ -6331,4 +6331,4 @@ } ], "title": "ClientRequest" -} +} \ No newline at end of file diff --git a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json index 52757ee340..dbd2263792 100644 --- a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json +++ b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json @@ -16210,6 +16210,10 @@ "null" ] }, + "includeSummaries": { + "description": "When true, include lightweight metadata for each loaded thread in the page.", + "type": "boolean" + }, "limit": { "description": "Optional page size; defaults to no limit.", "format": "uint32", @@ -16218,10 +16222,6 @@ "integer", "null" ] - }, - "includeSummaries": { - "description": "When true, include lightweight metadata for each loaded thread in the page.", - "type": "boolean" } }, "title": "ThreadLoadedListParams", @@ -16237,19 +16237,20 @@ }, "type": "array" }, - "summaries": { - "description": "Loaded-thread summaries for the returned page when `includeSummaries` is true. Empty when summaries were not requested.", - "items": { - "$ref": "#/definitions/v2/ThreadLoadedSummary" - }, - "type": "array" - }, "nextCursor": { "description": "Opaque cursor to pass to the next call to continue after the last item. if None, there are no more items to return.", "type": [ "string", "null" ] + }, + "summaries": { + "default": [], + "description": "Loaded-thread summaries for the returned page when `includeSummaries` is true. Empty when summaries were not requested.", + "items": { + "$ref": "#/definitions/v2/ThreadLoadedSummary" + }, + "type": "array" } }, "required": [ @@ -18305,4 +18306,4 @@ }, "title": "CodexAppServerProtocol", "type": "object" -} +} \ No newline at end of file diff --git a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json index 172563a687..e856d041af 100644 --- a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json +++ b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json @@ -14096,6 +14096,10 @@ "null" ] }, + "includeSummaries": { + "description": "When true, include lightweight metadata for each loaded thread in the page.", + "type": "boolean" + }, "limit": { "description": "Optional page size; defaults to no limit.", "format": "uint32", @@ -14104,10 +14108,6 @@ "integer", "null" ] - }, - "includeSummaries": { - "description": "When true, include lightweight metadata for each loaded thread in the page.", - "type": "boolean" } }, "title": "ThreadLoadedListParams", @@ -14123,19 +14123,20 @@ }, "type": "array" }, - "summaries": { - "description": "Loaded-thread summaries for the returned page when `includeSummaries` is true. Empty when summaries were not requested.", - "items": { - "$ref": "#/definitions/ThreadLoadedSummary" - }, - "type": "array" - }, "nextCursor": { "description": "Opaque cursor to pass to the next call to continue after the last item. if None, there are no more items to return.", "type": [ "string", "null" ] + }, + "summaries": { + "default": [], + "description": "Loaded-thread summaries for the returned page when `includeSummaries` is true. Empty when summaries were not requested.", + "items": { + "$ref": "#/definitions/ThreadLoadedSummary" + }, + "type": "array" } }, "required": [ @@ -16190,4 +16191,4 @@ }, "title": "CodexAppServerProtocolV2", "type": "object" -} +} \ No newline at end of file diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadLoadedListParams.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadLoadedListParams.json index db59495f6e..af1bf688ae 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadLoadedListParams.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadLoadedListParams.json @@ -8,6 +8,10 @@ "null" ] }, + "includeSummaries": { + "description": "When true, include lightweight metadata for each loaded thread in the page.", + "type": "boolean" + }, "limit": { "description": "Optional page size; defaults to no limit.", "format": "uint32", @@ -16,12 +20,8 @@ "integer", "null" ] - }, - "includeSummaries": { - "description": "When true, include lightweight metadata for each loaded thread in the page.", - "type": "boolean" } }, "title": "ThreadLoadedListParams", "type": "object" -} +} \ No newline at end of file diff --git a/codex-rs/app-server-protocol/schema/json/v2/ThreadLoadedListResponse.json b/codex-rs/app-server-protocol/schema/json/v2/ThreadLoadedListResponse.json index c13d9a6c89..c124934ced 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/ThreadLoadedListResponse.json +++ b/codex-rs/app-server-protocol/schema/json/v2/ThreadLoadedListResponse.json @@ -43,19 +43,20 @@ }, "type": "array" }, - "summaries": { - "description": "Loaded-thread summaries for the returned page when `includeSummaries` is true. Empty when summaries were not requested.", - "items": { - "$ref": "#/definitions/ThreadLoadedSummary" - }, - "type": "array" - }, "nextCursor": { "description": "Opaque cursor to pass to the next call to continue after the last item. if None, there are no more items to return.", "type": [ "string", "null" ] + }, + "summaries": { + "default": [], + "description": "Loaded-thread summaries for the returned page when `includeSummaries` is true. Empty when summaries were not requested.", + "items": { + "$ref": "#/definitions/ThreadLoadedSummary" + }, + "type": "array" } }, "required": [ @@ -63,4 +64,4 @@ ], "title": "ThreadLoadedListResponse", "type": "object" -} +} \ No newline at end of file diff --git a/codex-rs/app-server-protocol/schema/typescript/v2/ThreadLoadedSummary.ts b/codex-rs/app-server-protocol/schema/typescript/v2/ThreadLoadedSummary.ts index aee24a3a5a..27e0a7c73d 100644 --- a/codex-rs/app-server-protocol/schema/typescript/v2/ThreadLoadedSummary.ts +++ b/codex-rs/app-server-protocol/schema/typescript/v2/ThreadLoadedSummary.ts @@ -2,7 +2,11 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadLoadedSummary = { id: string, +export type ThreadLoadedSummary = { +/** + * Thread id for a currently loaded session. + */ +id: string, /** * Parent thread id when this loaded thread is an AgentControl-spawned subagent. */