@mininglamp-oss/octo-runtime 1.1.11 → 1.1.13

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 (946) hide show
  1. package/README.md +26 -142
  2. package/apps/cli/README.md +7 -102
  3. package/apps/cli/dist/adapters.d.ts +19 -1
  4. package/apps/cli/dist/adapters.js +153 -27
  5. package/apps/cli/dist/build-info.json +2 -2
  6. package/apps/cli/dist/codex.d.ts +5 -0
  7. package/apps/cli/dist/codex.js +36 -0
  8. package/apps/cli/dist/command-tree.d.ts +1 -13
  9. package/apps/cli/dist/command-tree.js +130 -316
  10. package/apps/cli/dist/foreground.d.ts +1 -2
  11. package/apps/cli/dist/help.d.ts +0 -1
  12. package/apps/cli/dist/help.js +2 -13
  13. package/apps/cli/dist/kernel.d.ts +4 -0
  14. package/apps/cli/dist/kernel.js +84 -0
  15. package/apps/cli/dist/logs.d.ts +2 -2
  16. package/apps/cli/dist/logs.js +14 -17
  17. package/apps/cli/dist/main.js +63 -180
  18. package/apps/cli/dist/manifest.json +33 -72
  19. package/apps/cli/dist/module-manifest.d.ts +1 -1
  20. package/apps/cli/dist/module-manifest.js +2 -3
  21. package/apps/cli/dist/openclaw.d.ts +0 -8
  22. package/apps/cli/dist/openclaw.js +2 -114
  23. package/apps/cli/dist/output.d.ts +1 -0
  24. package/apps/cli/dist/output.js +16 -23
  25. package/apps/cli/dist/playboard.js +32 -15
  26. package/apps/cli/dist/provider-launch.d.ts +28 -0
  27. package/apps/cli/dist/provider-launch.js +52 -0
  28. package/apps/cli/dist/providers.d.ts +182 -0
  29. package/apps/cli/dist/providers.js +34 -0
  30. package/apps/cli/dist/service-control.js +0 -1
  31. package/dist/public/adapter-sdk.d.ts +2 -0
  32. package/dist/public/adapter-sdk.js +2 -0
  33. package/dist/public/host.d.ts +2 -4
  34. package/dist/public/host.js +1 -1
  35. package/dist/public/protocol.d.ts +1 -1
  36. package/dist/public/protocol.js +1 -1
  37. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.js +4 -4
  38. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +15 -14
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +24 -28
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.d.ts +10 -35
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.js +22 -29
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.d.ts +14 -68
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +60 -43
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.d.ts +19 -31
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.js +29 -18
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.d.ts +6 -5
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +42 -35
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.d.ts +54 -0
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.js +147 -0
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/environment.js +4 -8
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +20 -92
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +104 -216
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.d.ts +2 -2
  59. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.js +4 -11
  60. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.d.ts +9 -5
  61. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.js +77 -81
  62. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  63. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-R3PDZLX5.js → chunk-H3S6WM37.js} +3 -3
  64. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FGFEM7JP.js → chunk-RISQ6NGV.js} +1 -1
  65. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-TSRZVLIG.js → chunk-SMTJTIN7.js} +1 -1
  66. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +2 -2
  67. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
  68. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +4 -2
  69. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +15 -17
  70. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
  71. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
  72. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +4 -4
  73. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.d.ts +14 -14
  74. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.js +23 -30
  75. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/client.js +4 -7
  76. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.d.ts +13 -21
  77. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.js +48 -26
  78. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  79. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +16 -14
  80. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.js +15 -7
  81. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  82. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +16 -14
  83. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.js +14 -6
  84. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  85. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +16 -14
  86. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.js +15 -7
  87. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  88. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +7 -3
  89. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +27 -29
  90. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
  91. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +16 -25
  92. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +109 -178
  93. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  94. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +16 -14
  95. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.js +15 -6
  96. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +3 -2
  97. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +16 -14
  98. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.js +15 -6
  99. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +3 -2
  100. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +5 -1
  101. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.d.ts +49 -0
  102. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.js +256 -0
  103. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/approval.js +7 -2
  104. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.js +1 -1
  105. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.d.ts +5 -1
  106. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +26 -13
  107. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +117 -59
  108. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/mcp.js +1 -1
  109. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +1 -13
  110. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +4 -27
  111. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-launch.d.ts +11 -1
  112. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-launch.js +89 -8
  113. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.d.ts +10 -0
  114. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.js +25 -0
  115. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +10 -3
  116. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +4 -8
  117. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +0 -4
  118. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +6 -60
  119. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +0 -10
  120. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +0 -83
  121. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  122. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.d.ts +19 -1
  123. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +153 -27
  124. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  125. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.d.ts +5 -0
  126. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.js +36 -0
  127. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +1 -13
  128. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +130 -316
  129. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.d.ts +1 -2
  130. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +0 -1
  131. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +2 -13
  132. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/kernel.d.ts +4 -0
  133. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/kernel.js +84 -0
  134. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.d.ts +2 -2
  135. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.js +14 -17
  136. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +63 -180
  137. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +33 -72
  138. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
  139. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +2 -3
  140. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.d.ts +0 -8
  141. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +2 -114
  142. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.d.ts +1 -0
  143. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +16 -23
  144. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +32 -15
  145. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.d.ts +28 -0
  146. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.js +52 -0
  147. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.d.ts +182 -0
  148. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.js +34 -0
  149. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +0 -1
  150. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -23
  151. package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +2 -2
  152. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.d.ts +2 -3
  153. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.js +31 -20
  154. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.d.ts +1 -1
  155. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +80 -50
  156. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.d.ts +1 -1
  157. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.js +17 -2
  158. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.js +3 -15
  159. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.d.ts +2 -0
  160. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.js +6 -0
  161. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.d.ts +19 -4
  162. package/node_modules/@mininglamp-oss/octo-runtime-client/{schema → fixtures}/kernel-ipc-fixtures.json +28 -6
  163. package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +5 -5
  164. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc.schema.json +3 -104
  165. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +316 -1250
  166. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  167. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +0 -2
  168. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +28 -57
  169. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +2 -2
  170. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +13 -78
  171. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.d.ts +3 -1
  172. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.js +5 -0
  173. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  174. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +1 -1
  175. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +1 -1
  176. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +5 -0
  177. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +18 -18
  178. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -5
  179. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +1 -7
  180. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +0 -5
  181. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -18
  182. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +1 -2
  183. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -2
  184. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.d.ts +0 -1
  185. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +3 -5
  186. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.js +1 -8
  187. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +1 -2
  188. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +3 -267
  189. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +2 -0
  190. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +17 -3
  191. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +104 -373
  192. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.js +32 -1
  193. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.d.ts +9 -0
  194. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.js +20 -0
  195. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +6 -15
  196. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +33 -178
  197. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +23 -36
  198. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +54 -45
  199. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +1 -6
  200. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +9 -17
  201. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +2 -1
  202. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +5 -28
  203. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +2 -1
  204. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  205. package/node_modules/semver/classes/range.js +2 -2
  206. package/node_modules/semver/internal/constants.js +30 -0
  207. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  208. package/node_modules/semver/package.json +1 -1
  209. package/node_modules/ws/README.md +21 -29
  210. package/node_modules/ws/lib/buffer-util.js +13 -2
  211. package/node_modules/ws/lib/sender.js +4 -1
  212. package/node_modules/ws/lib/websocket.js +8 -3
  213. package/node_modules/ws/package.json +1 -1
  214. package/package.json +37 -148
  215. package/packages/octo-runtime-protocol/schema/kernel-ipc.schema.json +3 -104
  216. package/packages/octo-runtime-protocol/schema/protocol.schema.json +316 -1250
  217. package/packages/octo-runtime-protocol/{schema → test/fixtures}/kernel-ipc-fixtures.json +28 -6
  218. package/apps/cli/dist/extra-command-config.d.ts +0 -4
  219. package/apps/cli/dist/extra-command-config.js +0 -50
  220. package/apps/cli/dist/extra-commands.d.ts +0 -15
  221. package/apps/cli/dist/extra-commands.js +0 -275
  222. package/apps/cli/dist/extras.d.ts +0 -8
  223. package/apps/cli/dist/extras.js +0 -82
  224. package/apps/cli/dist/global-extras.d.ts +0 -16
  225. package/apps/cli/dist/global-extras.js +0 -201
  226. package/apps/cli/dist/status-output.d.ts +0 -10
  227. package/apps/cli/dist/status-output.js +0 -65
  228. package/dist/public/channel-gateway-commands.d.ts +0 -1
  229. package/dist/public/channel-gateway-commands.js +0 -1
  230. package/dist/public/channel-gateway.d.ts +0 -3
  231. package/dist/public/channel-gateway.js +0 -1
  232. package/dist/public/channel-wecom-commands.d.ts +0 -1
  233. package/dist/public/channel-wecom-commands.js +0 -1
  234. package/dist/public/channel-wecom.d.ts +0 -2
  235. package/dist/public/channel-wecom.js +0 -1
  236. package/dist/public/codex.d.ts +0 -1
  237. package/dist/public/codex.js +0 -1
  238. package/dist/public/dsh.d.ts +0 -2
  239. package/dist/public/dsh.js +0 -1
  240. package/dist/public/extra.d.ts +0 -5
  241. package/dist/public/extra.js +0 -3
  242. package/dist/public/webui-commands.d.ts +0 -1
  243. package/dist/public/webui-commands.js +0 -1
  244. package/dist/public/webui.d.ts +0 -1
  245. package/dist/public/webui.js +0 -1
  246. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +0 -4
  247. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +0 -50
  248. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +0 -15
  249. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +0 -275
  250. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +0 -8
  251. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +0 -82
  252. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +0 -16
  253. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +0 -201
  254. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +0 -10
  255. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +0 -65
  256. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-configuration-fixtures.json +0 -1219
  257. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-fixtures.json +0 -5988
  258. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-client.behavior.json +0 -56
  259. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +0 -116
  260. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +0 -761
  261. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/runtime-selection-fixtures.json +0 -663
  262. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/session-name-fixtures.json +0 -191
  263. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.d.ts +0 -12
  264. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.js +0 -89
  265. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.d.ts +0 -33
  266. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.js +0 -93
  267. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +0 -8
  268. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +0 -62
  269. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  270. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +0 -50
  271. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +0 -140
  272. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +0 -3
  273. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +0 -27
  274. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +0 -17
  275. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +0 -123
  276. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +0 -15
  277. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +0 -1489
  278. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +0 -28
  279. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +0 -77
  280. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +0 -71
  281. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +0 -153
  282. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +0 -15
  283. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +0 -28
  284. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +0 -4
  285. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +0 -124
  286. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +0 -172
  287. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.js +0 -1
  288. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +0 -22
  289. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +0 -46
  290. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +0 -16
  291. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +0 -285
  292. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +0 -20
  293. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +0 -109
  294. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +0 -15
  295. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +0 -36
  296. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +0 -16
  297. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +0 -98
  298. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +0 -6
  299. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +0 -10
  300. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +0 -17
  301. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +0 -238
  302. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.d.ts +0 -29
  303. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.js +0 -171
  304. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +0 -44
  305. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +0 -392
  306. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +0 -3
  307. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +0 -27
  308. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +0 -4
  309. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +0 -87
  310. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +0 -20
  311. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.js +0 -13
  312. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.d.ts +0 -9
  313. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +0 -162
  314. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +0 -12
  315. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +0 -154
  316. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +0 -34
  317. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.js +0 -1
  318. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +0 -67
  319. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +0 -588
  320. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.d.ts +0 -16
  321. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.js +0 -83
  322. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +0 -132
  323. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +0 -226
  324. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +0 -65
  325. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +0 -202
  326. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +0 -112
  327. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +0 -138
  328. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -48
  329. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +0 -116
  330. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.d.ts +0 -51
  331. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.js +0 -79
  332. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +0 -30
  333. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +0 -222
  334. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.d.ts +0 -13
  335. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.js +0 -13
  336. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +0 -92
  337. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +0 -173
  338. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.d.ts +0 -84
  339. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +0 -110
  340. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.d.ts +0 -87
  341. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.js +0 -45
  342. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.d.ts +0 -2
  343. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.js +0 -7
  344. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +0 -5
  345. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +0 -23
  346. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.d.ts +0 -20
  347. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.js +0 -75
  348. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +0 -22
  349. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +0 -136
  350. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.d.ts +0 -7
  351. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.js +0 -40
  352. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +0 -70
  353. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +0 -646
  354. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +0 -17
  355. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +0 -91
  356. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +0 -18
  357. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +0 -148
  358. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +0 -15
  359. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +0 -257
  360. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +0 -12
  361. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +0 -133
  362. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +0 -21
  363. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +0 -76
  364. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.d.ts +0 -6
  365. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +0 -163
  366. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.d.ts +0 -4
  367. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.js +0 -113
  368. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -13
  369. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -75
  370. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.d.ts +0 -6
  371. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.js +0 -117
  372. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +0 -16
  373. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +0 -74
  374. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +0 -4
  375. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +0 -19
  376. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +0 -7
  377. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +0 -90
  378. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +0 -20
  379. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +0 -85
  380. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.d.ts +0 -34
  381. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +0 -430
  382. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.d.ts +0 -6
  383. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.js +0 -63
  384. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +0 -6
  385. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +0 -60
  386. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.d.ts +0 -9
  387. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.js +0 -71
  388. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +0 -44
  389. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +0 -357
  390. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +0 -33
  391. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  392. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.d.ts +0 -11
  393. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +0 -754
  394. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +0 -35
  395. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.js +0 -93
  396. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.d.ts +0 -4
  397. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.js +0 -128
  398. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +0 -78
  399. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.js +0 -1
  400. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +0 -16
  401. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +0 -69
  402. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.d.ts +0 -12
  403. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.js +0 -95
  404. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +0 -3
  405. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +0 -85
  406. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.d.ts +0 -10
  407. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.js +0 -6
  408. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.d.ts +0 -6
  409. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.js +0 -109
  410. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.d.ts +0 -12
  411. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.js +0 -73
  412. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +0 -24
  413. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.js +0 -1
  414. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.d.ts +0 -45
  415. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.js +0 -258
  416. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.d.ts +0 -21
  417. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +0 -124
  418. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.d.ts +0 -53
  419. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.js +0 -219
  420. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.d.ts +0 -10
  421. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.js +0 -52
  422. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +0 -31
  423. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +0 -134
  424. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.d.ts +0 -3
  425. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.js +0 -51
  426. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +0 -3
  427. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +0 -423
  428. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +0 -25
  429. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +0 -130
  430. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-BLMf2Etg.js +0 -73
  431. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CYTpqItx.css +0 -1
  432. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +0 -3
  433. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +0 -28
  434. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +0 -32
  435. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +0 -165
  436. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.d.ts +0 -44
  437. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.js +0 -207
  438. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.d.ts +0 -70
  439. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.js +0 -16
  440. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.d.ts +0 -20
  441. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +0 -154
  442. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.d.ts +0 -4
  443. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.js +0 -21
  444. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +0 -45
  445. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +0 -417
  446. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.d.ts +0 -62
  447. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.js +0 -389
  448. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +0 -7
  449. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +0 -39
  450. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.d.ts +0 -3
  451. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.js +0 -80
  452. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.d.ts +0 -3
  453. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.js +0 -9
  454. package/node_modules/@types/debug/LICENSE +0 -21
  455. package/node_modules/@types/debug/README.md +0 -69
  456. package/node_modules/@types/debug/index.d.ts +0 -50
  457. package/node_modules/@types/debug/package.json +0 -58
  458. package/node_modules/@types/mdast/LICENSE +0 -21
  459. package/node_modules/@types/mdast/README.md +0 -15
  460. package/node_modules/@types/mdast/index.d.ts +0 -1123
  461. package/node_modules/@types/mdast/package.json +0 -47
  462. package/node_modules/@types/ms/LICENSE +0 -21
  463. package/node_modules/@types/ms/README.md +0 -82
  464. package/node_modules/@types/ms/index.d.ts +0 -63
  465. package/node_modules/@types/ms/package.json +0 -26
  466. package/node_modules/@types/unist/LICENSE +0 -21
  467. package/node_modules/@types/unist/README.md +0 -15
  468. package/node_modules/@types/unist/index.d.ts +0 -119
  469. package/node_modules/@types/unist/package.json +0 -60
  470. package/node_modules/character-entities/index.d.ts +0 -6
  471. package/node_modules/character-entities/index.js +0 -2132
  472. package/node_modules/character-entities/license +0 -22
  473. package/node_modules/character-entities/package.json +0 -78
  474. package/node_modules/character-entities/readme.md +0 -152
  475. package/node_modules/debug/LICENSE +0 -20
  476. package/node_modules/debug/README.md +0 -481
  477. package/node_modules/debug/package.json +0 -64
  478. package/node_modules/debug/src/browser.js +0 -272
  479. package/node_modules/debug/src/common.js +0 -292
  480. package/node_modules/debug/src/index.js +0 -10
  481. package/node_modules/debug/src/node.js +0 -263
  482. package/node_modules/decode-named-character-reference/index.d.ts +0 -13
  483. package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
  484. package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
  485. package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
  486. package/node_modules/decode-named-character-reference/index.dom.js +0 -32
  487. package/node_modules/decode-named-character-reference/index.js +0 -19
  488. package/node_modules/decode-named-character-reference/license +0 -22
  489. package/node_modules/decode-named-character-reference/package.json +0 -90
  490. package/node_modules/decode-named-character-reference/readme.md +0 -136
  491. package/node_modules/dequal/dist/index.js +0 -86
  492. package/node_modules/dequal/dist/index.min.js +0 -1
  493. package/node_modules/dequal/dist/index.mjs +0 -84
  494. package/node_modules/dequal/index.d.ts +0 -1
  495. package/node_modules/dequal/license +0 -21
  496. package/node_modules/dequal/lite/index.d.ts +0 -1
  497. package/node_modules/dequal/lite/index.js +0 -31
  498. package/node_modules/dequal/lite/index.min.js +0 -1
  499. package/node_modules/dequal/lite/index.mjs +0 -29
  500. package/node_modules/dequal/package.json +0 -57
  501. package/node_modules/dequal/readme.md +0 -112
  502. package/node_modules/devlop/lib/default.js +0 -9
  503. package/node_modules/devlop/lib/development.d.ts +0 -84
  504. package/node_modules/devlop/lib/development.js +0 -238
  505. package/node_modules/devlop/license +0 -22
  506. package/node_modules/devlop/package.json +0 -80
  507. package/node_modules/devlop/readme.md +0 -360
  508. package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
  509. package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
  510. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
  511. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
  512. package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1455
  513. package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -321
  514. package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
  515. package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
  516. package/node_modules/mdast-util-from-markdown/index.js +0 -2
  517. package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
  518. package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
  519. package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1270
  520. package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -321
  521. package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
  522. package/node_modules/mdast-util-from-markdown/license +0 -22
  523. package/node_modules/mdast-util-from-markdown/package.json +0 -98
  524. package/node_modules/mdast-util-from-markdown/readme.md +0 -549
  525. package/node_modules/mdast-util-to-string/index.d.ts +0 -2
  526. package/node_modules/mdast-util-to-string/index.js +0 -5
  527. package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
  528. package/node_modules/mdast-util-to-string/lib/index.js +0 -108
  529. package/node_modules/mdast-util-to-string/license +0 -22
  530. package/node_modules/mdast-util-to-string/package.json +0 -78
  531. package/node_modules/mdast-util-to-string/readme.md +0 -218
  532. package/node_modules/micromark/dev/index.d.ts +0 -82
  533. package/node_modules/micromark/dev/index.d.ts.map +0 -1
  534. package/node_modules/micromark/dev/index.js +0 -68
  535. package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
  536. package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
  537. package/node_modules/micromark/dev/lib/compile.js +0 -1162
  538. package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
  539. package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
  540. package/node_modules/micromark/dev/lib/constructs.js +0 -101
  541. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
  542. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
  543. package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -718
  544. package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
  545. package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
  546. package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
  547. package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
  548. package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
  549. package/node_modules/micromark/dev/lib/initialize/document.js +0 -449
  550. package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
  551. package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
  552. package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
  553. package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
  554. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
  555. package/node_modules/micromark/dev/lib/initialize/text.js +0 -248
  556. package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
  557. package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
  558. package/node_modules/micromark/dev/lib/parse.js +0 -58
  559. package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
  560. package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
  561. package/node_modules/micromark/dev/lib/postprocess.js +0 -19
  562. package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
  563. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
  564. package/node_modules/micromark/dev/lib/preprocess.js +0 -139
  565. package/node_modules/micromark/dev/stream.d.ts +0 -35
  566. package/node_modules/micromark/dev/stream.d.ts.map +0 -1
  567. package/node_modules/micromark/dev/stream.js +0 -270
  568. package/node_modules/micromark/index.d.ts +0 -82
  569. package/node_modules/micromark/index.d.ts.map +0 -1
  570. package/node_modules/micromark/index.js +0 -60
  571. package/node_modules/micromark/lib/compile.d.ts +0 -16
  572. package/node_modules/micromark/lib/compile.d.ts.map +0 -1
  573. package/node_modules/micromark/lib/compile.js +0 -1068
  574. package/node_modules/micromark/lib/constructs.d.ts +0 -73
  575. package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
  576. package/node_modules/micromark/lib/constructs.js +0 -85
  577. package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
  578. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
  579. package/node_modules/micromark/lib/create-tokenizer.js +0 -613
  580. package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
  581. package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
  582. package/node_modules/micromark/lib/initialize/content.js +0 -79
  583. package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
  584. package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
  585. package/node_modules/micromark/lib/initialize/document.js +0 -370
  586. package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
  587. package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
  588. package/node_modules/micromark/lib/initialize/flow.js +0 -58
  589. package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
  590. package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
  591. package/node_modules/micromark/lib/initialize/text.js +0 -216
  592. package/node_modules/micromark/lib/parse.d.ts +0 -10
  593. package/node_modules/micromark/lib/parse.d.ts.map +0 -1
  594. package/node_modules/micromark/lib/parse.js +0 -56
  595. package/node_modules/micromark/lib/postprocess.d.ts +0 -9
  596. package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
  597. package/node_modules/micromark/lib/postprocess.js +0 -18
  598. package/node_modules/micromark/lib/preprocess.d.ts +0 -13
  599. package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
  600. package/node_modules/micromark/lib/preprocess.js +0 -112
  601. package/node_modules/micromark/license +0 -22
  602. package/node_modules/micromark/package.json +0 -87
  603. package/node_modules/micromark/readme.md +0 -488
  604. package/node_modules/micromark/stream.d.ts +0 -35
  605. package/node_modules/micromark/stream.d.ts.map +0 -1
  606. package/node_modules/micromark/stream.js +0 -256
  607. package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
  608. package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
  609. package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
  610. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
  611. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
  612. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -294
  613. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
  614. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
  615. package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
  616. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
  617. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
  618. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
  619. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
  620. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
  621. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
  622. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
  623. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
  624. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
  625. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
  626. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
  627. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
  628. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
  629. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
  630. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -472
  631. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
  632. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
  633. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -178
  634. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
  635. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
  636. package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
  637. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
  638. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
  639. package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
  640. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
  641. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
  642. package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
  643. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
  644. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
  645. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
  646. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
  647. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
  648. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -229
  649. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
  650. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
  651. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -938
  652. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
  653. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
  654. package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
  655. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
  656. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
  657. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -658
  658. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
  659. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
  660. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -119
  661. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
  662. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
  663. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -71
  664. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
  665. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
  666. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
  667. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
  668. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
  669. package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
  670. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +0 -4
  671. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  672. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +0 -67
  673. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
  674. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
  675. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -213
  676. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
  677. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
  678. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
  679. package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
  680. package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
  681. package/node_modules/micromark-core-commonmark/index.js +0 -22
  682. package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
  683. package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
  684. package/node_modules/micromark-core-commonmark/lib/attention.js +0 -231
  685. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
  686. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
  687. package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
  688. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
  689. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
  690. package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
  691. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
  692. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
  693. package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
  694. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
  695. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
  696. package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
  697. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
  698. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
  699. package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
  700. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
  701. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
  702. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -422
  703. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
  704. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
  705. package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -159
  706. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
  707. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
  708. package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
  709. package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
  710. package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
  711. package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
  712. package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
  713. package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
  714. package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
  715. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
  716. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
  717. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
  718. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
  719. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
  720. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -191
  721. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
  722. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
  723. package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -827
  724. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
  725. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
  726. package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
  727. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
  728. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
  729. package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -561
  730. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
  731. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
  732. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -110
  733. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
  734. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
  735. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -63
  736. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
  737. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
  738. package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
  739. package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
  740. package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
  741. package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
  742. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +0 -4
  743. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  744. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +0 -61
  745. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
  746. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
  747. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -187
  748. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
  749. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
  750. package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
  751. package/node_modules/micromark-core-commonmark/license +0 -22
  752. package/node_modules/micromark-core-commonmark/package.json +0 -62
  753. package/node_modules/micromark-core-commonmark/readme.md +0 -171
  754. package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
  755. package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
  756. package/node_modules/micromark-factory-destination/dev/index.js +0 -255
  757. package/node_modules/micromark-factory-destination/index.d.ts +0 -42
  758. package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
  759. package/node_modules/micromark-factory-destination/index.js +0 -206
  760. package/node_modules/micromark-factory-destination/license +0 -22
  761. package/node_modules/micromark-factory-destination/package.json +0 -57
  762. package/node_modules/micromark-factory-destination/readme.md +0 -234
  763. package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
  764. package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
  765. package/node_modules/micromark-factory-label/dev/index.js +0 -172
  766. package/node_modules/micromark-factory-label/index.d.ts +0 -37
  767. package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
  768. package/node_modules/micromark-factory-label/index.js +0 -148
  769. package/node_modules/micromark-factory-label/license +0 -22
  770. package/node_modules/micromark-factory-label/package.json +0 -60
  771. package/node_modules/micromark-factory-label/readme.md +0 -224
  772. package/node_modules/micromark-factory-space/dev/index.d.ts +0 -60
  773. package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
  774. package/node_modules/micromark-factory-space/dev/index.js +0 -122
  775. package/node_modules/micromark-factory-space/index.d.ts +0 -60
  776. package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
  777. package/node_modules/micromark-factory-space/index.js +0 -116
  778. package/node_modules/micromark-factory-space/license +0 -22
  779. package/node_modules/micromark-factory-space/package.json +0 -46
  780. package/node_modules/micromark-factory-space/readme.md +0 -225
  781. package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
  782. package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
  783. package/node_modules/micromark-factory-title/dev/index.js +0 -169
  784. package/node_modules/micromark-factory-title/index.d.ts +0 -36
  785. package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
  786. package/node_modules/micromark-factory-title/index.js +0 -158
  787. package/node_modules/micromark-factory-title/license +0 -22
  788. package/node_modules/micromark-factory-title/package.json +0 -58
  789. package/node_modules/micromark-factory-title/readme.md +0 -229
  790. package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
  791. package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
  792. package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
  793. package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
  794. package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
  795. package/node_modules/micromark-factory-whitespace/index.js +0 -44
  796. package/node_modules/micromark-factory-whitespace/license +0 -22
  797. package/node_modules/micromark-factory-whitespace/package.json +0 -57
  798. package/node_modules/micromark-factory-whitespace/readme.md +0 -205
  799. package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
  800. package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
  801. package/node_modules/micromark-util-character/dev/index.js +0 -252
  802. package/node_modules/micromark-util-character/index.d.ts +0 -195
  803. package/node_modules/micromark-util-character/index.d.ts.map +0 -1
  804. package/node_modules/micromark-util-character/index.js +0 -246
  805. package/node_modules/micromark-util-character/license +0 -22
  806. package/node_modules/micromark-util-character/package.json +0 -57
  807. package/node_modules/micromark-util-character/readme.md +0 -446
  808. package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
  809. package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
  810. package/node_modules/micromark-util-chunked/dev/index.js +0 -89
  811. package/node_modules/micromark-util-chunked/index.d.ts +0 -41
  812. package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
  813. package/node_modules/micromark-util-chunked/index.js +0 -81
  814. package/node_modules/micromark-util-chunked/license +0 -22
  815. package/node_modules/micromark-util-chunked/package.json +0 -57
  816. package/node_modules/micromark-util-chunked/readme.md +0 -219
  817. package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
  818. package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
  819. package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
  820. package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
  821. package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
  822. package/node_modules/micromark-util-classify-character/index.js +0 -27
  823. package/node_modules/micromark-util-classify-character/license +0 -22
  824. package/node_modules/micromark-util-classify-character/package.json +0 -59
  825. package/node_modules/micromark-util-classify-character/readme.md +0 -205
  826. package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
  827. package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
  828. package/node_modules/micromark-util-combine-extensions/index.js +0 -143
  829. package/node_modules/micromark-util-combine-extensions/license +0 -22
  830. package/node_modules/micromark-util-combine-extensions/package.json +0 -52
  831. package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
  832. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
  833. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
  834. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
  835. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
  836. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
  837. package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
  838. package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
  839. package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
  840. package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
  841. package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
  842. package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
  843. package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
  844. package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
  845. package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
  846. package/node_modules/micromark-util-decode-string/index.js +0 -45
  847. package/node_modules/micromark-util-decode-string/license +0 -22
  848. package/node_modules/micromark-util-decode-string/package.json +0 -63
  849. package/node_modules/micromark-util-decode-string/readme.md +0 -179
  850. package/node_modules/micromark-util-edit-map/dev/index.d.ts +0 -78
  851. package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +0 -1
  852. package/node_modules/micromark-util-edit-map/dev/index.js +0 -237
  853. package/node_modules/micromark-util-edit-map/index.d.ts +0 -78
  854. package/node_modules/micromark-util-edit-map/index.d.ts.map +0 -1
  855. package/node_modules/micromark-util-edit-map/index.js +0 -225
  856. package/node_modules/micromark-util-edit-map/license +0 -22
  857. package/node_modules/micromark-util-edit-map/package.json +0 -48
  858. package/node_modules/micromark-util-edit-map/readme.md +0 -234
  859. package/node_modules/micromark-util-encode/index.d.ts +0 -14
  860. package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
  861. package/node_modules/micromark-util-encode/index.js +0 -33
  862. package/node_modules/micromark-util-encode/license +0 -22
  863. package/node_modules/micromark-util-encode/package.json +0 -47
  864. package/node_modules/micromark-util-encode/readme.md +0 -176
  865. package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
  866. package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
  867. package/node_modules/micromark-util-html-tag-name/index.js +0 -93
  868. package/node_modules/micromark-util-html-tag-name/license +0 -22
  869. package/node_modules/micromark-util-html-tag-name/package.json +0 -47
  870. package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
  871. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
  872. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
  873. package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
  874. package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
  875. package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
  876. package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
  877. package/node_modules/micromark-util-normalize-identifier/license +0 -22
  878. package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
  879. package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
  880. package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
  881. package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
  882. package/node_modules/micromark-util-resolve-all/index.js +0 -32
  883. package/node_modules/micromark-util-resolve-all/license +0 -22
  884. package/node_modules/micromark-util-resolve-all/package.json +0 -48
  885. package/node_modules/micromark-util-resolve-all/readme.md +0 -238
  886. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
  887. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
  888. package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
  889. package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
  890. package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
  891. package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
  892. package/node_modules/micromark-util-sanitize-uri/license +0 -22
  893. package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
  894. package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
  895. package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
  896. package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
  897. package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
  898. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
  899. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
  900. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
  901. package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
  902. package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
  903. package/node_modules/micromark-util-subtokenize/index.js +0 -228
  904. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
  905. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
  906. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
  907. package/node_modules/micromark-util-subtokenize/license +0 -22
  908. package/node_modules/micromark-util-subtokenize/package.json +0 -60
  909. package/node_modules/micromark-util-subtokenize/readme.md +0 -181
  910. package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
  911. package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
  912. package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
  913. package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
  914. package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
  915. package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
  916. package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
  917. package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
  918. package/node_modules/micromark-util-symbol/lib/default.js +0 -4
  919. package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
  920. package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
  921. package/node_modules/micromark-util-symbol/lib/types.js +0 -453
  922. package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
  923. package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
  924. package/node_modules/micromark-util-symbol/lib/values.js +0 -109
  925. package/node_modules/micromark-util-symbol/license +0 -22
  926. package/node_modules/micromark-util-symbol/package.json +0 -43
  927. package/node_modules/micromark-util-symbol/readme.md +0 -168
  928. package/node_modules/micromark-util-types/index.d.ts +0 -1315
  929. package/node_modules/micromark-util-types/index.js +0 -2
  930. package/node_modules/micromark-util-types/license +0 -22
  931. package/node_modules/micromark-util-types/package.json +0 -37
  932. package/node_modules/micromark-util-types/readme.md +0 -151
  933. package/node_modules/ms/index.js +0 -162
  934. package/node_modules/ms/license.md +0 -21
  935. package/node_modules/ms/package.json +0 -38
  936. package/node_modules/ms/readme.md +0 -59
  937. package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
  938. package/node_modules/unist-util-stringify-position/index.js +0 -1
  939. package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
  940. package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
  941. package/node_modules/unist-util-stringify-position/license +0 -22
  942. package/node_modules/unist-util-stringify-position/package.json +0 -80
  943. package/node_modules/unist-util-stringify-position/readme.md +0 -206
  944. package/packages/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  945. package/packages/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  946. package/packages/octo-runtime-extra-webui/config-schema.json +0 -134
