@openclaw/codex 2026.7.2-beta.5 → 2026.7.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -27
- package/dist/{command-formatters-ico4ZFnk.js → .setup/app-server-policy-C_qTMEMy.mjs} +51 -9
- package/dist/{attempt-notifications-CMR2_fmR.js → .setup/attempt-notifications-F8krwWL4.mjs} +6 -3
- package/dist/{command-handlers-CRmnwI2N.js → .setup/command-handlers-DSRFfor4.mjs} +1156 -1319
- package/dist/.setup/command-rpc-BvYsfQ7G.mjs +786 -0
- package/dist/{compact-dEN49UH6.js → .setup/compact-BNgh7I4t.mjs} +10 -40
- package/dist/.setup/computer-use-C3QkmSO3.mjs +377 -0
- package/dist/.setup/config-CYEDnLJ2.mjs +1138 -0
- package/dist/{conversation-binding-data-BHRpYbX3.js → .setup/conversation-binding-data-CrRxtDBu.mjs} +1 -1
- package/dist/{bounded-turn-FEbUXoYT.js → .setup/media-understanding-provider-EbJCyDqe.mjs} +193 -92
- package/dist/{models-BA01NEez.js → .setup/models-C_aZk03A.mjs} +11 -6
- package/dist/.setup/notification-correlation-iYs4WieS.mjs +35 -0
- package/dist/.setup/plugin-app-cache-key-DR8jV9oS.mjs +99 -0
- package/dist/.setup/protocol-2POPqAY4.mjs +13 -0
- package/dist/{protocol-validators-Dm4eXZmt.js → .setup/protocol-validators-dZQ-UTOa.mjs} +111 -334
- package/dist/{rate-limits-S_PXs0ul.js → .setup/provider-DGxDs6g8.mjs} +269 -13
- package/dist/{dynamic-tools-LIt9ojep.js → .setup/provider-capabilities-DS2N_zc1.mjs} +5465 -3399
- package/dist/.setup/request-DFR0JyoV.mjs +36 -0
- package/dist/.setup/run-attempt-C7xEKFVB.mjs +8180 -0
- package/dist/{sandbox-guard-D1Wky__S.js → .setup/sandbox-guard-DA2TQfZW.mjs} +1 -10
- package/dist/.setup/session-binding-DuihlMJc.mjs +628 -0
- package/dist/.setup/shared-client-B2KmLPRw.mjs +1854 -0
- package/dist/{side-question-CO12sHxo.js → .setup/side-question-Cv6JXWCS.mjs} +84 -159
- package/dist/{thread-lifecycle-DRg_FdzC.js → .setup/thread-lifecycle-u6CZdOOH.mjs} +1159 -1799
- package/dist/{web-search-provider.runtime-CaQMYDbp.js → .setup/web-search-provider.runtime-Ce2zOHxW.mjs} +3 -3
- package/dist/doctor-contract-api.js +122 -88
- package/dist/harness.js +20 -85
- package/dist/index.js +381 -1537
- package/dist/media-understanding-provider.js +1 -173
- package/dist/prompt-overlay.js +15 -0
- package/dist/provider-catalog.js +79 -0
- package/dist/provider-discovery.js +34 -0
- package/dist/provider.js +2 -0
- package/dist/web-search-contract-api.js +1 -1
- package/openclaw.plugin.json +178 -221
- package/package.json +8 -10
- package/dist/app-server-policy-BmDgseo_.js +0 -49
- package/dist/attempt-client-cleanup-Ia52yRWc.js +0 -127
- package/dist/auth-binding-B4FfbcCg.js +0 -62
- package/dist/capabilities-BHRSI6Cn.js +0 -36
- package/dist/cli-metadata.js +0 -20
- package/dist/computer-use-BjGylO-E.js +0 -695
- package/dist/conversation-control-DE7d9DOj.js +0 -287
- package/dist/event-projector-assistant-message-DTgnPPVF.js +0 -101
- package/dist/event-projector-usage-tvgb1NCX.js +0 -69
- package/dist/incognito-session-ET_ufDH-.js +0 -2
- package/dist/notification-correlation-Bj_Ak_jI.js +0 -67
- package/dist/plugin-app-cache-key-DSXX-rXO.js +0 -315
- package/dist/realtime-voice-api-BPcA1uN9.js +0 -494
- package/dist/realtime-voice-api.js +0 -2
- package/dist/request-CXpPennK.js +0 -157
- package/dist/run-attempt-C5GTPJOE.js +0 -11935
- package/dist/runtime-artifact-C2ITXdhM.js +0 -488
- package/dist/session-binding-DlVQ-Pxs.js +0 -2161
- package/dist/session-catalog-CP2oCcEb.js +0 -2444
- package/dist/session-cli-CqZ0Fp2a.js +0 -175
- package/dist/session-upstream-marker-QE-m5QFG.js +0 -82
- package/dist/settled-turn-finalizer-CA_2QXIE.js +0 -303
- package/dist/shared-client-BVKE40c-.js +0 -2952
- package/dist/transcript-mirror-uKA-A4tB.js +0 -550
- package/dist/transport-stdio-DXgGZ7Ib.js +0 -88
- package/dist/upstream-session-fork-_Vrz4WJr.js +0 -320
- package/dist/usage-UpVbdX5G.js +0 -25
- /package/dist/{rolldown-runtime-8H4AJuhK.js → .setup/rolldown-runtime-8H4AJuhK.mjs} +0 -0
- /package/dist/{session-binding-meta-B7aEMU7g.js → .setup/session-binding-meta-B7aEMU7g.mjs} +0 -0
- /package/dist/{web-search-provider.shared-BrZmlqyR.js → .setup/web-search-provider.shared-BrZmlqyR.mjs} +0 -0
|
@@ -157,23 +157,15 @@ var ModelListResponse_default = {
|
|
|
157
157
|
definitions: {
|
|
158
158
|
"InputModality": {
|
|
159
159
|
"description": "Canonical user-input modality tags advertised by a model.",
|
|
160
|
-
"oneOf": [
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
"type": "string"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"description": "Audio attachments included in user turns.",
|
|
173
|
-
"enum": ["audio"],
|
|
174
|
-
"type": "string"
|
|
175
|
-
}
|
|
176
|
-
]
|
|
160
|
+
"oneOf": [{
|
|
161
|
+
"description": "Plain text turns and tool payloads.",
|
|
162
|
+
"enum": ["text"],
|
|
163
|
+
"type": "string"
|
|
164
|
+
}, {
|
|
165
|
+
"description": "Image attachments included in user turns.",
|
|
166
|
+
"enum": ["image"],
|
|
167
|
+
"type": "string"
|
|
168
|
+
}]
|
|
177
169
|
},
|
|
178
170
|
"Model": {
|
|
179
171
|
"properties": {
|
|
@@ -581,47 +573,31 @@ var ThreadResumeResponse_default = {
|
|
|
581
573
|
],
|
|
582
574
|
"type": "string"
|
|
583
575
|
},
|
|
584
|
-
"DynamicToolCallOutputContentItem": { "oneOf": [
|
|
585
|
-
{
|
|
586
|
-
"
|
|
587
|
-
|
|
588
|
-
"
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
"required": ["text", "type"],
|
|
595
|
-
"title": "InputTextDynamicToolCallOutputContentItem",
|
|
596
|
-
"type": "object"
|
|
576
|
+
"DynamicToolCallOutputContentItem": { "oneOf": [{
|
|
577
|
+
"properties": {
|
|
578
|
+
"text": { "type": "string" },
|
|
579
|
+
"type": {
|
|
580
|
+
"enum": ["inputText"],
|
|
581
|
+
"title": "InputTextDynamicToolCallOutputContentItemType",
|
|
582
|
+
"type": "string"
|
|
583
|
+
}
|
|
597
584
|
},
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
"type": "object"
|
|
585
|
+
"required": ["text", "type"],
|
|
586
|
+
"title": "InputTextDynamicToolCallOutputContentItem",
|
|
587
|
+
"type": "object"
|
|
588
|
+
}, {
|
|
589
|
+
"properties": {
|
|
590
|
+
"imageUrl": { "type": "string" },
|
|
591
|
+
"type": {
|
|
592
|
+
"enum": ["inputImage"],
|
|
593
|
+
"title": "InputImageDynamicToolCallOutputContentItemType",
|
|
594
|
+
"type": "string"
|
|
595
|
+
}
|
|
610
596
|
},
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
"enum": ["inputAudio"],
|
|
616
|
-
"title": "InputAudioDynamicToolCallOutputContentItemType",
|
|
617
|
-
"type": "string"
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
|
-
"required": ["audioUrl", "type"],
|
|
621
|
-
"title": "InputAudioDynamicToolCallOutputContentItem",
|
|
622
|
-
"type": "object"
|
|
623
|
-
}
|
|
624
|
-
] },
|
|
597
|
+
"required": ["imageUrl", "type"],
|
|
598
|
+
"title": "InputImageDynamicToolCallOutputContentItem",
|
|
599
|
+
"type": "object"
|
|
600
|
+
}] },
|
|
625
601
|
"DynamicToolCallStatus": {
|
|
626
602
|
"enum": [
|
|
627
603
|
"inProgress",
|
|
@@ -675,7 +651,8 @@ var ThreadResumeResponse_default = {
|
|
|
675
651
|
"appName": { "type": ["string", "null"] },
|
|
676
652
|
"connectorId": { "type": "string" },
|
|
677
653
|
"linkId": { "type": ["string", "null"] },
|
|
678
|
-
"resourceUri": { "type": ["string", "null"] }
|
|
654
|
+
"resourceUri": { "type": ["string", "null"] },
|
|
655
|
+
"templateId": { "type": ["string", "null"] }
|
|
679
656
|
},
|
|
680
657
|
"required": ["connectorId"],
|
|
681
658
|
"type": "object"
|
|
@@ -1001,10 +978,6 @@ var ThreadResumeResponse_default = {
|
|
|
1001
978
|
"description": "Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.",
|
|
1002
979
|
"type": ["string", "null"]
|
|
1003
980
|
},
|
|
1004
|
-
"canAcceptDirectInput": {
|
|
1005
|
-
"description": "Whether the app server accepts direct turn input for this loaded thread. `None` means the capability is unavailable, such as for an unloaded stored thread.",
|
|
1006
|
-
"type": ["boolean", "null"]
|
|
1007
|
-
},
|
|
1008
981
|
"cliVersion": {
|
|
1009
982
|
"description": "Version of the CLI that created the thread.",
|
|
1010
983
|
"type": "string"
|
|
@@ -1470,12 +1443,6 @@ var ThreadResumeResponse_default = {
|
|
|
1470
1443
|
"action": { "anyOf": [{ "$ref": "#/definitions/WebSearchAction" }, { "type": "null" }] },
|
|
1471
1444
|
"id": { "type": "string" },
|
|
1472
1445
|
"query": { "type": "string" },
|
|
1473
|
-
"results": {
|
|
1474
|
-
"default": null,
|
|
1475
|
-
"description": "Structured search results returned out-of-band by standalone web search.\n\nThese stay as opaque JSON at the extension/app-server boundary so new result fields and result types can pass through without a Codex release.",
|
|
1476
|
-
"items": true,
|
|
1477
|
-
"type": ["array", "null"]
|
|
1478
|
-
},
|
|
1479
1446
|
"type": {
|
|
1480
1447
|
"enum": ["webSearch"],
|
|
1481
1448
|
"title": "WebSearchThreadItemType",
|
|
@@ -1509,7 +1476,6 @@ var ThreadResumeResponse_default = {
|
|
|
1509
1476
|
"type": "object"
|
|
1510
1477
|
},
|
|
1511
1478
|
{
|
|
1512
|
-
"description": "Display item emitted by the interruptible `clock.sleep` tool.",
|
|
1513
1479
|
"properties": {
|
|
1514
1480
|
"durationMs": {
|
|
1515
1481
|
"format": "uint64",
|
|
@@ -1800,32 +1766,6 @@ var ThreadResumeResponse_default = {
|
|
|
1800
1766
|
"title": "LocalImageUserInput",
|
|
1801
1767
|
"type": "object"
|
|
1802
1768
|
},
|
|
1803
|
-
{
|
|
1804
|
-
"properties": {
|
|
1805
|
-
"type": {
|
|
1806
|
-
"enum": ["audio"],
|
|
1807
|
-
"title": "AudioUserInputType",
|
|
1808
|
-
"type": "string"
|
|
1809
|
-
},
|
|
1810
|
-
"url": { "type": "string" }
|
|
1811
|
-
},
|
|
1812
|
-
"required": ["type", "url"],
|
|
1813
|
-
"title": "AudioUserInput",
|
|
1814
|
-
"type": "object"
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"properties": {
|
|
1818
|
-
"path": { "type": "string" },
|
|
1819
|
-
"type": {
|
|
1820
|
-
"enum": ["localAudio"],
|
|
1821
|
-
"title": "LocalAudioUserInputType",
|
|
1822
|
-
"type": "string"
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
"required": ["path", "type"],
|
|
1826
|
-
"title": "LocalAudioUserInput",
|
|
1827
|
-
"type": "object"
|
|
1828
|
-
},
|
|
1829
1769
|
{
|
|
1830
1770
|
"properties": {
|
|
1831
1771
|
"name": { "type": "string" },
|
|
@@ -1943,11 +1883,6 @@ var ThreadResumeResponse_default = {
|
|
|
1943
1883
|
"items": { "$ref": "#/definitions/LegacyAppPathString" },
|
|
1944
1884
|
"type": "array"
|
|
1945
1885
|
},
|
|
1946
|
-
"itemsBackwardsCursor": {
|
|
1947
|
-
"default": null,
|
|
1948
|
-
"description": "Opaque head cursor for hydrating paginated items backwards.\n\nPass this as `cursor` to `thread/items/list` with `sortDirection: \"desc\"`. The first page includes the cursor's head item.",
|
|
1949
|
-
"type": ["string", "null"]
|
|
1950
|
-
},
|
|
1951
1886
|
"model": { "type": "string" },
|
|
1952
1887
|
"modelProvider": { "type": "string" },
|
|
1953
1888
|
"multiAgentMode": {
|
|
@@ -1967,12 +1902,7 @@ var ThreadResumeResponse_default = {
|
|
|
1967
1902
|
"description": "Legacy sandbox policy retained for compatibility. Experimental clients should prefer `activePermissionProfile` for profile provenance."
|
|
1968
1903
|
},
|
|
1969
1904
|
"serviceTier": { "type": ["string", "null"] },
|
|
1970
|
-
"thread": { "$ref": "#/definitions/Thread" }
|
|
1971
|
-
"turnsBackwardsCursor": {
|
|
1972
|
-
"default": null,
|
|
1973
|
-
"description": "Opaque head cursor for hydrating paginated turns backwards.\n\nPass this as `cursor` to `thread/turns/list` with `sortDirection: \"desc\"`. The first page includes the cursor's head turn.",
|
|
1974
|
-
"type": ["string", "null"]
|
|
1975
|
-
}
|
|
1905
|
+
"thread": { "$ref": "#/definitions/Thread" }
|
|
1976
1906
|
},
|
|
1977
1907
|
required: [
|
|
1978
1908
|
"approvalPolicy",
|
|
@@ -2282,47 +2212,31 @@ var ThreadStartResponse_default = {
|
|
|
2282
2212
|
],
|
|
2283
2213
|
"type": "string"
|
|
2284
2214
|
},
|
|
2285
|
-
"DynamicToolCallOutputContentItem": { "oneOf": [
|
|
2286
|
-
{
|
|
2287
|
-
"
|
|
2288
|
-
|
|
2289
|
-
"
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
}
|
|
2294
|
-
},
|
|
2295
|
-
"required": ["text", "type"],
|
|
2296
|
-
"title": "InputTextDynamicToolCallOutputContentItem",
|
|
2297
|
-
"type": "object"
|
|
2215
|
+
"DynamicToolCallOutputContentItem": { "oneOf": [{
|
|
2216
|
+
"properties": {
|
|
2217
|
+
"text": { "type": "string" },
|
|
2218
|
+
"type": {
|
|
2219
|
+
"enum": ["inputText"],
|
|
2220
|
+
"title": "InputTextDynamicToolCallOutputContentItemType",
|
|
2221
|
+
"type": "string"
|
|
2222
|
+
}
|
|
2298
2223
|
},
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
"type": "object"
|
|
2224
|
+
"required": ["text", "type"],
|
|
2225
|
+
"title": "InputTextDynamicToolCallOutputContentItem",
|
|
2226
|
+
"type": "object"
|
|
2227
|
+
}, {
|
|
2228
|
+
"properties": {
|
|
2229
|
+
"imageUrl": { "type": "string" },
|
|
2230
|
+
"type": {
|
|
2231
|
+
"enum": ["inputImage"],
|
|
2232
|
+
"title": "InputImageDynamicToolCallOutputContentItemType",
|
|
2233
|
+
"type": "string"
|
|
2234
|
+
}
|
|
2311
2235
|
},
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
"enum": ["inputAudio"],
|
|
2317
|
-
"title": "InputAudioDynamicToolCallOutputContentItemType",
|
|
2318
|
-
"type": "string"
|
|
2319
|
-
}
|
|
2320
|
-
},
|
|
2321
|
-
"required": ["audioUrl", "type"],
|
|
2322
|
-
"title": "InputAudioDynamicToolCallOutputContentItem",
|
|
2323
|
-
"type": "object"
|
|
2324
|
-
}
|
|
2325
|
-
] },
|
|
2236
|
+
"required": ["imageUrl", "type"],
|
|
2237
|
+
"title": "InputImageDynamicToolCallOutputContentItem",
|
|
2238
|
+
"type": "object"
|
|
2239
|
+
}] },
|
|
2326
2240
|
"DynamicToolCallStatus": {
|
|
2327
2241
|
"enum": [
|
|
2328
2242
|
"inProgress",
|
|
@@ -2376,7 +2290,8 @@ var ThreadStartResponse_default = {
|
|
|
2376
2290
|
"appName": { "type": ["string", "null"] },
|
|
2377
2291
|
"connectorId": { "type": "string" },
|
|
2378
2292
|
"linkId": { "type": ["string", "null"] },
|
|
2379
|
-
"resourceUri": { "type": ["string", "null"] }
|
|
2293
|
+
"resourceUri": { "type": ["string", "null"] },
|
|
2294
|
+
"templateId": { "type": ["string", "null"] }
|
|
2380
2295
|
},
|
|
2381
2296
|
"required": ["connectorId"],
|
|
2382
2297
|
"type": "object"
|
|
@@ -2702,10 +2617,6 @@ var ThreadStartResponse_default = {
|
|
|
2702
2617
|
"description": "Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.",
|
|
2703
2618
|
"type": ["string", "null"]
|
|
2704
2619
|
},
|
|
2705
|
-
"canAcceptDirectInput": {
|
|
2706
|
-
"description": "Whether the app server accepts direct turn input for this loaded thread. `None` means the capability is unavailable, such as for an unloaded stored thread.",
|
|
2707
|
-
"type": ["boolean", "null"]
|
|
2708
|
-
},
|
|
2709
2620
|
"cliVersion": {
|
|
2710
2621
|
"description": "Version of the CLI that created the thread.",
|
|
2711
2622
|
"type": "string"
|
|
@@ -3171,12 +3082,6 @@ var ThreadStartResponse_default = {
|
|
|
3171
3082
|
"action": { "anyOf": [{ "$ref": "#/definitions/WebSearchAction" }, { "type": "null" }] },
|
|
3172
3083
|
"id": { "type": "string" },
|
|
3173
3084
|
"query": { "type": "string" },
|
|
3174
|
-
"results": {
|
|
3175
|
-
"default": null,
|
|
3176
|
-
"description": "Structured search results returned out-of-band by standalone web search.\n\nThese stay as opaque JSON at the extension/app-server boundary so new result fields and result types can pass through without a Codex release.",
|
|
3177
|
-
"items": true,
|
|
3178
|
-
"type": ["array", "null"]
|
|
3179
|
-
},
|
|
3180
3085
|
"type": {
|
|
3181
3086
|
"enum": ["webSearch"],
|
|
3182
3087
|
"title": "WebSearchThreadItemType",
|
|
@@ -3210,7 +3115,6 @@ var ThreadStartResponse_default = {
|
|
|
3210
3115
|
"type": "object"
|
|
3211
3116
|
},
|
|
3212
3117
|
{
|
|
3213
|
-
"description": "Display item emitted by the interruptible `clock.sleep` tool.",
|
|
3214
3118
|
"properties": {
|
|
3215
3119
|
"durationMs": {
|
|
3216
3120
|
"format": "uint64",
|
|
@@ -3489,32 +3393,6 @@ var ThreadStartResponse_default = {
|
|
|
3489
3393
|
"title": "LocalImageUserInput",
|
|
3490
3394
|
"type": "object"
|
|
3491
3395
|
},
|
|
3492
|
-
{
|
|
3493
|
-
"properties": {
|
|
3494
|
-
"type": {
|
|
3495
|
-
"enum": ["audio"],
|
|
3496
|
-
"title": "AudioUserInputType",
|
|
3497
|
-
"type": "string"
|
|
3498
|
-
},
|
|
3499
|
-
"url": { "type": "string" }
|
|
3500
|
-
},
|
|
3501
|
-
"required": ["type", "url"],
|
|
3502
|
-
"title": "AudioUserInput",
|
|
3503
|
-
"type": "object"
|
|
3504
|
-
},
|
|
3505
|
-
{
|
|
3506
|
-
"properties": {
|
|
3507
|
-
"path": { "type": "string" },
|
|
3508
|
-
"type": {
|
|
3509
|
-
"enum": ["localAudio"],
|
|
3510
|
-
"title": "LocalAudioUserInputType",
|
|
3511
|
-
"type": "string"
|
|
3512
|
-
}
|
|
3513
|
-
},
|
|
3514
|
-
"required": ["path", "type"],
|
|
3515
|
-
"title": "LocalAudioUserInput",
|
|
3516
|
-
"type": "object"
|
|
3517
|
-
},
|
|
3518
3396
|
{
|
|
3519
3397
|
"properties": {
|
|
3520
3398
|
"name": { "type": "string" },
|
|
@@ -3897,47 +3775,31 @@ var TurnCompletedNotification_default = {
|
|
|
3897
3775
|
],
|
|
3898
3776
|
"type": "string"
|
|
3899
3777
|
},
|
|
3900
|
-
"DynamicToolCallOutputContentItem": { "oneOf": [
|
|
3901
|
-
{
|
|
3902
|
-
"
|
|
3903
|
-
|
|
3904
|
-
"
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
}
|
|
3909
|
-
},
|
|
3910
|
-
"required": ["text", "type"],
|
|
3911
|
-
"title": "InputTextDynamicToolCallOutputContentItem",
|
|
3912
|
-
"type": "object"
|
|
3778
|
+
"DynamicToolCallOutputContentItem": { "oneOf": [{
|
|
3779
|
+
"properties": {
|
|
3780
|
+
"text": { "type": "string" },
|
|
3781
|
+
"type": {
|
|
3782
|
+
"enum": ["inputText"],
|
|
3783
|
+
"title": "InputTextDynamicToolCallOutputContentItemType",
|
|
3784
|
+
"type": "string"
|
|
3785
|
+
}
|
|
3913
3786
|
},
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
"type": "object"
|
|
3787
|
+
"required": ["text", "type"],
|
|
3788
|
+
"title": "InputTextDynamicToolCallOutputContentItem",
|
|
3789
|
+
"type": "object"
|
|
3790
|
+
}, {
|
|
3791
|
+
"properties": {
|
|
3792
|
+
"imageUrl": { "type": "string" },
|
|
3793
|
+
"type": {
|
|
3794
|
+
"enum": ["inputImage"],
|
|
3795
|
+
"title": "InputImageDynamicToolCallOutputContentItemType",
|
|
3796
|
+
"type": "string"
|
|
3797
|
+
}
|
|
3926
3798
|
},
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
"enum": ["inputAudio"],
|
|
3932
|
-
"title": "InputAudioDynamicToolCallOutputContentItemType",
|
|
3933
|
-
"type": "string"
|
|
3934
|
-
}
|
|
3935
|
-
},
|
|
3936
|
-
"required": ["audioUrl", "type"],
|
|
3937
|
-
"title": "InputAudioDynamicToolCallOutputContentItem",
|
|
3938
|
-
"type": "object"
|
|
3939
|
-
}
|
|
3940
|
-
] },
|
|
3799
|
+
"required": ["imageUrl", "type"],
|
|
3800
|
+
"title": "InputImageDynamicToolCallOutputContentItem",
|
|
3801
|
+
"type": "object"
|
|
3802
|
+
}] },
|
|
3941
3803
|
"DynamicToolCallStatus": {
|
|
3942
3804
|
"enum": [
|
|
3943
3805
|
"inProgress",
|
|
@@ -3983,7 +3845,8 @@ var TurnCompletedNotification_default = {
|
|
|
3983
3845
|
"appName": { "type": ["string", "null"] },
|
|
3984
3846
|
"connectorId": { "type": "string" },
|
|
3985
3847
|
"linkId": { "type": ["string", "null"] },
|
|
3986
|
-
"resourceUri": { "type": ["string", "null"] }
|
|
3848
|
+
"resourceUri": { "type": ["string", "null"] },
|
|
3849
|
+
"templateId": { "type": ["string", "null"] }
|
|
3987
3850
|
},
|
|
3988
3851
|
"required": ["connectorId"],
|
|
3989
3852
|
"type": "object"
|
|
@@ -4483,12 +4346,6 @@ var TurnCompletedNotification_default = {
|
|
|
4483
4346
|
"action": { "anyOf": [{ "$ref": "#/definitions/WebSearchAction" }, { "type": "null" }] },
|
|
4484
4347
|
"id": { "type": "string" },
|
|
4485
4348
|
"query": { "type": "string" },
|
|
4486
|
-
"results": {
|
|
4487
|
-
"default": null,
|
|
4488
|
-
"description": "Structured search results returned out-of-band by standalone web search.\n\nThese stay as opaque JSON at the extension/app-server boundary so new result fields and result types can pass through without a Codex release.",
|
|
4489
|
-
"items": true,
|
|
4490
|
-
"type": ["array", "null"]
|
|
4491
|
-
},
|
|
4492
4349
|
"type": {
|
|
4493
4350
|
"enum": ["webSearch"],
|
|
4494
4351
|
"title": "WebSearchThreadItemType",
|
|
@@ -4522,7 +4379,6 @@ var TurnCompletedNotification_default = {
|
|
|
4522
4379
|
"type": "object"
|
|
4523
4380
|
},
|
|
4524
4381
|
{
|
|
4525
|
-
"description": "Display item emitted by the interruptible `clock.sleep` tool.",
|
|
4526
4382
|
"properties": {
|
|
4527
4383
|
"durationMs": {
|
|
4528
4384
|
"format": "uint64",
|
|
@@ -4752,32 +4608,6 @@ var TurnCompletedNotification_default = {
|
|
|
4752
4608
|
"title": "LocalImageUserInput",
|
|
4753
4609
|
"type": "object"
|
|
4754
4610
|
},
|
|
4755
|
-
{
|
|
4756
|
-
"properties": {
|
|
4757
|
-
"type": {
|
|
4758
|
-
"enum": ["audio"],
|
|
4759
|
-
"title": "AudioUserInputType",
|
|
4760
|
-
"type": "string"
|
|
4761
|
-
},
|
|
4762
|
-
"url": { "type": "string" }
|
|
4763
|
-
},
|
|
4764
|
-
"required": ["type", "url"],
|
|
4765
|
-
"title": "AudioUserInput",
|
|
4766
|
-
"type": "object"
|
|
4767
|
-
},
|
|
4768
|
-
{
|
|
4769
|
-
"properties": {
|
|
4770
|
-
"path": { "type": "string" },
|
|
4771
|
-
"type": {
|
|
4772
|
-
"enum": ["localAudio"],
|
|
4773
|
-
"title": "LocalAudioUserInputType",
|
|
4774
|
-
"type": "string"
|
|
4775
|
-
}
|
|
4776
|
-
},
|
|
4777
|
-
"required": ["path", "type"],
|
|
4778
|
-
"title": "LocalAudioUserInput",
|
|
4779
|
-
"type": "object"
|
|
4780
|
-
},
|
|
4781
4611
|
{
|
|
4782
4612
|
"properties": {
|
|
4783
4613
|
"name": { "type": "string" },
|
|
@@ -5117,47 +4947,31 @@ var TurnStartResponse_default = {
|
|
|
5117
4947
|
],
|
|
5118
4948
|
"type": "string"
|
|
5119
4949
|
},
|
|
5120
|
-
"DynamicToolCallOutputContentItem": { "oneOf": [
|
|
5121
|
-
{
|
|
5122
|
-
"
|
|
5123
|
-
|
|
5124
|
-
"
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
}
|
|
5129
|
-
},
|
|
5130
|
-
"required": ["text", "type"],
|
|
5131
|
-
"title": "InputTextDynamicToolCallOutputContentItem",
|
|
5132
|
-
"type": "object"
|
|
4950
|
+
"DynamicToolCallOutputContentItem": { "oneOf": [{
|
|
4951
|
+
"properties": {
|
|
4952
|
+
"text": { "type": "string" },
|
|
4953
|
+
"type": {
|
|
4954
|
+
"enum": ["inputText"],
|
|
4955
|
+
"title": "InputTextDynamicToolCallOutputContentItemType",
|
|
4956
|
+
"type": "string"
|
|
4957
|
+
}
|
|
5133
4958
|
},
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
"type": "object"
|
|
4959
|
+
"required": ["text", "type"],
|
|
4960
|
+
"title": "InputTextDynamicToolCallOutputContentItem",
|
|
4961
|
+
"type": "object"
|
|
4962
|
+
}, {
|
|
4963
|
+
"properties": {
|
|
4964
|
+
"imageUrl": { "type": "string" },
|
|
4965
|
+
"type": {
|
|
4966
|
+
"enum": ["inputImage"],
|
|
4967
|
+
"title": "InputImageDynamicToolCallOutputContentItemType",
|
|
4968
|
+
"type": "string"
|
|
4969
|
+
}
|
|
5146
4970
|
},
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
"enum": ["inputAudio"],
|
|
5152
|
-
"title": "InputAudioDynamicToolCallOutputContentItemType",
|
|
5153
|
-
"type": "string"
|
|
5154
|
-
}
|
|
5155
|
-
},
|
|
5156
|
-
"required": ["audioUrl", "type"],
|
|
5157
|
-
"title": "InputAudioDynamicToolCallOutputContentItem",
|
|
5158
|
-
"type": "object"
|
|
5159
|
-
}
|
|
5160
|
-
] },
|
|
4971
|
+
"required": ["imageUrl", "type"],
|
|
4972
|
+
"title": "InputImageDynamicToolCallOutputContentItem",
|
|
4973
|
+
"type": "object"
|
|
4974
|
+
}] },
|
|
5161
4975
|
"DynamicToolCallStatus": {
|
|
5162
4976
|
"enum": [
|
|
5163
4977
|
"inProgress",
|
|
@@ -5203,7 +5017,8 @@ var TurnStartResponse_default = {
|
|
|
5203
5017
|
"appName": { "type": ["string", "null"] },
|
|
5204
5018
|
"connectorId": { "type": "string" },
|
|
5205
5019
|
"linkId": { "type": ["string", "null"] },
|
|
5206
|
-
"resourceUri": { "type": ["string", "null"] }
|
|
5020
|
+
"resourceUri": { "type": ["string", "null"] },
|
|
5021
|
+
"templateId": { "type": ["string", "null"] }
|
|
5207
5022
|
},
|
|
5208
5023
|
"required": ["connectorId"],
|
|
5209
5024
|
"type": "object"
|
|
@@ -5703,12 +5518,6 @@ var TurnStartResponse_default = {
|
|
|
5703
5518
|
"action": { "anyOf": [{ "$ref": "#/definitions/WebSearchAction" }, { "type": "null" }] },
|
|
5704
5519
|
"id": { "type": "string" },
|
|
5705
5520
|
"query": { "type": "string" },
|
|
5706
|
-
"results": {
|
|
5707
|
-
"default": null,
|
|
5708
|
-
"description": "Structured search results returned out-of-band by standalone web search.\n\nThese stay as opaque JSON at the extension/app-server boundary so new result fields and result types can pass through without a Codex release.",
|
|
5709
|
-
"items": true,
|
|
5710
|
-
"type": ["array", "null"]
|
|
5711
|
-
},
|
|
5712
5521
|
"type": {
|
|
5713
5522
|
"enum": ["webSearch"],
|
|
5714
5523
|
"title": "WebSearchThreadItemType",
|
|
@@ -5742,7 +5551,6 @@ var TurnStartResponse_default = {
|
|
|
5742
5551
|
"type": "object"
|
|
5743
5552
|
},
|
|
5744
5553
|
{
|
|
5745
|
-
"description": "Display item emitted by the interruptible `clock.sleep` tool.",
|
|
5746
5554
|
"properties": {
|
|
5747
5555
|
"durationMs": {
|
|
5748
5556
|
"format": "uint64",
|
|
@@ -5972,32 +5780,6 @@ var TurnStartResponse_default = {
|
|
|
5972
5780
|
"title": "LocalImageUserInput",
|
|
5973
5781
|
"type": "object"
|
|
5974
5782
|
},
|
|
5975
|
-
{
|
|
5976
|
-
"properties": {
|
|
5977
|
-
"type": {
|
|
5978
|
-
"enum": ["audio"],
|
|
5979
|
-
"title": "AudioUserInputType",
|
|
5980
|
-
"type": "string"
|
|
5981
|
-
},
|
|
5982
|
-
"url": { "type": "string" }
|
|
5983
|
-
},
|
|
5984
|
-
"required": ["type", "url"],
|
|
5985
|
-
"title": "AudioUserInput",
|
|
5986
|
-
"type": "object"
|
|
5987
|
-
},
|
|
5988
|
-
{
|
|
5989
|
-
"properties": {
|
|
5990
|
-
"path": { "type": "string" },
|
|
5991
|
-
"type": {
|
|
5992
|
-
"enum": ["localAudio"],
|
|
5993
|
-
"title": "LocalAudioUserInputType",
|
|
5994
|
-
"type": "string"
|
|
5995
|
-
}
|
|
5996
|
-
},
|
|
5997
|
-
"required": ["path", "type"],
|
|
5998
|
-
"title": "LocalAudioUserInput",
|
|
5999
|
-
"type": "object"
|
|
6000
|
-
},
|
|
6001
5783
|
{
|
|
6002
5784
|
"properties": {
|
|
6003
5785
|
"name": { "type": "string" },
|
|
@@ -6229,11 +6011,6 @@ function assertCodexThreadForkResponse(value) {
|
|
|
6229
6011
|
const normalized = normalizeWithDefaults(ThreadStartResponse_default, value);
|
|
6230
6012
|
return assertCodexShape(validateThreadStartResponse, normalized, "thread/fork response");
|
|
6231
6013
|
}
|
|
6232
|
-
/** Asserts the experimental beforeTurnId request field before it crosses the app-server boundary. */
|
|
6233
|
-
function assertCodexThreadForkParams(value) {
|
|
6234
|
-
if (!isRecord(value) || typeof value.threadId !== "string" || !value.threadId.trim() || value.beforeTurnId !== void 0 && value.beforeTurnId !== null && typeof value.beforeTurnId !== "string") throw new Error("Invalid Codex app-server thread/fork params");
|
|
6235
|
-
return value;
|
|
6236
|
-
}
|
|
6237
6014
|
/** Asserts and normalizes a Codex thread/resume response. */
|
|
6238
6015
|
function assertCodexThreadResumeResponse(value) {
|
|
6239
6016
|
const normalized = normalizeWithDefaults(ThreadResumeResponse_default, value);
|
|
@@ -6334,4 +6111,4 @@ function formatValidationErrors(validate, value) {
|
|
|
6334
6111
|
}).join("; ");
|
|
6335
6112
|
}
|
|
6336
6113
|
//#endregion
|
|
6337
|
-
export {
|
|
6114
|
+
export { readCodexDynamicToolCallParams as a, readCodexTurn as c, assertCodexTurnStartResponse as i, readCodexTurnCompletedNotification as l, assertCodexThreadResumeResponse as n, readCodexErrorNotification as o, assertCodexThreadStartResponse as r, readCodexModelListResponse as s, assertCodexThreadForkResponse as t };
|