@mininglamp-oss/octo-runtime 1.1.10 → 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 (916) hide show
  1. package/README.md +26 -142
  2. package/apps/cli/README.md +7 -102
  3. package/apps/cli/dist/adapters.js +41 -19
  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 -317
  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/index.js +14 -1
  11. package/apps/cli/dist/logs.d.ts +2 -2
  12. package/apps/cli/dist/logs.js +14 -17
  13. package/apps/cli/dist/main.js +99 -182
  14. package/apps/cli/dist/manifest.json +0 -50
  15. package/apps/cli/dist/module-manifest.d.ts +1 -1
  16. package/apps/cli/dist/module-manifest.js +23 -6
  17. package/apps/cli/dist/openclaw.d.ts +0 -8
  18. package/apps/cli/dist/openclaw.js +2 -114
  19. package/apps/cli/dist/output.d.ts +19 -1
  20. package/apps/cli/dist/output.js +185 -44
  21. package/apps/cli/dist/playboard.js +17 -9
  22. package/apps/cli/dist/service-control.js +0 -1
  23. package/apps/cli/dist/state.d.ts +5 -2
  24. package/apps/cli/dist/state.js +48 -13
  25. package/dist/public/codex.d.ts +1 -0
  26. package/dist/public/codex.js +1 -0
  27. package/dist/public/executor-kernel.d.ts +4 -0
  28. package/dist/public/executor-kernel.js +2 -0
  29. package/dist/public/host.d.ts +6 -3
  30. package/dist/public/host.js +3 -1
  31. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  32. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +20 -0
  33. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  34. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  35. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  36. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  37. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.d.ts +6 -6
  38. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +78 -262
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +11 -6
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +198 -52
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.d.ts +58 -0
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.js +650 -0
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.d.ts +3 -0
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.js +15 -0
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-R3PDZLX5.js → chunk-H3S6WM37.js} +3 -3
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FGFEM7JP.js → chunk-RISQ6NGV.js} +1 -1
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-TSRZVLIG.js → chunk-SMTJTIN7.js} +1 -1
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +2 -2
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +3 -3
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +4 -4
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  59. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
  60. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +2 -0
  61. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  62. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
  63. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
  64. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +5 -0
  65. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.d.ts +25 -0
  66. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +4 -1
  67. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +1 -1
  68. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +1 -13
  69. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +4 -27
  70. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +4 -8
  71. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +0 -4
  72. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +6 -60
  73. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +0 -10
  74. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +0 -83
  75. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  76. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +41 -19
  77. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  78. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +1 -13
  79. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +130 -317
  80. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.d.ts +1 -2
  81. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +0 -1
  82. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +2 -13
  83. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/index.js +14 -1
  84. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.d.ts +2 -2
  85. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.js +14 -17
  86. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +99 -182
  87. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +0 -50
  88. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
  89. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +23 -6
  90. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.d.ts +0 -8
  91. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +2 -114
  92. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.d.ts +19 -1
  93. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +185 -44
  94. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +17 -9
  95. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +0 -1
  96. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.d.ts +5 -2
  97. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.js +48 -13
  98. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -23
  99. package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +5 -0
  100. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.d.ts +29 -0
  101. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.js +210 -0
  102. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/browser.d.ts +1 -0
  103. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/browser.js +1 -0
  104. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.d.ts +10 -0
  105. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +495 -0
  106. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.d.ts +6 -0
  107. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.js +6 -0
  108. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/internal.d.ts +4 -0
  109. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/internal.js +5 -0
  110. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.d.ts +59 -0
  111. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.js +302 -0
  112. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/notification.d.ts +1 -0
  113. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/notification.js +1 -0
  114. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/protocol.d.ts +1 -0
  115. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/protocol.js +1 -0
  116. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/runtime-path.d.ts +21 -0
  117. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/runtime-path.js +138 -0
  118. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.d.ts +8 -0
  119. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.js +53 -0
  120. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-diagnostics.d.ts +82 -0
  121. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-diagnostics.js +371 -0
  122. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.d.ts +12 -0
  123. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.js +29 -0
  124. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.d.ts +87 -0
  125. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.js +10 -0
  126. package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +54 -0
  127. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-configuration-fixtures.json +1219 -0
  128. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-fixtures.json +5988 -0
  129. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-client.behavior.json +56 -0
  130. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc-fixtures.json +75 -0
  131. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc.schema.json +538 -0
  132. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +116 -0
  133. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +4713 -0
  134. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +761 -0
  135. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/runtime-selection-fixtures.json +663 -0
  136. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/session-name-fixtures.json +191 -0
  137. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  138. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +26 -18
  139. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +153 -14
  140. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +1 -1
  141. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +22 -15
  142. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  143. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.d.ts +1 -30
  144. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.js +2 -199
  145. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.d.ts +1 -10
  146. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.js +2 -446
  147. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/endpoint.js +2 -0
  148. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.d.ts +2 -0
  149. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.js +13 -2
  150. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +4 -1
  151. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +4 -1
  152. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.d.ts +1 -53
  153. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.js +2 -280
  154. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.d.ts +5 -10
  155. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.js +4 -1
  156. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-home.d.ts +20 -0
  157. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-home.js +180 -0
  158. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +41 -15
  159. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.d.ts +5 -2
  160. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.js +48 -5
  161. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-catalog.d.ts +1 -0
  162. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-catalog.js +1 -0
  163. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-diagnostics.d.ts +1 -0
  164. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-diagnostics.js +1 -0
  165. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-logging.d.ts +4 -0
  166. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-logging.js +18 -0
  167. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.d.ts +1 -10
  168. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.js +2 -23
  169. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.d.ts +2 -72
  170. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.js +2 -10
  171. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -4
  172. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.d.ts +1 -1
  173. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.js +12 -5
  174. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.d.ts +5 -1
  175. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.js +9 -0
  176. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.d.ts +5 -6
  177. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.js +33 -45
  178. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/identity.js +6 -0
  179. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +4 -6
  180. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +3 -5
  181. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -17
  182. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.d.ts +7 -0
  183. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +1 -0
  184. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -0
  185. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +52 -8
  186. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.d.ts +9 -0
  187. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.js +20 -0
  188. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +3 -1
  189. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +1 -0
  190. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +27 -29
  191. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +86 -37
  192. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +1 -6
  193. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +3 -17
  194. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.d.ts +5 -0
  195. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +65 -0
  196. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  197. package/node_modules/semver/classes/range.js +2 -2
  198. package/node_modules/semver/internal/constants.js +30 -0
  199. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  200. package/node_modules/semver/package.json +1 -1
  201. package/node_modules/ws/README.md +21 -29
  202. package/node_modules/ws/lib/buffer-util.js +13 -2
  203. package/node_modules/ws/lib/sender.js +4 -1
  204. package/node_modules/ws/lib/websocket.js +8 -3
  205. package/node_modules/ws/package.json +1 -1
  206. package/package.json +33 -135
  207. package/packages/octo-runtime-protocol/schema/kernel-ipc-fixtures.json +28 -6
  208. package/packages/octo-runtime-protocol/schema/protocol.schema.json +296 -66
  209. package/apps/cli/dist/extra-command-config.d.ts +0 -4
  210. package/apps/cli/dist/extra-command-config.js +0 -50
  211. package/apps/cli/dist/extra-commands.d.ts +0 -15
  212. package/apps/cli/dist/extra-commands.js +0 -275
  213. package/apps/cli/dist/extras.d.ts +0 -8
  214. package/apps/cli/dist/extras.js +0 -72
  215. package/apps/cli/dist/global-extras.d.ts +0 -16
  216. package/apps/cli/dist/global-extras.js +0 -201
  217. package/apps/cli/dist/status-output.d.ts +0 -10
  218. package/apps/cli/dist/status-output.js +0 -65
  219. package/dist/public/channel-gateway-commands.d.ts +0 -1
  220. package/dist/public/channel-gateway-commands.js +0 -1
  221. package/dist/public/channel-gateway.d.ts +0 -3
  222. package/dist/public/channel-gateway.js +0 -1
  223. package/dist/public/channel-wecom-commands.d.ts +0 -1
  224. package/dist/public/channel-wecom-commands.js +0 -1
  225. package/dist/public/channel-wecom.d.ts +0 -2
  226. package/dist/public/channel-wecom.js +0 -1
  227. package/dist/public/extra.d.ts +0 -5
  228. package/dist/public/extra.js +0 -3
  229. package/dist/public/webui-commands.d.ts +0 -1
  230. package/dist/public/webui-commands.js +0 -1
  231. package/dist/public/webui.d.ts +0 -1
  232. package/dist/public/webui.js +0 -1
  233. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +0 -4
  234. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +0 -50
  235. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +0 -15
  236. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +0 -275
  237. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +0 -8
  238. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +0 -72
  239. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +0 -16
  240. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +0 -201
  241. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +0 -10
  242. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +0 -65
  243. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +0 -8
  244. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +0 -62
  245. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  246. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +0 -50
  247. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +0 -140
  248. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +0 -3
  249. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +0 -27
  250. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +0 -17
  251. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +0 -123
  252. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +0 -15
  253. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +0 -1489
  254. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +0 -28
  255. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +0 -77
  256. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +0 -71
  257. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +0 -153
  258. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +0 -15
  259. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +0 -28
  260. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +0 -4
  261. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +0 -124
  262. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +0 -172
  263. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +0 -22
  264. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +0 -46
  265. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +0 -16
  266. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +0 -285
  267. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +0 -20
  268. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +0 -109
  269. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +0 -15
  270. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +0 -36
  271. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +0 -16
  272. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +0 -98
  273. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +0 -6
  274. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +0 -10
  275. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +0 -17
  276. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +0 -238
  277. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.d.ts +0 -29
  278. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.js +0 -171
  279. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +0 -44
  280. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +0 -392
  281. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +0 -3
  282. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +0 -27
  283. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +0 -4
  284. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +0 -87
  285. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +0 -20
  286. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.js +0 -13
  287. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.d.ts +0 -9
  288. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +0 -162
  289. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +0 -12
  290. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +0 -154
  291. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +0 -34
  292. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +0 -67
  293. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +0 -588
  294. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.d.ts +0 -16
  295. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.js +0 -83
  296. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +0 -132
  297. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +0 -226
  298. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +0 -65
  299. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +0 -202
  300. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +0 -112
  301. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +0 -138
  302. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -48
  303. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +0 -116
  304. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.d.ts +0 -51
  305. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.js +0 -79
  306. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +0 -30
  307. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +0 -222
  308. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.d.ts +0 -13
  309. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.js +0 -13
  310. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +0 -92
  311. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +0 -173
  312. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.d.ts +0 -84
  313. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +0 -110
  314. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.d.ts +0 -87
  315. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.js +0 -45
  316. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.d.ts +0 -2
  317. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.js +0 -7
  318. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +0 -5
  319. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +0 -23
  320. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.d.ts +0 -20
  321. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.js +0 -75
  322. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +0 -22
  323. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +0 -136
  324. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.d.ts +0 -7
  325. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.js +0 -40
  326. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +0 -70
  327. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +0 -646
  328. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +0 -17
  329. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +0 -91
  330. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +0 -18
  331. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +0 -148
  332. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +0 -15
  333. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +0 -257
  334. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +0 -12
  335. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +0 -133
  336. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +0 -21
  337. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +0 -76
  338. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.d.ts +0 -6
  339. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +0 -163
  340. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.d.ts +0 -4
  341. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.js +0 -113
  342. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -13
  343. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -75
  344. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.d.ts +0 -6
  345. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.js +0 -117
  346. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +0 -16
  347. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +0 -74
  348. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +0 -4
  349. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +0 -19
  350. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +0 -7
  351. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +0 -90
  352. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +0 -20
  353. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +0 -85
  354. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.d.ts +0 -34
  355. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +0 -430
  356. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.d.ts +0 -6
  357. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.js +0 -63
  358. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +0 -6
  359. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +0 -60
  360. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.d.ts +0 -9
  361. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.js +0 -71
  362. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +0 -44
  363. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +0 -357
  364. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +0 -33
  365. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  366. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.d.ts +0 -11
  367. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +0 -754
  368. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +0 -35
  369. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.js +0 -93
  370. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.d.ts +0 -4
  371. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.js +0 -128
  372. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +0 -78
  373. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.js +0 -1
  374. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +0 -16
  375. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +0 -69
  376. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.d.ts +0 -12
  377. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.js +0 -95
  378. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +0 -3
  379. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +0 -85
  380. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.d.ts +0 -10
  381. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.js +0 -6
  382. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.d.ts +0 -6
  383. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.js +0 -109
  384. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.d.ts +0 -12
  385. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.js +0 -73
  386. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +0 -24
  387. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.js +0 -1
  388. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.d.ts +0 -45
  389. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.js +0 -258
  390. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.d.ts +0 -21
  391. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +0 -124
  392. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.d.ts +0 -53
  393. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.js +0 -219
  394. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.d.ts +0 -10
  395. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.js +0 -52
  396. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +0 -31
  397. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +0 -134
  398. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.d.ts +0 -3
  399. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.js +0 -51
  400. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +0 -3
  401. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +0 -423
  402. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +0 -25
  403. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +0 -130
  404. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-BLMf2Etg.js +0 -73
  405. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CYTpqItx.css +0 -1
  406. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +0 -3
  407. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +0 -28
  408. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +0 -32
  409. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +0 -165
  410. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.d.ts +0 -70
  411. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.js +0 -16
  412. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.d.ts +0 -20
  413. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +0 -134
  414. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.d.ts +0 -4
  415. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.js +0 -21
  416. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +0 -22
  417. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +0 -309
  418. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.d.ts +0 -55
  419. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.js +0 -375
  420. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +0 -7
  421. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +0 -39
  422. package/node_modules/@types/debug/LICENSE +0 -21
  423. package/node_modules/@types/debug/README.md +0 -69
  424. package/node_modules/@types/debug/index.d.ts +0 -50
  425. package/node_modules/@types/debug/package.json +0 -58
  426. package/node_modules/@types/mdast/LICENSE +0 -21
  427. package/node_modules/@types/mdast/README.md +0 -15
  428. package/node_modules/@types/mdast/index.d.ts +0 -1123
  429. package/node_modules/@types/mdast/package.json +0 -47
  430. package/node_modules/@types/ms/LICENSE +0 -21
  431. package/node_modules/@types/ms/README.md +0 -82
  432. package/node_modules/@types/ms/index.d.ts +0 -63
  433. package/node_modules/@types/ms/package.json +0 -26
  434. package/node_modules/@types/unist/LICENSE +0 -21
  435. package/node_modules/@types/unist/README.md +0 -15
  436. package/node_modules/@types/unist/index.d.ts +0 -119
  437. package/node_modules/@types/unist/package.json +0 -60
  438. package/node_modules/character-entities/index.d.ts +0 -6
  439. package/node_modules/character-entities/index.js +0 -2132
  440. package/node_modules/character-entities/license +0 -22
  441. package/node_modules/character-entities/package.json +0 -78
  442. package/node_modules/character-entities/readme.md +0 -152
  443. package/node_modules/debug/LICENSE +0 -20
  444. package/node_modules/debug/README.md +0 -481
  445. package/node_modules/debug/package.json +0 -64
  446. package/node_modules/debug/src/browser.js +0 -272
  447. package/node_modules/debug/src/common.js +0 -292
  448. package/node_modules/debug/src/index.js +0 -10
  449. package/node_modules/debug/src/node.js +0 -263
  450. package/node_modules/decode-named-character-reference/index.d.ts +0 -13
  451. package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
  452. package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
  453. package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
  454. package/node_modules/decode-named-character-reference/index.dom.js +0 -32
  455. package/node_modules/decode-named-character-reference/index.js +0 -19
  456. package/node_modules/decode-named-character-reference/license +0 -22
  457. package/node_modules/decode-named-character-reference/package.json +0 -90
  458. package/node_modules/decode-named-character-reference/readme.md +0 -136
  459. package/node_modules/dequal/dist/index.js +0 -86
  460. package/node_modules/dequal/dist/index.min.js +0 -1
  461. package/node_modules/dequal/dist/index.mjs +0 -84
  462. package/node_modules/dequal/index.d.ts +0 -1
  463. package/node_modules/dequal/license +0 -21
  464. package/node_modules/dequal/lite/index.d.ts +0 -1
  465. package/node_modules/dequal/lite/index.js +0 -31
  466. package/node_modules/dequal/lite/index.min.js +0 -1
  467. package/node_modules/dequal/lite/index.mjs +0 -29
  468. package/node_modules/dequal/package.json +0 -57
  469. package/node_modules/dequal/readme.md +0 -112
  470. package/node_modules/devlop/lib/default.js +0 -9
  471. package/node_modules/devlop/lib/development.d.ts +0 -84
  472. package/node_modules/devlop/lib/development.js +0 -238
  473. package/node_modules/devlop/license +0 -22
  474. package/node_modules/devlop/package.json +0 -80
  475. package/node_modules/devlop/readme.md +0 -360
  476. package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
  477. package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
  478. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
  479. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
  480. package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1455
  481. package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -321
  482. package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
  483. package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
  484. package/node_modules/mdast-util-from-markdown/index.js +0 -2
  485. package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
  486. package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
  487. package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1270
  488. package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -321
  489. package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
  490. package/node_modules/mdast-util-from-markdown/license +0 -22
  491. package/node_modules/mdast-util-from-markdown/package.json +0 -98
  492. package/node_modules/mdast-util-from-markdown/readme.md +0 -549
  493. package/node_modules/mdast-util-to-string/index.d.ts +0 -2
  494. package/node_modules/mdast-util-to-string/index.js +0 -5
  495. package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
  496. package/node_modules/mdast-util-to-string/lib/index.js +0 -108
  497. package/node_modules/mdast-util-to-string/license +0 -22
  498. package/node_modules/mdast-util-to-string/package.json +0 -78
  499. package/node_modules/mdast-util-to-string/readme.md +0 -218
  500. package/node_modules/micromark/dev/index.d.ts +0 -82
  501. package/node_modules/micromark/dev/index.d.ts.map +0 -1
  502. package/node_modules/micromark/dev/index.js +0 -68
  503. package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
  504. package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
  505. package/node_modules/micromark/dev/lib/compile.js +0 -1162
  506. package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
  507. package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
  508. package/node_modules/micromark/dev/lib/constructs.js +0 -101
  509. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
  510. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
  511. package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -718
  512. package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
  513. package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
  514. package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
  515. package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
  516. package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
  517. package/node_modules/micromark/dev/lib/initialize/document.js +0 -449
  518. package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
  519. package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
  520. package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
  521. package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
  522. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
  523. package/node_modules/micromark/dev/lib/initialize/text.js +0 -248
  524. package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
  525. package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
  526. package/node_modules/micromark/dev/lib/parse.js +0 -58
  527. package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
  528. package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
  529. package/node_modules/micromark/dev/lib/postprocess.js +0 -19
  530. package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
  531. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
  532. package/node_modules/micromark/dev/lib/preprocess.js +0 -139
  533. package/node_modules/micromark/dev/stream.d.ts +0 -35
  534. package/node_modules/micromark/dev/stream.d.ts.map +0 -1
  535. package/node_modules/micromark/dev/stream.js +0 -270
  536. package/node_modules/micromark/index.d.ts +0 -82
  537. package/node_modules/micromark/index.d.ts.map +0 -1
  538. package/node_modules/micromark/index.js +0 -60
  539. package/node_modules/micromark/lib/compile.d.ts +0 -16
  540. package/node_modules/micromark/lib/compile.d.ts.map +0 -1
  541. package/node_modules/micromark/lib/compile.js +0 -1068
  542. package/node_modules/micromark/lib/constructs.d.ts +0 -73
  543. package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
  544. package/node_modules/micromark/lib/constructs.js +0 -85
  545. package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
  546. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
  547. package/node_modules/micromark/lib/create-tokenizer.js +0 -613
  548. package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
  549. package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
  550. package/node_modules/micromark/lib/initialize/content.js +0 -79
  551. package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
  552. package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
  553. package/node_modules/micromark/lib/initialize/document.js +0 -370
  554. package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
  555. package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
  556. package/node_modules/micromark/lib/initialize/flow.js +0 -58
  557. package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
  558. package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
  559. package/node_modules/micromark/lib/initialize/text.js +0 -216
  560. package/node_modules/micromark/lib/parse.d.ts +0 -10
  561. package/node_modules/micromark/lib/parse.d.ts.map +0 -1
  562. package/node_modules/micromark/lib/parse.js +0 -56
  563. package/node_modules/micromark/lib/postprocess.d.ts +0 -9
  564. package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
  565. package/node_modules/micromark/lib/postprocess.js +0 -18
  566. package/node_modules/micromark/lib/preprocess.d.ts +0 -13
  567. package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
  568. package/node_modules/micromark/lib/preprocess.js +0 -112
  569. package/node_modules/micromark/license +0 -22
  570. package/node_modules/micromark/package.json +0 -87
  571. package/node_modules/micromark/readme.md +0 -488
  572. package/node_modules/micromark/stream.d.ts +0 -35
  573. package/node_modules/micromark/stream.d.ts.map +0 -1
  574. package/node_modules/micromark/stream.js +0 -256
  575. package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
  576. package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
  577. package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
  578. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
  579. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
  580. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -294
  581. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
  582. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
  583. package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
  584. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
  585. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
  586. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
  587. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
  588. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
  589. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
  590. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
  591. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
  592. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
  593. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
  594. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
  595. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
  596. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
  597. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
  598. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -472
  599. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
  600. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
  601. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -178
  602. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
  603. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
  604. package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
  605. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
  606. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
  607. package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
  608. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
  609. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
  610. package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
  611. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
  612. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
  613. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
  614. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
  615. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
  616. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -229
  617. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
  618. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
  619. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -938
  620. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
  621. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
  622. package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
  623. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
  624. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
  625. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -658
  626. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
  627. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
  628. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -119
  629. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
  630. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
  631. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -71
  632. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
  633. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
  634. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
  635. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
  636. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
  637. package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
  638. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +0 -4
  639. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  640. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +0 -67
  641. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
  642. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
  643. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -213
  644. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
  645. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
  646. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
  647. package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
  648. package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
  649. package/node_modules/micromark-core-commonmark/index.js +0 -22
  650. package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
  651. package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
  652. package/node_modules/micromark-core-commonmark/lib/attention.js +0 -231
  653. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
  654. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
  655. package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
  656. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
  657. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
  658. package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
  659. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
  660. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
  661. package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
  662. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
  663. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
  664. package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
  665. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
  666. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
  667. package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
  668. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
  669. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
  670. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -422
  671. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
  672. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
  673. package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -159
  674. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
  675. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
  676. package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
  677. package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
  678. package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
  679. package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
  680. package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
  681. package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
  682. package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
  683. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
  684. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
  685. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
  686. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
  687. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
  688. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -191
  689. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
  690. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
  691. package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -827
  692. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
  693. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
  694. package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
  695. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
  696. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
  697. package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -561
  698. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
  699. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
  700. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -110
  701. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
  702. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
  703. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -63
  704. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
  705. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
  706. package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
  707. package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
  708. package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
  709. package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
  710. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +0 -4
  711. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  712. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +0 -61
  713. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
  714. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
  715. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -187
  716. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
  717. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
  718. package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
  719. package/node_modules/micromark-core-commonmark/license +0 -22
  720. package/node_modules/micromark-core-commonmark/package.json +0 -62
  721. package/node_modules/micromark-core-commonmark/readme.md +0 -171
  722. package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
  723. package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
  724. package/node_modules/micromark-factory-destination/dev/index.js +0 -255
  725. package/node_modules/micromark-factory-destination/index.d.ts +0 -42
  726. package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
  727. package/node_modules/micromark-factory-destination/index.js +0 -206
  728. package/node_modules/micromark-factory-destination/license +0 -22
  729. package/node_modules/micromark-factory-destination/package.json +0 -57
  730. package/node_modules/micromark-factory-destination/readme.md +0 -234
  731. package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
  732. package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
  733. package/node_modules/micromark-factory-label/dev/index.js +0 -172
  734. package/node_modules/micromark-factory-label/index.d.ts +0 -37
  735. package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
  736. package/node_modules/micromark-factory-label/index.js +0 -148
  737. package/node_modules/micromark-factory-label/license +0 -22
  738. package/node_modules/micromark-factory-label/package.json +0 -60
  739. package/node_modules/micromark-factory-label/readme.md +0 -224
  740. package/node_modules/micromark-factory-space/dev/index.d.ts +0 -60
  741. package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
  742. package/node_modules/micromark-factory-space/dev/index.js +0 -122
  743. package/node_modules/micromark-factory-space/index.d.ts +0 -60
  744. package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
  745. package/node_modules/micromark-factory-space/index.js +0 -116
  746. package/node_modules/micromark-factory-space/license +0 -22
  747. package/node_modules/micromark-factory-space/package.json +0 -46
  748. package/node_modules/micromark-factory-space/readme.md +0 -225
  749. package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
  750. package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
  751. package/node_modules/micromark-factory-title/dev/index.js +0 -169
  752. package/node_modules/micromark-factory-title/index.d.ts +0 -36
  753. package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
  754. package/node_modules/micromark-factory-title/index.js +0 -158
  755. package/node_modules/micromark-factory-title/license +0 -22
  756. package/node_modules/micromark-factory-title/package.json +0 -58
  757. package/node_modules/micromark-factory-title/readme.md +0 -229
  758. package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
  759. package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
  760. package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
  761. package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
  762. package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
  763. package/node_modules/micromark-factory-whitespace/index.js +0 -44
  764. package/node_modules/micromark-factory-whitespace/license +0 -22
  765. package/node_modules/micromark-factory-whitespace/package.json +0 -57
  766. package/node_modules/micromark-factory-whitespace/readme.md +0 -205
  767. package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
  768. package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
  769. package/node_modules/micromark-util-character/dev/index.js +0 -252
  770. package/node_modules/micromark-util-character/index.d.ts +0 -195
  771. package/node_modules/micromark-util-character/index.d.ts.map +0 -1
  772. package/node_modules/micromark-util-character/index.js +0 -246
  773. package/node_modules/micromark-util-character/license +0 -22
  774. package/node_modules/micromark-util-character/package.json +0 -57
  775. package/node_modules/micromark-util-character/readme.md +0 -446
  776. package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
  777. package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
  778. package/node_modules/micromark-util-chunked/dev/index.js +0 -89
  779. package/node_modules/micromark-util-chunked/index.d.ts +0 -41
  780. package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
  781. package/node_modules/micromark-util-chunked/index.js +0 -81
  782. package/node_modules/micromark-util-chunked/license +0 -22
  783. package/node_modules/micromark-util-chunked/package.json +0 -57
  784. package/node_modules/micromark-util-chunked/readme.md +0 -219
  785. package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
  786. package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
  787. package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
  788. package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
  789. package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
  790. package/node_modules/micromark-util-classify-character/index.js +0 -27
  791. package/node_modules/micromark-util-classify-character/license +0 -22
  792. package/node_modules/micromark-util-classify-character/package.json +0 -59
  793. package/node_modules/micromark-util-classify-character/readme.md +0 -205
  794. package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
  795. package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
  796. package/node_modules/micromark-util-combine-extensions/index.js +0 -143
  797. package/node_modules/micromark-util-combine-extensions/license +0 -22
  798. package/node_modules/micromark-util-combine-extensions/package.json +0 -52
  799. package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
  800. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
  801. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
  802. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
  803. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
  804. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
  805. package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
  806. package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
  807. package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
  808. package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
  809. package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
  810. package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
  811. package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
  812. package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
  813. package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
  814. package/node_modules/micromark-util-decode-string/index.js +0 -45
  815. package/node_modules/micromark-util-decode-string/license +0 -22
  816. package/node_modules/micromark-util-decode-string/package.json +0 -63
  817. package/node_modules/micromark-util-decode-string/readme.md +0 -179
  818. package/node_modules/micromark-util-edit-map/dev/index.d.ts +0 -78
  819. package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +0 -1
  820. package/node_modules/micromark-util-edit-map/dev/index.js +0 -237
  821. package/node_modules/micromark-util-edit-map/index.d.ts +0 -78
  822. package/node_modules/micromark-util-edit-map/index.d.ts.map +0 -1
  823. package/node_modules/micromark-util-edit-map/index.js +0 -225
  824. package/node_modules/micromark-util-edit-map/license +0 -22
  825. package/node_modules/micromark-util-edit-map/package.json +0 -48
  826. package/node_modules/micromark-util-edit-map/readme.md +0 -234
  827. package/node_modules/micromark-util-encode/index.d.ts +0 -14
  828. package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
  829. package/node_modules/micromark-util-encode/index.js +0 -33
  830. package/node_modules/micromark-util-encode/license +0 -22
  831. package/node_modules/micromark-util-encode/package.json +0 -47
  832. package/node_modules/micromark-util-encode/readme.md +0 -176
  833. package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
  834. package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
  835. package/node_modules/micromark-util-html-tag-name/index.js +0 -93
  836. package/node_modules/micromark-util-html-tag-name/license +0 -22
  837. package/node_modules/micromark-util-html-tag-name/package.json +0 -47
  838. package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
  839. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
  840. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
  841. package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
  842. package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
  843. package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
  844. package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
  845. package/node_modules/micromark-util-normalize-identifier/license +0 -22
  846. package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
  847. package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
  848. package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
  849. package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
  850. package/node_modules/micromark-util-resolve-all/index.js +0 -32
  851. package/node_modules/micromark-util-resolve-all/license +0 -22
  852. package/node_modules/micromark-util-resolve-all/package.json +0 -48
  853. package/node_modules/micromark-util-resolve-all/readme.md +0 -238
  854. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
  855. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
  856. package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
  857. package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
  858. package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
  859. package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
  860. package/node_modules/micromark-util-sanitize-uri/license +0 -22
  861. package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
  862. package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
  863. package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
  864. package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
  865. package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
  866. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
  867. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
  868. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
  869. package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
  870. package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
  871. package/node_modules/micromark-util-subtokenize/index.js +0 -228
  872. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
  873. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
  874. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
  875. package/node_modules/micromark-util-subtokenize/license +0 -22
  876. package/node_modules/micromark-util-subtokenize/package.json +0 -60
  877. package/node_modules/micromark-util-subtokenize/readme.md +0 -181
  878. package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
  879. package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
  880. package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
  881. package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
  882. package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
  883. package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
  884. package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
  885. package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
  886. package/node_modules/micromark-util-symbol/lib/default.js +0 -4
  887. package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
  888. package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
  889. package/node_modules/micromark-util-symbol/lib/types.js +0 -453
  890. package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
  891. package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
  892. package/node_modules/micromark-util-symbol/lib/values.js +0 -109
  893. package/node_modules/micromark-util-symbol/license +0 -22
  894. package/node_modules/micromark-util-symbol/package.json +0 -43
  895. package/node_modules/micromark-util-symbol/readme.md +0 -168
  896. package/node_modules/micromark-util-types/index.d.ts +0 -1315
  897. package/node_modules/micromark-util-types/index.js +0 -2
  898. package/node_modules/micromark-util-types/license +0 -22
  899. package/node_modules/micromark-util-types/package.json +0 -37
  900. package/node_modules/micromark-util-types/readme.md +0 -151
  901. package/node_modules/ms/index.js +0 -162
  902. package/node_modules/ms/license.md +0 -21
  903. package/node_modules/ms/package.json +0 -38
  904. package/node_modules/ms/readme.md +0 -59
  905. package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
  906. package/node_modules/unist-util-stringify-position/index.js +0 -1
  907. package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
  908. package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
  909. package/node_modules/unist-util-stringify-position/license +0 -22
  910. package/node_modules/unist-util-stringify-position/package.json +0 -80
  911. package/node_modules/unist-util-stringify-position/readme.md +0 -206
  912. package/packages/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  913. package/packages/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  914. package/packages/octo-runtime-extra-webui/config-schema.json +0 -134
  915. /package/node_modules/@mininglamp-oss/{octo-runtime-extra-channel-gateway/dist/contracts.js → octo-runtime-adapter-sdk/dist/execution-scope.js} +0 -0
  916. /package/node_modules/@mininglamp-oss/{octo-runtime-extra-channel-gateway/dist/ports.js → octo-runtime-protocol/dist/adapter-metadata.js} +0 -0
