@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
@@ -0,0 +1,302 @@
1
+ import { setTimeout as delay } from "node:timers/promises";
2
+ import { admissionClosedError, interruptedBeforeSubmissionError } from "./submission-error.js";
3
+ import { isHostTerminal } from "@mininglamp-oss/octo-runtime-protocol";
4
+ import { KernelError } from "./types.js";
5
+ /**
6
+ * 每个 client 独立保存 invoke 的身份、取消和观察状态;执行与断线恢复由 client.ts 负责。
7
+ * 最多登记 128 项,不缓存正文;未知结果继续占用额度,不能通过删除记录伪造排空成功。
8
+ */
9
+ export class InvocationRegistry {
10
+ transport;
11
+ #records = new Map();
12
+ #stopped = false;
13
+ #draining;
14
+ #drainDeadline;
15
+ #closed = false;
16
+ #cancelling = 0;
17
+ #cancelQueue = [];
18
+ #cancelControllers = new Set();
19
+ constructor(transport) {
20
+ this.transport = transport;
21
+ }
22
+ begin(key) {
23
+ this.assertSubmission();
24
+ if (this.#records.has(key.invocation_id))
25
+ throw new KernelError("EXECUTION_IDENTITY_CONFLICT");
26
+ if (this.#records.size >= 128)
27
+ throw new KernelError("CLIENT_INVOCATION_CAPACITY_EXHAUSTED");
28
+ let settleAdmission;
29
+ const admitted = new Promise((resolve) => {
30
+ settleAdmission = resolve;
31
+ });
32
+ const record = {
33
+ key,
34
+ submitted: false,
35
+ phase: "admitting",
36
+ cancellation: "none",
37
+ lastSeq: 0,
38
+ admitted,
39
+ settleAdmission
40
+ };
41
+ this.#records.set(key.invocation_id, record);
42
+ return record;
43
+ }
44
+ assertSubmission() {
45
+ if (this.#stopped)
46
+ throw admissionClosedError();
47
+ }
48
+ accepted(record, ref, terminal) {
49
+ record.ref = ref;
50
+ record.submitted = true;
51
+ record.instance = ref.kernel_instance_id;
52
+ record.phase = "accepted";
53
+ record.settleAdmission();
54
+ if (terminal)
55
+ this.observe(ref, terminal);
56
+ if (record.reason !== undefined && !terminal && this.#records.get(ref.invocation_id) === record)
57
+ void this.cancel(record, record.reason).catch(() => undefined);
58
+ }
59
+ reconcile(ref, terminal) {
60
+ const record = this.#records.get(ref.invocation_id);
61
+ if (!record ||
62
+ (record.instance && record.instance !== ref.kernel_instance_id) ||
63
+ Object.entries(record.key).some(([field, value]) => Reflect.get(ref, field) !== value))
64
+ return;
65
+ if (record.ref &&
66
+ (record.ref.stream_id !== ref.stream_id || record.ref.protocol !== ref.protocol))
67
+ throw new KernelError("RUN_IDENTITY_MISMATCH");
68
+ if (!record.ref)
69
+ this.accepted(record, ref, terminal);
70
+ else if (terminal)
71
+ this.observe(ref, terminal);
72
+ }
73
+ rejected(record, error) {
74
+ if (this.#records.get(record.key.invocation_id) !== record)
75
+ return;
76
+ if (record.ref) {
77
+ record.settleAdmission();
78
+ this.interrupted(record, error);
79
+ return;
80
+ }
81
+ record.admissionError = error instanceof Error ? error : new KernelError("ACCEPTANCE_UNKNOWN");
82
+ record.observationError = errorCode(error);
83
+ record.phase = "acceptance_unknown";
84
+ record.settleAdmission();
85
+ const rejectedByServer = error instanceof KernelError &&
86
+ error.data !== undefined &&
87
+ !["KERNEL_INSTANCE_CHANGED", "RUN_IDENTITY_MISMATCH"].includes(error.code);
88
+ // 仅未发送或明确拒绝可安全移除;已发送但 ACK 未知时保留身份,后续 drain 只能查询确认。
89
+ if (!record.submitted || rejectedByServer)
90
+ this.#records.delete(record.key.invocation_id);
91
+ }
92
+ observe(ref, frame) {
93
+ const record = this.#records.get(ref.invocation_id);
94
+ if (!record ||
95
+ !record.ref ||
96
+ record.ref.stream_id !== ref.stream_id ||
97
+ record.ref.kernel_instance_id !== ref.kernel_instance_id)
98
+ return;
99
+ record.lastSeq = Math.max(record.lastSeq, frame.seq);
100
+ if (!isHostTerminal(frame))
101
+ return;
102
+ if (frame.kind === "control" &&
103
+ frame.control.type === "state" &&
104
+ frame.control.state === "lost") {
105
+ record.phase = "unobserved";
106
+ record.observationError = "RUN_OUTCOME_UNKNOWN";
107
+ }
108
+ else
109
+ this.#records.delete(ref.invocation_id);
110
+ }
111
+ interrupted(record, error) {
112
+ if (this.#records.get(record.key.invocation_id) !== record || !record.ref)
113
+ return;
114
+ record.phase = "unobserved";
115
+ if (error !== undefined)
116
+ record.observationError = errorCode(error);
117
+ }
118
+ active(id) {
119
+ const record = this.#records.get(id);
120
+ if (!record)
121
+ throw new KernelError("INVOCATION_NOT_TRACKED");
122
+ return record;
123
+ }
124
+ ref(id) {
125
+ const record = this.active(id);
126
+ if (!record.ref)
127
+ throw new KernelError("INVOCATION_NOT_ACCEPTED");
128
+ return record.ref;
129
+ }
130
+ cancel(record, reason = "caller_cancelled", { explicit = false } = {}) {
131
+ if (this.#records.get(record.key.invocation_id) !== record)
132
+ return Promise.resolve({ accepted: false });
133
+ if (record.observationError === "RUN_OUTCOME_UNKNOWN")
134
+ return Promise.reject(new KernelError("RUN_OUTCOME_UNKNOWN"));
135
+ if (!record.submitted) {
136
+ this.rejected(record, interruptedBeforeSubmissionError());
137
+ record.cancellation = "acknowledged";
138
+ return Promise.resolve({ accepted: true });
139
+ }
140
+ record.reason ??= reason;
141
+ if (record.cancellation === "none")
142
+ record.cancellation = "requested";
143
+ // 取消可能早于接纳 ACK:记住首次原因,等同一执行获得 RunRef 后发出一次控制请求。
144
+ if (!record.ref)
145
+ return record.admitted.then(() => {
146
+ if (!record.ref)
147
+ throw record.admissionError ?? new KernelError("ACCEPTANCE_UNKNOWN");
148
+ // ACK 接续仍属于原意图;不能因其首次控制已失败而暗中再发送一次。
149
+ return this.cancel(record, reason);
150
+ });
151
+ // 仅新的公开 Stop 可重试未知控制;drain/signal 保留原 Promise,并发 Stop 共享在途尝试。
152
+ const retry = explicit && record.cancellation === "unknown";
153
+ if (!record.cancelTask || retry) {
154
+ if (retry)
155
+ record.reason = reason;
156
+ record.cancellation = "requested";
157
+ const controller = new AbortController();
158
+ this.#cancelControllers.add(controller);
159
+ record.cancelTask = new Promise((resolve, reject) => {
160
+ this.#cancelQueue.push(async () => {
161
+ try {
162
+ if (this.#closed)
163
+ throw new KernelError("CLIENT_CLOSED");
164
+ if (this.#records.get(record.key.invocation_id) !== record) {
165
+ resolve({ accepted: false });
166
+ return;
167
+ }
168
+ if (record.observationError === "RUN_OUTCOME_UNKNOWN")
169
+ throw new KernelError("RUN_OUTCOME_UNKNOWN");
170
+ const deadline = Math.min(Date.now() + 5000, this.#drainDeadline ?? Infinity);
171
+ if (deadline <= Date.now())
172
+ throw new KernelError("OPERATION_OUTCOME_UNKNOWN");
173
+ resolve(await this.transport.cancel(record.ref, record.reason, deadline, controller.signal));
174
+ }
175
+ catch (error) {
176
+ reject(error instanceof Error ? error : new KernelError("OPERATION_OUTCOME_UNKNOWN"));
177
+ }
178
+ });
179
+ this.#pumpCancellations();
180
+ })
181
+ .then((result) => {
182
+ record.cancellation = "acknowledged";
183
+ return result;
184
+ })
185
+ .catch((error) => {
186
+ record.cancellation = "unknown";
187
+ record.observationError = errorCode(error);
188
+ throw error;
189
+ })
190
+ .finally(() => this.#cancelControllers.delete(controller));
191
+ record.firstCancelTask ??= record.cancelTask;
192
+ // Automatic signal cancellation may outlive its consumer; always consume rejection.
193
+ void record.cancelTask.catch(() => undefined);
194
+ }
195
+ return record.cancelTask;
196
+ }
197
+ #pumpCancellations() {
198
+ while (this.#cancelling < 4 && this.#cancelQueue.length) {
199
+ this.#cancelling++;
200
+ void this.#cancelQueue.shift()().finally(() => {
201
+ this.#cancelling--;
202
+ this.#pumpCancellations();
203
+ });
204
+ }
205
+ }
206
+ snapshot() {
207
+ return [...this.#records.values()].map((record) => ({
208
+ key: { ...record.key },
209
+ ...(record.ref ? { ref: { ...record.ref } } : {}),
210
+ phase: record.phase,
211
+ cancellation: record.cancellation,
212
+ lastSeq: record.lastSeq,
213
+ ...(record.observationError ? { observationError: record.observationError } : {})
214
+ }));
215
+ }
216
+ stopAdmission() {
217
+ this.#stopped = true;
218
+ }
219
+ close() {
220
+ this.#closed = true;
221
+ this.stopAdmission();
222
+ for (const record of this.#records.values())
223
+ if (!record.submitted)
224
+ this.rejected(record, interruptedBeforeSubmissionError());
225
+ for (const controller of this.#cancelControllers)
226
+ controller.abort();
227
+ }
228
+ drain(options) {
229
+ if (!Number.isSafeInteger(options.deadline) || options.deadline - Date.now() > 2_147_483_647)
230
+ throw new KernelError("INVOCATION_DEADLINE_INVALID");
231
+ // 首次关闭锁定绝对期限;重复调用不能延长预算,也不能启动第二轮取消副作用。
232
+ if (this.#draining)
233
+ return this.#draining;
234
+ this.stopAdmission();
235
+ this.#drainDeadline = options.deadline;
236
+ return (this.#draining = this.#drain(options));
237
+ }
238
+ async #drain({ deadline, reason }) {
239
+ const controller = new AbortController();
240
+ const timer = setTimeout(() => {
241
+ controller.abort();
242
+ for (const cancelController of this.#cancelControllers)
243
+ cancelController.abort();
244
+ }, Math.max(0, deadline - Date.now()));
245
+ try {
246
+ while (this.#records.size && !controller.signal.aborted && Date.now() < deadline) {
247
+ const records = [...this.#records.values()];
248
+ // 最多四路查询/控制 IO;只查终态元数据,不新增正文订阅,避免与业务消费者争夺尾流。
249
+ let index = 0;
250
+ await Promise.all(Array.from({ length: Math.min(4, records.length) }, async () => {
251
+ while (index < records.length && !controller.signal.aborted && Date.now() < deadline) {
252
+ const record = records[index++];
253
+ if (!record.submitted) {
254
+ await this.cancel(record, reason);
255
+ continue;
256
+ }
257
+ record.reason ??= reason;
258
+ if (record.cancellation === "none")
259
+ record.cancellation = "requested";
260
+ if (!record.instance)
261
+ continue;
262
+ try {
263
+ const info = await this.transport.get(record.key, record.instance, deadline, controller.signal);
264
+ if (!record.ref)
265
+ this.accepted(record, info.ref);
266
+ if (info.terminal)
267
+ this.observe(info.ref, info.terminal);
268
+ if (!this.#records.has(record.key.invocation_id))
269
+ continue;
270
+ // lost 表示执行结果未知,必须留在 unresolved,不能据此重放可能已有副作用的执行。
271
+ if (record.observationError !== "RUN_OUTCOME_UNKNOWN")
272
+ await this.cancel(record, reason);
273
+ }
274
+ catch (error) {
275
+ if (record.observationError !== "RUN_OUTCOME_UNKNOWN")
276
+ record.observationError = errorCode(error);
277
+ }
278
+ }
279
+ }));
280
+ if (this.#records.size && Date.now() < deadline) {
281
+ await delay(Math.min(100, deadline - Date.now()), undefined, {
282
+ signal: controller.signal
283
+ }).catch(() => undefined);
284
+ }
285
+ }
286
+ return { complete: this.#records.size === 0, unresolved: this.snapshot() };
287
+ }
288
+ finally {
289
+ clearTimeout(timer);
290
+ controller.abort();
291
+ for (const cancelController of this.#cancelControllers)
292
+ cancelController.abort();
293
+ }
294
+ }
295
+ }
296
+ export function errorCode(error) {
297
+ return error instanceof KernelError
298
+ ? error.code
299
+ : error instanceof Error && /^[A-Z][A-Z0-9_]+$/.test(error.message)
300
+ ? error.message
301
+ : "INVOCATION_OBSERVATION_FAILED";
302
+ }
@@ -0,0 +1 @@
1
+ export * from "@mininglamp-oss/octo-runtime-protocol/notification";
@@ -0,0 +1 @@
1
+ export * from "@mininglamp-oss/octo-runtime-protocol/notification";
@@ -0,0 +1 @@
1
+ export * from "@mininglamp-oss/octo-runtime-protocol";
@@ -0,0 +1 @@
1
+ export * from "@mininglamp-oss/octo-runtime-protocol";
@@ -0,0 +1,21 @@
1
+ import { type StartupDiagnostic, type StartupPathDiagnostic } from "./startup-diagnostics.js";
2
+ export type { StartupPathDiagnostic } from "./startup-diagnostics.js";
3
+ /** 启动域的受控路径失败;保留公共码、cause 和 #306 的平铺属性读取。 */
4
+ export declare class RuntimeHomeError extends Error {
5
+ readonly code: string;
6
+ readonly diagnostic: Readonly<StartupDiagnostic & StartupPathDiagnostic>;
7
+ constructor(diagnostic: Omit<StartupPathDiagnostic, "domain" | "action"> & {
8
+ action?: string;
9
+ }, cause?: unknown);
10
+ }
11
+ /** 先检查原始输入,再规范化;这是纯路径计算,不代表目录已存在或启动已验证。 */
12
+ export declare function normalizeRuntimeHome(input: string, platform?: NodeJS.Platform, resource?: string): string;
13
+ export interface PathLimits {
14
+ path: number;
15
+ name: number;
16
+ }
17
+ export declare function platformLimits(platform: NodeJS.Platform): PathLimits;
18
+ /** 检查实际附加文件名的预算;Windows 按 UTF-16 code unit,POSIX 按 UTF-8 字节。 */
19
+ export declare function assertRuntimePath(path: string, resource: string, platform?: NodeJS.Platform, limits?: PathLimits): void;
20
+ /** endpoint-only API 只拥有传输,不推断或创建 Home;同样在连接/监听前拒绝无效或超长地址。 */
21
+ export declare function assertIpcEndpoint(endpoint: string, platform?: NodeJS.Platform): void;
@@ -0,0 +1,138 @@
1
+ import { posix, win32 } from "node:path";
2
+ import { describeStartupError, startupPathDiagnostic } from "./startup-diagnostics.js";
3
+ /** 启动域的受控路径失败;保留公共码、cause 和 #306 的平铺属性读取。 */
4
+ export class RuntimeHomeError extends Error {
5
+ code;
6
+ diagnostic;
7
+ constructor(diagnostic, cause) {
8
+ super(diagnostic.code, { cause });
9
+ this.name = "RuntimeHomeError";
10
+ this.code = diagnostic.code;
11
+ Object.defineProperty(this, "startupContext", { value: diagnostic });
12
+ const shared = describeStartupError(this);
13
+ const legacy = startupPathDiagnostic(shared);
14
+ // 兼容读取的别名不进入 JSON;序列化只有一个标准诊断结构,文案不能由输入 action 覆盖。
15
+ for (const [key, value] of Object.entries(legacy ?? {})) {
16
+ if (!(key in shared))
17
+ Object.defineProperty(shared, key, { value });
18
+ }
19
+ this.diagnostic = Object.freeze(shared);
20
+ }
21
+ }
22
+ /** 先检查原始输入,再规范化;这是纯路径计算,不代表目录已存在或启动已验证。 */
23
+ export function normalizeRuntimeHome(input, platform = process.platform, resource = "home") {
24
+ const fail = (code) => {
25
+ throw new RuntimeHomeError({
26
+ code,
27
+ ...(typeof input === "string" ? { path: input } : {}),
28
+ resource,
29
+ operation: "validate-input"
30
+ });
31
+ };
32
+ if (typeof input !== "string" ||
33
+ !input.trim() ||
34
+ input.includes("\0") ||
35
+ /[\uD800-\uDFFF]/u.test(input))
36
+ fail("HOME_INVALID");
37
+ if (!["win32", "darwin", "linux"].includes(platform))
38
+ fail("HOME_UNSUPPORTED");
39
+ const api = platform === "win32" ? win32 : posix;
40
+ if (!api.isAbsolute(input))
41
+ fail("HOME_INVALID");
42
+ if (platform === "win32") {
43
+ // 仅支持本地盘绝对路径。拒绝 UNC/device/root-relative/ADS 和 Win32 别名,避免 hash 与 IO 指向不同资源。
44
+ const local = input.replaceAll("/", "\\");
45
+ if (!/^[a-z]:\\/i.test(local) ||
46
+ /[<>"|?*]/.test(local) ||
47
+ [...local].some((character) => character.codePointAt(0) < 32) ||
48
+ local.slice(2).includes(":"))
49
+ fail("HOME_UNSUPPORTED");
50
+ for (const part of local.slice(3).split("\\")) {
51
+ if (part === "." || part === "..")
52
+ continue;
53
+ if (/[ .]$/.test(part) || /^(con|prn|aux|nul|com[1-9¹²³]|lpt[1-9¹²³])(?:\.|$)/i.test(part))
54
+ fail("HOME_UNSUPPORTED");
55
+ }
56
+ }
57
+ const home = api.resolve(input);
58
+ if (home === api.parse(home).root)
59
+ fail("HOME_UNSUPPORTED");
60
+ return home;
61
+ }
62
+ // Unix 的纯计算上限来自对应 OS 的 PATH_MAX/NAME_MAX;真实启动再查询所选文件系统。
63
+ // Windows Node/libuv 使用扩展 UTF-16 路径:32767 包括 NUL 和自动追加的 \\?\ 前缀,不使用 MAX_PATH=260。
64
+ export function platformLimits(platform) {
65
+ if (platform === "win32")
66
+ return { path: 32767 - 1 - 4, name: 255 };
67
+ if (platform === "linux")
68
+ return { path: 4096 - 1, name: 255 };
69
+ if (platform === "darwin")
70
+ return { path: 1024 - 1, name: 255 };
71
+ throw new RuntimeHomeError({
72
+ code: "HOME_UNSUPPORTED",
73
+ resource: "home",
74
+ operation: "path-budget"
75
+ });
76
+ }
77
+ /** 检查实际附加文件名的预算;Windows 按 UTF-16 code unit,POSIX 按 UTF-8 字节。 */
78
+ export function assertRuntimePath(path, resource, platform = process.platform, limits = platformLimits(platform)) {
79
+ const unit = platform === "win32" ? "utf16-units" : "utf8-bytes";
80
+ const measure = (value) => Buffer.byteLength(value, platform === "win32" ? "utf16le" : "utf8") /
81
+ (platform === "win32" ? 2 : 1);
82
+ const fail = (measured, limit, operation) => {
83
+ throw new RuntimeHomeError({
84
+ code: "HOME_PATH_TOO_LONG",
85
+ path,
86
+ resource,
87
+ operation,
88
+ measured,
89
+ limit,
90
+ unit
91
+ });
92
+ };
93
+ if (measure(path) > limits.path)
94
+ fail(measure(path), limits.path, "path-budget");
95
+ const api = platform === "win32" ? win32 : posix;
96
+ for (const part of path.slice(api.parse(path).root.length).split(api.sep)) {
97
+ if (measure(part) > limits.name)
98
+ fail(measure(part), limits.name, "filename-budget");
99
+ }
100
+ }
101
+ /** endpoint-only API 只拥有传输,不推断或创建 Home;同样在连接/监听前拒绝无效或超长地址。 */
102
+ export function assertIpcEndpoint(endpoint, platform = process.platform) {
103
+ const fail = (code, extra = {}) => {
104
+ throw new RuntimeHomeError({
105
+ code,
106
+ ...(typeof endpoint === "string" ? { path: endpoint, endpoint } : {}),
107
+ resource: "ipc-endpoint",
108
+ operation: "ipc-address",
109
+ ...extra
110
+ });
111
+ };
112
+ if (typeof endpoint !== "string" ||
113
+ !endpoint ||
114
+ endpoint.includes("\0") ||
115
+ /[\uD800-\uDFFF]/u.test(endpoint))
116
+ fail("IPC_ENDPOINT_INVALID");
117
+ if (platform === "win32") {
118
+ if (!/^\\\\[.?]\\pipe\\[^\\]+$/i.test(endpoint))
119
+ fail("IPC_ENDPOINT_INVALID");
120
+ const measured = Buffer.byteLength(endpoint, "utf16le") / 2;
121
+ // CreateNamedPipeW: 完整 pipe 名最多 256 WCHAR;namespace 不是文件路径,不套用 Unix sun_path。
122
+ if (measured > 256)
123
+ fail("IPC_ENDPOINT_TOO_LONG", { measured, limit: 256, unit: "utf16-units" });
124
+ }
125
+ else {
126
+ if (!posix.isAbsolute(endpoint))
127
+ fail("IPC_ENDPOINT_INVALID");
128
+ // Node net + libuv 的 pathname socket 必须留出结尾 NUL:Linux 108、Darwin 104 字节 sun_path。
129
+ const limit = platform === "linux" ? 107 : platform === "darwin" ? 103 : undefined;
130
+ if (limit === undefined)
131
+ fail("IPC_ENDPOINT_UNSUPPORTED");
132
+ const measured = Buffer.byteLength(endpoint, "utf8");
133
+ if (measured > limit)
134
+ fail("IPC_ENDPOINT_TOO_LONG", { measured, limit, unit: "utf8-bytes" });
135
+ assertRuntimePath(endpoint, "ipc-endpoint", platform);
136
+ assertRuntimePath(`${endpoint}.owner.recovery`, "endpoint-ownership", platform);
137
+ }
138
+ }
@@ -0,0 +1,8 @@
1
+ /** client 与服务端共用的唯一启动文案目录;不含 Run 控制码,不触发修复或网络请求。 */
2
+ export interface StartupCatalogEntry {
3
+ readonly summary: string;
4
+ readonly action: string;
5
+ readonly retryable: boolean;
6
+ readonly configKey?: string;
7
+ }
8
+ export declare const STARTUP_CATALOG: Readonly<Record<string, StartupCatalogEntry>>;
@@ -0,0 +1,53 @@
1
+ const entry = (summary, action, retryable = false, configKey) => Object.freeze({ summary, action, retryable, ...(configKey ? { configKey } : {}) });
2
+ const homeAction = "The SDK host must select and prepare an existing accessible absolute Runtime Home, then retry. CLI users can select their intended Home with --home. Existing data is not moved automatically.";
3
+ const endpointAction = "Inspect the endpoint owner and component status. Stop the owning service through its host before retrying; do not remove an active endpoint or ownership record.";
4
+ const inspectAction = "Inspect the component configuration and controlled lifecycle logs in the host. Capture the diagnostic codes and safe resource context before retrying; the cause is not yet known.";
5
+ export const STARTUP_CATALOG = Object.freeze({
6
+ STARTUP_UNKNOWN: entry("The startup cause is unknown.", inspectAction),
7
+ LOG_DIRECTORY_MUST_BE_ABSOLUTE: entry("The logging directory must be absolute.", "Pass an absolute directory in logging.directory, then retry startup through the host.", false, "logging.directory"),
8
+ SERVICE_INITIALIZATION_FAILED: entry("Component initialization failed.", inspectAction),
9
+ KERNEL_START_CLEANUP_INCOMPLETE: entry("Kernel startup rollback is incomplete.", endpointAction),
10
+ KERNEL_CLEANUP_INCOMPLETE: entry("Kernel resources have not all been released.", endpointAction),
11
+ HOME_UNAVAILABLE: entry("Runtime Home is unavailable.", homeAction),
12
+ HOME_INVALID: entry("Runtime Home must be a valid absolute directory path.", homeAction),
13
+ HOME_UNSUPPORTED: entry("This Runtime Home path or platform is unsupported.", homeAction),
14
+ HOME_NOT_FOUND: entry("The required Runtime Home resource does not exist.", homeAction),
15
+ HOME_NOT_DIRECTORY: entry("The required directory has the wrong resource type.", homeAction),
16
+ HOME_PERMISSION_DENIED: entry("Access to the Runtime Home resource was denied.", "Check permissions for the reported resource and operation under the host account, then retry. Do not reset identities or replace Home to bypass the error."),
17
+ HOME_PATH_TOO_LONG: entry("The Runtime resource exceeds a path limit.", "The host must select and prepare a shorter supported path within the reported limit, then retry. Existing data is not moved automatically."),
18
+ HOME_LIMIT_UNAVAILABLE: entry("Filesystem path limits could not be determined.", "Make the operating system getconf utility available to query PATH_MAX/NAME_MAX, then retry with the same prepared Home."),
19
+ HOME_UNUSABLE: entry("The Runtime Home resource could not be used.", inspectAction),
20
+ IPC_ENDPOINT_INVALID: entry("The IPC endpoint is invalid.", "Pass a valid local IPC endpoint through the host's endpoint option, then retry."),
21
+ IPC_ENDPOINT_UNSUPPORTED: entry("The IPC transport platform is unsupported.", "Use a supported platform and local IPC transport."),
22
+ IPC_ENDPOINT_TOO_LONG: entry("The IPC endpoint exceeds the transport limit.", "Select a shorter Home or endpoint within the reported transport limit, then retry. Existing data is not moved automatically."),
23
+ ENDPOINT_IN_USE: entry("The IPC endpoint already has an owner.", endpointAction),
24
+ EADDRINUSE: entry("The IPC endpoint is already in use.", endpointAction),
25
+ ENDPOINT_PATH_INVALID: entry("The endpoint path contains a different resource type.", "Inspect the reported endpoint and correct the host's endpoint selection. Do not delete an unrelated file."),
26
+ ENDPOINT_OWNER_INVALID: entry("The endpoint ownership record is invalid.", endpointAction),
27
+ ENDPOINT_UNVERIFIABLE: entry("Endpoint ownership could not be verified.", endpointAction),
28
+ ENDPOINT_RECOVERY_IN_PROGRESS: entry("Endpoint recovery is in progress.", "Wait for the owning recovery operation to finish, inspect status, then retry.", true),
29
+ ENOENT: entry("A required startup resource was not found.", "Correct the reported resource selection or prepare the required dependency, then retry."),
30
+ ENOTDIR: entry("A required directory has the wrong resource type.", "Correct the reported directory path to an existing directory, then retry."),
31
+ EISDIR: entry("A required file is a directory.", "Correct the selected file path to the intended regular file, then retry."),
32
+ EACCES: entry("The startup operation was denied access.", "Check the host account's permissions for the reported resource and operation, then retry."),
33
+ EPERM: entry("The operating system denied the startup operation.", "Check the host account's permissions and the reported resource, then retry."),
34
+ EROFS: entry("The startup operation requires a writable filesystem.", "Use an accessible writable resource for the reported operation, then retry."),
35
+ ENAMETOOLONG: entry("The startup resource name exceeds a system limit.", "Select a shorter supported path or endpoint, then retry."),
36
+ ECONNREFUSED: entry("The component is not accepting IPC connections.", "Inspect the target component's lifecycle and logs, start it through its host, then retry.", true),
37
+ SETUP_IN_PROGRESS: entry("A component lifecycle operation is in progress.", "Wait for that operation to finish, then retry.", true),
38
+ SERVICE_INITIALIZATION_CANCELLED: entry("Component initialization was cancelled.", "Check the host cancellation request and cleanup outcome before starting again.", true),
39
+ KERNEL_CONFIGURATION_INVALID: entry("Kernel construction inputs are invalid.", "Pass endpoint and an adapters array to createKernelService. Compose Adapter objects in the host; retired worker/manifest/env options are unsupported."),
40
+ ERR_MODULE_NOT_FOUND: entry("A selected module or one of its dependencies was not found.", "Check the selected module and its installed dependency graph in the host; correct the declaration or install the required package, then retry."),
41
+ MODULE_NOT_FOUND: entry("A selected module or one of its dependencies was not found.", "Check the selected module and its installed dependency graph in the host; correct the declaration or install the required package, then retry."),
42
+ MANIFEST_INVALID: entry("The CLI module manifest is invalid.", "Check the selected manifest.json: version must be 1 and adapters must be valid arrays without duplicate keys."),
43
+ LOCAL_STATE_INVALID: entry("The local state could not be read.", "Inspect the reported file and system cause. Preserve existing identities and configuration; correct the file or access through the host."),
44
+ WRITE_FAILED: entry("A local state update failed.", "Inspect the reported path, operation and system cause; correct access before retrying the host operation."),
45
+ COMPONENT_UNAVAILABLE: entry("The component did not become ready.", "Inspect component status and controlled lifecycle logs. Process liveness alone does not establish Kernel execution readiness.", true),
46
+ SERVICE_PROCESS_EXITED: entry("The service process exited unexpectedly.", "Inspect this startup attempt's controlled diagnostic and lifecycle logs before restarting."),
47
+ SERVICE_NOT_INSTALLED: entry("The component service is not installed.", "Run this component's install command, then start it."),
48
+ NOT_INSTALLED: entry("The component service is not installed.", "Run this component's install command, then start it."),
49
+ SERVICE_DISABLED: entry("The component service is disabled.", "Run this component's install --autostart=true command, then start it."),
50
+ MANAGER_UNAVAILABLE: entry("The native service manager is unavailable.", "Run doctor and inspect the current user's native service manager."),
51
+ ORPHAN_CLEANUP_INCOMPLETE: entry("Previous Kernel resource cleanup is incomplete.", "CLI users: run doctor with the same --home. After confirming all owned orphan tools have stopped, run octo-runtime recover --acknowledge-orphan-cleanup with that Home, then start again. SDK hosts must use the corresponding inspect/acknowledge API; do not remove ownership records."),
52
+ ORPHAN_RECORD_UNSUPPORTED: entry("The stored Kernel ownership format is unsupported.", "Preserve the ownership evidence. Stop and clean up using the version and host that created it before upgrading; do not acknowledge or delete an unknown record.")
53
+ });
@@ -0,0 +1,82 @@
1
+ export { STARTUP_CATALOG, type StartupCatalogEntry } from "./startup-catalog.js";
2
+ /** 诊断仅保存生命周期事实;服务实现复用这些数据类型,不在客户端启动或清理服务。 */
3
+ export type ServicePhase = "created" | "initializing" | "ready" | "closing" | "closed" | "failed";
4
+ export interface ServiceCleanupResult {
5
+ readonly complete: boolean;
6
+ readonly errors: readonly {
7
+ resource: string;
8
+ code: string;
9
+ }[];
10
+ readonly pendingResources: readonly string[];
11
+ }
12
+ /** 只接受启动调用方已确认的资源事实;不接受原始配置、环境、stderr 或异常正文。 */
13
+ export interface StartupContext {
14
+ path?: string;
15
+ resource?: string;
16
+ operation?: string;
17
+ configKey?: string;
18
+ endpoint?: string;
19
+ executable?: string;
20
+ module?: string;
21
+ systemCode?: string;
22
+ measured?: number;
23
+ limit?: number;
24
+ unit?: "utf8-bytes" | "utf16-units";
25
+ }
26
+ /** #306 路径诊断兼容投影;所有字段均从共享诊断白名单生成。 */
27
+ export interface StartupPathDiagnostic extends Pick<StartupContext, "path" | "systemCode" | "endpoint" | "measured" | "limit" | "unit"> {
28
+ domain: "startup";
29
+ code: string;
30
+ resource: string;
31
+ operation: string;
32
+ action: string;
33
+ }
34
+ /** CLI 继续提供 #306 的 startup 字段;恢复建议始终来自同一 catalog。 */
35
+ export declare function startupPathDiagnostic(diagnostic: StartupDiagnostic): StartupPathDiagnostic | undefined;
36
+ export interface StartupCause {
37
+ code: string;
38
+ context: Readonly<StartupContext>;
39
+ component?: string;
40
+ phase?: ServicePhase;
41
+ cleanup?: ServiceCleanupResult;
42
+ }
43
+ export interface StartupDiagnostic {
44
+ domain: "startup";
45
+ code: string;
46
+ rootCode: string;
47
+ component: string;
48
+ phase: ServicePhase;
49
+ summary: string;
50
+ explanation: string;
51
+ actions: readonly string[];
52
+ retryable: boolean;
53
+ userActionRequired: boolean;
54
+ context: Readonly<StartupContext>;
55
+ causes: readonly StartupCause[];
56
+ cleanup?: ServiceCleanupResult;
57
+ truncated: boolean;
58
+ }
59
+ export interface StartupLocation {
60
+ component: string;
61
+ phase: ServicePhase;
62
+ context?: StartupContext;
63
+ }
64
+ /** 保持原类型/message/code/cause,仅在可扩展错误上增加安全诊断;冻结错误可由调用边界直接投影。 */
65
+ export declare function withStartupContext<T>(error: T, location: StartupLocation, classification?: string): T;
66
+ /** 文本与 JSON 同用确定性规范化:去控制字符,去 URL 认证/query/hash 和显式敏感赋值。 */
67
+ export declare function safeStartupValue(value: string, maximum?: number): string;
68
+ /**
69
+ * 在失败调用边界投影启动事实;不依赖 IPC/Run,不改变原错误、退出码或清理行为。
70
+ * cause/aggregate 按主失败优先有界遍历(16 节点/6 层);循环和原始异常正文均不输出。
71
+ */
72
+ export declare function describeStartupError(error: unknown, location?: StartupLocation): StartupDiagnostic;
73
+ /** 可读投影只消费已净化的共享结构;SDK 可直接按 rootCode/context 分支。 */
74
+ export declare function formatStartupDiagnostic(diagnostic: StartupDiagnostic): string;
75
+ /** 持久化/JSON 是不可信边界:仅重建码、位置、资源和清理,文案始终重新来自当前 catalog。 */
76
+ export declare function restoreStartupDiagnostic(value: unknown): StartupDiagnostic | undefined;
77
+ /** 仅供启动边界补充已确认的位置事实;cause 保留给本地深度排障,公开输出用 diagnostic。 */
78
+ export declare class StartupError extends Error {
79
+ readonly code: string;
80
+ readonly diagnostic: StartupDiagnostic;
81
+ constructor(code: string, location: StartupLocation, cause?: unknown);
82
+ }