@mininglamp-oss/octo-runtime 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/README.md +62 -38
  2. package/apps/cli/README.md +58 -22
  3. package/apps/cli/dist/build-info.json +2 -2
  4. package/apps/cli/dist/cli-entrypoint.d.ts +2 -0
  5. package/apps/cli/dist/cli-entrypoint.js +16 -0
  6. package/apps/cli/dist/command-tree.d.ts +20 -0
  7. package/apps/cli/dist/command-tree.js +402 -0
  8. package/apps/cli/dist/extra-command-config.d.ts +4 -0
  9. package/apps/cli/dist/extra-command-config.js +50 -0
  10. package/apps/cli/dist/extra-commands.d.ts +15 -0
  11. package/apps/cli/dist/extra-commands.js +275 -0
  12. package/apps/cli/dist/extras.js +14 -2
  13. package/apps/cli/dist/global-extras.d.ts +16 -0
  14. package/apps/cli/dist/global-extras.js +201 -0
  15. package/apps/cli/dist/help.d.ts +4 -1
  16. package/apps/cli/dist/help.js +31 -75
  17. package/apps/cli/dist/main.d.ts +2 -0
  18. package/apps/cli/dist/main.js +53 -63
  19. package/apps/cli/dist/manifest.json +53 -3
  20. package/apps/cli/dist/module-manifest.d.ts +1 -1
  21. package/apps/cli/dist/module-manifest.js +3 -2
  22. package/apps/cli/dist/openclaw.js +32 -8
  23. package/apps/cli/dist/output.js +16 -2
  24. package/apps/cli/dist/playboard.d.ts +5 -0
  25. package/apps/cli/dist/playboard.js +41 -13
  26. package/apps/cli/dist/service-control.js +2 -2
  27. package/apps/cli/dist/state.js +48 -19
  28. package/dist/public/channel-gateway-commands.d.ts +1 -0
  29. package/dist/public/channel-gateway-commands.js +1 -0
  30. package/dist/public/channel-wecom-commands.d.ts +1 -0
  31. package/dist/public/channel-wecom-commands.js +1 -0
  32. package/dist/public/dsh.d.ts +2 -0
  33. package/dist/public/dsh.js +1 -0
  34. package/dist/public/executor-kernel.d.ts +1 -1
  35. package/dist/public/executor-kernel.js +1 -1
  36. package/dist/public/extra.d.ts +1 -0
  37. package/dist/public/extra.js +1 -0
  38. package/dist/public/host.d.ts +2 -4
  39. package/dist/public/host.js +1 -2
  40. package/dist/public/webui-commands.d.ts +1 -0
  41. package/dist/public/webui-commands.js +1 -0
  42. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.js +2 -2
  43. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +4 -0
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +26 -2
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +3 -3
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/chunk-DYOJCNWF.js +854 -0
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/chunk-G5PWGRL5.js +209 -0
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/chunk-UOQRXV3Q.js +340 -0
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/desktop-entry.d.ts +1 -0
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/desktop-entry.js +16 -0
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +6 -0
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-client-LICENSE.txt +21 -0
  59. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-protocol-LICENSE.txt +21 -0
  60. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.d.ts +35 -0
  61. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +14 -0
  62. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +52 -0
  63. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +306 -0
  64. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.d.ts +11 -0
  65. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +13 -0
  66. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.d.ts +12 -0
  67. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +7 -0
  68. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +15 -0
  69. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/client.js +2 -1
  70. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  71. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  72. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  73. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  74. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
  75. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +10 -5
  76. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +214 -55
  77. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  78. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
  79. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
  80. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +3 -0
  81. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.d.ts +4 -0
  82. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.js +24 -2
  83. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/hourly-log.js +11 -3
  84. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +12 -3
  85. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +30 -8
  86. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/mcp.js +4 -3
  87. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +6 -0
  88. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +16 -4
  89. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +15 -2
  90. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +29 -1
  91. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  92. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.js +5 -5
  93. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +3 -3
  94. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  95. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/cli-entrypoint.d.ts +2 -0
  96. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/cli-entrypoint.js +16 -0
  97. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +20 -0
  98. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +402 -0
  99. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +4 -0
  100. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +50 -0
  101. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +15 -0
  102. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +275 -0
  103. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +14 -2
  104. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +16 -0
  105. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +201 -0
  106. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +4 -1
  107. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +31 -75
  108. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.d.ts +2 -0
  109. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +53 -63
  110. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +53 -3
  111. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
  112. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +3 -2
  113. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +32 -8
  114. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +16 -2
  115. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.d.ts +5 -0
  116. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +41 -13
  117. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +2 -2
  118. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.js +48 -19
  119. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +25 -23
  120. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.d.ts +2 -2
  121. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.js +16 -6
  122. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/systemd.js +9 -7
  123. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.d.ts +4 -1
  124. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.js +36 -11
  125. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  126. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +7 -2
  127. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  128. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +2 -1
  129. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +2 -1
  130. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.js +2 -1
  131. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.d.ts +16 -1
  132. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.js +152 -21
  133. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.js +9 -2
  134. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.d.ts +8 -0
  135. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.js +17 -0
  136. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +4 -4
  137. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +56 -0
  138. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +170 -28
  139. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +3 -1
  140. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +4 -0
  141. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +124 -0
  142. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +19 -1
  143. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +23 -0
  144. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +43 -0
  145. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +15 -0
  146. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +283 -0
  147. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +2 -0
  148. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +15 -1
  149. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +5 -1
  150. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +48 -13
  151. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +1 -1
  152. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +5 -3
  153. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +26 -1
  154. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +2 -1
  155. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +1 -0
  156. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +3 -2
  157. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +3 -2
  158. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +4 -0
  159. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +104 -3
  160. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +4 -3
  161. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.d.ts +2 -0
  162. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.js +7 -0
  163. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +1 -1
  164. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +4 -3
  165. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +9 -0
  166. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +44 -13
  167. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +7 -0
  168. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +44 -3
  169. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +2 -1
  170. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +7 -0
  171. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +18 -12
  172. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +10 -6
  173. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +141 -16
  174. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +3 -1
  175. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.d.ts +4 -0
  176. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.js +128 -0
  177. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +9 -5
  178. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.d.ts +3 -0
  179. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.js +51 -0
  180. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CXTvRGim.js +74 -0
  181. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +1 -1
  182. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +7 -3
  183. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.d.ts +70 -0
  184. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.js +16 -0
  185. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +33 -9
  186. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.js +9 -4
  187. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +1 -3
  188. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +1 -2
  189. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +8 -4
  190. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +5 -0
  191. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +39 -1
  192. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +76 -7
  193. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  194. package/node_modules/commander/LICENSE +22 -0
  195. package/node_modules/commander/Readme.md +1172 -0
  196. package/node_modules/commander/index.js +21 -0
  197. package/node_modules/commander/lib/argument.js +147 -0
  198. package/node_modules/commander/lib/command.js +2790 -0
  199. package/node_modules/commander/lib/error.js +36 -0
  200. package/node_modules/commander/lib/help.js +731 -0
  201. package/node_modules/commander/lib/option.js +377 -0
  202. package/node_modules/commander/lib/suggestSimilar.js +99 -0
  203. package/node_modules/commander/package-support.json +19 -0
  204. package/node_modules/commander/package.json +64 -0
  205. package/node_modules/commander/typings/index.d.ts +1113 -0
  206. package/package.json +49 -29
  207. package/packages/octo-runtime-extra-channel-gateway/config-schema.json +56 -0
  208. package/packages/octo-runtime-protocol/schema/kernel-ipc.schema.json +443 -56
  209. package/packages/octo-runtime-protocol/schema/protocol.schema.json +357 -37
  210. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-DiPc-ipL.js +0 -74
  211. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/launch.d.ts +0 -15
  212. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/launch.js +0 -22
  213. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/native.d.ts +0 -16
  214. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/native.js +0 -160