@@ -1,35 +0,0 @@
1
- import type { ImInvocationInput } from "../execution/dispatcher.js";
2
- import type { FailureEnvelope, ProviderSession } from "@mininglamp-oss/octo-runtime-protocol";
3
- export interface ImSessionOccurrence {
4
- text: string;
5
- sessionId: string;
6
- runId: string;
7
- snapshot?: ImInvocationInput;
8
- /** 本轮确定未提交;可选字段保持旧宿主存储兼容。 */
9
- notSubmittedFailure?: FailureEnvelope;
10
- }
11
- export interface ImSessionBinding {
12
- id?: string;
13
- generation: number;
14
- providerSession?: ProviderSession;
15
- lastEventId?: string;
16
- lastRunId?: string;
17
- }
18
- export interface ImSessionStore {
19
- read(key: string): ImSessionBinding | undefined;
20
- save(key: string, binding: ImSessionBinding): void;
21
- reset(key: string, controlId: string): ImSessionBinding;
22
- occurrence(key: string, id: string): ImSessionOccurrence | undefined;
23
- remember(key: string, id: string, value: ImSessionOccurrence): void;
24
- close?(): void;
25
- }
26
- export declare class MemoryImSessionStore implements ImSessionStore {
27
- #private;
28
- constructor();
29
- read(key: string): ImSessionBinding | undefined;
30
- save(key: string, value: ImSessionBinding): void;
31
- reset(key: string, id: string): ImSessionBinding;
32
- occurrence(key: string, id: string): ImSessionOccurrence | undefined;
33
- remember(key: string, id: string, value: ImSessionOccurrence): void;
34
- close(): void;
35
- }
@@ -1,93 +0,0 @@
1
- /** Bounded process-local mappings; eviction never restores an older session. */
2
- class BoundedEntries {
3
- count;
4
- bytes;
5
- ttl;
6
- #entries = new Map();
7
- #bytes = 0;
8
- constructor(count, bytes, ttl) {
9
- this.count = count;
10
- this.bytes = bytes;
11
- this.ttl = ttl;
12
- }
13
- get(key) {
14
- this.prune();
15
- const entry = this.#entries.get(key);
16
- return entry && structuredClone(entry.value);
17
- }
18
- set(key, value) {
19
- const bytes = Buffer.byteLength(key) + Buffer.byteLength(JSON.stringify(value));
20
- if (bytes > this.bytes)
21
- throw new Error("IM_SESSION_ENTRY_TOO_LARGE");
22
- this.prune();
23
- this.#delete(key);
24
- while (this.#entries.size >= this.count || this.#bytes + bytes > this.bytes)
25
- this.#delete(this.#entries.keys().next().value);
26
- this.#entries.set(key, {
27
- value: structuredClone(value),
28
- bytes,
29
- expires: Date.now() + this.ttl
30
- });
31
- this.#bytes += bytes;
32
- }
33
- prune() {
34
- const now = Date.now();
35
- for (const [key, entry] of this.#entries)
36
- if (entry.expires <= now)
37
- this.#delete(key);
38
- }
39
- #delete(key) {
40
- const previous = this.#entries.get(key);
41
- if (previous)
42
- this.#bytes -= previous.bytes;
43
- this.#entries.delete(key);
44
- }
45
- clear() {
46
- this.#entries.clear();
47
- this.#bytes = 0;
48
- }
49
- }
50
- export class MemoryImSessionStore {
51
- #bindings = new BoundedEntries(1024, 4 << 20, 24 * 60 * 60_000);
52
- #controls = new BoundedEntries(4096, 1 << 20, 120_000);
53
- #occurrences = new BoundedEntries(4096, 16 << 20, 120_000);
54
- #cleanup = setInterval(() => {
55
- this.#bindings.prune();
56
- this.#controls.prune();
57
- this.#occurrences.prune();
58
- }, 10_000);
59
- constructor() {
60
- this.#cleanup.unref();
61
- }
62
- read(key) {
63
- return this.#bindings.get(key);
64
- }
65
- save(key, value) {
66
- this.#bindings.set(key, value);
67
- }
68
- reset(key, id) {
69
- const controlKey = JSON.stringify([key, id]);
70
- if (this.#controls.get(controlKey)) {
71
- const current = this.read(key);
72
- if (!current)
73
- throw new Error("IM_SESSION_EXPIRED");
74
- return current;
75
- }
76
- const binding = { generation: (this.read(key)?.generation ?? 1) + 1 };
77
- this.save(key, binding);
78
- this.#controls.set(controlKey, true);
79
- return binding;
80
- }
81
- occurrence(key, id) {
82
- return this.#occurrences.get(JSON.stringify([key, id]));
83
- }
84
- remember(key, id, value) {
85
- this.#occurrences.set(JSON.stringify([key, id]), value);
86
- }
87
- close() {
88
- clearInterval(this.#cleanup);
89
- this.#bindings.clear();
90
- this.#controls.clear();
91
- this.#occurrences.clear();
92
- }
93
- }
@@ -1,4 +0,0 @@
1
- import { type ExtraCommandExtension } from "@mininglamp-oss/octo-runtime-host-sdk/extra-commands";
2
- /** 单 Bot 配置命令按 bot_id upsert;省略字段保留,重复调用不会追加相同 Bot。 */
3
- declare const extension: ExtraCommandExtension;
4
- export default extension;
@@ -1,128 +0,0 @@
1
- import { ExtraCommandError, savedConfigResult } from "@mininglamp-oss/octo-runtime-host-sdk/extra-commands";
2
- import { validateImBots } from "./lifecycle/configuration.js";
3
- /** 离线业务校验复用运行时 Bot 合同;不认证、不构造 manager 或服务。 */
4
- function validate(config) {
5
- try {
6
- validateImBots(config.bots ?? []);
7
- const spaces = config.authorized_space_ids;
8
- if (spaces !== undefined &&
9
- (!Array.isArray(spaces) || spaces.some((id) => typeof id !== "string" || !id.trim())))
10
- throw new Error("IM_AUTHORIZED_SPACES_INVALID");
11
- const settings = config.context_loading;
12
- if (settings !== undefined) {
13
- if (!settings ||
14
- typeof settings !== "object" ||
15
- Array.isArray(settings) ||
16
- Object.keys(settings).some((key) => !["timeout_ms", "max_in_flight"].includes(key)))
17
- throw new Error("IM_CONTEXT_LOADING_CONFIG_INVALID");
18
- for (const [key, max] of [
19
- ["timeout_ms", 30000],
20
- ["max_in_flight", 32]
21
- ]) {
22
- const value = settings[key];
23
- if (value !== undefined &&
24
- (typeof value !== "number" || !Number.isInteger(value) || value < 1 || value > max))
25
- throw new Error("IM_CONTEXT_LOADING_CONFIG_INVALID");
26
- }
27
- }
28
- }
29
- catch (error) {
30
- const hints = {
31
- IM_BOT_ID_REQUIRED: "Provide a non-empty --bot_id (JSON: bots[].bot_id).",
32
- IM_ADAPTER_REQUIRED: "Each Bot requires an adapter object; configure maps --adapter_type/--workdir to it.",
33
- IM_WORKDIR_ABSOLUTE_REQUIRED: "Provide an absolute --workdir for a local adapter.",
34
- IM_OPENCLAW_WORKDIR_UNSUPPORTED: "OpenClaw uses its own workspace; remove config.bots[].adapter.workdir using extraset.",
35
- IM_PROVIDER_AGENT_ID_UNSUPPORTED: "--provider_agent_id is supported only by OpenClaw.",
36
- IM_API_URL_INVALID: "Use a valid endpoint URL without credentials, query or fragment; insecure URLs are loopback-only.",
37
- IM_BOT_DUPLICATED: "Duplicate Bot identity in bots; keep one entry per endpoint and bot_id.",
38
- IM_CONFIG_LIST_REQUIRED: "bots must be an array within this Extra's Bot limit.",
39
- IM_AUTHORIZED_SPACES_INVALID: "authorized_space_ids must contain non-empty strings.",
40
- IM_CONTEXT_LOADING_CONFIG_INVALID: "context_loading accepts timeout_ms (1..30000) and max_in_flight (1..32)."
41
- };
42
- const code = error instanceof Error && Object.hasOwn(hints, error.message)
43
- ? error.message
44
- : "EXTRA_CONFIG_INVALID";
45
- throw new ExtraCommandError(code, hints[code] ??
46
- "Invalid Bot configuration. Check configure --help and this Extra's configuration schema.");
47
- }
48
- }
49
- /** 单 Bot 配置命令按 bot_id upsert;省略字段保留,重复调用不会追加相同 Bot。 */
50
- const extension = {
51
- apiVersion: 1,
52
- commands: [
53
- {
54
- name: "configure",
55
- description: "Add or update one Bot by bot_id; saves config only",
56
- options: [
57
- { name: "bot_id", type: "string", required: true, description: "Platform Bot ID" },
58
- {
59
- name: "ws_url",
60
- type: "string",
61
- description: "WeCom WebSocket URL; preserved on update, official endpoint for new Bots"
62
- },
63
- {
64
- name: "adapter_type",
65
- type: "string",
66
- description: "Execution adapter type (adapter.adapter_type)"
67
- },
68
- { name: "workdir", type: "string", description: "Absolute local execution directory" },
69
- { name: "model", type: "string", description: "Provider model ID" },
70
- {
71
- name: "effort",
72
- type: "string",
73
- description: "Reasoning effort: low, medium, high, xhigh"
74
- },
75
- { name: "provider_agent_id", type: "string", description: "Existing OpenClaw Agent ID" },
76
- {
77
- name: "app_secret",
78
- type: "string",
79
- description: "Raw credential (bots[].app_secret); omitted values are preserved"
80
- }
81
- ],
82
- examples: [
83
- "octo-runtime channel-wecom configure --bot_id assistant --adapter_type codex --workdir /absolute/workspace --app_secret EXAMPLE_CREDENTIAL"
84
- ],
85
- async run(context, input) {
86
- const snapshot = await context.readConfig();
87
- validate(snapshot.config);
88
- const bots = snapshot.config.bots ?? [];
89
- validateImBots(bots);
90
- // configure 用 bot_id 定位,更新 endpoint 不产生第二个 Bot。
91
- // 旧 extraset 跨 endpoint 的同 ID 保留首项省略字段并合并;省略 ws_url 不重置已有地址。
92
- const position = bots.findIndex((bot) => bot.bot_id === input.options.bot_id);
93
- const old = position < 0 ? undefined : bots[position];
94
- const identityFields = {
95
- bot_id: input.options.bot_id,
96
- ws_url: input.options.ws_url ?? old?.ws_url ?? "wss://openws.work.weixin.qq.com"
97
- };
98
- const adapter = { ...old?.adapter };
99
- for (const field of ["adapter_type", "workdir", "model", "effort", "provider_agent_id"]) {
100
- const value = input.options[field];
101
- if (typeof value === "string")
102
- adapter[field] = value;
103
- }
104
- if (adapter.effort !== undefined &&
105
- (typeof adapter.effort !== "string" ||
106
- !["low", "medium", "high", "xhigh"].includes(adapter.effort)))
107
- throw new ExtraCommandError("EXTRA_CONFIG_INVALID", "--effort must be low, medium, high or xhigh.");
108
- const bot = { ...old, ...identityFields, adapter };
109
- const credential = input.options.app_secret;
110
- if (typeof credential === "string") {
111
- if (!credential.trim())
112
- throw new ExtraCommandError("EXTRA_CONFIG_INVALID", "--app_secret must not be blank.");
113
- // 与 extraset 的业务字段同名;保存传入原文,省略时保留已有凭据。
114
- bot.app_secret = credential;
115
- }
116
- const nextBots = bots.filter((bot, index) => index === position || bot.bot_id !== identityFields.bot_id);
117
- if (position < 0)
118
- nextBots.push(bot);
119
- else
120
- nextBots[position] = bot;
121
- const config = { ...snapshot.config, bots: nextBots };
122
- validate(config);
123
- return savedConfigResult(await context.saveConfig(config, snapshot.revision));
124
- }
125
- }
126
- ]
127
- };
128
- export default extension;
@@ -1,78 +0,0 @@
1
- /**
2
- * 企业微信 channel 配置、入站消息、执行端口和投递回执。
3
- */
4
- import type { ApprovalMode, ContextEnvelope, ContextItem, ProviderSession } from "@mininglamp-oss/octo-runtime-protocol";
5
- import type { RunPresentation } from "./presentation/run-projector.js";
6
- export interface ImAdapterConfig {
7
- adapter_type?: string;
8
- workdir?: string;
9
- model?: string;
10
- effort?: string;
11
- provider_agent_id?: string;
12
- }
13
- export interface ImCommonConfig {
14
- bot_id: string;
15
- bot_name?: string;
16
- enabled?: boolean;
17
- adapter: ImAdapterConfig;
18
- context?: ContextEnvelope;
19
- approval_mode?: ApprovalMode;
20
- run_timeout_ms?: number;
21
- allowed_sender_ids?: string[];
22
- }
23
- export interface WecomBotConfig extends ImCommonConfig {
24
- app_secret?: string;
25
- ws_url?: string;
26
- }
27
- export type ImBotConfig = WecomBotConfig;
28
- /** 平台归一化后的单条消息。平台回调身份与正文保留在 connector 的闭包内。 */
29
- export interface ImInboundMessage {
30
- messageId: string;
31
- senderId: string;
32
- conversationId: string;
33
- conversationKind: "direct" | "group" | "thread";
34
- text: string;
35
- reply(text: string, effectKey?: string): Promise<void>;
36
- buildContext(signal: AbortSignal, options?: {
37
- configuredItems?: readonly ContextItem[];
38
- }): Promise<ContextEnvelope>;
39
- runMetadata?: Record<string, unknown>;
40
- beginPresentation?(runId: string, onDiagnostic: (code: string) => void, controls: ImRunControls): ImPresentation;
41
- }
42
- export interface ImPresentation {
43
- update(snapshot: RunPresentation): void;
44
- finish(): Promise<void>;
45
- }
46
- /** 控制原执行;平台连接器先验证真实操作者和原卡片身份。 */
47
- export interface ImRunControls {
48
- cancel(): Promise<boolean>;
49
- retry(senderId: string, occurrenceId: string): boolean;
50
- }
51
- export interface ChannelCallbacks {
52
- authorizeSpace?: (spaceId: string) => void;
53
- onMessage(message: ImInboundMessage): void;
54
- onDisconnect(code: string, retryable?: boolean): void;
55
- onDiagnostic?(code: string): void;
56
- }
57
- export interface ImAddress {
58
- channelId: string;
59
- channelType: number;
60
- }
61
- export type ImConnectionState = "stopped" | "waiting_credentials" | "connecting" | "online" | "retrying" | "authentication_failed";
62
- export interface ImSession {
63
- id?: string;
64
- generation: number;
65
- providerSession?: ProviderSession;
66
- lastEventId?: string;
67
- lastRunId?: string;
68
- activeInvocationId?: string;
69
- pending: number;
70
- tail: Promise<void>;
71
- }
72
- export type DeliveryState = "pending" | "delivered" | "failed" | "unknown";
73
- export interface ImDeliveryReceipt {
74
- effectKey: string;
75
- state: DeliveryState;
76
- messageId?: string;
77
- code?: string;
78
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * 投递回执与重试:按 effectKey 记录发送结果,避免已确认的消息重复投递。
3
- * 只重试投递操作;执行失败或网络结果未知都不能由此触发 AgentRun 重跑。
4
- */
5
- import type { ImDeliveryReceipt } from "../contracts.js";
6
- export declare class ImDeliveryDispatcher {
7
- #private;
8
- readonly signal: AbortSignal;
9
- constructor(signal: AbortSignal);
10
- /** 状态仅读取数量,避免复制和输出用于防重的内部回执。 */
11
- get receiptCount(): number;
12
- deliver(effectKey: string, operation: () => Promise<string | void>, options?: {
13
- transient?: boolean;
14
- obsolete?: () => boolean;
15
- }): Promise<ImDeliveryReceipt>;
16
- }
@@ -1,69 +0,0 @@
1
- export class ImDeliveryDispatcher {
2
- signal;
3
- #receipts = new Map();
4
- constructor(signal) {
5
- this.signal = signal;
6
- }
7
- /** 状态仅读取数量,避免复制和输出用于防重的内部回执。 */
8
- get receiptCount() {
9
- return this.#receipts.size;
10
- }
11
- async deliver(effectKey, operation, options = {}) {
12
- const previous = this.#receipts.get(effectKey);
13
- if (previous?.state === "delivered")
14
- return { ...previous };
15
- const attempts = options.transient ? 1 : 3;
16
- let receipt = { effectKey, state: "pending" };
17
- this.#record(receipt);
18
- for (let attempt = 0; attempt < attempts && !this.signal.aborted; attempt++) {
19
- if (options.obsolete?.())
20
- break;
21
- try {
22
- const messageId = await operation();
23
- receipt = { effectKey, state: "delivered", ...(messageId ? { messageId } : {}) };
24
- this.#record(receipt);
25
- return receipt;
26
- }
27
- catch {
28
- // WS ACK 未返回时可能已送达;stream 自身保证 effectKey 与 ACK 顺序。
29
- receipt = {
30
- effectKey,
31
- state: "unknown",
32
- code: "IM_DELIVERY_UNKNOWN"
33
- };
34
- this.#record(receipt);
35
- if (attempt + 1 === attempts)
36
- break;
37
- const delay = 200 * (attempt + 1);
38
- try {
39
- await new Promise((resolve, reject) => {
40
- const abort = () => {
41
- clearTimeout(timer);
42
- this.signal.removeEventListener("abort", abort);
43
- reject(new Error("IM_DELIVERY_CANCELLED"));
44
- };
45
- const timer = setTimeout(() => {
46
- this.signal.removeEventListener("abort", abort);
47
- resolve();
48
- }, delay);
49
- this.signal.addEventListener("abort", abort, { once: true });
50
- if (this.signal.aborted)
51
- abort();
52
- });
53
- }
54
- catch {
55
- break;
56
- }
57
- }
58
- }
59
- if (receipt.state === "pending")
60
- receipt = { effectKey, state: "failed", code: "IM_DELIVERY_CANCELLED" };
61
- this.#record(receipt);
62
- return receipt;
63
- }
64
- #record(receipt) {
65
- this.#receipts.set(receipt.effectKey, receipt);
66
- if (this.#receipts.size > 512)
67
- this.#receipts.delete(this.#receipts.keys().next().value);
68
- }
69
- }
@@ -1,12 +0,0 @@
1
- import { type ContextEnvelope, type InvokeInput } from "@mininglamp-oss/octo-runtime-protocol";
2
- import type { ImBotConfig, ImInboundMessage, ImSession } from "../contracts.js";
3
- export type ImInvocationInput = InvokeInput & {
4
- runId: string;
5
- invocationId: string;
6
- sessionId: string;
7
- protocol_mode: "canonical";
8
- };
9
- export declare function createImInvocation(config: ImBotConfig, message: ImInboundMessage, context: ContextEnvelope, sessionKey: string, session: ImSession, _signal: AbortSignal, occurrenceId?: string): {
10
- request: ImInvocationInput;
11
- adapterType: string;
12
- };
@@ -1,95 +0,0 @@
1
- /**
2
- * 执行请求构造:把本轮 Context、可信发送者和执行配置封装为 InvokeRequest。
3
- * IM 默认值属于此发起入口;Context 的统一渲染与 prompt 封装交给共享执行层。
4
- */
5
- import { randomUUID } from "node:crypto";
6
- import { assertContextEnvelope, mergeContext } from "@mininglamp-oss/octo-runtime-protocol";
7
- export function createImInvocation(config, message, context, sessionKey, session, _signal, occurrenceId = message.messageId) {
8
- assertContextEnvelope(context);
9
- if (!session.id)
10
- throw new Error("IM_SESSION_NOT_ALLOCATED");
11
- const selectedAdapter = context.items.find((item) => item.namespace === "octo.execution" && item.name === "adapter")
12
- ?.payload.type ??
13
- config.adapter.adapter_type ??
14
- "codex";
15
- if (typeof selectedAdapter !== "string")
16
- throw new Error("IM_EXECUTION_CONFIG_INVALID");
17
- const agentSource = selectedAdapter === "openclaw" ? "preset" : "provisioned";
18
- const defaults = {
19
- schema: context.schema,
20
- items: [
21
- {
22
- namespace: "octo.execution",
23
- name: "adapter",
24
- payload: {
25
- type: config.adapter.adapter_type ?? "codex",
26
- ...(config.adapter.adapter_type === "openclaw"
27
- ? { provider_agent_id: config.adapter.provider_agent_id ?? "main" }
28
- : {})
29
- }
30
- },
31
- {
32
- namespace: "octo.security",
33
- name: "approval_policy",
34
- payload: { mode: config.approval_mode ?? "full_access" }
35
- },
36
- {
37
- namespace: "octo.execution",
38
- name: "limits",
39
- payload: { run_timeout_ms: config.run_timeout_ms ?? 120_000 }
40
- },
41
- ...(config.adapter.workdir
42
- ? [
43
- {
44
- namespace: "octo.execution",
45
- name: "workspace",
46
- payload: { mode: "fixed", path: config.adapter.workdir }
47
- }
48
- ]
49
- : []),
50
- ...(config.adapter.model || config.adapter.effort
51
- ? [
52
- {
53
- namespace: "octo.execution",
54
- name: "model",
55
- payload: {
56
- ...(config.adapter.model ? { selection: { id: config.adapter.model } } : {}),
57
- ...(config.adapter.effort ? { reasoning: { effort: config.adapter.effort } } : {})
58
- }
59
- }
60
- ]
61
- : [])
62
- ]
63
- };
64
- // 这里只组合本轮公开输入;Host 负责解析执行配置和渲染指令,不能在渠道重复运行 resolver。
65
- const snapshot = mergeContext(defaults, context);
66
- const eventId = `evt_${randomUUID()}`, runId = `run_${randomUUID()}`;
67
- const prompt = message.text.trim();
68
- const request = {
69
- protocol_mode: "canonical",
70
- invocationId: `invoke_${randomUUID()}`,
71
- runId,
72
- sessionId: session.id,
73
- sessionGeneration: session.generation,
74
- providerEpoch: session.generation,
75
- agentSource,
76
- inputs: [{ type: "text", text: prompt }],
77
- contexts: snapshot,
78
- approvalMode: snapshot.items.find((item) => item.namespace === "octo.security" && item.name === "approval_policy")?.payload.mode,
79
- ...(session.providerSession ? { providerSession: session.providerSession } : {}),
80
- runMetadata: {
81
- ...message.runMetadata,
82
- // 可信身份覆盖可选 metadata,正文或自定义字段不能冒充当前发起人和会话。
83
- namespace: "im",
84
- platform: "wecom",
85
- eventId,
86
- sessionKey,
87
- actorId: message.senderId,
88
- channelId: message.conversationId,
89
- triggerOccurrenceId: occurrenceId
90
- }
91
- };
92
- session.lastEventId = eventId;
93
- session.lastRunId = runId;
94
- return { request, adapterType: selectedAdapter };
95
- }
@@ -1,3 +0,0 @@
1
- import { type ChannelDependencies, type ExtraInitializer, type ExtraContext, type JsonObject } from "@mininglamp-oss/octo-runtime-host-sdk";
2
- export declare const name = "channel-wecom";
3
- export default function load(context: ExtraContext, config: JsonObject): ExtraInitializer<ChannelDependencies>;
@@ -1,85 +0,0 @@
1
- import { createContextLoader } from "@mininglamp-oss/octo-runtime-host-sdk";
2
- import { ImChannelManager } from "./lifecycle/manager.js";
3
- import { validateImBots, configuredCredential, imBotIdentity } from "./lifecycle/configuration.js";
4
- export const name = "channel-wecom";
5
- export default function load(context, config) {
6
- return (dependencies) => initialize(context, config, dependencies);
7
- }
8
- async function initialize(context, config, dependencies) {
9
- // 回调池归整个 Extra 所有,所有 Bot 共用额度;逆序清理时先停 manager,再等待业务 IO 退出。
10
- const contexts = createContextLoader(dependencies.loadContexts, config.context_loading, context.signal);
11
- context.onDispose(() => contexts.close());
12
- const bots = config.bots ?? [];
13
- const errors = [];
14
- const invalidBots = [];
15
- let channels = undefined;
16
- context.onDispose(() => channels?.close());
17
- context.onStatus(() => JSON.parse(JSON.stringify({ bots: [...(channels?.status ?? []), ...invalidBots], errors })));
18
- if (!Array.isArray(bots) || bots.length > 16) {
19
- errors.push({ error: "IM_CONFIG_LIST_REQUIRED" });
20
- return;
21
- }
22
- const spaces = config.authorized_space_ids;
23
- if (spaces !== undefined &&
24
- (!Array.isArray(spaces) || spaces.some((id) => typeof id !== "string" || !id.trim()))) {
25
- errors.push({ error: "IM_AUTHORIZED_SPACES_INVALID" });
26
- return;
27
- }
28
- const allowed = spaces;
29
- channels = new ImChannelManager({
30
- kernel: context.kernel,
31
- signal: context.signal,
32
- log: context.log,
33
- // 与 Gateway 共用逐轮合同:宿主数据可变,连接与 manager 仍由 Extra 整体封装。
34
- prepareContexts: async (bot, signal) => {
35
- let ignored = 0;
36
- const business = await contexts.load(bot, signal, (items) => {
37
- const selected = items.filter((item) => item.namespace !== "extra.im");
38
- ignored += items.length - selected.length;
39
- return selected;
40
- });
41
- // 保留命名空间误配只记数量,不输出内容或阻断当前任务。
42
- if (ignored)
43
- context.log("warn", "channel.context.reserved_ignored", {
44
- ignored_items: ignored
45
- });
46
- return business;
47
- },
48
- credentials: (bot) => Promise.resolve(configuredCredential(bot)),
49
- ...(allowed
50
- ? {
51
- authorizeSpace: (spaceId) => {
52
- if (!allowed.includes(spaceId))
53
- throw new Error("IM_TENANT_NOT_ACTIVE");
54
- }
55
- }
56
- : {})
57
- });
58
- const identities = new Set();
59
- for (const [index, value] of bots.entries()) {
60
- context.signal.throwIfAborted();
61
- try {
62
- const candidate = [value];
63
- validateImBots(candidate);
64
- const bot = candidate[0];
65
- const key = imBotIdentity(bot);
66
- if (identities.has(key))
67
- throw new Error("IM_BOT_DUPLICATED");
68
- identities.add(key);
69
- await channels.upsert(bot);
70
- }
71
- catch (error) {
72
- context.signal.throwIfAborted();
73
- const code = error instanceof Error && /^IM_[A-Z0-9_]+$/.test(error.message)
74
- ? error.message
75
- : "IM_BOT_CONFIG_ERROR";
76
- errors.push({ config_index: index, error: code });
77
- invalidBots.push({
78
- config_index: index,
79
- state: "config_error",
80
- connected: false,
81
- error: code
82
- });
83
- }
84
- }
85
- }
@@ -1,10 +0,0 @@
1
- export { ImRuntime } from "./application/im-channel.js";
2
- export { default, name } from "./extra.js";
3
- export { ImChannelManager } from "./lifecycle/manager.js";
4
- export { MemoryImSessionStore } from "./application/session-store.js";
5
- export type { ImSessionStore, ImSessionBinding } from "./application/session-store.js";
6
- export { validateImConfig, validateImBots, configuredCredential, imBotIdentity } from "./lifecycle/configuration.js";
7
- export { WecomConnection } from "./transport/connection.js";
8
- export type { WecomCredentials, WecomConnectionOptions, WecomConnectionStatus } from "./transport/connection.js";
9
- export type * from "./contracts.js";
10
- export type * from "./ports.js";
@@ -1,6 +0,0 @@
1
- export { ImRuntime } from "./application/im-channel.js";
2
- export { default, name } from "./extra.js";
3
- export { ImChannelManager } from "./lifecycle/manager.js";
4
- export { MemoryImSessionStore } from "./application/session-store.js";
5
- export { validateImConfig, validateImBots, configuredCredential, imBotIdentity } from "./lifecycle/configuration.js";
6
- export { WecomConnection } from "./transport/connection.js";
@@ -1,6 +0,0 @@
1
- import type { ImBotConfig } from "../contracts.js";
2
- export declare function validateImBots(value: unknown): asserts value is ImBotConfig[];
3
- export declare function configuredCredential(config: ImBotConfig): string | undefined;
4
- export declare function validateImConfig(config: ImBotConfig): void;
5
- /** Stable local lookup key, not a caller-supplied identity or authorization token. */
6
- export declare function imBotIdentity(config: ImBotConfig): string;