@mininglamp-oss/octo-runtime 1.1.9 → 1.1.11

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 (225) hide show
  1. package/README.md +2 -2
  2. package/apps/cli/README.md +1 -1
  3. package/{node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-configuration.d.ts → apps/cli/dist/adapter-configuration.d.ts} +1 -0
  4. package/{node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-configuration.js → apps/cli/dist/adapter-configuration.js} +1 -0
  5. package/apps/cli/dist/adapter-configurations.d.ts +1 -1
  6. package/apps/cli/dist/adapter-configurations.js +1 -1
  7. package/apps/cli/dist/adapters.d.ts +7 -0
  8. package/apps/cli/dist/adapters.js +77 -0
  9. package/apps/cli/dist/build-info.json +2 -2
  10. package/apps/cli/dist/command-tree.js +2 -3
  11. package/apps/cli/dist/extras.js +11 -1
  12. package/apps/cli/dist/help.js +1 -1
  13. package/apps/cli/dist/index.js +18 -1
  14. package/apps/cli/dist/main.d.ts +2 -0
  15. package/apps/cli/dist/main.js +67 -34
  16. package/apps/cli/dist/manifest.json +0 -5
  17. package/apps/cli/dist/module-manifest.js +21 -3
  18. package/apps/cli/dist/output.d.ts +19 -1
  19. package/apps/cli/dist/output.js +180 -33
  20. package/apps/cli/dist/playboard-interrupt.d.ts +6 -0
  21. package/apps/cli/dist/playboard-interrupt.js +86 -0
  22. package/apps/cli/dist/playboard.d.ts +2 -0
  23. package/apps/cli/dist/playboard.js +10 -11
  24. package/apps/cli/dist/state.d.ts +5 -2
  25. package/apps/cli/dist/state.js +48 -13
  26. package/dist/public/codex.d.ts +1 -0
  27. package/dist/public/codex.js +1 -0
  28. package/dist/public/executor-kernel.d.ts +4 -1
  29. package/dist/public/executor-kernel.js +2 -1
  30. package/dist/public/extra.d.ts +1 -1
  31. package/dist/public/host.d.ts +5 -0
  32. package/dist/public/host.js +2 -0
  33. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  34. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +20 -0
  35. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  36. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  37. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  38. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.d.ts +6 -6
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +68 -253
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +11 -6
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +198 -52
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.d.ts +58 -0
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.js +650 -0
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.d.ts +3 -0
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.js +15 -0
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +3 -3
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +2 -0
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +5 -0
  59. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.d.ts +25 -0
  60. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +3 -0
  61. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/reasoning.js +1 -2
  62. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +1 -1
  63. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +12 -30
  64. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  65. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapter-configuration.d.ts +3 -0
  66. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapter-configuration.js +125 -0
  67. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapter-configurations.d.ts +1 -1
  68. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapter-configurations.js +1 -1
  69. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.d.ts +7 -0
  70. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +77 -0
  71. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  72. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +2 -3
  73. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +11 -1
  74. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +1 -1
  75. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/index.js +18 -1
  76. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.d.ts +2 -0
  77. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +67 -34
  78. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +0 -5
  79. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +21 -3
  80. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.d.ts +19 -1
  81. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +180 -33
  82. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard-interrupt.d.ts +6 -0
  83. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard-interrupt.js +86 -0
  84. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.d.ts +2 -0
  85. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +10 -11
  86. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.d.ts +5 -2
  87. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.js +48 -13
  88. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +23 -24
  89. package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +5 -0
  90. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.d.ts +30 -0
  91. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.js +199 -0
  92. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/browser.d.ts +1 -0
  93. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/browser.js +1 -0
  94. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.d.ts +10 -0
  95. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +465 -0
  96. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.d.ts +6 -0
  97. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.js +6 -0
  98. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/internal.d.ts +4 -0
  99. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/internal.js +5 -0
  100. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.d.ts +59 -0
  101. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.js +287 -0
  102. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/notification.d.ts +1 -0
  103. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/notification.js +1 -0
  104. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/protocol.d.ts +1 -0
  105. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/protocol.js +1 -0
  106. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/runtime-path.d.ts +21 -0
  107. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/runtime-path.js +138 -0
  108. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.d.ts +8 -0
  109. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.js +65 -0
  110. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-diagnostics.d.ts +82 -0
  111. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-diagnostics.js +371 -0
  112. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.d.ts +10 -0
  113. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.js +23 -0
  114. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.d.ts +72 -0
  115. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.js +10 -0
  116. package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +54 -0
  117. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-configuration-fixtures.json +1219 -0
  118. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-fixtures.json +5988 -0
  119. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-client.behavior.json +56 -0
  120. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc-fixtures.json +53 -0
  121. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc.schema.json +538 -0
  122. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +116 -0
  123. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +4525 -0
  124. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +761 -0
  125. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/runtime-selection-fixtures.json +663 -0
  126. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/session-name-fixtures.json +191 -0
  127. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  128. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +29 -21
  129. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +173 -14
  130. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  131. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.d.ts +1 -30
  132. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.js +2 -199
  133. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.d.ts +1 -8
  134. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.js +2 -444
  135. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/endpoint.js +2 -0
  136. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/execution-source.d.ts +17 -0
  137. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/execution-source.js +21 -0
  138. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.d.ts +11 -9
  139. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.js +14 -3
  140. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +5 -7
  141. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +6 -7
  142. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.d.ts +1 -53
  143. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.js +2 -280
  144. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.d.ts +14 -13
  145. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.js +84 -187
  146. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.d.ts +5 -10
  147. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.js +4 -1
  148. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-home.d.ts +20 -0
  149. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-home.js +180 -0
  150. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +5 -8
  151. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +75 -45
  152. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.d.ts +9 -2
  153. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.js +60 -5
  154. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-catalog.d.ts +1 -0
  155. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-catalog.js +1 -0
  156. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-diagnostics.d.ts +1 -0
  157. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-diagnostics.js +1 -0
  158. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-logging.d.ts +4 -0
  159. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-logging.js +18 -0
  160. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.d.ts +1 -10
  161. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.js +2 -23
  162. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.d.ts +2 -72
  163. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.js +2 -10
  164. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -12
  165. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +1 -1
  166. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +2 -2
  167. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +6 -6
  168. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +1 -1
  169. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +2 -2
  170. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +5 -5
  171. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +4 -4
  172. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/{index-BVxePruX.js → index-BLMf2Etg.js} +1 -3
  173. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +1 -1
  174. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +2 -2
  175. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.d.ts +1 -1
  176. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.js +12 -5
  177. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.d.ts +5 -1
  178. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.js +9 -0
  179. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.d.ts +44 -0
  180. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.js +207 -0
  181. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +23 -3
  182. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +27 -4
  183. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +133 -25
  184. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.d.ts +10 -3
  185. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.js +18 -4
  186. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.d.ts +5 -6
  187. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.js +33 -45
  188. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/identity.js +6 -0
  189. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +4 -0
  190. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +3 -0
  191. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +5 -4
  192. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.d.ts +7 -0
  193. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +19 -15
  194. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +3 -1
  195. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +1 -0
  196. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.d.ts +5 -0
  197. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +65 -0
  198. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  199. package/package.json +33 -29
  200. package/packages/octo-runtime-protocol/schema/protocol.schema.json +42 -36
  201. package/apps/cli/dist/worker.js +0 -18
  202. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/app-server.d.ts +0 -63
  203. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/app-server.js +0 -846
  204. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.d.ts +0 -54
  205. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.js +0 -154
  206. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +0 -15
  207. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/worker.js +0 -18
  208. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/heartbeat.d.ts +0 -16
  209. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/heartbeat.js +0 -59
  210. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/manifest-adapters.d.ts +0 -6
  211. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/manifest-adapters.js +0 -88
  212. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.d.ts +0 -1
  213. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.js +0 -2
  214. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/process.d.ts +0 -42
  215. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/process.js +0 -292
  216. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/rpc.d.ts +0 -64
  217. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/rpc.js +0 -674
  218. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runner.d.ts +0 -2
  219. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runner.js +0 -5
  220. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.d.ts +0 -10
  221. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.js +0 -96
  222. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.d.ts +0 -15
  223. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.js +0 -279
  224. /package/{apps/cli/dist/worker.d.ts → node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.js} +0 -0
  225. /package/node_modules/@mininglamp-oss/{octo-runtime-cli/dist/worker.d.ts → octo-runtime-protocol/dist/adapter-metadata.js} +0 -0
