@mininglamp-oss/octo-runtime 1.1.11 → 1.1.12

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 (834) hide show
  1. package/README.md +26 -142
  2. package/apps/cli/README.md +7 -102
  3. package/apps/cli/dist/adapters.js +1 -5
  4. package/apps/cli/dist/build-info.json +2 -2
  5. package/apps/cli/dist/command-tree.d.ts +1 -13
  6. package/apps/cli/dist/command-tree.js +130 -316
  7. package/apps/cli/dist/foreground.d.ts +1 -2
  8. package/apps/cli/dist/help.d.ts +0 -1
  9. package/apps/cli/dist/help.js +2 -13
  10. package/apps/cli/dist/logs.d.ts +2 -2
  11. package/apps/cli/dist/logs.js +14 -17
  12. package/apps/cli/dist/main.js +55 -173
  13. package/apps/cli/dist/manifest.json +0 -50
  14. package/apps/cli/dist/module-manifest.d.ts +1 -1
  15. package/apps/cli/dist/module-manifest.js +2 -3
  16. package/apps/cli/dist/openclaw.d.ts +0 -8
  17. package/apps/cli/dist/openclaw.js +2 -114
  18. package/apps/cli/dist/output.js +9 -20
  19. package/apps/cli/dist/playboard.js +15 -7
  20. package/apps/cli/dist/service-control.js +0 -1
  21. package/dist/public/host.d.ts +2 -4
  22. package/dist/public/host.js +1 -1
  23. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  24. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  25. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  26. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  27. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  28. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +10 -9
  29. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  30. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-R3PDZLX5.js → chunk-H3S6WM37.js} +3 -3
  31. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FGFEM7JP.js → chunk-RISQ6NGV.js} +1 -1
  32. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-TSRZVLIG.js → chunk-SMTJTIN7.js} +1 -1
  33. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +2 -2
  34. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
  35. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +3 -3
  36. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
  37. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
  38. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +4 -4
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +1 -1
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +1 -1
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +1 -13
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +4 -27
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +4 -8
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +0 -4
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +6 -60
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +0 -10
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +0 -83
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  57. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +1 -5
  58. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  59. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +1 -13
  60. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +130 -316
  61. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.d.ts +1 -2
  62. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +0 -1
  63. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +2 -13
  64. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.d.ts +2 -2
  65. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.js +14 -17
  66. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +55 -173
  67. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +0 -50
  68. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
  69. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +2 -3
  70. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.d.ts +0 -8
  71. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +2 -114
  72. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +9 -20
  73. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +15 -7
  74. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +0 -1
  75. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -23
  76. package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +2 -2
  77. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.d.ts +2 -3
  78. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.js +31 -20
  79. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.d.ts +1 -1
  80. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +80 -50
  81. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.d.ts +1 -1
  82. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.js +17 -2
  83. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.js +3 -15
  84. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.d.ts +2 -0
  85. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.js +6 -0
  86. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.d.ts +19 -4
  87. package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +2 -2
  88. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc-fixtures.json +28 -6
  89. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +27 -27
  90. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +263 -75
  91. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +4 -4
  92. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  93. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +2 -3
  94. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +1 -1
  95. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +22 -15
  96. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  97. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +10 -7
  98. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -5
  99. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +1 -7
  100. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +0 -5
  101. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -18
  102. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +1 -0
  103. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -0
  104. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +33 -8
  105. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.d.ts +9 -0
  106. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.js +20 -0
  107. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +27 -29
  108. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +86 -37
  109. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +1 -6
  110. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +3 -17
  111. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +1 -1
  112. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  113. package/node_modules/semver/classes/range.js +2 -2
  114. package/node_modules/semver/internal/constants.js +30 -0
  115. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  116. package/node_modules/semver/package.json +1 -1
  117. package/node_modules/ws/README.md +21 -29
  118. package/node_modules/ws/lib/buffer-util.js +13 -2
  119. package/node_modules/ws/lib/sender.js +4 -1
  120. package/node_modules/ws/lib/websocket.js +8 -3
  121. package/node_modules/ws/package.json +1 -1
  122. package/package.json +27 -135
  123. package/packages/octo-runtime-protocol/schema/kernel-ipc-fixtures.json +28 -6
  124. package/packages/octo-runtime-protocol/schema/protocol.schema.json +263 -75
  125. package/apps/cli/dist/extra-command-config.d.ts +0 -4
  126. package/apps/cli/dist/extra-command-config.js +0 -50
  127. package/apps/cli/dist/extra-commands.d.ts +0 -15
  128. package/apps/cli/dist/extra-commands.js +0 -275
  129. package/apps/cli/dist/extras.d.ts +0 -8
  130. package/apps/cli/dist/extras.js +0 -82
  131. package/apps/cli/dist/global-extras.d.ts +0 -16
  132. package/apps/cli/dist/global-extras.js +0 -201
  133. package/apps/cli/dist/status-output.d.ts +0 -10
  134. package/apps/cli/dist/status-output.js +0 -65
  135. package/dist/public/channel-gateway-commands.d.ts +0 -1
  136. package/dist/public/channel-gateway-commands.js +0 -1
  137. package/dist/public/channel-gateway.d.ts +0 -3
  138. package/dist/public/channel-gateway.js +0 -1
  139. package/dist/public/channel-wecom-commands.d.ts +0 -1
  140. package/dist/public/channel-wecom-commands.js +0 -1
  141. package/dist/public/channel-wecom.d.ts +0 -2
  142. package/dist/public/channel-wecom.js +0 -1
  143. package/dist/public/extra.d.ts +0 -5
  144. package/dist/public/extra.js +0 -3
  145. package/dist/public/webui-commands.d.ts +0 -1
  146. package/dist/public/webui-commands.js +0 -1
  147. package/dist/public/webui.d.ts +0 -1
  148. package/dist/public/webui.js +0 -1
  149. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +0 -4
  150. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +0 -50
  151. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +0 -15
  152. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +0 -275
  153. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +0 -8
  154. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +0 -82
  155. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +0 -16
  156. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +0 -201
  157. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +0 -10
  158. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +0 -65
  159. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +0 -8
  160. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +0 -62
  161. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  162. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +0 -50
  163. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +0 -140
  164. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +0 -3
  165. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +0 -27
  166. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +0 -17
  167. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +0 -123
  168. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +0 -15
  169. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +0 -1489
  170. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +0 -28
  171. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +0 -77
  172. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +0 -71
  173. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +0 -153
  174. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +0 -15
  175. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +0 -28
  176. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +0 -4
  177. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +0 -124
  178. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +0 -172
  179. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.js +0 -1
  180. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +0 -22
  181. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +0 -46
  182. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +0 -16
  183. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +0 -285
  184. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +0 -20
  185. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +0 -109
  186. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +0 -15
  187. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +0 -36
  188. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +0 -16
  189. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +0 -98
  190. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +0 -6
  191. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +0 -10
  192. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +0 -17
  193. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +0 -238
  194. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.d.ts +0 -29
  195. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.js +0 -171
  196. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +0 -44
  197. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +0 -392
  198. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +0 -3
  199. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +0 -27
  200. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +0 -4
  201. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +0 -87
  202. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +0 -20
  203. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.js +0 -13
  204. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.d.ts +0 -9
  205. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +0 -162
  206. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +0 -12
  207. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +0 -154
  208. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +0 -34
  209. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.js +0 -1
  210. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +0 -67
  211. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +0 -588
  212. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.d.ts +0 -16
  213. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.js +0 -83
  214. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +0 -132
  215. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +0 -226
  216. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +0 -65
  217. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +0 -202
  218. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +0 -112
  219. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +0 -138
  220. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -48
  221. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +0 -116
  222. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.d.ts +0 -51
  223. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.js +0 -79
  224. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +0 -30
  225. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +0 -222
  226. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.d.ts +0 -13
  227. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.js +0 -13
  228. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +0 -92
  229. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +0 -173
  230. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.d.ts +0 -84
  231. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +0 -110
  232. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.d.ts +0 -87
  233. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.js +0 -45
  234. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.d.ts +0 -2
  235. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.js +0 -7
  236. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +0 -5
  237. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +0 -23
  238. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.d.ts +0 -20
  239. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.js +0 -75
  240. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +0 -22
  241. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +0 -136
  242. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.d.ts +0 -7
  243. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.js +0 -40
  244. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +0 -70
  245. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +0 -646
  246. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +0 -17
  247. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +0 -91
  248. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +0 -18
  249. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +0 -148
  250. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +0 -15
  251. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +0 -257
  252. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +0 -12
  253. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +0 -133
  254. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +0 -21
  255. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +0 -76
  256. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.d.ts +0 -6
  257. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +0 -163
  258. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.d.ts +0 -4
  259. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.js +0 -113
  260. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -13
  261. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -75
  262. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.d.ts +0 -6
  263. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.js +0 -117
  264. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +0 -16
  265. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +0 -74
  266. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +0 -4
  267. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +0 -19
  268. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +0 -7
  269. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +0 -90
  270. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +0 -20
  271. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +0 -85
  272. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.d.ts +0 -34
  273. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +0 -430
  274. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.d.ts +0 -6
  275. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.js +0 -63
  276. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +0 -6
  277. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +0 -60
  278. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.d.ts +0 -9
  279. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.js +0 -71
  280. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +0 -44
  281. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +0 -357
  282. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +0 -33
  283. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  284. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.d.ts +0 -11
  285. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +0 -754
  286. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +0 -35
  287. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.js +0 -93
  288. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.d.ts +0 -4
  289. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.js +0 -128
  290. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +0 -78
  291. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.js +0 -1
  292. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +0 -16
  293. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +0 -69
  294. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.d.ts +0 -12
  295. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.js +0 -95
  296. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +0 -3
  297. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +0 -85
  298. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.d.ts +0 -10
  299. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.js +0 -6
  300. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.d.ts +0 -6
  301. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.js +0 -109
  302. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.d.ts +0 -12
  303. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.js +0 -73
  304. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +0 -24
  305. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.js +0 -1
  306. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.d.ts +0 -45
  307. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.js +0 -258
  308. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.d.ts +0 -21
  309. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +0 -124
  310. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.d.ts +0 -53
  311. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.js +0 -219
  312. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.d.ts +0 -10
  313. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.js +0 -52
  314. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +0 -31
  315. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +0 -134
  316. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.d.ts +0 -3
  317. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.js +0 -51
  318. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +0 -3
  319. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +0 -423
  320. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +0 -25
  321. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +0 -130
  322. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-BLMf2Etg.js +0 -73
  323. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CYTpqItx.css +0 -1
  324. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +0 -3
  325. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +0 -28
  326. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +0 -32
  327. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +0 -165
  328. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.d.ts +0 -44
  329. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.js +0 -207
  330. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.d.ts +0 -70
  331. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.js +0 -16
  332. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.d.ts +0 -20
  333. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +0 -154
  334. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.d.ts +0 -4
  335. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.js +0 -21
  336. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +0 -45
  337. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +0 -417
  338. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.d.ts +0 -62
  339. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.js +0 -389
  340. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +0 -7
  341. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +0 -39
  342. package/node_modules/@types/debug/LICENSE +0 -21
  343. package/node_modules/@types/debug/README.md +0 -69
  344. package/node_modules/@types/debug/index.d.ts +0 -50
  345. package/node_modules/@types/debug/package.json +0 -58
  346. package/node_modules/@types/mdast/LICENSE +0 -21
  347. package/node_modules/@types/mdast/README.md +0 -15
  348. package/node_modules/@types/mdast/index.d.ts +0 -1123
  349. package/node_modules/@types/mdast/package.json +0 -47
  350. package/node_modules/@types/ms/LICENSE +0 -21
  351. package/node_modules/@types/ms/README.md +0 -82
  352. package/node_modules/@types/ms/index.d.ts +0 -63
  353. package/node_modules/@types/ms/package.json +0 -26
  354. package/node_modules/@types/unist/LICENSE +0 -21
  355. package/node_modules/@types/unist/README.md +0 -15
  356. package/node_modules/@types/unist/index.d.ts +0 -119
  357. package/node_modules/@types/unist/package.json +0 -60
  358. package/node_modules/character-entities/index.d.ts +0 -6
  359. package/node_modules/character-entities/index.js +0 -2132
  360. package/node_modules/character-entities/license +0 -22
  361. package/node_modules/character-entities/package.json +0 -78
  362. package/node_modules/character-entities/readme.md +0 -152
  363. package/node_modules/debug/LICENSE +0 -20
  364. package/node_modules/debug/README.md +0 -481
  365. package/node_modules/debug/package.json +0 -64
  366. package/node_modules/debug/src/browser.js +0 -272
  367. package/node_modules/debug/src/common.js +0 -292
  368. package/node_modules/debug/src/index.js +0 -10
  369. package/node_modules/debug/src/node.js +0 -263
  370. package/node_modules/decode-named-character-reference/index.d.ts +0 -13
  371. package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
  372. package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
  373. package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
  374. package/node_modules/decode-named-character-reference/index.dom.js +0 -32
  375. package/node_modules/decode-named-character-reference/index.js +0 -19
  376. package/node_modules/decode-named-character-reference/license +0 -22
  377. package/node_modules/decode-named-character-reference/package.json +0 -90
  378. package/node_modules/decode-named-character-reference/readme.md +0 -136
  379. package/node_modules/dequal/dist/index.js +0 -86
  380. package/node_modules/dequal/dist/index.min.js +0 -1
  381. package/node_modules/dequal/dist/index.mjs +0 -84
  382. package/node_modules/dequal/index.d.ts +0 -1
  383. package/node_modules/dequal/license +0 -21
  384. package/node_modules/dequal/lite/index.d.ts +0 -1
  385. package/node_modules/dequal/lite/index.js +0 -31
  386. package/node_modules/dequal/lite/index.min.js +0 -1
  387. package/node_modules/dequal/lite/index.mjs +0 -29
  388. package/node_modules/dequal/package.json +0 -57
  389. package/node_modules/dequal/readme.md +0 -112
  390. package/node_modules/devlop/lib/default.js +0 -9
  391. package/node_modules/devlop/lib/development.d.ts +0 -84
  392. package/node_modules/devlop/lib/development.js +0 -238
  393. package/node_modules/devlop/license +0 -22
  394. package/node_modules/devlop/package.json +0 -80
  395. package/node_modules/devlop/readme.md +0 -360
  396. package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
  397. package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
  398. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
  399. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
  400. package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1455
  401. package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -321
  402. package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
  403. package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
  404. package/node_modules/mdast-util-from-markdown/index.js +0 -2
  405. package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
  406. package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
  407. package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1270
  408. package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -321
  409. package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
  410. package/node_modules/mdast-util-from-markdown/license +0 -22
  411. package/node_modules/mdast-util-from-markdown/package.json +0 -98
  412. package/node_modules/mdast-util-from-markdown/readme.md +0 -549
  413. package/node_modules/mdast-util-to-string/index.d.ts +0 -2
  414. package/node_modules/mdast-util-to-string/index.js +0 -5
  415. package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
  416. package/node_modules/mdast-util-to-string/lib/index.js +0 -108
  417. package/node_modules/mdast-util-to-string/license +0 -22
  418. package/node_modules/mdast-util-to-string/package.json +0 -78
  419. package/node_modules/mdast-util-to-string/readme.md +0 -218
  420. package/node_modules/micromark/dev/index.d.ts +0 -82
  421. package/node_modules/micromark/dev/index.d.ts.map +0 -1
  422. package/node_modules/micromark/dev/index.js +0 -68
  423. package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
  424. package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
  425. package/node_modules/micromark/dev/lib/compile.js +0 -1162
  426. package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
  427. package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
  428. package/node_modules/micromark/dev/lib/constructs.js +0 -101
  429. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
  430. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
  431. package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -718
  432. package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
  433. package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
  434. package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
  435. package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
  436. package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
  437. package/node_modules/micromark/dev/lib/initialize/document.js +0 -449
  438. package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
  439. package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
  440. package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
  441. package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
  442. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
  443. package/node_modules/micromark/dev/lib/initialize/text.js +0 -248
  444. package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
  445. package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
  446. package/node_modules/micromark/dev/lib/parse.js +0 -58
  447. package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
  448. package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
  449. package/node_modules/micromark/dev/lib/postprocess.js +0 -19
  450. package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
  451. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
  452. package/node_modules/micromark/dev/lib/preprocess.js +0 -139
  453. package/node_modules/micromark/dev/stream.d.ts +0 -35
  454. package/node_modules/micromark/dev/stream.d.ts.map +0 -1
  455. package/node_modules/micromark/dev/stream.js +0 -270
  456. package/node_modules/micromark/index.d.ts +0 -82
  457. package/node_modules/micromark/index.d.ts.map +0 -1
  458. package/node_modules/micromark/index.js +0 -60
  459. package/node_modules/micromark/lib/compile.d.ts +0 -16
  460. package/node_modules/micromark/lib/compile.d.ts.map +0 -1
  461. package/node_modules/micromark/lib/compile.js +0 -1068
  462. package/node_modules/micromark/lib/constructs.d.ts +0 -73
  463. package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
  464. package/node_modules/micromark/lib/constructs.js +0 -85
  465. package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
  466. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
  467. package/node_modules/micromark/lib/create-tokenizer.js +0 -613
  468. package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
  469. package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
  470. package/node_modules/micromark/lib/initialize/content.js +0 -79
  471. package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
  472. package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
  473. package/node_modules/micromark/lib/initialize/document.js +0 -370
  474. package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
  475. package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
  476. package/node_modules/micromark/lib/initialize/flow.js +0 -58
  477. package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
  478. package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
  479. package/node_modules/micromark/lib/initialize/text.js +0 -216
  480. package/node_modules/micromark/lib/parse.d.ts +0 -10
  481. package/node_modules/micromark/lib/parse.d.ts.map +0 -1
  482. package/node_modules/micromark/lib/parse.js +0 -56
  483. package/node_modules/micromark/lib/postprocess.d.ts +0 -9
  484. package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
  485. package/node_modules/micromark/lib/postprocess.js +0 -18
  486. package/node_modules/micromark/lib/preprocess.d.ts +0 -13
  487. package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
  488. package/node_modules/micromark/lib/preprocess.js +0 -112
  489. package/node_modules/micromark/license +0 -22
  490. package/node_modules/micromark/package.json +0 -87
  491. package/node_modules/micromark/readme.md +0 -488
  492. package/node_modules/micromark/stream.d.ts +0 -35
  493. package/node_modules/micromark/stream.d.ts.map +0 -1
  494. package/node_modules/micromark/stream.js +0 -256
  495. package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
  496. package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
  497. package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
  498. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
  499. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
  500. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -294
  501. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
  502. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
  503. package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
  504. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
  505. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
  506. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
  507. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
  508. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
  509. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
  510. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
  511. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
  512. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
  513. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
  514. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
  515. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
  516. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
  517. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
  518. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -472
  519. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
  520. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
  521. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -178
  522. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
  523. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
  524. package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
  525. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
  526. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
  527. package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
  528. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
  529. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
  530. package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
  531. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
  532. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
  533. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
  534. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
  535. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
  536. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -229
  537. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
  538. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
  539. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -938
  540. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
  541. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
  542. package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
  543. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
  544. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
  545. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -658
  546. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
  547. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
  548. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -119
  549. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
  550. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
  551. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -71
  552. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
  553. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
  554. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
  555. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
  556. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
  557. package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
  558. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +0 -4
  559. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  560. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +0 -67
  561. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
  562. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
  563. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -213
  564. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
  565. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
  566. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
  567. package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
  568. package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
  569. package/node_modules/micromark-core-commonmark/index.js +0 -22
  570. package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
  571. package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
  572. package/node_modules/micromark-core-commonmark/lib/attention.js +0 -231
  573. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
  574. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
  575. package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
  576. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
  577. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
  578. package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
  579. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
  580. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
  581. package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
  582. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
  583. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
  584. package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
  585. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
  586. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
  587. package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
  588. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
  589. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
  590. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -422
  591. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
  592. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
  593. package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -159
  594. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
  595. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
  596. package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
  597. package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
  598. package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
  599. package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
  600. package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
  601. package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
  602. package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
  603. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
  604. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
  605. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
  606. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
  607. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
  608. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -191
  609. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
  610. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
  611. package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -827
  612. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
  613. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
  614. package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
  615. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
  616. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
  617. package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -561
  618. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
  619. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
  620. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -110
  621. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
  622. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
  623. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -63
  624. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
  625. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
  626. package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
  627. package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
  628. package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
  629. package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
  630. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +0 -4
  631. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  632. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +0 -61
  633. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
  634. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
  635. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -187
  636. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
  637. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
  638. package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
  639. package/node_modules/micromark-core-commonmark/license +0 -22
  640. package/node_modules/micromark-core-commonmark/package.json +0 -62
  641. package/node_modules/micromark-core-commonmark/readme.md +0 -171
  642. package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
  643. package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
  644. package/node_modules/micromark-factory-destination/dev/index.js +0 -255
  645. package/node_modules/micromark-factory-destination/index.d.ts +0 -42
  646. package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
  647. package/node_modules/micromark-factory-destination/index.js +0 -206
  648. package/node_modules/micromark-factory-destination/license +0 -22
  649. package/node_modules/micromark-factory-destination/package.json +0 -57
  650. package/node_modules/micromark-factory-destination/readme.md +0 -234
  651. package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
  652. package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
  653. package/node_modules/micromark-factory-label/dev/index.js +0 -172
  654. package/node_modules/micromark-factory-label/index.d.ts +0 -37
  655. package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
  656. package/node_modules/micromark-factory-label/index.js +0 -148
  657. package/node_modules/micromark-factory-label/license +0 -22
  658. package/node_modules/micromark-factory-label/package.json +0 -60
  659. package/node_modules/micromark-factory-label/readme.md +0 -224
  660. package/node_modules/micromark-factory-space/dev/index.d.ts +0 -60
  661. package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
  662. package/node_modules/micromark-factory-space/dev/index.js +0 -122
  663. package/node_modules/micromark-factory-space/index.d.ts +0 -60
  664. package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
  665. package/node_modules/micromark-factory-space/index.js +0 -116
  666. package/node_modules/micromark-factory-space/license +0 -22
  667. package/node_modules/micromark-factory-space/package.json +0 -46
  668. package/node_modules/micromark-factory-space/readme.md +0 -225
  669. package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
  670. package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
  671. package/node_modules/micromark-factory-title/dev/index.js +0 -169
  672. package/node_modules/micromark-factory-title/index.d.ts +0 -36
  673. package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
  674. package/node_modules/micromark-factory-title/index.js +0 -158
  675. package/node_modules/micromark-factory-title/license +0 -22
  676. package/node_modules/micromark-factory-title/package.json +0 -58
  677. package/node_modules/micromark-factory-title/readme.md +0 -229
  678. package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
  679. package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
  680. package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
  681. package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
  682. package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
  683. package/node_modules/micromark-factory-whitespace/index.js +0 -44
  684. package/node_modules/micromark-factory-whitespace/license +0 -22
  685. package/node_modules/micromark-factory-whitespace/package.json +0 -57
  686. package/node_modules/micromark-factory-whitespace/readme.md +0 -205
  687. package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
  688. package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
  689. package/node_modules/micromark-util-character/dev/index.js +0 -252
  690. package/node_modules/micromark-util-character/index.d.ts +0 -195
  691. package/node_modules/micromark-util-character/index.d.ts.map +0 -1
  692. package/node_modules/micromark-util-character/index.js +0 -246
  693. package/node_modules/micromark-util-character/license +0 -22
  694. package/node_modules/micromark-util-character/package.json +0 -57
  695. package/node_modules/micromark-util-character/readme.md +0 -446
  696. package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
  697. package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
  698. package/node_modules/micromark-util-chunked/dev/index.js +0 -89
  699. package/node_modules/micromark-util-chunked/index.d.ts +0 -41
  700. package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
  701. package/node_modules/micromark-util-chunked/index.js +0 -81
  702. package/node_modules/micromark-util-chunked/license +0 -22
  703. package/node_modules/micromark-util-chunked/package.json +0 -57
  704. package/node_modules/micromark-util-chunked/readme.md +0 -219
  705. package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
  706. package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
  707. package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
  708. package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
  709. package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
  710. package/node_modules/micromark-util-classify-character/index.js +0 -27
  711. package/node_modules/micromark-util-classify-character/license +0 -22
  712. package/node_modules/micromark-util-classify-character/package.json +0 -59
  713. package/node_modules/micromark-util-classify-character/readme.md +0 -205
  714. package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
  715. package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
  716. package/node_modules/micromark-util-combine-extensions/index.js +0 -143
  717. package/node_modules/micromark-util-combine-extensions/license +0 -22
  718. package/node_modules/micromark-util-combine-extensions/package.json +0 -52
  719. package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
  720. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
  721. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
  722. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
  723. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
  724. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
  725. package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
  726. package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
  727. package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
  728. package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
  729. package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
  730. package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
  731. package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
  732. package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
  733. package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
  734. package/node_modules/micromark-util-decode-string/index.js +0 -45
  735. package/node_modules/micromark-util-decode-string/license +0 -22
  736. package/node_modules/micromark-util-decode-string/package.json +0 -63
  737. package/node_modules/micromark-util-decode-string/readme.md +0 -179
  738. package/node_modules/micromark-util-edit-map/dev/index.d.ts +0 -78
  739. package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +0 -1
  740. package/node_modules/micromark-util-edit-map/dev/index.js +0 -237
  741. package/node_modules/micromark-util-edit-map/index.d.ts +0 -78
  742. package/node_modules/micromark-util-edit-map/index.d.ts.map +0 -1
  743. package/node_modules/micromark-util-edit-map/index.js +0 -225
  744. package/node_modules/micromark-util-edit-map/license +0 -22
  745. package/node_modules/micromark-util-edit-map/package.json +0 -48
  746. package/node_modules/micromark-util-edit-map/readme.md +0 -234
  747. package/node_modules/micromark-util-encode/index.d.ts +0 -14
  748. package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
  749. package/node_modules/micromark-util-encode/index.js +0 -33
  750. package/node_modules/micromark-util-encode/license +0 -22
  751. package/node_modules/micromark-util-encode/package.json +0 -47
  752. package/node_modules/micromark-util-encode/readme.md +0 -176
  753. package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
  754. package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
  755. package/node_modules/micromark-util-html-tag-name/index.js +0 -93
  756. package/node_modules/micromark-util-html-tag-name/license +0 -22
  757. package/node_modules/micromark-util-html-tag-name/package.json +0 -47
  758. package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
  759. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
  760. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
  761. package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
  762. package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
  763. package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
  764. package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
  765. package/node_modules/micromark-util-normalize-identifier/license +0 -22
  766. package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
  767. package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
  768. package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
  769. package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
  770. package/node_modules/micromark-util-resolve-all/index.js +0 -32
  771. package/node_modules/micromark-util-resolve-all/license +0 -22
  772. package/node_modules/micromark-util-resolve-all/package.json +0 -48
  773. package/node_modules/micromark-util-resolve-all/readme.md +0 -238
  774. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
  775. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
  776. package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
  777. package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
  778. package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
  779. package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
  780. package/node_modules/micromark-util-sanitize-uri/license +0 -22
  781. package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
  782. package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
  783. package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
  784. package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
  785. package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
  786. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
  787. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
  788. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
  789. package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
  790. package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
  791. package/node_modules/micromark-util-subtokenize/index.js +0 -228
  792. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
  793. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
  794. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
  795. package/node_modules/micromark-util-subtokenize/license +0 -22
  796. package/node_modules/micromark-util-subtokenize/package.json +0 -60
  797. package/node_modules/micromark-util-subtokenize/readme.md +0 -181
  798. package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
  799. package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
  800. package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
  801. package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
  802. package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
  803. package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
  804. package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
  805. package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
  806. package/node_modules/micromark-util-symbol/lib/default.js +0 -4
  807. package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
  808. package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
  809. package/node_modules/micromark-util-symbol/lib/types.js +0 -453
  810. package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
  811. package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
  812. package/node_modules/micromark-util-symbol/lib/values.js +0 -109
  813. package/node_modules/micromark-util-symbol/license +0 -22
  814. package/node_modules/micromark-util-symbol/package.json +0 -43
  815. package/node_modules/micromark-util-symbol/readme.md +0 -168
  816. package/node_modules/micromark-util-types/index.d.ts +0 -1315
  817. package/node_modules/micromark-util-types/index.js +0 -2
  818. package/node_modules/micromark-util-types/license +0 -22
  819. package/node_modules/micromark-util-types/package.json +0 -37
  820. package/node_modules/micromark-util-types/readme.md +0 -151
  821. package/node_modules/ms/index.js +0 -162
  822. package/node_modules/ms/license.md +0 -21
  823. package/node_modules/ms/package.json +0 -38
  824. package/node_modules/ms/readme.md +0 -59
  825. package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
  826. package/node_modules/unist-util-stringify-position/index.js +0 -1
  827. package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
  828. package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
  829. package/node_modules/unist-util-stringify-position/license +0 -22
  830. package/node_modules/unist-util-stringify-position/package.json +0 -80
  831. package/node_modules/unist-util-stringify-position/readme.md +0 -206
  832. package/packages/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  833. package/packages/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  834. package/packages/octo-runtime-extra-webui/config-schema.json +0 -134
