| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | // This file is generated by the effect-codex-app-server package. Do not edit manually. | 1 | // This file is generated by the effect-codex-app-server package. Do not edit manually. |
| 2 | // Upstream protocol ref: fe74a774532af67b5a4a3dec03ce9469e17f89af | 2 | // Upstream protocol ref: 687a119f0fcaace47e1f1abcc77cec6c813fd6da |
| 3 | | 3 | |
| 4 | import * as Schema from "effect/Schema"; | 4 | import * as Schema from "effect/Schema"; |
| 5 | | 5 | |
| ... | @@ -57,6 +57,7 @@ export const ClientRequest__RequestId = Schema.Union([ | ... | @@ -57,6 +57,7 @@ export const ClientRequest__RequestId = Schema.Union([ |
| 57 | | 57 | |
| 58 | export type ClientRequest__InitializeCapabilities = { | 58 | export type ClientRequest__InitializeCapabilities = { |
| 59 | readonly experimentalApi?: boolean; | 59 | readonly experimentalApi?: boolean; |
| | 60 | readonly explicitGatewayOauth?: boolean; |
| 60 | readonly extensions?: { readonly [x: string]: Schema.Json } | null; | 61 | readonly extensions?: { readonly [x: string]: Schema.Json } | null; |
| 61 | readonly mcpServerOpenaiFormElicitation?: boolean; | 62 | readonly mcpServerOpenaiFormElicitation?: boolean; |
| 62 | readonly optOutNotificationMethods?: ReadonlyArray<string> | null; | 63 | readonly optOutNotificationMethods?: ReadonlyArray<string> | null; |
| ... | @@ -69,6 +70,12 @@ export const ClientRequest__InitializeCapabilities = Schema.Struct({ | ... | @@ -69,6 +70,12 @@ export const ClientRequest__InitializeCapabilities = Schema.Struct({ |
| 69 | default: false, | 70 | default: false, |
| 70 | }), | 71 | }), |
| 71 | ), | 72 | ), |
| | 73 | explicitGatewayOauth: Schema.optionalKey( |
| | 74 | Schema.Boolean.annotate({ |
| | 75 | description: |
| | 76 | "Use explicit gateway OAuth login instead of automatic browser authorization. Applies to this app-server's gateway runtime; later connections cannot undo it.", |
| | 77 | }), |
| | 78 | ), |
| 72 | extensions: Schema.optionalKey( | 79 | extensions: Schema.optionalKey( |
| 73 | Schema.Union([ | 80 | Schema.Union([ |
| 74 | Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" })).annotate({ | 81 | Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" })).annotate({ |
| ... | @@ -572,6 +579,23 @@ export const ClientRequest__TurnItemsView = Schema.Union( | ... | @@ -572,6 +579,23 @@ export const ClientRequest__TurnItemsView = Schema.Union( |
| 572 | { mode: "oneOf" }, | 579 | { mode: "oneOf" }, |
| 573 | ).annotate({ identifier: "ClientRequest__TurnItemsView" }); | 580 | ).annotate({ identifier: "ClientRequest__TurnItemsView" }); |
| 574 | | 581 | |
| | 582 | export type ClientRequest__ThreadItemsListAnchor = { |
| | 583 | readonly itemId: string; |
| | 584 | readonly type: "item"; |
| | 585 | }; |
| | 586 | export const ClientRequest__ThreadItemsListAnchor = Schema.Union( |
| | 587 | [ |
| | 588 | Schema.Struct({ |
| | 589 | itemId: Schema.String, |
| | 590 | type: Schema.Literal("item").annotate({ title: "ItemThreadItemsListAnchorType" }), |
| | 591 | }).annotate({ title: "ItemThreadItemsListAnchor" }), |
| | 592 | ], |
| | 593 | { mode: "oneOf" }, |
| | 594 | ).annotate({ |
| | 595 | description: "An exclusive item position within the requested visible turn.", |
| | 596 | identifier: "ClientRequest__ThreadItemsListAnchor", |
| | 597 | }); |
| | 598 | |
| 575 | export type ClientRequest__ThreadInjectItemsParams = { | 599 | export type ClientRequest__ThreadInjectItemsParams = { |
| 576 | readonly items: ReadonlyArray<Schema.Json>; | 600 | readonly items: ReadonlyArray<Schema.Json>; |
| 577 | readonly threadId: string; | 601 | readonly threadId: string; |
| ... | @@ -1094,27 +1118,19 @@ export const ClientRequest__McpServerStatusDetail = Schema.Literals([ | ... | @@ -1094,27 +1118,19 @@ export const ClientRequest__McpServerStatusDetail = Schema.Literals([ |
| 1094 | "toolsAndAuthOnly", | 1118 | "toolsAndAuthOnly", |
| 1095 | ]).annotate({ identifier: "ClientRequest__McpServerStatusDetail" }); | 1119 | ]).annotate({ identifier: "ClientRequest__McpServerStatusDetail" }); |
| 1096 | | 1120 | |
| 1097 | export type ClientRequest__McpResourceReadParams = { | 1121 | export type ClientRequest__McpResourceReadTarget = { |
| 1098 | readonly connectorId?: string | null; | 1122 | readonly connectorId: string; |
| 1099 | readonly originCallId?: string | null; | 1123 | readonly linkId: string | null; |
| 1100 | readonly server: string; | | |
| 1101 | readonly threadId?: string | null; | | |
| 1102 | readonly uri: string; | | |
| 1103 | }; | 1124 | }; |
| 1104 | export const ClientRequest__McpResourceReadParams = Schema.Struct({ | 1125 | export const ClientRequest__McpResourceReadTarget = Schema.Struct({ |
| 1105 | connectorId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 1126 | connectorId: Schema.String, |
| 1106 | originCallId: Schema.optionalKey( | 1127 | linkId: Schema.Union([ |
| 1107 | Schema.Union([ | 1128 | Schema.String.annotate({ |
| 1108 | Schema.String.annotate({ | 1129 | description: "Null explicitly requests no-auth access, subject to the app's resource policy.", |
| 1109 | description: "Originating MCP tool call used to select the resource's app.", | 1130 | }), |
| 1110 | }), | 1131 | Schema.Null, |
| 1111 | Schema.Null, | 1132 | ]), |
| 1112 | ]), | 1133 | }).annotate({ identifier: "ClientRequest__McpResourceReadTarget" }); |
| 1113 | ), | | |
| 1114 | server: Schema.String, | | |
| 1115 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 1116 | uri: Schema.String, | | |
| 1117 | }).annotate({ identifier: "ClientRequest__McpResourceReadParams" }); | | |
| 1118 | | 1134 | |
| 1119 | export type ClientRequest__McpServerToolCallParams = { | 1135 | export type ClientRequest__McpServerToolCallParams = { |
| 1120 | readonly _meta?: Schema.Json; | 1136 | readonly _meta?: Schema.Json; |
| ... | @@ -3209,6 +3225,18 @@ export const ServerNotification__PlanType = Schema.String.annotate({ | ... | @@ -3209,6 +3225,18 @@ export const ServerNotification__PlanType = Schema.String.annotate({ |
| 3209 | identifier: "ServerNotification__PlanType", | 3225 | identifier: "ServerNotification__PlanType", |
| 3210 | }); | 3226 | }); |
| 3211 | | 3227 | |
| | 3228 | export type ServerNotification__GatewayOAuthStatus = |
| | 3229 | | "notReady" |
| | 3230 | | "started" |
| | 3231 | | "succeeded" |
| | 3232 | | "failed"; |
| | 3233 | export const ServerNotification__GatewayOAuthStatus = Schema.Literals([ |
| | 3234 | "notReady", |
| | 3235 | "started", |
| | 3236 | "succeeded", |
| | 3237 | "failed", |
| | 3238 | ]).annotate({ identifier: "ServerNotification__GatewayOAuthStatus" }); |
| | 3239 | |
| 3212 | export type ServerNotification__CreditsSnapshot = { | 3240 | export type ServerNotification__CreditsSnapshot = { |
| 3213 | readonly balance?: string | null; | 3241 | readonly balance?: string | null; |
| 3214 | readonly hasCredits: boolean; | 3242 | readonly hasCredits: boolean; |
| ... | @@ -4008,6 +4036,7 @@ export const ToolRequestUserInputResponse__ToolRequestUserInputAnswer = Schema.S | ... | @@ -4008,6 +4036,7 @@ export const ToolRequestUserInputResponse__ToolRequestUserInputAnswer = Schema.S |
| 4008 | | 4036 | |
| 4009 | export type V1InitializeParams__InitializeCapabilities = { | 4037 | export type V1InitializeParams__InitializeCapabilities = { |
| 4010 | readonly experimentalApi?: boolean; | 4038 | readonly experimentalApi?: boolean; |
| | 4039 | readonly explicitGatewayOauth?: boolean; |
| 4011 | readonly extensions?: { readonly [x: string]: Schema.Json } | null; | 4040 | readonly extensions?: { readonly [x: string]: Schema.Json } | null; |
| 4012 | readonly mcpServerOpenaiFormElicitation?: boolean; | 4041 | readonly mcpServerOpenaiFormElicitation?: boolean; |
| 4013 | readonly optOutNotificationMethods?: ReadonlyArray<string> | null; | 4042 | readonly optOutNotificationMethods?: ReadonlyArray<string> | null; |
| ... | @@ -4020,6 +4049,12 @@ export const V1InitializeParams__InitializeCapabilities = Schema.Struct({ | ... | @@ -4020,6 +4049,12 @@ export const V1InitializeParams__InitializeCapabilities = Schema.Struct({ |
| 4020 | default: false, | 4049 | default: false, |
| 4021 | }), | 4050 | }), |
| 4022 | ), | 4051 | ), |
| | 4052 | explicitGatewayOauth: Schema.optionalKey( |
| | 4053 | Schema.Boolean.annotate({ |
| | 4054 | description: |
| | 4055 | "Use explicit gateway OAuth login instead of automatic browser authorization. Applies to this app-server's gateway runtime; later connections cannot undo it.", |
| | 4056 | }), |
| | 4057 | ), |
| 4023 | extensions: Schema.optionalKey( | 4058 | extensions: Schema.optionalKey( |
| 4024 | Schema.Union([ | 4059 | Schema.Union([ |
| 4025 | Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" })).annotate({ | 4060 | Schema.Record(Schema.String, Schema.Json.annotate({ expected: "JSON value" })).annotate({ |
| ... | @@ -5339,6 +5374,30 @@ export const V2FsWriteFileParams__AbsolutePathBuf = Schema.String.annotate({ | ... | @@ -5339,6 +5374,30 @@ export const V2FsWriteFileParams__AbsolutePathBuf = Schema.String.annotate({ |
| 5339 | identifier: "V2FsWriteFileParams__AbsolutePathBuf", | 5374 | identifier: "V2FsWriteFileParams__AbsolutePathBuf", |
| 5340 | }); | 5375 | }); |
| 5341 | | 5376 | |
| | 5377 | export type V2GatewayOAuthChangedNotification__GatewayOAuthStatus = |
| | 5378 | | "notReady" |
| | 5379 | | "started" |
| | 5380 | | "succeeded" |
| | 5381 | | "failed"; |
| | 5382 | export const V2GatewayOAuthChangedNotification__GatewayOAuthStatus = Schema.Literals([ |
| | 5383 | "notReady", |
| | 5384 | "started", |
| | 5385 | "succeeded", |
| | 5386 | "failed", |
| | 5387 | ]).annotate({ identifier: "V2GatewayOAuthChangedNotification__GatewayOAuthStatus" }); |
| | 5388 | |
| | 5389 | export type V2GatewayOAuthReadResponse__GatewayOAuthStatus = |
| | 5390 | | "notReady" |
| | 5391 | | "started" |
| | 5392 | | "succeeded" |
| | 5393 | | "failed"; |
| | 5394 | export const V2GatewayOAuthReadResponse__GatewayOAuthStatus = Schema.Literals([ |
| | 5395 | "notReady", |
| | 5396 | "started", |
| | 5397 | "succeeded", |
| | 5398 | "failed", |
| | 5399 | ]).annotate({ identifier: "V2GatewayOAuthReadResponse__GatewayOAuthStatus" }); |
| | 5400 | |
| 5342 | export type V2GetAccountRateLimitsResponse__RateLimitResetType = "codexRateLimits" | "unknown"; | 5401 | export type V2GetAccountRateLimitsResponse__RateLimitResetType = "codexRateLimits" | "unknown"; |
| 5343 | export const V2GetAccountRateLimitsResponse__RateLimitResetType = Schema.Literals([ | 5402 | export const V2GetAccountRateLimitsResponse__RateLimitResetType = Schema.Literals([ |
| 5344 | "codexRateLimits", | 5403 | "codexRateLimits", |
| ... | @@ -6966,6 +7025,20 @@ export const V2MarketplaceUpgradeResponse__AbsolutePathBuf = Schema.String.annot | ... | @@ -6966,6 +7025,20 @@ export const V2MarketplaceUpgradeResponse__AbsolutePathBuf = Schema.String.annot |
| 6966 | identifier: "V2MarketplaceUpgradeResponse__AbsolutePathBuf", | 7025 | identifier: "V2MarketplaceUpgradeResponse__AbsolutePathBuf", |
| 6967 | }); | 7026 | }); |
| 6968 | | 7027 | |
| | 7028 | export type V2McpResourceReadParams__McpResourceReadTarget = { |
| | 7029 | readonly connectorId: string; |
| | 7030 | readonly linkId: string | null; |
| | 7031 | }; |
| | 7032 | export const V2McpResourceReadParams__McpResourceReadTarget = Schema.Struct({ |
| | 7033 | connectorId: Schema.String, |
| | 7034 | linkId: Schema.Union([ |
| | 7035 | Schema.String.annotate({ |
| | 7036 | description: "Null explicitly requests no-auth access, subject to the app's resource policy.", |
| | 7037 | }), |
| | 7038 | Schema.Null, |
| | 7039 | ]), |
| | 7040 | }).annotate({ identifier: "V2McpResourceReadParams__McpResourceReadTarget" }); |
| | 7041 | |
| 6969 | export type V2McpResourceReadResponse__ResourceContent = | 7042 | export type V2McpResourceReadResponse__ResourceContent = |
| 6970 | | { | 7043 | | { |
| 6971 | readonly _meta?: Schema.Json; | 7044 | readonly _meta?: Schema.Json; |
| ... | @@ -9233,6 +9306,23 @@ export const V2ThreadGoalUpdatedNotification__ThreadGoalStatus = Schema.Literals | ... | @@ -9233,6 +9306,23 @@ export const V2ThreadGoalUpdatedNotification__ThreadGoalStatus = Schema.Literals |
| 9233 | "complete", | 9306 | "complete", |
| 9234 | ]).annotate({ identifier: "V2ThreadGoalUpdatedNotification__ThreadGoalStatus" }); | 9307 | ]).annotate({ identifier: "V2ThreadGoalUpdatedNotification__ThreadGoalStatus" }); |
| 9235 | | 9308 | |
| | 9309 | export type V2ThreadItemsListParams__ThreadItemsListAnchor = { |
| | 9310 | readonly itemId: string; |
| | 9311 | readonly type: "item"; |
| | 9312 | }; |
| | 9313 | export const V2ThreadItemsListParams__ThreadItemsListAnchor = Schema.Union( |
| | 9314 | [ |
| | 9315 | Schema.Struct({ |
| | 9316 | itemId: Schema.String, |
| | 9317 | type: Schema.Literal("item").annotate({ title: "ItemThreadItemsListAnchorType" }), |
| | 9318 | }).annotate({ title: "ItemThreadItemsListAnchor" }), |
| | 9319 | ], |
| | 9320 | { mode: "oneOf" }, |
| | 9321 | ).annotate({ |
| | 9322 | description: "An exclusive item position within the requested visible turn.", |
| | 9323 | identifier: "V2ThreadItemsListParams__ThreadItemsListAnchor", |
| | 9324 | }); |
| | 9325 | |
| 9236 | export type V2ThreadItemsListParams__SortDirection = "asc" | "desc"; | 9326 | export type V2ThreadItemsListParams__SortDirection = "asc" | "desc"; |
| 9237 | export const V2ThreadItemsListParams__SortDirection = Schema.Literals(["asc", "desc"]).annotate({ | 9327 | export const V2ThreadItemsListParams__SortDirection = Schema.Literals(["asc", "desc"]).annotate({ |
| 9238 | identifier: "V2ThreadItemsListParams__SortDirection", | 9328 | identifier: "V2ThreadItemsListParams__SortDirection", |
| ... | @@ -16276,51 +16366,6 @@ export const ClientRequest__ThreadMetadataUpdateParams = Schema.Struct({ | ... | @@ -16276,51 +16366,6 @@ export const ClientRequest__ThreadMetadataUpdateParams = Schema.Struct({ |
| 16276 | threadId: Schema.String, | 16366 | threadId: Schema.String, |
| 16277 | }).annotate({ identifier: "ClientRequest__ThreadMetadataUpdateParams" }); | 16367 | }).annotate({ identifier: "ClientRequest__ThreadMetadataUpdateParams" }); |
| 16278 | | 16368 | |
| 16279 | export type ClientRequest__ThreadItemsListParams = { | | |
| 16280 | readonly cursor?: string | null; | | |
| 16281 | readonly limit?: number | null; | | |
| 16282 | readonly sortDirection?: ClientRequest__SortDirection | null; | | |
| 16283 | readonly threadId: string; | | |
| 16284 | readonly turnId?: string | null; | | |
| 16285 | }; | | |
| 16286 | export const ClientRequest__ThreadItemsListParams = Schema.Struct({ | | |
| 16287 | cursor: Schema.optionalKey( | | |
| 16288 | Schema.Union([ | | |
| 16289 | Schema.String.annotate({ | | |
| 16290 | description: "Opaque cursor to pass to the next call to continue after the last item.", | | |
| 16291 | }), | | |
| 16292 | Schema.Null, | | |
| 16293 | ]), | | |
| 16294 | ), | | |
| 16295 | limit: Schema.optionalKey( | | |
| 16296 | Schema.Union([ | | |
| 16297 | Schema.Number.annotate({ description: "Optional item page size.", format: "uint32" }) | | |
| 16298 | .check(Schema.isInt().annotate({ expected: "an integer" })) | | |
| 16299 | .check( | | |
| 16300 | Schema.isGreaterThanOrEqualTo(0).annotate({ | | |
| 16301 | expected: "a value greater than or equal to 0", | | |
| 16302 | }), | | |
| 16303 | ), | | |
| 16304 | Schema.Null, | | |
| 16305 | ]), | | |
| 16306 | ), | | |
| 16307 | sortDirection: Schema.optionalKey( | | |
| 16308 | Schema.Union([ClientRequest__SortDirection, Schema.Null]).annotate({ | | |
| 16309 | description: "Optional item pagination direction; defaults to ascending.", | | |
| 16310 | }), | | |
| 16311 | ), | | |
| 16312 | threadId: Schema.String, | | |
| 16313 | turnId: Schema.optionalKey( | | |
| 16314 | Schema.Union([ | | |
| 16315 | Schema.String.annotate({ | | |
| 16316 | description: | | |
| 16317 | "Optional turn id to filter by. When omitted, returns items across the thread.", | | |
| 16318 | }), | | |
| 16319 | Schema.Null, | | |
| 16320 | ]), | | |
| 16321 | ), | | |
| 16322 | }).annotate({ identifier: "ClientRequest__ThreadItemsListParams" }); | | |
| 16323 | | | |
| 16324 | export type ClientRequest__ThreadListParams = { | 16369 | export type ClientRequest__ThreadListParams = { |
| 16325 | readonly archived?: boolean | null; | 16370 | readonly archived?: boolean | null; |
| 16326 | readonly cursor?: string | null; | 16371 | readonly cursor?: string | null; |
| ... | @@ -16511,6 +16556,15 @@ export const ClientRequest__ThreadTurnsListParams = Schema.Struct({ | ... | @@ -16511,6 +16556,15 @@ export const ClientRequest__ThreadTurnsListParams = Schema.Struct({ |
| 16511 | threadId: Schema.String, | 16556 | threadId: Schema.String, |
| 16512 | }).annotate({ identifier: "ClientRequest__ThreadTurnsListParams" }); | 16557 | }).annotate({ identifier: "ClientRequest__ThreadTurnsListParams" }); |
| 16513 | | 16558 | |
| | 16559 | export type ClientRequest__ThreadItemsListCursor = string | ClientRequest__ThreadItemsListAnchor; |
| | 16560 | export const ClientRequest__ThreadItemsListCursor = Schema.Union([ |
| | 16561 | Schema.String, |
| | 16562 | ClientRequest__ThreadItemsListAnchor, |
| | 16563 | ]).annotate({ |
| | 16564 | description: "Starting position for an item-history page.", |
| | 16565 | identifier: "ClientRequest__ThreadItemsListCursor", |
| | 16566 | }); |
| | 16567 | |
| 16514 | export type ClientRequest__SkillsExtraRootsSetParams = { | 16568 | export type ClientRequest__SkillsExtraRootsSetParams = { |
| 16515 | readonly extraRoots: ReadonlyArray<ClientRequest__AbsolutePathBuf>; | 16569 | readonly extraRoots: ReadonlyArray<ClientRequest__AbsolutePathBuf>; |
| 16516 | }; | 16570 | }; |
| ... | @@ -17003,6 +17057,7 @@ export type ClientRequest__ListMcpServerStatusParams = { | ... | @@ -17003,6 +17057,7 @@ export type ClientRequest__ListMcpServerStatusParams = { |
| 17003 | readonly cursor?: string | null; | 17057 | readonly cursor?: string | null; |
| 17004 | readonly detail?: ClientRequest__McpServerStatusDetail | null; | 17058 | readonly detail?: ClientRequest__McpServerStatusDetail | null; |
| 17005 | readonly limit?: number | null; | 17059 | readonly limit?: number | null; |
| | 17060 | readonly serverName?: string | null; |
| 17006 | readonly threadId?: string | null; | 17061 | readonly threadId?: string | null; |
| 17007 | }; | 17062 | }; |
| 17008 | export const ClientRequest__ListMcpServerStatusParams = Schema.Struct({ | 17063 | export const ClientRequest__ListMcpServerStatusParams = Schema.Struct({ |
| ... | @@ -17035,9 +17090,46 @@ export const ClientRequest__ListMcpServerStatusParams = Schema.Struct({ | ... | @@ -17035,9 +17090,46 @@ export const ClientRequest__ListMcpServerStatusParams = Schema.Struct({ |
| 17035 | Schema.Null, | 17090 | Schema.Null, |
| 17036 | ]), | 17091 | ]), |
| 17037 | ), | 17092 | ), |
| | 17093 | serverName: Schema.optionalKey( |
| | 17094 | Schema.Union([ |
| | 17095 | Schema.String.annotate({ |
| | 17096 | description: |
| | 17097 | "Limit discovery to one server. With a thread ID, reuse that thread's MCP connection.", |
| | 17098 | }), |
| | 17099 | Schema.Null, |
| | 17100 | ]), |
| | 17101 | ), |
| 17038 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 17102 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 17039 | }).annotate({ identifier: "ClientRequest__ListMcpServerStatusParams" }); | 17103 | }).annotate({ identifier: "ClientRequest__ListMcpServerStatusParams" }); |
| 17040 | | 17104 | |
| | 17105 | export type ClientRequest__McpResourceReadParams = { |
| | 17106 | readonly connectorId?: string | null; |
| | 17107 | readonly originCallId?: string | null; |
| | 17108 | readonly server: string; |
| | 17109 | readonly target?: ClientRequest__McpResourceReadTarget | null; |
| | 17110 | readonly threadId?: string | null; |
| | 17111 | readonly uri: string; |
| | 17112 | }; |
| | 17113 | export const ClientRequest__McpResourceReadParams = Schema.Struct({ |
| | 17114 | connectorId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 17115 | originCallId: Schema.optionalKey( |
| | 17116 | Schema.Union([ |
| | 17117 | Schema.String.annotate({ |
| | 17118 | description: "Originating MCP tool call used to select the resource's app.", |
| | 17119 | }), |
| | 17120 | Schema.Null, |
| | 17121 | ]), |
| | 17122 | ), |
| | 17123 | server: Schema.String, |
| | 17124 | target: Schema.optionalKey( |
| | 17125 | Schema.Union([ClientRequest__McpResourceReadTarget, Schema.Null]).annotate({ |
| | 17126 | description: "Explicit hosted app/account. Omit to retain legacy resource discovery.", |
| | 17127 | }), |
| | 17128 | ), |
| | 17129 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 17130 | uri: Schema.String, |
| | 17131 | }).annotate({ identifier: "ClientRequest__McpResourceReadParams" }); |
| | 17132 | |
| 17041 | export type ClientRequest__WindowsSandboxSetupStartParams = { | 17133 | export type ClientRequest__WindowsSandboxSetupStartParams = { |
| 17042 | readonly cwd?: ClientRequest__AbsolutePathBuf | null; | 17134 | readonly cwd?: ClientRequest__AbsolutePathBuf | null; |
| 17043 | readonly mode: ClientRequest__WindowsSandboxSetupMode; | 17135 | readonly mode: ClientRequest__WindowsSandboxSetupMode; |
| ... | @@ -17771,9 +17863,11 @@ export type ServerNotification__CodexErrorInfo = | ... | @@ -17771,9 +17863,11 @@ export type ServerNotification__CodexErrorInfo = |
| 17771 | | "sessionBudgetExceeded" | 17863 | | "sessionBudgetExceeded" |
| 17772 | | "usageLimitExceeded" | 17864 | | "usageLimitExceeded" |
| 17773 | | "rateLimitExceeded" | 17865 | | "rateLimitExceeded" |
| | 17866 | | "flexUnavailable" |
| 17774 | | "serverOverloaded" | 17867 | | "serverOverloaded" |
| 17775 | | "cyberPolicy" | 17868 | | "cyberPolicy" |
| 17776 | | "misalignmentPolicyViolation" | 17869 | | "misalignmentPolicyViolation" |
| | 17870 | | "tooManyDenials" |
| 17777 | | "internalServerError" | 17871 | | "internalServerError" |
| 17778 | | "unauthorized" | 17872 | | "unauthorized" |
| 17779 | | "badRequest" | 17873 | | "badRequest" |
| ... | @@ -17796,9 +17890,11 @@ export const ServerNotification__CodexErrorInfo = Schema.Union( | ... | @@ -17796,9 +17890,11 @@ export const ServerNotification__CodexErrorInfo = Schema.Union( |
| 17796 | "sessionBudgetExceeded", | 17890 | "sessionBudgetExceeded", |
| 17797 | "usageLimitExceeded", | 17891 | "usageLimitExceeded", |
| 17798 | "rateLimitExceeded", | 17892 | "rateLimitExceeded", |
| | 17893 | "flexUnavailable", |
| 17799 | "serverOverloaded", | 17894 | "serverOverloaded", |
| 17800 | "cyberPolicy", | 17895 | "cyberPolicy", |
| 17801 | "misalignmentPolicyViolation", | 17896 | "misalignmentPolicyViolation", |
| | 17897 | "tooManyDenials", |
| 17802 | "internalServerError", | 17898 | "internalServerError", |
| 17803 | "unauthorized", | 17899 | "unauthorized", |
| 17804 | "badRequest", | 17900 | "badRequest", |
| ... | @@ -18501,6 +18597,26 @@ export const ServerNotification__AccountUpdatedNotification = Schema.Struct({ | ... | @@ -18501,6 +18597,26 @@ export const ServerNotification__AccountUpdatedNotification = Schema.Struct({ |
| 18501 | planType: Schema.optionalKey(Schema.Union([ServerNotification__PlanType, Schema.Null])), | 18597 | planType: Schema.optionalKey(Schema.Union([ServerNotification__PlanType, Schema.Null])), |
| 18502 | }).annotate({ identifier: "ServerNotification__AccountUpdatedNotification" }); | 18598 | }).annotate({ identifier: "ServerNotification__AccountUpdatedNotification" }); |
| 18503 | | 18599 | |
| | 18600 | export type ServerNotification__GatewayOAuthChangedNotification = { |
| | 18601 | readonly authUrl?: string | null; |
| | 18602 | readonly error?: string | null; |
| | 18603 | readonly providerId: string; |
| | 18604 | readonly status: ServerNotification__GatewayOAuthStatus; |
| | 18605 | }; |
| | 18606 | export const ServerNotification__GatewayOAuthChangedNotification = Schema.Struct({ |
| | 18607 | authUrl: Schema.optionalKey( |
| | 18608 | Schema.Union([ |
| | 18609 | Schema.String.annotate({ |
| | 18610 | description: "Authorization handoff, sent only to the connection that started login.", |
| | 18611 | }), |
| | 18612 | Schema.Null, |
| | 18613 | ]), |
| | 18614 | ), |
| | 18615 | error: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 18616 | providerId: Schema.String, |
| | 18617 | status: ServerNotification__GatewayOAuthStatus, |
| | 18618 | }).annotate({ identifier: "ServerNotification__GatewayOAuthChangedNotification" }); |
| | 18619 | |
| 18504 | export type ServerNotification__RateLimitSnapshot = { | 18620 | export type ServerNotification__RateLimitSnapshot = { |
| 18505 | readonly credits?: ServerNotification__CreditsSnapshot | null; | 18621 | readonly credits?: ServerNotification__CreditsSnapshot | null; |
| 18506 | readonly individualLimit?: ServerNotification__SpendControlLimitSnapshot | null; | 18622 | readonly individualLimit?: ServerNotification__SpendControlLimitSnapshot | null; |
| ... | @@ -19833,9 +19949,11 @@ export type V2ErrorNotification__CodexErrorInfo = | ... | @@ -19833,9 +19949,11 @@ export type V2ErrorNotification__CodexErrorInfo = |
| 19833 | | "sessionBudgetExceeded" | 19949 | | "sessionBudgetExceeded" |
| 19834 | | "usageLimitExceeded" | 19950 | | "usageLimitExceeded" |
| 19835 | | "rateLimitExceeded" | 19951 | | "rateLimitExceeded" |
| | 19952 | | "flexUnavailable" |
| 19836 | | "serverOverloaded" | 19953 | | "serverOverloaded" |
| 19837 | | "cyberPolicy" | 19954 | | "cyberPolicy" |
| 19838 | | "misalignmentPolicyViolation" | 19955 | | "misalignmentPolicyViolation" |
| | 19956 | | "tooManyDenials" |
| 19839 | | "internalServerError" | 19957 | | "internalServerError" |
| 19840 | | "unauthorized" | 19958 | | "unauthorized" |
| 19841 | | "badRequest" | 19959 | | "badRequest" |
| ... | @@ -19858,9 +19976,11 @@ export const V2ErrorNotification__CodexErrorInfo = Schema.Union( | ... | @@ -19858,9 +19976,11 @@ export const V2ErrorNotification__CodexErrorInfo = Schema.Union( |
| 19858 | "sessionBudgetExceeded", | 19976 | "sessionBudgetExceeded", |
| 19859 | "usageLimitExceeded", | 19977 | "usageLimitExceeded", |
| 19860 | "rateLimitExceeded", | 19978 | "rateLimitExceeded", |
| | 19979 | "flexUnavailable", |
| 19861 | "serverOverloaded", | 19980 | "serverOverloaded", |
| 19862 | "cyberPolicy", | 19981 | "cyberPolicy", |
| 19863 | "misalignmentPolicyViolation", | 19982 | "misalignmentPolicyViolation", |
| | 19983 | "tooManyDenials", |
| 19864 | "internalServerError", | 19984 | "internalServerError", |
| 19865 | "unauthorized", | 19985 | "unauthorized", |
| 19866 | "badRequest", | 19986 | "badRequest", |
| ... | @@ -21307,6 +21427,7 @@ export const V2ItemStartedNotification__CollabAgentState = Schema.Struct({ | ... | @@ -21307,6 +21427,7 @@ export const V2ItemStartedNotification__CollabAgentState = Schema.Struct({ |
| 21307 | | 21427 | |
| 21308 | export type V2ListMcpServerStatusResponse__McpServerStatus = { | 21428 | export type V2ListMcpServerStatusResponse__McpServerStatus = { |
| 21309 | readonly authStatus: V2ListMcpServerStatusResponse__McpAuthStatus; | 21429 | readonly authStatus: V2ListMcpServerStatusResponse__McpAuthStatus; |
| | 21430 | readonly httpOrigin?: string | null; |
| 21310 | readonly name: string; | 21431 | readonly name: string; |
| 21311 | readonly pluginId?: string | null; | 21432 | readonly pluginId?: string | null; |
| 21312 | readonly resourceTemplates: ReadonlyArray<V2ListMcpServerStatusResponse__ResourceTemplate>; | 21433 | readonly resourceTemplates: ReadonlyArray<V2ListMcpServerStatusResponse__ResourceTemplate>; |
| ... | @@ -21319,6 +21440,15 @@ export type V2ListMcpServerStatusResponse__McpServerStatus = { | ... | @@ -21319,6 +21440,15 @@ export type V2ListMcpServerStatusResponse__McpServerStatus = { |
| 21319 | }; | 21440 | }; |
| 21320 | export const V2ListMcpServerStatusResponse__McpServerStatus = Schema.Struct({ | 21441 | export const V2ListMcpServerStatusResponse__McpServerStatus = Schema.Struct({ |
| 21321 | authStatus: V2ListMcpServerStatusResponse__McpAuthStatus, | 21442 | authStatus: V2ListMcpServerStatusResponse__McpAuthStatus, |
| | 21443 | httpOrigin: Schema.optionalKey( |
| | 21444 | Schema.Union([ |
| | 21445 | Schema.String.annotate({ |
| | 21446 | description: |
| | 21447 | "HTTP origin of the effective configured endpoint, including plugin servers. Excludes credentials, path, query, and fragment; null for non-HTTP transports.", |
| | 21448 | }), |
| | 21449 | Schema.Null, |
| | 21450 | ]), |
| | 21451 | ), |
| 21322 | name: Schema.String, | 21452 | name: Schema.String, |
| 21323 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 21453 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 21324 | resourceTemplates: Schema.Array(V2ListMcpServerStatusResponse__ResourceTemplate), | 21454 | resourceTemplates: Schema.Array(V2ListMcpServerStatusResponse__ResourceTemplate), |
| ... | @@ -22275,9 +22405,11 @@ export type V2ReviewStartResponse__CodexErrorInfo = | ... | @@ -22275,9 +22405,11 @@ export type V2ReviewStartResponse__CodexErrorInfo = |
| 22275 | | "sessionBudgetExceeded" | 22405 | | "sessionBudgetExceeded" |
| 22276 | | "usageLimitExceeded" | 22406 | | "usageLimitExceeded" |
| 22277 | | "rateLimitExceeded" | 22407 | | "rateLimitExceeded" |
| | 22408 | | "flexUnavailable" |
| 22278 | | "serverOverloaded" | 22409 | | "serverOverloaded" |
| 22279 | | "cyberPolicy" | 22410 | | "cyberPolicy" |
| 22280 | | "misalignmentPolicyViolation" | 22411 | | "misalignmentPolicyViolation" |
| | 22412 | | "tooManyDenials" |
| 22281 | | "internalServerError" | 22413 | | "internalServerError" |
| 22282 | | "unauthorized" | 22414 | | "unauthorized" |
| 22283 | | "badRequest" | 22415 | | "badRequest" |
| ... | @@ -22300,9 +22432,11 @@ export const V2ReviewStartResponse__CodexErrorInfo = Schema.Union( | ... | @@ -22300,9 +22432,11 @@ export const V2ReviewStartResponse__CodexErrorInfo = Schema.Union( |
| 22300 | "sessionBudgetExceeded", | 22432 | "sessionBudgetExceeded", |
| 22301 | "usageLimitExceeded", | 22433 | "usageLimitExceeded", |
| 22302 | "rateLimitExceeded", | 22434 | "rateLimitExceeded", |
| | 22435 | "flexUnavailable", |
| 22303 | "serverOverloaded", | 22436 | "serverOverloaded", |
| 22304 | "cyberPolicy", | 22437 | "cyberPolicy", |
| 22305 | "misalignmentPolicyViolation", | 22438 | "misalignmentPolicyViolation", |
| | 22439 | "tooManyDenials", |
| 22306 | "internalServerError", | 22440 | "internalServerError", |
| 22307 | "unauthorized", | 22441 | "unauthorized", |
| 22308 | "badRequest", | 22442 | "badRequest", |
| ... | @@ -22809,9 +22943,11 @@ export type V2ThreadForkResponse__CodexErrorInfo = | ... | @@ -22809,9 +22943,11 @@ export type V2ThreadForkResponse__CodexErrorInfo = |
| 22809 | | "sessionBudgetExceeded" | 22943 | | "sessionBudgetExceeded" |
| 22810 | | "usageLimitExceeded" | 22944 | | "usageLimitExceeded" |
| 22811 | | "rateLimitExceeded" | 22945 | | "rateLimitExceeded" |
| | 22946 | | "flexUnavailable" |
| 22812 | | "serverOverloaded" | 22947 | | "serverOverloaded" |
| 22813 | | "cyberPolicy" | 22948 | | "cyberPolicy" |
| 22814 | | "misalignmentPolicyViolation" | 22949 | | "misalignmentPolicyViolation" |
| | 22950 | | "tooManyDenials" |
| 22815 | | "internalServerError" | 22951 | | "internalServerError" |
| 22816 | | "unauthorized" | 22952 | | "unauthorized" |
| 22817 | | "badRequest" | 22953 | | "badRequest" |
| ... | @@ -22834,9 +22970,11 @@ export const V2ThreadForkResponse__CodexErrorInfo = Schema.Union( | ... | @@ -22834,9 +22970,11 @@ export const V2ThreadForkResponse__CodexErrorInfo = Schema.Union( |
| 22834 | "sessionBudgetExceeded", | 22970 | "sessionBudgetExceeded", |
| 22835 | "usageLimitExceeded", | 22971 | "usageLimitExceeded", |
| 22836 | "rateLimitExceeded", | 22972 | "rateLimitExceeded", |
| | 22973 | "flexUnavailable", |
| 22837 | "serverOverloaded", | 22974 | "serverOverloaded", |
| 22838 | "cyberPolicy", | 22975 | "cyberPolicy", |
| 22839 | "misalignmentPolicyViolation", | 22976 | "misalignmentPolicyViolation", |
| | 22977 | "tooManyDenials", |
| 22840 | "internalServerError", | 22978 | "internalServerError", |
| 22841 | "unauthorized", | 22979 | "unauthorized", |
| 22842 | "badRequest", | 22980 | "badRequest", |
| ... | @@ -23193,6 +23331,17 @@ export const V2ThreadGoalUpdatedNotification__ThreadGoal = Schema.Struct({ | ... | @@ -23193,6 +23331,17 @@ export const V2ThreadGoalUpdatedNotification__ThreadGoal = Schema.Struct({ |
| 23193 | ), | 23331 | ), |
| 23194 | }).annotate({ identifier: "V2ThreadGoalUpdatedNotification__ThreadGoal" }); | 23332 | }).annotate({ identifier: "V2ThreadGoalUpdatedNotification__ThreadGoal" }); |
| 23195 | | 23333 | |
| | 23334 | export type V2ThreadItemsListParams__ThreadItemsListCursor = |
| | 23335 | | string |
| | 23336 | | V2ThreadItemsListParams__ThreadItemsListAnchor; |
| | 23337 | export const V2ThreadItemsListParams__ThreadItemsListCursor = Schema.Union([ |
| | 23338 | Schema.String, |
| | 23339 | V2ThreadItemsListParams__ThreadItemsListAnchor, |
| | 23340 | ]).annotate({ |
| | 23341 | description: "Starting position for an item-history page.", |
| | 23342 | identifier: "V2ThreadItemsListParams__ThreadItemsListCursor", |
| | 23343 | }); |
| | 23344 | |
| 23196 | export type V2ThreadItemsListResponse__TextElement = { | 23345 | export type V2ThreadItemsListResponse__TextElement = { |
| 23197 | readonly byteRange: V2ThreadItemsListResponse__ByteRange; | 23346 | readonly byteRange: V2ThreadItemsListResponse__ByteRange; |
| 23198 | readonly placeholder?: string | null; | 23347 | readonly placeholder?: string | null; |
| ... | @@ -23444,9 +23593,11 @@ export type V2ThreadListResponse__CodexErrorInfo = | ... | @@ -23444,9 +23593,11 @@ export type V2ThreadListResponse__CodexErrorInfo = |
| 23444 | | "sessionBudgetExceeded" | 23593 | | "sessionBudgetExceeded" |
| 23445 | | "usageLimitExceeded" | 23594 | | "usageLimitExceeded" |
| 23446 | | "rateLimitExceeded" | 23595 | | "rateLimitExceeded" |
| | 23596 | | "flexUnavailable" |
| 23447 | | "serverOverloaded" | 23597 | | "serverOverloaded" |
| 23448 | | "cyberPolicy" | 23598 | | "cyberPolicy" |
| 23449 | | "misalignmentPolicyViolation" | 23599 | | "misalignmentPolicyViolation" |
| | 23600 | | "tooManyDenials" |
| 23450 | | "internalServerError" | 23601 | | "internalServerError" |
| 23451 | | "unauthorized" | 23602 | | "unauthorized" |
| 23452 | | "badRequest" | 23603 | | "badRequest" |
| ... | @@ -23469,9 +23620,11 @@ export const V2ThreadListResponse__CodexErrorInfo = Schema.Union( | ... | @@ -23469,9 +23620,11 @@ export const V2ThreadListResponse__CodexErrorInfo = Schema.Union( |
| 23469 | "sessionBudgetExceeded", | 23620 | "sessionBudgetExceeded", |
| 23470 | "usageLimitExceeded", | 23621 | "usageLimitExceeded", |
| 23471 | "rateLimitExceeded", | 23622 | "rateLimitExceeded", |
| | 23623 | "flexUnavailable", |
| 23472 | "serverOverloaded", | 23624 | "serverOverloaded", |
| 23473 | "cyberPolicy", | 23625 | "cyberPolicy", |
| 23474 | "misalignmentPolicyViolation", | 23626 | "misalignmentPolicyViolation", |
| | 23627 | "tooManyDenials", |
| 23475 | "internalServerError", | 23628 | "internalServerError", |
| 23476 | "unauthorized", | 23629 | "unauthorized", |
| 23477 | "badRequest", | 23630 | "badRequest", |
| ... | @@ -23849,9 +24002,11 @@ export type V2ThreadMetadataUpdateResponse__CodexErrorInfo = | ... | @@ -23849,9 +24002,11 @@ export type V2ThreadMetadataUpdateResponse__CodexErrorInfo = |
| 23849 | | "sessionBudgetExceeded" | 24002 | | "sessionBudgetExceeded" |
| 23850 | | "usageLimitExceeded" | 24003 | | "usageLimitExceeded" |
| 23851 | | "rateLimitExceeded" | 24004 | | "rateLimitExceeded" |
| | 24005 | | "flexUnavailable" |
| 23852 | | "serverOverloaded" | 24006 | | "serverOverloaded" |
| 23853 | | "cyberPolicy" | 24007 | | "cyberPolicy" |
| 23854 | | "misalignmentPolicyViolation" | 24008 | | "misalignmentPolicyViolation" |
| | 24009 | | "tooManyDenials" |
| 23855 | | "internalServerError" | 24010 | | "internalServerError" |
| 23856 | | "unauthorized" | 24011 | | "unauthorized" |
| 23857 | | "badRequest" | 24012 | | "badRequest" |
| ... | @@ -23874,9 +24029,11 @@ export const V2ThreadMetadataUpdateResponse__CodexErrorInfo = Schema.Union( | ... | @@ -23874,9 +24029,11 @@ export const V2ThreadMetadataUpdateResponse__CodexErrorInfo = Schema.Union( |
| 23874 | "sessionBudgetExceeded", | 24029 | "sessionBudgetExceeded", |
| 23875 | "usageLimitExceeded", | 24030 | "usageLimitExceeded", |
| 23876 | "rateLimitExceeded", | 24031 | "rateLimitExceeded", |
| | 24032 | "flexUnavailable", |
| 23877 | "serverOverloaded", | 24033 | "serverOverloaded", |
| 23878 | "cyberPolicy", | 24034 | "cyberPolicy", |
| 23879 | "misalignmentPolicyViolation", | 24035 | "misalignmentPolicyViolation", |
| | 24036 | "tooManyDenials", |
| 23880 | "internalServerError", | 24037 | "internalServerError", |
| 23881 | "unauthorized", | 24038 | "unauthorized", |
| 23882 | "badRequest", | 24039 | "badRequest", |
| ... | @@ -24259,9 +24416,11 @@ export type V2ThreadReadResponse__CodexErrorInfo = | ... | @@ -24259,9 +24416,11 @@ export type V2ThreadReadResponse__CodexErrorInfo = |
| 24259 | | "sessionBudgetExceeded" | 24416 | | "sessionBudgetExceeded" |
| 24260 | | "usageLimitExceeded" | 24417 | | "usageLimitExceeded" |
| 24261 | | "rateLimitExceeded" | 24418 | | "rateLimitExceeded" |
| | 24419 | | "flexUnavailable" |
| 24262 | | "serverOverloaded" | 24420 | | "serverOverloaded" |
| 24263 | | "cyberPolicy" | 24421 | | "cyberPolicy" |
| 24264 | | "misalignmentPolicyViolation" | 24422 | | "misalignmentPolicyViolation" |
| | 24423 | | "tooManyDenials" |
| 24265 | | "internalServerError" | 24424 | | "internalServerError" |
| 24266 | | "unauthorized" | 24425 | | "unauthorized" |
| 24267 | | "badRequest" | 24426 | | "badRequest" |
| ... | @@ -24284,9 +24443,11 @@ export const V2ThreadReadResponse__CodexErrorInfo = Schema.Union( | ... | @@ -24284,9 +24443,11 @@ export const V2ThreadReadResponse__CodexErrorInfo = Schema.Union( |
| 24284 | "sessionBudgetExceeded", | 24443 | "sessionBudgetExceeded", |
| 24285 | "usageLimitExceeded", | 24444 | "usageLimitExceeded", |
| 24286 | "rateLimitExceeded", | 24445 | "rateLimitExceeded", |
| | 24446 | "flexUnavailable", |
| 24287 | "serverOverloaded", | 24447 | "serverOverloaded", |
| 24288 | "cyberPolicy", | 24448 | "cyberPolicy", |
| 24289 | "misalignmentPolicyViolation", | 24449 | "misalignmentPolicyViolation", |
| | 24450 | "tooManyDenials", |
| 24290 | "internalServerError", | 24451 | "internalServerError", |
| 24291 | "unauthorized", | 24452 | "unauthorized", |
| 24292 | "badRequest", | 24453 | "badRequest", |
| ... | @@ -25023,9 +25184,11 @@ export type V2ThreadResumeResponse__CodexErrorInfo = | ... | @@ -25023,9 +25184,11 @@ export type V2ThreadResumeResponse__CodexErrorInfo = |
| 25023 | | "sessionBudgetExceeded" | 25184 | | "sessionBudgetExceeded" |
| 25024 | | "usageLimitExceeded" | 25185 | | "usageLimitExceeded" |
| 25025 | | "rateLimitExceeded" | 25186 | | "rateLimitExceeded" |
| | 25187 | | "flexUnavailable" |
| 25026 | | "serverOverloaded" | 25188 | | "serverOverloaded" |
| 25027 | | "cyberPolicy" | 25189 | | "cyberPolicy" |
| 25028 | | "misalignmentPolicyViolation" | 25190 | | "misalignmentPolicyViolation" |
| | 25191 | | "tooManyDenials" |
| 25029 | | "internalServerError" | 25192 | | "internalServerError" |
| 25030 | | "unauthorized" | 25193 | | "unauthorized" |
| 25031 | | "badRequest" | 25194 | | "badRequest" |
| ... | @@ -25048,9 +25211,11 @@ export const V2ThreadResumeResponse__CodexErrorInfo = Schema.Union( | ... | @@ -25048,9 +25211,11 @@ export const V2ThreadResumeResponse__CodexErrorInfo = Schema.Union( |
| 25048 | "sessionBudgetExceeded", | 25211 | "sessionBudgetExceeded", |
| 25049 | "usageLimitExceeded", | 25212 | "usageLimitExceeded", |
| 25050 | "rateLimitExceeded", | 25213 | "rateLimitExceeded", |
| | 25214 | "flexUnavailable", |
| 25051 | "serverOverloaded", | 25215 | "serverOverloaded", |
| 25052 | "cyberPolicy", | 25216 | "cyberPolicy", |
| 25053 | "misalignmentPolicyViolation", | 25217 | "misalignmentPolicyViolation", |
| | 25218 | "tooManyDenials", |
| 25054 | "internalServerError", | 25219 | "internalServerError", |
| 25055 | "unauthorized", | 25220 | "unauthorized", |
| 25056 | "badRequest", | 25221 | "badRequest", |
| ... | @@ -25390,9 +25555,11 @@ export type V2ThreadRevertResponse__CodexErrorInfo = | ... | @@ -25390,9 +25555,11 @@ export type V2ThreadRevertResponse__CodexErrorInfo = |
| 25390 | | "sessionBudgetExceeded" | 25555 | | "sessionBudgetExceeded" |
| 25391 | | "usageLimitExceeded" | 25556 | | "usageLimitExceeded" |
| 25392 | | "rateLimitExceeded" | 25557 | | "rateLimitExceeded" |
| | 25558 | | "flexUnavailable" |
| 25393 | | "serverOverloaded" | 25559 | | "serverOverloaded" |
| 25394 | | "cyberPolicy" | 25560 | | "cyberPolicy" |
| 25395 | | "misalignmentPolicyViolation" | 25561 | | "misalignmentPolicyViolation" |
| | 25562 | | "tooManyDenials" |
| 25396 | | "internalServerError" | 25563 | | "internalServerError" |
| 25397 | | "unauthorized" | 25564 | | "unauthorized" |
| 25398 | | "badRequest" | 25565 | | "badRequest" |
| ... | @@ -25415,9 +25582,11 @@ export const V2ThreadRevertResponse__CodexErrorInfo = Schema.Union( | ... | @@ -25415,9 +25582,11 @@ export const V2ThreadRevertResponse__CodexErrorInfo = Schema.Union( |
| 25415 | "sessionBudgetExceeded", | 25582 | "sessionBudgetExceeded", |
| 25416 | "usageLimitExceeded", | 25583 | "usageLimitExceeded", |
| 25417 | "rateLimitExceeded", | 25584 | "rateLimitExceeded", |
| | 25585 | "flexUnavailable", |
| 25418 | "serverOverloaded", | 25586 | "serverOverloaded", |
| 25419 | "cyberPolicy", | 25587 | "cyberPolicy", |
| 25420 | "misalignmentPolicyViolation", | 25588 | "misalignmentPolicyViolation", |
| | 25589 | "tooManyDenials", |
| 25421 | "internalServerError", | 25590 | "internalServerError", |
| 25422 | "unauthorized", | 25591 | "unauthorized", |
| 25423 | "badRequest", | 25592 | "badRequest", |
| ... | @@ -25926,9 +26095,11 @@ export type V2ThreadStartedNotification__CodexErrorInfo = | ... | @@ -25926,9 +26095,11 @@ export type V2ThreadStartedNotification__CodexErrorInfo = |
| 25926 | | "sessionBudgetExceeded" | 26095 | | "sessionBudgetExceeded" |
| 25927 | | "usageLimitExceeded" | 26096 | | "usageLimitExceeded" |
| 25928 | | "rateLimitExceeded" | 26097 | | "rateLimitExceeded" |
| | 26098 | | "flexUnavailable" |
| 25929 | | "serverOverloaded" | 26099 | | "serverOverloaded" |
| 25930 | | "cyberPolicy" | 26100 | | "cyberPolicy" |
| 25931 | | "misalignmentPolicyViolation" | 26101 | | "misalignmentPolicyViolation" |
| | 26102 | | "tooManyDenials" |
| 25932 | | "internalServerError" | 26103 | | "internalServerError" |
| 25933 | | "unauthorized" | 26104 | | "unauthorized" |
| 25934 | | "badRequest" | 26105 | | "badRequest" |
| ... | @@ -25951,9 +26122,11 @@ export const V2ThreadStartedNotification__CodexErrorInfo = Schema.Union( | ... | @@ -25951,9 +26122,11 @@ export const V2ThreadStartedNotification__CodexErrorInfo = Schema.Union( |
| 25951 | "sessionBudgetExceeded", | 26122 | "sessionBudgetExceeded", |
| 25952 | "usageLimitExceeded", | 26123 | "usageLimitExceeded", |
| 25953 | "rateLimitExceeded", | 26124 | "rateLimitExceeded", |
| | 26125 | "flexUnavailable", |
| 25954 | "serverOverloaded", | 26126 | "serverOverloaded", |
| 25955 | "cyberPolicy", | 26127 | "cyberPolicy", |
| 25956 | "misalignmentPolicyViolation", | 26128 | "misalignmentPolicyViolation", |
| | 26129 | "tooManyDenials", |
| 25957 | "internalServerError", | 26130 | "internalServerError", |
| 25958 | "unauthorized", | 26131 | "unauthorized", |
| 25959 | "badRequest", | 26132 | "badRequest", |
| ... | @@ -26427,9 +26600,11 @@ export type V2ThreadStartResponse__CodexErrorInfo = | ... | @@ -26427,9 +26600,11 @@ export type V2ThreadStartResponse__CodexErrorInfo = |
| 26427 | | "sessionBudgetExceeded" | 26600 | | "sessionBudgetExceeded" |
| 26428 | | "usageLimitExceeded" | 26601 | | "usageLimitExceeded" |
| 26429 | | "rateLimitExceeded" | 26602 | | "rateLimitExceeded" |
| | 26603 | | "flexUnavailable" |
| 26430 | | "serverOverloaded" | 26604 | | "serverOverloaded" |
| 26431 | | "cyberPolicy" | 26605 | | "cyberPolicy" |
| 26432 | | "misalignmentPolicyViolation" | 26606 | | "misalignmentPolicyViolation" |
| | 26607 | | "tooManyDenials" |
| 26433 | | "internalServerError" | 26608 | | "internalServerError" |
| 26434 | | "unauthorized" | 26609 | | "unauthorized" |
| 26435 | | "badRequest" | 26610 | | "badRequest" |
| ... | @@ -26452,9 +26627,11 @@ export const V2ThreadStartResponse__CodexErrorInfo = Schema.Union( | ... | @@ -26452,9 +26627,11 @@ export const V2ThreadStartResponse__CodexErrorInfo = Schema.Union( |
| 26452 | "sessionBudgetExceeded", | 26627 | "sessionBudgetExceeded", |
| 26453 | "usageLimitExceeded", | 26628 | "usageLimitExceeded", |
| 26454 | "rateLimitExceeded", | 26629 | "rateLimitExceeded", |
| | 26630 | "flexUnavailable", |
| 26455 | "serverOverloaded", | 26631 | "serverOverloaded", |
| 26456 | "cyberPolicy", | 26632 | "cyberPolicy", |
| 26457 | "misalignmentPolicyViolation", | 26633 | "misalignmentPolicyViolation", |
| | 26634 | "tooManyDenials", |
| 26458 | "internalServerError", | 26635 | "internalServerError", |
| 26459 | "unauthorized", | 26636 | "unauthorized", |
| 26460 | "badRequest", | 26637 | "badRequest", |
| ... | @@ -26753,9 +26930,11 @@ export type V2ThreadTurnsListResponse__CodexErrorInfo = | ... | @@ -26753,9 +26930,11 @@ export type V2ThreadTurnsListResponse__CodexErrorInfo = |
| 26753 | | "sessionBudgetExceeded" | 26930 | | "sessionBudgetExceeded" |
| 26754 | | "usageLimitExceeded" | 26931 | | "usageLimitExceeded" |
| 26755 | | "rateLimitExceeded" | 26932 | | "rateLimitExceeded" |
| | 26933 | | "flexUnavailable" |
| 26756 | | "serverOverloaded" | 26934 | | "serverOverloaded" |
| 26757 | | "cyberPolicy" | 26935 | | "cyberPolicy" |
| 26758 | | "misalignmentPolicyViolation" | 26936 | | "misalignmentPolicyViolation" |
| | 26937 | | "tooManyDenials" |
| 26759 | | "internalServerError" | 26938 | | "internalServerError" |
| 26760 | | "unauthorized" | 26939 | | "unauthorized" |
| 26761 | | "badRequest" | 26940 | | "badRequest" |
| ... | @@ -26778,9 +26957,11 @@ export const V2ThreadTurnsListResponse__CodexErrorInfo = Schema.Union( | ... | @@ -26778,9 +26957,11 @@ export const V2ThreadTurnsListResponse__CodexErrorInfo = Schema.Union( |
| 26778 | "sessionBudgetExceeded", | 26957 | "sessionBudgetExceeded", |
| 26779 | "usageLimitExceeded", | 26958 | "usageLimitExceeded", |
| 26780 | "rateLimitExceeded", | 26959 | "rateLimitExceeded", |
| | 26960 | "flexUnavailable", |
| 26781 | "serverOverloaded", | 26961 | "serverOverloaded", |
| 26782 | "cyberPolicy", | 26962 | "cyberPolicy", |
| 26783 | "misalignmentPolicyViolation", | 26963 | "misalignmentPolicyViolation", |
| | 26964 | "tooManyDenials", |
| 26784 | "internalServerError", | 26965 | "internalServerError", |
| 26785 | "unauthorized", | 26966 | "unauthorized", |
| 26786 | "badRequest", | 26967 | "badRequest", |
| ... | @@ -27162,9 +27343,11 @@ export type V2ThreadUnarchiveResponse__CodexErrorInfo = | ... | @@ -27162,9 +27343,11 @@ export type V2ThreadUnarchiveResponse__CodexErrorInfo = |
| 27162 | | "sessionBudgetExceeded" | 27343 | | "sessionBudgetExceeded" |
| 27163 | | "usageLimitExceeded" | 27344 | | "usageLimitExceeded" |
| 27164 | | "rateLimitExceeded" | 27345 | | "rateLimitExceeded" |
| | 27346 | | "flexUnavailable" |
| 27165 | | "serverOverloaded" | 27347 | | "serverOverloaded" |
| 27166 | | "cyberPolicy" | 27348 | | "cyberPolicy" |
| 27167 | | "misalignmentPolicyViolation" | 27349 | | "misalignmentPolicyViolation" |
| | 27350 | | "tooManyDenials" |
| 27168 | | "internalServerError" | 27351 | | "internalServerError" |
| 27169 | | "unauthorized" | 27352 | | "unauthorized" |
| 27170 | | "badRequest" | 27353 | | "badRequest" |
| ... | @@ -27187,9 +27370,11 @@ export const V2ThreadUnarchiveResponse__CodexErrorInfo = Schema.Union( | ... | @@ -27187,9 +27370,11 @@ export const V2ThreadUnarchiveResponse__CodexErrorInfo = Schema.Union( |
| 27187 | "sessionBudgetExceeded", | 27370 | "sessionBudgetExceeded", |
| 27188 | "usageLimitExceeded", | 27371 | "usageLimitExceeded", |
| 27189 | "rateLimitExceeded", | 27372 | "rateLimitExceeded", |
| | 27373 | "flexUnavailable", |
| 27190 | "serverOverloaded", | 27374 | "serverOverloaded", |
| 27191 | "cyberPolicy", | 27375 | "cyberPolicy", |
| 27192 | "misalignmentPolicyViolation", | 27376 | "misalignmentPolicyViolation", |
| | 27377 | "tooManyDenials", |
| 27193 | "internalServerError", | 27378 | "internalServerError", |
| 27194 | "unauthorized", | 27379 | "unauthorized", |
| 27195 | "badRequest", | 27380 | "badRequest", |
| ... | @@ -27489,9 +27674,11 @@ export type V2TurnCompletedNotification__CodexErrorInfo = | ... | @@ -27489,9 +27674,11 @@ export type V2TurnCompletedNotification__CodexErrorInfo = |
| 27489 | | "sessionBudgetExceeded" | 27674 | | "sessionBudgetExceeded" |
| 27490 | | "usageLimitExceeded" | 27675 | | "usageLimitExceeded" |
| 27491 | | "rateLimitExceeded" | 27676 | | "rateLimitExceeded" |
| | 27677 | | "flexUnavailable" |
| 27492 | | "serverOverloaded" | 27678 | | "serverOverloaded" |
| 27493 | | "cyberPolicy" | 27679 | | "cyberPolicy" |
| 27494 | | "misalignmentPolicyViolation" | 27680 | | "misalignmentPolicyViolation" |
| | 27681 | | "tooManyDenials" |
| 27495 | | "internalServerError" | 27682 | | "internalServerError" |
| 27496 | | "unauthorized" | 27683 | | "unauthorized" |
| 27497 | | "badRequest" | 27684 | | "badRequest" |
| ... | @@ -27514,9 +27701,11 @@ export const V2TurnCompletedNotification__CodexErrorInfo = Schema.Union( | ... | @@ -27514,9 +27701,11 @@ export const V2TurnCompletedNotification__CodexErrorInfo = Schema.Union( |
| 27514 | "sessionBudgetExceeded", | 27701 | "sessionBudgetExceeded", |
| 27515 | "usageLimitExceeded", | 27702 | "usageLimitExceeded", |
| 27516 | "rateLimitExceeded", | 27703 | "rateLimitExceeded", |
| | 27704 | "flexUnavailable", |
| 27517 | "serverOverloaded", | 27705 | "serverOverloaded", |
| 27518 | "cyberPolicy", | 27706 | "cyberPolicy", |
| 27519 | "misalignmentPolicyViolation", | 27707 | "misalignmentPolicyViolation", |
| | 27708 | "tooManyDenials", |
| 27520 | "internalServerError", | 27709 | "internalServerError", |
| 27521 | "unauthorized", | 27710 | "unauthorized", |
| 27522 | "badRequest", | 27711 | "badRequest", |
| ... | @@ -27826,9 +28015,11 @@ export type V2TurnStartedNotification__CodexErrorInfo = | ... | @@ -27826,9 +28015,11 @@ export type V2TurnStartedNotification__CodexErrorInfo = |
| 27826 | | "sessionBudgetExceeded" | 28015 | | "sessionBudgetExceeded" |
| 27827 | | "usageLimitExceeded" | 28016 | | "usageLimitExceeded" |
| 27828 | | "rateLimitExceeded" | 28017 | | "rateLimitExceeded" |
| | 28018 | | "flexUnavailable" |
| 27829 | | "serverOverloaded" | 28019 | | "serverOverloaded" |
| 27830 | | "cyberPolicy" | 28020 | | "cyberPolicy" |
| 27831 | | "misalignmentPolicyViolation" | 28021 | | "misalignmentPolicyViolation" |
| | 28022 | | "tooManyDenials" |
| 27832 | | "internalServerError" | 28023 | | "internalServerError" |
| 27833 | | "unauthorized" | 28024 | | "unauthorized" |
| 27834 | | "badRequest" | 28025 | | "badRequest" |
| ... | @@ -27851,9 +28042,11 @@ export const V2TurnStartedNotification__CodexErrorInfo = Schema.Union( | ... | @@ -27851,9 +28042,11 @@ export const V2TurnStartedNotification__CodexErrorInfo = Schema.Union( |
| 27851 | "sessionBudgetExceeded", | 28042 | "sessionBudgetExceeded", |
| 27852 | "usageLimitExceeded", | 28043 | "usageLimitExceeded", |
| 27853 | "rateLimitExceeded", | 28044 | "rateLimitExceeded", |
| | 28045 | "flexUnavailable", |
| 27854 | "serverOverloaded", | 28046 | "serverOverloaded", |
| 27855 | "cyberPolicy", | 28047 | "cyberPolicy", |
| 27856 | "misalignmentPolicyViolation", | 28048 | "misalignmentPolicyViolation", |
| | 28049 | "tooManyDenials", |
| 27857 | "internalServerError", | 28050 | "internalServerError", |
| 27858 | "unauthorized", | 28051 | "unauthorized", |
| 27859 | "badRequest", | 28052 | "badRequest", |
| ... | @@ -28290,9 +28483,11 @@ export type V2TurnStartResponse__CodexErrorInfo = | ... | @@ -28290,9 +28483,11 @@ export type V2TurnStartResponse__CodexErrorInfo = |
| 28290 | | "sessionBudgetExceeded" | 28483 | | "sessionBudgetExceeded" |
| 28291 | | "usageLimitExceeded" | 28484 | | "usageLimitExceeded" |
| 28292 | | "rateLimitExceeded" | 28485 | | "rateLimitExceeded" |
| | 28486 | | "flexUnavailable" |
| 28293 | | "serverOverloaded" | 28487 | | "serverOverloaded" |
| 28294 | | "cyberPolicy" | 28488 | | "cyberPolicy" |
| 28295 | | "misalignmentPolicyViolation" | 28489 | | "misalignmentPolicyViolation" |
| | 28490 | | "tooManyDenials" |
| 28296 | | "internalServerError" | 28491 | | "internalServerError" |
| 28297 | | "unauthorized" | 28492 | | "unauthorized" |
| 28298 | | "badRequest" | 28493 | | "badRequest" |
| ... | @@ -28315,9 +28510,11 @@ export const V2TurnStartResponse__CodexErrorInfo = Schema.Union( | ... | @@ -28315,9 +28510,11 @@ export const V2TurnStartResponse__CodexErrorInfo = Schema.Union( |
| 28315 | "sessionBudgetExceeded", | 28510 | "sessionBudgetExceeded", |
| 28316 | "usageLimitExceeded", | 28511 | "usageLimitExceeded", |
| 28317 | "rateLimitExceeded", | 28512 | "rateLimitExceeded", |
| | 28513 | "flexUnavailable", |
| 28318 | "serverOverloaded", | 28514 | "serverOverloaded", |
| 28319 | "cyberPolicy", | 28515 | "cyberPolicy", |
| 28320 | "misalignmentPolicyViolation", | 28516 | "misalignmentPolicyViolation", |
| | 28517 | "tooManyDenials", |
| 28321 | "internalServerError", | 28518 | "internalServerError", |
| 28322 | "unauthorized", | 28519 | "unauthorized", |
| 28323 | "badRequest", | 28520 | "badRequest", |
| ... | @@ -28693,6 +28890,49 @@ export const ApplyPatchApprovalResponse__ReviewDecision = Schema.Union( | ... | @@ -28693,6 +28890,49 @@ export const ApplyPatchApprovalResponse__ReviewDecision = Schema.Union( |
| 28693 | identifier: "ApplyPatchApprovalResponse__ReviewDecision", | 28890 | identifier: "ApplyPatchApprovalResponse__ReviewDecision", |
| 28694 | }); | 28891 | }); |
| 28695 | | 28892 | |
| | 28893 | export type ClientRequest__ThreadItemsListParams = { |
| | 28894 | readonly cursor?: ClientRequest__ThreadItemsListCursor | null; |
| | 28895 | readonly limit?: number | null; |
| | 28896 | readonly sortDirection?: ClientRequest__SortDirection | null; |
| | 28897 | readonly threadId: string; |
| | 28898 | readonly turnId?: string | null; |
| | 28899 | }; |
| | 28900 | export const ClientRequest__ThreadItemsListParams = Schema.Struct({ |
| | 28901 | cursor: Schema.optionalKey( |
| | 28902 | Schema.Union([ClientRequest__ThreadItemsListCursor, Schema.Null]).annotate({ |
| | 28903 | description: |
| | 28904 | "Opaque continuation cursor or an exclusive item anchor in the requested visible turn. An item anchor requires a non-empty `turnId`; ascending (the default) returns items after it, and descending returns items before it. Continue with the returned string cursor.", |
| | 28905 | }), |
| | 28906 | ), |
| | 28907 | limit: Schema.optionalKey( |
| | 28908 | Schema.Union([ |
| | 28909 | Schema.Number.annotate({ description: "Optional item page size.", format: "uint32" }) |
| | 28910 | .check(Schema.isInt().annotate({ expected: "an integer" })) |
| | 28911 | .check( |
| | 28912 | Schema.isGreaterThanOrEqualTo(0).annotate({ |
| | 28913 | expected: "a value greater than or equal to 0", |
| | 28914 | }), |
| | 28915 | ), |
| | 28916 | Schema.Null, |
| | 28917 | ]), |
| | 28918 | ), |
| | 28919 | sortDirection: Schema.optionalKey( |
| | 28920 | Schema.Union([ClientRequest__SortDirection, Schema.Null]).annotate({ |
| | 28921 | description: "Optional item pagination direction; defaults to ascending.", |
| | 28922 | }), |
| | 28923 | ), |
| | 28924 | threadId: Schema.String, |
| | 28925 | turnId: Schema.optionalKey( |
| | 28926 | Schema.Union([ |
| | 28927 | Schema.String.annotate({ |
| | 28928 | description: |
| | 28929 | "Optional turn id to filter by. When omitted, returns items across the thread.", |
| | 28930 | }), |
| | 28931 | Schema.Null, |
| | 28932 | ]), |
| | 28933 | ), |
| | 28934 | }).annotate({ identifier: "ClientRequest__ThreadItemsListParams" }); |
| | 28935 | |
| 28696 | export type ClientRequest__PluginShareSaveParams = { | 28936 | export type ClientRequest__PluginShareSaveParams = { |
| 28697 | readonly discoverability?: ClientRequest__PluginShareDiscoverability | null; | 28937 | readonly discoverability?: ClientRequest__PluginShareDiscoverability | null; |
| 28698 | readonly pluginPath: ClientRequest__AbsolutePathBuf; | 28938 | readonly pluginPath: ClientRequest__AbsolutePathBuf; |
| ... | @@ -42625,7 +42865,7 @@ export const ServerNotification__Turn = Schema.Struct({ | ... | @@ -42625,7 +42865,7 @@ export const ServerNotification__Turn = Schema.Struct({ |
| 42625 | ), | 42865 | ), |
| 42626 | error: Schema.optionalKey( | 42866 | error: Schema.optionalKey( |
| 42627 | Schema.Union([ServerNotification__TurnError, Schema.Null]).annotate({ | 42867 | Schema.Union([ServerNotification__TurnError, Schema.Null]).annotate({ |
| 42628 | description: "Only populated when the Turn's status is failed.", | 42868 | description: "Error associated with a failed or interrupted turn.", |
| 42629 | }), | 42869 | }), |
| 42630 | ), | 42870 | ), |
| 42631 | id: Schema.String.annotate({ | 42871 | id: Schema.String.annotate({ |
| ... | @@ -43212,7 +43452,7 @@ export const V2ReviewStartResponse__Turn = Schema.Struct({ | ... | @@ -43212,7 +43452,7 @@ export const V2ReviewStartResponse__Turn = Schema.Struct({ |
| 43212 | ), | 43452 | ), |
| 43213 | error: Schema.optionalKey( | 43453 | error: Schema.optionalKey( |
| 43214 | Schema.Union([V2ReviewStartResponse__TurnError, Schema.Null]).annotate({ | 43454 | Schema.Union([V2ReviewStartResponse__TurnError, Schema.Null]).annotate({ |
| 43215 | description: "Only populated when the Turn's status is failed.", | 43455 | description: "Error associated with a failed or interrupted turn.", |
| 43216 | }), | 43456 | }), |
| 43217 | ), | 43457 | ), |
| 43218 | id: Schema.String.annotate({ | 43458 | id: Schema.String.annotate({ |
| ... | @@ -43273,7 +43513,7 @@ export const V2ThreadForkResponse__Turn = Schema.Struct({ | ... | @@ -43273,7 +43513,7 @@ export const V2ThreadForkResponse__Turn = Schema.Struct({ |
| 43273 | ), | 43513 | ), |
| 43274 | error: Schema.optionalKey( | 43514 | error: Schema.optionalKey( |
| 43275 | Schema.Union([V2ThreadForkResponse__TurnError, Schema.Null]).annotate({ | 43515 | Schema.Union([V2ThreadForkResponse__TurnError, Schema.Null]).annotate({ |
| 43276 | description: "Only populated when the Turn's status is failed.", | 43516 | description: "Error associated with a failed or interrupted turn.", |
| 43277 | }), | 43517 | }), |
| 43278 | ), | 43518 | ), |
| 43279 | id: Schema.String.annotate({ | 43519 | id: Schema.String.annotate({ |
| ... | @@ -43303,11 +43543,33 @@ export const V2ThreadForkResponse__Turn = Schema.Struct({ | ... | @@ -43303,11 +43543,33 @@ export const V2ThreadForkResponse__Turn = Schema.Struct({ |
| 43303 | }).annotate({ identifier: "V2ThreadForkResponse__Turn" }); | 43543 | }).annotate({ identifier: "V2ThreadForkResponse__Turn" }); |
| 43304 | | 43544 | |
| 43305 | export type V2ThreadItemsListResponse__ThreadItemEntry = { | 43545 | export type V2ThreadItemsListResponse__ThreadItemEntry = { |
| | 43546 | readonly completedAtMs?: number | null; |
| 43306 | readonly item: V2ThreadItemsListResponse__ThreadItem; | 43547 | readonly item: V2ThreadItemsListResponse__ThreadItem; |
| | 43548 | readonly startedAtMs?: number | null; |
| 43307 | readonly turnId: string; | 43549 | readonly turnId: string; |
| 43308 | }; | 43550 | }; |
| 43309 | export const V2ThreadItemsListResponse__ThreadItemEntry = Schema.Struct({ | 43551 | export const V2ThreadItemsListResponse__ThreadItemEntry = Schema.Struct({ |
| | 43552 | completedAtMs: Schema.optionalKey( |
| | 43553 | Schema.Union([ |
| | 43554 | Schema.Number.annotate({ |
| | 43555 | description: |
| | 43556 | "Unix timestamp (milliseconds) when the item completed, if recorded by the producer.", |
| | 43557 | format: "int64", |
| | 43558 | }).check(Schema.isInt().annotate({ expected: "an integer" })), |
| | 43559 | Schema.Null, |
| | 43560 | ]), |
| | 43561 | ), |
| 43310 | item: V2ThreadItemsListResponse__ThreadItem, | 43562 | item: V2ThreadItemsListResponse__ThreadItem, |
| | 43563 | startedAtMs: Schema.optionalKey( |
| | 43564 | Schema.Union([ |
| | 43565 | Schema.Number.annotate({ |
| | 43566 | description: |
| | 43567 | "Unix timestamp (milliseconds) when the item started, if recorded by the producer.", |
| | 43568 | format: "int64", |
| | 43569 | }).check(Schema.isInt().annotate({ expected: "an integer" })), |
| | 43570 | Schema.Null, |
| | 43571 | ]), |
| | 43572 | ), |
| 43311 | turnId: Schema.String.annotate({ description: "Turn containing this item." }), | 43573 | turnId: Schema.String.annotate({ description: "Turn containing this item." }), |
| 43312 | }).annotate({ identifier: "V2ThreadItemsListResponse__ThreadItemEntry" }); | 43574 | }).annotate({ identifier: "V2ThreadItemsListResponse__ThreadItemEntry" }); |
| 43313 | | 43575 | |
| ... | @@ -43342,7 +43604,7 @@ export const V2ThreadListResponse__Turn = Schema.Struct({ | ... | @@ -43342,7 +43604,7 @@ export const V2ThreadListResponse__Turn = Schema.Struct({ |
| 43342 | ), | 43604 | ), |
| 43343 | error: Schema.optionalKey( | 43605 | error: Schema.optionalKey( |
| 43344 | Schema.Union([V2ThreadListResponse__TurnError, Schema.Null]).annotate({ | 43606 | Schema.Union([V2ThreadListResponse__TurnError, Schema.Null]).annotate({ |
| 43345 | description: "Only populated when the Turn's status is failed.", | 43607 | description: "Error associated with a failed or interrupted turn.", |
| 43346 | }), | 43608 | }), |
| 43347 | ), | 43609 | ), |
| 43348 | id: Schema.String.annotate({ | 43610 | id: Schema.String.annotate({ |
| ... | @@ -43402,7 +43664,7 @@ export const V2ThreadMetadataUpdateResponse__Turn = Schema.Struct({ | ... | @@ -43402,7 +43664,7 @@ export const V2ThreadMetadataUpdateResponse__Turn = Schema.Struct({ |
| 43402 | ), | 43664 | ), |
| 43403 | error: Schema.optionalKey( | 43665 | error: Schema.optionalKey( |
| 43404 | Schema.Union([V2ThreadMetadataUpdateResponse__TurnError, Schema.Null]).annotate({ | 43666 | Schema.Union([V2ThreadMetadataUpdateResponse__TurnError, Schema.Null]).annotate({ |
| 43405 | description: "Only populated when the Turn's status is failed.", | 43667 | description: "Error associated with a failed or interrupted turn.", |
| 43406 | }), | 43668 | }), |
| 43407 | ), | 43669 | ), |
| 43408 | id: Schema.String.annotate({ | 43670 | id: Schema.String.annotate({ |
| ... | @@ -43463,7 +43725,7 @@ export const V2ThreadReadResponse__Turn = Schema.Struct({ | ... | @@ -43463,7 +43725,7 @@ export const V2ThreadReadResponse__Turn = Schema.Struct({ |
| 43463 | ), | 43725 | ), |
| 43464 | error: Schema.optionalKey( | 43726 | error: Schema.optionalKey( |
| 43465 | Schema.Union([V2ThreadReadResponse__TurnError, Schema.Null]).annotate({ | 43727 | Schema.Union([V2ThreadReadResponse__TurnError, Schema.Null]).annotate({ |
| 43466 | description: "Only populated when the Turn's status is failed.", | 43728 | description: "Error associated with a failed or interrupted turn.", |
| 43467 | }), | 43729 | }), |
| 43468 | ), | 43730 | ), |
| 43469 | id: Schema.String.annotate({ | 43731 | id: Schema.String.annotate({ |
| ... | @@ -43523,7 +43785,7 @@ export const V2ThreadResumeResponse__Turn = Schema.Struct({ | ... | @@ -43523,7 +43785,7 @@ export const V2ThreadResumeResponse__Turn = Schema.Struct({ |
| 43523 | ), | 43785 | ), |
| 43524 | error: Schema.optionalKey( | 43786 | error: Schema.optionalKey( |
| 43525 | Schema.Union([V2ThreadResumeResponse__TurnError, Schema.Null]).annotate({ | 43787 | Schema.Union([V2ThreadResumeResponse__TurnError, Schema.Null]).annotate({ |
| 43526 | description: "Only populated when the Turn's status is failed.", | 43788 | description: "Error associated with a failed or interrupted turn.", |
| 43527 | }), | 43789 | }), |
| 43528 | ), | 43790 | ), |
| 43529 | id: Schema.String.annotate({ | 43791 | id: Schema.String.annotate({ |
| ... | @@ -43584,7 +43846,7 @@ export const V2ThreadRevertResponse__Turn = Schema.Struct({ | ... | @@ -43584,7 +43846,7 @@ export const V2ThreadRevertResponse__Turn = Schema.Struct({ |
| 43584 | ), | 43846 | ), |
| 43585 | error: Schema.optionalKey( | 43847 | error: Schema.optionalKey( |
| 43586 | Schema.Union([V2ThreadRevertResponse__TurnError, Schema.Null]).annotate({ | 43848 | Schema.Union([V2ThreadRevertResponse__TurnError, Schema.Null]).annotate({ |
| 43587 | description: "Only populated when the Turn's status is failed.", | 43849 | description: "Error associated with a failed or interrupted turn.", |
| 43588 | }), | 43850 | }), |
| 43589 | ), | 43851 | ), |
| 43590 | id: Schema.String.annotate({ | 43852 | id: Schema.String.annotate({ |
| ... | @@ -43645,7 +43907,7 @@ export const V2ThreadStartedNotification__Turn = Schema.Struct({ | ... | @@ -43645,7 +43907,7 @@ export const V2ThreadStartedNotification__Turn = Schema.Struct({ |
| 43645 | ), | 43907 | ), |
| 43646 | error: Schema.optionalKey( | 43908 | error: Schema.optionalKey( |
| 43647 | Schema.Union([V2ThreadStartedNotification__TurnError, Schema.Null]).annotate({ | 43909 | Schema.Union([V2ThreadStartedNotification__TurnError, Schema.Null]).annotate({ |
| 43648 | description: "Only populated when the Turn's status is failed.", | 43910 | description: "Error associated with a failed or interrupted turn.", |
| 43649 | }), | 43911 | }), |
| 43650 | ), | 43912 | ), |
| 43651 | id: Schema.String.annotate({ | 43913 | id: Schema.String.annotate({ |
| ... | @@ -43706,7 +43968,7 @@ export const V2ThreadStartResponse__Turn = Schema.Struct({ | ... | @@ -43706,7 +43968,7 @@ export const V2ThreadStartResponse__Turn = Schema.Struct({ |
| 43706 | ), | 43968 | ), |
| 43707 | error: Schema.optionalKey( | 43969 | error: Schema.optionalKey( |
| 43708 | Schema.Union([V2ThreadStartResponse__TurnError, Schema.Null]).annotate({ | 43970 | Schema.Union([V2ThreadStartResponse__TurnError, Schema.Null]).annotate({ |
| 43709 | description: "Only populated when the Turn's status is failed.", | 43971 | description: "Error associated with a failed or interrupted turn.", |
| 43710 | }), | 43972 | }), |
| 43711 | ), | 43973 | ), |
| 43712 | id: Schema.String.annotate({ | 43974 | id: Schema.String.annotate({ |
| ... | @@ -43767,7 +44029,7 @@ export const V2ThreadTurnsListResponse__Turn = Schema.Struct({ | ... | @@ -43767,7 +44029,7 @@ export const V2ThreadTurnsListResponse__Turn = Schema.Struct({ |
| 43767 | ), | 44029 | ), |
| 43768 | error: Schema.optionalKey( | 44030 | error: Schema.optionalKey( |
| 43769 | Schema.Union([V2ThreadTurnsListResponse__TurnError, Schema.Null]).annotate({ | 44031 | Schema.Union([V2ThreadTurnsListResponse__TurnError, Schema.Null]).annotate({ |
| 43770 | description: "Only populated when the Turn's status is failed.", | 44032 | description: "Error associated with a failed or interrupted turn.", |
| 43771 | }), | 44033 | }), |
| 43772 | ), | 44034 | ), |
| 43773 | id: Schema.String.annotate({ | 44035 | id: Schema.String.annotate({ |
| ... | @@ -43828,7 +44090,7 @@ export const V2ThreadUnarchiveResponse__Turn = Schema.Struct({ | ... | @@ -43828,7 +44090,7 @@ export const V2ThreadUnarchiveResponse__Turn = Schema.Struct({ |
| 43828 | ), | 44090 | ), |
| 43829 | error: Schema.optionalKey( | 44091 | error: Schema.optionalKey( |
| 43830 | Schema.Union([V2ThreadUnarchiveResponse__TurnError, Schema.Null]).annotate({ | 44092 | Schema.Union([V2ThreadUnarchiveResponse__TurnError, Schema.Null]).annotate({ |
| 43831 | description: "Only populated when the Turn's status is failed.", | 44093 | description: "Error associated with a failed or interrupted turn.", |
| 43832 | }), | 44094 | }), |
| 43833 | ), | 44095 | ), |
| 43834 | id: Schema.String.annotate({ | 44096 | id: Schema.String.annotate({ |
| ... | @@ -43889,7 +44151,7 @@ export const V2TurnCompletedNotification__Turn = Schema.Struct({ | ... | @@ -43889,7 +44151,7 @@ export const V2TurnCompletedNotification__Turn = Schema.Struct({ |
| 43889 | ), | 44151 | ), |
| 43890 | error: Schema.optionalKey( | 44152 | error: Schema.optionalKey( |
| 43891 | Schema.Union([V2TurnCompletedNotification__TurnError, Schema.Null]).annotate({ | 44153 | Schema.Union([V2TurnCompletedNotification__TurnError, Schema.Null]).annotate({ |
| 43892 | description: "Only populated when the Turn's status is failed.", | 44154 | description: "Error associated with a failed or interrupted turn.", |
| 43893 | }), | 44155 | }), |
| 43894 | ), | 44156 | ), |
| 43895 | id: Schema.String.annotate({ | 44157 | id: Schema.String.annotate({ |
| ... | @@ -43950,7 +44212,7 @@ export const V2TurnStartedNotification__Turn = Schema.Struct({ | ... | @@ -43950,7 +44212,7 @@ export const V2TurnStartedNotification__Turn = Schema.Struct({ |
| 43950 | ), | 44212 | ), |
| 43951 | error: Schema.optionalKey( | 44213 | error: Schema.optionalKey( |
| 43952 | Schema.Union([V2TurnStartedNotification__TurnError, Schema.Null]).annotate({ | 44214 | Schema.Union([V2TurnStartedNotification__TurnError, Schema.Null]).annotate({ |
| 43953 | description: "Only populated when the Turn's status is failed.", | 44215 | description: "Error associated with a failed or interrupted turn.", |
| 43954 | }), | 44216 | }), |
| 43955 | ), | 44217 | ), |
| 43956 | id: Schema.String.annotate({ | 44218 | id: Schema.String.annotate({ |
| ... | @@ -44011,7 +44273,7 @@ export const V2TurnStartResponse__Turn = Schema.Struct({ | ... | @@ -44011,7 +44273,7 @@ export const V2TurnStartResponse__Turn = Schema.Struct({ |
| 44011 | ), | 44273 | ), |
| 44012 | error: Schema.optionalKey( | 44274 | error: Schema.optionalKey( |
| 44013 | Schema.Union([V2TurnStartResponse__TurnError, Schema.Null]).annotate({ | 44275 | Schema.Union([V2TurnStartResponse__TurnError, Schema.Null]).annotate({ |
| 44014 | description: "Only populated when the Turn's status is failed.", | 44276 | description: "Error associated with a failed or interrupted turn.", |
| 44015 | }), | 44277 | }), |
| 44016 | ), | 44278 | ), |
| 44017 | id: Schema.String.annotate({ | 44279 | id: Schema.String.annotate({ |
| ... | @@ -47165,6 +47427,21 @@ export type ClientRequest = | ... | @@ -47165,6 +47427,21 @@ export type ClientRequest = |
| 47165 | readonly method: "model/list"; | 47427 | readonly method: "model/list"; |
| 47166 | readonly params: ClientRequest__ModelListParams; | 47428 | readonly params: ClientRequest__ModelListParams; |
| 47167 | } | 47429 | } |
| | 47430 | | { |
| | 47431 | readonly id: ClientRequest__RequestId; |
| | 47432 | readonly method: "account/gatewayOAuth/read"; |
| | 47433 | readonly params?: null; |
| | 47434 | } |
| | 47435 | | { |
| | 47436 | readonly id: ClientRequest__RequestId; |
| | 47437 | readonly method: "account/gatewayOAuth/login"; |
| | 47438 | readonly params?: null; |
| | 47439 | } |
| | 47440 | | { |
| | 47441 | readonly id: ClientRequest__RequestId; |
| | 47442 | readonly method: "account/gatewayOAuth/cancel"; |
| | 47443 | readonly params?: null; |
| | 47444 | } |
| 47168 | | { | 47445 | | { |
| 47169 | readonly id: ClientRequest__RequestId; | 47446 | readonly id: ClientRequest__RequestId; |
| 47170 | readonly method: "modelProvider/capabilities/read"; | 47447 | readonly method: "modelProvider/capabilities/read"; |
| ... | @@ -47744,6 +48021,27 @@ export const ClientRequest = Schema.Union( | ... | @@ -47744,6 +48021,27 @@ export const ClientRequest = Schema.Union( |
| 47744 | method: Schema.Literal("model/list").annotate({ title: "Model/listRequestMethod" }), | 48021 | method: Schema.Literal("model/list").annotate({ title: "Model/listRequestMethod" }), |
| 47745 | params: ClientRequest__ModelListParams, | 48022 | params: ClientRequest__ModelListParams, |
| 47746 | }).annotate({ title: "Model/listRequest" }), | 48023 | }).annotate({ title: "Model/listRequest" }), |
| | 48024 | Schema.Struct({ |
| | 48025 | id: ClientRequest__RequestId, |
| | 48026 | method: Schema.Literal("account/gatewayOAuth/read").annotate({ |
| | 48027 | title: "Account/gatewayOAuth/readRequestMethod", |
| | 48028 | }), |
| | 48029 | params: Schema.optionalKey(Schema.Null), |
| | 48030 | }).annotate({ title: "Account/gatewayOAuth/readRequest" }), |
| | 48031 | Schema.Struct({ |
| | 48032 | id: ClientRequest__RequestId, |
| | 48033 | method: Schema.Literal("account/gatewayOAuth/login").annotate({ |
| | 48034 | title: "Account/gatewayOAuth/loginRequestMethod", |
| | 48035 | }), |
| | 48036 | params: Schema.optionalKey(Schema.Null), |
| | 48037 | }).annotate({ title: "Account/gatewayOAuth/loginRequest" }), |
| | 48038 | Schema.Struct({ |
| | 48039 | id: ClientRequest__RequestId, |
| | 48040 | method: Schema.Literal("account/gatewayOAuth/cancel").annotate({ |
| | 48041 | title: "Account/gatewayOAuth/cancelRequestMethod", |
| | 48042 | }), |
| | 48043 | params: Schema.optionalKey(Schema.Null), |
| | 48044 | }).annotate({ title: "Account/gatewayOAuth/cancelRequest" }), |
| 47747 | Schema.Struct({ | 48045 | Schema.Struct({ |
| 47748 | id: ClientRequest__RequestId, | 48046 | id: ClientRequest__RequestId, |
| 47749 | method: Schema.Literal("modelProvider/capabilities/read").annotate({ | 48047 | method: Schema.Literal("modelProvider/capabilities/read").annotate({ |
| ... | @@ -49495,6 +49793,11 @@ export type ServerNotification = | ... | @@ -49495,6 +49793,11 @@ export type ServerNotification = |
| 49495 | readonly method: "account/updated"; | 49793 | readonly method: "account/updated"; |
| 49496 | readonly params: ServerNotification__AccountUpdatedNotification; | 49794 | readonly params: ServerNotification__AccountUpdatedNotification; |
| 49497 | } | 49795 | } |
| | 49796 | | { |
| | 49797 | readonly emittedAtMs?: number; |
| | 49798 | readonly method: "account/gatewayOAuth/changed"; |
| | 49799 | readonly params: ServerNotification__GatewayOAuthChangedNotification; |
| | 49800 | } |
| 49498 | | { | 49801 | | { |
| 49499 | readonly emittedAtMs?: number; | 49802 | readonly emittedAtMs?: number; |
| 49500 | readonly method: "account/rateLimits/updated"; | 49803 | readonly method: "account/rateLimits/updated"; |
| ... | @@ -50284,6 +50587,19 @@ export const ServerNotification = Schema.Union( | ... | @@ -50284,6 +50587,19 @@ export const ServerNotification = Schema.Union( |
| 50284 | }), | 50587 | }), |
| 50285 | params: ServerNotification__AccountUpdatedNotification, | 50588 | params: ServerNotification__AccountUpdatedNotification, |
| 50286 | }).annotate({ title: "Account/updatedNotification" }), | 50589 | }).annotate({ title: "Account/updatedNotification" }), |
| | 50590 | Schema.Struct({ |
| | 50591 | emittedAtMs: Schema.optionalKey( |
| | 50592 | Schema.Number.annotate({ |
| | 50593 | description: |
| | 50594 | "Unix timestamp (in milliseconds) when app-server emitted this notification.", |
| | 50595 | format: "int64", |
| | 50596 | }).check(Schema.isInt().annotate({ expected: "an integer" })), |
| | 50597 | ), |
| | 50598 | method: Schema.Literal("account/gatewayOAuth/changed").annotate({ |
| | 50599 | title: "Account/gatewayOAuth/changedNotificationMethod", |
| | 50600 | }), |
| | 50601 | params: ServerNotification__GatewayOAuthChangedNotification, |
| | 50602 | }).annotate({ title: "Account/gatewayOAuth/changedNotification" }), |
| 50287 | Schema.Struct({ | 50603 | Schema.Struct({ |
| 50288 | emittedAtMs: Schema.optionalKey( | 50604 | emittedAtMs: Schema.optionalKey( |
| 50289 | Schema.Number.annotate({ | 50605 | Schema.Number.annotate({ |
| ... | @@ -52595,6 +52911,63 @@ export const V2FsWriteFileResponse = Schema.Record( | ... | @@ -52595,6 +52911,63 @@ export const V2FsWriteFileResponse = Schema.Record( |
| 52595 | description: "Successful response for `fs/writeFile`.", | 52911 | description: "Successful response for `fs/writeFile`.", |
| 52596 | }); | 52912 | }); |
| 52597 | | 52913 | |
| | 52914 | export type V2GatewayOAuthCancelResponse = { readonly [x: string]: Schema.Json }; |
| | 52915 | export const V2GatewayOAuthCancelResponse = Schema.Record( |
| | 52916 | Schema.String, |
| | 52917 | Schema.Json.annotate({ expected: "JSON value" }), |
| | 52918 | ).annotate({ title: "GatewayOAuthCancelResponse" }); |
| | 52919 | |
| | 52920 | export type V2GatewayOAuthChangedNotification = { |
| | 52921 | readonly authUrl?: string | null; |
| | 52922 | readonly error?: string | null; |
| | 52923 | readonly providerId: string; |
| | 52924 | readonly status: V2GatewayOAuthChangedNotification__GatewayOAuthStatus; |
| | 52925 | }; |
| | 52926 | export const V2GatewayOAuthChangedNotification = Schema.Struct({ |
| | 52927 | authUrl: Schema.optionalKey( |
| | 52928 | Schema.Union([ |
| | 52929 | Schema.String.annotate({ |
| | 52930 | description: "Authorization handoff, sent only to the connection that started login.", |
| | 52931 | }), |
| | 52932 | Schema.Null, |
| | 52933 | ]), |
| | 52934 | ), |
| | 52935 | error: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 52936 | providerId: Schema.String, |
| | 52937 | status: V2GatewayOAuthChangedNotification__GatewayOAuthStatus, |
| | 52938 | }).annotate({ title: "GatewayOAuthChangedNotification" }); |
| | 52939 | |
| | 52940 | export type V2GatewayOAuthLoginResponse = { readonly [x: string]: Schema.Json }; |
| | 52941 | export const V2GatewayOAuthLoginResponse = Schema.Record( |
| | 52942 | Schema.String, |
| | 52943 | Schema.Json.annotate({ expected: "JSON value" }), |
| | 52944 | ).annotate({ title: "GatewayOAuthLoginResponse" }); |
| | 52945 | |
| | 52946 | export type V2GatewayOAuthReadResponse = { |
| | 52947 | readonly error?: string | null; |
| | 52948 | readonly providerId: string; |
| | 52949 | readonly providerName: string; |
| | 52950 | readonly required: boolean; |
| | 52951 | readonly status?: V2GatewayOAuthReadResponse__GatewayOAuthStatus | null; |
| | 52952 | }; |
| | 52953 | export const V2GatewayOAuthReadResponse = Schema.Struct({ |
| | 52954 | error: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 52955 | providerId: Schema.String, |
| | 52956 | providerName: Schema.String, |
| | 52957 | required: Schema.Boolean.annotate({ |
| | 52958 | description: "Whether the selected provider uses gateway OAuth, even when already signed in.", |
| | 52959 | }), |
| | 52960 | status: Schema.optionalKey( |
| | 52961 | Schema.Union([V2GatewayOAuthReadResponse__GatewayOAuthStatus, Schema.Null]).annotate({ |
| | 52962 | description: "Null when the effective provider does not use gateway OAuth.", |
| | 52963 | }), |
| | 52964 | ), |
| | 52965 | }).annotate({ |
| | 52966 | title: "GatewayOAuthReadResponse", |
| | 52967 | description: |
| | 52968 | "Current effective gateway policy and credential readiness; never contains credentials.", |
| | 52969 | }); |
| | 52970 | |
| 52598 | export type V2GetAccountParams = { readonly refreshToken?: boolean }; | 52971 | export type V2GetAccountParams = { readonly refreshToken?: boolean }; |
| 52599 | export const V2GetAccountParams = Schema.Struct({ | 52972 | export const V2GetAccountParams = Schema.Struct({ |
| 52600 | refreshToken: Schema.optionalKey( | 52973 | refreshToken: Schema.optionalKey( |
| ... | @@ -52870,6 +53243,7 @@ export type V2ListMcpServerStatusParams = { | ... | @@ -52870,6 +53243,7 @@ export type V2ListMcpServerStatusParams = { |
| 52870 | readonly cursor?: string | null; | 53243 | readonly cursor?: string | null; |
| 52871 | readonly detail?: V2ListMcpServerStatusParams__McpServerStatusDetail | null; | 53244 | readonly detail?: V2ListMcpServerStatusParams__McpServerStatusDetail | null; |
| 52872 | readonly limit?: number | null; | 53245 | readonly limit?: number | null; |
| | 53246 | readonly serverName?: string | null; |
| 52873 | readonly threadId?: string | null; | 53247 | readonly threadId?: string | null; |
| 52874 | }; | 53248 | }; |
| 52875 | export const V2ListMcpServerStatusParams = Schema.Struct({ | 53249 | export const V2ListMcpServerStatusParams = Schema.Struct({ |
| ... | @@ -52902,6 +53276,15 @@ export const V2ListMcpServerStatusParams = Schema.Struct({ | ... | @@ -52902,6 +53276,15 @@ export const V2ListMcpServerStatusParams = Schema.Struct({ |
| 52902 | Schema.Null, | 53276 | Schema.Null, |
| 52903 | ]), | 53277 | ]), |
| 52904 | ), | 53278 | ), |
| | 53279 | serverName: Schema.optionalKey( |
| | 53280 | Schema.Union([ |
| | 53281 | Schema.String.annotate({ |
| | 53282 | description: |
| | 53283 | "Limit discovery to one server. With a thread ID, reuse that thread's MCP connection.", |
| | 53284 | }), |
| | 53285 | Schema.Null, |
| | 53286 | ]), |
| | 53287 | ), |
| 52905 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 53288 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 52906 | }).annotate({ title: "ListMcpServerStatusParams" }); | 53289 | }).annotate({ title: "ListMcpServerStatusParams" }); |
| 52907 | | 53290 | |
| ... | @@ -53129,6 +53512,7 @@ export type V2McpResourceReadParams = { | ... | @@ -53129,6 +53512,7 @@ export type V2McpResourceReadParams = { |
| 53129 | readonly connectorId?: string | null; | 53512 | readonly connectorId?: string | null; |
| 53130 | readonly originCallId?: string | null; | 53513 | readonly originCallId?: string | null; |
| 53131 | readonly server: string; | 53514 | readonly server: string; |
| | 53515 | readonly target?: V2McpResourceReadParams__McpResourceReadTarget | null; |
| 53132 | readonly threadId?: string | null; | 53516 | readonly threadId?: string | null; |
| 53133 | readonly uri: string; | 53517 | readonly uri: string; |
| 53134 | }; | 53518 | }; |
| ... | @@ -53143,6 +53527,11 @@ export const V2McpResourceReadParams = Schema.Struct({ | ... | @@ -53143,6 +53527,11 @@ export const V2McpResourceReadParams = Schema.Struct({ |
| 53143 | ]), | 53527 | ]), |
| 53144 | ), | 53528 | ), |
| 53145 | server: Schema.String, | 53529 | server: Schema.String, |
| | 53530 | target: Schema.optionalKey( |
| | 53531 | Schema.Union([V2McpResourceReadParams__McpResourceReadTarget, Schema.Null]).annotate({ |
| | 53532 | description: "Explicit hosted app/account. Omit to retain legacy resource discovery.", |
| | 53533 | }), |
| | 53534 | ), |
| 53146 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 53535 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 53147 | uri: Schema.String, | 53536 | uri: Schema.String, |
| 53148 | }).annotate({ title: "McpResourceReadParams" }); | 53537 | }).annotate({ title: "McpResourceReadParams" }); |
| ... | @@ -54530,7 +54919,7 @@ export const V2ThreadInjectItemsResponse = Schema.Record( | ... | @@ -54530,7 +54919,7 @@ export const V2ThreadInjectItemsResponse = Schema.Record( |
| 54530 | ).annotate({ title: "ThreadInjectItemsResponse" }); | 54919 | ).annotate({ title: "ThreadInjectItemsResponse" }); |
| 54531 | | 54920 | |
| 54532 | export type V2ThreadItemsListParams = { | 54921 | export type V2ThreadItemsListParams = { |
| 54533 | readonly cursor?: string | null; | 54922 | readonly cursor?: V2ThreadItemsListParams__ThreadItemsListCursor | null; |
| 54534 | readonly limit?: number | null; | 54923 | readonly limit?: number | null; |
| 54535 | readonly sortDirection?: V2ThreadItemsListParams__SortDirection | null; | 54924 | readonly sortDirection?: V2ThreadItemsListParams__SortDirection | null; |
| 54536 | readonly threadId: string; | 54925 | readonly threadId: string; |
| ... | @@ -54538,12 +54927,10 @@ export type V2ThreadItemsListParams = { | ... | @@ -54538,12 +54927,10 @@ export type V2ThreadItemsListParams = { |
| 54538 | }; | 54927 | }; |
| 54539 | export const V2ThreadItemsListParams = Schema.Struct({ | 54928 | export const V2ThreadItemsListParams = Schema.Struct({ |
| 54540 | cursor: Schema.optionalKey( | 54929 | cursor: Schema.optionalKey( |
| 54541 | Schema.Union([ | 54930 | Schema.Union([V2ThreadItemsListParams__ThreadItemsListCursor, Schema.Null]).annotate({ |
| 54542 | Schema.String.annotate({ | 54931 | description: |
| 54543 | description: "Opaque cursor to pass to the next call to continue after the last item.", | 54932 | "Opaque continuation cursor or an exclusive item anchor in the requested visible turn. An item anchor requires a non-empty `turnId`; ascending (the default) returns items after it, and descending returns items before it. Continue with the returned string cursor.", |
| 54544 | }), | 54933 | }), |
| 54545 | Schema.Null, | | |
| 54546 | ]), | | |
| 54547 | ), | 54934 | ), |
| 54548 | limit: Schema.optionalKey( | 54935 | limit: Schema.optionalKey( |
| 54549 | Schema.Union([ | 54936 | Schema.Union([ |