@@ -19,11 +19,29 @@
19
19
  "protocol_mode"
20
20
  ],
21
21
  "properties": {
22
- "run_id": { "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"] }
22
+ "run_id": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 256
26
+ },
27
+ "invocation_id": {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "maxLength": 256
31
+ },
32
+ "agent_session_id": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "maxLength": 256
36
+ },
37
+ "session_generation": {
38
+ "type": "integer",
39
+ "minimum": 0,
40
+ "maximum": 9007199254740991
41
+ },
42
+ "protocol_mode": {
43
+ "$ref": "#/definitions/ProtocolMode"
44
+ }
27
45
  }
28
46
  },
29
47
  "KernelRunRef": {
@@ -41,14 +59,43 @@
41
59
  "protocol"
42
60
  ],
43
61
  "properties": {
44
- "kernel_instance_id": { "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 }
62
+ "kernel_instance_id": {
63
+ "type": "string",
64
+ "minLength": 1
65
+ },
66
+ "run_id": {
67
+ "type": "string",
68
+ "minLength": 1,
69
+ "maxLength": 256
70
+ },
71
+ "invocation_id": {
72
+ "type": "string",
73
+ "minLength": 1,
74
+ "maxLength": 256
75
+ },
76
+ "stream_id": {
77
+ "type": "string",
78
+ "minLength": 1,
79
+ "maxLength": 256
80
+ },
81
+ "agent_session_id": {
82
+ "type": "string",
83
+ "minLength": 1,
84
+ "maxLength": 256
85
+ },
86
+ "session_generation": {
87
+ "type": "integer",
88
+ "minimum": 0,
89
+ "maximum": 9007199254740991
90
+ },
91
+ "protocol_mode": {
92
+ "$ref": "#/definitions/ProtocolMode"
93
+ },
94
+ "protocol": {
95
+ "type": "string",
96
+ "minLength": 1,
97
+ "maxLength": 128
98
+ }
52
99
  }
53
100
  },