@@ -1,21 +1,22 @@
1
1
  import { Command, CommanderError, Option } from "commander";
2
- import { cliHelpHeader, lifecycleCommands, preferredRootCommands, rootCommands } from "./help.js";
3
- import { loadCliManifest } from "./module-manifest.js";
4
- import { loadExtraCommands, validateCommands } from "./extra-commands.js";
5
- import { selectRuntimeHome } from "./state.js";
6
- const hostStrings = new Set(["home", "manifest", "profile"]);
7
- const hostBooleans = new Set(["help", "json", "version", "follow"]);
8
- const commandExamples = new WeakMap();
9
- const nativeOptions = [
10
- ["--autostart <boolean>", "Enable automatic startup: true or false (install default: true)"],
11
- ["--lines <count>", "Number of lines, 1..10000 (default: 200)"],
12
- ["--follow", "Follow new log entries"],
13
- [
14
- "--acknowledge-orphan-cleanup",
15
- "Confirm manual cleanup; preserve evidence and reject a live owner"
16
- ]
2
+ import { cliHelpHeader, rootCommands } from "./help.js";
3
+ const preferredRootCommands = [
4
+ "start",
5
+ "run",
6
+ "stop",
7
+ "restart",
8
+ "install",
9
+ "uninstall",
10
+ "logs",
11
+ "recover",
12
+ "adapter",
13
+ "doctor",
14
+ "status",
15
+ "playboard",
16
+ "version",
17
+ "help"
17
18
  ];
18
- /** 仅统一布局;列宽、换行、命令/参数可见性都使用 Commander 的 Help 实现。 */
19
+ const commandExamples = new WeakMap();
19
20
  function formatHelp(command, helper) {
20
21
  const width = helper.padWidth(command, helper);
21
22
  const children = helper.visibleCommands(command);
@@ -30,10 +31,9 @@ function formatHelp(command, helper) {
30
31
  (command.parent
31
32
  ? children.map((child) => `${commandPath(child).join(" ")} --help`)
32
33
  : [
33
- ...children
34
- .filter((child) => child.commands.some((action) => action.name() === "start"))
35
- .slice(0, 4)
36
- .map((child) => `${commandPath(child).join(" ")} ${child.name() === "executor-kernel" ? "start" : "--help"}`),
34
+ "octo-runtime start",
35
+ "octo-runtime run",
36
+ "octo-runtime logs --follow",
37
37
  "octo-runtime status"
38
38
  ]);
39
39
  const section = (title, rows) => rows.length
@@ -78,326 +78,140 @@ function formatHelp(command, helper) {
78
78
  function commandPath(command) {
79
79
  return command.parent ? [...commandPath(command.parent), command.name()] : [command.name()];
80
80
  }
81
- /** 示例配置归目录声明;单引号按 shell 规则转义,展示不导入业务模块、不读取已存凭据。 */
82
- function extrasetExample(name, config = {}, module) {
83
- // 旧配置外壳不接受相对模块路径;这类目录仍省略兼容字段,避免示例无法保存。
84
- const declaration = {
85
- ...(module && !module.startsWith(".") ? { module } : {}),
86
- enabled: true,
87
- config
88
- };
89
- const json = JSON.stringify(declaration, null, 2).replaceAll("'", "'\\''");
90
- return `octo-runtime ${name} extraset <<< '${json}'`;
81
+ /** CLI 只装配执行服务命令;解析和帮助不加载 Adapter、不访问 Home 或服务管理器。 */
82
+ export function parseCliCommand(raw, dependencies) {
83
+ void dependencies;
84
+ return Promise.resolve().then(() => parseCommand(raw));
91
85
  }
92
- function command(name, description) {
93
- return new Command(name)
86
+ function parseCommand(raw) {
87
+ let help;
88
+ let result = { flags: {}, positional: [] };
89
+ const make = (name, description) => new Command(name)
94
90
  .description(description)
95
- .helpOption("-h, --help", `help for ${name}`)
91
+ .helpOption("-h, --help", "Show help")
96
92
  .addHelpCommand(false)
97
- .configureHelp({
98
- showGlobalOptions: true,
99
- sortSubcommands: false,
100
- sortOptions: true,
101
- subcommandTerm: (cmd) => cmd.name(),
102
- formatHelp
103
- })
104
93
  .exitOverride()
105
- .configureOutput({ writeOut() { }, writeErr() { } });
106
- }
107
- /** 参数重复及缺值仍按现有 CLI 合同拒绝,避免 Commander 的后值覆盖掩盖输入错误。 */
108
- function option(cmd, syntax, description, raw, business = false) {
109
- const value = new Option(syntax, description);
110
- // Extra 的布尔名称是原样的业务键,no- 前缀不代表 Commander 的反向默认值。
111
- if (business) {
112
- value.negate = false;
113
- value.attributeName = () => value.name();
114
- // constructor 也是合法业务键;显式空值避免继承原型属性并误通过必填检查。
115
- cmd.setOptionValue(value.name(), undefined);
116
- }
117
- let seen = false;
118
- value.argParser((input) => {
119
- // 仅在 Commander 实际消费本命令的选项时检查,兄弟命令可声明同名但不同类型的选项。
120
- // 仍按原始边界拒绝缺值,避免祖先先取走 --home X 后将 --port 123 拼成合法输入。
121
- const literalIndex = raw.indexOf("--");
122
- const tokens = literalIndex < 0 ? raw : raw.slice(0, literalIndex);
123
- if (business &&
124
- value.required &&
125
- tokens.some((token, index) => token === value.long && (!tokens[index + 1] || tokens[index + 1].startsWith("-"))))
126
- throw new Error("INVALID_ARGUMENTS");
127
- if (seen)
128
- throw new Error("INVALID_ARGUMENTS");
129
- seen = true;
130
- if (value.required &&
131
- (!input ||
132
- (input.startsWith(business ? "-" : "--") && !raw.includes(`${value.long}=${input}`))))
133
- throw new Error("INVALID_ARGUMENTS");
134
- if (value.long === "--autostart" && !["true", "false"].includes(input))
135
- throw new Error("INVALID_ARGUMENTS");
136
- return value.required ? input : true;
137
- });
138
- cmd.addOption(value);
139
- return value;
140
- }
141
- function addHostOptions(root, raw, profile = true) {
142
- option(root, "--home <path>", "Runtime Home directory", raw);
143
- option(root, "--manifest <path>", "Use an explicit module manifest", raw).hideHelp();
144
- option(root, "--json", "Print machine-readable JSON", raw);
145
- option(root, "--profile <name>", "Select a runtime profile", raw).hideHelp(!profile);
146
- }
147
- /** 保留既有宿主布尔等号形式;-- 后的位置参数及业务选项原样交给 Commander。 */
148
- function normalize(args) {
149
- let literal = false;
150
- return args.map((arg) => {
151
- if (arg === "--")
152
- literal = true;
153
- const match = !literal && /^--([^=]+)=/.exec(arg);
154
- return match && hostBooleans.has(match[1]) ? `--${match[1]}` : arg;
94
+ .configureHelp({ showGlobalOptions: true, formatHelp, subcommandTerm: (cmd) => cmd.name() })
95
+ .configureOutput({
96
+ writeOut(text) {
97
+ help = (help ?? "") + text;
98
+ },
99
+ writeErr() { }
155
100
  });
156
- }
157
- /** help 路径只改写命令位置,不把 --home help 等参数值误当成帮助命令。 */
158
- function helpAlias(args) {
159
- for (let i = 0; i < args.length; i++) {
160
- const arg = args[i];
161
- if (arg === "--")
162
- return args;
163
- if (arg.startsWith("-")) {
164
- if (hostStrings.has(arg.slice(2)))
165
- i++;
166
- continue;
167
- }
168
- return arg === "help" ? [...args.slice(0, i), ...args.slice(i + 1), "--help"] : args;
169
- }
170
- return args;
171
- }
172
- /**
173
- * 两阶段装配:先只解析宿主选择参数,再为有效目录挂载命令。
174
- * 根帮助不 import Extra;离线服务动作不加载 /commands;所选业务树才递归适配。
175
- * 本函数只返回调用描述或帮助文本,不运行 handler、不访问服务管理器、不写 Home。
176
- */
177
- export async function parseCliCommand(raw, dependencies) {
178
- const args = normalize(helpAlias(raw));
179
- const selector = command("octo-runtime", "").helpOption(false);
180
- addHostOptions(selector, args);
181
- option(selector, "-h, --help", "Help", args);
182
- option(selector, "-v, --version", "Version", args);
183
- for (const [syntax, description] of nativeOptions)
184
- option(selector, syntax, description, args);
185
- let operands;
186
- try {
187
- operands = selector.parseOptions(args).operands;
188
- }
189
- catch (error) {
190
- if (error instanceof CommanderError)
191
- throw new Error("INVALID_ARGUMENTS", { cause: error });
192
- throw error;
193
- }
194
- const selected = selector.opts();
195
- // 版本属于全局元数据查询;不依赖后续命令、业务必填项或可用的模块目录。
196
- if (selected.version)
197
- return { flags: { version: "true" }, positional: [] };
198
- const name = operands[0];
199
- // 旧顶层写法继续执行;显式查看旧入口帮助时指向同一组件下的规范路径。
200
- if (selected.help && ["extraset", "extraget"].includes(name)) {
201
- const target = operands[1];
202
- const globalArgs = [...hostStrings].flatMap((key) => selected[key] ? [`--${key}=${selected[key]}`] : []);
203
- return parseCliCommand([...globalArgs, ...(target ? [target, name] : []), "--help"], dependencies);
204
- }
205
- const home = selectRuntimeHome(selected.home, dependencies.env, dependencies.platform);
206
- const isExtra = Boolean(name && !rootCommands.has(name));
207
- const offline = isExtra && lifecycleCommands.has(operands[1]);
208
- const needsDirectory = !selected.version && (!name || (isExtra && !offline));
209
- const entries = needsDirectory
210
- ? (await loadCliManifest(home, selected.manifest, dependencies.errorOutput)).extras
211
- : [];
212
- if (entries.some((entry) => rootCommands.has(entry.name)))
213
- throw new Error("EXTRA_COMMAND_NAMESPACE_CONFLICT");
214
- const entry = entries.find((entry) => entry.name === name);
215
- const extension = entry ? await loadExtraCommands(entry) : undefined;
216
- if (extension)
217
- validateCommands(extension);
218
- // 已登记服务必须在模块丢失时仍能停止/卸载;真实存在性由原生命周期入口核验。
219
- if (offline) {
220
- let metadata;
221
- // 离线帮助尽量读取公开示例;损坏的目录不能阻断停止、卸载或完整配置修复。
222
- if (selected.help && operands[1] === "extraset") {
223
- try {
224
- metadata = (await loadCliManifest(home, selected.manifest, () => { })).extras.find((item) => item.name === name);
225
- }
226
- catch {
227
- // 元数据不可用时仍展示通用 JSON 外壳,实际动作保持既有离线路径。
228
- }
229
- }
230
- entries.push(metadata ?? { name, module: "", sourceManifest: "" });
231
- }
232
- const root = command("octo-runtime", "Manage the local Octo Agent runtime and independent services.\n\n" +
233
- "Octo Runtime by Mininglamp Technology\n" +
234
- "Open source on GitHub: https://github.com/Mininglamp-OSS/octo-runtime");
235
- addHostOptions(root, args, !isExtra || (offline && !["extraset", "extraget"].includes(operands[1])));
236
- option(root, "-v, --version", "Print version and build information", args);
237
- // 旧服务参数可位于组件之前;根仅隐藏解析,所属动作仍在本层帮助展示。
238
- // 业务树不开放这些选项,继续由 Extra 自己定义和校验输入。
239
- if (!isExtra || offline)
240
- for (const [syntax, description] of nativeOptions)
241
- option(root, syntax, description, args).hideHelp();
242
- let result = { flags: {}, positional: [] };
243
- let help;
244
- const configure = (cmd) => {
245
- cmd.configureOutput({
246
- writeOut: (text) => {
247
- help = (help ?? "") + text;
248
- },
249
- writeErr() { }
250
- });
251
- cmd.exitOverride();
252
- };
253
- const capture = (cmd, definition) => {
254
- configure(cmd);
255
- cmd.action(() => {
256
- if (cmd !== root && Object.keys(cmd.opts()).some((key) => Object.hasOwn(root.opts(), key)))
101
+ const root = make("octo-runtime", "Manage the local Octo Agent execution runtime.\n\nOcto Runtime by Mininglamp Technology\nhttps://github.com/Mininglamp-OSS/octo-runtime");
102
+ // 重复选项和缺值明确拒绝,不使用 Commander 后值覆盖来隐藏错误。
103
+ const option = (command, syntax, description) => {
104
+ let seen = false;
105
+ const value = new Option(syntax, description).argParser((input) => {
106
+ if (seen || (value.required && (!input || input.startsWith("--"))))
107
+ throw new Error("INVALID_ARGUMENTS");
108
+ seen = true;
109
+ if (value.long === "--autostart" && !["true", "false"].includes(input))
257
110
  throw new Error("INVALID_ARGUMENTS");
258
- const all = cmd.optsWithGlobals();
259
- const flags = Object.fromEntries(Object.entries(root.opts()).map(([key, value]) => [key, String(value)]));
260
- for (const key of ["autostart", "lines", "follow", "acknowledgeOrphanCleanup"])
261
- if (all[key] !== undefined)
262
- flags[key === "acknowledgeOrphanCleanup" ? "acknowledge-orphan-cleanup" : key] = String(all[key]);
263
- const path = commandPath(cmd).slice(1);
264
- // 新入口和隐藏旧入口共用完整声明的原子读写,保持完整声明语义,不生成额外的业务配置命令。
265
- if (path.length === 2 && ["extraset", "extraget"].includes(path[1]))
266
- path.reverse();
267
- result = { flags, positional: [...path, ...cmd.args] };
268
- if (definition && entry) {
269
- if (all.profile !== undefined)
270
- throw new Error("INVALID_ARGUMENTS");
271
- const values = cmd.opts();
272
- const options = Object.fromEntries((definition.options ?? [])
273
- .filter((opt) => values[opt.name] !== undefined)
274
- .map((opt) => [opt.name, values[opt.name]]));
275
- result.extra = {
276
- entry,
277
- command: definition,
278
- input: { options, arguments: cmd.args },
279
- home
280
- };
281
- }
282
- if (cmd.commands.length || cmd === root)
283
- help = cmd.helpInformation().trimEnd();
111
+ return value.required ? input : true;
284
112
  });
113
+ command.addOption(value);
114
+ if (syntax.startsWith("--manifest") ||
115
+ syntax.startsWith("--profile") ||
116
+ (command === root &&
117
+ ["--autostart", "--lines", "--follow", "--acknowledge-orphan-cleanup"].some((flag) => syntax.startsWith(flag))))
118
+ value.hideHelp();
285
119
  };
286
- const leaf = (parent, name, description, hidden = false) => {
287
- const child = command(name, description);
288
- parent.addCommand(child, { hidden });
289
- capture(child);
290
- return child;
291
- };
292
- const service = (name, description, configExample, module) => {
293
- const parent = leaf(root, name, description);
294
- const prefix = `octo-runtime ${name}`;
295
- commandExamples.set(parent, [
296
- `${prefix} start`,
297
- `${prefix} status`,
298
- ...(name === "executor-kernel" ? [] : [extrasetExample(name, configExample, module)])
299
- ]);
300
- for (const [action, summary] of lifecycleCommands) {
301
- if (name === "executor-kernel" && ["extraset", "extraget"].includes(action))
302
- continue;
303
- const child = leaf(parent, action, summary);
304
- const invocation = `${prefix} ${action}`;
305
- commandExamples.set(child, [
306
- action === "extraset" ? extrasetExample(name, configExample, module) : invocation,
307
- ...(action === "install" ? [`${invocation} --autostart=false`] : []),
308
- ...(action === "logs" ? [`${invocation} --lines 200 --follow`] : [])
309
- ]);
310
- if (action === "install")
311
- option(child, "--autostart <boolean>", "Enable automatic startup: true or false (install default: true)", args);
312
- if (action === "extraset")
313
- child.addHelpText("after", "\nReads {config, enabled?, module?} from stdin. Replaces the whole declaration; restart to apply.");
314
- if (action === "extraget")
315
- child.addHelpText("after", "\nReturns the complete declaration, INCLUDING CREDENTIALS.");
316
- if (action === "logs") {
317
- option(child, "--lines <count>", "Number of lines, 1..10000 (default: 200)", args);
318
- option(child, "--follow", "Follow new log entries", args);
319
- }
320
- }
321
- return parent;
322
- };
120
+ for (const [syntax, description] of [
121
+ ["--home <path>", "Runtime Home directory"],
122
+ ["--manifest <path>", "Explicit Adapter manifest"],
123
+ ["--profile <name>", "Runtime profile"],
124
+ ["--json", "Print JSON"],
125
+ ["-v, --version", "Print version"],
126
+ ["--autostart <boolean>", "Automatic startup (install default: true)"],
127
+ ["--lines <count>", "Log lines (default: 200)"],
128
+ ["--follow", "Follow log entries"],
129
+ ["--acknowledge-orphan-cleanup", "Confirm manual orphan cleanup"]
130
+ ])
131
+ option(root, syntax, description);
132
+ const capture = (command) => command.action(() => {
133
+ const path = [];
134
+ for (let current = command; current.parent; current = current.parent)
135
+ path.unshift(current.name());
136
+ if (command !== root &&
137
+ Object.keys(command.opts()).some((key) => Object.hasOwn(root.opts(), key)))
138
+ throw new Error("INVALID_ARGUMENTS");
139
+ const all = command.optsWithGlobals();
140
+ const flags = Object.fromEntries(Object.entries(all).map(([key, value]) => [
141
+ key === "acknowledgeOrphanCleanup" ? "acknowledge-orphan-cleanup" : key,
142
+ String(value)
143
+ ]));
144
+ result = { flags, positional: [...path, ...command.args] };
145
+ if (command.commands.length || command === root)
146
+ help = command.helpInformation();
147
+ });
323
148
  for (const [name, description] of rootCommands) {
324
149
  if (name === "help")
325
150
  continue;
326
- const cmd = name === "executor-kernel"
327
- ? service(name, description)
328
- : leaf(root, name, description, ["extraset", "extraget"].includes(name));
329
- if (name === "executor-kernel") {
330
- const recover = leaf(cmd, "recover", "Acknowledge orphan cleanup after stopping all orphan tools");
331
- commandExamples.set(recover, [
332
- "octo-runtime executor-kernel recover --acknowledge-orphan-cleanup"
333
- ]);
334
- option(recover, "--acknowledge-orphan-cleanup", "Confirm manual cleanup; preserve evidence and reject a live owner", args);
151
+ const command = make(name, description);
152
+ root.addCommand(command);
153
+ capture(command);
154
+ if (name === "install")
155
+ option(command, "--autostart <boolean>", "Automatic startup (default: true)");
156
+ if (name === "logs") {
157
+ option(command, "--lines <count>", "Log lines (default: 200)");
158
+ option(command, "--follow", "Follow log entries");
335
159
  }
160
+ if (name === "recover")
161
+ option(command, "--acknowledge-orphan-cleanup", "Confirm manual orphan cleanup");
336
162
  if (name === "adapter") {
337
- const list = leaf(cmd, "list", "List execution adapters");
338
- commandExamples.set(list, ["octo-runtime adapter list"]);
339
- const probe = leaf(cmd, "probe", "Probe one execution adapter").argument("<type>");
340
- commandExamples.set(probe, ["octo-runtime adapter probe <type>"]);
163
+ const list = make("list", "List execution adapters");
164
+ const probe = make("probe", "Probe an execution adapter").argument("<type>");
165
+ command.addCommand(list).addCommand(probe);
166
+ capture(list);
167
+ capture(probe);
341
168
  }
342
- if (["status", "doctor", "version"].includes(name))
343
- commandExamples.set(cmd, [`octo-runtime ${name}`]);
344
- if (name === "playboard")
345
- commandExamples.set(cmd, ["octo-runtime playboard < request.json"]);
346
- if (name === "extraset" || name === "extraget") {
347
- cmd.argument("<name>");
348
- cmd.addHelpText("after", name === "extraget"
349
- ? "\nReturns the complete configuration, INCLUDING CREDENTIALS."
350
- : "\nReads a complete configuration envelope from stdin JSON. Restart the service to apply.");
169
+ }
170
+ capture(root);
171
+ let args = raw.map((arg) => /^(--(?:json|follow|help|version))=/.test(arg) ? arg.split("=")[0] : arg);
172
+ // 在 help/version 短路之前检查缺值;根命令不能被前置选项吞成参数值。
173
+ let hasCommand = false;
174
+ for (let index = 0; index < args.length; index++) {
175
+ const token = args[index];
176
+ const [name, inline] = token.split("=", 2);
177
+ if (["--home", "--manifest", "--profile", "--lines", "--autostart"].includes(name)) {
178
+ const value = inline === undefined ? args[++index] : inline;
179
+ if (!value ||
180
+ value.startsWith("-") ||
181
+ (inline === undefined && !hasCommand && rootCommands.has(value)))
182
+ throw new Error("INVALID_ARGUMENTS");
351
183
  }
184
+ else if (!token.startsWith("-"))
185
+ hasCommand = true;
352
186
  }
353
- const addBusiness = (parent, definitions) => {
354
- for (const definition of definitions) {
355
- const child = command(definition.name, definition.description);
356
- parent.addCommand(child);
357
- for (const item of definition.options ?? []) {
358
- const flag = option(child, `--${item.name}${item.type === "string" ? " <value>" : ""}`, `${item.description}${item.required ? " (required)" : ""}`, args, true);
359
- flag.makeOptionMandatory(Boolean(item.required));
360
- }
361
- for (const item of definition.arguments ?? [])
362
- child.argument(item.required ? `<${item.name}>` : `[${item.name}]`);
363
- if (definition.examples?.length)
364
- commandExamples.set(child, definition.examples);
365
- capture(child, definition);
366
- if (definition.commands)
367
- addBusiness(child, definition.commands);
187
+ if (args.some((arg) => ["-v", "--version"].includes(arg)))
188
+ return { flags: { version: "true" }, positional: [] };
189
+ // help 是命令别名;只处理首个命令 token,参数值不参与匹配。
190
+ for (let index = 0; index < args.length; index++) {
191
+ if (["--home", "--manifest", "--profile", "--lines", "--autostart"].includes(args[index])) {
192
+ index++;
193
+ continue;
368
194
  }
369
- };
370
- for (const extra of entries) {
371
- const parent = service(extra.name, extra.description ?? `Manage the ${extra.name} service`, extra.configExample, extra.module);
372
- if (extra === entry && extension) {
373
- addBusiness(parent, extension.commands);
374
- commandExamples.set(parent, [
375
- ...commandExamples.get(parent),
376
- `octo-runtime ${extra.name} ${extension.commands[0].name} --help`
377
- ]);
195
+ if (args[index].startsWith("-"))
196
+ continue;
197
+ if (args[index] === "help") {
198
+ args = [...args.slice(0, index), ...args.slice(index + 1), "--help"];
199
+ index--;
200
+ continue;
378
201
  }
202
+ // Commander 会先处理 --help;在此拒绝未知根命令,避免已删除路径被显示为有效帮助。
203
+ if (!rootCommands.has(args[index]))
204
+ throw new Error("INVALID_ARGUMENTS");
205
+ break;
379
206
  }
380
- // help 路径在装配前转换,目录中仍提供真实可用的帮助入口。
381
- leaf(root, "help", "Help about any command").argument("[command...]");
382
- capture(root);
383
207
  try {
384
208
  root.parse(args, { from: "user" });
385
209
  }
386
210
  catch (error) {
387
- if (!(error instanceof CommanderError))
388
- throw error;
389
- if (error.code !== "commander.helpDisplayed")
390
- throw new Error(isExtra && error.code === "commander.unknownCommand"
391
- ? "EXTRA_COMMAND_NOT_FOUND"
392
- : "INVALID_ARGUMENTS", { cause: error });
211
+ if (!(error instanceof CommanderError) || error.code !== "commander.helpDisplayed")
212
+ throw new Error("INVALID_ARGUMENTS", { cause: error });
393
213
  }
394
214
  if (root.opts().version)
395
215
  return { flags: { version: "true" }, positional: [] };
396
- if (help !== undefined) {
397
- // Extra 自有配置的 profile 禁令在帮助入口同样生效,服务动作保留原合同。
398
- if (isExtra && !offline && selected.profile !== undefined)
399
- throw new Error("INVALID_ARGUMENTS");
400
- return { ...result, help: help.trimEnd() };
401
- }
402
- return result;
216
+ return help === undefined ? result : { ...result, help: help.trimEnd() };
403
217
  }
@@ -1,4 +1,3 @@
1
- import type { ExtraService } from "@mininglamp-oss/octo-runtime-host-sdk";
2
1
  import type { KernelService } from "@mininglamp-oss/octo-runtime-executor-kernel";
3
2
  /** CLI 持有前台服务;所有终止路径只清理、诊断及完成一次,不退出调用进程。 */
4
- export declare function runForegroundService(handle: ExtraService | KernelService, ready: () => void, failed: (error: unknown) => Promise<void>): Promise<number>;
3
+ export declare function runForegroundService(handle: KernelService, ready: () => void, failed: (error: unknown) => Promise<void>): Promise<number>;
@@ -1,6 +1,5 @@
1
1
  export declare const cliVersion: string;
2
2
  export declare const cliVersionInfo: string;
3
3
  export declare const cliHelpHeader: string;
4
- export declare const preferredRootCommands: string[];
5
4
  export declare const lifecycleCommands: Map<string, string>;
6
5
  export declare const rootCommands: Map<string, string>;
@@ -22,13 +22,6 @@ const validBuildTime = typeof buildTime === "string" &&
22
22
  const cliBuildInfo = `build:${validBuildTime ? buildTime : "unknown"}`;
23
23
  export const cliVersionInfo = `${cliVersion}\n${cliCommitInfo}\n${cliBuildInfo}`;
24
24
  export const cliHelpHeader = `Octo Runtime CLI (${cliVersion})\n${cliCommitInfo}\n${cliBuildInfo}`;
25
- // 产品指定的首页顺序只影响展示;缺席的 Extra 不补进有效命令目录。
26
- export const preferredRootCommands = [
27
- "executor-kernel",
28
- "channel-gateway",
29
- "channel-wecom",
30
- "webui"
31
- ];
32
25
  export const lifecycleCommands = new Map([
33
26
  ["install", "Register and enable this service (autostart on by default)"],
34
27
  ["uninstall", "Remove this service, preserving configuration and data"],
@@ -38,17 +31,13 @@ export const lifecycleCommands = new Map([
38
31
  ["run", "Run this service in the foreground"],
39
32
  ["status", "Show service and runtime status"],
40
33
  ["logs", "Read service status logs (no conversation content)"],
41
- ["extraset", "Replace this service configuration from stdin JSON"],
42
- ["extraget", "Read this service configuration, including credentials"]
34
+ ["recover", "Acknowledge orphan cleanup after stopping orphan tools"]
43
35
  ]);
44
36
  export const rootCommands = new Map([
37
+ ...lifecycleCommands,
45
38
  ["adapter", "List and probe execution adapters"],
46
39
  ["doctor", "Diagnose the local runtime"],
47
- ["executor-kernel", "Manage native Agent execution and local RPC"],
48
- ["extraget", "Read a complete service configuration (advanced)"],
49
- ["extraset", "Replace a complete service configuration from JSON (advanced)"],
50
40
  ["help", "Help about any command"],
51
41
  ["playboard", "Run an Agent request from stdin JSON"],
52
- ["status", "Show runtime and service status"],
53
42
  ["version", "Print version and build information"]
54
43
  ]);
@@ -1,6 +1,6 @@
1
- export declare function showExtraLogs(options: {
1
+ export declare function showKernelLogs(options: {
2
2
  home: string;
3
- extra: string;
3
+ component: string;
4
4
  lines: number;
5
5
  follow: boolean;
6
6
  json: boolean;