@@ -0,0 +1,663 @@
1
+ [
2
+ {
3
+ "name": "explicit",
4
+ "valid": true,
5
+ "selection": {
6
+ "schema": "octo.runtime-selection/v2",
7
+ "selection_mode": "explicit",
8
+ "explicit_runtime_id": "runtime-1",
9
+ "authorized_candidates": [
10
+ {
11
+ "runtime_id": "runtime-1",
12
+ "priority": 1,
13
+ "owner_subject_type": "user",
14
+ "owner_subject_id": "user-1"
15
+ }
16
+ ],
17
+ "offline_behavior": "wait",
18
+ "failover": "none"
19
+ }
20
+ },
21
+ {
22
+ "name": "candidates",
23
+ "valid": true,
24
+ "selection": {
25
+ "schema": "octo.runtime-selection/v2",
26
+ "selection_mode": "candidates",
27
+ "authorized_candidates": [
28
+ {
29
+ "runtime_id": "runtime-1",
30
+ "priority": 1,
31
+ "owner_subject_type": "user",
32
+ "owner_subject_id": "user-1"
33
+ },
34
+ {
35
+ "runtime_id": "runtime-2",
36
+ "priority": 2,
37
+ "owner_subject_type": "user",
38
+ "owner_subject_id": "user-1"
39
+ }
40
+ ],
41
+ "offline_behavior": "wait",
42
+ "failover": "candidates"
43
+ }
44
+ },
45
+ {
46
+ "name": "candidates-no-failover",
47
+ "valid": true,
48
+ "selection": {
49
+ "schema": "octo.runtime-selection/v2",
50
+ "selection_mode": "candidates",
51
+ "authorized_candidates": [
52
+ {
53
+ "runtime_id": "runtime-1",
54
+ "priority": 1,
55
+ "owner_subject_type": "user",
56
+ "owner_subject_id": "user-1"
57
+ },
58
+ {
59
+ "runtime_id": "runtime-2",
60
+ "priority": 2,
61
+ "owner_subject_type": "user",
62
+ "owner_subject_id": "user-1"
63
+ }
64
+ ],
65
+ "offline_behavior": "wait",
66
+ "failover": "none"
67
+ }
68
+ },
69
+ {
70
+ "name": "explicit-fail-offline",
71
+ "valid": true,
72
+ "selection": {
73
+ "schema": "octo.runtime-selection/v2",
74
+ "selection_mode": "explicit",
75
+ "explicit_runtime_id": "runtime-1",
76
+ "authorized_candidates": [
77
+ {
78
+ "runtime_id": "runtime-1",
79
+ "priority": 1,
80
+ "owner_subject_type": "user",
81
+ "owner_subject_id": "user-1"
82
+ }
83
+ ],
84
+ "offline_behavior": "fail",
85
+ "failover": "none"
86
+ }
87
+ },
88
+ {
89
+ "name": "schema-missing",
90
+ "valid": false,
91
+ "selection": {
92
+ "selection_mode": "explicit",
93
+ "explicit_runtime_id": "runtime-1",
94
+ "authorized_candidates": [
95
+ {
96
+ "runtime_id": "runtime-1",
97
+ "priority": 1,
98
+ "owner_subject_type": "user",
99
+ "owner_subject_id": "user-1"
100
+ }
101
+ ],
102
+ "offline_behavior": "wait",
103
+ "failover": "none"
104
+ }
105
+ },
106
+ {
107
+ "name": "schema-null",
108
+ "valid": false,
109
+ "selection": {
110
+ "schema": null,
111
+ "selection_mode": "explicit",
112
+ "explicit_runtime_id": "runtime-1",
113
+ "authorized_candidates": [
114
+ {
115
+ "runtime_id": "runtime-1",
116
+ "priority": 1,
117
+ "owner_subject_type": "user",
118
+ "owner_subject_id": "user-1"
119
+ }
120
+ ],
121
+ "offline_behavior": "wait",
122
+ "failover": "none"
123
+ }
124
+ },
125
+ {
126
+ "name": "schema-case",
127
+ "valid": false,
128
+ "selection": {
129
+ "selection_mode": "explicit",
130
+ "explicit_runtime_id": "runtime-1",
131
+ "authorized_candidates": [
132
+ {
133
+ "runtime_id": "runtime-1",
134
+ "priority": 1,
135
+ "owner_subject_type": "user",
136
+ "owner_subject_id": "user-1"
137
+ }
138
+ ],
139
+ "offline_behavior": "wait",
140
+ "failover": "none",
141
+ "SCHEMA": "octo.runtime-selection/v2"
142
+ }
143
+ },
144
+ {
145
+ "name": "selection_mode-missing",
146
+ "valid": false,
147
+ "selection": {
148
+ "schema": "octo.runtime-selection/v2",
149
+ "explicit_runtime_id": "runtime-1",
150
+ "authorized_candidates": [
151
+ {
152
+ "runtime_id": "runtime-1",
153
+ "priority": 1,
154
+ "owner_subject_type": "user",
155
+ "owner_subject_id": "user-1"
156
+ }
157
+ ],
158
+ "offline_behavior": "wait",
159
+ "failover": "none"
160
+ }
161
+ },
162
+ {
163
+ "name": "selection_mode-null",
164
+ "valid": false,
165
+ "selection": {
166
+ "schema": "octo.runtime-selection/v2",
167
+ "selection_mode": null,
168
+ "explicit_runtime_id": "runtime-1",
169
+ "authorized_candidates": [
170
+ {
171
+ "runtime_id": "runtime-1",
172
+ "priority": 1,
173
+ "owner_subject_type": "user",
174
+ "owner_subject_id": "user-1"
175
+ }
176
+ ],
177
+ "offline_behavior": "wait",
178
+ "failover": "none"
179
+ }
180
+ },
181
+ {
182
+ "name": "selection_mode-case",
183
+ "valid": false,
184
+ "selection": {
185
+ "schema": "octo.runtime-selection/v2",
186
+ "explicit_runtime_id": "runtime-1",
187
+ "authorized_candidates": [
188
+ {
189
+ "runtime_id": "runtime-1",
190
+ "priority": 1,
191
+ "owner_subject_type": "user",
192
+ "owner_subject_id": "user-1"
193
+ }
194
+ ],
195
+ "offline_behavior": "wait",
196
+ "failover": "none",
197
+ "SELECTION_MODE": "explicit"
198
+ }
199
+ },
200
+ {
201
+ "name": "authorized_candidates-missing",
202
+ "valid": false,
203
+ "selection": {
204
+ "schema": "octo.runtime-selection/v2",
205
+ "selection_mode": "explicit",
206
+ "explicit_runtime_id": "runtime-1",
207
+ "offline_behavior": "wait",
208
+ "failover": "none"
209
+ }
210
+ },
211
+ {
212
+ "name": "authorized_candidates-null",
213
+ "valid": false,
214
+ "selection": {
215
+ "schema": "octo.runtime-selection/v2",
216
+ "selection_mode": "explicit",
217
+ "explicit_runtime_id": "runtime-1",
218
+ "authorized_candidates": null,
219
+ "offline_behavior": "wait",
220
+ "failover": "none"
221
+ }
222
+ },
223
+ {
224
+ "name": "authorized_candidates-case",
225
+ "valid": false,
226
+ "selection": {
227
+ "schema": "octo.runtime-selection/v2",
228
+ "selection_mode": "explicit",
229
+ "explicit_runtime_id": "runtime-1",
230
+ "offline_behavior": "wait",
231
+ "failover": "none",
232
+ "AUTHORIZED_CANDIDATES": [
233
+ {
234
+ "runtime_id": "runtime-1",
235
+ "priority": 1,
236
+ "owner_subject_type": "user",
237
+ "owner_subject_id": "user-1"
238
+ }
239
+ ]
240
+ }
241
+ },
242
+ {
243
+ "name": "offline_behavior-missing",
244
+ "valid": false,
245
+ "selection": {
246
+ "schema": "octo.runtime-selection/v2",
247
+ "selection_mode": "explicit",
248
+ "explicit_runtime_id": "runtime-1",
249
+ "authorized_candidates": [
250
+ {
251
+ "runtime_id": "runtime-1",
252
+ "priority": 1,
253
+ "owner_subject_type": "user",
254
+ "owner_subject_id": "user-1"
255
+ }
256
+ ],
257
+ "failover": "none"
258
+ }
259
+ },
260
+ {
261
+ "name": "offline_behavior-null",
262
+ "valid": false,
263
+ "selection": {
264
+ "schema": "octo.runtime-selection/v2",
265
+ "selection_mode": "explicit",
266
+ "explicit_runtime_id": "runtime-1",
267
+ "authorized_candidates": [
268
+ {
269
+ "runtime_id": "runtime-1",
270
+ "priority": 1,
271
+ "owner_subject_type": "user",
272
+ "owner_subject_id": "user-1"
273
+ }
274
+ ],
275
+ "offline_behavior": null,
276
+ "failover": "none"
277
+ }
278
+ },
279
+ {
280
+ "name": "offline_behavior-case",
281
+ "valid": false,
282
+ "selection": {
283
+ "schema": "octo.runtime-selection/v2",
284
+ "selection_mode": "explicit",
285
+ "explicit_runtime_id": "runtime-1",
286
+ "authorized_candidates": [
287
+ {
288
+ "runtime_id": "runtime-1",
289
+ "priority": 1,
290
+ "owner_subject_type": "user",
291
+ "owner_subject_id": "user-1"
292
+ }
293
+ ],
294
+ "failover": "none",
295
+ "OFFLINE_BEHAVIOR": "wait"
296
+ }
297
+ },
298
+ {
299
+ "name": "failover-missing",
300
+ "valid": false,
301
+ "selection": {
302
+ "schema": "octo.runtime-selection/v2",
303
+ "selection_mode": "explicit",
304
+ "explicit_runtime_id": "runtime-1",
305
+ "authorized_candidates": [
306
+ {
307
+ "runtime_id": "runtime-1",
308
+ "priority": 1,
309
+ "owner_subject_type": "user",
310
+ "owner_subject_id": "user-1"
311
+ }
312
+ ],
313
+ "offline_behavior": "wait"
314
+ }
315
+ },
316
+ {
317
+ "name": "failover-null",
318
+ "valid": false,
319
+ "selection": {
320
+ "schema": "octo.runtime-selection/v2",
321
+ "selection_mode": "explicit",
322
+ "explicit_runtime_id": "runtime-1",
323
+ "authorized_candidates": [
324
+ {
325
+ "runtime_id": "runtime-1",
326
+ "priority": 1,
327
+ "owner_subject_type": "user",
328
+ "owner_subject_id": "user-1"
329
+ }
330
+ ],
331
+ "offline_behavior": "wait",
332
+ "failover": null
333
+ }
334
+ },
335
+ {
336
+ "name": "failover-case",
337
+ "valid": false,
338
+ "selection": {
339
+ "schema": "octo.runtime-selection/v2",
340
+ "selection_mode": "explicit",
341
+ "explicit_runtime_id": "runtime-1",
342
+ "authorized_candidates": [
343
+ {
344
+ "runtime_id": "runtime-1",
345
+ "priority": 1,
346
+ "owner_subject_type": "user",
347
+ "owner_subject_id": "user-1"
348
+ }
349
+ ],
350
+ "offline_behavior": "wait",
351
+ "FAILOVER": "none"
352
+ }
353
+ },
354
+ {
355
+ "name": "old-schema",
356
+ "valid": false,
357
+ "selection": {
358
+ "schema": "octo.runtime-selection/v1",
359
+ "selection_mode": "explicit",
360
+ "explicit_runtime_id": "runtime-1",
361
+ "authorized_candidates": [
362
+ {
363
+ "runtime_id": "runtime-1",
364
+ "priority": 1,
365
+ "owner_subject_type": "user",
366
+ "owner_subject_id": "user-1"
367
+ }
368
+ ],
369
+ "offline_behavior": "wait",
370
+ "failover": "none"
371
+ }
372
+ },
373
+ {
374
+ "name": "mode",
375
+ "valid": false,
376
+ "selection": {
377
+ "schema": "octo.runtime-selection/v2",
378
+ "selection_mode": "binding",
379
+ "explicit_runtime_id": "runtime-1",
380
+ "authorized_candidates": [
381
+ {
382
+ "runtime_id": "runtime-1",
383
+ "priority": 1,
384
+ "owner_subject_type": "user",
385
+ "owner_subject_id": "user-1"
386
+ }
387
+ ],
388
+ "offline_behavior": "wait",
389
+ "failover": "none"
390
+ }
391
+ },
392
+ {
393
+ "name": "explicit-failover",
394
+ "valid": false,
395
+ "selection": {
396
+ "schema": "octo.runtime-selection/v2",
397
+ "selection_mode": "explicit",
398
+ "explicit_runtime_id": "runtime-1",
399
+ "authorized_candidates": [
400
+ {
401
+ "runtime_id": "runtime-1",
402
+ "priority": 1,
403
+ "owner_subject_type": "user",
404
+ "owner_subject_id": "user-1"
405
+ }
406
+ ],
407
+ "offline_behavior": "wait",
408
+ "failover": "candidates"
409
+ }
410
+ },
411
+ {
412
+ "name": "offline",
413
+ "valid": false,
414
+ "selection": {
415
+ "schema": "octo.runtime-selection/v2",
416
+ "selection_mode": "explicit",
417
+ "explicit_runtime_id": "runtime-1",
418
+ "authorized_candidates": [
419
+ {
420
+ "runtime_id": "runtime-1",
421
+ "priority": 1,
422
+ "owner_subject_type": "user",
423
+ "owner_subject_id": "user-1"
424
+ }
425
+ ],
426
+ "offline_behavior": "ignore",
427
+ "failover": "none"
428
+ }
429
+ },
430
+ {
431
+ "name": "old-routing",
432
+ "valid": false,
433
+ "selection": {
434
+ "schema": "octo.runtime-selection/v2",
435
+ "selection_mode": "explicit",
436
+ "explicit_runtime_id": "runtime-1",
437
+ "authorized_candidates": [
438
+ {
439
+ "runtime_id": "runtime-1",
440
+ "priority": 1,
441
+ "owner_subject_type": "user",
442
+ "owner_subject_id": "user-1"
443
+ }
444
+ ],
445
+ "offline_behavior": "wait",
446
+ "failover": "none",
447
+ "routing_mode": "bound"
448
+ }
449
+ },
450
+ {
451
+ "name": "old-binding",
452
+ "valid": false,
453
+ "selection": {
454
+ "schema": "octo.runtime-selection/v2",
455
+ "selection_mode": "explicit",
456
+ "explicit_runtime_id": "runtime-1",
457
+ "authorized_candidates": [
458
+ {
459
+ "runtime_id": "runtime-1",
460
+ "priority": 1,
461
+ "owner_subject_type": "user",
462
+ "owner_subject_id": "user-1"
463
+ }
464
+ ],
465
+ "offline_behavior": "wait",
466
+ "failover": "none",
467
+ "binding_ref": {
468
+ "id": "binding-1",
469
+ "version": 1
470
+ }
471
+ }
472
+ },
473
+ {
474
+ "name": "empty-explicit",
475
+ "valid": false,
476
+ "selection": {
477
+ "schema": "octo.runtime-selection/v2",
478
+ "selection_mode": "explicit",
479
+ "explicit_runtime_id": "",
480
+ "authorized_candidates": [
481
+ {
482
+ "runtime_id": "runtime-1",
483
+ "priority": 1,
484
+ "owner_subject_type": "user",
485
+ "owner_subject_id": "user-1"
486
+ }
487
+ ],
488
+ "offline_behavior": "wait",
489
+ "failover": "none"
490
+ }
491
+ },
492
+ {
493
+ "name": "empty-candidates",
494
+ "valid": false,
495
+ "selection": {
496
+ "schema": "octo.runtime-selection/v2",
497
+ "selection_mode": "explicit",
498
+ "explicit_runtime_id": "runtime-1",
499
+ "authorized_candidates": [],
500
+ "offline_behavior": "wait",
501
+ "failover": "none"
502
+ }
503
+ },
504
+ {
505
+ "name": "candidate-runtime_id-",
506
+ "valid": false,
507
+ "selection": {
508
+ "schema": "octo.runtime-selection/v2",
509
+ "selection_mode": "explicit",
510
+ "explicit_runtime_id": "runtime-1",
511
+ "authorized_candidates": [
512
+ {
513
+ "runtime_id": "",
514
+ "priority": 1,
515
+ "owner_subject_type": "user",
516
+ "owner_subject_id": "user-1"
517
+ }
518
+ ],
519
+ "offline_behavior": "wait",
520
+ "failover": "none"
521
+ }
522
+ },
523
+ {
524
+ "name": "candidate-priority-0",
525
+ "valid": false,
526
+ "selection": {
527
+ "schema": "octo.runtime-selection/v2",
528
+ "selection_mode": "explicit",
529
+ "explicit_runtime_id": "runtime-1",
530
+ "authorized_candidates": [
531
+ {
532
+ "runtime_id": "runtime-1",
533
+ "priority": 0,
534
+ "owner_subject_type": "user",
535
+ "owner_subject_id": "user-1"
536
+ }
537
+ ],
538
+ "offline_behavior": "wait",
539
+ "failover": "none"
540
+ }
541
+ },
542
+ {
543
+ "name": "candidate-priority-1.1",
544
+ "valid": false,
545
+ "selection": {
546
+ "schema": "octo.runtime-selection/v2",
547
+ "selection_mode": "explicit",
548
+ "explicit_runtime_id": "runtime-1",
549
+ "authorized_candidates": [
550
+ {
551
+ "runtime_id": "runtime-1",
552
+ "priority": 1.1,
553
+ "owner_subject_type": "user",
554
+ "owner_subject_id": "user-1"
555
+ }
556
+ ],
557
+ "offline_behavior": "wait",
558
+ "failover": "none"
559
+ }
560
+ },
561
+ {
562
+ "name": "candidate-owner_subject_type-service",
563
+ "valid": false,
564
+ "selection": {
565
+ "schema": "octo.runtime-selection/v2",
566
+ "selection_mode": "explicit",
567
+ "explicit_runtime_id": "runtime-1",
568
+ "authorized_candidates": [
569
+ {
570
+ "runtime_id": "runtime-1",
571
+ "priority": 1,
572
+ "owner_subject_type": "service",
573
+ "owner_subject_id": "user-1"
574
+ }
575
+ ],
576
+ "offline_behavior": "wait",
577
+ "failover": "none"
578
+ }
579
+ },
580
+ {
581
+ "name": "candidate-owner_subject_id-",
582
+ "valid": false,
583
+ "selection": {
584
+ "schema": "octo.runtime-selection/v2",
585
+ "selection_mode": "explicit",
586
+ "explicit_runtime_id": "runtime-1",
587
+ "authorized_candidates": [
588
+ {
589
+ "runtime_id": "runtime-1",
590
+ "priority": 1,
591
+ "owner_subject_type": "user",
592
+ "owner_subject_id": ""
593
+ }
594
+ ],
595
+ "offline_behavior": "wait",
596
+ "failover": "none"
597
+ }
598
+ },
599
+ {
600
+ "name": "candidate-unknown-true",
601
+ "valid": false,
602
+ "selection": {
603
+ "schema": "octo.runtime-selection/v2",
604
+ "selection_mode": "explicit",
605
+ "explicit_runtime_id": "runtime-1",
606
+ "authorized_candidates": [
607
+ {
608
+ "runtime_id": "runtime-1",
609
+ "priority": 1,
610
+ "owner_subject_type": "user",
611
+ "owner_subject_id": "user-1",
612
+ "unknown": true
613
+ }
614
+ ],
615
+ "offline_behavior": "wait",
616
+ "failover": "none"
617
+ }
618
+ },
619
+ {
620
+ "name": "top-null",
621
+ "valid": false,
622
+ "selection": null
623
+ },
624
+ {
625
+ "name": "top-array",
626
+ "valid": false,
627
+ "selection": []
628
+ },
629
+ {
630
+ "name": "top-string",
631
+ "valid": false,
632
+ "selection": "invalid"
633
+ },
634
+ {
635
+ "name": "top-bool",
636
+ "valid": false,
637
+ "selection": true
638
+ },
639
+ {
640
+ "name": "duplicate-runtime",
641
+ "valid": false,
642
+ "selection": {
643
+ "schema": "octo.runtime-selection/v2",
644
+ "selection_mode": "candidates",
645
+ "authorized_candidates": [
646
+ {
647
+ "runtime_id": "runtime-1",
648
+ "priority": 1,
649
+ "owner_subject_type": "user",
650
+ "owner_subject_id": "user-1"
651
+ },
652
+ {
653
+ "runtime_id": "runtime-1",
654
+ "priority": 2,
655
+ "owner_subject_type": "user",
656
+ "owner_subject_id": "user-1"
657
+ }
658
+ ],
659
+ "offline_behavior": "wait",
660
+ "failover": "candidates"
661
+ }
662
+ }
663
+ ]