@mininglamp-oss/octo-runtime 1.1.12 → 1.1.14
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 +1 -1
- package/apps/cli/dist/adapters.d.ts +19 -1
- package/apps/cli/dist/adapters.js +154 -28
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/codex.d.ts +5 -0
- package/apps/cli/dist/codex.js +36 -0
- package/apps/cli/dist/kernel.d.ts +4 -0
- package/apps/cli/dist/kernel.js +84 -0
- package/apps/cli/dist/main.js +8 -7
- package/apps/cli/dist/manifest.json +33 -22
- package/apps/cli/dist/output.d.ts +1 -0
- package/apps/cli/dist/output.js +8 -4
- package/apps/cli/dist/playboard.js +21 -12
- package/apps/cli/dist/provider-launch.d.ts +28 -0
- package/apps/cli/dist/provider-launch.js +52 -0
- package/apps/cli/dist/providers.d.ts +182 -0
- package/apps/cli/dist/providers.js +34 -0
- package/dist/public/adapter-sdk.d.ts +2 -0
- package/dist/public/adapter-sdk.js +2 -0
- package/dist/public/protocol.d.ts +2 -2
- package/dist/public/protocol.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.js +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +26 -10
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +44 -53
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.d.ts +10 -35
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.js +21 -29
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/agent-env.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/agent-env.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.d.ts +14 -68
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +77 -61
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.d.ts +19 -31
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.js +28 -18
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/agent-env.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/agent-env.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.d.ts +6 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +55 -54
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.d.ts +54 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.js +147 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/environment.js +4 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +20 -92
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +103 -217
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.js +4 -11
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.d.ts +9 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.js +77 -81
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-SMTJTIN7.js → chunk-AE3OJBDS.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-H3S6WM37.js → chunk-NGR74QLF.js} +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-RISQ6NGV.js → chunk-XIUZ6GXG.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +6 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +16 -21
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.d.ts +14 -16
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.js +29 -46
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/agent-env.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/agent-env.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/client.js +4 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.d.ts +13 -21
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.js +47 -36
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +24 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.js +14 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +24 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.js +13 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +24 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.js +14 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +7 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +28 -31
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +16 -25
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +113 -179
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +24 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.js +14 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +24 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.js +14 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.d.ts +48 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.js +234 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/approval.js +7 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +25 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +112 -59
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/mcp.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-launch.d.ts +11 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-launch.js +89 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.js +25 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +10 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.d.ts +19 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +154 -28
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.js +36 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/kernel.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/kernel.js +84 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +8 -7
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +33 -22
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +8 -4
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +21 -12
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.d.ts +28 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.js +52 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.d.ts +182 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.js +34 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -20
- package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc.schema.json +3 -104
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +166 -1870
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +122 -65
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +13 -85
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-output-silence.d.ts +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-output-silence.js +176 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.d.ts +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.js +8 -4
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +17 -20
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +3 -9
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.js +1 -8
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +1 -5
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +3 -292
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/experience.js +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +18 -13
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +90 -608
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.js +32 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +7 -18
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +34 -189
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +11 -22
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +38 -78
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +5 -40
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/package.json +34 -37
- package/packages/octo-runtime-protocol/schema/kernel-ipc.schema.json +3 -104
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +166 -1870
- package/dist/public/codex.d.ts +0 -1
- package/dist/public/codex.js +0 -1
- package/dist/public/dsh.d.ts +0 -2
- package/dist/public/dsh.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/actmode.d.ts +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/actmode.js +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-configuration-fixtures.json +0 -1219
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-fixtures.json +0 -5988
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-client.behavior.json +0 -56
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +0 -116
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +0 -761
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/runtime-selection-fixtures.json +0 -663
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/session-name-fixtures.json +0 -191
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.js +0 -89
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.d.ts +0 -33
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.js +0 -93
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/actmode.js +0 -36
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.js +0 -80
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.js +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/runtime-selection.js +0 -68
- /package/node_modules/@mininglamp-oss/octo-runtime-client/{schema → fixtures}/kernel-ipc-fixtures.json +0 -0
- /package/packages/octo-runtime-protocol/{schema → test/fixtures}/kernel-ipc-fixtures.json +0 -0
|
@@ -225,6 +225,11 @@
|
|
|
225
225
|
"OPERATION_OUTCOME_UNKNOWN",
|
|
226
226
|
"HOST_EXECUTION_FAILED",
|
|
227
227
|
"HOST_ENDED_WITHOUT_TERMINAL",
|
|
228
|
+
"WORKDIR_REQUIRED",
|
|
229
|
+
"WORKDIR_INVALID",
|
|
230
|
+
"WORKDIR_NOT_FOUND",
|
|
231
|
+
"WORKDIR_NOT_DIRECTORY",
|
|
232
|
+
"WORKDIR_UNAVAILABLE",
|
|
228
233
|
"PROVIDER_MESSAGE_TOO_LARGE",
|
|
229
234
|
"HOST_FRAME_TOO_LARGE",
|
|
230
235
|
"STREAM_QUEUE_ITEM_TOO_LARGE",
|
|
@@ -255,7 +260,6 @@
|
|
|
255
260
|
"type": {
|
|
256
261
|
"enum": [
|
|
257
262
|
"session.update",
|
|
258
|
-
"execution.update",
|
|
259
263
|
"usage.update",
|
|
260
264
|
"model_step.started",
|
|
261
265
|
"model_step.finished",
|
|
@@ -427,22 +431,6 @@
|
|
|
427
431
|
"HostControl": {
|
|
428
432
|
"title": "HostControl",
|
|
429
433
|
"oneOf": [
|
|
430
|
-
{
|
|
431
|
-
"type": "object",
|
|
432
|
-
"additionalProperties": false,
|
|
433
|
-
"required": ["type", "name", "payload"],
|
|
434
|
-
"properties": {
|
|
435
|
-
"type": {
|
|
436
|
-
"const": "evidence"
|
|
437
|
-
},
|
|
438
|
-
"name": {
|
|
439
|
-
"const": "execution"
|
|
440
|
-
},
|
|
441
|
-
"payload": {
|
|
442
|
-
"$ref": "#/definitions/ExecutionEvidence"
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
434
|
{
|
|
447
435
|
"type": "object",
|
|
448
436
|
"additionalProperties": false,
|
|
@@ -978,8 +966,8 @@
|
|
|
978
966
|
},
|
|
979
967
|
"ContextItem": {
|
|
980
968
|
"title": "ContextItem",
|
|
981
|
-
"description": "
|
|
982
|
-
"tsType": "{ namespace: string; name: string;
|
|
969
|
+
"description": "Opaque ordered item. The envelope validates structure; consuming Adapters validate shared settings and their privately agreed payloads. Private items require no public registration.",
|
|
970
|
+
"tsType": "{ namespace: string; name: string; payload: Record<string, unknown> }",
|
|
983
971
|
"type": "object",
|
|
984
972
|
"additionalProperties": false,
|
|
985
973
|
"required": ["namespace", "name", "payload"],
|
|
@@ -998,289 +986,18 @@
|
|
|
998
986
|
"type": "object",
|
|
999
987
|
"additionalProperties": true,
|
|
1000
988
|
"tsType": "Record<string, unknown>"
|
|
1001
|
-
},
|
|
1002
|
-
"guidance": {
|
|
1003
|
-
"type": "string",
|
|
1004
|
-
"description": "Producer-authored context guidance, rendered as ordinary model input."
|
|
1005
|
-
},
|
|
1006
|
-
"data_format": {
|
|
1007
|
-
"const": "text",
|
|
1008
|
-
"description": "Explicit extra.* text rendering; payload must contain only a text string. Omit for complete JSON rendering."
|
|
1009
989
|
}
|
|
1010
990
|
},
|
|
1011
|
-
"allOf": [
|
|
1012
|
-
{
|
|
1013
|
-
"if": {
|
|
1014
|
-
"required": ["data_format"]
|
|
1015
|
-
},
|
|
1016
|
-
"then": {
|
|
1017
|
-
"properties": {
|
|
1018
|
-
"namespace": {
|
|
1019
|
-
"pattern": "^extra\\."
|
|
1020
|
-
},
|
|
1021
|
-
"payload": {
|
|
1022
|
-
"type": "object",
|
|
1023
|
-
"required": ["text"],
|
|
1024
|
-
"additionalProperties": false,
|
|
1025
|
-
"properties": {
|
|
1026
|
-
"text": {
|
|
1027
|
-
"type": "string"
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
"if": {
|
|
1036
|
-
"properties": {
|
|
1037
|
-
"namespace": {
|
|
1038
|
-
"const": "octo.execution"
|
|
1039
|
-
},
|
|
1040
|
-
"name": {
|
|
1041
|
-
"const": "actmode"
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
},
|
|
1045
|
-
"then": {
|
|
1046
|
-
"properties": {
|
|
1047
|
-
"payload": {
|
|
1048
|
-
"$ref": "#/definitions/ContextActmodePayload"
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"if": {
|
|
1055
|
-
"properties": {
|
|
1056
|
-
"namespace": {
|
|
1057
|
-
"const": "octo.execution"
|
|
1058
|
-
},
|
|
1059
|
-
"name": {
|
|
1060
|
-
"const": "model"
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
},
|
|
1064
|
-
"then": {
|
|
1065
|
-
"properties": {
|
|
1066
|
-
"payload": {
|
|
1067
|
-
"$ref": "#/definitions/ContextModelPayload"
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
"if": {
|
|
1074
|
-
"properties": {
|
|
1075
|
-
"namespace": {
|
|
1076
|
-
"const": "octo.execution"
|
|
1077
|
-
},
|
|
1078
|
-
"name": {
|
|
1079
|
-
"const": "adapter"
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
},
|
|
1083
|
-
"then": {
|
|
1084
|
-
"properties": {
|
|
1085
|
-
"payload": {
|
|
1086
|
-
"$ref": "#/definitions/ContextAdapterPayload"
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
},
|
|
1091
|
-
{
|
|
1092
|
-
"if": {
|
|
1093
|
-
"properties": {
|
|
1094
|
-
"namespace": {
|
|
1095
|
-
"const": "octo.execution"
|
|
1096
|
-
},
|
|
1097
|
-
"name": {
|
|
1098
|
-
"const": "workspace"
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
},
|
|
1102
|
-
"then": {
|
|
1103
|
-
"properties": {
|
|
1104
|
-
"payload": {
|
|
1105
|
-
"$ref": "#/definitions/ContextWorkspacePayload"
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"if": {
|
|
1112
|
-
"properties": {
|
|
1113
|
-
"namespace": {
|
|
1114
|
-
"const": "octo.execution"
|
|
1115
|
-
},
|
|
1116
|
-
"name": {
|
|
1117
|
-
"const": "limits"
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
},
|
|
1121
|
-
"then": {
|
|
1122
|
-
"properties": {
|
|
1123
|
-
"payload": {
|
|
1124
|
-
"$ref": "#/definitions/ContextLimitsPayload"
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
"if": {
|
|
1131
|
-
"properties": {
|
|
1132
|
-
"namespace": {
|
|
1133
|
-
"const": "octo.runtime"
|
|
1134
|
-
},
|
|
1135
|
-
"name": {
|
|
1136
|
-
"const": "selection"
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
},
|
|
1140
|
-
"then": {
|
|
1141
|
-
"properties": {
|
|
1142
|
-
"payload": {
|
|
1143
|
-
"$ref": "#/definitions/ContextRuntimeSelectionPayload"
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
"if": {
|
|
1150
|
-
"properties": {
|
|
1151
|
-
"namespace": {
|
|
1152
|
-
"const": "octo.security"
|
|
1153
|
-
},
|
|
1154
|
-
"name": {
|
|
1155
|
-
"const": "approval_policy"
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
},
|
|
1159
|
-
"then": {
|
|
1160
|
-
"properties": {
|
|
1161
|
-
"payload": {
|
|
1162
|
-
"$ref": "#/definitions/ContextApprovalPolicyPayload"
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
"if": {
|
|
1169
|
-
"properties": {
|
|
1170
|
-
"namespace": {
|
|
1171
|
-
"const": "octo.content"
|
|
1172
|
-
},
|
|
1173
|
-
"name": {
|
|
1174
|
-
"const": "inline"
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
},
|
|
1178
|
-
"then": {
|
|
1179
|
-
"properties": {
|
|
1180
|
-
"payload": {
|
|
1181
|
-
"$ref": "#/definitions/ContextInlinePayload"
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
},
|
|
1186
|
-
{
|
|
1187
|
-
"if": {
|
|
1188
|
-
"properties": {
|
|
1189
|
-
"namespace": {
|
|
1190
|
-
"const": "octo.content"
|
|
1191
|
-
},
|
|
1192
|
-
"name": {
|
|
1193
|
-
"const": "references"
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
"then": {
|
|
1198
|
-
"properties": {
|
|
1199
|
-
"payload": {
|
|
1200
|
-
"$ref": "#/definitions/ContextReferencesPayload"
|
|
1201
|
-
}
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
"if": {
|
|
1207
|
-
"properties": {
|
|
1208
|
-
"namespace": {
|
|
1209
|
-
"const": "octo.control"
|
|
1210
|
-
},
|
|
1211
|
-
"name": {
|
|
1212
|
-
"const": "instructions"
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
},
|
|
1216
|
-
"then": {
|
|
1217
|
-
"properties": {
|
|
1218
|
-
"payload": {
|
|
1219
|
-
"$ref": "#/definitions/ContextInstructionsPayload"
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
"if": {
|
|
1226
|
-
"properties": {
|
|
1227
|
-
"namespace": {
|
|
1228
|
-
"const": "octo.execution"
|
|
1229
|
-
},
|
|
1230
|
-
"name": {
|
|
1231
|
-
"const": "envs"
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
},
|
|
1235
|
-
"then": {
|
|
1236
|
-
"properties": {
|
|
1237
|
-
"payload": {
|
|
1238
|
-
"$ref": "#/definitions/ContextEnvsPayload"
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
}
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
"if": {
|
|
1245
|
-
"properties": {
|
|
1246
|
-
"namespace": {
|
|
1247
|
-
"enum": ["octo.execution", "octo.runtime", "octo.security", "octo.control"]
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
},
|
|
1251
|
-
"then": {
|
|
1252
|
-
"not": {
|
|
1253
|
-
"required": ["guidance"]
|
|
1254
|
-
}
|
|
1255
|
-
}
|
|
1256
|
-
},
|
|
1257
|
-
{
|
|
1258
|
-
"if": {
|
|
1259
|
-
"properties": {
|
|
1260
|
-
"namespace": {
|
|
1261
|
-
"const": "octo.execution"
|
|
1262
|
-
},
|
|
1263
|
-
"name": {
|
|
1264
|
-
"const": "mcp"
|
|
1265
|
-
}
|
|
1266
|
-
}
|
|
1267
|
-
},
|
|
1268
|
-
"then": {
|
|
1269
|
-
"properties": {
|
|
1270
|
-
"payload": {
|
|
1271
|
-
"$ref": "#/definitions/ContextMcpPayload"
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
],
|
|
1277
991
|
"not": {
|
|
1278
992
|
"properties": {
|
|
1279
993
|
"namespace": {
|
|
1280
|
-
"const": "octo.
|
|
994
|
+
"const": "octo.control"
|
|
995
|
+
},
|
|
996
|
+
"name": {
|
|
997
|
+
"const": "instructions"
|
|
1281
998
|
}
|
|
1282
999
|
},
|
|
1283
|
-
"required": ["namespace"]
|
|
1000
|
+
"required": ["namespace", "name"]
|
|
1284
1001
|
}
|
|
1285
1002
|
},
|
|
1286
1003
|
"ContextEnvelope": {
|
|
@@ -1308,32 +1025,13 @@
|
|
|
1308
1025
|
},
|
|
1309
1026
|
"ContextConfiguration": {
|
|
1310
1027
|
"title": "ContextConfiguration",
|
|
1311
|
-
"description": "Agent defaults and mandatory constraints
|
|
1028
|
+
"description": "Agent defaults and mandatory execution constraints stored under one external configuration version. Application prompts belong to caller-provided ordinary inputs, not execution settings.",
|
|
1312
1029
|
"type": "object",
|
|
1313
1030
|
"additionalProperties": false,
|
|
1314
1031
|
"required": ["defaults", "mandatory"],
|
|
1315
1032
|
"properties": {
|
|
1316
1033
|
"defaults": {
|
|
1317
|
-
"
|
|
1318
|
-
{
|
|
1319
|
-
"$ref": "#/definitions/PersistentContextEnvelope"
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
"properties": {
|
|
1323
|
-
"items": {
|
|
1324
|
-
"items": {
|
|
1325
|
-
"not": {
|
|
1326
|
-
"properties": {
|
|
1327
|
-
"namespace": {
|
|
1328
|
-
"const": "octo.control"
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
}
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
],
|
|
1034
|
+
"$ref": "#/definitions/PersistentContextEnvelope",
|
|
1337
1035
|
"tsType": "ContextEnvelope"
|
|
1338
1036
|
},
|
|
1339
1037
|
"mandatory": {
|
|
@@ -1341,425 +1039,23 @@
|
|
|
1341
1039
|
}
|
|
1342
1040
|
}
|
|
1343
1041
|
},
|
|
1344
|
-
"
|
|
1345
|
-
"title": "
|
|
1346
|
-
"
|
|
1042
|
+
"PersistentContextEnvelope": {
|
|
1043
|
+
"title": "PersistentContextEnvelope",
|
|
1044
|
+
"$ref": "#/definitions/ContextEnvelope",
|
|
1045
|
+
"tsType": "ContextEnvelope"
|
|
1046
|
+
},
|
|
1047
|
+
"ContextAdapterPayload": {
|
|
1347
1048
|
"type": "object",
|
|
1348
1049
|
"additionalProperties": false,
|
|
1349
|
-
"required": [
|
|
1350
|
-
"run_id",
|
|
1351
|
-
"context_hash",
|
|
1352
|
-
"preparation_status",
|
|
1353
|
-
"application_status",
|
|
1354
|
-
"invocation_status",
|
|
1355
|
-
"execution",
|
|
1356
|
-
"model_uses_provider_default",
|
|
1357
|
-
"effort_uses_provider_default"
|
|
1358
|
-
],
|
|
1050
|
+
"required": ["type"],
|
|
1359
1051
|
"properties": {
|
|
1360
|
-
"
|
|
1361
|
-
"type": "string",
|
|
1362
|
-
"minLength": 1
|
|
1363
|
-
},
|
|
1364
|
-
"context_hash": {
|
|
1365
|
-
"type": "string",
|
|
1366
|
-
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
1367
|
-
},
|
|
1368
|
-
"actual_runtime_id": {
|
|
1052
|
+
"type": {
|
|
1369
1053
|
"type": "string",
|
|
1370
1054
|
"minLength": 1
|
|
1371
|
-
},
|
|
1372
|
-
"preparation_status": {
|
|
1373
|
-
"enum": ["unknown", "prepared"]
|
|
1374
|
-
},
|
|
1375
|
-
"application_status": {
|
|
1376
|
-
"enum": ["unknown", "applied"]
|
|
1377
|
-
},
|
|
1378
|
-
"invocation_status": {
|
|
1379
|
-
"const": "unknown"
|
|
1380
|
-
},
|
|
1381
|
-
"model_uses_provider_default": {
|
|
1382
|
-
"type": "boolean"
|
|
1383
|
-
},
|
|
1384
|
-
"effort_uses_provider_default": {
|
|
1385
|
-
"type": "boolean"
|
|
1386
|
-
},
|
|
1387
|
-
"object_materials": {
|
|
1388
|
-
"description": "Frozen inline object facts proven by a matching preparation receipt. Source fields are provenance claims, not access grants. No contents, local handles, paths or credentials are exposed; application is separately evidenced by application_status.",
|
|
1389
|
-
"type": "array",
|
|
1390
|
-
"maxItems": 32,
|
|
1391
|
-
"items": {
|
|
1392
|
-
"$ref": "#/definitions/PublicObjectMaterial"
|
|
1393
|
-
}
|
|
1394
|
-
},
|
|
1395
|
-
"execution": {
|
|
1396
|
-
"type": "object",
|
|
1397
|
-
"additionalProperties": false,
|
|
1398
|
-
"required": ["adapter_type", "approval_mode", "workspace_mode"],
|
|
1399
|
-
"properties": {
|
|
1400
|
-
"adapter_type": {
|
|
1401
|
-
"type": "string",
|
|
1402
|
-
"minLength": 1
|
|
1403
|
-
},
|
|
1404
|
-
"model": {
|
|
1405
|
-
"type": "string",
|
|
1406
|
-
"minLength": 1
|
|
1407
|
-
},
|
|
1408
|
-
"effort": {
|
|
1409
|
-
"type": "string",
|
|
1410
|
-
"minLength": 1
|
|
1411
|
-
},
|
|
1412
|
-
"approval_mode": {
|
|
1413
|
-
"enum": ["ask", "assisted", "full_access"]
|
|
1414
|
-
},
|
|
1415
|
-
"workspace_mode": {
|
|
1416
|
-
"enum": ["fixed", "random", "none"]
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
1055
|
}
|
|
1420
1056
|
}
|
|
1421
1057
|
},
|
|
1422
|
-
"
|
|
1423
|
-
"type": "object",
|
|
1424
|
-
"additionalProperties": false,
|
|
1425
|
-
"required": ["resource_ref", "object_type", "origin", "byte_size", "digest"],
|
|
1426
|
-
"properties": {
|
|
1427
|
-
"resource_ref": {
|
|
1428
|
-
"type": "string",
|
|
1429
|
-
"pattern": "^selection-[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
|
|
1430
|
-
},
|
|
1431
|
-
"object_type": {
|
|
1432
|
-
"enum": [
|
|
1433
|
-
"task",
|
|
1434
|
-
"discussion",
|
|
1435
|
-
"discussion_comment",
|
|
1436
|
-
"discussion_reply",
|
|
1437
|
-
"local_file",
|
|
1438
|
-
"drive_file"
|
|
1439
|
-
]
|
|
1440
|
-
},
|
|
1441
|
-
"object_id": {
|
|
1442
|
-
"type": "string",
|
|
1443
|
-
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
|
|
1444
|
-
},
|
|
1445
|
-
"origin": {
|
|
1446
|
-
"enum": ["mention", "attachment", "object_action", "source_entity"]
|
|
1447
|
-
},
|
|
1448
|
-
"revision": {
|
|
1449
|
-
"type": "string",
|
|
1450
|
-
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
|
|
1451
|
-
},
|
|
1452
|
-
"byte_size": {
|
|
1453
|
-
"type": "integer",
|
|
1454
|
-
"minimum": 1,
|
|
1455
|
-
"maximum": 32768
|
|
1456
|
-
},
|
|
1457
|
-
"digest": {
|
|
1458
|
-
"type": "string",
|
|
1459
|
-
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
1460
|
-
},
|
|
1461
|
-
"object_scope": {
|
|
1462
|
-
"type": "object",
|
|
1463
|
-
"additionalProperties": false,
|
|
1464
|
-
"required": ["type", "id"],
|
|
1465
|
-
"properties": {
|
|
1466
|
-
"type": {
|
|
1467
|
-
"enum": ["user", "teamspace"]
|
|
1468
|
-
},
|
|
1469
|
-
"id": {
|
|
1470
|
-
"type": "string",
|
|
1471
|
-
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
},
|
|
1475
|
-
"selector": {
|
|
1476
|
-
"type": "object",
|
|
1477
|
-
"additionalProperties": false,
|
|
1478
|
-
"required": ["mode"],
|
|
1479
|
-
"properties": {
|
|
1480
|
-
"mode": {
|
|
1481
|
-
"enum": ["core", "content", "history", "chain", "metadata"]
|
|
1482
|
-
},
|
|
1483
|
-
"start": {
|
|
1484
|
-
"type": "integer",
|
|
1485
|
-
"minimum": 0,
|
|
1486
|
-
"maximum": 9007199254740991
|
|
1487
|
-
},
|
|
1488
|
-
"end": {
|
|
1489
|
-
"type": "integer",
|
|
1490
|
-
"minimum": 0,
|
|
1491
|
-
"maximum": 9007199254740991
|
|
1492
|
-
}
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
},
|
|
1496
|
-
"allOf": [
|
|
1497
|
-
{
|
|
1498
|
-
"if": {
|
|
1499
|
-
"properties": {
|
|
1500
|
-
"object_type": {
|
|
1501
|
-
"const": "local_file"
|
|
1502
|
-
}
|
|
1503
|
-
}
|
|
1504
|
-
},
|
|
1505
|
-
"then": {
|
|
1506
|
-
"not": {
|
|
1507
|
-
"required": ["object_id"]
|
|
1508
|
-
}
|
|
1509
|
-
},
|
|
1510
|
-
"else": {
|
|
1511
|
-
"required": ["object_id"]
|
|
1512
|
-
}
|
|
1513
|
-
}
|
|
1514
|
-
]
|
|
1515
|
-
},
|
|
1516
|
-
"ContextPreparationReceipt": {
|
|
1517
|
-
"title": "ContextPreparationReceipt",
|
|
1518
|
-
"description": "Workspace preparation for the current Run lease and frozen execution Context; it does not prove Provider use of model context.",
|
|
1519
|
-
"type": "object",
|
|
1520
|
-
"additionalProperties": false,
|
|
1521
|
-
"required": [
|
|
1522
|
-
"context_hash",
|
|
1523
|
-
"run_id",
|
|
1524
|
-
"lease_id",
|
|
1525
|
-
"fencing_token",
|
|
1526
|
-
"workspace_mode",
|
|
1527
|
-
"workspace_path",
|
|
1528
|
-
"provider_state_dir",
|
|
1529
|
-
"warnings"
|
|
1530
|
-
],
|
|
1531
|
-
"properties": {
|
|
1532
|
-
"context_hash": {
|
|
1533
|
-
"type": "string",
|
|
1534
|
-
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
1535
|
-
},
|
|
1536
|
-
"run_id": {
|
|
1537
|
-
"type": "string",
|
|
1538
|
-
"minLength": 1
|
|
1539
|
-
},
|
|
1540
|
-
"lease_id": {
|
|
1541
|
-
"type": "string",
|
|
1542
|
-
"minLength": 1
|
|
1543
|
-
},
|
|
1544
|
-
"fencing_token": {
|
|
1545
|
-
"type": "integer",
|
|
1546
|
-
"minimum": 1,
|
|
1547
|
-
"maximum": 9007199254740991
|
|
1548
|
-
},
|
|
1549
|
-
"workspace_mode": {
|
|
1550
|
-
"enum": ["fixed", "random", "none"]
|
|
1551
|
-
},
|
|
1552
|
-
"workspace_path": {
|
|
1553
|
-
"type": "string"
|
|
1554
|
-
},
|
|
1555
|
-
"provider_state_dir": {
|
|
1556
|
-
"type": "string"
|
|
1557
|
-
},
|
|
1558
|
-
"warnings": {
|
|
1559
|
-
"type": "array",
|
|
1560
|
-
"maxItems": 256,
|
|
1561
|
-
"items": {
|
|
1562
|
-
"type": "string",
|
|
1563
|
-
"maxLength": 4096
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
},
|
|
1568
|
-
"PersistentContextEnvelope": {
|
|
1569
|
-
"allOf": [
|
|
1570
|
-
{
|
|
1571
|
-
"$ref": "#/definitions/ContextEnvelope"
|
|
1572
|
-
},
|
|
1573
|
-
{
|
|
1574
|
-
"properties": {
|
|
1575
|
-
"items": {
|
|
1576
|
-
"items": {
|
|
1577
|
-
"allOf": [
|
|
1578
|
-
{
|
|
1579
|
-
"not": {
|
|
1580
|
-
"properties": {
|
|
1581
|
-
"namespace": {
|
|
1582
|
-
"const": "octo.content"
|
|
1583
|
-
},
|
|
1584
|
-
"name": {
|
|
1585
|
-
"const": "inline"
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"anyOf": [
|
|
1592
|
-
{
|
|
1593
|
-
"properties": {
|
|
1594
|
-
"namespace": {
|
|
1595
|
-
"const": "octo.execution"
|
|
1596
|
-
},
|
|
1597
|
-
"name": {
|
|
1598
|
-
"const": "adapter"
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
"properties": {
|
|
1604
|
-
"namespace": {
|
|
1605
|
-
"const": "octo.execution"
|
|
1606
|
-
},
|
|
1607
|
-
"name": {
|
|
1608
|
-
"const": "model"
|
|
1609
|
-
}
|
|
1610
|
-
}
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"properties": {
|
|
1614
|
-
"namespace": {
|
|
1615
|
-
"const": "octo.execution"
|
|
1616
|
-
},
|
|
1617
|
-
"name": {
|
|
1618
|
-
"const": "workspace"
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"properties": {
|
|
1624
|
-
"namespace": {
|
|
1625
|
-
"const": "octo.execution"
|
|
1626
|
-
},
|
|
1627
|
-
"name": {
|
|
1628
|
-
"const": "limits"
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
},
|
|
1632
|
-
{
|
|
1633
|
-
"properties": {
|
|
1634
|
-
"namespace": {
|
|
1635
|
-
"const": "octo.runtime"
|
|
1636
|
-
},
|
|
1637
|
-
"name": {
|
|
1638
|
-
"const": "selection"
|
|
1639
|
-
}
|
|
1640
|
-
}
|
|
1641
|
-
},
|
|
1642
|
-
{
|
|
1643
|
-
"properties": {
|
|
1644
|
-
"namespace": {
|
|
1645
|
-
"const": "octo.security"
|
|
1646
|
-
},
|
|
1647
|
-
"name": {
|
|
1648
|
-
"const": "approval_policy"
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
},
|
|
1652
|
-
{
|
|
1653
|
-
"properties": {
|
|
1654
|
-
"namespace": {
|
|
1655
|
-
"const": "octo.content"
|
|
1656
|
-
},
|
|
1657
|
-
"name": {
|
|
1658
|
-
"const": "inline"
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
},
|
|
1662
|
-
{
|
|
1663
|
-
"properties": {
|
|
1664
|
-
"namespace": {
|
|
1665
|
-
"const": "octo.content"
|
|
1666
|
-
},
|
|
1667
|
-
"name": {
|
|
1668
|
-
"const": "references"
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
},
|
|
1672
|
-
{
|
|
1673
|
-
"properties": {
|
|
1674
|
-
"namespace": {
|
|
1675
|
-
"const": "octo.control"
|
|
1676
|
-
},
|
|
1677
|
-
"name": {
|
|
1678
|
-
"const": "instructions"
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
}
|
|
1682
|
-
]
|
|
1683
|
-
}
|
|
1684
|
-
]
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
],
|
|
1690
|
-
"tsType": "ContextEnvelope"
|
|
1691
|
-
},
|
|
1692
|
-
"ContextAdapterPayload": {
|
|
1693
|
-
"type": "object",
|
|
1694
|
-
"additionalProperties": false,
|
|
1695
|
-
"required": ["type"],
|
|
1696
|
-
"properties": {
|
|
1697
|
-
"type": {
|
|
1698
|
-
"type": "string",
|
|
1699
|
-
"minLength": 1
|
|
1700
|
-
},
|
|
1701
|
-
"provider_agent_id": {
|
|
1702
|
-
"type": "string",
|
|
1703
|
-
"pattern": "^[a-z0-9_][a-z0-9_-]{0,63}$"
|
|
1704
|
-
}
|
|
1705
|
-
},
|
|
1706
|
-
"if": {
|
|
1707
|
-
"properties": {
|
|
1708
|
-
"type": {
|
|
1709
|
-
"const": "openclaw"
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
},
|
|
1713
|
-
"then": {
|
|
1714
|
-
"required": ["provider_agent_id"]
|
|
1715
|
-
},
|
|
1716
|
-
"else": {
|
|
1717
|
-
"not": {
|
|
1718
|
-
"required": ["provider_agent_id"]
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
},
|
|
1722
|
-
"ContextActmodePayload": {
|
|
1723
|
-
"type": "object",
|
|
1724
|
-
"additionalProperties": false,
|
|
1725
|
-
"required": ["mode"],
|
|
1726
|
-
"properties": {
|
|
1727
|
-
"mode": {
|
|
1728
|
-
"enum": ["default", "plan"]
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
},
|
|
1732
|
-
"ExecutionEvidence": {
|
|
1733
|
-
"type": "object",
|
|
1734
|
-
"additionalProperties": false,
|
|
1735
|
-
"required": ["actmode"],
|
|
1736
|
-
"properties": {
|
|
1737
|
-
"actmode": {
|
|
1738
|
-
"type": "object",
|
|
1739
|
-
"additionalProperties": false,
|
|
1740
|
-
"required": ["requested", "effective", "status"],
|
|
1741
|
-
"properties": {
|
|
1742
|
-
"requested": {
|
|
1743
|
-
"enum": ["default", "plan"]
|
|
1744
|
-
},
|
|
1745
|
-
"effective": {
|
|
1746
|
-
"enum": ["default", "plan", null]
|
|
1747
|
-
},
|
|
1748
|
-
"status": {
|
|
1749
|
-
"enum": ["applied", "fallback", "unknown"]
|
|
1750
|
-
},
|
|
1751
|
-
"nativeMode": {
|
|
1752
|
-
"type": "string",
|
|
1753
|
-
"minLength": 1
|
|
1754
|
-
},
|
|
1755
|
-
"reason": {
|
|
1756
|
-
"enum": ["provider_unsupported", "adapter_unmapped", "provider_unconfirmed"]
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
}
|
|
1760
|
-
}
|
|
1761
|
-
},
|
|
1762
|
-
"ContextModelPayload": {
|
|
1058
|
+
"ContextModelPayload": {
|
|
1763
1059
|
"type": "object",
|
|
1764
1060
|
"additionalProperties": false,
|
|
1765
1061
|
"minProperties": 1,
|
|
@@ -1779,67 +1075,24 @@
|
|
|
1779
1075
|
"effort": {
|
|
1780
1076
|
"type": "string",
|
|
1781
1077
|
"minLength": 1
|
|
1782
|
-
},
|
|
1783
|
-
"use_provider_default": {
|
|
1784
|
-
"const": true
|
|
1785
1078
|
}
|
|
1786
1079
|
},
|
|
1787
|
-
"
|
|
1788
|
-
{
|
|
1789
|
-
"required": ["effort"],
|
|
1790
|
-
"not": {
|
|
1791
|
-
"required": ["use_provider_default"]
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
{
|
|
1795
|
-
"required": ["use_provider_default"],
|
|
1796
|
-
"not": {
|
|
1797
|
-
"required": ["effort"]
|
|
1798
|
-
}
|
|
1799
|
-
}
|
|
1800
|
-
]
|
|
1080
|
+
"required": ["effort"]
|
|
1801
1081
|
},
|
|
1802
1082
|
"ContextWorkspacePayload": {
|
|
1803
|
-
"description": "
|
|
1804
|
-
"
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
"
|
|
1810
|
-
|
|
1811
|
-
"const": "fixed"
|
|
1812
|
-
},
|
|
1813
|
-
"path": {
|
|
1814
|
-
"type": "string",
|
|
1815
|
-
"minLength": 1
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
},
|
|
1819
|
-
{
|
|
1820
|
-
"type": "object",
|
|
1821
|
-
"additionalProperties": false,
|
|
1822
|
-
"required": ["mode"],
|
|
1823
|
-
"properties": {
|
|
1824
|
-
"mode": {
|
|
1825
|
-
"const": "random"
|
|
1826
|
-
}
|
|
1827
|
-
}
|
|
1828
|
-
},
|
|
1829
|
-
{
|
|
1830
|
-
"type": "object",
|
|
1831
|
-
"required": ["mode"],
|
|
1832
|
-
"additionalProperties": false,
|
|
1833
|
-
"properties": {
|
|
1834
|
-
"mode": {
|
|
1835
|
-
"const": "none"
|
|
1836
|
-
}
|
|
1837
|
-
}
|
|
1083
|
+
"description": "Caller-owned, already prepared directory. Runtime validates the concrete local execution path and never allocates or recreates an application workspace.",
|
|
1084
|
+
"type": "object",
|
|
1085
|
+
"additionalProperties": false,
|
|
1086
|
+
"required": ["path"],
|
|
1087
|
+
"properties": {
|
|
1088
|
+
"path": {
|
|
1089
|
+
"type": "string",
|
|
1090
|
+
"minLength": 1
|
|
1838
1091
|
}
|
|
1839
|
-
|
|
1092
|
+
}
|
|
1840
1093
|
},
|
|
1841
1094
|
"ContextLimitsPayload": {
|
|
1842
|
-
"description": "Snake-case frozen watchdog limits, with the same bounds as RuntimeLimits.
|
|
1095
|
+
"description": "Snake-case frozen watchdog limits, with the same bounds as RuntimeLimits.",
|
|
1843
1096
|
"type": "object",
|
|
1844
1097
|
"additionalProperties": false,
|
|
1845
1098
|
"properties": {
|
|
@@ -1876,440 +1129,22 @@
|
|
|
1876
1129
|
"minimum": 100,
|
|
1877
1130
|
"maximum": 604800000
|
|
1878
1131
|
},
|
|
1879
|
-
"cancel_grace_ms": {
|
|
1880
|
-
"type": "integer",
|
|
1881
|
-
"minimum": 100,
|
|
1882
|
-
"maximum": 60000
|
|
1883
|
-
},
|
|
1884
|
-
"enforcement": {
|
|
1885
|
-
"enum": ["enforce", "observe"]
|
|
1886
|
-
}
|
|
1887
|
-
},
|
|
1888
|
-
"if": {
|
|
1889
|
-
"required": ["enforcement"],
|
|
1890
|
-
"properties": {
|
|
1891
|
-
"enforcement": {
|
|
1892
|
-
"const": "observe"
|
|
1893
|
-
}
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
"then": {
|
|
1897
|
-
"not": {
|
|
1898
|
-
"anyOf": [
|
|
1899
|
-
{
|
|
1900
|
-
"required": ["model_idle_policy"]
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
"required": ["model_idle_warning_ms"]
|
|
1904
|
-
},
|
|
1905
|
-
{
|
|
1906
|
-
"required": ["tool_wall_timeout_ms"]
|
|
1907
|
-
}
|
|
1908
|
-
]
|
|
1909
|
-
}
|
|
1910
|
-
}
|
|
1911
|
-
},
|
|
1912
|
-
"ContextRuntimeSelectionPayload": {
|
|
1913
|
-
"type": "object",
|
|
1914
|
-
"additionalProperties": false,
|
|
1915
|
-
"required": ["mode"],
|
|
1916
|
-
"properties": {
|
|
1917
|
-
"mode": {
|
|
1918
|
-
"enum": ["candidates", "explicit"]
|
|
1919
|
-
},
|
|
1920
|
-
"runtime_id": {
|
|
1921
|
-
"type": "string",
|
|
1922
|
-
"minLength": 1
|
|
1923
|
-
},
|
|
1924
|
-
"runtime_ids": {
|
|
1925
|
-
"type": "array",
|
|
1926
|
-
"minItems": 1,
|
|
1927
|
-
"maxItems": 64,
|
|
1928
|
-
"uniqueItems": true,
|
|
1929
|
-
"items": {
|
|
1930
|
-
"type": "string",
|
|
1931
|
-
"minLength": 1
|
|
1932
|
-
}
|
|
1933
|
-
},
|
|
1934
|
-
"strategy": {
|
|
1935
|
-
"const": "preferred_failover"
|
|
1936
|
-
},
|
|
1937
|
-
"offline_behavior": {
|
|
1938
|
-
"enum": ["wait", "fail"]
|
|
1939
|
-
},
|
|
1940
|
-
"failover": {
|
|
1941
|
-
"enum": ["candidates", "none"]
|
|
1942
|
-
}
|
|
1943
|
-
},
|
|
1944
|
-
"oneOf": [
|
|
1945
|
-
{
|
|
1946
|
-
"properties": {
|
|
1947
|
-
"mode": {
|
|
1948
|
-
"const": "candidates"
|
|
1949
|
-
}
|
|
1950
|
-
},
|
|
1951
|
-
"required": ["runtime_ids", "strategy"],
|
|
1952
|
-
"not": {
|
|
1953
|
-
"required": ["runtime_id"]
|
|
1954
|
-
}
|
|
1955
|
-
},
|
|
1956
|
-
{
|
|
1957
|
-
"properties": {
|
|
1958
|
-
"mode": {
|
|
1959
|
-
"const": "explicit"
|
|
1960
|
-
}
|
|
1961
|
-
},
|
|
1962
|
-
"required": ["runtime_id"],
|
|
1963
|
-
"not": {
|
|
1964
|
-
"anyOf": [
|
|
1965
|
-
{
|
|
1966
|
-
"required": ["runtime_ids"]
|
|
1967
|
-
},
|
|
1968
|
-
{
|
|
1969
|
-
"required": ["strategy"]
|
|
1970
|
-
}
|
|
1971
|
-
]
|
|
1972
|
-
}
|
|
1973
|
-
}
|
|
1974
|
-
]
|
|
1975
|
-
},
|
|
1976
|
-
"ContextApprovalPolicyPayload": {
|
|
1977
|
-
"type": "object",
|
|
1978
|
-
"additionalProperties": false,
|
|
1979
|
-
"required": ["mode"],
|
|
1980
|
-
"properties": {
|
|
1981
|
-
"mode": {
|
|
1982
|
-
"$ref": "#/definitions/ApprovalMode"
|
|
1983
|
-
}
|
|
1984
|
-
}
|
|
1985
|
-
},
|
|
1986
|
-
"ContextSelectionEntry": {
|
|
1987
|
-
"description": "Untrusted inline selection text with optional resource reference, source metadata and summary. Source metadata is not an authorization claim.",
|
|
1988
|
-
"type": "object",
|
|
1989
|
-
"additionalProperties": false,
|
|
1990
|
-
"required": ["text"],
|
|
1991
|
-
"properties": {
|
|
1992
|
-
"text": {
|
|
1993
|
-
"type": "string",
|
|
1994
|
-
"minLength": 1
|
|
1995
|
-
},
|
|
1996
|
-
"resource_ref": {
|
|
1997
|
-
"type": "string",
|
|
1998
|
-
"minLength": 1
|
|
1999
|
-
},
|
|
2000
|
-
"source": {
|
|
2001
|
-
"type": ["object", "string"],
|
|
2002
|
-
"additionalProperties": true
|
|
2003
|
-
},
|
|
2004
|
-
"summary": {
|
|
2005
|
-
"type": "string"
|
|
2006
|
-
}
|
|
2007
|
-
}
|
|
2008
|
-
},
|
|
2009
|
-
"ContextResourceEntry": {
|
|
2010
|
-
"description": "Declarative MCP resource operation. Only deployed scoped operations may execute; schema validation does not authorize access.",
|
|
2011
|
-
"type": "object",
|
|
2012
|
-
"additionalProperties": false,
|
|
2013
|
-
"required": ["resource_ref", "resolver", "locator"],
|
|
2014
|
-
"properties": {
|
|
2015
|
-
"resource_ref": {
|
|
2016
|
-
"type": "string",
|
|
2017
|
-
"minLength": 1
|
|
2018
|
-
},
|
|
2019
|
-
"resolver": {
|
|
2020
|
-
"const": "mcp"
|
|
2021
|
-
},
|
|
2022
|
-
"locator": {
|
|
2023
|
-
"type": "object"
|
|
2024
|
-
},
|
|
2025
|
-
"params": {
|
|
2026
|
-
"description": "Frozen non-secret JSON parameters supplied by the authenticated resolver plan, not model-generated commands.",
|
|
2027
|
-
"type": "object",
|
|
2028
|
-
"additionalProperties": true,
|
|
2029
|
-
"tsType": "Record<string, unknown>"
|
|
2030
|
-
},
|
|
2031
|
-
"authorization_ref": {
|
|
2032
|
-
"type": "string",
|
|
2033
|
-
"minLength": 1
|
|
2034
|
-
},
|
|
2035
|
-
"revision": {
|
|
2036
|
-
"type": "string",
|
|
2037
|
-
"minLength": 1
|
|
2038
|
-
}
|
|
2039
|
-
},
|
|
2040
|
-
"allOf": [
|
|
2041
|
-
{
|
|
2042
|
-
"properties": {
|
|
2043
|
-
"locator": {
|
|
2044
|
-
"$ref": "#/definitions/ContextMcpLocator"
|
|
2045
|
-
}
|
|
2046
|
-
}
|
|
2047
|
-
}
|
|
2048
|
-
]
|
|
2049
|
-
},
|
|
2050
|
-
"ContextMcpLocator": {
|
|
2051
|
-
"type": "object",
|
|
2052
|
-
"additionalProperties": false,
|
|
2053
|
-
"required": ["server_ref", "tool"],
|
|
2054
|
-
"properties": {
|
|
2055
|
-
"server_ref": {
|
|
2056
|
-
"type": "string",
|
|
2057
|
-
"minLength": 1
|
|
2058
|
-
},
|
|
2059
|
-
"tool": {
|
|
2060
|
-
"type": "string",
|
|
2061
|
-
"minLength": 1
|
|
2062
|
-
}
|
|
2063
|
-
}
|
|
2064
|
-
},
|
|
2065
|
-
"ContextInstructionEntry": {
|
|
2066
|
-
"description": "Control instruction containing only non-empty text. Authorization belongs to the authenticated upstream boundary, not to a caller-supplied source label.",
|
|
2067
|
-
"type": "object",
|
|
2068
|
-
"additionalProperties": false,
|
|
2069
|
-
"required": ["text"],
|
|
2070
|
-
"properties": {
|
|
2071
|
-
"text": {
|
|
2072
|
-
"type": "string",
|
|
2073
|
-
"minLength": 1
|
|
2074
|
-
}
|
|
2075
|
-
}
|
|
2076
|
-
},
|
|
2077
|
-
"ContextInstructionsPayload": {
|
|
2078
|
-
"type": "object",
|
|
2079
|
-
"additionalProperties": false,
|
|
2080
|
-
"required": ["entries"],
|
|
2081
|
-
"properties": {
|
|
2082
|
-
"entries": {
|
|
2083
|
-
"type": "array",
|
|
2084
|
-
"items": {
|
|
2085
|
-
"$ref": "#/definitions/ContextInstructionEntry"
|
|
2086
|
-
}
|
|
2087
|
-
}
|
|
2088
|
-
}
|
|
2089
|
-
},
|
|
2090
|
-
"ContextContinuityPayload": {
|
|
2091
|
-
"description": "A channel continuity descriptor. The x-octo-matching-trigger-fields keyword requires trigger_fact.message_id == trigger_message_id and matching presence/value of trigger_fact.message_seq and trigger_seq.",
|
|
2092
|
-
"x-octo-matching-trigger-fields": true,
|
|
2093
|
-
"allOf": [
|
|
2094
|
-
{
|
|
2095
|
-
"$ref": "#/definitions/ChannelContextDescriptor"
|
|
2096
|
-
},
|
|
2097
|
-
{
|
|
2098
|
-
"properties": {
|
|
2099
|
-
"session_generation": {
|
|
2100
|
-
"maximum": 9007199254740991
|
|
2101
|
-
},
|
|
2102
|
-
"trigger_seq": {
|
|
2103
|
-
"maximum": 9007199254740991
|
|
2104
|
-
},
|
|
2105
|
-
"trigger_fact": {
|
|
2106
|
-
"properties": {
|
|
2107
|
-
"message_seq": {
|
|
2108
|
-
"maximum": 9007199254740991
|
|
2109
|
-
},
|
|
2110
|
-
"occurred_at_ms": {
|
|
2111
|
-
"maximum": 9007199254740991
|
|
2112
|
-
}
|
|
2113
|
-
}
|
|
2114
|
-
}
|
|
2115
|
-
}
|
|
2116
|
-
}
|
|
2117
|
-
]
|
|
2118
|
-
},
|
|
2119
|
-
"ResolvedRuntimeSelection": {
|
|
2120
|
-
"title": "ResolvedRuntimeSelection",
|
|
2121
|
-
"description": "Worker-frozen Context runtime candidates. Explicit selection cannot fail over.",
|
|
2122
|
-
"x-octo-unicode-scalar-strings": true,
|
|
2123
|
-
"x-octo-runtime-selection-invariants": true,
|
|
2124
|
-
"type": "object",
|
|
2125
|
-
"additionalProperties": false,
|
|
2126
|
-
"required": [
|
|
2127
|
-
"schema",
|
|
2128
|
-
"selection_mode",
|
|
2129
|
-
"authorized_candidates",
|
|
2130
|
-
"offline_behavior",
|
|
2131
|
-
"failover"
|
|
2132
|
-
],
|
|
2133
|
-
"properties": {
|
|
2134
|
-
"schema": {
|
|
2135
|
-
"const": "octo.runtime-selection/v2"
|
|
2136
|
-
},
|
|
2137
|
-
"selection_mode": {
|
|
2138
|
-
"enum": ["explicit", "candidates"]
|
|
2139
|
-
},
|
|
2140
|
-
"explicit_runtime_id": {
|
|
2141
|
-
"type": "string",
|
|
2142
|
-
"minLength": 1,
|
|
2143
|
-
"maxLength": 191
|
|
2144
|
-
},
|
|
2145
|
-
"authorized_candidates": {
|
|
2146
|
-
"type": "array",
|
|
2147
|
-
"minItems": 1,
|
|
2148
|
-
"maxItems": 64,
|
|
2149
|
-
"items": {
|
|
2150
|
-
"type": "object",
|
|
2151
|
-
"additionalProperties": false,
|
|
2152
|
-
"required": ["runtime_id", "priority", "owner_subject_type", "owner_subject_id"],
|
|
2153
|
-
"properties": {
|
|
2154
|
-
"runtime_id": {
|
|
2155
|
-
"type": "string",
|
|
2156
|
-
"minLength": 1,
|
|
2157
|
-
"maxLength": 191
|
|
2158
|
-
},
|
|
2159
|
-
"priority": {
|
|
2160
|
-
"type": "integer",
|
|
2161
|
-
"minimum": 1,
|
|
2162
|
-
"maximum": 9007199254740991
|
|
2163
|
-
},
|
|
2164
|
-
"owner_subject_type": {
|
|
2165
|
-
"enum": ["user", "teamspace"]
|
|
2166
|
-
},
|
|
2167
|
-
"owner_subject_id": {
|
|
2168
|
-
"type": "string",
|
|
2169
|
-
"minLength": 1,
|
|
2170
|
-
"maxLength": 191
|
|
2171
|
-
}
|
|
2172
|
-
}
|
|
2173
|
-
}
|
|
2174
|
-
},
|
|
2175
|
-
"offline_behavior": {
|
|
2176
|
-
"enum": ["wait", "fail"]
|
|
2177
|
-
},
|
|
2178
|
-
"failover": {
|
|
2179
|
-
"enum": ["candidates", "none"]
|
|
2180
|
-
}
|
|
2181
|
-
},
|
|
2182
|
-
"allOf": [
|
|
2183
|
-
{
|
|
2184
|
-
"if": {
|
|
2185
|
-
"properties": {
|
|
2186
|
-
"selection_mode": {
|
|
2187
|
-
"const": "explicit"
|
|
2188
|
-
}
|
|
2189
|
-
}
|
|
2190
|
-
},
|
|
2191
|
-
"then": {
|
|
2192
|
-
"required": ["explicit_runtime_id"],
|
|
2193
|
-
"properties": {
|
|
2194
|
-
"authorized_candidates": {
|
|
2195
|
-
"maxItems": 1
|
|
2196
|
-
},
|
|
2197
|
-
"failover": {
|
|
2198
|
-
"const": "none"
|
|
2199
|
-
}
|
|
2200
|
-
}
|
|
2201
|
-
},
|
|
2202
|
-
"else": {
|
|
2203
|
-
"not": {
|
|
2204
|
-
"required": ["explicit_runtime_id"]
|
|
2205
|
-
}
|
|
2206
|
-
}
|
|
2207
|
-
}
|
|
2208
|
-
]
|
|
2209
|
-
},
|
|
2210
|
-
"ResolvedExecutionPlan": {
|
|
2211
|
-
"title": "ResolvedExecutionPlan",
|
|
2212
|
-
"x-octo-unicode-scalar-strings": true,
|
|
2213
|
-
"type": "object",
|
|
2214
|
-
"additionalProperties": false,
|
|
2215
|
-
"required": ["agent_source", "adapter_type", "workdir", "approval_mode"],
|
|
2216
|
-
"properties": {
|
|
2217
|
-
"actmode": {
|
|
2218
|
-
"enum": ["default", "plan"]
|
|
2219
|
-
},
|
|
2220
|
-
"adapter_type": {
|
|
2221
|
-
"type": "string",
|
|
2222
|
-
"minLength": 1
|
|
2223
|
-
},
|
|
2224
|
-
"workdir": {
|
|
2225
|
-
"type": "string"
|
|
2226
|
-
},
|
|
2227
|
-
"workspace": {
|
|
2228
|
-
"$ref": "#/definitions/ContextWorkspacePayload"
|
|
2229
|
-
},
|
|
2230
|
-
"model": {
|
|
2231
|
-
"type": "string",
|
|
2232
|
-
"minLength": 1
|
|
2233
|
-
},
|
|
2234
|
-
"effort": {
|
|
2235
|
-
"type": "string",
|
|
2236
|
-
"minLength": 1
|
|
2237
|
-
},
|
|
2238
|
-
"approval_mode": {
|
|
2239
|
-
"$ref": "#/definitions/ApprovalMode"
|
|
2240
|
-
},
|
|
2241
|
-
"runtime_limits": {
|
|
2242
|
-
"$ref": "#/definitions/ContextLimitsPayload"
|
|
2243
|
-
},
|
|
2244
|
-
"provider_agent_id": {
|
|
2245
|
-
"type": "string",
|
|
2246
|
-
"pattern": "^[a-z0-9_][a-z0-9_-]{0,63}$"
|
|
2247
|
-
},
|
|
2248
|
-
"agent_source": {
|
|
2249
|
-
"$ref": "#/definitions/AgentSource"
|
|
2250
|
-
},
|
|
2251
|
-
"envs": {
|
|
2252
|
-
"$ref": "#/definitions/ContextEnvsPayload"
|
|
2253
|
-
},
|
|
2254
|
-
"mcp": {
|
|
2255
|
-
"$ref": "#/definitions/ContextMcpPayload"
|
|
2256
|
-
}
|
|
2257
|
-
},
|
|
2258
|
-
"if": {
|
|
2259
|
-
"properties": {
|
|
2260
|
-
"agent_source": {
|
|
2261
|
-
"const": "provisioned"
|
|
2262
|
-
},
|
|
2263
|
-
"workdir": {
|
|
2264
|
-
"const": ""
|
|
2265
|
-
}
|
|
2266
|
-
},
|
|
2267
|
-
"required": ["agent_source", "workdir"]
|
|
2268
|
-
},
|
|
2269
|
-
"then": {
|
|
2270
|
-
"required": ["workspace"],
|
|
2271
|
-
"properties": {
|
|
2272
|
-
"workspace": {
|
|
2273
|
-
"properties": {
|
|
2274
|
-
"mode": {
|
|
2275
|
-
"const": "random"
|
|
2276
|
-
}
|
|
2277
|
-
}
|
|
2278
|
-
}
|
|
2279
|
-
}
|
|
2280
|
-
},
|
|
2281
|
-
"allOf": [
|
|
2282
|
-
{
|
|
2283
|
-
"if": {
|
|
2284
|
-
"properties": {
|
|
2285
|
-
"adapter_type": {
|
|
2286
|
-
"const": "openclaw"
|
|
2287
|
-
}
|
|
2288
|
-
}
|
|
2289
|
-
},
|
|
2290
|
-
"then": {
|
|
2291
|
-
"required": ["provider_agent_id"]
|
|
2292
|
-
},
|
|
2293
|
-
"else": {
|
|
2294
|
-
"not": {
|
|
2295
|
-
"required": ["provider_agent_id"]
|
|
2296
|
-
}
|
|
2297
|
-
}
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
"if": {
|
|
2301
|
-
"properties": {
|
|
2302
|
-
"agent_source": {
|
|
2303
|
-
"const": "preset"
|
|
2304
|
-
}
|
|
2305
|
-
},
|
|
2306
|
-
"required": ["agent_source"]
|
|
2307
|
-
},
|
|
2308
|
-
"then": {
|
|
2309
|
-
"required": ["provider_agent_id"]
|
|
2310
|
-
}
|
|
1132
|
+
"cancel_grace_ms": {
|
|
1133
|
+
"type": "integer",
|
|
1134
|
+
"minimum": 100,
|
|
1135
|
+
"maximum": 60000
|
|
2311
1136
|
}
|
|
2312
|
-
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
"ContextApprovalPolicyPayload": {
|
|
1140
|
+
"type": "object",
|
|
1141
|
+
"additionalProperties": false,
|
|
1142
|
+
"required": ["mode"],
|
|
1143
|
+
"properties": {
|
|
1144
|
+
"mode": {
|
|
1145
|
+
"$ref": "#/definitions/ApprovalMode"
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
2313
1148
|
},
|
|
2314
1149
|
"MessageChannel": {
|
|
2315
1150
|
"title": "MessageChannel",
|
|
@@ -2563,72 +1398,6 @@
|
|
|
2563
1398
|
"type": "integer",
|
|
2564
1399
|
"minimum": 100,
|
|
2565
1400
|
"maximum": 60000
|
|
2566
|
-
},
|
|
2567
|
-
"enforcement": {
|
|
2568
|
-
"type": "string",
|
|
2569
|
-
"enum": ["observe", "enforce"]
|
|
2570
|
-
}
|
|
2571
|
-
}
|
|
2572
|
-
},
|
|
2573
|
-
"AgentConfig": {
|
|
2574
|
-
"title": "AgentConfig",
|
|
2575
|
-
"description": "Adapter-internal configuration derived from the resolved execution plan, not a public source of run model or approval choices. Legacy permission and thinking fields are forbidden.",
|
|
2576
|
-
"type": "object",
|
|
2577
|
-
"additionalProperties": true,
|
|
2578
|
-
"not": {
|
|
2579
|
-
"anyOf": [
|
|
2580
|
-
{
|
|
2581
|
-
"required": ["permissionMode"]
|
|
2582
|
-
},
|
|
2583
|
-
{
|
|
2584
|
-
"required": ["autoApprove"]
|
|
2585
|
-
},
|
|
2586
|
-
{
|
|
2587
|
-
"required": ["dangerouslyBypassPermissions"]
|
|
2588
|
-
},
|
|
2589
|
-
{
|
|
2590
|
-
"required": ["thinking"]
|
|
2591
|
-
}
|
|
2592
|
-
]
|
|
2593
|
-
},
|
|
2594
|
-
"properties": {
|
|
2595
|
-
"workdir": {
|
|
2596
|
-
"description": "Default provider CLI working directory. It is a cwd, not a filesystem security boundary.",
|
|
2597
|
-
"type": "string"
|
|
2598
|
-
},
|
|
2599
|
-
"model": {
|
|
2600
|
-
"description": "Model identifier.",
|
|
2601
|
-
"type": "string"
|
|
2602
|
-
},
|
|
2603
|
-
"sandbox": {
|
|
2604
|
-
"description": "Provider sandbox mode identifier.",
|
|
2605
|
-
"type": "string"
|
|
2606
|
-
},
|
|
2607
|
-
"providerAgentId": {
|
|
2608
|
-
"description": "Provider-side agent identifier.",
|
|
2609
|
-
"type": "string"
|
|
2610
|
-
},
|
|
2611
|
-
"effort": {
|
|
2612
|
-
"description": "Optional provider reasoning effort identifier. Provider adapters may define an explicit default.",
|
|
2613
|
-
"type": "string"
|
|
2614
|
-
},
|
|
2615
|
-
"timeoutSeconds": {
|
|
2616
|
-
"description": "Invocation timeout in seconds.",
|
|
2617
|
-
"type": "number"
|
|
2618
|
-
},
|
|
2619
|
-
"openclawConfigPath": {
|
|
2620
|
-
"description": "OpenClaw configuration path.",
|
|
2621
|
-
"type": "string"
|
|
2622
|
-
},
|
|
2623
|
-
"openclawStateDir": {
|
|
2624
|
-
"description": "OpenClaw state directory.",
|
|
2625
|
-
"type": "string"
|
|
2626
|
-
},
|
|
2627
|
-
"providerOptions": {
|
|
2628
|
-
"description": "Provider-specific extension options passed through unchanged by Core.",
|
|
2629
|
-
"type": "object",
|
|
2630
|
-
"additionalProperties": true,
|
|
2631
|
-
"tsType": "Record<string, unknown>"
|
|
2632
1401
|
}
|
|
2633
1402
|
}
|
|
2634
1403
|
},
|
|
@@ -2641,7 +1410,7 @@
|
|
|
2641
1410
|
"type": "string",
|
|
2642
1411
|
"minLength": 1,
|
|
2643
1412
|
"maxLength": 4096,
|
|
2644
|
-
"pattern": "[^\t-\r
|
|
1413
|
+
"pattern": "[^\t-\r -
]"
|
|
2645
1414
|
},
|
|
2646
1415
|
"options": {
|
|
2647
1416
|
"type": ["array", "null"],
|
|
@@ -2650,7 +1419,7 @@
|
|
|
2650
1419
|
"type": "string",
|
|
2651
1420
|
"minLength": 1,
|
|
2652
1421
|
"maxLength": 4096,
|
|
2653
|
-
"pattern": "[^\t-\r
|
|
1422
|
+
"pattern": "[^\t-\r -
]"
|
|
2654
1423
|
}
|
|
2655
1424
|
}
|
|
2656
1425
|
}
|
|
@@ -2686,7 +1455,7 @@
|
|
|
2686
1455
|
"type": "string",
|
|
2687
1456
|
"minLength": 1,
|
|
2688
1457
|
"maxLength": 4096,
|
|
2689
|
-
"pattern": "[^\t-\r
|
|
1458
|
+
"pattern": "[^\t-\r -
]"
|
|
2690
1459
|
},
|
|
2691
1460
|
"options": {
|
|
2692
1461
|
"type": ["array", "null"],
|
|
@@ -2695,7 +1464,7 @@
|
|
|
2695
1464
|
"type": "string",
|
|
2696
1465
|
"minLength": 1,
|
|
2697
1466
|
"maxLength": 4096,
|
|
2698
|
-
"pattern": "[^\t-\r
|
|
1467
|
+
"pattern": "[^\t-\r -
]"
|
|
2699
1468
|
}
|
|
2700
1469
|
},
|
|
2701
1470
|
"allowCustom": {
|
|
@@ -2733,7 +1502,7 @@
|
|
|
2733
1502
|
"type": "string",
|
|
2734
1503
|
"minLength": 1,
|
|
2735
1504
|
"maxLength": 4096,
|
|
2736
|
-
"pattern": "[^\t-\r
|
|
1505
|
+
"pattern": "[^\t-\r -
]"
|
|
2737
1506
|
}
|
|
2738
1507
|
}
|
|
2739
1508
|
}
|
|
@@ -3148,378 +1917,74 @@
|
|
|
3148
1917
|
"type": "object",
|
|
3149
1918
|
"additionalProperties": true,
|
|
3150
1919
|
"required": ["id", "kind"],
|
|
3151
|
-
"properties": {
|
|
3152
|
-
"id": {
|
|
3153
|
-
"description": "Stable identifier from the corresponding tool_call.create event.",
|
|
3154
|
-
"type": "string"
|
|
3155
|
-
},
|
|
3156
|
-
"argsDelta": {
|
|
3157
|
-
"description": "Raw JSON argument fragment; do not parse fragments independently.",
|
|
3158
|
-
"type": "string"
|
|
3159
|
-
},
|
|
3160
|
-
"outputDelta": {
|
|
3161
|
-
"description": "Tool output text fragment.",
|
|
3162
|
-
"type": "string"
|
|
3163
|
-
},
|
|
3164
|
-
"outputSnapshot": {
|
|
3165
|
-
"type": "string",
|
|
3166
|
-
"description": "Full replacement of a provider rolling output snapshot; never an activity or a terminal status."
|
|
3167
|
-
}
|
|
3168
|
-
}
|
|
3169
|
-
},
|
|
3170
|
-
"ToolCallUpdatePayload": {
|
|
3171
|
-
"title": "ToolCallUpdatePayload",
|
|
3172
|
-
"description": "Formal tool_call.update payload that closes the tool lifecycle and carries its final result.",
|
|
3173
|
-
"type": "object",
|
|
3174
|
-
"additionalProperties": true,
|
|
3175
|
-
"required": ["id", "status"],
|
|
3176
|
-
"properties": {
|
|
3177
|
-
"id": {
|
|
3178
|
-
"description": "Stable identifier from the corresponding tool_call.create event.",
|
|
3179
|
-
"type": "string"
|
|
3180
|
-
},
|
|
3181
|
-
"status": {
|
|
3182
|
-
"enum": ["completed", "failed", "cancelled"]
|
|
3183
|
-
},
|
|
3184
|
-
"output": {
|
|
3185
|
-
"description": "Final tool output as text or structured JSON.",
|
|
3186
|
-
"tsType": "unknown"
|
|
3187
|
-
},
|
|
3188
|
-
"error": {
|
|
3189
|
-
"description": "Structured error details.",
|
|
3190
|
-
"type": "object",
|
|
3191
|
-
"additionalProperties": true,
|
|
3192
|
-
"tsType": "Record<string, unknown>"
|
|
3193
|
-
},
|
|
3194
|
-
"exitCode": {
|
|
3195
|
-
"description": "Process exit code for command tools.",
|
|
3196
|
-
"type": "integer"
|
|
3197
|
-
},
|
|
3198
|
-
"durationMs": {
|
|
3199
|
-
"type": "integer",
|
|
3200
|
-
"minimum": 0,
|
|
3201
|
-
"maximum": 9007199254740991
|
|
3202
|
-
}
|
|
3203
|
-
}
|
|
3204
|
-
},
|
|
3205
|
-
"RunIdentity": {
|
|
3206
|
-
"title": "RunIdentity",
|
|
3207
|
-
"description": "Stable run identity used by envelopes without requiring the complete domain object.",
|
|
3208
|
-
"type": "object",
|
|
3209
|
-
"additionalProperties": false,
|
|
3210
|
-
"required": ["id", "agentSessionId"],
|
|
3211
|
-
"properties": {
|
|
3212
|
-
"id": {
|
|
3213
|
-
"description": "Run identifier.",
|
|
3214
|
-
"type": "string"
|
|
3215
|
-
},
|
|
3216
|
-
"agentSessionId": {
|
|
3217
|
-
"description": "Owning Agent Worker session identifier.",
|
|
3218
|
-
"type": "string"
|
|
3219
|
-
}
|
|
3220
|
-
}
|
|
3221
|
-
},
|
|
3222
|
-
"ChannelScope": {
|
|
3223
|
-
"title": "ChannelScope",
|
|
3224
|
-
"description": "Platform-neutral channel isolation key. account_id may be null but remains explicit; an absent thread_id selects the conversation root.",
|
|
3225
|
-
"type": "object",
|
|
3226
|
-
"additionalProperties": false,
|
|
3227
|
-
"required": [
|
|
3228
|
-
"tenant_id",
|
|
3229
|
-
"endpoint_id",
|
|
3230
|
-
"channel",
|
|
3231
|
-
"account_id",
|
|
3232
|
-
"bot_id",
|
|
3233
|
-
"conversation_id"
|
|
3234
|
-
],
|
|
3235
|
-
"properties": {
|
|
3236
|
-
"tenant_id": {
|
|
3237
|
-
"type": "string",
|
|
3238
|
-
"minLength": 1
|
|
3239
|
-
},
|
|
3240
|
-
"endpoint_id": {
|
|
3241
|
-
"type": "string",
|
|
3242
|
-
"minLength": 1
|
|
3243
|
-
},
|
|
3244
|
-
"channel": {
|
|
3245
|
-
"type": "string",
|
|
3246
|
-
"minLength": 1
|
|
3247
|
-
},
|
|
3248
|
-
"account_id": {
|
|
3249
|
-
"type": ["string", "null"]
|
|
3250
|
-
},
|
|
3251
|
-
"bot_id": {
|
|
3252
|
-
"type": "string",
|
|
3253
|
-
"minLength": 1
|
|
3254
|
-
},
|
|
3255
|
-
"conversation_id": {
|
|
3256
|
-
"type": "string",
|
|
3257
|
-
"minLength": 1
|
|
3258
|
-
},
|
|
3259
|
-
"thread_id": {
|
|
3260
|
-
"type": ["string", "null"]
|
|
3261
|
-
}
|
|
3262
|
-
}
|
|
3263
|
-
},
|
|
3264
|
-
"ChannelMessagePart": {
|
|
3265
|
-
"title": "ChannelMessagePart",
|
|
3266
|
-
"description": "Normalized platform message part. type and text are common fields; connector extensions remain untrusted external data.",
|
|
3267
|
-
"type": "object",
|
|
3268
|
-
"additionalProperties": true,
|
|
3269
|
-
"required": ["type"],
|
|
3270
|
-
"properties": {
|
|
3271
|
-
"type": {
|
|
3272
|
-
"type": "string",
|
|
3273
|
-
"minLength": 1
|
|
3274
|
-
},
|
|
3275
|
-
"text": {
|
|
3276
|
-
"type": "string"
|
|
3277
|
-
}
|
|
3278
|
-
}
|
|
3279
|
-
},
|
|
3280
|
-
"ChannelMessageSender": {
|
|
3281
|
-
"title": "ChannelMessageSender",
|
|
3282
|
-
"description": "Normalized sender fact without platform credentials.",
|
|
3283
|
-
"type": "object",
|
|
3284
|
-
"additionalProperties": false,
|
|
3285
|
-
"required": ["id", "kind"],
|
|
3286
|
-
"properties": {
|
|
3287
|
-
"id": {
|
|
3288
|
-
"type": "string",
|
|
3289
|
-
"minLength": 1
|
|
3290
|
-
},
|
|
3291
|
-
"label": {
|
|
3292
|
-
"type": "string"
|
|
3293
|
-
},
|
|
3294
|
-
"kind": {
|
|
3295
|
-
"type": "string",
|
|
3296
|
-
"minLength": 1
|
|
3297
|
-
}
|
|
3298
|
-
}
|
|
3299
|
-
},
|
|
3300
|
-
"ChannelMessageFlags": {
|
|
3301
|
-
"title": "ChannelMessageFlags",
|
|
3302
|
-
"description": "Common message flags that affect context projection. Self and control messages are excluded from provider-visible context.",
|
|
3303
|
-
"type": "object",
|
|
3304
|
-
"additionalProperties": false,
|
|
3305
|
-
"properties": {
|
|
3306
|
-
"self": {
|
|
3307
|
-
"type": "boolean"
|
|
3308
|
-
},
|
|
3309
|
-
"control": {
|
|
3310
|
-
"type": "boolean"
|
|
3311
|
-
}
|
|
3312
|
-
}
|
|
3313
|
-
},
|
|
3314
|
-
"ChannelMessageFact": {
|
|
3315
|
-
"title": "ChannelMessageFact",
|
|
3316
|
-
"description": "A platform-neutral message fact in the rebuildable channel journal. Message content is always untrusted external input.",
|
|
3317
|
-
"type": "object",
|
|
3318
|
-
"additionalProperties": false,
|
|
3319
|
-
"required": ["message_id", "sender", "occurred_at_ms", "parts"],
|
|
3320
|
-
"properties": {
|
|
3321
|
-
"message_id": {
|
|
3322
|
-
"type": "string",
|
|
3323
|
-
"minLength": 1
|
|
3324
|
-
},
|
|
3325
|
-
"message_seq": {
|
|
3326
|
-
"type": "integer",
|
|
3327
|
-
"minimum": 0
|
|
3328
|
-
},
|
|
3329
|
-
"sender": {
|
|
3330
|
-
"$ref": "#/definitions/ChannelMessageSender"
|
|
3331
|
-
},
|
|
3332
|
-
"occurred_at_ms": {
|
|
3333
|
-
"type": "integer",
|
|
3334
|
-
"minimum": 1
|
|
3335
|
-
},
|
|
3336
|
-
"parts": {
|
|
3337
|
-
"type": "array",
|
|
3338
|
-
"minItems": 1,
|
|
3339
|
-
"items": {
|
|
3340
|
-
"$ref": "#/definitions/ChannelMessagePart"
|
|
3341
|
-
}
|
|
3342
|
-
},
|
|
3343
|
-
"flags": {
|
|
3344
|
-
"$ref": "#/definitions/ChannelMessageFlags"
|
|
3345
|
-
}
|
|
3346
|
-
}
|
|
3347
|
-
},
|
|
3348
|
-
"ChannelContextAppend": {
|
|
3349
|
-
"title": "ChannelContextAppend",
|
|
3350
|
-
"description": "Idempotent context-only batch appended by agent-worker to its bound daemon.",
|
|
3351
|
-
"type": "object",
|
|
3352
|
-
"additionalProperties": false,
|
|
3353
|
-
"required": ["agent_id", "scope", "facts"],
|
|
3354
|
-
"properties": {
|
|
3355
|
-
"agent_id": {
|
|
3356
|
-
"type": "string",
|
|
3357
|
-
"minLength": 1,
|
|
3358
|
-
"maxLength": 96
|
|
3359
|
-
},
|
|
3360
|
-
"scope": {
|
|
3361
|
-
"$ref": "#/definitions/ChannelScope"
|
|
3362
|
-
},
|
|
3363
|
-
"facts": {
|
|
3364
|
-
"type": "array",
|
|
3365
|
-
"minItems": 1,
|
|
3366
|
-
"maxItems": 100,
|
|
3367
|
-
"items": {
|
|
3368
|
-
"$ref": "#/definitions/ChannelMessageFact"
|
|
3369
|
-
}
|
|
3370
|
-
},
|
|
3371
|
-
"gap_after_seq": {
|
|
3372
|
-
"type": "integer",
|
|
3373
|
-
"minimum": 0
|
|
3374
|
-
}
|
|
3375
|
-
}
|
|
3376
|
-
},
|
|
3377
|
-
"ContextSyncRequest": {
|
|
3378
|
-
"title": "ContextSyncRequest",
|
|
3379
|
-
"description": "Bounded backfill requested by the daemon after cold start or gap detection. It never carries platform tokens.",
|
|
3380
|
-
"type": "object",
|
|
3381
|
-
"additionalProperties": false,
|
|
3382
|
-
"required": ["request_id", "run_id", "scope", "trigger_message_id", "limit"],
|
|
3383
|
-
"properties": {
|
|
3384
|
-
"request_id": {
|
|
3385
|
-
"type": "string",
|
|
3386
|
-
"minLength": 1
|
|
3387
|
-
},
|
|
3388
|
-
"run_id": {
|
|
3389
|
-
"type": "string",
|
|
3390
|
-
"minLength": 1
|
|
3391
|
-
},
|
|
3392
|
-
"scope": {
|
|
3393
|
-
"$ref": "#/definitions/ChannelScope"
|
|
3394
|
-
},
|
|
3395
|
-
"trigger_message_id": {
|
|
3396
|
-
"type": "string",
|
|
3397
|
-
"minLength": 1
|
|
3398
|
-
},
|
|
3399
|
-
"trigger_seq": {
|
|
3400
|
-
"type": "integer",
|
|
3401
|
-
"minimum": 0
|
|
3402
|
-
},
|
|
3403
|
-
"after_seq": {
|
|
3404
|
-
"type": "integer",
|
|
3405
|
-
"minimum": 0
|
|
3406
|
-
},
|
|
3407
|
-
"limit": {
|
|
3408
|
-
"type": "integer",
|
|
3409
|
-
"minimum": 1,
|
|
3410
|
-
"maximum": 100
|
|
3411
|
-
}
|
|
3412
|
-
}
|
|
3413
|
-
},
|
|
3414
|
-
"ContextSyncResult": {
|
|
3415
|
-
"title": "ContextSyncResult",
|
|
3416
|
-
"description": "Bounded history result. complete means only that the requested window was returned, not that the local journal is authoritative.",
|
|
3417
|
-
"type": "object",
|
|
3418
|
-
"additionalProperties": false,
|
|
3419
|
-
"required": ["request_id", "scope", "facts", "completeness"],
|
|
3420
|
-
"properties": {
|
|
3421
|
-
"request_id": {
|
|
3422
|
-
"type": "string",
|
|
3423
|
-
"minLength": 1
|
|
1920
|
+
"properties": {
|
|
1921
|
+
"id": {
|
|
1922
|
+
"description": "Stable identifier from the corresponding tool_call.create event.",
|
|
1923
|
+
"type": "string"
|
|
3424
1924
|
},
|
|
3425
|
-
"
|
|
3426
|
-
"
|
|
1925
|
+
"argsDelta": {
|
|
1926
|
+
"description": "Raw JSON argument fragment; do not parse fragments independently.",
|
|
1927
|
+
"type": "string"
|
|
3427
1928
|
},
|
|
3428
|
-
"
|
|
3429
|
-
"
|
|
3430
|
-
"
|
|
3431
|
-
"items": {
|
|
3432
|
-
"$ref": "#/definitions/ChannelMessageFact"
|
|
3433
|
-
}
|
|
1929
|
+
"outputDelta": {
|
|
1930
|
+
"description": "Tool output text fragment.",
|
|
1931
|
+
"type": "string"
|
|
3434
1932
|
},
|
|
3435
|
-
"
|
|
1933
|
+
"outputSnapshot": {
|
|
3436
1934
|
"type": "string",
|
|
3437
|
-
"
|
|
3438
|
-
},
|
|
3439
|
-
"through_seq": {
|
|
3440
|
-
"type": "integer",
|
|
3441
|
-
"minimum": 0
|
|
3442
|
-
}
|
|
3443
|
-
},
|
|
3444
|
-
"allOf": [
|
|
3445
|
-
{
|
|
3446
|
-
"if": {
|
|
3447
|
-
"properties": {
|
|
3448
|
-
"completeness": {
|
|
3449
|
-
"const": "unavailable"
|
|
3450
|
-
}
|
|
3451
|
-
}
|
|
3452
|
-
},
|
|
3453
|
-
"then": {
|
|
3454
|
-
"properties": {
|
|
3455
|
-
"facts": {
|
|
3456
|
-
"maxItems": 0
|
|
3457
|
-
}
|
|
3458
|
-
}
|
|
3459
|
-
}
|
|
1935
|
+
"description": "Full replacement of a provider rolling output snapshot; never an activity or a terminal status."
|
|
3460
1936
|
}
|
|
3461
|
-
|
|
1937
|
+
}
|
|
3462
1938
|
},
|
|
3463
|
-
"
|
|
3464
|
-
"title": "
|
|
3465
|
-
"description": "
|
|
1939
|
+
"ToolCallUpdatePayload": {
|
|
1940
|
+
"title": "ToolCallUpdatePayload",
|
|
1941
|
+
"description": "Formal tool_call.update payload that closes the tool lifecycle and carries its final result.",
|
|
3466
1942
|
"type": "object",
|
|
3467
|
-
"additionalProperties":
|
|
3468
|
-
"required": [
|
|
3469
|
-
"scope",
|
|
3470
|
-
"consumer_key",
|
|
3471
|
-
"session_generation",
|
|
3472
|
-
"trigger_message_id",
|
|
3473
|
-
"trigger_fact"
|
|
3474
|
-
],
|
|
1943
|
+
"additionalProperties": true,
|
|
1944
|
+
"required": ["id", "status"],
|
|
3475
1945
|
"properties": {
|
|
3476
|
-
"
|
|
3477
|
-
"
|
|
1946
|
+
"id": {
|
|
1947
|
+
"description": "Stable identifier from the corresponding tool_call.create event.",
|
|
1948
|
+
"type": "string"
|
|
3478
1949
|
},
|
|
3479
|
-
"
|
|
3480
|
-
"
|
|
3481
|
-
"minLength": 1
|
|
1950
|
+
"status": {
|
|
1951
|
+
"enum": ["completed", "failed", "cancelled"]
|
|
3482
1952
|
},
|
|
3483
|
-
"
|
|
3484
|
-
"
|
|
3485
|
-
"
|
|
1953
|
+
"output": {
|
|
1954
|
+
"description": "Final tool output as text or structured JSON.",
|
|
1955
|
+
"tsType": "unknown"
|
|
3486
1956
|
},
|
|
3487
|
-
"
|
|
3488
|
-
"
|
|
3489
|
-
"
|
|
1957
|
+
"error": {
|
|
1958
|
+
"description": "Structured error details.",
|
|
1959
|
+
"type": "object",
|
|
1960
|
+
"additionalProperties": true,
|
|
1961
|
+
"tsType": "Record<string, unknown>"
|
|
3490
1962
|
},
|
|
3491
|
-
"
|
|
3492
|
-
"
|
|
3493
|
-
"
|
|
1963
|
+
"exitCode": {
|
|
1964
|
+
"description": "Process exit code for command tools.",
|
|
1965
|
+
"type": "integer"
|
|
3494
1966
|
},
|
|
3495
|
-
"
|
|
3496
|
-
"
|
|
1967
|
+
"durationMs": {
|
|
1968
|
+
"type": "integer",
|
|
1969
|
+
"minimum": 0,
|
|
1970
|
+
"maximum": 9007199254740991
|
|
3497
1971
|
}
|
|
3498
1972
|
}
|
|
3499
1973
|
},
|
|
3500
|
-
"
|
|
3501
|
-
"title": "
|
|
3502
|
-
"description": "
|
|
1974
|
+
"RunIdentity": {
|
|
1975
|
+
"title": "RunIdentity",
|
|
1976
|
+
"description": "Stable run identity used by envelopes without requiring the complete domain object.",
|
|
3503
1977
|
"type": "object",
|
|
3504
1978
|
"additionalProperties": false,
|
|
3505
|
-
"required": ["
|
|
1979
|
+
"required": ["id", "agentSessionId"],
|
|
3506
1980
|
"properties": {
|
|
3507
|
-
"
|
|
3508
|
-
"
|
|
3509
|
-
"
|
|
3510
|
-
},
|
|
3511
|
-
"committed": {
|
|
3512
|
-
"type": "boolean"
|
|
1981
|
+
"id": {
|
|
1982
|
+
"description": "Run identifier.",
|
|
1983
|
+
"type": "string"
|
|
3513
1984
|
},
|
|
3514
|
-
"
|
|
3515
|
-
"
|
|
3516
|
-
"
|
|
3517
|
-
"already_committed",
|
|
3518
|
-
"snapshot_not_found",
|
|
3519
|
-
"snapshot_not_submitted",
|
|
3520
|
-
"consumer_advanced",
|
|
3521
|
-
"snapshot_failed"
|
|
3522
|
-
]
|
|
1985
|
+
"agentSessionId": {
|
|
1986
|
+
"description": "Owning Agent Worker session identifier.",
|
|
1987
|
+
"type": "string"
|
|
3523
1988
|
}
|
|
3524
1989
|
}
|
|
3525
1990
|
},
|
|
@@ -3717,14 +2182,9 @@
|
|
|
3717
2182
|
"agentSessionId",
|
|
3718
2183
|
"runId",
|
|
3719
2184
|
"prompt",
|
|
3720
|
-
"workdir",
|
|
3721
|
-
"controlInstructions",
|
|
3722
|
-
"context",
|
|
3723
|
-
"agentConfig",
|
|
3724
2185
|
"modelInput",
|
|
3725
|
-
"approvalMode",
|
|
3726
2186
|
"protocolVersion",
|
|
3727
|
-
"
|
|
2187
|
+
"agentEnv"
|
|
3728
2188
|
],
|
|
3729
2189
|
"properties": {
|
|
3730
2190
|
"executionEnvOverrides": {
|
|
@@ -3750,7 +2210,7 @@
|
|
|
3750
2210
|
"pattern": "[\\x00-\\x1f\\x7f-\\x9f]"
|
|
3751
2211
|
},
|
|
3752
2212
|
{
|
|
3753
|
-
"pattern": "^[
|
|
2213
|
+
"pattern": "^[ -
]*$"
|
|
3754
2214
|
}
|
|
3755
2215
|
]
|
|
3756
2216
|
}
|
|
@@ -3808,41 +2268,28 @@
|
|
|
3808
2268
|
"description": "Frozen alternate user turn for the first turn of a fresh provider session after resume fails.",
|
|
3809
2269
|
"type": "string"
|
|
3810
2270
|
},
|
|
3811
|
-
"workdir": {
|
|
3812
|
-
"description": "Provider process cwd. Sandboxing, containers, or host permissions provide the actual access boundary.",
|
|
3813
|
-
"type": "string"
|
|
3814
|
-
},
|
|
3815
|
-
"controlInstructions": {
|
|
3816
|
-
"description": "Trusted session instructions. Adapters inject them only when starting a provider session; resuming an existing session must not inject or clear them.",
|
|
3817
|
-
"type": "string"
|
|
3818
|
-
},
|
|
3819
|
-
"context": {
|
|
3820
|
-
"$ref": "#/definitions/ContextEnvelope"
|
|
3821
|
-
},
|
|
3822
2271
|
"runMetadata": {
|
|
3823
2272
|
"type": "object",
|
|
3824
2273
|
"additionalProperties": true,
|
|
3825
2274
|
"tsType": "Record<string, unknown>"
|
|
3826
2275
|
},
|
|
3827
|
-
"approvalMode": {
|
|
3828
|
-
"$ref": "#/definitions/ApprovalMode"
|
|
3829
|
-
},
|
|
3830
2276
|
"providerSession": {
|
|
3831
2277
|
"$ref": "#/definitions/ProviderSession"
|
|
3832
2278
|
},
|
|
3833
|
-
"runtimeLimits": {
|
|
3834
|
-
"$ref": "#/definitions/RuntimeLimits"
|
|
3835
|
-
},
|
|
3836
|
-
"agentConfig": {
|
|
3837
|
-
"$ref": "#/definitions/AgentConfig"
|
|
3838
|
-
},
|
|
3839
2279
|
"protocolVersion": {
|
|
3840
2280
|
"const": 2
|
|
3841
2281
|
},
|
|
3842
|
-
"
|
|
3843
|
-
"$ref": "#/definitions/
|
|
2282
|
+
"agentEnv": {
|
|
2283
|
+
"$ref": "#/definitions/AgentEnv"
|
|
3844
2284
|
}
|
|
3845
|
-
}
|
|
2285
|
+
},
|
|
2286
|
+
"allOf": [
|
|
2287
|
+
{
|
|
2288
|
+
"not": {
|
|
2289
|
+
"required": ["controlInstructions"]
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
]
|
|
3846
2293
|
},
|
|
3847
2294
|
"ActivityInfo": {
|
|
3848
2295
|
"type": "object",
|
|
@@ -4096,7 +2543,8 @@
|
|
|
4096
2543
|
"context_compacted",
|
|
4097
2544
|
"model_rerouted",
|
|
4098
2545
|
"config_warning",
|
|
4099
|
-
"provider_diagnostic"
|
|
2546
|
+
"provider_diagnostic",
|
|
2547
|
+
"model_output_idle"
|
|
4100
2548
|
]
|
|
4101
2549
|
},
|
|
4102
2550
|
"severity": {
|
|
@@ -4119,133 +2567,54 @@
|
|
|
4119
2567
|
"maxLength": 191
|
|
4120
2568
|
}
|
|
4121
2569
|
},
|
|
4122
|
-
"required": ["noticeId", "code", "severity", "params"]
|
|
4123
|
-
|
|
4124
|
-
"AgentSource": {
|
|
4125
|
-
"title": "AgentSource",
|
|
4126
|
-
"type": "string",
|
|
4127
|
-
"enum": ["preset", "provisioned"]
|
|
4128
|
-
},
|
|
4129
|
-
"ContextModelSelectionPayload": {
|
|
4130
|
-
"type": "object",
|
|
4131
|
-
"additionalProperties": false,
|
|
4132
|
-
"properties": {
|
|
4133
|
-
"id": {
|
|
4134
|
-
"type": "string",
|
|
4135
|
-
"minLength": 1
|
|
4136
|
-
},
|
|
4137
|
-
"use_provider_default": {
|
|
4138
|
-
"const": true
|
|
4139
|
-
}
|
|
4140
|
-
},
|
|
4141
|
-
"oneOf": [
|
|
4142
|
-
{
|
|
4143
|
-
"required": ["id"],
|
|
4144
|
-
"not": {
|
|
4145
|
-
"required": ["use_provider_default"]
|
|
4146
|
-
}
|
|
4147
|
-
},
|
|
2570
|
+
"required": ["noticeId", "code", "severity", "params"],
|
|
2571
|
+
"allOf": [
|
|
4148
2572
|
{
|
|
4149
|
-
"
|
|
4150
|
-
|
|
4151
|
-
"
|
|
2573
|
+
"if": {
|
|
2574
|
+
"required": ["code"],
|
|
2575
|
+
"properties": {
|
|
2576
|
+
"code": {
|
|
2577
|
+
"const": "model_output_idle"
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
},
|
|
2581
|
+
"then": {
|
|
2582
|
+
"properties": {
|
|
2583
|
+
"severity": {
|
|
2584
|
+
"const": "info"
|
|
2585
|
+
},
|
|
2586
|
+
"params": {
|
|
2587
|
+
"type": "object",
|
|
2588
|
+
"additionalProperties": false,
|
|
2589
|
+
"required": ["silenceMs", "message"],
|
|
2590
|
+
"properties": {
|
|
2591
|
+
"silenceMs": {
|
|
2592
|
+
"type": "integer",
|
|
2593
|
+
"minimum": 60000,
|
|
2594
|
+
"maximum": 9007199254740991
|
|
2595
|
+
},
|
|
2596
|
+
"message": {
|
|
2597
|
+
"type": "string",
|
|
2598
|
+
"minLength": 1,
|
|
2599
|
+
"maxLength": 96
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
4152
2604
|
}
|
|
4153
2605
|
}
|
|
4154
2606
|
]
|
|
4155
2607
|
},
|
|
4156
|
-
"
|
|
4157
|
-
"description": "Untrusted inline selection text with optional resource reference, source metadata and summary. Source metadata is not an authorization claim.",
|
|
4158
|
-
"type": "object",
|
|
4159
|
-
"additionalProperties": false,
|
|
4160
|
-
"required": ["text"],
|
|
4161
|
-
"properties": {
|
|
4162
|
-
"text": {
|
|
4163
|
-
"type": "string",
|
|
4164
|
-
"minLength": 1
|
|
4165
|
-
},
|
|
4166
|
-
"resource_ref": {
|
|
4167
|
-
"type": "string",
|
|
4168
|
-
"minLength": 1
|
|
4169
|
-
},
|
|
4170
|
-
"source": {
|
|
4171
|
-
"type": ["object", "string"],
|
|
4172
|
-
"additionalProperties": true
|
|
4173
|
-
},
|
|
4174
|
-
"summary": {
|
|
4175
|
-
"type": "string"
|
|
4176
|
-
}
|
|
4177
|
-
}
|
|
4178
|
-
},
|
|
4179
|
-
"ContextReferenceEntry": {
|
|
4180
|
-
"description": "Declarative MCP resource operation. Only deployed scoped operations may execute; schema validation does not authorize access.",
|
|
2608
|
+
"ContextModelSelectionPayload": {
|
|
4181
2609
|
"type": "object",
|
|
4182
2610
|
"additionalProperties": false,
|
|
4183
|
-
"required": ["resource_ref", "resolver", "locator"],
|
|
4184
2611
|
"properties": {
|
|
4185
|
-
"
|
|
4186
|
-
"type": "string",
|
|
4187
|
-
"minLength": 1
|
|
4188
|
-
},
|
|
4189
|
-
"resolver": {
|
|
4190
|
-
"const": "mcp"
|
|
4191
|
-
},
|
|
4192
|
-
"locator": {
|
|
4193
|
-
"type": "object"
|
|
4194
|
-
},
|
|
4195
|
-
"params": {
|
|
4196
|
-
"description": "Frozen non-secret JSON parameters supplied by the authenticated resolver plan, not model-generated commands.",
|
|
4197
|
-
"type": "object",
|
|
4198
|
-
"additionalProperties": true,
|
|
4199
|
-
"tsType": "Record<string, unknown>"
|
|
4200
|
-
},
|
|
4201
|
-
"authorization_ref": {
|
|
4202
|
-
"type": "string",
|
|
4203
|
-
"minLength": 1
|
|
4204
|
-
},
|
|
4205
|
-
"revision": {
|
|
2612
|
+
"id": {
|
|
4206
2613
|
"type": "string",
|
|
4207
2614
|
"minLength": 1
|
|
4208
2615
|
}
|
|
4209
2616
|
},
|
|
4210
|
-
"
|
|
4211
|
-
{
|
|
4212
|
-
"properties": {
|
|
4213
|
-
"locator": {
|
|
4214
|
-
"$ref": "#/definitions/ContextMcpLocator"
|
|
4215
|
-
}
|
|
4216
|
-
}
|
|
4217
|
-
}
|
|
4218
|
-
]
|
|
4219
|
-
},
|
|
4220
|
-
"ContextInlinePayload": {
|
|
4221
|
-
"type": "object",
|
|
4222
|
-
"additionalProperties": false,
|
|
4223
|
-
"required": ["entries"],
|
|
4224
|
-
"properties": {
|
|
4225
|
-
"entries": {
|
|
4226
|
-
"type": "array",
|
|
4227
|
-
"minItems": 1,
|
|
4228
|
-
"items": {
|
|
4229
|
-
"$ref": "#/definitions/ContextInlineEntry"
|
|
4230
|
-
}
|
|
4231
|
-
}
|
|
4232
|
-
}
|
|
4233
|
-
},
|
|
4234
|
-
"ContextReferencesPayload": {
|
|
4235
|
-
"type": "object",
|
|
4236
|
-
"x-octo-unique-resource-refs": true,
|
|
4237
|
-
"additionalProperties": false,
|
|
4238
|
-
"required": ["entries"],
|
|
4239
|
-
"properties": {
|
|
4240
|
-
"entries": {
|
|
4241
|
-
"type": "array",
|
|
4242
|
-
"minItems": 1,
|
|
4243
|
-
"uniqueItems": true,
|
|
4244
|
-
"items": {
|
|
4245
|
-
"$ref": "#/definitions/ContextReferenceEntry"
|
|
4246
|
-
}
|
|
4247
|
-
}
|
|
4248
|
-
}
|
|
2617
|
+
"required": ["id"]
|
|
4249
2618
|
},
|
|
4250
2619
|
"ToolAuthorization": {
|
|
4251
2620
|
"title": "ToolAuthorization",
|
|
@@ -4348,7 +2717,7 @@
|
|
|
4348
2717
|
},
|
|
4349
2718
|
"ContextEnvsPayload": {
|
|
4350
2719
|
"title": "ContextEnvsPayload",
|
|
4351
|
-
"description": "Run
|
|
2720
|
+
"description": "Run 级环境变量列表;以 key 标识变量,按 key 合并,不进入模型输入。",
|
|
4352
2721
|
"type": "object",
|
|
4353
2722
|
"additionalProperties": false,
|
|
4354
2723
|
"required": ["env_variables"],
|
|
@@ -4397,7 +2766,7 @@
|
|
|
4397
2766
|
},
|
|
4398
2767
|
"InvokeInputWire": {
|
|
4399
2768
|
"type": "object",
|
|
4400
|
-
"additionalProperties":
|
|
2769
|
+
"additionalProperties": false,
|
|
4401
2770
|
"required": ["inputs", "agentEnv"],
|
|
4402
2771
|
"properties": {
|
|
4403
2772
|
"sessionName": {
|
|
@@ -4411,7 +2780,7 @@
|
|
|
4411
2780
|
"pattern": "[\\x00-\\x1f\\x7f-\\x9f]"
|
|
4412
2781
|
},
|
|
4413
2782
|
{
|
|
4414
|
-
"pattern": "^[
|
|
2783
|
+
"pattern": "^[ -
]*$"
|
|
4415
2784
|
}
|
|
4416
2785
|
]
|
|
4417
2786
|
}
|
|
@@ -4512,7 +2881,7 @@
|
|
|
4512
2881
|
"providerSession": {
|
|
4513
2882
|
"properties": {
|
|
4514
2883
|
"sessionId": {
|
|
4515
|
-
"pattern": "[^\\t\\n\\r\\f\\v
|
|
2884
|
+
"pattern": "[^\\t\\n\\r\\f\\v -
]"
|
|
4516
2885
|
}
|
|
4517
2886
|
}
|
|
4518
2887
|
}
|
|
@@ -4543,11 +2912,6 @@
|
|
|
4543
2912
|
"required": ["approvalMode"]
|
|
4544
2913
|
}
|
|
4545
2914
|
},
|
|
4546
|
-
{
|
|
4547
|
-
"not": {
|
|
4548
|
-
"required": ["agentConfig"]
|
|
4549
|
-
}
|
|
4550
|
-
},
|
|
4551
2915
|
{
|
|
4552
2916
|
"not": {
|
|
4553
2917
|
"required": ["runtimeLimits"]
|
|
@@ -4587,17 +2951,11 @@
|
|
|
4587
2951
|
"HostedAdapterMetadataWire": {
|
|
4588
2952
|
"type": "object",
|
|
4589
2953
|
"additionalProperties": true,
|
|
4590
|
-
"required": ["type"
|
|
2954
|
+
"required": ["type"],
|
|
4591
2955
|
"properties": {
|
|
4592
2956
|
"type": {
|
|
4593
2957
|
"type": "string"
|
|
4594
2958
|
},
|
|
4595
|
-
"agentSources": {
|
|
4596
|
-
"type": "array",
|
|
4597
|
-
"items": {
|
|
4598
|
-
"$ref": "#/definitions/AgentSource"
|
|
4599
|
-
}
|
|
4600
|
-
},
|
|
4601
2959
|
"workspace": {
|
|
4602
2960
|
"type": "boolean"
|
|
4603
2961
|
},
|
|
@@ -4625,7 +2983,14 @@
|
|
|
4625
2983
|
}
|
|
4626
2984
|
},
|
|
4627
2985
|
"AgentEnv": {
|
|
2986
|
+
"title": "AgentEnv",
|
|
2987
|
+
"description": "Execution envelope forwarded unchanged to the Adapter. Only shared bean types belong to the public protocol; Harness-specific payloads are private agreements between the caller and its Adapter.",
|
|
4628
2988
|
"type": "object",
|
|
2989
|
+
"additionalProperties": false,
|
|
2990
|
+
"x-octo-unique-type-keys": true,
|
|
2991
|
+
"x-octo-max-json-bytes": 65536,
|
|
2992
|
+
"x-octo-max-json-depth": 32,
|
|
2993
|
+
"x-octo-unicode-scalar-strings": true,
|
|
4629
2994
|
"required": ["schema", "items"],
|
|
4630
2995
|
"properties": {
|
|
4631
2996
|
"schema": {
|
|
@@ -4635,79 +3000,10 @@
|
|
|
4635
3000
|
"type": "array",
|
|
4636
3001
|
"maxItems": 32,
|
|
4637
3002
|
"items": {
|
|
4638
|
-
"
|
|
4639
|
-
{
|
|
4640
|
-
"$ref": "#/definitions/ContextItem"
|
|
4641
|
-
},
|
|
4642
|
-
{
|
|
4643
|
-
"anyOf": [
|
|
4644
|
-
{
|
|
4645
|
-
"properties": {
|
|
4646
|
-
"namespace": {
|
|
4647
|
-
"const": "octo.execution"
|
|
4648
|
-
}
|
|
4649
|
-
}
|
|
4650
|
-
},
|
|
4651
|
-
{
|
|
4652
|
-
"properties": {
|
|
4653
|
-
"namespace": {
|
|
4654
|
-
"const": "octo.security"
|
|
4655
|
-
},
|
|
4656
|
-
"name": {
|
|
4657
|
-
"const": "approval_policy"
|
|
4658
|
-
}
|
|
4659
|
-
}
|
|
4660
|
-
},
|
|
4661
|
-
{
|
|
4662
|
-
"properties": {
|
|
4663
|
-
"namespace": {
|
|
4664
|
-
"const": "octo.control"
|
|
4665
|
-
},
|
|
4666
|
-
"name": {
|
|
4667
|
-
"const": "instructions"
|
|
4668
|
-
}
|
|
4669
|
-
}
|
|
4670
|
-
}
|
|
4671
|
-
]
|
|
4672
|
-
}
|
|
4673
|
-
]
|
|
4674
|
-
}
|
|
4675
|
-
},
|
|
4676
|
-
"agentSource": {
|
|
4677
|
-
"$ref": "#/definitions/AgentSource"
|
|
4678
|
-
},
|
|
4679
|
-
"workdir": {
|
|
4680
|
-
"type": "string"
|
|
4681
|
-
},
|
|
4682
|
-
"controlInstructions": {
|
|
4683
|
-
"type": "string"
|
|
4684
|
-
},
|
|
4685
|
-
"approvalMode": {
|
|
4686
|
-
"$ref": "#/definitions/ApprovalMode"
|
|
4687
|
-
},
|
|
4688
|
-
"agentConfig": {
|
|
4689
|
-
"$ref": "#/definitions/AgentConfig"
|
|
4690
|
-
},
|
|
4691
|
-
"runtimeLimits": {
|
|
4692
|
-
"$ref": "#/definitions/RuntimeLimits"
|
|
4693
|
-
}
|
|
4694
|
-
},
|
|
4695
|
-
"additionalProperties": false,
|
|
4696
|
-
"allOf": [
|
|
4697
|
-
{
|
|
4698
|
-
"properties": {
|
|
4699
|
-
"agentConfig": {
|
|
4700
|
-
"properties": {
|
|
4701
|
-
"timeoutSeconds": {
|
|
4702
|
-
"not": {
|
|
4703
|
-
"maximum": 0
|
|
4704
|
-
}
|
|
4705
|
-
}
|
|
4706
|
-
}
|
|
4707
|
-
}
|
|
3003
|
+
"$ref": "#/definitions/ContextItem"
|
|
4708
3004
|
}
|
|
4709
3005
|
}
|
|
4710
|
-
|
|
3006
|
+
}
|
|
4711
3007
|
}
|
|
4712
3008
|
}
|
|
4713
3009
|
}
|