| ... | @@ -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: 07b695190f30a450e4921f71f77473e564395c59 | 2 | // Upstream protocol ref: b39f943a634a6e7ba86c3d6e8cf6d5f35e612566 |
| 3 | | 3 | |
| 4 | import * as Schema from "effect/Schema"; | 4 | import * as Schema from "effect/Schema"; |
| 5 | | 5 | |
| ... | @@ -48,6 +48,25 @@ export const ClientRequest__AbsolutePathBuf = Schema.String.annotate({ | ... | @@ -48,6 +48,25 @@ export const ClientRequest__AbsolutePathBuf = Schema.String.annotate({ |
| 48 | export type ClientRequest__AddCreditsNudgeCreditType = "credits" | "usage_limit"; | 48 | export type ClientRequest__AddCreditsNudgeCreditType = "credits" | "usage_limit"; |
| 49 | export const ClientRequest__AddCreditsNudgeCreditType = Schema.Literals(["credits", "usage_limit"]); | 49 | export const ClientRequest__AddCreditsNudgeCreditType = Schema.Literals(["credits", "usage_limit"]); |
| 50 | | 50 | |
| | 51 | export type ClientRequest__AdditionalContextKind = "untrusted" | "application"; |
| | 52 | export const ClientRequest__AdditionalContextKind = Schema.Literals(["untrusted", "application"]); |
| | 53 | |
| | 54 | export type ClientRequest__AgentMessageInputContent = { |
| | 55 | readonly encrypted_content: string; |
| | 56 | readonly type: "encrypted_content"; |
| | 57 | }; |
| | 58 | export const ClientRequest__AgentMessageInputContent = Schema.Union( |
| | 59 | [ |
| | 60 | Schema.Struct({ |
| | 61 | encrypted_content: Schema.String, |
| | 62 | type: Schema.Literal("encrypted_content").annotate({ |
| | 63 | title: "EncryptedContentAgentMessageInputContentType", |
| | 64 | }), |
| | 65 | }).annotate({ title: "EncryptedContentAgentMessageInputContent" }), |
| | 66 | ], |
| | 67 | { mode: "oneOf" }, |
| | 68 | ); |
| | 69 | |
| 51 | export type ClientRequest__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; | 70 | export type ClientRequest__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; |
| 52 | export const ClientRequest__ApprovalsReviewer = Schema.Literals([ | 71 | export const ClientRequest__ApprovalsReviewer = Schema.Literals([ |
| 53 | "user", | 72 | "user", |
| ... | @@ -238,7 +257,7 @@ export const ClientRequest__ConfigReadParams = Schema.Struct({ | ... | @@ -238,7 +257,7 @@ export const ClientRequest__ConfigReadParams = Schema.Struct({ |
| 238 | Schema.Null, | 257 | Schema.Null, |
| 239 | ]), | 258 | ]), |
| 240 | ), | 259 | ), |
| 241 | includeLayers: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), | 260 | includeLayers: Schema.optionalKey(Schema.Boolean), |
| 242 | }); | 261 | }); |
| 243 | | 262 | |
| 244 | export type ClientRequest__ExperimentalFeatureEnablementSetParams = { | 263 | export type ClientRequest__ExperimentalFeatureEnablementSetParams = { |
| ... | @@ -254,6 +273,7 @@ export const ClientRequest__ExperimentalFeatureEnablementSetParams = Schema.Stru | ... | @@ -254,6 +273,7 @@ export const ClientRequest__ExperimentalFeatureEnablementSetParams = Schema.Stru |
| 254 | export type ClientRequest__ExperimentalFeatureListParams = { | 273 | export type ClientRequest__ExperimentalFeatureListParams = { |
| 255 | readonly cursor?: string | null; | 274 | readonly cursor?: string | null; |
| 256 | readonly limit?: number | null; | 275 | readonly limit?: number | null; |
| | 276 | readonly threadId?: string | null; |
| 257 | }; | 277 | }; |
| 258 | export const ClientRequest__ExperimentalFeatureListParams = Schema.Struct({ | 278 | export const ClientRequest__ExperimentalFeatureListParams = Schema.Struct({ |
| 259 | cursor: Schema.optionalKey( | 279 | cursor: Schema.optionalKey( |
| ... | @@ -275,6 +295,15 @@ export const ClientRequest__ExperimentalFeatureListParams = Schema.Struct({ | ... | @@ -275,6 +295,15 @@ export const ClientRequest__ExperimentalFeatureListParams = Schema.Struct({ |
| 275 | Schema.Null, | 295 | Schema.Null, |
| 276 | ]), | 296 | ]), |
| 277 | ), | 297 | ), |
| | 298 | threadId: Schema.optionalKey( |
| | 299 | Schema.Union([ |
| | 300 | Schema.String.annotate({ |
| | 301 | description: |
| | 302 | "Optional loaded thread id. Pass this when showing feature state for an existing thread so enablement is computed from that thread's refreshed config, including project-local config for the thread's cwd.", |
| | 303 | }), |
| | 304 | Schema.Null, |
| | 305 | ]), |
| | 306 | ), |
| 278 | }); | 307 | }); |
| 279 | | 308 | |
| 280 | export type ClientRequest__ExternalAgentConfigDetectParams = { | 309 | export type ClientRequest__ExternalAgentConfigDetectParams = { |
| ... | @@ -322,7 +351,7 @@ export const ClientRequest__ExternalAgentConfigMigrationItemType = Schema.Litera | ... | @@ -322,7 +351,7 @@ export const ClientRequest__ExternalAgentConfigMigrationItemType = Schema.Litera |
| 322 | export type ClientRequest__FeedbackUploadParams = { | 351 | export type ClientRequest__FeedbackUploadParams = { |
| 323 | readonly classification: string; | 352 | readonly classification: string; |
| 324 | readonly extraLogFiles?: ReadonlyArray<string> | null; | 353 | readonly extraLogFiles?: ReadonlyArray<string> | null; |
| 325 | readonly includeLogs: boolean; | 354 | readonly includeLogs?: boolean; |
| 326 | readonly reason?: string | null; | 355 | readonly reason?: string | null; |
| 327 | readonly tags?: { readonly [x: string]: string } | null; | 356 | readonly tags?: { readonly [x: string]: string } | null; |
| 328 | readonly threadId?: string | null; | 357 | readonly threadId?: string | null; |
| ... | @@ -330,7 +359,7 @@ export type ClientRequest__FeedbackUploadParams = { | ... | @@ -330,7 +359,7 @@ export type ClientRequest__FeedbackUploadParams = { |
| 330 | export const ClientRequest__FeedbackUploadParams = Schema.Struct({ | 359 | export const ClientRequest__FeedbackUploadParams = Schema.Struct({ |
| 331 | classification: Schema.String, | 360 | classification: Schema.String, |
| 332 | extraLogFiles: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])), | 361 | extraLogFiles: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])), |
| 333 | includeLogs: Schema.Boolean, | 362 | includeLogs: Schema.optionalKey(Schema.Boolean), |
| 334 | reason: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 363 | reason: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 335 | tags: Schema.optionalKey( | 364 | tags: Schema.optionalKey( |
| 336 | Schema.Union([Schema.Record(Schema.String, Schema.String), Schema.Null]), | 365 | Schema.Union([Schema.Record(Schema.String, Schema.String), Schema.Null]), |
| ... | @@ -338,43 +367,6 @@ export const ClientRequest__FeedbackUploadParams = Schema.Struct({ | ... | @@ -338,43 +367,6 @@ export const ClientRequest__FeedbackUploadParams = Schema.Struct({ |
| 338 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 367 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 339 | }); | 368 | }); |
| 340 | | 369 | |
| 341 | export type ClientRequest__FileSystemAccessMode = "read" | "write" | "none"; | | |
| 342 | export const ClientRequest__FileSystemAccessMode = Schema.Literals(["read", "write", "none"]); | | |
| 343 | | | |
| 344 | export type ClientRequest__FileSystemSpecialPath = | | |
| 345 | | { readonly kind: "root" } | | |
| 346 | | { readonly kind: "minimal" } | | |
| 347 | | { readonly kind: "project_roots"; readonly subpath?: string | null } | | |
| 348 | | { readonly kind: "tmpdir" } | | |
| 349 | | { readonly kind: "slash_tmp" } | | |
| 350 | | { readonly kind: "unknown"; readonly path: string; readonly subpath?: string | null }; | | |
| 351 | export const ClientRequest__FileSystemSpecialPath = Schema.Union( | | |
| 352 | [ | | |
| 353 | Schema.Struct({ kind: Schema.Literal("root") }).annotate({ | | |
| 354 | title: "RootFileSystemSpecialPath", | | |
| 355 | }), | | |
| 356 | Schema.Struct({ kind: Schema.Literal("minimal") }).annotate({ | | |
| 357 | title: "MinimalFileSystemSpecialPath", | | |
| 358 | }), | | |
| 359 | Schema.Struct({ | | |
| 360 | kind: Schema.Literal("project_roots"), | | |
| 361 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 362 | }).annotate({ title: "KindFileSystemSpecialPath" }), | | |
| 363 | Schema.Struct({ kind: Schema.Literal("tmpdir") }).annotate({ | | |
| 364 | title: "TmpdirFileSystemSpecialPath", | | |
| 365 | }), | | |
| 366 | Schema.Struct({ kind: Schema.Literal("slash_tmp") }).annotate({ | | |
| 367 | title: "SlashTmpFileSystemSpecialPath", | | |
| 368 | }), | | |
| 369 | Schema.Struct({ | | |
| 370 | kind: Schema.Literal("unknown"), | | |
| 371 | path: Schema.String, | | |
| 372 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 373 | }), | | |
| 374 | ], | | |
| 375 | { mode: "oneOf" }, | | |
| 376 | ); | | |
| 377 | | | |
| 378 | export type ClientRequest__FsCopyParams = { | 370 | export type ClientRequest__FsCopyParams = { |
| 379 | readonly destinationPath: string; | 371 | readonly destinationPath: string; |
| 380 | readonly recursive?: boolean; | 372 | readonly recursive?: boolean; |
| ... | @@ -514,7 +506,6 @@ export const ClientRequest__GetAccountParams = Schema.Struct({ | ... | @@ -514,7 +506,6 @@ export const ClientRequest__GetAccountParams = Schema.Struct({ |
| 514 | Schema.Boolean.annotate({ | 506 | Schema.Boolean.annotate({ |
| 515 | description: | 507 | description: |
| 516 | "When `true`, requests a proactive token refresh before returning.\n\nIn managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`.", | 508 | "When `true`, requests a proactive token refresh before returning.\n\nIn managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`.", |
| 517 | default: false, | | |
| 518 | }), | 509 | }), |
| 519 | ), | 510 | ), |
| 520 | }); | 511 | }); |
| ... | @@ -537,6 +528,7 @@ export const ClientRequest__ImageDetail = Schema.Literals(["auto", "low", "high" | ... | @@ -537,6 +528,7 @@ export const ClientRequest__ImageDetail = Schema.Literals(["auto", "low", "high" |
| 537 | export type ClientRequest__InitializeCapabilities = { | 528 | export type ClientRequest__InitializeCapabilities = { |
| 538 | readonly experimentalApi?: boolean; | 529 | readonly experimentalApi?: boolean; |
| 539 | readonly optOutNotificationMethods?: ReadonlyArray<string> | null; | 530 | readonly optOutNotificationMethods?: ReadonlyArray<string> | null; |
| | 531 | readonly requestAttestation?: boolean; |
| 540 | }; | 532 | }; |
| 541 | export const ClientRequest__InitializeCapabilities = Schema.Struct({ | 533 | export const ClientRequest__InitializeCapabilities = Schema.Struct({ |
| 542 | experimentalApi: Schema.optionalKey( | 534 | experimentalApi: Schema.optionalKey( |
| ... | @@ -554,6 +546,12 @@ export const ClientRequest__InitializeCapabilities = Schema.Struct({ | ... | @@ -554,6 +546,12 @@ export const ClientRequest__InitializeCapabilities = Schema.Struct({ |
| 554 | Schema.Null, | 546 | Schema.Null, |
| 555 | ]), | 547 | ]), |
| 556 | ), | 548 | ), |
| | 549 | requestAttestation: Schema.optionalKey( |
| | 550 | Schema.Boolean.annotate({ |
| | 551 | description: "Opt into `attestation/generate` requests for upstream `x-oai-attestation`.", |
| | 552 | default: false, |
| | 553 | }), |
| | 554 | ), |
| 557 | }).annotate({ description: "Client-declared capabilities negotiated during initialize." }); | 555 | }).annotate({ description: "Client-declared capabilities negotiated during initialize." }); |
| 558 | | 556 | |
| 559 | export type ClientRequest__LocalShellAction = { | 557 | export type ClientRequest__LocalShellAction = { |
| ... | @@ -768,9 +766,39 @@ export const ClientRequest__ModelListParams = Schema.Struct({ | ... | @@ -768,9 +766,39 @@ export const ClientRequest__ModelListParams = Schema.Struct({ |
| 768 | export type ClientRequest__ModelProviderCapabilitiesReadParams = {}; | 766 | export type ClientRequest__ModelProviderCapabilitiesReadParams = {}; |
| 769 | export const ClientRequest__ModelProviderCapabilitiesReadParams = Schema.Struct({}); | 767 | export const ClientRequest__ModelProviderCapabilitiesReadParams = Schema.Struct({}); |
| 770 | | 768 | |
| 771 | export type ClientRequest__PermissionProfileNetworkPermissions = { readonly enabled: boolean }; | 769 | export type ClientRequest__PermissionProfileListParams = { |
| 772 | export const ClientRequest__PermissionProfileNetworkPermissions = Schema.Struct({ | 770 | readonly cursor?: string | null; |
| 773 | enabled: Schema.Boolean, | 771 | readonly cwd?: string | null; |
| | 772 | readonly limit?: number | null; |
| | 773 | }; |
| | 774 | export const ClientRequest__PermissionProfileListParams = Schema.Struct({ |
| | 775 | cursor: Schema.optionalKey( |
| | 776 | Schema.Union([ |
| | 777 | Schema.String.annotate({ |
| | 778 | description: "Opaque pagination cursor returned by a previous call.", |
| | 779 | }), |
| | 780 | Schema.Null, |
| | 781 | ]), |
| | 782 | ), |
| | 783 | cwd: Schema.optionalKey( |
| | 784 | Schema.Union([ |
| | 785 | Schema.String.annotate({ |
| | 786 | description: "Optional working directory to resolve project config layers.", |
| | 787 | }), |
| | 788 | Schema.Null, |
| | 789 | ]), |
| | 790 | ), |
| | 791 | limit: Schema.optionalKey( |
| | 792 | Schema.Union([ |
| | 793 | Schema.Number.annotate({ |
| | 794 | description: "Optional page size; defaults to the full result set.", |
| | 795 | format: "uint32", |
| | 796 | }) |
| | 797 | .check(Schema.isInt()) |
| | 798 | .check(Schema.isGreaterThanOrEqualTo(0)), |
| | 799 | Schema.Null, |
| | 800 | ]), |
| | 801 | ), |
| 774 | }); | 802 | }); |
| 775 | | 803 | |
| 776 | export type ClientRequest__Personality = "none" | "friendly" | "pragmatic"; | 804 | export type ClientRequest__Personality = "none" | "friendly" | "pragmatic"; |
| ... | @@ -778,14 +806,21 @@ export const ClientRequest__Personality = Schema.Literals(["none", "friendly", " | ... | @@ -778,14 +806,21 @@ export const ClientRequest__Personality = Schema.Literals(["none", "friendly", " |
| 778 | | 806 | |
| 779 | export type ClientRequest__PluginListMarketplaceKind = | 807 | export type ClientRequest__PluginListMarketplaceKind = |
| 780 | | "local" | 808 | | "local" |
| | 809 | | "vertical" |
| 781 | | "workspace-directory" | 810 | | "workspace-directory" |
| 782 | | "shared-with-me"; | 811 | | "shared-with-me"; |
| 783 | export const ClientRequest__PluginListMarketplaceKind = Schema.Literals([ | 812 | export const ClientRequest__PluginListMarketplaceKind = Schema.Literals([ |
| 784 | "local", | 813 | "local", |
| | 814 | "vertical", |
| 785 | "workspace-directory", | 815 | "workspace-directory", |
| 786 | "shared-with-me", | 816 | "shared-with-me", |
| 787 | ]); | 817 | ]); |
| 788 | | 818 | |
| | 819 | export type ClientRequest__PluginShareCheckoutParams = { readonly remotePluginId: string }; |
| | 820 | export const ClientRequest__PluginShareCheckoutParams = Schema.Struct({ |
| | 821 | remotePluginId: Schema.String, |
| | 822 | }); |
| | 823 | |
| 789 | export type ClientRequest__PluginShareDeleteParams = { readonly remotePluginId: string }; | 824 | export type ClientRequest__PluginShareDeleteParams = { readonly remotePluginId: string }; |
| 790 | export const ClientRequest__PluginShareDeleteParams = Schema.Struct({ | 825 | export const ClientRequest__PluginShareDeleteParams = Schema.Struct({ |
| 791 | remotePluginId: Schema.String, | 826 | remotePluginId: Schema.String, |
| ... | @@ -808,6 +843,15 @@ export const ClientRequest__PluginSharePrincipalType = Schema.Literals([ | ... | @@ -808,6 +843,15 @@ export const ClientRequest__PluginSharePrincipalType = Schema.Literals([ |
| 808 | "workspace", | 843 | "workspace", |
| 809 | ]); | 844 | ]); |
| 810 | | 845 | |
| | 846 | export type ClientRequest__PluginShareTargetRole = "reader" | "editor"; |
| | 847 | export const ClientRequest__PluginShareTargetRole = Schema.Literals(["reader", "editor"]); |
| | 848 | |
| | 849 | export type ClientRequest__PluginShareUpdateDiscoverability = "UNLISTED" | "PRIVATE"; |
| | 850 | export const ClientRequest__PluginShareUpdateDiscoverability = Schema.Literals([ |
| | 851 | "UNLISTED", |
| | 852 | "PRIVATE", |
| | 853 | ]); |
| | 854 | |
| 811 | export type ClientRequest__PluginSkillReadParams = { | 855 | export type ClientRequest__PluginSkillReadParams = { |
| 812 | readonly remoteMarketplaceName: string; | 856 | readonly remoteMarketplaceName: string; |
| 813 | readonly remotePluginId: string; | 857 | readonly remotePluginId: string; |
| ... | @@ -831,24 +875,10 @@ export const ClientRequest__PluginsMigration = Schema.Struct({ | ... | @@ -831,24 +875,10 @@ export const ClientRequest__PluginsMigration = Schema.Struct({ |
| 831 | pluginNames: Schema.Array(Schema.String), | 875 | pluginNames: Schema.Array(Schema.String), |
| 832 | }); | 876 | }); |
| 833 | | 877 | |
| 834 | export type ClientRequest__ReasoningEffort = | 878 | export type ClientRequest__ReasoningEffort = string; |
| 835 | | "none" | 879 | export const ClientRequest__ReasoningEffort = Schema.String.annotate({ |
| 836 | | "minimal" | 880 | description: "A non-empty reasoning effort value advertised by the model.", |
| 837 | | "low" | 881 | }).check(Schema.isMinLength(1)); |
| 838 | | "medium" | | |
| 839 | | "high" | | |
| 840 | | "xhigh"; | | |
| 841 | export const ClientRequest__ReasoningEffort = Schema.Literals([ | | |
| 842 | "none", | | |
| 843 | "minimal", | | |
| 844 | "low", | | |
| 845 | "medium", | | |
| 846 | "high", | | |
| 847 | "xhigh", | | |
| 848 | ]).annotate({ | | |
| 849 | description: | | |
| 850 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 851 | }); | | |
| 852 | | 882 | |
| 853 | export type ClientRequest__ReasoningItemContent = | 883 | export type ClientRequest__ReasoningItemContent = |
| 854 | | { readonly text: string; readonly type: "reasoning_text" } | 884 | | { readonly text: string; readonly type: "reasoning_text" } |
| ... | @@ -1012,13 +1042,21 @@ export const ClientRequest__SessionMigration = Schema.Struct({ | ... | @@ -1012,13 +1042,21 @@ export const ClientRequest__SessionMigration = Schema.Struct({ |
| 1012 | title: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 1042 | title: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 1013 | }); | 1043 | }); |
| 1014 | | 1044 | |
| 1015 | export type ClientRequest__SkillsListExtraRootsForCwd = { | 1045 | export type ClientRequest__SkillsListParams = { |
| 1016 | readonly cwd: string; | 1046 | readonly cwds?: ReadonlyArray<string>; |
| 1017 | readonly extraUserRoots: ReadonlyArray<string>; | 1047 | readonly forceReload?: boolean; |
| 1018 | }; | 1048 | }; |
| 1019 | export const ClientRequest__SkillsListExtraRootsForCwd = Schema.Struct({ | 1049 | export const ClientRequest__SkillsListParams = Schema.Struct({ |
| 1020 | cwd: Schema.String, | 1050 | cwds: Schema.optionalKey( |
| 1021 | extraUserRoots: Schema.Array(Schema.String), | 1051 | Schema.Array(Schema.String).annotate({ |
| | 1052 | description: "When empty, defaults to the current session working directory.", |
| | 1053 | }), |
| | 1054 | ), |
| | 1055 | forceReload: Schema.optionalKey( |
| | 1056 | Schema.Boolean.annotate({ |
| | 1057 | description: "When true, bypass the skills cache and re-scan skills from disk.", |
| | 1058 | }), |
| | 1059 | ), |
| 1022 | }); | 1060 | }); |
| 1023 | | 1061 | |
| 1024 | export type ClientRequest__SortDirection = "asc" | "desc"; | 1062 | export type ClientRequest__SortDirection = "asc" | "desc"; |
| ... | @@ -1069,6 +1107,31 @@ export const ClientRequest__ThreadArchiveParams = Schema.Struct({ threadId: Sche | ... | @@ -1069,6 +1107,31 @@ export const ClientRequest__ThreadArchiveParams = Schema.Struct({ threadId: Sche |
| 1069 | export type ClientRequest__ThreadCompactStartParams = { readonly threadId: string }; | 1107 | export type ClientRequest__ThreadCompactStartParams = { readonly threadId: string }; |
| 1070 | export const ClientRequest__ThreadCompactStartParams = Schema.Struct({ threadId: Schema.String }); | 1108 | export const ClientRequest__ThreadCompactStartParams = Schema.Struct({ threadId: Schema.String }); |
| 1071 | | 1109 | |
| | 1110 | export type ClientRequest__ThreadDeleteParams = { readonly threadId: string }; |
| | 1111 | export const ClientRequest__ThreadDeleteParams = Schema.Struct({ threadId: Schema.String }); |
| | 1112 | |
| | 1113 | export type ClientRequest__ThreadGoalClearParams = { readonly threadId: string }; |
| | 1114 | export const ClientRequest__ThreadGoalClearParams = Schema.Struct({ threadId: Schema.String }); |
| | 1115 | |
| | 1116 | export type ClientRequest__ThreadGoalGetParams = { readonly threadId: string }; |
| | 1117 | export const ClientRequest__ThreadGoalGetParams = Schema.Struct({ threadId: Schema.String }); |
| | 1118 | |
| | 1119 | export type ClientRequest__ThreadGoalStatus = |
| | 1120 | | "active" |
| | 1121 | | "paused" |
| | 1122 | | "blocked" |
| | 1123 | | "usageLimited" |
| | 1124 | | "budgetLimited" |
| | 1125 | | "complete"; |
| | 1126 | export const ClientRequest__ThreadGoalStatus = Schema.Literals([ |
| | 1127 | "active", |
| | 1128 | "paused", |
| | 1129 | "blocked", |
| | 1130 | "usageLimited", |
| | 1131 | "budgetLimited", |
| | 1132 | "complete", |
| | 1133 | ]); |
| | 1134 | |
| 1072 | export type ClientRequest__ThreadInjectItemsParams = { | 1135 | export type ClientRequest__ThreadInjectItemsParams = { |
| 1073 | readonly items: ReadonlyArray<unknown>; | 1136 | readonly items: ReadonlyArray<unknown>; |
| 1074 | readonly threadId: string; | 1137 | readonly threadId: string; |
| ... | @@ -1155,7 +1218,6 @@ export const ClientRequest__ThreadReadParams = Schema.Struct({ | ... | @@ -1155,7 +1218,6 @@ export const ClientRequest__ThreadReadParams = Schema.Struct({ |
| 1155 | includeTurns: Schema.optionalKey( | 1218 | includeTurns: Schema.optionalKey( |
| 1156 | Schema.Boolean.annotate({ | 1219 | Schema.Boolean.annotate({ |
| 1157 | description: "When true, include turns and their items from rollout history.", | 1220 | description: "When true, include turns and their items from rollout history.", |
| 1158 | default: false, | | |
| 1159 | }), | 1221 | }), |
| 1160 | ), | 1222 | ), |
| 1161 | threadId: Schema.String, | 1223 | threadId: Schema.String, |
| ... | @@ -1200,12 +1262,8 @@ export const ClientRequest__ThreadShellCommandParams = Schema.Struct({ | ... | @@ -1200,12 +1262,8 @@ export const ClientRequest__ThreadShellCommandParams = Schema.Struct({ |
| 1200 | export type ClientRequest__ThreadSortKey = "created_at" | "updated_at"; | 1262 | export type ClientRequest__ThreadSortKey = "created_at" | "updated_at"; |
| 1201 | export const ClientRequest__ThreadSortKey = Schema.Literals(["created_at", "updated_at"]); | 1263 | export const ClientRequest__ThreadSortKey = Schema.Literals(["created_at", "updated_at"]); |
| 1202 | | 1264 | |
| 1203 | export type ClientRequest__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 1265 | export type ClientRequest__ThreadSource = string; |
| 1204 | export const ClientRequest__ThreadSource = Schema.Literals([ | 1266 | export const ClientRequest__ThreadSource = Schema.String; |
| 1205 | "user", | | |
| 1206 | "subagent", | | |
| 1207 | "memory_consolidation", | | |
| 1208 | ]); | | |
| 1209 | | 1267 | |
| 1210 | export type ClientRequest__ThreadSourceKind = | 1268 | export type ClientRequest__ThreadSourceKind = |
| 1211 | | "cli" | 1269 | | "cli" |
| ... | @@ -1249,6 +1307,9 @@ export const ClientRequest__TurnInterruptParams = Schema.Struct({ | ... | @@ -1249,6 +1307,9 @@ export const ClientRequest__TurnInterruptParams = Schema.Struct({ |
| 1249 | turnId: Schema.String, | 1307 | turnId: Schema.String, |
| 1250 | }); | 1308 | }); |
| 1251 | | 1309 | |
| | 1310 | export type ClientRequest__TurnItemsView = "notLoaded" | "summary" | "full"; |
| | 1311 | export const ClientRequest__TurnItemsView = Schema.Literals(["notLoaded", "summary", "full"]); |
| | 1312 | |
| 1252 | export type ClientRequest__WindowsSandboxSetupMode = "elevated" | "unelevated"; | 1313 | export type ClientRequest__WindowsSandboxSetupMode = "elevated" | "unelevated"; |
| 1253 | export const ClientRequest__WindowsSandboxSetupMode = Schema.Literals(["elevated", "unelevated"]); | 1314 | export const ClientRequest__WindowsSandboxSetupMode = Schema.Literals(["elevated", "unelevated"]); |
| 1254 | | 1315 | |
| ... | @@ -1265,11 +1326,11 @@ export const CommandExecutionRequestApprovalParams__AdditionalNetworkPermissions | ... | @@ -1265,11 +1326,11 @@ export const CommandExecutionRequestApprovalParams__AdditionalNetworkPermissions |
| 1265 | enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), | 1326 | enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), |
| 1266 | }); | 1327 | }); |
| 1267 | | 1328 | |
| 1268 | export type CommandExecutionRequestApprovalParams__FileSystemAccessMode = "read" | "write" | "none"; | 1329 | export type CommandExecutionRequestApprovalParams__FileSystemAccessMode = "read" | "write" | "deny"; |
| 1269 | export const CommandExecutionRequestApprovalParams__FileSystemAccessMode = Schema.Literals([ | 1330 | export const CommandExecutionRequestApprovalParams__FileSystemAccessMode = Schema.Literals([ |
| 1270 | "read", | 1331 | "read", |
| 1271 | "write", | 1332 | "write", |
| 1272 | "none", | 1333 | "deny", |
| 1273 | ]); | 1334 | ]); |
| 1274 | | 1335 | |
| 1275 | export type CommandExecutionRequestApprovalParams__FileSystemSpecialPath = | 1336 | export type CommandExecutionRequestApprovalParams__FileSystemSpecialPath = |
| ... | @@ -1562,11 +1623,11 @@ export const PermissionsRequestApprovalParams__AdditionalNetworkPermissions = Sc | ... | @@ -1562,11 +1623,11 @@ export const PermissionsRequestApprovalParams__AdditionalNetworkPermissions = Sc |
| 1562 | enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), | 1623 | enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), |
| 1563 | }); | 1624 | }); |
| 1564 | | 1625 | |
| 1565 | export type PermissionsRequestApprovalParams__FileSystemAccessMode = "read" | "write" | "none"; | 1626 | export type PermissionsRequestApprovalParams__FileSystemAccessMode = "read" | "write" | "deny"; |
| 1566 | export const PermissionsRequestApprovalParams__FileSystemAccessMode = Schema.Literals([ | 1627 | export const PermissionsRequestApprovalParams__FileSystemAccessMode = Schema.Literals([ |
| 1567 | "read", | 1628 | "read", |
| 1568 | "write", | 1629 | "write", |
| 1569 | "none", | 1630 | "deny", |
| 1570 | ]); | 1631 | ]); |
| 1571 | | 1632 | |
| 1572 | export type PermissionsRequestApprovalParams__FileSystemSpecialPath = | 1633 | export type PermissionsRequestApprovalParams__FileSystemSpecialPath = |
| ... | @@ -1616,11 +1677,11 @@ export const PermissionsRequestApprovalResponse__AdditionalNetworkPermissions = | ... | @@ -1616,11 +1677,11 @@ export const PermissionsRequestApprovalResponse__AdditionalNetworkPermissions = |
| 1616 | enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), | 1677 | enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), |
| 1617 | }); | 1678 | }); |
| 1618 | | 1679 | |
| 1619 | export type PermissionsRequestApprovalResponse__FileSystemAccessMode = "read" | "write" | "none"; | 1680 | export type PermissionsRequestApprovalResponse__FileSystemAccessMode = "read" | "write" | "deny"; |
| 1620 | export const PermissionsRequestApprovalResponse__FileSystemAccessMode = Schema.Literals([ | 1681 | export const PermissionsRequestApprovalResponse__FileSystemAccessMode = Schema.Literals([ |
| 1621 | "read", | 1682 | "read", |
| 1622 | "write", | 1683 | "write", |
| 1623 | "none", | 1684 | "deny", |
| 1624 | ]); | 1685 | ]); |
| 1625 | | 1686 | |
| 1626 | export type PermissionsRequestApprovalResponse__FileSystemSpecialPath = | 1687 | export type PermissionsRequestApprovalResponse__FileSystemSpecialPath = |
| ... | @@ -1674,6 +1735,26 @@ export const ServerNotification__AccountLoginCompletedNotification = Schema.Stru | ... | @@ -1674,6 +1735,26 @@ export const ServerNotification__AccountLoginCompletedNotification = Schema.Stru |
| 1674 | success: Schema.Boolean, | 1735 | success: Schema.Boolean, |
| 1675 | }); | 1736 | }); |
| 1676 | | 1737 | |
| | 1738 | export type ServerNotification__ActivePermissionProfile = { |
| | 1739 | readonly extends?: string | null; |
| | 1740 | readonly id: string; |
| | 1741 | }; |
| | 1742 | export const ServerNotification__ActivePermissionProfile = Schema.Struct({ |
| | 1743 | extends: Schema.optionalKey( |
| | 1744 | Schema.Union([ |
| | 1745 | Schema.String.annotate({ |
| | 1746 | description: |
| | 1747 | "Parent profile identifier from the selected permissions profile's `extends` setting, when present.", |
| | 1748 | }), |
| | 1749 | Schema.Null, |
| | 1750 | ]), |
| | 1751 | ), |
| | 1752 | id: Schema.String.annotate({ |
| | 1753 | description: |
| | 1754 | "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", |
| | 1755 | }), |
| | 1756 | }); |
| | 1757 | |
| 1677 | export type ServerNotification__AdditionalNetworkPermissions = { | 1758 | export type ServerNotification__AdditionalNetworkPermissions = { |
| 1678 | readonly enabled?: boolean | null; | 1759 | readonly enabled?: boolean | null; |
| 1679 | }; | 1760 | }; |
| ... | @@ -1728,16 +1809,58 @@ export const ServerNotification__AppScreenshot = Schema.Struct({ | ... | @@ -1728,16 +1809,58 @@ export const ServerNotification__AppScreenshot = Schema.Struct({ |
| 1728 | userPrompt: Schema.String, | 1809 | userPrompt: Schema.String, |
| 1729 | }); | 1810 | }); |
| 1730 | | 1811 | |
| | 1812 | export type ServerNotification__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; |
| | 1813 | export const ServerNotification__ApprovalsReviewer = Schema.Literals([ |
| | 1814 | "user", |
| | 1815 | "auto_review", |
| | 1816 | "guardian_subagent", |
| | 1817 | ]).annotate({ |
| | 1818 | description: |
| | 1819 | "Configures who approval requests are routed to for review. Examples include sandbox escapes, blocked network access, MCP approval prompts, and ARC escalations. Defaults to `user`. `auto_review` uses a carefully prompted subagent to gather relevant context and apply a risk-based decision framework before approving or denying the request. The legacy value `guardian_subagent` is accepted for compatibility.", |
| | 1820 | }); |
| | 1821 | |
| | 1822 | export type ServerNotification__AskForApproval = |
| | 1823 | | "untrusted" |
| | 1824 | | "on-failure" |
| | 1825 | | "on-request" |
| | 1826 | | "never" |
| | 1827 | | { |
| | 1828 | readonly granular: { |
| | 1829 | readonly mcp_elicitations: boolean; |
| | 1830 | readonly request_permissions?: boolean; |
| | 1831 | readonly rules: boolean; |
| | 1832 | readonly sandbox_approval: boolean; |
| | 1833 | readonly skill_approval?: boolean; |
| | 1834 | }; |
| | 1835 | }; |
| | 1836 | export const ServerNotification__AskForApproval = Schema.Union( |
| | 1837 | [ |
| | 1838 | Schema.Literals(["untrusted", "on-failure", "on-request", "never"]), |
| | 1839 | Schema.Struct({ |
| | 1840 | granular: Schema.Struct({ |
| | 1841 | mcp_elicitations: Schema.Boolean, |
| | 1842 | request_permissions: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 1843 | rules: Schema.Boolean, |
| | 1844 | sandbox_approval: Schema.Boolean, |
| | 1845 | skill_approval: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 1846 | }), |
| | 1847 | }).annotate({ title: "GranularAskForApproval" }), |
| | 1848 | ], |
| | 1849 | { mode: "oneOf" }, |
| | 1850 | ); |
| | 1851 | |
| 1731 | export type ServerNotification__AuthMode = | 1852 | export type ServerNotification__AuthMode = |
| 1732 | | "apikey" | 1853 | | "apikey" |
| 1733 | | "chatgpt" | 1854 | | "chatgpt" |
| 1734 | | "chatgptAuthTokens" | 1855 | | "chatgptAuthTokens" |
| 1735 | | "agentIdentity"; | 1856 | | "agentIdentity" |
| | 1857 | | "personalAccessToken"; |
| 1736 | export const ServerNotification__AuthMode = Schema.Literals([ | 1858 | export const ServerNotification__AuthMode = Schema.Literals([ |
| 1737 | "apikey", | 1859 | "apikey", |
| 1738 | "chatgpt", | 1860 | "chatgpt", |
| 1739 | "chatgptAuthTokens", | 1861 | "chatgptAuthTokens", |
| 1740 | "agentIdentity", | 1862 | "agentIdentity", |
| | 1863 | "personalAccessToken", |
| 1741 | ]).annotate({ description: "Authentication mode for OpenAI-backed providers." }); | 1864 | ]).annotate({ description: "Authentication mode for OpenAI-backed providers." }); |
| 1742 | | 1865 | |
| 1743 | export type ServerNotification__AutoReviewDecisionSource = "agent"; | 1866 | export type ServerNotification__AutoReviewDecisionSource = "agent"; |
| ... | @@ -1895,8 +2018,8 @@ export const ServerNotification__FileChangeOutputDeltaNotification = Schema.Stru | ... | @@ -1895,8 +2018,8 @@ export const ServerNotification__FileChangeOutputDeltaNotification = Schema.Stru |
| 1895 | "Deprecated legacy notification for `apply_patch` textual output.\n\nThe server no longer emits this notification.", | 2018 | "Deprecated legacy notification for `apply_patch` textual output.\n\nThe server no longer emits this notification.", |
| 1896 | }); | 2019 | }); |
| 1897 | | 2020 | |
| 1898 | export type ServerNotification__FileSystemAccessMode = "read" | "write" | "none"; | 2021 | export type ServerNotification__FileSystemAccessMode = "read" | "write" | "deny"; |
| 1899 | export const ServerNotification__FileSystemAccessMode = Schema.Literals(["read", "write", "none"]); | 2022 | export const ServerNotification__FileSystemAccessMode = Schema.Literals(["read", "write", "deny"]); |
| 1900 | | 2023 | |
| 1901 | export type ServerNotification__FileSystemSpecialPath = | 2024 | export type ServerNotification__FileSystemSpecialPath = |
| 1902 | | { readonly kind: "root" } | 2025 | | { readonly kind: "root" } |
| ... | @@ -2005,6 +2128,8 @@ export type ServerNotification__HookEventName = | ... | @@ -2005,6 +2128,8 @@ export type ServerNotification__HookEventName = |
| 2005 | | "postCompact" | 2128 | | "postCompact" |
| 2006 | | "sessionStart" | 2129 | | "sessionStart" |
| 2007 | | "userPromptSubmit" | 2130 | | "userPromptSubmit" |
| | 2131 | | "subagentStart" |
| | 2132 | | "subagentStop" |
| 2008 | | "stop"; | 2133 | | "stop"; |
| 2009 | export const ServerNotification__HookEventName = Schema.Literals([ | 2134 | export const ServerNotification__HookEventName = Schema.Literals([ |
| 2010 | "preToolUse", | 2135 | "preToolUse", |
| ... | @@ -2014,6 +2139,8 @@ export const ServerNotification__HookEventName = Schema.Literals([ | ... | @@ -2014,6 +2139,8 @@ export const ServerNotification__HookEventName = Schema.Literals([ |
| 2014 | "postCompact", | 2139 | "postCompact", |
| 2015 | "sessionStart", | 2140 | "sessionStart", |
| 2016 | "userPromptSubmit", | 2141 | "userPromptSubmit", |
| | 2142 | "subagentStart", |
| | 2143 | "subagentStop", |
| 2017 | "stop", | 2144 | "stop", |
| 2018 | ]); | 2145 | ]); |
| 2019 | | 2146 | |
| ... | @@ -2063,6 +2190,9 @@ export const ServerNotification__HookRunStatus = Schema.Literals([ | ... | @@ -2063,6 +2190,9 @@ export const ServerNotification__HookRunStatus = Schema.Literals([ |
| 2063 | export type ServerNotification__HookScope = "thread" | "turn"; | 2190 | export type ServerNotification__HookScope = "thread" | "turn"; |
| 2064 | export const ServerNotification__HookScope = Schema.Literals(["thread", "turn"]); | 2191 | export const ServerNotification__HookScope = Schema.Literals(["thread", "turn"]); |
| 2065 | | 2192 | |
| | 2193 | export type ServerNotification__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 2194 | export const ServerNotification__ImageDetail = Schema.Literals(["auto", "low", "high", "original"]); |
| | 2195 | |
| 2066 | export type ServerNotification__McpServerOauthLoginCompletedNotification = { | 2196 | export type ServerNotification__McpServerOauthLoginCompletedNotification = { |
| 2067 | readonly error?: string | null; | 2197 | readonly error?: string | null; |
| 2068 | readonly name: string; | 2198 | readonly name: string; |
| ... | @@ -2146,6 +2276,11 @@ export const ServerNotification__MessagePhase = Schema.Literals([ | ... | @@ -2146,6 +2276,11 @@ export const ServerNotification__MessagePhase = Schema.Literals([ |
| 2146 | 'Classifies an assistant message as interim commentary or final answer text.\n\nProviders do not emit this consistently, so callers must treat `None` as "phase unknown" and keep compatibility behavior for legacy models.', | 2276 | 'Classifies an assistant message as interim commentary or final answer text.\n\nProviders do not emit this consistently, so callers must treat `None` as "phase unknown" and keep compatibility behavior for legacy models.', |
| 2147 | }); | 2277 | }); |
| 2148 | | 2278 | |
| | 2279 | export type ServerNotification__ModeKind = "plan" | "default"; |
| | 2280 | export const ServerNotification__ModeKind = Schema.Literals(["plan", "default"]).annotate({ |
| | 2281 | description: "Initial collaboration mode to use when the TUI starts.", |
| | 2282 | }); |
| | 2283 | |
| 2149 | export type ServerNotification__ModelRerouteReason = "highRiskCyberActivity"; | 2284 | export type ServerNotification__ModelRerouteReason = "highRiskCyberActivity"; |
| 2150 | export const ServerNotification__ModelRerouteReason = Schema.Literal("highRiskCyberActivity"); | 2285 | export const ServerNotification__ModelRerouteReason = Schema.Literal("highRiskCyberActivity"); |
| 2151 | | 2286 | |
| ... | @@ -2199,6 +2334,9 @@ export const ServerNotification__PatchChangeKind = Schema.Union( | ... | @@ -2199,6 +2334,9 @@ export const ServerNotification__PatchChangeKind = Schema.Union( |
| 2199 | { mode: "oneOf" }, | 2334 | { mode: "oneOf" }, |
| 2200 | ); | 2335 | ); |
| 2201 | | 2336 | |
| | 2337 | export type ServerNotification__Personality = "none" | "friendly" | "pragmatic"; |
| | 2338 | export const ServerNotification__Personality = Schema.Literals(["none", "friendly", "pragmatic"]); |
| | 2339 | |
| 2202 | export type ServerNotification__PlanDeltaNotification = { | 2340 | export type ServerNotification__PlanDeltaNotification = { |
| 2203 | readonly delta: string; | 2341 | readonly delta: string; |
| 2204 | readonly itemId: string; | 2342 | readonly itemId: string; |
| ... | @@ -2330,23 +2468,21 @@ export const ServerNotification__RateLimitWindow = Schema.Struct({ | ... | @@ -2330,23 +2468,21 @@ export const ServerNotification__RateLimitWindow = Schema.Struct({ |
| 2330 | export type ServerNotification__RealtimeConversationVersion = "v1" | "v2"; | 2468 | export type ServerNotification__RealtimeConversationVersion = "v1" | "v2"; |
| 2331 | export const ServerNotification__RealtimeConversationVersion = Schema.Literals(["v1", "v2"]); | 2469 | export const ServerNotification__RealtimeConversationVersion = Schema.Literals(["v1", "v2"]); |
| 2332 | | 2470 | |
| 2333 | export type ServerNotification__ReasoningEffort = | 2471 | export type ServerNotification__ReasoningEffort = string; |
| 2334 | | "none" | 2472 | export const ServerNotification__ReasoningEffort = Schema.String.annotate({ |
| 2335 | | "minimal" | 2473 | description: "A non-empty reasoning effort value advertised by the model.", |
| 2336 | | "low" | 2474 | }).check(Schema.isMinLength(1)); |
| 2337 | | "medium" | 2475 | |
| 2338 | | "high" | 2476 | export type ServerNotification__ReasoningSummary = "auto" | "concise" | "detailed" | "none"; |
| 2339 | | "xhigh"; | 2477 | export const ServerNotification__ReasoningSummary = Schema.Union( |
| 2340 | export const ServerNotification__ReasoningEffort = Schema.Literals([ | 2478 | [ |
| 2341 | "none", | 2479 | Schema.Literals(["auto", "concise", "detailed"]), |
| 2342 | "minimal", | 2480 | Schema.Literal("none").annotate({ description: "Option to disable reasoning summaries." }), |
| 2343 | "low", | 2481 | ], |
| 2344 | "medium", | 2482 | { mode: "oneOf" }, |
| 2345 | "high", | 2483 | ).annotate({ |
| 2346 | "xhigh", | | |
| 2347 | ]).annotate({ | | |
| 2348 | description: | 2484 | description: |
| 2349 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | 2485 | "A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#reasoning-summaries", |
| 2350 | }); | 2486 | }); |
| 2351 | | 2487 | |
| 2352 | export type ServerNotification__ReasoningSummaryPartAddedNotification = { | 2488 | export type ServerNotification__ReasoningSummaryPartAddedNotification = { |
| ... | @@ -2416,6 +2552,26 @@ export const ServerNotification__SkillsChangedNotification = Schema.Struct({}).a | ... | @@ -2416,6 +2552,26 @@ export const ServerNotification__SkillsChangedNotification = Schema.Struct({}).a |
| 2416 | "Notification emitted when watched local skill files change.\n\nTreat this as an invalidation signal and re-run `skills/list` with the client's current parameters when refreshed skill metadata is needed.", | 2552 | "Notification emitted when watched local skill files change.\n\nTreat this as an invalidation signal and re-run `skills/list` with the client's current parameters when refreshed skill metadata is needed.", |
| 2417 | }); | 2553 | }); |
| 2418 | | 2554 | |
| | 2555 | export type ServerNotification__SpendControlLimitSnapshot = { |
| | 2556 | readonly limit: string; |
| | 2557 | readonly remainingPercent: number; |
| | 2558 | readonly resetsAt: number; |
| | 2559 | readonly used: string; |
| | 2560 | }; |
| | 2561 | export const ServerNotification__SpendControlLimitSnapshot = Schema.Struct({ |
| | 2562 | limit: Schema.String, |
| | 2563 | remainingPercent: Schema.Number.annotate({ format: "int32" }).check(Schema.isInt()), |
| | 2564 | resetsAt: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 2565 | used: Schema.String, |
| | 2566 | }); |
| | 2567 | |
| | 2568 | export type ServerNotification__SubAgentActivityKind = "started" | "interacted" | "interrupted"; |
| | 2569 | export const ServerNotification__SubAgentActivityKind = Schema.Literals([ |
| | 2570 | "started", |
| | 2571 | "interacted", |
| | 2572 | "interrupted", |
| | 2573 | ]); |
| | 2574 | |
| 2419 | export type ServerNotification__TerminalInteractionNotification = { | 2575 | export type ServerNotification__TerminalInteractionNotification = { |
| 2420 | readonly itemId: string; | 2576 | readonly itemId: string; |
| 2421 | readonly processId: string; | 2577 | readonly processId: string; |
| ... | @@ -2485,6 +2641,11 @@ export const ServerNotification__ThreadClosedNotification = Schema.Struct({ | ... | @@ -2485,6 +2641,11 @@ export const ServerNotification__ThreadClosedNotification = Schema.Struct({ |
| 2485 | threadId: Schema.String, | 2641 | threadId: Schema.String, |
| 2486 | }); | 2642 | }); |
| 2487 | | 2643 | |
| | 2644 | export type ServerNotification__ThreadDeletedNotification = { readonly threadId: string }; |
| | 2645 | export const ServerNotification__ThreadDeletedNotification = Schema.Struct({ |
| | 2646 | threadId: Schema.String, |
| | 2647 | }); |
| | 2648 | |
| 2488 | export type ServerNotification__ThreadGoalClearedNotification = { readonly threadId: string }; | 2649 | export type ServerNotification__ThreadGoalClearedNotification = { readonly threadId: string }; |
| 2489 | export const ServerNotification__ThreadGoalClearedNotification = Schema.Struct({ | 2650 | export const ServerNotification__ThreadGoalClearedNotification = Schema.Struct({ |
| 2490 | threadId: Schema.String, | 2651 | threadId: Schema.String, |
| ... | @@ -2493,11 +2654,15 @@ export const ServerNotification__ThreadGoalClearedNotification = Schema.Struct({ | ... | @@ -2493,11 +2654,15 @@ export const ServerNotification__ThreadGoalClearedNotification = Schema.Struct({ |
| 2493 | export type ServerNotification__ThreadGoalStatus = | 2654 | export type ServerNotification__ThreadGoalStatus = |
| 2494 | | "active" | 2655 | | "active" |
| 2495 | | "paused" | 2656 | | "paused" |
| | 2657 | | "blocked" |
| | 2658 | | "usageLimited" |
| 2496 | | "budgetLimited" | 2659 | | "budgetLimited" |
| 2497 | | "complete"; | 2660 | | "complete"; |
| 2498 | export const ServerNotification__ThreadGoalStatus = Schema.Literals([ | 2661 | export const ServerNotification__ThreadGoalStatus = Schema.Literals([ |
| 2499 | "active", | 2662 | "active", |
| 2500 | "paused", | 2663 | "paused", |
| | 2664 | "blocked", |
| | 2665 | "usageLimited", |
| 2501 | "budgetLimited", | 2666 | "budgetLimited", |
| 2502 | "complete", | 2667 | "complete", |
| 2503 | ]); | 2668 | ]); |
| ... | @@ -2608,12 +2773,8 @@ export const ServerNotification__ThreadRealtimeTranscriptDoneNotification = Sche | ... | @@ -2608,12 +2773,8 @@ export const ServerNotification__ThreadRealtimeTranscriptDoneNotification = Sche |
| 2608 | "EXPERIMENTAL - final transcript text emitted when realtime completes a transcript part.", | 2773 | "EXPERIMENTAL - final transcript text emitted when realtime completes a transcript part.", |
| 2609 | }); | 2774 | }); |
| 2610 | | 2775 | |
| 2611 | export type ServerNotification__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 2776 | export type ServerNotification__ThreadSource = string; |
| 2612 | export const ServerNotification__ThreadSource = Schema.Literals([ | 2777 | export const ServerNotification__ThreadSource = Schema.String; |
| 2613 | "user", | | |
| 2614 | "subagent", | | |
| 2615 | "memory_consolidation", | | |
| 2616 | ]); | | |
| 2617 | | 2778 | |
| 2618 | export type ServerNotification__ThreadUnarchivedNotification = { readonly threadId: string }; | 2779 | export type ServerNotification__ThreadUnarchivedNotification = { readonly threadId: string }; |
| 2619 | export const ServerNotification__ThreadUnarchivedNotification = Schema.Struct({ | 2780 | export const ServerNotification__ThreadUnarchivedNotification = Schema.Struct({ |
| ... | @@ -2649,6 +2810,17 @@ export const ServerNotification__TurnDiffUpdatedNotification = Schema.Struct({ | ... | @@ -2649,6 +2810,17 @@ export const ServerNotification__TurnDiffUpdatedNotification = Schema.Struct({ |
| 2649 | "Notification that the turn-level unified diff has changed. Contains the latest aggregated diff across all file changes in the turn.", | 2810 | "Notification that the turn-level unified diff has changed. Contains the latest aggregated diff across all file changes in the turn.", |
| 2650 | }); | 2811 | }); |
| 2651 | | 2812 | |
| | 2813 | export type ServerNotification__TurnModerationMetadataNotification = { |
| | 2814 | readonly metadata: unknown; |
| | 2815 | readonly threadId: string; |
| | 2816 | readonly turnId: string; |
| | 2817 | }; |
| | 2818 | export const ServerNotification__TurnModerationMetadataNotification = Schema.Struct({ |
| | 2819 | metadata: Schema.Unknown, |
| | 2820 | threadId: Schema.String, |
| | 2821 | turnId: Schema.String, |
| | 2822 | }); |
| | 2823 | |
| 2652 | export type ServerNotification__TurnPlanStepStatus = "pending" | "inProgress" | "completed"; | 2824 | export type ServerNotification__TurnPlanStepStatus = "pending" | "inProgress" | "completed"; |
| 2653 | export const ServerNotification__TurnPlanStepStatus = Schema.Literals([ | 2825 | export const ServerNotification__TurnPlanStepStatus = Schema.Literals([ |
| 2654 | "pending", | 2826 | "pending", |
| ... | @@ -2742,6 +2914,9 @@ export const ServerRequest__AdditionalNetworkPermissions = Schema.Struct({ | ... | @@ -2742,6 +2914,9 @@ export const ServerRequest__AdditionalNetworkPermissions = Schema.Struct({ |
| 2742 | enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), | 2914 | enabled: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), |
| 2743 | }); | 2915 | }); |
| 2744 | | 2916 | |
| | 2917 | export type ServerRequest__AttestationGenerateParams = {}; |
| | 2918 | export const ServerRequest__AttestationGenerateParams = Schema.Struct({}); |
| | 2919 | |
| 2745 | export type ServerRequest__ChatgptAuthTokensRefreshReason = "unauthorized"; | 2920 | export type ServerRequest__ChatgptAuthTokensRefreshReason = "unauthorized"; |
| 2746 | export const ServerRequest__ChatgptAuthTokensRefreshReason = Schema.Literal("unauthorized"); | 2921 | export const ServerRequest__ChatgptAuthTokensRefreshReason = Schema.Literal("unauthorized"); |
| 2747 | | 2922 | |
| ... | @@ -2789,6 +2964,7 @@ export type ServerRequest__FileChangeRequestApprovalParams = { | ... | @@ -2789,6 +2964,7 @@ export type ServerRequest__FileChangeRequestApprovalParams = { |
| 2789 | readonly grantRoot?: string | null; | 2964 | readonly grantRoot?: string | null; |
| 2790 | readonly itemId: string; | 2965 | readonly itemId: string; |
| 2791 | readonly reason?: string | null; | 2966 | readonly reason?: string | null; |
| | 2967 | readonly startedAtMs: number; |
| 2792 | readonly threadId: string; | 2968 | readonly threadId: string; |
| 2793 | readonly turnId: string; | 2969 | readonly turnId: string; |
| 2794 | }; | 2970 | }; |
| ... | @@ -2811,12 +2987,16 @@ export const ServerRequest__FileChangeRequestApprovalParams = Schema.Struct({ | ... | @@ -2811,12 +2987,16 @@ export const ServerRequest__FileChangeRequestApprovalParams = Schema.Struct({ |
| 2811 | Schema.Null, | 2987 | Schema.Null, |
| 2812 | ]), | 2988 | ]), |
| 2813 | ), | 2989 | ), |
| | 2990 | startedAtMs: Schema.Number.annotate({ |
| | 2991 | description: "Unix timestamp (in milliseconds) when this approval request started.", |
| | 2992 | format: "int64", |
| | 2993 | }).check(Schema.isInt()), |
| 2814 | threadId: Schema.String, | 2994 | threadId: Schema.String, |
| 2815 | turnId: Schema.String, | 2995 | turnId: Schema.String, |
| 2816 | }); | 2996 | }); |
| 2817 | | 2997 | |
| 2818 | export type ServerRequest__FileSystemAccessMode = "read" | "write" | "none"; | 2998 | export type ServerRequest__FileSystemAccessMode = "read" | "write" | "deny"; |
| 2819 | export const ServerRequest__FileSystemAccessMode = Schema.Literals(["read", "write", "none"]); | 2999 | export const ServerRequest__FileSystemAccessMode = Schema.Literals(["read", "write", "deny"]); |
| 2820 | | 3000 | |
| 2821 | export type ServerRequest__FileSystemSpecialPath = | 3001 | export type ServerRequest__FileSystemSpecialPath = |
| 2822 | | { readonly kind: "root" } | 3002 | | { readonly kind: "root" } |
| ... | @@ -2989,6 +3169,7 @@ export const V1InitializeParams__ClientInfo = Schema.Struct({ | ... | @@ -2989,6 +3169,7 @@ export const V1InitializeParams__ClientInfo = Schema.Struct({ |
| 2989 | export type V1InitializeParams__InitializeCapabilities = { | 3169 | export type V1InitializeParams__InitializeCapabilities = { |
| 2990 | readonly experimentalApi?: boolean; | 3170 | readonly experimentalApi?: boolean; |
| 2991 | readonly optOutNotificationMethods?: ReadonlyArray<string> | null; | 3171 | readonly optOutNotificationMethods?: ReadonlyArray<string> | null; |
| | 3172 | readonly requestAttestation?: boolean; |
| 2992 | }; | 3173 | }; |
| 2993 | export const V1InitializeParams__InitializeCapabilities = Schema.Struct({ | 3174 | export const V1InitializeParams__InitializeCapabilities = Schema.Struct({ |
| 2994 | experimentalApi: Schema.optionalKey( | 3175 | experimentalApi: Schema.optionalKey( |
| ... | @@ -3006,6 +3187,12 @@ export const V1InitializeParams__InitializeCapabilities = Schema.Struct({ | ... | @@ -3006,6 +3187,12 @@ export const V1InitializeParams__InitializeCapabilities = Schema.Struct({ |
| 3006 | Schema.Null, | 3187 | Schema.Null, |
| 3007 | ]), | 3188 | ]), |
| 3008 | ), | 3189 | ), |
| | 3190 | requestAttestation: Schema.optionalKey( |
| | 3191 | Schema.Boolean.annotate({ |
| | 3192 | description: "Opt into `attestation/generate` requests for upstream `x-oai-attestation`.", |
| | 3193 | default: false, |
| | 3194 | }), |
| | 3195 | ), |
| 3009 | }).annotate({ description: "Client-declared capabilities negotiated during initialize." }); | 3196 | }).annotate({ description: "Client-declared capabilities negotiated during initialize." }); |
| 3010 | | 3197 | |
| 3011 | export type V2AccountRateLimitsUpdatedNotification__CreditsSnapshot = { | 3198 | export type V2AccountRateLimitsUpdatedNotification__CreditsSnapshot = { |
| ... | @@ -3076,16 +3263,31 @@ export const V2AccountRateLimitsUpdatedNotification__RateLimitWindow = Schema.St | ... | @@ -3076,16 +3263,31 @@ export const V2AccountRateLimitsUpdatedNotification__RateLimitWindow = Schema.St |
| 3076 | ), | 3263 | ), |
| 3077 | }); | 3264 | }); |
| 3078 | | 3265 | |
| | 3266 | export type V2AccountRateLimitsUpdatedNotification__SpendControlLimitSnapshot = { |
| | 3267 | readonly limit: string; |
| | 3268 | readonly remainingPercent: number; |
| | 3269 | readonly resetsAt: number; |
| | 3270 | readonly used: string; |
| | 3271 | }; |
| | 3272 | export const V2AccountRateLimitsUpdatedNotification__SpendControlLimitSnapshot = Schema.Struct({ |
| | 3273 | limit: Schema.String, |
| | 3274 | remainingPercent: Schema.Number.annotate({ format: "int32" }).check(Schema.isInt()), |
| | 3275 | resetsAt: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 3276 | used: Schema.String, |
| | 3277 | }); |
| | 3278 | |
| 3079 | export type V2AccountUpdatedNotification__AuthMode = | 3279 | export type V2AccountUpdatedNotification__AuthMode = |
| 3080 | | "apikey" | 3280 | | "apikey" |
| 3081 | | "chatgpt" | 3281 | | "chatgpt" |
| 3082 | | "chatgptAuthTokens" | 3282 | | "chatgptAuthTokens" |
| 3083 | | "agentIdentity"; | 3283 | | "agentIdentity" |
| | 3284 | | "personalAccessToken"; |
| 3084 | export const V2AccountUpdatedNotification__AuthMode = Schema.Literals([ | 3285 | export const V2AccountUpdatedNotification__AuthMode = Schema.Literals([ |
| 3085 | "apikey", | 3286 | "apikey", |
| 3086 | "chatgpt", | 3287 | "chatgpt", |
| 3087 | "chatgptAuthTokens", | 3288 | "chatgptAuthTokens", |
| 3088 | "agentIdentity", | 3289 | "agentIdentity", |
| | 3290 | "personalAccessToken", |
| 3089 | ]).annotate({ description: "Authentication mode for OpenAI-backed providers." }); | 3291 | ]).annotate({ description: "Authentication mode for OpenAI-backed providers." }); |
| 3090 | | 3292 | |
| 3091 | export type V2AccountUpdatedNotification__PlanType = | 3293 | export type V2AccountUpdatedNotification__PlanType = |
| ... | @@ -3209,50 +3411,6 @@ export const V2CommandExecParams__CommandExecTerminalSize = Schema.Struct({ | ... | @@ -3209,50 +3411,6 @@ export const V2CommandExecParams__CommandExecTerminalSize = Schema.Struct({ |
| 3209 | .check(Schema.isGreaterThanOrEqualTo(0)), | 3411 | .check(Schema.isGreaterThanOrEqualTo(0)), |
| 3210 | }).annotate({ description: "PTY size in character cells for `command/exec` PTY sessions." }); | 3412 | }).annotate({ description: "PTY size in character cells for `command/exec` PTY sessions." }); |
| 3211 | | 3413 | |
| 3212 | export type V2CommandExecParams__FileSystemAccessMode = "read" | "write" | "none"; | | |
| 3213 | export const V2CommandExecParams__FileSystemAccessMode = Schema.Literals(["read", "write", "none"]); | | |
| 3214 | | | |
| 3215 | export type V2CommandExecParams__FileSystemSpecialPath = | | |
| 3216 | | { readonly kind: "root" } | | |
| 3217 | | { readonly kind: "minimal" } | | |
| 3218 | | { readonly kind: "project_roots"; readonly subpath?: string | null } | | |
| 3219 | | { readonly kind: "tmpdir" } | | |
| 3220 | | { readonly kind: "slash_tmp" } | | |
| 3221 | | { readonly kind: "unknown"; readonly path: string; readonly subpath?: string | null }; | | |
| 3222 | export const V2CommandExecParams__FileSystemSpecialPath = Schema.Union( | | |
| 3223 | [ | | |
| 3224 | Schema.Struct({ kind: Schema.Literal("root") }).annotate({ | | |
| 3225 | title: "RootFileSystemSpecialPath", | | |
| 3226 | }), | | |
| 3227 | Schema.Struct({ kind: Schema.Literal("minimal") }).annotate({ | | |
| 3228 | title: "MinimalFileSystemSpecialPath", | | |
| 3229 | }), | | |
| 3230 | Schema.Struct({ | | |
| 3231 | kind: Schema.Literal("project_roots"), | | |
| 3232 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 3233 | }).annotate({ title: "KindFileSystemSpecialPath" }), | | |
| 3234 | Schema.Struct({ kind: Schema.Literal("tmpdir") }).annotate({ | | |
| 3235 | title: "TmpdirFileSystemSpecialPath", | | |
| 3236 | }), | | |
| 3237 | Schema.Struct({ kind: Schema.Literal("slash_tmp") }).annotate({ | | |
| 3238 | title: "SlashTmpFileSystemSpecialPath", | | |
| 3239 | }), | | |
| 3240 | Schema.Struct({ | | |
| 3241 | kind: Schema.Literal("unknown"), | | |
| 3242 | path: Schema.String, | | |
| 3243 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 3244 | }), | | |
| 3245 | ], | | |
| 3246 | { mode: "oneOf" }, | | |
| 3247 | ); | | |
| 3248 | | | |
| 3249 | export type V2CommandExecParams__PermissionProfileNetworkPermissions = { | | |
| 3250 | readonly enabled: boolean; | | |
| 3251 | }; | | |
| 3252 | export const V2CommandExecParams__PermissionProfileNetworkPermissions = Schema.Struct({ | | |
| 3253 | enabled: Schema.Boolean, | | |
| 3254 | }); | | |
| 3255 | | | |
| 3256 | export type V2ConfigBatchWriteParams__MergeStrategy = "replace" | "upsert"; | 3414 | export type V2ConfigBatchWriteParams__MergeStrategy = "replace" | "upsert"; |
| 3257 | export const V2ConfigBatchWriteParams__MergeStrategy = Schema.Literals(["replace", "upsert"]); | 3415 | export const V2ConfigBatchWriteParams__MergeStrategy = Schema.Literals(["replace", "upsert"]); |
| 3258 | | 3416 | |
| ... | @@ -3328,28 +3486,31 @@ export const V2ConfigReadResponse__AskForApproval = Schema.Union( | ... | @@ -3328,28 +3486,31 @@ export const V2ConfigReadResponse__AskForApproval = Schema.Union( |
| 3328 | { mode: "oneOf" }, | 3486 | { mode: "oneOf" }, |
| 3329 | ); | 3487 | ); |
| 3330 | | 3488 | |
| 3331 | export type V2ConfigReadResponse__ForcedLoginMethod = "chatgpt" | "api"; | 3489 | export type V2ConfigReadResponse__AutoCompactTokenLimitScope = "total" | "body_after_prefix"; |
| 3332 | export const V2ConfigReadResponse__ForcedLoginMethod = Schema.Literals(["chatgpt", "api"]); | 3490 | export const V2ConfigReadResponse__AutoCompactTokenLimitScope = Schema.Literals([ |
| 3333 | | 3491 | "total", |
| 3334 | export type V2ConfigReadResponse__ReasoningEffort = | 3492 | "body_after_prefix", |
| 3335 | | "none" | | |
| 3336 | | "minimal" | | |
| 3337 | | "low" | | |
| 3338 | | "medium" | | |
| 3339 | | "high" | | |
| 3340 | | "xhigh"; | | |
| 3341 | export const V2ConfigReadResponse__ReasoningEffort = Schema.Literals([ | | |
| 3342 | "none", | | |
| 3343 | "minimal", | | |
| 3344 | "low", | | |
| 3345 | "medium", | | |
| 3346 | "high", | | |
| 3347 | "xhigh", | | |
| 3348 | ]).annotate({ | 3493 | ]).annotate({ |
| 3349 | description: | 3494 | description: |
| 3350 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | 3495 | "Selects which part of the active context is charged against `model_auto_compact_token_limit`.", |
| 3351 | }); | 3496 | }); |
| 3352 | | 3497 | |
| | 3498 | export type V2ConfigReadResponse__ForcedChatgptWorkspaceIds = string | ReadonlyArray<string>; |
| | 3499 | export const V2ConfigReadResponse__ForcedChatgptWorkspaceIds = Schema.Union([ |
| | 3500 | Schema.String, |
| | 3501 | Schema.Array(Schema.String), |
| | 3502 | ]).annotate({ |
| | 3503 | description: "Backward-compatible API shape for ChatGPT workspace login restrictions.", |
| | 3504 | }); |
| | 3505 | |
| | 3506 | export type V2ConfigReadResponse__ForcedLoginMethod = "chatgpt" | "api"; |
| | 3507 | export const V2ConfigReadResponse__ForcedLoginMethod = Schema.Literals(["chatgpt", "api"]); |
| | 3508 | |
| | 3509 | export type V2ConfigReadResponse__ReasoningEffort = string; |
| | 3510 | export const V2ConfigReadResponse__ReasoningEffort = Schema.String.annotate({ |
| | 3511 | description: "A non-empty reasoning effort value advertised by the model.", |
| | 3512 | }).check(Schema.isMinLength(1)); |
| | 3513 | |
| 3353 | export type V2ConfigReadResponse__ReasoningSummary = "auto" | "concise" | "detailed" | "none"; | 3514 | export type V2ConfigReadResponse__ReasoningSummary = "auto" | "concise" | "detailed" | "none"; |
| 3354 | export const V2ConfigReadResponse__ReasoningSummary = Schema.Union( | 3515 | export const V2ConfigReadResponse__ReasoningSummary = Schema.Union( |
| 3355 | [ | 3516 | [ |
| ... | @@ -3444,10 +3605,18 @@ export const V2ConfigRequirementsReadResponse__AskForApproval = Schema.Union( | ... | @@ -3444,10 +3605,18 @@ export const V2ConfigRequirementsReadResponse__AskForApproval = Schema.Union( |
| 3444 | { mode: "oneOf" }, | 3605 | { mode: "oneOf" }, |
| 3445 | ); | 3606 | ); |
| 3446 | | 3607 | |
| | 3608 | export type V2ConfigRequirementsReadResponse__ComputerUseRequirements = { |
| | 3609 | readonly allowLockedComputerUse?: boolean | null; |
| | 3610 | }; |
| | 3611 | export const V2ConfigRequirementsReadResponse__ComputerUseRequirements = Schema.Struct({ |
| | 3612 | allowLockedComputerUse: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), |
| | 3613 | }); |
| | 3614 | |
| 3447 | export type V2ConfigRequirementsReadResponse__ConfiguredHookHandler = | 3615 | export type V2ConfigRequirementsReadResponse__ConfiguredHookHandler = |
| 3448 | | { | 3616 | | { |
| 3449 | readonly async: boolean; | 3617 | readonly async: boolean; |
| 3450 | readonly command: string; | 3618 | readonly command: string; |
| | 3619 | readonly commandWindows?: string | null; |
| 3451 | readonly statusMessage?: string | null; | 3620 | readonly statusMessage?: string | null; |
| 3452 | readonly timeoutSec?: number | null; | 3621 | readonly timeoutSec?: number | null; |
| 3453 | readonly type: "command"; | 3622 | readonly type: "command"; |
| ... | @@ -3459,6 +3628,7 @@ export const V2ConfigRequirementsReadResponse__ConfiguredHookHandler = Schema.Un | ... | @@ -3459,6 +3628,7 @@ export const V2ConfigRequirementsReadResponse__ConfiguredHookHandler = Schema.Un |
| 3459 | Schema.Struct({ | 3628 | Schema.Struct({ |
| 3460 | async: Schema.Boolean, | 3629 | async: Schema.Boolean, |
| 3461 | command: Schema.String, | 3630 | command: Schema.String, |
| | 3631 | commandWindows: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 3462 | statusMessage: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 3632 | statusMessage: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 3463 | timeoutSec: Schema.optionalKey( | 3633 | timeoutSec: Schema.optionalKey( |
| 3464 | Schema.Union([ | 3634 | Schema.Union([ |
| ... | @@ -3486,10 +3656,10 @@ export const V2ConfigRequirementsReadResponse__NetworkDomainPermission = Schema. | ... | @@ -3486,10 +3656,10 @@ export const V2ConfigRequirementsReadResponse__NetworkDomainPermission = Schema. |
| 3486 | "deny", | 3656 | "deny", |
| 3487 | ]); | 3657 | ]); |
| 3488 | | 3658 | |
| 3489 | export type V2ConfigRequirementsReadResponse__NetworkUnixSocketPermission = "allow" | "none"; | 3659 | export type V2ConfigRequirementsReadResponse__NetworkUnixSocketPermission = "allow" | "deny"; |
| 3490 | export const V2ConfigRequirementsReadResponse__NetworkUnixSocketPermission = Schema.Literals([ | 3660 | export const V2ConfigRequirementsReadResponse__NetworkUnixSocketPermission = Schema.Literals([ |
| 3491 | "allow", | 3661 | "allow", |
| 3492 | "none", | 3662 | "deny", |
| 3493 | ]); | 3663 | ]); |
| 3494 | | 3664 | |
| 3495 | export type V2ConfigRequirementsReadResponse__ResidencyRequirement = "us"; | 3665 | export type V2ConfigRequirementsReadResponse__ResidencyRequirement = "us"; |
| ... | @@ -3512,6 +3682,12 @@ export const V2ConfigRequirementsReadResponse__WebSearchMode = Schema.Literals([ | ... | @@ -3512,6 +3682,12 @@ export const V2ConfigRequirementsReadResponse__WebSearchMode = Schema.Literals([ |
| 3512 | "live", | 3682 | "live", |
| 3513 | ]); | 3683 | ]); |
| 3514 | | 3684 | |
| | 3685 | export type V2ConfigRequirementsReadResponse__WindowsSandboxSetupMode = "elevated" | "unelevated"; |
| | 3686 | export const V2ConfigRequirementsReadResponse__WindowsSandboxSetupMode = Schema.Literals([ |
| | 3687 | "elevated", |
| | 3688 | "unelevated", |
| | 3689 | ]); |
| | 3690 | |
| 3515 | export type V2ConfigValueWriteParams__MergeStrategy = "replace" | "upsert"; | 3691 | export type V2ConfigValueWriteParams__MergeStrategy = "replace" | "upsert"; |
| 3516 | export const V2ConfigValueWriteParams__MergeStrategy = Schema.Literals(["replace", "upsert"]); | 3692 | export const V2ConfigValueWriteParams__MergeStrategy = Schema.Literals(["replace", "upsert"]); |
| 3517 | | 3693 | |
| ... | @@ -3831,6 +4007,19 @@ export const V2GetAccountRateLimitsResponse__RateLimitWindow = Schema.Struct({ | ... | @@ -3831,6 +4007,19 @@ export const V2GetAccountRateLimitsResponse__RateLimitWindow = Schema.Struct({ |
| 3831 | ), | 4007 | ), |
| 3832 | }); | 4008 | }); |
| 3833 | | 4009 | |
| | 4010 | export type V2GetAccountRateLimitsResponse__SpendControlLimitSnapshot = { |
| | 4011 | readonly limit: string; |
| | 4012 | readonly remainingPercent: number; |
| | 4013 | readonly resetsAt: number; |
| | 4014 | readonly used: string; |
| | 4015 | }; |
| | 4016 | export const V2GetAccountRateLimitsResponse__SpendControlLimitSnapshot = Schema.Struct({ |
| | 4017 | limit: Schema.String, |
| | 4018 | remainingPercent: Schema.Number.annotate({ format: "int32" }).check(Schema.isInt()), |
| | 4019 | resetsAt: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 4020 | used: Schema.String, |
| | 4021 | }); |
| | 4022 | |
| 3834 | export type V2GetAccountResponse__PlanType = | 4023 | export type V2GetAccountResponse__PlanType = |
| 3835 | | "free" | 4024 | | "free" |
| 3836 | | "go" | 4025 | | "go" |
| ... | @@ -3859,6 +4048,40 @@ export const V2GetAccountResponse__PlanType = Schema.Literals([ | ... | @@ -3859,6 +4048,40 @@ export const V2GetAccountResponse__PlanType = Schema.Literals([ |
| 3859 | "unknown", | 4048 | "unknown", |
| 3860 | ]); | 4049 | ]); |
| 3861 | | 4050 | |
| | 4051 | export type V2GetAccountTokenUsageResponse__AccountTokenUsageDailyBucket = { |
| | 4052 | readonly startDate: string; |
| | 4053 | readonly tokens: number; |
| | 4054 | }; |
| | 4055 | export const V2GetAccountTokenUsageResponse__AccountTokenUsageDailyBucket = Schema.Struct({ |
| | 4056 | startDate: Schema.String, |
| | 4057 | tokens: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 4058 | }); |
| | 4059 | |
| | 4060 | export type V2GetAccountTokenUsageResponse__AccountTokenUsageSummary = { |
| | 4061 | readonly currentStreakDays?: number | null; |
| | 4062 | readonly lifetimeTokens?: number | null; |
| | 4063 | readonly longestRunningTurnSec?: number | null; |
| | 4064 | readonly longestStreakDays?: number | null; |
| | 4065 | readonly peakDailyTokens?: number | null; |
| | 4066 | }; |
| | 4067 | export const V2GetAccountTokenUsageResponse__AccountTokenUsageSummary = Schema.Struct({ |
| | 4068 | currentStreakDays: Schema.optionalKey( |
| | 4069 | Schema.Union([Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), Schema.Null]), |
| | 4070 | ), |
| | 4071 | lifetimeTokens: Schema.optionalKey( |
| | 4072 | Schema.Union([Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), Schema.Null]), |
| | 4073 | ), |
| | 4074 | longestRunningTurnSec: Schema.optionalKey( |
| | 4075 | Schema.Union([Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), Schema.Null]), |
| | 4076 | ), |
| | 4077 | longestStreakDays: Schema.optionalKey( |
| | 4078 | Schema.Union([Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), Schema.Null]), |
| | 4079 | ), |
| | 4080 | peakDailyTokens: Schema.optionalKey( |
| | 4081 | Schema.Union([Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), Schema.Null]), |
| | 4082 | ), |
| | 4083 | }); |
| | 4084 | |
| 3862 | export type V2HookCompletedNotification__AbsolutePathBuf = string; | 4085 | export type V2HookCompletedNotification__AbsolutePathBuf = string; |
| 3863 | export const V2HookCompletedNotification__AbsolutePathBuf = Schema.String.annotate({ | 4086 | export const V2HookCompletedNotification__AbsolutePathBuf = Schema.String.annotate({ |
| 3864 | description: | 4087 | description: |
| ... | @@ -3873,6 +4096,8 @@ export type V2HookCompletedNotification__HookEventName = | ... | @@ -3873,6 +4096,8 @@ export type V2HookCompletedNotification__HookEventName = |
| 3873 | | "postCompact" | 4096 | | "postCompact" |
| 3874 | | "sessionStart" | 4097 | | "sessionStart" |
| 3875 | | "userPromptSubmit" | 4098 | | "userPromptSubmit" |
| | 4099 | | "subagentStart" |
| | 4100 | | "subagentStop" |
| 3876 | | "stop"; | 4101 | | "stop"; |
| 3877 | export const V2HookCompletedNotification__HookEventName = Schema.Literals([ | 4102 | export const V2HookCompletedNotification__HookEventName = Schema.Literals([ |
| 3878 | "preToolUse", | 4103 | "preToolUse", |
| ... | @@ -3882,6 +4107,8 @@ export const V2HookCompletedNotification__HookEventName = Schema.Literals([ | ... | @@ -3882,6 +4107,8 @@ export const V2HookCompletedNotification__HookEventName = Schema.Literals([ |
| 3882 | "postCompact", | 4107 | "postCompact", |
| 3883 | "sessionStart", | 4108 | "sessionStart", |
| 3884 | "userPromptSubmit", | 4109 | "userPromptSubmit", |
| | 4110 | "subagentStart", |
| | 4111 | "subagentStop", |
| 3885 | "stop", | 4112 | "stop", |
| 3886 | ]); | 4113 | ]); |
| 3887 | | 4114 | |
| ... | @@ -3949,6 +4176,8 @@ export type V2HooksListResponse__HookEventName = | ... | @@ -3949,6 +4176,8 @@ export type V2HooksListResponse__HookEventName = |
| 3949 | | "postCompact" | 4176 | | "postCompact" |
| 3950 | | "sessionStart" | 4177 | | "sessionStart" |
| 3951 | | "userPromptSubmit" | 4178 | | "userPromptSubmit" |
| | 4179 | | "subagentStart" |
| | 4180 | | "subagentStop" |
| 3952 | | "stop"; | 4181 | | "stop"; |
| 3953 | export const V2HooksListResponse__HookEventName = Schema.Literals([ | 4182 | export const V2HooksListResponse__HookEventName = Schema.Literals([ |
| 3954 | "preToolUse", | 4183 | "preToolUse", |
| ... | @@ -3958,6 +4187,8 @@ export const V2HooksListResponse__HookEventName = Schema.Literals([ | ... | @@ -3958,6 +4187,8 @@ export const V2HooksListResponse__HookEventName = Schema.Literals([ |
| 3958 | "postCompact", | 4187 | "postCompact", |
| 3959 | "sessionStart", | 4188 | "sessionStart", |
| 3960 | "userPromptSubmit", | 4189 | "userPromptSubmit", |
| | 4190 | "subagentStart", |
| | 4191 | "subagentStop", |
| 3961 | "stop", | 4192 | "stop", |
| 3962 | ]); | 4193 | ]); |
| 3963 | | 4194 | |
| ... | @@ -3972,6 +4203,7 @@ export type V2HooksListResponse__HookSource = | ... | @@ -3972,6 +4203,7 @@ export type V2HooksListResponse__HookSource = |
| 3972 | | "sessionFlags" | 4203 | | "sessionFlags" |
| 3973 | | "plugin" | 4204 | | "plugin" |
| 3974 | | "cloudRequirements" | 4205 | | "cloudRequirements" |
| | 4206 | | "cloudManagedConfig" |
| 3975 | | "legacyManagedConfigFile" | 4207 | | "legacyManagedConfigFile" |
| 3976 | | "legacyManagedConfigMdm" | 4208 | | "legacyManagedConfigMdm" |
| 3977 | | "unknown"; | 4209 | | "unknown"; |
| ... | @@ -3983,6 +4215,7 @@ export const V2HooksListResponse__HookSource = Schema.Literals([ | ... | @@ -3983,6 +4215,7 @@ export const V2HooksListResponse__HookSource = Schema.Literals([ |
| 3983 | "sessionFlags", | 4215 | "sessionFlags", |
| 3984 | "plugin", | 4216 | "plugin", |
| 3985 | "cloudRequirements", | 4217 | "cloudRequirements", |
| | 4218 | "cloudManagedConfig", |
| 3986 | "legacyManagedConfigFile", | 4219 | "legacyManagedConfigFile", |
| 3987 | "legacyManagedConfigMdm", | 4220 | "legacyManagedConfigMdm", |
| 3988 | "unknown", | 4221 | "unknown", |
| ... | @@ -4010,6 +4243,8 @@ export type V2HookStartedNotification__HookEventName = | ... | @@ -4010,6 +4243,8 @@ export type V2HookStartedNotification__HookEventName = |
| 4010 | | "postCompact" | 4243 | | "postCompact" |
| 4011 | | "sessionStart" | 4244 | | "sessionStart" |
| 4012 | | "userPromptSubmit" | 4245 | | "userPromptSubmit" |
| | 4246 | | "subagentStart" |
| | 4247 | | "subagentStop" |
| 4013 | | "stop"; | 4248 | | "stop"; |
| 4014 | export const V2HookStartedNotification__HookEventName = Schema.Literals([ | 4249 | export const V2HookStartedNotification__HookEventName = Schema.Literals([ |
| 4015 | "preToolUse", | 4250 | "preToolUse", |
| ... | @@ -4019,6 +4254,8 @@ export const V2HookStartedNotification__HookEventName = Schema.Literals([ | ... | @@ -4019,6 +4254,8 @@ export const V2HookStartedNotification__HookEventName = Schema.Literals([ |
| 4019 | "postCompact", | 4254 | "postCompact", |
| 4020 | "sessionStart", | 4255 | "sessionStart", |
| 4021 | "userPromptSubmit", | 4256 | "userPromptSubmit", |
| | 4257 | "subagentStart", |
| | 4258 | "subagentStop", |
| 4022 | "stop", | 4259 | "stop", |
| 4023 | ]); | 4260 | ]); |
| 4024 | | 4261 | |
| ... | @@ -4139,6 +4376,14 @@ export const V2ItemCompletedNotification__HookPromptFragment = Schema.Struct({ | ... | @@ -4139,6 +4376,14 @@ export const V2ItemCompletedNotification__HookPromptFragment = Schema.Struct({ |
| 4139 | text: Schema.String, | 4376 | text: Schema.String, |
| 4140 | }); | 4377 | }); |
| 4141 | | 4378 | |
| | 4379 | export type V2ItemCompletedNotification__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 4380 | export const V2ItemCompletedNotification__ImageDetail = Schema.Literals([ |
| | 4381 | "auto", |
| | 4382 | "low", |
| | 4383 | "high", |
| | 4384 | "original", |
| | 4385 | ]); |
| | 4386 | |
| 4142 | export type V2ItemCompletedNotification__McpToolCallError = { readonly message: string }; | 4387 | export type V2ItemCompletedNotification__McpToolCallError = { readonly message: string }; |
| 4143 | export const V2ItemCompletedNotification__McpToolCallError = Schema.Struct({ | 4388 | export const V2ItemCompletedNotification__McpToolCallError = Schema.Struct({ |
| 4144 | message: Schema.String, | 4389 | message: Schema.String, |
| ... | @@ -4220,24 +4465,20 @@ export const V2ItemCompletedNotification__PatchChangeKind = Schema.Union( | ... | @@ -4220,24 +4465,20 @@ export const V2ItemCompletedNotification__PatchChangeKind = Schema.Union( |
| 4220 | { mode: "oneOf" }, | 4465 | { mode: "oneOf" }, |
| 4221 | ); | 4466 | ); |
| 4222 | | 4467 | |
| 4223 | export type V2ItemCompletedNotification__ReasoningEffort = | 4468 | export type V2ItemCompletedNotification__ReasoningEffort = string; |
| 4224 | | "none" | 4469 | export const V2ItemCompletedNotification__ReasoningEffort = Schema.String.annotate({ |
| 4225 | | "minimal" | 4470 | description: "A non-empty reasoning effort value advertised by the model.", |
| 4226 | | "low" | 4471 | }).check(Schema.isMinLength(1)); |
| 4227 | | "medium" | 4472 | |
| 4228 | | "high" | 4473 | export type V2ItemCompletedNotification__SubAgentActivityKind = |
| 4229 | | "xhigh"; | 4474 | | "started" |
| 4230 | export const V2ItemCompletedNotification__ReasoningEffort = Schema.Literals([ | 4475 | | "interacted" |
| 4231 | "none", | 4476 | | "interrupted"; |
| 4232 | "minimal", | 4477 | export const V2ItemCompletedNotification__SubAgentActivityKind = Schema.Literals([ |
| 4233 | "low", | 4478 | "started", |
| 4234 | "medium", | 4479 | "interacted", |
| 4235 | "high", | 4480 | "interrupted", |
| 4236 | "xhigh", | 4481 | ]); |
| 4237 | ]).annotate({ | | |
| 4238 | description: | | |
| 4239 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 4240 | }); | | |
| 4241 | | 4482 | |
| 4242 | export type V2ItemCompletedNotification__TextElement = { | 4483 | export type V2ItemCompletedNotification__TextElement = { |
| 4243 | readonly byteRange: { readonly end: number; readonly start: number }; | 4484 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -4318,9 +4559,9 @@ export const V2ItemGuardianApprovalReviewCompletedNotification__AutoReviewDecisi | ... | @@ -4318,9 +4559,9 @@ export const V2ItemGuardianApprovalReviewCompletedNotification__AutoReviewDecisi |
| 4318 | export type V2ItemGuardianApprovalReviewCompletedNotification__FileSystemAccessMode = | 4559 | export type V2ItemGuardianApprovalReviewCompletedNotification__FileSystemAccessMode = |
| 4319 | | "read" | 4560 | | "read" |
| 4320 | | "write" | 4561 | | "write" |
| 4321 | | "none"; | 4562 | | "deny"; |
| 4322 | export const V2ItemGuardianApprovalReviewCompletedNotification__FileSystemAccessMode = | 4563 | export const V2ItemGuardianApprovalReviewCompletedNotification__FileSystemAccessMode = |
| 4323 | Schema.Literals(["read", "write", "none"]); | 4564 | Schema.Literals(["read", "write", "deny"]); |
| 4324 | | 4565 | |
| 4325 | export type V2ItemGuardianApprovalReviewCompletedNotification__FileSystemSpecialPath = | 4566 | export type V2ItemGuardianApprovalReviewCompletedNotification__FileSystemSpecialPath = |
| 4326 | | { readonly kind: "root" } | 4567 | | { readonly kind: "root" } |
| ... | @@ -4417,9 +4658,9 @@ export const V2ItemGuardianApprovalReviewStartedNotification__AdditionalNetworkP | ... | @@ -4417,9 +4658,9 @@ export const V2ItemGuardianApprovalReviewStartedNotification__AdditionalNetworkP |
| 4417 | export type V2ItemGuardianApprovalReviewStartedNotification__FileSystemAccessMode = | 4658 | export type V2ItemGuardianApprovalReviewStartedNotification__FileSystemAccessMode = |
| 4418 | | "read" | 4659 | | "read" |
| 4419 | | "write" | 4660 | | "write" |
| 4420 | | "none"; | 4661 | | "deny"; |
| 4421 | export const V2ItemGuardianApprovalReviewStartedNotification__FileSystemAccessMode = | 4662 | export const V2ItemGuardianApprovalReviewStartedNotification__FileSystemAccessMode = |
| 4422 | Schema.Literals(["read", "write", "none"]); | 4663 | Schema.Literals(["read", "write", "deny"]); |
| 4423 | | 4664 | |
| 4424 | export type V2ItemGuardianApprovalReviewStartedNotification__FileSystemSpecialPath = | 4665 | export type V2ItemGuardianApprovalReviewStartedNotification__FileSystemSpecialPath = |
| 4425 | | { readonly kind: "root" } | 4666 | | { readonly kind: "root" } |
| ... | @@ -4578,6 +4819,14 @@ export const V2ItemStartedNotification__HookPromptFragment = Schema.Struct({ | ... | @@ -4578,6 +4819,14 @@ export const V2ItemStartedNotification__HookPromptFragment = Schema.Struct({ |
| 4578 | text: Schema.String, | 4819 | text: Schema.String, |
| 4579 | }); | 4820 | }); |
| 4580 | | 4821 | |
| | 4822 | export type V2ItemStartedNotification__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 4823 | export const V2ItemStartedNotification__ImageDetail = Schema.Literals([ |
| | 4824 | "auto", |
| | 4825 | "low", |
| | 4826 | "high", |
| | 4827 | "original", |
| | 4828 | ]); |
| | 4829 | |
| 4581 | export type V2ItemStartedNotification__McpToolCallError = { readonly message: string }; | 4830 | export type V2ItemStartedNotification__McpToolCallError = { readonly message: string }; |
| 4582 | export const V2ItemStartedNotification__McpToolCallError = Schema.Struct({ | 4831 | export const V2ItemStartedNotification__McpToolCallError = Schema.Struct({ |
| 4583 | message: Schema.String, | 4832 | message: Schema.String, |
| ... | @@ -4659,24 +4908,20 @@ export const V2ItemStartedNotification__PatchChangeKind = Schema.Union( | ... | @@ -4659,24 +4908,20 @@ export const V2ItemStartedNotification__PatchChangeKind = Schema.Union( |
| 4659 | { mode: "oneOf" }, | 4908 | { mode: "oneOf" }, |
| 4660 | ); | 4909 | ); |
| 4661 | | 4910 | |
| 4662 | export type V2ItemStartedNotification__ReasoningEffort = | 4911 | export type V2ItemStartedNotification__ReasoningEffort = string; |
| 4663 | | "none" | 4912 | export const V2ItemStartedNotification__ReasoningEffort = Schema.String.annotate({ |
| 4664 | | "minimal" | 4913 | description: "A non-empty reasoning effort value advertised by the model.", |
| 4665 | | "low" | 4914 | }).check(Schema.isMinLength(1)); |
| 4666 | | "medium" | 4915 | |
| 4667 | | "high" | 4916 | export type V2ItemStartedNotification__SubAgentActivityKind = |
| 4668 | | "xhigh"; | 4917 | | "started" |
| 4669 | export const V2ItemStartedNotification__ReasoningEffort = Schema.Literals([ | 4918 | | "interacted" |
| 4670 | "none", | 4919 | | "interrupted"; |
| 4671 | "minimal", | 4920 | export const V2ItemStartedNotification__SubAgentActivityKind = Schema.Literals([ |
| 4672 | "low", | 4921 | "started", |
| 4673 | "medium", | 4922 | "interacted", |
| 4674 | "high", | 4923 | "interrupted", |
| 4675 | "xhigh", | 4924 | ]); |
| 4676 | ]).annotate({ | | |
| 4677 | description: | | |
| 4678 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 4679 | }); | | |
| 4680 | | 4925 | |
| 4681 | export type V2ItemStartedNotification__TextElement = { | 4926 | export type V2ItemStartedNotification__TextElement = { |
| 4682 | readonly byteRange: { readonly end: number; readonly start: number }; | 4927 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -4753,6 +4998,23 @@ export const V2ListMcpServerStatusResponse__McpAuthStatus = Schema.Literals([ | ... | @@ -4753,6 +4998,23 @@ export const V2ListMcpServerStatusResponse__McpAuthStatus = Schema.Literals([ |
| 4753 | "oAuth", | 4998 | "oAuth", |
| 4754 | ]); | 4999 | ]); |
| 4755 | | 5000 | |
| | 5001 | export type V2ListMcpServerStatusResponse__McpServerInfo = { |
| | 5002 | readonly description?: string | null; |
| | 5003 | readonly icons?: ReadonlyArray<unknown> | null; |
| | 5004 | readonly name: string; |
| | 5005 | readonly title?: string | null; |
| | 5006 | readonly version: string; |
| | 5007 | readonly websiteUrl?: string | null; |
| | 5008 | }; |
| | 5009 | export const V2ListMcpServerStatusResponse__McpServerInfo = Schema.Struct({ |
| | 5010 | description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 5011 | icons: Schema.optionalKey(Schema.Union([Schema.Array(Schema.Unknown), Schema.Null])), |
| | 5012 | name: Schema.String, |
| | 5013 | title: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 5014 | version: Schema.String, |
| | 5015 | websiteUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 5016 | }).annotate({ description: "Presentation metadata advertised by an initialized MCP server." }); |
| | 5017 | |
| 4756 | export type V2ListMcpServerStatusResponse__Resource = { | 5018 | export type V2ListMcpServerStatusResponse__Resource = { |
| 4757 | readonly _meta?: unknown; | 5019 | readonly _meta?: unknown; |
| 4758 | readonly annotations?: unknown; | 5020 | readonly annotations?: unknown; |
| ... | @@ -4915,24 +5177,10 @@ export const V2ModelListResponse__ModelUpgradeInfo = Schema.Struct({ | ... | @@ -4915,24 +5177,10 @@ export const V2ModelListResponse__ModelUpgradeInfo = Schema.Struct({ |
| 4915 | upgradeCopy: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 5177 | upgradeCopy: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 4916 | }); | 5178 | }); |
| 4917 | | 5179 | |
| 4918 | export type V2ModelListResponse__ReasoningEffort = | 5180 | export type V2ModelListResponse__ReasoningEffort = string; |
| 4919 | | "none" | 5181 | export const V2ModelListResponse__ReasoningEffort = Schema.String.annotate({ |
| 4920 | | "minimal" | 5182 | description: "A non-empty reasoning effort value advertised by the model.", |
| 4921 | | "low" | 5183 | }).check(Schema.isMinLength(1)); |
| 4922 | | "medium" | | |
| 4923 | | "high" | | |
| 4924 | | "xhigh"; | | |
| 4925 | export const V2ModelListResponse__ReasoningEffort = Schema.Literals([ | | |
| 4926 | "none", | | |
| 4927 | "minimal", | | |
| 4928 | "low", | | |
| 4929 | "medium", | | |
| 4930 | "high", | | |
| 4931 | "xhigh", | | |
| 4932 | ]).annotate({ | | |
| 4933 | description: | | |
| 4934 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 4935 | }); | | |
| 4936 | | 5184 | |
| 4937 | export type V2ModelReroutedNotification__ModelRerouteReason = "highRiskCyberActivity"; | 5185 | export type V2ModelReroutedNotification__ModelRerouteReason = "highRiskCyberActivity"; |
| 4938 | export const V2ModelReroutedNotification__ModelRerouteReason = | 5186 | export const V2ModelReroutedNotification__ModelRerouteReason = |
| ... | @@ -4942,6 +5190,81 @@ export type V2ModelVerificationNotification__ModelVerification = "trustedAccessF | ... | @@ -4942,6 +5190,81 @@ export type V2ModelVerificationNotification__ModelVerification = "trustedAccessF |
| 4942 | export const V2ModelVerificationNotification__ModelVerification = | 5190 | export const V2ModelVerificationNotification__ModelVerification = |
| 4943 | Schema.Literal("trustedAccessForCyber"); | 5191 | Schema.Literal("trustedAccessForCyber"); |
| 4944 | | 5192 | |
| | 5193 | export type V2PermissionProfileListResponse__PermissionProfileSummary = { |
| | 5194 | readonly description?: string | null; |
| | 5195 | readonly id: string; |
| | 5196 | }; |
| | 5197 | export const V2PermissionProfileListResponse__PermissionProfileSummary = Schema.Struct({ |
| | 5198 | description: Schema.optionalKey( |
| | 5199 | Schema.Union([ |
| | 5200 | Schema.String.annotate({ |
| | 5201 | description: "Optional user-facing description for display in clients.", |
| | 5202 | }), |
| | 5203 | Schema.Null, |
| | 5204 | ]), |
| | 5205 | ), |
| | 5206 | id: Schema.String.annotate({ description: "Available permission profile identifier." }), |
| | 5207 | }); |
| | 5208 | |
| | 5209 | export type V2PluginInstalledParams__AbsolutePathBuf = string; |
| | 5210 | export const V2PluginInstalledParams__AbsolutePathBuf = Schema.String.annotate({ |
| | 5211 | description: |
| | 5212 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| | 5213 | }); |
| | 5214 | |
| | 5215 | export type V2PluginInstalledResponse__AbsolutePathBuf = string; |
| | 5216 | export const V2PluginInstalledResponse__AbsolutePathBuf = Schema.String.annotate({ |
| | 5217 | description: |
| | 5218 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| | 5219 | }); |
| | 5220 | |
| | 5221 | export type V2PluginInstalledResponse__MarketplaceInterface = { |
| | 5222 | readonly displayName?: string | null; |
| | 5223 | }; |
| | 5224 | export const V2PluginInstalledResponse__MarketplaceInterface = Schema.Struct({ |
| | 5225 | displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 5226 | }); |
| | 5227 | |
| | 5228 | export type V2PluginInstalledResponse__PluginAuthPolicy = "ON_INSTALL" | "ON_USE"; |
| | 5229 | export const V2PluginInstalledResponse__PluginAuthPolicy = Schema.Literals([ |
| | 5230 | "ON_INSTALL", |
| | 5231 | "ON_USE", |
| | 5232 | ]); |
| | 5233 | |
| | 5234 | export type V2PluginInstalledResponse__PluginInstallPolicy = |
| | 5235 | | "NOT_AVAILABLE" |
| | 5236 | | "AVAILABLE" |
| | 5237 | | "INSTALLED_BY_DEFAULT"; |
| | 5238 | export const V2PluginInstalledResponse__PluginInstallPolicy = Schema.Literals([ |
| | 5239 | "NOT_AVAILABLE", |
| | 5240 | "AVAILABLE", |
| | 5241 | "INSTALLED_BY_DEFAULT", |
| | 5242 | ]); |
| | 5243 | |
| | 5244 | export type V2PluginInstalledResponse__PluginShareDiscoverability = |
| | 5245 | | "LISTED" |
| | 5246 | | "UNLISTED" |
| | 5247 | | "PRIVATE"; |
| | 5248 | export const V2PluginInstalledResponse__PluginShareDiscoverability = Schema.Literals([ |
| | 5249 | "LISTED", |
| | 5250 | "UNLISTED", |
| | 5251 | "PRIVATE", |
| | 5252 | ]); |
| | 5253 | |
| | 5254 | export type V2PluginInstalledResponse__PluginSharePrincipalRole = "reader" | "editor" | "owner"; |
| | 5255 | export const V2PluginInstalledResponse__PluginSharePrincipalRole = Schema.Literals([ |
| | 5256 | "reader", |
| | 5257 | "editor", |
| | 5258 | "owner", |
| | 5259 | ]); |
| | 5260 | |
| | 5261 | export type V2PluginInstalledResponse__PluginSharePrincipalType = "user" | "group" | "workspace"; |
| | 5262 | export const V2PluginInstalledResponse__PluginSharePrincipalType = Schema.Literals([ |
| | 5263 | "user", |
| | 5264 | "group", |
| | 5265 | "workspace", |
| | 5266 | ]); |
| | 5267 | |
| 4945 | export type V2PluginInstallParams__AbsolutePathBuf = string; | 5268 | export type V2PluginInstallParams__AbsolutePathBuf = string; |
| 4946 | export const V2PluginInstallParams__AbsolutePathBuf = Schema.String.annotate({ | 5269 | export const V2PluginInstallParams__AbsolutePathBuf = Schema.String.annotate({ |
| 4947 | description: | 5270 | description: |
| ... | @@ -4974,10 +5297,12 @@ export const V2PluginListParams__AbsolutePathBuf = Schema.String.annotate({ | ... | @@ -4974,10 +5297,12 @@ export const V2PluginListParams__AbsolutePathBuf = Schema.String.annotate({ |
| 4974 | | 5297 | |
| 4975 | export type V2PluginListParams__PluginListMarketplaceKind = | 5298 | export type V2PluginListParams__PluginListMarketplaceKind = |
| 4976 | | "local" | 5299 | | "local" |
| | 5300 | | "vertical" |
| 4977 | | "workspace-directory" | 5301 | | "workspace-directory" |
| 4978 | | "shared-with-me"; | 5302 | | "shared-with-me"; |
| 4979 | export const V2PluginListParams__PluginListMarketplaceKind = Schema.Literals([ | 5303 | export const V2PluginListParams__PluginListMarketplaceKind = Schema.Literals([ |
| 4980 | "local", | 5304 | "local", |
| | 5305 | "vertical", |
| 4981 | "workspace-directory", | 5306 | "workspace-directory", |
| 4982 | "shared-with-me", | 5307 | "shared-with-me", |
| 4983 | ]); | 5308 | ]); |
| ... | @@ -5006,6 +5331,20 @@ export const V2PluginListResponse__PluginInstallPolicy = Schema.Literals([ | ... | @@ -5006,6 +5331,20 @@ export const V2PluginListResponse__PluginInstallPolicy = Schema.Literals([ |
| 5006 | "INSTALLED_BY_DEFAULT", | 5331 | "INSTALLED_BY_DEFAULT", |
| 5007 | ]); | 5332 | ]); |
| 5008 | | 5333 | |
| | 5334 | export type V2PluginListResponse__PluginShareDiscoverability = "LISTED" | "UNLISTED" | "PRIVATE"; |
| | 5335 | export const V2PluginListResponse__PluginShareDiscoverability = Schema.Literals([ |
| | 5336 | "LISTED", |
| | 5337 | "UNLISTED", |
| | 5338 | "PRIVATE", |
| | 5339 | ]); |
| | 5340 | |
| | 5341 | export type V2PluginListResponse__PluginSharePrincipalRole = "reader" | "editor" | "owner"; |
| | 5342 | export const V2PluginListResponse__PluginSharePrincipalRole = Schema.Literals([ |
| | 5343 | "reader", |
| | 5344 | "editor", |
| | 5345 | "owner", |
| | 5346 | ]); |
| | 5347 | |
| 5009 | export type V2PluginListResponse__PluginSharePrincipalType = "user" | "group" | "workspace"; | 5348 | export type V2PluginListResponse__PluginSharePrincipalType = "user" | "group" | "workspace"; |
| 5010 | export const V2PluginListResponse__PluginSharePrincipalType = Schema.Literals([ | 5349 | export const V2PluginListResponse__PluginSharePrincipalType = Schema.Literals([ |
| 5011 | "user", | 5350 | "user", |
| ... | @@ -5040,6 +5379,14 @@ export const V2PluginReadResponse__AppSummary = Schema.Struct({ | ... | @@ -5040,6 +5379,14 @@ export const V2PluginReadResponse__AppSummary = Schema.Struct({ |
| 5040 | needsAuth: Schema.Boolean, | 5379 | needsAuth: Schema.Boolean, |
| 5041 | }).annotate({ description: "EXPERIMENTAL - app metadata summary for plugin responses." }); | 5380 | }).annotate({ description: "EXPERIMENTAL - app metadata summary for plugin responses." }); |
| 5042 | | 5381 | |
| | 5382 | export type V2PluginReadResponse__AppTemplateUnavailableReason = |
| | 5383 | | "NOT_CONFIGURED_FOR_WORKSPACE" |
| | 5384 | | "NO_ACTIVE_WORKSPACE"; |
| | 5385 | export const V2PluginReadResponse__AppTemplateUnavailableReason = Schema.Literals([ |
| | 5386 | "NOT_CONFIGURED_FOR_WORKSPACE", |
| | 5387 | "NO_ACTIVE_WORKSPACE", |
| | 5388 | ]); |
| | 5389 | |
| 5043 | export type V2PluginReadResponse__HookEventName = | 5390 | export type V2PluginReadResponse__HookEventName = |
| 5044 | | "preToolUse" | 5391 | | "preToolUse" |
| 5045 | | "permissionRequest" | 5392 | | "permissionRequest" |
| ... | @@ -5048,6 +5395,8 @@ export type V2PluginReadResponse__HookEventName = | ... | @@ -5048,6 +5395,8 @@ export type V2PluginReadResponse__HookEventName = |
| 5048 | | "postCompact" | 5395 | | "postCompact" |
| 5049 | | "sessionStart" | 5396 | | "sessionStart" |
| 5050 | | "userPromptSubmit" | 5397 | | "userPromptSubmit" |
| | 5398 | | "subagentStart" |
| | 5399 | | "subagentStop" |
| 5051 | | "stop"; | 5400 | | "stop"; |
| 5052 | export const V2PluginReadResponse__HookEventName = Schema.Literals([ | 5401 | export const V2PluginReadResponse__HookEventName = Schema.Literals([ |
| 5053 | "preToolUse", | 5402 | "preToolUse", |
| ... | @@ -5057,6 +5406,8 @@ export const V2PluginReadResponse__HookEventName = Schema.Literals([ | ... | @@ -5057,6 +5406,8 @@ export const V2PluginReadResponse__HookEventName = Schema.Literals([ |
| 5057 | "postCompact", | 5406 | "postCompact", |
| 5058 | "sessionStart", | 5407 | "sessionStart", |
| 5059 | "userPromptSubmit", | 5408 | "userPromptSubmit", |
| | 5409 | "subagentStart", |
| | 5410 | "subagentStop", |
| 5060 | "stop", | 5411 | "stop", |
| 5061 | ]); | 5412 | ]); |
| 5062 | | 5413 | |
| ... | @@ -5073,6 +5424,20 @@ export const V2PluginReadResponse__PluginInstallPolicy = Schema.Literals([ | ... | @@ -5073,6 +5424,20 @@ export const V2PluginReadResponse__PluginInstallPolicy = Schema.Literals([ |
| 5073 | "INSTALLED_BY_DEFAULT", | 5424 | "INSTALLED_BY_DEFAULT", |
| 5074 | ]); | 5425 | ]); |
| 5075 | | 5426 | |
| | 5427 | export type V2PluginReadResponse__PluginShareDiscoverability = "LISTED" | "UNLISTED" | "PRIVATE"; |
| | 5428 | export const V2PluginReadResponse__PluginShareDiscoverability = Schema.Literals([ |
| | 5429 | "LISTED", |
| | 5430 | "UNLISTED", |
| | 5431 | "PRIVATE", |
| | 5432 | ]); |
| | 5433 | |
| | 5434 | export type V2PluginReadResponse__PluginSharePrincipalRole = "reader" | "editor" | "owner"; |
| | 5435 | export const V2PluginReadResponse__PluginSharePrincipalRole = Schema.Literals([ |
| | 5436 | "reader", |
| | 5437 | "editor", |
| | 5438 | "owner", |
| | 5439 | ]); |
| | 5440 | |
| 5076 | export type V2PluginReadResponse__PluginSharePrincipalType = "user" | "group" | "workspace"; | 5441 | export type V2PluginReadResponse__PluginSharePrincipalType = "user" | "group" | "workspace"; |
| 5077 | export const V2PluginReadResponse__PluginSharePrincipalType = Schema.Literals([ | 5442 | export const V2PluginReadResponse__PluginSharePrincipalType = Schema.Literals([ |
| 5078 | "user", | 5443 | "user", |
| ... | @@ -5080,6 +5445,12 @@ export const V2PluginReadResponse__PluginSharePrincipalType = Schema.Literals([ | ... | @@ -5080,6 +5445,12 @@ export const V2PluginReadResponse__PluginSharePrincipalType = Schema.Literals([ |
| 5080 | "workspace", | 5445 | "workspace", |
| 5081 | ]); | 5446 | ]); |
| 5082 | | 5447 | |
| | 5448 | export type V2PluginShareCheckoutResponse__AbsolutePathBuf = string; |
| | 5449 | export const V2PluginShareCheckoutResponse__AbsolutePathBuf = Schema.String.annotate({ |
| | 5450 | description: |
| | 5451 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| | 5452 | }); |
| | 5453 | |
| 5083 | export type V2PluginShareListResponse__AbsolutePathBuf = string; | 5454 | export type V2PluginShareListResponse__AbsolutePathBuf = string; |
| 5084 | export const V2PluginShareListResponse__AbsolutePathBuf = Schema.String.annotate({ | 5455 | export const V2PluginShareListResponse__AbsolutePathBuf = Schema.String.annotate({ |
| 5085 | description: | 5456 | description: |
| ... | @@ -5102,6 +5473,23 @@ export const V2PluginShareListResponse__PluginInstallPolicy = Schema.Literals([ | ... | @@ -5102,6 +5473,23 @@ export const V2PluginShareListResponse__PluginInstallPolicy = Schema.Literals([ |
| 5102 | "INSTALLED_BY_DEFAULT", | 5473 | "INSTALLED_BY_DEFAULT", |
| 5103 | ]); | 5474 | ]); |
| 5104 | | 5475 | |
| | 5476 | export type V2PluginShareListResponse__PluginShareDiscoverability = |
| | 5477 | | "LISTED" |
| | 5478 | | "UNLISTED" |
| | 5479 | | "PRIVATE"; |
| | 5480 | export const V2PluginShareListResponse__PluginShareDiscoverability = Schema.Literals([ |
| | 5481 | "LISTED", |
| | 5482 | "UNLISTED", |
| | 5483 | "PRIVATE", |
| | 5484 | ]); |
| | 5485 | |
| | 5486 | export type V2PluginShareListResponse__PluginSharePrincipalRole = "reader" | "editor" | "owner"; |
| | 5487 | export const V2PluginShareListResponse__PluginSharePrincipalRole = Schema.Literals([ |
| | 5488 | "reader", |
| | 5489 | "editor", |
| | 5490 | "owner", |
| | 5491 | ]); |
| | 5492 | |
| 5105 | export type V2PluginShareListResponse__PluginSharePrincipalType = "user" | "group" | "workspace"; | 5493 | export type V2PluginShareListResponse__PluginSharePrincipalType = "user" | "group" | "workspace"; |
| 5106 | export const V2PluginShareListResponse__PluginSharePrincipalType = Schema.Literals([ | 5494 | export const V2PluginShareListResponse__PluginSharePrincipalType = Schema.Literals([ |
| 5107 | "user", | 5495 | "user", |
| ... | @@ -5129,6 +5517,9 @@ export const V2PluginShareSaveParams__PluginSharePrincipalType = Schema.Literals | ... | @@ -5129,6 +5517,9 @@ export const V2PluginShareSaveParams__PluginSharePrincipalType = Schema.Literals |
| 5129 | "workspace", | 5517 | "workspace", |
| 5130 | ]); | 5518 | ]); |
| 5131 | | 5519 | |
| | 5520 | export type V2PluginShareSaveParams__PluginShareTargetRole = "reader" | "editor"; |
| | 5521 | export const V2PluginShareSaveParams__PluginShareTargetRole = Schema.Literals(["reader", "editor"]); |
| | 5522 | |
| 5132 | export type V2PluginShareUpdateTargetsParams__PluginSharePrincipalType = | 5523 | export type V2PluginShareUpdateTargetsParams__PluginSharePrincipalType = |
| 5133 | | "user" | 5524 | | "user" |
| 5134 | | "group" | 5525 | | "group" |
| ... | @@ -5139,6 +5530,40 @@ export const V2PluginShareUpdateTargetsParams__PluginSharePrincipalType = Schema | ... | @@ -5139,6 +5530,40 @@ export const V2PluginShareUpdateTargetsParams__PluginSharePrincipalType = Schema |
| 5139 | "workspace", | 5530 | "workspace", |
| 5140 | ]); | 5531 | ]); |
| 5141 | | 5532 | |
| | 5533 | export type V2PluginShareUpdateTargetsParams__PluginShareTargetRole = "reader" | "editor"; |
| | 5534 | export const V2PluginShareUpdateTargetsParams__PluginShareTargetRole = Schema.Literals([ |
| | 5535 | "reader", |
| | 5536 | "editor", |
| | 5537 | ]); |
| | 5538 | |
| | 5539 | export type V2PluginShareUpdateTargetsParams__PluginShareUpdateDiscoverability = |
| | 5540 | | "UNLISTED" |
| | 5541 | | "PRIVATE"; |
| | 5542 | export const V2PluginShareUpdateTargetsParams__PluginShareUpdateDiscoverability = Schema.Literals([ |
| | 5543 | "UNLISTED", |
| | 5544 | "PRIVATE", |
| | 5545 | ]); |
| | 5546 | |
| | 5547 | export type V2PluginShareUpdateTargetsResponse__PluginShareDiscoverability = |
| | 5548 | | "LISTED" |
| | 5549 | | "UNLISTED" |
| | 5550 | | "PRIVATE"; |
| | 5551 | export const V2PluginShareUpdateTargetsResponse__PluginShareDiscoverability = Schema.Literals([ |
| | 5552 | "LISTED", |
| | 5553 | "UNLISTED", |
| | 5554 | "PRIVATE", |
| | 5555 | ]); |
| | 5556 | |
| | 5557 | export type V2PluginShareUpdateTargetsResponse__PluginSharePrincipalRole = |
| | 5558 | | "reader" |
| | 5559 | | "editor" |
| | 5560 | | "owner"; |
| | 5561 | export const V2PluginShareUpdateTargetsResponse__PluginSharePrincipalRole = Schema.Literals([ |
| | 5562 | "reader", |
| | 5563 | "editor", |
| | 5564 | "owner", |
| | 5565 | ]); |
| | 5566 | |
| 5142 | export type V2PluginShareUpdateTargetsResponse__PluginSharePrincipalType = | 5567 | export type V2PluginShareUpdateTargetsResponse__PluginSharePrincipalType = |
| 5143 | | "user" | 5568 | | "user" |
| 5144 | | "group" | 5569 | | "group" |
| ... | @@ -5149,6 +5574,22 @@ export const V2PluginShareUpdateTargetsResponse__PluginSharePrincipalType = Sche | ... | @@ -5149,6 +5574,22 @@ export const V2PluginShareUpdateTargetsResponse__PluginSharePrincipalType = Sche |
| 5149 | "workspace", | 5574 | "workspace", |
| 5150 | ]); | 5575 | ]); |
| 5151 | | 5576 | |
| | 5577 | export type V2RawResponseItemCompletedNotification__AgentMessageInputContent = { |
| | 5578 | readonly encrypted_content: string; |
| | 5579 | readonly type: "encrypted_content"; |
| | 5580 | }; |
| | 5581 | export const V2RawResponseItemCompletedNotification__AgentMessageInputContent = Schema.Union( |
| | 5582 | [ |
| | 5583 | Schema.Struct({ |
| | 5584 | encrypted_content: Schema.String, |
| | 5585 | type: Schema.Literal("encrypted_content").annotate({ |
| | 5586 | title: "EncryptedContentAgentMessageInputContentType", |
| | 5587 | }), |
| | 5588 | }).annotate({ title: "EncryptedContentAgentMessageInputContent" }), |
| | 5589 | ], |
| | 5590 | { mode: "oneOf" }, |
| | 5591 | ); |
| | 5592 | |
| 5152 | export type V2RawResponseItemCompletedNotification__ImageDetail = | 5593 | export type V2RawResponseItemCompletedNotification__ImageDetail = |
| 5153 | | "auto" | 5594 | | "auto" |
| 5154 | | "low" | 5595 | | "low" |
| ... | @@ -5418,6 +5859,14 @@ export const V2ReviewStartResponse__HookPromptFragment = Schema.Struct({ | ... | @@ -5418,6 +5859,14 @@ export const V2ReviewStartResponse__HookPromptFragment = Schema.Struct({ |
| 5418 | text: Schema.String, | 5859 | text: Schema.String, |
| 5419 | }); | 5860 | }); |
| 5420 | | 5861 | |
| | 5862 | export type V2ReviewStartResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 5863 | export const V2ReviewStartResponse__ImageDetail = Schema.Literals([ |
| | 5864 | "auto", |
| | 5865 | "low", |
| | 5866 | "high", |
| | 5867 | "original", |
| | 5868 | ]); |
| | 5869 | |
| 5421 | export type V2ReviewStartResponse__McpToolCallError = { readonly message: string }; | 5870 | export type V2ReviewStartResponse__McpToolCallError = { readonly message: string }; |
| 5422 | export const V2ReviewStartResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); | 5871 | export const V2ReviewStartResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); |
| 5423 | | 5872 | |
| ... | @@ -5500,24 +5949,17 @@ export const V2ReviewStartResponse__PatchChangeKind = Schema.Union( | ... | @@ -5500,24 +5949,17 @@ export const V2ReviewStartResponse__PatchChangeKind = Schema.Union( |
| 5500 | { mode: "oneOf" }, | 5949 | { mode: "oneOf" }, |
| 5501 | ); | 5950 | ); |
| 5502 | | 5951 | |
| 5503 | export type V2ReviewStartResponse__ReasoningEffort = | 5952 | export type V2ReviewStartResponse__ReasoningEffort = string; |
| 5504 | | "none" | 5953 | export const V2ReviewStartResponse__ReasoningEffort = Schema.String.annotate({ |
| 5505 | | "minimal" | 5954 | description: "A non-empty reasoning effort value advertised by the model.", |
| 5506 | | "low" | 5955 | }).check(Schema.isMinLength(1)); |
| 5507 | | "medium" | 5956 | |
| 5508 | | "high" | 5957 | export type V2ReviewStartResponse__SubAgentActivityKind = "started" | "interacted" | "interrupted"; |
| 5509 | | "xhigh"; | 5958 | export const V2ReviewStartResponse__SubAgentActivityKind = Schema.Literals([ |
| 5510 | export const V2ReviewStartResponse__ReasoningEffort = Schema.Literals([ | 5959 | "started", |
| 5511 | "none", | 5960 | "interacted", |
| 5512 | "minimal", | 5961 | "interrupted", |
| 5513 | "low", | 5962 | ]); |
| 5514 | "medium", | | |
| 5515 | "high", | | |
| 5516 | "xhigh", | | |
| 5517 | ]).annotate({ | | |
| 5518 | description: | | |
| 5519 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 5520 | }); | | |
| 5521 | | 5963 | |
| 5522 | export type V2ReviewStartResponse__TextElement = { | 5964 | export type V2ReviewStartResponse__TextElement = { |
| 5523 | readonly byteRange: { readonly end: number; readonly start: number }; | 5965 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -5614,13 +6056,10 @@ export const V2SkillsConfigWriteParams__AbsolutePathBuf = Schema.String.annotate | ... | @@ -5614,13 +6056,10 @@ export const V2SkillsConfigWriteParams__AbsolutePathBuf = Schema.String.annotate |
| 5614 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", | 6056 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| 5615 | }); | 6057 | }); |
| 5616 | | 6058 | |
| 5617 | export type V2SkillsListParams__SkillsListExtraRootsForCwd = { | 6059 | export type V2SkillsExtraRootsSetParams__AbsolutePathBuf = string; |
| 5618 | readonly cwd: string; | 6060 | export const V2SkillsExtraRootsSetParams__AbsolutePathBuf = Schema.String.annotate({ |
| 5619 | readonly extraUserRoots: ReadonlyArray<string>; | 6061 | description: |
| 5620 | }; | 6062 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| 5621 | export const V2SkillsListParams__SkillsListExtraRootsForCwd = Schema.Struct({ | | |
| 5622 | cwd: Schema.String, | | |
| 5623 | extraUserRoots: Schema.Array(Schema.String), | | |
| 5624 | }); | 6063 | }); |
| 5625 | | 6064 | |
| 5626 | export type V2SkillsListResponse__AbsolutePathBuf = string; | 6065 | export type V2SkillsListResponse__AbsolutePathBuf = string; |
| ... | @@ -5663,12 +6102,6 @@ export const V2SkillsListResponse__SkillToolDependency = Schema.Struct({ | ... | @@ -5663,12 +6102,6 @@ export const V2SkillsListResponse__SkillToolDependency = Schema.Struct({ |
| 5663 | value: Schema.String, | 6102 | value: Schema.String, |
| 5664 | }); | 6103 | }); |
| 5665 | | 6104 | |
| 5666 | export type V2ThreadForkParams__AbsolutePathBuf = string; | | |
| 5667 | export const V2ThreadForkParams__AbsolutePathBuf = Schema.String.annotate({ | | |
| 5668 | description: | | |
| 5669 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", | | |
| 5670 | }); | | |
| 5671 | | | |
| 5672 | export type V2ThreadForkParams__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; | 6105 | export type V2ThreadForkParams__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; |
| 5673 | export const V2ThreadForkParams__ApprovalsReviewer = Schema.Literals([ | 6106 | export const V2ThreadForkParams__ApprovalsReviewer = Schema.Literals([ |
| 5674 | "user", | 6107 | "user", |
| ... | @@ -5719,12 +6152,8 @@ export const V2ThreadForkParams__SandboxMode = Schema.Literals([ | ... | @@ -5719,12 +6152,8 @@ export const V2ThreadForkParams__SandboxMode = Schema.Literals([ |
| 5719 | "danger-full-access", | 6152 | "danger-full-access", |
| 5720 | ]); | 6153 | ]); |
| 5721 | | 6154 | |
| 5722 | export type V2ThreadForkParams__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 6155 | export type V2ThreadForkParams__ThreadSource = string; |
| 5723 | export const V2ThreadForkParams__ThreadSource = Schema.Literals([ | 6156 | export const V2ThreadForkParams__ThreadSource = Schema.String; |
| 5724 | "user", | | |
| 5725 | "subagent", | | |
| 5726 | "memory_consolidation", | | |
| 5727 | ]); | | |
| 5728 | | 6157 | |
| 5729 | export type V2ThreadForkResponse__AbsolutePathBuf = string; | 6158 | export type V2ThreadForkResponse__AbsolutePathBuf = string; |
| 5730 | export const V2ThreadForkResponse__AbsolutePathBuf = Schema.String.annotate({ | 6159 | export const V2ThreadForkResponse__AbsolutePathBuf = Schema.String.annotate({ |
| ... | @@ -5823,47 +6252,6 @@ export const V2ThreadForkResponse__DynamicToolCallStatus = Schema.Literals([ | ... | @@ -5823,47 +6252,6 @@ export const V2ThreadForkResponse__DynamicToolCallStatus = Schema.Literals([ |
| 5823 | "failed", | 6252 | "failed", |
| 5824 | ]); | 6253 | ]); |
| 5825 | | 6254 | |
| 5826 | export type V2ThreadForkResponse__FileSystemAccessMode = "read" | "write" | "none"; | | |
| 5827 | export const V2ThreadForkResponse__FileSystemAccessMode = Schema.Literals([ | | |
| 5828 | "read", | | |
| 5829 | "write", | | |
| 5830 | "none", | | |
| 5831 | ]); | | |
| 5832 | | | |
| 5833 | export type V2ThreadForkResponse__FileSystemSpecialPath = | | |
| 5834 | | { readonly kind: "root" } | | |
| 5835 | | { readonly kind: "minimal" } | | |
| 5836 | | { readonly kind: "project_roots"; readonly subpath?: string | null } | | |
| 5837 | | { readonly kind: "tmpdir" } | | |
| 5838 | | { readonly kind: "slash_tmp" } | | |
| 5839 | | { readonly kind: "unknown"; readonly path: string; readonly subpath?: string | null }; | | |
| 5840 | export const V2ThreadForkResponse__FileSystemSpecialPath = Schema.Union( | | |
| 5841 | [ | | |
| 5842 | Schema.Struct({ kind: Schema.Literal("root") }).annotate({ | | |
| 5843 | title: "RootFileSystemSpecialPath", | | |
| 5844 | }), | | |
| 5845 | Schema.Struct({ kind: Schema.Literal("minimal") }).annotate({ | | |
| 5846 | title: "MinimalFileSystemSpecialPath", | | |
| 5847 | }), | | |
| 5848 | Schema.Struct({ | | |
| 5849 | kind: Schema.Literal("project_roots"), | | |
| 5850 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 5851 | }).annotate({ title: "KindFileSystemSpecialPath" }), | | |
| 5852 | Schema.Struct({ kind: Schema.Literal("tmpdir") }).annotate({ | | |
| 5853 | title: "TmpdirFileSystemSpecialPath", | | |
| 5854 | }), | | |
| 5855 | Schema.Struct({ kind: Schema.Literal("slash_tmp") }).annotate({ | | |
| 5856 | title: "SlashTmpFileSystemSpecialPath", | | |
| 5857 | }), | | |
| 5858 | Schema.Struct({ | | |
| 5859 | kind: Schema.Literal("unknown"), | | |
| 5860 | path: Schema.String, | | |
| 5861 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 5862 | }), | | |
| 5863 | ], | | |
| 5864 | { mode: "oneOf" }, | | |
| 5865 | ); | | |
| 5866 | | | |
| 5867 | export type V2ThreadForkResponse__GitInfo = { | 6255 | export type V2ThreadForkResponse__GitInfo = { |
| 5868 | readonly branch?: string | null; | 6256 | readonly branch?: string | null; |
| 5869 | readonly originUrl?: string | null; | 6257 | readonly originUrl?: string | null; |
| ... | @@ -5884,6 +6272,14 @@ export const V2ThreadForkResponse__HookPromptFragment = Schema.Struct({ | ... | @@ -5884,6 +6272,14 @@ export const V2ThreadForkResponse__HookPromptFragment = Schema.Struct({ |
| 5884 | text: Schema.String, | 6272 | text: Schema.String, |
| 5885 | }); | 6273 | }); |
| 5886 | | 6274 | |
| | 6275 | export type V2ThreadForkResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 6276 | export const V2ThreadForkResponse__ImageDetail = Schema.Literals([ |
| | 6277 | "auto", |
| | 6278 | "low", |
| | 6279 | "high", |
| | 6280 | "original", |
| | 6281 | ]); |
| | 6282 | |
| 5887 | export type V2ThreadForkResponse__McpToolCallError = { readonly message: string }; | 6283 | export type V2ThreadForkResponse__McpToolCallError = { readonly message: string }; |
| 5888 | export const V2ThreadForkResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); | 6284 | export const V2ThreadForkResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); |
| 5889 | | 6285 | |
| ... | @@ -5966,31 +6362,17 @@ export const V2ThreadForkResponse__PatchChangeKind = Schema.Union( | ... | @@ -5966,31 +6362,17 @@ export const V2ThreadForkResponse__PatchChangeKind = Schema.Union( |
| 5966 | { mode: "oneOf" }, | 6362 | { mode: "oneOf" }, |
| 5967 | ); | 6363 | ); |
| 5968 | | 6364 | |
| 5969 | export type V2ThreadForkResponse__PermissionProfileNetworkPermissions = { | 6365 | export type V2ThreadForkResponse__ReasoningEffort = string; |
| 5970 | readonly enabled: boolean; | 6366 | export const V2ThreadForkResponse__ReasoningEffort = Schema.String.annotate({ |
| 5971 | }; | 6367 | description: "A non-empty reasoning effort value advertised by the model.", |
| 5972 | export const V2ThreadForkResponse__PermissionProfileNetworkPermissions = Schema.Struct({ | 6368 | }).check(Schema.isMinLength(1)); |
| 5973 | enabled: Schema.Boolean, | | |
| 5974 | }); | | |
| 5975 | | 6369 | |
| 5976 | export type V2ThreadForkResponse__ReasoningEffort = | 6370 | export type V2ThreadForkResponse__SubAgentActivityKind = "started" | "interacted" | "interrupted"; |
| 5977 | | "none" | 6371 | export const V2ThreadForkResponse__SubAgentActivityKind = Schema.Literals([ |
| 5978 | | "minimal" | 6372 | "started", |
| 5979 | | "low" | 6373 | "interacted", |
| 5980 | | "medium" | 6374 | "interrupted", |
| 5981 | | "high" | 6375 | ]); |
| 5982 | | "xhigh"; | | |
| 5983 | export const V2ThreadForkResponse__ReasoningEffort = Schema.Literals([ | | |
| 5984 | "none", | | |
| 5985 | "minimal", | | |
| 5986 | "low", | | |
| 5987 | "medium", | | |
| 5988 | "high", | | |
| 5989 | "xhigh", | | |
| 5990 | ]).annotate({ | | |
| 5991 | description: | | |
| 5992 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 5993 | }); | | |
| 5994 | | 6376 | |
| 5995 | export type V2ThreadForkResponse__TextElement = { | 6377 | export type V2ThreadForkResponse__TextElement = { |
| 5996 | readonly byteRange: { readonly end: number; readonly start: number }; | 6378 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -6026,12 +6408,8 @@ export const V2ThreadForkResponse__ThreadActiveFlag = Schema.Literals([ | ... | @@ -6026,12 +6408,8 @@ export const V2ThreadForkResponse__ThreadActiveFlag = Schema.Literals([ |
| 6026 | export type V2ThreadForkResponse__ThreadId = string; | 6408 | export type V2ThreadForkResponse__ThreadId = string; |
| 6027 | export const V2ThreadForkResponse__ThreadId = Schema.String; | 6409 | export const V2ThreadForkResponse__ThreadId = Schema.String; |
| 6028 | | 6410 | |
| 6029 | export type V2ThreadForkResponse__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 6411 | export type V2ThreadForkResponse__ThreadSource = string; |
| 6030 | export const V2ThreadForkResponse__ThreadSource = Schema.Literals([ | 6412 | export const V2ThreadForkResponse__ThreadSource = Schema.String; |
| 6031 | "user", | | |
| 6032 | "subagent", | | |
| 6033 | "memory_consolidation", | | |
| 6034 | ]); | | |
| 6035 | | 6413 | |
| 6036 | export type V2ThreadForkResponse__TurnStatus = | 6414 | export type V2ThreadForkResponse__TurnStatus = |
| 6037 | | "completed" | 6415 | | "completed" |
| ... | @@ -6077,14 +6455,66 @@ export const V2ThreadForkResponse__WebSearchAction = Schema.Union( | ... | @@ -6077,14 +6455,66 @@ export const V2ThreadForkResponse__WebSearchAction = Schema.Union( |
| 6077 | { mode: "oneOf" }, | 6455 | { mode: "oneOf" }, |
| 6078 | ); | 6456 | ); |
| 6079 | | 6457 | |
| | 6458 | export type V2ThreadGoalGetResponse__ThreadGoalStatus = |
| | 6459 | | "active" |
| | 6460 | | "paused" |
| | 6461 | | "blocked" |
| | 6462 | | "usageLimited" |
| | 6463 | | "budgetLimited" |
| | 6464 | | "complete"; |
| | 6465 | export const V2ThreadGoalGetResponse__ThreadGoalStatus = Schema.Literals([ |
| | 6466 | "active", |
| | 6467 | "paused", |
| | 6468 | "blocked", |
| | 6469 | "usageLimited", |
| | 6470 | "budgetLimited", |
| | 6471 | "complete", |
| | 6472 | ]); |
| | 6473 | |
| | 6474 | export type V2ThreadGoalSetParams__ThreadGoalStatus = |
| | 6475 | | "active" |
| | 6476 | | "paused" |
| | 6477 | | "blocked" |
| | 6478 | | "usageLimited" |
| | 6479 | | "budgetLimited" |
| | 6480 | | "complete"; |
| | 6481 | export const V2ThreadGoalSetParams__ThreadGoalStatus = Schema.Literals([ |
| | 6482 | "active", |
| | 6483 | "paused", |
| | 6484 | "blocked", |
| | 6485 | "usageLimited", |
| | 6486 | "budgetLimited", |
| | 6487 | "complete", |
| | 6488 | ]); |
| | 6489 | |
| | 6490 | export type V2ThreadGoalSetResponse__ThreadGoalStatus = |
| | 6491 | | "active" |
| | 6492 | | "paused" |
| | 6493 | | "blocked" |
| | 6494 | | "usageLimited" |
| | 6495 | | "budgetLimited" |
| | 6496 | | "complete"; |
| | 6497 | export const V2ThreadGoalSetResponse__ThreadGoalStatus = Schema.Literals([ |
| | 6498 | "active", |
| | 6499 | "paused", |
| | 6500 | "blocked", |
| | 6501 | "usageLimited", |
| | 6502 | "budgetLimited", |
| | 6503 | "complete", |
| | 6504 | ]); |
| | 6505 | |
| 6080 | export type V2ThreadGoalUpdatedNotification__ThreadGoalStatus = | 6506 | export type V2ThreadGoalUpdatedNotification__ThreadGoalStatus = |
| 6081 | | "active" | 6507 | | "active" |
| 6082 | | "paused" | 6508 | | "paused" |
| | 6509 | | "blocked" |
| | 6510 | | "usageLimited" |
| 6083 | | "budgetLimited" | 6511 | | "budgetLimited" |
| 6084 | | "complete"; | 6512 | | "complete"; |
| 6085 | export const V2ThreadGoalUpdatedNotification__ThreadGoalStatus = Schema.Literals([ | 6513 | export const V2ThreadGoalUpdatedNotification__ThreadGoalStatus = Schema.Literals([ |
| 6086 | "active", | 6514 | "active", |
| 6087 | "paused", | 6515 | "paused", |
| | 6516 | "blocked", |
| | 6517 | "usageLimited", |
| 6088 | "budgetLimited", | 6518 | "budgetLimited", |
| 6089 | "complete", | 6519 | "complete", |
| 6090 | ]); | 6520 | ]); |
| ... | @@ -6212,6 +6642,14 @@ export const V2ThreadListResponse__HookPromptFragment = Schema.Struct({ | ... | @@ -6212,6 +6642,14 @@ export const V2ThreadListResponse__HookPromptFragment = Schema.Struct({ |
| 6212 | text: Schema.String, | 6642 | text: Schema.String, |
| 6213 | }); | 6643 | }); |
| 6214 | | 6644 | |
| | 6645 | export type V2ThreadListResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 6646 | export const V2ThreadListResponse__ImageDetail = Schema.Literals([ |
| | 6647 | "auto", |
| | 6648 | "low", |
| | 6649 | "high", |
| | 6650 | "original", |
| | 6651 | ]); |
| | 6652 | |
| 6215 | export type V2ThreadListResponse__McpToolCallError = { readonly message: string }; | 6653 | export type V2ThreadListResponse__McpToolCallError = { readonly message: string }; |
| 6216 | export const V2ThreadListResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); | 6654 | export const V2ThreadListResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); |
| 6217 | | 6655 | |
| ... | @@ -6294,24 +6732,17 @@ export const V2ThreadListResponse__PatchChangeKind = Schema.Union( | ... | @@ -6294,24 +6732,17 @@ export const V2ThreadListResponse__PatchChangeKind = Schema.Union( |
| 6294 | { mode: "oneOf" }, | 6732 | { mode: "oneOf" }, |
| 6295 | ); | 6733 | ); |
| 6296 | | 6734 | |
| 6297 | export type V2ThreadListResponse__ReasoningEffort = | 6735 | export type V2ThreadListResponse__ReasoningEffort = string; |
| 6298 | | "none" | 6736 | export const V2ThreadListResponse__ReasoningEffort = Schema.String.annotate({ |
| 6299 | | "minimal" | 6737 | description: "A non-empty reasoning effort value advertised by the model.", |
| 6300 | | "low" | 6738 | }).check(Schema.isMinLength(1)); |
| 6301 | | "medium" | 6739 | |
| 6302 | | "high" | 6740 | export type V2ThreadListResponse__SubAgentActivityKind = "started" | "interacted" | "interrupted"; |
| 6303 | | "xhigh"; | 6741 | export const V2ThreadListResponse__SubAgentActivityKind = Schema.Literals([ |
| 6304 | export const V2ThreadListResponse__ReasoningEffort = Schema.Literals([ | 6742 | "started", |
| 6305 | "none", | 6743 | "interacted", |
| 6306 | "minimal", | 6744 | "interrupted", |
| 6307 | "low", | 6745 | ]); |
| 6308 | "medium", | | |
| 6309 | "high", | | |
| 6310 | "xhigh", | | |
| 6311 | ]).annotate({ | | |
| 6312 | description: | | |
| 6313 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 6314 | }); | | |
| 6315 | | 6746 | |
| 6316 | export type V2ThreadListResponse__TextElement = { | 6747 | export type V2ThreadListResponse__TextElement = { |
| 6317 | readonly byteRange: { readonly end: number; readonly start: number }; | 6748 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -6347,12 +6778,8 @@ export const V2ThreadListResponse__ThreadActiveFlag = Schema.Literals([ | ... | @@ -6347,12 +6778,8 @@ export const V2ThreadListResponse__ThreadActiveFlag = Schema.Literals([ |
| 6347 | export type V2ThreadListResponse__ThreadId = string; | 6778 | export type V2ThreadListResponse__ThreadId = string; |
| 6348 | export const V2ThreadListResponse__ThreadId = Schema.String; | 6779 | export const V2ThreadListResponse__ThreadId = Schema.String; |
| 6349 | | 6780 | |
| 6350 | export type V2ThreadListResponse__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 6781 | export type V2ThreadListResponse__ThreadSource = string; |
| 6351 | export const V2ThreadListResponse__ThreadSource = Schema.Literals([ | 6782 | export const V2ThreadListResponse__ThreadSource = Schema.String; |
| 6352 | "user", | | |
| 6353 | "subagent", | | |
| 6354 | "memory_consolidation", | | |
| 6355 | ]); | | |
| 6356 | | 6783 | |
| 6357 | export type V2ThreadListResponse__TurnStatus = | 6784 | export type V2ThreadListResponse__TurnStatus = |
| 6358 | | "completed" | 6785 | | "completed" |
| ... | @@ -6523,6 +6950,14 @@ export const V2ThreadMetadataUpdateResponse__HookPromptFragment = Schema.Struct( | ... | @@ -6523,6 +6950,14 @@ export const V2ThreadMetadataUpdateResponse__HookPromptFragment = Schema.Struct( |
| 6523 | text: Schema.String, | 6950 | text: Schema.String, |
| 6524 | }); | 6951 | }); |
| 6525 | | 6952 | |
| | 6953 | export type V2ThreadMetadataUpdateResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 6954 | export const V2ThreadMetadataUpdateResponse__ImageDetail = Schema.Literals([ |
| | 6955 | "auto", |
| | 6956 | "low", |
| | 6957 | "high", |
| | 6958 | "original", |
| | 6959 | ]); |
| | 6960 | |
| 6526 | export type V2ThreadMetadataUpdateResponse__McpToolCallError = { readonly message: string }; | 6961 | export type V2ThreadMetadataUpdateResponse__McpToolCallError = { readonly message: string }; |
| 6527 | export const V2ThreadMetadataUpdateResponse__McpToolCallError = Schema.Struct({ | 6962 | export const V2ThreadMetadataUpdateResponse__McpToolCallError = Schema.Struct({ |
| 6528 | message: Schema.String, | 6963 | message: Schema.String, |
| ... | @@ -6613,24 +7048,20 @@ export const V2ThreadMetadataUpdateResponse__PatchChangeKind = Schema.Union( | ... | @@ -6613,24 +7048,20 @@ export const V2ThreadMetadataUpdateResponse__PatchChangeKind = Schema.Union( |
| 6613 | { mode: "oneOf" }, | 7048 | { mode: "oneOf" }, |
| 6614 | ); | 7049 | ); |
| 6615 | | 7050 | |
| 6616 | export type V2ThreadMetadataUpdateResponse__ReasoningEffort = | 7051 | export type V2ThreadMetadataUpdateResponse__ReasoningEffort = string; |
| 6617 | | "none" | 7052 | export const V2ThreadMetadataUpdateResponse__ReasoningEffort = Schema.String.annotate({ |
| 6618 | | "minimal" | 7053 | description: "A non-empty reasoning effort value advertised by the model.", |
| 6619 | | "low" | 7054 | }).check(Schema.isMinLength(1)); |
| 6620 | | "medium" | 7055 | |
| 6621 | | "high" | 7056 | export type V2ThreadMetadataUpdateResponse__SubAgentActivityKind = |
| 6622 | | "xhigh"; | 7057 | | "started" |
| 6623 | export const V2ThreadMetadataUpdateResponse__ReasoningEffort = Schema.Literals([ | 7058 | | "interacted" |
| 6624 | "none", | 7059 | | "interrupted"; |
| 6625 | "minimal", | 7060 | export const V2ThreadMetadataUpdateResponse__SubAgentActivityKind = Schema.Literals([ |
| 6626 | "low", | 7061 | "started", |
| 6627 | "medium", | 7062 | "interacted", |
| 6628 | "high", | 7063 | "interrupted", |
| 6629 | "xhigh", | 7064 | ]); |
| 6630 | ]).annotate({ | | |
| 6631 | description: | | |
| 6632 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 6633 | }); | | |
| 6634 | | 7065 | |
| 6635 | export type V2ThreadMetadataUpdateResponse__TextElement = { | 7066 | export type V2ThreadMetadataUpdateResponse__TextElement = { |
| 6636 | readonly byteRange: { readonly end: number; readonly start: number }; | 7067 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -6668,15 +7099,8 @@ export const V2ThreadMetadataUpdateResponse__ThreadActiveFlag = Schema.Literals( | ... | @@ -6668,15 +7099,8 @@ export const V2ThreadMetadataUpdateResponse__ThreadActiveFlag = Schema.Literals( |
| 6668 | export type V2ThreadMetadataUpdateResponse__ThreadId = string; | 7099 | export type V2ThreadMetadataUpdateResponse__ThreadId = string; |
| 6669 | export const V2ThreadMetadataUpdateResponse__ThreadId = Schema.String; | 7100 | export const V2ThreadMetadataUpdateResponse__ThreadId = Schema.String; |
| 6670 | | 7101 | |
| 6671 | export type V2ThreadMetadataUpdateResponse__ThreadSource = | 7102 | export type V2ThreadMetadataUpdateResponse__ThreadSource = string; |
| 6672 | | "user" | 7103 | export const V2ThreadMetadataUpdateResponse__ThreadSource = Schema.String; |
| 6673 | | "subagent" | | |
| 6674 | | "memory_consolidation"; | | |
| 6675 | export const V2ThreadMetadataUpdateResponse__ThreadSource = Schema.Literals([ | | |
| 6676 | "user", | | |
| 6677 | "subagent", | | |
| 6678 | "memory_consolidation", | | |
| 6679 | ]); | | |
| 6680 | | 7104 | |
| 6681 | export type V2ThreadMetadataUpdateResponse__TurnStatus = | 7105 | export type V2ThreadMetadataUpdateResponse__TurnStatus = |
| 6682 | | "completed" | 7106 | | "completed" |
| ... | @@ -6809,6 +7233,14 @@ export const V2ThreadReadResponse__HookPromptFragment = Schema.Struct({ | ... | @@ -6809,6 +7233,14 @@ export const V2ThreadReadResponse__HookPromptFragment = Schema.Struct({ |
| 6809 | text: Schema.String, | 7233 | text: Schema.String, |
| 6810 | }); | 7234 | }); |
| 6811 | | 7235 | |
| | 7236 | export type V2ThreadReadResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 7237 | export const V2ThreadReadResponse__ImageDetail = Schema.Literals([ |
| | 7238 | "auto", |
| | 7239 | "low", |
| | 7240 | "high", |
| | 7241 | "original", |
| | 7242 | ]); |
| | 7243 | |
| 6812 | export type V2ThreadReadResponse__McpToolCallError = { readonly message: string }; | 7244 | export type V2ThreadReadResponse__McpToolCallError = { readonly message: string }; |
| 6813 | export const V2ThreadReadResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); | 7245 | export const V2ThreadReadResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); |
| 6814 | | 7246 | |
| ... | @@ -6891,24 +7323,17 @@ export const V2ThreadReadResponse__PatchChangeKind = Schema.Union( | ... | @@ -6891,24 +7323,17 @@ export const V2ThreadReadResponse__PatchChangeKind = Schema.Union( |
| 6891 | { mode: "oneOf" }, | 7323 | { mode: "oneOf" }, |
| 6892 | ); | 7324 | ); |
| 6893 | | 7325 | |
| 6894 | export type V2ThreadReadResponse__ReasoningEffort = | 7326 | export type V2ThreadReadResponse__ReasoningEffort = string; |
| 6895 | | "none" | 7327 | export const V2ThreadReadResponse__ReasoningEffort = Schema.String.annotate({ |
| 6896 | | "minimal" | 7328 | description: "A non-empty reasoning effort value advertised by the model.", |
| 6897 | | "low" | 7329 | }).check(Schema.isMinLength(1)); |
| 6898 | | "medium" | 7330 | |
| 6899 | | "high" | 7331 | export type V2ThreadReadResponse__SubAgentActivityKind = "started" | "interacted" | "interrupted"; |
| 6900 | | "xhigh"; | 7332 | export const V2ThreadReadResponse__SubAgentActivityKind = Schema.Literals([ |
| 6901 | export const V2ThreadReadResponse__ReasoningEffort = Schema.Literals([ | 7333 | "started", |
| 6902 | "none", | 7334 | "interacted", |
| 6903 | "minimal", | 7335 | "interrupted", |
| 6904 | "low", | 7336 | ]); |
| 6905 | "medium", | | |
| 6906 | "high", | | |
| 6907 | "xhigh", | | |
| 6908 | ]).annotate({ | | |
| 6909 | description: | | |
| 6910 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 6911 | }); | | |
| 6912 | | 7337 | |
| 6913 | export type V2ThreadReadResponse__TextElement = { | 7338 | export type V2ThreadReadResponse__TextElement = { |
| 6914 | readonly byteRange: { readonly end: number; readonly start: number }; | 7339 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -6944,12 +7369,8 @@ export const V2ThreadReadResponse__ThreadActiveFlag = Schema.Literals([ | ... | @@ -6944,12 +7369,8 @@ export const V2ThreadReadResponse__ThreadActiveFlag = Schema.Literals([ |
| 6944 | export type V2ThreadReadResponse__ThreadId = string; | 7369 | export type V2ThreadReadResponse__ThreadId = string; |
| 6945 | export const V2ThreadReadResponse__ThreadId = Schema.String; | 7370 | export const V2ThreadReadResponse__ThreadId = Schema.String; |
| 6946 | | 7371 | |
| 6947 | export type V2ThreadReadResponse__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 7372 | export type V2ThreadReadResponse__ThreadSource = string; |
| 6948 | export const V2ThreadReadResponse__ThreadSource = Schema.Literals([ | 7373 | export const V2ThreadReadResponse__ThreadSource = Schema.String; |
| 6949 | "user", | | |
| 6950 | "subagent", | | |
| 6951 | "memory_consolidation", | | |
| 6952 | ]); | | |
| 6953 | | 7374 | |
| 6954 | export type V2ThreadReadResponse__TurnStatus = | 7375 | export type V2ThreadReadResponse__TurnStatus = |
| 6955 | | "completed" | 7376 | | "completed" |
| ... | @@ -7029,11 +7450,21 @@ export const V2ThreadRealtimeStartedNotification__RealtimeConversationVersion = | ... | @@ -7029,11 +7450,21 @@ export const V2ThreadRealtimeStartedNotification__RealtimeConversationVersion = |
| 7029 | "v2", | 7450 | "v2", |
| 7030 | ]); | 7451 | ]); |
| 7031 | | 7452 | |
| 7032 | export type V2ThreadResumeParams__AbsolutePathBuf = string; | 7453 | export type V2ThreadResumeParams__AgentMessageInputContent = { |
| 7033 | export const V2ThreadResumeParams__AbsolutePathBuf = Schema.String.annotate({ | 7454 | readonly encrypted_content: string; |
| 7034 | description: | 7455 | readonly type: "encrypted_content"; |
| 7035 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", | 7456 | }; |
| 7036 | }); | 7457 | export const V2ThreadResumeParams__AgentMessageInputContent = Schema.Union( |
| | 7458 | [ |
| | 7459 | Schema.Struct({ |
| | 7460 | encrypted_content: Schema.String, |
| | 7461 | type: Schema.Literal("encrypted_content").annotate({ |
| | 7462 | title: "EncryptedContentAgentMessageInputContentType", |
| | 7463 | }), |
| | 7464 | }).annotate({ title: "EncryptedContentAgentMessageInputContent" }), |
| | 7465 | ], |
| | 7466 | { mode: "oneOf" }, |
| | 7467 | ); |
| 7037 | | 7468 | |
| 7038 | export type V2ThreadResumeParams__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; | 7469 | export type V2ThreadResumeParams__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; |
| 7039 | export const V2ThreadResumeParams__ApprovalsReviewer = Schema.Literals([ | 7470 | export const V2ThreadResumeParams__ApprovalsReviewer = Schema.Literals([ |
| ... | @@ -7218,6 +7649,16 @@ export const V2ThreadResumeParams__SandboxMode = Schema.Literals([ | ... | @@ -7218,6 +7649,16 @@ export const V2ThreadResumeParams__SandboxMode = Schema.Literals([ |
| 7218 | "danger-full-access", | 7649 | "danger-full-access", |
| 7219 | ]); | 7650 | ]); |
| 7220 | | 7651 | |
| | 7652 | export type V2ThreadResumeParams__SortDirection = "asc" | "desc"; |
| | 7653 | export const V2ThreadResumeParams__SortDirection = Schema.Literals(["asc", "desc"]); |
| | 7654 | |
| | 7655 | export type V2ThreadResumeParams__TurnItemsView = "notLoaded" | "summary" | "full"; |
| | 7656 | export const V2ThreadResumeParams__TurnItemsView = Schema.Literals([ |
| | 7657 | "notLoaded", |
| | 7658 | "summary", |
| | 7659 | "full", |
| | 7660 | ]); |
| | 7661 | |
| 7221 | export type V2ThreadResumeResponse__AbsolutePathBuf = string; | 7662 | export type V2ThreadResumeResponse__AbsolutePathBuf = string; |
| 7222 | export const V2ThreadResumeResponse__AbsolutePathBuf = Schema.String.annotate({ | 7663 | export const V2ThreadResumeResponse__AbsolutePathBuf = Schema.String.annotate({ |
| 7223 | description: | 7664 | description: |
| ... | @@ -7315,47 +7756,6 @@ export const V2ThreadResumeResponse__DynamicToolCallStatus = Schema.Literals([ | ... | @@ -7315,47 +7756,6 @@ export const V2ThreadResumeResponse__DynamicToolCallStatus = Schema.Literals([ |
| 7315 | "failed", | 7756 | "failed", |
| 7316 | ]); | 7757 | ]); |
| 7317 | | 7758 | |
| 7318 | export type V2ThreadResumeResponse__FileSystemAccessMode = "read" | "write" | "none"; | | |
| 7319 | export const V2ThreadResumeResponse__FileSystemAccessMode = Schema.Literals([ | | |
| 7320 | "read", | | |
| 7321 | "write", | | |
| 7322 | "none", | | |
| 7323 | ]); | | |
| 7324 | | | |
| 7325 | export type V2ThreadResumeResponse__FileSystemSpecialPath = | | |
| 7326 | | { readonly kind: "root" } | | |
| 7327 | | { readonly kind: "minimal" } | | |
| 7328 | | { readonly kind: "project_roots"; readonly subpath?: string | null } | | |
| 7329 | | { readonly kind: "tmpdir" } | | |
| 7330 | | { readonly kind: "slash_tmp" } | | |
| 7331 | | { readonly kind: "unknown"; readonly path: string; readonly subpath?: string | null }; | | |
| 7332 | export const V2ThreadResumeResponse__FileSystemSpecialPath = Schema.Union( | | |
| 7333 | [ | | |
| 7334 | Schema.Struct({ kind: Schema.Literal("root") }).annotate({ | | |
| 7335 | title: "RootFileSystemSpecialPath", | | |
| 7336 | }), | | |
| 7337 | Schema.Struct({ kind: Schema.Literal("minimal") }).annotate({ | | |
| 7338 | title: "MinimalFileSystemSpecialPath", | | |
| 7339 | }), | | |
| 7340 | Schema.Struct({ | | |
| 7341 | kind: Schema.Literal("project_roots"), | | |
| 7342 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 7343 | }).annotate({ title: "KindFileSystemSpecialPath" }), | | |
| 7344 | Schema.Struct({ kind: Schema.Literal("tmpdir") }).annotate({ | | |
| 7345 | title: "TmpdirFileSystemSpecialPath", | | |
| 7346 | }), | | |
| 7347 | Schema.Struct({ kind: Schema.Literal("slash_tmp") }).annotate({ | | |
| 7348 | title: "SlashTmpFileSystemSpecialPath", | | |
| 7349 | }), | | |
| 7350 | Schema.Struct({ | | |
| 7351 | kind: Schema.Literal("unknown"), | | |
| 7352 | path: Schema.String, | | |
| 7353 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 7354 | }), | | |
| 7355 | ], | | |
| 7356 | { mode: "oneOf" }, | | |
| 7357 | ); | | |
| 7358 | | | |
| 7359 | export type V2ThreadResumeResponse__GitInfo = { | 7759 | export type V2ThreadResumeResponse__GitInfo = { |
| 7360 | readonly branch?: string | null; | 7760 | readonly branch?: string | null; |
| 7361 | readonly originUrl?: string | null; | 7761 | readonly originUrl?: string | null; |
| ... | @@ -7376,6 +7776,14 @@ export const V2ThreadResumeResponse__HookPromptFragment = Schema.Struct({ | ... | @@ -7376,6 +7776,14 @@ export const V2ThreadResumeResponse__HookPromptFragment = Schema.Struct({ |
| 7376 | text: Schema.String, | 7776 | text: Schema.String, |
| 7377 | }); | 7777 | }); |
| 7378 | | 7778 | |
| | 7779 | export type V2ThreadResumeResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 7780 | export const V2ThreadResumeResponse__ImageDetail = Schema.Literals([ |
| | 7781 | "auto", |
| | 7782 | "low", |
| | 7783 | "high", |
| | 7784 | "original", |
| | 7785 | ]); |
| | 7786 | |
| 7379 | export type V2ThreadResumeResponse__McpToolCallError = { readonly message: string }; | 7787 | export type V2ThreadResumeResponse__McpToolCallError = { readonly message: string }; |
| 7380 | export const V2ThreadResumeResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); | 7788 | export const V2ThreadResumeResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); |
| 7381 | | 7789 | |
| ... | @@ -7458,31 +7866,17 @@ export const V2ThreadResumeResponse__PatchChangeKind = Schema.Union( | ... | @@ -7458,31 +7866,17 @@ export const V2ThreadResumeResponse__PatchChangeKind = Schema.Union( |
| 7458 | { mode: "oneOf" }, | 7866 | { mode: "oneOf" }, |
| 7459 | ); | 7867 | ); |
| 7460 | | 7868 | |
| 7461 | export type V2ThreadResumeResponse__PermissionProfileNetworkPermissions = { | 7869 | export type V2ThreadResumeResponse__ReasoningEffort = string; |
| 7462 | readonly enabled: boolean; | 7870 | export const V2ThreadResumeResponse__ReasoningEffort = Schema.String.annotate({ |
| 7463 | }; | 7871 | description: "A non-empty reasoning effort value advertised by the model.", |
| 7464 | export const V2ThreadResumeResponse__PermissionProfileNetworkPermissions = Schema.Struct({ | 7872 | }).check(Schema.isMinLength(1)); |
| 7465 | enabled: Schema.Boolean, | | |
| 7466 | }); | | |
| 7467 | | 7873 | |
| 7468 | export type V2ThreadResumeResponse__ReasoningEffort = | 7874 | export type V2ThreadResumeResponse__SubAgentActivityKind = "started" | "interacted" | "interrupted"; |
| 7469 | | "none" | 7875 | export const V2ThreadResumeResponse__SubAgentActivityKind = Schema.Literals([ |
| 7470 | | "minimal" | 7876 | "started", |
| 7471 | | "low" | 7877 | "interacted", |
| 7472 | | "medium" | 7878 | "interrupted", |
| 7473 | | "high" | 7879 | ]); |
| 7474 | | "xhigh"; | | |
| 7475 | export const V2ThreadResumeResponse__ReasoningEffort = Schema.Literals([ | | |
| 7476 | "none", | | |
| 7477 | "minimal", | | |
| 7478 | "low", | | |
| 7479 | "medium", | | |
| 7480 | "high", | | |
| 7481 | "xhigh", | | |
| 7482 | ]).annotate({ | | |
| 7483 | description: | | |
| 7484 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 7485 | }); | | |
| 7486 | | 7880 | |
| 7487 | export type V2ThreadResumeResponse__TextElement = { | 7881 | export type V2ThreadResumeResponse__TextElement = { |
| 7488 | readonly byteRange: { readonly end: number; readonly start: number }; | 7882 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -7518,12 +7912,8 @@ export const V2ThreadResumeResponse__ThreadActiveFlag = Schema.Literals([ | ... | @@ -7518,12 +7912,8 @@ export const V2ThreadResumeResponse__ThreadActiveFlag = Schema.Literals([ |
| 7518 | export type V2ThreadResumeResponse__ThreadId = string; | 7912 | export type V2ThreadResumeResponse__ThreadId = string; |
| 7519 | export const V2ThreadResumeResponse__ThreadId = Schema.String; | 7913 | export const V2ThreadResumeResponse__ThreadId = Schema.String; |
| 7520 | | 7914 | |
| 7521 | export type V2ThreadResumeResponse__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 7915 | export type V2ThreadResumeResponse__ThreadSource = string; |
| 7522 | export const V2ThreadResumeResponse__ThreadSource = Schema.Literals([ | 7916 | export const V2ThreadResumeResponse__ThreadSource = Schema.String; |
| 7523 | "user", | | |
| 7524 | "subagent", | | |
| 7525 | "memory_consolidation", | | |
| 7526 | ]); | | |
| 7527 | | 7917 | |
| 7528 | export type V2ThreadResumeResponse__TurnStatus = | 7918 | export type V2ThreadResumeResponse__TurnStatus = |
| 7529 | | "completed" | 7919 | | "completed" |
| ... | @@ -7656,6 +8046,14 @@ export const V2ThreadRollbackResponse__HookPromptFragment = Schema.Struct({ | ... | @@ -7656,6 +8046,14 @@ export const V2ThreadRollbackResponse__HookPromptFragment = Schema.Struct({ |
| 7656 | text: Schema.String, | 8046 | text: Schema.String, |
| 7657 | }); | 8047 | }); |
| 7658 | | 8048 | |
| | 8049 | export type V2ThreadRollbackResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 8050 | export const V2ThreadRollbackResponse__ImageDetail = Schema.Literals([ |
| | 8051 | "auto", |
| | 8052 | "low", |
| | 8053 | "high", |
| | 8054 | "original", |
| | 8055 | ]); |
| | 8056 | |
| 7659 | export type V2ThreadRollbackResponse__McpToolCallError = { readonly message: string }; | 8057 | export type V2ThreadRollbackResponse__McpToolCallError = { readonly message: string }; |
| 7660 | export const V2ThreadRollbackResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); | 8058 | export const V2ThreadRollbackResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); |
| 7661 | | 8059 | |
| ... | @@ -7741,24 +8139,20 @@ export const V2ThreadRollbackResponse__PatchChangeKind = Schema.Union( | ... | @@ -7741,24 +8139,20 @@ export const V2ThreadRollbackResponse__PatchChangeKind = Schema.Union( |
| 7741 | { mode: "oneOf" }, | 8139 | { mode: "oneOf" }, |
| 7742 | ); | 8140 | ); |
| 7743 | | 8141 | |
| 7744 | export type V2ThreadRollbackResponse__ReasoningEffort = | 8142 | export type V2ThreadRollbackResponse__ReasoningEffort = string; |
| 7745 | | "none" | 8143 | export const V2ThreadRollbackResponse__ReasoningEffort = Schema.String.annotate({ |
| 7746 | | "minimal" | 8144 | description: "A non-empty reasoning effort value advertised by the model.", |
| 7747 | | "low" | 8145 | }).check(Schema.isMinLength(1)); |
| 7748 | | "medium" | 8146 | |
| 7749 | | "high" | 8147 | export type V2ThreadRollbackResponse__SubAgentActivityKind = |
| 7750 | | "xhigh"; | 8148 | | "started" |
| 7751 | export const V2ThreadRollbackResponse__ReasoningEffort = Schema.Literals([ | 8149 | | "interacted" |
| 7752 | "none", | 8150 | | "interrupted"; |
| 7753 | "minimal", | 8151 | export const V2ThreadRollbackResponse__SubAgentActivityKind = Schema.Literals([ |
| 7754 | "low", | 8152 | "started", |
| 7755 | "medium", | 8153 | "interacted", |
| 7756 | "high", | 8154 | "interrupted", |
| 7757 | "xhigh", | 8155 | ]); |
| 7758 | ]).annotate({ | | |
| 7759 | description: | | |
| 7760 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 7761 | }); | | |
| 7762 | | 8156 | |
| 7763 | export type V2ThreadRollbackResponse__TextElement = { | 8157 | export type V2ThreadRollbackResponse__TextElement = { |
| 7764 | readonly byteRange: { readonly end: number; readonly start: number }; | 8158 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -7794,12 +8188,8 @@ export const V2ThreadRollbackResponse__ThreadActiveFlag = Schema.Literals([ | ... | @@ -7794,12 +8188,8 @@ export const V2ThreadRollbackResponse__ThreadActiveFlag = Schema.Literals([ |
| 7794 | export type V2ThreadRollbackResponse__ThreadId = string; | 8188 | export type V2ThreadRollbackResponse__ThreadId = string; |
| 7795 | export const V2ThreadRollbackResponse__ThreadId = Schema.String; | 8189 | export const V2ThreadRollbackResponse__ThreadId = Schema.String; |
| 7796 | | 8190 | |
| 7797 | export type V2ThreadRollbackResponse__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 8191 | export type V2ThreadRollbackResponse__ThreadSource = string; |
| 7798 | export const V2ThreadRollbackResponse__ThreadSource = Schema.Literals([ | 8192 | export const V2ThreadRollbackResponse__ThreadSource = Schema.String; |
| 7799 | "user", | | |
| 7800 | "subagent", | | |
| 7801 | "memory_consolidation", | | |
| 7802 | ]); | | |
| 7803 | | 8193 | |
| 7804 | export type V2ThreadRollbackResponse__TurnStatus = | 8194 | export type V2ThreadRollbackResponse__TurnStatus = |
| 7805 | | "completed" | 8195 | | "completed" |
| ... | @@ -7845,6 +8235,109 @@ export const V2ThreadRollbackResponse__WebSearchAction = Schema.Union( | ... | @@ -7845,6 +8235,109 @@ export const V2ThreadRollbackResponse__WebSearchAction = Schema.Union( |
| 7845 | { mode: "oneOf" }, | 8235 | { mode: "oneOf" }, |
| 7846 | ); | 8236 | ); |
| 7847 | | 8237 | |
| | 8238 | export type V2ThreadSettingsUpdatedNotification__AbsolutePathBuf = string; |
| | 8239 | export const V2ThreadSettingsUpdatedNotification__AbsolutePathBuf = Schema.String.annotate({ |
| | 8240 | description: |
| | 8241 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| | 8242 | }); |
| | 8243 | |
| | 8244 | export type V2ThreadSettingsUpdatedNotification__ActivePermissionProfile = { |
| | 8245 | readonly extends?: string | null; |
| | 8246 | readonly id: string; |
| | 8247 | }; |
| | 8248 | export const V2ThreadSettingsUpdatedNotification__ActivePermissionProfile = Schema.Struct({ |
| | 8249 | extends: Schema.optionalKey( |
| | 8250 | Schema.Union([ |
| | 8251 | Schema.String.annotate({ |
| | 8252 | description: |
| | 8253 | "Parent profile identifier from the selected permissions profile's `extends` setting, when present.", |
| | 8254 | }), |
| | 8255 | Schema.Null, |
| | 8256 | ]), |
| | 8257 | ), |
| | 8258 | id: Schema.String.annotate({ |
| | 8259 | description: |
| | 8260 | "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", |
| | 8261 | }), |
| | 8262 | }); |
| | 8263 | |
| | 8264 | export type V2ThreadSettingsUpdatedNotification__ApprovalsReviewer = |
| | 8265 | | "user" |
| | 8266 | | "auto_review" |
| | 8267 | | "guardian_subagent"; |
| | 8268 | export const V2ThreadSettingsUpdatedNotification__ApprovalsReviewer = Schema.Literals([ |
| | 8269 | "user", |
| | 8270 | "auto_review", |
| | 8271 | "guardian_subagent", |
| | 8272 | ]).annotate({ |
| | 8273 | description: |
| | 8274 | "Configures who approval requests are routed to for review. Examples include sandbox escapes, blocked network access, MCP approval prompts, and ARC escalations. Defaults to `user`. `auto_review` uses a carefully prompted subagent to gather relevant context and apply a risk-based decision framework before approving or denying the request. The legacy value `guardian_subagent` is accepted for compatibility.", |
| | 8275 | }); |
| | 8276 | |
| | 8277 | export type V2ThreadSettingsUpdatedNotification__AskForApproval = |
| | 8278 | | "untrusted" |
| | 8279 | | "on-failure" |
| | 8280 | | "on-request" |
| | 8281 | | "never" |
| | 8282 | | { |
| | 8283 | readonly granular: { |
| | 8284 | readonly mcp_elicitations: boolean; |
| | 8285 | readonly request_permissions?: boolean; |
| | 8286 | readonly rules: boolean; |
| | 8287 | readonly sandbox_approval: boolean; |
| | 8288 | readonly skill_approval?: boolean; |
| | 8289 | }; |
| | 8290 | }; |
| | 8291 | export const V2ThreadSettingsUpdatedNotification__AskForApproval = Schema.Union( |
| | 8292 | [ |
| | 8293 | Schema.Literals(["untrusted", "on-failure", "on-request", "never"]), |
| | 8294 | Schema.Struct({ |
| | 8295 | granular: Schema.Struct({ |
| | 8296 | mcp_elicitations: Schema.Boolean, |
| | 8297 | request_permissions: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 8298 | rules: Schema.Boolean, |
| | 8299 | sandbox_approval: Schema.Boolean, |
| | 8300 | skill_approval: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 8301 | }), |
| | 8302 | }).annotate({ title: "GranularAskForApproval" }), |
| | 8303 | ], |
| | 8304 | { mode: "oneOf" }, |
| | 8305 | ); |
| | 8306 | |
| | 8307 | export type V2ThreadSettingsUpdatedNotification__ModeKind = "plan" | "default"; |
| | 8308 | export const V2ThreadSettingsUpdatedNotification__ModeKind = Schema.Literals([ |
| | 8309 | "plan", |
| | 8310 | "default", |
| | 8311 | ]).annotate({ description: "Initial collaboration mode to use when the TUI starts." }); |
| | 8312 | |
| | 8313 | export type V2ThreadSettingsUpdatedNotification__Personality = "none" | "friendly" | "pragmatic"; |
| | 8314 | export const V2ThreadSettingsUpdatedNotification__Personality = Schema.Literals([ |
| | 8315 | "none", |
| | 8316 | "friendly", |
| | 8317 | "pragmatic", |
| | 8318 | ]); |
| | 8319 | |
| | 8320 | export type V2ThreadSettingsUpdatedNotification__ReasoningEffort = string; |
| | 8321 | export const V2ThreadSettingsUpdatedNotification__ReasoningEffort = Schema.String.annotate({ |
| | 8322 | description: "A non-empty reasoning effort value advertised by the model.", |
| | 8323 | }).check(Schema.isMinLength(1)); |
| | 8324 | |
| | 8325 | export type V2ThreadSettingsUpdatedNotification__ReasoningSummary = |
| | 8326 | | "auto" |
| | 8327 | | "concise" |
| | 8328 | | "detailed" |
| | 8329 | | "none"; |
| | 8330 | export const V2ThreadSettingsUpdatedNotification__ReasoningSummary = Schema.Union( |
| | 8331 | [ |
| | 8332 | Schema.Literals(["auto", "concise", "detailed"]), |
| | 8333 | Schema.Literal("none").annotate({ description: "Option to disable reasoning summaries." }), |
| | 8334 | ], |
| | 8335 | { mode: "oneOf" }, |
| | 8336 | ).annotate({ |
| | 8337 | description: |
| | 8338 | "A summary of the reasoning performed by the model. This can be useful for debugging and understanding the model's reasoning process. See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#reasoning-summaries", |
| | 8339 | }); |
| | 8340 | |
| 7848 | export type V2ThreadStartedNotification__AbsolutePathBuf = string; | 8341 | export type V2ThreadStartedNotification__AbsolutePathBuf = string; |
| 7849 | export const V2ThreadStartedNotification__AbsolutePathBuf = Schema.String.annotate({ | 8342 | export const V2ThreadStartedNotification__AbsolutePathBuf = Schema.String.annotate({ |
| 7850 | description: | 8343 | description: |
| ... | @@ -7935,6 +8428,14 @@ export const V2ThreadStartedNotification__HookPromptFragment = Schema.Struct({ | ... | @@ -7935,6 +8428,14 @@ export const V2ThreadStartedNotification__HookPromptFragment = Schema.Struct({ |
| 7935 | text: Schema.String, | 8428 | text: Schema.String, |
| 7936 | }); | 8429 | }); |
| 7937 | | 8430 | |
| | 8431 | export type V2ThreadStartedNotification__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 8432 | export const V2ThreadStartedNotification__ImageDetail = Schema.Literals([ |
| | 8433 | "auto", |
| | 8434 | "low", |
| | 8435 | "high", |
| | 8436 | "original", |
| | 8437 | ]); |
| | 8438 | |
| 7938 | export type V2ThreadStartedNotification__McpToolCallError = { readonly message: string }; | 8439 | export type V2ThreadStartedNotification__McpToolCallError = { readonly message: string }; |
| 7939 | export const V2ThreadStartedNotification__McpToolCallError = Schema.Struct({ | 8440 | export const V2ThreadStartedNotification__McpToolCallError = Schema.Struct({ |
| 7940 | message: Schema.String, | 8441 | message: Schema.String, |
| ... | @@ -8022,24 +8523,20 @@ export const V2ThreadStartedNotification__PatchChangeKind = Schema.Union( | ... | @@ -8022,24 +8523,20 @@ export const V2ThreadStartedNotification__PatchChangeKind = Schema.Union( |
| 8022 | { mode: "oneOf" }, | 8523 | { mode: "oneOf" }, |
| 8023 | ); | 8524 | ); |
| 8024 | | 8525 | |
| 8025 | export type V2ThreadStartedNotification__ReasoningEffort = | 8526 | export type V2ThreadStartedNotification__ReasoningEffort = string; |
| 8026 | | "none" | 8527 | export const V2ThreadStartedNotification__ReasoningEffort = Schema.String.annotate({ |
| 8027 | | "minimal" | 8528 | description: "A non-empty reasoning effort value advertised by the model.", |
| 8028 | | "low" | 8529 | }).check(Schema.isMinLength(1)); |
| 8029 | | "medium" | 8530 | |
| 8030 | | "high" | 8531 | export type V2ThreadStartedNotification__SubAgentActivityKind = |
| 8031 | | "xhigh"; | 8532 | | "started" |
| 8032 | export const V2ThreadStartedNotification__ReasoningEffort = Schema.Literals([ | 8533 | | "interacted" |
| 8033 | "none", | 8534 | | "interrupted"; |
| 8034 | "minimal", | 8535 | export const V2ThreadStartedNotification__SubAgentActivityKind = Schema.Literals([ |
| 8035 | "low", | 8536 | "started", |
| 8036 | "medium", | 8537 | "interacted", |
| 8037 | "high", | 8538 | "interrupted", |
| 8038 | "xhigh", | 8539 | ]); |
| 8039 | ]).annotate({ | | |
| 8040 | description: | | |
| 8041 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 8042 | }); | | |
| 8043 | | 8540 | |
| 8044 | export type V2ThreadStartedNotification__TextElement = { | 8541 | export type V2ThreadStartedNotification__TextElement = { |
| 8045 | readonly byteRange: { readonly end: number; readonly start: number }; | 8542 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -8077,15 +8574,8 @@ export const V2ThreadStartedNotification__ThreadActiveFlag = Schema.Literals([ | ... | @@ -8077,15 +8574,8 @@ export const V2ThreadStartedNotification__ThreadActiveFlag = Schema.Literals([ |
| 8077 | export type V2ThreadStartedNotification__ThreadId = string; | 8574 | export type V2ThreadStartedNotification__ThreadId = string; |
| 8078 | export const V2ThreadStartedNotification__ThreadId = Schema.String; | 8575 | export const V2ThreadStartedNotification__ThreadId = Schema.String; |
| 8079 | | 8576 | |
| 8080 | export type V2ThreadStartedNotification__ThreadSource = | 8577 | export type V2ThreadStartedNotification__ThreadSource = string; |
| 8081 | | "user" | 8578 | export const V2ThreadStartedNotification__ThreadSource = Schema.String; |
| 8082 | | "subagent" | | |
| 8083 | | "memory_consolidation"; | | |
| 8084 | export const V2ThreadStartedNotification__ThreadSource = Schema.Literals([ | | |
| 8085 | "user", | | |
| 8086 | "subagent", | | |
| 8087 | "memory_consolidation", | | |
| 8088 | ]); | | |
| 8089 | | 8579 | |
| 8090 | export type V2ThreadStartedNotification__TurnStatus = | 8580 | export type V2ThreadStartedNotification__TurnStatus = |
| 8091 | | "completed" | 8581 | | "completed" |
| ... | @@ -8190,12 +8680,8 @@ export const V2ThreadStartParams__SandboxMode = Schema.Literals([ | ... | @@ -8190,12 +8680,8 @@ export const V2ThreadStartParams__SandboxMode = Schema.Literals([ |
| 8190 | "danger-full-access", | 8680 | "danger-full-access", |
| 8191 | ]); | 8681 | ]); |
| 8192 | | 8682 | |
| 8193 | export type V2ThreadStartParams__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 8683 | export type V2ThreadStartParams__ThreadSource = string; |
| 8194 | export const V2ThreadStartParams__ThreadSource = Schema.Literals([ | 8684 | export const V2ThreadStartParams__ThreadSource = Schema.String; |
| 8195 | "user", | | |
| 8196 | "subagent", | | |
| 8197 | "memory_consolidation", | | |
| 8198 | ]); | | |
| 8199 | | 8685 | |
| 8200 | export type V2ThreadStartParams__ThreadStartSource = "startup" | "clear"; | 8686 | export type V2ThreadStartParams__ThreadStartSource = "startup" | "clear"; |
| 8201 | export const V2ThreadStartParams__ThreadStartSource = Schema.Literals(["startup", "clear"]); | 8687 | export const V2ThreadStartParams__ThreadStartSource = Schema.Literals(["startup", "clear"]); |
| ... | @@ -8297,47 +8783,6 @@ export const V2ThreadStartResponse__DynamicToolCallStatus = Schema.Literals([ | ... | @@ -8297,47 +8783,6 @@ export const V2ThreadStartResponse__DynamicToolCallStatus = Schema.Literals([ |
| 8297 | "failed", | 8783 | "failed", |
| 8298 | ]); | 8784 | ]); |
| 8299 | | 8785 | |
| 8300 | export type V2ThreadStartResponse__FileSystemAccessMode = "read" | "write" | "none"; | | |
| 8301 | export const V2ThreadStartResponse__FileSystemAccessMode = Schema.Literals([ | | |
| 8302 | "read", | | |
| 8303 | "write", | | |
| 8304 | "none", | | |
| 8305 | ]); | | |
| 8306 | | | |
| 8307 | export type V2ThreadStartResponse__FileSystemSpecialPath = | | |
| 8308 | | { readonly kind: "root" } | | |
| 8309 | | { readonly kind: "minimal" } | | |
| 8310 | | { readonly kind: "project_roots"; readonly subpath?: string | null } | | |
| 8311 | | { readonly kind: "tmpdir" } | | |
| 8312 | | { readonly kind: "slash_tmp" } | | |
| 8313 | | { readonly kind: "unknown"; readonly path: string; readonly subpath?: string | null }; | | |
| 8314 | export const V2ThreadStartResponse__FileSystemSpecialPath = Schema.Union( | | |
| 8315 | [ | | |
| 8316 | Schema.Struct({ kind: Schema.Literal("root") }).annotate({ | | |
| 8317 | title: "RootFileSystemSpecialPath", | | |
| 8318 | }), | | |
| 8319 | Schema.Struct({ kind: Schema.Literal("minimal") }).annotate({ | | |
| 8320 | title: "MinimalFileSystemSpecialPath", | | |
| 8321 | }), | | |
| 8322 | Schema.Struct({ | | |
| 8323 | kind: Schema.Literal("project_roots"), | | |
| 8324 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 8325 | }).annotate({ title: "KindFileSystemSpecialPath" }), | | |
| 8326 | Schema.Struct({ kind: Schema.Literal("tmpdir") }).annotate({ | | |
| 8327 | title: "TmpdirFileSystemSpecialPath", | | |
| 8328 | }), | | |
| 8329 | Schema.Struct({ kind: Schema.Literal("slash_tmp") }).annotate({ | | |
| 8330 | title: "SlashTmpFileSystemSpecialPath", | | |
| 8331 | }), | | |
| 8332 | Schema.Struct({ | | |
| 8333 | kind: Schema.Literal("unknown"), | | |
| 8334 | path: Schema.String, | | |
| 8335 | subpath: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 8336 | }), | | |
| 8337 | ], | | |
| 8338 | { mode: "oneOf" }, | | |
| 8339 | ); | | |
| 8340 | | | |
| 8341 | export type V2ThreadStartResponse__GitInfo = { | 8786 | export type V2ThreadStartResponse__GitInfo = { |
| 8342 | readonly branch?: string | null; | 8787 | readonly branch?: string | null; |
| 8343 | readonly originUrl?: string | null; | 8788 | readonly originUrl?: string | null; |
| ... | @@ -8358,6 +8803,14 @@ export const V2ThreadStartResponse__HookPromptFragment = Schema.Struct({ | ... | @@ -8358,6 +8803,14 @@ export const V2ThreadStartResponse__HookPromptFragment = Schema.Struct({ |
| 8358 | text: Schema.String, | 8803 | text: Schema.String, |
| 8359 | }); | 8804 | }); |
| 8360 | | 8805 | |
| | 8806 | export type V2ThreadStartResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 8807 | export const V2ThreadStartResponse__ImageDetail = Schema.Literals([ |
| | 8808 | "auto", |
| | 8809 | "low", |
| | 8810 | "high", |
| | 8811 | "original", |
| | 8812 | ]); |
| | 8813 | |
| 8361 | export type V2ThreadStartResponse__McpToolCallError = { readonly message: string }; | 8814 | export type V2ThreadStartResponse__McpToolCallError = { readonly message: string }; |
| 8362 | export const V2ThreadStartResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); | 8815 | export const V2ThreadStartResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); |
| 8363 | | 8816 | |
| ... | @@ -8440,31 +8893,17 @@ export const V2ThreadStartResponse__PatchChangeKind = Schema.Union( | ... | @@ -8440,31 +8893,17 @@ export const V2ThreadStartResponse__PatchChangeKind = Schema.Union( |
| 8440 | { mode: "oneOf" }, | 8893 | { mode: "oneOf" }, |
| 8441 | ); | 8894 | ); |
| 8442 | | 8895 | |
| 8443 | export type V2ThreadStartResponse__PermissionProfileNetworkPermissions = { | 8896 | export type V2ThreadStartResponse__ReasoningEffort = string; |
| 8444 | readonly enabled: boolean; | 8897 | export const V2ThreadStartResponse__ReasoningEffort = Schema.String.annotate({ |
| 8445 | }; | 8898 | description: "A non-empty reasoning effort value advertised by the model.", |
| 8446 | export const V2ThreadStartResponse__PermissionProfileNetworkPermissions = Schema.Struct({ | 8899 | }).check(Schema.isMinLength(1)); |
| 8447 | enabled: Schema.Boolean, | | |
| 8448 | }); | | |
| 8449 | | 8900 | |
| 8450 | export type V2ThreadStartResponse__ReasoningEffort = | 8901 | export type V2ThreadStartResponse__SubAgentActivityKind = "started" | "interacted" | "interrupted"; |
| 8451 | | "none" | 8902 | export const V2ThreadStartResponse__SubAgentActivityKind = Schema.Literals([ |
| 8452 | | "minimal" | 8903 | "started", |
| 8453 | | "low" | 8904 | "interacted", |
| 8454 | | "medium" | 8905 | "interrupted", |
| 8455 | | "high" | 8906 | ]); |
| 8456 | | "xhigh"; | | |
| 8457 | export const V2ThreadStartResponse__ReasoningEffort = Schema.Literals([ | | |
| 8458 | "none", | | |
| 8459 | "minimal", | | |
| 8460 | "low", | | |
| 8461 | "medium", | | |
| 8462 | "high", | | |
| 8463 | "xhigh", | | |
| 8464 | ]).annotate({ | | |
| 8465 | description: | | |
| 8466 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 8467 | }); | | |
| 8468 | | 8907 | |
| 8469 | export type V2ThreadStartResponse__TextElement = { | 8908 | export type V2ThreadStartResponse__TextElement = { |
| 8470 | readonly byteRange: { readonly end: number; readonly start: number }; | 8909 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -8500,12 +8939,8 @@ export const V2ThreadStartResponse__ThreadActiveFlag = Schema.Literals([ | ... | @@ -8500,12 +8939,8 @@ export const V2ThreadStartResponse__ThreadActiveFlag = Schema.Literals([ |
| 8500 | export type V2ThreadStartResponse__ThreadId = string; | 8939 | export type V2ThreadStartResponse__ThreadId = string; |
| 8501 | export const V2ThreadStartResponse__ThreadId = Schema.String; | 8940 | export const V2ThreadStartResponse__ThreadId = Schema.String; |
| 8502 | | 8941 | |
| 8503 | export type V2ThreadStartResponse__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 8942 | export type V2ThreadStartResponse__ThreadSource = string; |
| 8504 | export const V2ThreadStartResponse__ThreadSource = Schema.Literals([ | 8943 | export const V2ThreadStartResponse__ThreadSource = Schema.String; |
| 8505 | "user", | | |
| 8506 | "subagent", | | |
| 8507 | "memory_consolidation", | | |
| 8508 | ]); | | |
| 8509 | | 8944 | |
| 8510 | export type V2ThreadStartResponse__TurnStatus = | 8945 | export type V2ThreadStartResponse__TurnStatus = |
| 8511 | | "completed" | 8946 | | "completed" |
| ... | @@ -8664,6 +9099,14 @@ export const V2ThreadUnarchiveResponse__HookPromptFragment = Schema.Struct({ | ... | @@ -8664,6 +9099,14 @@ export const V2ThreadUnarchiveResponse__HookPromptFragment = Schema.Struct({ |
| 8664 | text: Schema.String, | 9099 | text: Schema.String, |
| 8665 | }); | 9100 | }); |
| 8666 | | 9101 | |
| | 9102 | export type V2ThreadUnarchiveResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 9103 | export const V2ThreadUnarchiveResponse__ImageDetail = Schema.Literals([ |
| | 9104 | "auto", |
| | 9105 | "low", |
| | 9106 | "high", |
| | 9107 | "original", |
| | 9108 | ]); |
| | 9109 | |
| 8667 | export type V2ThreadUnarchiveResponse__McpToolCallError = { readonly message: string }; | 9110 | export type V2ThreadUnarchiveResponse__McpToolCallError = { readonly message: string }; |
| 8668 | export const V2ThreadUnarchiveResponse__McpToolCallError = Schema.Struct({ | 9111 | export const V2ThreadUnarchiveResponse__McpToolCallError = Schema.Struct({ |
| 8669 | message: Schema.String, | 9112 | message: Schema.String, |
| ... | @@ -8751,24 +9194,20 @@ export const V2ThreadUnarchiveResponse__PatchChangeKind = Schema.Union( | ... | @@ -8751,24 +9194,20 @@ export const V2ThreadUnarchiveResponse__PatchChangeKind = Schema.Union( |
| 8751 | { mode: "oneOf" }, | 9194 | { mode: "oneOf" }, |
| 8752 | ); | 9195 | ); |
| 8753 | | 9196 | |
| 8754 | export type V2ThreadUnarchiveResponse__ReasoningEffort = | 9197 | export type V2ThreadUnarchiveResponse__ReasoningEffort = string; |
| 8755 | | "none" | 9198 | export const V2ThreadUnarchiveResponse__ReasoningEffort = Schema.String.annotate({ |
| 8756 | | "minimal" | 9199 | description: "A non-empty reasoning effort value advertised by the model.", |
| 8757 | | "low" | 9200 | }).check(Schema.isMinLength(1)); |
| 8758 | | "medium" | 9201 | |
| 8759 | | "high" | 9202 | export type V2ThreadUnarchiveResponse__SubAgentActivityKind = |
| 8760 | | "xhigh"; | 9203 | | "started" |
| 8761 | export const V2ThreadUnarchiveResponse__ReasoningEffort = Schema.Literals([ | 9204 | | "interacted" |
| 8762 | "none", | 9205 | | "interrupted"; |
| 8763 | "minimal", | 9206 | export const V2ThreadUnarchiveResponse__SubAgentActivityKind = Schema.Literals([ |
| 8764 | "low", | 9207 | "started", |
| 8765 | "medium", | 9208 | "interacted", |
| 8766 | "high", | 9209 | "interrupted", |
| 8767 | "xhigh", | 9210 | ]); |
| 8768 | ]).annotate({ | | |
| 8769 | description: | | |
| 8770 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 8771 | }); | | |
| 8772 | | 9211 | |
| 8773 | export type V2ThreadUnarchiveResponse__TextElement = { | 9212 | export type V2ThreadUnarchiveResponse__TextElement = { |
| 8774 | readonly byteRange: { readonly end: number; readonly start: number }; | 9213 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -8806,12 +9245,8 @@ export const V2ThreadUnarchiveResponse__ThreadActiveFlag = Schema.Literals([ | ... | @@ -8806,12 +9245,8 @@ export const V2ThreadUnarchiveResponse__ThreadActiveFlag = Schema.Literals([ |
| 8806 | export type V2ThreadUnarchiveResponse__ThreadId = string; | 9245 | export type V2ThreadUnarchiveResponse__ThreadId = string; |
| 8807 | export const V2ThreadUnarchiveResponse__ThreadId = Schema.String; | 9246 | export const V2ThreadUnarchiveResponse__ThreadId = Schema.String; |
| 8808 | | 9247 | |
| 8809 | export type V2ThreadUnarchiveResponse__ThreadSource = "user" | "subagent" | "memory_consolidation"; | 9248 | export type V2ThreadUnarchiveResponse__ThreadSource = string; |
| 8810 | export const V2ThreadUnarchiveResponse__ThreadSource = Schema.Literals([ | 9249 | export const V2ThreadUnarchiveResponse__ThreadSource = Schema.String; |
| 8811 | "user", | | |
| 8812 | "subagent", | | |
| 8813 | "memory_consolidation", | | |
| 8814 | ]); | | |
| 8815 | | 9250 | |
| 8816 | export type V2ThreadUnarchiveResponse__TurnStatus = | 9251 | export type V2ThreadUnarchiveResponse__TurnStatus = |
| 8817 | | "completed" | 9252 | | "completed" |
| ... | @@ -8943,6 +9378,14 @@ export const V2TurnCompletedNotification__HookPromptFragment = Schema.Struct({ | ... | @@ -8943,6 +9378,14 @@ export const V2TurnCompletedNotification__HookPromptFragment = Schema.Struct({ |
| 8943 | text: Schema.String, | 9378 | text: Schema.String, |
| 8944 | }); | 9379 | }); |
| 8945 | | 9380 | |
| | 9381 | export type V2TurnCompletedNotification__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 9382 | export const V2TurnCompletedNotification__ImageDetail = Schema.Literals([ |
| | 9383 | "auto", |
| | 9384 | "low", |
| | 9385 | "high", |
| | 9386 | "original", |
| | 9387 | ]); |
| | 9388 | |
| 8946 | export type V2TurnCompletedNotification__McpToolCallError = { readonly message: string }; | 9389 | export type V2TurnCompletedNotification__McpToolCallError = { readonly message: string }; |
| 8947 | export const V2TurnCompletedNotification__McpToolCallError = Schema.Struct({ | 9390 | export const V2TurnCompletedNotification__McpToolCallError = Schema.Struct({ |
| 8948 | message: Schema.String, | 9391 | message: Schema.String, |
| ... | @@ -9030,24 +9473,20 @@ export const V2TurnCompletedNotification__PatchChangeKind = Schema.Union( | ... | @@ -9030,24 +9473,20 @@ export const V2TurnCompletedNotification__PatchChangeKind = Schema.Union( |
| 9030 | { mode: "oneOf" }, | 9473 | { mode: "oneOf" }, |
| 9031 | ); | 9474 | ); |
| 9032 | | 9475 | |
| 9033 | export type V2TurnCompletedNotification__ReasoningEffort = | 9476 | export type V2TurnCompletedNotification__ReasoningEffort = string; |
| 9034 | | "none" | 9477 | export const V2TurnCompletedNotification__ReasoningEffort = Schema.String.annotate({ |
| 9035 | | "minimal" | 9478 | description: "A non-empty reasoning effort value advertised by the model.", |
| 9036 | | "low" | 9479 | }).check(Schema.isMinLength(1)); |
| 9037 | | "medium" | 9480 | |
| 9038 | | "high" | 9481 | export type V2TurnCompletedNotification__SubAgentActivityKind = |
| 9039 | | "xhigh"; | 9482 | | "started" |
| 9040 | export const V2TurnCompletedNotification__ReasoningEffort = Schema.Literals([ | 9483 | | "interacted" |
| 9041 | "none", | 9484 | | "interrupted"; |
| 9042 | "minimal", | 9485 | export const V2TurnCompletedNotification__SubAgentActivityKind = Schema.Literals([ |
| 9043 | "low", | 9486 | "started", |
| 9044 | "medium", | 9487 | "interacted", |
| 9045 | "high", | 9488 | "interrupted", |
| 9046 | "xhigh", | 9489 | ]); |
| 9047 | ]).annotate({ | | |
| 9048 | description: | | |
| 9049 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 9050 | }); | | |
| 9051 | | 9490 | |
| 9052 | export type V2TurnCompletedNotification__TextElement = { | 9491 | export type V2TurnCompletedNotification__TextElement = { |
| 9053 | readonly byteRange: { readonly end: number; readonly start: number }; | 9492 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -9204,6 +9643,14 @@ export const V2TurnStartedNotification__HookPromptFragment = Schema.Struct({ | ... | @@ -9204,6 +9643,14 @@ export const V2TurnStartedNotification__HookPromptFragment = Schema.Struct({ |
| 9204 | text: Schema.String, | 9643 | text: Schema.String, |
| 9205 | }); | 9644 | }); |
| 9206 | | 9645 | |
| | 9646 | export type V2TurnStartedNotification__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 9647 | export const V2TurnStartedNotification__ImageDetail = Schema.Literals([ |
| | 9648 | "auto", |
| | 9649 | "low", |
| | 9650 | "high", |
| | 9651 | "original", |
| | 9652 | ]); |
| | 9653 | |
| 9207 | export type V2TurnStartedNotification__McpToolCallError = { readonly message: string }; | 9654 | export type V2TurnStartedNotification__McpToolCallError = { readonly message: string }; |
| 9208 | export const V2TurnStartedNotification__McpToolCallError = Schema.Struct({ | 9655 | export const V2TurnStartedNotification__McpToolCallError = Schema.Struct({ |
| 9209 | message: Schema.String, | 9656 | message: Schema.String, |
| ... | @@ -9291,24 +9738,20 @@ export const V2TurnStartedNotification__PatchChangeKind = Schema.Union( | ... | @@ -9291,24 +9738,20 @@ export const V2TurnStartedNotification__PatchChangeKind = Schema.Union( |
| 9291 | { mode: "oneOf" }, | 9738 | { mode: "oneOf" }, |
| 9292 | ); | 9739 | ); |
| 9293 | | 9740 | |
| 9294 | export type V2TurnStartedNotification__ReasoningEffort = | 9741 | export type V2TurnStartedNotification__ReasoningEffort = string; |
| 9295 | | "none" | 9742 | export const V2TurnStartedNotification__ReasoningEffort = Schema.String.annotate({ |
| 9296 | | "minimal" | 9743 | description: "A non-empty reasoning effort value advertised by the model.", |
| 9297 | | "low" | 9744 | }).check(Schema.isMinLength(1)); |
| 9298 | | "medium" | 9745 | |
| 9299 | | "high" | 9746 | export type V2TurnStartedNotification__SubAgentActivityKind = |
| 9300 | | "xhigh"; | 9747 | | "started" |
| 9301 | export const V2TurnStartedNotification__ReasoningEffort = Schema.Literals([ | 9748 | | "interacted" |
| 9302 | "none", | 9749 | | "interrupted"; |
| 9303 | "minimal", | 9750 | export const V2TurnStartedNotification__SubAgentActivityKind = Schema.Literals([ |
| 9304 | "low", | 9751 | "started", |
| 9305 | "medium", | 9752 | "interacted", |
| 9306 | "high", | 9753 | "interrupted", |
| 9307 | "xhigh", | 9754 | ]); |
| 9308 | ]).annotate({ | | |
| 9309 | description: | | |
| 9310 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 9311 | }); | | |
| 9312 | | 9755 | |
| 9313 | export type V2TurnStartedNotification__TextElement = { | 9756 | export type V2TurnStartedNotification__TextElement = { |
| 9314 | readonly byteRange: { readonly end: number; readonly start: number }; | 9757 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -9385,6 +9828,12 @@ export const V2TurnStartParams__AbsolutePathBuf = Schema.String.annotate({ | ... | @@ -9385,6 +9828,12 @@ export const V2TurnStartParams__AbsolutePathBuf = Schema.String.annotate({ |
| 9385 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", | 9828 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| 9386 | }); | 9829 | }); |
| 9387 | | 9830 | |
| | 9831 | export type V2TurnStartParams__AdditionalContextKind = "untrusted" | "application"; |
| | 9832 | export const V2TurnStartParams__AdditionalContextKind = Schema.Literals([ |
| | 9833 | "untrusted", |
| | 9834 | "application", |
| | 9835 | ]); |
| | 9836 | |
| 9388 | export type V2TurnStartParams__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; | 9837 | export type V2TurnStartParams__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; |
| 9389 | export const V2TurnStartParams__ApprovalsReviewer = Schema.Literals([ | 9838 | export const V2TurnStartParams__ApprovalsReviewer = Schema.Literals([ |
| 9390 | "user", | 9839 | "user", |
| ... | @@ -9425,6 +9874,9 @@ export const V2TurnStartParams__AskForApproval = Schema.Union( | ... | @@ -9425,6 +9874,9 @@ export const V2TurnStartParams__AskForApproval = Schema.Union( |
| 9425 | { mode: "oneOf" }, | 9874 | { mode: "oneOf" }, |
| 9426 | ); | 9875 | ); |
| 9427 | | 9876 | |
| | 9877 | export type V2TurnStartParams__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 9878 | export const V2TurnStartParams__ImageDetail = Schema.Literals(["auto", "low", "high", "original"]); |
| | 9879 | |
| 9428 | export type V2TurnStartParams__ModeKind = "plan" | "default"; | 9880 | export type V2TurnStartParams__ModeKind = "plan" | "default"; |
| 9429 | export const V2TurnStartParams__ModeKind = Schema.Literals(["plan", "default"]).annotate({ | 9881 | export const V2TurnStartParams__ModeKind = Schema.Literals(["plan", "default"]).annotate({ |
| 9430 | description: "Initial collaboration mode to use when the TUI starts.", | 9882 | description: "Initial collaboration mode to use when the TUI starts.", |
| ... | @@ -9433,24 +9885,10 @@ export const V2TurnStartParams__ModeKind = Schema.Literals(["plan", "default"]). | ... | @@ -9433,24 +9885,10 @@ export const V2TurnStartParams__ModeKind = Schema.Literals(["plan", "default"]). |
| 9433 | export type V2TurnStartParams__Personality = "none" | "friendly" | "pragmatic"; | 9885 | export type V2TurnStartParams__Personality = "none" | "friendly" | "pragmatic"; |
| 9434 | export const V2TurnStartParams__Personality = Schema.Literals(["none", "friendly", "pragmatic"]); | 9886 | export const V2TurnStartParams__Personality = Schema.Literals(["none", "friendly", "pragmatic"]); |
| 9435 | | 9887 | |
| 9436 | export type V2TurnStartParams__ReasoningEffort = | 9888 | export type V2TurnStartParams__ReasoningEffort = string; |
| 9437 | | "none" | 9889 | export const V2TurnStartParams__ReasoningEffort = Schema.String.annotate({ |
| 9438 | | "minimal" | 9890 | description: "A non-empty reasoning effort value advertised by the model.", |
| 9439 | | "low" | 9891 | }).check(Schema.isMinLength(1)); |
| 9440 | | "medium" | | |
| 9441 | | "high" | | |
| 9442 | | "xhigh"; | | |
| 9443 | export const V2TurnStartParams__ReasoningEffort = Schema.Literals([ | | |
| 9444 | "none", | | |
| 9445 | "minimal", | | |
| 9446 | "low", | | |
| 9447 | "medium", | | |
| 9448 | "high", | | |
| 9449 | "xhigh", | | |
| 9450 | ]).annotate({ | | |
| 9451 | description: | | |
| 9452 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 9453 | }); | | |
| 9454 | | 9892 | |
| 9455 | export type V2TurnStartParams__ReasoningSummary = "auto" | "concise" | "detailed" | "none"; | 9893 | export type V2TurnStartParams__ReasoningSummary = "auto" | "concise" | "detailed" | "none"; |
| 9456 | export const V2TurnStartParams__ReasoningSummary = Schema.Union( | 9894 | export const V2TurnStartParams__ReasoningSummary = Schema.Union( |
| ... | @@ -9562,6 +10000,14 @@ export const V2TurnStartResponse__HookPromptFragment = Schema.Struct({ | ... | @@ -9562,6 +10000,14 @@ export const V2TurnStartResponse__HookPromptFragment = Schema.Struct({ |
| 9562 | text: Schema.String, | 10000 | text: Schema.String, |
| 9563 | }); | 10001 | }); |
| 9564 | | 10002 | |
| | 10003 | export type V2TurnStartResponse__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 10004 | export const V2TurnStartResponse__ImageDetail = Schema.Literals([ |
| | 10005 | "auto", |
| | 10006 | "low", |
| | 10007 | "high", |
| | 10008 | "original", |
| | 10009 | ]); |
| | 10010 | |
| 9565 | export type V2TurnStartResponse__McpToolCallError = { readonly message: string }; | 10011 | export type V2TurnStartResponse__McpToolCallError = { readonly message: string }; |
| 9566 | export const V2TurnStartResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); | 10012 | export const V2TurnStartResponse__McpToolCallError = Schema.Struct({ message: Schema.String }); |
| 9567 | | 10013 | |
| ... | @@ -9644,24 +10090,17 @@ export const V2TurnStartResponse__PatchChangeKind = Schema.Union( | ... | @@ -9644,24 +10090,17 @@ export const V2TurnStartResponse__PatchChangeKind = Schema.Union( |
| 9644 | { mode: "oneOf" }, | 10090 | { mode: "oneOf" }, |
| 9645 | ); | 10091 | ); |
| 9646 | | 10092 | |
| 9647 | export type V2TurnStartResponse__ReasoningEffort = | 10093 | export type V2TurnStartResponse__ReasoningEffort = string; |
| 9648 | | "none" | 10094 | export const V2TurnStartResponse__ReasoningEffort = Schema.String.annotate({ |
| 9649 | | "minimal" | 10095 | description: "A non-empty reasoning effort value advertised by the model.", |
| 9650 | | "low" | 10096 | }).check(Schema.isMinLength(1)); |
| 9651 | | "medium" | 10097 | |
| 9652 | | "high" | 10098 | export type V2TurnStartResponse__SubAgentActivityKind = "started" | "interacted" | "interrupted"; |
| 9653 | | "xhigh"; | 10099 | export const V2TurnStartResponse__SubAgentActivityKind = Schema.Literals([ |
| 9654 | export const V2TurnStartResponse__ReasoningEffort = Schema.Literals([ | 10100 | "started", |
| 9655 | "none", | 10101 | "interacted", |
| 9656 | "minimal", | 10102 | "interrupted", |
| 9657 | "low", | 10103 | ]); |
| 9658 | "medium", | | |
| 9659 | "high", | | |
| 9660 | "xhigh", | | |
| 9661 | ]).annotate({ | | |
| 9662 | description: | | |
| 9663 | "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", | | |
| 9664 | }); | | |
| 9665 | | 10104 | |
| 9666 | export type V2TurnStartResponse__TextElement = { | 10105 | export type V2TurnStartResponse__TextElement = { |
| 9667 | readonly byteRange: { readonly end: number; readonly start: number }; | 10106 | readonly byteRange: { readonly end: number; readonly start: number }; |
| ... | @@ -9728,6 +10167,15 @@ export const V2TurnStartResponse__WebSearchAction = Schema.Union( | ... | @@ -9728,6 +10167,15 @@ export const V2TurnStartResponse__WebSearchAction = Schema.Union( |
| 9728 | { mode: "oneOf" }, | 10167 | { mode: "oneOf" }, |
| 9729 | ); | 10168 | ); |
| 9730 | | 10169 | |
| | 10170 | export type V2TurnSteerParams__AdditionalContextKind = "untrusted" | "application"; |
| | 10171 | export const V2TurnSteerParams__AdditionalContextKind = Schema.Literals([ |
| | 10172 | "untrusted", |
| | 10173 | "application", |
| | 10174 | ]); |
| | 10175 | |
| | 10176 | export type V2TurnSteerParams__ImageDetail = "auto" | "low" | "high" | "original"; |
| | 10177 | export const V2TurnSteerParams__ImageDetail = Schema.Literals(["auto", "low", "high", "original"]); |
| | 10178 | |
| 9731 | export type V2TurnSteerParams__TextElement = { | 10179 | export type V2TurnSteerParams__TextElement = { |
| 9732 | readonly byteRange: { readonly end: number; readonly start: number }; | 10180 | readonly byteRange: { readonly end: number; readonly start: number }; |
| 9733 | readonly placeholder?: string | null; | 10181 | readonly placeholder?: string | null; |
| ... | @@ -9792,25 +10240,6 @@ export const ApplyPatchApprovalResponse__NetworkPolicyAmendment = Schema.Struct( | ... | @@ -9792,25 +10240,6 @@ export const ApplyPatchApprovalResponse__NetworkPolicyAmendment = Schema.Struct( |
| 9792 | host: Schema.String, | 10240 | host: Schema.String, |
| 9793 | }); | 10241 | }); |
| 9794 | | 10242 | |
| 9795 | export type ClientRequest__PermissionProfileModificationParams = { | | |
| 9796 | readonly path: ClientRequest__AbsolutePathBuf; | | |
| 9797 | readonly type: "additionalWritableRoot"; | | |
| 9798 | }; | | |
| 9799 | export const ClientRequest__PermissionProfileModificationParams = Schema.Union( | | |
| 9800 | [ | | |
| 9801 | Schema.Struct({ | | |
| 9802 | path: ClientRequest__AbsolutePathBuf, | | |
| 9803 | type: Schema.Literal("additionalWritableRoot").annotate({ | | |
| 9804 | title: "AdditionalWritableRootPermissionProfileModificationParamsType", | | |
| 9805 | }), | | |
| 9806 | }).annotate({ | | |
| 9807 | title: "AdditionalWritableRootPermissionProfileModificationParams", | | |
| 9808 | description: "Additional concrete directory that should be writable.", | | |
| 9809 | }), | | |
| 9810 | ], | | |
| 9811 | { mode: "oneOf" }, | | |
| 9812 | ); | | |
| 9813 | | | |
| 9814 | export type ClientRequest__PluginInstallParams = { | 10243 | export type ClientRequest__PluginInstallParams = { |
| 9815 | readonly marketplacePath?: ClientRequest__AbsolutePathBuf | null; | 10244 | readonly marketplacePath?: ClientRequest__AbsolutePathBuf | null; |
| 9816 | readonly pluginName: string; | 10245 | readonly pluginName: string; |
| ... | @@ -9822,6 +10251,30 @@ export const ClientRequest__PluginInstallParams = Schema.Struct({ | ... | @@ -9822,6 +10251,30 @@ export const ClientRequest__PluginInstallParams = Schema.Struct({ |
| 9822 | remoteMarketplaceName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 10251 | remoteMarketplaceName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 9823 | }); | 10252 | }); |
| 9824 | | 10253 | |
| | 10254 | export type ClientRequest__PluginInstalledParams = { |
| | 10255 | readonly cwds?: ReadonlyArray<ClientRequest__AbsolutePathBuf> | null; |
| | 10256 | readonly installSuggestionPluginNames?: ReadonlyArray<string> | null; |
| | 10257 | }; |
| | 10258 | export const ClientRequest__PluginInstalledParams = Schema.Struct({ |
| | 10259 | cwds: Schema.optionalKey( |
| | 10260 | Schema.Union([ |
| | 10261 | Schema.Array(ClientRequest__AbsolutePathBuf).annotate({ |
| | 10262 | description: "Optional working directories used to discover repo marketplaces.", |
| | 10263 | }), |
| | 10264 | Schema.Null, |
| | 10265 | ]), |
| | 10266 | ), |
| | 10267 | installSuggestionPluginNames: Schema.optionalKey( |
| | 10268 | Schema.Union([ |
| | 10269 | Schema.Array(Schema.String).annotate({ |
| | 10270 | description: |
| | 10271 | "Additional uninstalled plugin names that should be returned when present locally. This is used by mention surfaces that intentionally expose install entrypoints.", |
| | 10272 | }), |
| | 10273 | Schema.Null, |
| | 10274 | ]), |
| | 10275 | ), |
| | 10276 | }); |
| | 10277 | |
| 9825 | export type ClientRequest__PluginReadParams = { | 10278 | export type ClientRequest__PluginReadParams = { |
| 9826 | readonly marketplacePath?: ClientRequest__AbsolutePathBuf | null; | 10279 | readonly marketplacePath?: ClientRequest__AbsolutePathBuf | null; |
| 9827 | readonly pluginName: string; | 10280 | readonly pluginName: string; |
| ... | @@ -9893,6 +10346,13 @@ export const ClientRequest__SkillsConfigWriteParams = Schema.Struct({ | ... | @@ -9893,6 +10346,13 @@ export const ClientRequest__SkillsConfigWriteParams = Schema.Struct({ |
| 9893 | ), | 10346 | ), |
| 9894 | }); | 10347 | }); |
| 9895 | | 10348 | |
| | 10349 | export type ClientRequest__SkillsExtraRootsSetParams = { |
| | 10350 | readonly extraRoots: ReadonlyArray<ClientRequest__AbsolutePathBuf>; |
| | 10351 | }; |
| | 10352 | export const ClientRequest__SkillsExtraRootsSetParams = Schema.Struct({ |
| | 10353 | extraRoots: Schema.Array(ClientRequest__AbsolutePathBuf), |
| | 10354 | }); |
| | 10355 | |
| 9896 | export type ClientRequest__SendAddCreditsNudgeEmailParams = { | 10356 | export type ClientRequest__SendAddCreditsNudgeEmailParams = { |
| 9897 | readonly creditType: ClientRequest__AddCreditsNudgeCreditType; | 10357 | readonly creditType: ClientRequest__AddCreditsNudgeCreditType; |
| 9898 | }; | 10358 | }; |
| ... | @@ -9900,28 +10360,6 @@ export const ClientRequest__SendAddCreditsNudgeEmailParams = Schema.Struct({ | ... | @@ -9900,28 +10360,6 @@ export const ClientRequest__SendAddCreditsNudgeEmailParams = Schema.Struct({ |
| 9900 | creditType: ClientRequest__AddCreditsNudgeCreditType, | 10360 | creditType: ClientRequest__AddCreditsNudgeCreditType, |
| 9901 | }); | 10361 | }); |
| 9902 | | 10362 | |
| 9903 | export type ClientRequest__FileSystemPath = | | |
| 9904 | | { readonly path: ClientRequest__AbsolutePathBuf; readonly type: "path" } | | |
| 9905 | | { readonly pattern: string; readonly type: "glob_pattern" } | | |
| 9906 | | { readonly type: "special"; readonly value: ClientRequest__FileSystemSpecialPath }; | | |
| 9907 | export const ClientRequest__FileSystemPath = Schema.Union( | | |
| 9908 | [ | | |
| 9909 | Schema.Struct({ | | |
| 9910 | path: ClientRequest__AbsolutePathBuf, | | |
| 9911 | type: Schema.Literal("path").annotate({ title: "PathFileSystemPathType" }), | | |
| 9912 | }).annotate({ title: "PathFileSystemPath" }), | | |
| 9913 | Schema.Struct({ | | |
| 9914 | pattern: Schema.String, | | |
| 9915 | type: Schema.Literal("glob_pattern").annotate({ title: "GlobPatternFileSystemPathType" }), | | |
| 9916 | }).annotate({ title: "GlobPatternFileSystemPath" }), | | |
| 9917 | Schema.Struct({ | | |
| 9918 | type: Schema.Literal("special").annotate({ title: "SpecialFileSystemPathType" }), | | |
| 9919 | value: ClientRequest__FileSystemSpecialPath, | | |
| 9920 | }).annotate({ title: "SpecialFileSystemPath" }), | | |
| 9921 | ], | | |
| 9922 | { mode: "oneOf" }, | | |
| 9923 | ); | | |
| 9924 | | | |
| 9925 | export type ClientRequest__ContentItem = | 10363 | export type ClientRequest__ContentItem = |
| 9926 | | { readonly text: string; readonly type: "input_text" } | 10364 | | { readonly text: string; readonly type: "input_text" } |
| 9927 | | { | 10365 | | { |
| ... | @@ -9955,7 +10393,8 @@ export type ClientRequest__FunctionCallOutputContentItem = | ... | @@ -9955,7 +10393,8 @@ export type ClientRequest__FunctionCallOutputContentItem = |
| 9955 | readonly detail?: ClientRequest__ImageDetail | null; | 10393 | readonly detail?: ClientRequest__ImageDetail | null; |
| 9956 | readonly image_url: string; | 10394 | readonly image_url: string; |
| 9957 | readonly type: "input_image"; | 10395 | readonly type: "input_image"; |
| 9958 | }; | 10396 | } |
| | 10397 | | { readonly encrypted_content: string; readonly type: "encrypted_content" }; |
| 9959 | export const ClientRequest__FunctionCallOutputContentItem = Schema.Union( | 10398 | export const ClientRequest__FunctionCallOutputContentItem = Schema.Union( |
| 9960 | [ | 10399 | [ |
| 9961 | Schema.Struct({ | 10400 | Schema.Struct({ |
| ... | @@ -9971,6 +10410,12 @@ export const ClientRequest__FunctionCallOutputContentItem = Schema.Union( | ... | @@ -9971,6 +10410,12 @@ export const ClientRequest__FunctionCallOutputContentItem = Schema.Union( |
| 9971 | title: "InputImageFunctionCallOutputContentItemType", | 10410 | title: "InputImageFunctionCallOutputContentItemType", |
| 9972 | }), | 10411 | }), |
| 9973 | }).annotate({ title: "InputImageFunctionCallOutputContentItem" }), | 10412 | }).annotate({ title: "InputImageFunctionCallOutputContentItem" }), |
| | 10413 | Schema.Struct({ |
| | 10414 | encrypted_content: Schema.String, |
| | 10415 | type: Schema.Literal("encrypted_content").annotate({ |
| | 10416 | title: "EncryptedContentFunctionCallOutputContentItemType", |
| | 10417 | }), |
| | 10418 | }).annotate({ title: "EncryptedContentFunctionCallOutputContentItem" }), |
| 9974 | ], | 10419 | ], |
| 9975 | { mode: "oneOf" }, | 10420 | { mode: "oneOf" }, |
| 9976 | ).annotate({ | 10421 | ).annotate({ |
| ... | @@ -9993,6 +10438,7 @@ export type ClientRequest__ListMcpServerStatusParams = { | ... | @@ -9993,6 +10438,7 @@ export type ClientRequest__ListMcpServerStatusParams = { |
| 9993 | readonly cursor?: string | null; | 10438 | readonly cursor?: string | null; |
| 9994 | readonly detail?: ClientRequest__McpServerStatusDetail | null; | 10439 | readonly detail?: ClientRequest__McpServerStatusDetail | null; |
| 9995 | readonly limit?: number | null; | 10440 | readonly limit?: number | null; |
| | 10441 | readonly threadId?: string | null; |
| 9996 | }; | 10442 | }; |
| 9997 | export const ClientRequest__ListMcpServerStatusParams = Schema.Struct({ | 10443 | export const ClientRequest__ListMcpServerStatusParams = Schema.Struct({ |
| 9998 | cursor: Schema.optionalKey( | 10444 | cursor: Schema.optionalKey( |
| ... | @@ -10020,6 +10466,7 @@ export const ClientRequest__ListMcpServerStatusParams = Schema.Struct({ | ... | @@ -10020,6 +10466,7 @@ export const ClientRequest__ListMcpServerStatusParams = Schema.Struct({ |
| 10020 | Schema.Null, | 10466 | Schema.Null, |
| 10021 | ]), | 10467 | ]), |
| 10022 | ), | 10468 | ), |
| | 10469 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 10023 | }); | 10470 | }); |
| 10024 | | 10471 | |
| 10025 | export type ClientRequest__ConfigEdit = { | 10472 | export type ClientRequest__ConfigEdit = { |
| ... | @@ -10084,10 +10531,12 @@ export const ClientRequest__PluginListParams = Schema.Struct({ | ... | @@ -10084,10 +10531,12 @@ export const ClientRequest__PluginListParams = Schema.Struct({ |
| 10084 | export type ClientRequest__PluginShareTarget = { | 10531 | export type ClientRequest__PluginShareTarget = { |
| 10085 | readonly principalId: string; | 10532 | readonly principalId: string; |
| 10086 | readonly principalType: ClientRequest__PluginSharePrincipalType; | 10533 | readonly principalType: ClientRequest__PluginSharePrincipalType; |
| | 10534 | readonly role: ClientRequest__PluginShareTargetRole; |
| 10087 | }; | 10535 | }; |
| 10088 | export const ClientRequest__PluginShareTarget = Schema.Struct({ | 10536 | export const ClientRequest__PluginShareTarget = Schema.Struct({ |
| 10089 | principalId: Schema.String, | 10537 | principalId: Schema.String, |
| 10090 | principalType: ClientRequest__PluginSharePrincipalType, | 10538 | principalType: ClientRequest__PluginSharePrincipalType, |
| | 10539 | role: ClientRequest__PluginShareTargetRole, |
| 10091 | }); | 10540 | }); |
| 10092 | | 10541 | |
| 10093 | export type ClientRequest__Settings = { | 10542 | export type ClientRequest__Settings = { |
| ... | @@ -10160,33 +10609,7 @@ export const ClientRequest__ThreadResumeParams = Schema.Struct({ | ... | @@ -10160,33 +10609,7 @@ export const ClientRequest__ThreadResumeParams = Schema.Struct({ |
| 10160 | threadId: Schema.String, | 10609 | threadId: Schema.String, |
| 10161 | }).annotate({ | 10610 | }).annotate({ |
| 10162 | description: | 10611 | description: |
| 10163 | "There are three ways to resume a thread: 1. By thread_id: load the thread from disk by thread_id and resume it. 2. By history: instantiate the thread from memory and resume it. 3. By path: load the thread from disk by path and resume it.\n\nThe precedence is: history > path > thread_id. If using history or path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.", | 10612 | "There are three ways to resume a thread: 1. By thread_id: load the thread from disk by thread_id and resume it. 2. By history: instantiate the thread from memory and resume it. 3. By path: load the thread from disk by path and resume it.\n\nFor non-running threads, the precedence is: history > non-empty path > thread_id. If using history or a non-empty path for a non-running thread, the thread_id param will be ignored.\n\nIf thread_id identifies a running thread, app-server rejoins that thread and treats a non-empty path as a consistency check against the active rollout path. Empty string path values are treated as absent.\n\nPrefer using thread_id whenever possible.", |
| 10164 | }); | | |
| 10165 | | | |
| 10166 | export type ClientRequest__SkillsListParams = { | | |
| 10167 | readonly cwds?: ReadonlyArray<string>; | | |
| 10168 | readonly forceReload?: boolean; | | |
| 10169 | readonly perCwdExtraUserRoots?: ReadonlyArray<ClientRequest__SkillsListExtraRootsForCwd> | null; | | |
| 10170 | }; | | |
| 10171 | export const ClientRequest__SkillsListParams = Schema.Struct({ | | |
| 10172 | cwds: Schema.optionalKey( | | |
| 10173 | Schema.Array(Schema.String).annotate({ | | |
| 10174 | description: "When empty, defaults to the current session working directory.", | | |
| 10175 | }), | | |
| 10176 | ), | | |
| 10177 | forceReload: Schema.optionalKey( | | |
| 10178 | Schema.Boolean.annotate({ | | |
| 10179 | description: "When true, bypass the skills cache and re-scan skills from disk.", | | |
| 10180 | }), | | |
| 10181 | ), | | |
| 10182 | perCwdExtraUserRoots: Schema.optionalKey( | | |
| 10183 | Schema.Union([ | | |
| 10184 | Schema.Array(ClientRequest__SkillsListExtraRootsForCwd).annotate({ | | |
| 10185 | description: "Optional per-cwd extra roots to scan as user-scoped skills.", | | |
| 10186 | }), | | |
| 10187 | Schema.Null, | | |
| 10188 | ]), | | |
| 10189 | ), | | |
| 10190 | }); | 10613 | }); |
| 10191 | | 10614 | |
| 10192 | export type ClientRequest__MigrationDetails = { | 10615 | export type ClientRequest__MigrationDetails = { |
| ... | @@ -10222,8 +10645,16 @@ export type ClientRequest__UserInput = | ... | @@ -10222,8 +10645,16 @@ export type ClientRequest__UserInput = |
| 10222 | readonly text_elements?: ReadonlyArray<ClientRequest__TextElement>; | 10645 | readonly text_elements?: ReadonlyArray<ClientRequest__TextElement>; |
| 10223 | readonly type: "text"; | 10646 | readonly type: "text"; |
| 10224 | } | 10647 | } |
| 10225 | | { readonly type: "image"; readonly url: string } | 10648 | | { |
| 10226 | | { readonly path: string; readonly type: "localImage" } | 10649 | readonly detail?: ClientRequest__ImageDetail | null; |
| | 10650 | readonly type: "image"; |
| | 10651 | readonly url: string; |
| | 10652 | } |
| | 10653 | | { |
| | 10654 | readonly detail?: ClientRequest__ImageDetail | null; |
| | 10655 | readonly path: string; |
| | 10656 | readonly type: "localImage"; |
| | 10657 | } |
| 10227 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 10658 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 10228 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 10659 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 10229 | export const ClientRequest__UserInput = Schema.Union( | 10660 | export const ClientRequest__UserInput = Schema.Union( |
| ... | @@ -10239,10 +10670,12 @@ export const ClientRequest__UserInput = Schema.Union( | ... | @@ -10239,10 +10670,12 @@ export const ClientRequest__UserInput = Schema.Union( |
| 10239 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 10670 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 10240 | }).annotate({ title: "TextUserInput" }), | 10671 | }).annotate({ title: "TextUserInput" }), |
| 10241 | Schema.Struct({ | 10672 | Schema.Struct({ |
| | 10673 | detail: Schema.optionalKey(Schema.Union([ClientRequest__ImageDetail, Schema.Null])), |
| 10242 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 10674 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 10243 | url: Schema.String, | 10675 | url: Schema.String, |
| 10244 | }).annotate({ title: "ImageUserInput" }), | 10676 | }).annotate({ title: "ImageUserInput" }), |
| 10245 | Schema.Struct({ | 10677 | Schema.Struct({ |
| | 10678 | detail: Schema.optionalKey(Schema.Union([ClientRequest__ImageDetail, Schema.Null])), |
| 10246 | path: Schema.String, | 10679 | path: Schema.String, |
| 10247 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 10680 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 10248 | }).annotate({ title: "LocalImageUserInput" }), | 10681 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -10260,6 +10693,21 @@ export const ClientRequest__UserInput = Schema.Union( | ... | @@ -10260,6 +10693,21 @@ export const ClientRequest__UserInput = Schema.Union( |
| 10260 | { mode: "oneOf" }, | 10693 | { mode: "oneOf" }, |
| 10261 | ); | 10694 | ); |
| 10262 | | 10695 | |
| | 10696 | export type ClientRequest__ThreadGoalSetParams = { |
| | 10697 | readonly objective?: string | null; |
| | 10698 | readonly status?: ClientRequest__ThreadGoalStatus | null; |
| | 10699 | readonly threadId: string; |
| | 10700 | readonly tokenBudget?: number | null; |
| | 10701 | }; |
| | 10702 | export const ClientRequest__ThreadGoalSetParams = Schema.Struct({ |
| | 10703 | objective: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 10704 | status: Schema.optionalKey(Schema.Union([ClientRequest__ThreadGoalStatus, Schema.Null])), |
| | 10705 | threadId: Schema.String, |
| | 10706 | tokenBudget: Schema.optionalKey( |
| | 10707 | Schema.Union([Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), Schema.Null]), |
| | 10708 | ), |
| | 10709 | }); |
| | 10710 | |
| 10263 | export type ClientRequest__ThreadMetadataUpdateParams = { | 10711 | export type ClientRequest__ThreadMetadataUpdateParams = { |
| 10264 | readonly gitInfo?: ClientRequest__ThreadMetadataGitInfoUpdateParams | null; | 10712 | readonly gitInfo?: ClientRequest__ThreadMetadataGitInfoUpdateParams | null; |
| 10265 | readonly threadId: string; | 10713 | readonly threadId: string; |
| ... | @@ -10324,7 +10772,7 @@ export const ClientRequest__ThreadForkParams = Schema.Struct({ | ... | @@ -10324,7 +10772,7 @@ export const ClientRequest__ThreadForkParams = Schema.Struct({ |
| 10324 | ), | 10772 | ), |
| 10325 | }).annotate({ | 10773 | }).annotate({ |
| 10326 | description: | 10774 | description: |
| 10327 | "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.", | 10775 | "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using a non-empty path, the thread_id param will be ignored. Empty string path values are treated as absent.\n\nPrefer using thread_id whenever possible.", |
| 10328 | }); | 10776 | }); |
| 10329 | | 10777 | |
| 10330 | export type ClientRequest__ThreadListParams = { | 10778 | export type ClientRequest__ThreadListParams = { |
| ... | @@ -10920,6 +11368,49 @@ export const ServerNotification__FsChangedNotification = Schema.Struct({ | ... | @@ -10920,6 +11368,49 @@ export const ServerNotification__FsChangedNotification = Schema.Struct({ |
| 10920 | }), | 11368 | }), |
| 10921 | }).annotate({ description: "Filesystem watch notification emitted for `fs/watch` subscribers." }); | 11369 | }).annotate({ description: "Filesystem watch notification emitted for `fs/watch` subscribers." }); |
| 10922 | | 11370 | |
| | 11371 | export type ServerNotification__SandboxPolicy = |
| | 11372 | | { readonly type: "dangerFullAccess" } |
| | 11373 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } |
| | 11374 | | { readonly networkAccess?: "restricted" | "enabled"; readonly type: "externalSandbox" } |
| | 11375 | | { |
| | 11376 | readonly excludeSlashTmp?: boolean; |
| | 11377 | readonly excludeTmpdirEnvVar?: boolean; |
| | 11378 | readonly networkAccess?: boolean; |
| | 11379 | readonly type: "workspaceWrite"; |
| | 11380 | readonly writableRoots?: ReadonlyArray<ServerNotification__AbsolutePathBuf>; |
| | 11381 | }; |
| | 11382 | export const ServerNotification__SandboxPolicy = Schema.Union( |
| | 11383 | [ |
| | 11384 | Schema.Struct({ |
| | 11385 | type: Schema.Literal("dangerFullAccess").annotate({ |
| | 11386 | title: "DangerFullAccessSandboxPolicyType", |
| | 11387 | }), |
| | 11388 | }).annotate({ title: "DangerFullAccessSandboxPolicy" }), |
| | 11389 | Schema.Struct({ |
| | 11390 | networkAccess: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 11391 | type: Schema.Literal("readOnly").annotate({ title: "ReadOnlySandboxPolicyType" }), |
| | 11392 | }).annotate({ title: "ReadOnlySandboxPolicy" }), |
| | 11393 | Schema.Struct({ |
| | 11394 | networkAccess: Schema.optionalKey( |
| | 11395 | Schema.Literals(["restricted", "enabled"]).annotate({ default: "restricted" }), |
| | 11396 | ), |
| | 11397 | type: Schema.Literal("externalSandbox").annotate({ |
| | 11398 | title: "ExternalSandboxSandboxPolicyType", |
| | 11399 | }), |
| | 11400 | }).annotate({ title: "ExternalSandboxSandboxPolicy" }), |
| | 11401 | Schema.Struct({ |
| | 11402 | excludeSlashTmp: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 11403 | excludeTmpdirEnvVar: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 11404 | networkAccess: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 11405 | type: Schema.Literal("workspaceWrite").annotate({ title: "WorkspaceWriteSandboxPolicyType" }), |
| | 11406 | writableRoots: Schema.optionalKey( |
| | 11407 | Schema.Array(ServerNotification__AbsolutePathBuf).annotate({ default: [] }), |
| | 11408 | ), |
| | 11409 | }).annotate({ title: "WorkspaceWriteSandboxPolicy" }), |
| | 11410 | ], |
| | 11411 | { mode: "oneOf" }, |
| | 11412 | ); |
| | 11413 | |
| 10923 | export type ServerNotification__AppMetadata = { | 11414 | export type ServerNotification__AppMetadata = { |
| 10924 | readonly categories?: ReadonlyArray<string> | null; | 11415 | readonly categories?: ReadonlyArray<string> | null; |
| 10925 | readonly developer?: string | null; | 11416 | readonly developer?: string | null; |
| ... | @@ -11041,11 +11532,13 @@ export type ServerNotification__McpServerStatusUpdatedNotification = { | ... | @@ -11041,11 +11532,13 @@ export type ServerNotification__McpServerStatusUpdatedNotification = { |
| 11041 | readonly error?: string | null; | 11532 | readonly error?: string | null; |
| 11042 | readonly name: string; | 11533 | readonly name: string; |
| 11043 | readonly status: ServerNotification__McpServerStartupState; | 11534 | readonly status: ServerNotification__McpServerStartupState; |
| | 11535 | readonly threadId?: string | null; |
| 11044 | }; | 11536 | }; |
| 11045 | export const ServerNotification__McpServerStatusUpdatedNotification = Schema.Struct({ | 11537 | export const ServerNotification__McpServerStatusUpdatedNotification = Schema.Struct({ |
| 11046 | error: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 11538 | error: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 11047 | name: Schema.String, | 11539 | name: Schema.String, |
| 11048 | status: ServerNotification__McpServerStartupState, | 11540 | status: ServerNotification__McpServerStartupState, |
| | 11541 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 11049 | }); | 11542 | }); |
| 11050 | | 11543 | |
| 11051 | export type ServerNotification__MemoryCitation = { | 11544 | export type ServerNotification__MemoryCitation = { |
| ... | @@ -11209,27 +11702,6 @@ export const ServerNotification__AccountUpdatedNotification = Schema.Struct({ | ... | @@ -11209,27 +11702,6 @@ export const ServerNotification__AccountUpdatedNotification = Schema.Struct({ |
| 11209 | planType: Schema.optionalKey(Schema.Union([ServerNotification__PlanType, Schema.Null])), | 11702 | planType: Schema.optionalKey(Schema.Union([ServerNotification__PlanType, Schema.Null])), |
| 11210 | }); | 11703 | }); |
| 11211 | | 11704 | |
| 11212 | export type ServerNotification__RateLimitSnapshot = { | | |
| 11213 | readonly credits?: ServerNotification__CreditsSnapshot | null; | | |
| 11214 | readonly limitId?: string | null; | | |
| 11215 | readonly limitName?: string | null; | | |
| 11216 | readonly planType?: ServerNotification__PlanType | null; | | |
| 11217 | readonly primary?: ServerNotification__RateLimitWindow | null; | | |
| 11218 | readonly rateLimitReachedType?: ServerNotification__RateLimitReachedType | null; | | |
| 11219 | readonly secondary?: ServerNotification__RateLimitWindow | null; | | |
| 11220 | }; | | |
| 11221 | export const ServerNotification__RateLimitSnapshot = Schema.Struct({ | | |
| 11222 | credits: Schema.optionalKey(Schema.Union([ServerNotification__CreditsSnapshot, Schema.Null])), | | |
| 11223 | limitId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 11224 | limitName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 11225 | planType: Schema.optionalKey(Schema.Union([ServerNotification__PlanType, Schema.Null])), | | |
| 11226 | primary: Schema.optionalKey(Schema.Union([ServerNotification__RateLimitWindow, Schema.Null])), | | |
| 11227 | rateLimitReachedType: Schema.optionalKey( | | |
| 11228 | Schema.Union([ServerNotification__RateLimitReachedType, Schema.Null]), | | |
| 11229 | ), | | |
| 11230 | secondary: Schema.optionalKey(Schema.Union([ServerNotification__RateLimitWindow, Schema.Null])), | | |
| 11231 | }); | | |
| 11232 | | | |
| 11233 | export type ServerNotification__ThreadRealtimeStartedNotification = { | 11705 | export type ServerNotification__ThreadRealtimeStartedNotification = { |
| 11234 | readonly realtimeSessionId?: string | null; | 11706 | readonly realtimeSessionId?: string | null; |
| 11235 | readonly threadId: string; | 11707 | readonly threadId: string; |
| ... | @@ -11241,15 +11713,32 @@ export const ServerNotification__ThreadRealtimeStartedNotification = Schema.Stru | ... | @@ -11241,15 +11713,32 @@ export const ServerNotification__ThreadRealtimeStartedNotification = Schema.Stru |
| 11241 | version: ServerNotification__RealtimeConversationVersion, | 11713 | version: ServerNotification__RealtimeConversationVersion, |
| 11242 | }).annotate({ description: "EXPERIMENTAL - emitted when thread realtime startup is accepted." }); | 11714 | }).annotate({ description: "EXPERIMENTAL - emitted when thread realtime startup is accepted." }); |
| 11243 | | 11715 | |
| | 11716 | export type ServerNotification__Settings = { |
| | 11717 | readonly developer_instructions?: string | null; |
| | 11718 | readonly model: string; |
| | 11719 | readonly reasoning_effort?: ServerNotification__ReasoningEffort | null; |
| | 11720 | }; |
| | 11721 | export const ServerNotification__Settings = Schema.Struct({ |
| | 11722 | developer_instructions: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 11723 | model: Schema.String, |
| | 11724 | reasoning_effort: Schema.optionalKey( |
| | 11725 | Schema.Union([ServerNotification__ReasoningEffort, Schema.Null]), |
| | 11726 | ), |
| | 11727 | }).annotate({ description: "Settings for a collaboration mode." }); |
| | 11728 | |
| 11244 | export type ServerNotification__RemoteControlStatusChangedNotification = { | 11729 | export type ServerNotification__RemoteControlStatusChangedNotification = { |
| 11245 | readonly environmentId?: string | null; | 11730 | readonly environmentId?: string | null; |
| | 11731 | readonly installationId: string; |
| | 11732 | readonly serverName: string; |
| 11246 | readonly status: ServerNotification__RemoteControlConnectionStatus; | 11733 | readonly status: ServerNotification__RemoteControlConnectionStatus; |
| 11247 | }; | 11734 | }; |
| 11248 | export const ServerNotification__RemoteControlStatusChangedNotification = Schema.Struct({ | 11735 | export const ServerNotification__RemoteControlStatusChangedNotification = Schema.Struct({ |
| 11249 | environmentId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 11736 | environmentId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 11737 | installationId: Schema.String, |
| | 11738 | serverName: Schema.String, |
| 11250 | status: ServerNotification__RemoteControlConnectionStatus, | 11739 | status: ServerNotification__RemoteControlConnectionStatus, |
| 11251 | }).annotate({ | 11740 | }).annotate({ |
| 11252 | description: "Current remote-control connection status and environment id exposed to clients.", | 11741 | description: "Current remote-control connection status and remote identity exposed to clients.", |
| 11253 | }); | 11742 | }); |
| 11254 | | 11743 | |
| 11255 | export type ServerNotification__ServerRequestResolvedNotification = { | 11744 | export type ServerNotification__ServerRequestResolvedNotification = { |
| ... | @@ -11261,14 +11750,47 @@ export const ServerNotification__ServerRequestResolvedNotification = Schema.Stru | ... | @@ -11261,14 +11750,47 @@ export const ServerNotification__ServerRequestResolvedNotification = Schema.Stru |
| 11261 | threadId: Schema.String, | 11750 | threadId: Schema.String, |
| 11262 | }); | 11751 | }); |
| 11263 | | 11752 | |
| | 11753 | export type ServerNotification__RateLimitSnapshot = { |
| | 11754 | readonly credits?: ServerNotification__CreditsSnapshot | null; |
| | 11755 | readonly individualLimit?: ServerNotification__SpendControlLimitSnapshot | null; |
| | 11756 | readonly limitId?: string | null; |
| | 11757 | readonly limitName?: string | null; |
| | 11758 | readonly planType?: ServerNotification__PlanType | null; |
| | 11759 | readonly primary?: ServerNotification__RateLimitWindow | null; |
| | 11760 | readonly rateLimitReachedType?: ServerNotification__RateLimitReachedType | null; |
| | 11761 | readonly secondary?: ServerNotification__RateLimitWindow | null; |
| | 11762 | }; |
| | 11763 | export const ServerNotification__RateLimitSnapshot = Schema.Struct({ |
| | 11764 | credits: Schema.optionalKey(Schema.Union([ServerNotification__CreditsSnapshot, Schema.Null])), |
| | 11765 | individualLimit: Schema.optionalKey( |
| | 11766 | Schema.Union([ServerNotification__SpendControlLimitSnapshot, Schema.Null]), |
| | 11767 | ), |
| | 11768 | limitId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 11769 | limitName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 11770 | planType: Schema.optionalKey(Schema.Union([ServerNotification__PlanType, Schema.Null])), |
| | 11771 | primary: Schema.optionalKey(Schema.Union([ServerNotification__RateLimitWindow, Schema.Null])), |
| | 11772 | rateLimitReachedType: Schema.optionalKey( |
| | 11773 | Schema.Union([ServerNotification__RateLimitReachedType, Schema.Null]), |
| | 11774 | ), |
| | 11775 | secondary: Schema.optionalKey(Schema.Union([ServerNotification__RateLimitWindow, Schema.Null])), |
| | 11776 | }); |
| | 11777 | |
| 11264 | export type ServerNotification__UserInput = | 11778 | export type ServerNotification__UserInput = |
| 11265 | | { | 11779 | | { |
| 11266 | readonly text: string; | 11780 | readonly text: string; |
| 11267 | readonly text_elements?: ReadonlyArray<ServerNotification__TextElement>; | 11781 | readonly text_elements?: ReadonlyArray<ServerNotification__TextElement>; |
| 11268 | readonly type: "text"; | 11782 | readonly type: "text"; |
| 11269 | } | 11783 | } |
| 11270 | | { readonly type: "image"; readonly url: string } | 11784 | | { |
| 11271 | | { readonly path: string; readonly type: "localImage" } | 11785 | readonly detail?: ServerNotification__ImageDetail | null; |
| | 11786 | readonly type: "image"; |
| | 11787 | readonly url: string; |
| | 11788 | } |
| | 11789 | | { |
| | 11790 | readonly detail?: ServerNotification__ImageDetail | null; |
| | 11791 | readonly path: string; |
| | 11792 | readonly type: "localImage"; |
| | 11793 | } |
| 11272 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 11794 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 11273 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 11795 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 11274 | export const ServerNotification__UserInput = Schema.Union( | 11796 | export const ServerNotification__UserInput = Schema.Union( |
| ... | @@ -11284,10 +11806,12 @@ export const ServerNotification__UserInput = Schema.Union( | ... | @@ -11284,10 +11806,12 @@ export const ServerNotification__UserInput = Schema.Union( |
| 11284 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 11806 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 11285 | }).annotate({ title: "TextUserInput" }), | 11807 | }).annotate({ title: "TextUserInput" }), |
| 11286 | Schema.Struct({ | 11808 | Schema.Struct({ |
| | 11809 | detail: Schema.optionalKey(Schema.Union([ServerNotification__ImageDetail, Schema.Null])), |
| 11287 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 11810 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 11288 | url: Schema.String, | 11811 | url: Schema.String, |
| 11289 | }).annotate({ title: "ImageUserInput" }), | 11812 | }).annotate({ title: "ImageUserInput" }), |
| 11290 | Schema.Struct({ | 11813 | Schema.Struct({ |
| | 11814 | detail: Schema.optionalKey(Schema.Union([ServerNotification__ImageDetail, Schema.Null])), |
| 11291 | path: Schema.String, | 11815 | path: Schema.String, |
| 11292 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 11816 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 11293 | }).annotate({ title: "LocalImageUserInput" }), | 11817 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -11786,6 +12310,7 @@ export const ToolRequestUserInputParams__ToolRequestUserInputQuestion = Schema.S | ... | @@ -11786,6 +12310,7 @@ export const ToolRequestUserInputParams__ToolRequestUserInputQuestion = Schema.S |
| 11786 | | 12310 | |
| 11787 | export type V2AccountRateLimitsUpdatedNotification__RateLimitSnapshot = { | 12311 | export type V2AccountRateLimitsUpdatedNotification__RateLimitSnapshot = { |
| 11788 | readonly credits?: V2AccountRateLimitsUpdatedNotification__CreditsSnapshot | null; | 12312 | readonly credits?: V2AccountRateLimitsUpdatedNotification__CreditsSnapshot | null; |
| | 12313 | readonly individualLimit?: V2AccountRateLimitsUpdatedNotification__SpendControlLimitSnapshot | null; |
| 11789 | readonly limitId?: string | null; | 12314 | readonly limitId?: string | null; |
| 11790 | readonly limitName?: string | null; | 12315 | readonly limitName?: string | null; |
| 11791 | readonly planType?: V2AccountRateLimitsUpdatedNotification__PlanType | null; | 12316 | readonly planType?: V2AccountRateLimitsUpdatedNotification__PlanType | null; |
| ... | @@ -11797,6 +12322,9 @@ export const V2AccountRateLimitsUpdatedNotification__RateLimitSnapshot = Schema. | ... | @@ -11797,6 +12322,9 @@ export const V2AccountRateLimitsUpdatedNotification__RateLimitSnapshot = Schema. |
| 11797 | credits: Schema.optionalKey( | 12322 | credits: Schema.optionalKey( |
| 11798 | Schema.Union([V2AccountRateLimitsUpdatedNotification__CreditsSnapshot, Schema.Null]), | 12323 | Schema.Union([V2AccountRateLimitsUpdatedNotification__CreditsSnapshot, Schema.Null]), |
| 11799 | ), | 12324 | ), |
| | 12325 | individualLimit: Schema.optionalKey( |
| | 12326 | Schema.Union([V2AccountRateLimitsUpdatedNotification__SpendControlLimitSnapshot, Schema.Null]), |
| | 12327 | ), |
| 11800 | limitId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 12328 | limitId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 11801 | limitName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 12329 | limitName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 11802 | planType: Schema.optionalKey( | 12330 | planType: Schema.optionalKey( |
| ... | @@ -11918,28 +12446,6 @@ export const V2CommandExecParams__SandboxPolicy = Schema.Union( | ... | @@ -11918,28 +12446,6 @@ export const V2CommandExecParams__SandboxPolicy = Schema.Union( |
| 11918 | { mode: "oneOf" }, | 12446 | { mode: "oneOf" }, |
| 11919 | ); | 12447 | ); |
| 11920 | | 12448 | |
| 11921 | export type V2CommandExecParams__FileSystemPath = | | |
| 11922 | | { readonly path: V2CommandExecParams__AbsolutePathBuf; readonly type: "path" } | | |
| 11923 | | { readonly pattern: string; readonly type: "glob_pattern" } | | |
| 11924 | | { readonly type: "special"; readonly value: V2CommandExecParams__FileSystemSpecialPath }; | | |
| 11925 | export const V2CommandExecParams__FileSystemPath = Schema.Union( | | |
| 11926 | [ | | |
| 11927 | Schema.Struct({ | | |
| 11928 | path: V2CommandExecParams__AbsolutePathBuf, | | |
| 11929 | type: Schema.Literal("path").annotate({ title: "PathFileSystemPathType" }), | | |
| 11930 | }).annotate({ title: "PathFileSystemPath" }), | | |
| 11931 | Schema.Struct({ | | |
| 11932 | pattern: Schema.String, | | |
| 11933 | type: Schema.Literal("glob_pattern").annotate({ title: "GlobPatternFileSystemPathType" }), | | |
| 11934 | }).annotate({ title: "GlobPatternFileSystemPath" }), | | |
| 11935 | Schema.Struct({ | | |
| 11936 | type: Schema.Literal("special").annotate({ title: "SpecialFileSystemPathType" }), | | |
| 11937 | value: V2CommandExecParams__FileSystemSpecialPath, | | |
| 11938 | }).annotate({ title: "SpecialFileSystemPath" }), | | |
| 11939 | ], | | |
| 11940 | { mode: "oneOf" }, | | |
| 11941 | ); | | |
| 11942 | | | |
| 11943 | export type V2ConfigBatchWriteParams__ConfigEdit = { | 12449 | export type V2ConfigBatchWriteParams__ConfigEdit = { |
| 11944 | readonly keyPath: string; | 12450 | readonly keyPath: string; |
| 11945 | readonly mergeStrategy: V2ConfigBatchWriteParams__MergeStrategy; | 12451 | readonly mergeStrategy: V2ConfigBatchWriteParams__MergeStrategy; |
| ... | @@ -11954,7 +12460,8 @@ export const V2ConfigBatchWriteParams__ConfigEdit = Schema.Struct({ | ... | @@ -11954,7 +12460,8 @@ export const V2ConfigBatchWriteParams__ConfigEdit = Schema.Struct({ |
| 11954 | export type V2ConfigReadResponse__ConfigLayerSource = | 12460 | export type V2ConfigReadResponse__ConfigLayerSource = |
| 11955 | | { readonly domain: string; readonly key: string; readonly type: "mdm" } | 12461 | | { readonly domain: string; readonly key: string; readonly type: "mdm" } |
| 11956 | | { readonly file: string; readonly type: "system" } | 12462 | | { readonly file: string; readonly type: "system" } |
| 11957 | | { readonly file: string; readonly type: "user" } | 12463 | | { readonly id: string; readonly name: string; readonly type: "enterpriseManaged" } |
| | 12464 | | { readonly file: string; readonly profile?: string | null; readonly type: "user" } |
| 11958 | | { readonly dotCodexFolder: V2ConfigReadResponse__AbsolutePathBuf; readonly type: "project" } | 12465 | | { readonly dotCodexFolder: V2ConfigReadResponse__AbsolutePathBuf; readonly type: "project" } |
| 11959 | | { readonly type: "sessionFlags" } | 12466 | | { readonly type: "sessionFlags" } |
| 11960 | | { | 12467 | | { |
| ... | @@ -11982,11 +12489,33 @@ export const V2ConfigReadResponse__ConfigLayerSource = Schema.Union( | ... | @@ -11982,11 +12489,33 @@ export const V2ConfigReadResponse__ConfigLayerSource = Schema.Union( |
| 11982 | title: "SystemConfigLayerSource", | 12489 | title: "SystemConfigLayerSource", |
| 11983 | description: "Managed config layer from a file (usually `managed_config.toml`).", | 12490 | description: "Managed config layer from a file (usually `managed_config.toml`).", |
| 11984 | }), | 12491 | }), |
| | 12492 | Schema.Struct({ |
| | 12493 | id: Schema.String.annotate({ description: "Stable identifier for the delivered layer." }), |
| | 12494 | name: Schema.String.annotate({ |
| | 12495 | description: |
| | 12496 | "Admin-facing name for the delivered layer. This is surfaced in diagnostics so users know which cloud layer needs administrator attention.", |
| | 12497 | }), |
| | 12498 | type: Schema.Literal("enterpriseManaged").annotate({ |
| | 12499 | title: "EnterpriseManagedConfigLayerSourceType", |
| | 12500 | }), |
| | 12501 | }).annotate({ |
| | 12502 | title: "EnterpriseManagedConfigLayerSource", |
| | 12503 | description: "Enterprise-managed config layer delivered by the cloud config bundle.", |
| | 12504 | }), |
| 11985 | Schema.Struct({ | 12505 | Schema.Struct({ |
| 11986 | file: Schema.String.annotate({ | 12506 | file: Schema.String.annotate({ |
| 11987 | description: | 12507 | description: |
| 11988 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", | 12508 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| 11989 | }), | 12509 | }), |
| | 12510 | profile: Schema.optionalKey( |
| | 12511 | Schema.Union([ |
| | 12512 | Schema.String.annotate({ |
| | 12513 | description: |
| | 12514 | "Name of the selected profile-v2 config layered on top of the base user config, when this layer represents one.", |
| | 12515 | }), |
| | 12516 | Schema.Null, |
| | 12517 | ]), |
| | 12518 | ), |
| 11990 | type: Schema.Literal("user").annotate({ title: "UserConfigLayerSourceType" }), | 12519 | type: Schema.Literal("user").annotate({ title: "UserConfigLayerSourceType" }), |
| 11991 | }).annotate({ | 12520 | }).annotate({ |
| 11992 | title: "UserConfigLayerSource", | 12521 | title: "UserConfigLayerSource", |
| ... | @@ -12051,22 +12580,43 @@ export const V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup = Sche | ... | @@ -12051,22 +12580,43 @@ export const V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup = Sche |
| 12051 | }); | 12580 | }); |
| 12052 | | 12581 | |
| 12053 | export type V2ConfigRequirementsReadResponse__ConfigRequirements = { | 12582 | export type V2ConfigRequirementsReadResponse__ConfigRequirements = { |
| | 12583 | readonly allowAppshots?: boolean | null; |
| | 12584 | readonly allowManagedHooksOnly?: boolean | null; |
| 12054 | readonly allowedApprovalPolicies?: ReadonlyArray<V2ConfigRequirementsReadResponse__AskForApproval> | null; | 12585 | readonly allowedApprovalPolicies?: ReadonlyArray<V2ConfigRequirementsReadResponse__AskForApproval> | null; |
| | 12586 | readonly allowedPermissionProfiles?: { readonly [x: string]: boolean } | null; |
| 12055 | readonly allowedSandboxModes?: ReadonlyArray<V2ConfigRequirementsReadResponse__SandboxMode> | null; | 12587 | readonly allowedSandboxModes?: ReadonlyArray<V2ConfigRequirementsReadResponse__SandboxMode> | null; |
| 12056 | readonly allowedWebSearchModes?: ReadonlyArray<V2ConfigRequirementsReadResponse__WebSearchMode> | null; | 12588 | readonly allowedWebSearchModes?: ReadonlyArray<V2ConfigRequirementsReadResponse__WebSearchMode> | null; |
| | 12589 | readonly allowedWindowsSandboxImplementations?: ReadonlyArray<V2ConfigRequirementsReadResponse__WindowsSandboxSetupMode> | null; |
| | 12590 | readonly computerUse?: V2ConfigRequirementsReadResponse__ComputerUseRequirements | null; |
| | 12591 | readonly defaultPermissions?: string | null; |
| 12057 | readonly enforceResidency?: V2ConfigRequirementsReadResponse__ResidencyRequirement | null; | 12592 | readonly enforceResidency?: V2ConfigRequirementsReadResponse__ResidencyRequirement | null; |
| 12058 | readonly featureRequirements?: { readonly [x: string]: boolean } | null; | 12593 | readonly featureRequirements?: { readonly [x: string]: boolean } | null; |
| 12059 | }; | 12594 | }; |
| 12060 | export const V2ConfigRequirementsReadResponse__ConfigRequirements = Schema.Struct({ | 12595 | export const V2ConfigRequirementsReadResponse__ConfigRequirements = Schema.Struct({ |
| | 12596 | allowAppshots: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), |
| | 12597 | allowManagedHooksOnly: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), |
| 12061 | allowedApprovalPolicies: Schema.optionalKey( | 12598 | allowedApprovalPolicies: Schema.optionalKey( |
| 12062 | Schema.Union([Schema.Array(V2ConfigRequirementsReadResponse__AskForApproval), Schema.Null]), | 12599 | Schema.Union([Schema.Array(V2ConfigRequirementsReadResponse__AskForApproval), Schema.Null]), |
| 12063 | ), | 12600 | ), |
| | 12601 | allowedPermissionProfiles: Schema.optionalKey( |
| | 12602 | Schema.Union([Schema.Record(Schema.String, Schema.Boolean), Schema.Null]), |
| | 12603 | ), |
| 12064 | allowedSandboxModes: Schema.optionalKey( | 12604 | allowedSandboxModes: Schema.optionalKey( |
| 12065 | Schema.Union([Schema.Array(V2ConfigRequirementsReadResponse__SandboxMode), Schema.Null]), | 12605 | Schema.Union([Schema.Array(V2ConfigRequirementsReadResponse__SandboxMode), Schema.Null]), |
| 12066 | ), | 12606 | ), |
| 12067 | allowedWebSearchModes: Schema.optionalKey( | 12607 | allowedWebSearchModes: Schema.optionalKey( |
| 12068 | Schema.Union([Schema.Array(V2ConfigRequirementsReadResponse__WebSearchMode), Schema.Null]), | 12608 | Schema.Union([Schema.Array(V2ConfigRequirementsReadResponse__WebSearchMode), Schema.Null]), |
| 12069 | ), | 12609 | ), |
| | 12610 | allowedWindowsSandboxImplementations: Schema.optionalKey( |
| | 12611 | Schema.Union([ |
| | 12612 | Schema.Array(V2ConfigRequirementsReadResponse__WindowsSandboxSetupMode), |
| | 12613 | Schema.Null, |
| | 12614 | ]), |
| | 12615 | ), |
| | 12616 | computerUse: Schema.optionalKey( |
| | 12617 | Schema.Union([V2ConfigRequirementsReadResponse__ComputerUseRequirements, Schema.Null]), |
| | 12618 | ), |
| | 12619 | defaultPermissions: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12070 | enforceResidency: Schema.optionalKey( | 12620 | enforceResidency: Schema.optionalKey( |
| 12071 | Schema.Union([V2ConfigRequirementsReadResponse__ResidencyRequirement, Schema.Null]), | 12621 | Schema.Union([V2ConfigRequirementsReadResponse__ResidencyRequirement, Schema.Null]), |
| 12072 | ), | 12622 | ), |
| ... | @@ -12087,7 +12637,8 @@ export const V2ConfigWarningNotification__TextRange = Schema.Struct({ | ... | @@ -12087,7 +12637,8 @@ export const V2ConfigWarningNotification__TextRange = Schema.Struct({ |
| 12087 | export type V2ConfigWriteResponse__ConfigLayerSource = | 12637 | export type V2ConfigWriteResponse__ConfigLayerSource = |
| 12088 | | { readonly domain: string; readonly key: string; readonly type: "mdm" } | 12638 | | { readonly domain: string; readonly key: string; readonly type: "mdm" } |
| 12089 | | { readonly file: string; readonly type: "system" } | 12639 | | { readonly file: string; readonly type: "system" } |
| 12090 | | { readonly file: string; readonly type: "user" } | 12640 | | { readonly id: string; readonly name: string; readonly type: "enterpriseManaged" } |
| | 12641 | | { readonly file: string; readonly profile?: string | null; readonly type: "user" } |
| 12091 | | { readonly dotCodexFolder: V2ConfigWriteResponse__AbsolutePathBuf; readonly type: "project" } | 12642 | | { readonly dotCodexFolder: V2ConfigWriteResponse__AbsolutePathBuf; readonly type: "project" } |
| 12092 | | { readonly type: "sessionFlags" } | 12643 | | { readonly type: "sessionFlags" } |
| 12093 | | { | 12644 | | { |
| ... | @@ -12115,11 +12666,33 @@ export const V2ConfigWriteResponse__ConfigLayerSource = Schema.Union( | ... | @@ -12115,11 +12666,33 @@ export const V2ConfigWriteResponse__ConfigLayerSource = Schema.Union( |
| 12115 | title: "SystemConfigLayerSource", | 12666 | title: "SystemConfigLayerSource", |
| 12116 | description: "Managed config layer from a file (usually `managed_config.toml`).", | 12667 | description: "Managed config layer from a file (usually `managed_config.toml`).", |
| 12117 | }), | 12668 | }), |
| | 12669 | Schema.Struct({ |
| | 12670 | id: Schema.String.annotate({ description: "Stable identifier for the delivered layer." }), |
| | 12671 | name: Schema.String.annotate({ |
| | 12672 | description: |
| | 12673 | "Admin-facing name for the delivered layer. This is surfaced in diagnostics so users know which cloud layer needs administrator attention.", |
| | 12674 | }), |
| | 12675 | type: Schema.Literal("enterpriseManaged").annotate({ |
| | 12676 | title: "EnterpriseManagedConfigLayerSourceType", |
| | 12677 | }), |
| | 12678 | }).annotate({ |
| | 12679 | title: "EnterpriseManagedConfigLayerSource", |
| | 12680 | description: "Enterprise-managed config layer delivered by the cloud config bundle.", |
| | 12681 | }), |
| 12118 | Schema.Struct({ | 12682 | Schema.Struct({ |
| 12119 | file: Schema.String.annotate({ | 12683 | file: Schema.String.annotate({ |
| 12120 | description: | 12684 | description: |
| 12121 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", | 12685 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| 12122 | }), | 12686 | }), |
| | 12687 | profile: Schema.optionalKey( |
| | 12688 | Schema.Union([ |
| | 12689 | Schema.String.annotate({ |
| | 12690 | description: |
| | 12691 | "Name of the selected profile-v2 config layered on top of the base user config, when this layer represents one.", |
| | 12692 | }), |
| | 12693 | Schema.Null, |
| | 12694 | ]), |
| | 12695 | ), |
| 12123 | type: Schema.Literal("user").annotate({ title: "UserConfigLayerSourceType" }), | 12696 | type: Schema.Literal("user").annotate({ title: "UserConfigLayerSourceType" }), |
| 12124 | }).annotate({ | 12697 | }).annotate({ |
| 12125 | title: "UserConfigLayerSource", | 12698 | title: "UserConfigLayerSource", |
| ... | @@ -12338,6 +12911,7 @@ export const V2FileChangePatchUpdatedNotification__FileUpdateChange = Schema.Str | ... | @@ -12338,6 +12911,7 @@ export const V2FileChangePatchUpdatedNotification__FileUpdateChange = Schema.Str |
| 12338 | | 12911 | |
| 12339 | export type V2GetAccountRateLimitsResponse__RateLimitSnapshot = { | 12912 | export type V2GetAccountRateLimitsResponse__RateLimitSnapshot = { |
| 12340 | readonly credits?: V2GetAccountRateLimitsResponse__CreditsSnapshot | null; | 12913 | readonly credits?: V2GetAccountRateLimitsResponse__CreditsSnapshot | null; |
| | 12914 | readonly individualLimit?: V2GetAccountRateLimitsResponse__SpendControlLimitSnapshot | null; |
| 12341 | readonly limitId?: string | null; | 12915 | readonly limitId?: string | null; |
| 12342 | readonly limitName?: string | null; | 12916 | readonly limitName?: string | null; |
| 12343 | readonly planType?: V2GetAccountRateLimitsResponse__PlanType | null; | 12917 | readonly planType?: V2GetAccountRateLimitsResponse__PlanType | null; |
| ... | @@ -12349,6 +12923,9 @@ export const V2GetAccountRateLimitsResponse__RateLimitSnapshot = Schema.Struct({ | ... | @@ -12349,6 +12923,9 @@ export const V2GetAccountRateLimitsResponse__RateLimitSnapshot = Schema.Struct({ |
| 12349 | credits: Schema.optionalKey( | 12923 | credits: Schema.optionalKey( |
| 12350 | Schema.Union([V2GetAccountRateLimitsResponse__CreditsSnapshot, Schema.Null]), | 12924 | Schema.Union([V2GetAccountRateLimitsResponse__CreditsSnapshot, Schema.Null]), |
| 12351 | ), | 12925 | ), |
| | 12926 | individualLimit: Schema.optionalKey( |
| | 12927 | Schema.Union([V2GetAccountRateLimitsResponse__SpendControlLimitSnapshot, Schema.Null]), |
| | 12928 | ), |
| 12352 | limitId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 12929 | limitId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12353 | limitName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 12930 | limitName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12354 | planType: Schema.optionalKey( | 12931 | planType: Schema.optionalKey( |
| ... | @@ -12522,8 +13099,16 @@ export type V2ItemCompletedNotification__UserInput = | ... | @@ -12522,8 +13099,16 @@ export type V2ItemCompletedNotification__UserInput = |
| 12522 | readonly text_elements?: ReadonlyArray<V2ItemCompletedNotification__TextElement>; | 13099 | readonly text_elements?: ReadonlyArray<V2ItemCompletedNotification__TextElement>; |
| 12523 | readonly type: "text"; | 13100 | readonly type: "text"; |
| 12524 | } | 13101 | } |
| 12525 | | { readonly type: "image"; readonly url: string } | 13102 | | { |
| 12526 | | { readonly path: string; readonly type: "localImage" } | 13103 | readonly detail?: V2ItemCompletedNotification__ImageDetail | null; |
| | 13104 | readonly type: "image"; |
| | 13105 | readonly url: string; |
| | 13106 | } |
| | 13107 | | { |
| | 13108 | readonly detail?: V2ItemCompletedNotification__ImageDetail | null; |
| | 13109 | readonly path: string; |
| | 13110 | readonly type: "localImage"; |
| | 13111 | } |
| 12527 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 13112 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 12528 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 13113 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 12529 | export const V2ItemCompletedNotification__UserInput = Schema.Union( | 13114 | export const V2ItemCompletedNotification__UserInput = Schema.Union( |
| ... | @@ -12539,10 +13124,16 @@ export const V2ItemCompletedNotification__UserInput = Schema.Union( | ... | @@ -12539,10 +13124,16 @@ export const V2ItemCompletedNotification__UserInput = Schema.Union( |
| 12539 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 13124 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 12540 | }).annotate({ title: "TextUserInput" }), | 13125 | }).annotate({ title: "TextUserInput" }), |
| 12541 | Schema.Struct({ | 13126 | Schema.Struct({ |
| | 13127 | detail: Schema.optionalKey( |
| | 13128 | Schema.Union([V2ItemCompletedNotification__ImageDetail, Schema.Null]), |
| | 13129 | ), |
| 12542 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 13130 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 12543 | url: Schema.String, | 13131 | url: Schema.String, |
| 12544 | }).annotate({ title: "ImageUserInput" }), | 13132 | }).annotate({ title: "ImageUserInput" }), |
| 12545 | Schema.Struct({ | 13133 | Schema.Struct({ |
| | 13134 | detail: Schema.optionalKey( |
| | 13135 | Schema.Union([V2ItemCompletedNotification__ImageDetail, Schema.Null]), |
| | 13136 | ), |
| 12546 | path: Schema.String, | 13137 | path: Schema.String, |
| 12547 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 13138 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 12548 | }).annotate({ title: "LocalImageUserInput" }), | 13139 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -12747,8 +13338,16 @@ export type V2ItemStartedNotification__UserInput = | ... | @@ -12747,8 +13338,16 @@ export type V2ItemStartedNotification__UserInput = |
| 12747 | readonly text_elements?: ReadonlyArray<V2ItemStartedNotification__TextElement>; | 13338 | readonly text_elements?: ReadonlyArray<V2ItemStartedNotification__TextElement>; |
| 12748 | readonly type: "text"; | 13339 | readonly type: "text"; |
| 12749 | } | 13340 | } |
| 12750 | | { readonly type: "image"; readonly url: string } | 13341 | | { |
| 12751 | | { readonly path: string; readonly type: "localImage" } | 13342 | readonly detail?: V2ItemStartedNotification__ImageDetail | null; |
| | 13343 | readonly type: "image"; |
| | 13344 | readonly url: string; |
| | 13345 | } |
| | 13346 | | { |
| | 13347 | readonly detail?: V2ItemStartedNotification__ImageDetail | null; |
| | 13348 | readonly path: string; |
| | 13349 | readonly type: "localImage"; |
| | 13350 | } |
| 12752 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 13351 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 12753 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 13352 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 12754 | export const V2ItemStartedNotification__UserInput = Schema.Union( | 13353 | export const V2ItemStartedNotification__UserInput = Schema.Union( |
| ... | @@ -12764,10 +13363,16 @@ export const V2ItemStartedNotification__UserInput = Schema.Union( | ... | @@ -12764,10 +13363,16 @@ export const V2ItemStartedNotification__UserInput = Schema.Union( |
| 12764 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 13363 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 12765 | }).annotate({ title: "TextUserInput" }), | 13364 | }).annotate({ title: "TextUserInput" }), |
| 12766 | Schema.Struct({ | 13365 | Schema.Struct({ |
| | 13366 | detail: Schema.optionalKey( |
| | 13367 | Schema.Union([V2ItemStartedNotification__ImageDetail, Schema.Null]), |
| | 13368 | ), |
| 12767 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 13369 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 12768 | url: Schema.String, | 13370 | url: Schema.String, |
| 12769 | }).annotate({ title: "ImageUserInput" }), | 13371 | }).annotate({ title: "ImageUserInput" }), |
| 12770 | Schema.Struct({ | 13372 | Schema.Struct({ |
| | 13373 | detail: Schema.optionalKey( |
| | 13374 | Schema.Union([V2ItemStartedNotification__ImageDetail, Schema.Null]), |
| | 13375 | ), |
| 12771 | path: Schema.String, | 13376 | path: Schema.String, |
| 12772 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 13377 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 12773 | }).annotate({ title: "LocalImageUserInput" }), | 13378 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -12790,6 +13395,7 @@ export type V2ListMcpServerStatusResponse__McpServerStatus = { | ... | @@ -12790,6 +13395,7 @@ export type V2ListMcpServerStatusResponse__McpServerStatus = { |
| 12790 | readonly name: string; | 13395 | readonly name: string; |
| 12791 | readonly resourceTemplates: ReadonlyArray<V2ListMcpServerStatusResponse__ResourceTemplate>; | 13396 | readonly resourceTemplates: ReadonlyArray<V2ListMcpServerStatusResponse__ResourceTemplate>; |
| 12792 | readonly resources: ReadonlyArray<V2ListMcpServerStatusResponse__Resource>; | 13397 | readonly resources: ReadonlyArray<V2ListMcpServerStatusResponse__Resource>; |
| | 13398 | readonly serverInfo?: V2ListMcpServerStatusResponse__McpServerInfo | null; |
| 12793 | readonly tools: { readonly [x: string]: V2ListMcpServerStatusResponse__Tool }; | 13399 | readonly tools: { readonly [x: string]: V2ListMcpServerStatusResponse__Tool }; |
| 12794 | }; | 13400 | }; |
| 12795 | export const V2ListMcpServerStatusResponse__McpServerStatus = Schema.Struct({ | 13401 | export const V2ListMcpServerStatusResponse__McpServerStatus = Schema.Struct({ |
| ... | @@ -12797,6 +13403,9 @@ export const V2ListMcpServerStatusResponse__McpServerStatus = Schema.Struct({ | ... | @@ -12797,6 +13403,9 @@ export const V2ListMcpServerStatusResponse__McpServerStatus = Schema.Struct({ |
| 12797 | name: Schema.String, | 13403 | name: Schema.String, |
| 12798 | resourceTemplates: Schema.Array(V2ListMcpServerStatusResponse__ResourceTemplate), | 13404 | resourceTemplates: Schema.Array(V2ListMcpServerStatusResponse__ResourceTemplate), |
| 12799 | resources: Schema.Array(V2ListMcpServerStatusResponse__Resource), | 13405 | resources: Schema.Array(V2ListMcpServerStatusResponse__Resource), |
| | 13406 | serverInfo: Schema.optionalKey( |
| | 13407 | Schema.Union([V2ListMcpServerStatusResponse__McpServerInfo, Schema.Null]), |
| | 13408 | ), |
| 12800 | tools: Schema.Record(Schema.String, V2ListMcpServerStatusResponse__Tool), | 13409 | tools: Schema.Record(Schema.String, V2ListMcpServerStatusResponse__Tool), |
| 12801 | }); | 13410 | }); |
| 12802 | | 13411 | |
| ... | @@ -12809,40 +13418,40 @@ export const V2ModelListResponse__ReasoningEffortOption = Schema.Struct({ | ... | @@ -12809,40 +13418,40 @@ export const V2ModelListResponse__ReasoningEffortOption = Schema.Struct({ |
| 12809 | reasoningEffort: V2ModelListResponse__ReasoningEffort, | 13418 | reasoningEffort: V2ModelListResponse__ReasoningEffort, |
| 12810 | }); | 13419 | }); |
| 12811 | | 13420 | |
| 12812 | export type V2PluginListResponse__MarketplaceLoadErrorInfo = { | 13421 | export type V2PluginInstalledResponse__MarketplaceLoadErrorInfo = { |
| 12813 | readonly marketplacePath: V2PluginListResponse__AbsolutePathBuf; | 13422 | readonly marketplacePath: V2PluginInstalledResponse__AbsolutePathBuf; |
| 12814 | readonly message: string; | 13423 | readonly message: string; |
| 12815 | }; | 13424 | }; |
| 12816 | export const V2PluginListResponse__MarketplaceLoadErrorInfo = Schema.Struct({ | 13425 | export const V2PluginInstalledResponse__MarketplaceLoadErrorInfo = Schema.Struct({ |
| 12817 | marketplacePath: V2PluginListResponse__AbsolutePathBuf, | 13426 | marketplacePath: V2PluginInstalledResponse__AbsolutePathBuf, |
| 12818 | message: Schema.String, | 13427 | message: Schema.String, |
| 12819 | }); | 13428 | }); |
| 12820 | | 13429 | |
| 12821 | export type V2PluginListResponse__PluginInterface = { | 13430 | export type V2PluginInstalledResponse__PluginInterface = { |
| 12822 | readonly brandColor?: string | null; | 13431 | readonly brandColor?: string | null; |
| 12823 | readonly capabilities: ReadonlyArray<string>; | 13432 | readonly capabilities: ReadonlyArray<string>; |
| 12824 | readonly category?: string | null; | 13433 | readonly category?: string | null; |
| 12825 | readonly composerIcon?: V2PluginListResponse__AbsolutePathBuf | null; | 13434 | readonly composerIcon?: V2PluginInstalledResponse__AbsolutePathBuf | null; |
| 12826 | readonly composerIconUrl?: string | null; | 13435 | readonly composerIconUrl?: string | null; |
| 12827 | readonly defaultPrompt?: ReadonlyArray<string> | null; | 13436 | readonly defaultPrompt?: ReadonlyArray<string> | null; |
| 12828 | readonly developerName?: string | null; | 13437 | readonly developerName?: string | null; |
| 12829 | readonly displayName?: string | null; | 13438 | readonly displayName?: string | null; |
| 12830 | readonly logo?: V2PluginListResponse__AbsolutePathBuf | null; | 13439 | readonly logo?: V2PluginInstalledResponse__AbsolutePathBuf | null; |
| 12831 | readonly logoUrl?: string | null; | 13440 | readonly logoUrl?: string | null; |
| 12832 | readonly longDescription?: string | null; | 13441 | readonly longDescription?: string | null; |
| 12833 | readonly privacyPolicyUrl?: string | null; | 13442 | readonly privacyPolicyUrl?: string | null; |
| 12834 | readonly screenshotUrls: ReadonlyArray<string>; | 13443 | readonly screenshotUrls: ReadonlyArray<string>; |
| 12835 | readonly screenshots: ReadonlyArray<V2PluginListResponse__AbsolutePathBuf>; | 13444 | readonly screenshots: ReadonlyArray<V2PluginInstalledResponse__AbsolutePathBuf>; |
| 12836 | readonly shortDescription?: string | null; | 13445 | readonly shortDescription?: string | null; |
| 12837 | readonly termsOfServiceUrl?: string | null; | 13446 | readonly termsOfServiceUrl?: string | null; |
| 12838 | readonly websiteUrl?: string | null; | 13447 | readonly websiteUrl?: string | null; |
| 12839 | }; | 13448 | }; |
| 12840 | export const V2PluginListResponse__PluginInterface = Schema.Struct({ | 13449 | export const V2PluginInstalledResponse__PluginInterface = Schema.Struct({ |
| 12841 | brandColor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13450 | brandColor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12842 | capabilities: Schema.Array(Schema.String), | 13451 | capabilities: Schema.Array(Schema.String), |
| 12843 | category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13452 | category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12844 | composerIcon: Schema.optionalKey( | 13453 | composerIcon: Schema.optionalKey( |
| 12845 | Schema.Union([V2PluginListResponse__AbsolutePathBuf, Schema.Null]).annotate({ | 13454 | Schema.Union([V2PluginInstalledResponse__AbsolutePathBuf, Schema.Null]).annotate({ |
| 12846 | description: "Local composer icon path, resolved from the installed plugin package.", | 13455 | description: "Local composer icon path, resolved from the installed plugin package.", |
| 12847 | }), | 13456 | }), |
| 12848 | ), | 13457 | ), |
| ... | @@ -12864,7 +13473,7 @@ export const V2PluginListResponse__PluginInterface = Schema.Struct({ | ... | @@ -12864,7 +13473,7 @@ export const V2PluginListResponse__PluginInterface = Schema.Struct({ |
| 12864 | developerName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13473 | developerName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12865 | displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13474 | displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12866 | logo: Schema.optionalKey( | 13475 | logo: Schema.optionalKey( |
| 12867 | Schema.Union([V2PluginListResponse__AbsolutePathBuf, Schema.Null]).annotate({ | 13476 | Schema.Union([V2PluginInstalledResponse__AbsolutePathBuf, Schema.Null]).annotate({ |
| 12868 | description: "Local logo path, resolved from the installed plugin package.", | 13477 | description: "Local logo path, resolved from the installed plugin package.", |
| 12869 | }), | 13478 | }), |
| 12870 | ), | 13479 | ), |
| ... | @@ -12879,7 +13488,7 @@ export const V2PluginListResponse__PluginInterface = Schema.Struct({ | ... | @@ -12879,7 +13488,7 @@ export const V2PluginListResponse__PluginInterface = Schema.Struct({ |
| 12879 | screenshotUrls: Schema.Array(Schema.String).annotate({ | 13488 | screenshotUrls: Schema.Array(Schema.String).annotate({ |
| 12880 | description: "Remote screenshot URLs from the plugin catalog.", | 13489 | description: "Remote screenshot URLs from the plugin catalog.", |
| 12881 | }), | 13490 | }), |
| 12882 | screenshots: Schema.Array(V2PluginListResponse__AbsolutePathBuf).annotate({ | 13491 | screenshots: Schema.Array(V2PluginInstalledResponse__AbsolutePathBuf).annotate({ |
| 12883 | description: "Local screenshot paths, resolved from the installed plugin package.", | 13492 | description: "Local screenshot paths, resolved from the installed plugin package.", |
| 12884 | }), | 13493 | }), |
| 12885 | shortDescription: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13494 | shortDescription: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| ... | @@ -12887,8 +13496,8 @@ export const V2PluginListResponse__PluginInterface = Schema.Struct({ | ... | @@ -12887,8 +13496,8 @@ export const V2PluginListResponse__PluginInterface = Schema.Struct({ |
| 12887 | websiteUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13496 | websiteUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12888 | }); | 13497 | }); |
| 12889 | | 13498 | |
| 12890 | export type V2PluginListResponse__PluginSource = | 13499 | export type V2PluginInstalledResponse__PluginSource = |
| 12891 | | { readonly path: V2PluginListResponse__AbsolutePathBuf; readonly type: "local" } | 13500 | | { readonly path: V2PluginInstalledResponse__AbsolutePathBuf; readonly type: "local" } |
| 12892 | | { | 13501 | | { |
| 12893 | readonly path?: string | null; | 13502 | readonly path?: string | null; |
| 12894 | readonly refName?: string | null; | 13503 | readonly refName?: string | null; |
| ... | @@ -12897,10 +13506,10 @@ export type V2PluginListResponse__PluginSource = | ... | @@ -12897,10 +13506,10 @@ export type V2PluginListResponse__PluginSource = |
| 12897 | readonly url: string; | 13506 | readonly url: string; |
| 12898 | } | 13507 | } |
| 12899 | | { readonly type: "remote" }; | 13508 | | { readonly type: "remote" }; |
| 12900 | export const V2PluginListResponse__PluginSource = Schema.Union( | 13509 | export const V2PluginInstalledResponse__PluginSource = Schema.Union( |
| 12901 | [ | 13510 | [ |
| 12902 | Schema.Struct({ | 13511 | Schema.Struct({ |
| 12903 | path: V2PluginListResponse__AbsolutePathBuf, | 13512 | path: V2PluginInstalledResponse__AbsolutePathBuf, |
| 12904 | type: Schema.Literal("local").annotate({ title: "LocalPluginSourceType" }), | 13513 | type: Schema.Literal("local").annotate({ title: "LocalPluginSourceType" }), |
| 12905 | }).annotate({ title: "LocalPluginSource" }), | 13514 | }).annotate({ title: "LocalPluginSource" }), |
| 12906 | Schema.Struct({ | 13515 | Schema.Struct({ |
| ... | @@ -12921,42 +13530,53 @@ export const V2PluginListResponse__PluginSource = Schema.Union( | ... | @@ -12921,42 +13530,53 @@ export const V2PluginListResponse__PluginSource = Schema.Union( |
| 12921 | { mode: "oneOf" }, | 13530 | { mode: "oneOf" }, |
| 12922 | ); | 13531 | ); |
| 12923 | | 13532 | |
| 12924 | export type V2PluginListResponse__PluginSharePrincipal = { | 13533 | export type V2PluginInstalledResponse__PluginSharePrincipal = { |
| 12925 | readonly name: string; | 13534 | readonly name: string; |
| 12926 | readonly principalId: string; | 13535 | readonly principalId: string; |
| 12927 | readonly principalType: V2PluginListResponse__PluginSharePrincipalType; | 13536 | readonly principalType: V2PluginInstalledResponse__PluginSharePrincipalType; |
| | 13537 | readonly role: V2PluginInstalledResponse__PluginSharePrincipalRole; |
| 12928 | }; | 13538 | }; |
| 12929 | export const V2PluginListResponse__PluginSharePrincipal = Schema.Struct({ | 13539 | export const V2PluginInstalledResponse__PluginSharePrincipal = Schema.Struct({ |
| 12930 | name: Schema.String, | 13540 | name: Schema.String, |
| 12931 | principalId: Schema.String, | 13541 | principalId: Schema.String, |
| 12932 | principalType: V2PluginListResponse__PluginSharePrincipalType, | 13542 | principalType: V2PluginInstalledResponse__PluginSharePrincipalType, |
| | 13543 | role: V2PluginInstalledResponse__PluginSharePrincipalRole, |
| 12933 | }); | 13544 | }); |
| 12934 | | 13545 | |
| 12935 | export type V2PluginReadResponse__PluginInterface = { | 13546 | export type V2PluginListResponse__MarketplaceLoadErrorInfo = { |
| | 13547 | readonly marketplacePath: V2PluginListResponse__AbsolutePathBuf; |
| | 13548 | readonly message: string; |
| | 13549 | }; |
| | 13550 | export const V2PluginListResponse__MarketplaceLoadErrorInfo = Schema.Struct({ |
| | 13551 | marketplacePath: V2PluginListResponse__AbsolutePathBuf, |
| | 13552 | message: Schema.String, |
| | 13553 | }); |
| | 13554 | |
| | 13555 | export type V2PluginListResponse__PluginInterface = { |
| 12936 | readonly brandColor?: string | null; | 13556 | readonly brandColor?: string | null; |
| 12937 | readonly capabilities: ReadonlyArray<string>; | 13557 | readonly capabilities: ReadonlyArray<string>; |
| 12938 | readonly category?: string | null; | 13558 | readonly category?: string | null; |
| 12939 | readonly composerIcon?: V2PluginReadResponse__AbsolutePathBuf | null; | 13559 | readonly composerIcon?: V2PluginListResponse__AbsolutePathBuf | null; |
| 12940 | readonly composerIconUrl?: string | null; | 13560 | readonly composerIconUrl?: string | null; |
| 12941 | readonly defaultPrompt?: ReadonlyArray<string> | null; | 13561 | readonly defaultPrompt?: ReadonlyArray<string> | null; |
| 12942 | readonly developerName?: string | null; | 13562 | readonly developerName?: string | null; |
| 12943 | readonly displayName?: string | null; | 13563 | readonly displayName?: string | null; |
| 12944 | readonly logo?: V2PluginReadResponse__AbsolutePathBuf | null; | 13564 | readonly logo?: V2PluginListResponse__AbsolutePathBuf | null; |
| 12945 | readonly logoUrl?: string | null; | 13565 | readonly logoUrl?: string | null; |
| 12946 | readonly longDescription?: string | null; | 13566 | readonly longDescription?: string | null; |
| 12947 | readonly privacyPolicyUrl?: string | null; | 13567 | readonly privacyPolicyUrl?: string | null; |
| 12948 | readonly screenshotUrls: ReadonlyArray<string>; | 13568 | readonly screenshotUrls: ReadonlyArray<string>; |
| 12949 | readonly screenshots: ReadonlyArray<V2PluginReadResponse__AbsolutePathBuf>; | 13569 | readonly screenshots: ReadonlyArray<V2PluginListResponse__AbsolutePathBuf>; |
| 12950 | readonly shortDescription?: string | null; | 13570 | readonly shortDescription?: string | null; |
| 12951 | readonly termsOfServiceUrl?: string | null; | 13571 | readonly termsOfServiceUrl?: string | null; |
| 12952 | readonly websiteUrl?: string | null; | 13572 | readonly websiteUrl?: string | null; |
| 12953 | }; | 13573 | }; |
| 12954 | export const V2PluginReadResponse__PluginInterface = Schema.Struct({ | 13574 | export const V2PluginListResponse__PluginInterface = Schema.Struct({ |
| 12955 | brandColor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13575 | brandColor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12956 | capabilities: Schema.Array(Schema.String), | 13576 | capabilities: Schema.Array(Schema.String), |
| 12957 | category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13577 | category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12958 | composerIcon: Schema.optionalKey( | 13578 | composerIcon: Schema.optionalKey( |
| 12959 | Schema.Union([V2PluginReadResponse__AbsolutePathBuf, Schema.Null]).annotate({ | 13579 | Schema.Union([V2PluginListResponse__AbsolutePathBuf, Schema.Null]).annotate({ |
| 12960 | description: "Local composer icon path, resolved from the installed plugin package.", | 13580 | description: "Local composer icon path, resolved from the installed plugin package.", |
| 12961 | }), | 13581 | }), |
| 12962 | ), | 13582 | ), |
| ... | @@ -12978,7 +13598,7 @@ export const V2PluginReadResponse__PluginInterface = Schema.Struct({ | ... | @@ -12978,7 +13598,7 @@ export const V2PluginReadResponse__PluginInterface = Schema.Struct({ |
| 12978 | developerName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13598 | developerName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12979 | displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13599 | displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 12980 | logo: Schema.optionalKey( | 13600 | logo: Schema.optionalKey( |
| 12981 | Schema.Union([V2PluginReadResponse__AbsolutePathBuf, Schema.Null]).annotate({ | 13601 | Schema.Union([V2PluginListResponse__AbsolutePathBuf, Schema.Null]).annotate({ |
| 12982 | description: "Local logo path, resolved from the installed plugin package.", | 13602 | description: "Local logo path, resolved from the installed plugin package.", |
| 12983 | }), | 13603 | }), |
| 12984 | ), | 13604 | ), |
| ... | @@ -12993,7 +13613,7 @@ export const V2PluginReadResponse__PluginInterface = Schema.Struct({ | ... | @@ -12993,7 +13613,7 @@ export const V2PluginReadResponse__PluginInterface = Schema.Struct({ |
| 12993 | screenshotUrls: Schema.Array(Schema.String).annotate({ | 13613 | screenshotUrls: Schema.Array(Schema.String).annotate({ |
| 12994 | description: "Remote screenshot URLs from the plugin catalog.", | 13614 | description: "Remote screenshot URLs from the plugin catalog.", |
| 12995 | }), | 13615 | }), |
| 12996 | screenshots: Schema.Array(V2PluginReadResponse__AbsolutePathBuf).annotate({ | 13616 | screenshots: Schema.Array(V2PluginListResponse__AbsolutePathBuf).annotate({ |
| 12997 | description: "Local screenshot paths, resolved from the installed plugin package.", | 13617 | description: "Local screenshot paths, resolved from the installed plugin package.", |
| 12998 | }), | 13618 | }), |
| 12999 | shortDescription: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13619 | shortDescription: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| ... | @@ -13001,8 +13621,8 @@ export const V2PluginReadResponse__PluginInterface = Schema.Struct({ | ... | @@ -13001,8 +13621,8 @@ export const V2PluginReadResponse__PluginInterface = Schema.Struct({ |
| 13001 | websiteUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13621 | websiteUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 13002 | }); | 13622 | }); |
| 13003 | | 13623 | |
| 13004 | export type V2PluginReadResponse__PluginSource = | 13624 | export type V2PluginListResponse__PluginSource = |
| 13005 | | { readonly path: V2PluginReadResponse__AbsolutePathBuf; readonly type: "local" } | 13625 | | { readonly path: V2PluginListResponse__AbsolutePathBuf; readonly type: "local" } |
| 13006 | | { | 13626 | | { |
| 13007 | readonly path?: string | null; | 13627 | readonly path?: string | null; |
| 13008 | readonly refName?: string | null; | 13628 | readonly refName?: string | null; |
| ... | @@ -13011,10 +13631,10 @@ export type V2PluginReadResponse__PluginSource = | ... | @@ -13011,10 +13631,10 @@ export type V2PluginReadResponse__PluginSource = |
| 13011 | readonly url: string; | 13631 | readonly url: string; |
| 13012 | } | 13632 | } |
| 13013 | | { readonly type: "remote" }; | 13633 | | { readonly type: "remote" }; |
| 13014 | export const V2PluginReadResponse__PluginSource = Schema.Union( | 13634 | export const V2PluginListResponse__PluginSource = Schema.Union( |
| 13015 | [ | 13635 | [ |
| 13016 | Schema.Struct({ | 13636 | Schema.Struct({ |
| 13017 | path: V2PluginReadResponse__AbsolutePathBuf, | 13637 | path: V2PluginListResponse__AbsolutePathBuf, |
| 13018 | type: Schema.Literal("local").annotate({ title: "LocalPluginSourceType" }), | 13638 | type: Schema.Literal("local").annotate({ title: "LocalPluginSourceType" }), |
| 13019 | }).annotate({ title: "LocalPluginSource" }), | 13639 | }).annotate({ title: "LocalPluginSource" }), |
| 13020 | Schema.Struct({ | 13640 | Schema.Struct({ |
| ... | @@ -13035,68 +13655,209 @@ export const V2PluginReadResponse__PluginSource = Schema.Union( | ... | @@ -13035,68 +13655,209 @@ export const V2PluginReadResponse__PluginSource = Schema.Union( |
| 13035 | { mode: "oneOf" }, | 13655 | { mode: "oneOf" }, |
| 13036 | ); | 13656 | ); |
| 13037 | | 13657 | |
| 13038 | export type V2PluginReadResponse__SkillInterface = { | 13658 | export type V2PluginListResponse__PluginSharePrincipal = { |
| 13039 | readonly brandColor?: string | null; | | |
| 13040 | readonly defaultPrompt?: string | null; | | |
| 13041 | readonly displayName?: string | null; | | |
| 13042 | readonly iconLarge?: V2PluginReadResponse__AbsolutePathBuf | null; | | |
| 13043 | readonly iconSmall?: V2PluginReadResponse__AbsolutePathBuf | null; | | |
| 13044 | readonly shortDescription?: string | null; | | |
| 13045 | }; | | |
| 13046 | export const V2PluginReadResponse__SkillInterface = Schema.Struct({ | | |
| 13047 | brandColor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 13048 | defaultPrompt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 13049 | displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 13050 | iconLarge: Schema.optionalKey(Schema.Union([V2PluginReadResponse__AbsolutePathBuf, Schema.Null])), | | |
| 13051 | iconSmall: Schema.optionalKey(Schema.Union([V2PluginReadResponse__AbsolutePathBuf, Schema.Null])), | | |
| 13052 | shortDescription: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 13053 | }); | | |
| 13054 | | | |
| 13055 | export type V2PluginReadResponse__PluginHookSummary = { | | |
| 13056 | readonly eventName: V2PluginReadResponse__HookEventName; | | |
| 13057 | readonly key: string; | | |
| 13058 | }; | | |
| 13059 | export const V2PluginReadResponse__PluginHookSummary = Schema.Struct({ | | |
| 13060 | eventName: V2PluginReadResponse__HookEventName, | | |
| 13061 | key: Schema.String, | | |
| 13062 | }); | | |
| 13063 | | | |
| 13064 | export type V2PluginReadResponse__PluginSharePrincipal = { | | |
| 13065 | readonly name: string; | 13659 | readonly name: string; |
| 13066 | readonly principalId: string; | 13660 | readonly principalId: string; |
| 13067 | readonly principalType: V2PluginReadResponse__PluginSharePrincipalType; | 13661 | readonly principalType: V2PluginListResponse__PluginSharePrincipalType; |
| | 13662 | readonly role: V2PluginListResponse__PluginSharePrincipalRole; |
| 13068 | }; | 13663 | }; |
| 13069 | export const V2PluginReadResponse__PluginSharePrincipal = Schema.Struct({ | 13664 | export const V2PluginListResponse__PluginSharePrincipal = Schema.Struct({ |
| 13070 | name: Schema.String, | 13665 | name: Schema.String, |
| 13071 | principalId: Schema.String, | 13666 | principalId: Schema.String, |
| 13072 | principalType: V2PluginReadResponse__PluginSharePrincipalType, | 13667 | principalType: V2PluginListResponse__PluginSharePrincipalType, |
| | 13668 | role: V2PluginListResponse__PluginSharePrincipalRole, |
| 13073 | }); | 13669 | }); |
| 13074 | | 13670 | |
| 13075 | export type V2PluginShareListResponse__PluginInterface = { | 13671 | export type V2PluginReadResponse__PluginInterface = { |
| 13076 | readonly brandColor?: string | null; | 13672 | readonly brandColor?: string | null; |
| 13077 | readonly capabilities: ReadonlyArray<string>; | 13673 | readonly capabilities: ReadonlyArray<string>; |
| 13078 | readonly category?: string | null; | 13674 | readonly category?: string | null; |
| 13079 | readonly composerIcon?: V2PluginShareListResponse__AbsolutePathBuf | null; | 13675 | readonly composerIcon?: V2PluginReadResponse__AbsolutePathBuf | null; |
| 13080 | readonly composerIconUrl?: string | null; | 13676 | readonly composerIconUrl?: string | null; |
| 13081 | readonly defaultPrompt?: ReadonlyArray<string> | null; | 13677 | readonly defaultPrompt?: ReadonlyArray<string> | null; |
| 13082 | readonly developerName?: string | null; | 13678 | readonly developerName?: string | null; |
| 13083 | readonly displayName?: string | null; | 13679 | readonly displayName?: string | null; |
| 13084 | readonly logo?: V2PluginShareListResponse__AbsolutePathBuf | null; | 13680 | readonly logo?: V2PluginReadResponse__AbsolutePathBuf | null; |
| 13085 | readonly logoUrl?: string | null; | 13681 | readonly logoUrl?: string | null; |
| 13086 | readonly longDescription?: string | null; | 13682 | readonly longDescription?: string | null; |
| 13087 | readonly privacyPolicyUrl?: string | null; | 13683 | readonly privacyPolicyUrl?: string | null; |
| 13088 | readonly screenshotUrls: ReadonlyArray<string>; | 13684 | readonly screenshotUrls: ReadonlyArray<string>; |
| 13089 | readonly screenshots: ReadonlyArray<V2PluginShareListResponse__AbsolutePathBuf>; | 13685 | readonly screenshots: ReadonlyArray<V2PluginReadResponse__AbsolutePathBuf>; |
| 13090 | readonly shortDescription?: string | null; | 13686 | readonly shortDescription?: string | null; |
| 13091 | readonly termsOfServiceUrl?: string | null; | 13687 | readonly termsOfServiceUrl?: string | null; |
| 13092 | readonly websiteUrl?: string | null; | 13688 | readonly websiteUrl?: string | null; |
| 13093 | }; | 13689 | }; |
| 13094 | export const V2PluginShareListResponse__PluginInterface = Schema.Struct({ | 13690 | export const V2PluginReadResponse__PluginInterface = Schema.Struct({ |
| 13095 | brandColor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13691 | brandColor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 13096 | capabilities: Schema.Array(Schema.String), | 13692 | capabilities: Schema.Array(Schema.String), |
| 13097 | category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 13693 | category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 13098 | composerIcon: Schema.optionalKey( | 13694 | composerIcon: Schema.optionalKey( |
| 13099 | Schema.Union([V2PluginShareListResponse__AbsolutePathBuf, Schema.Null]).annotate({ | 13695 | Schema.Union([V2PluginReadResponse__AbsolutePathBuf, Schema.Null]).annotate({ |
| | 13696 | description: "Local composer icon path, resolved from the installed plugin package.", |
| | 13697 | }), |
| | 13698 | ), |
| | 13699 | composerIconUrl: Schema.optionalKey( |
| | 13700 | Schema.Union([ |
| | 13701 | Schema.String.annotate({ description: "Remote composer icon URL from the plugin catalog." }), |
| | 13702 | Schema.Null, |
| | 13703 | ]), |
| | 13704 | ), |
| | 13705 | defaultPrompt: Schema.optionalKey( |
| | 13706 | Schema.Union([ |
| | 13707 | Schema.Array(Schema.String).annotate({ |
| | 13708 | description: |
| | 13709 | "Starter prompts for the plugin. Capped at 3 entries with a maximum of 128 characters per entry.", |
| | 13710 | }), |
| | 13711 | Schema.Null, |
| | 13712 | ]), |
| | 13713 | ), |
| | 13714 | developerName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13715 | displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13716 | logo: Schema.optionalKey( |
| | 13717 | Schema.Union([V2PluginReadResponse__AbsolutePathBuf, Schema.Null]).annotate({ |
| | 13718 | description: "Local logo path, resolved from the installed plugin package.", |
| | 13719 | }), |
| | 13720 | ), |
| | 13721 | logoUrl: Schema.optionalKey( |
| | 13722 | Schema.Union([ |
| | 13723 | Schema.String.annotate({ description: "Remote logo URL from the plugin catalog." }), |
| | 13724 | Schema.Null, |
| | 13725 | ]), |
| | 13726 | ), |
| | 13727 | longDescription: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13728 | privacyPolicyUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13729 | screenshotUrls: Schema.Array(Schema.String).annotate({ |
| | 13730 | description: "Remote screenshot URLs from the plugin catalog.", |
| | 13731 | }), |
| | 13732 | screenshots: Schema.Array(V2PluginReadResponse__AbsolutePathBuf).annotate({ |
| | 13733 | description: "Local screenshot paths, resolved from the installed plugin package.", |
| | 13734 | }), |
| | 13735 | shortDescription: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13736 | termsOfServiceUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13737 | websiteUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13738 | }); |
| | 13739 | |
| | 13740 | export type V2PluginReadResponse__PluginSource = |
| | 13741 | | { readonly path: V2PluginReadResponse__AbsolutePathBuf; readonly type: "local" } |
| | 13742 | | { |
| | 13743 | readonly path?: string | null; |
| | 13744 | readonly refName?: string | null; |
| | 13745 | readonly sha?: string | null; |
| | 13746 | readonly type: "git"; |
| | 13747 | readonly url: string; |
| | 13748 | } |
| | 13749 | | { readonly type: "remote" }; |
| | 13750 | export const V2PluginReadResponse__PluginSource = Schema.Union( |
| | 13751 | [ |
| | 13752 | Schema.Struct({ |
| | 13753 | path: V2PluginReadResponse__AbsolutePathBuf, |
| | 13754 | type: Schema.Literal("local").annotate({ title: "LocalPluginSourceType" }), |
| | 13755 | }).annotate({ title: "LocalPluginSource" }), |
| | 13756 | Schema.Struct({ |
| | 13757 | path: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13758 | refName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13759 | sha: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13760 | type: Schema.Literal("git").annotate({ title: "GitPluginSourceType" }), |
| | 13761 | url: Schema.String, |
| | 13762 | }).annotate({ title: "GitPluginSource" }), |
| | 13763 | Schema.Struct({ |
| | 13764 | type: Schema.Literal("remote").annotate({ title: "RemotePluginSourceType" }), |
| | 13765 | }).annotate({ |
| | 13766 | title: "RemotePluginSource", |
| | 13767 | description: |
| | 13768 | "The plugin is available in the remote catalog. Download metadata is kept server-side and is not exposed through the app-server API.", |
| | 13769 | }), |
| | 13770 | ], |
| | 13771 | { mode: "oneOf" }, |
| | 13772 | ); |
| | 13773 | |
| | 13774 | export type V2PluginReadResponse__SkillInterface = { |
| | 13775 | readonly brandColor?: string | null; |
| | 13776 | readonly defaultPrompt?: string | null; |
| | 13777 | readonly displayName?: string | null; |
| | 13778 | readonly iconLarge?: V2PluginReadResponse__AbsolutePathBuf | null; |
| | 13779 | readonly iconSmall?: V2PluginReadResponse__AbsolutePathBuf | null; |
| | 13780 | readonly shortDescription?: string | null; |
| | 13781 | }; |
| | 13782 | export const V2PluginReadResponse__SkillInterface = Schema.Struct({ |
| | 13783 | brandColor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13784 | defaultPrompt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13785 | displayName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13786 | iconLarge: Schema.optionalKey(Schema.Union([V2PluginReadResponse__AbsolutePathBuf, Schema.Null])), |
| | 13787 | iconSmall: Schema.optionalKey(Schema.Union([V2PluginReadResponse__AbsolutePathBuf, Schema.Null])), |
| | 13788 | shortDescription: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13789 | }); |
| | 13790 | |
| | 13791 | export type V2PluginReadResponse__AppTemplateSummary = { |
| | 13792 | readonly canonicalConnectorId?: string | null; |
| | 13793 | readonly description?: string | null; |
| | 13794 | readonly logoUrl?: string | null; |
| | 13795 | readonly logoUrlDark?: string | null; |
| | 13796 | readonly materializedAppIds: ReadonlyArray<string>; |
| | 13797 | readonly name: string; |
| | 13798 | readonly reason?: V2PluginReadResponse__AppTemplateUnavailableReason | null; |
| | 13799 | readonly templateId: string; |
| | 13800 | }; |
| | 13801 | export const V2PluginReadResponse__AppTemplateSummary = Schema.Struct({ |
| | 13802 | canonicalConnectorId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13803 | description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13804 | logoUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13805 | logoUrlDark: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13806 | materializedAppIds: Schema.Array(Schema.String), |
| | 13807 | name: Schema.String, |
| | 13808 | reason: Schema.optionalKey( |
| | 13809 | Schema.Union([V2PluginReadResponse__AppTemplateUnavailableReason, Schema.Null]), |
| | 13810 | ), |
| | 13811 | templateId: Schema.String, |
| | 13812 | }); |
| | 13813 | |
| | 13814 | export type V2PluginReadResponse__PluginHookSummary = { |
| | 13815 | readonly eventName: V2PluginReadResponse__HookEventName; |
| | 13816 | readonly key: string; |
| | 13817 | }; |
| | 13818 | export const V2PluginReadResponse__PluginHookSummary = Schema.Struct({ |
| | 13819 | eventName: V2PluginReadResponse__HookEventName, |
| | 13820 | key: Schema.String, |
| | 13821 | }); |
| | 13822 | |
| | 13823 | export type V2PluginReadResponse__PluginSharePrincipal = { |
| | 13824 | readonly name: string; |
| | 13825 | readonly principalId: string; |
| | 13826 | readonly principalType: V2PluginReadResponse__PluginSharePrincipalType; |
| | 13827 | readonly role: V2PluginReadResponse__PluginSharePrincipalRole; |
| | 13828 | }; |
| | 13829 | export const V2PluginReadResponse__PluginSharePrincipal = Schema.Struct({ |
| | 13830 | name: Schema.String, |
| | 13831 | principalId: Schema.String, |
| | 13832 | principalType: V2PluginReadResponse__PluginSharePrincipalType, |
| | 13833 | role: V2PluginReadResponse__PluginSharePrincipalRole, |
| | 13834 | }); |
| | 13835 | |
| | 13836 | export type V2PluginShareListResponse__PluginInterface = { |
| | 13837 | readonly brandColor?: string | null; |
| | 13838 | readonly capabilities: ReadonlyArray<string>; |
| | 13839 | readonly category?: string | null; |
| | 13840 | readonly composerIcon?: V2PluginShareListResponse__AbsolutePathBuf | null; |
| | 13841 | readonly composerIconUrl?: string | null; |
| | 13842 | readonly defaultPrompt?: ReadonlyArray<string> | null; |
| | 13843 | readonly developerName?: string | null; |
| | 13844 | readonly displayName?: string | null; |
| | 13845 | readonly logo?: V2PluginShareListResponse__AbsolutePathBuf | null; |
| | 13846 | readonly logoUrl?: string | null; |
| | 13847 | readonly longDescription?: string | null; |
| | 13848 | readonly privacyPolicyUrl?: string | null; |
| | 13849 | readonly screenshotUrls: ReadonlyArray<string>; |
| | 13850 | readonly screenshots: ReadonlyArray<V2PluginShareListResponse__AbsolutePathBuf>; |
| | 13851 | readonly shortDescription?: string | null; |
| | 13852 | readonly termsOfServiceUrl?: string | null; |
| | 13853 | readonly websiteUrl?: string | null; |
| | 13854 | }; |
| | 13855 | export const V2PluginShareListResponse__PluginInterface = Schema.Struct({ |
| | 13856 | brandColor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13857 | capabilities: Schema.Array(Schema.String), |
| | 13858 | category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 13859 | composerIcon: Schema.optionalKey( |
| | 13860 | Schema.Union([V2PluginShareListResponse__AbsolutePathBuf, Schema.Null]).annotate({ |
| 13100 | description: "Local composer icon path, resolved from the installed plugin package.", | 13861 | description: "Local composer icon path, resolved from the installed plugin package.", |
| 13101 | }), | 13862 | }), |
| 13102 | ), | 13863 | ), |
| ... | @@ -13179,40 +13940,48 @@ export type V2PluginShareListResponse__PluginSharePrincipal = { | ... | @@ -13179,40 +13940,48 @@ export type V2PluginShareListResponse__PluginSharePrincipal = { |
| 13179 | readonly name: string; | 13940 | readonly name: string; |
| 13180 | readonly principalId: string; | 13941 | readonly principalId: string; |
| 13181 | readonly principalType: V2PluginShareListResponse__PluginSharePrincipalType; | 13942 | readonly principalType: V2PluginShareListResponse__PluginSharePrincipalType; |
| | 13943 | readonly role: V2PluginShareListResponse__PluginSharePrincipalRole; |
| 13182 | }; | 13944 | }; |
| 13183 | export const V2PluginShareListResponse__PluginSharePrincipal = Schema.Struct({ | 13945 | export const V2PluginShareListResponse__PluginSharePrincipal = Schema.Struct({ |
| 13184 | name: Schema.String, | 13946 | name: Schema.String, |
| 13185 | principalId: Schema.String, | 13947 | principalId: Schema.String, |
| 13186 | principalType: V2PluginShareListResponse__PluginSharePrincipalType, | 13948 | principalType: V2PluginShareListResponse__PluginSharePrincipalType, |
| | 13949 | role: V2PluginShareListResponse__PluginSharePrincipalRole, |
| 13187 | }); | 13950 | }); |
| 13188 | | 13951 | |
| 13189 | export type V2PluginShareSaveParams__PluginShareTarget = { | 13952 | export type V2PluginShareSaveParams__PluginShareTarget = { |
| 13190 | readonly principalId: string; | 13953 | readonly principalId: string; |
| 13191 | readonly principalType: V2PluginShareSaveParams__PluginSharePrincipalType; | 13954 | readonly principalType: V2PluginShareSaveParams__PluginSharePrincipalType; |
| | 13955 | readonly role: V2PluginShareSaveParams__PluginShareTargetRole; |
| 13192 | }; | 13956 | }; |
| 13193 | export const V2PluginShareSaveParams__PluginShareTarget = Schema.Struct({ | 13957 | export const V2PluginShareSaveParams__PluginShareTarget = Schema.Struct({ |
| 13194 | principalId: Schema.String, | 13958 | principalId: Schema.String, |
| 13195 | principalType: V2PluginShareSaveParams__PluginSharePrincipalType, | 13959 | principalType: V2PluginShareSaveParams__PluginSharePrincipalType, |
| | 13960 | role: V2PluginShareSaveParams__PluginShareTargetRole, |
| 13196 | }); | 13961 | }); |
| 13197 | | 13962 | |
| 13198 | export type V2PluginShareUpdateTargetsParams__PluginShareTarget = { | 13963 | export type V2PluginShareUpdateTargetsParams__PluginShareTarget = { |
| 13199 | readonly principalId: string; | 13964 | readonly principalId: string; |
| 13200 | readonly principalType: V2PluginShareUpdateTargetsParams__PluginSharePrincipalType; | 13965 | readonly principalType: V2PluginShareUpdateTargetsParams__PluginSharePrincipalType; |
| | 13966 | readonly role: V2PluginShareUpdateTargetsParams__PluginShareTargetRole; |
| 13201 | }; | 13967 | }; |
| 13202 | export const V2PluginShareUpdateTargetsParams__PluginShareTarget = Schema.Struct({ | 13968 | export const V2PluginShareUpdateTargetsParams__PluginShareTarget = Schema.Struct({ |
| 13203 | principalId: Schema.String, | 13969 | principalId: Schema.String, |
| 13204 | principalType: V2PluginShareUpdateTargetsParams__PluginSharePrincipalType, | 13970 | principalType: V2PluginShareUpdateTargetsParams__PluginSharePrincipalType, |
| | 13971 | role: V2PluginShareUpdateTargetsParams__PluginShareTargetRole, |
| 13205 | }); | 13972 | }); |
| 13206 | | 13973 | |
| 13207 | export type V2PluginShareUpdateTargetsResponse__PluginSharePrincipal = { | 13974 | export type V2PluginShareUpdateTargetsResponse__PluginSharePrincipal = { |
| 13208 | readonly name: string; | 13975 | readonly name: string; |
| 13209 | readonly principalId: string; | 13976 | readonly principalId: string; |
| 13210 | readonly principalType: V2PluginShareUpdateTargetsResponse__PluginSharePrincipalType; | 13977 | readonly principalType: V2PluginShareUpdateTargetsResponse__PluginSharePrincipalType; |
| | 13978 | readonly role: V2PluginShareUpdateTargetsResponse__PluginSharePrincipalRole; |
| 13211 | }; | 13979 | }; |
| 13212 | export const V2PluginShareUpdateTargetsResponse__PluginSharePrincipal = Schema.Struct({ | 13980 | export const V2PluginShareUpdateTargetsResponse__PluginSharePrincipal = Schema.Struct({ |
| 13213 | name: Schema.String, | 13981 | name: Schema.String, |
| 13214 | principalId: Schema.String, | 13982 | principalId: Schema.String, |
| 13215 | principalType: V2PluginShareUpdateTargetsResponse__PluginSharePrincipalType, | 13983 | principalType: V2PluginShareUpdateTargetsResponse__PluginSharePrincipalType, |
| | 13984 | role: V2PluginShareUpdateTargetsResponse__PluginSharePrincipalRole, |
| 13216 | }); | 13985 | }); |
| 13217 | | 13986 | |
| 13218 | export type V2RawResponseItemCompletedNotification__ContentItem = | 13987 | export type V2RawResponseItemCompletedNotification__ContentItem = |
| ... | @@ -13250,7 +14019,8 @@ export type V2RawResponseItemCompletedNotification__FunctionCallOutputContentIte | ... | @@ -13250,7 +14019,8 @@ export type V2RawResponseItemCompletedNotification__FunctionCallOutputContentIte |
| 13250 | readonly detail?: V2RawResponseItemCompletedNotification__ImageDetail | null; | 14019 | readonly detail?: V2RawResponseItemCompletedNotification__ImageDetail | null; |
| 13251 | readonly image_url: string; | 14020 | readonly image_url: string; |
| 13252 | readonly type: "input_image"; | 14021 | readonly type: "input_image"; |
| 13253 | }; | 14022 | } |
| | 14023 | | { readonly encrypted_content: string; readonly type: "encrypted_content" }; |
| 13254 | export const V2RawResponseItemCompletedNotification__FunctionCallOutputContentItem = Schema.Union( | 14024 | export const V2RawResponseItemCompletedNotification__FunctionCallOutputContentItem = Schema.Union( |
| 13255 | [ | 14025 | [ |
| 13256 | Schema.Struct({ | 14026 | Schema.Struct({ |
| ... | @@ -13268,6 +14038,12 @@ export const V2RawResponseItemCompletedNotification__FunctionCallOutputContentIt | ... | @@ -13268,6 +14038,12 @@ export const V2RawResponseItemCompletedNotification__FunctionCallOutputContentIt |
| 13268 | title: "InputImageFunctionCallOutputContentItemType", | 14038 | title: "InputImageFunctionCallOutputContentItemType", |
| 13269 | }), | 14039 | }), |
| 13270 | }).annotate({ title: "InputImageFunctionCallOutputContentItem" }), | 14040 | }).annotate({ title: "InputImageFunctionCallOutputContentItem" }), |
| | 14041 | Schema.Struct({ |
| | 14042 | encrypted_content: Schema.String, |
| | 14043 | type: Schema.Literal("encrypted_content").annotate({ |
| | 14044 | title: "EncryptedContentFunctionCallOutputContentItemType", |
| | 14045 | }), |
| | 14046 | }).annotate({ title: "EncryptedContentFunctionCallOutputContentItem" }), |
| 13271 | ], | 14047 | ], |
| 13272 | { mode: "oneOf" }, | 14048 | { mode: "oneOf" }, |
| 13273 | ).annotate({ | 14049 | ).annotate({ |
| ... | @@ -13460,8 +14236,16 @@ export type V2ReviewStartResponse__UserInput = | ... | @@ -13460,8 +14236,16 @@ export type V2ReviewStartResponse__UserInput = |
| 13460 | readonly text_elements?: ReadonlyArray<V2ReviewStartResponse__TextElement>; | 14236 | readonly text_elements?: ReadonlyArray<V2ReviewStartResponse__TextElement>; |
| 13461 | readonly type: "text"; | 14237 | readonly type: "text"; |
| 13462 | } | 14238 | } |
| 13463 | | { readonly type: "image"; readonly url: string } | 14239 | | { |
| 13464 | | { readonly path: string; readonly type: "localImage" } | 14240 | readonly detail?: V2ReviewStartResponse__ImageDetail | null; |
| | 14241 | readonly type: "image"; |
| | 14242 | readonly url: string; |
| | 14243 | } |
| | 14244 | | { |
| | 14245 | readonly detail?: V2ReviewStartResponse__ImageDetail | null; |
| | 14246 | readonly path: string; |
| | 14247 | readonly type: "localImage"; |
| | 14248 | } |
| 13465 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 14249 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 13466 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 14250 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 13467 | export const V2ReviewStartResponse__UserInput = Schema.Union( | 14251 | export const V2ReviewStartResponse__UserInput = Schema.Union( |
| ... | @@ -13477,10 +14261,12 @@ export const V2ReviewStartResponse__UserInput = Schema.Union( | ... | @@ -13477,10 +14261,12 @@ export const V2ReviewStartResponse__UserInput = Schema.Union( |
| 13477 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 14261 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 13478 | }).annotate({ title: "TextUserInput" }), | 14262 | }).annotate({ title: "TextUserInput" }), |
| 13479 | Schema.Struct({ | 14263 | Schema.Struct({ |
| | 14264 | detail: Schema.optionalKey(Schema.Union([V2ReviewStartResponse__ImageDetail, Schema.Null])), |
| 13480 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 14265 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 13481 | url: Schema.String, | 14266 | url: Schema.String, |
| 13482 | }).annotate({ title: "ImageUserInput" }), | 14267 | }).annotate({ title: "ImageUserInput" }), |
| 13483 | Schema.Struct({ | 14268 | Schema.Struct({ |
| | 14269 | detail: Schema.optionalKey(Schema.Union([V2ReviewStartResponse__ImageDetail, Schema.Null])), |
| 13484 | path: Schema.String, | 14270 | path: Schema.String, |
| 13485 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 14271 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 13486 | }).annotate({ title: "LocalImageUserInput" }), | 14272 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -13522,44 +14308,6 @@ export const V2SkillsListResponse__SkillDependencies = Schema.Struct({ | ... | @@ -13522,44 +14308,6 @@ export const V2SkillsListResponse__SkillDependencies = Schema.Struct({ |
| 13522 | tools: Schema.Array(V2SkillsListResponse__SkillToolDependency), | 14308 | tools: Schema.Array(V2SkillsListResponse__SkillToolDependency), |
| 13523 | }); | 14309 | }); |
| 13524 | | 14310 | |
| 13525 | export type V2ThreadForkParams__PermissionProfileModificationParams = { | | |
| 13526 | readonly path: V2ThreadForkParams__AbsolutePathBuf; | | |
| 13527 | readonly type: "additionalWritableRoot"; | | |
| 13528 | }; | | |
| 13529 | export const V2ThreadForkParams__PermissionProfileModificationParams = Schema.Union( | | |
| 13530 | [ | | |
| 13531 | Schema.Struct({ | | |
| 13532 | path: V2ThreadForkParams__AbsolutePathBuf, | | |
| 13533 | type: Schema.Literal("additionalWritableRoot").annotate({ | | |
| 13534 | title: "AdditionalWritableRootPermissionProfileModificationParamsType", | | |
| 13535 | }), | | |
| 13536 | }).annotate({ | | |
| 13537 | title: "AdditionalWritableRootPermissionProfileModificationParams", | | |
| 13538 | description: "Additional concrete directory that should be writable.", | | |
| 13539 | }), | | |
| 13540 | ], | | |
| 13541 | { mode: "oneOf" }, | | |
| 13542 | ); | | |
| 13543 | | | |
| 13544 | export type V2ThreadForkResponse__ActivePermissionProfileModification = { | | |
| 13545 | readonly path: V2ThreadForkResponse__AbsolutePathBuf; | | |
| 13546 | readonly type: "additionalWritableRoot"; | | |
| 13547 | }; | | |
| 13548 | export const V2ThreadForkResponse__ActivePermissionProfileModification = Schema.Union( | | |
| 13549 | [ | | |
| 13550 | Schema.Struct({ | | |
| 13551 | path: V2ThreadForkResponse__AbsolutePathBuf, | | |
| 13552 | type: Schema.Literal("additionalWritableRoot").annotate({ | | |
| 13553 | title: "AdditionalWritableRootActivePermissionProfileModificationType", | | |
| 13554 | }), | | |
| 13555 | }).annotate({ | | |
| 13556 | title: "AdditionalWritableRootActivePermissionProfileModification", | | |
| 13557 | description: "Additional concrete directory that should be writable.", | | |
| 13558 | }), | | |
| 13559 | ], | | |
| 13560 | { mode: "oneOf" }, | | |
| 13561 | ); | | |
| 13562 | | | |
| 13563 | export type V2ThreadForkResponse__CommandAction = | 14311 | export type V2ThreadForkResponse__CommandAction = |
| 13564 | | { | 14312 | | { |
| 13565 | readonly command: string; | 14313 | readonly command: string; |
| ... | @@ -13611,28 +14359,6 @@ export const V2ThreadForkResponse__CollabAgentState = Schema.Struct({ | ... | @@ -13611,28 +14359,6 @@ export const V2ThreadForkResponse__CollabAgentState = Schema.Struct({ |
| 13611 | status: V2ThreadForkResponse__CollabAgentStatus, | 14359 | status: V2ThreadForkResponse__CollabAgentStatus, |
| 13612 | }); | 14360 | }); |
| 13613 | | 14361 | |
| 13614 | export type V2ThreadForkResponse__FileSystemPath = | | |
| 13615 | | { readonly path: V2ThreadForkResponse__AbsolutePathBuf; readonly type: "path" } | | |
| 13616 | | { readonly pattern: string; readonly type: "glob_pattern" } | | |
| 13617 | | { readonly type: "special"; readonly value: V2ThreadForkResponse__FileSystemSpecialPath }; | | |
| 13618 | export const V2ThreadForkResponse__FileSystemPath = Schema.Union( | | |
| 13619 | [ | | |
| 13620 | Schema.Struct({ | | |
| 13621 | path: V2ThreadForkResponse__AbsolutePathBuf, | | |
| 13622 | type: Schema.Literal("path").annotate({ title: "PathFileSystemPathType" }), | | |
| 13623 | }).annotate({ title: "PathFileSystemPath" }), | | |
| 13624 | Schema.Struct({ | | |
| 13625 | pattern: Schema.String, | | |
| 13626 | type: Schema.Literal("glob_pattern").annotate({ title: "GlobPatternFileSystemPathType" }), | | |
| 13627 | }).annotate({ title: "GlobPatternFileSystemPath" }), | | |
| 13628 | Schema.Struct({ | | |
| 13629 | type: Schema.Literal("special").annotate({ title: "SpecialFileSystemPathType" }), | | |
| 13630 | value: V2ThreadForkResponse__FileSystemSpecialPath, | | |
| 13631 | }).annotate({ title: "SpecialFileSystemPath" }), | | |
| 13632 | ], | | |
| 13633 | { mode: "oneOf" }, | | |
| 13634 | ); | | |
| 13635 | | | |
| 13636 | export type V2ThreadForkResponse__MemoryCitation = { | 14362 | export type V2ThreadForkResponse__MemoryCitation = { |
| 13637 | readonly entries: ReadonlyArray<V2ThreadForkResponse__MemoryCitationEntry>; | 14363 | readonly entries: ReadonlyArray<V2ThreadForkResponse__MemoryCitationEntry>; |
| 13638 | readonly threadIds: ReadonlyArray<string>; | 14364 | readonly threadIds: ReadonlyArray<string>; |
| ... | @@ -13767,8 +14493,16 @@ export type V2ThreadForkResponse__UserInput = | ... | @@ -13767,8 +14493,16 @@ export type V2ThreadForkResponse__UserInput = |
| 13767 | readonly text_elements?: ReadonlyArray<V2ThreadForkResponse__TextElement>; | 14493 | readonly text_elements?: ReadonlyArray<V2ThreadForkResponse__TextElement>; |
| 13768 | readonly type: "text"; | 14494 | readonly type: "text"; |
| 13769 | } | 14495 | } |
| 13770 | | { readonly type: "image"; readonly url: string } | 14496 | | { |
| 13771 | | { readonly path: string; readonly type: "localImage" } | 14497 | readonly detail?: V2ThreadForkResponse__ImageDetail | null; |
| | 14498 | readonly type: "image"; |
| | 14499 | readonly url: string; |
| | 14500 | } |
| | 14501 | | { |
| | 14502 | readonly detail?: V2ThreadForkResponse__ImageDetail | null; |
| | 14503 | readonly path: string; |
| | 14504 | readonly type: "localImage"; |
| | 14505 | } |
| 13772 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 14506 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 13773 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 14507 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 13774 | export const V2ThreadForkResponse__UserInput = Schema.Union( | 14508 | export const V2ThreadForkResponse__UserInput = Schema.Union( |
| ... | @@ -13784,10 +14518,12 @@ export const V2ThreadForkResponse__UserInput = Schema.Union( | ... | @@ -13784,10 +14518,12 @@ export const V2ThreadForkResponse__UserInput = Schema.Union( |
| 13784 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 14518 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 13785 | }).annotate({ title: "TextUserInput" }), | 14519 | }).annotate({ title: "TextUserInput" }), |
| 13786 | Schema.Struct({ | 14520 | Schema.Struct({ |
| | 14521 | detail: Schema.optionalKey(Schema.Union([V2ThreadForkResponse__ImageDetail, Schema.Null])), |
| 13787 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 14522 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 13788 | url: Schema.String, | 14523 | url: Schema.String, |
| 13789 | }).annotate({ title: "ImageUserInput" }), | 14524 | }).annotate({ title: "ImageUserInput" }), |
| 13790 | Schema.Struct({ | 14525 | Schema.Struct({ |
| | 14526 | detail: Schema.optionalKey(Schema.Union([V2ThreadForkResponse__ImageDetail, Schema.Null])), |
| 13791 | path: Schema.String, | 14527 | path: Schema.String, |
| 13792 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 14528 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 13793 | }).annotate({ title: "LocalImageUserInput" }), | 14529 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -13838,6 +14574,52 @@ export const V2ThreadForkResponse__SubAgentSource = Schema.Union( | ... | @@ -13838,6 +14574,52 @@ export const V2ThreadForkResponse__SubAgentSource = Schema.Union( |
| 13838 | { mode: "oneOf" }, | 14574 | { mode: "oneOf" }, |
| 13839 | ); | 14575 | ); |
| 13840 | | 14576 | |
| | 14577 | export type V2ThreadGoalGetResponse__ThreadGoal = { |
| | 14578 | readonly createdAt: number; |
| | 14579 | readonly objective: string; |
| | 14580 | readonly status: V2ThreadGoalGetResponse__ThreadGoalStatus; |
| | 14581 | readonly threadId: string; |
| | 14582 | readonly timeUsedSeconds: number; |
| | 14583 | readonly tokenBudget?: number | null; |
| | 14584 | readonly tokensUsed: number; |
| | 14585 | readonly updatedAt: number; |
| | 14586 | }; |
| | 14587 | export const V2ThreadGoalGetResponse__ThreadGoal = Schema.Struct({ |
| | 14588 | createdAt: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 14589 | objective: Schema.String, |
| | 14590 | status: V2ThreadGoalGetResponse__ThreadGoalStatus, |
| | 14591 | threadId: Schema.String, |
| | 14592 | timeUsedSeconds: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 14593 | tokenBudget: Schema.optionalKey( |
| | 14594 | Schema.Union([Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), Schema.Null]), |
| | 14595 | ), |
| | 14596 | tokensUsed: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 14597 | updatedAt: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 14598 | }); |
| | 14599 | |
| | 14600 | export type V2ThreadGoalSetResponse__ThreadGoal = { |
| | 14601 | readonly createdAt: number; |
| | 14602 | readonly objective: string; |
| | 14603 | readonly status: V2ThreadGoalSetResponse__ThreadGoalStatus; |
| | 14604 | readonly threadId: string; |
| | 14605 | readonly timeUsedSeconds: number; |
| | 14606 | readonly tokenBudget?: number | null; |
| | 14607 | readonly tokensUsed: number; |
| | 14608 | readonly updatedAt: number; |
| | 14609 | }; |
| | 14610 | export const V2ThreadGoalSetResponse__ThreadGoal = Schema.Struct({ |
| | 14611 | createdAt: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 14612 | objective: Schema.String, |
| | 14613 | status: V2ThreadGoalSetResponse__ThreadGoalStatus, |
| | 14614 | threadId: Schema.String, |
| | 14615 | timeUsedSeconds: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 14616 | tokenBudget: Schema.optionalKey( |
| | 14617 | Schema.Union([Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), Schema.Null]), |
| | 14618 | ), |
| | 14619 | tokensUsed: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 14620 | updatedAt: Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 14621 | }); |
| | 14622 | |
| 13841 | export type V2ThreadGoalUpdatedNotification__ThreadGoal = { | 14623 | export type V2ThreadGoalUpdatedNotification__ThreadGoal = { |
| 13842 | readonly createdAt: number; | 14624 | readonly createdAt: number; |
| 13843 | readonly objective: string; | 14625 | readonly objective: string; |
| ... | @@ -14046,8 +14828,16 @@ export type V2ThreadListResponse__UserInput = | ... | @@ -14046,8 +14828,16 @@ export type V2ThreadListResponse__UserInput = |
| 14046 | readonly text_elements?: ReadonlyArray<V2ThreadListResponse__TextElement>; | 14828 | readonly text_elements?: ReadonlyArray<V2ThreadListResponse__TextElement>; |
| 14047 | readonly type: "text"; | 14829 | readonly type: "text"; |
| 14048 | } | 14830 | } |
| 14049 | | { readonly type: "image"; readonly url: string } | 14831 | | { |
| 14050 | | { readonly path: string; readonly type: "localImage" } | 14832 | readonly detail?: V2ThreadListResponse__ImageDetail | null; |
| | 14833 | readonly type: "image"; |
| | 14834 | readonly url: string; |
| | 14835 | } |
| | 14836 | | { |
| | 14837 | readonly detail?: V2ThreadListResponse__ImageDetail | null; |
| | 14838 | readonly path: string; |
| | 14839 | readonly type: "localImage"; |
| | 14840 | } |
| 14051 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 14841 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 14052 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 14842 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 14053 | export const V2ThreadListResponse__UserInput = Schema.Union( | 14843 | export const V2ThreadListResponse__UserInput = Schema.Union( |
| ... | @@ -14063,10 +14853,12 @@ export const V2ThreadListResponse__UserInput = Schema.Union( | ... | @@ -14063,10 +14853,12 @@ export const V2ThreadListResponse__UserInput = Schema.Union( |
| 14063 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 14853 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 14064 | }).annotate({ title: "TextUserInput" }), | 14854 | }).annotate({ title: "TextUserInput" }), |
| 14065 | Schema.Struct({ | 14855 | Schema.Struct({ |
| | 14856 | detail: Schema.optionalKey(Schema.Union([V2ThreadListResponse__ImageDetail, Schema.Null])), |
| 14066 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 14857 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 14067 | url: Schema.String, | 14858 | url: Schema.String, |
| 14068 | }).annotate({ title: "ImageUserInput" }), | 14859 | }).annotate({ title: "ImageUserInput" }), |
| 14069 | Schema.Struct({ | 14860 | Schema.Struct({ |
| | 14861 | detail: Schema.optionalKey(Schema.Union([V2ThreadListResponse__ImageDetail, Schema.Null])), |
| 14070 | path: Schema.String, | 14862 | path: Schema.String, |
| 14071 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 14863 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 14072 | }).annotate({ title: "LocalImageUserInput" }), | 14864 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -14302,8 +15094,16 @@ export type V2ThreadMetadataUpdateResponse__UserInput = | ... | @@ -14302,8 +15094,16 @@ export type V2ThreadMetadataUpdateResponse__UserInput = |
| 14302 | readonly text_elements?: ReadonlyArray<V2ThreadMetadataUpdateResponse__TextElement>; | 15094 | readonly text_elements?: ReadonlyArray<V2ThreadMetadataUpdateResponse__TextElement>; |
| 14303 | readonly type: "text"; | 15095 | readonly type: "text"; |
| 14304 | } | 15096 | } |
| 14305 | | { readonly type: "image"; readonly url: string } | 15097 | | { |
| 14306 | | { readonly path: string; readonly type: "localImage" } | 15098 | readonly detail?: V2ThreadMetadataUpdateResponse__ImageDetail | null; |
| | 15099 | readonly type: "image"; |
| | 15100 | readonly url: string; |
| | 15101 | } |
| | 15102 | | { |
| | 15103 | readonly detail?: V2ThreadMetadataUpdateResponse__ImageDetail | null; |
| | 15104 | readonly path: string; |
| | 15105 | readonly type: "localImage"; |
| | 15106 | } |
| 14307 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 15107 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 14308 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 15108 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 14309 | export const V2ThreadMetadataUpdateResponse__UserInput = Schema.Union( | 15109 | export const V2ThreadMetadataUpdateResponse__UserInput = Schema.Union( |
| ... | @@ -14319,10 +15119,16 @@ export const V2ThreadMetadataUpdateResponse__UserInput = Schema.Union( | ... | @@ -14319,10 +15119,16 @@ export const V2ThreadMetadataUpdateResponse__UserInput = Schema.Union( |
| 14319 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 15119 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 14320 | }).annotate({ title: "TextUserInput" }), | 15120 | }).annotate({ title: "TextUserInput" }), |
| 14321 | Schema.Struct({ | 15121 | Schema.Struct({ |
| | 15122 | detail: Schema.optionalKey( |
| | 15123 | Schema.Union([V2ThreadMetadataUpdateResponse__ImageDetail, Schema.Null]), |
| | 15124 | ), |
| 14322 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 15125 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 14323 | url: Schema.String, | 15126 | url: Schema.String, |
| 14324 | }).annotate({ title: "ImageUserInput" }), | 15127 | }).annotate({ title: "ImageUserInput" }), |
| 14325 | Schema.Struct({ | 15128 | Schema.Struct({ |
| | 15129 | detail: Schema.optionalKey( |
| | 15130 | Schema.Union([V2ThreadMetadataUpdateResponse__ImageDetail, Schema.Null]), |
| | 15131 | ), |
| 14326 | path: Schema.String, | 15132 | path: Schema.String, |
| 14327 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 15133 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 14328 | }).annotate({ title: "LocalImageUserInput" }), | 15134 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -14558,8 +15364,16 @@ export type V2ThreadReadResponse__UserInput = | ... | @@ -14558,8 +15364,16 @@ export type V2ThreadReadResponse__UserInput = |
| 14558 | readonly text_elements?: ReadonlyArray<V2ThreadReadResponse__TextElement>; | 15364 | readonly text_elements?: ReadonlyArray<V2ThreadReadResponse__TextElement>; |
| 14559 | readonly type: "text"; | 15365 | readonly type: "text"; |
| 14560 | } | 15366 | } |
| 14561 | | { readonly type: "image"; readonly url: string } | 15367 | | { |
| 14562 | | { readonly path: string; readonly type: "localImage" } | 15368 | readonly detail?: V2ThreadReadResponse__ImageDetail | null; |
| | 15369 | readonly type: "image"; |
| | 15370 | readonly url: string; |
| | 15371 | } |
| | 15372 | | { |
| | 15373 | readonly detail?: V2ThreadReadResponse__ImageDetail | null; |
| | 15374 | readonly path: string; |
| | 15375 | readonly type: "localImage"; |
| | 15376 | } |
| 14563 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 15377 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 14564 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 15378 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 14565 | export const V2ThreadReadResponse__UserInput = Schema.Union( | 15379 | export const V2ThreadReadResponse__UserInput = Schema.Union( |
| ... | @@ -14575,10 +15389,12 @@ export const V2ThreadReadResponse__UserInput = Schema.Union( | ... | @@ -14575,10 +15389,12 @@ export const V2ThreadReadResponse__UserInput = Schema.Union( |
| 14575 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 15389 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 14576 | }).annotate({ title: "TextUserInput" }), | 15390 | }).annotate({ title: "TextUserInput" }), |
| 14577 | Schema.Struct({ | 15391 | Schema.Struct({ |
| | 15392 | detail: Schema.optionalKey(Schema.Union([V2ThreadReadResponse__ImageDetail, Schema.Null])), |
| 14578 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 15393 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 14579 | url: Schema.String, | 15394 | url: Schema.String, |
| 14580 | }).annotate({ title: "ImageUserInput" }), | 15395 | }).annotate({ title: "ImageUserInput" }), |
| 14581 | Schema.Struct({ | 15396 | Schema.Struct({ |
| | 15397 | detail: Schema.optionalKey(Schema.Union([V2ThreadReadResponse__ImageDetail, Schema.Null])), |
| 14582 | path: Schema.String, | 15398 | path: Schema.String, |
| 14583 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 15399 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 14584 | }).annotate({ title: "LocalImageUserInput" }), | 15400 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -14629,25 +15445,6 @@ export const V2ThreadReadResponse__SubAgentSource = Schema.Union( | ... | @@ -14629,25 +15445,6 @@ export const V2ThreadReadResponse__SubAgentSource = Schema.Union( |
| 14629 | { mode: "oneOf" }, | 15445 | { mode: "oneOf" }, |
| 14630 | ); | 15446 | ); |
| 14631 | | 15447 | |
| 14632 | export type V2ThreadResumeParams__PermissionProfileModificationParams = { | | |
| 14633 | readonly path: V2ThreadResumeParams__AbsolutePathBuf; | | |
| 14634 | readonly type: "additionalWritableRoot"; | | |
| 14635 | }; | | |
| 14636 | export const V2ThreadResumeParams__PermissionProfileModificationParams = Schema.Union( | | |
| 14637 | [ | | |
| 14638 | Schema.Struct({ | | |
| 14639 | path: V2ThreadResumeParams__AbsolutePathBuf, | | |
| 14640 | type: Schema.Literal("additionalWritableRoot").annotate({ | | |
| 14641 | title: "AdditionalWritableRootPermissionProfileModificationParamsType", | | |
| 14642 | }), | | |
| 14643 | }).annotate({ | | |
| 14644 | title: "AdditionalWritableRootPermissionProfileModificationParams", | | |
| 14645 | description: "Additional concrete directory that should be writable.", | | |
| 14646 | }), | | |
| 14647 | ], | | |
| 14648 | { mode: "oneOf" }, | | |
| 14649 | ); | | |
| 14650 | | | |
| 14651 | export type V2ThreadResumeParams__ContentItem = | 15448 | export type V2ThreadResumeParams__ContentItem = |
| 14652 | | { readonly text: string; readonly type: "input_text" } | 15449 | | { readonly text: string; readonly type: "input_text" } |
| 14653 | | { | 15450 | | { |
| ... | @@ -14681,7 +15478,8 @@ export type V2ThreadResumeParams__FunctionCallOutputContentItem = | ... | @@ -14681,7 +15478,8 @@ export type V2ThreadResumeParams__FunctionCallOutputContentItem = |
| 14681 | readonly detail?: V2ThreadResumeParams__ImageDetail | null; | 15478 | readonly detail?: V2ThreadResumeParams__ImageDetail | null; |
| 14682 | readonly image_url: string; | 15479 | readonly image_url: string; |
| 14683 | readonly type: "input_image"; | 15480 | readonly type: "input_image"; |
| 14684 | }; | 15481 | } |
| | 15482 | | { readonly encrypted_content: string; readonly type: "encrypted_content" }; |
| 14685 | export const V2ThreadResumeParams__FunctionCallOutputContentItem = Schema.Union( | 15483 | export const V2ThreadResumeParams__FunctionCallOutputContentItem = Schema.Union( |
| 14686 | [ | 15484 | [ |
| 14687 | Schema.Struct({ | 15485 | Schema.Struct({ |
| ... | @@ -14697,6 +15495,12 @@ export const V2ThreadResumeParams__FunctionCallOutputContentItem = Schema.Union( | ... | @@ -14697,6 +15495,12 @@ export const V2ThreadResumeParams__FunctionCallOutputContentItem = Schema.Union( |
| 14697 | title: "InputImageFunctionCallOutputContentItemType", | 15495 | title: "InputImageFunctionCallOutputContentItemType", |
| 14698 | }), | 15496 | }), |
| 14699 | }).annotate({ title: "InputImageFunctionCallOutputContentItem" }), | 15497 | }).annotate({ title: "InputImageFunctionCallOutputContentItem" }), |
| | 15498 | Schema.Struct({ |
| | 15499 | encrypted_content: Schema.String, |
| | 15500 | type: Schema.Literal("encrypted_content").annotate({ |
| | 15501 | title: "EncryptedContentFunctionCallOutputContentItemType", |
| | 15502 | }), |
| | 15503 | }).annotate({ title: "EncryptedContentFunctionCallOutputContentItem" }), |
| 14700 | ], | 15504 | ], |
| 14701 | { mode: "oneOf" }, | 15505 | { mode: "oneOf" }, |
| 14702 | ).annotate({ | 15506 | ).annotate({ |
| ... | @@ -14704,25 +15508,6 @@ export const V2ThreadResumeParams__FunctionCallOutputContentItem = Schema.Union( | ... | @@ -14704,25 +15508,6 @@ export const V2ThreadResumeParams__FunctionCallOutputContentItem = Schema.Union( |
| 14704 | "Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.", | 15508 | "Responses API compatible content items that can be returned by a tool call. This is a subset of ContentItem with the types we support as function call outputs.", |
| 14705 | }); | 15509 | }); |
| 14706 | | 15510 | |
| 14707 | export type V2ThreadResumeResponse__ActivePermissionProfileModification = { | | |
| 14708 | readonly path: V2ThreadResumeResponse__AbsolutePathBuf; | | |
| 14709 | readonly type: "additionalWritableRoot"; | | |
| 14710 | }; | | |
| 14711 | export const V2ThreadResumeResponse__ActivePermissionProfileModification = Schema.Union( | | |
| 14712 | [ | | |
| 14713 | Schema.Struct({ | | |
| 14714 | path: V2ThreadResumeResponse__AbsolutePathBuf, | | |
| 14715 | type: Schema.Literal("additionalWritableRoot").annotate({ | | |
| 14716 | title: "AdditionalWritableRootActivePermissionProfileModificationType", | | |
| 14717 | }), | | |
| 14718 | }).annotate({ | | |
| 14719 | title: "AdditionalWritableRootActivePermissionProfileModification", | | |
| 14720 | description: "Additional concrete directory that should be writable.", | | |
| 14721 | }), | | |
| 14722 | ], | | |
| 14723 | { mode: "oneOf" }, | | |
| 14724 | ); | | |
| 14725 | | | |
| 14726 | export type V2ThreadResumeResponse__CommandAction = | 15511 | export type V2ThreadResumeResponse__CommandAction = |
| 14727 | | { | 15512 | | { |
| 14728 | readonly command: string; | 15513 | readonly command: string; |
| ... | @@ -14774,28 +15559,6 @@ export const V2ThreadResumeResponse__CollabAgentState = Schema.Struct({ | ... | @@ -14774,28 +15559,6 @@ export const V2ThreadResumeResponse__CollabAgentState = Schema.Struct({ |
| 14774 | status: V2ThreadResumeResponse__CollabAgentStatus, | 15559 | status: V2ThreadResumeResponse__CollabAgentStatus, |
| 14775 | }); | 15560 | }); |
| 14776 | | 15561 | |
| 14777 | export type V2ThreadResumeResponse__FileSystemPath = | | |
| 14778 | | { readonly path: V2ThreadResumeResponse__AbsolutePathBuf; readonly type: "path" } | | |
| 14779 | | { readonly pattern: string; readonly type: "glob_pattern" } | | |
| 14780 | | { readonly type: "special"; readonly value: V2ThreadResumeResponse__FileSystemSpecialPath }; | | |
| 14781 | export const V2ThreadResumeResponse__FileSystemPath = Schema.Union( | | |
| 14782 | [ | | |
| 14783 | Schema.Struct({ | | |
| 14784 | path: V2ThreadResumeResponse__AbsolutePathBuf, | | |
| 14785 | type: Schema.Literal("path").annotate({ title: "PathFileSystemPathType" }), | | |
| 14786 | }).annotate({ title: "PathFileSystemPath" }), | | |
| 14787 | Schema.Struct({ | | |
| 14788 | pattern: Schema.String, | | |
| 14789 | type: Schema.Literal("glob_pattern").annotate({ title: "GlobPatternFileSystemPathType" }), | | |
| 14790 | }).annotate({ title: "GlobPatternFileSystemPath" }), | | |
| 14791 | Schema.Struct({ | | |
| 14792 | type: Schema.Literal("special").annotate({ title: "SpecialFileSystemPathType" }), | | |
| 14793 | value: V2ThreadResumeResponse__FileSystemSpecialPath, | | |
| 14794 | }).annotate({ title: "SpecialFileSystemPath" }), | | |
| 14795 | ], | | |
| 14796 | { mode: "oneOf" }, | | |
| 14797 | ); | | |
| 14798 | | | |
| 14799 | export type V2ThreadResumeResponse__MemoryCitation = { | 15562 | export type V2ThreadResumeResponse__MemoryCitation = { |
| 14800 | readonly entries: ReadonlyArray<V2ThreadResumeResponse__MemoryCitationEntry>; | 15563 | readonly entries: ReadonlyArray<V2ThreadResumeResponse__MemoryCitationEntry>; |
| 14801 | readonly threadIds: ReadonlyArray<string>; | 15564 | readonly threadIds: ReadonlyArray<string>; |
| ... | @@ -14930,8 +15693,16 @@ export type V2ThreadResumeResponse__UserInput = | ... | @@ -14930,8 +15693,16 @@ export type V2ThreadResumeResponse__UserInput = |
| 14930 | readonly text_elements?: ReadonlyArray<V2ThreadResumeResponse__TextElement>; | 15693 | readonly text_elements?: ReadonlyArray<V2ThreadResumeResponse__TextElement>; |
| 14931 | readonly type: "text"; | 15694 | readonly type: "text"; |
| 14932 | } | 15695 | } |
| 14933 | | { readonly type: "image"; readonly url: string } | 15696 | | { |
| 14934 | | { readonly path: string; readonly type: "localImage" } | 15697 | readonly detail?: V2ThreadResumeResponse__ImageDetail | null; |
| | 15698 | readonly type: "image"; |
| | 15699 | readonly url: string; |
| | 15700 | } |
| | 15701 | | { |
| | 15702 | readonly detail?: V2ThreadResumeResponse__ImageDetail | null; |
| | 15703 | readonly path: string; |
| | 15704 | readonly type: "localImage"; |
| | 15705 | } |
| 14935 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 15706 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 14936 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 15707 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 14937 | export const V2ThreadResumeResponse__UserInput = Schema.Union( | 15708 | export const V2ThreadResumeResponse__UserInput = Schema.Union( |
| ... | @@ -14947,10 +15718,12 @@ export const V2ThreadResumeResponse__UserInput = Schema.Union( | ... | @@ -14947,10 +15718,12 @@ export const V2ThreadResumeResponse__UserInput = Schema.Union( |
| 14947 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 15718 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 14948 | }).annotate({ title: "TextUserInput" }), | 15719 | }).annotate({ title: "TextUserInput" }), |
| 14949 | Schema.Struct({ | 15720 | Schema.Struct({ |
| | 15721 | detail: Schema.optionalKey(Schema.Union([V2ThreadResumeResponse__ImageDetail, Schema.Null])), |
| 14950 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 15722 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 14951 | url: Schema.String, | 15723 | url: Schema.String, |
| 14952 | }).annotate({ title: "ImageUserInput" }), | 15724 | }).annotate({ title: "ImageUserInput" }), |
| 14953 | Schema.Struct({ | 15725 | Schema.Struct({ |
| | 15726 | detail: Schema.optionalKey(Schema.Union([V2ThreadResumeResponse__ImageDetail, Schema.Null])), |
| 14954 | path: Schema.String, | 15727 | path: Schema.String, |
| 14955 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 15728 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 14956 | }).annotate({ title: "LocalImageUserInput" }), | 15729 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -15186,8 +15959,16 @@ export type V2ThreadRollbackResponse__UserInput = | ... | @@ -15186,8 +15959,16 @@ export type V2ThreadRollbackResponse__UserInput = |
| 15186 | readonly text_elements?: ReadonlyArray<V2ThreadRollbackResponse__TextElement>; | 15959 | readonly text_elements?: ReadonlyArray<V2ThreadRollbackResponse__TextElement>; |
| 15187 | readonly type: "text"; | 15960 | readonly type: "text"; |
| 15188 | } | 15961 | } |
| 15189 | | { readonly type: "image"; readonly url: string } | 15962 | | { |
| 15190 | | { readonly path: string; readonly type: "localImage" } | 15963 | readonly detail?: V2ThreadRollbackResponse__ImageDetail | null; |
| | 15964 | readonly type: "image"; |
| | 15965 | readonly url: string; |
| | 15966 | } |
| | 15967 | | { |
| | 15968 | readonly detail?: V2ThreadRollbackResponse__ImageDetail | null; |
| | 15969 | readonly path: string; |
| | 15970 | readonly type: "localImage"; |
| | 15971 | } |
| 15191 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 15972 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 15192 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 15973 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 15193 | export const V2ThreadRollbackResponse__UserInput = Schema.Union( | 15974 | export const V2ThreadRollbackResponse__UserInput = Schema.Union( |
| ... | @@ -15203,10 +15984,16 @@ export const V2ThreadRollbackResponse__UserInput = Schema.Union( | ... | @@ -15203,10 +15984,16 @@ export const V2ThreadRollbackResponse__UserInput = Schema.Union( |
| 15203 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 15984 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 15204 | }).annotate({ title: "TextUserInput" }), | 15985 | }).annotate({ title: "TextUserInput" }), |
| 15205 | Schema.Struct({ | 15986 | Schema.Struct({ |
| | 15987 | detail: Schema.optionalKey( |
| | 15988 | Schema.Union([V2ThreadRollbackResponse__ImageDetail, Schema.Null]), |
| | 15989 | ), |
| 15206 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 15990 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 15207 | url: Schema.String, | 15991 | url: Schema.String, |
| 15208 | }).annotate({ title: "ImageUserInput" }), | 15992 | }).annotate({ title: "ImageUserInput" }), |
| 15209 | Schema.Struct({ | 15993 | Schema.Struct({ |
| | 15994 | detail: Schema.optionalKey( |
| | 15995 | Schema.Union([V2ThreadRollbackResponse__ImageDetail, Schema.Null]), |
| | 15996 | ), |
| 15210 | path: Schema.String, | 15997 | path: Schema.String, |
| 15211 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 15998 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 15212 | }).annotate({ title: "LocalImageUserInput" }), | 15999 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -15257,6 +16044,64 @@ export const V2ThreadRollbackResponse__SubAgentSource = Schema.Union( | ... | @@ -15257,6 +16044,64 @@ export const V2ThreadRollbackResponse__SubAgentSource = Schema.Union( |
| 15257 | { mode: "oneOf" }, | 16044 | { mode: "oneOf" }, |
| 15258 | ); | 16045 | ); |
| 15259 | | 16046 | |
| | 16047 | export type V2ThreadSettingsUpdatedNotification__SandboxPolicy = |
| | 16048 | | { readonly type: "dangerFullAccess" } |
| | 16049 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } |
| | 16050 | | { readonly networkAccess?: "restricted" | "enabled"; readonly type: "externalSandbox" } |
| | 16051 | | { |
| | 16052 | readonly excludeSlashTmp?: boolean; |
| | 16053 | readonly excludeTmpdirEnvVar?: boolean; |
| | 16054 | readonly networkAccess?: boolean; |
| | 16055 | readonly type: "workspaceWrite"; |
| | 16056 | readonly writableRoots?: ReadonlyArray<V2ThreadSettingsUpdatedNotification__AbsolutePathBuf>; |
| | 16057 | }; |
| | 16058 | export const V2ThreadSettingsUpdatedNotification__SandboxPolicy = Schema.Union( |
| | 16059 | [ |
| | 16060 | Schema.Struct({ |
| | 16061 | type: Schema.Literal("dangerFullAccess").annotate({ |
| | 16062 | title: "DangerFullAccessSandboxPolicyType", |
| | 16063 | }), |
| | 16064 | }).annotate({ title: "DangerFullAccessSandboxPolicy" }), |
| | 16065 | Schema.Struct({ |
| | 16066 | networkAccess: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 16067 | type: Schema.Literal("readOnly").annotate({ title: "ReadOnlySandboxPolicyType" }), |
| | 16068 | }).annotate({ title: "ReadOnlySandboxPolicy" }), |
| | 16069 | Schema.Struct({ |
| | 16070 | networkAccess: Schema.optionalKey( |
| | 16071 | Schema.Literals(["restricted", "enabled"]).annotate({ default: "restricted" }), |
| | 16072 | ), |
| | 16073 | type: Schema.Literal("externalSandbox").annotate({ |
| | 16074 | title: "ExternalSandboxSandboxPolicyType", |
| | 16075 | }), |
| | 16076 | }).annotate({ title: "ExternalSandboxSandboxPolicy" }), |
| | 16077 | Schema.Struct({ |
| | 16078 | excludeSlashTmp: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 16079 | excludeTmpdirEnvVar: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 16080 | networkAccess: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), |
| | 16081 | type: Schema.Literal("workspaceWrite").annotate({ title: "WorkspaceWriteSandboxPolicyType" }), |
| | 16082 | writableRoots: Schema.optionalKey( |
| | 16083 | Schema.Array(V2ThreadSettingsUpdatedNotification__AbsolutePathBuf).annotate({ |
| | 16084 | default: [], |
| | 16085 | }), |
| | 16086 | ), |
| | 16087 | }).annotate({ title: "WorkspaceWriteSandboxPolicy" }), |
| | 16088 | ], |
| | 16089 | { mode: "oneOf" }, |
| | 16090 | ); |
| | 16091 | |
| | 16092 | export type V2ThreadSettingsUpdatedNotification__Settings = { |
| | 16093 | readonly developer_instructions?: string | null; |
| | 16094 | readonly model: string; |
| | 16095 | readonly reasoning_effort?: V2ThreadSettingsUpdatedNotification__ReasoningEffort | null; |
| | 16096 | }; |
| | 16097 | export const V2ThreadSettingsUpdatedNotification__Settings = Schema.Struct({ |
| | 16098 | developer_instructions: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 16099 | model: Schema.String, |
| | 16100 | reasoning_effort: Schema.optionalKey( |
| | 16101 | Schema.Union([V2ThreadSettingsUpdatedNotification__ReasoningEffort, Schema.Null]), |
| | 16102 | ), |
| | 16103 | }).annotate({ description: "Settings for a collaboration mode." }); |
| | 16104 | |
| 15260 | export type V2ThreadStartedNotification__CommandAction = | 16105 | export type V2ThreadStartedNotification__CommandAction = |
| 15261 | | { | 16106 | | { |
| 15262 | readonly command: string; | 16107 | readonly command: string; |
| ... | @@ -15442,8 +16287,16 @@ export type V2ThreadStartedNotification__UserInput = | ... | @@ -15442,8 +16287,16 @@ export type V2ThreadStartedNotification__UserInput = |
| 15442 | readonly text_elements?: ReadonlyArray<V2ThreadStartedNotification__TextElement>; | 16287 | readonly text_elements?: ReadonlyArray<V2ThreadStartedNotification__TextElement>; |
| 15443 | readonly type: "text"; | 16288 | readonly type: "text"; |
| 15444 | } | 16289 | } |
| 15445 | | { readonly type: "image"; readonly url: string } | 16290 | | { |
| 15446 | | { readonly path: string; readonly type: "localImage" } | 16291 | readonly detail?: V2ThreadStartedNotification__ImageDetail | null; |
| | 16292 | readonly type: "image"; |
| | 16293 | readonly url: string; |
| | 16294 | } |
| | 16295 | | { |
| | 16296 | readonly detail?: V2ThreadStartedNotification__ImageDetail | null; |
| | 16297 | readonly path: string; |
| | 16298 | readonly type: "localImage"; |
| | 16299 | } |
| 15447 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 16300 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 15448 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 16301 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 15449 | export const V2ThreadStartedNotification__UserInput = Schema.Union( | 16302 | export const V2ThreadStartedNotification__UserInput = Schema.Union( |
| ... | @@ -15459,10 +16312,16 @@ export const V2ThreadStartedNotification__UserInput = Schema.Union( | ... | @@ -15459,10 +16312,16 @@ export const V2ThreadStartedNotification__UserInput = Schema.Union( |
| 15459 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 16312 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 15460 | }).annotate({ title: "TextUserInput" }), | 16313 | }).annotate({ title: "TextUserInput" }), |
| 15461 | Schema.Struct({ | 16314 | Schema.Struct({ |
| | 16315 | detail: Schema.optionalKey( |
| | 16316 | Schema.Union([V2ThreadStartedNotification__ImageDetail, Schema.Null]), |
| | 16317 | ), |
| 15462 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 16318 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 15463 | url: Schema.String, | 16319 | url: Schema.String, |
| 15464 | }).annotate({ title: "ImageUserInput" }), | 16320 | }).annotate({ title: "ImageUserInput" }), |
| 15465 | Schema.Struct({ | 16321 | Schema.Struct({ |
| | 16322 | detail: Schema.optionalKey( |
| | 16323 | Schema.Union([V2ThreadStartedNotification__ImageDetail, Schema.Null]), |
| | 16324 | ), |
| 15466 | path: Schema.String, | 16325 | path: Schema.String, |
| 15467 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 16326 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 15468 | }).annotate({ title: "LocalImageUserInput" }), | 16327 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -15513,44 +16372,6 @@ export const V2ThreadStartedNotification__SubAgentSource = Schema.Union( | ... | @@ -15513,44 +16372,6 @@ export const V2ThreadStartedNotification__SubAgentSource = Schema.Union( |
| 15513 | { mode: "oneOf" }, | 16372 | { mode: "oneOf" }, |
| 15514 | ); | 16373 | ); |
| 15515 | | 16374 | |
| 15516 | export type V2ThreadStartParams__PermissionProfileModificationParams = { | | |
| 15517 | readonly path: V2ThreadStartParams__AbsolutePathBuf; | | |
| 15518 | readonly type: "additionalWritableRoot"; | | |
| 15519 | }; | | |
| 15520 | export const V2ThreadStartParams__PermissionProfileModificationParams = Schema.Union( | | |
| 15521 | [ | | |
| 15522 | Schema.Struct({ | | |
| 15523 | path: V2ThreadStartParams__AbsolutePathBuf, | | |
| 15524 | type: Schema.Literal("additionalWritableRoot").annotate({ | | |
| 15525 | title: "AdditionalWritableRootPermissionProfileModificationParamsType", | | |
| 15526 | }), | | |
| 15527 | }).annotate({ | | |
| 15528 | title: "AdditionalWritableRootPermissionProfileModificationParams", | | |
| 15529 | description: "Additional concrete directory that should be writable.", | | |
| 15530 | }), | | |
| 15531 | ], | | |
| 15532 | { mode: "oneOf" }, | | |
| 15533 | ); | | |
| 15534 | | | |
| 15535 | export type V2ThreadStartResponse__ActivePermissionProfileModification = { | | |
| 15536 | readonly path: V2ThreadStartResponse__AbsolutePathBuf; | | |
| 15537 | readonly type: "additionalWritableRoot"; | | |
| 15538 | }; | | |
| 15539 | export const V2ThreadStartResponse__ActivePermissionProfileModification = Schema.Union( | | |
| 15540 | [ | | |
| 15541 | Schema.Struct({ | | |
| 15542 | path: V2ThreadStartResponse__AbsolutePathBuf, | | |
| 15543 | type: Schema.Literal("additionalWritableRoot").annotate({ | | |
| 15544 | title: "AdditionalWritableRootActivePermissionProfileModificationType", | | |
| 15545 | }), | | |
| 15546 | }).annotate({ | | |
| 15547 | title: "AdditionalWritableRootActivePermissionProfileModification", | | |
| 15548 | description: "Additional concrete directory that should be writable.", | | |
| 15549 | }), | | |
| 15550 | ], | | |
| 15551 | { mode: "oneOf" }, | | |
| 15552 | ); | | |
| 15553 | | | |
| 15554 | export type V2ThreadStartResponse__CommandAction = | 16375 | export type V2ThreadStartResponse__CommandAction = |
| 15555 | | { | 16376 | | { |
| 15556 | readonly command: string; | 16377 | readonly command: string; |
| ... | @@ -15602,28 +16423,6 @@ export const V2ThreadStartResponse__CollabAgentState = Schema.Struct({ | ... | @@ -15602,28 +16423,6 @@ export const V2ThreadStartResponse__CollabAgentState = Schema.Struct({ |
| 15602 | status: V2ThreadStartResponse__CollabAgentStatus, | 16423 | status: V2ThreadStartResponse__CollabAgentStatus, |
| 15603 | }); | 16424 | }); |
| 15604 | | 16425 | |
| 15605 | export type V2ThreadStartResponse__FileSystemPath = | | |
| 15606 | | { readonly path: V2ThreadStartResponse__AbsolutePathBuf; readonly type: "path" } | | |
| 15607 | | { readonly pattern: string; readonly type: "glob_pattern" } | | |
| 15608 | | { readonly type: "special"; readonly value: V2ThreadStartResponse__FileSystemSpecialPath }; | | |
| 15609 | export const V2ThreadStartResponse__FileSystemPath = Schema.Union( | | |
| 15610 | [ | | |
| 15611 | Schema.Struct({ | | |
| 15612 | path: V2ThreadStartResponse__AbsolutePathBuf, | | |
| 15613 | type: Schema.Literal("path").annotate({ title: "PathFileSystemPathType" }), | | |
| 15614 | }).annotate({ title: "PathFileSystemPath" }), | | |
| 15615 | Schema.Struct({ | | |
| 15616 | pattern: Schema.String, | | |
| 15617 | type: Schema.Literal("glob_pattern").annotate({ title: "GlobPatternFileSystemPathType" }), | | |
| 15618 | }).annotate({ title: "GlobPatternFileSystemPath" }), | | |
| 15619 | Schema.Struct({ | | |
| 15620 | type: Schema.Literal("special").annotate({ title: "SpecialFileSystemPathType" }), | | |
| 15621 | value: V2ThreadStartResponse__FileSystemSpecialPath, | | |
| 15622 | }).annotate({ title: "SpecialFileSystemPath" }), | | |
| 15623 | ], | | |
| 15624 | { mode: "oneOf" }, | | |
| 15625 | ); | | |
| 15626 | | | |
| 15627 | export type V2ThreadStartResponse__MemoryCitation = { | 16426 | export type V2ThreadStartResponse__MemoryCitation = { |
| 15628 | readonly entries: ReadonlyArray<V2ThreadStartResponse__MemoryCitationEntry>; | 16427 | readonly entries: ReadonlyArray<V2ThreadStartResponse__MemoryCitationEntry>; |
| 15629 | readonly threadIds: ReadonlyArray<string>; | 16428 | readonly threadIds: ReadonlyArray<string>; |
| ... | @@ -15758,8 +16557,16 @@ export type V2ThreadStartResponse__UserInput = | ... | @@ -15758,8 +16557,16 @@ export type V2ThreadStartResponse__UserInput = |
| 15758 | readonly text_elements?: ReadonlyArray<V2ThreadStartResponse__TextElement>; | 16557 | readonly text_elements?: ReadonlyArray<V2ThreadStartResponse__TextElement>; |
| 15759 | readonly type: "text"; | 16558 | readonly type: "text"; |
| 15760 | } | 16559 | } |
| 15761 | | { readonly type: "image"; readonly url: string } | 16560 | | { |
| 15762 | | { readonly path: string; readonly type: "localImage" } | 16561 | readonly detail?: V2ThreadStartResponse__ImageDetail | null; |
| | 16562 | readonly type: "image"; |
| | 16563 | readonly url: string; |
| | 16564 | } |
| | 16565 | | { |
| | 16566 | readonly detail?: V2ThreadStartResponse__ImageDetail | null; |
| | 16567 | readonly path: string; |
| | 16568 | readonly type: "localImage"; |
| | 16569 | } |
| 15763 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 16570 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 15764 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 16571 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 15765 | export const V2ThreadStartResponse__UserInput = Schema.Union( | 16572 | export const V2ThreadStartResponse__UserInput = Schema.Union( |
| ... | @@ -15775,10 +16582,12 @@ export const V2ThreadStartResponse__UserInput = Schema.Union( | ... | @@ -15775,10 +16582,12 @@ export const V2ThreadStartResponse__UserInput = Schema.Union( |
| 15775 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 16582 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 15776 | }).annotate({ title: "TextUserInput" }), | 16583 | }).annotate({ title: "TextUserInput" }), |
| 15777 | Schema.Struct({ | 16584 | Schema.Struct({ |
| | 16585 | detail: Schema.optionalKey(Schema.Union([V2ThreadStartResponse__ImageDetail, Schema.Null])), |
| 15778 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 16586 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 15779 | url: Schema.String, | 16587 | url: Schema.String, |
| 15780 | }).annotate({ title: "ImageUserInput" }), | 16588 | }).annotate({ title: "ImageUserInput" }), |
| 15781 | Schema.Struct({ | 16589 | Schema.Struct({ |
| | 16590 | detail: Schema.optionalKey(Schema.Union([V2ThreadStartResponse__ImageDetail, Schema.Null])), |
| 15782 | path: Schema.String, | 16591 | path: Schema.String, |
| 15783 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 16592 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 15784 | }).annotate({ title: "LocalImageUserInput" }), | 16593 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -16054,8 +16863,16 @@ export type V2ThreadUnarchiveResponse__UserInput = | ... | @@ -16054,8 +16863,16 @@ export type V2ThreadUnarchiveResponse__UserInput = |
| 16054 | readonly text_elements?: ReadonlyArray<V2ThreadUnarchiveResponse__TextElement>; | 16863 | readonly text_elements?: ReadonlyArray<V2ThreadUnarchiveResponse__TextElement>; |
| 16055 | readonly type: "text"; | 16864 | readonly type: "text"; |
| 16056 | } | 16865 | } |
| 16057 | | { readonly type: "image"; readonly url: string } | 16866 | | { |
| 16058 | | { readonly path: string; readonly type: "localImage" } | 16867 | readonly detail?: V2ThreadUnarchiveResponse__ImageDetail | null; |
| | 16868 | readonly type: "image"; |
| | 16869 | readonly url: string; |
| | 16870 | } |
| | 16871 | | { |
| | 16872 | readonly detail?: V2ThreadUnarchiveResponse__ImageDetail | null; |
| | 16873 | readonly path: string; |
| | 16874 | readonly type: "localImage"; |
| | 16875 | } |
| 16059 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 16876 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 16060 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 16877 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 16061 | export const V2ThreadUnarchiveResponse__UserInput = Schema.Union( | 16878 | export const V2ThreadUnarchiveResponse__UserInput = Schema.Union( |
| ... | @@ -16071,10 +16888,16 @@ export const V2ThreadUnarchiveResponse__UserInput = Schema.Union( | ... | @@ -16071,10 +16888,16 @@ export const V2ThreadUnarchiveResponse__UserInput = Schema.Union( |
| 16071 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 16888 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 16072 | }).annotate({ title: "TextUserInput" }), | 16889 | }).annotate({ title: "TextUserInput" }), |
| 16073 | Schema.Struct({ | 16890 | Schema.Struct({ |
| | 16891 | detail: Schema.optionalKey( |
| | 16892 | Schema.Union([V2ThreadUnarchiveResponse__ImageDetail, Schema.Null]), |
| | 16893 | ), |
| 16074 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 16894 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 16075 | url: Schema.String, | 16895 | url: Schema.String, |
| 16076 | }).annotate({ title: "ImageUserInput" }), | 16896 | }).annotate({ title: "ImageUserInput" }), |
| 16077 | Schema.Struct({ | 16897 | Schema.Struct({ |
| | 16898 | detail: Schema.optionalKey( |
| | 16899 | Schema.Union([V2ThreadUnarchiveResponse__ImageDetail, Schema.Null]), |
| | 16900 | ), |
| 16078 | path: Schema.String, | 16901 | path: Schema.String, |
| 16079 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 16902 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 16080 | }).annotate({ title: "LocalImageUserInput" }), | 16903 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -16310,8 +17133,16 @@ export type V2TurnCompletedNotification__UserInput = | ... | @@ -16310,8 +17133,16 @@ export type V2TurnCompletedNotification__UserInput = |
| 16310 | readonly text_elements?: ReadonlyArray<V2TurnCompletedNotification__TextElement>; | 17133 | readonly text_elements?: ReadonlyArray<V2TurnCompletedNotification__TextElement>; |
| 16311 | readonly type: "text"; | 17134 | readonly type: "text"; |
| 16312 | } | 17135 | } |
| 16313 | | { readonly type: "image"; readonly url: string } | 17136 | | { |
| 16314 | | { readonly path: string; readonly type: "localImage" } | 17137 | readonly detail?: V2TurnCompletedNotification__ImageDetail | null; |
| | 17138 | readonly type: "image"; |
| | 17139 | readonly url: string; |
| | 17140 | } |
| | 17141 | | { |
| | 17142 | readonly detail?: V2TurnCompletedNotification__ImageDetail | null; |
| | 17143 | readonly path: string; |
| | 17144 | readonly type: "localImage"; |
| | 17145 | } |
| 16315 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 17146 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 16316 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 17147 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 16317 | export const V2TurnCompletedNotification__UserInput = Schema.Union( | 17148 | export const V2TurnCompletedNotification__UserInput = Schema.Union( |
| ... | @@ -16327,10 +17158,16 @@ export const V2TurnCompletedNotification__UserInput = Schema.Union( | ... | @@ -16327,10 +17158,16 @@ export const V2TurnCompletedNotification__UserInput = Schema.Union( |
| 16327 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 17158 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 16328 | }).annotate({ title: "TextUserInput" }), | 17159 | }).annotate({ title: "TextUserInput" }), |
| 16329 | Schema.Struct({ | 17160 | Schema.Struct({ |
| | 17161 | detail: Schema.optionalKey( |
| | 17162 | Schema.Union([V2TurnCompletedNotification__ImageDetail, Schema.Null]), |
| | 17163 | ), |
| 16330 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 17164 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 16331 | url: Schema.String, | 17165 | url: Schema.String, |
| 16332 | }).annotate({ title: "ImageUserInput" }), | 17166 | }).annotate({ title: "ImageUserInput" }), |
| 16333 | Schema.Struct({ | 17167 | Schema.Struct({ |
| | 17168 | detail: Schema.optionalKey( |
| | 17169 | Schema.Union([V2TurnCompletedNotification__ImageDetail, Schema.Null]), |
| | 17170 | ), |
| 16334 | path: Schema.String, | 17171 | path: Schema.String, |
| 16335 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 17172 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 16336 | }).annotate({ title: "LocalImageUserInput" }), | 17173 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -16542,8 +17379,16 @@ export type V2TurnStartedNotification__UserInput = | ... | @@ -16542,8 +17379,16 @@ export type V2TurnStartedNotification__UserInput = |
| 16542 | readonly text_elements?: ReadonlyArray<V2TurnStartedNotification__TextElement>; | 17379 | readonly text_elements?: ReadonlyArray<V2TurnStartedNotification__TextElement>; |
| 16543 | readonly type: "text"; | 17380 | readonly type: "text"; |
| 16544 | } | 17381 | } |
| 16545 | | { readonly type: "image"; readonly url: string } | 17382 | | { |
| 16546 | | { readonly path: string; readonly type: "localImage" } | 17383 | readonly detail?: V2TurnStartedNotification__ImageDetail | null; |
| | 17384 | readonly type: "image"; |
| | 17385 | readonly url: string; |
| | 17386 | } |
| | 17387 | | { |
| | 17388 | readonly detail?: V2TurnStartedNotification__ImageDetail | null; |
| | 17389 | readonly path: string; |
| | 17390 | readonly type: "localImage"; |
| | 17391 | } |
| 16547 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 17392 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 16548 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 17393 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 16549 | export const V2TurnStartedNotification__UserInput = Schema.Union( | 17394 | export const V2TurnStartedNotification__UserInput = Schema.Union( |
| ... | @@ -16559,10 +17404,16 @@ export const V2TurnStartedNotification__UserInput = Schema.Union( | ... | @@ -16559,10 +17404,16 @@ export const V2TurnStartedNotification__UserInput = Schema.Union( |
| 16559 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 17404 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 16560 | }).annotate({ title: "TextUserInput" }), | 17405 | }).annotate({ title: "TextUserInput" }), |
| 16561 | Schema.Struct({ | 17406 | Schema.Struct({ |
| | 17407 | detail: Schema.optionalKey( |
| | 17408 | Schema.Union([V2TurnStartedNotification__ImageDetail, Schema.Null]), |
| | 17409 | ), |
| 16562 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 17410 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 16563 | url: Schema.String, | 17411 | url: Schema.String, |
| 16564 | }).annotate({ title: "ImageUserInput" }), | 17412 | }).annotate({ title: "ImageUserInput" }), |
| 16565 | Schema.Struct({ | 17413 | Schema.Struct({ |
| | 17414 | detail: Schema.optionalKey( |
| | 17415 | Schema.Union([V2TurnStartedNotification__ImageDetail, Schema.Null]), |
| | 17416 | ), |
| 16566 | path: Schema.String, | 17417 | path: Schema.String, |
| 16567 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 17418 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 16568 | }).annotate({ title: "LocalImageUserInput" }), | 17419 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -16580,25 +17431,6 @@ export const V2TurnStartedNotification__UserInput = Schema.Union( | ... | @@ -16580,25 +17431,6 @@ export const V2TurnStartedNotification__UserInput = Schema.Union( |
| 16580 | { mode: "oneOf" }, | 17431 | { mode: "oneOf" }, |
| 16581 | ); | 17432 | ); |
| 16582 | | 17433 | |
| 16583 | export type V2TurnStartParams__PermissionProfileModificationParams = { | | |
| 16584 | readonly path: V2TurnStartParams__AbsolutePathBuf; | | |
| 16585 | readonly type: "additionalWritableRoot"; | | |
| 16586 | }; | | |
| 16587 | export const V2TurnStartParams__PermissionProfileModificationParams = Schema.Union( | | |
| 16588 | [ | | |
| 16589 | Schema.Struct({ | | |
| 16590 | path: V2TurnStartParams__AbsolutePathBuf, | | |
| 16591 | type: Schema.Literal("additionalWritableRoot").annotate({ | | |
| 16592 | title: "AdditionalWritableRootPermissionProfileModificationParamsType", | | |
| 16593 | }), | | |
| 16594 | }).annotate({ | | |
| 16595 | title: "AdditionalWritableRootPermissionProfileModificationParams", | | |
| 16596 | description: "Additional concrete directory that should be writable.", | | |
| 16597 | }), | | |
| 16598 | ], | | |
| 16599 | { mode: "oneOf" }, | | |
| 16600 | ); | | |
| 16601 | | | |
| 16602 | export type V2TurnStartParams__SandboxPolicy = | 17434 | export type V2TurnStartParams__SandboxPolicy = |
| 16603 | | { readonly type: "dangerFullAccess" } | 17435 | | { readonly type: "dangerFullAccess" } |
| 16604 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } | 17436 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } |
| ... | @@ -16661,8 +17493,16 @@ export type V2TurnStartParams__UserInput = | ... | @@ -16661,8 +17493,16 @@ export type V2TurnStartParams__UserInput = |
| 16661 | readonly text_elements?: ReadonlyArray<V2TurnStartParams__TextElement>; | 17493 | readonly text_elements?: ReadonlyArray<V2TurnStartParams__TextElement>; |
| 16662 | readonly type: "text"; | 17494 | readonly type: "text"; |
| 16663 | } | 17495 | } |
| 16664 | | { readonly type: "image"; readonly url: string } | 17496 | | { |
| 16665 | | { readonly path: string; readonly type: "localImage" } | 17497 | readonly detail?: V2TurnStartParams__ImageDetail | null; |
| | 17498 | readonly type: "image"; |
| | 17499 | readonly url: string; |
| | 17500 | } |
| | 17501 | | { |
| | 17502 | readonly detail?: V2TurnStartParams__ImageDetail | null; |
| | 17503 | readonly path: string; |
| | 17504 | readonly type: "localImage"; |
| | 17505 | } |
| 16666 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 17506 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 16667 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 17507 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 16668 | export const V2TurnStartParams__UserInput = Schema.Union( | 17508 | export const V2TurnStartParams__UserInput = Schema.Union( |
| ... | @@ -16678,10 +17518,12 @@ export const V2TurnStartParams__UserInput = Schema.Union( | ... | @@ -16678,10 +17518,12 @@ export const V2TurnStartParams__UserInput = Schema.Union( |
| 16678 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 17518 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 16679 | }).annotate({ title: "TextUserInput" }), | 17519 | }).annotate({ title: "TextUserInput" }), |
| 16680 | Schema.Struct({ | 17520 | Schema.Struct({ |
| | 17521 | detail: Schema.optionalKey(Schema.Union([V2TurnStartParams__ImageDetail, Schema.Null])), |
| 16681 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 17522 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 16682 | url: Schema.String, | 17523 | url: Schema.String, |
| 16683 | }).annotate({ title: "ImageUserInput" }), | 17524 | }).annotate({ title: "ImageUserInput" }), |
| 16684 | Schema.Struct({ | 17525 | Schema.Struct({ |
| | 17526 | detail: Schema.optionalKey(Schema.Union([V2TurnStartParams__ImageDetail, Schema.Null])), |
| 16685 | path: Schema.String, | 17527 | path: Schema.String, |
| 16686 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 17528 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 16687 | }).annotate({ title: "LocalImageUserInput" }), | 17529 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -16884,8 +17726,16 @@ export type V2TurnStartResponse__UserInput = | ... | @@ -16884,8 +17726,16 @@ export type V2TurnStartResponse__UserInput = |
| 16884 | readonly text_elements?: ReadonlyArray<V2TurnStartResponse__TextElement>; | 17726 | readonly text_elements?: ReadonlyArray<V2TurnStartResponse__TextElement>; |
| 16885 | readonly type: "text"; | 17727 | readonly type: "text"; |
| 16886 | } | 17728 | } |
| 16887 | | { readonly type: "image"; readonly url: string } | 17729 | | { |
| 16888 | | { readonly path: string; readonly type: "localImage" } | 17730 | readonly detail?: V2TurnStartResponse__ImageDetail | null; |
| | 17731 | readonly type: "image"; |
| | 17732 | readonly url: string; |
| | 17733 | } |
| | 17734 | | { |
| | 17735 | readonly detail?: V2TurnStartResponse__ImageDetail | null; |
| | 17736 | readonly path: string; |
| | 17737 | readonly type: "localImage"; |
| | 17738 | } |
| 16889 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 17739 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 16890 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 17740 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 16891 | export const V2TurnStartResponse__UserInput = Schema.Union( | 17741 | export const V2TurnStartResponse__UserInput = Schema.Union( |
| ... | @@ -16901,10 +17751,12 @@ export const V2TurnStartResponse__UserInput = Schema.Union( | ... | @@ -16901,10 +17751,12 @@ export const V2TurnStartResponse__UserInput = Schema.Union( |
| 16901 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 17751 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 16902 | }).annotate({ title: "TextUserInput" }), | 17752 | }).annotate({ title: "TextUserInput" }), |
| 16903 | Schema.Struct({ | 17753 | Schema.Struct({ |
| | 17754 | detail: Schema.optionalKey(Schema.Union([V2TurnStartResponse__ImageDetail, Schema.Null])), |
| 16904 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 17755 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 16905 | url: Schema.String, | 17756 | url: Schema.String, |
| 16906 | }).annotate({ title: "ImageUserInput" }), | 17757 | }).annotate({ title: "ImageUserInput" }), |
| 16907 | Schema.Struct({ | 17758 | Schema.Struct({ |
| | 17759 | detail: Schema.optionalKey(Schema.Union([V2TurnStartResponse__ImageDetail, Schema.Null])), |
| 16908 | path: Schema.String, | 17760 | path: Schema.String, |
| 16909 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 17761 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 16910 | }).annotate({ title: "LocalImageUserInput" }), | 17762 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -16928,8 +17780,16 @@ export type V2TurnSteerParams__UserInput = | ... | @@ -16928,8 +17780,16 @@ export type V2TurnSteerParams__UserInput = |
| 16928 | readonly text_elements?: ReadonlyArray<V2TurnSteerParams__TextElement>; | 17780 | readonly text_elements?: ReadonlyArray<V2TurnSteerParams__TextElement>; |
| 16929 | readonly type: "text"; | 17781 | readonly type: "text"; |
| 16930 | } | 17782 | } |
| 16931 | | { readonly type: "image"; readonly url: string } | 17783 | | { |
| 16932 | | { readonly path: string; readonly type: "localImage" } | 17784 | readonly detail?: V2TurnSteerParams__ImageDetail | null; |
| | 17785 | readonly type: "image"; |
| | 17786 | readonly url: string; |
| | 17787 | } |
| | 17788 | | { |
| | 17789 | readonly detail?: V2TurnSteerParams__ImageDetail | null; |
| | 17790 | readonly path: string; |
| | 17791 | readonly type: "localImage"; |
| | 17792 | } |
| 16933 | | { readonly name: string; readonly path: string; readonly type: "skill" } | 17793 | | { readonly name: string; readonly path: string; readonly type: "skill" } |
| 16934 | | { readonly name: string; readonly path: string; readonly type: "mention" }; | 17794 | | { readonly name: string; readonly path: string; readonly type: "mention" }; |
| 16935 | export const V2TurnSteerParams__UserInput = Schema.Union( | 17795 | export const V2TurnSteerParams__UserInput = Schema.Union( |
| ... | @@ -16945,10 +17805,12 @@ export const V2TurnSteerParams__UserInput = Schema.Union( | ... | @@ -16945,10 +17805,12 @@ export const V2TurnSteerParams__UserInput = Schema.Union( |
| 16945 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), | 17805 | type: Schema.Literal("text").annotate({ title: "TextUserInputType" }), |
| 16946 | }).annotate({ title: "TextUserInput" }), | 17806 | }).annotate({ title: "TextUserInput" }), |
| 16947 | Schema.Struct({ | 17807 | Schema.Struct({ |
| | 17808 | detail: Schema.optionalKey(Schema.Union([V2TurnSteerParams__ImageDetail, Schema.Null])), |
| 16948 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), | 17809 | type: Schema.Literal("image").annotate({ title: "ImageUserInputType" }), |
| 16949 | url: Schema.String, | 17810 | url: Schema.String, |
| 16950 | }).annotate({ title: "ImageUserInput" }), | 17811 | }).annotate({ title: "ImageUserInput" }), |
| 16951 | Schema.Struct({ | 17812 | Schema.Struct({ |
| | 17813 | detail: Schema.optionalKey(Schema.Union([V2TurnSteerParams__ImageDetail, Schema.Null])), |
| 16952 | path: Schema.String, | 17814 | path: Schema.String, |
| 16953 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), | 17815 | type: Schema.Literal("localImage").annotate({ title: "LocalImageUserInputType" }), |
| 16954 | }).annotate({ title: "LocalImageUserInput" }), | 17816 | }).annotate({ title: "LocalImageUserInput" }), |
| ... | @@ -17136,15 +17998,6 @@ export const ClientRequest__CommandExecParams = Schema.Struct({ | ... | @@ -17136,15 +17998,6 @@ export const ClientRequest__CommandExecParams = Schema.Struct({ |
| 17136 | "Run a standalone command (argv vector) in the server sandbox without creating a thread or turn.\n\nThe final `command/exec` response is deferred until the process exits and is sent only after all `command/exec/outputDelta` notifications for that connection have been emitted.", | 17998 | "Run a standalone command (argv vector) in the server sandbox without creating a thread or turn.\n\nThe final `command/exec` response is deferred until the process exits and is sent only after all `command/exec/outputDelta` notifications for that connection have been emitted.", |
| 17137 | }); | 17999 | }); |
| 17138 | | 18000 | |
| 17139 | export type ClientRequest__FileSystemSandboxEntry = { | | |
| 17140 | readonly access: ClientRequest__FileSystemAccessMode; | | |
| 17141 | readonly path: ClientRequest__FileSystemPath; | | |
| 17142 | }; | | |
| 17143 | export const ClientRequest__FileSystemSandboxEntry = Schema.Struct({ | | |
| 17144 | access: ClientRequest__FileSystemAccessMode, | | |
| 17145 | path: ClientRequest__FileSystemPath, | | |
| 17146 | }); | | |
| 17147 | | | |
| 17148 | export type ClientRequest__FunctionCallOutputBody = | 18001 | export type ClientRequest__FunctionCallOutputBody = |
| 17149 | | string | 18002 | | string |
| 17150 | | ReadonlyArray<ClientRequest__FunctionCallOutputContentItem>; | 18003 | | ReadonlyArray<ClientRequest__FunctionCallOutputContentItem>; |
| ... | @@ -17197,10 +18050,12 @@ export const ClientRequest__PluginShareSaveParams = Schema.Struct({ | ... | @@ -17197,10 +18050,12 @@ export const ClientRequest__PluginShareSaveParams = Schema.Struct({ |
| 17197 | }); | 18050 | }); |
| 17198 | | 18051 | |
| 17199 | export type ClientRequest__PluginShareUpdateTargetsParams = { | 18052 | export type ClientRequest__PluginShareUpdateTargetsParams = { |
| | 18053 | readonly discoverability: ClientRequest__PluginShareUpdateDiscoverability; |
| 17200 | readonly remotePluginId: string; | 18054 | readonly remotePluginId: string; |
| 17201 | readonly shareTargets: ReadonlyArray<ClientRequest__PluginShareTarget>; | 18055 | readonly shareTargets: ReadonlyArray<ClientRequest__PluginShareTarget>; |
| 17202 | }; | 18056 | }; |
| 17203 | export const ClientRequest__PluginShareUpdateTargetsParams = Schema.Struct({ | 18057 | export const ClientRequest__PluginShareUpdateTargetsParams = Schema.Struct({ |
| | 18058 | discoverability: ClientRequest__PluginShareUpdateDiscoverability, |
| 17204 | remotePluginId: Schema.String, | 18059 | remotePluginId: Schema.String, |
| 17205 | shareTargets: Schema.Array(ClientRequest__PluginShareTarget), | 18060 | shareTargets: Schema.Array(ClientRequest__PluginShareTarget), |
| 17206 | }); | 18061 | }); |
| ... | @@ -17229,6 +18084,7 @@ export const ClientRequest__ExternalAgentConfigMigrationItem = Schema.Struct({ | ... | @@ -17229,6 +18084,7 @@ export const ClientRequest__ExternalAgentConfigMigrationItem = Schema.Struct({ |
| 17229 | export type ClientRequest__TurnStartParams = { | 18084 | export type ClientRequest__TurnStartParams = { |
| 17230 | readonly approvalPolicy?: ClientRequest__AskForApproval | null; | 18085 | readonly approvalPolicy?: ClientRequest__AskForApproval | null; |
| 17231 | readonly approvalsReviewer?: ClientRequest__ApprovalsReviewer | null; | 18086 | readonly approvalsReviewer?: ClientRequest__ApprovalsReviewer | null; |
| | 18087 | readonly clientUserMessageId?: string | null; |
| 17232 | readonly cwd?: string | null; | 18088 | readonly cwd?: string | null; |
| 17233 | readonly effort?: ClientRequest__ReasoningEffort | null; | 18089 | readonly effort?: ClientRequest__ReasoningEffort | null; |
| 17234 | readonly input: ReadonlyArray<ClientRequest__UserInput>; | 18090 | readonly input: ReadonlyArray<ClientRequest__UserInput>; |
| ... | @@ -17252,6 +18108,7 @@ export const ClientRequest__TurnStartParams = Schema.Struct({ | ... | @@ -17252,6 +18108,7 @@ export const ClientRequest__TurnStartParams = Schema.Struct({ |
| 17252 | "Override where approval requests are routed for review on this turn and subsequent turns.", | 18108 | "Override where approval requests are routed for review on this turn and subsequent turns.", |
| 17253 | }), | 18109 | }), |
| 17254 | ), | 18110 | ), |
| | 18111 | clientUserMessageId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 17255 | cwd: Schema.optionalKey( | 18112 | cwd: Schema.optionalKey( |
| 17256 | Schema.Union([ | 18113 | Schema.Union([ |
| 17257 | Schema.String.annotate({ | 18114 | Schema.String.annotate({ |
| ... | @@ -17307,11 +18164,13 @@ export const ClientRequest__TurnStartParams = Schema.Struct({ | ... | @@ -17307,11 +18164,13 @@ export const ClientRequest__TurnStartParams = Schema.Struct({ |
| 17307 | }); | 18164 | }); |
| 17308 | | 18165 | |
| 17309 | export type ClientRequest__TurnSteerParams = { | 18166 | export type ClientRequest__TurnSteerParams = { |
| | 18167 | readonly clientUserMessageId?: string | null; |
| 17310 | readonly expectedTurnId: string; | 18168 | readonly expectedTurnId: string; |
| 17311 | readonly input: ReadonlyArray<ClientRequest__UserInput>; | 18169 | readonly input: ReadonlyArray<ClientRequest__UserInput>; |
| 17312 | readonly threadId: string; | 18170 | readonly threadId: string; |
| 17313 | }; | 18171 | }; |
| 17314 | export const ClientRequest__TurnSteerParams = Schema.Struct({ | 18172 | export const ClientRequest__TurnSteerParams = Schema.Struct({ |
| | 18173 | clientUserMessageId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 17315 | expectedTurnId: Schema.String.annotate({ | 18174 | expectedTurnId: Schema.String.annotate({ |
| 17316 | description: | 18175 | description: |
| 17317 | "Required active turn id precondition. The request fails when it does not match the currently active turn.", | 18176 | "Required active turn id precondition. The request fails when it does not match the currently active turn.", |
| ... | @@ -17610,6 +18469,7 @@ export type ServerNotification__HookRunSummary = { | ... | @@ -17610,6 +18469,7 @@ export type ServerNotification__HookRunSummary = { |
| 17610 | | "sessionFlags" | 18469 | | "sessionFlags" |
| 17611 | | "plugin" | 18470 | | "plugin" |
| 17612 | | "cloudRequirements" | 18471 | | "cloudRequirements" |
| | 18472 | | "cloudManagedConfig" |
| 17613 | | "legacyManagedConfigFile" | 18473 | | "legacyManagedConfigFile" |
| 17614 | | "legacyManagedConfigMdm" | 18474 | | "legacyManagedConfigMdm" |
| 17615 | | "unknown"; | 18475 | | "unknown"; |
| ... | @@ -17641,6 +18501,7 @@ export const ServerNotification__HookRunSummary = Schema.Struct({ | ... | @@ -17641,6 +18501,7 @@ export const ServerNotification__HookRunSummary = Schema.Struct({ |
| 17641 | "sessionFlags", | 18501 | "sessionFlags", |
| 17642 | "plugin", | 18502 | "plugin", |
| 17643 | "cloudRequirements", | 18503 | "cloudRequirements", |
| | 18504 | "cloudManagedConfig", |
| 17644 | "legacyManagedConfigFile", | 18505 | "legacyManagedConfigFile", |
| 17645 | "legacyManagedConfigMdm", | 18506 | "legacyManagedConfigMdm", |
| 17646 | "unknown", | 18507 | "unknown", |
| ... | @@ -17678,15 +18539,28 @@ export const ServerNotification__FileChangePatchUpdatedNotification = Schema.Str | ... | @@ -17678,15 +18539,28 @@ export const ServerNotification__FileChangePatchUpdatedNotification = Schema.Str |
| 17678 | turnId: Schema.String, | 18539 | turnId: Schema.String, |
| 17679 | }); | 18540 | }); |
| 17680 | | 18541 | |
| | 18542 | export type ServerNotification__CollaborationMode = { |
| | 18543 | readonly mode: ServerNotification__ModeKind; |
| | 18544 | readonly settings: ServerNotification__Settings; |
| | 18545 | }; |
| | 18546 | export const ServerNotification__CollaborationMode = Schema.Struct({ |
| | 18547 | mode: ServerNotification__ModeKind, |
| | 18548 | settings: ServerNotification__Settings, |
| | 18549 | }).annotate({ description: "Collaboration mode for a Codex session." }); |
| | 18550 | |
| 17681 | export type ServerNotification__AccountRateLimitsUpdatedNotification = { | 18551 | export type ServerNotification__AccountRateLimitsUpdatedNotification = { |
| 17682 | readonly rateLimits: ServerNotification__RateLimitSnapshot; | 18552 | readonly rateLimits: ServerNotification__RateLimitSnapshot; |
| 17683 | }; | 18553 | }; |
| 17684 | export const ServerNotification__AccountRateLimitsUpdatedNotification = Schema.Struct({ | 18554 | export const ServerNotification__AccountRateLimitsUpdatedNotification = Schema.Struct({ |
| 17685 | rateLimits: ServerNotification__RateLimitSnapshot, | 18555 | rateLimits: ServerNotification__RateLimitSnapshot, |
| | 18556 | }).annotate({ |
| | 18557 | description: |
| | 18558 | "Sparse rolling rate-limit update.\n\nClients should merge available values into the most recent `account/rateLimits/read` response or refetch that snapshot. Nullable account metadata may be unavailable in a rolling update and does not clear a previously observed value.", |
| 17686 | }); | 18559 | }); |
| 17687 | | 18560 | |
| 17688 | export type ServerNotification__ThreadItem = | 18561 | export type ServerNotification__ThreadItem = |
| 17689 | | { | 18562 | | { |
| | 18563 | readonly clientId?: string | null; |
| 17690 | readonly content: ReadonlyArray<ServerNotification__UserInput>; | 18564 | readonly content: ReadonlyArray<ServerNotification__UserInput>; |
| 17691 | readonly id: string; | 18565 | readonly id: string; |
| 17692 | readonly type: "userMessage"; | 18566 | readonly type: "userMessage"; |
| ... | @@ -17735,6 +18609,7 @@ export type ServerNotification__ThreadItem = | ... | @@ -17735,6 +18609,7 @@ export type ServerNotification__ThreadItem = |
| 17735 | readonly error?: ServerNotification__McpToolCallError | null; | 18609 | readonly error?: ServerNotification__McpToolCallError | null; |
| 17736 | readonly id: string; | 18610 | readonly id: string; |
| 17737 | readonly mcpAppResourceUri?: string | null; | 18611 | readonly mcpAppResourceUri?: string | null; |
| | 18612 | readonly pluginId?: string | null; |
| 17738 | readonly result?: ServerNotification__McpToolCallResult | null; | 18613 | readonly result?: ServerNotification__McpToolCallResult | null; |
| 17739 | readonly server: string; | 18614 | readonly server: string; |
| 17740 | readonly status: ServerNotification__McpToolCallStatus; | 18615 | readonly status: ServerNotification__McpToolCallStatus; |
| ... | @@ -17764,6 +18639,13 @@ export type ServerNotification__ThreadItem = | ... | @@ -17764,6 +18639,13 @@ export type ServerNotification__ThreadItem = |
| 17764 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 18639 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 17765 | readonly type: "collabAgentToolCall"; | 18640 | readonly type: "collabAgentToolCall"; |
| 17766 | } | 18641 | } |
| | 18642 | | { |
| | 18643 | readonly agentPath: string; |
| | 18644 | readonly agentThreadId: string; |
| | 18645 | readonly id: string; |
| | 18646 | readonly kind: ServerNotification__SubAgentActivityKind; |
| | 18647 | readonly type: "subAgentActivity"; |
| | 18648 | } |
| 17767 | | { | 18649 | | { |
| 17768 | readonly action?: ServerNotification__WebSearchAction | null; | 18650 | readonly action?: ServerNotification__WebSearchAction | null; |
| 17769 | readonly id: string; | 18651 | readonly id: string; |
| ... | @@ -17789,6 +18671,7 @@ export type ServerNotification__ThreadItem = | ... | @@ -17789,6 +18671,7 @@ export type ServerNotification__ThreadItem = |
| 17789 | export const ServerNotification__ThreadItem = Schema.Union( | 18671 | export const ServerNotification__ThreadItem = Schema.Union( |
| 17790 | [ | 18672 | [ |
| 17791 | Schema.Struct({ | 18673 | Schema.Struct({ |
| | 18674 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 17792 | content: Schema.Array(ServerNotification__UserInput), | 18675 | content: Schema.Array(ServerNotification__UserInput), |
| 17793 | id: Schema.String, | 18676 | id: Schema.String, |
| 17794 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 18677 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -17900,6 +18783,7 @@ export const ServerNotification__ThreadItem = Schema.Union( | ... | @@ -17900,6 +18783,7 @@ export const ServerNotification__ThreadItem = Schema.Union( |
| 17900 | error: Schema.optionalKey(Schema.Union([ServerNotification__McpToolCallError, Schema.Null])), | 18783 | error: Schema.optionalKey(Schema.Union([ServerNotification__McpToolCallError, Schema.Null])), |
| 17901 | id: Schema.String, | 18784 | id: Schema.String, |
| 17902 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 18785 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 18786 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 17903 | result: Schema.optionalKey( | 18787 | result: Schema.optionalKey( |
| 17904 | Schema.Union([ServerNotification__McpToolCallResult, Schema.Null]), | 18788 | Schema.Union([ServerNotification__McpToolCallResult, Schema.Null]), |
| 17905 | ), | 18789 | ), |
| ... | @@ -17979,6 +18863,15 @@ export const ServerNotification__ThreadItem = Schema.Union( | ... | @@ -17979,6 +18863,15 @@ export const ServerNotification__ThreadItem = Schema.Union( |
| 17979 | title: "CollabAgentToolCallThreadItemType", | 18863 | title: "CollabAgentToolCallThreadItemType", |
| 17980 | }), | 18864 | }), |
| 17981 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 18865 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 18866 | Schema.Struct({ |
| | 18867 | agentPath: Schema.String, |
| | 18868 | agentThreadId: Schema.String, |
| | 18869 | id: Schema.String, |
| | 18870 | kind: ServerNotification__SubAgentActivityKind, |
| | 18871 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 18872 | title: "SubAgentActivityThreadItemType", |
| | 18873 | }), |
| | 18874 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 17982 | Schema.Struct({ | 18875 | Schema.Struct({ |
| 17983 | action: Schema.optionalKey(Schema.Union([ServerNotification__WebSearchAction, Schema.Null])), | 18876 | action: Schema.optionalKey(Schema.Union([ServerNotification__WebSearchAction, Schema.Null])), |
| 17984 | id: Schema.String, | 18877 | id: Schema.String, |
| ... | @@ -18190,6 +19083,7 @@ export type ServerRequest__CommandExecutionRequestApprovalParams = { | ... | @@ -18190,6 +19083,7 @@ export type ServerRequest__CommandExecutionRequestApprovalParams = { |
| 18190 | readonly proposedExecpolicyAmendment?: ReadonlyArray<string> | null; | 19083 | readonly proposedExecpolicyAmendment?: ReadonlyArray<string> | null; |
| 18191 | readonly proposedNetworkPolicyAmendments?: ReadonlyArray<ServerRequest__NetworkPolicyAmendment> | null; | 19084 | readonly proposedNetworkPolicyAmendments?: ReadonlyArray<ServerRequest__NetworkPolicyAmendment> | null; |
| 18192 | readonly reason?: string | null; | 19085 | readonly reason?: string | null; |
| | 19086 | readonly startedAtMs: number; |
| 18193 | readonly threadId: string; | 19087 | readonly threadId: string; |
| 18194 | readonly turnId: string; | 19088 | readonly turnId: string; |
| 18195 | }; | 19089 | }; |
| ... | @@ -18254,6 +19148,10 @@ export const ServerRequest__CommandExecutionRequestApprovalParams = Schema.Struc | ... | @@ -18254,6 +19148,10 @@ export const ServerRequest__CommandExecutionRequestApprovalParams = Schema.Struc |
| 18254 | Schema.Null, | 19148 | Schema.Null, |
| 18255 | ]), | 19149 | ]), |
| 18256 | ), | 19150 | ), |
| | 19151 | startedAtMs: Schema.Number.annotate({ |
| | 19152 | description: "Unix timestamp (in milliseconds) when this approval request started.", |
| | 19153 | format: "int64", |
| | 19154 | }).check(Schema.isInt()), |
| 18257 | threadId: Schema.String, | 19155 | threadId: Schema.String, |
| 18258 | turnId: Schema.String, | 19156 | turnId: Schema.String, |
| 18259 | }); | 19157 | }); |
| ... | @@ -18353,15 +19251,6 @@ export const V2AppsListResponse__AppInfo = Schema.Struct({ | ... | @@ -18353,15 +19251,6 @@ export const V2AppsListResponse__AppInfo = Schema.Struct({ |
| 18353 | pluginDisplayNames: Schema.optionalKey(Schema.Array(Schema.String).annotate({ default: [] })), | 19251 | pluginDisplayNames: Schema.optionalKey(Schema.Array(Schema.String).annotate({ default: [] })), |
| 18354 | }).annotate({ description: "EXPERIMENTAL - app metadata returned by app-list APIs." }); | 19252 | }).annotate({ description: "EXPERIMENTAL - app metadata returned by app-list APIs." }); |
| 18355 | | 19253 | |
| 18356 | export type V2CommandExecParams__FileSystemSandboxEntry = { | | |
| 18357 | readonly access: V2CommandExecParams__FileSystemAccessMode; | | |
| 18358 | readonly path: V2CommandExecParams__FileSystemPath; | | |
| 18359 | }; | | |
| 18360 | export const V2CommandExecParams__FileSystemSandboxEntry = Schema.Struct({ | | |
| 18361 | access: V2CommandExecParams__FileSystemAccessMode, | | |
| 18362 | path: V2CommandExecParams__FileSystemPath, | | |
| 18363 | }); | | |
| 18364 | | | |
| 18365 | export type V2ConfigReadResponse__ConfigLayer = { | 19254 | export type V2ConfigReadResponse__ConfigLayer = { |
| 18366 | readonly config: unknown; | 19255 | readonly config: unknown; |
| 18367 | readonly disabledReason?: string | null; | 19256 | readonly disabledReason?: string | null; |
| ... | @@ -18385,11 +19274,9 @@ export const V2ConfigReadResponse__ConfigLayerMetadata = Schema.Struct({ | ... | @@ -18385,11 +19274,9 @@ export const V2ConfigReadResponse__ConfigLayerMetadata = Schema.Struct({ |
| 18385 | }); | 19274 | }); |
| 18386 | | 19275 | |
| 18387 | export type V2ConfigReadResponse__ToolsV2 = { | 19276 | export type V2ConfigReadResponse__ToolsV2 = { |
| 18388 | readonly view_image?: boolean | null; | | |
| 18389 | readonly web_search?: V2ConfigReadResponse__WebSearchToolConfig | null; | 19277 | readonly web_search?: V2ConfigReadResponse__WebSearchToolConfig | null; |
| 18390 | }; | 19278 | }; |
| 18391 | export const V2ConfigReadResponse__ToolsV2 = Schema.Struct({ | 19279 | export const V2ConfigReadResponse__ToolsV2 = Schema.Struct({ |
| 18392 | view_image: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])), | | |
| 18393 | web_search: Schema.optionalKey( | 19280 | web_search: Schema.optionalKey( |
| 18394 | Schema.Union([V2ConfigReadResponse__WebSearchToolConfig, Schema.Null]), | 19281 | Schema.Union([V2ConfigReadResponse__WebSearchToolConfig, Schema.Null]), |
| 18395 | ), | 19282 | ), |
| ... | @@ -18481,6 +19368,7 @@ export type V2HookCompletedNotification__HookRunSummary = { | ... | @@ -18481,6 +19368,7 @@ export type V2HookCompletedNotification__HookRunSummary = { |
| 18481 | | "sessionFlags" | 19368 | | "sessionFlags" |
| 18482 | | "plugin" | 19369 | | "plugin" |
| 18483 | | "cloudRequirements" | 19370 | | "cloudRequirements" |
| | 19371 | | "cloudManagedConfig" |
| 18484 | | "legacyManagedConfigFile" | 19372 | | "legacyManagedConfigFile" |
| 18485 | | "legacyManagedConfigMdm" | 19373 | | "legacyManagedConfigMdm" |
| 18486 | | "unknown"; | 19374 | | "unknown"; |
| ... | @@ -18512,6 +19400,7 @@ export const V2HookCompletedNotification__HookRunSummary = Schema.Struct({ | ... | @@ -18512,6 +19400,7 @@ export const V2HookCompletedNotification__HookRunSummary = Schema.Struct({ |
| 18512 | "sessionFlags", | 19400 | "sessionFlags", |
| 18513 | "plugin", | 19401 | "plugin", |
| 18514 | "cloudRequirements", | 19402 | "cloudRequirements", |
| | 19403 | "cloudManagedConfig", |
| 18515 | "legacyManagedConfigFile", | 19404 | "legacyManagedConfigFile", |
| 18516 | "legacyManagedConfigMdm", | 19405 | "legacyManagedConfigMdm", |
| 18517 | "unknown", | 19406 | "unknown", |
| ... | @@ -18554,6 +19443,7 @@ export type V2HookStartedNotification__HookRunSummary = { | ... | @@ -18554,6 +19443,7 @@ export type V2HookStartedNotification__HookRunSummary = { |
| 18554 | | "sessionFlags" | 19443 | | "sessionFlags" |
| 18555 | | "plugin" | 19444 | | "plugin" |
| 18556 | | "cloudRequirements" | 19445 | | "cloudRequirements" |
| | 19446 | | "cloudManagedConfig" |
| 18557 | | "legacyManagedConfigFile" | 19447 | | "legacyManagedConfigFile" |
| 18558 | | "legacyManagedConfigMdm" | 19448 | | "legacyManagedConfigMdm" |
| 18559 | | "unknown"; | 19449 | | "unknown"; |
| ... | @@ -18585,6 +19475,7 @@ export const V2HookStartedNotification__HookRunSummary = Schema.Struct({ | ... | @@ -18585,6 +19475,7 @@ export const V2HookStartedNotification__HookRunSummary = Schema.Struct({ |
| 18585 | "sessionFlags", | 19475 | "sessionFlags", |
| 18586 | "plugin", | 19476 | "plugin", |
| 18587 | "cloudRequirements", | 19477 | "cloudRequirements", |
| | 19478 | "cloudManagedConfig", |
| 18588 | "legacyManagedConfigFile", | 19479 | "legacyManagedConfigFile", |
| 18589 | "legacyManagedConfigMdm", | 19480 | "legacyManagedConfigMdm", |
| 18590 | "unknown", | 19481 | "unknown", |
| ... | @@ -18598,6 +19489,7 @@ export const V2HookStartedNotification__HookRunSummary = Schema.Struct({ | ... | @@ -18598,6 +19489,7 @@ export const V2HookStartedNotification__HookRunSummary = Schema.Struct({ |
| 18598 | | 19489 | |
| 18599 | export type V2ItemCompletedNotification__ThreadItem = | 19490 | export type V2ItemCompletedNotification__ThreadItem = |
| 18600 | | { | 19491 | | { |
| | 19492 | readonly clientId?: string | null; |
| 18601 | readonly content: ReadonlyArray<V2ItemCompletedNotification__UserInput>; | 19493 | readonly content: ReadonlyArray<V2ItemCompletedNotification__UserInput>; |
| 18602 | readonly id: string; | 19494 | readonly id: string; |
| 18603 | readonly type: "userMessage"; | 19495 | readonly type: "userMessage"; |
| ... | @@ -18646,6 +19538,7 @@ export type V2ItemCompletedNotification__ThreadItem = | ... | @@ -18646,6 +19538,7 @@ export type V2ItemCompletedNotification__ThreadItem = |
| 18646 | readonly error?: V2ItemCompletedNotification__McpToolCallError | null; | 19538 | readonly error?: V2ItemCompletedNotification__McpToolCallError | null; |
| 18647 | readonly id: string; | 19539 | readonly id: string; |
| 18648 | readonly mcpAppResourceUri?: string | null; | 19540 | readonly mcpAppResourceUri?: string | null; |
| | 19541 | readonly pluginId?: string | null; |
| 18649 | readonly result?: V2ItemCompletedNotification__McpToolCallResult | null; | 19542 | readonly result?: V2ItemCompletedNotification__McpToolCallResult | null; |
| 18650 | readonly server: string; | 19543 | readonly server: string; |
| 18651 | readonly status: V2ItemCompletedNotification__McpToolCallStatus; | 19544 | readonly status: V2ItemCompletedNotification__McpToolCallStatus; |
| ... | @@ -18677,6 +19570,13 @@ export type V2ItemCompletedNotification__ThreadItem = | ... | @@ -18677,6 +19570,13 @@ export type V2ItemCompletedNotification__ThreadItem = |
| 18677 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 19570 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 18678 | readonly type: "collabAgentToolCall"; | 19571 | readonly type: "collabAgentToolCall"; |
| 18679 | } | 19572 | } |
| | 19573 | | { |
| | 19574 | readonly agentPath: string; |
| | 19575 | readonly agentThreadId: string; |
| | 19576 | readonly id: string; |
| | 19577 | readonly kind: V2ItemCompletedNotification__SubAgentActivityKind; |
| | 19578 | readonly type: "subAgentActivity"; |
| | 19579 | } |
| 18680 | | { | 19580 | | { |
| 18681 | readonly action?: V2ItemCompletedNotification__WebSearchAction | null; | 19581 | readonly action?: V2ItemCompletedNotification__WebSearchAction | null; |
| 18682 | readonly id: string; | 19582 | readonly id: string; |
| ... | @@ -18702,6 +19602,7 @@ export type V2ItemCompletedNotification__ThreadItem = | ... | @@ -18702,6 +19602,7 @@ export type V2ItemCompletedNotification__ThreadItem = |
| 18702 | export const V2ItemCompletedNotification__ThreadItem = Schema.Union( | 19602 | export const V2ItemCompletedNotification__ThreadItem = Schema.Union( |
| 18703 | [ | 19603 | [ |
| 18704 | Schema.Struct({ | 19604 | Schema.Struct({ |
| | 19605 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 18705 | content: Schema.Array(V2ItemCompletedNotification__UserInput), | 19606 | content: Schema.Array(V2ItemCompletedNotification__UserInput), |
| 18706 | id: Schema.String, | 19607 | id: Schema.String, |
| 18707 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 19608 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -18817,6 +19718,7 @@ export const V2ItemCompletedNotification__ThreadItem = Schema.Union( | ... | @@ -18817,6 +19718,7 @@ export const V2ItemCompletedNotification__ThreadItem = Schema.Union( |
| 18817 | ), | 19718 | ), |
| 18818 | id: Schema.String, | 19719 | id: Schema.String, |
| 18819 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 19720 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 19721 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 18820 | result: Schema.optionalKey( | 19722 | result: Schema.optionalKey( |
| 18821 | Schema.Union([V2ItemCompletedNotification__McpToolCallResult, Schema.Null]), | 19723 | Schema.Union([V2ItemCompletedNotification__McpToolCallResult, Schema.Null]), |
| 18822 | ), | 19724 | ), |
| ... | @@ -18897,6 +19799,15 @@ export const V2ItemCompletedNotification__ThreadItem = Schema.Union( | ... | @@ -18897,6 +19799,15 @@ export const V2ItemCompletedNotification__ThreadItem = Schema.Union( |
| 18897 | title: "CollabAgentToolCallThreadItemType", | 19799 | title: "CollabAgentToolCallThreadItemType", |
| 18898 | }), | 19800 | }), |
| 18899 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 19801 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 19802 | Schema.Struct({ |
| | 19803 | agentPath: Schema.String, |
| | 19804 | agentThreadId: Schema.String, |
| | 19805 | id: Schema.String, |
| | 19806 | kind: V2ItemCompletedNotification__SubAgentActivityKind, |
| | 19807 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 19808 | title: "SubAgentActivityThreadItemType", |
| | 19809 | }), |
| | 19810 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 18900 | Schema.Struct({ | 19811 | Schema.Struct({ |
| 18901 | action: Schema.optionalKey( | 19812 | action: Schema.optionalKey( |
| 18902 | Schema.Union([V2ItemCompletedNotification__WebSearchAction, Schema.Null]), | 19813 | Schema.Union([V2ItemCompletedNotification__WebSearchAction, Schema.Null]), |
| ... | @@ -18966,6 +19877,7 @@ export const V2ItemGuardianApprovalReviewStartedNotification__FileSystemSandboxE | ... | @@ -18966,6 +19877,7 @@ export const V2ItemGuardianApprovalReviewStartedNotification__FileSystemSandboxE |
| 18966 | | 19877 | |
| 18967 | export type V2ItemStartedNotification__ThreadItem = | 19878 | export type V2ItemStartedNotification__ThreadItem = |
| 18968 | | { | 19879 | | { |
| | 19880 | readonly clientId?: string | null; |
| 18969 | readonly content: ReadonlyArray<V2ItemStartedNotification__UserInput>; | 19881 | readonly content: ReadonlyArray<V2ItemStartedNotification__UserInput>; |
| 18970 | readonly id: string; | 19882 | readonly id: string; |
| 18971 | readonly type: "userMessage"; | 19883 | readonly type: "userMessage"; |
| ... | @@ -19014,6 +19926,7 @@ export type V2ItemStartedNotification__ThreadItem = | ... | @@ -19014,6 +19926,7 @@ export type V2ItemStartedNotification__ThreadItem = |
| 19014 | readonly error?: V2ItemStartedNotification__McpToolCallError | null; | 19926 | readonly error?: V2ItemStartedNotification__McpToolCallError | null; |
| 19015 | readonly id: string; | 19927 | readonly id: string; |
| 19016 | readonly mcpAppResourceUri?: string | null; | 19928 | readonly mcpAppResourceUri?: string | null; |
| | 19929 | readonly pluginId?: string | null; |
| 19017 | readonly result?: V2ItemStartedNotification__McpToolCallResult | null; | 19930 | readonly result?: V2ItemStartedNotification__McpToolCallResult | null; |
| 19018 | readonly server: string; | 19931 | readonly server: string; |
| 19019 | readonly status: V2ItemStartedNotification__McpToolCallStatus; | 19932 | readonly status: V2ItemStartedNotification__McpToolCallStatus; |
| ... | @@ -19043,6 +19956,13 @@ export type V2ItemStartedNotification__ThreadItem = | ... | @@ -19043,6 +19956,13 @@ export type V2ItemStartedNotification__ThreadItem = |
| 19043 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 19956 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 19044 | readonly type: "collabAgentToolCall"; | 19957 | readonly type: "collabAgentToolCall"; |
| 19045 | } | 19958 | } |
| | 19959 | | { |
| | 19960 | readonly agentPath: string; |
| | 19961 | readonly agentThreadId: string; |
| | 19962 | readonly id: string; |
| | 19963 | readonly kind: V2ItemStartedNotification__SubAgentActivityKind; |
| | 19964 | readonly type: "subAgentActivity"; |
| | 19965 | } |
| 19046 | | { | 19966 | | { |
| 19047 | readonly action?: V2ItemStartedNotification__WebSearchAction | null; | 19967 | readonly action?: V2ItemStartedNotification__WebSearchAction | null; |
| 19048 | readonly id: string; | 19968 | readonly id: string; |
| ... | @@ -19068,6 +19988,7 @@ export type V2ItemStartedNotification__ThreadItem = | ... | @@ -19068,6 +19988,7 @@ export type V2ItemStartedNotification__ThreadItem = |
| 19068 | export const V2ItemStartedNotification__ThreadItem = Schema.Union( | 19988 | export const V2ItemStartedNotification__ThreadItem = Schema.Union( |
| 19069 | [ | 19989 | [ |
| 19070 | Schema.Struct({ | 19990 | Schema.Struct({ |
| | 19991 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 19071 | content: Schema.Array(V2ItemStartedNotification__UserInput), | 19992 | content: Schema.Array(V2ItemStartedNotification__UserInput), |
| 19072 | id: Schema.String, | 19993 | id: Schema.String, |
| 19073 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 19994 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -19183,6 +20104,7 @@ export const V2ItemStartedNotification__ThreadItem = Schema.Union( | ... | @@ -19183,6 +20104,7 @@ export const V2ItemStartedNotification__ThreadItem = Schema.Union( |
| 19183 | ), | 20104 | ), |
| 19184 | id: Schema.String, | 20105 | id: Schema.String, |
| 19185 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20106 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 20107 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 19186 | result: Schema.optionalKey( | 20108 | result: Schema.optionalKey( |
| 19187 | Schema.Union([V2ItemStartedNotification__McpToolCallResult, Schema.Null]), | 20109 | Schema.Union([V2ItemStartedNotification__McpToolCallResult, Schema.Null]), |
| 19188 | ), | 20110 | ), |
| ... | @@ -19263,6 +20185,15 @@ export const V2ItemStartedNotification__ThreadItem = Schema.Union( | ... | @@ -19263,6 +20185,15 @@ export const V2ItemStartedNotification__ThreadItem = Schema.Union( |
| 19263 | title: "CollabAgentToolCallThreadItemType", | 20185 | title: "CollabAgentToolCallThreadItemType", |
| 19264 | }), | 20186 | }), |
| 19265 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 20187 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 20188 | Schema.Struct({ |
| | 20189 | agentPath: Schema.String, |
| | 20190 | agentThreadId: Schema.String, |
| | 20191 | id: Schema.String, |
| | 20192 | kind: V2ItemStartedNotification__SubAgentActivityKind, |
| | 20193 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 20194 | title: "SubAgentActivityThreadItemType", |
| | 20195 | }), |
| | 20196 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 19266 | Schema.Struct({ | 20197 | Schema.Struct({ |
| 19267 | action: Schema.optionalKey( | 20198 | action: Schema.optionalKey( |
| 19268 | Schema.Union([V2ItemStartedNotification__WebSearchAction, Schema.Null]), | 20199 | Schema.Union([V2ItemStartedNotification__WebSearchAction, Schema.Null]), |
| ... | @@ -19314,6 +20245,7 @@ export type V2ModelListResponse__Model = { | ... | @@ -19314,6 +20245,7 @@ export type V2ModelListResponse__Model = { |
| 19314 | readonly additionalSpeedTiers?: ReadonlyArray<string>; | 20245 | readonly additionalSpeedTiers?: ReadonlyArray<string>; |
| 19315 | readonly availabilityNux?: V2ModelListResponse__ModelAvailabilityNux | null; | 20246 | readonly availabilityNux?: V2ModelListResponse__ModelAvailabilityNux | null; |
| 19316 | readonly defaultReasoningEffort: V2ModelListResponse__ReasoningEffort; | 20247 | readonly defaultReasoningEffort: V2ModelListResponse__ReasoningEffort; |
| | 20248 | readonly defaultServiceTier?: string | null; |
| 19317 | readonly description: string; | 20249 | readonly description: string; |
| 19318 | readonly displayName: string; | 20250 | readonly displayName: string; |
| 19319 | readonly hidden: boolean; | 20251 | readonly hidden: boolean; |
| ... | @@ -19338,6 +20270,14 @@ export const V2ModelListResponse__Model = Schema.Struct({ | ... | @@ -19338,6 +20270,14 @@ export const V2ModelListResponse__Model = Schema.Struct({ |
| 19338 | Schema.Union([V2ModelListResponse__ModelAvailabilityNux, Schema.Null]), | 20270 | Schema.Union([V2ModelListResponse__ModelAvailabilityNux, Schema.Null]), |
| 19339 | ), | 20271 | ), |
| 19340 | defaultReasoningEffort: V2ModelListResponse__ReasoningEffort, | 20272 | defaultReasoningEffort: V2ModelListResponse__ReasoningEffort, |
| | 20273 | defaultServiceTier: Schema.optionalKey( |
| | 20274 | Schema.Union([ |
| | 20275 | Schema.String.annotate({ |
| | 20276 | description: "Catalog default service tier id for this model, when one is configured.", |
| | 20277 | }), |
| | 20278 | Schema.Null, |
| | 20279 | ]), |
| | 20280 | ), |
| 19341 | description: Schema.String, | 20281 | description: Schema.String, |
| 19342 | displayName: Schema.String, | 20282 | displayName: Schema.String, |
| 19343 | hidden: Schema.Boolean, | 20283 | hidden: Schema.Boolean, |
| ... | @@ -19358,18 +20298,61 @@ export const V2ModelListResponse__Model = Schema.Struct({ | ... | @@ -19358,18 +20298,61 @@ export const V2ModelListResponse__Model = Schema.Struct({ |
| 19358 | ), | 20298 | ), |
| 19359 | }); | 20299 | }); |
| 19360 | | 20300 | |
| | 20301 | export type V2PluginInstalledResponse__PluginShareContext = { |
| | 20302 | readonly creatorAccountUserId?: string | null; |
| | 20303 | readonly creatorName?: string | null; |
| | 20304 | readonly discoverability?: V2PluginInstalledResponse__PluginShareDiscoverability | null; |
| | 20305 | readonly remotePluginId: string; |
| | 20306 | readonly remoteVersion?: string | null; |
| | 20307 | readonly sharePrincipals?: ReadonlyArray<V2PluginInstalledResponse__PluginSharePrincipal> | null; |
| | 20308 | readonly shareUrl?: string | null; |
| | 20309 | }; |
| | 20310 | export const V2PluginInstalledResponse__PluginShareContext = Schema.Struct({ |
| | 20311 | creatorAccountUserId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 20312 | creatorName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 20313 | discoverability: Schema.optionalKey( |
| | 20314 | Schema.Union([V2PluginInstalledResponse__PluginShareDiscoverability, Schema.Null]), |
| | 20315 | ), |
| | 20316 | remotePluginId: Schema.String, |
| | 20317 | remoteVersion: Schema.optionalKey( |
| | 20318 | Schema.Union([ |
| | 20319 | Schema.String.annotate({ |
| | 20320 | description: "Version of the remote shared plugin release when available.", |
| | 20321 | }), |
| | 20322 | Schema.Null, |
| | 20323 | ]), |
| | 20324 | ), |
| | 20325 | sharePrincipals: Schema.optionalKey( |
| | 20326 | Schema.Union([Schema.Array(V2PluginInstalledResponse__PluginSharePrincipal), Schema.Null]), |
| | 20327 | ), |
| | 20328 | shareUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 20329 | }); |
| | 20330 | |
| 19361 | export type V2PluginListResponse__PluginShareContext = { | 20331 | export type V2PluginListResponse__PluginShareContext = { |
| 19362 | readonly creatorAccountUserId?: string | null; | 20332 | readonly creatorAccountUserId?: string | null; |
| 19363 | readonly creatorName?: string | null; | 20333 | readonly creatorName?: string | null; |
| | 20334 | readonly discoverability?: V2PluginListResponse__PluginShareDiscoverability | null; |
| 19364 | readonly remotePluginId: string; | 20335 | readonly remotePluginId: string; |
| 19365 | readonly shareTargets?: ReadonlyArray<V2PluginListResponse__PluginSharePrincipal> | null; | 20336 | readonly remoteVersion?: string | null; |
| | 20337 | readonly sharePrincipals?: ReadonlyArray<V2PluginListResponse__PluginSharePrincipal> | null; |
| 19366 | readonly shareUrl?: string | null; | 20338 | readonly shareUrl?: string | null; |
| 19367 | }; | 20339 | }; |
| 19368 | export const V2PluginListResponse__PluginShareContext = Schema.Struct({ | 20340 | export const V2PluginListResponse__PluginShareContext = Schema.Struct({ |
| 19369 | creatorAccountUserId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20341 | creatorAccountUserId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 19370 | creatorName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20342 | creatorName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 20343 | discoverability: Schema.optionalKey( |
| | 20344 | Schema.Union([V2PluginListResponse__PluginShareDiscoverability, Schema.Null]), |
| | 20345 | ), |
| 19371 | remotePluginId: Schema.String, | 20346 | remotePluginId: Schema.String, |
| 19372 | shareTargets: Schema.optionalKey( | 20347 | remoteVersion: Schema.optionalKey( |
| | 20348 | Schema.Union([ |
| | 20349 | Schema.String.annotate({ |
| | 20350 | description: "Version of the remote shared plugin release when available.", |
| | 20351 | }), |
| | 20352 | Schema.Null, |
| | 20353 | ]), |
| | 20354 | ), |
| | 20355 | sharePrincipals: Schema.optionalKey( |
| 19373 | Schema.Union([Schema.Array(V2PluginListResponse__PluginSharePrincipal), Schema.Null]), | 20356 | Schema.Union([Schema.Array(V2PluginListResponse__PluginSharePrincipal), Schema.Null]), |
| 19374 | ), | 20357 | ), |
| 19375 | shareUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20358 | shareUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| ... | @@ -19395,15 +20378,28 @@ export const V2PluginReadResponse__SkillSummary = Schema.Struct({ | ... | @@ -19395,15 +20378,28 @@ export const V2PluginReadResponse__SkillSummary = Schema.Struct({ |
| 19395 | export type V2PluginReadResponse__PluginShareContext = { | 20378 | export type V2PluginReadResponse__PluginShareContext = { |
| 19396 | readonly creatorAccountUserId?: string | null; | 20379 | readonly creatorAccountUserId?: string | null; |
| 19397 | readonly creatorName?: string | null; | 20380 | readonly creatorName?: string | null; |
| | 20381 | readonly discoverability?: V2PluginReadResponse__PluginShareDiscoverability | null; |
| 19398 | readonly remotePluginId: string; | 20382 | readonly remotePluginId: string; |
| 19399 | readonly shareTargets?: ReadonlyArray<V2PluginReadResponse__PluginSharePrincipal> | null; | 20383 | readonly remoteVersion?: string | null; |
| | 20384 | readonly sharePrincipals?: ReadonlyArray<V2PluginReadResponse__PluginSharePrincipal> | null; |
| 19400 | readonly shareUrl?: string | null; | 20385 | readonly shareUrl?: string | null; |
| 19401 | }; | 20386 | }; |
| 19402 | export const V2PluginReadResponse__PluginShareContext = Schema.Struct({ | 20387 | export const V2PluginReadResponse__PluginShareContext = Schema.Struct({ |
| 19403 | creatorAccountUserId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20388 | creatorAccountUserId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 19404 | creatorName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20389 | creatorName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 20390 | discoverability: Schema.optionalKey( |
| | 20391 | Schema.Union([V2PluginReadResponse__PluginShareDiscoverability, Schema.Null]), |
| | 20392 | ), |
| 19405 | remotePluginId: Schema.String, | 20393 | remotePluginId: Schema.String, |
| 19406 | shareTargets: Schema.optionalKey( | 20394 | remoteVersion: Schema.optionalKey( |
| | 20395 | Schema.Union([ |
| | 20396 | Schema.String.annotate({ |
| | 20397 | description: "Version of the remote shared plugin release when available.", |
| | 20398 | }), |
| | 20399 | Schema.Null, |
| | 20400 | ]), |
| | 20401 | ), |
| | 20402 | sharePrincipals: Schema.optionalKey( |
| 19407 | Schema.Union([Schema.Array(V2PluginReadResponse__PluginSharePrincipal), Schema.Null]), | 20403 | Schema.Union([Schema.Array(V2PluginReadResponse__PluginSharePrincipal), Schema.Null]), |
| 19408 | ), | 20404 | ), |
| 19409 | shareUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20405 | shareUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| ... | @@ -19412,15 +20408,28 @@ export const V2PluginReadResponse__PluginShareContext = Schema.Struct({ | ... | @@ -19412,15 +20408,28 @@ export const V2PluginReadResponse__PluginShareContext = Schema.Struct({ |
| 19412 | export type V2PluginShareListResponse__PluginShareContext = { | 20408 | export type V2PluginShareListResponse__PluginShareContext = { |
| 19413 | readonly creatorAccountUserId?: string | null; | 20409 | readonly creatorAccountUserId?: string | null; |
| 19414 | readonly creatorName?: string | null; | 20410 | readonly creatorName?: string | null; |
| | 20411 | readonly discoverability?: V2PluginShareListResponse__PluginShareDiscoverability | null; |
| 19415 | readonly remotePluginId: string; | 20412 | readonly remotePluginId: string; |
| 19416 | readonly shareTargets?: ReadonlyArray<V2PluginShareListResponse__PluginSharePrincipal> | null; | 20413 | readonly remoteVersion?: string | null; |
| | 20414 | readonly sharePrincipals?: ReadonlyArray<V2PluginShareListResponse__PluginSharePrincipal> | null; |
| 19417 | readonly shareUrl?: string | null; | 20415 | readonly shareUrl?: string | null; |
| 19418 | }; | 20416 | }; |
| 19419 | export const V2PluginShareListResponse__PluginShareContext = Schema.Struct({ | 20417 | export const V2PluginShareListResponse__PluginShareContext = Schema.Struct({ |
| 19420 | creatorAccountUserId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20418 | creatorAccountUserId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 19421 | creatorName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20419 | creatorName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 20420 | discoverability: Schema.optionalKey( |
| | 20421 | Schema.Union([V2PluginShareListResponse__PluginShareDiscoverability, Schema.Null]), |
| | 20422 | ), |
| 19422 | remotePluginId: Schema.String, | 20423 | remotePluginId: Schema.String, |
| 19423 | shareTargets: Schema.optionalKey( | 20424 | remoteVersion: Schema.optionalKey( |
| | 20425 | Schema.Union([ |
| | 20426 | Schema.String.annotate({ |
| | 20427 | description: "Version of the remote shared plugin release when available.", |
| | 20428 | }), |
| | 20429 | Schema.Null, |
| | 20430 | ]), |
| | 20431 | ), |
| | 20432 | sharePrincipals: Schema.optionalKey( |
| 19424 | Schema.Union([Schema.Array(V2PluginShareListResponse__PluginSharePrincipal), Schema.Null]), | 20433 | Schema.Union([Schema.Array(V2PluginShareListResponse__PluginSharePrincipal), Schema.Null]), |
| 19425 | ), | 20434 | ), |
| 19426 | shareUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20435 | shareUrl: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| ... | @@ -19449,6 +20458,7 @@ export const V2ReviewStartResponse__TurnError = Schema.Struct({ | ... | @@ -19449,6 +20458,7 @@ export const V2ReviewStartResponse__TurnError = Schema.Struct({ |
| 19449 | | 20458 | |
| 19450 | export type V2ReviewStartResponse__ThreadItem = | 20459 | export type V2ReviewStartResponse__ThreadItem = |
| 19451 | | { | 20460 | | { |
| | 20461 | readonly clientId?: string | null; |
| 19452 | readonly content: ReadonlyArray<V2ReviewStartResponse__UserInput>; | 20462 | readonly content: ReadonlyArray<V2ReviewStartResponse__UserInput>; |
| 19453 | readonly id: string; | 20463 | readonly id: string; |
| 19454 | readonly type: "userMessage"; | 20464 | readonly type: "userMessage"; |
| ... | @@ -19497,6 +20507,7 @@ export type V2ReviewStartResponse__ThreadItem = | ... | @@ -19497,6 +20507,7 @@ export type V2ReviewStartResponse__ThreadItem = |
| 19497 | readonly error?: V2ReviewStartResponse__McpToolCallError | null; | 20507 | readonly error?: V2ReviewStartResponse__McpToolCallError | null; |
| 19498 | readonly id: string; | 20508 | readonly id: string; |
| 19499 | readonly mcpAppResourceUri?: string | null; | 20509 | readonly mcpAppResourceUri?: string | null; |
| | 20510 | readonly pluginId?: string | null; |
| 19500 | readonly result?: V2ReviewStartResponse__McpToolCallResult | null; | 20511 | readonly result?: V2ReviewStartResponse__McpToolCallResult | null; |
| 19501 | readonly server: string; | 20512 | readonly server: string; |
| 19502 | readonly status: V2ReviewStartResponse__McpToolCallStatus; | 20513 | readonly status: V2ReviewStartResponse__McpToolCallStatus; |
| ... | @@ -19526,6 +20537,13 @@ export type V2ReviewStartResponse__ThreadItem = | ... | @@ -19526,6 +20537,13 @@ export type V2ReviewStartResponse__ThreadItem = |
| 19526 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 20537 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 19527 | readonly type: "collabAgentToolCall"; | 20538 | readonly type: "collabAgentToolCall"; |
| 19528 | } | 20539 | } |
| | 20540 | | { |
| | 20541 | readonly agentPath: string; |
| | 20542 | readonly agentThreadId: string; |
| | 20543 | readonly id: string; |
| | 20544 | readonly kind: V2ReviewStartResponse__SubAgentActivityKind; |
| | 20545 | readonly type: "subAgentActivity"; |
| | 20546 | } |
| 19529 | | { | 20547 | | { |
| 19530 | readonly action?: V2ReviewStartResponse__WebSearchAction | null; | 20548 | readonly action?: V2ReviewStartResponse__WebSearchAction | null; |
| 19531 | readonly id: string; | 20549 | readonly id: string; |
| ... | @@ -19551,6 +20569,7 @@ export type V2ReviewStartResponse__ThreadItem = | ... | @@ -19551,6 +20569,7 @@ export type V2ReviewStartResponse__ThreadItem = |
| 19551 | export const V2ReviewStartResponse__ThreadItem = Schema.Union( | 20569 | export const V2ReviewStartResponse__ThreadItem = Schema.Union( |
| 19552 | [ | 20570 | [ |
| 19553 | Schema.Struct({ | 20571 | Schema.Struct({ |
| | 20572 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 19554 | content: Schema.Array(V2ReviewStartResponse__UserInput), | 20573 | content: Schema.Array(V2ReviewStartResponse__UserInput), |
| 19555 | id: Schema.String, | 20574 | id: Schema.String, |
| 19556 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 20575 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -19664,6 +20683,7 @@ export const V2ReviewStartResponse__ThreadItem = Schema.Union( | ... | @@ -19664,6 +20683,7 @@ export const V2ReviewStartResponse__ThreadItem = Schema.Union( |
| 19664 | ), | 20683 | ), |
| 19665 | id: Schema.String, | 20684 | id: Schema.String, |
| 19666 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 20685 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 20686 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 19667 | result: Schema.optionalKey( | 20687 | result: Schema.optionalKey( |
| 19668 | Schema.Union([V2ReviewStartResponse__McpToolCallResult, Schema.Null]), | 20688 | Schema.Union([V2ReviewStartResponse__McpToolCallResult, Schema.Null]), |
| 19669 | ), | 20689 | ), |
| ... | @@ -19743,6 +20763,15 @@ export const V2ReviewStartResponse__ThreadItem = Schema.Union( | ... | @@ -19743,6 +20763,15 @@ export const V2ReviewStartResponse__ThreadItem = Schema.Union( |
| 19743 | title: "CollabAgentToolCallThreadItemType", | 20763 | title: "CollabAgentToolCallThreadItemType", |
| 19744 | }), | 20764 | }), |
| 19745 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 20765 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 20766 | Schema.Struct({ |
| | 20767 | agentPath: Schema.String, |
| | 20768 | agentThreadId: Schema.String, |
| | 20769 | id: Schema.String, |
| | 20770 | kind: V2ReviewStartResponse__SubAgentActivityKind, |
| | 20771 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 20772 | title: "SubAgentActivityThreadItemType", |
| | 20773 | }), |
| | 20774 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 19746 | Schema.Struct({ | 20775 | Schema.Struct({ |
| 19747 | action: Schema.optionalKey( | 20776 | action: Schema.optionalKey( |
| 19748 | Schema.Union([V2ReviewStartResponse__WebSearchAction, Schema.Null]), | 20777 | Schema.Union([V2ReviewStartResponse__WebSearchAction, Schema.Null]), |
| ... | @@ -19821,15 +20850,6 @@ export const V2SkillsListResponse__SkillMetadata = Schema.Struct({ | ... | @@ -19821,15 +20850,6 @@ export const V2SkillsListResponse__SkillMetadata = Schema.Struct({ |
| 19821 | ), | 20850 | ), |
| 19822 | }); | 20851 | }); |
| 19823 | | 20852 | |
| 19824 | export type V2ThreadForkResponse__FileSystemSandboxEntry = { | | |
| 19825 | readonly access: V2ThreadForkResponse__FileSystemAccessMode; | | |
| 19826 | readonly path: V2ThreadForkResponse__FileSystemPath; | | |
| 19827 | }; | | |
| 19828 | export const V2ThreadForkResponse__FileSystemSandboxEntry = Schema.Struct({ | | |
| 19829 | access: V2ThreadForkResponse__FileSystemAccessMode, | | |
| 19830 | path: V2ThreadForkResponse__FileSystemPath, | | |
| 19831 | }); | | |
| 19832 | | | |
| 19833 | export type V2ThreadForkResponse__TurnError = { | 20853 | export type V2ThreadForkResponse__TurnError = { |
| 19834 | readonly additionalDetails?: string | null; | 20854 | readonly additionalDetails?: string | null; |
| 19835 | readonly codexErrorInfo?: V2ThreadForkResponse__CodexErrorInfo | null; | 20855 | readonly codexErrorInfo?: V2ThreadForkResponse__CodexErrorInfo | null; |
| ... | @@ -19845,6 +20865,7 @@ export const V2ThreadForkResponse__TurnError = Schema.Struct({ | ... | @@ -19845,6 +20865,7 @@ export const V2ThreadForkResponse__TurnError = Schema.Struct({ |
| 19845 | | 20865 | |
| 19846 | export type V2ThreadForkResponse__ThreadItem = | 20866 | export type V2ThreadForkResponse__ThreadItem = |
| 19847 | | { | 20867 | | { |
| | 20868 | readonly clientId?: string | null; |
| 19848 | readonly content: ReadonlyArray<V2ThreadForkResponse__UserInput>; | 20869 | readonly content: ReadonlyArray<V2ThreadForkResponse__UserInput>; |
| 19849 | readonly id: string; | 20870 | readonly id: string; |
| 19850 | readonly type: "userMessage"; | 20871 | readonly type: "userMessage"; |
| ... | @@ -19893,6 +20914,7 @@ export type V2ThreadForkResponse__ThreadItem = | ... | @@ -19893,6 +20914,7 @@ export type V2ThreadForkResponse__ThreadItem = |
| 19893 | readonly error?: V2ThreadForkResponse__McpToolCallError | null; | 20914 | readonly error?: V2ThreadForkResponse__McpToolCallError | null; |
| 19894 | readonly id: string; | 20915 | readonly id: string; |
| 19895 | readonly mcpAppResourceUri?: string | null; | 20916 | readonly mcpAppResourceUri?: string | null; |
| | 20917 | readonly pluginId?: string | null; |
| 19896 | readonly result?: V2ThreadForkResponse__McpToolCallResult | null; | 20918 | readonly result?: V2ThreadForkResponse__McpToolCallResult | null; |
| 19897 | readonly server: string; | 20919 | readonly server: string; |
| 19898 | readonly status: V2ThreadForkResponse__McpToolCallStatus; | 20920 | readonly status: V2ThreadForkResponse__McpToolCallStatus; |
| ... | @@ -19922,6 +20944,13 @@ export type V2ThreadForkResponse__ThreadItem = | ... | @@ -19922,6 +20944,13 @@ export type V2ThreadForkResponse__ThreadItem = |
| 19922 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 20944 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 19923 | readonly type: "collabAgentToolCall"; | 20945 | readonly type: "collabAgentToolCall"; |
| 19924 | } | 20946 | } |
| | 20947 | | { |
| | 20948 | readonly agentPath: string; |
| | 20949 | readonly agentThreadId: string; |
| | 20950 | readonly id: string; |
| | 20951 | readonly kind: V2ThreadForkResponse__SubAgentActivityKind; |
| | 20952 | readonly type: "subAgentActivity"; |
| | 20953 | } |
| 19925 | | { | 20954 | | { |
| 19926 | readonly action?: V2ThreadForkResponse__WebSearchAction | null; | 20955 | readonly action?: V2ThreadForkResponse__WebSearchAction | null; |
| 19927 | readonly id: string; | 20956 | readonly id: string; |
| ... | @@ -19947,6 +20976,7 @@ export type V2ThreadForkResponse__ThreadItem = | ... | @@ -19947,6 +20976,7 @@ export type V2ThreadForkResponse__ThreadItem = |
| 19947 | export const V2ThreadForkResponse__ThreadItem = Schema.Union( | 20976 | export const V2ThreadForkResponse__ThreadItem = Schema.Union( |
| 19948 | [ | 20977 | [ |
| 19949 | Schema.Struct({ | 20978 | Schema.Struct({ |
| | 20979 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 19950 | content: Schema.Array(V2ThreadForkResponse__UserInput), | 20980 | content: Schema.Array(V2ThreadForkResponse__UserInput), |
| 19951 | id: Schema.String, | 20981 | id: Schema.String, |
| 19952 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 20982 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -20060,6 +21090,7 @@ export const V2ThreadForkResponse__ThreadItem = Schema.Union( | ... | @@ -20060,6 +21090,7 @@ export const V2ThreadForkResponse__ThreadItem = Schema.Union( |
| 20060 | ), | 21090 | ), |
| 20061 | id: Schema.String, | 21091 | id: Schema.String, |
| 20062 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 21092 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 21093 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 20063 | result: Schema.optionalKey( | 21094 | result: Schema.optionalKey( |
| 20064 | Schema.Union([V2ThreadForkResponse__McpToolCallResult, Schema.Null]), | 21095 | Schema.Union([V2ThreadForkResponse__McpToolCallResult, Schema.Null]), |
| 20065 | ), | 21096 | ), |
| ... | @@ -20139,6 +21170,15 @@ export const V2ThreadForkResponse__ThreadItem = Schema.Union( | ... | @@ -20139,6 +21170,15 @@ export const V2ThreadForkResponse__ThreadItem = Schema.Union( |
| 20139 | title: "CollabAgentToolCallThreadItemType", | 21170 | title: "CollabAgentToolCallThreadItemType", |
| 20140 | }), | 21171 | }), |
| 20141 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 21172 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 21173 | Schema.Struct({ |
| | 21174 | agentPath: Schema.String, |
| | 21175 | agentThreadId: Schema.String, |
| | 21176 | id: Schema.String, |
| | 21177 | kind: V2ThreadForkResponse__SubAgentActivityKind, |
| | 21178 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 21179 | title: "SubAgentActivityThreadItemType", |
| | 21180 | }), |
| | 21181 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 20142 | Schema.Struct({ | 21182 | Schema.Struct({ |
| 20143 | action: Schema.optionalKey( | 21183 | action: Schema.optionalKey( |
| 20144 | Schema.Union([V2ThreadForkResponse__WebSearchAction, Schema.Null]), | 21184 | Schema.Union([V2ThreadForkResponse__WebSearchAction, Schema.Null]), |
| ... | @@ -20201,6 +21241,7 @@ export const V2ThreadListResponse__TurnError = Schema.Struct({ | ... | @@ -20201,6 +21241,7 @@ export const V2ThreadListResponse__TurnError = Schema.Struct({ |
| 20201 | | 21241 | |
| 20202 | export type V2ThreadListResponse__ThreadItem = | 21242 | export type V2ThreadListResponse__ThreadItem = |
| 20203 | | { | 21243 | | { |
| | 21244 | readonly clientId?: string | null; |
| 20204 | readonly content: ReadonlyArray<V2ThreadListResponse__UserInput>; | 21245 | readonly content: ReadonlyArray<V2ThreadListResponse__UserInput>; |
| 20205 | readonly id: string; | 21246 | readonly id: string; |
| 20206 | readonly type: "userMessage"; | 21247 | readonly type: "userMessage"; |
| ... | @@ -20249,6 +21290,7 @@ export type V2ThreadListResponse__ThreadItem = | ... | @@ -20249,6 +21290,7 @@ export type V2ThreadListResponse__ThreadItem = |
| 20249 | readonly error?: V2ThreadListResponse__McpToolCallError | null; | 21290 | readonly error?: V2ThreadListResponse__McpToolCallError | null; |
| 20250 | readonly id: string; | 21291 | readonly id: string; |
| 20251 | readonly mcpAppResourceUri?: string | null; | 21292 | readonly mcpAppResourceUri?: string | null; |
| | 21293 | readonly pluginId?: string | null; |
| 20252 | readonly result?: V2ThreadListResponse__McpToolCallResult | null; | 21294 | readonly result?: V2ThreadListResponse__McpToolCallResult | null; |
| 20253 | readonly server: string; | 21295 | readonly server: string; |
| 20254 | readonly status: V2ThreadListResponse__McpToolCallStatus; | 21296 | readonly status: V2ThreadListResponse__McpToolCallStatus; |
| ... | @@ -20278,6 +21320,13 @@ export type V2ThreadListResponse__ThreadItem = | ... | @@ -20278,6 +21320,13 @@ export type V2ThreadListResponse__ThreadItem = |
| 20278 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 21320 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 20279 | readonly type: "collabAgentToolCall"; | 21321 | readonly type: "collabAgentToolCall"; |
| 20280 | } | 21322 | } |
| | 21323 | | { |
| | 21324 | readonly agentPath: string; |
| | 21325 | readonly agentThreadId: string; |
| | 21326 | readonly id: string; |
| | 21327 | readonly kind: V2ThreadListResponse__SubAgentActivityKind; |
| | 21328 | readonly type: "subAgentActivity"; |
| | 21329 | } |
| 20281 | | { | 21330 | | { |
| 20282 | readonly action?: V2ThreadListResponse__WebSearchAction | null; | 21331 | readonly action?: V2ThreadListResponse__WebSearchAction | null; |
| 20283 | readonly id: string; | 21332 | readonly id: string; |
| ... | @@ -20303,6 +21352,7 @@ export type V2ThreadListResponse__ThreadItem = | ... | @@ -20303,6 +21352,7 @@ export type V2ThreadListResponse__ThreadItem = |
| 20303 | export const V2ThreadListResponse__ThreadItem = Schema.Union( | 21352 | export const V2ThreadListResponse__ThreadItem = Schema.Union( |
| 20304 | [ | 21353 | [ |
| 20305 | Schema.Struct({ | 21354 | Schema.Struct({ |
| | 21355 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 20306 | content: Schema.Array(V2ThreadListResponse__UserInput), | 21356 | content: Schema.Array(V2ThreadListResponse__UserInput), |
| 20307 | id: Schema.String, | 21357 | id: Schema.String, |
| 20308 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 21358 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -20416,6 +21466,7 @@ export const V2ThreadListResponse__ThreadItem = Schema.Union( | ... | @@ -20416,6 +21466,7 @@ export const V2ThreadListResponse__ThreadItem = Schema.Union( |
| 20416 | ), | 21466 | ), |
| 20417 | id: Schema.String, | 21467 | id: Schema.String, |
| 20418 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 21468 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 21469 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 20419 | result: Schema.optionalKey( | 21470 | result: Schema.optionalKey( |
| 20420 | Schema.Union([V2ThreadListResponse__McpToolCallResult, Schema.Null]), | 21471 | Schema.Union([V2ThreadListResponse__McpToolCallResult, Schema.Null]), |
| 20421 | ), | 21472 | ), |
| ... | @@ -20495,6 +21546,15 @@ export const V2ThreadListResponse__ThreadItem = Schema.Union( | ... | @@ -20495,6 +21546,15 @@ export const V2ThreadListResponse__ThreadItem = Schema.Union( |
| 20495 | title: "CollabAgentToolCallThreadItemType", | 21546 | title: "CollabAgentToolCallThreadItemType", |
| 20496 | }), | 21547 | }), |
| 20497 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 21548 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 21549 | Schema.Struct({ |
| | 21550 | agentPath: Schema.String, |
| | 21551 | agentThreadId: Schema.String, |
| | 21552 | id: Schema.String, |
| | 21553 | kind: V2ThreadListResponse__SubAgentActivityKind, |
| | 21554 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 21555 | title: "SubAgentActivityThreadItemType", |
| | 21556 | }), |
| | 21557 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 20498 | Schema.Struct({ | 21558 | Schema.Struct({ |
| 20499 | action: Schema.optionalKey( | 21559 | action: Schema.optionalKey( |
| 20500 | Schema.Union([V2ThreadListResponse__WebSearchAction, Schema.Null]), | 21560 | Schema.Union([V2ThreadListResponse__WebSearchAction, Schema.Null]), |
| ... | @@ -20557,6 +21617,7 @@ export const V2ThreadMetadataUpdateResponse__TurnError = Schema.Struct({ | ... | @@ -20557,6 +21617,7 @@ export const V2ThreadMetadataUpdateResponse__TurnError = Schema.Struct({ |
| 20557 | | 21617 | |
| 20558 | export type V2ThreadMetadataUpdateResponse__ThreadItem = | 21618 | export type V2ThreadMetadataUpdateResponse__ThreadItem = |
| 20559 | | { | 21619 | | { |
| | 21620 | readonly clientId?: string | null; |
| 20560 | readonly content: ReadonlyArray<V2ThreadMetadataUpdateResponse__UserInput>; | 21621 | readonly content: ReadonlyArray<V2ThreadMetadataUpdateResponse__UserInput>; |
| 20561 | readonly id: string; | 21622 | readonly id: string; |
| 20562 | readonly type: "userMessage"; | 21623 | readonly type: "userMessage"; |
| ... | @@ -20605,6 +21666,7 @@ export type V2ThreadMetadataUpdateResponse__ThreadItem = | ... | @@ -20605,6 +21666,7 @@ export type V2ThreadMetadataUpdateResponse__ThreadItem = |
| 20605 | readonly error?: V2ThreadMetadataUpdateResponse__McpToolCallError | null; | 21666 | readonly error?: V2ThreadMetadataUpdateResponse__McpToolCallError | null; |
| 20606 | readonly id: string; | 21667 | readonly id: string; |
| 20607 | readonly mcpAppResourceUri?: string | null; | 21668 | readonly mcpAppResourceUri?: string | null; |
| | 21669 | readonly pluginId?: string | null; |
| 20608 | readonly result?: V2ThreadMetadataUpdateResponse__McpToolCallResult | null; | 21670 | readonly result?: V2ThreadMetadataUpdateResponse__McpToolCallResult | null; |
| 20609 | readonly server: string; | 21671 | readonly server: string; |
| 20610 | readonly status: V2ThreadMetadataUpdateResponse__McpToolCallStatus; | 21672 | readonly status: V2ThreadMetadataUpdateResponse__McpToolCallStatus; |
| ... | @@ -20636,6 +21698,13 @@ export type V2ThreadMetadataUpdateResponse__ThreadItem = | ... | @@ -20636,6 +21698,13 @@ export type V2ThreadMetadataUpdateResponse__ThreadItem = |
| 20636 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 21698 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 20637 | readonly type: "collabAgentToolCall"; | 21699 | readonly type: "collabAgentToolCall"; |
| 20638 | } | 21700 | } |
| | 21701 | | { |
| | 21702 | readonly agentPath: string; |
| | 21703 | readonly agentThreadId: string; |
| | 21704 | readonly id: string; |
| | 21705 | readonly kind: V2ThreadMetadataUpdateResponse__SubAgentActivityKind; |
| | 21706 | readonly type: "subAgentActivity"; |
| | 21707 | } |
| 20639 | | { | 21708 | | { |
| 20640 | readonly action?: V2ThreadMetadataUpdateResponse__WebSearchAction | null; | 21709 | readonly action?: V2ThreadMetadataUpdateResponse__WebSearchAction | null; |
| 20641 | readonly id: string; | 21710 | readonly id: string; |
| ... | @@ -20661,6 +21730,7 @@ export type V2ThreadMetadataUpdateResponse__ThreadItem = | ... | @@ -20661,6 +21730,7 @@ export type V2ThreadMetadataUpdateResponse__ThreadItem = |
| 20661 | export const V2ThreadMetadataUpdateResponse__ThreadItem = Schema.Union( | 21730 | export const V2ThreadMetadataUpdateResponse__ThreadItem = Schema.Union( |
| 20662 | [ | 21731 | [ |
| 20663 | Schema.Struct({ | 21732 | Schema.Struct({ |
| | 21733 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 20664 | content: Schema.Array(V2ThreadMetadataUpdateResponse__UserInput), | 21734 | content: Schema.Array(V2ThreadMetadataUpdateResponse__UserInput), |
| 20665 | id: Schema.String, | 21735 | id: Schema.String, |
| 20666 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 21736 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -20776,6 +21846,7 @@ export const V2ThreadMetadataUpdateResponse__ThreadItem = Schema.Union( | ... | @@ -20776,6 +21846,7 @@ export const V2ThreadMetadataUpdateResponse__ThreadItem = Schema.Union( |
| 20776 | ), | 21846 | ), |
| 20777 | id: Schema.String, | 21847 | id: Schema.String, |
| 20778 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 21848 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 21849 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 20779 | result: Schema.optionalKey( | 21850 | result: Schema.optionalKey( |
| 20780 | Schema.Union([V2ThreadMetadataUpdateResponse__McpToolCallResult, Schema.Null]), | 21851 | Schema.Union([V2ThreadMetadataUpdateResponse__McpToolCallResult, Schema.Null]), |
| 20781 | ), | 21852 | ), |
| ... | @@ -20856,6 +21927,15 @@ export const V2ThreadMetadataUpdateResponse__ThreadItem = Schema.Union( | ... | @@ -20856,6 +21927,15 @@ export const V2ThreadMetadataUpdateResponse__ThreadItem = Schema.Union( |
| 20856 | title: "CollabAgentToolCallThreadItemType", | 21927 | title: "CollabAgentToolCallThreadItemType", |
| 20857 | }), | 21928 | }), |
| 20858 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 21929 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 21930 | Schema.Struct({ |
| | 21931 | agentPath: Schema.String, |
| | 21932 | agentThreadId: Schema.String, |
| | 21933 | id: Schema.String, |
| | 21934 | kind: V2ThreadMetadataUpdateResponse__SubAgentActivityKind, |
| | 21935 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 21936 | title: "SubAgentActivityThreadItemType", |
| | 21937 | }), |
| | 21938 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 20859 | Schema.Struct({ | 21939 | Schema.Struct({ |
| 20860 | action: Schema.optionalKey( | 21940 | action: Schema.optionalKey( |
| 20861 | Schema.Union([V2ThreadMetadataUpdateResponse__WebSearchAction, Schema.Null]), | 21941 | Schema.Union([V2ThreadMetadataUpdateResponse__WebSearchAction, Schema.Null]), |
| ... | @@ -20918,6 +21998,7 @@ export const V2ThreadReadResponse__TurnError = Schema.Struct({ | ... | @@ -20918,6 +21998,7 @@ export const V2ThreadReadResponse__TurnError = Schema.Struct({ |
| 20918 | | 21998 | |
| 20919 | export type V2ThreadReadResponse__ThreadItem = | 21999 | export type V2ThreadReadResponse__ThreadItem = |
| 20920 | | { | 22000 | | { |
| | 22001 | readonly clientId?: string | null; |
| 20921 | readonly content: ReadonlyArray<V2ThreadReadResponse__UserInput>; | 22002 | readonly content: ReadonlyArray<V2ThreadReadResponse__UserInput>; |
| 20922 | readonly id: string; | 22003 | readonly id: string; |
| 20923 | readonly type: "userMessage"; | 22004 | readonly type: "userMessage"; |
| ... | @@ -20966,6 +22047,7 @@ export type V2ThreadReadResponse__ThreadItem = | ... | @@ -20966,6 +22047,7 @@ export type V2ThreadReadResponse__ThreadItem = |
| 20966 | readonly error?: V2ThreadReadResponse__McpToolCallError | null; | 22047 | readonly error?: V2ThreadReadResponse__McpToolCallError | null; |
| 20967 | readonly id: string; | 22048 | readonly id: string; |
| 20968 | readonly mcpAppResourceUri?: string | null; | 22049 | readonly mcpAppResourceUri?: string | null; |
| | 22050 | readonly pluginId?: string | null; |
| 20969 | readonly result?: V2ThreadReadResponse__McpToolCallResult | null; | 22051 | readonly result?: V2ThreadReadResponse__McpToolCallResult | null; |
| 20970 | readonly server: string; | 22052 | readonly server: string; |
| 20971 | readonly status: V2ThreadReadResponse__McpToolCallStatus; | 22053 | readonly status: V2ThreadReadResponse__McpToolCallStatus; |
| ... | @@ -20995,6 +22077,13 @@ export type V2ThreadReadResponse__ThreadItem = | ... | @@ -20995,6 +22077,13 @@ export type V2ThreadReadResponse__ThreadItem = |
| 20995 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 22077 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 20996 | readonly type: "collabAgentToolCall"; | 22078 | readonly type: "collabAgentToolCall"; |
| 20997 | } | 22079 | } |
| | 22080 | | { |
| | 22081 | readonly agentPath: string; |
| | 22082 | readonly agentThreadId: string; |
| | 22083 | readonly id: string; |
| | 22084 | readonly kind: V2ThreadReadResponse__SubAgentActivityKind; |
| | 22085 | readonly type: "subAgentActivity"; |
| | 22086 | } |
| 20998 | | { | 22087 | | { |
| 20999 | readonly action?: V2ThreadReadResponse__WebSearchAction | null; | 22088 | readonly action?: V2ThreadReadResponse__WebSearchAction | null; |
| 21000 | readonly id: string; | 22089 | readonly id: string; |
| ... | @@ -21020,6 +22109,7 @@ export type V2ThreadReadResponse__ThreadItem = | ... | @@ -21020,6 +22109,7 @@ export type V2ThreadReadResponse__ThreadItem = |
| 21020 | export const V2ThreadReadResponse__ThreadItem = Schema.Union( | 22109 | export const V2ThreadReadResponse__ThreadItem = Schema.Union( |
| 21021 | [ | 22110 | [ |
| 21022 | Schema.Struct({ | 22111 | Schema.Struct({ |
| | 22112 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 21023 | content: Schema.Array(V2ThreadReadResponse__UserInput), | 22113 | content: Schema.Array(V2ThreadReadResponse__UserInput), |
| 21024 | id: Schema.String, | 22114 | id: Schema.String, |
| 21025 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 22115 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -21133,6 +22223,7 @@ export const V2ThreadReadResponse__ThreadItem = Schema.Union( | ... | @@ -21133,6 +22223,7 @@ export const V2ThreadReadResponse__ThreadItem = Schema.Union( |
| 21133 | ), | 22223 | ), |
| 21134 | id: Schema.String, | 22224 | id: Schema.String, |
| 21135 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 22225 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 22226 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 21136 | result: Schema.optionalKey( | 22227 | result: Schema.optionalKey( |
| 21137 | Schema.Union([V2ThreadReadResponse__McpToolCallResult, Schema.Null]), | 22228 | Schema.Union([V2ThreadReadResponse__McpToolCallResult, Schema.Null]), |
| 21138 | ), | 22229 | ), |
| ... | @@ -21212,6 +22303,15 @@ export const V2ThreadReadResponse__ThreadItem = Schema.Union( | ... | @@ -21212,6 +22303,15 @@ export const V2ThreadReadResponse__ThreadItem = Schema.Union( |
| 21212 | title: "CollabAgentToolCallThreadItemType", | 22303 | title: "CollabAgentToolCallThreadItemType", |
| 21213 | }), | 22304 | }), |
| 21214 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 22305 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 22306 | Schema.Struct({ |
| | 22307 | agentPath: Schema.String, |
| | 22308 | agentThreadId: Schema.String, |
| | 22309 | id: Schema.String, |
| | 22310 | kind: V2ThreadReadResponse__SubAgentActivityKind, |
| | 22311 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 22312 | title: "SubAgentActivityThreadItemType", |
| | 22313 | }), |
| | 22314 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 21215 | Schema.Struct({ | 22315 | Schema.Struct({ |
| 21216 | action: Schema.optionalKey( | 22316 | action: Schema.optionalKey( |
| 21217 | Schema.Union([V2ThreadReadResponse__WebSearchAction, Schema.Null]), | 22317 | Schema.Union([V2ThreadReadResponse__WebSearchAction, Schema.Null]), |
| ... | @@ -21267,15 +22367,6 @@ export const V2ThreadResumeParams__FunctionCallOutputBody = Schema.Union([ | ... | @@ -21267,15 +22367,6 @@ export const V2ThreadResumeParams__FunctionCallOutputBody = Schema.Union([ |
| 21267 | Schema.Array(V2ThreadResumeParams__FunctionCallOutputContentItem), | 22367 | Schema.Array(V2ThreadResumeParams__FunctionCallOutputContentItem), |
| 21268 | ]); | 22368 | ]); |
| 21269 | | 22369 | |
| 21270 | export type V2ThreadResumeResponse__FileSystemSandboxEntry = { | | |
| 21271 | readonly access: V2ThreadResumeResponse__FileSystemAccessMode; | | |
| 21272 | readonly path: V2ThreadResumeResponse__FileSystemPath; | | |
| 21273 | }; | | |
| 21274 | export const V2ThreadResumeResponse__FileSystemSandboxEntry = Schema.Struct({ | | |
| 21275 | access: V2ThreadResumeResponse__FileSystemAccessMode, | | |
| 21276 | path: V2ThreadResumeResponse__FileSystemPath, | | |
| 21277 | }); | | |
| 21278 | | | |
| 21279 | export type V2ThreadResumeResponse__TurnError = { | 22370 | export type V2ThreadResumeResponse__TurnError = { |
| 21280 | readonly additionalDetails?: string | null; | 22371 | readonly additionalDetails?: string | null; |
| 21281 | readonly codexErrorInfo?: V2ThreadResumeResponse__CodexErrorInfo | null; | 22372 | readonly codexErrorInfo?: V2ThreadResumeResponse__CodexErrorInfo | null; |
| ... | @@ -21291,6 +22382,7 @@ export const V2ThreadResumeResponse__TurnError = Schema.Struct({ | ... | @@ -21291,6 +22382,7 @@ export const V2ThreadResumeResponse__TurnError = Schema.Struct({ |
| 21291 | | 22382 | |
| 21292 | export type V2ThreadResumeResponse__ThreadItem = | 22383 | export type V2ThreadResumeResponse__ThreadItem = |
| 21293 | | { | 22384 | | { |
| | 22385 | readonly clientId?: string | null; |
| 21294 | readonly content: ReadonlyArray<V2ThreadResumeResponse__UserInput>; | 22386 | readonly content: ReadonlyArray<V2ThreadResumeResponse__UserInput>; |
| 21295 | readonly id: string; | 22387 | readonly id: string; |
| 21296 | readonly type: "userMessage"; | 22388 | readonly type: "userMessage"; |
| ... | @@ -21339,6 +22431,7 @@ export type V2ThreadResumeResponse__ThreadItem = | ... | @@ -21339,6 +22431,7 @@ export type V2ThreadResumeResponse__ThreadItem = |
| 21339 | readonly error?: V2ThreadResumeResponse__McpToolCallError | null; | 22431 | readonly error?: V2ThreadResumeResponse__McpToolCallError | null; |
| 21340 | readonly id: string; | 22432 | readonly id: string; |
| 21341 | readonly mcpAppResourceUri?: string | null; | 22433 | readonly mcpAppResourceUri?: string | null; |
| | 22434 | readonly pluginId?: string | null; |
| 21342 | readonly result?: V2ThreadResumeResponse__McpToolCallResult | null; | 22435 | readonly result?: V2ThreadResumeResponse__McpToolCallResult | null; |
| 21343 | readonly server: string; | 22436 | readonly server: string; |
| 21344 | readonly status: V2ThreadResumeResponse__McpToolCallStatus; | 22437 | readonly status: V2ThreadResumeResponse__McpToolCallStatus; |
| ... | @@ -21368,6 +22461,13 @@ export type V2ThreadResumeResponse__ThreadItem = | ... | @@ -21368,6 +22461,13 @@ export type V2ThreadResumeResponse__ThreadItem = |
| 21368 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 22461 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 21369 | readonly type: "collabAgentToolCall"; | 22462 | readonly type: "collabAgentToolCall"; |
| 21370 | } | 22463 | } |
| | 22464 | | { |
| | 22465 | readonly agentPath: string; |
| | 22466 | readonly agentThreadId: string; |
| | 22467 | readonly id: string; |
| | 22468 | readonly kind: V2ThreadResumeResponse__SubAgentActivityKind; |
| | 22469 | readonly type: "subAgentActivity"; |
| | 22470 | } |
| 21371 | | { | 22471 | | { |
| 21372 | readonly action?: V2ThreadResumeResponse__WebSearchAction | null; | 22472 | readonly action?: V2ThreadResumeResponse__WebSearchAction | null; |
| 21373 | readonly id: string; | 22473 | readonly id: string; |
| ... | @@ -21393,6 +22493,7 @@ export type V2ThreadResumeResponse__ThreadItem = | ... | @@ -21393,6 +22493,7 @@ export type V2ThreadResumeResponse__ThreadItem = |
| 21393 | export const V2ThreadResumeResponse__ThreadItem = Schema.Union( | 22493 | export const V2ThreadResumeResponse__ThreadItem = Schema.Union( |
| 21394 | [ | 22494 | [ |
| 21395 | Schema.Struct({ | 22495 | Schema.Struct({ |
| | 22496 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 21396 | content: Schema.Array(V2ThreadResumeResponse__UserInput), | 22497 | content: Schema.Array(V2ThreadResumeResponse__UserInput), |
| 21397 | id: Schema.String, | 22498 | id: Schema.String, |
| 21398 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 22499 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -21506,6 +22607,7 @@ export const V2ThreadResumeResponse__ThreadItem = Schema.Union( | ... | @@ -21506,6 +22607,7 @@ export const V2ThreadResumeResponse__ThreadItem = Schema.Union( |
| 21506 | ), | 22607 | ), |
| 21507 | id: Schema.String, | 22608 | id: Schema.String, |
| 21508 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 22609 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 22610 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 21509 | result: Schema.optionalKey( | 22611 | result: Schema.optionalKey( |
| 21510 | Schema.Union([V2ThreadResumeResponse__McpToolCallResult, Schema.Null]), | 22612 | Schema.Union([V2ThreadResumeResponse__McpToolCallResult, Schema.Null]), |
| 21511 | ), | 22613 | ), |
| ... | @@ -21585,6 +22687,15 @@ export const V2ThreadResumeResponse__ThreadItem = Schema.Union( | ... | @@ -21585,6 +22687,15 @@ export const V2ThreadResumeResponse__ThreadItem = Schema.Union( |
| 21585 | title: "CollabAgentToolCallThreadItemType", | 22687 | title: "CollabAgentToolCallThreadItemType", |
| 21586 | }), | 22688 | }), |
| 21587 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 22689 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 22690 | Schema.Struct({ |
| | 22691 | agentPath: Schema.String, |
| | 22692 | agentThreadId: Schema.String, |
| | 22693 | id: Schema.String, |
| | 22694 | kind: V2ThreadResumeResponse__SubAgentActivityKind, |
| | 22695 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 22696 | title: "SubAgentActivityThreadItemType", |
| | 22697 | }), |
| | 22698 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 21588 | Schema.Struct({ | 22699 | Schema.Struct({ |
| 21589 | action: Schema.optionalKey( | 22700 | action: Schema.optionalKey( |
| 21590 | Schema.Union([V2ThreadResumeResponse__WebSearchAction, Schema.Null]), | 22701 | Schema.Union([V2ThreadResumeResponse__WebSearchAction, Schema.Null]), |
| ... | @@ -21647,6 +22758,7 @@ export const V2ThreadRollbackResponse__TurnError = Schema.Struct({ | ... | @@ -21647,6 +22758,7 @@ export const V2ThreadRollbackResponse__TurnError = Schema.Struct({ |
| 21647 | | 22758 | |
| 21648 | export type V2ThreadRollbackResponse__ThreadItem = | 22759 | export type V2ThreadRollbackResponse__ThreadItem = |
| 21649 | | { | 22760 | | { |
| | 22761 | readonly clientId?: string | null; |
| 21650 | readonly content: ReadonlyArray<V2ThreadRollbackResponse__UserInput>; | 22762 | readonly content: ReadonlyArray<V2ThreadRollbackResponse__UserInput>; |
| 21651 | readonly id: string; | 22763 | readonly id: string; |
| 21652 | readonly type: "userMessage"; | 22764 | readonly type: "userMessage"; |
| ... | @@ -21695,6 +22807,7 @@ export type V2ThreadRollbackResponse__ThreadItem = | ... | @@ -21695,6 +22807,7 @@ export type V2ThreadRollbackResponse__ThreadItem = |
| 21695 | readonly error?: V2ThreadRollbackResponse__McpToolCallError | null; | 22807 | readonly error?: V2ThreadRollbackResponse__McpToolCallError | null; |
| 21696 | readonly id: string; | 22808 | readonly id: string; |
| 21697 | readonly mcpAppResourceUri?: string | null; | 22809 | readonly mcpAppResourceUri?: string | null; |
| | 22810 | readonly pluginId?: string | null; |
| 21698 | readonly result?: V2ThreadRollbackResponse__McpToolCallResult | null; | 22811 | readonly result?: V2ThreadRollbackResponse__McpToolCallResult | null; |
| 21699 | readonly server: string; | 22812 | readonly server: string; |
| 21700 | readonly status: V2ThreadRollbackResponse__McpToolCallStatus; | 22813 | readonly status: V2ThreadRollbackResponse__McpToolCallStatus; |
| ... | @@ -21724,6 +22837,13 @@ export type V2ThreadRollbackResponse__ThreadItem = | ... | @@ -21724,6 +22837,13 @@ export type V2ThreadRollbackResponse__ThreadItem = |
| 21724 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 22837 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 21725 | readonly type: "collabAgentToolCall"; | 22838 | readonly type: "collabAgentToolCall"; |
| 21726 | } | 22839 | } |
| | 22840 | | { |
| | 22841 | readonly agentPath: string; |
| | 22842 | readonly agentThreadId: string; |
| | 22843 | readonly id: string; |
| | 22844 | readonly kind: V2ThreadRollbackResponse__SubAgentActivityKind; |
| | 22845 | readonly type: "subAgentActivity"; |
| | 22846 | } |
| 21727 | | { | 22847 | | { |
| 21728 | readonly action?: V2ThreadRollbackResponse__WebSearchAction | null; | 22848 | readonly action?: V2ThreadRollbackResponse__WebSearchAction | null; |
| 21729 | readonly id: string; | 22849 | readonly id: string; |
| ... | @@ -21749,6 +22869,7 @@ export type V2ThreadRollbackResponse__ThreadItem = | ... | @@ -21749,6 +22869,7 @@ export type V2ThreadRollbackResponse__ThreadItem = |
| 21749 | export const V2ThreadRollbackResponse__ThreadItem = Schema.Union( | 22869 | export const V2ThreadRollbackResponse__ThreadItem = Schema.Union( |
| 21750 | [ | 22870 | [ |
| 21751 | Schema.Struct({ | 22871 | Schema.Struct({ |
| | 22872 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 21752 | content: Schema.Array(V2ThreadRollbackResponse__UserInput), | 22873 | content: Schema.Array(V2ThreadRollbackResponse__UserInput), |
| 21753 | id: Schema.String, | 22874 | id: Schema.String, |
| 21754 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 22875 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -21864,6 +22985,7 @@ export const V2ThreadRollbackResponse__ThreadItem = Schema.Union( | ... | @@ -21864,6 +22985,7 @@ export const V2ThreadRollbackResponse__ThreadItem = Schema.Union( |
| 21864 | ), | 22985 | ), |
| 21865 | id: Schema.String, | 22986 | id: Schema.String, |
| 21866 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 22987 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 22988 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 21867 | result: Schema.optionalKey( | 22989 | result: Schema.optionalKey( |
| 21868 | Schema.Union([V2ThreadRollbackResponse__McpToolCallResult, Schema.Null]), | 22990 | Schema.Union([V2ThreadRollbackResponse__McpToolCallResult, Schema.Null]), |
| 21869 | ), | 22991 | ), |
| ... | @@ -21944,6 +23066,15 @@ export const V2ThreadRollbackResponse__ThreadItem = Schema.Union( | ... | @@ -21944,6 +23066,15 @@ export const V2ThreadRollbackResponse__ThreadItem = Schema.Union( |
| 21944 | title: "CollabAgentToolCallThreadItemType", | 23066 | title: "CollabAgentToolCallThreadItemType", |
| 21945 | }), | 23067 | }), |
| 21946 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 23068 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 23069 | Schema.Struct({ |
| | 23070 | agentPath: Schema.String, |
| | 23071 | agentThreadId: Schema.String, |
| | 23072 | id: Schema.String, |
| | 23073 | kind: V2ThreadRollbackResponse__SubAgentActivityKind, |
| | 23074 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 23075 | title: "SubAgentActivityThreadItemType", |
| | 23076 | }), |
| | 23077 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 21947 | Schema.Struct({ | 23078 | Schema.Struct({ |
| 21948 | action: Schema.optionalKey( | 23079 | action: Schema.optionalKey( |
| 21949 | Schema.Union([V2ThreadRollbackResponse__WebSearchAction, Schema.Null]), | 23080 | Schema.Union([V2ThreadRollbackResponse__WebSearchAction, Schema.Null]), |
| ... | @@ -21991,6 +23122,15 @@ export const V2ThreadRollbackResponse__ThreadItem = Schema.Union( | ... | @@ -21991,6 +23122,15 @@ export const V2ThreadRollbackResponse__ThreadItem = Schema.Union( |
| 21991 | { mode: "oneOf" }, | 23122 | { mode: "oneOf" }, |
| 21992 | ); | 23123 | ); |
| 21993 | | 23124 | |
| | 23125 | export type V2ThreadSettingsUpdatedNotification__CollaborationMode = { |
| | 23126 | readonly mode: V2ThreadSettingsUpdatedNotification__ModeKind; |
| | 23127 | readonly settings: V2ThreadSettingsUpdatedNotification__Settings; |
| | 23128 | }; |
| | 23129 | export const V2ThreadSettingsUpdatedNotification__CollaborationMode = Schema.Struct({ |
| | 23130 | mode: V2ThreadSettingsUpdatedNotification__ModeKind, |
| | 23131 | settings: V2ThreadSettingsUpdatedNotification__Settings, |
| | 23132 | }).annotate({ description: "Collaboration mode for a Codex session." }); |
| | 23133 | |
| 21994 | export type V2ThreadStartedNotification__TurnError = { | 23134 | export type V2ThreadStartedNotification__TurnError = { |
| 21995 | readonly additionalDetails?: string | null; | 23135 | readonly additionalDetails?: string | null; |
| 21996 | readonly codexErrorInfo?: V2ThreadStartedNotification__CodexErrorInfo | null; | 23136 | readonly codexErrorInfo?: V2ThreadStartedNotification__CodexErrorInfo | null; |
| ... | @@ -22006,6 +23146,7 @@ export const V2ThreadStartedNotification__TurnError = Schema.Struct({ | ... | @@ -22006,6 +23146,7 @@ export const V2ThreadStartedNotification__TurnError = Schema.Struct({ |
| 22006 | | 23146 | |
| 22007 | export type V2ThreadStartedNotification__ThreadItem = | 23147 | export type V2ThreadStartedNotification__ThreadItem = |
| 22008 | | { | 23148 | | { |
| | 23149 | readonly clientId?: string | null; |
| 22009 | readonly content: ReadonlyArray<V2ThreadStartedNotification__UserInput>; | 23150 | readonly content: ReadonlyArray<V2ThreadStartedNotification__UserInput>; |
| 22010 | readonly id: string; | 23151 | readonly id: string; |
| 22011 | readonly type: "userMessage"; | 23152 | readonly type: "userMessage"; |
| ... | @@ -22054,6 +23195,7 @@ export type V2ThreadStartedNotification__ThreadItem = | ... | @@ -22054,6 +23195,7 @@ export type V2ThreadStartedNotification__ThreadItem = |
| 22054 | readonly error?: V2ThreadStartedNotification__McpToolCallError | null; | 23195 | readonly error?: V2ThreadStartedNotification__McpToolCallError | null; |
| 22055 | readonly id: string; | 23196 | readonly id: string; |
| 22056 | readonly mcpAppResourceUri?: string | null; | 23197 | readonly mcpAppResourceUri?: string | null; |
| | 23198 | readonly pluginId?: string | null; |
| 22057 | readonly result?: V2ThreadStartedNotification__McpToolCallResult | null; | 23199 | readonly result?: V2ThreadStartedNotification__McpToolCallResult | null; |
| 22058 | readonly server: string; | 23200 | readonly server: string; |
| 22059 | readonly status: V2ThreadStartedNotification__McpToolCallStatus; | 23201 | readonly status: V2ThreadStartedNotification__McpToolCallStatus; |
| ... | @@ -22085,6 +23227,13 @@ export type V2ThreadStartedNotification__ThreadItem = | ... | @@ -22085,6 +23227,13 @@ export type V2ThreadStartedNotification__ThreadItem = |
| 22085 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 23227 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 22086 | readonly type: "collabAgentToolCall"; | 23228 | readonly type: "collabAgentToolCall"; |
| 22087 | } | 23229 | } |
| | 23230 | | { |
| | 23231 | readonly agentPath: string; |
| | 23232 | readonly agentThreadId: string; |
| | 23233 | readonly id: string; |
| | 23234 | readonly kind: V2ThreadStartedNotification__SubAgentActivityKind; |
| | 23235 | readonly type: "subAgentActivity"; |
| | 23236 | } |
| 22088 | | { | 23237 | | { |
| 22089 | readonly action?: V2ThreadStartedNotification__WebSearchAction | null; | 23238 | readonly action?: V2ThreadStartedNotification__WebSearchAction | null; |
| 22090 | readonly id: string; | 23239 | readonly id: string; |
| ... | @@ -22110,6 +23259,7 @@ export type V2ThreadStartedNotification__ThreadItem = | ... | @@ -22110,6 +23259,7 @@ export type V2ThreadStartedNotification__ThreadItem = |
| 22110 | export const V2ThreadStartedNotification__ThreadItem = Schema.Union( | 23259 | export const V2ThreadStartedNotification__ThreadItem = Schema.Union( |
| 22111 | [ | 23260 | [ |
| 22112 | Schema.Struct({ | 23261 | Schema.Struct({ |
| | 23262 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 22113 | content: Schema.Array(V2ThreadStartedNotification__UserInput), | 23263 | content: Schema.Array(V2ThreadStartedNotification__UserInput), |
| 22114 | id: Schema.String, | 23264 | id: Schema.String, |
| 22115 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 23265 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -22225,6 +23375,7 @@ export const V2ThreadStartedNotification__ThreadItem = Schema.Union( | ... | @@ -22225,6 +23375,7 @@ export const V2ThreadStartedNotification__ThreadItem = Schema.Union( |
| 22225 | ), | 23375 | ), |
| 22226 | id: Schema.String, | 23376 | id: Schema.String, |
| 22227 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 23377 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 23378 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 22228 | result: Schema.optionalKey( | 23379 | result: Schema.optionalKey( |
| 22229 | Schema.Union([V2ThreadStartedNotification__McpToolCallResult, Schema.Null]), | 23380 | Schema.Union([V2ThreadStartedNotification__McpToolCallResult, Schema.Null]), |
| 22230 | ), | 23381 | ), |
| ... | @@ -22305,6 +23456,15 @@ export const V2ThreadStartedNotification__ThreadItem = Schema.Union( | ... | @@ -22305,6 +23456,15 @@ export const V2ThreadStartedNotification__ThreadItem = Schema.Union( |
| 22305 | title: "CollabAgentToolCallThreadItemType", | 23456 | title: "CollabAgentToolCallThreadItemType", |
| 22306 | }), | 23457 | }), |
| 22307 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 23458 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 23459 | Schema.Struct({ |
| | 23460 | agentPath: Schema.String, |
| | 23461 | agentThreadId: Schema.String, |
| | 23462 | id: Schema.String, |
| | 23463 | kind: V2ThreadStartedNotification__SubAgentActivityKind, |
| | 23464 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 23465 | title: "SubAgentActivityThreadItemType", |
| | 23466 | }), |
| | 23467 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 22308 | Schema.Struct({ | 23468 | Schema.Struct({ |
| 22309 | action: Schema.optionalKey( | 23469 | action: Schema.optionalKey( |
| 22310 | Schema.Union([V2ThreadStartedNotification__WebSearchAction, Schema.Null]), | 23470 | Schema.Union([V2ThreadStartedNotification__WebSearchAction, Schema.Null]), |
| ... | @@ -22352,15 +23512,6 @@ export const V2ThreadStartedNotification__ThreadItem = Schema.Union( | ... | @@ -22352,15 +23512,6 @@ export const V2ThreadStartedNotification__ThreadItem = Schema.Union( |
| 22352 | { mode: "oneOf" }, | 23512 | { mode: "oneOf" }, |
| 22353 | ); | 23513 | ); |
| 22354 | | 23514 | |
| 22355 | export type V2ThreadStartResponse__FileSystemSandboxEntry = { | | |
| 22356 | readonly access: V2ThreadStartResponse__FileSystemAccessMode; | | |
| 22357 | readonly path: V2ThreadStartResponse__FileSystemPath; | | |
| 22358 | }; | | |
| 22359 | export const V2ThreadStartResponse__FileSystemSandboxEntry = Schema.Struct({ | | |
| 22360 | access: V2ThreadStartResponse__FileSystemAccessMode, | | |
| 22361 | path: V2ThreadStartResponse__FileSystemPath, | | |
| 22362 | }); | | |
| 22363 | | | |
| 22364 | export type V2ThreadStartResponse__TurnError = { | 23515 | export type V2ThreadStartResponse__TurnError = { |
| 22365 | readonly additionalDetails?: string | null; | 23516 | readonly additionalDetails?: string | null; |
| 22366 | readonly codexErrorInfo?: V2ThreadStartResponse__CodexErrorInfo | null; | 23517 | readonly codexErrorInfo?: V2ThreadStartResponse__CodexErrorInfo | null; |
| ... | @@ -22376,6 +23527,7 @@ export const V2ThreadStartResponse__TurnError = Schema.Struct({ | ... | @@ -22376,6 +23527,7 @@ export const V2ThreadStartResponse__TurnError = Schema.Struct({ |
| 22376 | | 23527 | |
| 22377 | export type V2ThreadStartResponse__ThreadItem = | 23528 | export type V2ThreadStartResponse__ThreadItem = |
| 22378 | | { | 23529 | | { |
| | 23530 | readonly clientId?: string | null; |
| 22379 | readonly content: ReadonlyArray<V2ThreadStartResponse__UserInput>; | 23531 | readonly content: ReadonlyArray<V2ThreadStartResponse__UserInput>; |
| 22380 | readonly id: string; | 23532 | readonly id: string; |
| 22381 | readonly type: "userMessage"; | 23533 | readonly type: "userMessage"; |
| ... | @@ -22424,6 +23576,7 @@ export type V2ThreadStartResponse__ThreadItem = | ... | @@ -22424,6 +23576,7 @@ export type V2ThreadStartResponse__ThreadItem = |
| 22424 | readonly error?: V2ThreadStartResponse__McpToolCallError | null; | 23576 | readonly error?: V2ThreadStartResponse__McpToolCallError | null; |
| 22425 | readonly id: string; | 23577 | readonly id: string; |
| 22426 | readonly mcpAppResourceUri?: string | null; | 23578 | readonly mcpAppResourceUri?: string | null; |
| | 23579 | readonly pluginId?: string | null; |
| 22427 | readonly result?: V2ThreadStartResponse__McpToolCallResult | null; | 23580 | readonly result?: V2ThreadStartResponse__McpToolCallResult | null; |
| 22428 | readonly server: string; | 23581 | readonly server: string; |
| 22429 | readonly status: V2ThreadStartResponse__McpToolCallStatus; | 23582 | readonly status: V2ThreadStartResponse__McpToolCallStatus; |
| ... | @@ -22453,6 +23606,13 @@ export type V2ThreadStartResponse__ThreadItem = | ... | @@ -22453,6 +23606,13 @@ export type V2ThreadStartResponse__ThreadItem = |
| 22453 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 23606 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 22454 | readonly type: "collabAgentToolCall"; | 23607 | readonly type: "collabAgentToolCall"; |
| 22455 | } | 23608 | } |
| | 23609 | | { |
| | 23610 | readonly agentPath: string; |
| | 23611 | readonly agentThreadId: string; |
| | 23612 | readonly id: string; |
| | 23613 | readonly kind: V2ThreadStartResponse__SubAgentActivityKind; |
| | 23614 | readonly type: "subAgentActivity"; |
| | 23615 | } |
| 22456 | | { | 23616 | | { |
| 22457 | readonly action?: V2ThreadStartResponse__WebSearchAction | null; | 23617 | readonly action?: V2ThreadStartResponse__WebSearchAction | null; |
| 22458 | readonly id: string; | 23618 | readonly id: string; |
| ... | @@ -22478,6 +23638,7 @@ export type V2ThreadStartResponse__ThreadItem = | ... | @@ -22478,6 +23638,7 @@ export type V2ThreadStartResponse__ThreadItem = |
| 22478 | export const V2ThreadStartResponse__ThreadItem = Schema.Union( | 23638 | export const V2ThreadStartResponse__ThreadItem = Schema.Union( |
| 22479 | [ | 23639 | [ |
| 22480 | Schema.Struct({ | 23640 | Schema.Struct({ |
| | 23641 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 22481 | content: Schema.Array(V2ThreadStartResponse__UserInput), | 23642 | content: Schema.Array(V2ThreadStartResponse__UserInput), |
| 22482 | id: Schema.String, | 23643 | id: Schema.String, |
| 22483 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 23644 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -22591,6 +23752,7 @@ export const V2ThreadStartResponse__ThreadItem = Schema.Union( | ... | @@ -22591,6 +23752,7 @@ export const V2ThreadStartResponse__ThreadItem = Schema.Union( |
| 22591 | ), | 23752 | ), |
| 22592 | id: Schema.String, | 23753 | id: Schema.String, |
| 22593 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 23754 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 23755 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 22594 | result: Schema.optionalKey( | 23756 | result: Schema.optionalKey( |
| 22595 | Schema.Union([V2ThreadStartResponse__McpToolCallResult, Schema.Null]), | 23757 | Schema.Union([V2ThreadStartResponse__McpToolCallResult, Schema.Null]), |
| 22596 | ), | 23758 | ), |
| ... | @@ -22670,6 +23832,15 @@ export const V2ThreadStartResponse__ThreadItem = Schema.Union( | ... | @@ -22670,6 +23832,15 @@ export const V2ThreadStartResponse__ThreadItem = Schema.Union( |
| 22670 | title: "CollabAgentToolCallThreadItemType", | 23832 | title: "CollabAgentToolCallThreadItemType", |
| 22671 | }), | 23833 | }), |
| 22672 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 23834 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 23835 | Schema.Struct({ |
| | 23836 | agentPath: Schema.String, |
| | 23837 | agentThreadId: Schema.String, |
| | 23838 | id: Schema.String, |
| | 23839 | kind: V2ThreadStartResponse__SubAgentActivityKind, |
| | 23840 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 23841 | title: "SubAgentActivityThreadItemType", |
| | 23842 | }), |
| | 23843 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 22673 | Schema.Struct({ | 23844 | Schema.Struct({ |
| 22674 | action: Schema.optionalKey( | 23845 | action: Schema.optionalKey( |
| 22675 | Schema.Union([V2ThreadStartResponse__WebSearchAction, Schema.Null]), | 23846 | Schema.Union([V2ThreadStartResponse__WebSearchAction, Schema.Null]), |
| ... | @@ -22732,6 +23903,7 @@ export const V2ThreadUnarchiveResponse__TurnError = Schema.Struct({ | ... | @@ -22732,6 +23903,7 @@ export const V2ThreadUnarchiveResponse__TurnError = Schema.Struct({ |
| 22732 | | 23903 | |
| 22733 | export type V2ThreadUnarchiveResponse__ThreadItem = | 23904 | export type V2ThreadUnarchiveResponse__ThreadItem = |
| 22734 | | { | 23905 | | { |
| | 23906 | readonly clientId?: string | null; |
| 22735 | readonly content: ReadonlyArray<V2ThreadUnarchiveResponse__UserInput>; | 23907 | readonly content: ReadonlyArray<V2ThreadUnarchiveResponse__UserInput>; |
| 22736 | readonly id: string; | 23908 | readonly id: string; |
| 22737 | readonly type: "userMessage"; | 23909 | readonly type: "userMessage"; |
| ... | @@ -22780,6 +23952,7 @@ export type V2ThreadUnarchiveResponse__ThreadItem = | ... | @@ -22780,6 +23952,7 @@ export type V2ThreadUnarchiveResponse__ThreadItem = |
| 22780 | readonly error?: V2ThreadUnarchiveResponse__McpToolCallError | null; | 23952 | readonly error?: V2ThreadUnarchiveResponse__McpToolCallError | null; |
| 22781 | readonly id: string; | 23953 | readonly id: string; |
| 22782 | readonly mcpAppResourceUri?: string | null; | 23954 | readonly mcpAppResourceUri?: string | null; |
| | 23955 | readonly pluginId?: string | null; |
| 22783 | readonly result?: V2ThreadUnarchiveResponse__McpToolCallResult | null; | 23956 | readonly result?: V2ThreadUnarchiveResponse__McpToolCallResult | null; |
| 22784 | readonly server: string; | 23957 | readonly server: string; |
| 22785 | readonly status: V2ThreadUnarchiveResponse__McpToolCallStatus; | 23958 | readonly status: V2ThreadUnarchiveResponse__McpToolCallStatus; |
| ... | @@ -22809,6 +23982,13 @@ export type V2ThreadUnarchiveResponse__ThreadItem = | ... | @@ -22809,6 +23982,13 @@ export type V2ThreadUnarchiveResponse__ThreadItem = |
| 22809 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 23982 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 22810 | readonly type: "collabAgentToolCall"; | 23983 | readonly type: "collabAgentToolCall"; |
| 22811 | } | 23984 | } |
| | 23985 | | { |
| | 23986 | readonly agentPath: string; |
| | 23987 | readonly agentThreadId: string; |
| | 23988 | readonly id: string; |
| | 23989 | readonly kind: V2ThreadUnarchiveResponse__SubAgentActivityKind; |
| | 23990 | readonly type: "subAgentActivity"; |
| | 23991 | } |
| 22812 | | { | 23992 | | { |
| 22813 | readonly action?: V2ThreadUnarchiveResponse__WebSearchAction | null; | 23993 | readonly action?: V2ThreadUnarchiveResponse__WebSearchAction | null; |
| 22814 | readonly id: string; | 23994 | readonly id: string; |
| ... | @@ -22834,6 +24014,7 @@ export type V2ThreadUnarchiveResponse__ThreadItem = | ... | @@ -22834,6 +24014,7 @@ export type V2ThreadUnarchiveResponse__ThreadItem = |
| 22834 | export const V2ThreadUnarchiveResponse__ThreadItem = Schema.Union( | 24014 | export const V2ThreadUnarchiveResponse__ThreadItem = Schema.Union( |
| 22835 | [ | 24015 | [ |
| 22836 | Schema.Struct({ | 24016 | Schema.Struct({ |
| | 24017 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 22837 | content: Schema.Array(V2ThreadUnarchiveResponse__UserInput), | 24018 | content: Schema.Array(V2ThreadUnarchiveResponse__UserInput), |
| 22838 | id: Schema.String, | 24019 | id: Schema.String, |
| 22839 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 24020 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -22949,6 +24130,7 @@ export const V2ThreadUnarchiveResponse__ThreadItem = Schema.Union( | ... | @@ -22949,6 +24130,7 @@ export const V2ThreadUnarchiveResponse__ThreadItem = Schema.Union( |
| 22949 | ), | 24130 | ), |
| 22950 | id: Schema.String, | 24131 | id: Schema.String, |
| 22951 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 24132 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 24133 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 22952 | result: Schema.optionalKey( | 24134 | result: Schema.optionalKey( |
| 22953 | Schema.Union([V2ThreadUnarchiveResponse__McpToolCallResult, Schema.Null]), | 24135 | Schema.Union([V2ThreadUnarchiveResponse__McpToolCallResult, Schema.Null]), |
| 22954 | ), | 24136 | ), |
| ... | @@ -23029,6 +24211,15 @@ export const V2ThreadUnarchiveResponse__ThreadItem = Schema.Union( | ... | @@ -23029,6 +24211,15 @@ export const V2ThreadUnarchiveResponse__ThreadItem = Schema.Union( |
| 23029 | title: "CollabAgentToolCallThreadItemType", | 24211 | title: "CollabAgentToolCallThreadItemType", |
| 23030 | }), | 24212 | }), |
| 23031 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 24213 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 24214 | Schema.Struct({ |
| | 24215 | agentPath: Schema.String, |
| | 24216 | agentThreadId: Schema.String, |
| | 24217 | id: Schema.String, |
| | 24218 | kind: V2ThreadUnarchiveResponse__SubAgentActivityKind, |
| | 24219 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 24220 | title: "SubAgentActivityThreadItemType", |
| | 24221 | }), |
| | 24222 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 23032 | Schema.Struct({ | 24223 | Schema.Struct({ |
| 23033 | action: Schema.optionalKey( | 24224 | action: Schema.optionalKey( |
| 23034 | Schema.Union([V2ThreadUnarchiveResponse__WebSearchAction, Schema.Null]), | 24225 | Schema.Union([V2ThreadUnarchiveResponse__WebSearchAction, Schema.Null]), |
| ... | @@ -23091,6 +24282,7 @@ export const V2TurnCompletedNotification__TurnError = Schema.Struct({ | ... | @@ -23091,6 +24282,7 @@ export const V2TurnCompletedNotification__TurnError = Schema.Struct({ |
| 23091 | | 24282 | |
| 23092 | export type V2TurnCompletedNotification__ThreadItem = | 24283 | export type V2TurnCompletedNotification__ThreadItem = |
| 23093 | | { | 24284 | | { |
| | 24285 | readonly clientId?: string | null; |
| 23094 | readonly content: ReadonlyArray<V2TurnCompletedNotification__UserInput>; | 24286 | readonly content: ReadonlyArray<V2TurnCompletedNotification__UserInput>; |
| 23095 | readonly id: string; | 24287 | readonly id: string; |
| 23096 | readonly type: "userMessage"; | 24288 | readonly type: "userMessage"; |
| ... | @@ -23139,6 +24331,7 @@ export type V2TurnCompletedNotification__ThreadItem = | ... | @@ -23139,6 +24331,7 @@ export type V2TurnCompletedNotification__ThreadItem = |
| 23139 | readonly error?: V2TurnCompletedNotification__McpToolCallError | null; | 24331 | readonly error?: V2TurnCompletedNotification__McpToolCallError | null; |
| 23140 | readonly id: string; | 24332 | readonly id: string; |
| 23141 | readonly mcpAppResourceUri?: string | null; | 24333 | readonly mcpAppResourceUri?: string | null; |
| | 24334 | readonly pluginId?: string | null; |
| 23142 | readonly result?: V2TurnCompletedNotification__McpToolCallResult | null; | 24335 | readonly result?: V2TurnCompletedNotification__McpToolCallResult | null; |
| 23143 | readonly server: string; | 24336 | readonly server: string; |
| 23144 | readonly status: V2TurnCompletedNotification__McpToolCallStatus; | 24337 | readonly status: V2TurnCompletedNotification__McpToolCallStatus; |
| ... | @@ -23170,6 +24363,13 @@ export type V2TurnCompletedNotification__ThreadItem = | ... | @@ -23170,6 +24363,13 @@ export type V2TurnCompletedNotification__ThreadItem = |
| 23170 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 24363 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 23171 | readonly type: "collabAgentToolCall"; | 24364 | readonly type: "collabAgentToolCall"; |
| 23172 | } | 24365 | } |
| | 24366 | | { |
| | 24367 | readonly agentPath: string; |
| | 24368 | readonly agentThreadId: string; |
| | 24369 | readonly id: string; |
| | 24370 | readonly kind: V2TurnCompletedNotification__SubAgentActivityKind; |
| | 24371 | readonly type: "subAgentActivity"; |
| | 24372 | } |
| 23173 | | { | 24373 | | { |
| 23174 | readonly action?: V2TurnCompletedNotification__WebSearchAction | null; | 24374 | readonly action?: V2TurnCompletedNotification__WebSearchAction | null; |
| 23175 | readonly id: string; | 24375 | readonly id: string; |
| ... | @@ -23195,6 +24395,7 @@ export type V2TurnCompletedNotification__ThreadItem = | ... | @@ -23195,6 +24395,7 @@ export type V2TurnCompletedNotification__ThreadItem = |
| 23195 | export const V2TurnCompletedNotification__ThreadItem = Schema.Union( | 24395 | export const V2TurnCompletedNotification__ThreadItem = Schema.Union( |
| 23196 | [ | 24396 | [ |
| 23197 | Schema.Struct({ | 24397 | Schema.Struct({ |
| | 24398 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 23198 | content: Schema.Array(V2TurnCompletedNotification__UserInput), | 24399 | content: Schema.Array(V2TurnCompletedNotification__UserInput), |
| 23199 | id: Schema.String, | 24400 | id: Schema.String, |
| 23200 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 24401 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -23310,6 +24511,7 @@ export const V2TurnCompletedNotification__ThreadItem = Schema.Union( | ... | @@ -23310,6 +24511,7 @@ export const V2TurnCompletedNotification__ThreadItem = Schema.Union( |
| 23310 | ), | 24511 | ), |
| 23311 | id: Schema.String, | 24512 | id: Schema.String, |
| 23312 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 24513 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 24514 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 23313 | result: Schema.optionalKey( | 24515 | result: Schema.optionalKey( |
| 23314 | Schema.Union([V2TurnCompletedNotification__McpToolCallResult, Schema.Null]), | 24516 | Schema.Union([V2TurnCompletedNotification__McpToolCallResult, Schema.Null]), |
| 23315 | ), | 24517 | ), |
| ... | @@ -23390,6 +24592,15 @@ export const V2TurnCompletedNotification__ThreadItem = Schema.Union( | ... | @@ -23390,6 +24592,15 @@ export const V2TurnCompletedNotification__ThreadItem = Schema.Union( |
| 23390 | title: "CollabAgentToolCallThreadItemType", | 24592 | title: "CollabAgentToolCallThreadItemType", |
| 23391 | }), | 24593 | }), |
| 23392 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 24594 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 24595 | Schema.Struct({ |
| | 24596 | agentPath: Schema.String, |
| | 24597 | agentThreadId: Schema.String, |
| | 24598 | id: Schema.String, |
| | 24599 | kind: V2TurnCompletedNotification__SubAgentActivityKind, |
| | 24600 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 24601 | title: "SubAgentActivityThreadItemType", |
| | 24602 | }), |
| | 24603 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 23393 | Schema.Struct({ | 24604 | Schema.Struct({ |
| 23394 | action: Schema.optionalKey( | 24605 | action: Schema.optionalKey( |
| 23395 | Schema.Union([V2TurnCompletedNotification__WebSearchAction, Schema.Null]), | 24606 | Schema.Union([V2TurnCompletedNotification__WebSearchAction, Schema.Null]), |
| ... | @@ -23452,6 +24663,7 @@ export const V2TurnStartedNotification__TurnError = Schema.Struct({ | ... | @@ -23452,6 +24663,7 @@ export const V2TurnStartedNotification__TurnError = Schema.Struct({ |
| 23452 | | 24663 | |
| 23453 | export type V2TurnStartedNotification__ThreadItem = | 24664 | export type V2TurnStartedNotification__ThreadItem = |
| 23454 | | { | 24665 | | { |
| | 24666 | readonly clientId?: string | null; |
| 23455 | readonly content: ReadonlyArray<V2TurnStartedNotification__UserInput>; | 24667 | readonly content: ReadonlyArray<V2TurnStartedNotification__UserInput>; |
| 23456 | readonly id: string; | 24668 | readonly id: string; |
| 23457 | readonly type: "userMessage"; | 24669 | readonly type: "userMessage"; |
| ... | @@ -23500,6 +24712,7 @@ export type V2TurnStartedNotification__ThreadItem = | ... | @@ -23500,6 +24712,7 @@ export type V2TurnStartedNotification__ThreadItem = |
| 23500 | readonly error?: V2TurnStartedNotification__McpToolCallError | null; | 24712 | readonly error?: V2TurnStartedNotification__McpToolCallError | null; |
| 23501 | readonly id: string; | 24713 | readonly id: string; |
| 23502 | readonly mcpAppResourceUri?: string | null; | 24714 | readonly mcpAppResourceUri?: string | null; |
| | 24715 | readonly pluginId?: string | null; |
| 23503 | readonly result?: V2TurnStartedNotification__McpToolCallResult | null; | 24716 | readonly result?: V2TurnStartedNotification__McpToolCallResult | null; |
| 23504 | readonly server: string; | 24717 | readonly server: string; |
| 23505 | readonly status: V2TurnStartedNotification__McpToolCallStatus; | 24718 | readonly status: V2TurnStartedNotification__McpToolCallStatus; |
| ... | @@ -23529,6 +24742,13 @@ export type V2TurnStartedNotification__ThreadItem = | ... | @@ -23529,6 +24742,13 @@ export type V2TurnStartedNotification__ThreadItem = |
| 23529 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 24742 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 23530 | readonly type: "collabAgentToolCall"; | 24743 | readonly type: "collabAgentToolCall"; |
| 23531 | } | 24744 | } |
| | 24745 | | { |
| | 24746 | readonly agentPath: string; |
| | 24747 | readonly agentThreadId: string; |
| | 24748 | readonly id: string; |
| | 24749 | readonly kind: V2TurnStartedNotification__SubAgentActivityKind; |
| | 24750 | readonly type: "subAgentActivity"; |
| | 24751 | } |
| 23532 | | { | 24752 | | { |
| 23533 | readonly action?: V2TurnStartedNotification__WebSearchAction | null; | 24753 | readonly action?: V2TurnStartedNotification__WebSearchAction | null; |
| 23534 | readonly id: string; | 24754 | readonly id: string; |
| ... | @@ -23554,6 +24774,7 @@ export type V2TurnStartedNotification__ThreadItem = | ... | @@ -23554,6 +24774,7 @@ export type V2TurnStartedNotification__ThreadItem = |
| 23554 | export const V2TurnStartedNotification__ThreadItem = Schema.Union( | 24774 | export const V2TurnStartedNotification__ThreadItem = Schema.Union( |
| 23555 | [ | 24775 | [ |
| 23556 | Schema.Struct({ | 24776 | Schema.Struct({ |
| | 24777 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 23557 | content: Schema.Array(V2TurnStartedNotification__UserInput), | 24778 | content: Schema.Array(V2TurnStartedNotification__UserInput), |
| 23558 | id: Schema.String, | 24779 | id: Schema.String, |
| 23559 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 24780 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -23669,6 +24890,7 @@ export const V2TurnStartedNotification__ThreadItem = Schema.Union( | ... | @@ -23669,6 +24890,7 @@ export const V2TurnStartedNotification__ThreadItem = Schema.Union( |
| 23669 | ), | 24890 | ), |
| 23670 | id: Schema.String, | 24891 | id: Schema.String, |
| 23671 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 24892 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 24893 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 23672 | result: Schema.optionalKey( | 24894 | result: Schema.optionalKey( |
| 23673 | Schema.Union([V2TurnStartedNotification__McpToolCallResult, Schema.Null]), | 24895 | Schema.Union([V2TurnStartedNotification__McpToolCallResult, Schema.Null]), |
| 23674 | ), | 24896 | ), |
| ... | @@ -23749,6 +24971,15 @@ export const V2TurnStartedNotification__ThreadItem = Schema.Union( | ... | @@ -23749,6 +24971,15 @@ export const V2TurnStartedNotification__ThreadItem = Schema.Union( |
| 23749 | title: "CollabAgentToolCallThreadItemType", | 24971 | title: "CollabAgentToolCallThreadItemType", |
| 23750 | }), | 24972 | }), |
| 23751 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 24973 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 24974 | Schema.Struct({ |
| | 24975 | agentPath: Schema.String, |
| | 24976 | agentThreadId: Schema.String, |
| | 24977 | id: Schema.String, |
| | 24978 | kind: V2TurnStartedNotification__SubAgentActivityKind, |
| | 24979 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 24980 | title: "SubAgentActivityThreadItemType", |
| | 24981 | }), |
| | 24982 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 23752 | Schema.Struct({ | 24983 | Schema.Struct({ |
| 23753 | action: Schema.optionalKey( | 24984 | action: Schema.optionalKey( |
| 23754 | Schema.Union([V2TurnStartedNotification__WebSearchAction, Schema.Null]), | 24985 | Schema.Union([V2TurnStartedNotification__WebSearchAction, Schema.Null]), |
| ... | @@ -23811,6 +25042,7 @@ export const V2TurnStartResponse__TurnError = Schema.Struct({ | ... | @@ -23811,6 +25042,7 @@ export const V2TurnStartResponse__TurnError = Schema.Struct({ |
| 23811 | | 25042 | |
| 23812 | export type V2TurnStartResponse__ThreadItem = | 25043 | export type V2TurnStartResponse__ThreadItem = |
| 23813 | | { | 25044 | | { |
| | 25045 | readonly clientId?: string | null; |
| 23814 | readonly content: ReadonlyArray<V2TurnStartResponse__UserInput>; | 25046 | readonly content: ReadonlyArray<V2TurnStartResponse__UserInput>; |
| 23815 | readonly id: string; | 25047 | readonly id: string; |
| 23816 | readonly type: "userMessage"; | 25048 | readonly type: "userMessage"; |
| ... | @@ -23859,6 +25091,7 @@ export type V2TurnStartResponse__ThreadItem = | ... | @@ -23859,6 +25091,7 @@ export type V2TurnStartResponse__ThreadItem = |
| 23859 | readonly error?: V2TurnStartResponse__McpToolCallError | null; | 25091 | readonly error?: V2TurnStartResponse__McpToolCallError | null; |
| 23860 | readonly id: string; | 25092 | readonly id: string; |
| 23861 | readonly mcpAppResourceUri?: string | null; | 25093 | readonly mcpAppResourceUri?: string | null; |
| | 25094 | readonly pluginId?: string | null; |
| 23862 | readonly result?: V2TurnStartResponse__McpToolCallResult | null; | 25095 | readonly result?: V2TurnStartResponse__McpToolCallResult | null; |
| 23863 | readonly server: string; | 25096 | readonly server: string; |
| 23864 | readonly status: V2TurnStartResponse__McpToolCallStatus; | 25097 | readonly status: V2TurnStartResponse__McpToolCallStatus; |
| ... | @@ -23888,6 +25121,13 @@ export type V2TurnStartResponse__ThreadItem = | ... | @@ -23888,6 +25121,13 @@ export type V2TurnStartResponse__ThreadItem = |
| 23888 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; | 25121 | readonly tool: "spawnAgent" | "sendInput" | "resumeAgent" | "wait" | "closeAgent"; |
| 23889 | readonly type: "collabAgentToolCall"; | 25122 | readonly type: "collabAgentToolCall"; |
| 23890 | } | 25123 | } |
| | 25124 | | { |
| | 25125 | readonly agentPath: string; |
| | 25126 | readonly agentThreadId: string; |
| | 25127 | readonly id: string; |
| | 25128 | readonly kind: V2TurnStartResponse__SubAgentActivityKind; |
| | 25129 | readonly type: "subAgentActivity"; |
| | 25130 | } |
| 23891 | | { | 25131 | | { |
| 23892 | readonly action?: V2TurnStartResponse__WebSearchAction | null; | 25132 | readonly action?: V2TurnStartResponse__WebSearchAction | null; |
| 23893 | readonly id: string; | 25133 | readonly id: string; |
| ... | @@ -23913,6 +25153,7 @@ export type V2TurnStartResponse__ThreadItem = | ... | @@ -23913,6 +25153,7 @@ export type V2TurnStartResponse__ThreadItem = |
| 23913 | export const V2TurnStartResponse__ThreadItem = Schema.Union( | 25153 | export const V2TurnStartResponse__ThreadItem = Schema.Union( |
| 23914 | [ | 25154 | [ |
| 23915 | Schema.Struct({ | 25155 | Schema.Struct({ |
| | 25156 | clientId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 23916 | content: Schema.Array(V2TurnStartResponse__UserInput), | 25157 | content: Schema.Array(V2TurnStartResponse__UserInput), |
| 23917 | id: Schema.String, | 25158 | id: Schema.String, |
| 23918 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), | 25159 | type: Schema.Literal("userMessage").annotate({ title: "UserMessageThreadItemType" }), |
| ... | @@ -24024,6 +25265,7 @@ export const V2TurnStartResponse__ThreadItem = Schema.Union( | ... | @@ -24024,6 +25265,7 @@ export const V2TurnStartResponse__ThreadItem = Schema.Union( |
| 24024 | error: Schema.optionalKey(Schema.Union([V2TurnStartResponse__McpToolCallError, Schema.Null])), | 25265 | error: Schema.optionalKey(Schema.Union([V2TurnStartResponse__McpToolCallError, Schema.Null])), |
| 24025 | id: Schema.String, | 25266 | id: Schema.String, |
| 24026 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 25267 | mcpAppResourceUri: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 25268 | pluginId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 24027 | result: Schema.optionalKey( | 25269 | result: Schema.optionalKey( |
| 24028 | Schema.Union([V2TurnStartResponse__McpToolCallResult, Schema.Null]), | 25270 | Schema.Union([V2TurnStartResponse__McpToolCallResult, Schema.Null]), |
| 24029 | ), | 25271 | ), |
| ... | @@ -24103,6 +25345,15 @@ export const V2TurnStartResponse__ThreadItem = Schema.Union( | ... | @@ -24103,6 +25345,15 @@ export const V2TurnStartResponse__ThreadItem = Schema.Union( |
| 24103 | title: "CollabAgentToolCallThreadItemType", | 25345 | title: "CollabAgentToolCallThreadItemType", |
| 24104 | }), | 25346 | }), |
| 24105 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), | 25347 | }).annotate({ title: "CollabAgentToolCallThreadItem" }), |
| | 25348 | Schema.Struct({ |
| | 25349 | agentPath: Schema.String, |
| | 25350 | agentThreadId: Schema.String, |
| | 25351 | id: Schema.String, |
| | 25352 | kind: V2TurnStartResponse__SubAgentActivityKind, |
| | 25353 | type: Schema.Literal("subAgentActivity").annotate({ |
| | 25354 | title: "SubAgentActivityThreadItemType", |
| | 25355 | }), |
| | 25356 | }).annotate({ title: "SubAgentActivityThreadItem" }), |
| 24106 | Schema.Struct({ | 25357 | Schema.Struct({ |
| 24107 | action: Schema.optionalKey(Schema.Union([V2TurnStartResponse__WebSearchAction, Schema.Null])), | 25358 | action: Schema.optionalKey(Schema.Union([V2TurnStartResponse__WebSearchAction, Schema.Null])), |
| 24108 | id: Schema.String, | 25359 | id: Schema.String, |
| ... | @@ -24148,38 +25399,6 @@ export const V2TurnStartResponse__ThreadItem = Schema.Union( | ... | @@ -24148,38 +25399,6 @@ export const V2TurnStartResponse__ThreadItem = Schema.Union( |
| 24148 | { mode: "oneOf" }, | 25399 | { mode: "oneOf" }, |
| 24149 | ); | 25400 | ); |
| 24150 | | 25401 | |
| 24151 | export type ClientRequest__PermissionProfileFileSystemPermissions = | | |
| 24152 | | { | | |
| 24153 | readonly entries: ReadonlyArray<ClientRequest__FileSystemSandboxEntry>; | | |
| 24154 | readonly globScanMaxDepth?: number | null; | | |
| 24155 | readonly type: "restricted"; | | |
| 24156 | } | | |
| 24157 | | { readonly type: "unrestricted" }; | | |
| 24158 | export const ClientRequest__PermissionProfileFileSystemPermissions = Schema.Union( | | |
| 24159 | [ | | |
| 24160 | Schema.Struct({ | | |
| 24161 | entries: Schema.Array(ClientRequest__FileSystemSandboxEntry), | | |
| 24162 | globScanMaxDepth: Schema.optionalKey( | | |
| 24163 | Schema.Union([ | | |
| 24164 | Schema.Number.annotate({ format: "uint" }) | | |
| 24165 | .check(Schema.isInt()) | | |
| 24166 | .check(Schema.isGreaterThanOrEqualTo(1)), | | |
| 24167 | Schema.Null, | | |
| 24168 | ]), | | |
| 24169 | ), | | |
| 24170 | type: Schema.Literal("restricted").annotate({ | | |
| 24171 | title: "RestrictedPermissionProfileFileSystemPermissionsType", | | |
| 24172 | }), | | |
| 24173 | }).annotate({ title: "RestrictedPermissionProfileFileSystemPermissions" }), | | |
| 24174 | Schema.Struct({ | | |
| 24175 | type: Schema.Literal("unrestricted").annotate({ | | |
| 24176 | title: "UnrestrictedPermissionProfileFileSystemPermissionsType", | | |
| 24177 | }), | | |
| 24178 | }).annotate({ title: "UnrestrictedPermissionProfileFileSystemPermissions" }), | | |
| 24179 | ], | | |
| 24180 | { mode: "oneOf" }, | | |
| 24181 | ); | | |
| 24182 | | | |
| 24183 | export type ClientRequest__ExternalAgentConfigImportParams = { | 25402 | export type ClientRequest__ExternalAgentConfigImportParams = { |
| 24184 | readonly migrationItems: ReadonlyArray<ClientRequest__ExternalAgentConfigMigrationItem>; | 25403 | readonly migrationItems: ReadonlyArray<ClientRequest__ExternalAgentConfigMigrationItem>; |
| 24185 | }; | 25404 | }; |
| ... | @@ -24392,6 +25611,37 @@ export const ServerNotification__ErrorNotification = Schema.Struct({ | ... | @@ -24392,6 +25611,37 @@ export const ServerNotification__ErrorNotification = Schema.Struct({ |
| 24392 | willRetry: Schema.Boolean, | 25611 | willRetry: Schema.Boolean, |
| 24393 | }); | 25612 | }); |
| 24394 | | 25613 | |
| | 25614 | export type ServerNotification__ThreadSettings = { |
| | 25615 | readonly activePermissionProfile?: ServerNotification__ActivePermissionProfile | null; |
| | 25616 | readonly approvalPolicy: ServerNotification__AskForApproval; |
| | 25617 | readonly approvalsReviewer: ServerNotification__ApprovalsReviewer; |
| | 25618 | readonly collaborationMode: ServerNotification__CollaborationMode; |
| | 25619 | readonly cwd: ServerNotification__AbsolutePathBuf; |
| | 25620 | readonly effort?: ServerNotification__ReasoningEffort | null; |
| | 25621 | readonly model: string; |
| | 25622 | readonly modelProvider: string; |
| | 25623 | readonly personality?: ServerNotification__Personality | null; |
| | 25624 | readonly sandboxPolicy: ServerNotification__SandboxPolicy; |
| | 25625 | readonly serviceTier?: string | null; |
| | 25626 | readonly summary?: ServerNotification__ReasoningSummary | null; |
| | 25627 | }; |
| | 25628 | export const ServerNotification__ThreadSettings = Schema.Struct({ |
| | 25629 | activePermissionProfile: Schema.optionalKey( |
| | 25630 | Schema.Union([ServerNotification__ActivePermissionProfile, Schema.Null]), |
| | 25631 | ), |
| | 25632 | approvalPolicy: ServerNotification__AskForApproval, |
| | 25633 | approvalsReviewer: ServerNotification__ApprovalsReviewer, |
| | 25634 | collaborationMode: ServerNotification__CollaborationMode, |
| | 25635 | cwd: ServerNotification__AbsolutePathBuf, |
| | 25636 | effort: Schema.optionalKey(Schema.Union([ServerNotification__ReasoningEffort, Schema.Null])), |
| | 25637 | model: Schema.String, |
| | 25638 | modelProvider: Schema.String, |
| | 25639 | personality: Schema.optionalKey(Schema.Union([ServerNotification__Personality, Schema.Null])), |
| | 25640 | sandboxPolicy: ServerNotification__SandboxPolicy, |
| | 25641 | serviceTier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 25642 | summary: Schema.optionalKey(Schema.Union([ServerNotification__ReasoningSummary, Schema.Null])), |
| | 25643 | }); |
| | 25644 | |
| 24395 | export type ServerNotification__ItemCompletedNotification = { | 25645 | export type ServerNotification__ItemCompletedNotification = { |
| 24396 | readonly completedAtMs: number; | 25646 | readonly completedAtMs: number; |
| 24397 | readonly item: ServerNotification__ThreadItem; | 25647 | readonly item: ServerNotification__ThreadItem; |
| ... | @@ -24524,65 +25774,74 @@ export const ServerRequest__McpElicitationMultiSelectEnumSchema = Schema.Union([ | ... | @@ -24524,65 +25774,74 @@ export const ServerRequest__McpElicitationMultiSelectEnumSchema = Schema.Union([ |
| 24524 | ServerRequest__McpElicitationTitledMultiSelectEnumSchema, | 25774 | ServerRequest__McpElicitationTitledMultiSelectEnumSchema, |
| 24525 | ]); | 25775 | ]); |
| 24526 | | 25776 | |
| 24527 | export type V2CommandExecParams__PermissionProfileFileSystemPermissions = | 25777 | export type V2ConfigReadResponse__Config = { |
| 24528 | | { | 25778 | readonly analytics?: V2ConfigReadResponse__AnalyticsConfig | null; |
| 24529 | readonly entries: ReadonlyArray<V2CommandExecParams__FileSystemSandboxEntry>; | | |
| 24530 | readonly globScanMaxDepth?: number | null; | | |
| 24531 | readonly type: "restricted"; | | |
| 24532 | } | | |
| 24533 | | { readonly type: "unrestricted" }; | | |
| 24534 | export const V2CommandExecParams__PermissionProfileFileSystemPermissions = Schema.Union( | | |
| 24535 | [ | | |
| 24536 | Schema.Struct({ | | |
| 24537 | entries: Schema.Array(V2CommandExecParams__FileSystemSandboxEntry), | | |
| 24538 | globScanMaxDepth: Schema.optionalKey( | | |
| 24539 | Schema.Union([ | | |
| 24540 | Schema.Number.annotate({ format: "uint" }) | | |
| 24541 | .check(Schema.isInt()) | | |
| 24542 | .check(Schema.isGreaterThanOrEqualTo(1)), | | |
| 24543 | Schema.Null, | | |
| 24544 | ]), | | |
| 24545 | ), | | |
| 24546 | type: Schema.Literal("restricted").annotate({ | | |
| 24547 | title: "RestrictedPermissionProfileFileSystemPermissionsType", | | |
| 24548 | }), | | |
| 24549 | }).annotate({ title: "RestrictedPermissionProfileFileSystemPermissions" }), | | |
| 24550 | Schema.Struct({ | | |
| 24551 | type: Schema.Literal("unrestricted").annotate({ | | |
| 24552 | title: "UnrestrictedPermissionProfileFileSystemPermissionsType", | | |
| 24553 | }), | | |
| 24554 | }).annotate({ title: "UnrestrictedPermissionProfileFileSystemPermissions" }), | | |
| 24555 | ], | | |
| 24556 | { mode: "oneOf" }, | | |
| 24557 | ); | | |
| 24558 | | | |
| 24559 | export type V2ConfigReadResponse__ProfileV2 = { | | |
| 24560 | readonly approval_policy?: V2ConfigReadResponse__AskForApproval | null; | 25779 | readonly approval_policy?: V2ConfigReadResponse__AskForApproval | null; |
| 24561 | readonly approvals_reviewer?: V2ConfigReadResponse__ApprovalsReviewer | null; | 25780 | readonly approvals_reviewer?: V2ConfigReadResponse__ApprovalsReviewer | null; |
| 24562 | readonly chatgpt_base_url?: string | null; | 25781 | readonly compact_prompt?: string | null; |
| | 25782 | readonly desktop?: { readonly [x: string]: unknown } | null; |
| | 25783 | readonly developer_instructions?: string | null; |
| | 25784 | readonly forced_chatgpt_workspace_id?: V2ConfigReadResponse__ForcedChatgptWorkspaceIds | null; |
| | 25785 | readonly forced_login_method?: V2ConfigReadResponse__ForcedLoginMethod | null; |
| | 25786 | readonly instructions?: string | null; |
| 24563 | readonly model?: string | null; | 25787 | readonly model?: string | null; |
| | 25788 | readonly model_auto_compact_token_limit?: number | null; |
| | 25789 | readonly model_auto_compact_token_limit_scope?: V2ConfigReadResponse__AutoCompactTokenLimitScope | null; |
| | 25790 | readonly model_context_window?: number | null; |
| 24564 | readonly model_provider?: string | null; | 25791 | readonly model_provider?: string | null; |
| 24565 | readonly model_reasoning_effort?: V2ConfigReadResponse__ReasoningEffort | null; | 25792 | readonly model_reasoning_effort?: V2ConfigReadResponse__ReasoningEffort | null; |
| 24566 | readonly model_reasoning_summary?: V2ConfigReadResponse__ReasoningSummary | null; | 25793 | readonly model_reasoning_summary?: V2ConfigReadResponse__ReasoningSummary | null; |
| 24567 | readonly model_verbosity?: V2ConfigReadResponse__Verbosity | null; | 25794 | readonly model_verbosity?: V2ConfigReadResponse__Verbosity | null; |
| | 25795 | readonly review_model?: string | null; |
| | 25796 | readonly sandbox_mode?: V2ConfigReadResponse__SandboxMode | null; |
| | 25797 | readonly sandbox_workspace_write?: V2ConfigReadResponse__SandboxWorkspaceWrite | null; |
| 24568 | readonly service_tier?: string | null; | 25798 | readonly service_tier?: string | null; |
| 24569 | readonly tools?: V2ConfigReadResponse__ToolsV2 | null; | 25799 | readonly tools?: V2ConfigReadResponse__ToolsV2 | null; |
| 24570 | readonly web_search?: V2ConfigReadResponse__WebSearchMode | null; | 25800 | readonly web_search?: V2ConfigReadResponse__WebSearchMode | null; |
| 24571 | readonly [x: string]: unknown; | 25801 | readonly [x: string]: unknown; |
| 24572 | }; | 25802 | }; |
| 24573 | export const V2ConfigReadResponse__ProfileV2 = Schema.StructWithRest( | 25803 | export const V2ConfigReadResponse__Config = Schema.StructWithRest( |
| 24574 | Schema.Struct({ | 25804 | Schema.Struct({ |
| | 25805 | analytics: Schema.optionalKey( |
| | 25806 | Schema.Union([V2ConfigReadResponse__AnalyticsConfig, Schema.Null]), |
| | 25807 | ), |
| 24575 | approval_policy: Schema.optionalKey( | 25808 | approval_policy: Schema.optionalKey( |
| 24576 | Schema.Union([V2ConfigReadResponse__AskForApproval, Schema.Null]), | 25809 | Schema.Union([V2ConfigReadResponse__AskForApproval, Schema.Null]), |
| 24577 | ), | 25810 | ), |
| 24578 | approvals_reviewer: Schema.optionalKey( | 25811 | approvals_reviewer: Schema.optionalKey( |
| 24579 | Schema.Union([V2ConfigReadResponse__ApprovalsReviewer, Schema.Null]).annotate({ | 25812 | Schema.Union([V2ConfigReadResponse__ApprovalsReviewer, Schema.Null]).annotate({ |
| 24580 | description: | 25813 | description: |
| 24581 | "[UNSTABLE] Optional profile-level override for where approval requests are routed for review. If omitted, the enclosing config default is used.", | 25814 | "[UNSTABLE] Optional default for where approval requests are routed for review.", |
| 24582 | }), | 25815 | }), |
| 24583 | ), | 25816 | ), |
| 24584 | chatgpt_base_url: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 25817 | compact_prompt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 25818 | desktop: Schema.optionalKey( |
| | 25819 | Schema.Union([Schema.Record(Schema.String, Schema.Unknown), Schema.Null]), |
| | 25820 | ), |
| | 25821 | developer_instructions: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 25822 | forced_chatgpt_workspace_id: Schema.optionalKey( |
| | 25823 | Schema.Union([V2ConfigReadResponse__ForcedChatgptWorkspaceIds, Schema.Null]), |
| | 25824 | ), |
| | 25825 | forced_login_method: Schema.optionalKey( |
| | 25826 | Schema.Union([V2ConfigReadResponse__ForcedLoginMethod, Schema.Null]), |
| | 25827 | ), |
| | 25828 | instructions: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 24585 | model: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 25829 | model: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 25830 | model_auto_compact_token_limit: Schema.optionalKey( |
| | 25831 | Schema.Union([ |
| | 25832 | Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 25833 | Schema.Null, |
| | 25834 | ]), |
| | 25835 | ), |
| | 25836 | model_auto_compact_token_limit_scope: Schema.optionalKey( |
| | 25837 | Schema.Union([V2ConfigReadResponse__AutoCompactTokenLimitScope, Schema.Null]), |
| | 25838 | ), |
| | 25839 | model_context_window: Schema.optionalKey( |
| | 25840 | Schema.Union([ |
| | 25841 | Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), |
| | 25842 | Schema.Null, |
| | 25843 | ]), |
| | 25844 | ), |
| 24586 | model_provider: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 25845 | model_provider: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 24587 | model_reasoning_effort: Schema.optionalKey( | 25846 | model_reasoning_effort: Schema.optionalKey( |
| 24588 | Schema.Union([V2ConfigReadResponse__ReasoningEffort, Schema.Null]), | 25847 | Schema.Union([V2ConfigReadResponse__ReasoningEffort, Schema.Null]), |
| ... | @@ -24593,6 +25852,13 @@ export const V2ConfigReadResponse__ProfileV2 = Schema.StructWithRest( | ... | @@ -24593,6 +25852,13 @@ export const V2ConfigReadResponse__ProfileV2 = Schema.StructWithRest( |
| 24593 | model_verbosity: Schema.optionalKey( | 25852 | model_verbosity: Schema.optionalKey( |
| 24594 | Schema.Union([V2ConfigReadResponse__Verbosity, Schema.Null]), | 25853 | Schema.Union([V2ConfigReadResponse__Verbosity, Schema.Null]), |
| 24595 | ), | 25854 | ), |
| | 25855 | review_model: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 25856 | sandbox_mode: Schema.optionalKey( |
| | 25857 | Schema.Union([V2ConfigReadResponse__SandboxMode, Schema.Null]), |
| | 25858 | ), |
| | 25859 | sandbox_workspace_write: Schema.optionalKey( |
| | 25860 | Schema.Union([V2ConfigReadResponse__SandboxWorkspaceWrite, Schema.Null]), |
| | 25861 | ), |
| 24596 | service_tier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 25862 | service_tier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 24597 | tools: Schema.optionalKey(Schema.Union([V2ConfigReadResponse__ToolsV2, Schema.Null])), | 25863 | tools: Schema.optionalKey(Schema.Union([V2ConfigReadResponse__ToolsV2, Schema.Null])), |
| 24598 | web_search: Schema.optionalKey( | 25864 | web_search: Schema.optionalKey( |
| ... | @@ -24693,6 +25959,60 @@ export const V2ItemGuardianApprovalReviewStartedNotification__AdditionalFileSyst | ... | @@ -24693,6 +25959,60 @@ export const V2ItemGuardianApprovalReviewStartedNotification__AdditionalFileSyst |
| 24693 | ), | 25959 | ), |
| 24694 | }); | 25960 | }); |
| 24695 | | 25961 | |
| | 25962 | export type V2PluginInstalledResponse__PluginSummary = { |
| | 25963 | readonly authPolicy: V2PluginInstalledResponse__PluginAuthPolicy; |
| | 25964 | readonly availability?: "DISABLED_BY_ADMIN" | "AVAILABLE"; |
| | 25965 | readonly enabled: boolean; |
| | 25966 | readonly id: string; |
| | 25967 | readonly installPolicy: V2PluginInstalledResponse__PluginInstallPolicy; |
| | 25968 | readonly installed: boolean; |
| | 25969 | readonly interface?: V2PluginInstalledResponse__PluginInterface | null; |
| | 25970 | readonly keywords?: ReadonlyArray<string>; |
| | 25971 | readonly localVersion?: string | null; |
| | 25972 | readonly name: string; |
| | 25973 | readonly remotePluginId?: string | null; |
| | 25974 | readonly shareContext?: V2PluginInstalledResponse__PluginShareContext | null; |
| | 25975 | readonly source: V2PluginInstalledResponse__PluginSource; |
| | 25976 | }; |
| | 25977 | export const V2PluginInstalledResponse__PluginSummary = Schema.Struct({ |
| | 25978 | authPolicy: V2PluginInstalledResponse__PluginAuthPolicy, |
| | 25979 | availability: Schema.optionalKey( |
| | 25980 | Schema.Literals(["DISABLED_BY_ADMIN", "AVAILABLE"]).annotate({ |
| | 25981 | description: "Availability state for installing and using the plugin.", |
| | 25982 | default: "AVAILABLE", |
| | 25983 | }), |
| | 25984 | ), |
| | 25985 | enabled: Schema.Boolean, |
| | 25986 | id: Schema.String, |
| | 25987 | installPolicy: V2PluginInstalledResponse__PluginInstallPolicy, |
| | 25988 | installed: Schema.Boolean, |
| | 25989 | interface: Schema.optionalKey( |
| | 25990 | Schema.Union([V2PluginInstalledResponse__PluginInterface, Schema.Null]), |
| | 25991 | ), |
| | 25992 | keywords: Schema.optionalKey(Schema.Array(Schema.String).annotate({ default: [] })), |
| | 25993 | localVersion: Schema.optionalKey( |
| | 25994 | Schema.Union([ |
| | 25995 | Schema.String.annotate({ |
| | 25996 | description: "Version of the locally materialized plugin package when available.", |
| | 25997 | }), |
| | 25998 | Schema.Null, |
| | 25999 | ]), |
| | 26000 | ), |
| | 26001 | name: Schema.String, |
| | 26002 | remotePluginId: Schema.optionalKey( |
| | 26003 | Schema.Union([ |
| | 26004 | Schema.String.annotate({ description: "Backend remote plugin identifier when available." }), |
| | 26005 | Schema.Null, |
| | 26006 | ]), |
| | 26007 | ), |
| | 26008 | shareContext: Schema.optionalKey( |
| | 26009 | Schema.Union([V2PluginInstalledResponse__PluginShareContext, Schema.Null]).annotate({ |
| | 26010 | description: "Remote sharing context associated with this plugin when available.", |
| | 26011 | }), |
| | 26012 | ), |
| | 26013 | source: V2PluginInstalledResponse__PluginSource, |
| | 26014 | }); |
| | 26015 | |
| 24696 | export type V2PluginListResponse__PluginSummary = { | 26016 | export type V2PluginListResponse__PluginSummary = { |
| 24697 | readonly authPolicy: V2PluginListResponse__PluginAuthPolicy; | 26017 | readonly authPolicy: V2PluginListResponse__PluginAuthPolicy; |
| 24698 | readonly availability?: "DISABLED_BY_ADMIN" | "AVAILABLE"; | 26018 | readonly availability?: "DISABLED_BY_ADMIN" | "AVAILABLE"; |
| ... | @@ -24702,7 +26022,9 @@ export type V2PluginListResponse__PluginSummary = { | ... | @@ -24702,7 +26022,9 @@ export type V2PluginListResponse__PluginSummary = { |
| 24702 | readonly installed: boolean; | 26022 | readonly installed: boolean; |
| 24703 | readonly interface?: V2PluginListResponse__PluginInterface | null; | 26023 | readonly interface?: V2PluginListResponse__PluginInterface | null; |
| 24704 | readonly keywords?: ReadonlyArray<string>; | 26024 | readonly keywords?: ReadonlyArray<string>; |
| | 26025 | readonly localVersion?: string | null; |
| 24705 | readonly name: string; | 26026 | readonly name: string; |
| | 26027 | readonly remotePluginId?: string | null; |
| 24706 | readonly shareContext?: V2PluginListResponse__PluginShareContext | null; | 26028 | readonly shareContext?: V2PluginListResponse__PluginShareContext | null; |
| 24707 | readonly source: V2PluginListResponse__PluginSource; | 26029 | readonly source: V2PluginListResponse__PluginSource; |
| 24708 | }; | 26030 | }; |
| ... | @@ -24720,7 +26042,21 @@ export const V2PluginListResponse__PluginSummary = Schema.Struct({ | ... | @@ -24720,7 +26042,21 @@ export const V2PluginListResponse__PluginSummary = Schema.Struct({ |
| 24720 | installed: Schema.Boolean, | 26042 | installed: Schema.Boolean, |
| 24721 | interface: Schema.optionalKey(Schema.Union([V2PluginListResponse__PluginInterface, Schema.Null])), | 26043 | interface: Schema.optionalKey(Schema.Union([V2PluginListResponse__PluginInterface, Schema.Null])), |
| 24722 | keywords: Schema.optionalKey(Schema.Array(Schema.String).annotate({ default: [] })), | 26044 | keywords: Schema.optionalKey(Schema.Array(Schema.String).annotate({ default: [] })), |
| | 26045 | localVersion: Schema.optionalKey( |
| | 26046 | Schema.Union([ |
| | 26047 | Schema.String.annotate({ |
| | 26048 | description: "Version of the locally materialized plugin package when available.", |
| | 26049 | }), |
| | 26050 | Schema.Null, |
| | 26051 | ]), |
| | 26052 | ), |
| 24723 | name: Schema.String, | 26053 | name: Schema.String, |
| | 26054 | remotePluginId: Schema.optionalKey( |
| | 26055 | Schema.Union([ |
| | 26056 | Schema.String.annotate({ description: "Backend remote plugin identifier when available." }), |
| | 26057 | Schema.Null, |
| | 26058 | ]), |
| | 26059 | ), |
| 24724 | shareContext: Schema.optionalKey( | 26060 | shareContext: Schema.optionalKey( |
| 24725 | Schema.Union([V2PluginListResponse__PluginShareContext, Schema.Null]).annotate({ | 26061 | Schema.Union([V2PluginListResponse__PluginShareContext, Schema.Null]).annotate({ |
| 24726 | description: "Remote sharing context associated with this plugin when available.", | 26062 | description: "Remote sharing context associated with this plugin when available.", |
| ... | @@ -24738,7 +26074,9 @@ export type V2PluginReadResponse__PluginSummary = { | ... | @@ -24738,7 +26074,9 @@ export type V2PluginReadResponse__PluginSummary = { |
| 24738 | readonly installed: boolean; | 26074 | readonly installed: boolean; |
| 24739 | readonly interface?: V2PluginReadResponse__PluginInterface | null; | 26075 | readonly interface?: V2PluginReadResponse__PluginInterface | null; |
| 24740 | readonly keywords?: ReadonlyArray<string>; | 26076 | readonly keywords?: ReadonlyArray<string>; |
| | 26077 | readonly localVersion?: string | null; |
| 24741 | readonly name: string; | 26078 | readonly name: string; |
| | 26079 | readonly remotePluginId?: string | null; |
| 24742 | readonly shareContext?: V2PluginReadResponse__PluginShareContext | null; | 26080 | readonly shareContext?: V2PluginReadResponse__PluginShareContext | null; |
| 24743 | readonly source: V2PluginReadResponse__PluginSource; | 26081 | readonly source: V2PluginReadResponse__PluginSource; |
| 24744 | }; | 26082 | }; |
| ... | @@ -24756,7 +26094,21 @@ export const V2PluginReadResponse__PluginSummary = Schema.Struct({ | ... | @@ -24756,7 +26094,21 @@ export const V2PluginReadResponse__PluginSummary = Schema.Struct({ |
| 24756 | installed: Schema.Boolean, | 26094 | installed: Schema.Boolean, |
| 24757 | interface: Schema.optionalKey(Schema.Union([V2PluginReadResponse__PluginInterface, Schema.Null])), | 26095 | interface: Schema.optionalKey(Schema.Union([V2PluginReadResponse__PluginInterface, Schema.Null])), |
| 24758 | keywords: Schema.optionalKey(Schema.Array(Schema.String).annotate({ default: [] })), | 26096 | keywords: Schema.optionalKey(Schema.Array(Schema.String).annotate({ default: [] })), |
| | 26097 | localVersion: Schema.optionalKey( |
| | 26098 | Schema.Union([ |
| | 26099 | Schema.String.annotate({ |
| | 26100 | description: "Version of the locally materialized plugin package when available.", |
| | 26101 | }), |
| | 26102 | Schema.Null, |
| | 26103 | ]), |
| | 26104 | ), |
| 24759 | name: Schema.String, | 26105 | name: Schema.String, |
| | 26106 | remotePluginId: Schema.optionalKey( |
| | 26107 | Schema.Union([ |
| | 26108 | Schema.String.annotate({ description: "Backend remote plugin identifier when available." }), |
| | 26109 | Schema.Null, |
| | 26110 | ]), |
| | 26111 | ), |
| 24760 | shareContext: Schema.optionalKey( | 26112 | shareContext: Schema.optionalKey( |
| 24761 | Schema.Union([V2PluginReadResponse__PluginShareContext, Schema.Null]).annotate({ | 26113 | Schema.Union([V2PluginReadResponse__PluginShareContext, Schema.Null]).annotate({ |
| 24762 | description: "Remote sharing context associated with this plugin when available.", | 26114 | description: "Remote sharing context associated with this plugin when available.", |
| ... | @@ -24774,7 +26126,9 @@ export type V2PluginShareListResponse__PluginSummary = { | ... | @@ -24774,7 +26126,9 @@ export type V2PluginShareListResponse__PluginSummary = { |
| 24774 | readonly installed: boolean; | 26126 | readonly installed: boolean; |
| 24775 | readonly interface?: V2PluginShareListResponse__PluginInterface | null; | 26127 | readonly interface?: V2PluginShareListResponse__PluginInterface | null; |
| 24776 | readonly keywords?: ReadonlyArray<string>; | 26128 | readonly keywords?: ReadonlyArray<string>; |
| | 26129 | readonly localVersion?: string | null; |
| 24777 | readonly name: string; | 26130 | readonly name: string; |
| | 26131 | readonly remotePluginId?: string | null; |
| 24778 | readonly shareContext?: V2PluginShareListResponse__PluginShareContext | null; | 26132 | readonly shareContext?: V2PluginShareListResponse__PluginShareContext | null; |
| 24779 | readonly source: V2PluginShareListResponse__PluginSource; | 26133 | readonly source: V2PluginShareListResponse__PluginSource; |
| 24780 | }; | 26134 | }; |
| ... | @@ -24794,7 +26148,21 @@ export const V2PluginShareListResponse__PluginSummary = Schema.Struct({ | ... | @@ -24794,7 +26148,21 @@ export const V2PluginShareListResponse__PluginSummary = Schema.Struct({ |
| 24794 | Schema.Union([V2PluginShareListResponse__PluginInterface, Schema.Null]), | 26148 | Schema.Union([V2PluginShareListResponse__PluginInterface, Schema.Null]), |
| 24795 | ), | 26149 | ), |
| 24796 | keywords: Schema.optionalKey(Schema.Array(Schema.String).annotate({ default: [] })), | 26150 | keywords: Schema.optionalKey(Schema.Array(Schema.String).annotate({ default: [] })), |
| | 26151 | localVersion: Schema.optionalKey( |
| | 26152 | Schema.Union([ |
| | 26153 | Schema.String.annotate({ |
| | 26154 | description: "Version of the locally materialized plugin package when available.", |
| | 26155 | }), |
| | 26156 | Schema.Null, |
| | 26157 | ]), |
| | 26158 | ), |
| 24797 | name: Schema.String, | 26159 | name: Schema.String, |
| | 26160 | remotePluginId: Schema.optionalKey( |
| | 26161 | Schema.Union([ |
| | 26162 | Schema.String.annotate({ description: "Backend remote plugin identifier when available." }), |
| | 26163 | Schema.Null, |
| | 26164 | ]), |
| | 26165 | ), |
| 24798 | shareContext: Schema.optionalKey( | 26166 | shareContext: Schema.optionalKey( |
| 24799 | Schema.Union([V2PluginShareListResponse__PluginShareContext, Schema.Null]).annotate({ | 26167 | Schema.Union([V2PluginShareListResponse__PluginShareContext, Schema.Null]).annotate({ |
| 24800 | description: "Remote sharing context associated with this plugin when available.", | 26168 | description: "Remote sharing context associated with this plugin when available.", |
| ... | @@ -24811,6 +26179,12 @@ export type V2RawResponseItemCompletedNotification__ResponseItem = | ... | @@ -24811,6 +26179,12 @@ export type V2RawResponseItemCompletedNotification__ResponseItem = |
| 24811 | readonly role: string; | 26179 | readonly role: string; |
| 24812 | readonly type: "message"; | 26180 | readonly type: "message"; |
| 24813 | } | 26181 | } |
| | 26182 | | { |
| | 26183 | readonly author: string; |
| | 26184 | readonly content: ReadonlyArray<V2RawResponseItemCompletedNotification__AgentMessageInputContent>; |
| | 26185 | readonly recipient: string; |
| | 26186 | readonly type: "agent_message"; |
| | 26187 | } |
| 24814 | | { | 26188 | | { |
| 24815 | readonly content?: ReadonlyArray<V2RawResponseItemCompletedNotification__ReasoningItemContent> | null; | 26189 | readonly content?: ReadonlyArray<V2RawResponseItemCompletedNotification__ReasoningItemContent> | null; |
| 24816 | readonly encrypted_content?: string | null; | 26190 | readonly encrypted_content?: string | null; |
| ... | @@ -24880,6 +26254,7 @@ export type V2RawResponseItemCompletedNotification__ResponseItem = | ... | @@ -24880,6 +26254,7 @@ export type V2RawResponseItemCompletedNotification__ResponseItem = |
| 24880 | readonly type: "image_generation_call"; | 26254 | readonly type: "image_generation_call"; |
| 24881 | } | 26255 | } |
| 24882 | | { readonly encrypted_content: string; readonly type: "compaction" } | 26256 | | { readonly encrypted_content: string; readonly type: "compaction" } |
| | 26257 | | { readonly type: "compaction_trigger" } |
| 24883 | | { readonly encrypted_content?: string | null; readonly type: "context_compaction" } | 26258 | | { readonly encrypted_content?: string | null; readonly type: "context_compaction" } |
| 24884 | | { readonly type: "other" }; | 26259 | | { readonly type: "other" }; |
| 24885 | export const V2RawResponseItemCompletedNotification__ResponseItem = Schema.Union( | 26260 | export const V2RawResponseItemCompletedNotification__ResponseItem = Schema.Union( |
| ... | @@ -24895,6 +26270,12 @@ export const V2RawResponseItemCompletedNotification__ResponseItem = Schema.Union | ... | @@ -24895,6 +26270,12 @@ export const V2RawResponseItemCompletedNotification__ResponseItem = Schema.Union |
| 24895 | role: Schema.String, | 26270 | role: Schema.String, |
| 24896 | type: Schema.Literal("message").annotate({ title: "MessageResponseItemType" }), | 26271 | type: Schema.Literal("message").annotate({ title: "MessageResponseItemType" }), |
| 24897 | }).annotate({ title: "MessageResponseItem" }), | 26272 | }).annotate({ title: "MessageResponseItem" }), |
| | 26273 | Schema.Struct({ |
| | 26274 | author: Schema.String, |
| | 26275 | content: Schema.Array(V2RawResponseItemCompletedNotification__AgentMessageInputContent), |
| | 26276 | recipient: Schema.String, |
| | 26277 | type: Schema.Literal("agent_message").annotate({ title: "AgentMessageResponseItemType" }), |
| | 26278 | }).annotate({ title: "AgentMessageResponseItem" }), |
| 24898 | Schema.Struct({ | 26279 | Schema.Struct({ |
| 24899 | content: Schema.optionalKey( | 26280 | content: Schema.optionalKey( |
| 24900 | Schema.Union([ | 26281 | Schema.Union([ |
| ... | @@ -25012,6 +26393,11 @@ export const V2RawResponseItemCompletedNotification__ResponseItem = Schema.Union | ... | @@ -25012,6 +26393,11 @@ export const V2RawResponseItemCompletedNotification__ResponseItem = Schema.Union |
| 25012 | encrypted_content: Schema.String, | 26393 | encrypted_content: Schema.String, |
| 25013 | type: Schema.Literal("compaction").annotate({ title: "CompactionResponseItemType" }), | 26394 | type: Schema.Literal("compaction").annotate({ title: "CompactionResponseItemType" }), |
| 25014 | }).annotate({ title: "CompactionResponseItem" }), | 26395 | }).annotate({ title: "CompactionResponseItem" }), |
| | 26396 | Schema.Struct({ |
| | 26397 | type: Schema.Literal("compaction_trigger").annotate({ |
| | 26398 | title: "CompactionTriggerResponseItemType", |
| | 26399 | }), |
| | 26400 | }).annotate({ title: "CompactionTriggerResponseItem" }), |
| 25015 | Schema.Struct({ | 26401 | Schema.Struct({ |
| 25016 | encrypted_content: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 26402 | encrypted_content: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 25017 | type: Schema.Literal("context_compaction").annotate({ | 26403 | type: Schema.Literal("context_compaction").annotate({ |
| ... | @@ -25092,38 +26478,6 @@ export const V2SkillsListResponse__SkillsListEntry = Schema.Struct({ | ... | @@ -25092,38 +26478,6 @@ export const V2SkillsListResponse__SkillsListEntry = Schema.Struct({ |
| 25092 | skills: Schema.Array(V2SkillsListResponse__SkillMetadata), | 26478 | skills: Schema.Array(V2SkillsListResponse__SkillMetadata), |
| 25093 | }); | 26479 | }); |
| 25094 | | 26480 | |
| 25095 | export type V2ThreadForkResponse__PermissionProfileFileSystemPermissions = | | |
| 25096 | | { | | |
| 25097 | readonly entries: ReadonlyArray<V2ThreadForkResponse__FileSystemSandboxEntry>; | | |
| 25098 | readonly globScanMaxDepth?: number | null; | | |
| 25099 | readonly type: "restricted"; | | |
| 25100 | } | | |
| 25101 | | { readonly type: "unrestricted" }; | | |
| 25102 | export const V2ThreadForkResponse__PermissionProfileFileSystemPermissions = Schema.Union( | | |
| 25103 | [ | | |
| 25104 | Schema.Struct({ | | |
| 25105 | entries: Schema.Array(V2ThreadForkResponse__FileSystemSandboxEntry), | | |
| 25106 | globScanMaxDepth: Schema.optionalKey( | | |
| 25107 | Schema.Union([ | | |
| 25108 | Schema.Number.annotate({ format: "uint" }) | | |
| 25109 | .check(Schema.isInt()) | | |
| 25110 | .check(Schema.isGreaterThanOrEqualTo(1)), | | |
| 25111 | Schema.Null, | | |
| 25112 | ]), | | |
| 25113 | ), | | |
| 25114 | type: Schema.Literal("restricted").annotate({ | | |
| 25115 | title: "RestrictedPermissionProfileFileSystemPermissionsType", | | |
| 25116 | }), | | |
| 25117 | }).annotate({ title: "RestrictedPermissionProfileFileSystemPermissions" }), | | |
| 25118 | Schema.Struct({ | | |
| 25119 | type: Schema.Literal("unrestricted").annotate({ | | |
| 25120 | title: "UnrestrictedPermissionProfileFileSystemPermissionsType", | | |
| 25121 | }), | | |
| 25122 | }).annotate({ title: "UnrestrictedPermissionProfileFileSystemPermissions" }), | | |
| 25123 | ], | | |
| 25124 | { mode: "oneOf" }, | | |
| 25125 | ); | | |
| 25126 | | | |
| 25127 | export type V2ThreadForkResponse__Turn = { | 26481 | export type V2ThreadForkResponse__Turn = { |
| 25128 | readonly completedAt?: number | null; | 26482 | readonly completedAt?: number | null; |
| 25129 | readonly durationMs?: number | null; | 26483 | readonly durationMs?: number | null; |
| ... | @@ -25348,38 +26702,6 @@ export const V2ThreadReadResponse__Turn = Schema.Struct({ | ... | @@ -25348,38 +26702,6 @@ export const V2ThreadReadResponse__Turn = Schema.Struct({ |
| 25348 | status: V2ThreadReadResponse__TurnStatus, | 26702 | status: V2ThreadReadResponse__TurnStatus, |
| 25349 | }); | 26703 | }); |
| 25350 | | 26704 | |
| 25351 | export type V2ThreadResumeResponse__PermissionProfileFileSystemPermissions = | | |
| 25352 | | { | | |
| 25353 | readonly entries: ReadonlyArray<V2ThreadResumeResponse__FileSystemSandboxEntry>; | | |
| 25354 | readonly globScanMaxDepth?: number | null; | | |
| 25355 | readonly type: "restricted"; | | |
| 25356 | } | | |
| 25357 | | { readonly type: "unrestricted" }; | | |
| 25358 | export const V2ThreadResumeResponse__PermissionProfileFileSystemPermissions = Schema.Union( | | |
| 25359 | [ | | |
| 25360 | Schema.Struct({ | | |
| 25361 | entries: Schema.Array(V2ThreadResumeResponse__FileSystemSandboxEntry), | | |
| 25362 | globScanMaxDepth: Schema.optionalKey( | | |
| 25363 | Schema.Union([ | | |
| 25364 | Schema.Number.annotate({ format: "uint" }) | | |
| 25365 | .check(Schema.isInt()) | | |
| 25366 | .check(Schema.isGreaterThanOrEqualTo(1)), | | |
| 25367 | Schema.Null, | | |
| 25368 | ]), | | |
| 25369 | ), | | |
| 25370 | type: Schema.Literal("restricted").annotate({ | | |
| 25371 | title: "RestrictedPermissionProfileFileSystemPermissionsType", | | |
| 25372 | }), | | |
| 25373 | }).annotate({ title: "RestrictedPermissionProfileFileSystemPermissions" }), | | |
| 25374 | Schema.Struct({ | | |
| 25375 | type: Schema.Literal("unrestricted").annotate({ | | |
| 25376 | title: "UnrestrictedPermissionProfileFileSystemPermissionsType", | | |
| 25377 | }), | | |
| 25378 | }).annotate({ title: "UnrestrictedPermissionProfileFileSystemPermissions" }), | | |
| 25379 | ], | | |
| 25380 | { mode: "oneOf" }, | | |
| 25381 | ); | | |
| 25382 | | | |
| 25383 | export type V2ThreadResumeResponse__Turn = { | 26705 | export type V2ThreadResumeResponse__Turn = { |
| 25384 | readonly completedAt?: number | null; | 26706 | readonly completedAt?: number | null; |
| 25385 | readonly durationMs?: number | null; | 26707 | readonly durationMs?: number | null; |
| ... | @@ -25492,6 +26814,43 @@ export const V2ThreadRollbackResponse__Turn = Schema.Struct({ | ... | @@ -25492,6 +26814,43 @@ export const V2ThreadRollbackResponse__Turn = Schema.Struct({ |
| 25492 | status: V2ThreadRollbackResponse__TurnStatus, | 26814 | status: V2ThreadRollbackResponse__TurnStatus, |
| 25493 | }); | 26815 | }); |
| 25494 | | 26816 | |
| | 26817 | export type V2ThreadSettingsUpdatedNotification__ThreadSettings = { |
| | 26818 | readonly activePermissionProfile?: V2ThreadSettingsUpdatedNotification__ActivePermissionProfile | null; |
| | 26819 | readonly approvalPolicy: V2ThreadSettingsUpdatedNotification__AskForApproval; |
| | 26820 | readonly approvalsReviewer: V2ThreadSettingsUpdatedNotification__ApprovalsReviewer; |
| | 26821 | readonly collaborationMode: V2ThreadSettingsUpdatedNotification__CollaborationMode; |
| | 26822 | readonly cwd: V2ThreadSettingsUpdatedNotification__AbsolutePathBuf; |
| | 26823 | readonly effort?: V2ThreadSettingsUpdatedNotification__ReasoningEffort | null; |
| | 26824 | readonly model: string; |
| | 26825 | readonly modelProvider: string; |
| | 26826 | readonly personality?: V2ThreadSettingsUpdatedNotification__Personality | null; |
| | 26827 | readonly sandboxPolicy: V2ThreadSettingsUpdatedNotification__SandboxPolicy; |
| | 26828 | readonly serviceTier?: string | null; |
| | 26829 | readonly summary?: V2ThreadSettingsUpdatedNotification__ReasoningSummary | null; |
| | 26830 | }; |
| | 26831 | export const V2ThreadSettingsUpdatedNotification__ThreadSettings = Schema.Struct({ |
| | 26832 | activePermissionProfile: Schema.optionalKey( |
| | 26833 | Schema.Union([V2ThreadSettingsUpdatedNotification__ActivePermissionProfile, Schema.Null]), |
| | 26834 | ), |
| | 26835 | approvalPolicy: V2ThreadSettingsUpdatedNotification__AskForApproval, |
| | 26836 | approvalsReviewer: V2ThreadSettingsUpdatedNotification__ApprovalsReviewer, |
| | 26837 | collaborationMode: V2ThreadSettingsUpdatedNotification__CollaborationMode, |
| | 26838 | cwd: V2ThreadSettingsUpdatedNotification__AbsolutePathBuf, |
| | 26839 | effort: Schema.optionalKey( |
| | 26840 | Schema.Union([V2ThreadSettingsUpdatedNotification__ReasoningEffort, Schema.Null]), |
| | 26841 | ), |
| | 26842 | model: Schema.String, |
| | 26843 | modelProvider: Schema.String, |
| | 26844 | personality: Schema.optionalKey( |
| | 26845 | Schema.Union([V2ThreadSettingsUpdatedNotification__Personality, Schema.Null]), |
| | 26846 | ), |
| | 26847 | sandboxPolicy: V2ThreadSettingsUpdatedNotification__SandboxPolicy, |
| | 26848 | serviceTier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 26849 | summary: Schema.optionalKey( |
| | 26850 | Schema.Union([V2ThreadSettingsUpdatedNotification__ReasoningSummary, Schema.Null]), |
| | 26851 | ), |
| | 26852 | }); |
| | 26853 | |
| 25495 | export type V2ThreadStartedNotification__Turn = { | 26854 | export type V2ThreadStartedNotification__Turn = { |
| 25496 | readonly completedAt?: number | null; | 26855 | readonly completedAt?: number | null; |
| 25497 | readonly durationMs?: number | null; | 26856 | readonly durationMs?: number | null; |
| ... | @@ -25548,38 +26907,6 @@ export const V2ThreadStartedNotification__Turn = Schema.Struct({ | ... | @@ -25548,38 +26907,6 @@ export const V2ThreadStartedNotification__Turn = Schema.Struct({ |
| 25548 | status: V2ThreadStartedNotification__TurnStatus, | 26907 | status: V2ThreadStartedNotification__TurnStatus, |
| 25549 | }); | 26908 | }); |
| 25550 | | 26909 | |
| 25551 | export type V2ThreadStartResponse__PermissionProfileFileSystemPermissions = | | |
| 25552 | | { | | |
| 25553 | readonly entries: ReadonlyArray<V2ThreadStartResponse__FileSystemSandboxEntry>; | | |
| 25554 | readonly globScanMaxDepth?: number | null; | | |
| 25555 | readonly type: "restricted"; | | |
| 25556 | } | | |
| 25557 | | { readonly type: "unrestricted" }; | | |
| 25558 | export const V2ThreadStartResponse__PermissionProfileFileSystemPermissions = Schema.Union( | | |
| 25559 | [ | | |
| 25560 | Schema.Struct({ | | |
| 25561 | entries: Schema.Array(V2ThreadStartResponse__FileSystemSandboxEntry), | | |
| 25562 | globScanMaxDepth: Schema.optionalKey( | | |
| 25563 | Schema.Union([ | | |
| 25564 | Schema.Number.annotate({ format: "uint" }) | | |
| 25565 | .check(Schema.isInt()) | | |
| 25566 | .check(Schema.isGreaterThanOrEqualTo(1)), | | |
| 25567 | Schema.Null, | | |
| 25568 | ]), | | |
| 25569 | ), | | |
| 25570 | type: Schema.Literal("restricted").annotate({ | | |
| 25571 | title: "RestrictedPermissionProfileFileSystemPermissionsType", | | |
| 25572 | }), | | |
| 25573 | }).annotate({ title: "RestrictedPermissionProfileFileSystemPermissions" }), | | |
| 25574 | Schema.Struct({ | | |
| 25575 | type: Schema.Literal("unrestricted").annotate({ | | |
| 25576 | title: "UnrestrictedPermissionProfileFileSystemPermissionsType", | | |
| 25577 | }), | | |
| 25578 | }).annotate({ title: "UnrestrictedPermissionProfileFileSystemPermissions" }), | | |
| 25579 | ], | | |
| 25580 | { mode: "oneOf" }, | | |
| 25581 | ); | | |
| 25582 | | | |
| 25583 | export type V2ThreadStartResponse__Turn = { | 26910 | export type V2ThreadStartResponse__Turn = { |
| 25584 | readonly completedAt?: number | null; | 26911 | readonly completedAt?: number | null; |
| 25585 | readonly durationMs?: number | null; | 26912 | readonly durationMs?: number | null; |
| ... | @@ -25912,6 +27239,15 @@ export const ServerNotification__RequestPermissionProfile = Schema.Struct({ | ... | @@ -25912,6 +27239,15 @@ export const ServerNotification__RequestPermissionProfile = Schema.Struct({ |
| 25912 | ), | 27239 | ), |
| 25913 | }); | 27240 | }); |
| 25914 | | 27241 | |
| | 27242 | export type ServerNotification__ThreadSettingsUpdatedNotification = { |
| | 27243 | readonly threadId: string; |
| | 27244 | readonly threadSettings: ServerNotification__ThreadSettings; |
| | 27245 | }; |
| | 27246 | export const ServerNotification__ThreadSettingsUpdatedNotification = Schema.Struct({ |
| | 27247 | threadId: Schema.String, |
| | 27248 | threadSettings: ServerNotification__ThreadSettings, |
| | 27249 | }); |
| | 27250 | |
| 25915 | export type ServerNotification__Thread = { | 27251 | export type ServerNotification__Thread = { |
| 25916 | readonly agentNickname?: string | null; | 27252 | readonly agentNickname?: string | null; |
| 25917 | readonly agentRole?: string | null; | 27253 | readonly agentRole?: string | null; |
| ... | @@ -25924,6 +27260,7 @@ export type ServerNotification__Thread = { | ... | @@ -25924,6 +27260,7 @@ export type ServerNotification__Thread = { |
| 25924 | readonly id: string; | 27260 | readonly id: string; |
| 25925 | readonly modelProvider: string; | 27261 | readonly modelProvider: string; |
| 25926 | readonly name?: string | null; | 27262 | readonly name?: string | null; |
| | 27263 | readonly parentThreadId?: string | null; |
| 25927 | readonly path?: string | null; | 27264 | readonly path?: string | null; |
| 25928 | readonly preview: string; | 27265 | readonly preview: string; |
| 25929 | readonly sessionId: string; | 27266 | readonly sessionId: string; |
| ... | @@ -26002,6 +27339,15 @@ export const ServerNotification__Thread = Schema.Struct({ | ... | @@ -26002,6 +27339,15 @@ export const ServerNotification__Thread = Schema.Struct({ |
| 26002 | Schema.Null, | 27339 | Schema.Null, |
| 26003 | ]), | 27340 | ]), |
| 26004 | ), | 27341 | ), |
| | 27342 | parentThreadId: Schema.optionalKey( |
| | 27343 | Schema.Union([ |
| | 27344 | Schema.String.annotate({ |
| | 27345 | description: |
| | 27346 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 27347 | }), |
| | 27348 | Schema.Null, |
| | 27349 | ]), |
| | 27350 | ), |
| 26005 | path: Schema.optionalKey( | 27351 | path: Schema.optionalKey( |
| 26006 | Schema.Union([ | 27352 | Schema.Union([ |
| 26007 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 27353 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -26100,96 +27446,6 @@ export const ServerRequest__McpElicitationEnumSchema = Schema.Union([ | ... | @@ -26100,96 +27446,6 @@ export const ServerRequest__McpElicitationEnumSchema = Schema.Union([ |
| 26100 | ServerRequest__McpElicitationLegacyTitledEnumSchema, | 27446 | ServerRequest__McpElicitationLegacyTitledEnumSchema, |
| 26101 | ]); | 27447 | ]); |
| 26102 | | 27448 | |
| 26103 | export type V2ConfigReadResponse__Config = { | | |
| 26104 | readonly analytics?: V2ConfigReadResponse__AnalyticsConfig | null; | | |
| 26105 | readonly approval_policy?: V2ConfigReadResponse__AskForApproval | null; | | |
| 26106 | readonly approvals_reviewer?: V2ConfigReadResponse__ApprovalsReviewer | null; | | |
| 26107 | readonly compact_prompt?: string | null; | | |
| 26108 | readonly developer_instructions?: string | null; | | |
| 26109 | readonly forced_chatgpt_workspace_id?: string | null; | | |
| 26110 | readonly forced_login_method?: V2ConfigReadResponse__ForcedLoginMethod | null; | | |
| 26111 | readonly instructions?: string | null; | | |
| 26112 | readonly model?: string | null; | | |
| 26113 | readonly model_auto_compact_token_limit?: number | null; | | |
| 26114 | readonly model_context_window?: number | null; | | |
| 26115 | readonly model_provider?: string | null; | | |
| 26116 | readonly model_reasoning_effort?: V2ConfigReadResponse__ReasoningEffort | null; | | |
| 26117 | readonly model_reasoning_summary?: V2ConfigReadResponse__ReasoningSummary | null; | | |
| 26118 | readonly model_verbosity?: V2ConfigReadResponse__Verbosity | null; | | |
| 26119 | readonly profile?: string | null; | | |
| 26120 | readonly profiles?: { readonly [x: string]: V2ConfigReadResponse__ProfileV2 }; | | |
| 26121 | readonly review_model?: string | null; | | |
| 26122 | readonly sandbox_mode?: V2ConfigReadResponse__SandboxMode | null; | | |
| 26123 | readonly sandbox_workspace_write?: V2ConfigReadResponse__SandboxWorkspaceWrite | null; | | |
| 26124 | readonly service_tier?: string | null; | | |
| 26125 | readonly tools?: V2ConfigReadResponse__ToolsV2 | null; | | |
| 26126 | readonly web_search?: V2ConfigReadResponse__WebSearchMode | null; | | |
| 26127 | readonly [x: string]: unknown; | | |
| 26128 | }; | | |
| 26129 | export const V2ConfigReadResponse__Config = Schema.StructWithRest( | | |
| 26130 | Schema.Struct({ | | |
| 26131 | analytics: Schema.optionalKey( | | |
| 26132 | Schema.Union([V2ConfigReadResponse__AnalyticsConfig, Schema.Null]), | | |
| 26133 | ), | | |
| 26134 | approval_policy: Schema.optionalKey( | | |
| 26135 | Schema.Union([V2ConfigReadResponse__AskForApproval, Schema.Null]), | | |
| 26136 | ), | | |
| 26137 | approvals_reviewer: Schema.optionalKey( | | |
| 26138 | Schema.Union([V2ConfigReadResponse__ApprovalsReviewer, Schema.Null]).annotate({ | | |
| 26139 | description: | | |
| 26140 | "[UNSTABLE] Optional default for where approval requests are routed for review.", | | |
| 26141 | }), | | |
| 26142 | ), | | |
| 26143 | compact_prompt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 26144 | developer_instructions: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 26145 | forced_chatgpt_workspace_id: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 26146 | forced_login_method: Schema.optionalKey( | | |
| 26147 | Schema.Union([V2ConfigReadResponse__ForcedLoginMethod, Schema.Null]), | | |
| 26148 | ), | | |
| 26149 | instructions: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 26150 | model: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 26151 | model_auto_compact_token_limit: Schema.optionalKey( | | |
| 26152 | Schema.Union([ | | |
| 26153 | Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), | | |
| 26154 | Schema.Null, | | |
| 26155 | ]), | | |
| 26156 | ), | | |
| 26157 | model_context_window: Schema.optionalKey( | | |
| 26158 | Schema.Union([ | | |
| 26159 | Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), | | |
| 26160 | Schema.Null, | | |
| 26161 | ]), | | |
| 26162 | ), | | |
| 26163 | model_provider: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 26164 | model_reasoning_effort: Schema.optionalKey( | | |
| 26165 | Schema.Union([V2ConfigReadResponse__ReasoningEffort, Schema.Null]), | | |
| 26166 | ), | | |
| 26167 | model_reasoning_summary: Schema.optionalKey( | | |
| 26168 | Schema.Union([V2ConfigReadResponse__ReasoningSummary, Schema.Null]), | | |
| 26169 | ), | | |
| 26170 | model_verbosity: Schema.optionalKey( | | |
| 26171 | Schema.Union([V2ConfigReadResponse__Verbosity, Schema.Null]), | | |
| 26172 | ), | | |
| 26173 | profile: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 26174 | profiles: Schema.optionalKey( | | |
| 26175 | Schema.Record(Schema.String, V2ConfigReadResponse__ProfileV2).annotate({ default: {} }), | | |
| 26176 | ), | | |
| 26177 | review_model: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 26178 | sandbox_mode: Schema.optionalKey( | | |
| 26179 | Schema.Union([V2ConfigReadResponse__SandboxMode, Schema.Null]), | | |
| 26180 | ), | | |
| 26181 | sandbox_workspace_write: Schema.optionalKey( | | |
| 26182 | Schema.Union([V2ConfigReadResponse__SandboxWorkspaceWrite, Schema.Null]), | | |
| 26183 | ), | | |
| 26184 | service_tier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | | |
| 26185 | tools: Schema.optionalKey(Schema.Union([V2ConfigReadResponse__ToolsV2, Schema.Null])), | | |
| 26186 | web_search: Schema.optionalKey( | | |
| 26187 | Schema.Union([V2ConfigReadResponse__WebSearchMode, Schema.Null]), | | |
| 26188 | ), | | |
| 26189 | }), | | |
| 26190 | [Schema.Record(Schema.String, Schema.Unknown)], | | |
| 26191 | ); | | |
| 26192 | | | |
| 26193 | export type V2ItemGuardianApprovalReviewCompletedNotification__RequestPermissionProfile = { | 27449 | export type V2ItemGuardianApprovalReviewCompletedNotification__RequestPermissionProfile = { |
| 26194 | readonly fileSystem?: V2ItemGuardianApprovalReviewCompletedNotification__AdditionalFileSystemPermissions | null; | 27450 | readonly fileSystem?: V2ItemGuardianApprovalReviewCompletedNotification__AdditionalFileSystemPermissions | null; |
| 26195 | readonly network?: V2ItemGuardianApprovalReviewCompletedNotification__AdditionalNetworkPermissions | null; | 27451 | readonly network?: V2ItemGuardianApprovalReviewCompletedNotification__AdditionalNetworkPermissions | null; |
| ... | @@ -26230,6 +27486,26 @@ export const V2ItemGuardianApprovalReviewStartedNotification__RequestPermissionP | ... | @@ -26230,6 +27486,26 @@ export const V2ItemGuardianApprovalReviewStartedNotification__RequestPermissionP |
| 26230 | ), | 27486 | ), |
| 26231 | }); | 27487 | }); |
| 26232 | | 27488 | |
| | 27489 | export type V2PluginInstalledResponse__PluginMarketplaceEntry = { |
| | 27490 | readonly interface?: V2PluginInstalledResponse__MarketplaceInterface | null; |
| | 27491 | readonly name: string; |
| | 27492 | readonly path?: V2PluginInstalledResponse__AbsolutePathBuf | null; |
| | 27493 | readonly plugins: ReadonlyArray<V2PluginInstalledResponse__PluginSummary>; |
| | 27494 | }; |
| | 27495 | export const V2PluginInstalledResponse__PluginMarketplaceEntry = Schema.Struct({ |
| | 27496 | interface: Schema.optionalKey( |
| | 27497 | Schema.Union([V2PluginInstalledResponse__MarketplaceInterface, Schema.Null]), |
| | 27498 | ), |
| | 27499 | name: Schema.String, |
| | 27500 | path: Schema.optionalKey( |
| | 27501 | Schema.Union([V2PluginInstalledResponse__AbsolutePathBuf, Schema.Null]).annotate({ |
| | 27502 | description: |
| | 27503 | "Local marketplace file path when the marketplace is backed by a local file. Remote-only catalog marketplaces do not have a local path.", |
| | 27504 | }), |
| | 27505 | ), |
| | 27506 | plugins: Schema.Array(V2PluginInstalledResponse__PluginSummary), |
| | 27507 | }); |
| | 27508 | |
| 26233 | export type V2PluginListResponse__PluginMarketplaceEntry = { | 27509 | export type V2PluginListResponse__PluginMarketplaceEntry = { |
| 26234 | readonly interface?: V2PluginListResponse__MarketplaceInterface | null; | 27510 | readonly interface?: V2PluginListResponse__MarketplaceInterface | null; |
| 26235 | readonly name: string; | 27511 | readonly name: string; |
| ... | @@ -26251,6 +27527,7 @@ export const V2PluginListResponse__PluginMarketplaceEntry = Schema.Struct({ | ... | @@ -26251,6 +27527,7 @@ export const V2PluginListResponse__PluginMarketplaceEntry = Schema.Struct({ |
| 26251 | }); | 27527 | }); |
| 26252 | | 27528 | |
| 26253 | export type V2PluginReadResponse__PluginDetail = { | 27529 | export type V2PluginReadResponse__PluginDetail = { |
| | 27530 | readonly appTemplates: ReadonlyArray<V2PluginReadResponse__AppTemplateSummary>; |
| 26254 | readonly apps: ReadonlyArray<V2PluginReadResponse__AppSummary>; | 27531 | readonly apps: ReadonlyArray<V2PluginReadResponse__AppSummary>; |
| 26255 | readonly description?: string | null; | 27532 | readonly description?: string | null; |
| 26256 | readonly hooks: ReadonlyArray<V2PluginReadResponse__PluginHookSummary>; | 27533 | readonly hooks: ReadonlyArray<V2PluginReadResponse__PluginHookSummary>; |
| ... | @@ -26261,6 +27538,7 @@ export type V2PluginReadResponse__PluginDetail = { | ... | @@ -26261,6 +27538,7 @@ export type V2PluginReadResponse__PluginDetail = { |
| 26261 | readonly summary: V2PluginReadResponse__PluginSummary; | 27538 | readonly summary: V2PluginReadResponse__PluginSummary; |
| 26262 | }; | 27539 | }; |
| 26263 | export const V2PluginReadResponse__PluginDetail = Schema.Struct({ | 27540 | export const V2PluginReadResponse__PluginDetail = Schema.Struct({ |
| | 27541 | appTemplates: Schema.Array(V2PluginReadResponse__AppTemplateSummary), |
| 26264 | apps: Schema.Array(V2PluginReadResponse__AppSummary), | 27542 | apps: Schema.Array(V2PluginReadResponse__AppSummary), |
| 26265 | description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 27543 | description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 26266 | hooks: Schema.Array(V2PluginReadResponse__PluginHookSummary), | 27544 | hooks: Schema.Array(V2PluginReadResponse__PluginHookSummary), |
| ... | @@ -26276,14 +27554,12 @@ export const V2PluginReadResponse__PluginDetail = Schema.Struct({ | ... | @@ -26276,14 +27554,12 @@ export const V2PluginReadResponse__PluginDetail = Schema.Struct({ |
| 26276 | export type V2PluginShareListResponse__PluginShareListItem = { | 27554 | export type V2PluginShareListResponse__PluginShareListItem = { |
| 26277 | readonly localPluginPath?: V2PluginShareListResponse__AbsolutePathBuf | null; | 27555 | readonly localPluginPath?: V2PluginShareListResponse__AbsolutePathBuf | null; |
| 26278 | readonly plugin: V2PluginShareListResponse__PluginSummary; | 27556 | readonly plugin: V2PluginShareListResponse__PluginSummary; |
| 26279 | readonly shareUrl: string; | | |
| 26280 | }; | 27557 | }; |
| 26281 | export const V2PluginShareListResponse__PluginShareListItem = Schema.Struct({ | 27558 | export const V2PluginShareListResponse__PluginShareListItem = Schema.Struct({ |
| 26282 | localPluginPath: Schema.optionalKey( | 27559 | localPluginPath: Schema.optionalKey( |
| 26283 | Schema.Union([V2PluginShareListResponse__AbsolutePathBuf, Schema.Null]), | 27560 | Schema.Union([V2PluginShareListResponse__AbsolutePathBuf, Schema.Null]), |
| 26284 | ), | 27561 | ), |
| 26285 | plugin: V2PluginShareListResponse__PluginSummary, | 27562 | plugin: V2PluginShareListResponse__PluginSummary, |
| 26286 | shareUrl: Schema.String, | | |
| 26287 | }); | 27563 | }); |
| 26288 | | 27564 | |
| 26289 | export type V2ThreadForkResponse__Thread = { | 27565 | export type V2ThreadForkResponse__Thread = { |
| ... | @@ -26298,6 +27574,7 @@ export type V2ThreadForkResponse__Thread = { | ... | @@ -26298,6 +27574,7 @@ export type V2ThreadForkResponse__Thread = { |
| 26298 | readonly id: string; | 27574 | readonly id: string; |
| 26299 | readonly modelProvider: string; | 27575 | readonly modelProvider: string; |
| 26300 | readonly name?: string | null; | 27576 | readonly name?: string | null; |
| | 27577 | readonly parentThreadId?: string | null; |
| 26301 | readonly path?: string | null; | 27578 | readonly path?: string | null; |
| 26302 | readonly preview: string; | 27579 | readonly preview: string; |
| 26303 | readonly sessionId: string; | 27580 | readonly sessionId: string; |
| ... | @@ -26362,7 +27639,164 @@ export const V2ThreadForkResponse__Thread = Schema.Struct({ | ... | @@ -26362,7 +27639,164 @@ export const V2ThreadForkResponse__Thread = Schema.Struct({ |
| 26362 | ]), | 27639 | ]), |
| 26363 | ), | 27640 | ), |
| 26364 | gitInfo: Schema.optionalKey( | 27641 | gitInfo: Schema.optionalKey( |
| 26365 | Schema.Union([V2ThreadForkResponse__GitInfo, Schema.Null]).annotate({ | 27642 | Schema.Union([V2ThreadForkResponse__GitInfo, Schema.Null]).annotate({ |
| | 27643 | description: "Optional Git metadata captured when the thread was created.", |
| | 27644 | }), |
| | 27645 | ), |
| | 27646 | id: Schema.String, |
| | 27647 | modelProvider: Schema.String.annotate({ |
| | 27648 | description: "Model provider used for this thread (for example, 'openai').", |
| | 27649 | }), |
| | 27650 | name: Schema.optionalKey( |
| | 27651 | Schema.Union([ |
| | 27652 | Schema.String.annotate({ description: "Optional user-facing thread title." }), |
| | 27653 | Schema.Null, |
| | 27654 | ]), |
| | 27655 | ), |
| | 27656 | parentThreadId: Schema.optionalKey( |
| | 27657 | Schema.Union([ |
| | 27658 | Schema.String.annotate({ |
| | 27659 | description: |
| | 27660 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 27661 | }), |
| | 27662 | Schema.Null, |
| | 27663 | ]), |
| | 27664 | ), |
| | 27665 | path: Schema.optionalKey( |
| | 27666 | Schema.Union([ |
| | 27667 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| | 27668 | Schema.Null, |
| | 27669 | ]), |
| | 27670 | ), |
| | 27671 | preview: Schema.String.annotate({ |
| | 27672 | description: "Usually the first user message in the thread, if available.", |
| | 27673 | }), |
| | 27674 | sessionId: Schema.String.annotate({ |
| | 27675 | description: "Session id shared by threads that belong to the same session tree.", |
| | 27676 | }), |
| | 27677 | source: Schema.Union( |
| | 27678 | [ |
| | 27679 | Schema.Literals(["cli", "vscode", "exec", "appServer", "unknown"]), |
| | 27680 | Schema.Struct({ custom: Schema.String }).annotate({ title: "CustomSessionSource" }), |
| | 27681 | Schema.Struct({ subAgent: V2ThreadForkResponse__SubAgentSource }).annotate({ |
| | 27682 | title: "SubAgentSessionSource", |
| | 27683 | }), |
| | 27684 | ], |
| | 27685 | { mode: "oneOf" }, |
| | 27686 | ).annotate({ |
| | 27687 | description: "Origin of the thread (CLI, VSCode, codex exec, codex app-server, etc.).", |
| | 27688 | }), |
| | 27689 | status: Schema.Union( |
| | 27690 | [ |
| | 27691 | Schema.Struct({ |
| | 27692 | type: Schema.Literal("notLoaded").annotate({ title: "NotLoadedThreadStatusType" }), |
| | 27693 | }).annotate({ title: "NotLoadedThreadStatus" }), |
| | 27694 | Schema.Struct({ |
| | 27695 | type: Schema.Literal("idle").annotate({ title: "IdleThreadStatusType" }), |
| | 27696 | }).annotate({ title: "IdleThreadStatus" }), |
| | 27697 | Schema.Struct({ |
| | 27698 | type: Schema.Literal("systemError").annotate({ title: "SystemErrorThreadStatusType" }), |
| | 27699 | }).annotate({ title: "SystemErrorThreadStatus" }), |
| | 27700 | Schema.Struct({ |
| | 27701 | activeFlags: Schema.Array(V2ThreadForkResponse__ThreadActiveFlag), |
| | 27702 | type: Schema.Literal("active").annotate({ title: "ActiveThreadStatusType" }), |
| | 27703 | }).annotate({ title: "ActiveThreadStatus" }), |
| | 27704 | ], |
| | 27705 | { mode: "oneOf" }, |
| | 27706 | ).annotate({ description: "Current runtime status for the thread." }), |
| | 27707 | threadSource: Schema.optionalKey( |
| | 27708 | Schema.Union([V2ThreadForkResponse__ThreadSource, Schema.Null]).annotate({ |
| | 27709 | description: "Optional analytics source classification for this thread.", |
| | 27710 | }), |
| | 27711 | ), |
| | 27712 | turns: Schema.Array(V2ThreadForkResponse__Turn).annotate({ |
| | 27713 | description: |
| | 27714 | "Only populated on `thread/resume`, `thread/rollback`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.", |
| | 27715 | }), |
| | 27716 | updatedAt: Schema.Number.annotate({ |
| | 27717 | description: "Unix timestamp (in seconds) when the thread was last updated.", |
| | 27718 | format: "int64", |
| | 27719 | }).check(Schema.isInt()), |
| | 27720 | }); |
| | 27721 | |
| | 27722 | export type V2ThreadListResponse__Thread = { |
| | 27723 | readonly agentNickname?: string | null; |
| | 27724 | readonly agentRole?: string | null; |
| | 27725 | readonly cliVersion: string; |
| | 27726 | readonly createdAt: number; |
| | 27727 | readonly cwd: string; |
| | 27728 | readonly ephemeral: boolean; |
| | 27729 | readonly forkedFromId?: string | null; |
| | 27730 | readonly gitInfo?: V2ThreadListResponse__GitInfo | null; |
| | 27731 | readonly id: string; |
| | 27732 | readonly modelProvider: string; |
| | 27733 | readonly name?: string | null; |
| | 27734 | readonly parentThreadId?: string | null; |
| | 27735 | readonly path?: string | null; |
| | 27736 | readonly preview: string; |
| | 27737 | readonly sessionId: string; |
| | 27738 | readonly source: |
| | 27739 | | "cli" |
| | 27740 | | "vscode" |
| | 27741 | | "exec" |
| | 27742 | | "appServer" |
| | 27743 | | "unknown" |
| | 27744 | | { readonly custom: string } |
| | 27745 | | { readonly subAgent: V2ThreadListResponse__SubAgentSource }; |
| | 27746 | readonly status: |
| | 27747 | | { readonly type: "notLoaded" } |
| | 27748 | | { readonly type: "idle" } |
| | 27749 | | { readonly type: "systemError" } |
| | 27750 | | { |
| | 27751 | readonly activeFlags: ReadonlyArray<V2ThreadListResponse__ThreadActiveFlag>; |
| | 27752 | readonly type: "active"; |
| | 27753 | }; |
| | 27754 | readonly threadSource?: V2ThreadListResponse__ThreadSource | null; |
| | 27755 | readonly turns: ReadonlyArray<V2ThreadListResponse__Turn>; |
| | 27756 | readonly updatedAt: number; |
| | 27757 | }; |
| | 27758 | export const V2ThreadListResponse__Thread = Schema.Struct({ |
| | 27759 | agentNickname: Schema.optionalKey( |
| | 27760 | Schema.Union([ |
| | 27761 | Schema.String.annotate({ |
| | 27762 | description: |
| | 27763 | "Optional random unique nickname assigned to an AgentControl-spawned sub-agent.", |
| | 27764 | }), |
| | 27765 | Schema.Null, |
| | 27766 | ]), |
| | 27767 | ), |
| | 27768 | agentRole: Schema.optionalKey( |
| | 27769 | Schema.Union([ |
| | 27770 | Schema.String.annotate({ |
| | 27771 | description: "Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.", |
| | 27772 | }), |
| | 27773 | Schema.Null, |
| | 27774 | ]), |
| | 27775 | ), |
| | 27776 | cliVersion: Schema.String.annotate({ |
| | 27777 | description: "Version of the CLI that created the thread.", |
| | 27778 | }), |
| | 27779 | createdAt: Schema.Number.annotate({ |
| | 27780 | description: "Unix timestamp (in seconds) when the thread was created.", |
| | 27781 | format: "int64", |
| | 27782 | }).check(Schema.isInt()), |
| | 27783 | cwd: Schema.String.annotate({ |
| | 27784 | description: |
| | 27785 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| | 27786 | }), |
| | 27787 | ephemeral: Schema.Boolean.annotate({ |
| | 27788 | description: "Whether the thread is ephemeral and should not be materialized on disk.", |
| | 27789 | }), |
| | 27790 | forkedFromId: Schema.optionalKey( |
| | 27791 | Schema.Union([ |
| | 27792 | Schema.String.annotate({ |
| | 27793 | description: "Source thread id when this thread was created by forking another thread.", |
| | 27794 | }), |
| | 27795 | Schema.Null, |
| | 27796 | ]), |
| | 27797 | ), |
| | 27798 | gitInfo: Schema.optionalKey( |
| | 27799 | Schema.Union([V2ThreadListResponse__GitInfo, Schema.Null]).annotate({ |
| 26366 | description: "Optional Git metadata captured when the thread was created.", | 27800 | description: "Optional Git metadata captured when the thread was created.", |
| 26367 | }), | 27801 | }), |
| 26368 | ), | 27802 | ), |
| ... | @@ -26376,153 +27810,15 @@ export const V2ThreadForkResponse__Thread = Schema.Struct({ | ... | @@ -26376,153 +27810,15 @@ export const V2ThreadForkResponse__Thread = Schema.Struct({ |
| 26376 | Schema.Null, | 27810 | Schema.Null, |
| 26377 | ]), | 27811 | ]), |
| 26378 | ), | 27812 | ), |
| 26379 | path: Schema.optionalKey( | 27813 | parentThreadId: Schema.optionalKey( |
| 26380 | Schema.Union([ | | |
| 26381 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | | |
| 26382 | Schema.Null, | | |
| 26383 | ]), | | |
| 26384 | ), | | |
| 26385 | preview: Schema.String.annotate({ | | |
| 26386 | description: "Usually the first user message in the thread, if available.", | | |
| 26387 | }), | | |
| 26388 | sessionId: Schema.String.annotate({ | | |
| 26389 | description: "Session id shared by threads that belong to the same session tree.", | | |
| 26390 | }), | | |
| 26391 | source: Schema.Union( | | |
| 26392 | [ | | |
| 26393 | Schema.Literals(["cli", "vscode", "exec", "appServer", "unknown"]), | | |
| 26394 | Schema.Struct({ custom: Schema.String }).annotate({ title: "CustomSessionSource" }), | | |
| 26395 | Schema.Struct({ subAgent: V2ThreadForkResponse__SubAgentSource }).annotate({ | | |
| 26396 | title: "SubAgentSessionSource", | | |
| 26397 | }), | | |
| 26398 | ], | | |
| 26399 | { mode: "oneOf" }, | | |
| 26400 | ).annotate({ | | |
| 26401 | description: "Origin of the thread (CLI, VSCode, codex exec, codex app-server, etc.).", | | |
| 26402 | }), | | |
| 26403 | status: Schema.Union( | | |
| 26404 | [ | | |
| 26405 | Schema.Struct({ | | |
| 26406 | type: Schema.Literal("notLoaded").annotate({ title: "NotLoadedThreadStatusType" }), | | |
| 26407 | }).annotate({ title: "NotLoadedThreadStatus" }), | | |
| 26408 | Schema.Struct({ | | |
| 26409 | type: Schema.Literal("idle").annotate({ title: "IdleThreadStatusType" }), | | |
| 26410 | }).annotate({ title: "IdleThreadStatus" }), | | |
| 26411 | Schema.Struct({ | | |
| 26412 | type: Schema.Literal("systemError").annotate({ title: "SystemErrorThreadStatusType" }), | | |
| 26413 | }).annotate({ title: "SystemErrorThreadStatus" }), | | |
| 26414 | Schema.Struct({ | | |
| 26415 | activeFlags: Schema.Array(V2ThreadForkResponse__ThreadActiveFlag), | | |
| 26416 | type: Schema.Literal("active").annotate({ title: "ActiveThreadStatusType" }), | | |
| 26417 | }).annotate({ title: "ActiveThreadStatus" }), | | |
| 26418 | ], | | |
| 26419 | { mode: "oneOf" }, | | |
| 26420 | ).annotate({ description: "Current runtime status for the thread." }), | | |
| 26421 | threadSource: Schema.optionalKey( | | |
| 26422 | Schema.Union([V2ThreadForkResponse__ThreadSource, Schema.Null]).annotate({ | | |
| 26423 | description: "Optional analytics source classification for this thread.", | | |
| 26424 | }), | | |
| 26425 | ), | | |
| 26426 | turns: Schema.Array(V2ThreadForkResponse__Turn).annotate({ | | |
| 26427 | description: | | |
| 26428 | "Only populated on `thread/resume`, `thread/rollback`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.", | | |
| 26429 | }), | | |
| 26430 | updatedAt: Schema.Number.annotate({ | | |
| 26431 | description: "Unix timestamp (in seconds) when the thread was last updated.", | | |
| 26432 | format: "int64", | | |
| 26433 | }).check(Schema.isInt()), | | |
| 26434 | }); | | |
| 26435 | | | |
| 26436 | export type V2ThreadListResponse__Thread = { | | |
| 26437 | readonly agentNickname?: string | null; | | |
| 26438 | readonly agentRole?: string | null; | | |
| 26439 | readonly cliVersion: string; | | |
| 26440 | readonly createdAt: number; | | |
| 26441 | readonly cwd: string; | | |
| 26442 | readonly ephemeral: boolean; | | |
| 26443 | readonly forkedFromId?: string | null; | | |
| 26444 | readonly gitInfo?: V2ThreadListResponse__GitInfo | null; | | |
| 26445 | readonly id: string; | | |
| 26446 | readonly modelProvider: string; | | |
| 26447 | readonly name?: string | null; | | |
| 26448 | readonly path?: string | null; | | |
| 26449 | readonly preview: string; | | |
| 26450 | readonly sessionId: string; | | |
| 26451 | readonly source: | | |
| 26452 | | "cli" | | |
| 26453 | | "vscode" | | |
| 26454 | | "exec" | | |
| 26455 | | "appServer" | | |
| 26456 | | "unknown" | | |
| 26457 | | { readonly custom: string } | | |
| 26458 | | { readonly subAgent: V2ThreadListResponse__SubAgentSource }; | | |
| 26459 | readonly status: | | |
| 26460 | | { readonly type: "notLoaded" } | | |
| 26461 | | { readonly type: "idle" } | | |
| 26462 | | { readonly type: "systemError" } | | |
| 26463 | | { | | |
| 26464 | readonly activeFlags: ReadonlyArray<V2ThreadListResponse__ThreadActiveFlag>; | | |
| 26465 | readonly type: "active"; | | |
| 26466 | }; | | |
| 26467 | readonly threadSource?: V2ThreadListResponse__ThreadSource | null; | | |
| 26468 | readonly turns: ReadonlyArray<V2ThreadListResponse__Turn>; | | |
| 26469 | readonly updatedAt: number; | | |
| 26470 | }; | | |
| 26471 | export const V2ThreadListResponse__Thread = Schema.Struct({ | | |
| 26472 | agentNickname: Schema.optionalKey( | | |
| 26473 | Schema.Union([ | 27814 | Schema.Union([ |
| 26474 | Schema.String.annotate({ | 27815 | Schema.String.annotate({ |
| 26475 | description: | 27816 | description: |
| 26476 | "Optional random unique nickname assigned to an AgentControl-spawned sub-agent.", | 27817 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| 26477 | }), | 27818 | }), |
| 26478 | Schema.Null, | 27819 | Schema.Null, |
| 26479 | ]), | 27820 | ]), |
| 26480 | ), | 27821 | ), |
| 26481 | agentRole: Schema.optionalKey( | | |
| 26482 | Schema.Union([ | | |
| 26483 | Schema.String.annotate({ | | |
| 26484 | description: "Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.", | | |
| 26485 | }), | | |
| 26486 | Schema.Null, | | |
| 26487 | ]), | | |
| 26488 | ), | | |
| 26489 | cliVersion: Schema.String.annotate({ | | |
| 26490 | description: "Version of the CLI that created the thread.", | | |
| 26491 | }), | | |
| 26492 | createdAt: Schema.Number.annotate({ | | |
| 26493 | description: "Unix timestamp (in seconds) when the thread was created.", | | |
| 26494 | format: "int64", | | |
| 26495 | }).check(Schema.isInt()), | | |
| 26496 | cwd: Schema.String.annotate({ | | |
| 26497 | description: | | |
| 26498 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", | | |
| 26499 | }), | | |
| 26500 | ephemeral: Schema.Boolean.annotate({ | | |
| 26501 | description: "Whether the thread is ephemeral and should not be materialized on disk.", | | |
| 26502 | }), | | |
| 26503 | forkedFromId: Schema.optionalKey( | | |
| 26504 | Schema.Union([ | | |
| 26505 | Schema.String.annotate({ | | |
| 26506 | description: "Source thread id when this thread was created by forking another thread.", | | |
| 26507 | }), | | |
| 26508 | Schema.Null, | | |
| 26509 | ]), | | |
| 26510 | ), | | |
| 26511 | gitInfo: Schema.optionalKey( | | |
| 26512 | Schema.Union([V2ThreadListResponse__GitInfo, Schema.Null]).annotate({ | | |
| 26513 | description: "Optional Git metadata captured when the thread was created.", | | |
| 26514 | }), | | |
| 26515 | ), | | |
| 26516 | id: Schema.String, | | |
| 26517 | modelProvider: Schema.String.annotate({ | | |
| 26518 | description: "Model provider used for this thread (for example, 'openai').", | | |
| 26519 | }), | | |
| 26520 | name: Schema.optionalKey( | | |
| 26521 | Schema.Union([ | | |
| 26522 | Schema.String.annotate({ description: "Optional user-facing thread title." }), | | |
| 26523 | Schema.Null, | | |
| 26524 | ]), | | |
| 26525 | ), | | |
| 26526 | path: Schema.optionalKey( | 27822 | path: Schema.optionalKey( |
| 26527 | Schema.Union([ | 27823 | Schema.Union([ |
| 26528 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 27824 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -26592,6 +27888,7 @@ export type V2ThreadMetadataUpdateResponse__Thread = { | ... | @@ -26592,6 +27888,7 @@ export type V2ThreadMetadataUpdateResponse__Thread = { |
| 26592 | readonly id: string; | 27888 | readonly id: string; |
| 26593 | readonly modelProvider: string; | 27889 | readonly modelProvider: string; |
| 26594 | readonly name?: string | null; | 27890 | readonly name?: string | null; |
| | 27891 | readonly parentThreadId?: string | null; |
| 26595 | readonly path?: string | null; | 27892 | readonly path?: string | null; |
| 26596 | readonly preview: string; | 27893 | readonly preview: string; |
| 26597 | readonly sessionId: string; | 27894 | readonly sessionId: string; |
| ... | @@ -26670,6 +27967,15 @@ export const V2ThreadMetadataUpdateResponse__Thread = Schema.Struct({ | ... | @@ -26670,6 +27967,15 @@ export const V2ThreadMetadataUpdateResponse__Thread = Schema.Struct({ |
| 26670 | Schema.Null, | 27967 | Schema.Null, |
| 26671 | ]), | 27968 | ]), |
| 26672 | ), | 27969 | ), |
| | 27970 | parentThreadId: Schema.optionalKey( |
| | 27971 | Schema.Union([ |
| | 27972 | Schema.String.annotate({ |
| | 27973 | description: |
| | 27974 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 27975 | }), |
| | 27976 | Schema.Null, |
| | 27977 | ]), |
| | 27978 | ), |
| 26673 | path: Schema.optionalKey( | 27979 | path: Schema.optionalKey( |
| 26674 | Schema.Union([ | 27980 | Schema.Union([ |
| 26675 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 27981 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -26739,6 +28045,7 @@ export type V2ThreadReadResponse__Thread = { | ... | @@ -26739,6 +28045,7 @@ export type V2ThreadReadResponse__Thread = { |
| 26739 | readonly id: string; | 28045 | readonly id: string; |
| 26740 | readonly modelProvider: string; | 28046 | readonly modelProvider: string; |
| 26741 | readonly name?: string | null; | 28047 | readonly name?: string | null; |
| | 28048 | readonly parentThreadId?: string | null; |
| 26742 | readonly path?: string | null; | 28049 | readonly path?: string | null; |
| 26743 | readonly preview: string; | 28050 | readonly preview: string; |
| 26744 | readonly sessionId: string; | 28051 | readonly sessionId: string; |
| ... | @@ -26817,6 +28124,15 @@ export const V2ThreadReadResponse__Thread = Schema.Struct({ | ... | @@ -26817,6 +28124,15 @@ export const V2ThreadReadResponse__Thread = Schema.Struct({ |
| 26817 | Schema.Null, | 28124 | Schema.Null, |
| 26818 | ]), | 28125 | ]), |
| 26819 | ), | 28126 | ), |
| | 28127 | parentThreadId: Schema.optionalKey( |
| | 28128 | Schema.Union([ |
| | 28129 | Schema.String.annotate({ |
| | 28130 | description: |
| | 28131 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 28132 | }), |
| | 28133 | Schema.Null, |
| | 28134 | ]), |
| | 28135 | ), |
| 26820 | path: Schema.optionalKey( | 28136 | path: Schema.optionalKey( |
| 26821 | Schema.Union([ | 28137 | Schema.Union([ |
| 26822 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 28138 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -26886,6 +28202,7 @@ export type V2ThreadResumeResponse__Thread = { | ... | @@ -26886,6 +28202,7 @@ export type V2ThreadResumeResponse__Thread = { |
| 26886 | readonly id: string; | 28202 | readonly id: string; |
| 26887 | readonly modelProvider: string; | 28203 | readonly modelProvider: string; |
| 26888 | readonly name?: string | null; | 28204 | readonly name?: string | null; |
| | 28205 | readonly parentThreadId?: string | null; |
| 26889 | readonly path?: string | null; | 28206 | readonly path?: string | null; |
| 26890 | readonly preview: string; | 28207 | readonly preview: string; |
| 26891 | readonly sessionId: string; | 28208 | readonly sessionId: string; |
| ... | @@ -26964,6 +28281,15 @@ export const V2ThreadResumeResponse__Thread = Schema.Struct({ | ... | @@ -26964,6 +28281,15 @@ export const V2ThreadResumeResponse__Thread = Schema.Struct({ |
| 26964 | Schema.Null, | 28281 | Schema.Null, |
| 26965 | ]), | 28282 | ]), |
| 26966 | ), | 28283 | ), |
| | 28284 | parentThreadId: Schema.optionalKey( |
| | 28285 | Schema.Union([ |
| | 28286 | Schema.String.annotate({ |
| | 28287 | description: |
| | 28288 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 28289 | }), |
| | 28290 | Schema.Null, |
| | 28291 | ]), |
| | 28292 | ), |
| 26967 | path: Schema.optionalKey( | 28293 | path: Schema.optionalKey( |
| 26968 | Schema.Union([ | 28294 | Schema.Union([ |
| 26969 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 28295 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -27033,6 +28359,7 @@ export type V2ThreadStartedNotification__Thread = { | ... | @@ -27033,6 +28359,7 @@ export type V2ThreadStartedNotification__Thread = { |
| 27033 | readonly id: string; | 28359 | readonly id: string; |
| 27034 | readonly modelProvider: string; | 28360 | readonly modelProvider: string; |
| 27035 | readonly name?: string | null; | 28361 | readonly name?: string | null; |
| | 28362 | readonly parentThreadId?: string | null; |
| 27036 | readonly path?: string | null; | 28363 | readonly path?: string | null; |
| 27037 | readonly preview: string; | 28364 | readonly preview: string; |
| 27038 | readonly sessionId: string; | 28365 | readonly sessionId: string; |
| ... | @@ -27111,6 +28438,15 @@ export const V2ThreadStartedNotification__Thread = Schema.Struct({ | ... | @@ -27111,6 +28438,15 @@ export const V2ThreadStartedNotification__Thread = Schema.Struct({ |
| 27111 | Schema.Null, | 28438 | Schema.Null, |
| 27112 | ]), | 28439 | ]), |
| 27113 | ), | 28440 | ), |
| | 28441 | parentThreadId: Schema.optionalKey( |
| | 28442 | Schema.Union([ |
| | 28443 | Schema.String.annotate({ |
| | 28444 | description: |
| | 28445 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 28446 | }), |
| | 28447 | Schema.Null, |
| | 28448 | ]), |
| | 28449 | ), |
| 27114 | path: Schema.optionalKey( | 28450 | path: Schema.optionalKey( |
| 27115 | Schema.Union([ | 28451 | Schema.Union([ |
| 27116 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 28452 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -27180,6 +28516,7 @@ export type V2ThreadStartResponse__Thread = { | ... | @@ -27180,6 +28516,7 @@ export type V2ThreadStartResponse__Thread = { |
| 27180 | readonly id: string; | 28516 | readonly id: string; |
| 27181 | readonly modelProvider: string; | 28517 | readonly modelProvider: string; |
| 27182 | readonly name?: string | null; | 28518 | readonly name?: string | null; |
| | 28519 | readonly parentThreadId?: string | null; |
| 27183 | readonly path?: string | null; | 28520 | readonly path?: string | null; |
| 27184 | readonly preview: string; | 28521 | readonly preview: string; |
| 27185 | readonly sessionId: string; | 28522 | readonly sessionId: string; |
| ... | @@ -27258,6 +28595,15 @@ export const V2ThreadStartResponse__Thread = Schema.Struct({ | ... | @@ -27258,6 +28595,15 @@ export const V2ThreadStartResponse__Thread = Schema.Struct({ |
| 27258 | Schema.Null, | 28595 | Schema.Null, |
| 27259 | ]), | 28596 | ]), |
| 27260 | ), | 28597 | ), |
| | 28598 | parentThreadId: Schema.optionalKey( |
| | 28599 | Schema.Union([ |
| | 28600 | Schema.String.annotate({ |
| | 28601 | description: |
| | 28602 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 28603 | }), |
| | 28604 | Schema.Null, |
| | 28605 | ]), |
| | 28606 | ), |
| 27261 | path: Schema.optionalKey( | 28607 | path: Schema.optionalKey( |
| 27262 | Schema.Union([ | 28608 | Schema.Union([ |
| 27263 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 28609 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -27327,6 +28673,7 @@ export type V2ThreadUnarchiveResponse__Thread = { | ... | @@ -27327,6 +28673,7 @@ export type V2ThreadUnarchiveResponse__Thread = { |
| 27327 | readonly id: string; | 28673 | readonly id: string; |
| 27328 | readonly modelProvider: string; | 28674 | readonly modelProvider: string; |
| 27329 | readonly name?: string | null; | 28675 | readonly name?: string | null; |
| | 28676 | readonly parentThreadId?: string | null; |
| 27330 | readonly path?: string | null; | 28677 | readonly path?: string | null; |
| 27331 | readonly preview: string; | 28678 | readonly preview: string; |
| 27332 | readonly sessionId: string; | 28679 | readonly sessionId: string; |
| ... | @@ -27405,6 +28752,15 @@ export const V2ThreadUnarchiveResponse__Thread = Schema.Struct({ | ... | @@ -27405,6 +28752,15 @@ export const V2ThreadUnarchiveResponse__Thread = Schema.Struct({ |
| 27405 | Schema.Null, | 28752 | Schema.Null, |
| 27406 | ]), | 28753 | ]), |
| 27407 | ), | 28754 | ), |
| | 28755 | parentThreadId: Schema.optionalKey( |
| | 28756 | Schema.Union([ |
| | 28757 | Schema.String.annotate({ |
| | 28758 | description: |
| | 28759 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 28760 | }), |
| | 28761 | Schema.Null, |
| | 28762 | ]), |
| | 28763 | ), |
| 27408 | path: Schema.optionalKey( | 28764 | path: Schema.optionalKey( |
| 27409 | Schema.Union([ | 28765 | Schema.Union([ |
| 27410 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 28766 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -27578,17 +28934,24 @@ export const ServerNotification__ThreadStartedNotification = Schema.Struct({ | ... | @@ -27578,17 +28934,24 @@ export const ServerNotification__ThreadStartedNotification = Schema.Struct({ |
| 27578 | | 28934 | |
| 27579 | export type ServerRequest__PermissionsRequestApprovalParams = { | 28935 | export type ServerRequest__PermissionsRequestApprovalParams = { |
| 27580 | readonly cwd: ServerRequest__AbsolutePathBuf; | 28936 | readonly cwd: ServerRequest__AbsolutePathBuf; |
| | 28937 | readonly environmentId?: string | null; |
| 27581 | readonly itemId: string; | 28938 | readonly itemId: string; |
| 27582 | readonly permissions: ServerRequest__RequestPermissionProfile; | 28939 | readonly permissions: ServerRequest__RequestPermissionProfile; |
| 27583 | readonly reason?: string | null; | 28940 | readonly reason?: string | null; |
| | 28941 | readonly startedAtMs: number; |
| 27584 | readonly threadId: string; | 28942 | readonly threadId: string; |
| 27585 | readonly turnId: string; | 28943 | readonly turnId: string; |
| 27586 | }; | 28944 | }; |
| 27587 | export const ServerRequest__PermissionsRequestApprovalParams = Schema.Struct({ | 28945 | export const ServerRequest__PermissionsRequestApprovalParams = Schema.Struct({ |
| 27588 | cwd: ServerRequest__AbsolutePathBuf, | 28946 | cwd: ServerRequest__AbsolutePathBuf, |
| | 28947 | environmentId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 27589 | itemId: Schema.String, | 28948 | itemId: Schema.String, |
| 27590 | permissions: ServerRequest__RequestPermissionProfile, | 28949 | permissions: ServerRequest__RequestPermissionProfile, |
| 27591 | reason: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 28950 | reason: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 28951 | startedAtMs: Schema.Number.annotate({ |
| | 28952 | description: "Unix timestamp (in milliseconds) when this approval request started.", |
| | 28953 | format: "int64", |
| | 28954 | }).check(Schema.isInt()), |
| 27592 | threadId: Schema.String, | 28955 | threadId: Schema.String, |
| 27593 | turnId: Schema.String, | 28956 | turnId: Schema.String, |
| 27594 | }); | 28957 | }); |
| ... | @@ -27824,18 +29187,28 @@ export const McpServerElicitationRequestParams__McpElicitationSchema = Schema.St | ... | @@ -27824,18 +29187,28 @@ export const McpServerElicitationRequestParams__McpElicitationSchema = Schema.St |
| 27824 | | 29187 | |
| 27825 | export type ServerNotification__ItemGuardianApprovalReviewCompletedNotification = { | 29188 | export type ServerNotification__ItemGuardianApprovalReviewCompletedNotification = { |
| 27826 | readonly action: ServerNotification__GuardianApprovalReviewAction; | 29189 | readonly action: ServerNotification__GuardianApprovalReviewAction; |
| | 29190 | readonly completedAtMs: number; |
| 27827 | readonly decisionSource: ServerNotification__AutoReviewDecisionSource; | 29191 | readonly decisionSource: ServerNotification__AutoReviewDecisionSource; |
| 27828 | readonly review: ServerNotification__GuardianApprovalReview; | 29192 | readonly review: ServerNotification__GuardianApprovalReview; |
| 27829 | readonly reviewId: string; | 29193 | readonly reviewId: string; |
| | 29194 | readonly startedAtMs: number; |
| 27830 | readonly targetItemId?: string | null; | 29195 | readonly targetItemId?: string | null; |
| 27831 | readonly threadId: string; | 29196 | readonly threadId: string; |
| 27832 | readonly turnId: string; | 29197 | readonly turnId: string; |
| 27833 | }; | 29198 | }; |
| 27834 | export const ServerNotification__ItemGuardianApprovalReviewCompletedNotification = Schema.Struct({ | 29199 | export const ServerNotification__ItemGuardianApprovalReviewCompletedNotification = Schema.Struct({ |
| 27835 | action: ServerNotification__GuardianApprovalReviewAction, | 29200 | action: ServerNotification__GuardianApprovalReviewAction, |
| | 29201 | completedAtMs: Schema.Number.annotate({ |
| | 29202 | description: "Unix timestamp (in milliseconds) when this review completed.", |
| | 29203 | format: "int64", |
| | 29204 | }).check(Schema.isInt()), |
| 27836 | decisionSource: ServerNotification__AutoReviewDecisionSource, | 29205 | decisionSource: ServerNotification__AutoReviewDecisionSource, |
| 27837 | review: ServerNotification__GuardianApprovalReview, | 29206 | review: ServerNotification__GuardianApprovalReview, |
| 27838 | reviewId: Schema.String.annotate({ description: "Stable identifier for this review." }), | 29207 | reviewId: Schema.String.annotate({ description: "Stable identifier for this review." }), |
| | 29208 | startedAtMs: Schema.Number.annotate({ |
| | 29209 | description: "Unix timestamp (in milliseconds) when this review started.", |
| | 29210 | format: "int64", |
| | 29211 | }).check(Schema.isInt()), |
| 27839 | targetItemId: Schema.optionalKey( | 29212 | targetItemId: Schema.optionalKey( |
| 27840 | Schema.Union([ | 29213 | Schema.Union([ |
| 27841 | Schema.String.annotate({ | 29214 | Schema.String.annotate({ |
| ... | @@ -27856,6 +29229,7 @@ export type ServerNotification__ItemGuardianApprovalReviewStartedNotification = | ... | @@ -27856,6 +29229,7 @@ export type ServerNotification__ItemGuardianApprovalReviewStartedNotification = |
| 27856 | readonly action: ServerNotification__GuardianApprovalReviewAction; | 29229 | readonly action: ServerNotification__GuardianApprovalReviewAction; |
| 27857 | readonly review: ServerNotification__GuardianApprovalReview; | 29230 | readonly review: ServerNotification__GuardianApprovalReview; |
| 27858 | readonly reviewId: string; | 29231 | readonly reviewId: string; |
| | 29232 | readonly startedAtMs: number; |
| 27859 | readonly targetItemId?: string | null; | 29233 | readonly targetItemId?: string | null; |
| 27860 | readonly threadId: string; | 29234 | readonly threadId: string; |
| 27861 | readonly turnId: string; | 29235 | readonly turnId: string; |
| ... | @@ -27864,6 +29238,10 @@ export const ServerNotification__ItemGuardianApprovalReviewStartedNotification = | ... | @@ -27864,6 +29238,10 @@ export const ServerNotification__ItemGuardianApprovalReviewStartedNotification = |
| 27864 | action: ServerNotification__GuardianApprovalReviewAction, | 29238 | action: ServerNotification__GuardianApprovalReviewAction, |
| 27865 | review: ServerNotification__GuardianApprovalReview, | 29239 | review: ServerNotification__GuardianApprovalReview, |
| 27866 | reviewId: Schema.String.annotate({ description: "Stable identifier for this review." }), | 29240 | reviewId: Schema.String.annotate({ description: "Stable identifier for this review." }), |
| | 29241 | startedAtMs: Schema.Number.annotate({ |
| | 29242 | description: "Unix timestamp (in milliseconds) when this review started.", |
| | 29243 | format: "int64", |
| | 29244 | }).check(Schema.isInt()), |
| 27867 | targetItemId: Schema.optionalKey( | 29245 | targetItemId: Schema.optionalKey( |
| 27868 | Schema.Union([ | 29246 | Schema.Union([ |
| 27869 | Schema.String.annotate({ | 29247 | Schema.String.annotate({ |
| ... | @@ -27997,6 +29375,16 @@ export const ApplyPatchApprovalResponse = Schema.Struct({ | ... | @@ -27997,6 +29375,16 @@ export const ApplyPatchApprovalResponse = Schema.Struct({ |
| 27997 | decision: ApplyPatchApprovalResponse__ReviewDecision, | 29375 | decision: ApplyPatchApprovalResponse__ReviewDecision, |
| 27998 | }).annotate({ title: "ApplyPatchApprovalResponse" }); | 29376 | }).annotate({ title: "ApplyPatchApprovalResponse" }); |
| 27999 | | 29377 | |
| | 29378 | export type AttestationGenerateParams = {}; |
| | 29379 | export const AttestationGenerateParams = Schema.Struct({}).annotate({ |
| | 29380 | title: "AttestationGenerateParams", |
| | 29381 | }); |
| | 29382 | |
| | 29383 | export type AttestationGenerateResponse = { readonly token: string }; |
| | 29384 | export const AttestationGenerateResponse = Schema.Struct({ |
| | 29385 | token: Schema.String.annotate({ description: "Opaque client attestation token." }), |
| | 29386 | }).annotate({ title: "AttestationGenerateResponse" }); |
| | 29387 | |
| 28000 | export type ChatgptAuthTokensRefreshParams = { | 29388 | export type ChatgptAuthTokensRefreshParams = { |
| 28001 | readonly previousAccountId?: string | null; | 29389 | readonly previousAccountId?: string | null; |
| 28002 | readonly reason: ChatgptAuthTokensRefreshParams__ChatgptAuthTokensRefreshReason; | 29390 | readonly reason: ChatgptAuthTokensRefreshParams__ChatgptAuthTokensRefreshReason; |
| ... | @@ -28061,6 +29449,11 @@ export type ClientRequest = | ... | @@ -28061,6 +29449,11 @@ export type ClientRequest = |
| 28061 | readonly method: "thread/archive"; | 29449 | readonly method: "thread/archive"; |
| 28062 | readonly params: ClientRequest__ThreadArchiveParams; | 29450 | readonly params: ClientRequest__ThreadArchiveParams; |
| 28063 | } | 29451 | } |
| | 29452 | | { |
| | 29453 | readonly id: ClientRequest__RequestId; |
| | 29454 | readonly method: "thread/delete"; |
| | 29455 | readonly params: ClientRequest__ThreadDeleteParams; |
| | 29456 | } |
| 28064 | | { | 29457 | | { |
| 28065 | readonly id: ClientRequest__RequestId; | 29458 | readonly id: ClientRequest__RequestId; |
| 28066 | readonly method: "thread/unsubscribe"; | 29459 | readonly method: "thread/unsubscribe"; |
| ... | @@ -28071,6 +29464,21 @@ export type ClientRequest = | ... | @@ -28071,6 +29464,21 @@ export type ClientRequest = |
| 28071 | readonly method: "thread/name/set"; | 29464 | readonly method: "thread/name/set"; |
| 28072 | readonly params: ClientRequest__ThreadSetNameParams; | 29465 | readonly params: ClientRequest__ThreadSetNameParams; |
| 28073 | } | 29466 | } |
| | 29467 | | { |
| | 29468 | readonly id: ClientRequest__RequestId; |
| | 29469 | readonly method: "thread/goal/set"; |
| | 29470 | readonly params: ClientRequest__ThreadGoalSetParams; |
| | 29471 | } |
| | 29472 | | { |
| | 29473 | readonly id: ClientRequest__RequestId; |
| | 29474 | readonly method: "thread/goal/get"; |
| | 29475 | readonly params: ClientRequest__ThreadGoalGetParams; |
| | 29476 | } |
| | 29477 | | { |
| | 29478 | readonly id: ClientRequest__RequestId; |
| | 29479 | readonly method: "thread/goal/clear"; |
| | 29480 | readonly params: ClientRequest__ThreadGoalClearParams; |
| | 29481 | } |
| 28074 | | { | 29482 | | { |
| 28075 | readonly id: ClientRequest__RequestId; | 29483 | readonly id: ClientRequest__RequestId; |
| 28076 | readonly method: "thread/metadata/update"; | 29484 | readonly method: "thread/metadata/update"; |
| ... | @@ -28126,6 +29534,11 @@ export type ClientRequest = | ... | @@ -28126,6 +29534,11 @@ export type ClientRequest = |
| 28126 | readonly method: "skills/list"; | 29534 | readonly method: "skills/list"; |
| 28127 | readonly params: ClientRequest__SkillsListParams; | 29535 | readonly params: ClientRequest__SkillsListParams; |
| 28128 | } | 29536 | } |
| | 29537 | | { |
| | 29538 | readonly id: ClientRequest__RequestId; |
| | 29539 | readonly method: "skills/extraRoots/set"; |
| | 29540 | readonly params: ClientRequest__SkillsExtraRootsSetParams; |
| | 29541 | } |
| 28129 | | { | 29542 | | { |
| 28130 | readonly id: ClientRequest__RequestId; | 29543 | readonly id: ClientRequest__RequestId; |
| 28131 | readonly method: "hooks/list"; | 29544 | readonly method: "hooks/list"; |
| ... | @@ -28151,6 +29564,11 @@ export type ClientRequest = | ... | @@ -28151,6 +29564,11 @@ export type ClientRequest = |
| 28151 | readonly method: "plugin/list"; | 29564 | readonly method: "plugin/list"; |
| 28152 | readonly params: ClientRequest__PluginListParams; | 29565 | readonly params: ClientRequest__PluginListParams; |
| 28153 | } | 29566 | } |
| | 29567 | | { |
| | 29568 | readonly id: ClientRequest__RequestId; |
| | 29569 | readonly method: "plugin/installed"; |
| | 29570 | readonly params: ClientRequest__PluginInstalledParams; |
| | 29571 | } |
| 28154 | | { | 29572 | | { |
| 28155 | readonly id: ClientRequest__RequestId; | 29573 | readonly id: ClientRequest__RequestId; |
| 28156 | readonly method: "plugin/read"; | 29574 | readonly method: "plugin/read"; |
| ... | @@ -28176,6 +29594,11 @@ export type ClientRequest = | ... | @@ -28176,6 +29594,11 @@ export type ClientRequest = |
| 28176 | readonly method: "plugin/share/list"; | 29594 | readonly method: "plugin/share/list"; |
| 28177 | readonly params: ClientRequest__PluginShareListParams; | 29595 | readonly params: ClientRequest__PluginShareListParams; |
| 28178 | } | 29596 | } |
| | 29597 | | { |
| | 29598 | readonly id: ClientRequest__RequestId; |
| | 29599 | readonly method: "plugin/share/checkout"; |
| | 29600 | readonly params: ClientRequest__PluginShareCheckoutParams; |
| | 29601 | } |
| 28179 | | { | 29602 | | { |
| 28180 | readonly id: ClientRequest__RequestId; | 29603 | readonly id: ClientRequest__RequestId; |
| 28181 | readonly method: "plugin/share/delete"; | 29604 | readonly method: "plugin/share/delete"; |
| ... | @@ -28281,6 +29704,11 @@ export type ClientRequest = | ... | @@ -28281,6 +29704,11 @@ export type ClientRequest = |
| 28281 | readonly method: "experimentalFeature/list"; | 29704 | readonly method: "experimentalFeature/list"; |
| 28282 | readonly params: ClientRequest__ExperimentalFeatureListParams; | 29705 | readonly params: ClientRequest__ExperimentalFeatureListParams; |
| 28283 | } | 29706 | } |
| | 29707 | | { |
| | 29708 | readonly id: ClientRequest__RequestId; |
| | 29709 | readonly method: "permissionProfile/list"; |
| | 29710 | readonly params: ClientRequest__PermissionProfileListParams; |
| | 29711 | } |
| 28284 | | { | 29712 | | { |
| 28285 | readonly id: ClientRequest__RequestId; | 29713 | readonly id: ClientRequest__RequestId; |
| 28286 | readonly method: "experimentalFeature/enablement/set"; | 29714 | readonly method: "experimentalFeature/enablement/set"; |
| ... | @@ -28341,6 +29769,11 @@ export type ClientRequest = | ... | @@ -28341,6 +29769,11 @@ export type ClientRequest = |
| 28341 | readonly method: "account/rateLimits/read"; | 29769 | readonly method: "account/rateLimits/read"; |
| 28342 | readonly params?: null; | 29770 | readonly params?: null; |
| 28343 | } | 29771 | } |
| | 29772 | | { |
| | 29773 | readonly id: ClientRequest__RequestId; |
| | 29774 | readonly method: "account/usage/read"; |
| | 29775 | readonly params?: null; |
| | 29776 | } |
| 28344 | | { | 29777 | | { |
| 28345 | readonly id: ClientRequest__RequestId; | 29778 | readonly id: ClientRequest__RequestId; |
| 28346 | readonly method: "account/sendAddCreditsNudgeEmail"; | 29779 | readonly method: "account/sendAddCreditsNudgeEmail"; |
| ... | @@ -28438,6 +29871,11 @@ export const ClientRequest = Schema.Union( | ... | @@ -28438,6 +29871,11 @@ export const ClientRequest = Schema.Union( |
| 28438 | method: Schema.Literal("thread/archive").annotate({ title: "Thread/archiveRequestMethod" }), | 29871 | method: Schema.Literal("thread/archive").annotate({ title: "Thread/archiveRequestMethod" }), |
| 28439 | params: ClientRequest__ThreadArchiveParams, | 29872 | params: ClientRequest__ThreadArchiveParams, |
| 28440 | }).annotate({ title: "Thread/archiveRequest" }), | 29873 | }).annotate({ title: "Thread/archiveRequest" }), |
| | 29874 | Schema.Struct({ |
| | 29875 | id: ClientRequest__RequestId, |
| | 29876 | method: Schema.Literal("thread/delete").annotate({ title: "Thread/deleteRequestMethod" }), |
| | 29877 | params: ClientRequest__ThreadDeleteParams, |
| | 29878 | }).annotate({ title: "Thread/deleteRequest" }), |
| 28441 | Schema.Struct({ | 29879 | Schema.Struct({ |
| 28442 | id: ClientRequest__RequestId, | 29880 | id: ClientRequest__RequestId, |
| 28443 | method: Schema.Literal("thread/unsubscribe").annotate({ | 29881 | method: Schema.Literal("thread/unsubscribe").annotate({ |
| ... | @@ -28450,6 +29888,23 @@ export const ClientRequest = Schema.Union( | ... | @@ -28450,6 +29888,23 @@ export const ClientRequest = Schema.Union( |
| 28450 | method: Schema.Literal("thread/name/set").annotate({ title: "Thread/name/setRequestMethod" }), | 29888 | method: Schema.Literal("thread/name/set").annotate({ title: "Thread/name/setRequestMethod" }), |
| 28451 | params: ClientRequest__ThreadSetNameParams, | 29889 | params: ClientRequest__ThreadSetNameParams, |
| 28452 | }).annotate({ title: "Thread/name/setRequest" }), | 29890 | }).annotate({ title: "Thread/name/setRequest" }), |
| | 29891 | Schema.Struct({ |
| | 29892 | id: ClientRequest__RequestId, |
| | 29893 | method: Schema.Literal("thread/goal/set").annotate({ title: "Thread/goal/setRequestMethod" }), |
| | 29894 | params: ClientRequest__ThreadGoalSetParams, |
| | 29895 | }).annotate({ title: "Thread/goal/setRequest" }), |
| | 29896 | Schema.Struct({ |
| | 29897 | id: ClientRequest__RequestId, |
| | 29898 | method: Schema.Literal("thread/goal/get").annotate({ title: "Thread/goal/getRequestMethod" }), |
| | 29899 | params: ClientRequest__ThreadGoalGetParams, |
| | 29900 | }).annotate({ title: "Thread/goal/getRequest" }), |
| | 29901 | Schema.Struct({ |
| | 29902 | id: ClientRequest__RequestId, |
| | 29903 | method: Schema.Literal("thread/goal/clear").annotate({ |
| | 29904 | title: "Thread/goal/clearRequestMethod", |
| | 29905 | }), |
| | 29906 | params: ClientRequest__ThreadGoalClearParams, |
| | 29907 | }).annotate({ title: "Thread/goal/clearRequest" }), |
| 28453 | Schema.Struct({ | 29908 | Schema.Struct({ |
| 28454 | id: ClientRequest__RequestId, | 29909 | id: ClientRequest__RequestId, |
| 28455 | method: Schema.Literal("thread/metadata/update").annotate({ | 29910 | method: Schema.Literal("thread/metadata/update").annotate({ |
| ... | @@ -28523,6 +29978,13 @@ export const ClientRequest = Schema.Union( | ... | @@ -28523,6 +29978,13 @@ export const ClientRequest = Schema.Union( |
| 28523 | method: Schema.Literal("skills/list").annotate({ title: "Skills/listRequestMethod" }), | 29978 | method: Schema.Literal("skills/list").annotate({ title: "Skills/listRequestMethod" }), |
| 28524 | params: ClientRequest__SkillsListParams, | 29979 | params: ClientRequest__SkillsListParams, |
| 28525 | }).annotate({ title: "Skills/listRequest" }), | 29980 | }).annotate({ title: "Skills/listRequest" }), |
| | 29981 | Schema.Struct({ |
| | 29982 | id: ClientRequest__RequestId, |
| | 29983 | method: Schema.Literal("skills/extraRoots/set").annotate({ |
| | 29984 | title: "Skills/extraRoots/setRequestMethod", |
| | 29985 | }), |
| | 29986 | params: ClientRequest__SkillsExtraRootsSetParams, |
| | 29987 | }).annotate({ title: "Skills/extraRoots/setRequest" }), |
| 28526 | Schema.Struct({ | 29988 | Schema.Struct({ |
| 28527 | id: ClientRequest__RequestId, | 29989 | id: ClientRequest__RequestId, |
| 28528 | method: Schema.Literal("hooks/list").annotate({ title: "Hooks/listRequestMethod" }), | 29990 | method: Schema.Literal("hooks/list").annotate({ title: "Hooks/listRequestMethod" }), |
| ... | @@ -28552,6 +30014,13 @@ export const ClientRequest = Schema.Union( | ... | @@ -28552,6 +30014,13 @@ export const ClientRequest = Schema.Union( |
| 28552 | method: Schema.Literal("plugin/list").annotate({ title: "Plugin/listRequestMethod" }), | 30014 | method: Schema.Literal("plugin/list").annotate({ title: "Plugin/listRequestMethod" }), |
| 28553 | params: ClientRequest__PluginListParams, | 30015 | params: ClientRequest__PluginListParams, |
| 28554 | }).annotate({ title: "Plugin/listRequest" }), | 30016 | }).annotate({ title: "Plugin/listRequest" }), |
| | 30017 | Schema.Struct({ |
| | 30018 | id: ClientRequest__RequestId, |
| | 30019 | method: Schema.Literal("plugin/installed").annotate({ |
| | 30020 | title: "Plugin/installedRequestMethod", |
| | 30021 | }), |
| | 30022 | params: ClientRequest__PluginInstalledParams, |
| | 30023 | }).annotate({ title: "Plugin/installedRequest" }), |
| 28555 | Schema.Struct({ | 30024 | Schema.Struct({ |
| 28556 | id: ClientRequest__RequestId, | 30025 | id: ClientRequest__RequestId, |
| 28557 | method: Schema.Literal("plugin/read").annotate({ title: "Plugin/readRequestMethod" }), | 30026 | method: Schema.Literal("plugin/read").annotate({ title: "Plugin/readRequestMethod" }), |
| ... | @@ -28585,6 +30054,13 @@ export const ClientRequest = Schema.Union( | ... | @@ -28585,6 +30054,13 @@ export const ClientRequest = Schema.Union( |
| 28585 | }), | 30054 | }), |
| 28586 | params: ClientRequest__PluginShareListParams, | 30055 | params: ClientRequest__PluginShareListParams, |
| 28587 | }).annotate({ title: "Plugin/share/listRequest" }), | 30056 | }).annotate({ title: "Plugin/share/listRequest" }), |
| | 30057 | Schema.Struct({ |
| | 30058 | id: ClientRequest__RequestId, |
| | 30059 | method: Schema.Literal("plugin/share/checkout").annotate({ |
| | 30060 | title: "Plugin/share/checkoutRequestMethod", |
| | 30061 | }), |
| | 30062 | params: ClientRequest__PluginShareCheckoutParams, |
| | 30063 | }).annotate({ title: "Plugin/share/checkoutRequest" }), |
| 28588 | Schema.Struct({ | 30064 | Schema.Struct({ |
| 28589 | id: ClientRequest__RequestId, | 30065 | id: ClientRequest__RequestId, |
| 28590 | method: Schema.Literal("plugin/share/delete").annotate({ | 30066 | method: Schema.Literal("plugin/share/delete").annotate({ |
| ... | @@ -28704,6 +30180,13 @@ export const ClientRequest = Schema.Union( | ... | @@ -28704,6 +30180,13 @@ export const ClientRequest = Schema.Union( |
| 28704 | }), | 30180 | }), |
| 28705 | params: ClientRequest__ExperimentalFeatureListParams, | 30181 | params: ClientRequest__ExperimentalFeatureListParams, |
| 28706 | }).annotate({ title: "ExperimentalFeature/listRequest" }), | 30182 | }).annotate({ title: "ExperimentalFeature/listRequest" }), |
| | 30183 | Schema.Struct({ |
| | 30184 | id: ClientRequest__RequestId, |
| | 30185 | method: Schema.Literal("permissionProfile/list").annotate({ |
| | 30186 | title: "PermissionProfile/listRequestMethod", |
| | 30187 | }), |
| | 30188 | params: ClientRequest__PermissionProfileListParams, |
| | 30189 | }).annotate({ title: "PermissionProfile/listRequest" }), |
| 28707 | Schema.Struct({ | 30190 | Schema.Struct({ |
| 28708 | id: ClientRequest__RequestId, | 30191 | id: ClientRequest__RequestId, |
| 28709 | method: Schema.Literal("experimentalFeature/enablement/set").annotate({ | 30192 | method: Schema.Literal("experimentalFeature/enablement/set").annotate({ |
| ... | @@ -28786,6 +30269,13 @@ export const ClientRequest = Schema.Union( | ... | @@ -28786,6 +30269,13 @@ export const ClientRequest = Schema.Union( |
| 28786 | }), | 30269 | }), |
| 28787 | params: Schema.optionalKey(Schema.Null), | 30270 | params: Schema.optionalKey(Schema.Null), |
| 28788 | }).annotate({ title: "Account/rateLimits/readRequest" }), | 30271 | }).annotate({ title: "Account/rateLimits/readRequest" }), |
| | 30272 | Schema.Struct({ |
| | 30273 | id: ClientRequest__RequestId, |
| | 30274 | method: Schema.Literal("account/usage/read").annotate({ |
| | 30275 | title: "Account/usage/readRequestMethod", |
| | 30276 | }), |
| | 30277 | params: Schema.optionalKey(Schema.Null), |
| | 30278 | }).annotate({ title: "Account/usage/readRequest" }), |
| 28789 | Schema.Struct({ | 30279 | Schema.Struct({ |
| 28790 | id: ClientRequest__RequestId, | 30280 | id: ClientRequest__RequestId, |
| 28791 | method: Schema.Literal("account/sendAddCreditsNudgeEmail").annotate({ | 30281 | method: Schema.Literal("account/sendAddCreditsNudgeEmail").annotate({ |
| ... | @@ -28891,6 +30381,15 @@ export const ClientRequest = Schema.Union( | ... | @@ -28891,6 +30381,15 @@ export const ClientRequest = Schema.Union( |
| 28891 | { mode: "oneOf" }, | 30381 | { mode: "oneOf" }, |
| 28892 | ).annotate({ title: "ClientRequest", description: "Request from the client to the server." }); | 30382 | ).annotate({ title: "ClientRequest", description: "Request from the client to the server." }); |
| 28893 | | 30383 | |
| | 30384 | export type ClientRequest__AdditionalContextEntry = { |
| | 30385 | readonly kind: ClientRequest__AdditionalContextKind; |
| | 30386 | readonly value: string; |
| | 30387 | }; |
| | 30388 | export const ClientRequest__AdditionalContextEntry = Schema.Struct({ |
| | 30389 | kind: ClientRequest__AdditionalContextKind, |
| | 30390 | value: Schema.String, |
| | 30391 | }); |
| | 30392 | |
| 28894 | export type ClientRequest__ByteRange = { readonly end: number; readonly start: number }; | 30393 | export type ClientRequest__ByteRange = { readonly end: number; readonly start: number }; |
| 28895 | export const ClientRequest__ByteRange = Schema.Struct({ | 30394 | export const ClientRequest__ByteRange = Schema.Struct({ |
| 28896 | end: Schema.Number.annotate({ format: "uint" }) | 30395 | end: Schema.Number.annotate({ format: "uint" }) |
| ... | @@ -28901,6 +30400,27 @@ export const ClientRequest__ByteRange = Schema.Struct({ | ... | @@ -28901,6 +30400,27 @@ export const ClientRequest__ByteRange = Schema.Struct({ |
| 28901 | .check(Schema.isGreaterThanOrEqualTo(0)), | 30400 | .check(Schema.isGreaterThanOrEqualTo(0)), |
| 28902 | }); | 30401 | }); |
| 28903 | | 30402 | |
| | 30403 | export type ClientRequest__CapabilityRootLocation = { |
| | 30404 | readonly environmentId: string; |
| | 30405 | readonly path: string; |
| | 30406 | readonly type: "environment"; |
| | 30407 | }; |
| | 30408 | export const ClientRequest__CapabilityRootLocation = Schema.Union( |
| | 30409 | [ |
| | 30410 | Schema.Struct({ |
| | 30411 | environmentId: Schema.String, |
| | 30412 | path: Schema.String, |
| | 30413 | type: Schema.Literal("environment").annotate({ |
| | 30414 | title: "EnvironmentCapabilityRootLocationType", |
| | 30415 | }), |
| | 30416 | }).annotate({ |
| | 30417 | title: "EnvironmentCapabilityRootLocation", |
| | 30418 | description: "A path owned by an execution environment.", |
| | 30419 | }), |
| | 30420 | ], |
| | 30421 | { mode: "oneOf" }, |
| | 30422 | ).annotate({ description: "Location used to resolve a selected capability root." }); |
| | 30423 | |
| 28904 | export type ClientRequest__CollaborationMode = { | 30424 | export type ClientRequest__CollaborationMode = { |
| 28905 | readonly mode: ClientRequest__ModeKind; | 30425 | readonly mode: ClientRequest__ModeKind; |
| 28906 | readonly settings: ClientRequest__Settings; | 30426 | readonly settings: ClientRequest__Settings; |
| ... | @@ -28928,71 +30448,6 @@ export const ClientRequest__DynamicToolSpec = Schema.Struct({ | ... | @@ -28928,71 +30448,6 @@ export const ClientRequest__DynamicToolSpec = Schema.Struct({ |
| 28928 | export type ClientRequest__NetworkAccess = "restricted" | "enabled"; | 30448 | export type ClientRequest__NetworkAccess = "restricted" | "enabled"; |
| 28929 | export const ClientRequest__NetworkAccess = Schema.Literals(["restricted", "enabled"]); | 30449 | export const ClientRequest__NetworkAccess = Schema.Literals(["restricted", "enabled"]); |
| 28930 | | 30450 | |
| 28931 | export type ClientRequest__PermissionProfile = | | |
| 28932 | | { | | |
| 28933 | readonly fileSystem: ClientRequest__PermissionProfileFileSystemPermissions; | | |
| 28934 | readonly network: ClientRequest__PermissionProfileNetworkPermissions; | | |
| 28935 | readonly type: "managed"; | | |
| 28936 | } | | |
| 28937 | | { readonly type: "disabled" } | | |
| 28938 | | { | | |
| 28939 | readonly network: ClientRequest__PermissionProfileNetworkPermissions; | | |
| 28940 | readonly type: "external"; | | |
| 28941 | }; | | |
| 28942 | export const ClientRequest__PermissionProfile = Schema.Union( | | |
| 28943 | [ | | |
| 28944 | Schema.Struct({ | | |
| 28945 | fileSystem: ClientRequest__PermissionProfileFileSystemPermissions, | | |
| 28946 | network: ClientRequest__PermissionProfileNetworkPermissions, | | |
| 28947 | type: Schema.Literal("managed").annotate({ title: "ManagedPermissionProfileType" }), | | |
| 28948 | }).annotate({ | | |
| 28949 | title: "ManagedPermissionProfile", | | |
| 28950 | description: "Codex owns sandbox construction for this profile.", | | |
| 28951 | }), | | |
| 28952 | Schema.Struct({ | | |
| 28953 | type: Schema.Literal("disabled").annotate({ title: "DisabledPermissionProfileType" }), | | |
| 28954 | }).annotate({ | | |
| 28955 | title: "DisabledPermissionProfile", | | |
| 28956 | description: "Do not apply an outer sandbox.", | | |
| 28957 | }), | | |
| 28958 | Schema.Struct({ | | |
| 28959 | network: ClientRequest__PermissionProfileNetworkPermissions, | | |
| 28960 | type: Schema.Literal("external").annotate({ title: "ExternalPermissionProfileType" }), | | |
| 28961 | }).annotate({ | | |
| 28962 | title: "ExternalPermissionProfile", | | |
| 28963 | description: "Filesystem isolation is enforced by an external caller.", | | |
| 28964 | }), | | |
| 28965 | ], | | |
| 28966 | { mode: "oneOf" }, | | |
| 28967 | ); | | |
| 28968 | | | |
| 28969 | export type ClientRequest__PermissionProfileSelectionParams = { | | |
| 28970 | readonly id: string; | | |
| 28971 | readonly modifications?: ReadonlyArray<ClientRequest__PermissionProfileModificationParams> | null; | | |
| 28972 | readonly type: "profile"; | | |
| 28973 | }; | | |
| 28974 | export const ClientRequest__PermissionProfileSelectionParams = Schema.Union( | | |
| 28975 | [ | | |
| 28976 | Schema.Struct({ | | |
| 28977 | id: Schema.String, | | |
| 28978 | modifications: Schema.optionalKey( | | |
| 28979 | Schema.Union([ | | |
| 28980 | Schema.Array(ClientRequest__PermissionProfileModificationParams), | | |
| 28981 | Schema.Null, | | |
| 28982 | ]), | | |
| 28983 | ), | | |
| 28984 | type: Schema.Literal("profile").annotate({ | | |
| 28985 | title: "ProfilePermissionProfileSelectionParamsType", | | |
| 28986 | }), | | |
| 28987 | }).annotate({ | | |
| 28988 | title: "ProfilePermissionProfileSelectionParams", | | |
| 28989 | description: | | |
| 28990 | "Select a named built-in or user-defined profile and optionally apply bounded modifications that Codex knows how to validate.", | | |
| 28991 | }), | | |
| 28992 | ], | | |
| 28993 | { mode: "oneOf" }, | | |
| 28994 | ); | | |
| 28995 | | | |
| 28996 | export type ClientRequest__ProcessTerminalSize = { readonly cols: number; readonly rows: number }; | 30451 | export type ClientRequest__ProcessTerminalSize = { readonly cols: number; readonly rows: number }; |
| 28997 | export const ClientRequest__ProcessTerminalSize = Schema.Struct({ | 30452 | export const ClientRequest__ProcessTerminalSize = Schema.Struct({ |
| 28998 | cols: Schema.Number.annotate({ | 30453 | cols: Schema.Number.annotate({ |
| ... | @@ -29009,6 +30464,9 @@ export const ClientRequest__ProcessTerminalSize = Schema.Struct({ | ... | @@ -29009,6 +30464,9 @@ export const ClientRequest__ProcessTerminalSize = Schema.Struct({ |
| 29009 | .check(Schema.isGreaterThanOrEqualTo(0)), | 30464 | .check(Schema.isGreaterThanOrEqualTo(0)), |
| 29010 | }).annotate({ description: "PTY size in character cells for `process/spawn` PTY sessions." }); | 30465 | }).annotate({ description: "PTY size in character cells for `process/spawn` PTY sessions." }); |
| 29011 | | 30466 | |
| | 30467 | export type ClientRequest__RealtimeConversationVersion = "v1" | "v2"; |
| | 30468 | export const ClientRequest__RealtimeConversationVersion = Schema.Literals(["v1", "v2"]); |
| | 30469 | |
| 29012 | export type ClientRequest__RealtimeOutputModality = "text" | "audio"; | 30470 | export type ClientRequest__RealtimeOutputModality = "text" | "audio"; |
| 29013 | export const ClientRequest__RealtimeOutputModality = Schema.Literals(["text", "audio"]); | 30471 | export const ClientRequest__RealtimeOutputModality = Schema.Literals(["text", "audio"]); |
| 29014 | | 30472 | |
| ... | @@ -29062,6 +30520,12 @@ export type ClientRequest__ResponseItem = | ... | @@ -29062,6 +30520,12 @@ export type ClientRequest__ResponseItem = |
| 29062 | readonly role: string; | 30520 | readonly role: string; |
| 29063 | readonly type: "message"; | 30521 | readonly type: "message"; |
| 29064 | } | 30522 | } |
| | 30523 | | { |
| | 30524 | readonly author: string; |
| | 30525 | readonly content: ReadonlyArray<ClientRequest__AgentMessageInputContent>; |
| | 30526 | readonly recipient: string; |
| | 30527 | readonly type: "agent_message"; |
| | 30528 | } |
| 29065 | | { | 30529 | | { |
| 29066 | readonly content?: ReadonlyArray<ClientRequest__ReasoningItemContent> | null; | 30530 | readonly content?: ReadonlyArray<ClientRequest__ReasoningItemContent> | null; |
| 29067 | readonly encrypted_content?: string | null; | 30531 | readonly encrypted_content?: string | null; |
| ... | @@ -29131,6 +30595,7 @@ export type ClientRequest__ResponseItem = | ... | @@ -29131,6 +30595,7 @@ export type ClientRequest__ResponseItem = |
| 29131 | readonly type: "image_generation_call"; | 30595 | readonly type: "image_generation_call"; |
| 29132 | } | 30596 | } |
| 29133 | | { readonly encrypted_content: string; readonly type: "compaction" } | 30597 | | { readonly encrypted_content: string; readonly type: "compaction" } |
| | 30598 | | { readonly type: "compaction_trigger" } |
| 29134 | | { readonly encrypted_content?: string | null; readonly type: "context_compaction" } | 30599 | | { readonly encrypted_content?: string | null; readonly type: "context_compaction" } |
| 29135 | | { readonly type: "other" }; | 30600 | | { readonly type: "other" }; |
| 29136 | export const ClientRequest__ResponseItem = Schema.Union( | 30601 | export const ClientRequest__ResponseItem = Schema.Union( |
| ... | @@ -29144,6 +30609,12 @@ export const ClientRequest__ResponseItem = Schema.Union( | ... | @@ -29144,6 +30609,12 @@ export const ClientRequest__ResponseItem = Schema.Union( |
| 29144 | role: Schema.String, | 30609 | role: Schema.String, |
| 29145 | type: Schema.Literal("message").annotate({ title: "MessageResponseItemType" }), | 30610 | type: Schema.Literal("message").annotate({ title: "MessageResponseItemType" }), |
| 29146 | }).annotate({ title: "MessageResponseItem" }), | 30611 | }).annotate({ title: "MessageResponseItem" }), |
| | 30612 | Schema.Struct({ |
| | 30613 | author: Schema.String, |
| | 30614 | content: Schema.Array(ClientRequest__AgentMessageInputContent), |
| | 30615 | recipient: Schema.String, |
| | 30616 | type: Schema.Literal("agent_message").annotate({ title: "AgentMessageResponseItemType" }), |
| | 30617 | }).annotate({ title: "AgentMessageResponseItem" }), |
| 29147 | Schema.Struct({ | 30618 | Schema.Struct({ |
| 29148 | content: Schema.optionalKey( | 30619 | content: Schema.optionalKey( |
| 29149 | Schema.Union([Schema.Array(ClientRequest__ReasoningItemContent), Schema.Null]), | 30620 | Schema.Union([Schema.Array(ClientRequest__ReasoningItemContent), Schema.Null]), |
| ... | @@ -29255,6 +30726,11 @@ export const ClientRequest__ResponseItem = Schema.Union( | ... | @@ -29255,6 +30726,11 @@ export const ClientRequest__ResponseItem = Schema.Union( |
| 29255 | encrypted_content: Schema.String, | 30726 | encrypted_content: Schema.String, |
| 29256 | type: Schema.Literal("compaction").annotate({ title: "CompactionResponseItemType" }), | 30727 | type: Schema.Literal("compaction").annotate({ title: "CompactionResponseItemType" }), |
| 29257 | }).annotate({ title: "CompactionResponseItem" }), | 30728 | }).annotate({ title: "CompactionResponseItem" }), |
| | 30729 | Schema.Struct({ |
| | 30730 | type: Schema.Literal("compaction_trigger").annotate({ |
| | 30731 | title: "CompactionTriggerResponseItemType", |
| | 30732 | }), |
| | 30733 | }).annotate({ title: "CompactionTriggerResponseItem" }), |
| 29258 | Schema.Struct({ | 30734 | Schema.Struct({ |
| 29259 | encrypted_content: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 30735 | encrypted_content: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 29260 | type: Schema.Literal("context_compaction").annotate({ | 30736 | type: Schema.Literal("context_compaction").annotate({ |
| ... | @@ -29268,13 +30744,36 @@ export const ClientRequest__ResponseItem = Schema.Union( | ... | @@ -29268,13 +30744,36 @@ export const ClientRequest__ResponseItem = Schema.Union( |
| 29268 | { mode: "oneOf" }, | 30744 | { mode: "oneOf" }, |
| 29269 | ); | 30745 | ); |
| 29270 | | 30746 | |
| 29271 | export type ClientRequest__ThreadGoalStatus = "active" | "paused" | "budgetLimited" | "complete"; | 30747 | export type ClientRequest__SelectedCapabilityRoot = { |
| 29272 | export const ClientRequest__ThreadGoalStatus = Schema.Literals([ | 30748 | readonly id: string; |
| 29273 | "active", | 30749 | readonly location: { |
| 29274 | "paused", | 30750 | readonly environmentId: string; |
| 29275 | "budgetLimited", | 30751 | readonly path: string; |
| 29276 | "complete", | 30752 | readonly type: "environment"; |
| 29277 | ]); | 30753 | }; |
| | 30754 | }; |
| | 30755 | export const ClientRequest__SelectedCapabilityRoot = Schema.Struct({ |
| | 30756 | id: Schema.String.annotate({ |
| | 30757 | description: "Stable identifier supplied by the capability selection platform.", |
| | 30758 | }), |
| | 30759 | location: Schema.Union( |
| | 30760 | [ |
| | 30761 | Schema.Struct({ |
| | 30762 | environmentId: Schema.String, |
| | 30763 | path: Schema.String, |
| | 30764 | type: Schema.Literal("environment").annotate({ |
| | 30765 | title: "EnvironmentCapabilityRootLocationType", |
| | 30766 | }), |
| | 30767 | }).annotate({ |
| | 30768 | title: "EnvironmentCapabilityRootLocation", |
| | 30769 | description: "A path owned by an execution environment.", |
| | 30770 | }), |
| | 30771 | ], |
| | 30772 | { mode: "oneOf" }, |
| | 30773 | ).annotate({ description: "Location used to resolve a selected capability root." }), |
| | 30774 | }).annotate({ |
| | 30775 | description: "A user-selected root that can expose one or more runtime capabilities.", |
| | 30776 | }); |
| 29278 | | 30777 | |
| 29279 | export type ClientRequest__ThreadMemoryMode = "enabled" | "disabled"; | 30778 | export type ClientRequest__ThreadMemoryMode = "enabled" | "disabled"; |
| 29280 | export const ClientRequest__ThreadMemoryMode = Schema.Literals(["enabled", "disabled"]); | 30779 | export const ClientRequest__ThreadMemoryMode = Schema.Literals(["enabled", "disabled"]); |
| ... | @@ -29326,6 +30825,32 @@ export const ClientRequest__ThreadRealtimeStartTransport = Schema.Union( | ... | @@ -29326,6 +30825,32 @@ export const ClientRequest__ThreadRealtimeStartTransport = Schema.Union( |
| 29326 | { mode: "oneOf" }, | 30825 | { mode: "oneOf" }, |
| 29327 | ).annotate({ description: "EXPERIMENTAL - transport used by thread realtime." }); | 30826 | ).annotate({ description: "EXPERIMENTAL - transport used by thread realtime." }); |
| 29328 | | 30827 | |
| | 30828 | export type ClientRequest__ThreadResumeInitialTurnsPageParams = { |
| | 30829 | readonly itemsView?: ClientRequest__TurnItemsView | null; |
| | 30830 | readonly limit?: number | null; |
| | 30831 | readonly sortDirection?: ClientRequest__SortDirection | null; |
| | 30832 | }; |
| | 30833 | export const ClientRequest__ThreadResumeInitialTurnsPageParams = Schema.Struct({ |
| | 30834 | itemsView: Schema.optionalKey( |
| | 30835 | Schema.Union([ClientRequest__TurnItemsView, Schema.Null]).annotate({ |
| | 30836 | description: "How much item detail to include for each returned turn; defaults to summary.", |
| | 30837 | }), |
| | 30838 | ), |
| | 30839 | limit: Schema.optionalKey( |
| | 30840 | Schema.Union([ |
| | 30841 | Schema.Number.annotate({ description: "Optional turn page size.", format: "uint32" }) |
| | 30842 | .check(Schema.isInt()) |
| | 30843 | .check(Schema.isGreaterThanOrEqualTo(0)), |
| | 30844 | Schema.Null, |
| | 30845 | ]), |
| | 30846 | ), |
| | 30847 | sortDirection: Schema.optionalKey( |
| | 30848 | Schema.Union([ClientRequest__SortDirection, Schema.Null]).annotate({ |
| | 30849 | description: "Optional turn pagination direction; defaults to descending.", |
| | 30850 | }), |
| | 30851 | ), |
| | 30852 | }); |
| | 30853 | |
| 29329 | export type ClientRequest__TurnEnvironmentParams = { | 30854 | export type ClientRequest__TurnEnvironmentParams = { |
| 29330 | readonly cwd: ClientRequest__AbsolutePathBuf; | 30855 | readonly cwd: ClientRequest__AbsolutePathBuf; |
| 29331 | readonly environmentId: string; | 30856 | readonly environmentId: string; |
| ... | @@ -29335,9 +30860,6 @@ export const ClientRequest__TurnEnvironmentParams = Schema.Struct({ | ... | @@ -29335,9 +30860,6 @@ export const ClientRequest__TurnEnvironmentParams = Schema.Struct({ |
| 29335 | environmentId: Schema.String, | 30860 | environmentId: Schema.String, |
| 29336 | }); | 30861 | }); |
| 29337 | | 30862 | |
| 29338 | export type ClientRequest__TurnItemsView = "notLoaded" | "summary" | "full"; | | |
| 29339 | export const ClientRequest__TurnItemsView = Schema.Literals(["notLoaded", "summary", "full"]); | | |
| 29340 | | | |
| 29341 | export type CommandExecutionRequestApprovalParams = { | 30863 | export type CommandExecutionRequestApprovalParams = { |
| 29342 | readonly approvalId?: string | null; | 30864 | readonly approvalId?: string | null; |
| 29343 | readonly command?: string | null; | 30865 | readonly command?: string | null; |
| ... | @@ -29348,6 +30870,7 @@ export type CommandExecutionRequestApprovalParams = { | ... | @@ -29348,6 +30870,7 @@ export type CommandExecutionRequestApprovalParams = { |
| 29348 | readonly proposedExecpolicyAmendment?: ReadonlyArray<string> | null; | 30870 | readonly proposedExecpolicyAmendment?: ReadonlyArray<string> | null; |
| 29349 | readonly proposedNetworkPolicyAmendments?: ReadonlyArray<CommandExecutionRequestApprovalParams__NetworkPolicyAmendment> | null; | 30871 | readonly proposedNetworkPolicyAmendments?: ReadonlyArray<CommandExecutionRequestApprovalParams__NetworkPolicyAmendment> | null; |
| 29350 | readonly reason?: string | null; | 30872 | readonly reason?: string | null; |
| | 30873 | readonly startedAtMs: number; |
| 29351 | readonly threadId: string; | 30874 | readonly threadId: string; |
| 29352 | readonly turnId: string; | 30875 | readonly turnId: string; |
| 29353 | }; | 30876 | }; |
| ... | @@ -29413,6 +30936,10 @@ export const CommandExecutionRequestApprovalParams = Schema.Struct({ | ... | @@ -29413,6 +30936,10 @@ export const CommandExecutionRequestApprovalParams = Schema.Struct({ |
| 29413 | Schema.Null, | 30936 | Schema.Null, |
| 29414 | ]), | 30937 | ]), |
| 29415 | ), | 30938 | ), |
| | 30939 | startedAtMs: Schema.Number.annotate({ |
| | 30940 | description: "Unix timestamp (in milliseconds) when this approval request started.", |
| | 30941 | format: "int64", |
| | 30942 | }).check(Schema.isInt()), |
| 29416 | threadId: Schema.String, | 30943 | threadId: Schema.String, |
| 29417 | turnId: Schema.String, | 30944 | turnId: Schema.String, |
| 29418 | }).annotate({ title: "CommandExecutionRequestApprovalParams" }); | 30945 | }).annotate({ title: "CommandExecutionRequestApprovalParams" }); |
| ... | @@ -29556,6 +31083,7 @@ export type FileChangeRequestApprovalParams = { | ... | @@ -29556,6 +31083,7 @@ export type FileChangeRequestApprovalParams = { |
| 29556 | readonly grantRoot?: string | null; | 31083 | readonly grantRoot?: string | null; |
| 29557 | readonly itemId: string; | 31084 | readonly itemId: string; |
| 29558 | readonly reason?: string | null; | 31085 | readonly reason?: string | null; |
| | 31086 | readonly startedAtMs: number; |
| 29559 | readonly threadId: string; | 31087 | readonly threadId: string; |
| 29560 | readonly turnId: string; | 31088 | readonly turnId: string; |
| 29561 | }; | 31089 | }; |
| ... | @@ -29578,6 +31106,10 @@ export const FileChangeRequestApprovalParams = Schema.Struct({ | ... | @@ -29578,6 +31106,10 @@ export const FileChangeRequestApprovalParams = Schema.Struct({ |
| 29578 | Schema.Null, | 31106 | Schema.Null, |
| 29579 | ]), | 31107 | ]), |
| 29580 | ), | 31108 | ), |
| | 31109 | startedAtMs: Schema.Number.annotate({ |
| | 31110 | description: "Unix timestamp (in milliseconds) when this approval request started.", |
| | 31111 | format: "int64", |
| | 31112 | }).check(Schema.isInt()), |
| 29581 | threadId: Schema.String, | 31113 | threadId: Schema.String, |
| 29582 | turnId: Schema.String, | 31114 | turnId: Schema.String, |
| 29583 | }).annotate({ title: "FileChangeRequestApprovalParams" }); | 31115 | }).annotate({ title: "FileChangeRequestApprovalParams" }); |
| ... | @@ -29824,17 +31356,24 @@ export const McpServerElicitationRequestResponse = Schema.Struct({ | ... | @@ -29824,17 +31356,24 @@ export const McpServerElicitationRequestResponse = Schema.Struct({ |
| 29824 | | 31356 | |
| 29825 | export type PermissionsRequestApprovalParams = { | 31357 | export type PermissionsRequestApprovalParams = { |
| 29826 | readonly cwd: PermissionsRequestApprovalParams__AbsolutePathBuf; | 31358 | readonly cwd: PermissionsRequestApprovalParams__AbsolutePathBuf; |
| | 31359 | readonly environmentId?: string | null; |
| 29827 | readonly itemId: string; | 31360 | readonly itemId: string; |
| 29828 | readonly permissions: PermissionsRequestApprovalParams__RequestPermissionProfile; | 31361 | readonly permissions: PermissionsRequestApprovalParams__RequestPermissionProfile; |
| 29829 | readonly reason?: string | null; | 31362 | readonly reason?: string | null; |
| | 31363 | readonly startedAtMs: number; |
| 29830 | readonly threadId: string; | 31364 | readonly threadId: string; |
| 29831 | readonly turnId: string; | 31365 | readonly turnId: string; |
| 29832 | }; | 31366 | }; |
| 29833 | export const PermissionsRequestApprovalParams = Schema.Struct({ | 31367 | export const PermissionsRequestApprovalParams = Schema.Struct({ |
| 29834 | cwd: PermissionsRequestApprovalParams__AbsolutePathBuf, | 31368 | cwd: PermissionsRequestApprovalParams__AbsolutePathBuf, |
| | 31369 | environmentId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 29835 | itemId: Schema.String, | 31370 | itemId: Schema.String, |
| 29836 | permissions: PermissionsRequestApprovalParams__RequestPermissionProfile, | 31371 | permissions: PermissionsRequestApprovalParams__RequestPermissionProfile, |
| 29837 | reason: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 31372 | reason: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 31373 | startedAtMs: Schema.Number.annotate({ |
| | 31374 | description: "Unix timestamp (in milliseconds) when this approval request started.", |
| | 31375 | format: "int64", |
| | 31376 | }).check(Schema.isInt()), |
| 29838 | threadId: Schema.String, | 31377 | threadId: Schema.String, |
| 29839 | turnId: Schema.String, | 31378 | turnId: Schema.String, |
| 29840 | }).annotate({ title: "PermissionsRequestApprovalParams" }); | 31379 | }).annotate({ title: "PermissionsRequestApprovalParams" }); |
| ... | @@ -29884,6 +31423,10 @@ export type ServerNotification = | ... | @@ -29884,6 +31423,10 @@ export type ServerNotification = |
| 29884 | readonly method: "thread/archived"; | 31423 | readonly method: "thread/archived"; |
| 29885 | readonly params: ServerNotification__ThreadArchivedNotification; | 31424 | readonly params: ServerNotification__ThreadArchivedNotification; |
| 29886 | } | 31425 | } |
| | 31426 | | { |
| | 31427 | readonly method: "thread/deleted"; |
| | 31428 | readonly params: ServerNotification__ThreadDeletedNotification; |
| | 31429 | } |
| 29887 | | { | 31430 | | { |
| 29888 | readonly method: "thread/unarchived"; | 31431 | readonly method: "thread/unarchived"; |
| 29889 | readonly params: ServerNotification__ThreadUnarchivedNotification; | 31432 | readonly params: ServerNotification__ThreadUnarchivedNotification; |
| ... | @@ -29908,6 +31451,10 @@ export type ServerNotification = | ... | @@ -29908,6 +31451,10 @@ export type ServerNotification = |
| 29908 | readonly method: "thread/goal/cleared"; | 31451 | readonly method: "thread/goal/cleared"; |
| 29909 | readonly params: ServerNotification__ThreadGoalClearedNotification; | 31452 | readonly params: ServerNotification__ThreadGoalClearedNotification; |
| 29910 | } | 31453 | } |
| | 31454 | | { |
| | 31455 | readonly method: "thread/settings/updated"; |
| | 31456 | readonly params: ServerNotification__ThreadSettingsUpdatedNotification; |
| | 31457 | } |
| 29911 | | { | 31458 | | { |
| 29912 | readonly method: "thread/tokenUsage/updated"; | 31459 | readonly method: "thread/tokenUsage/updated"; |
| 29913 | readonly params: ServerNotification__ThreadTokenUsageUpdatedNotification; | 31460 | readonly params: ServerNotification__ThreadTokenUsageUpdatedNotification; |
| ... | @@ -30049,6 +31596,10 @@ export type ServerNotification = | ... | @@ -30049,6 +31596,10 @@ export type ServerNotification = |
| 30049 | readonly method: "model/verification"; | 31596 | readonly method: "model/verification"; |
| 30050 | readonly params: ServerNotification__ModelVerificationNotification; | 31597 | readonly params: ServerNotification__ModelVerificationNotification; |
| 30051 | } | 31598 | } |
| | 31599 | | { |
| | 31600 | readonly method: "turn/moderationMetadata"; |
| | 31601 | readonly params: ServerNotification__TurnModerationMetadataNotification; |
| | 31602 | } |
| 30052 | | { readonly method: "warning"; readonly params: ServerNotification__WarningNotification } | 31603 | | { readonly method: "warning"; readonly params: ServerNotification__WarningNotification } |
| 30053 | | { | 31604 | | { |
| 30054 | readonly method: "guardianWarning"; | 31605 | readonly method: "guardianWarning"; |
| ... | @@ -30138,6 +31689,12 @@ export const ServerNotification = Schema.Union( | ... | @@ -30138,6 +31689,12 @@ export const ServerNotification = Schema.Union( |
| 30138 | }), | 31689 | }), |
| 30139 | params: ServerNotification__ThreadArchivedNotification, | 31690 | params: ServerNotification__ThreadArchivedNotification, |
| 30140 | }).annotate({ title: "Thread/archivedNotification" }), | 31691 | }).annotate({ title: "Thread/archivedNotification" }), |
| | 31692 | Schema.Struct({ |
| | 31693 | method: Schema.Literal("thread/deleted").annotate({ |
| | 31694 | title: "Thread/deletedNotificationMethod", |
| | 31695 | }), |
| | 31696 | params: ServerNotification__ThreadDeletedNotification, |
| | 31697 | }).annotate({ title: "Thread/deletedNotification" }), |
| 30141 | Schema.Struct({ | 31698 | Schema.Struct({ |
| 30142 | method: Schema.Literal("thread/unarchived").annotate({ | 31699 | method: Schema.Literal("thread/unarchived").annotate({ |
| 30143 | title: "Thread/unarchivedNotificationMethod", | 31700 | title: "Thread/unarchivedNotificationMethod", |
| ... | @@ -30174,6 +31731,12 @@ export const ServerNotification = Schema.Union( | ... | @@ -30174,6 +31731,12 @@ export const ServerNotification = Schema.Union( |
| 30174 | }), | 31731 | }), |
| 30175 | params: ServerNotification__ThreadGoalClearedNotification, | 31732 | params: ServerNotification__ThreadGoalClearedNotification, |
| 30176 | }).annotate({ title: "Thread/goal/clearedNotification" }), | 31733 | }).annotate({ title: "Thread/goal/clearedNotification" }), |
| | 31734 | Schema.Struct({ |
| | 31735 | method: Schema.Literal("thread/settings/updated").annotate({ |
| | 31736 | title: "Thread/settings/updatedNotificationMethod", |
| | 31737 | }), |
| | 31738 | params: ServerNotification__ThreadSettingsUpdatedNotification, |
| | 31739 | }).annotate({ title: "Thread/settings/updatedNotification" }), |
| 30177 | Schema.Struct({ | 31740 | Schema.Struct({ |
| 30178 | method: Schema.Literal("thread/tokenUsage/updated").annotate({ | 31741 | method: Schema.Literal("thread/tokenUsage/updated").annotate({ |
| 30179 | title: "Thread/tokenUsage/updatedNotificationMethod", | 31742 | title: "Thread/tokenUsage/updatedNotificationMethod", |
| ... | @@ -30402,6 +31965,12 @@ export const ServerNotification = Schema.Union( | ... | @@ -30402,6 +31965,12 @@ export const ServerNotification = Schema.Union( |
| 30402 | }), | 31965 | }), |
| 30403 | params: ServerNotification__ModelVerificationNotification, | 31966 | params: ServerNotification__ModelVerificationNotification, |
| 30404 | }).annotate({ title: "Model/verificationNotification" }), | 31967 | }).annotate({ title: "Model/verificationNotification" }), |
| | 31968 | Schema.Struct({ |
| | 31969 | method: Schema.Literal("turn/moderationMetadata").annotate({ |
| | 31970 | title: "Turn/moderationMetadataNotificationMethod", |
| | 31971 | }), |
| | 31972 | params: ServerNotification__TurnModerationMetadataNotification, |
| | 31973 | }).annotate({ title: "Turn/moderationMetadataNotification" }), |
| 30405 | Schema.Struct({ | 31974 | Schema.Struct({ |
| 30406 | method: Schema.Literal("warning").annotate({ title: "WarningNotificationMethod" }), | 31975 | method: Schema.Literal("warning").annotate({ title: "WarningNotificationMethod" }), |
| 30407 | params: ServerNotification__WarningNotification, | 31976 | params: ServerNotification__WarningNotification, |
| ... | @@ -30570,6 +32139,7 @@ export type ServerNotification__HookSource = | ... | @@ -30570,6 +32139,7 @@ export type ServerNotification__HookSource = |
| 30570 | | "sessionFlags" | 32139 | | "sessionFlags" |
| 30571 | | "plugin" | 32140 | | "plugin" |
| 30572 | | "cloudRequirements" | 32141 | | "cloudRequirements" |
| | 32142 | | "cloudManagedConfig" |
| 30573 | | "legacyManagedConfigFile" | 32143 | | "legacyManagedConfigFile" |
| 30574 | | "legacyManagedConfigMdm" | 32144 | | "legacyManagedConfigMdm" |
| 30575 | | "unknown"; | 32145 | | "unknown"; |
| ... | @@ -30581,11 +32151,15 @@ export const ServerNotification__HookSource = Schema.Literals([ | ... | @@ -30581,11 +32151,15 @@ export const ServerNotification__HookSource = Schema.Literals([ |
| 30581 | "sessionFlags", | 32151 | "sessionFlags", |
| 30582 | "plugin", | 32152 | "plugin", |
| 30583 | "cloudRequirements", | 32153 | "cloudRequirements", |
| | 32154 | "cloudManagedConfig", |
| 30584 | "legacyManagedConfigFile", | 32155 | "legacyManagedConfigFile", |
| 30585 | "legacyManagedConfigMdm", | 32156 | "legacyManagedConfigMdm", |
| 30586 | "unknown", | 32157 | "unknown", |
| 30587 | ]); | 32158 | ]); |
| 30588 | | 32159 | |
| | 32160 | export type ServerNotification__NetworkAccess = "restricted" | "enabled"; |
| | 32161 | export const ServerNotification__NetworkAccess = Schema.Literals(["restricted", "enabled"]); |
| | 32162 | |
| 30589 | export type ServerNotification__ProcessOutputStream = "stdout" | "stderr"; | 32163 | export type ServerNotification__ProcessOutputStream = "stdout" | "stderr"; |
| 30590 | export const ServerNotification__ProcessOutputStream = Schema.Literals([ | 32164 | export const ServerNotification__ProcessOutputStream = Schema.Literals([ |
| 30591 | "stdout", | 32165 | "stdout", |
| ... | @@ -30650,6 +32224,11 @@ export type ServerRequest = | ... | @@ -30650,6 +32224,11 @@ export type ServerRequest = |
| 30650 | readonly method: "account/chatgptAuthTokens/refresh"; | 32224 | readonly method: "account/chatgptAuthTokens/refresh"; |
| 30651 | readonly params: ServerRequest__ChatgptAuthTokensRefreshParams; | 32225 | readonly params: ServerRequest__ChatgptAuthTokensRefreshParams; |
| 30652 | } | 32226 | } |
| | 32227 | | { |
| | 32228 | readonly id: ServerRequest__RequestId; |
| | 32229 | readonly method: "attestation/generate"; |
| | 32230 | readonly params: ServerRequest__AttestationGenerateParams; |
| | 32231 | } |
| 30653 | | { | 32232 | | { |
| 30654 | readonly id: ServerRequest__RequestId; | 32233 | readonly id: ServerRequest__RequestId; |
| 30655 | readonly method: "applyPatchApproval"; | 32234 | readonly method: "applyPatchApproval"; |
| ... | @@ -30729,6 +32308,16 @@ export const ServerRequest = Schema.Union( | ... | @@ -30729,6 +32308,16 @@ export const ServerRequest = Schema.Union( |
| 30729 | }), | 32308 | }), |
| 30730 | params: ServerRequest__ChatgptAuthTokensRefreshParams, | 32309 | params: ServerRequest__ChatgptAuthTokensRefreshParams, |
| 30731 | }).annotate({ title: "Account/chatgptAuthTokens/refreshRequest" }), | 32310 | }).annotate({ title: "Account/chatgptAuthTokens/refreshRequest" }), |
| | 32311 | Schema.Struct({ |
| | 32312 | id: ServerRequest__RequestId, |
| | 32313 | method: Schema.Literal("attestation/generate").annotate({ |
| | 32314 | title: "Attestation/generateRequestMethod", |
| | 32315 | }), |
| | 32316 | params: ServerRequest__AttestationGenerateParams, |
| | 32317 | }).annotate({ |
| | 32318 | title: "Attestation/generateRequest", |
| | 32319 | description: "Generate a fresh upstream attestation result on demand.", |
| | 32320 | }), |
| 30732 | Schema.Struct({ | 32321 | Schema.Struct({ |
| 30733 | id: ServerRequest__RequestId, | 32322 | id: ServerRequest__RequestId, |
| 30734 | method: Schema.Literal("applyPatchApproval").annotate({ | 32323 | method: Schema.Literal("applyPatchApproval").annotate({ |
| ... | @@ -30905,7 +32494,11 @@ export type V2AccountRateLimitsUpdatedNotification = { | ... | @@ -30905,7 +32494,11 @@ export type V2AccountRateLimitsUpdatedNotification = { |
| 30905 | }; | 32494 | }; |
| 30906 | export const V2AccountRateLimitsUpdatedNotification = Schema.Struct({ | 32495 | export const V2AccountRateLimitsUpdatedNotification = Schema.Struct({ |
| 30907 | rateLimits: V2AccountRateLimitsUpdatedNotification__RateLimitSnapshot, | 32496 | rateLimits: V2AccountRateLimitsUpdatedNotification__RateLimitSnapshot, |
| 30908 | }).annotate({ title: "AccountRateLimitsUpdatedNotification" }); | 32497 | }).annotate({ |
| | 32498 | title: "AccountRateLimitsUpdatedNotification", |
| | 32499 | description: |
| | 32500 | "Sparse rolling rate-limit update.\n\nClients should merge available values into the most recent `account/rateLimits/read` response or refetch that snapshot. Nullable account metadata may be unavailable in a rolling update and does not clear a previously observed value.", |
| | 32501 | }); |
| 30909 | | 32502 | |
| 30910 | export type V2AccountUpdatedNotification = { | 32503 | export type V2AccountUpdatedNotification = { |
| 30911 | readonly authMode?: V2AccountUpdatedNotification__AuthMode | null; | 32504 | readonly authMode?: V2AccountUpdatedNotification__AuthMode | null; |
| ... | @@ -31160,44 +32753,6 @@ export const V2CommandExecParams = Schema.Struct({ | ... | @@ -31160,44 +32753,6 @@ export const V2CommandExecParams = Schema.Struct({ |
| 31160 | export type V2CommandExecParams__NetworkAccess = "restricted" | "enabled"; | 32753 | export type V2CommandExecParams__NetworkAccess = "restricted" | "enabled"; |
| 31161 | export const V2CommandExecParams__NetworkAccess = Schema.Literals(["restricted", "enabled"]); | 32754 | export const V2CommandExecParams__NetworkAccess = Schema.Literals(["restricted", "enabled"]); |
| 31162 | | 32755 | |
| 31163 | export type V2CommandExecParams__PermissionProfile = | | |
| 31164 | | { | | |
| 31165 | readonly fileSystem: V2CommandExecParams__PermissionProfileFileSystemPermissions; | | |
| 31166 | readonly network: V2CommandExecParams__PermissionProfileNetworkPermissions; | | |
| 31167 | readonly type: "managed"; | | |
| 31168 | } | | |
| 31169 | | { readonly type: "disabled" } | | |
| 31170 | | { | | |
| 31171 | readonly network: V2CommandExecParams__PermissionProfileNetworkPermissions; | | |
| 31172 | readonly type: "external"; | | |
| 31173 | }; | | |
| 31174 | export const V2CommandExecParams__PermissionProfile = Schema.Union( | | |
| 31175 | [ | | |
| 31176 | Schema.Struct({ | | |
| 31177 | fileSystem: V2CommandExecParams__PermissionProfileFileSystemPermissions, | | |
| 31178 | network: V2CommandExecParams__PermissionProfileNetworkPermissions, | | |
| 31179 | type: Schema.Literal("managed").annotate({ title: "ManagedPermissionProfileType" }), | | |
| 31180 | }).annotate({ | | |
| 31181 | title: "ManagedPermissionProfile", | | |
| 31182 | description: "Codex owns sandbox construction for this profile.", | | |
| 31183 | }), | | |
| 31184 | Schema.Struct({ | | |
| 31185 | type: Schema.Literal("disabled").annotate({ title: "DisabledPermissionProfileType" }), | | |
| 31186 | }).annotate({ | | |
| 31187 | title: "DisabledPermissionProfile", | | |
| 31188 | description: "Do not apply an outer sandbox.", | | |
| 31189 | }), | | |
| 31190 | Schema.Struct({ | | |
| 31191 | network: V2CommandExecParams__PermissionProfileNetworkPermissions, | | |
| 31192 | type: Schema.Literal("external").annotate({ title: "ExternalPermissionProfileType" }), | | |
| 31193 | }).annotate({ | | |
| 31194 | title: "ExternalPermissionProfile", | | |
| 31195 | description: "Filesystem isolation is enforced by an external caller.", | | |
| 31196 | }), | | |
| 31197 | ], | | |
| 31198 | { mode: "oneOf" }, | | |
| 31199 | ); | | |
| 31200 | | | |
| 31201 | export type V2CommandExecResizeParams = { | 32756 | export type V2CommandExecResizeParams = { |
| 31202 | readonly processId: string; | 32757 | readonly processId: string; |
| 31203 | readonly size: { readonly cols: number; readonly rows: number }; | 32758 | readonly size: { readonly cols: number; readonly rows: number }; |
| ... | @@ -31372,7 +32927,7 @@ export const V2ConfigReadParams = Schema.Struct({ | ... | @@ -31372,7 +32927,7 @@ export const V2ConfigReadParams = Schema.Struct({ |
| 31372 | Schema.Null, | 32927 | Schema.Null, |
| 31373 | ]), | 32928 | ]), |
| 31374 | ), | 32929 | ), |
| 31375 | includeLayers: Schema.optionalKey(Schema.Boolean.annotate({ default: false })), | 32930 | includeLayers: Schema.optionalKey(Schema.Boolean), |
| 31376 | }).annotate({ title: "ConfigReadParams" }); | 32931 | }).annotate({ title: "ConfigReadParams" }); |
| 31377 | | 32932 | |
| 31378 | export type V2ConfigReadResponse = { | 32933 | export type V2ConfigReadResponse = { |
| ... | @@ -31389,6 +32944,7 @@ export const V2ConfigReadResponse = Schema.Struct({ | ... | @@ -31389,6 +32944,7 @@ export const V2ConfigReadResponse = Schema.Struct({ |
| 31389 | }).annotate({ title: "ConfigReadResponse" }); | 32944 | }).annotate({ title: "ConfigReadResponse" }); |
| 31390 | | 32945 | |
| 31391 | export type V2ConfigReadResponse__AppConfig = { | 32946 | export type V2ConfigReadResponse__AppConfig = { |
| | 32947 | readonly approvals_reviewer?: V2ConfigReadResponse__ApprovalsReviewer | null; |
| 31392 | readonly default_tools_approval_mode?: V2ConfigReadResponse__AppToolApproval | null; | 32948 | readonly default_tools_approval_mode?: V2ConfigReadResponse__AppToolApproval | null; |
| 31393 | readonly default_tools_enabled?: boolean | null; | 32949 | readonly default_tools_enabled?: boolean | null; |
| 31394 | readonly destructive_enabled?: boolean | null; | 32950 | readonly destructive_enabled?: boolean | null; |
| ... | @@ -31397,6 +32953,9 @@ export type V2ConfigReadResponse__AppConfig = { | ... | @@ -31397,6 +32953,9 @@ export type V2ConfigReadResponse__AppConfig = { |
| 31397 | readonly tools?: V2ConfigReadResponse__AppToolsConfig | null; | 32953 | readonly tools?: V2ConfigReadResponse__AppToolsConfig | null; |
| 31398 | }; | 32954 | }; |
| 31399 | export const V2ConfigReadResponse__AppConfig = Schema.Struct({ | 32955 | export const V2ConfigReadResponse__AppConfig = Schema.Struct({ |
| | 32956 | approvals_reviewer: Schema.optionalKey( |
| | 32957 | Schema.Union([V2ConfigReadResponse__ApprovalsReviewer, Schema.Null]), |
| | 32958 | ), |
| 31400 | default_tools_approval_mode: Schema.optionalKey( | 32959 | default_tools_approval_mode: Schema.optionalKey( |
| 31401 | Schema.Union([V2ConfigReadResponse__AppToolApproval, Schema.Null]), | 32960 | Schema.Union([V2ConfigReadResponse__AppToolApproval, Schema.Null]), |
| 31402 | ), | 32961 | ), |
| ... | @@ -31460,6 +33019,8 @@ export type V2ConfigRequirementsReadResponse__ManagedHooksRequirements = { | ... | @@ -31460,6 +33019,8 @@ export type V2ConfigRequirementsReadResponse__ManagedHooksRequirements = { |
| 31460 | readonly PreToolUse: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; | 33019 | readonly PreToolUse: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; |
| 31461 | readonly SessionStart: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; | 33020 | readonly SessionStart: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; |
| 31462 | readonly Stop: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; | 33021 | readonly Stop: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; |
| | 33022 | readonly SubagentStart: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; |
| | 33023 | readonly SubagentStop: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; |
| 31463 | readonly UserPromptSubmit: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; | 33024 | readonly UserPromptSubmit: ReadonlyArray<V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup>; |
| 31464 | readonly managedDir?: string | null; | 33025 | readonly managedDir?: string | null; |
| 31465 | readonly windowsManagedDir?: string | null; | 33026 | readonly windowsManagedDir?: string | null; |
| ... | @@ -31472,6 +33033,8 @@ export const V2ConfigRequirementsReadResponse__ManagedHooksRequirements = Schema | ... | @@ -31472,6 +33033,8 @@ export const V2ConfigRequirementsReadResponse__ManagedHooksRequirements = Schema |
| 31472 | PreToolUse: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), | 33033 | PreToolUse: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), |
| 31473 | SessionStart: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), | 33034 | SessionStart: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), |
| 31474 | Stop: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), | 33035 | Stop: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), |
| | 33036 | SubagentStart: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), |
| | 33037 | SubagentStop: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), |
| 31475 | UserPromptSubmit: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), | 33038 | UserPromptSubmit: Schema.Array(V2ConfigRequirementsReadResponse__ConfiguredHookMatcherGroup), |
| 31476 | managedDir: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 33039 | managedDir: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 31477 | windowsManagedDir: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 33040 | windowsManagedDir: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| ... | @@ -31703,6 +33266,7 @@ export const V2ExperimentalFeatureEnablementSetResponse = Schema.Struct({ | ... | @@ -31703,6 +33266,7 @@ export const V2ExperimentalFeatureEnablementSetResponse = Schema.Struct({ |
| 31703 | export type V2ExperimentalFeatureListParams = { | 33266 | export type V2ExperimentalFeatureListParams = { |
| 31704 | readonly cursor?: string | null; | 33267 | readonly cursor?: string | null; |
| 31705 | readonly limit?: number | null; | 33268 | readonly limit?: number | null; |
| | 33269 | readonly threadId?: string | null; |
| 31706 | }; | 33270 | }; |
| 31707 | export const V2ExperimentalFeatureListParams = Schema.Struct({ | 33271 | export const V2ExperimentalFeatureListParams = Schema.Struct({ |
| 31708 | cursor: Schema.optionalKey( | 33272 | cursor: Schema.optionalKey( |
| ... | @@ -31724,6 +33288,15 @@ export const V2ExperimentalFeatureListParams = Schema.Struct({ | ... | @@ -31724,6 +33288,15 @@ export const V2ExperimentalFeatureListParams = Schema.Struct({ |
| 31724 | Schema.Null, | 33288 | Schema.Null, |
| 31725 | ]), | 33289 | ]), |
| 31726 | ), | 33290 | ), |
| | 33291 | threadId: Schema.optionalKey( |
| | 33292 | Schema.Union([ |
| | 33293 | Schema.String.annotate({ |
| | 33294 | description: |
| | 33295 | "Optional loaded thread id. Pass this when showing feature state for an existing thread so enablement is computed from that thread's refreshed config, including project-local config for the thread's cwd.", |
| | 33296 | }), |
| | 33297 | Schema.Null, |
| | 33298 | ]), |
| | 33299 | ), |
| 31727 | }).annotate({ title: "ExperimentalFeatureListParams" }); | 33300 | }).annotate({ title: "ExperimentalFeatureListParams" }); |
| 31728 | | 33301 | |
| 31729 | export type V2ExperimentalFeatureListResponse = { | 33302 | export type V2ExperimentalFeatureListResponse = { |
| ... | @@ -31804,7 +33377,7 @@ export const V2ExternalAgentConfigImportResponse = Schema.Struct({}).annotate({ | ... | @@ -31804,7 +33377,7 @@ export const V2ExternalAgentConfigImportResponse = Schema.Struct({}).annotate({ |
| 31804 | export type V2FeedbackUploadParams = { | 33377 | export type V2FeedbackUploadParams = { |
| 31805 | readonly classification: string; | 33378 | readonly classification: string; |
| 31806 | readonly extraLogFiles?: ReadonlyArray<string> | null; | 33379 | readonly extraLogFiles?: ReadonlyArray<string> | null; |
| 31807 | readonly includeLogs: boolean; | 33380 | readonly includeLogs?: boolean; |
| 31808 | readonly reason?: string | null; | 33381 | readonly reason?: string | null; |
| 31809 | readonly tags?: { readonly [x: string]: string } | null; | 33382 | readonly tags?: { readonly [x: string]: string } | null; |
| 31810 | readonly threadId?: string | null; | 33383 | readonly threadId?: string | null; |
| ... | @@ -31812,7 +33385,7 @@ export type V2FeedbackUploadParams = { | ... | @@ -31812,7 +33385,7 @@ export type V2FeedbackUploadParams = { |
| 31812 | export const V2FeedbackUploadParams = Schema.Struct({ | 33385 | export const V2FeedbackUploadParams = Schema.Struct({ |
| 31813 | classification: Schema.String, | 33386 | classification: Schema.String, |
| 31814 | extraLogFiles: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])), | 33387 | extraLogFiles: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])), |
| 31815 | includeLogs: Schema.Boolean, | 33388 | includeLogs: Schema.optionalKey(Schema.Boolean), |
| 31816 | reason: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 33389 | reason: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 31817 | tags: Schema.optionalKey( | 33390 | tags: Schema.optionalKey( |
| 31818 | Schema.Union([Schema.Record(Schema.String, Schema.String), Schema.Null]), | 33391 | Schema.Union([Schema.Record(Schema.String, Schema.String), Schema.Null]), |
| ... | @@ -32157,7 +33730,6 @@ export const V2GetAccountParams = Schema.Struct({ | ... | @@ -32157,7 +33730,6 @@ export const V2GetAccountParams = Schema.Struct({ |
| 32157 | Schema.Boolean.annotate({ | 33730 | Schema.Boolean.annotate({ |
| 32158 | description: | 33731 | description: |
| 32159 | "When `true`, requests a proactive token refresh before returning.\n\nIn managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`.", | 33732 | "When `true`, requests a proactive token refresh before returning.\n\nIn managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`.", |
| 32160 | default: false, | | |
| 32161 | }), | 33733 | }), |
| 32162 | ), | 33734 | ), |
| 32163 | }).annotate({ title: "GetAccountParams" }); | 33735 | }).annotate({ title: "GetAccountParams" }); |
| ... | @@ -32165,6 +33737,7 @@ export const V2GetAccountParams = Schema.Struct({ | ... | @@ -32165,6 +33737,7 @@ export const V2GetAccountParams = Schema.Struct({ |
| 32165 | export type V2GetAccountRateLimitsResponse = { | 33737 | export type V2GetAccountRateLimitsResponse = { |
| 32166 | readonly rateLimits: { | 33738 | readonly rateLimits: { |
| 32167 | readonly credits?: V2GetAccountRateLimitsResponse__CreditsSnapshot | null; | 33739 | readonly credits?: V2GetAccountRateLimitsResponse__CreditsSnapshot | null; |
| | 33740 | readonly individualLimit?: V2GetAccountRateLimitsResponse__SpendControlLimitSnapshot | null; |
| 32168 | readonly limitId?: string | null; | 33741 | readonly limitId?: string | null; |
| 32169 | readonly limitName?: string | null; | 33742 | readonly limitName?: string | null; |
| 32170 | readonly planType?: V2GetAccountRateLimitsResponse__PlanType | null; | 33743 | readonly planType?: V2GetAccountRateLimitsResponse__PlanType | null; |
| ... | @@ -32181,6 +33754,9 @@ export const V2GetAccountRateLimitsResponse = Schema.Struct({ | ... | @@ -32181,6 +33754,9 @@ export const V2GetAccountRateLimitsResponse = Schema.Struct({ |
| 32181 | credits: Schema.optionalKey( | 33754 | credits: Schema.optionalKey( |
| 32182 | Schema.Union([V2GetAccountRateLimitsResponse__CreditsSnapshot, Schema.Null]), | 33755 | Schema.Union([V2GetAccountRateLimitsResponse__CreditsSnapshot, Schema.Null]), |
| 32183 | ), | 33756 | ), |
| | 33757 | individualLimit: Schema.optionalKey( |
| | 33758 | Schema.Union([V2GetAccountRateLimitsResponse__SpendControlLimitSnapshot, Schema.Null]), |
| | 33759 | ), |
| 32184 | limitId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 33760 | limitId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 32185 | limitName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 33761 | limitName: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 32186 | planType: Schema.optionalKey( | 33762 | planType: Schema.optionalKey( |
| ... | @@ -32217,6 +33793,20 @@ export const V2GetAccountResponse = Schema.Struct({ | ... | @@ -32217,6 +33793,20 @@ export const V2GetAccountResponse = Schema.Struct({ |
| 32217 | requiresOpenaiAuth: Schema.Boolean, | 33793 | requiresOpenaiAuth: Schema.Boolean, |
| 32218 | }).annotate({ title: "GetAccountResponse" }); | 33794 | }).annotate({ title: "GetAccountResponse" }); |
| 32219 | | 33795 | |
| | 33796 | export type V2GetAccountTokenUsageResponse = { |
| | 33797 | readonly dailyUsageBuckets?: ReadonlyArray<V2GetAccountTokenUsageResponse__AccountTokenUsageDailyBucket> | null; |
| | 33798 | readonly summary: V2GetAccountTokenUsageResponse__AccountTokenUsageSummary; |
| | 33799 | }; |
| | 33800 | export const V2GetAccountTokenUsageResponse = Schema.Struct({ |
| | 33801 | dailyUsageBuckets: Schema.optionalKey( |
| | 33802 | Schema.Union([ |
| | 33803 | Schema.Array(V2GetAccountTokenUsageResponse__AccountTokenUsageDailyBucket), |
| | 33804 | Schema.Null, |
| | 33805 | ]), |
| | 33806 | ), |
| | 33807 | summary: V2GetAccountTokenUsageResponse__AccountTokenUsageSummary, |
| | 33808 | }).annotate({ title: "GetAccountTokenUsageResponse" }); |
| | 33809 | |
| 32220 | export type V2GuardianWarningNotification = { readonly message: string; readonly threadId: string }; | 33810 | export type V2GuardianWarningNotification = { readonly message: string; readonly threadId: string }; |
| 32221 | export const V2GuardianWarningNotification = Schema.Struct({ | 33811 | export const V2GuardianWarningNotification = Schema.Struct({ |
| 32222 | message: Schema.String.annotate({ | 33812 | message: Schema.String.annotate({ |
| ... | @@ -32244,6 +33834,7 @@ export type V2HookCompletedNotification__HookSource = | ... | @@ -32244,6 +33834,7 @@ export type V2HookCompletedNotification__HookSource = |
| 32244 | | "sessionFlags" | 33834 | | "sessionFlags" |
| 32245 | | "plugin" | 33835 | | "plugin" |
| 32246 | | "cloudRequirements" | 33836 | | "cloudRequirements" |
| | 33837 | | "cloudManagedConfig" |
| 32247 | | "legacyManagedConfigFile" | 33838 | | "legacyManagedConfigFile" |
| 32248 | | "legacyManagedConfigMdm" | 33839 | | "legacyManagedConfigMdm" |
| 32249 | | "unknown"; | 33840 | | "unknown"; |
| ... | @@ -32255,6 +33846,7 @@ export const V2HookCompletedNotification__HookSource = Schema.Literals([ | ... | @@ -32255,6 +33846,7 @@ export const V2HookCompletedNotification__HookSource = Schema.Literals([ |
| 32255 | "sessionFlags", | 33846 | "sessionFlags", |
| 32256 | "plugin", | 33847 | "plugin", |
| 32257 | "cloudRequirements", | 33848 | "cloudRequirements", |
| | 33849 | "cloudManagedConfig", |
| 32258 | "legacyManagedConfigFile", | 33850 | "legacyManagedConfigFile", |
| 32259 | "legacyManagedConfigMdm", | 33851 | "legacyManagedConfigMdm", |
| 32260 | "unknown", | 33852 | "unknown", |
| ... | @@ -32295,6 +33887,7 @@ export type V2HookStartedNotification__HookSource = | ... | @@ -32295,6 +33887,7 @@ export type V2HookStartedNotification__HookSource = |
| 32295 | | "sessionFlags" | 33887 | | "sessionFlags" |
| 32296 | | "plugin" | 33888 | | "plugin" |
| 32297 | | "cloudRequirements" | 33889 | | "cloudRequirements" |
| | 33890 | | "cloudManagedConfig" |
| 32298 | | "legacyManagedConfigFile" | 33891 | | "legacyManagedConfigFile" |
| 32299 | | "legacyManagedConfigMdm" | 33892 | | "legacyManagedConfigMdm" |
| 32300 | | "unknown"; | 33893 | | "unknown"; |
| ... | @@ -32306,6 +33899,7 @@ export const V2HookStartedNotification__HookSource = Schema.Literals([ | ... | @@ -32306,6 +33899,7 @@ export const V2HookStartedNotification__HookSource = Schema.Literals([ |
| 32306 | "sessionFlags", | 33899 | "sessionFlags", |
| 32307 | "plugin", | 33900 | "plugin", |
| 32308 | "cloudRequirements", | 33901 | "cloudRequirements", |
| | 33902 | "cloudManagedConfig", |
| 32309 | "legacyManagedConfigFile", | 33903 | "legacyManagedConfigFile", |
| 32310 | "legacyManagedConfigMdm", | 33904 | "legacyManagedConfigMdm", |
| 32311 | "unknown", | 33905 | "unknown", |
| ... | @@ -32378,18 +33972,28 @@ export const V2ItemCompletedNotification__CommandExecutionSource = Schema.Litera | ... | @@ -32378,18 +33972,28 @@ export const V2ItemCompletedNotification__CommandExecutionSource = Schema.Litera |
| 32378 | | 33972 | |
| 32379 | export type V2ItemGuardianApprovalReviewCompletedNotification = { | 33973 | export type V2ItemGuardianApprovalReviewCompletedNotification = { |
| 32380 | readonly action: V2ItemGuardianApprovalReviewCompletedNotification__GuardianApprovalReviewAction; | 33974 | readonly action: V2ItemGuardianApprovalReviewCompletedNotification__GuardianApprovalReviewAction; |
| | 33975 | readonly completedAtMs: number; |
| 32381 | readonly decisionSource: V2ItemGuardianApprovalReviewCompletedNotification__AutoReviewDecisionSource; | 33976 | readonly decisionSource: V2ItemGuardianApprovalReviewCompletedNotification__AutoReviewDecisionSource; |
| 32382 | readonly review: V2ItemGuardianApprovalReviewCompletedNotification__GuardianApprovalReview; | 33977 | readonly review: V2ItemGuardianApprovalReviewCompletedNotification__GuardianApprovalReview; |
| 32383 | readonly reviewId: string; | 33978 | readonly reviewId: string; |
| | 33979 | readonly startedAtMs: number; |
| 32384 | readonly targetItemId?: string | null; | 33980 | readonly targetItemId?: string | null; |
| 32385 | readonly threadId: string; | 33981 | readonly threadId: string; |
| 32386 | readonly turnId: string; | 33982 | readonly turnId: string; |
| 32387 | }; | 33983 | }; |
| 32388 | export const V2ItemGuardianApprovalReviewCompletedNotification = Schema.Struct({ | 33984 | export const V2ItemGuardianApprovalReviewCompletedNotification = Schema.Struct({ |
| 32389 | action: V2ItemGuardianApprovalReviewCompletedNotification__GuardianApprovalReviewAction, | 33985 | action: V2ItemGuardianApprovalReviewCompletedNotification__GuardianApprovalReviewAction, |
| | 33986 | completedAtMs: Schema.Number.annotate({ |
| | 33987 | description: "Unix timestamp (in milliseconds) when this review completed.", |
| | 33988 | format: "int64", |
| | 33989 | }).check(Schema.isInt()), |
| 32390 | decisionSource: V2ItemGuardianApprovalReviewCompletedNotification__AutoReviewDecisionSource, | 33990 | decisionSource: V2ItemGuardianApprovalReviewCompletedNotification__AutoReviewDecisionSource, |
| 32391 | review: V2ItemGuardianApprovalReviewCompletedNotification__GuardianApprovalReview, | 33991 | review: V2ItemGuardianApprovalReviewCompletedNotification__GuardianApprovalReview, |
| 32392 | reviewId: Schema.String.annotate({ description: "Stable identifier for this review." }), | 33992 | reviewId: Schema.String.annotate({ description: "Stable identifier for this review." }), |
| | 33993 | startedAtMs: Schema.Number.annotate({ |
| | 33994 | description: "Unix timestamp (in milliseconds) when this review started.", |
| | 33995 | format: "int64", |
| | 33996 | }).check(Schema.isInt()), |
| 32393 | targetItemId: Schema.optionalKey( | 33997 | targetItemId: Schema.optionalKey( |
| 32394 | Schema.Union([ | 33998 | Schema.Union([ |
| 32395 | Schema.String.annotate({ | 33999 | Schema.String.annotate({ |
| ... | @@ -32411,6 +34015,7 @@ export type V2ItemGuardianApprovalReviewStartedNotification = { | ... | @@ -32411,6 +34015,7 @@ export type V2ItemGuardianApprovalReviewStartedNotification = { |
| 32411 | readonly action: V2ItemGuardianApprovalReviewStartedNotification__GuardianApprovalReviewAction; | 34015 | readonly action: V2ItemGuardianApprovalReviewStartedNotification__GuardianApprovalReviewAction; |
| 32412 | readonly review: V2ItemGuardianApprovalReviewStartedNotification__GuardianApprovalReview; | 34016 | readonly review: V2ItemGuardianApprovalReviewStartedNotification__GuardianApprovalReview; |
| 32413 | readonly reviewId: string; | 34017 | readonly reviewId: string; |
| | 34018 | readonly startedAtMs: number; |
| 32414 | readonly targetItemId?: string | null; | 34019 | readonly targetItemId?: string | null; |
| 32415 | readonly threadId: string; | 34020 | readonly threadId: string; |
| 32416 | readonly turnId: string; | 34021 | readonly turnId: string; |
| ... | @@ -32419,6 +34024,10 @@ export const V2ItemGuardianApprovalReviewStartedNotification = Schema.Struct({ | ... | @@ -32419,6 +34024,10 @@ export const V2ItemGuardianApprovalReviewStartedNotification = Schema.Struct({ |
| 32419 | action: V2ItemGuardianApprovalReviewStartedNotification__GuardianApprovalReviewAction, | 34024 | action: V2ItemGuardianApprovalReviewStartedNotification__GuardianApprovalReviewAction, |
| 32420 | review: V2ItemGuardianApprovalReviewStartedNotification__GuardianApprovalReview, | 34025 | review: V2ItemGuardianApprovalReviewStartedNotification__GuardianApprovalReview, |
| 32421 | reviewId: Schema.String.annotate({ description: "Stable identifier for this review." }), | 34026 | reviewId: Schema.String.annotate({ description: "Stable identifier for this review." }), |
| | 34027 | startedAtMs: Schema.Number.annotate({ |
| | 34028 | description: "Unix timestamp (in milliseconds) when this review started.", |
| | 34029 | format: "int64", |
| | 34030 | }).check(Schema.isInt()), |
| 32422 | targetItemId: Schema.optionalKey( | 34031 | targetItemId: Schema.optionalKey( |
| 32423 | Schema.Union([ | 34032 | Schema.Union([ |
| 32424 | Schema.String.annotate({ | 34033 | Schema.String.annotate({ |
| ... | @@ -32502,6 +34111,7 @@ export type V2ListMcpServerStatusParams = { | ... | @@ -32502,6 +34111,7 @@ export type V2ListMcpServerStatusParams = { |
| 32502 | readonly cursor?: string | null; | 34111 | readonly cursor?: string | null; |
| 32503 | readonly detail?: V2ListMcpServerStatusParams__McpServerStatusDetail | null; | 34112 | readonly detail?: V2ListMcpServerStatusParams__McpServerStatusDetail | null; |
| 32504 | readonly limit?: number | null; | 34113 | readonly limit?: number | null; |
| | 34114 | readonly threadId?: string | null; |
| 32505 | }; | 34115 | }; |
| 32506 | export const V2ListMcpServerStatusParams = Schema.Struct({ | 34116 | export const V2ListMcpServerStatusParams = Schema.Struct({ |
| 32507 | cursor: Schema.optionalKey( | 34117 | cursor: Schema.optionalKey( |
| ... | @@ -32529,6 +34139,7 @@ export const V2ListMcpServerStatusParams = Schema.Struct({ | ... | @@ -32529,6 +34139,7 @@ export const V2ListMcpServerStatusParams = Schema.Struct({ |
| 32529 | Schema.Null, | 34139 | Schema.Null, |
| 32530 | ]), | 34140 | ]), |
| 32531 | ), | 34141 | ), |
| | 34142 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 32532 | }).annotate({ title: "ListMcpServerStatusParams" }); | 34143 | }).annotate({ title: "ListMcpServerStatusParams" }); |
| 32533 | | 34144 | |
| 32534 | export type V2ListMcpServerStatusResponse = { | 34145 | export type V2ListMcpServerStatusResponse = { |
| ... | @@ -32761,11 +34372,13 @@ export type V2McpServerStatusUpdatedNotification = { | ... | @@ -32761,11 +34372,13 @@ export type V2McpServerStatusUpdatedNotification = { |
| 32761 | readonly error?: string | null; | 34372 | readonly error?: string | null; |
| 32762 | readonly name: string; | 34373 | readonly name: string; |
| 32763 | readonly status: V2McpServerStatusUpdatedNotification__McpServerStartupState; | 34374 | readonly status: V2McpServerStatusUpdatedNotification__McpServerStartupState; |
| | 34375 | readonly threadId?: string | null; |
| 32764 | }; | 34376 | }; |
| 32765 | export const V2McpServerStatusUpdatedNotification = Schema.Struct({ | 34377 | export const V2McpServerStatusUpdatedNotification = Schema.Struct({ |
| 32766 | error: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 34378 | error: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 32767 | name: Schema.String, | 34379 | name: Schema.String, |
| 32768 | status: V2McpServerStatusUpdatedNotification__McpServerStartupState, | 34380 | status: V2McpServerStatusUpdatedNotification__McpServerStartupState, |
| | 34381 | threadId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 32769 | }).annotate({ title: "McpServerStatusUpdatedNotification" }); | 34382 | }).annotate({ title: "McpServerStatusUpdatedNotification" }); |
| 32770 | | 34383 | |
| 32771 | export type V2McpServerToolCallParams = { | 34384 | export type V2McpServerToolCallParams = { |
| ... | @@ -32903,6 +34516,58 @@ export const V2ModelVerificationNotification = Schema.Struct({ | ... | @@ -32903,6 +34516,58 @@ export const V2ModelVerificationNotification = Schema.Struct({ |
| 32903 | verifications: Schema.Array(V2ModelVerificationNotification__ModelVerification), | 34516 | verifications: Schema.Array(V2ModelVerificationNotification__ModelVerification), |
| 32904 | }).annotate({ title: "ModelVerificationNotification" }); | 34517 | }).annotate({ title: "ModelVerificationNotification" }); |
| 32905 | | 34518 | |
| | 34519 | export type V2PermissionProfileListParams = { |
| | 34520 | readonly cursor?: string | null; |
| | 34521 | readonly cwd?: string | null; |
| | 34522 | readonly limit?: number | null; |
| | 34523 | }; |
| | 34524 | export const V2PermissionProfileListParams = Schema.Struct({ |
| | 34525 | cursor: Schema.optionalKey( |
| | 34526 | Schema.Union([ |
| | 34527 | Schema.String.annotate({ |
| | 34528 | description: "Opaque pagination cursor returned by a previous call.", |
| | 34529 | }), |
| | 34530 | Schema.Null, |
| | 34531 | ]), |
| | 34532 | ), |
| | 34533 | cwd: Schema.optionalKey( |
| | 34534 | Schema.Union([ |
| | 34535 | Schema.String.annotate({ |
| | 34536 | description: "Optional working directory to resolve project config layers.", |
| | 34537 | }), |
| | 34538 | Schema.Null, |
| | 34539 | ]), |
| | 34540 | ), |
| | 34541 | limit: Schema.optionalKey( |
| | 34542 | Schema.Union([ |
| | 34543 | Schema.Number.annotate({ |
| | 34544 | description: "Optional page size; defaults to the full result set.", |
| | 34545 | format: "uint32", |
| | 34546 | }) |
| | 34547 | .check(Schema.isInt()) |
| | 34548 | .check(Schema.isGreaterThanOrEqualTo(0)), |
| | 34549 | Schema.Null, |
| | 34550 | ]), |
| | 34551 | ), |
| | 34552 | }).annotate({ title: "PermissionProfileListParams" }); |
| | 34553 | |
| | 34554 | export type V2PermissionProfileListResponse = { |
| | 34555 | readonly data: ReadonlyArray<V2PermissionProfileListResponse__PermissionProfileSummary>; |
| | 34556 | readonly nextCursor?: string | null; |
| | 34557 | }; |
| | 34558 | export const V2PermissionProfileListResponse = Schema.Struct({ |
| | 34559 | data: Schema.Array(V2PermissionProfileListResponse__PermissionProfileSummary), |
| | 34560 | nextCursor: Schema.optionalKey( |
| | 34561 | Schema.Union([ |
| | 34562 | Schema.String.annotate({ |
| | 34563 | description: |
| | 34564 | "Opaque cursor to pass to the next call to continue after the last item. If None, there are no more items to return.", |
| | 34565 | }), |
| | 34566 | Schema.Null, |
| | 34567 | ]), |
| | 34568 | ), |
| | 34569 | }).annotate({ title: "PermissionProfileListResponse" }); |
| | 34570 | |
| 32906 | export type V2PlanDeltaNotification = { | 34571 | export type V2PlanDeltaNotification = { |
| 32907 | readonly delta: string; | 34572 | readonly delta: string; |
| 32908 | readonly itemId: string; | 34573 | readonly itemId: string; |
| ... | @@ -32920,6 +34585,47 @@ export const V2PlanDeltaNotification = Schema.Struct({ | ... | @@ -32920,6 +34585,47 @@ export const V2PlanDeltaNotification = Schema.Struct({ |
| 32920 | "EXPERIMENTAL - proposed plan streaming deltas for plan items. Clients should not assume concatenated deltas match the completed plan item content.", | 34585 | "EXPERIMENTAL - proposed plan streaming deltas for plan items. Clients should not assume concatenated deltas match the completed plan item content.", |
| 32921 | }); | 34586 | }); |
| 32922 | | 34587 | |
| | 34588 | export type V2PluginInstalledParams = { |
| | 34589 | readonly cwds?: ReadonlyArray<V2PluginInstalledParams__AbsolutePathBuf> | null; |
| | 34590 | readonly installSuggestionPluginNames?: ReadonlyArray<string> | null; |
| | 34591 | }; |
| | 34592 | export const V2PluginInstalledParams = Schema.Struct({ |
| | 34593 | cwds: Schema.optionalKey( |
| | 34594 | Schema.Union([ |
| | 34595 | Schema.Array(V2PluginInstalledParams__AbsolutePathBuf).annotate({ |
| | 34596 | description: "Optional working directories used to discover repo marketplaces.", |
| | 34597 | }), |
| | 34598 | Schema.Null, |
| | 34599 | ]), |
| | 34600 | ), |
| | 34601 | installSuggestionPluginNames: Schema.optionalKey( |
| | 34602 | Schema.Union([ |
| | 34603 | Schema.Array(Schema.String).annotate({ |
| | 34604 | description: |
| | 34605 | "Additional uninstalled plugin names that should be returned when present locally. This is used by mention surfaces that intentionally expose install entrypoints.", |
| | 34606 | }), |
| | 34607 | Schema.Null, |
| | 34608 | ]), |
| | 34609 | ), |
| | 34610 | }).annotate({ title: "PluginInstalledParams" }); |
| | 34611 | |
| | 34612 | export type V2PluginInstalledResponse = { |
| | 34613 | readonly marketplaceLoadErrors?: ReadonlyArray<V2PluginInstalledResponse__MarketplaceLoadErrorInfo>; |
| | 34614 | readonly marketplaces: ReadonlyArray<V2PluginInstalledResponse__PluginMarketplaceEntry>; |
| | 34615 | }; |
| | 34616 | export const V2PluginInstalledResponse = Schema.Struct({ |
| | 34617 | marketplaceLoadErrors: Schema.optionalKey( |
| | 34618 | Schema.Array(V2PluginInstalledResponse__MarketplaceLoadErrorInfo).annotate({ default: [] }), |
| | 34619 | ), |
| | 34620 | marketplaces: Schema.Array(V2PluginInstalledResponse__PluginMarketplaceEntry), |
| | 34621 | }).annotate({ title: "PluginInstalledResponse" }); |
| | 34622 | |
| | 34623 | export type V2PluginInstalledResponse__PluginAvailability = "DISABLED_BY_ADMIN" | "AVAILABLE"; |
| | 34624 | export const V2PluginInstalledResponse__PluginAvailability = Schema.Literals([ |
| | 34625 | "DISABLED_BY_ADMIN", |
| | 34626 | "AVAILABLE", |
| | 34627 | ]); |
| | 34628 | |
| 32923 | export type V2PluginInstallParams = { | 34629 | export type V2PluginInstallParams = { |
| 32924 | readonly marketplacePath?: V2PluginInstallParams__AbsolutePathBuf | null; | 34630 | readonly marketplacePath?: V2PluginInstallParams__AbsolutePathBuf | null; |
| 32925 | readonly pluginName: string; | 34631 | readonly pluginName: string; |
| ... | @@ -33010,6 +34716,30 @@ export const V2PluginReadResponse__PluginAvailability = Schema.Literals([ | ... | @@ -33010,6 +34716,30 @@ export const V2PluginReadResponse__PluginAvailability = Schema.Literals([ |
| 33010 | "AVAILABLE", | 34716 | "AVAILABLE", |
| 33011 | ]); | 34717 | ]); |
| 33012 | | 34718 | |
| | 34719 | export type V2PluginShareCheckoutParams = { readonly remotePluginId: string }; |
| | 34720 | export const V2PluginShareCheckoutParams = Schema.Struct({ |
| | 34721 | remotePluginId: Schema.String, |
| | 34722 | }).annotate({ title: "PluginShareCheckoutParams" }); |
| | 34723 | |
| | 34724 | export type V2PluginShareCheckoutResponse = { |
| | 34725 | readonly marketplaceName: string; |
| | 34726 | readonly marketplacePath: V2PluginShareCheckoutResponse__AbsolutePathBuf; |
| | 34727 | readonly pluginId: string; |
| | 34728 | readonly pluginName: string; |
| | 34729 | readonly pluginPath: V2PluginShareCheckoutResponse__AbsolutePathBuf; |
| | 34730 | readonly remotePluginId: string; |
| | 34731 | readonly remoteVersion?: string | null; |
| | 34732 | }; |
| | 34733 | export const V2PluginShareCheckoutResponse = Schema.Struct({ |
| | 34734 | marketplaceName: Schema.String, |
| | 34735 | marketplacePath: V2PluginShareCheckoutResponse__AbsolutePathBuf, |
| | 34736 | pluginId: Schema.String, |
| | 34737 | pluginName: Schema.String, |
| | 34738 | pluginPath: V2PluginShareCheckoutResponse__AbsolutePathBuf, |
| | 34739 | remotePluginId: Schema.String, |
| | 34740 | remoteVersion: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 34741 | }).annotate({ title: "PluginShareCheckoutResponse" }); |
| | 34742 | |
| 33013 | export type V2PluginShareDeleteParams = { readonly remotePluginId: string }; | 34743 | export type V2PluginShareDeleteParams = { readonly remotePluginId: string }; |
| 33014 | export const V2PluginShareDeleteParams = Schema.Struct({ remotePluginId: Schema.String }).annotate({ | 34744 | export const V2PluginShareDeleteParams = Schema.Struct({ remotePluginId: Schema.String }).annotate({ |
| 33015 | title: "PluginShareDeleteParams", | 34745 | title: "PluginShareDeleteParams", |
| ... | @@ -33065,18 +34795,22 @@ export const V2PluginShareSaveResponse = Schema.Struct({ | ... | @@ -33065,18 +34795,22 @@ export const V2PluginShareSaveResponse = Schema.Struct({ |
| 33065 | }).annotate({ title: "PluginShareSaveResponse" }); | 34795 | }).annotate({ title: "PluginShareSaveResponse" }); |
| 33066 | | 34796 | |
| 33067 | export type V2PluginShareUpdateTargetsParams = { | 34797 | export type V2PluginShareUpdateTargetsParams = { |
| | 34798 | readonly discoverability: V2PluginShareUpdateTargetsParams__PluginShareUpdateDiscoverability; |
| 33068 | readonly remotePluginId: string; | 34799 | readonly remotePluginId: string; |
| 33069 | readonly shareTargets: ReadonlyArray<V2PluginShareUpdateTargetsParams__PluginShareTarget>; | 34800 | readonly shareTargets: ReadonlyArray<V2PluginShareUpdateTargetsParams__PluginShareTarget>; |
| 33070 | }; | 34801 | }; |
| 33071 | export const V2PluginShareUpdateTargetsParams = Schema.Struct({ | 34802 | export const V2PluginShareUpdateTargetsParams = Schema.Struct({ |
| | 34803 | discoverability: V2PluginShareUpdateTargetsParams__PluginShareUpdateDiscoverability, |
| 33072 | remotePluginId: Schema.String, | 34804 | remotePluginId: Schema.String, |
| 33073 | shareTargets: Schema.Array(V2PluginShareUpdateTargetsParams__PluginShareTarget), | 34805 | shareTargets: Schema.Array(V2PluginShareUpdateTargetsParams__PluginShareTarget), |
| 33074 | }).annotate({ title: "PluginShareUpdateTargetsParams" }); | 34806 | }).annotate({ title: "PluginShareUpdateTargetsParams" }); |
| 33075 | | 34807 | |
| 33076 | export type V2PluginShareUpdateTargetsResponse = { | 34808 | export type V2PluginShareUpdateTargetsResponse = { |
| | 34809 | readonly discoverability: V2PluginShareUpdateTargetsResponse__PluginShareDiscoverability; |
| 33077 | readonly principals: ReadonlyArray<V2PluginShareUpdateTargetsResponse__PluginSharePrincipal>; | 34810 | readonly principals: ReadonlyArray<V2PluginShareUpdateTargetsResponse__PluginSharePrincipal>; |
| 33078 | }; | 34811 | }; |
| 33079 | export const V2PluginShareUpdateTargetsResponse = Schema.Struct({ | 34812 | export const V2PluginShareUpdateTargetsResponse = Schema.Struct({ |
| | 34813 | discoverability: V2PluginShareUpdateTargetsResponse__PluginShareDiscoverability, |
| 33080 | principals: Schema.Array(V2PluginShareUpdateTargetsResponse__PluginSharePrincipal), | 34814 | principals: Schema.Array(V2PluginShareUpdateTargetsResponse__PluginSharePrincipal), |
| 33081 | }).annotate({ title: "PluginShareUpdateTargetsResponse" }); | 34815 | }).annotate({ title: "PluginShareUpdateTargetsResponse" }); |
| 33082 | | 34816 | |
| ... | @@ -33227,14 +34961,18 @@ export const V2ReasoningTextDeltaNotification = Schema.Struct({ | ... | @@ -33227,14 +34961,18 @@ export const V2ReasoningTextDeltaNotification = Schema.Struct({ |
| 33227 | | 34961 | |
| 33228 | export type V2RemoteControlStatusChangedNotification = { | 34962 | export type V2RemoteControlStatusChangedNotification = { |
| 33229 | readonly environmentId?: string | null; | 34963 | readonly environmentId?: string | null; |
| | 34964 | readonly installationId: string; |
| | 34965 | readonly serverName: string; |
| 33230 | readonly status: V2RemoteControlStatusChangedNotification__RemoteControlConnectionStatus; | 34966 | readonly status: V2RemoteControlStatusChangedNotification__RemoteControlConnectionStatus; |
| 33231 | }; | 34967 | }; |
| 33232 | export const V2RemoteControlStatusChangedNotification = Schema.Struct({ | 34968 | export const V2RemoteControlStatusChangedNotification = Schema.Struct({ |
| 33233 | environmentId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 34969 | environmentId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 34970 | installationId: Schema.String, |
| | 34971 | serverName: Schema.String, |
| 33234 | status: V2RemoteControlStatusChangedNotification__RemoteControlConnectionStatus, | 34972 | status: V2RemoteControlStatusChangedNotification__RemoteControlConnectionStatus, |
| 33235 | }).annotate({ | 34973 | }).annotate({ |
| 33236 | title: "RemoteControlStatusChangedNotification", | 34974 | title: "RemoteControlStatusChangedNotification", |
| 33237 | description: "Current remote-control connection status and environment id exposed to clients.", | 34975 | description: "Current remote-control connection status and remote identity exposed to clients.", |
| 33238 | }); | 34976 | }); |
| 33239 | | 34977 | |
| 33240 | export type V2ReviewStartParams = { | 34978 | export type V2ReviewStartParams = { |
| ... | @@ -33370,10 +35108,21 @@ export const V2SkillsConfigWriteResponse = Schema.Struct({ | ... | @@ -33370,10 +35108,21 @@ export const V2SkillsConfigWriteResponse = Schema.Struct({ |
| 33370 | effectiveEnabled: Schema.Boolean, | 35108 | effectiveEnabled: Schema.Boolean, |
| 33371 | }).annotate({ title: "SkillsConfigWriteResponse" }); | 35109 | }).annotate({ title: "SkillsConfigWriteResponse" }); |
| 33372 | | 35110 | |
| | 35111 | export type V2SkillsExtraRootsSetParams = { |
| | 35112 | readonly extraRoots: ReadonlyArray<V2SkillsExtraRootsSetParams__AbsolutePathBuf>; |
| | 35113 | }; |
| | 35114 | export const V2SkillsExtraRootsSetParams = Schema.Struct({ |
| | 35115 | extraRoots: Schema.Array(V2SkillsExtraRootsSetParams__AbsolutePathBuf), |
| | 35116 | }).annotate({ title: "SkillsExtraRootsSetParams" }); |
| | 35117 | |
| | 35118 | export type V2SkillsExtraRootsSetResponse = {}; |
| | 35119 | export const V2SkillsExtraRootsSetResponse = Schema.Struct({}).annotate({ |
| | 35120 | title: "SkillsExtraRootsSetResponse", |
| | 35121 | }); |
| | 35122 | |
| 33373 | export type V2SkillsListParams = { | 35123 | export type V2SkillsListParams = { |
| 33374 | readonly cwds?: ReadonlyArray<string>; | 35124 | readonly cwds?: ReadonlyArray<string>; |
| 33375 | readonly forceReload?: boolean; | 35125 | readonly forceReload?: boolean; |
| 33376 | readonly perCwdExtraUserRoots?: ReadonlyArray<V2SkillsListParams__SkillsListExtraRootsForCwd> | null; | | |
| 33377 | }; | 35126 | }; |
| 33378 | export const V2SkillsListParams = Schema.Struct({ | 35127 | export const V2SkillsListParams = Schema.Struct({ |
| 33379 | cwds: Schema.optionalKey( | 35128 | cwds: Schema.optionalKey( |
| ... | @@ -33386,14 +35135,6 @@ export const V2SkillsListParams = Schema.Struct({ | ... | @@ -33386,14 +35135,6 @@ export const V2SkillsListParams = Schema.Struct({ |
| 33386 | description: "When true, bypass the skills cache and re-scan skills from disk.", | 35135 | description: "When true, bypass the skills cache and re-scan skills from disk.", |
| 33387 | }), | 35136 | }), |
| 33388 | ), | 35137 | ), |
| 33389 | perCwdExtraUserRoots: Schema.optionalKey( | | |
| 33390 | Schema.Union([ | | |
| 33391 | Schema.Array(V2SkillsListParams__SkillsListExtraRootsForCwd).annotate({ | | |
| 33392 | description: "Optional per-cwd extra roots to scan as user-scoped skills.", | | |
| 33393 | }), | | |
| 33394 | Schema.Null, | | |
| 33395 | ]), | | |
| 33396 | ), | | |
| 33397 | }).annotate({ title: "SkillsListParams" }); | 35138 | }).annotate({ title: "SkillsListParams" }); |
| 33398 | | 35139 | |
| 33399 | export type V2SkillsListResponse = { | 35140 | export type V2SkillsListResponse = { |
| ... | @@ -33464,6 +35205,19 @@ export const V2ThreadCompactStartResponse = Schema.Struct({}).annotate({ | ... | @@ -33464,6 +35205,19 @@ export const V2ThreadCompactStartResponse = Schema.Struct({}).annotate({ |
| 33464 | title: "ThreadCompactStartResponse", | 35205 | title: "ThreadCompactStartResponse", |
| 33465 | }); | 35206 | }); |
| 33466 | | 35207 | |
| | 35208 | export type V2ThreadDeletedNotification = { readonly threadId: string }; |
| | 35209 | export const V2ThreadDeletedNotification = Schema.Struct({ threadId: Schema.String }).annotate({ |
| | 35210 | title: "ThreadDeletedNotification", |
| | 35211 | }); |
| | 35212 | |
| | 35213 | export type V2ThreadDeleteParams = { readonly threadId: string }; |
| | 35214 | export const V2ThreadDeleteParams = Schema.Struct({ threadId: Schema.String }).annotate({ |
| | 35215 | title: "ThreadDeleteParams", |
| | 35216 | }); |
| | 35217 | |
| | 35218 | export type V2ThreadDeleteResponse = {}; |
| | 35219 | export const V2ThreadDeleteResponse = Schema.Struct({}).annotate({ title: "ThreadDeleteResponse" }); |
| | 35220 | |
| 33467 | export type V2ThreadForkParams = { | 35221 | export type V2ThreadForkParams = { |
| 33468 | readonly approvalPolicy?: V2ThreadForkParams__AskForApproval | null; | 35222 | readonly approvalPolicy?: V2ThreadForkParams__AskForApproval | null; |
| 33469 | readonly approvalsReviewer?: V2ThreadForkParams__ApprovalsReviewer | null; | 35223 | readonly approvalsReviewer?: V2ThreadForkParams__ApprovalsReviewer | null; |
| ... | @@ -33517,35 +35271,14 @@ export const V2ThreadForkParams = Schema.Struct({ | ... | @@ -33517,35 +35271,14 @@ export const V2ThreadForkParams = Schema.Struct({ |
| 33517 | }).annotate({ | 35271 | }).annotate({ |
| 33518 | title: "ThreadForkParams", | 35272 | title: "ThreadForkParams", |
| 33519 | description: | 35273 | description: |
| 33520 | "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.", | 35274 | "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using a non-empty path, the thread_id param will be ignored. Empty string path values are treated as absent.\n\nPrefer using thread_id whenever possible.", |
| 33521 | }); | 35275 | }); |
| 33522 | | 35276 | |
| 33523 | export type V2ThreadForkParams__PermissionProfileSelectionParams = { | 35277 | export type V2ThreadForkParams__AbsolutePathBuf = string; |
| 33524 | readonly id: string; | 35278 | export const V2ThreadForkParams__AbsolutePathBuf = Schema.String.annotate({ |
| 33525 | readonly modifications?: ReadonlyArray<V2ThreadForkParams__PermissionProfileModificationParams> | null; | 35279 | description: |
| 33526 | readonly type: "profile"; | 35280 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| 33527 | }; | 35281 | }); |
| 33528 | export const V2ThreadForkParams__PermissionProfileSelectionParams = Schema.Union( | | |
| 33529 | [ | | |
| 33530 | Schema.Struct({ | | |
| 33531 | id: Schema.String, | | |
| 33532 | modifications: Schema.optionalKey( | | |
| 33533 | Schema.Union([ | | |
| 33534 | Schema.Array(V2ThreadForkParams__PermissionProfileModificationParams), | | |
| 33535 | Schema.Null, | | |
| 33536 | ]), | | |
| 33537 | ), | | |
| 33538 | type: Schema.Literal("profile").annotate({ | | |
| 33539 | title: "ProfilePermissionProfileSelectionParamsType", | | |
| 33540 | }), | | |
| 33541 | }).annotate({ | | |
| 33542 | title: "ProfilePermissionProfileSelectionParams", | | |
| 33543 | description: | | |
| 33544 | "Select a named built-in or user-defined profile and optionally apply bounded modifications that Codex knows how to validate.", | | |
| 33545 | }), | | |
| 33546 | ], | | |
| 33547 | { mode: "oneOf" }, | | |
| 33548 | ); | | |
| 33549 | | 35282 | |
| 33550 | export type V2ThreadForkResponse = { | 35283 | export type V2ThreadForkResponse = { |
| 33551 | readonly approvalPolicy: V2ThreadForkResponse__AskForApproval; | 35284 | readonly approvalPolicy: V2ThreadForkResponse__AskForApproval; |
| ... | @@ -33621,7 +35354,7 @@ export const V2ThreadForkResponse = Schema.Struct({ | ... | @@ -33621,7 +35354,7 @@ export const V2ThreadForkResponse = Schema.Struct({ |
| 33621 | { mode: "oneOf" }, | 35354 | { mode: "oneOf" }, |
| 33622 | ).annotate({ | 35355 | ).annotate({ |
| 33623 | description: | 35356 | description: |
| 33624 | "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `permissionProfile` when they need exact runtime permissions.", | 35357 | "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `activePermissionProfile` for profile provenance.", |
| 33625 | }), | 35358 | }), |
| 33626 | serviceTier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 35359 | serviceTier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 33627 | thread: V2ThreadForkResponse__Thread, | 35360 | thread: V2ThreadForkResponse__Thread, |
| ... | @@ -33630,14 +35363,13 @@ export const V2ThreadForkResponse = Schema.Struct({ | ... | @@ -33630,14 +35363,13 @@ export const V2ThreadForkResponse = Schema.Struct({ |
| 33630 | export type V2ThreadForkResponse__ActivePermissionProfile = { | 35363 | export type V2ThreadForkResponse__ActivePermissionProfile = { |
| 33631 | readonly extends?: string | null; | 35364 | readonly extends?: string | null; |
| 33632 | readonly id: string; | 35365 | readonly id: string; |
| 33633 | readonly modifications?: ReadonlyArray<V2ThreadForkResponse__ActivePermissionProfileModification>; | | |
| 33634 | }; | 35366 | }; |
| 33635 | export const V2ThreadForkResponse__ActivePermissionProfile = Schema.Struct({ | 35367 | export const V2ThreadForkResponse__ActivePermissionProfile = Schema.Struct({ |
| 33636 | extends: Schema.optionalKey( | 35368 | extends: Schema.optionalKey( |
| 33637 | Schema.Union([ | 35369 | Schema.Union([ |
| 33638 | Schema.String.annotate({ | 35370 | Schema.String.annotate({ |
| 33639 | description: | 35371 | description: |
| 33640 | "Parent profile identifier once permissions profiles support inheritance. This is currently always `null`.", | 35372 | "Parent profile identifier from the selected permissions profile's `extends` setting, when present.", |
| 33641 | }), | 35373 | }), |
| 33642 | Schema.Null, | 35374 | Schema.Null, |
| 33643 | ]), | 35375 | ]), |
| ... | @@ -33646,13 +35378,6 @@ export const V2ThreadForkResponse__ActivePermissionProfile = Schema.Struct({ | ... | @@ -33646,13 +35378,6 @@ export const V2ThreadForkResponse__ActivePermissionProfile = Schema.Struct({ |
| 33646 | description: | 35378 | description: |
| 33647 | "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", | 35379 | "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", |
| 33648 | }), | 35380 | }), |
| 33649 | modifications: Schema.optionalKey( | | |
| 33650 | Schema.Array(V2ThreadForkResponse__ActivePermissionProfileModification).annotate({ | | |
| 33651 | description: | | |
| 33652 | "Bounded user-requested modifications applied on top of the named profile, if any.", | | |
| 33653 | default: [], | | |
| 33654 | }), | | |
| 33655 | ), | | |
| 33656 | }); | 35381 | }); |
| 33657 | | 35382 | |
| 33658 | export type V2ThreadForkResponse__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; | 35383 | export type V2ThreadForkResponse__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; |
| ... | @@ -33711,44 +35436,6 @@ export const V2ThreadForkResponse__CommandExecutionSource = Schema.Literals([ | ... | @@ -33711,44 +35436,6 @@ export const V2ThreadForkResponse__CommandExecutionSource = Schema.Literals([ |
| 33711 | export type V2ThreadForkResponse__NetworkAccess = "restricted" | "enabled"; | 35436 | export type V2ThreadForkResponse__NetworkAccess = "restricted" | "enabled"; |
| 33712 | export const V2ThreadForkResponse__NetworkAccess = Schema.Literals(["restricted", "enabled"]); | 35437 | export const V2ThreadForkResponse__NetworkAccess = Schema.Literals(["restricted", "enabled"]); |
| 33713 | | 35438 | |
| 33714 | export type V2ThreadForkResponse__PermissionProfile = | | |
| 33715 | | { | | |
| 33716 | readonly fileSystem: V2ThreadForkResponse__PermissionProfileFileSystemPermissions; | | |
| 33717 | readonly network: V2ThreadForkResponse__PermissionProfileNetworkPermissions; | | |
| 33718 | readonly type: "managed"; | | |
| 33719 | } | | |
| 33720 | | { readonly type: "disabled" } | | |
| 33721 | | { | | |
| 33722 | readonly network: V2ThreadForkResponse__PermissionProfileNetworkPermissions; | | |
| 33723 | readonly type: "external"; | | |
| 33724 | }; | | |
| 33725 | export const V2ThreadForkResponse__PermissionProfile = Schema.Union( | | |
| 33726 | [ | | |
| 33727 | Schema.Struct({ | | |
| 33728 | fileSystem: V2ThreadForkResponse__PermissionProfileFileSystemPermissions, | | |
| 33729 | network: V2ThreadForkResponse__PermissionProfileNetworkPermissions, | | |
| 33730 | type: Schema.Literal("managed").annotate({ title: "ManagedPermissionProfileType" }), | | |
| 33731 | }).annotate({ | | |
| 33732 | title: "ManagedPermissionProfile", | | |
| 33733 | description: "Codex owns sandbox construction for this profile.", | | |
| 33734 | }), | | |
| 33735 | Schema.Struct({ | | |
| 33736 | type: Schema.Literal("disabled").annotate({ title: "DisabledPermissionProfileType" }), | | |
| 33737 | }).annotate({ | | |
| 33738 | title: "DisabledPermissionProfile", | | |
| 33739 | description: "Do not apply an outer sandbox.", | | |
| 33740 | }), | | |
| 33741 | Schema.Struct({ | | |
| 33742 | network: V2ThreadForkResponse__PermissionProfileNetworkPermissions, | | |
| 33743 | type: Schema.Literal("external").annotate({ title: "ExternalPermissionProfileType" }), | | |
| 33744 | }).annotate({ | | |
| 33745 | title: "ExternalPermissionProfile", | | |
| 33746 | description: "Filesystem isolation is enforced by an external caller.", | | |
| 33747 | }), | | |
| 33748 | ], | | |
| 33749 | { mode: "oneOf" }, | | |
| 33750 | ); | | |
| 33751 | | | |
| 33752 | export type V2ThreadForkResponse__SandboxPolicy = | 35439 | export type V2ThreadForkResponse__SandboxPolicy = |
| 33753 | | { readonly type: "dangerFullAccess" } | 35440 | | { readonly type: "dangerFullAccess" } |
| 33754 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } | 35441 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } |
| ... | @@ -33850,6 +35537,48 @@ export const V2ThreadGoalClearedNotification = Schema.Struct({ threadId: Schema. | ... | @@ -33850,6 +35537,48 @@ export const V2ThreadGoalClearedNotification = Schema.Struct({ threadId: Schema. |
| 33850 | title: "ThreadGoalClearedNotification", | 35537 | title: "ThreadGoalClearedNotification", |
| 33851 | }); | 35538 | }); |
| 33852 | | 35539 | |
| | 35540 | export type V2ThreadGoalClearParams = { readonly threadId: string }; |
| | 35541 | export const V2ThreadGoalClearParams = Schema.Struct({ threadId: Schema.String }).annotate({ |
| | 35542 | title: "ThreadGoalClearParams", |
| | 35543 | }); |
| | 35544 | |
| | 35545 | export type V2ThreadGoalClearResponse = { readonly cleared: boolean }; |
| | 35546 | export const V2ThreadGoalClearResponse = Schema.Struct({ cleared: Schema.Boolean }).annotate({ |
| | 35547 | title: "ThreadGoalClearResponse", |
| | 35548 | }); |
| | 35549 | |
| | 35550 | export type V2ThreadGoalGetParams = { readonly threadId: string }; |
| | 35551 | export const V2ThreadGoalGetParams = Schema.Struct({ threadId: Schema.String }).annotate({ |
| | 35552 | title: "ThreadGoalGetParams", |
| | 35553 | }); |
| | 35554 | |
| | 35555 | export type V2ThreadGoalGetResponse = { |
| | 35556 | readonly goal?: V2ThreadGoalGetResponse__ThreadGoal | null; |
| | 35557 | }; |
| | 35558 | export const V2ThreadGoalGetResponse = Schema.Struct({ |
| | 35559 | goal: Schema.optionalKey(Schema.Union([V2ThreadGoalGetResponse__ThreadGoal, Schema.Null])), |
| | 35560 | }).annotate({ title: "ThreadGoalGetResponse" }); |
| | 35561 | |
| | 35562 | export type V2ThreadGoalSetParams = { |
| | 35563 | readonly objective?: string | null; |
| | 35564 | readonly status?: V2ThreadGoalSetParams__ThreadGoalStatus | null; |
| | 35565 | readonly threadId: string; |
| | 35566 | readonly tokenBudget?: number | null; |
| | 35567 | }; |
| | 35568 | export const V2ThreadGoalSetParams = Schema.Struct({ |
| | 35569 | objective: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 35570 | status: Schema.optionalKey(Schema.Union([V2ThreadGoalSetParams__ThreadGoalStatus, Schema.Null])), |
| | 35571 | threadId: Schema.String, |
| | 35572 | tokenBudget: Schema.optionalKey( |
| | 35573 | Schema.Union([Schema.Number.annotate({ format: "int64" }).check(Schema.isInt()), Schema.Null]), |
| | 35574 | ), |
| | 35575 | }).annotate({ title: "ThreadGoalSetParams" }); |
| | 35576 | |
| | 35577 | export type V2ThreadGoalSetResponse = { readonly goal: V2ThreadGoalSetResponse__ThreadGoal }; |
| | 35578 | export const V2ThreadGoalSetResponse = Schema.Struct({ |
| | 35579 | goal: V2ThreadGoalSetResponse__ThreadGoal, |
| | 35580 | }).annotate({ title: "ThreadGoalSetResponse" }); |
| | 35581 | |
| 33853 | export type V2ThreadGoalUpdatedNotification = { | 35582 | export type V2ThreadGoalUpdatedNotification = { |
| 33854 | readonly goal: V2ThreadGoalUpdatedNotification__ThreadGoal; | 35583 | readonly goal: V2ThreadGoalUpdatedNotification__ThreadGoal; |
| 33855 | readonly threadId: string; | 35584 | readonly threadId: string; |
| ... | @@ -34276,7 +36005,6 @@ export const V2ThreadReadParams = Schema.Struct({ | ... | @@ -34276,7 +36005,6 @@ export const V2ThreadReadParams = Schema.Struct({ |
| 34276 | includeTurns: Schema.optionalKey( | 36005 | includeTurns: Schema.optionalKey( |
| 34277 | Schema.Boolean.annotate({ | 36006 | Schema.Boolean.annotate({ |
| 34278 | description: "When true, include turns and their items from rollout history.", | 36007 | description: "When true, include turns and their items from rollout history.", |
| 34279 | default: false, | | |
| 34280 | }), | 36008 | }), |
| 34281 | ), | 36009 | ), |
| 34282 | threadId: Schema.String, | 36010 | threadId: Schema.String, |
| ... | @@ -34530,35 +36258,14 @@ export const V2ThreadResumeParams = Schema.Struct({ | ... | @@ -34530,35 +36258,14 @@ export const V2ThreadResumeParams = Schema.Struct({ |
| 34530 | }).annotate({ | 36258 | }).annotate({ |
| 34531 | title: "ThreadResumeParams", | 36259 | title: "ThreadResumeParams", |
| 34532 | description: | 36260 | description: |
| 34533 | "There are three ways to resume a thread: 1. By thread_id: load the thread from disk by thread_id and resume it. 2. By history: instantiate the thread from memory and resume it. 3. By path: load the thread from disk by path and resume it.\n\nThe precedence is: history > path > thread_id. If using history or path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.", | 36261 | "There are three ways to resume a thread: 1. By thread_id: load the thread from disk by thread_id and resume it. 2. By history: instantiate the thread from memory and resume it. 3. By path: load the thread from disk by path and resume it.\n\nFor non-running threads, the precedence is: history > non-empty path > thread_id. If using history or a non-empty path for a non-running thread, the thread_id param will be ignored.\n\nIf thread_id identifies a running thread, app-server rejoins that thread and treats a non-empty path as a consistency check against the active rollout path. Empty string path values are treated as absent.\n\nPrefer using thread_id whenever possible.", |
| 34534 | }); | 36262 | }); |
| 34535 | | 36263 | |
| 34536 | export type V2ThreadResumeParams__PermissionProfileSelectionParams = { | 36264 | export type V2ThreadResumeParams__AbsolutePathBuf = string; |
| 34537 | readonly id: string; | 36265 | export const V2ThreadResumeParams__AbsolutePathBuf = Schema.String.annotate({ |
| 34538 | readonly modifications?: ReadonlyArray<V2ThreadResumeParams__PermissionProfileModificationParams> | null; | 36266 | description: |
| 34539 | readonly type: "profile"; | 36267 | "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", |
| 34540 | }; | 36268 | }); |
| 34541 | export const V2ThreadResumeParams__PermissionProfileSelectionParams = Schema.Union( | | |
| 34542 | [ | | |
| 34543 | Schema.Struct({ | | |
| 34544 | id: Schema.String, | | |
| 34545 | modifications: Schema.optionalKey( | | |
| 34546 | Schema.Union([ | | |
| 34547 | Schema.Array(V2ThreadResumeParams__PermissionProfileModificationParams), | | |
| 34548 | Schema.Null, | | |
| 34549 | ]), | | |
| 34550 | ), | | |
| 34551 | type: Schema.Literal("profile").annotate({ | | |
| 34552 | title: "ProfilePermissionProfileSelectionParamsType", | | |
| 34553 | }), | | |
| 34554 | }).annotate({ | | |
| 34555 | title: "ProfilePermissionProfileSelectionParams", | | |
| 34556 | description: | | |
| 34557 | "Select a named built-in or user-defined profile and optionally apply bounded modifications that Codex knows how to validate.", | | |
| 34558 | }), | | |
| 34559 | ], | | |
| 34560 | { mode: "oneOf" }, | | |
| 34561 | ); | | |
| 34562 | | 36269 | |
| 34563 | export type V2ThreadResumeParams__ResponseItem = | 36270 | export type V2ThreadResumeParams__ResponseItem = |
| 34564 | | { | 36271 | | { |
| ... | @@ -34568,6 +36275,12 @@ export type V2ThreadResumeParams__ResponseItem = | ... | @@ -34568,6 +36275,12 @@ export type V2ThreadResumeParams__ResponseItem = |
| 34568 | readonly role: string; | 36275 | readonly role: string; |
| 34569 | readonly type: "message"; | 36276 | readonly type: "message"; |
| 34570 | } | 36277 | } |
| | 36278 | | { |
| | 36279 | readonly author: string; |
| | 36280 | readonly content: ReadonlyArray<V2ThreadResumeParams__AgentMessageInputContent>; |
| | 36281 | readonly recipient: string; |
| | 36282 | readonly type: "agent_message"; |
| | 36283 | } |
| 34571 | | { | 36284 | | { |
| 34572 | readonly content?: ReadonlyArray<V2ThreadResumeParams__ReasoningItemContent> | null; | 36285 | readonly content?: ReadonlyArray<V2ThreadResumeParams__ReasoningItemContent> | null; |
| 34573 | readonly encrypted_content?: string | null; | 36286 | readonly encrypted_content?: string | null; |
| ... | @@ -34637,6 +36350,7 @@ export type V2ThreadResumeParams__ResponseItem = | ... | @@ -34637,6 +36350,7 @@ export type V2ThreadResumeParams__ResponseItem = |
| 34637 | readonly type: "image_generation_call"; | 36350 | readonly type: "image_generation_call"; |
| 34638 | } | 36351 | } |
| 34639 | | { readonly encrypted_content: string; readonly type: "compaction" } | 36352 | | { readonly encrypted_content: string; readonly type: "compaction" } |
| | 36353 | | { readonly type: "compaction_trigger" } |
| 34640 | | { readonly encrypted_content?: string | null; readonly type: "context_compaction" } | 36354 | | { readonly encrypted_content?: string | null; readonly type: "context_compaction" } |
| 34641 | | { readonly type: "other" }; | 36355 | | { readonly type: "other" }; |
| 34642 | export const V2ThreadResumeParams__ResponseItem = Schema.Union( | 36356 | export const V2ThreadResumeParams__ResponseItem = Schema.Union( |
| ... | @@ -34650,6 +36364,12 @@ export const V2ThreadResumeParams__ResponseItem = Schema.Union( | ... | @@ -34650,6 +36364,12 @@ export const V2ThreadResumeParams__ResponseItem = Schema.Union( |
| 34650 | role: Schema.String, | 36364 | role: Schema.String, |
| 34651 | type: Schema.Literal("message").annotate({ title: "MessageResponseItemType" }), | 36365 | type: Schema.Literal("message").annotate({ title: "MessageResponseItemType" }), |
| 34652 | }).annotate({ title: "MessageResponseItem" }), | 36366 | }).annotate({ title: "MessageResponseItem" }), |
| | 36367 | Schema.Struct({ |
| | 36368 | author: Schema.String, |
| | 36369 | content: Schema.Array(V2ThreadResumeParams__AgentMessageInputContent), |
| | 36370 | recipient: Schema.String, |
| | 36371 | type: Schema.Literal("agent_message").annotate({ title: "AgentMessageResponseItemType" }), |
| | 36372 | }).annotate({ title: "AgentMessageResponseItem" }), |
| 34653 | Schema.Struct({ | 36373 | Schema.Struct({ |
| 34654 | content: Schema.optionalKey( | 36374 | content: Schema.optionalKey( |
| 34655 | Schema.Union([Schema.Array(V2ThreadResumeParams__ReasoningItemContent), Schema.Null]), | 36375 | Schema.Union([Schema.Array(V2ThreadResumeParams__ReasoningItemContent), Schema.Null]), |
| ... | @@ -34761,6 +36481,11 @@ export const V2ThreadResumeParams__ResponseItem = Schema.Union( | ... | @@ -34761,6 +36481,11 @@ export const V2ThreadResumeParams__ResponseItem = Schema.Union( |
| 34761 | encrypted_content: Schema.String, | 36481 | encrypted_content: Schema.String, |
| 34762 | type: Schema.Literal("compaction").annotate({ title: "CompactionResponseItemType" }), | 36482 | type: Schema.Literal("compaction").annotate({ title: "CompactionResponseItemType" }), |
| 34763 | }).annotate({ title: "CompactionResponseItem" }), | 36483 | }).annotate({ title: "CompactionResponseItem" }), |
| | 36484 | Schema.Struct({ |
| | 36485 | type: Schema.Literal("compaction_trigger").annotate({ |
| | 36486 | title: "CompactionTriggerResponseItemType", |
| | 36487 | }), |
| | 36488 | }).annotate({ title: "CompactionTriggerResponseItem" }), |
| 34764 | Schema.Struct({ | 36489 | Schema.Struct({ |
| 34765 | encrypted_content: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 36490 | encrypted_content: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 34766 | type: Schema.Literal("context_compaction").annotate({ | 36491 | type: Schema.Literal("context_compaction").annotate({ |
| ... | @@ -34774,6 +36499,32 @@ export const V2ThreadResumeParams__ResponseItem = Schema.Union( | ... | @@ -34774,6 +36499,32 @@ export const V2ThreadResumeParams__ResponseItem = Schema.Union( |
| 34774 | { mode: "oneOf" }, | 36499 | { mode: "oneOf" }, |
| 34775 | ); | 36500 | ); |
| 34776 | | 36501 | |
| | 36502 | export type V2ThreadResumeParams__ThreadResumeInitialTurnsPageParams = { |
| | 36503 | readonly itemsView?: V2ThreadResumeParams__TurnItemsView | null; |
| | 36504 | readonly limit?: number | null; |
| | 36505 | readonly sortDirection?: V2ThreadResumeParams__SortDirection | null; |
| | 36506 | }; |
| | 36507 | export const V2ThreadResumeParams__ThreadResumeInitialTurnsPageParams = Schema.Struct({ |
| | 36508 | itemsView: Schema.optionalKey( |
| | 36509 | Schema.Union([V2ThreadResumeParams__TurnItemsView, Schema.Null]).annotate({ |
| | 36510 | description: "How much item detail to include for each returned turn; defaults to summary.", |
| | 36511 | }), |
| | 36512 | ), |
| | 36513 | limit: Schema.optionalKey( |
| | 36514 | Schema.Union([ |
| | 36515 | Schema.Number.annotate({ description: "Optional turn page size.", format: "uint32" }) |
| | 36516 | .check(Schema.isInt()) |
| | 36517 | .check(Schema.isGreaterThanOrEqualTo(0)), |
| | 36518 | Schema.Null, |
| | 36519 | ]), |
| | 36520 | ), |
| | 36521 | sortDirection: Schema.optionalKey( |
| | 36522 | Schema.Union([V2ThreadResumeParams__SortDirection, Schema.Null]).annotate({ |
| | 36523 | description: "Optional turn pagination direction; defaults to descending.", |
| | 36524 | }), |
| | 36525 | ), |
| | 36526 | }); |
| | 36527 | |
| 34777 | export type V2ThreadResumeResponse = { | 36528 | export type V2ThreadResumeResponse = { |
| 34778 | readonly approvalPolicy: V2ThreadResumeResponse__AskForApproval; | 36529 | readonly approvalPolicy: V2ThreadResumeResponse__AskForApproval; |
| 34779 | readonly approvalsReviewer: "user" | "auto_review" | "guardian_subagent"; | 36530 | readonly approvalsReviewer: "user" | "auto_review" | "guardian_subagent"; |
| ... | @@ -34848,7 +36599,7 @@ export const V2ThreadResumeResponse = Schema.Struct({ | ... | @@ -34848,7 +36599,7 @@ export const V2ThreadResumeResponse = Schema.Struct({ |
| 34848 | { mode: "oneOf" }, | 36599 | { mode: "oneOf" }, |
| 34849 | ).annotate({ | 36600 | ).annotate({ |
| 34850 | description: | 36601 | description: |
| 34851 | "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `permissionProfile` when they need exact runtime permissions.", | 36602 | "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `activePermissionProfile` for profile provenance.", |
| 34852 | }), | 36603 | }), |
| 34853 | serviceTier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 36604 | serviceTier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 34854 | thread: V2ThreadResumeResponse__Thread, | 36605 | thread: V2ThreadResumeResponse__Thread, |
| ... | @@ -34857,14 +36608,13 @@ export const V2ThreadResumeResponse = Schema.Struct({ | ... | @@ -34857,14 +36608,13 @@ export const V2ThreadResumeResponse = Schema.Struct({ |
| 34857 | export type V2ThreadResumeResponse__ActivePermissionProfile = { | 36608 | export type V2ThreadResumeResponse__ActivePermissionProfile = { |
| 34858 | readonly extends?: string | null; | 36609 | readonly extends?: string | null; |
| 34859 | readonly id: string; | 36610 | readonly id: string; |
| 34860 | readonly modifications?: ReadonlyArray<V2ThreadResumeResponse__ActivePermissionProfileModification>; | | |
| 34861 | }; | 36611 | }; |
| 34862 | export const V2ThreadResumeResponse__ActivePermissionProfile = Schema.Struct({ | 36612 | export const V2ThreadResumeResponse__ActivePermissionProfile = Schema.Struct({ |
| 34863 | extends: Schema.optionalKey( | 36613 | extends: Schema.optionalKey( |
| 34864 | Schema.Union([ | 36614 | Schema.Union([ |
| 34865 | Schema.String.annotate({ | 36615 | Schema.String.annotate({ |
| 34866 | description: | 36616 | description: |
| 34867 | "Parent profile identifier once permissions profiles support inheritance. This is currently always `null`.", | 36617 | "Parent profile identifier from the selected permissions profile's `extends` setting, when present.", |
| 34868 | }), | 36618 | }), |
| 34869 | Schema.Null, | 36619 | Schema.Null, |
| 34870 | ]), | 36620 | ]), |
| ... | @@ -34873,13 +36623,6 @@ export const V2ThreadResumeResponse__ActivePermissionProfile = Schema.Struct({ | ... | @@ -34873,13 +36623,6 @@ export const V2ThreadResumeResponse__ActivePermissionProfile = Schema.Struct({ |
| 34873 | description: | 36623 | description: |
| 34874 | "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", | 36624 | "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", |
| 34875 | }), | 36625 | }), |
| 34876 | modifications: Schema.optionalKey( | | |
| 34877 | Schema.Array(V2ThreadResumeResponse__ActivePermissionProfileModification).annotate({ | | |
| 34878 | description: | | |
| 34879 | "Bounded user-requested modifications applied on top of the named profile, if any.", | | |
| 34880 | default: [], | | |
| 34881 | }), | | |
| 34882 | ), | | |
| 34883 | }); | 36626 | }); |
| 34884 | | 36627 | |
| 34885 | export type V2ThreadResumeResponse__ApprovalsReviewer = | 36628 | export type V2ThreadResumeResponse__ApprovalsReviewer = |
| ... | @@ -34944,44 +36687,6 @@ export const V2ThreadResumeResponse__CommandExecutionSource = Schema.Literals([ | ... | @@ -34944,44 +36687,6 @@ export const V2ThreadResumeResponse__CommandExecutionSource = Schema.Literals([ |
| 34944 | export type V2ThreadResumeResponse__NetworkAccess = "restricted" | "enabled"; | 36687 | export type V2ThreadResumeResponse__NetworkAccess = "restricted" | "enabled"; |
| 34945 | export const V2ThreadResumeResponse__NetworkAccess = Schema.Literals(["restricted", "enabled"]); | 36688 | export const V2ThreadResumeResponse__NetworkAccess = Schema.Literals(["restricted", "enabled"]); |
| 34946 | | 36689 | |
| 34947 | export type V2ThreadResumeResponse__PermissionProfile = | | |
| 34948 | | { | | |
| 34949 | readonly fileSystem: V2ThreadResumeResponse__PermissionProfileFileSystemPermissions; | | |
| 34950 | readonly network: V2ThreadResumeResponse__PermissionProfileNetworkPermissions; | | |
| 34951 | readonly type: "managed"; | | |
| 34952 | } | | |
| 34953 | | { readonly type: "disabled" } | | |
| 34954 | | { | | |
| 34955 | readonly network: V2ThreadResumeResponse__PermissionProfileNetworkPermissions; | | |
| 34956 | readonly type: "external"; | | |
| 34957 | }; | | |
| 34958 | export const V2ThreadResumeResponse__PermissionProfile = Schema.Union( | | |
| 34959 | [ | | |
| 34960 | Schema.Struct({ | | |
| 34961 | fileSystem: V2ThreadResumeResponse__PermissionProfileFileSystemPermissions, | | |
| 34962 | network: V2ThreadResumeResponse__PermissionProfileNetworkPermissions, | | |
| 34963 | type: Schema.Literal("managed").annotate({ title: "ManagedPermissionProfileType" }), | | |
| 34964 | }).annotate({ | | |
| 34965 | title: "ManagedPermissionProfile", | | |
| 34966 | description: "Codex owns sandbox construction for this profile.", | | |
| 34967 | }), | | |
| 34968 | Schema.Struct({ | | |
| 34969 | type: Schema.Literal("disabled").annotate({ title: "DisabledPermissionProfileType" }), | | |
| 34970 | }).annotate({ | | |
| 34971 | title: "DisabledPermissionProfile", | | |
| 34972 | description: "Do not apply an outer sandbox.", | | |
| 34973 | }), | | |
| 34974 | Schema.Struct({ | | |
| 34975 | network: V2ThreadResumeResponse__PermissionProfileNetworkPermissions, | | |
| 34976 | type: Schema.Literal("external").annotate({ title: "ExternalPermissionProfileType" }), | | |
| 34977 | }).annotate({ | | |
| 34978 | title: "ExternalPermissionProfile", | | |
| 34979 | description: "Filesystem isolation is enforced by an external caller.", | | |
| 34980 | }), | | |
| 34981 | ], | | |
| 34982 | { mode: "oneOf" }, | | |
| 34983 | ); | | |
| 34984 | | | |
| 34985 | export type V2ThreadResumeResponse__SandboxPolicy = | 36690 | export type V2ThreadResumeResponse__SandboxPolicy = |
| 34986 | | { readonly type: "dangerFullAccess" } | 36691 | | { readonly type: "dangerFullAccess" } |
| 34987 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } | 36692 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } |
| ... | @@ -35078,6 +36783,17 @@ export const V2ThreadResumeResponse__TurnItemsView = Schema.Literals([ | ... | @@ -35078,6 +36783,17 @@ export const V2ThreadResumeResponse__TurnItemsView = Schema.Literals([ |
| 35078 | "full", | 36783 | "full", |
| 35079 | ]); | 36784 | ]); |
| 35080 | | 36785 | |
| | 36786 | export type V2ThreadResumeResponse__TurnsPage = { |
| | 36787 | readonly backwardsCursor?: string | null; |
| | 36788 | readonly data: ReadonlyArray<V2ThreadResumeResponse__Turn>; |
| | 36789 | readonly nextCursor?: string | null; |
| | 36790 | }; |
| | 36791 | export const V2ThreadResumeResponse__TurnsPage = Schema.Struct({ |
| | 36792 | backwardsCursor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 36793 | data: Schema.Array(V2ThreadResumeResponse__Turn), |
| | 36794 | nextCursor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| | 36795 | }); |
| | 36796 | |
| 35081 | export type V2ThreadRollbackParams = { readonly numTurns: number; readonly threadId: string }; | 36797 | export type V2ThreadRollbackParams = { readonly numTurns: number; readonly threadId: string }; |
| 35082 | export const V2ThreadRollbackParams = Schema.Struct({ | 36798 | export const V2ThreadRollbackParams = Schema.Struct({ |
| 35083 | numTurns: Schema.Number.annotate({ | 36799 | numTurns: Schema.Number.annotate({ |
| ... | @@ -35103,6 +36819,7 @@ export type V2ThreadRollbackResponse = { | ... | @@ -35103,6 +36819,7 @@ export type V2ThreadRollbackResponse = { |
| 35103 | readonly id: string; | 36819 | readonly id: string; |
| 35104 | readonly modelProvider: string; | 36820 | readonly modelProvider: string; |
| 35105 | readonly name?: string | null; | 36821 | readonly name?: string | null; |
| | 36822 | readonly parentThreadId?: string | null; |
| 35106 | readonly path?: string | null; | 36823 | readonly path?: string | null; |
| 35107 | readonly preview: string; | 36824 | readonly preview: string; |
| 35108 | readonly sessionId: string; | 36825 | readonly sessionId: string; |
| ... | @@ -35183,6 +36900,15 @@ export const V2ThreadRollbackResponse = Schema.Struct({ | ... | @@ -35183,6 +36900,15 @@ export const V2ThreadRollbackResponse = Schema.Struct({ |
| 35183 | Schema.Null, | 36900 | Schema.Null, |
| 35184 | ]), | 36901 | ]), |
| 35185 | ), | 36902 | ), |
| | 36903 | parentThreadId: Schema.optionalKey( |
| | 36904 | Schema.Union([ |
| | 36905 | Schema.String.annotate({ |
| | 36906 | description: |
| | 36907 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 36908 | }), |
| | 36909 | Schema.Null, |
| | 36910 | ]), |
| | 36911 | ), |
| 35186 | path: Schema.optionalKey( | 36912 | path: Schema.optionalKey( |
| 35187 | Schema.Union([ | 36913 | Schema.Union([ |
| 35188 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 36914 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -35321,6 +37047,7 @@ export type V2ThreadRollbackResponse__Thread = { | ... | @@ -35321,6 +37047,7 @@ export type V2ThreadRollbackResponse__Thread = { |
| 35321 | readonly id: string; | 37047 | readonly id: string; |
| 35322 | readonly modelProvider: string; | 37048 | readonly modelProvider: string; |
| 35323 | readonly name?: string | null; | 37049 | readonly name?: string | null; |
| | 37050 | readonly parentThreadId?: string | null; |
| 35324 | readonly path?: string | null; | 37051 | readonly path?: string | null; |
| 35325 | readonly preview: string; | 37052 | readonly preview: string; |
| 35326 | readonly sessionId: string; | 37053 | readonly sessionId: string; |
| ... | @@ -35399,6 +37126,15 @@ export const V2ThreadRollbackResponse__Thread = Schema.Struct({ | ... | @@ -35399,6 +37126,15 @@ export const V2ThreadRollbackResponse__Thread = Schema.Struct({ |
| 35399 | Schema.Null, | 37126 | Schema.Null, |
| 35400 | ]), | 37127 | ]), |
| 35401 | ), | 37128 | ), |
| | 37129 | parentThreadId: Schema.optionalKey( |
| | 37130 | Schema.Union([ |
| | 37131 | Schema.String.annotate({ |
| | 37132 | description: |
| | 37133 | "The ID of the parent thread. This will only be set if this thread is a subagent.", |
| | 37134 | }), |
| | 37135 | Schema.Null, |
| | 37136 | ]), |
| | 37137 | ), |
| 35402 | path: Schema.optionalKey( | 37138 | path: Schema.optionalKey( |
| 35403 | Schema.Union([ | 37139 | Schema.Union([ |
| 35404 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), | 37140 | Schema.String.annotate({ description: "[UNSTABLE] Path to the thread on disk." }), |
| ... | @@ -35501,6 +37237,21 @@ export const V2ThreadSetNameResponse = Schema.Struct({}).annotate({ | ... | @@ -35501,6 +37237,21 @@ export const V2ThreadSetNameResponse = Schema.Struct({}).annotate({ |
| 35501 | title: "ThreadSetNameResponse", | 37237 | title: "ThreadSetNameResponse", |
| 35502 | }); | 37238 | }); |
| 35503 | | 37239 | |
| | 37240 | export type V2ThreadSettingsUpdatedNotification = { |
| | 37241 | readonly threadId: string; |
| | 37242 | readonly threadSettings: V2ThreadSettingsUpdatedNotification__ThreadSettings; |
| | 37243 | }; |
| | 37244 | export const V2ThreadSettingsUpdatedNotification = Schema.Struct({ |
| | 37245 | threadId: Schema.String, |
| | 37246 | threadSettings: V2ThreadSettingsUpdatedNotification__ThreadSettings, |
| | 37247 | }).annotate({ title: "ThreadSettingsUpdatedNotification" }); |
| | 37248 | |
| | 37249 | export type V2ThreadSettingsUpdatedNotification__NetworkAccess = "restricted" | "enabled"; |
| | 37250 | export const V2ThreadSettingsUpdatedNotification__NetworkAccess = Schema.Literals([ |
| | 37251 | "restricted", |
| | 37252 | "enabled", |
| | 37253 | ]); |
| | 37254 | |
| 35504 | export type V2ThreadShellCommandParams = { readonly command: string; readonly threadId: string }; | 37255 | export type V2ThreadShellCommandParams = { readonly command: string; readonly threadId: string }; |
| 35505 | export const V2ThreadShellCommandParams = Schema.Struct({ | 37256 | export const V2ThreadShellCommandParams = Schema.Struct({ |
| 35506 | command: Schema.String.annotate({ | 37257 | command: Schema.String.annotate({ |
| ... | @@ -35672,6 +37423,27 @@ export const V2ThreadStartParams = Schema.Struct({ | ... | @@ -35672,6 +37423,27 @@ export const V2ThreadStartParams = Schema.Struct({ |
| 35672 | ), | 37423 | ), |
| 35673 | }).annotate({ title: "ThreadStartParams" }); | 37424 | }).annotate({ title: "ThreadStartParams" }); |
| 35674 | | 37425 | |
| | 37426 | export type V2ThreadStartParams__CapabilityRootLocation = { |
| | 37427 | readonly environmentId: string; |
| | 37428 | readonly path: string; |
| | 37429 | readonly type: "environment"; |
| | 37430 | }; |
| | 37431 | export const V2ThreadStartParams__CapabilityRootLocation = Schema.Union( |
| | 37432 | [ |
| | 37433 | Schema.Struct({ |
| | 37434 | environmentId: Schema.String, |
| | 37435 | path: Schema.String, |
| | 37436 | type: Schema.Literal("environment").annotate({ |
| | 37437 | title: "EnvironmentCapabilityRootLocationType", |
| | 37438 | }), |
| | 37439 | }).annotate({ |
| | 37440 | title: "EnvironmentCapabilityRootLocation", |
| | 37441 | description: "A path owned by an execution environment.", |
| | 37442 | }), |
| | 37443 | ], |
| | 37444 | { mode: "oneOf" }, |
| | 37445 | ).annotate({ description: "Location used to resolve a selected capability root." }); |
| | 37446 | |
| 35675 | export type V2ThreadStartParams__DynamicToolSpec = { | 37447 | export type V2ThreadStartParams__DynamicToolSpec = { |
| 35676 | readonly deferLoading?: boolean; | 37448 | readonly deferLoading?: boolean; |
| 35677 | readonly description: string; | 37449 | readonly description: string; |
| ... | @@ -35687,32 +37459,36 @@ export const V2ThreadStartParams__DynamicToolSpec = Schema.Struct({ | ... | @@ -35687,32 +37459,36 @@ export const V2ThreadStartParams__DynamicToolSpec = Schema.Struct({ |
| 35687 | namespace: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 37459 | namespace: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 35688 | }); | 37460 | }); |
| 35689 | | 37461 | |
| 35690 | export type V2ThreadStartParams__PermissionProfileSelectionParams = { | 37462 | export type V2ThreadStartParams__SelectedCapabilityRoot = { |
| 35691 | readonly id: string; | 37463 | readonly id: string; |
| 35692 | readonly modifications?: ReadonlyArray<V2ThreadStartParams__PermissionProfileModificationParams> | null; | 37464 | readonly location: { |
| 35693 | readonly type: "profile"; | 37465 | readonly environmentId: string; |
| | 37466 | readonly path: string; |
| | 37467 | readonly type: "environment"; |
| | 37468 | }; |
| 35694 | }; | 37469 | }; |
| 35695 | export const V2ThreadStartParams__PermissionProfileSelectionParams = Schema.Union( | 37470 | export const V2ThreadStartParams__SelectedCapabilityRoot = Schema.Struct({ |
| 35696 | [ | 37471 | id: Schema.String.annotate({ |
| 35697 | Schema.Struct({ | 37472 | description: "Stable identifier supplied by the capability selection platform.", |
| 35698 | id: Schema.String, | 37473 | }), |
| 35699 | modifications: Schema.optionalKey( | 37474 | location: Schema.Union( |
| 35700 | Schema.Union([ | 37475 | [ |
| 35701 | Schema.Array(V2ThreadStartParams__PermissionProfileModificationParams), | 37476 | Schema.Struct({ |
| 35702 | Schema.Null, | 37477 | environmentId: Schema.String, |
| 35703 | ]), | 37478 | path: Schema.String, |
| 35704 | ), | 37479 | type: Schema.Literal("environment").annotate({ |
| 35705 | type: Schema.Literal("profile").annotate({ | 37480 | title: "EnvironmentCapabilityRootLocationType", |
| 35706 | title: "ProfilePermissionProfileSelectionParamsType", | 37481 | }), |
| | 37482 | }).annotate({ |
| | 37483 | title: "EnvironmentCapabilityRootLocation", |
| | 37484 | description: "A path owned by an execution environment.", |
| 35707 | }), | 37485 | }), |
| 35708 | }).annotate({ | 37486 | ], |
| 35709 | title: "ProfilePermissionProfileSelectionParams", | 37487 | { mode: "oneOf" }, |
| 35710 | description: | 37488 | ).annotate({ description: "Location used to resolve a selected capability root." }), |
| 35711 | "Select a named built-in or user-defined profile and optionally apply bounded modifications that Codex knows how to validate.", | 37489 | }).annotate({ |
| 35712 | }), | 37490 | description: "A user-selected root that can expose one or more runtime capabilities.", |
| 35713 | ], | 37491 | }); |
| 35714 | { mode: "oneOf" }, | | |
| 35715 | ); | | |
| 35716 | | 37492 | |
| 35717 | export type V2ThreadStartParams__TurnEnvironmentParams = { | 37493 | export type V2ThreadStartParams__TurnEnvironmentParams = { |
| 35718 | readonly cwd: V2ThreadStartParams__AbsolutePathBuf; | 37494 | readonly cwd: V2ThreadStartParams__AbsolutePathBuf; |
| ... | @@ -35797,7 +37573,7 @@ export const V2ThreadStartResponse = Schema.Struct({ | ... | @@ -35797,7 +37573,7 @@ export const V2ThreadStartResponse = Schema.Struct({ |
| 35797 | { mode: "oneOf" }, | 37573 | { mode: "oneOf" }, |
| 35798 | ).annotate({ | 37574 | ).annotate({ |
| 35799 | description: | 37575 | description: |
| 35800 | "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `permissionProfile` when they need exact runtime permissions.", | 37576 | "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `activePermissionProfile` for profile provenance.", |
| 35801 | }), | 37577 | }), |
| 35802 | serviceTier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), | 37578 | serviceTier: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 35803 | thread: V2ThreadStartResponse__Thread, | 37579 | thread: V2ThreadStartResponse__Thread, |
| ... | @@ -35806,14 +37582,13 @@ export const V2ThreadStartResponse = Schema.Struct({ | ... | @@ -35806,14 +37582,13 @@ export const V2ThreadStartResponse = Schema.Struct({ |
| 35806 | export type V2ThreadStartResponse__ActivePermissionProfile = { | 37582 | export type V2ThreadStartResponse__ActivePermissionProfile = { |
| 35807 | readonly extends?: string | null; | 37583 | readonly extends?: string | null; |
| 35808 | readonly id: string; | 37584 | readonly id: string; |
| 35809 | readonly modifications?: ReadonlyArray<V2ThreadStartResponse__ActivePermissionProfileModification>; | | |
| 35810 | }; | 37585 | }; |
| 35811 | export const V2ThreadStartResponse__ActivePermissionProfile = Schema.Struct({ | 37586 | export const V2ThreadStartResponse__ActivePermissionProfile = Schema.Struct({ |
| 35812 | extends: Schema.optionalKey( | 37587 | extends: Schema.optionalKey( |
| 35813 | Schema.Union([ | 37588 | Schema.Union([ |
| 35814 | Schema.String.annotate({ | 37589 | Schema.String.annotate({ |
| 35815 | description: | 37590 | description: |
| 35816 | "Parent profile identifier once permissions profiles support inheritance. This is currently always `null`.", | 37591 | "Parent profile identifier from the selected permissions profile's `extends` setting, when present.", |
| 35817 | }), | 37592 | }), |
| 35818 | Schema.Null, | 37593 | Schema.Null, |
| 35819 | ]), | 37594 | ]), |
| ... | @@ -35822,13 +37597,6 @@ export const V2ThreadStartResponse__ActivePermissionProfile = Schema.Struct({ | ... | @@ -35822,13 +37597,6 @@ export const V2ThreadStartResponse__ActivePermissionProfile = Schema.Struct({ |
| 35822 | description: | 37597 | description: |
| 35823 | "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", | 37598 | "Identifier from `default_permissions` or the implicit built-in default, such as `:workspace` or a user-defined `[permissions.<id>]` profile.", |
| 35824 | }), | 37599 | }), |
| 35825 | modifications: Schema.optionalKey( | | |
| 35826 | Schema.Array(V2ThreadStartResponse__ActivePermissionProfileModification).annotate({ | | |
| 35827 | description: | | |
| 35828 | "Bounded user-requested modifications applied on top of the named profile, if any.", | | |
| 35829 | default: [], | | |
| 35830 | }), | | |
| 35831 | ), | | |
| 35832 | }); | 37600 | }); |
| 35833 | | 37601 | |
| 35834 | export type V2ThreadStartResponse__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; | 37602 | export type V2ThreadStartResponse__ApprovalsReviewer = "user" | "auto_review" | "guardian_subagent"; |
| ... | @@ -35890,44 +37658,6 @@ export const V2ThreadStartResponse__CommandExecutionSource = Schema.Literals([ | ... | @@ -35890,44 +37658,6 @@ export const V2ThreadStartResponse__CommandExecutionSource = Schema.Literals([ |
| 35890 | export type V2ThreadStartResponse__NetworkAccess = "restricted" | "enabled"; | 37658 | export type V2ThreadStartResponse__NetworkAccess = "restricted" | "enabled"; |
| 35891 | export const V2ThreadStartResponse__NetworkAccess = Schema.Literals(["restricted", "enabled"]); | 37659 | export const V2ThreadStartResponse__NetworkAccess = Schema.Literals(["restricted", "enabled"]); |
| 35892 | | 37660 | |
| 35893 | export type V2ThreadStartResponse__PermissionProfile = | | |
| 35894 | | { | | |
| 35895 | readonly fileSystem: V2ThreadStartResponse__PermissionProfileFileSystemPermissions; | | |
| 35896 | readonly network: V2ThreadStartResponse__PermissionProfileNetworkPermissions; | | |
| 35897 | readonly type: "managed"; | | |
| 35898 | } | | |
| 35899 | | { readonly type: "disabled" } | | |
| 35900 | | { | | |
| 35901 | readonly network: V2ThreadStartResponse__PermissionProfileNetworkPermissions; | | |
| 35902 | readonly type: "external"; | | |
| 35903 | }; | | |
| 35904 | export const V2ThreadStartResponse__PermissionProfile = Schema.Union( | | |
| 35905 | [ | | |
| 35906 | Schema.Struct({ | | |
| 35907 | fileSystem: V2ThreadStartResponse__PermissionProfileFileSystemPermissions, | | |
| 35908 | network: V2ThreadStartResponse__PermissionProfileNetworkPermissions, | | |
| 35909 | type: Schema.Literal("managed").annotate({ title: "ManagedPermissionProfileType" }), | | |
| 35910 | }).annotate({ | | |
| 35911 | title: "ManagedPermissionProfile", | | |
| 35912 | description: "Codex owns sandbox construction for this profile.", | | |
| 35913 | }), | | |
| 35914 | Schema.Struct({ | | |
| 35915 | type: Schema.Literal("disabled").annotate({ title: "DisabledPermissionProfileType" }), | | |
| 35916 | }).annotate({ | | |
| 35917 | title: "DisabledPermissionProfile", | | |
| 35918 | description: "Do not apply an outer sandbox.", | | |
| 35919 | }), | | |
| 35920 | Schema.Struct({ | | |
| 35921 | network: V2ThreadStartResponse__PermissionProfileNetworkPermissions, | | |
| 35922 | type: Schema.Literal("external").annotate({ title: "ExternalPermissionProfileType" }), | | |
| 35923 | }).annotate({ | | |
| 35924 | title: "ExternalPermissionProfile", | | |
| 35925 | description: "Filesystem isolation is enforced by an external caller.", | | |
| 35926 | }), | | |
| 35927 | ], | | |
| 35928 | { mode: "oneOf" }, | | |
| 35929 | ); | | |
| 35930 | | | |
| 35931 | export type V2ThreadStartResponse__SandboxPolicy = | 37661 | export type V2ThreadStartResponse__SandboxPolicy = |
| 35932 | | { readonly type: "dangerFullAccess" } | 37662 | | { readonly type: "dangerFullAccess" } |
| 35933 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } | 37663 | | { readonly networkAccess?: boolean; readonly type: "readOnly" } |
| ... | @@ -36261,6 +37991,17 @@ export const V2TurnInterruptResponse = Schema.Struct({}).annotate({ | ... | @@ -36261,6 +37991,17 @@ export const V2TurnInterruptResponse = Schema.Struct({}).annotate({ |
| 36261 | title: "TurnInterruptResponse", | 37991 | title: "TurnInterruptResponse", |
| 36262 | }); | 37992 | }); |
| 36263 | | 37993 | |
| | 37994 | export type V2TurnModerationMetadataNotification = { |
| | 37995 | readonly metadata: unknown; |
| | 37996 | readonly threadId: string; |
| | 37997 | readonly turnId: string; |
| | 37998 | }; |
| | 37999 | export const V2TurnModerationMetadataNotification = Schema.Struct({ |
| | 38000 | metadata: Schema.Unknown, |
| | 38001 | threadId: Schema.String, |
| | 38002 | turnId: Schema.String, |
| | 38003 | }).annotate({ title: "TurnModerationMetadataNotification" }); |
| | 38004 | |
| 36264 | export type V2TurnPlanUpdatedNotification = { | 38005 | export type V2TurnPlanUpdatedNotification = { |
| 36265 | readonly explanation?: string | null; | 38006 | readonly explanation?: string | null; |
| 36266 | readonly plan: ReadonlyArray<V2TurnPlanUpdatedNotification__TurnPlanStep>; | 38007 | readonly plan: ReadonlyArray<V2TurnPlanUpdatedNotification__TurnPlanStep>; |
| ... | @@ -36339,6 +38080,7 @@ export const V2TurnStartedNotification__TurnItemsView = Schema.Literals([ | ... | @@ -36339,6 +38080,7 @@ export const V2TurnStartedNotification__TurnItemsView = Schema.Literals([ |
| 36339 | export type V2TurnStartParams = { | 38080 | export type V2TurnStartParams = { |
| 36340 | readonly approvalPolicy?: V2TurnStartParams__AskForApproval | null; | 38081 | readonly approvalPolicy?: V2TurnStartParams__AskForApproval | null; |
| 36341 | readonly approvalsReviewer?: V2TurnStartParams__ApprovalsReviewer | null; | 38082 | readonly approvalsReviewer?: V2TurnStartParams__ApprovalsReviewer | null; |
| | 38083 | readonly clientUserMessageId?: string | null; |
| 36342 | readonly cwd?: string | null; | 38084 | readonly cwd?: string | null; |
| 36343 | readonly effort?: V2TurnStartParams__ReasoningEffort | null; | 38085 | readonly effort?: V2TurnStartParams__ReasoningEffort | null; |
| 36344 | readonly input: ReadonlyArray<V2TurnStartParams__UserInput>; | 38086 | readonly input: ReadonlyArray<V2TurnStartParams__UserInput>; |
| ... | @@ -36362,6 +38104,7 @@ export const V2TurnStartParams = Schema.Struct({ | ... | @@ -36362,6 +38104,7 @@ export const V2TurnStartParams = Schema.Struct({ |
| 36362 | "Override where approval requests are routed for review on this turn and subsequent turns.", | 38104 | "Override where approval requests are routed for review on this turn and subsequent turns.", |
| 36363 | }), | 38105 | }), |
| 36364 | ), | 38106 | ), |
| | 38107 | clientUserMessageId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 36365 | cwd: Schema.optionalKey( | 38108 | cwd: Schema.optionalKey( |
| 36366 | Schema.Union([ | 38109 | Schema.Union([ |
| 36367 | Schema.String.annotate({ | 38110 | Schema.String.annotate({ |
| ... | @@ -36416,6 +38159,15 @@ export const V2TurnStartParams = Schema.Struct({ | ... | @@ -36416,6 +38159,15 @@ export const V2TurnStartParams = Schema.Struct({ |
| 36416 | threadId: Schema.String, | 38159 | threadId: Schema.String, |
| 36417 | }).annotate({ title: "TurnStartParams" }); | 38160 | }).annotate({ title: "TurnStartParams" }); |
| 36418 | | 38161 | |
| | 38162 | export type V2TurnStartParams__AdditionalContextEntry = { |
| | 38163 | readonly kind: V2TurnStartParams__AdditionalContextKind; |
| | 38164 | readonly value: string; |
| | 38165 | }; |
| | 38166 | export const V2TurnStartParams__AdditionalContextEntry = Schema.Struct({ |
| | 38167 | kind: V2TurnStartParams__AdditionalContextKind, |
| | 38168 | value: Schema.String, |
| | 38169 | }); |
| | 38170 | |
| 36419 | export type V2TurnStartParams__ByteRange = { readonly end: number; readonly start: number }; | 38171 | export type V2TurnStartParams__ByteRange = { readonly end: number; readonly start: number }; |
| 36420 | export const V2TurnStartParams__ByteRange = Schema.Struct({ | 38172 | export const V2TurnStartParams__ByteRange = Schema.Struct({ |
| 36421 | end: Schema.Number.annotate({ format: "uint" }) | 38173 | end: Schema.Number.annotate({ format: "uint" }) |
| ... | @@ -36438,33 +38190,6 @@ export const V2TurnStartParams__CollaborationMode = Schema.Struct({ | ... | @@ -36438,33 +38190,6 @@ export const V2TurnStartParams__CollaborationMode = Schema.Struct({ |
| 36438 | export type V2TurnStartParams__NetworkAccess = "restricted" | "enabled"; | 38190 | export type V2TurnStartParams__NetworkAccess = "restricted" | "enabled"; |
| 36439 | export const V2TurnStartParams__NetworkAccess = Schema.Literals(["restricted", "enabled"]); | 38191 | export const V2TurnStartParams__NetworkAccess = Schema.Literals(["restricted", "enabled"]); |
| 36440 | | 38192 | |
| 36441 | export type V2TurnStartParams__PermissionProfileSelectionParams = { | | |
| 36442 | readonly id: string; | | |
| 36443 | readonly modifications?: ReadonlyArray<V2TurnStartParams__PermissionProfileModificationParams> | null; | | |
| 36444 | readonly type: "profile"; | | |
| 36445 | }; | | |
| 36446 | export const V2TurnStartParams__PermissionProfileSelectionParams = Schema.Union( | | |
| 36447 | [ | | |
| 36448 | Schema.Struct({ | | |
| 36449 | id: Schema.String, | | |
| 36450 | modifications: Schema.optionalKey( | | |
| 36451 | Schema.Union([ | | |
| 36452 | Schema.Array(V2TurnStartParams__PermissionProfileModificationParams), | | |
| 36453 | Schema.Null, | | |
| 36454 | ]), | | |
| 36455 | ), | | |
| 36456 | type: Schema.Literal("profile").annotate({ | | |
| 36457 | title: "ProfilePermissionProfileSelectionParamsType", | | |
| 36458 | }), | | |
| 36459 | }).annotate({ | | |
| 36460 | title: "ProfilePermissionProfileSelectionParams", | | |
| 36461 | description: | | |
| 36462 | "Select a named built-in or user-defined profile and optionally apply bounded modifications that Codex knows how to validate.", | | |
| 36463 | }), | | |
| 36464 | ], | | |
| 36465 | { mode: "oneOf" }, | | |
| 36466 | ); | | |
| 36467 | | | |
| 36468 | export type V2TurnStartParams__TurnEnvironmentParams = { | 38193 | export type V2TurnStartParams__TurnEnvironmentParams = { |
| 36469 | readonly cwd: V2TurnStartParams__AbsolutePathBuf; | 38194 | readonly cwd: V2TurnStartParams__AbsolutePathBuf; |
| 36470 | readonly environmentId: string; | 38195 | readonly environmentId: string; |
| ... | @@ -36526,11 +38251,13 @@ export type V2TurnStartResponse__TurnItemsView = "notLoaded" | "summary" | "full | ... | @@ -36526,11 +38251,13 @@ export type V2TurnStartResponse__TurnItemsView = "notLoaded" | "summary" | "full |
| 36526 | export const V2TurnStartResponse__TurnItemsView = Schema.Literals(["notLoaded", "summary", "full"]); | 38251 | export const V2TurnStartResponse__TurnItemsView = Schema.Literals(["notLoaded", "summary", "full"]); |
| 36527 | | 38252 | |
| 36528 | export type V2TurnSteerParams = { | 38253 | export type V2TurnSteerParams = { |
| | 38254 | readonly clientUserMessageId?: string | null; |
| 36529 | readonly expectedTurnId: string; | 38255 | readonly expectedTurnId: string; |
| 36530 | readonly input: ReadonlyArray<V2TurnSteerParams__UserInput>; | 38256 | readonly input: ReadonlyArray<V2TurnSteerParams__UserInput>; |
| 36531 | readonly threadId: string; | 38257 | readonly threadId: string; |
| 36532 | }; | 38258 | }; |
| 36533 | export const V2TurnSteerParams = Schema.Struct({ | 38259 | export const V2TurnSteerParams = Schema.Struct({ |
| | 38260 | clientUserMessageId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])), |
| 36534 | expectedTurnId: Schema.String.annotate({ | 38261 | expectedTurnId: Schema.String.annotate({ |
| 36535 | description: | 38262 | description: |
| 36536 | "Required active turn id precondition. The request fails when it does not match the currently active turn.", | 38263 | "Required active turn id precondition. The request fails when it does not match the currently active turn.", |
| ... | @@ -36539,6 +38266,15 @@ export const V2TurnSteerParams = Schema.Struct({ | ... | @@ -36539,6 +38266,15 @@ export const V2TurnSteerParams = Schema.Struct({ |
| 36539 | threadId: Schema.String, | 38266 | threadId: Schema.String, |
| 36540 | }).annotate({ title: "TurnSteerParams" }); | 38267 | }).annotate({ title: "TurnSteerParams" }); |
| 36541 | | 38268 | |
| | 38269 | export type V2TurnSteerParams__AdditionalContextEntry = { |
| | 38270 | readonly kind: V2TurnSteerParams__AdditionalContextKind; |
| | 38271 | readonly value: string; |
| | 38272 | }; |
| | 38273 | export const V2TurnSteerParams__AdditionalContextEntry = Schema.Struct({ |
| | 38274 | kind: V2TurnSteerParams__AdditionalContextKind, |
| | 38275 | value: Schema.String, |
| | 38276 | }); |
| | 38277 | |
| 36542 | export type V2TurnSteerParams__ByteRange = { readonly end: number; readonly start: number }; | 38278 | export type V2TurnSteerParams__ByteRange = { readonly end: number; readonly start: number }; |
| 36543 | export const V2TurnSteerParams__ByteRange = Schema.Struct({ | 38279 | export const V2TurnSteerParams__ByteRange = Schema.Struct({ |
| 36544 | end: Schema.Number.annotate({ format: "uint" }) | 38280 | end: Schema.Number.annotate({ format: "uint" }) |