@mininglamp-oss/octo-runtime 1.0.1 → 1.1.1
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 +122 -18
- package/apps/cli/README.md +44 -214
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/extras.d.ts +4 -2
- package/apps/cli/dist/extras.js +24 -20
- package/apps/cli/dist/foreground.d.ts +4 -0
- package/apps/cli/dist/foreground.js +57 -0
- package/apps/cli/dist/help.d.ts +1 -14
- package/apps/cli/dist/help.js +73 -151
- package/apps/cli/dist/index.js +12 -1
- package/apps/cli/dist/logs.d.ts +10 -0
- package/apps/cli/dist/logs.js +186 -0
- package/apps/cli/dist/main.d.ts +6 -13
- package/apps/cli/dist/main.js +430 -447
- package/{node_modules/@mininglamp-oss/octo-runtime-cli/dist/default_adapters.json → apps/cli/dist/manifest.json} +5 -0
- package/apps/cli/dist/module-manifest.d.ts +3 -0
- package/apps/cli/dist/module-manifest.js +11 -0
- package/apps/{daemon → cli}/dist/openclaw.d.ts +1 -1
- package/apps/{daemon → cli}/dist/openclaw.js +30 -6
- package/apps/cli/dist/output.d.ts +20 -0
- package/apps/cli/dist/output.js +190 -0
- package/apps/cli/dist/playboard.js +33 -18
- package/apps/cli/dist/service-control.d.ts +2 -5
- package/apps/cli/dist/service-control.js +28 -33
- package/apps/cli/dist/state.js +4 -4
- package/apps/cli/dist/status-output.d.ts +10 -0
- package/apps/cli/dist/status-output.js +65 -0
- package/apps/cli/dist/worker.js +18 -0
- package/dist/public/channel-gateway.d.ts +3 -0
- package/dist/public/channel-gateway.js +1 -0
- package/dist/public/channel-wecom.d.ts +2 -0
- package/dist/public/channel-wecom.js +1 -0
- package/dist/public/executor-core.d.ts +2 -0
- package/dist/public/executor-core.js +1 -0
- package/dist/public/executor-kernel.d.ts +4 -0
- package/dist/public/executor-kernel.js +2 -0
- package/dist/public/extra.d.ts +3 -3
- package/dist/public/extra.js +1 -1
- package/dist/public/host.d.ts +7 -0
- package/dist/public/host.js +3 -0
- package/dist/public/webui.d.ts +1 -0
- package/dist/public/webui.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- 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/package.json +3 -3
- 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/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/index.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +33 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +118 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/native.js +23 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-cleanup.d.ts +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-cleanup.js +19 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +7 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +45 -10
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +70 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +5 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/app-server.js +18 -0
- 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/extras.d.ts +4 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +24 -20
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.js +57 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +1 -14
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +73 -151
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/index.js +12 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.js +186 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.d.ts +6 -13
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +430 -447
- package/{apps/cli/dist/default_adapters.json → node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json} +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +11 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon-app → octo-runtime-cli}/dist/openclaw.d.ts +1 -1
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon-app → octo-runtime-cli}/dist/openclaw.js +30 -6
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.d.ts +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +190 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +33 -18
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.d.ts +2 -5
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +28 -33
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.js +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +65 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/worker.js +18 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +23 -8
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.js +8 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/launchd.js +19 -6
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/systemd.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/systemd.js +47 -8
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.d.ts +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.js +63 -12
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +2 -2
- package/node_modules/@mininglamp-oss/{octo-runtime-core → octo-runtime-executor-core}/dist/context.d.ts +5 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-core → octo-runtime-executor-core}/dist/context.js +5 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/index.d.ts +28 -16
- package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/index.js +217 -102
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +11 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-core → octo-runtime-executor-core}/dist/invoke-input.js +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +8 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/model-input.js +9 -6
- package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/watchdog.d.ts +4 -1
- package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/watchdog.js +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.d.ts +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.js +442 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/endpoint.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/endpoint.js +108 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/heartbeat.d.ts +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/heartbeat.js +59 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/host-run-service.d.ts +15 -9
- package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/host-run-service.js +8 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.d.ts +53 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.js +279 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-executor-kernel}/dist/invocation-manifest.d.ts +11 -2
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-executor-kernel}/dist/invocation-manifest.js +25 -14
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.d.ts +23 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.js +23 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/manifest-adapters.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/manifest-adapters.js +88 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.js +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/process.d.ts +35 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/process.js +218 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/rpc.d.ts +13 -11
- package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/rpc.js +19 -8
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runner.js +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.js +89 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +22 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +436 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.js +105 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.d.ts +13 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.js +191 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.d.ts +72 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +29 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +123 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +192 -67
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +25 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +39 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +25 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +28 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +5 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +6 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +40 -8
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +77 -17
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +14 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +22 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +31 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +7 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +27 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +12 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +6 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +11 -8
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +1 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +4 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +5 -9
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +6 -8
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +54 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +2 -2
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/context-loader.d.ts +1 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/context-loader.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.js +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.js +12 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/extra-config.d.ts +8 -1
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/extra-config.js +27 -12
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.js +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +22 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +309 -0
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/extras.d.ts +5 -14
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/extras.js +24 -13
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime → octo-runtime-host-sdk/dist}/home.d.ts +9 -18
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime → octo-runtime-host-sdk/dist}/home.js +22 -73
- package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime → octo-runtime-host-sdk/dist}/identity.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/launch.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/launch.js +22 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/native.d.ts +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/native.js +160 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +39 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/types.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/types.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +30 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +124 -73
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +6 -9
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/node_modules/import-meta-resolve/index.d.ts +19 -0
- package/node_modules/import-meta-resolve/index.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/index.js +47 -0
- package/node_modules/import-meta-resolve/lib/errors.d.ts +24 -0
- package/node_modules/import-meta-resolve/lib/errors.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/errors.js +504 -0
- package/node_modules/import-meta-resolve/lib/get-format.d.ts +13 -0
- package/node_modules/import-meta-resolve/lib/get-format.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/get-format.js +159 -0
- package/node_modules/import-meta-resolve/lib/package-json-reader.d.ts +31 -0
- package/node_modules/import-meta-resolve/lib/package-json-reader.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/package-json-reader.js +177 -0
- package/node_modules/import-meta-resolve/lib/resolve.d.ts +29 -0
- package/node_modules/import-meta-resolve/lib/resolve.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/resolve.js +1301 -0
- package/node_modules/import-meta-resolve/lib/utils.d.ts +6 -0
- package/node_modules/import-meta-resolve/lib/utils.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/utils.js +47 -0
- package/node_modules/import-meta-resolve/license +74 -0
- package/node_modules/import-meta-resolve/package.json +78 -0
- package/node_modules/import-meta-resolve/readme.md +252 -0
- package/package.json +60 -45
- package/packages/octo-runtime-extra-channel-gateway/config-schema.json +2 -2
- package/packages/octo-runtime-extra-channel-wecom/config-schema.json +2 -2
- package/packages/octo-runtime-extra-webui/config-schema.json +2 -2
- package/packages/octo-runtime-protocol/schema/kernel-ipc-fixtures.json +53 -0
- package/packages/octo-runtime-protocol/schema/kernel-ipc.schema.json +151 -0
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +3991 -0
- package/apps/cli/dist/daemon-output.d.ts +0 -1
- package/apps/cli/dist/daemon-output.js +0 -49
- package/apps/cli/dist/temporary-daemon.d.ts +0 -11
- package/apps/cli/dist/temporary-daemon.js +0 -109
- package/apps/daemon/dist/index.d.ts +0 -2
- package/apps/daemon/dist/index.js +0 -134
- package/apps/daemon/dist/launcher.d.ts +0 -2
- package/apps/daemon/dist/launcher.js +0 -52
- package/apps/daemon/dist/runtime-options.d.ts +0 -9
- package/apps/daemon/dist/runtime-options.js +0 -58
- package/apps/daemon/dist/server.d.ts +0 -1
- package/apps/daemon/dist/server.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/model-input.d.ts +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/process.d.ts +0 -31
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/process.js +0 -86
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/runner.js +0 -98
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/serve.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/serve.js +0 -48
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/socket-server.d.ts +0 -21
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/socket-server.js +0 -260
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/package.json +0 -37
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/daemon-output.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/daemon-output.js +0 -49
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/temporary-daemon.d.ts +0 -11
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/temporary-daemon.js +0 -109
- package/node_modules/@mininglamp-oss/octo-runtime-core/dist/index.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-core/dist/index.js +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-core/dist/invoke-input.d.ts +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-core/package.json +0 -14
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/index.d.ts +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/index.js +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/modules.d.ts +0 -55
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/modules.js +0 -138
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/adapter-host.js +0 -33
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/daemon-runtime.d.ts +0 -37
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/daemon-runtime.js +0 -623
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/errors.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/errors.js +0 -17
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/index.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/index.js +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/local-extras.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/local-extras.js +0 -133
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/run-stream.d.ts +0 -14
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/run-stream.js +0 -223
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runner.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runner.js +0 -103
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runtime-contract.d.ts +0 -36
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runtime-contract.js +0 -57
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/supervisor.d.ts +0 -23
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/supervisor.js +0 -245
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/types.d.ts +0 -116
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/version.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/version.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime-endpoint.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime-endpoint.js +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/server.d.ts +0 -67
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/server.js +0 -814
- package/node_modules/@mininglamp-oss/octo-runtime-daemon/package.json +0 -52
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/index.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/index.js +0 -134
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/launcher.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/launcher.js +0 -52
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/runtime-options.d.ts +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/runtime-options.js +0 -58
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/server.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/server.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/package.json +0 -33
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/daemon-module.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/daemon-module.js +0 -64
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/daemon-module.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/daemon-module.js +0 -64
- package/node_modules/ajv/.runkit_example.js +0 -23
- package/node_modules/ajv/LICENSE +0 -22
- package/node_modules/ajv/README.md +0 -207
- package/node_modules/ajv/dist/2019.d.ts +0 -19
- package/node_modules/ajv/dist/2019.js +0 -61
- package/node_modules/ajv/dist/2019.js.map +0 -1
- package/node_modules/ajv/dist/2020.d.ts +0 -19
- package/node_modules/ajv/dist/2020.js +0 -55
- package/node_modules/ajv/dist/2020.js.map +0 -1
- package/node_modules/ajv/dist/ajv.d.ts +0 -18
- package/node_modules/ajv/dist/ajv.js +0 -50
- package/node_modules/ajv/dist/ajv.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
- package/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- package/node_modules/ajv/dist/compile/errors.d.ts +0 -13
- package/node_modules/ajv/dist/compile/errors.js +0 -123
- package/node_modules/ajv/dist/compile/errors.js.map +0 -1
- package/node_modules/ajv/dist/compile/index.d.ts +0 -80
- package/node_modules/ajv/dist/compile/index.js +0 -242
- package/node_modules/ajv/dist/compile/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
- package/node_modules/ajv/dist/compile/jtd/types.js +0 -14
- package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
- package/node_modules/ajv/dist/compile/names.d.ts +0 -20
- package/node_modules/ajv/dist/compile/names.js +0 -28
- package/node_modules/ajv/dist/compile/names.js.map +0 -1
- package/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
- package/node_modules/ajv/dist/compile/ref_error.js +0 -12
- package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
- package/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
- package/node_modules/ajv/dist/compile/resolve.js +0 -155
- package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- package/node_modules/ajv/dist/compile/rules.d.ts +0 -28
- package/node_modules/ajv/dist/compile/rules.js +0 -26
- package/node_modules/ajv/dist/compile/rules.js.map +0 -1
- package/node_modules/ajv/dist/compile/util.d.ts +0 -40
- package/node_modules/ajv/dist/compile/util.js +0 -178
- package/node_modules/ajv/dist/compile/util.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
- package/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
- package/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
- package/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
- package/node_modules/ajv/dist/compile/validate/index.js +0 -520
- package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
- package/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
- package/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
- package/node_modules/ajv/dist/core.d.ts +0 -174
- package/node_modules/ajv/dist/core.js +0 -618
- package/node_modules/ajv/dist/core.js.map +0 -1
- package/node_modules/ajv/dist/jtd.d.ts +0 -47
- package/node_modules/ajv/dist/jtd.js +0 -72
- package/node_modules/ajv/dist/jtd.js.map +0 -1
- package/node_modules/ajv/dist/refs/data.json +0 -13
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
- package/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/equal.js +0 -7
- package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
- package/node_modules/ajv/dist/runtime/parseJson.js +0 -185
- package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
- package/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/quote.js +0 -30
- package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
- package/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/re2.js +0 -6
- package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/timestamp.js +0 -42
- package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
- package/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/uri.js +0 -6
- package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
- package/node_modules/ajv/dist/runtime/validation_error.js +0 -11
- package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
- package/node_modules/ajv/dist/standalone/index.d.ts +0 -6
- package/node_modules/ajv/dist/standalone/index.js +0 -90
- package/node_modules/ajv/dist/standalone/index.js.map +0 -1
- package/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
- package/node_modules/ajv/dist/standalone/instance.js +0 -35
- package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
- package/node_modules/ajv/dist/types/index.d.ts +0 -183
- package/node_modules/ajv/dist/types/index.js +0 -3
- package/node_modules/ajv/dist/types/index.js.map +0 -1
- package/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
- package/node_modules/ajv/dist/types/json-schema.js +0 -3
- package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
- package/node_modules/ajv/dist/types/jtd-schema.js +0 -3
- package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
- package/node_modules/ajv/dist/vocabularies/code.js +0 -131
- package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/errors.js +0 -3
- package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/next.js +0 -8
- package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
- package/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- package/node_modules/ajv/lib/2019.ts +0 -81
- package/node_modules/ajv/lib/2020.ts +0 -75
- package/node_modules/ajv/lib/ajv.ts +0 -70
- package/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
- package/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
- package/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
- package/node_modules/ajv/lib/compile/errors.ts +0 -184
- package/node_modules/ajv/lib/compile/index.ts +0 -324
- package/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
- package/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
- package/node_modules/ajv/lib/compile/names.ts +0 -27
- package/node_modules/ajv/lib/compile/ref_error.ts +0 -13
- package/node_modules/ajv/lib/compile/resolve.ts +0 -149
- package/node_modules/ajv/lib/compile/rules.ts +0 -50
- package/node_modules/ajv/lib/compile/util.ts +0 -213
- package/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
- package/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
- package/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
- package/node_modules/ajv/lib/compile/validate/index.ts +0 -582
- package/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
- package/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
- package/node_modules/ajv/lib/core.ts +0 -892
- package/node_modules/ajv/lib/jtd.ts +0 -132
- package/node_modules/ajv/lib/refs/data.json +0 -13
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
- package/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
- package/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
- package/node_modules/ajv/lib/runtime/equal.ts +0 -7
- package/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
- package/node_modules/ajv/lib/runtime/quote.ts +0 -31
- package/node_modules/ajv/lib/runtime/re2.ts +0 -6
- package/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
- package/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
- package/node_modules/ajv/lib/runtime/uri.ts +0 -6
- package/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
- package/node_modules/ajv/lib/standalone/index.ts +0 -100
- package/node_modules/ajv/lib/standalone/instance.ts +0 -36
- package/node_modules/ajv/lib/types/index.ts +0 -244
- package/node_modules/ajv/lib/types/json-schema.ts +0 -187
- package/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
- package/node_modules/ajv/lib/vocabularies/code.ts +0 -168
- package/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
- package/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
- package/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
- package/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/next.ts +0 -8
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
- package/node_modules/ajv/package.json +0 -126
- package/node_modules/fast-deep-equal/LICENSE +0 -21
- package/node_modules/fast-deep-equal/README.md +0 -96
- package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/index.js +0 -72
- package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/react.js +0 -79
- package/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/node_modules/fast-deep-equal/index.js +0 -46
- package/node_modules/fast-deep-equal/package.json +0 -61
- package/node_modules/fast-deep-equal/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/react.js +0 -53
- package/node_modules/fast-uri/.gitattributes +0 -2
- package/node_modules/fast-uri/.github/dependabot.yml +0 -13
- package/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
- package/node_modules/fast-uri/LICENSE +0 -30
- package/node_modules/fast-uri/README.md +0 -152
- package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
- package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
- package/node_modules/fast-uri/benchmark/package.json +0 -17
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
- package/node_modules/fast-uri/eslint.config.js +0 -6
- package/node_modules/fast-uri/index.js +0 -631
- package/node_modules/fast-uri/lib/schemes.js +0 -272
- package/node_modules/fast-uri/lib/utils.js +0 -747
- package/node_modules/fast-uri/package.json +0 -68
- package/node_modules/fast-uri/test/ajv.test.js +0 -43
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +0 -163
- package/node_modules/fast-uri/test/equal.test.js +0 -145
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -503
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +0 -34
- package/node_modules/fast-uri/test/ipv6-validation.test.js +0 -124
- package/node_modules/fast-uri/test/malformed-percent.test.js +0 -77
- package/node_modules/fast-uri/test/malformed-urn.test.js +0 -61
- package/node_modules/fast-uri/test/parse.test.js +0 -327
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +0 -33
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +0 -109
- package/node_modules/fast-uri/test/resolve.test.js +0 -87
- package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
- package/node_modules/fast-uri/test/scheme-validation.test.js +0 -124
- package/node_modules/fast-uri/test/security-normalization.test.js +0 -178
- package/node_modules/fast-uri/test/security.test.js +0 -431
- package/node_modules/fast-uri/test/serialize.test.js +0 -151
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
- package/node_modules/fast-uri/test/uri-js.test.js +0 -912
- package/node_modules/fast-uri/test/urn-full-input.test.js +0 -29
- package/node_modules/fast-uri/test/util.test.js +0 -38
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +0 -24
- package/node_modules/fast-uri/tsconfig.json +0 -9
- package/node_modules/fast-uri/types/index.d.ts +0 -60
- package/node_modules/fast-uri/types/index.test-d.ts +0 -17
- package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
- package/node_modules/json-schema-traverse/LICENSE +0 -21
- package/node_modules/json-schema-traverse/README.md +0 -95
- package/node_modules/json-schema-traverse/index.d.ts +0 -40
- package/node_modules/json-schema-traverse/index.js +0 -93
- package/node_modules/json-schema-traverse/package.json +0 -43
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
- package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
- package/node_modules/require-from-string/index.js +0 -34
- package/node_modules/require-from-string/license +0 -21
- package/node_modules/require-from-string/package.json +0 -28
- package/node_modules/require-from-string/readme.md +0 -56
- package/node_modules/yaml/LICENSE +0 -13
- package/node_modules/yaml/README.md +0 -172
- package/node_modules/yaml/bin.mjs +0 -11
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
- package/node_modules/yaml/browser/dist/compose/compose-node.js +0 -109
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
- package/node_modules/yaml/browser/dist/compose/composer.js +0 -219
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -226
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
- package/node_modules/yaml/browser/dist/doc/Document.js +0 -335
- package/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
- package/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
- package/node_modules/yaml/browser/dist/doc/directives.js +0 -176
- package/node_modules/yaml/browser/dist/errors.js +0 -57
- package/node_modules/yaml/browser/dist/index.js +0 -17
- package/node_modules/yaml/browser/dist/log.js +0 -11
- package/node_modules/yaml/browser/dist/nodes/Alias.js +0 -118
- package/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
- package/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
- package/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
- package/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
- package/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
- package/node_modules/yaml/browser/dist/parse/cst.js +0 -98
- package/node_modules/yaml/browser/dist/parse/lexer.js +0 -721
- package/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
- package/node_modules/yaml/browser/dist/parse/parser.js +0 -975
- package/node_modules/yaml/browser/dist/public-api.js +0 -102
- package/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
- package/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
- package/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
- package/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
- package/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
- package/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
- package/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
- package/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
- package/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
- package/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
- package/node_modules/yaml/browser/dist/schema/tags.js +0 -96
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -67
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
- package/node_modules/yaml/browser/dist/stringify/stringify.js +0 -129
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -153
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -25
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
- package/node_modules/yaml/browser/dist/util.js +0 -11
- package/node_modules/yaml/browser/dist/visit.js +0 -233
- package/node_modules/yaml/browser/index.js +0 -5
- package/node_modules/yaml/browser/package.json +0 -3
- package/node_modules/yaml/dist/cli.d.ts +0 -8
- package/node_modules/yaml/dist/cli.mjs +0 -201
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
- package/node_modules/yaml/dist/compose/compose-collection.js +0 -90
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
- package/node_modules/yaml/dist/compose/compose-doc.js +0 -45
- package/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
- package/node_modules/yaml/dist/compose/compose-node.js +0 -112
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
- package/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
- package/node_modules/yaml/dist/compose/composer.d.ts +0 -63
- package/node_modules/yaml/dist/compose/composer.js +0 -224
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
- package/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
- package/node_modules/yaml/dist/compose/resolve-end.js +0 -39
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -228
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
- package/node_modules/yaml/dist/compose/resolve-props.js +0 -148
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
- package/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
- package/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
- package/node_modules/yaml/dist/doc/Document.d.ts +0 -141
- package/node_modules/yaml/dist/doc/Document.js +0 -337
- package/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
- package/node_modules/yaml/dist/doc/anchors.js +0 -76
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
- package/node_modules/yaml/dist/doc/applyReviver.js +0 -57
- package/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
- package/node_modules/yaml/dist/doc/createNode.js +0 -90
- package/node_modules/yaml/dist/doc/directives.d.ts +0 -49
- package/node_modules/yaml/dist/doc/directives.js +0 -178
- package/node_modules/yaml/dist/errors.d.ts +0 -21
- package/node_modules/yaml/dist/errors.js +0 -62
- package/node_modules/yaml/dist/index.d.ts +0 -25
- package/node_modules/yaml/dist/index.js +0 -50
- package/node_modules/yaml/dist/log.d.ts +0 -3
- package/node_modules/yaml/dist/log.js +0 -19
- package/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
- package/node_modules/yaml/dist/nodes/Alias.js +0 -120
- package/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
- package/node_modules/yaml/dist/nodes/Collection.js +0 -151
- package/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
- package/node_modules/yaml/dist/nodes/Node.js +0 -40
- package/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
- package/node_modules/yaml/dist/nodes/Pair.js +0 -39
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -47
- package/node_modules/yaml/dist/nodes/Scalar.js +0 -27
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
- package/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
- package/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
- package/node_modules/yaml/dist/nodes/identity.js +0 -53
- package/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
- package/node_modules/yaml/dist/nodes/toJS.js +0 -39
- package/node_modules/yaml/dist/options.d.ts +0 -350
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
- package/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
- package/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
- package/node_modules/yaml/dist/parse/cst-visit.js +0 -99
- package/node_modules/yaml/dist/parse/cst.d.ts +0 -109
- package/node_modules/yaml/dist/parse/cst.js +0 -112
- package/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
- package/node_modules/yaml/dist/parse/lexer.js +0 -723
- package/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
- package/node_modules/yaml/dist/parse/line-counter.js +0 -41
- package/node_modules/yaml/dist/parse/parser.d.ts +0 -84
- package/node_modules/yaml/dist/parse/parser.js +0 -980
- package/node_modules/yaml/dist/public-api.d.ts +0 -44
- package/node_modules/yaml/dist/public-api.js +0 -107
- package/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
- package/node_modules/yaml/dist/schema/Schema.js +0 -39
- package/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
- package/node_modules/yaml/dist/schema/common/map.js +0 -19
- package/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
- package/node_modules/yaml/dist/schema/common/null.js +0 -17
- package/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
- package/node_modules/yaml/dist/schema/common/seq.js +0 -19
- package/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
- package/node_modules/yaml/dist/schema/common/string.js +0 -16
- package/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
- package/node_modules/yaml/dist/schema/core/bool.js +0 -21
- package/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
- package/node_modules/yaml/dist/schema/core/float.js +0 -47
- package/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
- package/node_modules/yaml/dist/schema/core/int.js +0 -42
- package/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
- package/node_modules/yaml/dist/schema/core/schema.js +0 -25
- package/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
- package/node_modules/yaml/dist/schema/json/schema.js +0 -64
- package/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
- package/node_modules/yaml/dist/schema/tags.d.ts +0 -48
- package/node_modules/yaml/dist/schema/tags.js +0 -99
- package/node_modules/yaml/dist/schema/types.d.ts +0 -92
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -71
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
- package/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
- package/node_modules/yaml/dist/stringify/stringify.js +0 -132
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -155
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
- package/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -27
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
- package/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
- package/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
- package/node_modules/yaml/dist/test-events.d.ts +0 -4
- package/node_modules/yaml/dist/test-events.js +0 -134
- package/node_modules/yaml/dist/util.d.ts +0 -16
- package/node_modules/yaml/dist/util.js +0 -28
- package/node_modules/yaml/dist/visit.d.ts +0 -102
- package/node_modules/yaml/dist/visit.js +0 -236
- package/node_modules/yaml/package.json +0 -97
- package/node_modules/yaml/util.js +0 -2
- /package/{node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/adapter-host.d.ts → apps/cli/dist/worker.d.ts} +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime/types.js → octo-runtime-cli/dist/worker.d.ts} +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/execution-preparation.d.ts +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/execution-preparation.js +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/experience.d.ts +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/experience.js +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/runner.d.ts +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/runtime-configuration.d.ts +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/runtime-configuration.js +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime → octo-runtime-host-sdk/dist}/identity.js +0 -0
|
@@ -0,0 +1,3991 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "urn:mininglamp-oss:octo-runtime:protocol-schema",
|
|
4
|
+
"title": "OctoRuntimeProtocolSchema",
|
|
5
|
+
"description": "Serializable data shapes for the Octo Runtime NDJSON protocol. Runtime behavior remains hand-written in src/index.ts, and this schema is the source of truth for generated TypeScript types. The x-octo-unicode-scalar-strings semantic keyword requires every JSON string value and object member name to contain Unicode scalar values only: unpaired UTF-16 surrogates are rejected, not repaired or normalized. Consumers must enforce this protocol-wide rule even when validating a definition directly.",
|
|
6
|
+
"x-octo-unicode-scalar-strings": true,
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"definitions": {
|
|
10
|
+
"KernelLookupKey": {
|
|
11
|
+
"title": "KernelLookupKey",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"additionalProperties": false,
|
|
14
|
+
"required": [
|
|
15
|
+
"run_id",
|
|
16
|
+
"invocation_id",
|
|
17
|
+
"agent_session_id",
|
|
18
|
+
"session_generation",
|
|
19
|
+
"protocol_mode"
|
|
20
|
+
],
|
|
21
|
+
"properties": {
|
|
22
|
+
"run_id": { "type": "string", "minLength": 1 },
|
|
23
|
+
"invocation_id": { "type": "string", "minLength": 1 },
|
|
24
|
+
"agent_session_id": { "type": "string", "minLength": 1 },
|
|
25
|
+
"session_generation": { "type": "integer", "minimum": 0 },
|
|
26
|
+
"protocol_mode": { "enum": ["canonical", "native"] }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"KernelRunRef": {
|
|
30
|
+
"title": "KernelRunRef",
|
|
31
|
+
"type": "object",
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"required": [
|
|
34
|
+
"kernel_instance_id",
|
|
35
|
+
"run_id",
|
|
36
|
+
"invocation_id",
|
|
37
|
+
"stream_id",
|
|
38
|
+
"agent_session_id",
|
|
39
|
+
"session_generation",
|
|
40
|
+
"protocol_mode",
|
|
41
|
+
"protocol"
|
|
42
|
+
],
|
|
43
|
+
"properties": {
|
|
44
|
+
"kernel_instance_id": { "type": "string", "minLength": 1 },
|
|
45
|
+
"run_id": { "type": "string", "minLength": 1 },
|
|
46
|
+
"invocation_id": { "type": "string", "minLength": 1 },
|
|
47
|
+
"stream_id": { "type": "string", "minLength": 1 },
|
|
48
|
+
"agent_session_id": { "type": "string", "minLength": 1 },
|
|
49
|
+
"session_generation": { "type": "integer", "minimum": 0 },
|
|
50
|
+
"protocol_mode": { "enum": ["canonical", "native"] },
|
|
51
|
+
"protocol": { "type": "string", "minLength": 1 }
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"KernelRunSnapshot": {
|
|
55
|
+
"title": "KernelRunSnapshot",
|
|
56
|
+
"type": "object",
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"required": ["ref", "oldest_seq", "latest_seq"],
|
|
59
|
+
"properties": {
|
|
60
|
+
"ref": { "$ref": "#/definitions/KernelRunRef" },
|
|
61
|
+
"oldest_seq": { "type": "integer", "minimum": 1 },
|
|
62
|
+
"latest_seq": { "type": "integer", "minimum": 0 },
|
|
63
|
+
"terminal": { "$ref": "#/definitions/HostFrame" }
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"KernelStatus": {
|
|
67
|
+
"title": "KernelStatus",
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": ["ipc_version", "kernel_instance_id", "pid", "worker", "execution_ready"],
|
|
71
|
+
"properties": {
|
|
72
|
+
"ipc_version": { "const": 1 },
|
|
73
|
+
"kernel_instance_id": { "type": "string", "minLength": 1 },
|
|
74
|
+
"pid": { "type": "integer", "minimum": 1 },
|
|
75
|
+
"execution_ready": { "type": "boolean" },
|
|
76
|
+
"worker": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"required": ["generation", "state", "restart_attempt"],
|
|
80
|
+
"properties": {
|
|
81
|
+
"pid": { "type": "integer", "minimum": 1 },
|
|
82
|
+
"generation": { "type": "integer", "minimum": 0 },
|
|
83
|
+
"restart_attempt": { "type": "integer", "minimum": 0 },
|
|
84
|
+
"state": { "enum": ["starting", "ready", "recovering", "stopped", "exhausted"] }
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"RunProtocolErrorCode": {
|
|
90
|
+
"title": "RunProtocolErrorCode",
|
|
91
|
+
"enum": [
|
|
92
|
+
"PROTOCOL_MODE_INVALID",
|
|
93
|
+
"PROTOCOL_MODE_UNSUPPORTED",
|
|
94
|
+
"EXECUTION_PROTOCOL_MISMATCH",
|
|
95
|
+
"EXECUTION_IDENTITY_CONFLICT",
|
|
96
|
+
"NATIVE_METHOD_UNSUPPORTED",
|
|
97
|
+
"NATIVE_RESPONSE_INVALID",
|
|
98
|
+
"INTERACTION_NOT_ACTIVE",
|
|
99
|
+
"HOST_EXECUTION_FAILED",
|
|
100
|
+
"HOST_ENDED_WITHOUT_TERMINAL",
|
|
101
|
+
"PROVIDER_MESSAGE_TOO_LARGE",
|
|
102
|
+
"HOST_FRAME_TOO_LARGE",
|
|
103
|
+
"STREAM_QUEUE_ITEM_TOO_LARGE",
|
|
104
|
+
"STREAM_QUEUE_BYTES_EXCEEDED",
|
|
105
|
+
"STREAM_QUEUE_ITEMS_EXCEEDED",
|
|
106
|
+
"STREAM_GAP",
|
|
107
|
+
"STREAM_EXPIRED",
|
|
108
|
+
"REMOTE_NATIVE_UNSUPPORTED",
|
|
109
|
+
"HOST_FRAME_INVALID",
|
|
110
|
+
"HOST_CONTROL_INVALID",
|
|
111
|
+
"HOST_RECEIPT_INVALID",
|
|
112
|
+
"PROTOCOL_SUPPORT_INVALID"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"ProtocolMode": {
|
|
116
|
+
"title": "ProtocolMode",
|
|
117
|
+
"enum": ["native", "canonical"]
|
|
118
|
+
},
|
|
119
|
+
"CanonicalEventWire": {
|
|
120
|
+
"title": "CanonicalEventWire",
|
|
121
|
+
"type": "object",
|
|
122
|
+
"additionalProperties": false,
|
|
123
|
+
"required": ["protocolVersion", "type", "payload"],
|
|
124
|
+
"properties": {
|
|
125
|
+
"protocolVersion": {
|
|
126
|
+
"const": 2
|
|
127
|
+
},
|
|
128
|
+
"type": {
|
|
129
|
+
"enum": [
|
|
130
|
+
"session.update",
|
|
131
|
+
"execution.update",
|
|
132
|
+
"usage.update",
|
|
133
|
+
"model_step.started",
|
|
134
|
+
"model_step.finished",
|
|
135
|
+
"message.create",
|
|
136
|
+
"message.delta",
|
|
137
|
+
"message.update",
|
|
138
|
+
"tool_call.create",
|
|
139
|
+
"tool_call.delta",
|
|
140
|
+
"tool_call.update",
|
|
141
|
+
"activity.started",
|
|
142
|
+
"activity.updated",
|
|
143
|
+
"activity.finished",
|
|
144
|
+
"plan.updated",
|
|
145
|
+
"tool_call.progress",
|
|
146
|
+
"run.notice",
|
|
147
|
+
"interaction.requested",
|
|
148
|
+
"interaction.resolved",
|
|
149
|
+
"run.queued",
|
|
150
|
+
"run.started",
|
|
151
|
+
"run.completed",
|
|
152
|
+
"run.failed",
|
|
153
|
+
"run.cancelled"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"payload": {
|
|
157
|
+
"$ref": "#/definitions/CanonicalEventPayload"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"HostInvokeOptions": {
|
|
162
|
+
"title": "HostInvokeOptions",
|
|
163
|
+
"type": "object",
|
|
164
|
+
"additionalProperties": false,
|
|
165
|
+
"properties": {
|
|
166
|
+
"protocolMode": {
|
|
167
|
+
"$ref": "#/definitions/ProtocolMode",
|
|
168
|
+
"default": "native"
|
|
169
|
+
},
|
|
170
|
+
"protocol": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"minLength": 1,
|
|
173
|
+
"maxLength": 128
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"HostRunReceipt": {
|
|
178
|
+
"title": "HostRunReceipt",
|
|
179
|
+
"type": "object",
|
|
180
|
+
"additionalProperties": false,
|
|
181
|
+
"required": [
|
|
182
|
+
"run_id",
|
|
183
|
+
"invocation_id",
|
|
184
|
+
"stream_id",
|
|
185
|
+
"agent_session_id",
|
|
186
|
+
"session_generation",
|
|
187
|
+
"protocol_mode",
|
|
188
|
+
"protocol"
|
|
189
|
+
],
|
|
190
|
+
"properties": {
|
|
191
|
+
"run_id": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"minLength": 1,
|
|
194
|
+
"maxLength": 256
|
|
195
|
+
},
|
|
196
|
+
"invocation_id": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"minLength": 1,
|
|
199
|
+
"maxLength": 256
|
|
200
|
+
},
|
|
201
|
+
"stream_id": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"minLength": 1,
|
|
204
|
+
"maxLength": 256
|
|
205
|
+
},
|
|
206
|
+
"agent_session_id": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"minLength": 1,
|
|
209
|
+
"maxLength": 256
|
|
210
|
+
},
|
|
211
|
+
"session_generation": {
|
|
212
|
+
"type": "integer",
|
|
213
|
+
"minimum": 0,
|
|
214
|
+
"maximum": 9007199254740991
|
|
215
|
+
},
|
|
216
|
+
"protocol_mode": {
|
|
217
|
+
"$ref": "#/definitions/ProtocolMode"
|
|
218
|
+
},
|
|
219
|
+
"protocol": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"minLength": 1,
|
|
222
|
+
"maxLength": 128
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"AdapterProtocolSupport": {
|
|
227
|
+
"title": "AdapterProtocolSupport",
|
|
228
|
+
"type": "object",
|
|
229
|
+
"additionalProperties": false,
|
|
230
|
+
"required": ["protocol", "modes", "nativeMethods"],
|
|
231
|
+
"properties": {
|
|
232
|
+
"protocol": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"minLength": 1,
|
|
235
|
+
"maxLength": 128
|
|
236
|
+
},
|
|
237
|
+
"modes": {
|
|
238
|
+
"type": "array",
|
|
239
|
+
"minItems": 1,
|
|
240
|
+
"uniqueItems": true,
|
|
241
|
+
"items": {
|
|
242
|
+
"$ref": "#/definitions/ProtocolMode"
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"nativeMethods": {
|
|
246
|
+
"type": "array",
|
|
247
|
+
"uniqueItems": true,
|
|
248
|
+
"items": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"minLength": 1,
|
|
251
|
+
"maxLength": 256
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"if": {
|
|
256
|
+
"properties": {
|
|
257
|
+
"modes": {
|
|
258
|
+
"not": {
|
|
259
|
+
"contains": {
|
|
260
|
+
"const": "native"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"then": {
|
|
267
|
+
"properties": {
|
|
268
|
+
"nativeMethods": {
|
|
269
|
+
"maxItems": 0
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"NativeInteractionResponse": {
|
|
275
|
+
"title": "NativeInteractionResponse",
|
|
276
|
+
"type": "object",
|
|
277
|
+
"additionalProperties": false,
|
|
278
|
+
"required": ["requestId", "payload"],
|
|
279
|
+
"properties": {
|
|
280
|
+
"requestId": {
|
|
281
|
+
"oneOf": [
|
|
282
|
+
{
|
|
283
|
+
"type": "string",
|
|
284
|
+
"minLength": 1,
|
|
285
|
+
"maxLength": 256
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "integer",
|
|
289
|
+
"minimum": -9007199254740991,
|
|
290
|
+
"maximum": 9007199254740991
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
"payload": {
|
|
295
|
+
"type": "object",
|
|
296
|
+
"additionalProperties": true
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"HostControl": {
|
|
301
|
+
"title": "HostControl",
|
|
302
|
+
"oneOf": [
|
|
303
|
+
{
|
|
304
|
+
"type": "object",
|
|
305
|
+
"additionalProperties": false,
|
|
306
|
+
"required": ["type", "name", "payload"],
|
|
307
|
+
"properties": {
|
|
308
|
+
"type": { "const": "evidence" },
|
|
309
|
+
"name": { "const": "execution" },
|
|
310
|
+
"payload": { "$ref": "#/definitions/ExecutionEvidence" }
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "object",
|
|
315
|
+
"additionalProperties": false,
|
|
316
|
+
"required": ["type", "name", "payload"],
|
|
317
|
+
"properties": {
|
|
318
|
+
"type": {
|
|
319
|
+
"const": "evidence"
|
|
320
|
+
},
|
|
321
|
+
"name": {
|
|
322
|
+
"enum": ["session"]
|
|
323
|
+
},
|
|
324
|
+
"payload": {
|
|
325
|
+
"type": "object",
|
|
326
|
+
"additionalProperties": true
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"type": "object",
|
|
332
|
+
"additionalProperties": false,
|
|
333
|
+
"required": ["type", "state"],
|
|
334
|
+
"properties": {
|
|
335
|
+
"type": {
|
|
336
|
+
"const": "state"
|
|
337
|
+
},
|
|
338
|
+
"state": {
|
|
339
|
+
"enum": ["running", "completed", "failed", "cancelled", "lost"]
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"type": "object",
|
|
345
|
+
"additionalProperties": false,
|
|
346
|
+
"required": ["type", "code", "message"],
|
|
347
|
+
"properties": {
|
|
348
|
+
"type": {
|
|
349
|
+
"const": "error"
|
|
350
|
+
},
|
|
351
|
+
"code": {
|
|
352
|
+
"$ref": "#/definitions/RunProtocolErrorCode"
|
|
353
|
+
},
|
|
354
|
+
"message": {
|
|
355
|
+
"type": "string"
|
|
356
|
+
},
|
|
357
|
+
"failure": {
|
|
358
|
+
"$ref": "#/definitions/FailureEnvelope"
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"type": "object",
|
|
364
|
+
"additionalProperties": false,
|
|
365
|
+
"required": ["type", "requestId", "status"],
|
|
366
|
+
"properties": {
|
|
367
|
+
"type": {
|
|
368
|
+
"const": "interaction"
|
|
369
|
+
},
|
|
370
|
+
"requestId": {
|
|
371
|
+
"oneOf": [
|
|
372
|
+
{
|
|
373
|
+
"type": "string",
|
|
374
|
+
"minLength": 1,
|
|
375
|
+
"maxLength": 256
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"type": "integer",
|
|
379
|
+
"minimum": -9007199254740991,
|
|
380
|
+
"maximum": 9007199254740991
|
|
381
|
+
}
|
|
382
|
+
]
|
|
383
|
+
},
|
|
384
|
+
"status": {
|
|
385
|
+
"enum": ["pending", "resolved", "expired", "invalidated"]
|
|
386
|
+
},
|
|
387
|
+
"expiresAt": {
|
|
388
|
+
"type": "integer",
|
|
389
|
+
"minimum": 1,
|
|
390
|
+
"maximum": 9007199254740991
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"if": {
|
|
394
|
+
"properties": {
|
|
395
|
+
"status": {
|
|
396
|
+
"const": "pending"
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"then": {
|
|
401
|
+
"required": ["expiresAt"]
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"type": "object",
|
|
406
|
+
"additionalProperties": false,
|
|
407
|
+
"required": ["type", "requested_after_seq", "oldest_seq", "latest_seq"],
|
|
408
|
+
"properties": {
|
|
409
|
+
"type": {
|
|
410
|
+
"const": "gap"
|
|
411
|
+
},
|
|
412
|
+
"requested_after_seq": {
|
|
413
|
+
"type": "integer",
|
|
414
|
+
"minimum": 0,
|
|
415
|
+
"maximum": 9007199254740991
|
|
416
|
+
},
|
|
417
|
+
"oldest_seq": {
|
|
418
|
+
"type": "integer",
|
|
419
|
+
"minimum": 1,
|
|
420
|
+
"maximum": 9007199254740991
|
|
421
|
+
},
|
|
422
|
+
"latest_seq": {
|
|
423
|
+
"type": "integer",
|
|
424
|
+
"minimum": 0,
|
|
425
|
+
"maximum": 9007199254740991
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
"HostFrame": {
|
|
432
|
+
"title": "HostFrame",
|
|
433
|
+
"oneOf": [
|
|
434
|
+
{
|
|
435
|
+
"$ref": "#/definitions/NativeHostFrame"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"$ref": "#/definitions/CanonicalHostFrame"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"$ref": "#/definitions/ControlHostFrame"
|
|
442
|
+
}
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
"NativeHostFrame": {
|
|
446
|
+
"title": "NativeHostFrame",
|
|
447
|
+
"type": "object",
|
|
448
|
+
"additionalProperties": false,
|
|
449
|
+
"required": [
|
|
450
|
+
"run_id",
|
|
451
|
+
"invocation_id",
|
|
452
|
+
"stream_id",
|
|
453
|
+
"agent_session_id",
|
|
454
|
+
"session_generation",
|
|
455
|
+
"seq",
|
|
456
|
+
"protocol_mode",
|
|
457
|
+
"protocol",
|
|
458
|
+
"kind",
|
|
459
|
+
"messageKind",
|
|
460
|
+
"payload"
|
|
461
|
+
],
|
|
462
|
+
"properties": {
|
|
463
|
+
"run_id": {
|
|
464
|
+
"type": "string",
|
|
465
|
+
"minLength": 1,
|
|
466
|
+
"maxLength": 256
|
|
467
|
+
},
|
|
468
|
+
"invocation_id": {
|
|
469
|
+
"type": "string",
|
|
470
|
+
"minLength": 1,
|
|
471
|
+
"maxLength": 256
|
|
472
|
+
},
|
|
473
|
+
"stream_id": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"minLength": 1,
|
|
476
|
+
"maxLength": 256
|
|
477
|
+
},
|
|
478
|
+
"agent_session_id": {
|
|
479
|
+
"type": "string",
|
|
480
|
+
"minLength": 1,
|
|
481
|
+
"maxLength": 256
|
|
482
|
+
},
|
|
483
|
+
"session_generation": {
|
|
484
|
+
"type": "integer",
|
|
485
|
+
"minimum": 0,
|
|
486
|
+
"maximum": 9007199254740991
|
|
487
|
+
},
|
|
488
|
+
"seq": {
|
|
489
|
+
"type": "integer",
|
|
490
|
+
"minimum": 1,
|
|
491
|
+
"maximum": 9007199254740991
|
|
492
|
+
},
|
|
493
|
+
"protocol_mode": {
|
|
494
|
+
"const": "native"
|
|
495
|
+
},
|
|
496
|
+
"protocol": {
|
|
497
|
+
"type": "string",
|
|
498
|
+
"minLength": 1,
|
|
499
|
+
"maxLength": 128
|
|
500
|
+
},
|
|
501
|
+
"kind": {
|
|
502
|
+
"const": "native"
|
|
503
|
+
},
|
|
504
|
+
"messageKind": {
|
|
505
|
+
"enum": ["response", "notification", "request", "message"]
|
|
506
|
+
},
|
|
507
|
+
"payload": {
|
|
508
|
+
"type": "object",
|
|
509
|
+
"additionalProperties": true
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"CanonicalHostFrame": {
|
|
514
|
+
"title": "CanonicalHostFrame",
|
|
515
|
+
"type": "object",
|
|
516
|
+
"additionalProperties": false,
|
|
517
|
+
"required": [
|
|
518
|
+
"run_id",
|
|
519
|
+
"invocation_id",
|
|
520
|
+
"stream_id",
|
|
521
|
+
"agent_session_id",
|
|
522
|
+
"session_generation",
|
|
523
|
+
"seq",
|
|
524
|
+
"protocol_mode",
|
|
525
|
+
"protocol",
|
|
526
|
+
"kind",
|
|
527
|
+
"event"
|
|
528
|
+
],
|
|
529
|
+
"properties": {
|
|
530
|
+
"run_id": {
|
|
531
|
+
"type": "string",
|
|
532
|
+
"minLength": 1,
|
|
533
|
+
"maxLength": 256
|
|
534
|
+
},
|
|
535
|
+
"invocation_id": {
|
|
536
|
+
"type": "string",
|
|
537
|
+
"minLength": 1,
|
|
538
|
+
"maxLength": 256
|
|
539
|
+
},
|
|
540
|
+
"stream_id": {
|
|
541
|
+
"type": "string",
|
|
542
|
+
"minLength": 1,
|
|
543
|
+
"maxLength": 256
|
|
544
|
+
},
|
|
545
|
+
"agent_session_id": {
|
|
546
|
+
"type": "string",
|
|
547
|
+
"minLength": 1,
|
|
548
|
+
"maxLength": 256
|
|
549
|
+
},
|
|
550
|
+
"session_generation": {
|
|
551
|
+
"type": "integer",
|
|
552
|
+
"minimum": 0,
|
|
553
|
+
"maximum": 9007199254740991
|
|
554
|
+
},
|
|
555
|
+
"seq": {
|
|
556
|
+
"type": "integer",
|
|
557
|
+
"minimum": 1,
|
|
558
|
+
"maximum": 9007199254740991
|
|
559
|
+
},
|
|
560
|
+
"protocol_mode": {
|
|
561
|
+
"const": "canonical"
|
|
562
|
+
},
|
|
563
|
+
"protocol": {
|
|
564
|
+
"type": "string",
|
|
565
|
+
"minLength": 1,
|
|
566
|
+
"maxLength": 128
|
|
567
|
+
},
|
|
568
|
+
"kind": {
|
|
569
|
+
"const": "canonical"
|
|
570
|
+
},
|
|
571
|
+
"event": {
|
|
572
|
+
"$ref": "#/definitions/CanonicalEventWire"
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"ControlHostFrame": {
|
|
577
|
+
"title": "ControlHostFrame",
|
|
578
|
+
"type": "object",
|
|
579
|
+
"additionalProperties": false,
|
|
580
|
+
"required": [
|
|
581
|
+
"run_id",
|
|
582
|
+
"invocation_id",
|
|
583
|
+
"stream_id",
|
|
584
|
+
"agent_session_id",
|
|
585
|
+
"session_generation",
|
|
586
|
+
"seq",
|
|
587
|
+
"protocol_mode",
|
|
588
|
+
"protocol",
|
|
589
|
+
"kind",
|
|
590
|
+
"control"
|
|
591
|
+
],
|
|
592
|
+
"properties": {
|
|
593
|
+
"run_id": {
|
|
594
|
+
"type": "string",
|
|
595
|
+
"minLength": 1,
|
|
596
|
+
"maxLength": 256
|
|
597
|
+
},
|
|
598
|
+
"invocation_id": {
|
|
599
|
+
"type": "string",
|
|
600
|
+
"minLength": 1,
|
|
601
|
+
"maxLength": 256
|
|
602
|
+
},
|
|
603
|
+
"stream_id": {
|
|
604
|
+
"type": "string",
|
|
605
|
+
"minLength": 1,
|
|
606
|
+
"maxLength": 256
|
|
607
|
+
},
|
|
608
|
+
"agent_session_id": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"minLength": 1,
|
|
611
|
+
"maxLength": 256
|
|
612
|
+
},
|
|
613
|
+
"session_generation": {
|
|
614
|
+
"type": "integer",
|
|
615
|
+
"minimum": 0,
|
|
616
|
+
"maximum": 9007199254740991
|
|
617
|
+
},
|
|
618
|
+
"seq": {
|
|
619
|
+
"type": "integer",
|
|
620
|
+
"minimum": 1,
|
|
621
|
+
"maximum": 9007199254740991
|
|
622
|
+
},
|
|
623
|
+
"protocol_mode": {
|
|
624
|
+
"$ref": "#/definitions/ProtocolMode"
|
|
625
|
+
},
|
|
626
|
+
"protocol": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"minLength": 1,
|
|
629
|
+
"maxLength": 128
|
|
630
|
+
},
|
|
631
|
+
"kind": {
|
|
632
|
+
"const": "control"
|
|
633
|
+
},
|
|
634
|
+
"control": {
|
|
635
|
+
"$ref": "#/definitions/HostControl"
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"NotificationMessage": {
|
|
640
|
+
"title": "NotificationMessage",
|
|
641
|
+
"description": "Public, channel-neutral project notification. No runtime context, reasoning, credentials, or tool payloads belong in this envelope.",
|
|
642
|
+
"type": "object",
|
|
643
|
+
"additionalProperties": false,
|
|
644
|
+
"required": [
|
|
645
|
+
"schema",
|
|
646
|
+
"eventId",
|
|
647
|
+
"event",
|
|
648
|
+
"occurredAt",
|
|
649
|
+
"projectId",
|
|
650
|
+
"sourceId",
|
|
651
|
+
"title",
|
|
652
|
+
"text"
|
|
653
|
+
],
|
|
654
|
+
"properties": {
|
|
655
|
+
"schema": {
|
|
656
|
+
"const": "octo.notification.v2"
|
|
657
|
+
},
|
|
658
|
+
"eventId": {
|
|
659
|
+
"type": "string",
|
|
660
|
+
"minLength": 1,
|
|
661
|
+
"maxLength": 256
|
|
662
|
+
},
|
|
663
|
+
"event": {
|
|
664
|
+
"enum": ["task.event", "execution.succeeded", "execution.failed", "notification.test"]
|
|
665
|
+
},
|
|
666
|
+
"occurredAt": {
|
|
667
|
+
"type": "string",
|
|
668
|
+
"format": "date-time"
|
|
669
|
+
},
|
|
670
|
+
"projectId": {
|
|
671
|
+
"type": "string",
|
|
672
|
+
"minLength": 1,
|
|
673
|
+
"maxLength": 128
|
|
674
|
+
},
|
|
675
|
+
"sourceId": {
|
|
676
|
+
"type": "string",
|
|
677
|
+
"minLength": 1,
|
|
678
|
+
"maxLength": 128
|
|
679
|
+
},
|
|
680
|
+
"title": {
|
|
681
|
+
"type": "string",
|
|
682
|
+
"minLength": 1,
|
|
683
|
+
"maxLength": 256
|
|
684
|
+
},
|
|
685
|
+
"text": {
|
|
686
|
+
"type": "string",
|
|
687
|
+
"maxLength": 4096
|
|
688
|
+
},
|
|
689
|
+
"evt_type": {
|
|
690
|
+
"type": "integer",
|
|
691
|
+
"minimum": 101,
|
|
692
|
+
"maximum": 115
|
|
693
|
+
},
|
|
694
|
+
"task": {
|
|
695
|
+
"type": "object",
|
|
696
|
+
"additionalProperties": false,
|
|
697
|
+
"required": ["id", "title", "status", "row_version", "handler_epoch"],
|
|
698
|
+
"properties": {
|
|
699
|
+
"id": {
|
|
700
|
+
"type": "string",
|
|
701
|
+
"minLength": 1
|
|
702
|
+
},
|
|
703
|
+
"title": {
|
|
704
|
+
"type": "string"
|
|
705
|
+
},
|
|
706
|
+
"status": {
|
|
707
|
+
"enum": ["backlog", "todo", "in_progress", "done", "cancelled"]
|
|
708
|
+
},
|
|
709
|
+
"row_version": {
|
|
710
|
+
"type": "integer",
|
|
711
|
+
"minimum": 1
|
|
712
|
+
},
|
|
713
|
+
"handler_epoch": {
|
|
714
|
+
"type": "integer",
|
|
715
|
+
"minimum": 1
|
|
716
|
+
},
|
|
717
|
+
"responsible_party": {
|
|
718
|
+
"type": ["object", "null"]
|
|
719
|
+
},
|
|
720
|
+
"current_handler": {
|
|
721
|
+
"type": ["object", "null"]
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"taskEvent": {
|
|
726
|
+
"type": "object",
|
|
727
|
+
"additionalProperties": false,
|
|
728
|
+
"required": ["id", "sequence", "evt_type", "actor", "summary", "payload"],
|
|
729
|
+
"properties": {
|
|
730
|
+
"id": {
|
|
731
|
+
"type": "string"
|
|
732
|
+
},
|
|
733
|
+
"sequence": {
|
|
734
|
+
"type": "integer",
|
|
735
|
+
"minimum": 1
|
|
736
|
+
},
|
|
737
|
+
"evt_type": {
|
|
738
|
+
"type": "integer",
|
|
739
|
+
"minimum": 101,
|
|
740
|
+
"maximum": 115
|
|
741
|
+
},
|
|
742
|
+
"actor": {
|
|
743
|
+
"type": "object"
|
|
744
|
+
},
|
|
745
|
+
"task_conversation_id": {
|
|
746
|
+
"type": "string"
|
|
747
|
+
},
|
|
748
|
+
"source_run_id": {
|
|
749
|
+
"type": "string"
|
|
750
|
+
},
|
|
751
|
+
"summary": {
|
|
752
|
+
"type": "string"
|
|
753
|
+
},
|
|
754
|
+
"payload": {
|
|
755
|
+
"type": "object"
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
"timeline": {
|
|
760
|
+
"type": "array",
|
|
761
|
+
"maxItems": 20,
|
|
762
|
+
"items": {
|
|
763
|
+
"type": "object",
|
|
764
|
+
"additionalProperties": false,
|
|
765
|
+
"required": ["eventId", "sequence", "evt_type", "summary"],
|
|
766
|
+
"properties": {
|
|
767
|
+
"eventId": {
|
|
768
|
+
"type": "string"
|
|
769
|
+
},
|
|
770
|
+
"sequence": {
|
|
771
|
+
"type": "integer",
|
|
772
|
+
"minimum": 1
|
|
773
|
+
},
|
|
774
|
+
"evt_type": {
|
|
775
|
+
"type": "integer",
|
|
776
|
+
"minimum": 101,
|
|
777
|
+
"maximum": 115
|
|
778
|
+
},
|
|
779
|
+
"summary": {
|
|
780
|
+
"type": "string"
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
"timelineTruncated": {
|
|
786
|
+
"type": "boolean"
|
|
787
|
+
},
|
|
788
|
+
"timelineThroughSequence": {
|
|
789
|
+
"type": "integer",
|
|
790
|
+
"minimum": 1
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"allOf": [
|
|
794
|
+
{
|
|
795
|
+
"if": {
|
|
796
|
+
"properties": {
|
|
797
|
+
"event": {
|
|
798
|
+
"const": "task.event"
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"then": {
|
|
803
|
+
"required": ["evt_type", "task", "taskEvent", "timeline", "timelineThroughSequence"]
|
|
804
|
+
},
|
|
805
|
+
"else": {
|
|
806
|
+
"not": {
|
|
807
|
+
"anyOf": [
|
|
808
|
+
{
|
|
809
|
+
"required": ["evt_type"]
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"required": ["task"]
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"required": ["taskEvent"]
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"required": ["timeline"]
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"required": ["timelineThroughSequence"]
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"required": ["timelineTruncated"]
|
|
825
|
+
}
|
|
826
|
+
]
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
]
|
|
831
|
+
},
|
|
832
|
+
"ApprovalMode": {
|
|
833
|
+
"title": "ApprovalMode",
|
|
834
|
+
"type": "string",
|
|
835
|
+
"enum": ["ask", "assisted", "full_access"]
|
|
836
|
+
},
|
|
837
|
+
"ContextItem": {
|
|
838
|
+
"title": "ContextItem",
|
|
839
|
+
"description": "Open Context item. Built-in types retain their payload contracts; unknown optional types are preserved and ignored by unsupported consumers.",
|
|
840
|
+
"tsType": "{ namespace: string; name: string; guidance?: string; payload: Record<string, unknown> }",
|
|
841
|
+
"type": "object",
|
|
842
|
+
"additionalProperties": false,
|
|
843
|
+
"required": ["namespace", "name", "payload"],
|
|
844
|
+
"properties": {
|
|
845
|
+
"namespace": {
|
|
846
|
+
"type": "string",
|
|
847
|
+
"pattern": "^[a-z0-9][a-z0-9._-]*$",
|
|
848
|
+
"maxLength": 96
|
|
849
|
+
},
|
|
850
|
+
"name": {
|
|
851
|
+
"type": "string",
|
|
852
|
+
"pattern": "^[a-z0-9][a-z0-9._-]*$",
|
|
853
|
+
"maxLength": 96
|
|
854
|
+
},
|
|
855
|
+
"payload": {
|
|
856
|
+
"type": "object",
|
|
857
|
+
"additionalProperties": true,
|
|
858
|
+
"tsType": "Record<string, unknown>"
|
|
859
|
+
},
|
|
860
|
+
"guidance": {
|
|
861
|
+
"type": "string",
|
|
862
|
+
"description": "Producer-authored context guidance, rendered as ordinary model input."
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
"allOf": [
|
|
866
|
+
{
|
|
867
|
+
"if": {
|
|
868
|
+
"properties": {
|
|
869
|
+
"namespace": {
|
|
870
|
+
"const": "octo.execution"
|
|
871
|
+
},
|
|
872
|
+
"name": {
|
|
873
|
+
"const": "actmode"
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
"then": {
|
|
878
|
+
"properties": {
|
|
879
|
+
"payload": {
|
|
880
|
+
"$ref": "#/definitions/ContextActmodePayload"
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"if": {
|
|
887
|
+
"properties": {
|
|
888
|
+
"namespace": {
|
|
889
|
+
"const": "octo.execution"
|
|
890
|
+
},
|
|
891
|
+
"name": {
|
|
892
|
+
"const": "model"
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"then": {
|
|
897
|
+
"properties": {
|
|
898
|
+
"payload": {
|
|
899
|
+
"$ref": "#/definitions/ContextModelPayload"
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"if": {
|
|
906
|
+
"properties": {
|
|
907
|
+
"namespace": { "const": "octo.execution" },
|
|
908
|
+
"name": { "const": "adapter" }
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
"then": {
|
|
912
|
+
"properties": { "payload": { "$ref": "#/definitions/ContextAdapterPayload" } }
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"if": {
|
|
917
|
+
"properties": {
|
|
918
|
+
"namespace": {
|
|
919
|
+
"const": "octo.execution"
|
|
920
|
+
},
|
|
921
|
+
"name": {
|
|
922
|
+
"const": "workspace"
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
"then": {
|
|
927
|
+
"properties": {
|
|
928
|
+
"payload": {
|
|
929
|
+
"$ref": "#/definitions/ContextWorkspacePayload"
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"if": {
|
|
936
|
+
"properties": {
|
|
937
|
+
"namespace": {
|
|
938
|
+
"const": "octo.execution"
|
|
939
|
+
},
|
|
940
|
+
"name": {
|
|
941
|
+
"const": "limits"
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"then": {
|
|
946
|
+
"properties": {
|
|
947
|
+
"payload": {
|
|
948
|
+
"$ref": "#/definitions/ContextLimitsPayload"
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"if": {
|
|
955
|
+
"properties": {
|
|
956
|
+
"namespace": {
|
|
957
|
+
"const": "octo.runtime"
|
|
958
|
+
},
|
|
959
|
+
"name": {
|
|
960
|
+
"const": "selection"
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
"then": {
|
|
965
|
+
"properties": {
|
|
966
|
+
"payload": {
|
|
967
|
+
"$ref": "#/definitions/ContextRuntimeSelectionPayload"
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"if": {
|
|
974
|
+
"properties": {
|
|
975
|
+
"namespace": {
|
|
976
|
+
"const": "octo.security"
|
|
977
|
+
},
|
|
978
|
+
"name": {
|
|
979
|
+
"const": "approval_policy"
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
"then": {
|
|
984
|
+
"properties": {
|
|
985
|
+
"payload": {
|
|
986
|
+
"$ref": "#/definitions/ContextApprovalPolicyPayload"
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"if": {
|
|
993
|
+
"properties": {
|
|
994
|
+
"namespace": {
|
|
995
|
+
"const": "octo.content"
|
|
996
|
+
},
|
|
997
|
+
"name": {
|
|
998
|
+
"const": "inline"
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
"then": {
|
|
1003
|
+
"properties": {
|
|
1004
|
+
"payload": {
|
|
1005
|
+
"$ref": "#/definitions/ContextInlinePayload"
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"if": {
|
|
1012
|
+
"properties": {
|
|
1013
|
+
"namespace": {
|
|
1014
|
+
"const": "octo.content"
|
|
1015
|
+
},
|
|
1016
|
+
"name": {
|
|
1017
|
+
"const": "references"
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
},
|
|
1021
|
+
"then": {
|
|
1022
|
+
"properties": {
|
|
1023
|
+
"payload": {
|
|
1024
|
+
"$ref": "#/definitions/ContextReferencesPayload"
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"if": {
|
|
1031
|
+
"properties": {
|
|
1032
|
+
"namespace": {
|
|
1033
|
+
"const": "octo.control"
|
|
1034
|
+
},
|
|
1035
|
+
"name": {
|
|
1036
|
+
"const": "instructions"
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
"then": {
|
|
1041
|
+
"properties": {
|
|
1042
|
+
"payload": {
|
|
1043
|
+
"$ref": "#/definitions/ContextInstructionsPayload"
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"if": {
|
|
1050
|
+
"properties": {
|
|
1051
|
+
"namespace": {
|
|
1052
|
+
"const": "octo.execution"
|
|
1053
|
+
},
|
|
1054
|
+
"name": {
|
|
1055
|
+
"const": "envs"
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
"then": {
|
|
1060
|
+
"properties": {
|
|
1061
|
+
"payload": {
|
|
1062
|
+
"$ref": "#/definitions/ContextEnvsPayload"
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"if": {
|
|
1069
|
+
"properties": {
|
|
1070
|
+
"namespace": {
|
|
1071
|
+
"enum": ["octo.execution", "octo.runtime", "octo.security", "octo.control"]
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"then": {
|
|
1076
|
+
"not": {
|
|
1077
|
+
"required": ["guidance"]
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"if": {
|
|
1083
|
+
"properties": {
|
|
1084
|
+
"namespace": {
|
|
1085
|
+
"const": "octo.execution"
|
|
1086
|
+
},
|
|
1087
|
+
"name": {
|
|
1088
|
+
"const": "mcp"
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
"then": {
|
|
1093
|
+
"properties": {
|
|
1094
|
+
"payload": {
|
|
1095
|
+
"$ref": "#/definitions/ContextMcpPayload"
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
],
|
|
1101
|
+
"not": {
|
|
1102
|
+
"properties": {
|
|
1103
|
+
"namespace": {
|
|
1104
|
+
"const": "octo.resources"
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1107
|
+
"required": ["namespace"]
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
"ContextEnvelope": {
|
|
1111
|
+
"title": "ContextEnvelope",
|
|
1112
|
+
"description": "In addition to draft-07 validation, every consumer must enforce the x-octo semantic keywords: unique ordered namespace/name tuples, compact UTF-8 JSON byte budget, JSON nesting depth with the envelope at depth zero, and Unicode scalar strings in every nested value and object key. Canonical hashing uses ECMAScript JSON number serialization, including -0 becoming 0 and normalized exponent notation; object keys are sorted by UTF-16 code units before ECMAScript integer-index enumeration. U+2028/U+2029 and non-ASCII scalar values are not escaped or Unicode-normalized.",
|
|
1113
|
+
"type": "object",
|
|
1114
|
+
"additionalProperties": false,
|
|
1115
|
+
"x-octo-unique-type-keys": true,
|
|
1116
|
+
"x-octo-max-json-bytes": 65536,
|
|
1117
|
+
"x-octo-max-json-depth": 32,
|
|
1118
|
+
"x-octo-unicode-scalar-strings": true,
|
|
1119
|
+
"required": ["schema", "items"],
|
|
1120
|
+
"properties": {
|
|
1121
|
+
"schema": {
|
|
1122
|
+
"const": "octo.context-envelope/v3"
|
|
1123
|
+
},
|
|
1124
|
+
"items": {
|
|
1125
|
+
"type": "array",
|
|
1126
|
+
"maxItems": 32,
|
|
1127
|
+
"items": {
|
|
1128
|
+
"$ref": "#/definitions/ContextItem"
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
"ContextConfiguration": {
|
|
1134
|
+
"title": "ContextConfiguration",
|
|
1135
|
+
"description": "Agent defaults and mandatory constraints, stored under one external configuration version. Authorized configuration writers may persist system instructions in mandatory with text-only entries. Ephemeral business content and default-layer instructions are forbidden; callers cannot submit trusted control instructions.",
|
|
1136
|
+
"type": "object",
|
|
1137
|
+
"additionalProperties": false,
|
|
1138
|
+
"required": ["defaults", "mandatory"],
|
|
1139
|
+
"properties": {
|
|
1140
|
+
"defaults": {
|
|
1141
|
+
"allOf": [
|
|
1142
|
+
{
|
|
1143
|
+
"$ref": "#/definitions/PersistentContextEnvelope"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"properties": {
|
|
1147
|
+
"items": {
|
|
1148
|
+
"items": {
|
|
1149
|
+
"not": {
|
|
1150
|
+
"properties": {
|
|
1151
|
+
"namespace": {
|
|
1152
|
+
"const": "octo.control"
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
],
|
|
1161
|
+
"tsType": "ContextEnvelope"
|
|
1162
|
+
},
|
|
1163
|
+
"mandatory": {
|
|
1164
|
+
"$ref": "#/definitions/PersistentContextEnvelope"
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
"RunContextProjection": {
|
|
1169
|
+
"title": "RunContextProjection",
|
|
1170
|
+
"description": "Public Context facts. Preparation is distinct from Adapter application or invocation. This projection excludes resource files, trusted instruction text, credentials and Runtime paths.",
|
|
1171
|
+
"type": "object",
|
|
1172
|
+
"additionalProperties": false,
|
|
1173
|
+
"required": [
|
|
1174
|
+
"run_id",
|
|
1175
|
+
"context_hash",
|
|
1176
|
+
"preparation_status",
|
|
1177
|
+
"application_status",
|
|
1178
|
+
"invocation_status",
|
|
1179
|
+
"execution",
|
|
1180
|
+
"model_uses_provider_default",
|
|
1181
|
+
"effort_uses_provider_default"
|
|
1182
|
+
],
|
|
1183
|
+
"properties": {
|
|
1184
|
+
"run_id": {
|
|
1185
|
+
"type": "string",
|
|
1186
|
+
"minLength": 1
|
|
1187
|
+
},
|
|
1188
|
+
"context_hash": {
|
|
1189
|
+
"type": "string",
|
|
1190
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
1191
|
+
},
|
|
1192
|
+
"actual_runtime_id": {
|
|
1193
|
+
"type": "string",
|
|
1194
|
+
"minLength": 1
|
|
1195
|
+
},
|
|
1196
|
+
"preparation_status": {
|
|
1197
|
+
"enum": ["unknown", "prepared"]
|
|
1198
|
+
},
|
|
1199
|
+
"application_status": {
|
|
1200
|
+
"enum": ["unknown", "applied"]
|
|
1201
|
+
},
|
|
1202
|
+
"invocation_status": {
|
|
1203
|
+
"const": "unknown"
|
|
1204
|
+
},
|
|
1205
|
+
"model_uses_provider_default": {
|
|
1206
|
+
"type": "boolean"
|
|
1207
|
+
},
|
|
1208
|
+
"effort_uses_provider_default": {
|
|
1209
|
+
"type": "boolean"
|
|
1210
|
+
},
|
|
1211
|
+
"object_materials": {
|
|
1212
|
+
"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.",
|
|
1213
|
+
"type": "array",
|
|
1214
|
+
"maxItems": 32,
|
|
1215
|
+
"items": {
|
|
1216
|
+
"$ref": "#/definitions/PublicObjectMaterial"
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
"execution": {
|
|
1220
|
+
"type": "object",
|
|
1221
|
+
"additionalProperties": false,
|
|
1222
|
+
"required": ["adapter_type", "approval_mode", "workspace_mode"],
|
|
1223
|
+
"properties": {
|
|
1224
|
+
"adapter_type": {
|
|
1225
|
+
"type": "string",
|
|
1226
|
+
"minLength": 1
|
|
1227
|
+
},
|
|
1228
|
+
"model": {
|
|
1229
|
+
"type": "string",
|
|
1230
|
+
"minLength": 1
|
|
1231
|
+
},
|
|
1232
|
+
"effort": {
|
|
1233
|
+
"type": "string",
|
|
1234
|
+
"minLength": 1
|
|
1235
|
+
},
|
|
1236
|
+
"approval_mode": {
|
|
1237
|
+
"enum": ["ask", "assisted", "full_access"]
|
|
1238
|
+
},
|
|
1239
|
+
"workspace_mode": {
|
|
1240
|
+
"enum": ["fixed", "random", "none"]
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"PublicObjectMaterial": {
|
|
1247
|
+
"type": "object",
|
|
1248
|
+
"additionalProperties": false,
|
|
1249
|
+
"required": ["resource_ref", "object_type", "origin", "byte_size", "digest"],
|
|
1250
|
+
"properties": {
|
|
1251
|
+
"resource_ref": {
|
|
1252
|
+
"type": "string",
|
|
1253
|
+
"pattern": "^selection-[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
|
|
1254
|
+
},
|
|
1255
|
+
"object_type": {
|
|
1256
|
+
"enum": [
|
|
1257
|
+
"task",
|
|
1258
|
+
"discussion",
|
|
1259
|
+
"discussion_comment",
|
|
1260
|
+
"discussion_reply",
|
|
1261
|
+
"local_file",
|
|
1262
|
+
"drive_file"
|
|
1263
|
+
]
|
|
1264
|
+
},
|
|
1265
|
+
"object_id": {
|
|
1266
|
+
"type": "string",
|
|
1267
|
+
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
|
|
1268
|
+
},
|
|
1269
|
+
"origin": {
|
|
1270
|
+
"enum": ["mention", "attachment", "object_action", "source_entity"]
|
|
1271
|
+
},
|
|
1272
|
+
"revision": {
|
|
1273
|
+
"type": "string",
|
|
1274
|
+
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
|
|
1275
|
+
},
|
|
1276
|
+
"byte_size": {
|
|
1277
|
+
"type": "integer",
|
|
1278
|
+
"minimum": 1,
|
|
1279
|
+
"maximum": 32768
|
|
1280
|
+
},
|
|
1281
|
+
"digest": {
|
|
1282
|
+
"type": "string",
|
|
1283
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
1284
|
+
},
|
|
1285
|
+
"object_scope": {
|
|
1286
|
+
"type": "object",
|
|
1287
|
+
"additionalProperties": false,
|
|
1288
|
+
"required": ["type", "id"],
|
|
1289
|
+
"properties": {
|
|
1290
|
+
"type": {
|
|
1291
|
+
"enum": ["user", "teamspace"]
|
|
1292
|
+
},
|
|
1293
|
+
"id": {
|
|
1294
|
+
"type": "string",
|
|
1295
|
+
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:@-]{0,190}$"
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
"selector": {
|
|
1300
|
+
"type": "object",
|
|
1301
|
+
"additionalProperties": false,
|
|
1302
|
+
"required": ["mode"],
|
|
1303
|
+
"properties": {
|
|
1304
|
+
"mode": {
|
|
1305
|
+
"enum": ["core", "content", "history", "chain", "metadata"]
|
|
1306
|
+
},
|
|
1307
|
+
"start": {
|
|
1308
|
+
"type": "integer",
|
|
1309
|
+
"minimum": 0,
|
|
1310
|
+
"maximum": 9007199254740991
|
|
1311
|
+
},
|
|
1312
|
+
"end": {
|
|
1313
|
+
"type": "integer",
|
|
1314
|
+
"minimum": 0,
|
|
1315
|
+
"maximum": 9007199254740991
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
"allOf": [
|
|
1321
|
+
{
|
|
1322
|
+
"if": {
|
|
1323
|
+
"properties": {
|
|
1324
|
+
"object_type": {
|
|
1325
|
+
"const": "local_file"
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
},
|
|
1329
|
+
"then": {
|
|
1330
|
+
"not": {
|
|
1331
|
+
"required": ["object_id"]
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
"else": {
|
|
1335
|
+
"required": ["object_id"]
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
]
|
|
1339
|
+
},
|
|
1340
|
+
"ContextPreparationReceipt": {
|
|
1341
|
+
"title": "ContextPreparationReceipt",
|
|
1342
|
+
"description": "Workspace preparation for the current Run lease and frozen execution Context; it does not prove Provider use of model context.",
|
|
1343
|
+
"type": "object",
|
|
1344
|
+
"additionalProperties": false,
|
|
1345
|
+
"required": [
|
|
1346
|
+
"context_hash",
|
|
1347
|
+
"run_id",
|
|
1348
|
+
"lease_id",
|
|
1349
|
+
"fencing_token",
|
|
1350
|
+
"workspace_mode",
|
|
1351
|
+
"workspace_path",
|
|
1352
|
+
"provider_state_dir",
|
|
1353
|
+
"warnings"
|
|
1354
|
+
],
|
|
1355
|
+
"properties": {
|
|
1356
|
+
"context_hash": {
|
|
1357
|
+
"type": "string",
|
|
1358
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
1359
|
+
},
|
|
1360
|
+
"run_id": {
|
|
1361
|
+
"type": "string",
|
|
1362
|
+
"minLength": 1
|
|
1363
|
+
},
|
|
1364
|
+
"lease_id": {
|
|
1365
|
+
"type": "string",
|
|
1366
|
+
"minLength": 1
|
|
1367
|
+
},
|
|
1368
|
+
"fencing_token": {
|
|
1369
|
+
"type": "integer",
|
|
1370
|
+
"minimum": 1,
|
|
1371
|
+
"maximum": 9007199254740991
|
|
1372
|
+
},
|
|
1373
|
+
"workspace_mode": {
|
|
1374
|
+
"enum": ["fixed", "random", "none"]
|
|
1375
|
+
},
|
|
1376
|
+
"workspace_path": {
|
|
1377
|
+
"type": "string"
|
|
1378
|
+
},
|
|
1379
|
+
"provider_state_dir": {
|
|
1380
|
+
"type": "string"
|
|
1381
|
+
},
|
|
1382
|
+
"warnings": {
|
|
1383
|
+
"type": "array",
|
|
1384
|
+
"maxItems": 256,
|
|
1385
|
+
"items": {
|
|
1386
|
+
"type": "string",
|
|
1387
|
+
"maxLength": 4096
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
"PersistentContextEnvelope": {
|
|
1393
|
+
"allOf": [
|
|
1394
|
+
{
|
|
1395
|
+
"$ref": "#/definitions/ContextEnvelope"
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"properties": {
|
|
1399
|
+
"items": {
|
|
1400
|
+
"items": {
|
|
1401
|
+
"allOf": [
|
|
1402
|
+
{
|
|
1403
|
+
"not": {
|
|
1404
|
+
"properties": {
|
|
1405
|
+
"namespace": {
|
|
1406
|
+
"const": "octo.content"
|
|
1407
|
+
},
|
|
1408
|
+
"name": {
|
|
1409
|
+
"const": "inline"
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"anyOf": [
|
|
1416
|
+
{
|
|
1417
|
+
"properties": {
|
|
1418
|
+
"namespace": {
|
|
1419
|
+
"const": "octo.execution"
|
|
1420
|
+
},
|
|
1421
|
+
"name": {
|
|
1422
|
+
"const": "adapter"
|
|
1423
|
+
}
|
|
1424
|
+
}
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"properties": {
|
|
1428
|
+
"namespace": {
|
|
1429
|
+
"const": "octo.execution"
|
|
1430
|
+
},
|
|
1431
|
+
"name": {
|
|
1432
|
+
"const": "model"
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
"properties": {
|
|
1438
|
+
"namespace": {
|
|
1439
|
+
"const": "octo.execution"
|
|
1440
|
+
},
|
|
1441
|
+
"name": {
|
|
1442
|
+
"const": "workspace"
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"properties": {
|
|
1448
|
+
"namespace": {
|
|
1449
|
+
"const": "octo.execution"
|
|
1450
|
+
},
|
|
1451
|
+
"name": {
|
|
1452
|
+
"const": "limits"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"properties": {
|
|
1458
|
+
"namespace": {
|
|
1459
|
+
"const": "octo.runtime"
|
|
1460
|
+
},
|
|
1461
|
+
"name": {
|
|
1462
|
+
"const": "selection"
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"properties": {
|
|
1468
|
+
"namespace": {
|
|
1469
|
+
"const": "octo.security"
|
|
1470
|
+
},
|
|
1471
|
+
"name": {
|
|
1472
|
+
"const": "approval_policy"
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"properties": {
|
|
1478
|
+
"namespace": {
|
|
1479
|
+
"const": "octo.content"
|
|
1480
|
+
},
|
|
1481
|
+
"name": {
|
|
1482
|
+
"const": "inline"
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"properties": {
|
|
1488
|
+
"namespace": {
|
|
1489
|
+
"const": "octo.content"
|
|
1490
|
+
},
|
|
1491
|
+
"name": {
|
|
1492
|
+
"const": "references"
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"properties": {
|
|
1498
|
+
"namespace": {
|
|
1499
|
+
"const": "octo.control"
|
|
1500
|
+
},
|
|
1501
|
+
"name": {
|
|
1502
|
+
"const": "instructions"
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
]
|
|
1507
|
+
}
|
|
1508
|
+
]
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
],
|
|
1514
|
+
"tsType": "ContextEnvelope"
|
|
1515
|
+
},
|
|
1516
|
+
"ContextAdapterPayload": {
|
|
1517
|
+
"type": "object",
|
|
1518
|
+
"additionalProperties": false,
|
|
1519
|
+
"required": ["type"],
|
|
1520
|
+
"properties": {
|
|
1521
|
+
"type": {
|
|
1522
|
+
"type": "string",
|
|
1523
|
+
"minLength": 1
|
|
1524
|
+
},
|
|
1525
|
+
"provider_agent_id": {
|
|
1526
|
+
"type": "string",
|
|
1527
|
+
"pattern": "^[a-z0-9_][a-z0-9_-]{0,63}$"
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
"if": {
|
|
1531
|
+
"properties": {
|
|
1532
|
+
"type": {
|
|
1533
|
+
"const": "openclaw"
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
"then": {
|
|
1538
|
+
"required": ["provider_agent_id"]
|
|
1539
|
+
},
|
|
1540
|
+
"else": {
|
|
1541
|
+
"not": {
|
|
1542
|
+
"required": ["provider_agent_id"]
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
"ContextActmodePayload": {
|
|
1547
|
+
"type": "object",
|
|
1548
|
+
"additionalProperties": false,
|
|
1549
|
+
"required": ["mode"],
|
|
1550
|
+
"properties": {
|
|
1551
|
+
"mode": { "enum": ["default", "plan"] }
|
|
1552
|
+
}
|
|
1553
|
+
},
|
|
1554
|
+
"ExecutionEvidence": {
|
|
1555
|
+
"type": "object",
|
|
1556
|
+
"additionalProperties": false,
|
|
1557
|
+
"required": ["actmode"],
|
|
1558
|
+
"properties": {
|
|
1559
|
+
"actmode": {
|
|
1560
|
+
"type": "object",
|
|
1561
|
+
"additionalProperties": false,
|
|
1562
|
+
"required": ["requested", "effective", "status"],
|
|
1563
|
+
"properties": {
|
|
1564
|
+
"requested": { "enum": ["default", "plan"] },
|
|
1565
|
+
"effective": { "enum": ["default", "plan", null] },
|
|
1566
|
+
"status": { "enum": ["applied", "fallback", "unknown"] },
|
|
1567
|
+
"nativeMode": { "type": "string", "minLength": 1 },
|
|
1568
|
+
"reason": {
|
|
1569
|
+
"enum": ["provider_unsupported", "adapter_unmapped", "provider_unconfirmed"]
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
"ContextModelPayload": {
|
|
1576
|
+
"type": "object",
|
|
1577
|
+
"additionalProperties": false,
|
|
1578
|
+
"minProperties": 1,
|
|
1579
|
+
"properties": {
|
|
1580
|
+
"selection": {
|
|
1581
|
+
"$ref": "#/definitions/ContextModelSelectionPayload"
|
|
1582
|
+
},
|
|
1583
|
+
"reasoning": {
|
|
1584
|
+
"$ref": "#/definitions/ContextReasoningPayload"
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1588
|
+
"ContextReasoningPayload": {
|
|
1589
|
+
"type": "object",
|
|
1590
|
+
"additionalProperties": false,
|
|
1591
|
+
"properties": {
|
|
1592
|
+
"effort": {
|
|
1593
|
+
"type": "string",
|
|
1594
|
+
"minLength": 1
|
|
1595
|
+
},
|
|
1596
|
+
"use_provider_default": {
|
|
1597
|
+
"const": true
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1600
|
+
"oneOf": [
|
|
1601
|
+
{
|
|
1602
|
+
"required": ["effort"],
|
|
1603
|
+
"not": {
|
|
1604
|
+
"required": ["use_provider_default"]
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"required": ["use_provider_default"],
|
|
1609
|
+
"not": {
|
|
1610
|
+
"required": ["effort"]
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
]
|
|
1614
|
+
},
|
|
1615
|
+
"ContextWorkspacePayload": {
|
|
1616
|
+
"description": "fixed uses the supplied path; random creates a workspace on the AgentSession's first run and reuses it for subsequent runs; none delegates workspace ownership to a preset Agent.",
|
|
1617
|
+
"oneOf": [
|
|
1618
|
+
{
|
|
1619
|
+
"type": "object",
|
|
1620
|
+
"additionalProperties": false,
|
|
1621
|
+
"required": ["mode", "path"],
|
|
1622
|
+
"properties": {
|
|
1623
|
+
"mode": {
|
|
1624
|
+
"const": "fixed"
|
|
1625
|
+
},
|
|
1626
|
+
"path": {
|
|
1627
|
+
"type": "string",
|
|
1628
|
+
"minLength": 1
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"type": "object",
|
|
1634
|
+
"additionalProperties": false,
|
|
1635
|
+
"required": ["mode"],
|
|
1636
|
+
"properties": {
|
|
1637
|
+
"mode": {
|
|
1638
|
+
"const": "random"
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"type": "object",
|
|
1644
|
+
"required": ["mode"],
|
|
1645
|
+
"additionalProperties": false,
|
|
1646
|
+
"properties": {
|
|
1647
|
+
"mode": {
|
|
1648
|
+
"const": "none"
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
]
|
|
1653
|
+
},
|
|
1654
|
+
"ContextLimitsPayload": {
|
|
1655
|
+
"description": "Snake-case frozen watchdog limits, with the same bounds as RuntimeLimits. Legacy enforcement=observe cannot be combined with v2 settings.",
|
|
1656
|
+
"type": "object",
|
|
1657
|
+
"additionalProperties": false,
|
|
1658
|
+
"properties": {
|
|
1659
|
+
"first_frame_timeout_ms": {
|
|
1660
|
+
"type": "integer",
|
|
1661
|
+
"minimum": 100,
|
|
1662
|
+
"maximum": 1800000
|
|
1663
|
+
},
|
|
1664
|
+
"model_idle_timeout_ms": {
|
|
1665
|
+
"type": "integer",
|
|
1666
|
+
"minimum": 100,
|
|
1667
|
+
"maximum": 3600000
|
|
1668
|
+
},
|
|
1669
|
+
"model_idle_warning_ms": {
|
|
1670
|
+
"type": "integer",
|
|
1671
|
+
"minimum": 100,
|
|
1672
|
+
"maximum": 3600000
|
|
1673
|
+
},
|
|
1674
|
+
"model_idle_policy": {
|
|
1675
|
+
"enum": ["enforce", "observe"]
|
|
1676
|
+
},
|
|
1677
|
+
"tool_timeout_ms": {
|
|
1678
|
+
"type": "integer",
|
|
1679
|
+
"minimum": 100,
|
|
1680
|
+
"maximum": 86400000
|
|
1681
|
+
},
|
|
1682
|
+
"tool_wall_timeout_ms": {
|
|
1683
|
+
"type": "integer",
|
|
1684
|
+
"minimum": 100,
|
|
1685
|
+
"maximum": 86400000
|
|
1686
|
+
},
|
|
1687
|
+
"run_timeout_ms": {
|
|
1688
|
+
"type": "integer",
|
|
1689
|
+
"minimum": 100,
|
|
1690
|
+
"maximum": 86400000
|
|
1691
|
+
},
|
|
1692
|
+
"cancel_grace_ms": {
|
|
1693
|
+
"type": "integer",
|
|
1694
|
+
"minimum": 100,
|
|
1695
|
+
"maximum": 60000
|
|
1696
|
+
},
|
|
1697
|
+
"enforcement": {
|
|
1698
|
+
"enum": ["enforce", "observe"]
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
1701
|
+
"if": {
|
|
1702
|
+
"required": ["enforcement"],
|
|
1703
|
+
"properties": {
|
|
1704
|
+
"enforcement": {
|
|
1705
|
+
"const": "observe"
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
},
|
|
1709
|
+
"then": {
|
|
1710
|
+
"not": {
|
|
1711
|
+
"anyOf": [
|
|
1712
|
+
{
|
|
1713
|
+
"required": ["model_idle_policy"]
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"required": ["model_idle_warning_ms"]
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"required": ["tool_wall_timeout_ms"]
|
|
1720
|
+
}
|
|
1721
|
+
]
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
},
|
|
1725
|
+
"ContextRuntimeSelectionPayload": {
|
|
1726
|
+
"type": "object",
|
|
1727
|
+
"additionalProperties": false,
|
|
1728
|
+
"required": ["mode"],
|
|
1729
|
+
"properties": {
|
|
1730
|
+
"mode": {
|
|
1731
|
+
"enum": ["candidates", "explicit"]
|
|
1732
|
+
},
|
|
1733
|
+
"runtime_id": {
|
|
1734
|
+
"type": "string",
|
|
1735
|
+
"minLength": 1
|
|
1736
|
+
},
|
|
1737
|
+
"runtime_ids": {
|
|
1738
|
+
"type": "array",
|
|
1739
|
+
"minItems": 1,
|
|
1740
|
+
"maxItems": 64,
|
|
1741
|
+
"uniqueItems": true,
|
|
1742
|
+
"items": {
|
|
1743
|
+
"type": "string",
|
|
1744
|
+
"minLength": 1
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
"strategy": {
|
|
1748
|
+
"const": "preferred_failover"
|
|
1749
|
+
},
|
|
1750
|
+
"offline_behavior": {
|
|
1751
|
+
"enum": ["wait", "fail"]
|
|
1752
|
+
},
|
|
1753
|
+
"failover": {
|
|
1754
|
+
"enum": ["candidates", "none"]
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
"oneOf": [
|
|
1758
|
+
{
|
|
1759
|
+
"properties": {
|
|
1760
|
+
"mode": {
|
|
1761
|
+
"const": "candidates"
|
|
1762
|
+
}
|
|
1763
|
+
},
|
|
1764
|
+
"required": ["runtime_ids", "strategy"],
|
|
1765
|
+
"not": {
|
|
1766
|
+
"required": ["runtime_id"]
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"properties": {
|
|
1771
|
+
"mode": {
|
|
1772
|
+
"const": "explicit"
|
|
1773
|
+
}
|
|
1774
|
+
},
|
|
1775
|
+
"required": ["runtime_id"],
|
|
1776
|
+
"not": {
|
|
1777
|
+
"anyOf": [
|
|
1778
|
+
{
|
|
1779
|
+
"required": ["runtime_ids"]
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
"required": ["strategy"]
|
|
1783
|
+
}
|
|
1784
|
+
]
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
]
|
|
1788
|
+
},
|
|
1789
|
+
"ContextApprovalPolicyPayload": {
|
|
1790
|
+
"type": "object",
|
|
1791
|
+
"additionalProperties": false,
|
|
1792
|
+
"required": ["mode"],
|
|
1793
|
+
"properties": {
|
|
1794
|
+
"mode": {
|
|
1795
|
+
"$ref": "#/definitions/ApprovalMode"
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
},
|
|
1799
|
+
"ContextSelectionEntry": {
|
|
1800
|
+
"description": "Untrusted inline selection text with optional resource reference, source metadata and summary. Source metadata is not an authorization claim.",
|
|
1801
|
+
"type": "object",
|
|
1802
|
+
"additionalProperties": false,
|
|
1803
|
+
"required": ["text"],
|
|
1804
|
+
"properties": {
|
|
1805
|
+
"text": {
|
|
1806
|
+
"type": "string",
|
|
1807
|
+
"minLength": 1
|
|
1808
|
+
},
|
|
1809
|
+
"resource_ref": {
|
|
1810
|
+
"type": "string",
|
|
1811
|
+
"minLength": 1
|
|
1812
|
+
},
|
|
1813
|
+
"source": {
|
|
1814
|
+
"type": ["object", "string"],
|
|
1815
|
+
"additionalProperties": true
|
|
1816
|
+
},
|
|
1817
|
+
"summary": {
|
|
1818
|
+
"type": "string"
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
},
|
|
1822
|
+
"ContextResourceEntry": {
|
|
1823
|
+
"description": "Declarative MCP resource operation. Only deployed scoped operations may execute; schema validation does not authorize access.",
|
|
1824
|
+
"type": "object",
|
|
1825
|
+
"additionalProperties": false,
|
|
1826
|
+
"required": ["resource_ref", "resolver", "locator"],
|
|
1827
|
+
"properties": {
|
|
1828
|
+
"resource_ref": {
|
|
1829
|
+
"type": "string",
|
|
1830
|
+
"minLength": 1
|
|
1831
|
+
},
|
|
1832
|
+
"resolver": {
|
|
1833
|
+
"const": "mcp"
|
|
1834
|
+
},
|
|
1835
|
+
"locator": {
|
|
1836
|
+
"type": "object"
|
|
1837
|
+
},
|
|
1838
|
+
"params": {
|
|
1839
|
+
"description": "Frozen non-secret JSON parameters supplied by the authenticated resolver plan, not model-generated commands.",
|
|
1840
|
+
"type": "object",
|
|
1841
|
+
"additionalProperties": true,
|
|
1842
|
+
"tsType": "Record<string, unknown>"
|
|
1843
|
+
},
|
|
1844
|
+
"authorization_ref": {
|
|
1845
|
+
"type": "string",
|
|
1846
|
+
"minLength": 1
|
|
1847
|
+
},
|
|
1848
|
+
"revision": {
|
|
1849
|
+
"type": "string",
|
|
1850
|
+
"minLength": 1
|
|
1851
|
+
}
|
|
1852
|
+
},
|
|
1853
|
+
"allOf": [
|
|
1854
|
+
{
|
|
1855
|
+
"properties": {
|
|
1856
|
+
"locator": {
|
|
1857
|
+
"$ref": "#/definitions/ContextMcpLocator"
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
]
|
|
1862
|
+
},
|
|
1863
|
+
"ContextMcpLocator": {
|
|
1864
|
+
"type": "object",
|
|
1865
|
+
"additionalProperties": false,
|
|
1866
|
+
"required": ["server_ref", "tool"],
|
|
1867
|
+
"properties": {
|
|
1868
|
+
"server_ref": {
|
|
1869
|
+
"type": "string",
|
|
1870
|
+
"minLength": 1
|
|
1871
|
+
},
|
|
1872
|
+
"tool": {
|
|
1873
|
+
"type": "string",
|
|
1874
|
+
"minLength": 1
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
},
|
|
1878
|
+
"ContextInstructionEntry": {
|
|
1879
|
+
"description": "Control instruction containing only non-empty text. Authorization belongs to the authenticated upstream boundary, not to a caller-supplied source label.",
|
|
1880
|
+
"type": "object",
|
|
1881
|
+
"additionalProperties": false,
|
|
1882
|
+
"required": ["text"],
|
|
1883
|
+
"properties": {
|
|
1884
|
+
"text": {
|
|
1885
|
+
"type": "string",
|
|
1886
|
+
"minLength": 1
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
},
|
|
1890
|
+
"ContextInstructionsPayload": {
|
|
1891
|
+
"type": "object",
|
|
1892
|
+
"additionalProperties": false,
|
|
1893
|
+
"required": ["entries"],
|
|
1894
|
+
"properties": {
|
|
1895
|
+
"entries": {
|
|
1896
|
+
"type": "array",
|
|
1897
|
+
"items": {
|
|
1898
|
+
"$ref": "#/definitions/ContextInstructionEntry"
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
"ContextContinuityPayload": {
|
|
1904
|
+
"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.",
|
|
1905
|
+
"x-octo-matching-trigger-fields": true,
|
|
1906
|
+
"allOf": [
|
|
1907
|
+
{
|
|
1908
|
+
"$ref": "#/definitions/ChannelContextDescriptor"
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"properties": {
|
|
1912
|
+
"session_generation": {
|
|
1913
|
+
"maximum": 9007199254740991
|
|
1914
|
+
},
|
|
1915
|
+
"trigger_seq": {
|
|
1916
|
+
"maximum": 9007199254740991
|
|
1917
|
+
},
|
|
1918
|
+
"trigger_fact": {
|
|
1919
|
+
"properties": {
|
|
1920
|
+
"message_seq": {
|
|
1921
|
+
"maximum": 9007199254740991
|
|
1922
|
+
},
|
|
1923
|
+
"occurred_at_ms": {
|
|
1924
|
+
"maximum": 9007199254740991
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
]
|
|
1931
|
+
},
|
|
1932
|
+
"ResolvedRuntimeSelection": {
|
|
1933
|
+
"title": "ResolvedRuntimeSelection",
|
|
1934
|
+
"description": "Worker-frozen Context runtime candidates. Explicit selection cannot fail over.",
|
|
1935
|
+
"x-octo-unicode-scalar-strings": true,
|
|
1936
|
+
"x-octo-runtime-selection-invariants": true,
|
|
1937
|
+
"type": "object",
|
|
1938
|
+
"additionalProperties": false,
|
|
1939
|
+
"required": [
|
|
1940
|
+
"schema",
|
|
1941
|
+
"selection_mode",
|
|
1942
|
+
"authorized_candidates",
|
|
1943
|
+
"offline_behavior",
|
|
1944
|
+
"failover"
|
|
1945
|
+
],
|
|
1946
|
+
"properties": {
|
|
1947
|
+
"schema": {
|
|
1948
|
+
"const": "octo.runtime-selection/v2"
|
|
1949
|
+
},
|
|
1950
|
+
"selection_mode": {
|
|
1951
|
+
"enum": ["explicit", "candidates"]
|
|
1952
|
+
},
|
|
1953
|
+
"explicit_runtime_id": {
|
|
1954
|
+
"type": "string",
|
|
1955
|
+
"minLength": 1,
|
|
1956
|
+
"maxLength": 191
|
|
1957
|
+
},
|
|
1958
|
+
"authorized_candidates": {
|
|
1959
|
+
"type": "array",
|
|
1960
|
+
"minItems": 1,
|
|
1961
|
+
"maxItems": 64,
|
|
1962
|
+
"items": {
|
|
1963
|
+
"type": "object",
|
|
1964
|
+
"additionalProperties": false,
|
|
1965
|
+
"required": ["runtime_id", "priority", "owner_subject_type", "owner_subject_id"],
|
|
1966
|
+
"properties": {
|
|
1967
|
+
"runtime_id": {
|
|
1968
|
+
"type": "string",
|
|
1969
|
+
"minLength": 1,
|
|
1970
|
+
"maxLength": 191
|
|
1971
|
+
},
|
|
1972
|
+
"priority": {
|
|
1973
|
+
"type": "integer",
|
|
1974
|
+
"minimum": 1,
|
|
1975
|
+
"maximum": 9007199254740991
|
|
1976
|
+
},
|
|
1977
|
+
"owner_subject_type": {
|
|
1978
|
+
"enum": ["user", "teamspace"]
|
|
1979
|
+
},
|
|
1980
|
+
"owner_subject_id": {
|
|
1981
|
+
"type": "string",
|
|
1982
|
+
"minLength": 1,
|
|
1983
|
+
"maxLength": 191
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
},
|
|
1988
|
+
"offline_behavior": {
|
|
1989
|
+
"enum": ["wait", "fail"]
|
|
1990
|
+
},
|
|
1991
|
+
"failover": {
|
|
1992
|
+
"enum": ["candidates", "none"]
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
"allOf": [
|
|
1996
|
+
{
|
|
1997
|
+
"if": {
|
|
1998
|
+
"properties": {
|
|
1999
|
+
"selection_mode": {
|
|
2000
|
+
"const": "explicit"
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
},
|
|
2004
|
+
"then": {
|
|
2005
|
+
"required": ["explicit_runtime_id"],
|
|
2006
|
+
"properties": {
|
|
2007
|
+
"authorized_candidates": {
|
|
2008
|
+
"maxItems": 1
|
|
2009
|
+
},
|
|
2010
|
+
"failover": {
|
|
2011
|
+
"const": "none"
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
"else": {
|
|
2016
|
+
"not": {
|
|
2017
|
+
"required": ["explicit_runtime_id"]
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
]
|
|
2022
|
+
},
|
|
2023
|
+
"ResolvedExecutionPlan": {
|
|
2024
|
+
"title": "ResolvedExecutionPlan",
|
|
2025
|
+
"x-octo-unicode-scalar-strings": true,
|
|
2026
|
+
"type": "object",
|
|
2027
|
+
"additionalProperties": false,
|
|
2028
|
+
"required": ["agent_source", "adapter_type", "workdir", "approval_mode"],
|
|
2029
|
+
"properties": {
|
|
2030
|
+
"actmode": { "enum": ["default", "plan"] },
|
|
2031
|
+
"adapter_type": {
|
|
2032
|
+
"type": "string",
|
|
2033
|
+
"minLength": 1
|
|
2034
|
+
},
|
|
2035
|
+
"workdir": {
|
|
2036
|
+
"type": "string"
|
|
2037
|
+
},
|
|
2038
|
+
"workspace": {
|
|
2039
|
+
"$ref": "#/definitions/ContextWorkspacePayload"
|
|
2040
|
+
},
|
|
2041
|
+
"model": {
|
|
2042
|
+
"type": "string",
|
|
2043
|
+
"minLength": 1
|
|
2044
|
+
},
|
|
2045
|
+
"effort": {
|
|
2046
|
+
"type": "string",
|
|
2047
|
+
"minLength": 1
|
|
2048
|
+
},
|
|
2049
|
+
"approval_mode": {
|
|
2050
|
+
"$ref": "#/definitions/ApprovalMode"
|
|
2051
|
+
},
|
|
2052
|
+
"runtime_limits": {
|
|
2053
|
+
"$ref": "#/definitions/ContextLimitsPayload"
|
|
2054
|
+
},
|
|
2055
|
+
"provider_agent_id": {
|
|
2056
|
+
"type": "string",
|
|
2057
|
+
"pattern": "^[a-z0-9_][a-z0-9_-]{0,63}$"
|
|
2058
|
+
},
|
|
2059
|
+
"agent_source": {
|
|
2060
|
+
"$ref": "#/definitions/AgentSource"
|
|
2061
|
+
},
|
|
2062
|
+
"envs": {
|
|
2063
|
+
"$ref": "#/definitions/ContextEnvsPayload"
|
|
2064
|
+
},
|
|
2065
|
+
"mcp": {
|
|
2066
|
+
"$ref": "#/definitions/ContextMcpPayload"
|
|
2067
|
+
}
|
|
2068
|
+
},
|
|
2069
|
+
"if": {
|
|
2070
|
+
"properties": {
|
|
2071
|
+
"agent_source": {
|
|
2072
|
+
"const": "provisioned"
|
|
2073
|
+
},
|
|
2074
|
+
"workdir": {
|
|
2075
|
+
"const": ""
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
"required": ["agent_source", "workdir"]
|
|
2079
|
+
},
|
|
2080
|
+
"then": {
|
|
2081
|
+
"required": ["workspace"],
|
|
2082
|
+
"properties": {
|
|
2083
|
+
"workspace": {
|
|
2084
|
+
"properties": {
|
|
2085
|
+
"mode": {
|
|
2086
|
+
"const": "random"
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
},
|
|
2092
|
+
"allOf": [
|
|
2093
|
+
{
|
|
2094
|
+
"if": {
|
|
2095
|
+
"properties": {
|
|
2096
|
+
"adapter_type": {
|
|
2097
|
+
"const": "openclaw"
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
},
|
|
2101
|
+
"then": {
|
|
2102
|
+
"required": ["provider_agent_id"]
|
|
2103
|
+
},
|
|
2104
|
+
"else": {
|
|
2105
|
+
"not": {
|
|
2106
|
+
"required": ["provider_agent_id"]
|
|
2107
|
+
}
|
|
2108
|
+
}
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"if": {
|
|
2112
|
+
"properties": {
|
|
2113
|
+
"agent_source": {
|
|
2114
|
+
"const": "preset"
|
|
2115
|
+
}
|
|
2116
|
+
},
|
|
2117
|
+
"required": ["agent_source"]
|
|
2118
|
+
},
|
|
2119
|
+
"then": {
|
|
2120
|
+
"required": ["provider_agent_id"]
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
]
|
|
2124
|
+
},
|
|
2125
|
+
"MessageChannel": {
|
|
2126
|
+
"title": "MessageChannel",
|
|
2127
|
+
"description": "Provider-neutral assistant output channel. analysis is reasoning-class content gated by exposure; commentary is public in-run progress; final is answer content delivered only after the Run reaches a completed terminal state.",
|
|
2128
|
+
"type": "string",
|
|
2129
|
+
"enum": ["analysis", "commentary", "final"]
|
|
2130
|
+
},
|
|
2131
|
+
"MessageExposure": {
|
|
2132
|
+
"title": "MessageExposure",
|
|
2133
|
+
"description": "Adapter-authenticated classification of analysis content. public_reasoning, public_summary, and public_plan may enter a public Presentation; missing values are unknown.",
|
|
2134
|
+
"type": "string",
|
|
2135
|
+
"enum": ["public_reasoning", "public_summary", "public_plan", "private_reasoning", "unknown"]
|
|
2136
|
+
},
|
|
2137
|
+
"MessageProvenance": {
|
|
2138
|
+
"title": "MessageProvenance",
|
|
2139
|
+
"description": "Provider-native provenance written by the adapter. Audience projectors use it to audit public exposure and clients cannot override it.",
|
|
2140
|
+
"type": "object",
|
|
2141
|
+
"additionalProperties": false,
|
|
2142
|
+
"required": ["provider", "nativeEvent"],
|
|
2143
|
+
"properties": {
|
|
2144
|
+
"provider": {
|
|
2145
|
+
"description": "Adapter or provider type that produced the message.",
|
|
2146
|
+
"type": "string"
|
|
2147
|
+
},
|
|
2148
|
+
"nativeEvent": {
|
|
2149
|
+
"description": "Provider-native event type that was normalized.",
|
|
2150
|
+
"type": "string"
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
"FailureAction": {
|
|
2155
|
+
"title": "FailureAction",
|
|
2156
|
+
"description": "A catalog-controlled recovery action. Clients render labelKey and must not execute arbitrary commands from this object.",
|
|
2157
|
+
"type": "object",
|
|
2158
|
+
"additionalProperties": false,
|
|
2159
|
+
"required": ["type", "labelKey"],
|
|
2160
|
+
"properties": {
|
|
2161
|
+
"type": {
|
|
2162
|
+
"type": "string",
|
|
2163
|
+
"enum": [
|
|
2164
|
+
"retry",
|
|
2165
|
+
"retry_later",
|
|
2166
|
+
"update_credentials",
|
|
2167
|
+
"change_model",
|
|
2168
|
+
"check_runtime",
|
|
2169
|
+
"install_dependency",
|
|
2170
|
+
"fix_permissions",
|
|
2171
|
+
"contact_admin"
|
|
2172
|
+
]
|
|
2173
|
+
},
|
|
2174
|
+
"labelKey": {
|
|
2175
|
+
"type": "string",
|
|
2176
|
+
"minLength": 1
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
},
|
|
2180
|
+
"FailureSource": {
|
|
2181
|
+
"title": "FailureSource",
|
|
2182
|
+
"description": "Low-cardinality component identity. It intentionally excludes hostnames, paths, accounts, and tenant data.",
|
|
2183
|
+
"type": "object",
|
|
2184
|
+
"additionalProperties": false,
|
|
2185
|
+
"required": ["component"],
|
|
2186
|
+
"properties": {
|
|
2187
|
+
"component": {
|
|
2188
|
+
"type": "string",
|
|
2189
|
+
"enum": ["octo-runtime", "octo-agent-worker"]
|
|
2190
|
+
},
|
|
2191
|
+
"adapter": {
|
|
2192
|
+
"type": "string",
|
|
2193
|
+
"minLength": 1,
|
|
2194
|
+
"maxLength": 128
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
|
+
"FailureCause": {
|
|
2199
|
+
"title": "FailureCause",
|
|
2200
|
+
"description": "Sanitized machine-readable root cause. Raw stderr, response bodies, paths, and credentials are forbidden.",
|
|
2201
|
+
"type": "object",
|
|
2202
|
+
"additionalProperties": false,
|
|
2203
|
+
"required": ["reasonCode"],
|
|
2204
|
+
"properties": {
|
|
2205
|
+
"reasonCode": {
|
|
2206
|
+
"type": "string",
|
|
2207
|
+
"minLength": 1,
|
|
2208
|
+
"maxLength": 128
|
|
2209
|
+
},
|
|
2210
|
+
"httpStatus": {
|
|
2211
|
+
"type": "integer",
|
|
2212
|
+
"minimum": 100,
|
|
2213
|
+
"maximum": 599
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
},
|
|
2217
|
+
"FailureEnvelope": {
|
|
2218
|
+
"title": "FailureEnvelope",
|
|
2219
|
+
"description": "Versioned, safe failure fact shared by Runtime, Worker, and channel projectors. Public codes are immutable catalog identifiers; dynamic diagnostics stay outside this object.",
|
|
2220
|
+
"type": "object",
|
|
2221
|
+
"additionalProperties": false,
|
|
2222
|
+
"required": [
|
|
2223
|
+
"schemaVersion",
|
|
2224
|
+
"code",
|
|
2225
|
+
"reasonCode",
|
|
2226
|
+
"category",
|
|
2227
|
+
"stage",
|
|
2228
|
+
"messageKey",
|
|
2229
|
+
"params",
|
|
2230
|
+
"retryable",
|
|
2231
|
+
"action",
|
|
2232
|
+
"diagnosticId",
|
|
2233
|
+
"source",
|
|
2234
|
+
"occurredAt"
|
|
2235
|
+
],
|
|
2236
|
+
"properties": {
|
|
2237
|
+
"schemaVersion": {
|
|
2238
|
+
"type": "integer",
|
|
2239
|
+
"const": 1
|
|
2240
|
+
},
|
|
2241
|
+
"code": {
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"pattern": "^OH-[A-Z]{3}-[0-9]{4}$"
|
|
2244
|
+
},
|
|
2245
|
+
"reasonCode": {
|
|
2246
|
+
"type": "string",
|
|
2247
|
+
"minLength": 1,
|
|
2248
|
+
"maxLength": 128
|
|
2249
|
+
},
|
|
2250
|
+
"category": {
|
|
2251
|
+
"type": "string",
|
|
2252
|
+
"minLength": 1,
|
|
2253
|
+
"maxLength": 64
|
|
2254
|
+
},
|
|
2255
|
+
"stage": {
|
|
2256
|
+
"type": "string",
|
|
2257
|
+
"minLength": 1,
|
|
2258
|
+
"maxLength": 128
|
|
2259
|
+
},
|
|
2260
|
+
"messageKey": {
|
|
2261
|
+
"type": "string",
|
|
2262
|
+
"minLength": 1,
|
|
2263
|
+
"maxLength": 128
|
|
2264
|
+
},
|
|
2265
|
+
"params": {
|
|
2266
|
+
"type": "object",
|
|
2267
|
+
"description": "Catalog-allowlisted presentation parameters only.",
|
|
2268
|
+
"additionalProperties": {
|
|
2269
|
+
"type": ["string", "number", "boolean"]
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
"retryable": {
|
|
2273
|
+
"type": "boolean"
|
|
2274
|
+
},
|
|
2275
|
+
"retryAfterMs": {
|
|
2276
|
+
"type": "integer",
|
|
2277
|
+
"minimum": 0
|
|
2278
|
+
},
|
|
2279
|
+
"action": {
|
|
2280
|
+
"$ref": "#/definitions/FailureAction"
|
|
2281
|
+
},
|
|
2282
|
+
"diagnosticId": {
|
|
2283
|
+
"type": "string",
|
|
2284
|
+
"pattern": "^diag_[0-9a-f]{32}$"
|
|
2285
|
+
},
|
|
2286
|
+
"source": {
|
|
2287
|
+
"$ref": "#/definitions/FailureSource"
|
|
2288
|
+
},
|
|
2289
|
+
"cause": {
|
|
2290
|
+
"$ref": "#/definitions/FailureCause"
|
|
2291
|
+
},
|
|
2292
|
+
"occurredAt": {
|
|
2293
|
+
"type": "string",
|
|
2294
|
+
"format": "date-time"
|
|
2295
|
+
}
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
"ProviderSession": {
|
|
2299
|
+
"title": "ProviderSession",
|
|
2300
|
+
"description": "Provider-owned session resume data. Core treats sessionId and adapter extension fields as opaque.",
|
|
2301
|
+
"type": "object",
|
|
2302
|
+
"additionalProperties": true,
|
|
2303
|
+
"required": ["sessionId"],
|
|
2304
|
+
"properties": {
|
|
2305
|
+
"sessionId": {
|
|
2306
|
+
"description": "Opaque provider session identifier.",
|
|
2307
|
+
"type": "string"
|
|
2308
|
+
},
|
|
2309
|
+
"resumable": {
|
|
2310
|
+
"description": "Whether the provider declares that later invocations can resume this session.",
|
|
2311
|
+
"type": "boolean"
|
|
2312
|
+
},
|
|
2313
|
+
"resumeOutcome": {
|
|
2314
|
+
"description": "Continuity outcome for this session update. Compaction applies to the next turn; fresh fallback applies to the current turn.",
|
|
2315
|
+
"type": "string",
|
|
2316
|
+
"enum": ["new", "resumed", "fresh_fallback", "compacted"]
|
|
2317
|
+
},
|
|
2318
|
+
"resumeFallback": {
|
|
2319
|
+
"description": "Low-cardinality reason for a fresh resume fallback.",
|
|
2320
|
+
"type": "string"
|
|
2321
|
+
},
|
|
2322
|
+
"contextInputVariant": {
|
|
2323
|
+
"description": "Frozen context input variant actually selected for the current provider turn.",
|
|
2324
|
+
"type": "string",
|
|
2325
|
+
"enum": ["primary", "recovery"]
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
},
|
|
2329
|
+
"RuntimeLimits": {
|
|
2330
|
+
"title": "RuntimeLimits",
|
|
2331
|
+
"description": "Runtime-owned phase-aware invocation watchdog budgets.",
|
|
2332
|
+
"type": "object",
|
|
2333
|
+
"additionalProperties": false,
|
|
2334
|
+
"properties": {
|
|
2335
|
+
"firstFrameTimeoutMs": {
|
|
2336
|
+
"type": "integer",
|
|
2337
|
+
"minimum": 100,
|
|
2338
|
+
"maximum": 1800000
|
|
2339
|
+
},
|
|
2340
|
+
"modelIdleTimeoutMs": {
|
|
2341
|
+
"type": "integer",
|
|
2342
|
+
"minimum": 100,
|
|
2343
|
+
"maximum": 3600000
|
|
2344
|
+
},
|
|
2345
|
+
"modelIdleWarningMs": {
|
|
2346
|
+
"type": "integer",
|
|
2347
|
+
"minimum": 100,
|
|
2348
|
+
"maximum": 3600000
|
|
2349
|
+
},
|
|
2350
|
+
"modelIdlePolicy": {
|
|
2351
|
+
"type": "string",
|
|
2352
|
+
"enum": ["observe", "enforce"]
|
|
2353
|
+
},
|
|
2354
|
+
"toolTimeoutMs": {
|
|
2355
|
+
"type": "integer",
|
|
2356
|
+
"minimum": 100,
|
|
2357
|
+
"maximum": 86400000
|
|
2358
|
+
},
|
|
2359
|
+
"toolWallTimeoutMs": {
|
|
2360
|
+
"type": "integer",
|
|
2361
|
+
"minimum": 100,
|
|
2362
|
+
"maximum": 86400000
|
|
2363
|
+
},
|
|
2364
|
+
"runTimeoutMs": {
|
|
2365
|
+
"type": "integer",
|
|
2366
|
+
"minimum": 100,
|
|
2367
|
+
"maximum": 86400000
|
|
2368
|
+
},
|
|
2369
|
+
"cancelGraceMs": {
|
|
2370
|
+
"type": "integer",
|
|
2371
|
+
"minimum": 100,
|
|
2372
|
+
"maximum": 60000
|
|
2373
|
+
},
|
|
2374
|
+
"enforcement": {
|
|
2375
|
+
"type": "string",
|
|
2376
|
+
"enum": ["observe", "enforce"]
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
},
|
|
2380
|
+
"AgentConfig": {
|
|
2381
|
+
"title": "AgentConfig",
|
|
2382
|
+
"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.",
|
|
2383
|
+
"type": "object",
|
|
2384
|
+
"additionalProperties": true,
|
|
2385
|
+
"not": {
|
|
2386
|
+
"anyOf": [
|
|
2387
|
+
{
|
|
2388
|
+
"required": ["permissionMode"]
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"required": ["autoApprove"]
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
"required": ["dangerouslyBypassPermissions"]
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"required": ["thinking"]
|
|
2398
|
+
}
|
|
2399
|
+
]
|
|
2400
|
+
},
|
|
2401
|
+
"properties": {
|
|
2402
|
+
"workdir": {
|
|
2403
|
+
"description": "Default provider CLI working directory. It is a cwd, not a filesystem security boundary.",
|
|
2404
|
+
"type": "string"
|
|
2405
|
+
},
|
|
2406
|
+
"model": {
|
|
2407
|
+
"description": "Model identifier.",
|
|
2408
|
+
"type": "string"
|
|
2409
|
+
},
|
|
2410
|
+
"sandbox": {
|
|
2411
|
+
"description": "Provider sandbox mode identifier.",
|
|
2412
|
+
"type": "string"
|
|
2413
|
+
},
|
|
2414
|
+
"providerAgentId": {
|
|
2415
|
+
"description": "Provider-side agent identifier.",
|
|
2416
|
+
"type": "string"
|
|
2417
|
+
},
|
|
2418
|
+
"effort": {
|
|
2419
|
+
"description": "Optional provider reasoning effort identifier. Provider adapters may define an explicit default.",
|
|
2420
|
+
"type": "string"
|
|
2421
|
+
},
|
|
2422
|
+
"timeoutSeconds": {
|
|
2423
|
+
"description": "Invocation timeout in seconds.",
|
|
2424
|
+
"type": "number"
|
|
2425
|
+
},
|
|
2426
|
+
"openclawConfigPath": {
|
|
2427
|
+
"description": "OpenClaw configuration path.",
|
|
2428
|
+
"type": "string"
|
|
2429
|
+
},
|
|
2430
|
+
"openclawStateDir": {
|
|
2431
|
+
"description": "OpenClaw state directory.",
|
|
2432
|
+
"type": "string"
|
|
2433
|
+
},
|
|
2434
|
+
"providerOptions": {
|
|
2435
|
+
"description": "Provider-specific extension options passed through unchanged by Core.",
|
|
2436
|
+
"type": "object",
|
|
2437
|
+
"additionalProperties": true,
|
|
2438
|
+
"tsType": "Record<string, unknown>"
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
},
|
|
2442
|
+
"CanonicalEventPayload": {
|
|
2443
|
+
"title": "CanonicalEventPayload",
|
|
2444
|
+
"description": "Shared canonical event payload. The open dictionary carries structured tool, surface, and usage fields while common lifecycle fields remain explicit.",
|
|
2445
|
+
"type": "object",
|
|
2446
|
+
"additionalProperties": true,
|
|
2447
|
+
"properties": {
|
|
2448
|
+
"providerSession": {
|
|
2449
|
+
"$ref": "#/definitions/ProviderSession"
|
|
2450
|
+
},
|
|
2451
|
+
"channel": {
|
|
2452
|
+
"$ref": "#/definitions/MessageChannel"
|
|
2453
|
+
},
|
|
2454
|
+
"exposure": {
|
|
2455
|
+
"$ref": "#/definitions/MessageExposure"
|
|
2456
|
+
},
|
|
2457
|
+
"provenance": {
|
|
2458
|
+
"$ref": "#/definitions/MessageProvenance"
|
|
2459
|
+
},
|
|
2460
|
+
"messageId": {
|
|
2461
|
+
"description": "Stable message identifier.",
|
|
2462
|
+
"type": "string"
|
|
2463
|
+
},
|
|
2464
|
+
"stepId": {
|
|
2465
|
+
"description": "Stable model-step identifier used to associate messages and tool calls with one provider turn.",
|
|
2466
|
+
"type": "string"
|
|
2467
|
+
},
|
|
2468
|
+
"role": {
|
|
2469
|
+
"description": "Message role, such as assistant.",
|
|
2470
|
+
"type": "string"
|
|
2471
|
+
},
|
|
2472
|
+
"status": {
|
|
2473
|
+
"description": "Tool call or run status identifier.",
|
|
2474
|
+
"type": "string"
|
|
2475
|
+
},
|
|
2476
|
+
"text": {
|
|
2477
|
+
"description": "Text delta or complete text.",
|
|
2478
|
+
"type": "string"
|
|
2479
|
+
},
|
|
2480
|
+
"reason": {
|
|
2481
|
+
"description": "Termination or error reason.",
|
|
2482
|
+
"type": "string"
|
|
2483
|
+
},
|
|
2484
|
+
"message": {
|
|
2485
|
+
"description": "Human-readable diagnostic message.",
|
|
2486
|
+
"type": "string"
|
|
2487
|
+
},
|
|
2488
|
+
"failure": {
|
|
2489
|
+
"$ref": "#/definitions/FailureEnvelope"
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
"InteractionRequestedPayload": {
|
|
2494
|
+
"title": "InteractionRequestedPayload",
|
|
2495
|
+
"description": "Provider-neutral request that pauses one active invocation until an interaction response is returned through the Adapter Host.",
|
|
2496
|
+
"type": "object",
|
|
2497
|
+
"additionalProperties": false,
|
|
2498
|
+
"required": ["interactionId", "kind", "request", "executionInstanceId", "expiresAt"],
|
|
2499
|
+
"properties": {
|
|
2500
|
+
"executionInstanceId": {
|
|
2501
|
+
"type": "string",
|
|
2502
|
+
"minLength": 1,
|
|
2503
|
+
"maxLength": 191
|
|
2504
|
+
},
|
|
2505
|
+
"expiresAt": {
|
|
2506
|
+
"type": "string",
|
|
2507
|
+
"format": "date-time"
|
|
2508
|
+
},
|
|
2509
|
+
"interactionId": {
|
|
2510
|
+
"description": "Stable invocation-scoped interaction identifier.",
|
|
2511
|
+
"type": "string",
|
|
2512
|
+
"minLength": 1,
|
|
2513
|
+
"maxLength": 191
|
|
2514
|
+
},
|
|
2515
|
+
"kind": {
|
|
2516
|
+
"type": "string",
|
|
2517
|
+
"enum": ["approval", "question", "elicitation"]
|
|
2518
|
+
},
|
|
2519
|
+
"request": {
|
|
2520
|
+
"description": "Display-safe provider request projected for the responding product.",
|
|
2521
|
+
"type": "object",
|
|
2522
|
+
"additionalProperties": true,
|
|
2523
|
+
"tsType": "Record<string, unknown>"
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2526
|
+
"if": {
|
|
2527
|
+
"properties": {
|
|
2528
|
+
"kind": {
|
|
2529
|
+
"const": "approval"
|
|
2530
|
+
}
|
|
2531
|
+
},
|
|
2532
|
+
"required": ["kind"]
|
|
2533
|
+
},
|
|
2534
|
+
"then": {
|
|
2535
|
+
"properties": {
|
|
2536
|
+
"request": {
|
|
2537
|
+
"$ref": "#/definitions/ApprovalRequest"
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
"ApprovalRequest": {
|
|
2543
|
+
"description": "Supported profile: original native request approval with requestedPermissions=[] only. Non-empty permission instances fail with APPROVAL_PERMISSION_UNSUPPORTED; consumers must not fabricate them. Details are allowlisted inert metadata. The compact UTF-8 JSON budget is enforced by x-octo-max-json-bytes.",
|
|
2544
|
+
"type": "object",
|
|
2545
|
+
"additionalProperties": false,
|
|
2546
|
+
"x-octo-max-json-bytes": 65536,
|
|
2547
|
+
"x-octo-unicode-scalar-strings": true,
|
|
2548
|
+
"required": [
|
|
2549
|
+
"schema",
|
|
2550
|
+
"policy",
|
|
2551
|
+
"operation",
|
|
2552
|
+
"requestedPermissions",
|
|
2553
|
+
"allowedOutcomes",
|
|
2554
|
+
"grantScope"
|
|
2555
|
+
],
|
|
2556
|
+
"properties": {
|
|
2557
|
+
"schema": {
|
|
2558
|
+
"const": "octo.approval-request/v1"
|
|
2559
|
+
},
|
|
2560
|
+
"policy": {
|
|
2561
|
+
"type": "object",
|
|
2562
|
+
"additionalProperties": false,
|
|
2563
|
+
"required": ["mode", "hash"],
|
|
2564
|
+
"properties": {
|
|
2565
|
+
"mode": {
|
|
2566
|
+
"$ref": "#/definitions/ApprovalMode"
|
|
2567
|
+
},
|
|
2568
|
+
"hash": {
|
|
2569
|
+
"type": "string",
|
|
2570
|
+
"pattern": "^sha256:[a-f0-9]{64}$"
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
},
|
|
2574
|
+
"operation": {
|
|
2575
|
+
"$ref": "#/definitions/ApprovalOperation"
|
|
2576
|
+
},
|
|
2577
|
+
"requestedPermissions": {
|
|
2578
|
+
"type": "array",
|
|
2579
|
+
"maxItems": 0,
|
|
2580
|
+
"items": false
|
|
2581
|
+
},
|
|
2582
|
+
"reason": {
|
|
2583
|
+
"type": "string"
|
|
2584
|
+
},
|
|
2585
|
+
"allowedOutcomes": {
|
|
2586
|
+
"type": "array",
|
|
2587
|
+
"minItems": 1,
|
|
2588
|
+
"uniqueItems": true,
|
|
2589
|
+
"items": {
|
|
2590
|
+
"enum": ["accepted", "declined", "cancelled"]
|
|
2591
|
+
}
|
|
2592
|
+
},
|
|
2593
|
+
"grantScope": {
|
|
2594
|
+
"enum": ["request", "provider"]
|
|
2595
|
+
},
|
|
2596
|
+
"providerDetails": {
|
|
2597
|
+
"$ref": "#/definitions/ApprovalDisplayDetails"
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
"ApprovalOperation": {
|
|
2602
|
+
"type": "object",
|
|
2603
|
+
"additionalProperties": false,
|
|
2604
|
+
"required": ["kind", "summary"],
|
|
2605
|
+
"properties": {
|
|
2606
|
+
"kind": {
|
|
2607
|
+
"enum": [
|
|
2608
|
+
"command_execution",
|
|
2609
|
+
"file_change",
|
|
2610
|
+
"tool_execution",
|
|
2611
|
+
"permission_grant",
|
|
2612
|
+
"context_access"
|
|
2613
|
+
]
|
|
2614
|
+
},
|
|
2615
|
+
"summary": {
|
|
2616
|
+
"type": "string",
|
|
2617
|
+
"minLength": 1,
|
|
2618
|
+
"maxLength": 8192,
|
|
2619
|
+
"x-octo-max-utf16-length": 8192
|
|
2620
|
+
},
|
|
2621
|
+
"toolCallId": {
|
|
2622
|
+
"type": "string",
|
|
2623
|
+
"minLength": 1
|
|
2624
|
+
},
|
|
2625
|
+
"details": {
|
|
2626
|
+
"$ref": "#/definitions/ApprovalDisplayDetails"
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
},
|
|
2630
|
+
"ApprovalDisplayDetails": {
|
|
2631
|
+
"description": "Display-only fields permitted by assertApprovalRequest. Values remain inert provider metadata and do not redefine commands, permissions or grant scope.",
|
|
2632
|
+
"type": "object",
|
|
2633
|
+
"additionalProperties": false,
|
|
2634
|
+
"tsType": "Record<string, unknown>",
|
|
2635
|
+
"properties": {
|
|
2636
|
+
"provider": {},
|
|
2637
|
+
"method": {},
|
|
2638
|
+
"itemId": {},
|
|
2639
|
+
"approvalId": {},
|
|
2640
|
+
"reason": {},
|
|
2641
|
+
"command": {},
|
|
2642
|
+
"cwd": {},
|
|
2643
|
+
"grantRoot": {},
|
|
2644
|
+
"files": {},
|
|
2645
|
+
"toolCallId": {},
|
|
2646
|
+
"title": {},
|
|
2647
|
+
"description": {},
|
|
2648
|
+
"options": {}
|
|
2649
|
+
}
|
|
2650
|
+
},
|
|
2651
|
+
"InteractionResolvedPayload": {
|
|
2652
|
+
"type": "object",
|
|
2653
|
+
"additionalProperties": false,
|
|
2654
|
+
"required": ["interactionId", "executionInstanceId", "status"],
|
|
2655
|
+
"properties": {
|
|
2656
|
+
"interactionId": {
|
|
2657
|
+
"type": "string",
|
|
2658
|
+
"minLength": 1,
|
|
2659
|
+
"maxLength": 191
|
|
2660
|
+
},
|
|
2661
|
+
"executionInstanceId": {
|
|
2662
|
+
"type": "string",
|
|
2663
|
+
"minLength": 1,
|
|
2664
|
+
"maxLength": 191
|
|
2665
|
+
},
|
|
2666
|
+
"status": {
|
|
2667
|
+
"enum": ["resolved", "expired", "invalidated"]
|
|
2668
|
+
},
|
|
2669
|
+
"outcome": {
|
|
2670
|
+
"enum": ["accepted", "declined", "cancelled", "answered"]
|
|
2671
|
+
},
|
|
2672
|
+
"reasonCode": {
|
|
2673
|
+
"type": "string",
|
|
2674
|
+
"minLength": 1
|
|
2675
|
+
}
|
|
2676
|
+
},
|
|
2677
|
+
"if": {
|
|
2678
|
+
"properties": {
|
|
2679
|
+
"status": {
|
|
2680
|
+
"const": "resolved"
|
|
2681
|
+
}
|
|
2682
|
+
},
|
|
2683
|
+
"required": ["status"]
|
|
2684
|
+
},
|
|
2685
|
+
"then": {
|
|
2686
|
+
"required": ["outcome"]
|
|
2687
|
+
},
|
|
2688
|
+
"else": {
|
|
2689
|
+
"required": ["reasonCode"]
|
|
2690
|
+
}
|
|
2691
|
+
},
|
|
2692
|
+
"ModelStepStartedPayload": {
|
|
2693
|
+
"title": "ModelStepStartedPayload",
|
|
2694
|
+
"description": "Starts one provider model round. A round may contain public reasoning, tool calls, and text output.",
|
|
2695
|
+
"type": "object",
|
|
2696
|
+
"additionalProperties": true,
|
|
2697
|
+
"required": ["stepId"],
|
|
2698
|
+
"properties": {
|
|
2699
|
+
"stepId": {
|
|
2700
|
+
"description": "Stable identifier reused by model_step.finished and child events.",
|
|
2701
|
+
"type": "string"
|
|
2702
|
+
},
|
|
2703
|
+
"startedAtMs": {
|
|
2704
|
+
"description": "Provider-observed round content-start timestamp in Unix milliseconds.",
|
|
2705
|
+
"type": "integer",
|
|
2706
|
+
"minimum": 1
|
|
2707
|
+
}
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
"ModelStepFinishedPayload": {
|
|
2711
|
+
"title": "ModelStepFinishedPayload",
|
|
2712
|
+
"description": "Finishes one provider model round and records why control returned to the harness.",
|
|
2713
|
+
"type": "object",
|
|
2714
|
+
"additionalProperties": true,
|
|
2715
|
+
"required": ["stepId", "status"],
|
|
2716
|
+
"properties": {
|
|
2717
|
+
"stepId": {
|
|
2718
|
+
"description": "Stable identifier from model_step.started.",
|
|
2719
|
+
"type": "string"
|
|
2720
|
+
},
|
|
2721
|
+
"status": {
|
|
2722
|
+
"enum": ["completed", "failed", "cancelled"]
|
|
2723
|
+
},
|
|
2724
|
+
"finishReason": {
|
|
2725
|
+
"description": "Provider-normalized reason such as tool-calls or stop.",
|
|
2726
|
+
"type": "string"
|
|
2727
|
+
},
|
|
2728
|
+
"endedAtMs": {
|
|
2729
|
+
"description": "Provider-observed round finish timestamp in Unix milliseconds.",
|
|
2730
|
+
"type": "integer",
|
|
2731
|
+
"minimum": 1
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2735
|
+
"ToolCallCreatePayload": {
|
|
2736
|
+
"title": "ToolCallCreatePayload",
|
|
2737
|
+
"description": "Formal tool_call.create payload. args preserves the original structured input, including args.command for shell tools.",
|
|
2738
|
+
"type": "object",
|
|
2739
|
+
"additionalProperties": true,
|
|
2740
|
+
"required": ["id", "name", "args", "status"],
|
|
2741
|
+
"properties": {
|
|
2742
|
+
"id": {
|
|
2743
|
+
"description": "Stable tool call identifier reused by later delta and update events.",
|
|
2744
|
+
"type": "string"
|
|
2745
|
+
},
|
|
2746
|
+
"name": {
|
|
2747
|
+
"description": "Tool name normalized across providers.",
|
|
2748
|
+
"type": "string"
|
|
2749
|
+
},
|
|
2750
|
+
"args": {
|
|
2751
|
+
"description": "Original structured input known when the tool call starts. Streaming providers may begin empty and append argsDelta.",
|
|
2752
|
+
"type": "object",
|
|
2753
|
+
"additionalProperties": true,
|
|
2754
|
+
"tsType": "Record<string, unknown>"
|
|
2755
|
+
},
|
|
2756
|
+
"status": {
|
|
2757
|
+
"const": "running"
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
},
|
|
2761
|
+
"ToolCallDeltaPayload": {
|
|
2762
|
+
"title": "ToolCallDeltaPayload",
|
|
2763
|
+
"description": "Formal tool_call.delta payload. argsDelta is an ordered raw JSON fragment and must be concatenated before parsing.",
|
|
2764
|
+
"type": "object",
|
|
2765
|
+
"additionalProperties": true,
|
|
2766
|
+
"required": ["id", "kind"],
|
|
2767
|
+
"properties": {
|
|
2768
|
+
"id": {
|
|
2769
|
+
"description": "Stable identifier from the corresponding tool_call.create event.",
|
|
2770
|
+
"type": "string"
|
|
2771
|
+
},
|
|
2772
|
+
"argsDelta": {
|
|
2773
|
+
"description": "Raw JSON argument fragment; do not parse fragments independently.",
|
|
2774
|
+
"type": "string"
|
|
2775
|
+
},
|
|
2776
|
+
"outputDelta": {
|
|
2777
|
+
"description": "Tool output text fragment.",
|
|
2778
|
+
"type": "string"
|
|
2779
|
+
},
|
|
2780
|
+
"outputSnapshot": {
|
|
2781
|
+
"type": "string",
|
|
2782
|
+
"description": "Full replacement of a provider rolling output snapshot; never an activity or a terminal status."
|
|
2783
|
+
}
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
"ToolCallUpdatePayload": {
|
|
2787
|
+
"title": "ToolCallUpdatePayload",
|
|
2788
|
+
"description": "Formal tool_call.update payload that closes the tool lifecycle and carries its final result.",
|
|
2789
|
+
"type": "object",
|
|
2790
|
+
"additionalProperties": true,
|
|
2791
|
+
"required": ["id", "status"],
|
|
2792
|
+
"properties": {
|
|
2793
|
+
"id": {
|
|
2794
|
+
"description": "Stable identifier from the corresponding tool_call.create event.",
|
|
2795
|
+
"type": "string"
|
|
2796
|
+
},
|
|
2797
|
+
"status": {
|
|
2798
|
+
"enum": ["completed", "failed", "cancelled"]
|
|
2799
|
+
},
|
|
2800
|
+
"output": {
|
|
2801
|
+
"description": "Final tool output as text or structured JSON.",
|
|
2802
|
+
"tsType": "unknown"
|
|
2803
|
+
},
|
|
2804
|
+
"error": {
|
|
2805
|
+
"description": "Structured error details.",
|
|
2806
|
+
"type": "object",
|
|
2807
|
+
"additionalProperties": true,
|
|
2808
|
+
"tsType": "Record<string, unknown>"
|
|
2809
|
+
},
|
|
2810
|
+
"exitCode": {
|
|
2811
|
+
"description": "Process exit code for command tools.",
|
|
2812
|
+
"type": "integer"
|
|
2813
|
+
},
|
|
2814
|
+
"durationMs": {
|
|
2815
|
+
"type": "integer",
|
|
2816
|
+
"minimum": 0,
|
|
2817
|
+
"maximum": 9007199254740991
|
|
2818
|
+
}
|
|
2819
|
+
}
|
|
2820
|
+
},
|
|
2821
|
+
"RunIdentity": {
|
|
2822
|
+
"title": "RunIdentity",
|
|
2823
|
+
"description": "Stable run identity used by envelopes without requiring the complete domain object.",
|
|
2824
|
+
"type": "object",
|
|
2825
|
+
"additionalProperties": false,
|
|
2826
|
+
"required": ["id", "agentSessionId"],
|
|
2827
|
+
"properties": {
|
|
2828
|
+
"id": {
|
|
2829
|
+
"description": "Run identifier.",
|
|
2830
|
+
"type": "string"
|
|
2831
|
+
},
|
|
2832
|
+
"agentSessionId": {
|
|
2833
|
+
"description": "Owning Agent Worker session identifier.",
|
|
2834
|
+
"type": "string"
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2837
|
+
},
|
|
2838
|
+
"ChannelScope": {
|
|
2839
|
+
"title": "ChannelScope",
|
|
2840
|
+
"description": "Platform-neutral channel isolation key. account_id may be null but remains explicit; an absent thread_id selects the conversation root.",
|
|
2841
|
+
"type": "object",
|
|
2842
|
+
"additionalProperties": false,
|
|
2843
|
+
"required": [
|
|
2844
|
+
"tenant_id",
|
|
2845
|
+
"endpoint_id",
|
|
2846
|
+
"channel",
|
|
2847
|
+
"account_id",
|
|
2848
|
+
"bot_id",
|
|
2849
|
+
"conversation_id"
|
|
2850
|
+
],
|
|
2851
|
+
"properties": {
|
|
2852
|
+
"tenant_id": {
|
|
2853
|
+
"type": "string",
|
|
2854
|
+
"minLength": 1
|
|
2855
|
+
},
|
|
2856
|
+
"endpoint_id": {
|
|
2857
|
+
"type": "string",
|
|
2858
|
+
"minLength": 1
|
|
2859
|
+
},
|
|
2860
|
+
"channel": {
|
|
2861
|
+
"type": "string",
|
|
2862
|
+
"minLength": 1
|
|
2863
|
+
},
|
|
2864
|
+
"account_id": {
|
|
2865
|
+
"type": ["string", "null"]
|
|
2866
|
+
},
|
|
2867
|
+
"bot_id": {
|
|
2868
|
+
"type": "string",
|
|
2869
|
+
"minLength": 1
|
|
2870
|
+
},
|
|
2871
|
+
"conversation_id": {
|
|
2872
|
+
"type": "string",
|
|
2873
|
+
"minLength": 1
|
|
2874
|
+
},
|
|
2875
|
+
"thread_id": {
|
|
2876
|
+
"type": ["string", "null"]
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
},
|
|
2880
|
+
"ChannelMessagePart": {
|
|
2881
|
+
"title": "ChannelMessagePart",
|
|
2882
|
+
"description": "Normalized platform message part. type and text are common fields; connector extensions remain untrusted external data.",
|
|
2883
|
+
"type": "object",
|
|
2884
|
+
"additionalProperties": true,
|
|
2885
|
+
"required": ["type"],
|
|
2886
|
+
"properties": {
|
|
2887
|
+
"type": {
|
|
2888
|
+
"type": "string",
|
|
2889
|
+
"minLength": 1
|
|
2890
|
+
},
|
|
2891
|
+
"text": {
|
|
2892
|
+
"type": "string"
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
},
|
|
2896
|
+
"ChannelMessageSender": {
|
|
2897
|
+
"title": "ChannelMessageSender",
|
|
2898
|
+
"description": "Normalized sender fact without platform credentials.",
|
|
2899
|
+
"type": "object",
|
|
2900
|
+
"additionalProperties": false,
|
|
2901
|
+
"required": ["id", "kind"],
|
|
2902
|
+
"properties": {
|
|
2903
|
+
"id": {
|
|
2904
|
+
"type": "string",
|
|
2905
|
+
"minLength": 1
|
|
2906
|
+
},
|
|
2907
|
+
"label": {
|
|
2908
|
+
"type": "string"
|
|
2909
|
+
},
|
|
2910
|
+
"kind": {
|
|
2911
|
+
"type": "string",
|
|
2912
|
+
"minLength": 1
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
},
|
|
2916
|
+
"ChannelMessageFlags": {
|
|
2917
|
+
"title": "ChannelMessageFlags",
|
|
2918
|
+
"description": "Common message flags that affect context projection. Self and control messages are excluded from provider-visible context.",
|
|
2919
|
+
"type": "object",
|
|
2920
|
+
"additionalProperties": false,
|
|
2921
|
+
"properties": {
|
|
2922
|
+
"self": {
|
|
2923
|
+
"type": "boolean"
|
|
2924
|
+
},
|
|
2925
|
+
"control": {
|
|
2926
|
+
"type": "boolean"
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2930
|
+
"ChannelMessageFact": {
|
|
2931
|
+
"title": "ChannelMessageFact",
|
|
2932
|
+
"description": "A platform-neutral message fact in the rebuildable channel journal. Message content is always untrusted external input.",
|
|
2933
|
+
"type": "object",
|
|
2934
|
+
"additionalProperties": false,
|
|
2935
|
+
"required": ["message_id", "sender", "occurred_at_ms", "parts"],
|
|
2936
|
+
"properties": {
|
|
2937
|
+
"message_id": {
|
|
2938
|
+
"type": "string",
|
|
2939
|
+
"minLength": 1
|
|
2940
|
+
},
|
|
2941
|
+
"message_seq": {
|
|
2942
|
+
"type": "integer",
|
|
2943
|
+
"minimum": 0
|
|
2944
|
+
},
|
|
2945
|
+
"sender": {
|
|
2946
|
+
"$ref": "#/definitions/ChannelMessageSender"
|
|
2947
|
+
},
|
|
2948
|
+
"occurred_at_ms": {
|
|
2949
|
+
"type": "integer",
|
|
2950
|
+
"minimum": 1
|
|
2951
|
+
},
|
|
2952
|
+
"parts": {
|
|
2953
|
+
"type": "array",
|
|
2954
|
+
"minItems": 1,
|
|
2955
|
+
"items": {
|
|
2956
|
+
"$ref": "#/definitions/ChannelMessagePart"
|
|
2957
|
+
}
|
|
2958
|
+
},
|
|
2959
|
+
"flags": {
|
|
2960
|
+
"$ref": "#/definitions/ChannelMessageFlags"
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2964
|
+
"ChannelContextAppend": {
|
|
2965
|
+
"title": "ChannelContextAppend",
|
|
2966
|
+
"description": "Idempotent context-only batch appended by agent-worker to its bound daemon.",
|
|
2967
|
+
"type": "object",
|
|
2968
|
+
"additionalProperties": false,
|
|
2969
|
+
"required": ["agent_id", "scope", "facts"],
|
|
2970
|
+
"properties": {
|
|
2971
|
+
"agent_id": {
|
|
2972
|
+
"type": "string",
|
|
2973
|
+
"minLength": 1,
|
|
2974
|
+
"maxLength": 96
|
|
2975
|
+
},
|
|
2976
|
+
"scope": {
|
|
2977
|
+
"$ref": "#/definitions/ChannelScope"
|
|
2978
|
+
},
|
|
2979
|
+
"facts": {
|
|
2980
|
+
"type": "array",
|
|
2981
|
+
"minItems": 1,
|
|
2982
|
+
"maxItems": 100,
|
|
2983
|
+
"items": {
|
|
2984
|
+
"$ref": "#/definitions/ChannelMessageFact"
|
|
2985
|
+
}
|
|
2986
|
+
},
|
|
2987
|
+
"gap_after_seq": {
|
|
2988
|
+
"type": "integer",
|
|
2989
|
+
"minimum": 0
|
|
2990
|
+
}
|
|
2991
|
+
}
|
|
2992
|
+
},
|
|
2993
|
+
"ContextSyncRequest": {
|
|
2994
|
+
"title": "ContextSyncRequest",
|
|
2995
|
+
"description": "Bounded backfill requested by the daemon after cold start or gap detection. It never carries platform tokens.",
|
|
2996
|
+
"type": "object",
|
|
2997
|
+
"additionalProperties": false,
|
|
2998
|
+
"required": ["request_id", "run_id", "scope", "trigger_message_id", "limit"],
|
|
2999
|
+
"properties": {
|
|
3000
|
+
"request_id": {
|
|
3001
|
+
"type": "string",
|
|
3002
|
+
"minLength": 1
|
|
3003
|
+
},
|
|
3004
|
+
"run_id": {
|
|
3005
|
+
"type": "string",
|
|
3006
|
+
"minLength": 1
|
|
3007
|
+
},
|
|
3008
|
+
"scope": {
|
|
3009
|
+
"$ref": "#/definitions/ChannelScope"
|
|
3010
|
+
},
|
|
3011
|
+
"trigger_message_id": {
|
|
3012
|
+
"type": "string",
|
|
3013
|
+
"minLength": 1
|
|
3014
|
+
},
|
|
3015
|
+
"trigger_seq": {
|
|
3016
|
+
"type": "integer",
|
|
3017
|
+
"minimum": 0
|
|
3018
|
+
},
|
|
3019
|
+
"after_seq": {
|
|
3020
|
+
"type": "integer",
|
|
3021
|
+
"minimum": 0
|
|
3022
|
+
},
|
|
3023
|
+
"limit": {
|
|
3024
|
+
"type": "integer",
|
|
3025
|
+
"minimum": 1,
|
|
3026
|
+
"maximum": 100
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
3029
|
+
},
|
|
3030
|
+
"ContextSyncResult": {
|
|
3031
|
+
"title": "ContextSyncResult",
|
|
3032
|
+
"description": "Bounded history result. complete means only that the requested window was returned, not that the local journal is authoritative.",
|
|
3033
|
+
"type": "object",
|
|
3034
|
+
"additionalProperties": false,
|
|
3035
|
+
"required": ["request_id", "scope", "facts", "completeness"],
|
|
3036
|
+
"properties": {
|
|
3037
|
+
"request_id": {
|
|
3038
|
+
"type": "string",
|
|
3039
|
+
"minLength": 1
|
|
3040
|
+
},
|
|
3041
|
+
"scope": {
|
|
3042
|
+
"$ref": "#/definitions/ChannelScope"
|
|
3043
|
+
},
|
|
3044
|
+
"facts": {
|
|
3045
|
+
"type": "array",
|
|
3046
|
+
"maxItems": 100,
|
|
3047
|
+
"items": {
|
|
3048
|
+
"$ref": "#/definitions/ChannelMessageFact"
|
|
3049
|
+
}
|
|
3050
|
+
},
|
|
3051
|
+
"completeness": {
|
|
3052
|
+
"type": "string",
|
|
3053
|
+
"enum": ["complete", "partial", "unavailable"]
|
|
3054
|
+
},
|
|
3055
|
+
"through_seq": {
|
|
3056
|
+
"type": "integer",
|
|
3057
|
+
"minimum": 0
|
|
3058
|
+
}
|
|
3059
|
+
},
|
|
3060
|
+
"allOf": [
|
|
3061
|
+
{
|
|
3062
|
+
"if": {
|
|
3063
|
+
"properties": {
|
|
3064
|
+
"completeness": {
|
|
3065
|
+
"const": "unavailable"
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
},
|
|
3069
|
+
"then": {
|
|
3070
|
+
"properties": {
|
|
3071
|
+
"facts": {
|
|
3072
|
+
"maxItems": 0
|
|
3073
|
+
}
|
|
3074
|
+
}
|
|
3075
|
+
}
|
|
3076
|
+
}
|
|
3077
|
+
]
|
|
3078
|
+
},
|
|
3079
|
+
"ChannelContextDescriptor": {
|
|
3080
|
+
"title": "ChannelContextDescriptor",
|
|
3081
|
+
"description": "Snapshot selection descriptor in ExecutionEnvelope. Scope, consumer_key, and session_generation isolate the consumption cursor.",
|
|
3082
|
+
"type": "object",
|
|
3083
|
+
"additionalProperties": false,
|
|
3084
|
+
"required": [
|
|
3085
|
+
"scope",
|
|
3086
|
+
"consumer_key",
|
|
3087
|
+
"session_generation",
|
|
3088
|
+
"trigger_message_id",
|
|
3089
|
+
"trigger_fact"
|
|
3090
|
+
],
|
|
3091
|
+
"properties": {
|
|
3092
|
+
"scope": {
|
|
3093
|
+
"$ref": "#/definitions/ChannelScope"
|
|
3094
|
+
},
|
|
3095
|
+
"consumer_key": {
|
|
3096
|
+
"type": "string",
|
|
3097
|
+
"minLength": 1
|
|
3098
|
+
},
|
|
3099
|
+
"session_generation": {
|
|
3100
|
+
"type": "integer",
|
|
3101
|
+
"minimum": 1
|
|
3102
|
+
},
|
|
3103
|
+
"trigger_message_id": {
|
|
3104
|
+
"type": "string",
|
|
3105
|
+
"minLength": 1
|
|
3106
|
+
},
|
|
3107
|
+
"trigger_seq": {
|
|
3108
|
+
"type": "integer",
|
|
3109
|
+
"minimum": 0
|
|
3110
|
+
},
|
|
3111
|
+
"trigger_fact": {
|
|
3112
|
+
"$ref": "#/definitions/ChannelMessageFact"
|
|
3113
|
+
}
|
|
3114
|
+
}
|
|
3115
|
+
},
|
|
3116
|
+
"ContextCommitResult": {
|
|
3117
|
+
"title": "ContextCommitResult",
|
|
3118
|
+
"description": "Result of advancing the consumer cursor with version CAS after terminal durability.",
|
|
3119
|
+
"type": "object",
|
|
3120
|
+
"additionalProperties": false,
|
|
3121
|
+
"required": ["snapshot_id", "committed"],
|
|
3122
|
+
"properties": {
|
|
3123
|
+
"snapshot_id": {
|
|
3124
|
+
"type": "string",
|
|
3125
|
+
"minLength": 1
|
|
3126
|
+
},
|
|
3127
|
+
"committed": {
|
|
3128
|
+
"type": "boolean"
|
|
3129
|
+
},
|
|
3130
|
+
"reason": {
|
|
3131
|
+
"type": "string",
|
|
3132
|
+
"enum": [
|
|
3133
|
+
"already_committed",
|
|
3134
|
+
"snapshot_not_found",
|
|
3135
|
+
"snapshot_not_submitted",
|
|
3136
|
+
"consumer_advanced",
|
|
3137
|
+
"snapshot_failed"
|
|
3138
|
+
]
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
},
|
|
3142
|
+
"McpStdioServer": {
|
|
3143
|
+
"title": "McpStdioServer",
|
|
3144
|
+
"description": "A per-invocation MCP server launched as a child process by the provider.",
|
|
3145
|
+
"type": "object",
|
|
3146
|
+
"additionalProperties": false,
|
|
3147
|
+
"required": ["type", "command"],
|
|
3148
|
+
"properties": {
|
|
3149
|
+
"type": {
|
|
3150
|
+
"const": "stdio"
|
|
3151
|
+
},
|
|
3152
|
+
"command": {
|
|
3153
|
+
"type": "string",
|
|
3154
|
+
"minLength": 1
|
|
3155
|
+
},
|
|
3156
|
+
"args": {
|
|
3157
|
+
"type": "array",
|
|
3158
|
+
"items": {
|
|
3159
|
+
"type": "string"
|
|
3160
|
+
},
|
|
3161
|
+
"maxItems": 128
|
|
3162
|
+
},
|
|
3163
|
+
"env": {
|
|
3164
|
+
"type": "object",
|
|
3165
|
+
"additionalProperties": {
|
|
3166
|
+
"type": "string",
|
|
3167
|
+
"pattern": "^[^\\u0000]*$"
|
|
3168
|
+
},
|
|
3169
|
+
"maxProperties": 128,
|
|
3170
|
+
"tsType": "Record<string, string>",
|
|
3171
|
+
"propertyNames": {
|
|
3172
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
"cwd": {
|
|
3176
|
+
"type": "string",
|
|
3177
|
+
"minLength": 1
|
|
3178
|
+
},
|
|
3179
|
+
"required": {
|
|
3180
|
+
"type": "boolean"
|
|
3181
|
+
},
|
|
3182
|
+
"startupTimeoutMs": {
|
|
3183
|
+
"type": "integer",
|
|
3184
|
+
"minimum": 100,
|
|
3185
|
+
"maximum": 300000
|
|
3186
|
+
},
|
|
3187
|
+
"toolTimeoutMs": {
|
|
3188
|
+
"type": "integer",
|
|
3189
|
+
"minimum": 100,
|
|
3190
|
+
"maximum": 3600000
|
|
3191
|
+
}
|
|
3192
|
+
}
|
|
3193
|
+
},
|
|
3194
|
+
"McpStreamableHttpServer": {
|
|
3195
|
+
"title": "McpStreamableHttpServer",
|
|
3196
|
+
"description": "A per-invocation Streamable HTTP MCP endpoint. Header values are sensitive and must never enter logs or canonical events.",
|
|
3197
|
+
"type": "object",
|
|
3198
|
+
"additionalProperties": false,
|
|
3199
|
+
"required": ["type", "url"],
|
|
3200
|
+
"properties": {
|
|
3201
|
+
"type": {
|
|
3202
|
+
"const": "streamable_http"
|
|
3203
|
+
},
|
|
3204
|
+
"url": {
|
|
3205
|
+
"type": "string",
|
|
3206
|
+
"minLength": 1,
|
|
3207
|
+
"maxLength": 4096,
|
|
3208
|
+
"anyOf": [
|
|
3209
|
+
{
|
|
3210
|
+
"x-octo-http-url": true
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"pattern": "\\$\\$?\\{[A-Za-z_][A-Za-z0-9_]*\\}"
|
|
3214
|
+
}
|
|
3215
|
+
],
|
|
3216
|
+
"description": "Absolute HTTP(S) endpoint or environment template; the resolved endpoint is validated again before connecting.",
|
|
3217
|
+
"tsType": "string"
|
|
3218
|
+
},
|
|
3219
|
+
"headers": {
|
|
3220
|
+
"type": "object",
|
|
3221
|
+
"additionalProperties": {
|
|
3222
|
+
"type": "string",
|
|
3223
|
+
"pattern": "^[^\\r\\n\\u0000]*$"
|
|
3224
|
+
},
|
|
3225
|
+
"maxProperties": 64,
|
|
3226
|
+
"tsType": "Record<string, string>",
|
|
3227
|
+
"propertyNames": {
|
|
3228
|
+
"pattern": "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$"
|
|
3229
|
+
},
|
|
3230
|
+
"x-octo-unique-header-names": true
|
|
3231
|
+
},
|
|
3232
|
+
"required": {
|
|
3233
|
+
"type": "boolean"
|
|
3234
|
+
},
|
|
3235
|
+
"startupTimeoutMs": {
|
|
3236
|
+
"type": "integer",
|
|
3237
|
+
"minimum": 100,
|
|
3238
|
+
"maximum": 300000
|
|
3239
|
+
},
|
|
3240
|
+
"toolTimeoutMs": {
|
|
3241
|
+
"type": "integer",
|
|
3242
|
+
"minimum": 100,
|
|
3243
|
+
"maximum": 3600000
|
|
3244
|
+
}
|
|
3245
|
+
}
|
|
3246
|
+
},
|
|
3247
|
+
"McpServer": {
|
|
3248
|
+
"title": "McpServer",
|
|
3249
|
+
"description": "Provider-neutral per-invocation MCP server definition.",
|
|
3250
|
+
"oneOf": [
|
|
3251
|
+
{
|
|
3252
|
+
"$ref": "#/definitions/McpStdioServer"
|
|
3253
|
+
},
|
|
3254
|
+
{
|
|
3255
|
+
"$ref": "#/definitions/McpStreamableHttpServer"
|
|
3256
|
+
}
|
|
3257
|
+
]
|
|
3258
|
+
},
|
|
3259
|
+
"McpServers": {
|
|
3260
|
+
"title": "McpServers",
|
|
3261
|
+
"description": "Dynamic server-name map. No business-specific names are enumerated. Each value must match one closed transport variant.",
|
|
3262
|
+
"type": "object",
|
|
3263
|
+
"propertyNames": {
|
|
3264
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$"
|
|
3265
|
+
},
|
|
3266
|
+
"additionalProperties": {
|
|
3267
|
+
"$ref": "#/definitions/McpServer"
|
|
3268
|
+
},
|
|
3269
|
+
"maxProperties": 32,
|
|
3270
|
+
"tsType": "Record<string, McpServer>"
|
|
3271
|
+
},
|
|
3272
|
+
"ModelInputPart": {
|
|
3273
|
+
"title": "ModelInputPart",
|
|
3274
|
+
"description": "Ordered provider-native user input. Image bytes are materialized only for the invocation, never used as a text fallback.",
|
|
3275
|
+
"oneOf": [
|
|
3276
|
+
{
|
|
3277
|
+
"type": "object",
|
|
3278
|
+
"additionalProperties": false,
|
|
3279
|
+
"required": ["type", "text"],
|
|
3280
|
+
"properties": {
|
|
3281
|
+
"id": {
|
|
3282
|
+
"type": "string",
|
|
3283
|
+
"minLength": 1
|
|
3284
|
+
},
|
|
3285
|
+
"type": {
|
|
3286
|
+
"const": "text"
|
|
3287
|
+
},
|
|
3288
|
+
"text": {
|
|
3289
|
+
"type": "string"
|
|
3290
|
+
}
|
|
3291
|
+
}
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
"type": "object",
|
|
3295
|
+
"additionalProperties": false,
|
|
3296
|
+
"required": ["type", "mimeType", "data", "byteSize", "sha256"],
|
|
3297
|
+
"properties": {
|
|
3298
|
+
"id": {
|
|
3299
|
+
"type": "string",
|
|
3300
|
+
"minLength": 1
|
|
3301
|
+
},
|
|
3302
|
+
"type": {
|
|
3303
|
+
"const": "image"
|
|
3304
|
+
},
|
|
3305
|
+
"mimeType": {
|
|
3306
|
+
"enum": ["image/png", "image/jpeg", "image/webp"]
|
|
3307
|
+
},
|
|
3308
|
+
"data": {
|
|
3309
|
+
"type": "string",
|
|
3310
|
+
"minLength": 1,
|
|
3311
|
+
"maxLength": 2796204
|
|
3312
|
+
},
|
|
3313
|
+
"byteSize": {
|
|
3314
|
+
"type": "integer",
|
|
3315
|
+
"minimum": 1,
|
|
3316
|
+
"maximum": 2097152
|
|
3317
|
+
},
|
|
3318
|
+
"sha256": {
|
|
3319
|
+
"type": "string",
|
|
3320
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
3321
|
+
}
|
|
3322
|
+
}
|
|
3323
|
+
}
|
|
3324
|
+
]
|
|
3325
|
+
},
|
|
3326
|
+
"InvokeRequestWire": {
|
|
3327
|
+
"title": "InvokeRequestWire",
|
|
3328
|
+
"description": "Serializable execution request sent from Core to Adapter Host. AbortSignal is added in src/index.ts because it cannot cross a process boundary.",
|
|
3329
|
+
"type": "object",
|
|
3330
|
+
"additionalProperties": false,
|
|
3331
|
+
"required": [
|
|
3332
|
+
"invocationId",
|
|
3333
|
+
"agentSessionId",
|
|
3334
|
+
"runId",
|
|
3335
|
+
"prompt",
|
|
3336
|
+
"workdir",
|
|
3337
|
+
"controlInstructions",
|
|
3338
|
+
"context",
|
|
3339
|
+
"agentConfig",
|
|
3340
|
+
"modelInput",
|
|
3341
|
+
"approvalMode",
|
|
3342
|
+
"protocolVersion",
|
|
3343
|
+
"agentSource"
|
|
3344
|
+
],
|
|
3345
|
+
"properties": {
|
|
3346
|
+
"executionEnvOverrides": {
|
|
3347
|
+
"description": "Trusted ingress execution environment, independent of business Context; never render or persist in business snapshots.",
|
|
3348
|
+
"$ref": "#/definitions/ContextEnvsPayload"
|
|
3349
|
+
},
|
|
3350
|
+
"invocationId": {
|
|
3351
|
+
"description": "Active Adapter Host invocation identifier and cancellation target.",
|
|
3352
|
+
"type": "string"
|
|
3353
|
+
},
|
|
3354
|
+
"agentSessionId": {
|
|
3355
|
+
"description": "Long-lived Agent Worker session identifier for this execution context.",
|
|
3356
|
+
"type": "string"
|
|
3357
|
+
},
|
|
3358
|
+
"runId": {
|
|
3359
|
+
"description": "Run identifier for this execution.",
|
|
3360
|
+
"type": "string"
|
|
3361
|
+
},
|
|
3362
|
+
"sessionGeneration": {
|
|
3363
|
+
"description": "Worker-owned AgentSession generation that fences stale continuity updates.",
|
|
3364
|
+
"type": "integer",
|
|
3365
|
+
"minimum": 1
|
|
3366
|
+
},
|
|
3367
|
+
"providerEpoch": {
|
|
3368
|
+
"description": "Worker-owned provider binding epoch for this Run.",
|
|
3369
|
+
"type": "integer",
|
|
3370
|
+
"minimum": 1
|
|
3371
|
+
},
|
|
3372
|
+
"continuityMode": {
|
|
3373
|
+
"description": "Caller continuity intent. Fresh invocations must not carry providerSession.",
|
|
3374
|
+
"type": "string",
|
|
3375
|
+
"enum": ["continue", "fresh"]
|
|
3376
|
+
},
|
|
3377
|
+
"prompt": {
|
|
3378
|
+
"description": "Display-safe current request or task description. It excludes hidden channel context and provider control parameters.",
|
|
3379
|
+
"type": "string"
|
|
3380
|
+
},
|
|
3381
|
+
"modelInput": {
|
|
3382
|
+
"description": "Required exact provider-visible user turn.",
|
|
3383
|
+
"type": "string"
|
|
3384
|
+
},
|
|
3385
|
+
"modelInputParts": {
|
|
3386
|
+
"type": "array",
|
|
3387
|
+
"minItems": 1,
|
|
3388
|
+
"maxItems": 128,
|
|
3389
|
+
"tsType": "ModelInputPart[]",
|
|
3390
|
+
"items": {
|
|
3391
|
+
"$ref": "#/definitions/ModelInputPart"
|
|
3392
|
+
}
|
|
3393
|
+
},
|
|
3394
|
+
"freshFallbackModelInputParts": {
|
|
3395
|
+
"type": "array",
|
|
3396
|
+
"minItems": 1,
|
|
3397
|
+
"maxItems": 128,
|
|
3398
|
+
"tsType": "ModelInputPart[]",
|
|
3399
|
+
"items": {
|
|
3400
|
+
"$ref": "#/definitions/ModelInputPart"
|
|
3401
|
+
}
|
|
3402
|
+
},
|
|
3403
|
+
"freshFallbackImagesUnavailable": {
|
|
3404
|
+
"description": "Recovery includes historical images whose bytes are unavailable. Adapters must fail before sending a fresh prompt.",
|
|
3405
|
+
"type": "boolean"
|
|
3406
|
+
},
|
|
3407
|
+
"freshFallbackModelInput": {
|
|
3408
|
+
"description": "Frozen alternate user turn for the first turn of a fresh provider session after resume fails.",
|
|
3409
|
+
"type": "string"
|
|
3410
|
+
},
|
|
3411
|
+
"workdir": {
|
|
3412
|
+
"description": "Provider process cwd. Sandboxing, containers, or host permissions provide the actual access boundary.",
|
|
3413
|
+
"type": "string"
|
|
3414
|
+
},
|
|
3415
|
+
"controlInstructions": {
|
|
3416
|
+
"description": "Trusted session instructions. Adapters inject them only when starting a provider session; resuming an existing session must not inject or clear them.",
|
|
3417
|
+
"type": "string"
|
|
3418
|
+
},
|
|
3419
|
+
"context": {
|
|
3420
|
+
"$ref": "#/definitions/ContextEnvelope"
|
|
3421
|
+
},
|
|
3422
|
+
"runMetadata": {
|
|
3423
|
+
"type": "object",
|
|
3424
|
+
"additionalProperties": true,
|
|
3425
|
+
"tsType": "Record<string, unknown>"
|
|
3426
|
+
},
|
|
3427
|
+
"approvalMode": {
|
|
3428
|
+
"$ref": "#/definitions/ApprovalMode"
|
|
3429
|
+
},
|
|
3430
|
+
"providerSession": {
|
|
3431
|
+
"$ref": "#/definitions/ProviderSession"
|
|
3432
|
+
},
|
|
3433
|
+
"runtimeLimits": {
|
|
3434
|
+
"$ref": "#/definitions/RuntimeLimits"
|
|
3435
|
+
},
|
|
3436
|
+
"agentConfig": {
|
|
3437
|
+
"$ref": "#/definitions/AgentConfig"
|
|
3438
|
+
},
|
|
3439
|
+
"protocolVersion": {
|
|
3440
|
+
"const": 2
|
|
3441
|
+
},
|
|
3442
|
+
"agentSource": {
|
|
3443
|
+
"$ref": "#/definitions/AgentSource"
|
|
3444
|
+
}
|
|
3445
|
+
}
|
|
3446
|
+
},
|
|
3447
|
+
"ActivityInfo": {
|
|
3448
|
+
"type": "object",
|
|
3449
|
+
"additionalProperties": false,
|
|
3450
|
+
"properties": {
|
|
3451
|
+
"messageKey": {
|
|
3452
|
+
"type": "string",
|
|
3453
|
+
"minLength": 1,
|
|
3454
|
+
"maxLength": 191
|
|
3455
|
+
},
|
|
3456
|
+
"params": {
|
|
3457
|
+
"type": "object",
|
|
3458
|
+
"additionalProperties": {
|
|
3459
|
+
"type": ["string", "number", "boolean"]
|
|
3460
|
+
}
|
|
3461
|
+
},
|
|
3462
|
+
"attempt": {
|
|
3463
|
+
"type": "integer",
|
|
3464
|
+
"minimum": 1,
|
|
3465
|
+
"maximum": 9007199254740991
|
|
3466
|
+
},
|
|
3467
|
+
"retryAfterMs": {
|
|
3468
|
+
"type": "integer",
|
|
3469
|
+
"minimum": 0,
|
|
3470
|
+
"maximum": 9007199254740991
|
|
3471
|
+
}
|
|
3472
|
+
},
|
|
3473
|
+
"required": []
|
|
3474
|
+
},
|
|
3475
|
+
"ActivitySubject": {
|
|
3476
|
+
"oneOf": [
|
|
3477
|
+
{
|
|
3478
|
+
"type": "object",
|
|
3479
|
+
"additionalProperties": false,
|
|
3480
|
+
"properties": {
|
|
3481
|
+
"type": {
|
|
3482
|
+
"const": "run"
|
|
3483
|
+
}
|
|
3484
|
+
},
|
|
3485
|
+
"required": ["type"]
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"type": "object",
|
|
3489
|
+
"additionalProperties": false,
|
|
3490
|
+
"properties": {
|
|
3491
|
+
"type": {
|
|
3492
|
+
"const": "message"
|
|
3493
|
+
},
|
|
3494
|
+
"id": {
|
|
3495
|
+
"type": "string",
|
|
3496
|
+
"minLength": 1,
|
|
3497
|
+
"maxLength": 191
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
"required": ["type", "id"]
|
|
3501
|
+
},
|
|
3502
|
+
{
|
|
3503
|
+
"type": "object",
|
|
3504
|
+
"additionalProperties": false,
|
|
3505
|
+
"properties": {
|
|
3506
|
+
"type": {
|
|
3507
|
+
"const": "tool"
|
|
3508
|
+
},
|
|
3509
|
+
"id": {
|
|
3510
|
+
"type": "string",
|
|
3511
|
+
"minLength": 1,
|
|
3512
|
+
"maxLength": 191
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
"required": ["type", "id"]
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"type": "object",
|
|
3519
|
+
"additionalProperties": false,
|
|
3520
|
+
"properties": {
|
|
3521
|
+
"type": {
|
|
3522
|
+
"const": "interaction"
|
|
3523
|
+
},
|
|
3524
|
+
"id": {
|
|
3525
|
+
"type": "string",
|
|
3526
|
+
"minLength": 1,
|
|
3527
|
+
"maxLength": 191
|
|
3528
|
+
}
|
|
3529
|
+
},
|
|
3530
|
+
"required": ["type", "id"]
|
|
3531
|
+
}
|
|
3532
|
+
]
|
|
3533
|
+
},
|
|
3534
|
+
"ActivityStartedPayload": {
|
|
3535
|
+
"type": "object",
|
|
3536
|
+
"additionalProperties": false,
|
|
3537
|
+
"properties": {
|
|
3538
|
+
"activityId": {
|
|
3539
|
+
"type": "string",
|
|
3540
|
+
"minLength": 1,
|
|
3541
|
+
"maxLength": 191
|
|
3542
|
+
},
|
|
3543
|
+
"kind": {
|
|
3544
|
+
"enum": [
|
|
3545
|
+
"starting",
|
|
3546
|
+
"thinking",
|
|
3547
|
+
"executing_tool",
|
|
3548
|
+
"responding",
|
|
3549
|
+
"waiting_approval",
|
|
3550
|
+
"waiting_input",
|
|
3551
|
+
"compacting",
|
|
3552
|
+
"retrying",
|
|
3553
|
+
"working"
|
|
3554
|
+
]
|
|
3555
|
+
},
|
|
3556
|
+
"subject": {
|
|
3557
|
+
"$ref": "#/definitions/ActivitySubject"
|
|
3558
|
+
},
|
|
3559
|
+
"source": {
|
|
3560
|
+
"enum": ["provider", "harness"]
|
|
3561
|
+
},
|
|
3562
|
+
"info": {
|
|
3563
|
+
"$ref": "#/definitions/ActivityInfo"
|
|
3564
|
+
},
|
|
3565
|
+
"startedAtMs": {
|
|
3566
|
+
"type": "integer",
|
|
3567
|
+
"minimum": 0,
|
|
3568
|
+
"maximum": 9007199254740991
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"required": ["activityId", "kind", "subject", "source", "info"]
|
|
3572
|
+
},
|
|
3573
|
+
"ActivityUpdatedPayload": {
|
|
3574
|
+
"type": "object",
|
|
3575
|
+
"additionalProperties": false,
|
|
3576
|
+
"properties": {
|
|
3577
|
+
"activityId": {
|
|
3578
|
+
"type": "string",
|
|
3579
|
+
"minLength": 1,
|
|
3580
|
+
"maxLength": 191
|
|
3581
|
+
},
|
|
3582
|
+
"info": {
|
|
3583
|
+
"$ref": "#/definitions/ActivityInfo"
|
|
3584
|
+
}
|
|
3585
|
+
},
|
|
3586
|
+
"required": ["activityId", "info"]
|
|
3587
|
+
},
|
|
3588
|
+
"ActivityFinishedPayload": {
|
|
3589
|
+
"type": "object",
|
|
3590
|
+
"additionalProperties": false,
|
|
3591
|
+
"properties": {
|
|
3592
|
+
"activityId": {
|
|
3593
|
+
"type": "string",
|
|
3594
|
+
"minLength": 1,
|
|
3595
|
+
"maxLength": 191
|
|
3596
|
+
},
|
|
3597
|
+
"status": {
|
|
3598
|
+
"enum": ["completed", "failed", "cancelled", "superseded"]
|
|
3599
|
+
},
|
|
3600
|
+
"endedAtMs": {
|
|
3601
|
+
"type": "integer",
|
|
3602
|
+
"minimum": 0,
|
|
3603
|
+
"maximum": 9007199254740991
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
"required": ["activityId", "status"]
|
|
3607
|
+
},
|
|
3608
|
+
"PlanUpdatedPayload": {
|
|
3609
|
+
"type": "object",
|
|
3610
|
+
"additionalProperties": false,
|
|
3611
|
+
"properties": {
|
|
3612
|
+
"planId": {
|
|
3613
|
+
"type": "string",
|
|
3614
|
+
"minLength": 1,
|
|
3615
|
+
"maxLength": 191
|
|
3616
|
+
},
|
|
3617
|
+
"revision": {
|
|
3618
|
+
"type": "integer",
|
|
3619
|
+
"minimum": 1,
|
|
3620
|
+
"maximum": 9007199254740991
|
|
3621
|
+
},
|
|
3622
|
+
"explanation": {
|
|
3623
|
+
"type": ["string", "null"],
|
|
3624
|
+
"maxLength": 4096
|
|
3625
|
+
},
|
|
3626
|
+
"steps": {
|
|
3627
|
+
"type": "array",
|
|
3628
|
+
"maxItems": 200,
|
|
3629
|
+
"items": {
|
|
3630
|
+
"type": "object",
|
|
3631
|
+
"additionalProperties": false,
|
|
3632
|
+
"properties": {
|
|
3633
|
+
"text": {
|
|
3634
|
+
"type": "string",
|
|
3635
|
+
"minLength": 1,
|
|
3636
|
+
"maxLength": 4096
|
|
3637
|
+
},
|
|
3638
|
+
"status": {
|
|
3639
|
+
"enum": ["pending", "in_progress", "completed", "blocked", "cancelled"]
|
|
3640
|
+
}
|
|
3641
|
+
},
|
|
3642
|
+
"required": ["text", "status"]
|
|
3643
|
+
}
|
|
3644
|
+
}
|
|
3645
|
+
},
|
|
3646
|
+
"required": ["planId", "revision", "explanation", "steps"]
|
|
3647
|
+
},
|
|
3648
|
+
"ToolProgressPayload": {
|
|
3649
|
+
"type": "object",
|
|
3650
|
+
"additionalProperties": false,
|
|
3651
|
+
"properties": {
|
|
3652
|
+
"id": {
|
|
3653
|
+
"type": "string",
|
|
3654
|
+
"minLength": 1,
|
|
3655
|
+
"maxLength": 191
|
|
3656
|
+
},
|
|
3657
|
+
"progress": {
|
|
3658
|
+
"type": "object",
|
|
3659
|
+
"additionalProperties": false,
|
|
3660
|
+
"properties": {
|
|
3661
|
+
"message": {
|
|
3662
|
+
"type": "string",
|
|
3663
|
+
"maxLength": 4096
|
|
3664
|
+
},
|
|
3665
|
+
"completed": {
|
|
3666
|
+
"type": "integer",
|
|
3667
|
+
"minimum": 0,
|
|
3668
|
+
"maximum": 9007199254740991
|
|
3669
|
+
},
|
|
3670
|
+
"total": {
|
|
3671
|
+
"type": "integer",
|
|
3672
|
+
"minimum": 1,
|
|
3673
|
+
"maximum": 9007199254740991
|
|
3674
|
+
},
|
|
3675
|
+
"unit": {
|
|
3676
|
+
"enum": ["items", "bytes", "steps"]
|
|
3677
|
+
}
|
|
3678
|
+
},
|
|
3679
|
+
"required": []
|
|
3680
|
+
}
|
|
3681
|
+
},
|
|
3682
|
+
"required": ["id", "progress"]
|
|
3683
|
+
},
|
|
3684
|
+
"RunNoticePayload": {
|
|
3685
|
+
"type": "object",
|
|
3686
|
+
"additionalProperties": false,
|
|
3687
|
+
"properties": {
|
|
3688
|
+
"noticeId": {
|
|
3689
|
+
"type": "string",
|
|
3690
|
+
"minLength": 1,
|
|
3691
|
+
"maxLength": 191
|
|
3692
|
+
},
|
|
3693
|
+
"code": {
|
|
3694
|
+
"enum": [
|
|
3695
|
+
"retry_scheduled",
|
|
3696
|
+
"context_compacted",
|
|
3697
|
+
"model_rerouted",
|
|
3698
|
+
"config_warning",
|
|
3699
|
+
"provider_diagnostic"
|
|
3700
|
+
]
|
|
3701
|
+
},
|
|
3702
|
+
"severity": {
|
|
3703
|
+
"enum": ["info", "warning"]
|
|
3704
|
+
},
|
|
3705
|
+
"params": {
|
|
3706
|
+
"type": "object",
|
|
3707
|
+
"additionalProperties": {
|
|
3708
|
+
"type": ["string", "number", "boolean"]
|
|
3709
|
+
}
|
|
3710
|
+
},
|
|
3711
|
+
"relatedActivityId": {
|
|
3712
|
+
"type": "string",
|
|
3713
|
+
"minLength": 1,
|
|
3714
|
+
"maxLength": 191
|
|
3715
|
+
},
|
|
3716
|
+
"relatedItemId": {
|
|
3717
|
+
"type": "string",
|
|
3718
|
+
"minLength": 1,
|
|
3719
|
+
"maxLength": 191
|
|
3720
|
+
}
|
|
3721
|
+
},
|
|
3722
|
+
"required": ["noticeId", "code", "severity", "params"]
|
|
3723
|
+
},
|
|
3724
|
+
"AgentSource": {
|
|
3725
|
+
"title": "AgentSource",
|
|
3726
|
+
"type": "string",
|
|
3727
|
+
"enum": ["preset", "provisioned"]
|
|
3728
|
+
},
|
|
3729
|
+
"ContextModelSelectionPayload": {
|
|
3730
|
+
"type": "object",
|
|
3731
|
+
"additionalProperties": false,
|
|
3732
|
+
"properties": {
|
|
3733
|
+
"id": {
|
|
3734
|
+
"type": "string",
|
|
3735
|
+
"minLength": 1
|
|
3736
|
+
},
|
|
3737
|
+
"use_provider_default": {
|
|
3738
|
+
"const": true
|
|
3739
|
+
}
|
|
3740
|
+
},
|
|
3741
|
+
"oneOf": [
|
|
3742
|
+
{
|
|
3743
|
+
"required": ["id"],
|
|
3744
|
+
"not": {
|
|
3745
|
+
"required": ["use_provider_default"]
|
|
3746
|
+
}
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
"required": ["use_provider_default"],
|
|
3750
|
+
"not": {
|
|
3751
|
+
"required": ["id"]
|
|
3752
|
+
}
|
|
3753
|
+
}
|
|
3754
|
+
]
|
|
3755
|
+
},
|
|
3756
|
+
"ContextInlineEntry": {
|
|
3757
|
+
"description": "Untrusted inline selection text with optional resource reference, source metadata and summary. Source metadata is not an authorization claim.",
|
|
3758
|
+
"type": "object",
|
|
3759
|
+
"additionalProperties": false,
|
|
3760
|
+
"required": ["text"],
|
|
3761
|
+
"properties": {
|
|
3762
|
+
"text": {
|
|
3763
|
+
"type": "string",
|
|
3764
|
+
"minLength": 1
|
|
3765
|
+
},
|
|
3766
|
+
"resource_ref": {
|
|
3767
|
+
"type": "string",
|
|
3768
|
+
"minLength": 1
|
|
3769
|
+
},
|
|
3770
|
+
"source": {
|
|
3771
|
+
"type": ["object", "string"],
|
|
3772
|
+
"additionalProperties": true
|
|
3773
|
+
},
|
|
3774
|
+
"summary": {
|
|
3775
|
+
"type": "string"
|
|
3776
|
+
}
|
|
3777
|
+
}
|
|
3778
|
+
},
|
|
3779
|
+
"ContextReferenceEntry": {
|
|
3780
|
+
"description": "Declarative MCP resource operation. Only deployed scoped operations may execute; schema validation does not authorize access.",
|
|
3781
|
+
"type": "object",
|
|
3782
|
+
"additionalProperties": false,
|
|
3783
|
+
"required": ["resource_ref", "resolver", "locator"],
|
|
3784
|
+
"properties": {
|
|
3785
|
+
"resource_ref": {
|
|
3786
|
+
"type": "string",
|
|
3787
|
+
"minLength": 1
|
|
3788
|
+
},
|
|
3789
|
+
"resolver": {
|
|
3790
|
+
"const": "mcp"
|
|
3791
|
+
},
|
|
3792
|
+
"locator": {
|
|
3793
|
+
"type": "object"
|
|
3794
|
+
},
|
|
3795
|
+
"params": {
|
|
3796
|
+
"description": "Frozen non-secret JSON parameters supplied by the authenticated resolver plan, not model-generated commands.",
|
|
3797
|
+
"type": "object",
|
|
3798
|
+
"additionalProperties": true,
|
|
3799
|
+
"tsType": "Record<string, unknown>"
|
|
3800
|
+
},
|
|
3801
|
+
"authorization_ref": {
|
|
3802
|
+
"type": "string",
|
|
3803
|
+
"minLength": 1
|
|
3804
|
+
},
|
|
3805
|
+
"revision": {
|
|
3806
|
+
"type": "string",
|
|
3807
|
+
"minLength": 1
|
|
3808
|
+
}
|
|
3809
|
+
},
|
|
3810
|
+
"allOf": [
|
|
3811
|
+
{
|
|
3812
|
+
"properties": {
|
|
3813
|
+
"locator": {
|
|
3814
|
+
"$ref": "#/definitions/ContextMcpLocator"
|
|
3815
|
+
}
|
|
3816
|
+
}
|
|
3817
|
+
}
|
|
3818
|
+
]
|
|
3819
|
+
},
|
|
3820
|
+
"ContextInlinePayload": {
|
|
3821
|
+
"type": "object",
|
|
3822
|
+
"additionalProperties": false,
|
|
3823
|
+
"required": ["entries"],
|
|
3824
|
+
"properties": {
|
|
3825
|
+
"entries": {
|
|
3826
|
+
"type": "array",
|
|
3827
|
+
"minItems": 1,
|
|
3828
|
+
"items": {
|
|
3829
|
+
"$ref": "#/definitions/ContextInlineEntry"
|
|
3830
|
+
}
|
|
3831
|
+
}
|
|
3832
|
+
}
|
|
3833
|
+
},
|
|
3834
|
+
"ContextReferencesPayload": {
|
|
3835
|
+
"type": "object",
|
|
3836
|
+
"x-octo-unique-resource-refs": true,
|
|
3837
|
+
"additionalProperties": false,
|
|
3838
|
+
"required": ["entries"],
|
|
3839
|
+
"properties": {
|
|
3840
|
+
"entries": {
|
|
3841
|
+
"type": "array",
|
|
3842
|
+
"minItems": 1,
|
|
3843
|
+
"uniqueItems": true,
|
|
3844
|
+
"items": {
|
|
3845
|
+
"$ref": "#/definitions/ContextReferenceEntry"
|
|
3846
|
+
}
|
|
3847
|
+
}
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3850
|
+
"ToolAuthorization": {
|
|
3851
|
+
"title": "ToolAuthorization",
|
|
3852
|
+
"description": "Business authorization intent; never a tool installation definition.",
|
|
3853
|
+
"type": "object",
|
|
3854
|
+
"additionalProperties": false,
|
|
3855
|
+
"required": ["service_subject_id", "allowed_tools", "resource_refs"],
|
|
3856
|
+
"properties": {
|
|
3857
|
+
"service_subject_id": {
|
|
3858
|
+
"type": "string",
|
|
3859
|
+
"minLength": 1,
|
|
3860
|
+
"maxLength": 96
|
|
3861
|
+
},
|
|
3862
|
+
"allowed_tools": {
|
|
3863
|
+
"type": "array",
|
|
3864
|
+
"minItems": 1,
|
|
3865
|
+
"maxItems": 128,
|
|
3866
|
+
"uniqueItems": true,
|
|
3867
|
+
"items": {
|
|
3868
|
+
"type": "string",
|
|
3869
|
+
"minLength": 1,
|
|
3870
|
+
"maxLength": 512
|
|
3871
|
+
}
|
|
3872
|
+
},
|
|
3873
|
+
"resource_refs": {
|
|
3874
|
+
"type": "array",
|
|
3875
|
+
"minItems": 1,
|
|
3876
|
+
"maxItems": 128,
|
|
3877
|
+
"uniqueItems": true,
|
|
3878
|
+
"items": {
|
|
3879
|
+
"type": "string",
|
|
3880
|
+
"minLength": 1,
|
|
3881
|
+
"maxLength": 512
|
|
3882
|
+
}
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
3885
|
+
},
|
|
3886
|
+
"IssuedToolAuthorization": {
|
|
3887
|
+
"title": "IssuedToolAuthorization",
|
|
3888
|
+
"description": "Run lease-bound credentials delivered over the authenticated Runtime channel. Never enter provider configuration, prompts or logs.",
|
|
3889
|
+
"type": "object",
|
|
3890
|
+
"additionalProperties": false,
|
|
3891
|
+
"required": [
|
|
3892
|
+
"service_subject_id",
|
|
3893
|
+
"allowed_tools",
|
|
3894
|
+
"resource_refs",
|
|
3895
|
+
"token",
|
|
3896
|
+
"octo_space_id",
|
|
3897
|
+
"namespace",
|
|
3898
|
+
"expires_at"
|
|
3899
|
+
],
|
|
3900
|
+
"properties": {
|
|
3901
|
+
"service_subject_id": {
|
|
3902
|
+
"type": "string",
|
|
3903
|
+
"minLength": 1,
|
|
3904
|
+
"maxLength": 96
|
|
3905
|
+
},
|
|
3906
|
+
"allowed_tools": {
|
|
3907
|
+
"type": "array",
|
|
3908
|
+
"minItems": 1,
|
|
3909
|
+
"maxItems": 128,
|
|
3910
|
+
"uniqueItems": true,
|
|
3911
|
+
"items": {
|
|
3912
|
+
"type": "string",
|
|
3913
|
+
"minLength": 1,
|
|
3914
|
+
"maxLength": 512
|
|
3915
|
+
}
|
|
3916
|
+
},
|
|
3917
|
+
"resource_refs": {
|
|
3918
|
+
"type": "array",
|
|
3919
|
+
"minItems": 1,
|
|
3920
|
+
"maxItems": 128,
|
|
3921
|
+
"uniqueItems": true,
|
|
3922
|
+
"items": {
|
|
3923
|
+
"type": "string",
|
|
3924
|
+
"minLength": 1,
|
|
3925
|
+
"maxLength": 512
|
|
3926
|
+
}
|
|
3927
|
+
},
|
|
3928
|
+
"token": {
|
|
3929
|
+
"type": "string",
|
|
3930
|
+
"minLength": 1,
|
|
3931
|
+
"maxLength": 512
|
|
3932
|
+
},
|
|
3933
|
+
"octo_space_id": {
|
|
3934
|
+
"type": "string",
|
|
3935
|
+
"minLength": 1,
|
|
3936
|
+
"maxLength": 512
|
|
3937
|
+
},
|
|
3938
|
+
"namespace": {
|
|
3939
|
+
"type": "string",
|
|
3940
|
+
"minLength": 1,
|
|
3941
|
+
"maxLength": 512
|
|
3942
|
+
},
|
|
3943
|
+
"expires_at": {
|
|
3944
|
+
"type": "string",
|
|
3945
|
+
"format": "date-time"
|
|
3946
|
+
}
|
|
3947
|
+
}
|
|
3948
|
+
},
|
|
3949
|
+
"ContextEnvsPayload": {
|
|
3950
|
+
"title": "ContextEnvsPayload",
|
|
3951
|
+
"description": "Run 级环境变量列表;以 key 标识变量,按 key 合并,不进入模型输入。",
|
|
3952
|
+
"type": "object",
|
|
3953
|
+
"additionalProperties": false,
|
|
3954
|
+
"required": ["env_variables"],
|
|
3955
|
+
"properties": {
|
|
3956
|
+
"env_variables": {
|
|
3957
|
+
"type": "array",
|
|
3958
|
+
"maxItems": 128,
|
|
3959
|
+
"items": {
|
|
3960
|
+
"type": "object",
|
|
3961
|
+
"additionalProperties": false,
|
|
3962
|
+
"required": ["key", "value"],
|
|
3963
|
+
"properties": {
|
|
3964
|
+
"key": {
|
|
3965
|
+
"type": "string",
|
|
3966
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
3967
|
+
},
|
|
3968
|
+
"value": {
|
|
3969
|
+
"type": "string",
|
|
3970
|
+
"pattern": "^[^\\u0000]*$"
|
|
3971
|
+
}
|
|
3972
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
}
|
|
3975
|
+
},
|
|
3976
|
+
"x-octo-unique-env-keys": true
|
|
3977
|
+
},
|
|
3978
|
+
"ContextMcpPayload": {
|
|
3979
|
+
"title": "ContextMcpPayload",
|
|
3980
|
+
"description": "Run-scoped MCP connection templates. Server names are dynamic keys; values are validated by transport. Variables resolve only in the execution environment, never in the model context.",
|
|
3981
|
+
"type": "object",
|
|
3982
|
+
"additionalProperties": false,
|
|
3983
|
+
"required": ["mcpServers"],
|
|
3984
|
+
"properties": {
|
|
3985
|
+
"mcpServers": {
|
|
3986
|
+
"$ref": "#/definitions/McpServers"
|
|
3987
|
+
}
|
|
3988
|
+
}
|
|
3989
|
+
}
|
|
3990
|
+
}
|
|
3991
|
+
}
|