54
101
  "KernelRunSnapshot": {
@@ -57,10 +104,22 @@
57
104
  "additionalProperties": false,
58
105
  "required": ["ref", "oldest_seq", "latest_seq"],
59
106
  "properties": {
60
- "ref": { "$ref": "#/definitions/KernelRunRef" },
61
- "oldest_seq": { "type": "integer", "minimum": 1 },
62
- "latest_seq": { "type": "integer", "minimum": 0 },
63
- "terminal": { "$ref": "#/definitions/HostFrame" }
107
+ "ref": {
108
+ "$ref": "#/definitions/KernelRunRef"
109
+ },
110
+ "oldest_seq": {
111
+ "type": "integer",
112
+ "minimum": 1,
113
+ "maximum": 9007199254740991
114
+ },
115
+ "latest_seq": {
116
+ "type": "integer",
117
+ "minimum": 0,
118
+ "maximum": 9007199254740991
119
+ },
120
+ "terminal": {
121
+ "$ref": "#/definitions/HostFrame"
122
+ }
64
123
  }
65
124
  },
66
125
  "KernelStatus": {
@@ -69,19 +128,40 @@
69
128
  "additionalProperties": false,
70
129
  "required": ["ipc_version", "kernel_instance_id", "pid", "worker", "execution_ready"],
71
130
  "properties": {
72
- "ipc_version": { "const": 1 },
73
- "kernel_instance_id": { "type": "string", "minLength": 1 },
74
- "pid": { "type": "integer", "minimum": 1 },
75
- "execution_ready": { "type": "boolean" },
131
+ "ipc_version": {
132
+ "const": 1
133
+ },
134
+ "kernel_instance_id": {
135
+ "type": "string",
136
+ "minLength": 1
137
+ },
138
+ "pid": {
139
+ "type": "integer",
140
+ "minimum": 1
141
+ },
142
+ "execution_ready": {
143
+ "type": "boolean"
144
+ },
76
145
  "worker": {
77
146
  "type": "object",
78
147
  "additionalProperties": false,
79
148
  "required": ["generation", "state", "restart_attempt"],
80
149
  "properties": {
81
- "pid": { "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"] }
150
+ "pid": {
151
+ "type": "integer",
152
+ "minimum": 1
153
+ },
154
+ "generation": {
155
+ "type": "integer",
156
+ "minimum": 0
157
+ },
158
+ "restart_attempt": {
159
+ "type": "integer",
160
+ "minimum": 0
161
+ },
162
+ "state": {
163
+ "enum": ["starting", "ready", "recovering", "stopped", "exhausted"]
164
+ }
85
165
  }
86
166
  }
87
167
  }
@@ -305,9 +385,15 @@
305
385
  "additionalProperties": false,
306
386
  "required": ["type", "name", "payload"],
307
387
  "properties": {
308
- "type": { "const": "evidence" },
309
- "name": { "const": "execution" },
310
- "payload": { "$ref": "#/definitions/ExecutionEvidence" }
388
+ "type": {
389
+ "const": "evidence"
390
+ },
391
+ "name": {
392
+ "const": "execution"
393
+ },
394
+ "payload": {
395
+ "$ref": "#/definitions/ExecutionEvidence"
396
+ }
311
397
  }
312
398
  },
