@mininglamp-oss/octo-runtime 1.1.3 → 1.1.5
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 +62 -38
- package/apps/cli/README.md +58 -22
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/cli-entrypoint.d.ts +2 -0
- package/apps/cli/dist/cli-entrypoint.js +16 -0
- package/apps/cli/dist/command-tree.d.ts +20 -0
- package/apps/cli/dist/command-tree.js +402 -0
- package/apps/cli/dist/extra-command-config.d.ts +4 -0
- package/apps/cli/dist/extra-command-config.js +50 -0
- package/apps/cli/dist/extra-commands.d.ts +15 -0
- package/apps/cli/dist/extra-commands.js +275 -0
- package/apps/cli/dist/extras.js +14 -2
- package/apps/cli/dist/global-extras.d.ts +16 -0
- package/apps/cli/dist/global-extras.js +201 -0
- package/apps/cli/dist/help.d.ts +4 -1
- package/apps/cli/dist/help.js +31 -75
- package/apps/cli/dist/main.d.ts +2 -0
- package/apps/cli/dist/main.js +53 -63
- package/apps/cli/dist/manifest.json +53 -3
- package/apps/cli/dist/module-manifest.d.ts +1 -1
- package/apps/cli/dist/module-manifest.js +3 -2
- package/apps/cli/dist/openclaw.js +32 -8
- package/apps/cli/dist/output.js +16 -2
- package/apps/cli/dist/playboard.d.ts +5 -0
- package/apps/cli/dist/playboard.js +41 -13
- package/apps/cli/dist/service-control.js +2 -2
- package/apps/cli/dist/state.js +48 -19
- package/dist/public/channel-gateway-commands.d.ts +1 -0
- package/dist/public/channel-gateway-commands.js +1 -0
- package/dist/public/channel-wecom-commands.d.ts +1 -0
- package/dist/public/channel-wecom-commands.js +1 -0
- package/dist/public/dsh.d.ts +2 -0
- package/dist/public/dsh.js +1 -0
- package/dist/public/executor-kernel.d.ts +1 -1
- package/dist/public/executor-kernel.js +1 -1
- package/dist/public/extra.d.ts +1 -0
- package/dist/public/extra.js +1 -0
- package/dist/public/host.d.ts +2 -4
- package/dist/public/host.js +1 -2
- package/dist/public/webui-commands.d.ts +1 -0
- package/dist/public/webui-commands.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.js +2 -2
- 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 +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +26 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/chunk-DYOJCNWF.js +854 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/chunk-G5PWGRL5.js +209 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/chunk-UOQRXV3Q.js +340 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/desktop-entry.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/desktop-entry.js +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-client-LICENSE.txt +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-protocol-LICENSE.txt +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.d.ts +35 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +52 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +306 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/client.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- 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 +10 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +214 -55
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.js +24 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/hourly-log.js +11 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +12 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +30 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/mcp.js +4 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +16 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +15 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +29 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.js +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/cli-entrypoint.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/cli-entrypoint.js +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +402 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +50 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +275 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +14 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +201 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +31 -75
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +53 -63
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +53 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +32 -8
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +16 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +41 -13
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.js +48 -19
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +25 -23
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.js +16 -6
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/systemd.js +9 -7
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.d.ts +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.js +36 -11
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +7 -2
- 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 +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.d.ts +16 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.js +152 -21
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.js +9 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.d.ts +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.js +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +56 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +170 -28
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +3 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +124 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +19 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +23 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +43 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +283 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +15 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +48 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +5 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +26 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +104 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +4 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.js +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +4 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +44 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +44 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +18 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +10 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +141 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +3 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.js +128 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +9 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.js +51 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CXTvRGim.js +74 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +7 -3
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.d.ts +70 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.js +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +33 -9
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.js +9 -4
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +1 -3
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +1 -2
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +8 -4
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +39 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +76 -7
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1172 -0
- package/node_modules/commander/index.js +21 -0
- package/node_modules/commander/lib/argument.js +147 -0
- package/node_modules/commander/lib/command.js +2790 -0
- package/node_modules/commander/lib/error.js +36 -0
- package/node_modules/commander/lib/help.js +731 -0
- package/node_modules/commander/lib/option.js +377 -0
- package/node_modules/commander/lib/suggestSimilar.js +99 -0
- package/node_modules/commander/package-support.json +19 -0
- package/node_modules/commander/package.json +64 -0
- package/node_modules/commander/typings/index.d.ts +1113 -0
- package/package.json +49 -29
- package/packages/octo-runtime-extra-channel-gateway/config-schema.json +56 -0
- package/packages/octo-runtime-protocol/schema/kernel-ipc.schema.json +443 -56
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +357 -37
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-DiPc-ipL.js +0 -74
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/launch.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/launch.js +0 -22
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/native.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/native.js +0 -160
|
@@ -19,11 +19,29 @@
|
|
|
19
19
|
"protocol_mode"
|
|
20
20
|
],
|
|
21
21
|
"properties": {
|
|
22
|
-
"run_id": {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
"run_id": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 1,
|
|
25
|
+
"maxLength": 256
|
|
26
|
+
},
|
|
27
|
+
"invocation_id": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1,
|
|
30
|
+
"maxLength": 256
|
|
31
|
+
},
|
|
32
|
+
"agent_session_id": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"minLength": 1,
|
|
35
|
+
"maxLength": 256
|
|
36
|
+
},
|
|
37
|
+
"session_generation": {
|
|
38
|
+
"type": "integer",
|
|
39
|
+
"minimum": 0,
|
|
40
|
+
"maximum": 9007199254740991
|
|
41
|
+
},
|
|
42
|
+
"protocol_mode": {
|
|
43
|
+
"$ref": "#/definitions/ProtocolMode"
|
|
44
|
+
}
|
|
27
45
|
}
|
|
28
46
|
},
|
|
29
47
|
"KernelRunRef": {
|
|
@@ -41,14 +59,43 @@
|
|
|
41
59
|
"protocol"
|
|
42
60
|
],
|
|
43
61
|
"properties": {
|
|
44
|
-
"kernel_instance_id": {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
62
|
+
"kernel_instance_id": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"minLength": 1
|
|
65
|
+
},
|
|
66
|
+
"run_id": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"minLength": 1,
|
|
69
|
+
"maxLength": 256
|
|
70
|
+
},
|
|
71
|
+
"invocation_id": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"minLength": 1,
|
|
74
|
+
"maxLength": 256
|
|
75
|
+
},
|
|
76
|
+
"stream_id": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"minLength": 1,
|
|
79
|
+
"maxLength": 256
|
|
80
|
+
},
|
|
81
|
+
"agent_session_id": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"minLength": 1,
|
|
84
|
+
"maxLength": 256
|
|
85
|
+
},
|
|
86
|
+
"session_generation": {
|
|
87
|
+
"type": "integer",
|
|
88
|
+
"minimum": 0,
|
|
89
|
+
"maximum": 9007199254740991
|
|
90
|
+
},
|
|
91
|
+
"protocol_mode": {
|
|
92
|
+
"$ref": "#/definitions/ProtocolMode"
|
|
93
|
+
},
|
|
94
|
+
"protocol": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"minLength": 1,
|
|
97
|
+
"maxLength": 128
|
|
98
|
+
}
|
|
52
99
|
}
|
|
53
100
|
},
|
|
54
101
|
"KernelRunSnapshot": {
|
|
@@ -57,10 +104,22 @@
|
|
|
57
104
|
"additionalProperties": false,
|
|
58
105
|
"required": ["ref", "oldest_seq", "latest_seq"],
|
|
59
106
|
"properties": {
|
|
60
|
-
"ref": {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
107
|
+
"ref": {
|
|
108
|
+
"$ref": "#/definitions/KernelRunRef"
|
|
109
|
+
},
|
|
110
|
+
"oldest_seq": {
|
|
111
|
+
"type": "integer",
|
|
112
|
+
"minimum": 1,
|
|
113
|
+
"maximum": 9007199254740991
|
|
114
|
+
},
|
|
115
|
+
"latest_seq": {
|
|
116
|
+
"type": "integer",
|
|
117
|
+
"minimum": 0,
|
|
118
|
+
"maximum": 9007199254740991
|
|
119
|
+
},
|
|
120
|
+
"terminal": {
|
|
121
|
+
"$ref": "#/definitions/HostFrame"
|
|
122
|
+
}
|
|
64
123
|
}
|
|
65
124
|
},
|
|
66
125
|
"KernelStatus": {
|
|
@@ -69,19 +128,40 @@
|
|
|
69
128
|
"additionalProperties": false,
|
|
70
129
|
"required": ["ipc_version", "kernel_instance_id", "pid", "worker", "execution_ready"],
|
|
71
130
|
"properties": {
|
|
72
|
-
"ipc_version": {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
131
|
+
"ipc_version": {
|
|
132
|
+
"const": 1
|
|
133
|
+
},
|
|
134
|
+
"kernel_instance_id": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"minLength": 1
|
|
137
|
+
},
|
|
138
|
+
"pid": {
|
|
139
|
+
"type": "integer",
|
|
140
|
+
"minimum": 1
|
|
141
|
+
},
|
|
142
|
+
"execution_ready": {
|
|
143
|
+
"type": "boolean"
|
|
144
|
+
},
|
|
76
145
|
"worker": {
|
|
77
146
|
"type": "object",
|
|
78
147
|
"additionalProperties": false,
|
|
79
148
|
"required": ["generation", "state", "restart_attempt"],
|
|
80
149
|
"properties": {
|
|
81
|
-
"pid": {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
150
|
+
"pid": {
|
|
151
|
+
"type": "integer",
|
|
152
|
+
"minimum": 1
|
|
153
|
+
},
|
|
154
|
+
"generation": {
|
|
155
|
+
"type": "integer",
|
|
156
|
+
"minimum": 0
|
|
157
|
+
},
|
|
158
|
+
"restart_attempt": {
|
|
159
|
+
"type": "integer",
|
|
160
|
+
"minimum": 0
|
|
161
|
+
},
|
|
162
|
+
"state": {
|
|
163
|
+
"enum": ["starting", "ready", "recovering", "stopped", "exhausted"]
|
|
164
|
+
}
|
|
85
165
|
}
|
|
86
166
|
}
|
|
87
167
|
}
|
|
@@ -305,9 +385,15 @@
|
|
|
305
385
|
"additionalProperties": false,
|
|
306
386
|
"required": ["type", "name", "payload"],
|
|
307
387
|
"properties": {
|
|
308
|
-
"type": {
|
|
309
|
-
|
|
310
|
-
|
|
388
|
+
"type": {
|
|
389
|
+
"const": "evidence"
|
|
390
|
+
},
|
|
391
|
+
"name": {
|
|
392
|
+
"const": "execution"
|
|
393
|
+
},
|
|
394
|
+
"payload": {
|
|
395
|
+
"$ref": "#/definitions/ExecutionEvidence"
|
|
396
|
+
}
|
|
311
397
|
}
|
|
312
398
|
},
|
|
313
399
|
{
|
|
@@ -904,12 +990,20 @@
|
|
|
904
990
|
{
|
|
905
991
|
"if": {
|
|
906
992
|
"properties": {
|
|
907
|
-
"namespace": {
|
|
908
|
-
|
|
993
|
+
"namespace": {
|
|
994
|
+
"const": "octo.execution"
|
|
995
|
+
},
|
|
996
|
+
"name": {
|
|
997
|
+
"const": "adapter"
|
|
998
|
+
}
|
|
909
999
|
}
|
|
910
1000
|
},
|
|
911
1001
|
"then": {
|
|
912
|
-
"properties": {
|
|
1002
|
+
"properties": {
|
|
1003
|
+
"payload": {
|
|
1004
|
+
"$ref": "#/definitions/ContextAdapterPayload"
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
913
1007
|
}
|
|
914
1008
|
},
|
|
915
1009
|
{
|
|
@@ -1548,7 +1642,9 @@
|
|
|
1548
1642
|
"additionalProperties": false,
|
|
1549
1643
|
"required": ["mode"],
|
|
1550
1644
|
"properties": {
|
|
1551
|
-
"mode": {
|
|
1645
|
+
"mode": {
|
|
1646
|
+
"enum": ["default", "plan"]
|
|
1647
|
+
}
|
|
1552
1648
|
}
|
|
1553
1649
|
},
|
|
1554
1650
|
"ExecutionEvidence": {
|
|
@@ -1561,10 +1657,19 @@
|
|
|
1561
1657
|
"additionalProperties": false,
|
|
1562
1658
|
"required": ["requested", "effective", "status"],
|
|
1563
1659
|
"properties": {
|
|
1564
|
-
"requested": {
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
"
|
|
1660
|
+
"requested": {
|
|
1661
|
+
"enum": ["default", "plan"]
|
|
1662
|
+
},
|
|
1663
|
+
"effective": {
|
|
1664
|
+
"enum": ["default", "plan", null]
|
|
1665
|
+
},
|
|
1666
|
+
"status": {
|
|
1667
|
+
"enum": ["applied", "fallback", "unknown"]
|
|
1668
|
+
},
|
|
1669
|
+
"nativeMode": {
|
|
1670
|
+
"type": "string",
|
|
1671
|
+
"minLength": 1
|
|
1672
|
+
},
|
|
1568
1673
|
"reason": {
|
|
1569
1674
|
"enum": ["provider_unsupported", "adapter_unmapped", "provider_unconfirmed"]
|
|
1570
1675
|
}
|
|
@@ -2027,7 +2132,9 @@
|
|
|
2027
2132
|
"additionalProperties": false,
|
|
2028
2133
|
"required": ["agent_source", "adapter_type", "workdir", "approval_mode"],
|
|
2029
2134
|
"properties": {
|
|
2030
|
-
"actmode": {
|
|
2135
|
+
"actmode": {
|
|
2136
|
+
"enum": ["default", "plan"]
|
|
2137
|
+
},
|
|
2031
2138
|
"adapter_type": {
|
|
2032
2139
|
"type": "string",
|
|
2033
2140
|
"minLength": 1
|
|
@@ -3986,6 +4093,219 @@
|
|
|
3986
4093
|
"$ref": "#/definitions/McpServers"
|
|
3987
4094
|
}
|
|
3988
4095
|
}
|
|
4096
|
+
},
|
|
4097
|
+
"ModelInputParts": {
|
|
4098
|
+
"type": "array",
|
|
4099
|
+
"minItems": 1,
|
|
4100
|
+
"maxItems": 128,
|
|
4101
|
+
"items": {
|
|
4102
|
+
"$ref": "#/definitions/ModelInputPart"
|
|
4103
|
+
}
|
|
4104
|
+
},
|
|
4105
|
+
"InvokeInputWire": {
|
|
4106
|
+
"type": "object",
|
|
4107
|
+
"additionalProperties": true,
|
|
4108
|
+
"required": ["inputs", "contexts"],
|
|
4109
|
+
"properties": {
|
|
4110
|
+
"sessionId": {
|
|
4111
|
+
"type": "string",
|
|
4112
|
+
"minLength": 1
|
|
4113
|
+
},
|
|
4114
|
+
"invocationId": {
|
|
4115
|
+
"type": "string",
|
|
4116
|
+
"minLength": 1
|
|
4117
|
+
},
|
|
4118
|
+
"runId": {
|
|
4119
|
+
"type": "string",
|
|
4120
|
+
"minLength": 1
|
|
4121
|
+
},
|
|
4122
|
+
"prompt": {
|
|
4123
|
+
"type": "string",
|
|
4124
|
+
"minLength": 1
|
|
4125
|
+
},
|
|
4126
|
+
"modelInput": {
|
|
4127
|
+
"type": "string",
|
|
4128
|
+
"minLength": 1
|
|
4129
|
+
},
|
|
4130
|
+
"freshFallbackModelInput": {
|
|
4131
|
+
"type": "string",
|
|
4132
|
+
"minLength": 1
|
|
4133
|
+
},
|
|
4134
|
+
"workdir": {
|
|
4135
|
+
"type": "string"
|
|
4136
|
+
},
|
|
4137
|
+
"controlInstructions": {
|
|
4138
|
+
"type": "string"
|
|
4139
|
+
},
|
|
4140
|
+
"inputs": {
|
|
4141
|
+
"$ref": "#/definitions/ModelInputParts"
|
|
4142
|
+
},
|
|
4143
|
+
"contexts": {
|
|
4144
|
+
"$ref": "#/definitions/ContextEnvelope"
|
|
4145
|
+
},
|
|
4146
|
+
"protocol_mode": {
|
|
4147
|
+
"$ref": "#/definitions/ProtocolMode"
|
|
4148
|
+
},
|
|
4149
|
+
"agentSource": {
|
|
4150
|
+
"$ref": "#/definitions/AgentSource"
|
|
4151
|
+
},
|
|
4152
|
+
"approvalMode": {
|
|
4153
|
+
"$ref": "#/definitions/ApprovalMode"
|
|
4154
|
+
},
|
|
4155
|
+
"agentConfig": {
|
|
4156
|
+
"$ref": "#/definitions/AgentConfig"
|
|
4157
|
+
},
|
|
4158
|
+
"runtimeLimits": {
|
|
4159
|
+
"$ref": "#/definitions/RuntimeLimits"
|
|
4160
|
+
},
|
|
4161
|
+
"providerSession": {
|
|
4162
|
+
"$ref": "#/definitions/ProviderSession"
|
|
4163
|
+
},
|
|
4164
|
+
"sessionGeneration": {
|
|
4165
|
+
"type": "integer",
|
|
4166
|
+
"minimum": 0,
|
|
4167
|
+
"maximum": 9007199254740991
|
|
4168
|
+
},
|
|
4169
|
+
"providerEpoch": {
|
|
4170
|
+
"type": "integer",
|
|
4171
|
+
"minimum": 0,
|
|
4172
|
+
"maximum": 9007199254740991
|
|
4173
|
+
},
|
|
4174
|
+
"runMetadata": {
|
|
4175
|
+
"type": "object",
|
|
4176
|
+
"additionalProperties": true
|
|
4177
|
+
},
|
|
4178
|
+
"continuityMode": {
|
|
4179
|
+
"enum": ["fresh", "continue"]
|
|
4180
|
+
},
|
|
4181
|
+
"freshFallbackModelInputParts": {
|
|
4182
|
+
"$ref": "#/definitions/ModelInputParts"
|
|
4183
|
+
},
|
|
4184
|
+
"freshFallbackImagesUnavailable": {
|
|
4185
|
+
"type": "boolean"
|
|
4186
|
+
}
|
|
4187
|
+
},
|
|
4188
|
+
"allOf": [
|
|
4189
|
+
{
|
|
4190
|
+
"not": {
|
|
4191
|
+
"required": ["protocolMode"]
|
|
4192
|
+
}
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
"not": {
|
|
4196
|
+
"required": ["adapterType"]
|
|
4197
|
+
}
|
|
4198
|
+
},
|
|
4199
|
+
{
|
|
4200
|
+
"not": {
|
|
4201
|
+
"required": ["request"]
|
|
4202
|
+
}
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
"not": {
|
|
4206
|
+
"required": ["options"]
|
|
4207
|
+
}
|
|
4208
|
+
},
|
|
4209
|
+
{
|
|
4210
|
+
"not": {
|
|
4211
|
+
"required": ["signal"]
|
|
4212
|
+
}
|
|
4213
|
+
},
|
|
4214
|
+
{
|
|
4215
|
+
"not": {
|
|
4216
|
+
"required": ["executionEnvOverrides"]
|
|
4217
|
+
}
|
|
4218
|
+
},
|
|
4219
|
+
{
|
|
4220
|
+
"properties": {
|
|
4221
|
+
"agentConfig": {
|
|
4222
|
+
"properties": {
|
|
4223
|
+
"timeoutSeconds": {
|
|
4224
|
+
"not": {
|
|
4225
|
+
"maximum": 0
|
|
4226
|
+
}
|
|
4227
|
+
}
|
|
4228
|
+
}
|
|
4229
|
+
},
|
|
4230
|
+
"providerSession": {
|
|
4231
|
+
"properties": {
|
|
4232
|
+
"sessionId": {
|
|
4233
|
+
"pattern": "[^\\t\\n\\r\\f\\v -
]"
|
|
4234
|
+
}
|
|
4235
|
+
}
|
|
4236
|
+
}
|
|
4237
|
+
}
|
|
4238
|
+
}
|
|
4239
|
+
],
|
|
4240
|
+
"x-octo-unicode-scalar-strings": true,
|
|
4241
|
+
"x-octo-max-json-depth": 32,
|
|
4242
|
+
"x-octo-max-json-bytes": 33554432
|
|
4243
|
+
},
|
|
4244
|
+
"KernelInvokeEnvironmentWire": {
|
|
4245
|
+
"type": "object",
|
|
4246
|
+
"additionalProperties": false,
|
|
4247
|
+
"required": [],
|
|
4248
|
+
"properties": {
|
|
4249
|
+
"executionEnvOverrides": {
|
|
4250
|
+
"$ref": "#/definitions/ContextEnvsPayload"
|
|
4251
|
+
}
|
|
4252
|
+
}
|
|
4253
|
+
},
|
|
4254
|
+
"InteractionResponseWire": {
|
|
4255
|
+
"type": "object",
|
|
4256
|
+
"additionalProperties": true,
|
|
4257
|
+
"required": ["interactionId", "outcome"],
|
|
4258
|
+
"properties": {
|
|
4259
|
+
"interactionId": {
|
|
4260
|
+
"type": "string",
|
|
4261
|
+
"minLength": 1,
|
|
4262
|
+
"maxLength": 191
|
|
4263
|
+
},
|
|
4264
|
+
"outcome": {
|
|
4265
|
+
"enum": ["accepted", "declined", "answered", "cancelled"]
|
|
4266
|
+
},
|
|
4267
|
+
"value": {}
|
|
4268
|
+
}
|
|
4269
|
+
},
|
|
4270
|
+
"HostedAdapterMetadataWire": {
|
|
4271
|
+
"type": "object",
|
|
4272
|
+
"additionalProperties": true,
|
|
4273
|
+
"required": ["type", "agentSources"],
|
|
4274
|
+
"properties": {
|
|
4275
|
+
"type": {
|
|
4276
|
+
"type": "string"
|
|
4277
|
+
},
|
|
4278
|
+
"agentSources": {
|
|
4279
|
+
"type": "array",
|
|
4280
|
+
"items": {
|
|
4281
|
+
"$ref": "#/definitions/AgentSource"
|
|
4282
|
+
}
|
|
4283
|
+
},
|
|
4284
|
+
"workspace": {
|
|
4285
|
+
"type": "boolean"
|
|
4286
|
+
},
|
|
4287
|
+
"protocolSupport": {
|
|
4288
|
+
"$ref": "#/definitions/AdapterProtocolSupport"
|
|
4289
|
+
},
|
|
4290
|
+
"processModel": {
|
|
4291
|
+
"type": "string"
|
|
4292
|
+
},
|
|
4293
|
+
"transport": {
|
|
4294
|
+
"type": "string"
|
|
4295
|
+
},
|
|
4296
|
+
"providerVersion": {
|
|
4297
|
+
"type": ["string", "null"]
|
|
4298
|
+
},
|
|
4299
|
+
"providerPath": {
|
|
4300
|
+
"type": ["string", "null"]
|
|
4301
|
+
},
|
|
4302
|
+
"available": {
|
|
4303
|
+
"type": "boolean"
|
|
4304
|
+
},
|
|
4305
|
+
"unavailableReason": {
|
|
4306
|
+
"type": ["string", "null"]
|
|
4307
|
+
}
|
|
4308
|
+
}
|
|
3989
4309
|
}
|
|
3990
4310
|
}
|
|
3991
4311
|
}
|