@@ -1,389 +0,0 @@
1
- import { noopRuntimeLog } from "@mininglamp-oss/octo-runtime-adapter-sdk";
2
- import { abortForShutdown, shutdownDeadline, withinShutdown } from "./shutdown.js";
3
- import { snapshotExtraDependencies } from "./extra-dependencies.js";
4
- import { ipcExecutionContext } from "./execution.js";
5
- export function assertExtraName(name) {
6
- if (typeof name !== "string" || !/^[a-z][a-z0-9-]{0,63}$/.test(name))
7
- throw new Error("EXTRA_NAME_INVALID");
8
- }
9
- /** 每个声明名最多一个实例;只加载宿主选定的插件,并统一管理取消、状态和清理。 */
10
- export class ExtraPlugins {
11
- binding;
12
- logForExtra;
13
- #registrations = new Map();
14
- #instances = new Map();
15
- #statuses = new Map();
16
- #closed = false;
17
- #closing;
18
- #queues = new Map();
19
- #loadEpochs = new Map();
20
- #unloading = new Map();
21
- #pendingLoads = 0;
22
- static validate(registrations) {
23
- if (registrations.length > 64)
24
- throw new Error("EXTRA_CAPACITY_EXHAUSTED");
25
- const names = new Set();
26
- for (const entry of registrations) {
27
- assertExtraName(entry.name);
28
- if (names.has(entry.name))
29
- throw new Error("EXTRA_NAME_DUPLICATED");
30
- if (typeof entry.load !== "function")
31
- throw new Error("EXTRA_LOADER_MISSING");
32
- names.add(entry.name);
33
- }
34
- }
35
- constructor(registrations, binding, logForExtra = () => noopRuntimeLog) {
36
- this.binding = binding;
37
- this.logForExtra = logForExtra;
38
- ExtraPlugins.validate(registrations);
39
- for (const registration of registrations) {
40
- this.#registrations.set(registration.name, registration);
41
- this.#statuses.set(registration.name, { phase: "disabled" });
42
- }
43
- }
44
- get status() {
45
- return Object.fromEntries([...this.#statuses].map(([name, status]) => [name, { ...status }]));
46
- }
47
- async loadConfigured() {
48
- await Promise.allSettled([...this.#registrations.values()]
49
- .filter((entry) => entry.enabled !== false)
50
- .map((entry) => this.load(entry.name)));
51
- }
52
- inspect(name) {
53
- assertExtraName(name);
54
- return this.#serial(name, async () => {
55
- const instance = this.#instances.get(name);
56
- if (!instance || instance.controller.signal.aborted)
57
- throw new Error("EXTRA_NOT_LOADED");
58
- await instance.starting;
59
- instance.controller.signal.throwIfAborted();
60
- try {
61
- const value = instance.status();
62
- assertStatusObject(value);
63
- return structuredClone(value);
64
- }
65
- catch {
66
- throw new Error("EXTRA_STATUS_FAILED");
67
- }
68
- });
69
- }
70
- // 同名操作串行,失败不阻断后续操作;队尾结束后移除引用,避免保留已完成的任务链。
71
- #serial(name, operation) {
72
- const task = (this.#queues.get(name) ?? Promise.resolve())
73
- .catch(() => undefined)
74
- .then(operation);
75
- this.#queues.set(name, task);
76
- void task
77
- .finally(() => {
78
- if (this.#queues.get(name) === task)
79
- this.#queues.delete(name);
80
- if (!this.#statuses.has(name) && !this.#queues.has(name) && !this.#unloading.has(name))
81
- this.#loadEpochs.delete(name);
82
- })
83
- .catch(() => undefined);
84
- return task;
85
- }
86
- load(target, configOrRegistration, dependencies) {
87
- if (typeof target !== "string") {
88
- // 仅在同一 Node 进程闭包捕获函数;复用下方生命周期,不把函数写入声明或传过 IPC。
89
- const functions = dependencies === undefined
90
- ? Object.freeze({})
91
- : snapshotExtraDependencies(dependencies);
92
- const registration = {
93
- name: target.name,
94
- config: configOrRegistration,
95
- load: () => Promise.resolve({
96
- name: target.name,
97
- default: (context, config) => {
98
- const initialize = target.default(context, config);
99
- if (typeof initialize !== "function") {
100
- void Promise.resolve(initialize).catch(() => undefined);
101
- throw new Error("EXTRA_INITIALIZER_REQUIRED");
102
- }
103
- return () => initialize(functions);
104
- }
105
- })
106
- };
107
- return this.load(target.name, registration).finally(() => {
108
- // 此声明只服务本次装配;释放宿主闭包。下次加载必须由宿主重新提供依赖。
109
- if (this.#registrations.get(target.name) === registration)
110
- this.#registrations.delete(target.name);
111
- });
112
- }
113
- const name = target;
114
- const registration = configOrRegistration;
115
- assertExtraName(name);
116
- if (this.#closed)
117
- return Promise.reject(new Error("EXTRA_LOADER_CLOSED"));
118
- if (this.#pendingLoads >= 64)
119
- return Promise.reject(new Error("EXTRA_LOAD_QUEUE_FULL"));
120
- if (!this.#statuses.has(name) && this.#statuses.size >= 64)
121
- return Promise.reject(new Error("EXTRA_CAPACITY_EXHAUSTED"));
122
- this.#pendingLoads++;
123
- const epoch = this.#loadEpochs.get(name) ?? 0;
124
- const unloading = this.#unloading.get(name);
125
- return this.#serial(name, async () => {
126
- // 正在卸载时必须等清理成功;清理失败直接拒绝替换,不能借重载绕过挂起资源。
127
- if (unloading)
128
- await unloading;
129
- if (registration) {
130
- ExtraPlugins.validate([registration]);
131
- if (registration.name !== name)
132
- throw new Error("EXTRA_NAME_MISMATCH");
133
- if (this.#closed)
134
- throw new Error("EXTRA_LOADER_CLOSED");
135
- if (epoch !== (this.#loadEpochs.get(name) ?? 0))
136
- throw new Error("EXTRA_LOAD_CANCELLED");
137
- if (this.#instances.has(name))
138
- throw new Error("EXTRA_ALREADY_LOADED");
139
- this.#registrations.set(name, registration);
140
- }
141
- return this.#load(name, epoch);
142
- }).finally(() => {
143
- this.#pendingLoads--;
144
- });
145
- }
146
- #load(name, epoch) {
147
- if (this.#closed)
148
- return Promise.reject(new Error("EXTRA_LOADER_CLOSED"));
149
- if (epoch !== (this.#loadEpochs.get(name) ?? 0))
150
- return Promise.reject(new Error("EXTRA_LOAD_CANCELLED"));
151
- const registration = this.#registrations.get(name);
152
- if (!registration)
153
- return Promise.reject(new Error("EXTRA_NOT_REGISTERED"));
154
- if (this.#instances.has(name))
155
- return Promise.reject(new Error("EXTRA_ALREADY_LOADED"));
156
- const instance = {
157
- controller: new AbortController(),
158
- disposers: [],
159
- starting: Promise.resolve(),
160
- status: () => ({}),
161
- statusRegistered: false,
162
- sealed: false
163
- };
164
- this.#instances.set(name, instance);
165
- this.#statuses.set(name, { phase: "loading" });
166
- instance.starting = Promise.resolve().then(async () => {
167
- try {
168
- const plugin = await registration.load();
169
- if (plugin.name !== name)
170
- throw new Error("EXTRA_NAME_MISMATCH");
171
- if (typeof plugin.default !== "function")
172
- throw new Error("EXTRA_LAMBDA_MISSING");
173
- assertStatusObject(registration.config);
174
- instance.controller.signal.throwIfAborted();
175
- const initialize = plugin.default({
176
- ...("execution" in this.binding
177
- ? this.binding
178
- : { kernel: this.binding, execution: ipcExecutionContext(this.binding) }),
179
- log: (level, event, data) => {
180
- try {
181
- this.logForExtra(name)(level, event, data);
182
- }
183
- catch {
184
- /* 宿主 logger 不影响插件。 */
185
- }
186
- },
187
- signal: instance.controller.signal,
188
- onDispose(dispose) {
189
- if (instance.sealed)
190
- throw new Error("EXTRA_ALREADY_DISPOSED");
191
- if (typeof dispose !== "function")
192
- throw new Error("EXTRA_DISPOSER_INVALID");
193
- instance.disposers.push(dispose);
194
- },
195
- onStatus(handler) {
196
- if (instance.sealed || instance.statusRegistered || typeof handler !== "function")
197
- throw new Error("EXTRA_STATUS_HANDLER_INVALID");
198
- instance.status = handler;
199
- instance.statusRegistered = true;
200
- }
201
- }, structuredClone(registration.config));
202
- if (typeof initialize !== "function") {
203
- // 拒绝旧 ABI,同时消费旧 async 入口可能产生的拒绝,不把它当作初始化成功。
204
- void Promise.resolve(initialize).catch(() => undefined);
205
- throw new Error("EXTRA_INITIALIZER_REQUIRED");
206
- }
207
- instance.controller.signal.throwIfAborted();
208
- // JSON 声明入口没有业务函数;同进程装配的包装函数会传入本次绑定的依赖。
209
- await initialize(Object.freeze({}));
210
- instance.controller.signal.throwIfAborted();
211
- this.#statuses.set(name, { phase: "loaded" });
212
- }
213
- catch (error) {
214
- abortForShutdown(instance.controller);
215
- let cleanupFailed = false;
216
- await withDisposalDeadline(this.#dispose(instance)).catch((cleanupError) => {
217
- cleanupFailed = true;
218
- instance.disposalError ??= new AggregateError([cleanupError], "EXTRA_DISPOSE_FAILED");
219
- });
220
- // 对外只保留稳定错误码,避免第三方错误正文携带配置或凭据。
221
- const code = error instanceof Error && /^(?:EXTRA|IM|WECOM)_[A-Z0-9_]+$/.test(error.message)
222
- ? error.message
223
- : error instanceof Error && "code" in error && error.code === "ERR_MODULE_NOT_FOUND"
224
- ? "EXTRA_MODULE_NOT_FOUND"
225
- : "EXTRA_LOAD_FAILED";
226
- this.#statuses.set(name, {
227
- phase: "error",
228
- error: cleanupFailed ? "EXTRA_DISPOSE_FAILED" : code
229
- });
230
- if (!instance.disposing && !instance.disposalError)
231
- this.#instances.delete(name);
232
- if (cleanupFailed && instance.disposalError) {
233
- // 回滚失败不能只留在加载器内部;聚合保留主失败与真实 disposer 链。
234
- // 外层服务继续使用原 ServiceInitializationError/cleanup,主 message/code 保持兼容。
235
- const failure = new AggregateError([error, instance.disposalError], error instanceof Error ? error.message : code, { cause: error });
236
- const primaryCode = error instanceof Error
237
- ? Object.getOwnPropertyDescriptor(error, "code")?.value
238
- : undefined;
239
- if (typeof primaryCode === "string")
240
- Object.defineProperty(failure, "code", { value: primaryCode });
241
- throw failure;
242
- }
243
- throw error;
244
- }
245
- });
246
- return instance.starting;
247
- }
248
- unload(name) {
249
- assertExtraName(name);
250
- const unloading = this.#unloading.get(name);
251
- if (unloading)
252
- return unloading;
253
- if (!this.#registrations.has(name) && !this.#instances.has(name) && !this.#queues.has(name))
254
- return Promise.resolve();
255
- // 递增代次也能撤销尚未创建 AbortController 的排队 load,防止卸载后又启动旧声明。
256
- this.#loadEpochs.set(name, (this.#loadEpochs.get(name) ?? 0) + 1);
257
- const stopping = this.#instances.get(name);
258
- if (stopping)
259
- abortForShutdown(stopping.controller);
260
- const instance = this.#instances.get(name);
261
- // abort 不能排在初始化 Promise 后面;外部初始化可能正等待这个取消信号才会退出。
262
- const task = instance ? this.#unload(name) : this.#serial(name, () => this.#unload(name));
263
- this.#unloading.set(name, task);
264
- void task
265
- .finally(() => {
266
- if (this.#unloading.get(name) === task)
267
- this.#unloading.delete(name);
268
- if (!this.#statuses.has(name) && !this.#queues.has(name))
269
- this.#loadEpochs.delete(name);
270
- })
271
- .catch(() => undefined);
272
- return task;
273
- }
274
- #unload(name) {
275
- const instance = this.#instances.get(name);
276
- if (!instance)
277
- return Promise.resolve();
278
- if (instance.disposing)
279
- return instance.disposing;
280
- abortForShutdown(instance.controller);
281
- this.#statuses.set(name, { phase: "disposing" });
282
- instance.disposing = (async () => {
283
- try {
284
- await withinShutdown((async () => {
285
- await instance.starting.catch(() => undefined);
286
- await this.#dispose(instance);
287
- })(), shutdownDeadline(instance.controller.signal), "EXTRA_DISPOSE_FAILED");
288
- this.#statuses.set(name, { phase: "disposed" });
289
- }
290
- catch (error) {
291
- this.#statuses.set(name, { phase: "error", error: "EXTRA_DISPOSE_FAILED" });
292
- throw error;
293
- }
294
- finally {
295
- // 只有完整清理成功才允许释放实例;超时不是资源已释放的证据,失败实例必须阻止重载。
296
- if (!instance.disposalError && this.#statuses.get(name)?.phase === "disposed")
297
- this.#instances.delete(name);
298
- }
299
- })();
300
- return instance.disposing;
301
- }
302
- stopAdmission() {
303
- this.#closed = true;
304
- for (const instance of this.#instances.values())
305
- abortForShutdown(instance.controller);
306
- }
307
- close() {
308
- if (this.#closing)
309
- return this.#closing;
310
- this.#closed = true;
311
- for (const instance of this.#instances.values())
312
- abortForShutdown(instance.controller);
313
- this.#closing = (async () => {
314
- const results = await Promise.allSettled([...this.#instances.keys()].reverse().map((name) => this.unload(name)));
315
- const failures = results.filter((result) => result.status === "rejected");
316
- if (failures.length)
317
- throw new AggregateError(failures.map((result) => result.reason), "EXTRA_DISPOSE_FAILED");
318
- })();
319
- return this.#closing;
320
- }
321
- async #dispose(instance) {
322
- // 初始化失败、主动卸载和整体关闭可能并发到达;所有路径共用一次清理过程。
323
- if (instance.cleanup)
324
- return instance.cleanup;
325
- if (instance.sealed) {
326
- if (instance.disposalError)
327
- throw instance.disposalError;
328
- return;
329
- }
330
- instance.sealed = true;
331
- // 状态回调通常闭包引用整个业务服务,清理开始即解除该引用,禁止再登记资源。
332
- instance.status = () => ({});
333
- instance.cleanup = (async () => {
334
- const errors = [];
335
- // 逆序匹配资源的创建依赖;所有 disposer 共用宽限,单项失败仍继续尝试其余清理。
336
- const deadline = shutdownDeadline(instance.controller.signal);
337
- for (const dispose of instance.disposers.reverse()) {
338
- try {
339
- const operation = Promise.resolve().then(dispose);
340
- await withinShutdown(operation, deadline, "EXTRA_DISPOSE_FAILED");
341
- }
342
- catch (error) {
343
- errors.push(error);
344
- }
345
- }
346
- instance.disposers.length = 0;
347
- if (errors.length) {
348
- instance.disposalError = new AggregateError(errors, "EXTRA_DISPOSE_FAILED");
349
- throw instance.disposalError;
350
- }
351
- })();
352
- return instance.cleanup;
353
- }
354
- }
355
- async function withDisposalDeadline(operation, timeoutMs = 5_000) {
356
- let timer;
357
- try {
358
- await Promise.race([
359
- operation,
360
- new Promise((_, reject) => {
361
- timer = setTimeout(() => reject(new Error("EXTRA_DISPOSE_FAILED")), timeoutMs);
362
- })
363
- ]);
364
- }
365
- finally {
366
- clearTimeout(timer);
367
- }
368
- }
369
- function assertStatusObject(value) {
370
- if (!value || typeof value !== "object" || Array.isArray(value))
371
- throw new Error("EXTRA_STATUS_JSON_REQUIRED");
372
- const seen = new Set();
373
- const visit = (item) => {
374
- if (item === null || typeof item === "string" || typeof item === "boolean")
375
- return;
376
- if (typeof item === "number" && Number.isFinite(item))
377
- return;
378
- if (!item ||
379
- typeof item !== "object" ||
380
- seen.has(item) ||
381
- (!Array.isArray(item) && Object.getPrototypeOf(item) !== Object.prototype))
382
- throw new Error("EXTRA_STATUS_JSON_REQUIRED");
383
- seen.add(item);
384
- for (const child of Object.values(item))
385
- visit(child);
386
- seen.delete(item);
387
- };
388
- visit(value);
389
- }
@@ -1,7 +0,0 @@
1
- /** 私有关闭预算;不增加 ExtraContext 的公开字段或插件 ABI。 */
2
- export declare function shutdownDeadline(signal?: AbortSignal): number;
3
- export declare function withShutdownDeadline<T>(until: number, operation: () => T): T;
4
- export declare function abortForShutdown(controller: AbortController): void;
5
- export declare function shutdownSignal(signals: AbortSignal[]): AbortSignal;
6
- /** 只限制等待时间,不强停 operation;owner 须在到期后撤销迟到操作的写入和投递权限。 */
7
- export declare function withinShutdown<T>(operation: Promise<T>, until: number, code: string): Promise<T>;
@@ -1,39 +0,0 @@
1
- import { AsyncLocalStorage } from "node:async_hooks";
2
- import { performance } from "node:perf_hooks";
3
- const scope = new AsyncLocalStorage();
4
- const deadlines = new WeakMap();
5
- const parents = new WeakMap();
6
- /** 私有关闭预算;不增加 ExtraContext 的公开字段或插件 ABI。 */
7
- export function shutdownDeadline(signal) {
8
- const inherited = signal && parents.get(signal);
9
- return Math.min(scope.getStore() ?? Infinity, (signal && deadlines.get(signal)) ?? Infinity, ...(inherited?.map((parent) => shutdownDeadline(parent)) ?? []), performance.now() + 4000);
10
- }
11
- export function withShutdownDeadline(until, operation) {
12
- return scope.run(Math.min(scope.getStore() ?? Infinity, until), operation);
13
- }
14
- export function abortForShutdown(controller) {
15
- if (!deadlines.has(controller.signal))
16
- deadlines.set(controller.signal, shutdownDeadline());
17
- controller.abort();
18
- }
19
- export function shutdownSignal(signals) {
20
- // AbortSignal.any 不携带私有预算;保留父信号关系,让稍后开始的 dispose 仍继承最早期限。
21
- const signal = AbortSignal.any(signals);
22
- parents.set(signal, signals);
23
- return signal;
24
- }
25
- /** 只限制等待时间,不强停 operation;owner 须在到期后撤销迟到操作的写入和投递权限。 */
26
- export async function withinShutdown(operation, until, code) {
27
- let timer;
28
- try {
29
- return await Promise.race([
30
- operation,
31
- new Promise((_, reject) => {
32
- timer = setTimeout(() => reject(new Error(code)), Math.max(0, until - performance.now()));
33
- })
34
- ]);
35
- }
36
- finally {
37
- clearTimeout(timer);
38
- }
39
- }
@@ -1,3 +0,0 @@
1
- import type { ContextEnvelope, ResolvedExecutionPlan } from "./generated/protocol-types.js";
2
- /** 验证有效 Context 与冻结执行计划逐项一致;不匹配时禁止进入资源准备。 */
3
- export declare function assertFrozenContextPlan(context: ContextEnvelope, plan: ResolvedExecutionPlan): void;
@@ -1,80 +0,0 @@
1
- import { assertContextEnvelope, assertContextEnvs, assertResolvedExecutionPlan } from "./context.js";
2
- function executionValues(context) {
3
- const result = {};
4
- for (const item of [...context.items].sort((a, b) => `${a.namespace}/${a.name}` < `${b.namespace}/${b.name}`
5
- ? -1
6
- : `${a.namespace}/${a.name}` > `${b.namespace}/${b.name}`
7
- ? 1
8
- : 0)) {
9
- if (item.namespace === "octo.execution" &&
10
- ["adapter", "workspace", "limits", "envs", "mcp", "actmode"].includes(item.name))
11
- result[item.name] = item.payload;
12
- if (item.namespace === "octo.security" && item.name === "approval_policy")
13
- result.approval_policy = item.payload;
14
- if (item.namespace === "octo.runtime" && item.name === "selection")
15
- result.runtime = item.payload;
16
- if (item.namespace === "octo.execution" && item.name === "model") {
17
- if (isObject(item.payload.selection))
18
- result.model = item.payload.selection;
19
- if (isObject(item.payload.reasoning))
20
- result.reasoning = item.payload.reasoning;
21
- }
22
- }
23
- return result;
24
- }
25
- /** 验证有效 Context 与冻结执行计划逐项一致;不匹配时禁止进入资源准备。 */
26
- export function assertFrozenContextPlan(context, plan) {
27
- assertContextEnvelope(context);
28
- assertResolvedExecutionPlan(plan);
29
- const execution = executionValues(context);
30
- const match = (field, property, actual) => {
31
- if (execution[field]?.[property] !== actual)
32
- throw new TypeError("CONTEXT_PLAN_MISMATCH");
33
- };
34
- match("adapter", "type", plan.adapter_type);
35
- match("adapter", "provider_agent_id", plan.provider_agent_id);
36
- const workspace = execution.workspace;
37
- if (!workspace)
38
- throw new TypeError("CONTEXT_PLAN_MISMATCH");
39
- if (workspace.mode === "fixed") {
40
- match("workspace", "path", plan.workdir);
41
- if (plan.workspace &&
42
- (plan.workspace.mode !== "fixed" || plan.workspace.path !== workspace.path))
43
- throw new TypeError("CONTEXT_PLAN_MISMATCH");
44
- }
45
- if (workspace.mode === "random" && (plan.workdir !== "" || plan.workspace?.mode !== "random"))
46
- throw new TypeError("CONTEXT_PLAN_MISMATCH");
47
- if (workspace.mode === "none" &&
48
- (plan.agent_source !== "preset" || plan.workdir || plan.workspace?.mode !== "none"))
49
- throw new TypeError("CONTEXT_PLAN_MISMATCH");
50
- match("approval_policy", "mode", plan.approval_mode);
51
- match("model", "id", plan.model);
52
- match("reasoning", "effort", plan.effort);
53
- match("actmode", "mode", plan.actmode);
54
- const canonical = (value) => JSON.stringify(value, function (_key, child) {
55
- return isObject(child)
56
- ? Object.fromEntries(Object.keys(child)
57
- .sort()
58
- .map((key) => [key, child[key]]))
59
- : child;
60
- });
61
- if (canonical(execution.mcp ?? { mcpServers: {} }) !== canonical(plan.mcp ?? { mcpServers: {} }))
62
- throw new TypeError("CONTEXT_PLAN_MISMATCH");
63
- const envs = execution.envs ?? { env_variables: [] };
64
- assertContextEnvs(envs);
65
- const plannedEnvs = new Map((plan.envs?.env_variables ?? []).map((entry) => [entry.key, entry.value]));
66
- if (envs.env_variables.length !== plannedEnvs.size ||
67
- envs.env_variables.some((entry) => plannedEnvs.get(entry.key) !== entry.value))
68
- throw new TypeError("CONTEXT_PLAN_MISMATCH");
69
- const limits = execution.limits ?? {};
70
- for (const property of new Set([
71
- ...Object.keys(limits),
72
- ...Object.keys(plan.runtime_limits ?? {})
73
- ])) {
74
- if (limits[property] !== plan.runtime_limits?.[property])
75
- throw new TypeError("CONTEXT_PLAN_MISMATCH");
76
- }
77
- }
78
- function isObject(value) {
79
- return value !== null && typeof value === "object" && !Array.isArray(value);
80
- }
@@ -1,3 +0,0 @@
1
- import type { ContextEnvelope } from "./generated/protocol-types.js";
2
- /** Sources are validated by the producer's authorization boundary, not by rendering. */
3
- export declare function contextControlInstructions(context: ContextEnvelope): string;
@@ -1,9 +0,0 @@
1
- import { assertContextEnvelope, contextItem } from "./context.js";
2
- /** Sources are validated by the producer's authorization boundary, not by rendering. */
3
- export function contextControlInstructions(context) {
4
- assertContextEnvelope(context);
5
- const entries = contextItem(context, "octo.control", "instructions")?.payload.entries;
6
- return Array.isArray(entries)
7
- ? entries.map((entry) => entry.text).join("\n")
8
- : "";
9
- }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE
@@ -1,69 +0,0 @@
1
- # Installation
2
- > `npm install --save @types/debug`
3
-
4
- # Summary
5
- This package contains type definitions for debug (https://github.com/debug-js/debug).
6
-
7
- # Details
8
- Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debug.
9
- ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debug/index.d.ts)
10
- ````ts
11
- declare var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug };
12
-
13
- export = debug;
14
- export as namespace debug;
15
-
16
- declare namespace debug {
17
- interface Debug {
18
- (namespace: string): Debugger;
19
- coerce: (val: any) => any;
20
- disable: () => string;
21
- enable: (namespaces: string) => void;
22
- enabled: (namespaces: string) => boolean;
23
- formatArgs: (this: Debugger, args: any[]) => void;
24
- log: (...args: any[]) => any;
25
- selectColor: (namespace: string) => string | number;
26
- humanize: typeof import("ms");
27
-
28
- names: string[];
29
- skips: string[];
30
-
31
- formatters: Formatters;
32
-
33
- inspectOpts?: {
34
- hideDate?: boolean | number | null;
35
- colors?: boolean | number | null;
36
- depth?: boolean | number | null;
37
- showHidden?: boolean | number | null;
38
- };
39
- }
40
-
41
- type IDebug = Debug;
42
-
43
- interface Formatters {
44
- [formatter: string]: (v: any) => string;
45
- }
46
-
47
- type IDebugger = Debugger;
48
-
49
- interface Debugger {
50
- (formatter: any, ...args: any[]): void;
51
-
52
- color: string;
53
- diff: number;
54
- enabled: boolean;
55
- log: (...args: any[]) => any;
56
- namespace: string;
57
- destroy: () => boolean;
58
- extend: (namespace: string, delimiter?: string) => Debugger;
59
- }
60
- }
61
-
62
- ````
63
-
64
- ### Additional Details
65
- * Last updated: Thu, 19 Mar 2026 06:47:22 GMT
66
- * Dependencies: [@types/ms](https://npmjs.com/package/@types/ms)
67
-
68
- # Credits
69
- These definitions were written by [Seon-Wook Park](https://github.com/swook), [Gal Talmor](https://github.com/galtalmor), [John McLaughlin](https://github.com/zamb3zi), [Brasten Sager](https://github.com/brasten), [Nicolas Penin](https://github.com/npenin), [Kristian Brünn](https://github.com/kristianmitk), and [Caleb Gregory](https://github.com/calebgregory).