313
399
  {
@@ -904,12 +990,20 @@
904
990
  {
905
991
  "if": {
906
992
  "properties": {
907
- "namespace": { "const": "octo.execution" },
908
- "name": { "const": "adapter" }
993
+ "namespace": {
994
+ "const": "octo.execution"
995
+ },
996
+ "name": {
997
+ "const": "adapter"
998
+ }
909
999
  }
910
1000
  },
911
1001
  "then": {
912
- "properties": { "payload": { "$ref": "#/definitions/ContextAdapterPayload" } }
1002
+ "properties": {
1003
+ "payload": {
1004
+ "$ref": "#/definitions/ContextAdapterPayload"
1005
+ }
1006
+ }
913
1007
  }
914
1008
  },
915
1009
  {
@@ -1548,7 +1642,9 @@
1548
1642
  "additionalProperties": false,
1549
1643
  "required": ["mode"],
1550
1644
  "properties": {
1551
- "mode": { "enum": ["default", "plan"] }
1645
+ "mode": {
1646
+ "enum": ["default", "plan"]
1647
+ }
1552
1648
  }
1553
1649
  },
1554
1650
  "ExecutionEvidence": {
@@ -1561,10 +1657,19 @@
1561
1657
  "additionalProperties": false,
1562
1658
  "required": ["requested", "effective", "status"],
1563
1659
  "properties": {
1564
- "requested": { "enum": ["default", "plan"] },
1565
- "effective": { "enum": ["default", "plan", null] },
1566
- "status": { "enum": ["applied", "fallback", "unknown"] },
1567
- "nativeMode": { "type": "string", "minLength": 1 },
1660
+ "requested": {
1661
+ "enum": ["default", "plan"]
1662
+ },
1663
+ "effective": {
1664
+ "enum": ["default", "plan", null]
1665
+ },
1666
+ "status": {
1667
+ "enum": ["applied", "fallback", "unknown"]
1668
+ },
1669
+ "nativeMode": {
1670
+ "type": "string",
1671
+ "minLength": 1
1672
+ },
1568
1673
  "reason": {
1569
1674
  "enum": ["provider_unsupported", "adapter_unmapped", "provider_unconfirmed"]
1570
1675
  }
@@ -2027,7 +2132,9 @@
2027
2132
  "additionalProperties": false,
2028
2133
  "required": ["agent_source", "adapter_type", "workdir", "approval_mode"],
2029
2134
  "properties": {
2030
- "actmode": { "enum": ["default", "plan"] },
2135
+ "actmode": {
2136
+ "enum": ["default", "plan"]
2137
+ },
2031
2138
  "adapter_type": {
2032
2139
  "type": "string",
2033
2140
  "minLength": 1
@@ -3986,6 +4093,219 @@
3986
4093
  "$ref": "#/definitions/McpServers"
3987
4094
  }
3988
4095
  }
4096
+ },
4097
+ "ModelInputParts": {
4098
+ "type": "array",
4099
+ "minItems": 1,
4100
+ "maxItems": 128,
4101
+ "items": {
4102
+ "$ref": "#/definitions/ModelInputPart"
4103
+ }
4104
+ },
4105
+ "InvokeInputWire": {
4106
+ "type": "object",
4107
+ "additionalProperties": true,
4108
+ "required": ["inputs", "contexts"],
4109
+ "properties": {
4110
+ "sessionId": {
4111
+ "type": "string",
4112
+ "minLength": 1
4113
+ },
4114
+ "invocationId": {
4115
+ "type": "string",
4116
+ "minLength": 1
4117
+ },
4118
+ "runId": {
4119
+ "type": "string",
4120
+ "minLength": 1
4121
+ },
4122
+ "prompt": {
4123
+ "type": "string",
4124
+ "minLength": 1
4125
+ },
4126
+ "modelInput": {
4127
+ "type": "string",
4128
+ "minLength": 1
4129
+ },
4130
+ "freshFallbackModelInput": {
4131
+ "type": "string",
4132
+ "minLength": 1
4133
+ },
4134
+ "workdir": {
4135
+ "type": "string"
4136
+ },
4137
+ "controlInstructions": {
4138
+ "type": "string"
4139
+ },
4140
+ "inputs": {
4141
+ "$ref": "#/definitions/ModelInputParts"
4142
+ },
4143
+ "contexts": {
4144
+ "$ref": "#/definitions/ContextEnvelope"
4145
+ },
4146
+ "protocol_mode": {
4147
+ "$ref": "#/definitions/ProtocolMode"
4148
+ },
4149
+ "agentSource": {
4150
+ "$ref": "#/definitions/AgentSource"
4151
+ },
4152
+ "approvalMode": {
4153
+ "$ref": "#/definitions/ApprovalMode"
4154
+ },
4155
+ "agentConfig": {
4156
+ "$ref": "#/definitions/AgentConfig"
4157
+ },
4158
+ "runtimeLimits": {
4159
+ "$ref": "#/definitions/RuntimeLimits"
4160
+ },
4161
+ "providerSession": {
4162
+ "$ref": "#/definitions/ProviderSession"
4163
+ },
4164
+ "sessionGeneration": {
4165
+ "type": "integer",
4166
+ "minimum": 0,
4167
+ "maximum": 9007199254740991
4168
+ },
4169
+ "providerEpoch": {
4170
+ "type": "integer",
4171
+ "minimum": 0,
4172
+ "maximum": 9007199254740991
4173
+ },
4174
+ "runMetadata": {
4175
+ "type": "object",
4176
+ "additionalProperties": true
4177
+ },
4178
+ "continuityMode": {
4179
+ "enum": ["fresh", "continue"]
4180
+ },
4181
+ "freshFallbackModelInputParts": {
4182
+ "$ref": "#/definitions/ModelInputParts"
4183
+ },
4184
+ "freshFallbackImagesUnavailable": {
4185
+ "type": "boolean"
4186
+ }
4187
+ },
4188
+ "allOf": [
4189
+ {
4190
+ "not": {
4191
+ "required": ["protocolMode"]
4192
+ }
4193
+ },
4194
+ {
4195
+ "not": {
4196
+ "required": ["adapterType"]
4197
+ }
4198
+ },
4199
+ {
4200
+ "not": {
4201
+ "required": ["request"]
4202
+ }
4203
+ },
4204
+ {
4205
+ "not": {
4206
+ "required": ["options"]
4207
+ }
4208
+ },
4209
+ {
4210
+ "not": {
4211
+ "required": ["signal"]
4212
+ }
4213
+ },
4214
+ {
4215
+ "not": {
4216
+ "required": ["executionEnvOverrides"]
4217
+ }
4218
+ },
4219
+ {
4220
+ "properties": {
4221
+ "agentConfig": {
4222
+ "properties": {
4223
+ "timeoutSeconds": {
4224
+ "not": {
4225
+ "maximum": 0
4226
+ }
4227
+ }
4228
+ }
4229
+ },
4230
+ "providerSession": {
4231
+ "properties": {
4232
+ "sessionId": {
4233
+ "pattern": "[^\\t\\n\\r\\f\\v    - 

   ]"
4234
+ }
4235
+ }
4236
+ }
4237
+ }
4238
+ }
4239
+ ],
4240
+ "x-octo-unicode-scalar-strings": true,
4241
+ "x-octo-max-json-depth": 32,
4242
+ "x-octo-max-json-bytes": 33554432
4243
+ },
4244
+ "KernelInvokeEnvironmentWire": {
4245
+ "type": "object",
4246
+ "additionalProperties": false,
4247
+ "required": [],
4248
+ "properties": {
4249
+ "executionEnvOverrides": {
4250
+ "$ref": "#/definitions/ContextEnvsPayload"
4251
+ }
4252
+ }
4253
+ },
4254
+ "InteractionResponseWire": {
4255
+ "type": "object",
4256
+ "additionalProperties": true,
4257
+ "required": ["interactionId", "outcome"],
4258
+ "properties": {
4259
+ "interactionId": {
4260
+ "type": "string",
4261
+ "minLength": 1,
4262
+ "maxLength": 191
4263
+ },
4264
+ "outcome": {
4265
+ "enum": ["accepted", "declined", "answered", "cancelled"]
4266
+ },
4267
+ "value": {}
4268
+ }
4269
+ },
4270
+ "HostedAdapterMetadataWire": {
4271
+ "type": "object",
4272
+ "additionalProperties": true,
4273
+ "required": ["type", "agentSources"],
4274
+ "properties": {
4275
+ "type": {
4276
+ "type": "string"
4277
+ },
4278
+ "agentSources": {
4279
+ "type": "array",
4280
+ "items": {
4281
+ "$ref": "#/definitions/AgentSource"
4282
+ }
4283
+ },
4284
+ "workspace": {
4285
+ "type": "boolean"
4286
+ },
4287
+ "protocolSupport": {
4288
+ "$ref": "#/definitions/AdapterProtocolSupport"
4289
+ },
4290
+ "processModel": {
4291
+ "type": "string"
4292
+ },
4293
+ "transport": {
4294
+ "type": "string"
4295
+ },
4296
+ "providerVersion": {
4297
+ "type": ["string", "null"]
4298
+ },
4299
+ "providerPath": {
4300
+ "type": ["string", "null"]
4301
+ },
4302
+ "available": {
4303
+ "type": "boolean"
4304
+ },
4305
+ "unavailableReason": {
4306
+ "type": ["string", "null"]
4307
+ }
4308
+ }
3989
4309
  }
3990
4310
  }
3991
4311
  }