@mininglamp-oss/octo-runtime 1.1.11 → 1.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (946) hide show
  1. package/README.md +26 -142
  2. package/apps/cli/README.md +7 -102
  3. package/apps/cli/dist/adapters.d.ts +19 -1
  4. package/apps/cli/dist/adapters.js +153 -27
  5. package/apps/cli/dist/build-info.json +2 -2
  6. package/apps/cli/dist/codex.d.ts +5 -0
  7. package/apps/cli/dist/codex.js +36 -0
  8. package/apps/cli/dist/command-tree.d.ts +1 -13
  9. package/apps/cli/dist/command-tree.js +130 -316
  10. package/apps/cli/dist/foreground.d.ts +1 -2
  11. package/apps/cli/dist/help.d.ts +0 -1
  12. package/apps/cli/dist/help.js +2 -13
  13. package/apps/cli/dist/kernel.d.ts +4 -0
  14. package/apps/cli/dist/kernel.js +84 -0
  15. package/apps/cli/dist/logs.d.ts +2 -2
  16. package/apps/cli/dist/logs.js +14 -17
  17. package/apps/cli/dist/main.js +63 -180
  18. package/apps/cli/dist/manifest.json +33 -72
  19. package/apps/cli/dist/module-manifest.d.ts +1 -1
  20. package/apps/cli/dist/module-manifest.js +2 -3
  21. package/apps/cli/dist/openclaw.d.ts +0 -8
  22. package/apps/cli/dist/openclaw.js +2 -114
  23. package/apps/cli/dist/output.d.ts +1 -0
  24. package/apps/cli/dist/output.js +16 -23
  25. package/apps/cli/dist/playboard.js +32 -15
  26. package/apps/cli/dist/provider-launch.d.ts +28 -0
  27. package/apps/cli/dist/provider-launch.js +52 -0
  28. package/apps/cli/dist/providers.d.ts +182 -0
  29. package/apps/cli/dist/providers.js +34 -0
  30. package/apps/cli/dist/service-control.js +0 -1
  31. package/dist/public/adapter-sdk.d.ts +2 -0
  32. package/dist/public/adapter-sdk.js +2 -0
  33. package/dist/public/host.d.ts +2 -4
  34. package/dist/public/host.js +1 -1
  35. package/dist/public/protocol.d.ts +1 -1
  36. package/dist/public/protocol.js +1 -1
  37. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.js +4 -4
  38. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +15 -14
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +24 -28
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.d.ts +10 -35
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.js +22 -29
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.d.ts +14 -68
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +60 -43
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.d.ts +19 -31
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.js +29 -18
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.d.ts +6 -5
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +42 -35
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.d.ts +54 -0
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.js +147 -0
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/environment.js +4 -8
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +20 -92
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +104 -216
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.d.ts +2 -2
  59. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.js +4 -11
  60. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.d.ts +9 -5
  61. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.js +77 -81
  62. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  63. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-R3PDZLX5.js → chunk-H3S6WM37.js} +3 -3
  64. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FGFEM7JP.js → chunk-RISQ6NGV.js} +1 -1
  65. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-TSRZVLIG.js → chunk-SMTJTIN7.js} +1 -1
  66. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +2 -2
  67. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
  68. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +4 -2
  69. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +15 -17
  70. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
  71. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
  72. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +4 -4
  73. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.d.ts +14 -14
  74. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.js +23 -30
  75. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/client.js +4 -7
  76. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.d.ts +13 -21
  77. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.js +48 -26
  78. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  79. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +16 -14
  80. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.js +15 -7
  81. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  82. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +16 -14
  83. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.js +14 -6
  84. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  85. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +16 -14
  86. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.js +15 -7
  87. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  88. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +7 -3
  89. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +27 -29
  90. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
  91. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +16 -25
  92. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +109 -178
  93. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  94. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +16 -14
  95. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.js +15 -6
  96. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +3 -2
  97. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +16 -14
  98. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.js +15 -6
  99. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +3 -2
  100. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +5 -1
  101. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.d.ts +49 -0
  102. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.js +256 -0
  103. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/approval.js +7 -2
  104. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.js +1 -1
  105. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.d.ts +5 -1
  106. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +26 -13
  107. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +117 -59
  108. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/mcp.js +1 -1
  109. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +1 -13
  110. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +4 -27
  111. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-launch.d.ts +11 -1
  112. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-launch.js +89 -8
  113. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.d.ts +10 -0
  114. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.js +25 -0
  115. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +10 -3
  116. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +4 -8
  117. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +0 -4
  118. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +6 -60
  119. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +0 -10
  120. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +0 -83
  121. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  122. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.d.ts +19 -1
  123. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +153 -27
  124. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  125. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.d.ts +5 -0
  126. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.js +36 -0
  127. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +1 -13
  128. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +130 -316
  129. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.d.ts +1 -2
  130. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +0 -1
  131. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +2 -13
  132. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/kernel.d.ts +4 -0
  133. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/kernel.js +84 -0
  134. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.d.ts +2 -2
  135. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.js +14 -17
  136. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +63 -180
  137. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +33 -72
  138. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
  139. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +2 -3
  140. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.d.ts +0 -8
  141. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +2 -114
  142. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.d.ts +1 -0
  143. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +16 -23
  144. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +32 -15
  145. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.d.ts +28 -0
  146. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.js +52 -0
  147. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.d.ts +182 -0
  148. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.js +34 -0
  149. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +0 -1
  150. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -23
  151. package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +2 -2
  152. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.d.ts +2 -3
  153. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.js +31 -20
  154. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.d.ts +1 -1
  155. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +80 -50
  156. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.d.ts +1 -1
  157. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.js +17 -2
  158. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.js +3 -15
  159. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.d.ts +2 -0
  160. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.js +6 -0
  161. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.d.ts +19 -4
  162. package/node_modules/@mininglamp-oss/octo-runtime-client/{schema → fixtures}/kernel-ipc-fixtures.json +28 -6
  163. package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +5 -5
  164. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc.schema.json +3 -104
  165. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +316 -1250
  166. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  167. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +0 -2
  168. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +28 -57
  169. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +2 -2
  170. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +13 -78
  171. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.d.ts +3 -1
  172. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.js +5 -0
  173. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  174. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +1 -1
  175. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +1 -1
  176. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +5 -0
  177. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +18 -18
  178. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -5
  179. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +1 -7
  180. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +0 -5
  181. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -18
  182. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +1 -2
  183. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -2
  184. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.d.ts +0 -1
  185. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +3 -5
  186. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.js +1 -8
  187. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +1 -2
  188. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +3 -267
  189. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +2 -0
  190. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +17 -3
  191. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +104 -373
  192. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.js +32 -1
  193. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.d.ts +9 -0
  194. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.js +20 -0
  195. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +6 -15
  196. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +33 -178
  197. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +23 -36
  198. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +54 -45
  199. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +1 -6
  200. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +9 -17
  201. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +2 -1
  202. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +5 -28
  203. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +2 -1
  204. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  205. package/node_modules/semver/classes/range.js +2 -2
  206. package/node_modules/semver/internal/constants.js +30 -0
  207. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  208. package/node_modules/semver/package.json +1 -1
  209. package/node_modules/ws/README.md +21 -29
  210. package/node_modules/ws/lib/buffer-util.js +13 -2
  211. package/node_modules/ws/lib/sender.js +4 -1
  212. package/node_modules/ws/lib/websocket.js +8 -3
  213. package/node_modules/ws/package.json +1 -1
  214. package/package.json +37 -148
  215. package/packages/octo-runtime-protocol/schema/kernel-ipc.schema.json +3 -104
  216. package/packages/octo-runtime-protocol/schema/protocol.schema.json +316 -1250
  217. package/packages/octo-runtime-protocol/{schema → test/fixtures}/kernel-ipc-fixtures.json +28 -6
  218. package/apps/cli/dist/extra-command-config.d.ts +0 -4
  219. package/apps/cli/dist/extra-command-config.js +0 -50
  220. package/apps/cli/dist/extra-commands.d.ts +0 -15
  221. package/apps/cli/dist/extra-commands.js +0 -275
  222. package/apps/cli/dist/extras.d.ts +0 -8
  223. package/apps/cli/dist/extras.js +0 -82
  224. package/apps/cli/dist/global-extras.d.ts +0 -16
  225. package/apps/cli/dist/global-extras.js +0 -201
  226. package/apps/cli/dist/status-output.d.ts +0 -10
  227. package/apps/cli/dist/status-output.js +0 -65
  228. package/dist/public/channel-gateway-commands.d.ts +0 -1
  229. package/dist/public/channel-gateway-commands.js +0 -1
  230. package/dist/public/channel-gateway.d.ts +0 -3
  231. package/dist/public/channel-gateway.js +0 -1
  232. package/dist/public/channel-wecom-commands.d.ts +0 -1
  233. package/dist/public/channel-wecom-commands.js +0 -1
  234. package/dist/public/channel-wecom.d.ts +0 -2
  235. package/dist/public/channel-wecom.js +0 -1
  236. package/dist/public/codex.d.ts +0 -1
  237. package/dist/public/codex.js +0 -1
  238. package/dist/public/dsh.d.ts +0 -2
  239. package/dist/public/dsh.js +0 -1
  240. package/dist/public/extra.d.ts +0 -5
  241. package/dist/public/extra.js +0 -3
  242. package/dist/public/webui-commands.d.ts +0 -1
  243. package/dist/public/webui-commands.js +0 -1
  244. package/dist/public/webui.d.ts +0 -1
  245. package/dist/public/webui.js +0 -1
  246. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +0 -4
  247. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +0 -50
  248. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +0 -15
  249. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +0 -275
  250. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +0 -8
  251. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +0 -82
  252. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +0 -16
  253. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +0 -201
  254. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +0 -10
  255. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +0 -65
  256. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-configuration-fixtures.json +0 -1219
  257. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-fixtures.json +0 -5988
  258. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-client.behavior.json +0 -56
  259. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +0 -116
  260. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +0 -761
  261. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/runtime-selection-fixtures.json +0 -663
  262. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/session-name-fixtures.json +0 -191
  263. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.d.ts +0 -12
  264. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.js +0 -89
  265. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.d.ts +0 -33
  266. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.js +0 -93
  267. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +0 -8
  268. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +0 -62
  269. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  270. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +0 -50
  271. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +0 -140
  272. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +0 -3
  273. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +0 -27
  274. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +0 -17
  275. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +0 -123
  276. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +0 -15
  277. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +0 -1489
  278. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +0 -28
  279. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +0 -77
  280. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +0 -71
  281. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +0 -153
  282. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +0 -15
  283. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +0 -28
  284. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +0 -4
  285. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +0 -124
  286. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +0 -172
  287. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.js +0 -1
  288. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +0 -22
  289. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +0 -46
  290. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +0 -16
  291. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +0 -285
  292. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +0 -20
  293. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +0 -109
  294. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +0 -15
  295. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +0 -36
  296. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +0 -16
  297. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +0 -98
  298. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +0 -6
  299. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +0 -10
  300. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +0 -17
  301. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +0 -238
  302. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.d.ts +0 -29
  303. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.js +0 -171
  304. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +0 -44
  305. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +0 -392
  306. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +0 -3
  307. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +0 -27
  308. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +0 -4
  309. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +0 -87
  310. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +0 -20
  311. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.js +0 -13
  312. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.d.ts +0 -9
  313. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +0 -162
  314. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +0 -12
  315. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +0 -154
  316. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +0 -34
  317. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.js +0 -1
  318. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +0 -67
  319. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +0 -588
  320. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.d.ts +0 -16
  321. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.js +0 -83
  322. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +0 -132
  323. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +0 -226
  324. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +0 -65
  325. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +0 -202
  326. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +0 -112
  327. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +0 -138
  328. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -48
  329. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +0 -116
  330. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.d.ts +0 -51
  331. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.js +0 -79
  332. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +0 -30
  333. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +0 -222
  334. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.d.ts +0 -13
  335. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.js +0 -13
  336. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +0 -92
  337. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +0 -173
  338. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.d.ts +0 -84
  339. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +0 -110
  340. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.d.ts +0 -87
  341. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.js +0 -45
  342. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.d.ts +0 -2
  343. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.js +0 -7
  344. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +0 -5
  345. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +0 -23
  346. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.d.ts +0 -20
  347. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.js +0 -75
  348. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +0 -22
  349. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +0 -136
  350. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.d.ts +0 -7
  351. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.js +0 -40
  352. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +0 -70
  353. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +0 -646
  354. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +0 -17
  355. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +0 -91
  356. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +0 -18
  357. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +0 -148
  358. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +0 -15
  359. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +0 -257
  360. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +0 -12
  361. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +0 -133
  362. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +0 -21
  363. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +0 -76
  364. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.d.ts +0 -6
  365. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +0 -163
  366. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.d.ts +0 -4
  367. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.js +0 -113
  368. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -13
  369. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -75
  370. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.d.ts +0 -6
  371. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.js +0 -117
  372. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +0 -16
  373. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +0 -74
  374. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +0 -4
  375. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +0 -19
  376. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +0 -7
  377. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +0 -90
  378. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +0 -20
  379. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +0 -85
  380. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.d.ts +0 -34
  381. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +0 -430
  382. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.d.ts +0 -6
  383. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.js +0 -63
  384. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +0 -6
  385. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +0 -60
  386. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.d.ts +0 -9
  387. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.js +0 -71
  388. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +0 -44
  389. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +0 -357
  390. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +0 -33
  391. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  392. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.d.ts +0 -11
  393. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +0 -754
  394. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +0 -35
  395. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.js +0 -93
  396. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.d.ts +0 -4
  397. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.js +0 -128
  398. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +0 -78
  399. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.js +0 -1
  400. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +0 -16
  401. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +0 -69
  402. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.d.ts +0 -12
  403. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.js +0 -95
  404. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +0 -3
  405. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +0 -85
  406. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.d.ts +0 -10
  407. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.js +0 -6
  408. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.d.ts +0 -6
  409. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.js +0 -109
  410. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.d.ts +0 -12
  411. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.js +0 -73
  412. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +0 -24
  413. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.js +0 -1
  414. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.d.ts +0 -45
  415. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.js +0 -258
  416. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.d.ts +0 -21
  417. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +0 -124
  418. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.d.ts +0 -53
  419. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.js +0 -219
  420. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.d.ts +0 -10
  421. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.js +0 -52
  422. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +0 -31
  423. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +0 -134
  424. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.d.ts +0 -3
  425. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.js +0 -51
  426. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +0 -3
  427. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +0 -423
  428. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +0 -25
  429. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +0 -130
  430. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-BLMf2Etg.js +0 -73
  431. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CYTpqItx.css +0 -1
  432. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +0 -3
  433. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +0 -28
  434. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +0 -32
  435. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +0 -165
  436. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.d.ts +0 -44
  437. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.js +0 -207
  438. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.d.ts +0 -70
  439. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.js +0 -16
  440. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.d.ts +0 -20
  441. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +0 -154
  442. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.d.ts +0 -4
  443. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.js +0 -21
  444. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +0 -45
  445. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +0 -417
  446. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.d.ts +0 -62
  447. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.js +0 -389
  448. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +0 -7
  449. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +0 -39
  450. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.d.ts +0 -3
  451. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.js +0 -80
  452. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.d.ts +0 -3
  453. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.js +0 -9
  454. package/node_modules/@types/debug/LICENSE +0 -21
  455. package/node_modules/@types/debug/README.md +0 -69
  456. package/node_modules/@types/debug/index.d.ts +0 -50
  457. package/node_modules/@types/debug/package.json +0 -58
  458. package/node_modules/@types/mdast/LICENSE +0 -21
  459. package/node_modules/@types/mdast/README.md +0 -15
  460. package/node_modules/@types/mdast/index.d.ts +0 -1123
  461. package/node_modules/@types/mdast/package.json +0 -47
  462. package/node_modules/@types/ms/LICENSE +0 -21
  463. package/node_modules/@types/ms/README.md +0 -82
  464. package/node_modules/@types/ms/index.d.ts +0 -63
  465. package/node_modules/@types/ms/package.json +0 -26
  466. package/node_modules/@types/unist/LICENSE +0 -21
  467. package/node_modules/@types/unist/README.md +0 -15
  468. package/node_modules/@types/unist/index.d.ts +0 -119
  469. package/node_modules/@types/unist/package.json +0 -60
  470. package/node_modules/character-entities/index.d.ts +0 -6
  471. package/node_modules/character-entities/index.js +0 -2132
  472. package/node_modules/character-entities/license +0 -22
  473. package/node_modules/character-entities/package.json +0 -78
  474. package/node_modules/character-entities/readme.md +0 -152
  475. package/node_modules/debug/LICENSE +0 -20
  476. package/node_modules/debug/README.md +0 -481
  477. package/node_modules/debug/package.json +0 -64
  478. package/node_modules/debug/src/browser.js +0 -272
  479. package/node_modules/debug/src/common.js +0 -292
  480. package/node_modules/debug/src/index.js +0 -10
  481. package/node_modules/debug/src/node.js +0 -263
  482. package/node_modules/decode-named-character-reference/index.d.ts +0 -13
  483. package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
  484. package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
  485. package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
  486. package/node_modules/decode-named-character-reference/index.dom.js +0 -32
  487. package/node_modules/decode-named-character-reference/index.js +0 -19
  488. package/node_modules/decode-named-character-reference/license +0 -22
  489. package/node_modules/decode-named-character-reference/package.json +0 -90
  490. package/node_modules/decode-named-character-reference/readme.md +0 -136
  491. package/node_modules/dequal/dist/index.js +0 -86
  492. package/node_modules/dequal/dist/index.min.js +0 -1
  493. package/node_modules/dequal/dist/index.mjs +0 -84
  494. package/node_modules/dequal/index.d.ts +0 -1
  495. package/node_modules/dequal/license +0 -21
  496. package/node_modules/dequal/lite/index.d.ts +0 -1
  497. package/node_modules/dequal/lite/index.js +0 -31
  498. package/node_modules/dequal/lite/index.min.js +0 -1
  499. package/node_modules/dequal/lite/index.mjs +0 -29
  500. package/node_modules/dequal/package.json +0 -57
  501. package/node_modules/dequal/readme.md +0 -112
  502. package/node_modules/devlop/lib/default.js +0 -9
  503. package/node_modules/devlop/lib/development.d.ts +0 -84
  504. package/node_modules/devlop/lib/development.js +0 -238
  505. package/node_modules/devlop/license +0 -22
  506. package/node_modules/devlop/package.json +0 -80
  507. package/node_modules/devlop/readme.md +0 -360
  508. package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
  509. package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
  510. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
  511. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
  512. package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1455
  513. package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -321
  514. package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
  515. package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
  516. package/node_modules/mdast-util-from-markdown/index.js +0 -2
  517. package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
  518. package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
  519. package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1270
  520. package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -321
  521. package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
  522. package/node_modules/mdast-util-from-markdown/license +0 -22
  523. package/node_modules/mdast-util-from-markdown/package.json +0 -98
  524. package/node_modules/mdast-util-from-markdown/readme.md +0 -549
  525. package/node_modules/mdast-util-to-string/index.d.ts +0 -2
  526. package/node_modules/mdast-util-to-string/index.js +0 -5
  527. package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
  528. package/node_modules/mdast-util-to-string/lib/index.js +0 -108
  529. package/node_modules/mdast-util-to-string/license +0 -22
  530. package/node_modules/mdast-util-to-string/package.json +0 -78
  531. package/node_modules/mdast-util-to-string/readme.md +0 -218
  532. package/node_modules/micromark/dev/index.d.ts +0 -82
  533. package/node_modules/micromark/dev/index.d.ts.map +0 -1
  534. package/node_modules/micromark/dev/index.js +0 -68
  535. package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
  536. package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
  537. package/node_modules/micromark/dev/lib/compile.js +0 -1162
  538. package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
  539. package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
  540. package/node_modules/micromark/dev/lib/constructs.js +0 -101
  541. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
  542. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
  543. package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -718
  544. package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
  545. package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
  546. package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
  547. package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
  548. package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
  549. package/node_modules/micromark/dev/lib/initialize/document.js +0 -449
  550. package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
  551. package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
  552. package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
  553. package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
  554. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
  555. package/node_modules/micromark/dev/lib/initialize/text.js +0 -248
  556. package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
  557. package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
  558. package/node_modules/micromark/dev/lib/parse.js +0 -58
  559. package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
  560. package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
  561. package/node_modules/micromark/dev/lib/postprocess.js +0 -19
  562. package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
  563. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
  564. package/node_modules/micromark/dev/lib/preprocess.js +0 -139
  565. package/node_modules/micromark/dev/stream.d.ts +0 -35
  566. package/node_modules/micromark/dev/stream.d.ts.map +0 -1
  567. package/node_modules/micromark/dev/stream.js +0 -270
  568. package/node_modules/micromark/index.d.ts +0 -82
  569. package/node_modules/micromark/index.d.ts.map +0 -1
  570. package/node_modules/micromark/index.js +0 -60
  571. package/node_modules/micromark/lib/compile.d.ts +0 -16
  572. package/node_modules/micromark/lib/compile.d.ts.map +0 -1
  573. package/node_modules/micromark/lib/compile.js +0 -1068
  574. package/node_modules/micromark/lib/constructs.d.ts +0 -73
  575. package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
  576. package/node_modules/micromark/lib/constructs.js +0 -85
  577. package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
  578. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
  579. package/node_modules/micromark/lib/create-tokenizer.js +0 -613
  580. package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
  581. package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
  582. package/node_modules/micromark/lib/initialize/content.js +0 -79
  583. package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
  584. package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
  585. package/node_modules/micromark/lib/initialize/document.js +0 -370
  586. package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
  587. package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
  588. package/node_modules/micromark/lib/initialize/flow.js +0 -58
  589. package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
  590. package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
  591. package/node_modules/micromark/lib/initialize/text.js +0 -216
  592. package/node_modules/micromark/lib/parse.d.ts +0 -10
  593. package/node_modules/micromark/lib/parse.d.ts.map +0 -1
  594. package/node_modules/micromark/lib/parse.js +0 -56
  595. package/node_modules/micromark/lib/postprocess.d.ts +0 -9
  596. package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
  597. package/node_modules/micromark/lib/postprocess.js +0 -18
  598. package/node_modules/micromark/lib/preprocess.d.ts +0 -13
  599. package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
  600. package/node_modules/micromark/lib/preprocess.js +0 -112
  601. package/node_modules/micromark/license +0 -22
  602. package/node_modules/micromark/package.json +0 -87
  603. package/node_modules/micromark/readme.md +0 -488
  604. package/node_modules/micromark/stream.d.ts +0 -35
  605. package/node_modules/micromark/stream.d.ts.map +0 -1
  606. package/node_modules/micromark/stream.js +0 -256
  607. package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
  608. package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
  609. package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
  610. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
  611. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
  612. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -294
  613. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
  614. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
  615. package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
  616. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
  617. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
  618. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
  619. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
  620. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
  621. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
  622. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
  623. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
  624. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
  625. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
  626. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
  627. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
  628. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
  629. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
  630. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -472
  631. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
  632. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
  633. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -178
  634. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
  635. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
  636. package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
  637. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
  638. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
  639. package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
  640. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
  641. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
  642. package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
  643. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
  644. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
  645. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
  646. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
  647. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
  648. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -229
  649. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
  650. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
  651. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -938
  652. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
  653. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
  654. package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
  655. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
  656. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
  657. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -658
  658. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
  659. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
  660. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -119
  661. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
  662. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
  663. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -71
  664. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
  665. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
  666. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
  667. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
  668. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
  669. package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
  670. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +0 -4
  671. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  672. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +0 -67
  673. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
  674. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
  675. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -213
  676. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
  677. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
  678. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
  679. package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
  680. package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
  681. package/node_modules/micromark-core-commonmark/index.js +0 -22
  682. package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
  683. package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
  684. package/node_modules/micromark-core-commonmark/lib/attention.js +0 -231
  685. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
  686. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
  687. package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
  688. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
  689. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
  690. package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
  691. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
  692. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
  693. package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
  694. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
  695. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
  696. package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
  697. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
  698. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
  699. package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
  700. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
  701. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
  702. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -422
  703. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
  704. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
  705. package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -159
  706. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
  707. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
  708. package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
  709. package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
  710. package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
  711. package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
  712. package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
  713. package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
  714. package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
  715. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
  716. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
  717. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
  718. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
  719. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
  720. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -191
  721. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
  722. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
  723. package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -827
  724. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
  725. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
  726. package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
  727. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
  728. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
  729. package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -561
  730. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
  731. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
  732. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -110
  733. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
  734. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
  735. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -63
  736. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
  737. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
  738. package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
  739. package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
  740. package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
  741. package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
  742. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +0 -4
  743. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  744. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +0 -61
  745. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
  746. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
  747. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -187
  748. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
  749. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
  750. package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
  751. package/node_modules/micromark-core-commonmark/license +0 -22
  752. package/node_modules/micromark-core-commonmark/package.json +0 -62
  753. package/node_modules/micromark-core-commonmark/readme.md +0 -171
  754. package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
  755. package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
  756. package/node_modules/micromark-factory-destination/dev/index.js +0 -255
  757. package/node_modules/micromark-factory-destination/index.d.ts +0 -42
  758. package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
  759. package/node_modules/micromark-factory-destination/index.js +0 -206
  760. package/node_modules/micromark-factory-destination/license +0 -22
  761. package/node_modules/micromark-factory-destination/package.json +0 -57
  762. package/node_modules/micromark-factory-destination/readme.md +0 -234
  763. package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
  764. package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
  765. package/node_modules/micromark-factory-label/dev/index.js +0 -172
  766. package/node_modules/micromark-factory-label/index.d.ts +0 -37
  767. package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
  768. package/node_modules/micromark-factory-label/index.js +0 -148
  769. package/node_modules/micromark-factory-label/license +0 -22
  770. package/node_modules/micromark-factory-label/package.json +0 -60
  771. package/node_modules/micromark-factory-label/readme.md +0 -224
  772. package/node_modules/micromark-factory-space/dev/index.d.ts +0 -60
  773. package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
  774. package/node_modules/micromark-factory-space/dev/index.js +0 -122
  775. package/node_modules/micromark-factory-space/index.d.ts +0 -60
  776. package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
  777. package/node_modules/micromark-factory-space/index.js +0 -116
  778. package/node_modules/micromark-factory-space/license +0 -22
  779. package/node_modules/micromark-factory-space/package.json +0 -46
  780. package/node_modules/micromark-factory-space/readme.md +0 -225
  781. package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
  782. package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
  783. package/node_modules/micromark-factory-title/dev/index.js +0 -169
  784. package/node_modules/micromark-factory-title/index.d.ts +0 -36
  785. package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
  786. package/node_modules/micromark-factory-title/index.js +0 -158
  787. package/node_modules/micromark-factory-title/license +0 -22
  788. package/node_modules/micromark-factory-title/package.json +0 -58
  789. package/node_modules/micromark-factory-title/readme.md +0 -229
  790. package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
  791. package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
  792. package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
  793. package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
  794. package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
  795. package/node_modules/micromark-factory-whitespace/index.js +0 -44
  796. package/node_modules/micromark-factory-whitespace/license +0 -22
  797. package/node_modules/micromark-factory-whitespace/package.json +0 -57
  798. package/node_modules/micromark-factory-whitespace/readme.md +0 -205
  799. package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
  800. package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
  801. package/node_modules/micromark-util-character/dev/index.js +0 -252
  802. package/node_modules/micromark-util-character/index.d.ts +0 -195
  803. package/node_modules/micromark-util-character/index.d.ts.map +0 -1
  804. package/node_modules/micromark-util-character/index.js +0 -246
  805. package/node_modules/micromark-util-character/license +0 -22
  806. package/node_modules/micromark-util-character/package.json +0 -57
  807. package/node_modules/micromark-util-character/readme.md +0 -446
  808. package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
  809. package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
  810. package/node_modules/micromark-util-chunked/dev/index.js +0 -89
  811. package/node_modules/micromark-util-chunked/index.d.ts +0 -41
  812. package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
  813. package/node_modules/micromark-util-chunked/index.js +0 -81
  814. package/node_modules/micromark-util-chunked/license +0 -22
  815. package/node_modules/micromark-util-chunked/package.json +0 -57
  816. package/node_modules/micromark-util-chunked/readme.md +0 -219
  817. package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
  818. package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
  819. package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
  820. package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
  821. package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
  822. package/node_modules/micromark-util-classify-character/index.js +0 -27
  823. package/node_modules/micromark-util-classify-character/license +0 -22
  824. package/node_modules/micromark-util-classify-character/package.json +0 -59
  825. package/node_modules/micromark-util-classify-character/readme.md +0 -205
  826. package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
  827. package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
  828. package/node_modules/micromark-util-combine-extensions/index.js +0 -143
  829. package/node_modules/micromark-util-combine-extensions/license +0 -22
  830. package/node_modules/micromark-util-combine-extensions/package.json +0 -52
  831. package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
  832. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
  833. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
  834. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
  835. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
  836. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
  837. package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
  838. package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
  839. package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
  840. package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
  841. package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
  842. package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
  843. package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
  844. package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
  845. package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
  846. package/node_modules/micromark-util-decode-string/index.js +0 -45
  847. package/node_modules/micromark-util-decode-string/license +0 -22
  848. package/node_modules/micromark-util-decode-string/package.json +0 -63
  849. package/node_modules/micromark-util-decode-string/readme.md +0 -179
  850. package/node_modules/micromark-util-edit-map/dev/index.d.ts +0 -78
  851. package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +0 -1
  852. package/node_modules/micromark-util-edit-map/dev/index.js +0 -237
  853. package/node_modules/micromark-util-edit-map/index.d.ts +0 -78
  854. package/node_modules/micromark-util-edit-map/index.d.ts.map +0 -1
  855. package/node_modules/micromark-util-edit-map/index.js +0 -225
  856. package/node_modules/micromark-util-edit-map/license +0 -22
  857. package/node_modules/micromark-util-edit-map/package.json +0 -48
  858. package/node_modules/micromark-util-edit-map/readme.md +0 -234
  859. package/node_modules/micromark-util-encode/index.d.ts +0 -14
  860. package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
  861. package/node_modules/micromark-util-encode/index.js +0 -33
  862. package/node_modules/micromark-util-encode/license +0 -22
  863. package/node_modules/micromark-util-encode/package.json +0 -47
  864. package/node_modules/micromark-util-encode/readme.md +0 -176
  865. package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
  866. package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
  867. package/node_modules/micromark-util-html-tag-name/index.js +0 -93
  868. package/node_modules/micromark-util-html-tag-name/license +0 -22
  869. package/node_modules/micromark-util-html-tag-name/package.json +0 -47
  870. package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
  871. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
  872. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
  873. package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
  874. package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
  875. package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
  876. package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
  877. package/node_modules/micromark-util-normalize-identifier/license +0 -22
  878. package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
  879. package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
  880. package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
  881. package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
  882. package/node_modules/micromark-util-resolve-all/index.js +0 -32
  883. package/node_modules/micromark-util-resolve-all/license +0 -22
  884. package/node_modules/micromark-util-resolve-all/package.json +0 -48
  885. package/node_modules/micromark-util-resolve-all/readme.md +0 -238
  886. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
  887. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
  888. package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
  889. package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
  890. package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
  891. package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
  892. package/node_modules/micromark-util-sanitize-uri/license +0 -22
  893. package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
  894. package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
  895. package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
  896. package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
  897. package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
  898. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
  899. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
  900. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
  901. package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
  902. package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
  903. package/node_modules/micromark-util-subtokenize/index.js +0 -228
  904. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
  905. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
  906. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
  907. package/node_modules/micromark-util-subtokenize/license +0 -22
  908. package/node_modules/micromark-util-subtokenize/package.json +0 -60
  909. package/node_modules/micromark-util-subtokenize/readme.md +0 -181
  910. package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
  911. package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
  912. package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
  913. package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
  914. package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
  915. package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
  916. package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
  917. package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
  918. package/node_modules/micromark-util-symbol/lib/default.js +0 -4
  919. package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
  920. package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
  921. package/node_modules/micromark-util-symbol/lib/types.js +0 -453
  922. package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
  923. package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
  924. package/node_modules/micromark-util-symbol/lib/values.js +0 -109
  925. package/node_modules/micromark-util-symbol/license +0 -22
  926. package/node_modules/micromark-util-symbol/package.json +0 -43
  927. package/node_modules/micromark-util-symbol/readme.md +0 -168
  928. package/node_modules/micromark-util-types/index.d.ts +0 -1315
  929. package/node_modules/micromark-util-types/index.js +0 -2
  930. package/node_modules/micromark-util-types/license +0 -22
  931. package/node_modules/micromark-util-types/package.json +0 -37
  932. package/node_modules/micromark-util-types/readme.md +0 -151
  933. package/node_modules/ms/index.js +0 -162
  934. package/node_modules/ms/license.md +0 -21
  935. package/node_modules/ms/package.json +0 -38
  936. package/node_modules/ms/readme.md +0 -59
  937. package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
  938. package/node_modules/unist-util-stringify-position/index.js +0 -1
  939. package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
  940. package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
  941. package/node_modules/unist-util-stringify-position/license +0 -22
  942. package/node_modules/unist-util-stringify-position/package.json +0 -80
  943. package/node_modules/unist-util-stringify-position/readme.md +0 -206
  944. package/packages/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  945. package/packages/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  946. package/packages/octo-runtime-extra-webui/config-schema.json +0 -134
@@ -1,1315 +0,0 @@
1
- // Note: this file is authored manually, not generated from `index.js`.
2
-
3
- /**
4
- * A character code.
5
- *
6
- * This is often the same as what `String#charCodeAt()` yields but micromark
7
- * adds meaning to certain other values.
8
- *
9
- * `null` represents the end of the input stream (called eof).
10
- * Negative integers are used instead of certain sequences of characters (such
11
- * as line endings and tabs).
12
- */
13
- export type Code = number | null
14
-
15
- /**
16
- * A chunk is either a character code or a slice of a buffer in the form of a
17
- * string.
18
- *
19
- * Chunks are used because strings are more efficient storage that character
20
- * codes, but limited in what they can represent.
21
- */
22
- export type Chunk = Code | string
23
-
24
- /**
25
- * Enumeration of the content types.
26
- *
27
- * Technically `document` is also a content type, which includes containers
28
- * (lists, block quotes) and flow.
29
- * As `ContentType` is used on tokens to define the type of subcontent but
30
- * `document` is the highest level of content, so it’s not listed here.
31
- *
32
- * Containers in markdown come from the margin and include more constructs
33
- * on the lines that define them.
34
- * Take for example a block quote with a paragraph inside it (such as
35
- * `> asd`).
36
- *
37
- * `flow` represents the sections, such as headings, code, and content, which
38
- * is also parsed per line
39
- * An example is HTML, which has a certain starting condition (such as
40
- * `<script>` on its own line), then continues for a while, until an end
41
- * condition is found (such as `</style>`).
42
- * If that line with an end condition is never found, that flow goes until
43
- * the end.
44
- *
45
- * `content` is zero or more definitions, and then zero or one paragraph.
46
- * It’s a weird one, and needed to make certain edge cases around definitions
47
- * spec compliant.
48
- * Definitions are unlike other things in markdown, in that they behave like
49
- * `text` in that they can contain arbitrary line endings, but *have* to end
50
- * at a line ending.
51
- * If they end in something else, the whole definition instead is seen as a
52
- * paragraph.
53
- *
54
- * The content in markdown first needs to be parsed up to this level to
55
- * figure out which things are defined, for the whole document, before
56
- * continuing on with `text`, as whether a link or image reference forms or
57
- * not depends on whether it’s defined.
58
- * This unfortunately prevents a true streaming markdown to HTML compiler.
59
- *
60
- * `text` contains phrasing content such as attention (emphasis, strong),
61
- * media (links, images), and actual text.
62
- *
63
- * `string` is a limited `text` like content type which only allows character
64
- * references and character escapes.
65
- * It exists in things such as identifiers (media references, definitions),
66
- * titles, or URLs.
67
- */
68
- export type ContentType = 'content' | 'document' | 'flow' | 'string' | 'text'
69
-
70
- /**
71
- * A location in the document (`line`/`column`/`offset`) and chunk (`_index`,
72
- * `_bufferIndex`).
73
- *
74
- * `_bufferIndex` is `-1` when `_index` points to a code chunk and it’s a
75
- * non-negative integer when pointing to a string chunk.
76
- *
77
- * The interface for the location in the document comes from unist `Point`:
78
- * <https://github.com/syntax-tree/unist#point>
79
- */
80
- export interface Point {
81
- /**
82
- * Position in a string chunk (or `-1` when pointing to a numeric chunk).
83
- */
84
- _bufferIndex: number
85
-
86
- /**
87
- * Position in a list of chunks.
88
- */
89
- _index: number
90
-
91
- /**
92
- * 1-indexed column number.
93
- */
94
- column: number
95
-
96
- /**
97
- * 1-indexed line number.
98
- */
99
- line: number
100
-
101
- /**
102
- * 0-indexed position in the document.
103
- */
104
- offset: number
105
- }
106
-
107
- /**
108
- * A token: a span of chunks.
109
- *
110
- * Tokens are what the core of micromark produces: the built in HTML compiler
111
- * or other tools can turn them into different things.
112
- *
113
- * Tokens are essentially names attached to a slice of chunks, such as
114
- * `lineEndingBlank` for certain line endings, or `codeFenced` for a whole
115
- * fenced code.
116
- *
117
- * Sometimes, more info is attached to tokens, such as `_open` and `_close`
118
- * by `attention` (strong, emphasis) to signal whether the sequence can open
119
- * or close an attention run.
120
- *
121
- * Linked tokens are used because outer constructs are parsed first.
122
- * Take for example:
123
- *
124
- * ```markdown
125
- * > *a
126
- * b*.
127
- * ```
128
- *
129
- * 1. The block quote marker and the space after it is parsed first
130
- * 2. The rest of the line is a `chunkFlow` token
131
- * 3. The two spaces on the second line are a `linePrefix`
132
- * 4. The rest of the line is another `chunkFlow` token
133
- *
134
- * The two `chunkFlow` tokens are linked together.
135
- * The chunks they span are then passed through the flow tokenizer.
136
- */
137
- export interface Token {
138
- /**
139
- * Token type.
140
- */
141
- type: TokenType
142
-
143
- /**
144
- * Point where the token starts.
145
- */
146
- start: Point
147
-
148
- /**
149
- * Point where the token ends.
150
- */
151
- end: Point
152
-
153
- /**
154
- * The previous token in a list of linked tokens.
155
- */
156
- previous?: Token | undefined
157
-
158
- /**
159
- * The next token in a list of linked tokens.
160
- */
161
- next?: Token | undefined
162
-
163
- /**
164
- * Declares a token as having content of a certain type.
165
- */
166
- contentType?: ContentType | undefined
167
-
168
- /**
169
- * Declares that trailing whitespace is sensitive,
170
- * is allowed,
171
- * when `contentType` is `text` (or `string`).
172
- * Normally,
173
- * trailing spaces and tabs are dropped.
174
- */
175
- _contentTypeTextTrailing?: boolean | undefined
176
-
177
- /**
178
- * Connected tokenizer.
179
- *
180
- * Used when dealing with linked tokens.
181
- * A child tokenizer is needed to tokenize them, which is stored on those
182
- * tokens.
183
- */
184
- _tokenizer?: TokenizeContext | undefined
185
-
186
- /**
187
- * Field to help parse attention.
188
- *
189
- * Depending on the character before sequences (`**`), the sequence can open,
190
- * close, both, or none.
191
- */
192
- _open?: boolean | undefined
193
-
194
- /**
195
- * Field to help parse attention.
196
- *
197
- * Depending on the character before sequences (`**`), the sequence can open,
198
- * close, both, or none.
199
- */
200
- _close?: boolean | undefined
201
-
202
- /**
203
- * Field to help parse GFM task lists.
204
- *
205
- * This boolean is used internally to figure out if a token is in the first
206
- * content of a list item construct.
207
- */
208
- _isInFirstContentOfListItem?: boolean | undefined
209
-
210
- /**
211
- * Field to help parse containers.
212
- *
213
- * This boolean is used internally to figure out if a token is a container
214
- * token.
215
- */
216
- _container?: boolean | undefined
217
-
218
- /**
219
- * Field to help parse lists.
220
- *
221
- * This boolean is used internally to figure out if a list is loose or not.
222
- */
223
- _loose?: boolean | undefined
224
-
225
- /**
226
- * Field to help parse links.
227
- *
228
- * This boolean is used internally to figure out if a link opening
229
- * can’t be used (because links in links are incorrect).
230
- */
231
- _inactive?: boolean | undefined
232
-
233
- /**
234
- * Field to help parse links.
235
- *
236
- * This boolean is used internally to figure out if a link opening is
237
- * balanced: it’s not a link opening but has a balanced closing.
238
- */
239
- _balanced?: boolean | undefined
240
- }
241
-
242
- /**
243
- * The start or end of a token amongst other events.
244
- *
245
- * Tokens can “contain” other tokens, even though they are stored in a flat
246
- * list, through `enter`ing before them, and `exit`ing after them.
247
- */
248
- export type Event = ['enter' | 'exit', Token, TokenizeContext]
249
-
250
- /**
251
- * Open a token.
252
- *
253
- * @param type
254
- * Token type.
255
- * @param fields
256
- * Extra fields.
257
- * @returns {Token}
258
- * Token.
259
- */
260
- export type Enter = (
261
- type: TokenType,
262
- fields?: Omit<Partial<Token>, 'type'> | undefined
263
- ) => Token
264
-
265
- /**
266
- * Close a token.
267
- *
268
- * @param type
269
- * Token type.
270
- * @returns
271
- * Token.
272
- */
273
- export type Exit = (type: TokenType) => Token
274
-
275
- /**
276
- * Deal with the character and move to the next.
277
- *
278
- * @param code
279
- * Current code.
280
- */
281
- export type Consume = (code: Code) => undefined
282
-
283
- /**
284
- * Attempt deals with several values, and tries to parse according to those
285
- * values.
286
- *
287
- * If a value resulted in `ok`, it worked, the tokens that were made are used,
288
- * and `ok` is switched to.
289
- * If the result is `nok`, the attempt failed, so we revert to the original
290
- * state, and `nok` is used.
291
- *
292
- * @param construct
293
- * Construct(s) to try.
294
- * @param ok
295
- * State to move to when successful.
296
- * @param nok
297
- * State to move to when unsuccessful.
298
- * @returns
299
- * Next state.
300
- */
301
- export type Attempt = (
302
- construct: Array<Construct> | ConstructRecord | Construct,
303
- ok: State,
304
- nok?: State | undefined
305
- ) => State
306
-
307
- /**
308
- * A context object to transition the state machine.
309
- */
310
- export interface Effects {
311
- /**
312
- * Try to tokenize a construct.
313
- */
314
- attempt: Attempt
315
-
316
- /**
317
- * Attempt, then revert.
318
- */
319
- check: Attempt
320
-
321
- /**
322
- * Deal with the character and move to the next.
323
- */
324
- consume: Consume
325
-
326
- /**
327
- * Start a new token.
328
- */
329
- enter: Enter
330
-
331
- /**
332
- * End a started token.
333
- */
334
- exit: Exit
335
-
336
- /**
337
- * Interrupt is used for stuff right after a line of content.
338
- */
339
- interrupt: Attempt
340
- }
341
-
342
- /**
343
- * The main unit in the state machine: a function that gets a character code
344
- * and has certain effects.
345
- *
346
- * A state function should return another function: the next
347
- * state-as-a-function to go to.
348
- *
349
- * But there is one case where they return `undefined`: for the eof character
350
- * code (at the end of a value).
351
- * The reason being: well, there isn’t any state that makes sense, so
352
- * `undefined` works well.
353
- * Practically that has also helped: if for some reason it was a mistake, then
354
- * an exception is throw because there is no next function, meaning it
355
- * surfaces early.
356
- *
357
- * @param code
358
- * Current code.
359
- * @returns
360
- * Next state.
361
- */
362
- export type State = (code: Code) => State | undefined
363
-
364
- /**
365
- * A resolver handles and cleans events coming from `tokenize`.
366
- *
367
- * @param events
368
- * List of events.
369
- * @param context
370
- * Tokenize context.
371
- * @returns
372
- * The given, modified, events.
373
- */
374
- export type Resolver = (
375
- events: Array<Event>,
376
- context: TokenizeContext
377
- ) => Array<Event>
378
-
379
- /**
380
- * A tokenize function sets up a state machine to handle character codes streaming in.
381
- *
382
- * @param this
383
- * Tokenize context.
384
- * @param effects
385
- * Effects.
386
- * @param ok
387
- * State to go to when successful.
388
- * @param nok
389
- * State to go to when unsuccessful.
390
- * @returns
391
- * First state.
392
- */
393
- export type Tokenizer = (
394
- this: TokenizeContext,
395
- effects: Effects,
396
- ok: State,
397
- nok: State
398
- ) => State
399
-
400
- /**
401
- * Like a tokenizer, but without `ok` or `nok`.
402
- *
403
- * @param this
404
- * Tokenize context.
405
- * @param effects
406
- * Effects.
407
- * @returns
408
- * First state.
409
- */
410
- export type Initializer = (this: TokenizeContext, effects: Effects) => State
411
-
412
- /**
413
- * Like a tokenizer, but without `ok` or `nok`, and returning `undefined`.
414
- *
415
- * This is the final hook when a container must be closed.
416
- *
417
- * @param this
418
- * Tokenize context.
419
- * @param effects
420
- * Effects.
421
- * @returns
422
- * Nothing.
423
- */
424
- export type Exiter = (this: TokenizeContext, effects: Effects) => undefined
425
-
426
- /**
427
- * Guard whether `code` can come before the construct.
428
- *
429
- * In certain cases a construct can hook into many potential start characters.
430
- * Instead of setting up an attempt to parse that construct for most
431
- * characters, this is a speedy way to reduce that.
432
- *
433
- * @param this
434
- * Tokenize context.
435
- * @param code
436
- * Previous code.
437
- * @returns
438
- * Whether `code` is allowed before.
439
- */
440
- export type Previous = (this: TokenizeContext, code: Code) => boolean
441
-
442
- /**
443
- * An object describing how to parse a markdown construct.
444
- */
445
- export interface Construct {
446
- /**
447
- * Whether the construct, when in a `ConstructRecord`, precedes over existing
448
- * constructs for the same character code when merged.
449
- *
450
- * The default is that new constructs precede over existing ones.
451
- */
452
- add?: 'after' | 'before' | undefined
453
-
454
- /**
455
- * Concrete constructs cannot be interrupted by more containers.
456
- *
457
- * For example, when parsing the document (containers, such as block quotes
458
- * and lists) and this construct is parsing fenced code:
459
- *
460
- * ````markdown
461
- * > ```js
462
- * > - list?
463
- * ````
464
- *
465
- * …then `- list?` cannot form if this fenced code construct is concrete.
466
- *
467
- * An example of a construct that is not concrete is a GFM table:
468
- *
469
- * ````markdown
470
- * | a |
471
- * | - |
472
- * > | b |
473
- * ````
474
- *
475
- * …`b` is not part of the table.
476
- */
477
- concrete?: boolean | undefined
478
-
479
- /**
480
- * For containers, a continuation construct.
481
- */
482
- continuation?: Construct | undefined
483
-
484
- /**
485
- * For containers, a final hook.
486
- */
487
- exit?: Exiter | undefined
488
-
489
- /**
490
- * Name of the construct, used to toggle constructs off.
491
- *
492
- * Named constructs must not be `partial`.
493
- */
494
- name?: string | undefined
495
-
496
- /**
497
- * Whether this construct represents a partial construct.
498
- *
499
- * Partial constructs must not have a `name`.
500
- */
501
- partial?: boolean | undefined
502
-
503
- /**
504
- * Guard whether the previous character can come before the construct.
505
- */
506
- previous?: Previous | undefined
507
-
508
- /**
509
- * Resolve all events when the content is complete, from the start to the end.
510
- * Only used if `tokenize` is successful once in the content.
511
- *
512
- * For example, if we’re currently parsing a link title and this construct
513
- * parses character references, then `resolveAll` is called *if* at least one
514
- * character reference is found, ranging from the start to the end of the link
515
- * title to the end.
516
- */
517
- resolveAll?: Resolver | undefined
518
-
519
- /**
520
- * Resolve the events from the start of the content (which includes other
521
- * constructs) to the last one parsed by `tokenize`.
522
- *
523
- * For example, if we’re currently parsing a link title and this construct
524
- * parses character references, then `resolveTo` is called with the events
525
- * ranging from the start of the link title to the end of a character
526
- * reference each time one is found.
527
- */
528
- resolveTo?: Resolver | undefined
529
-
530
- /**
531
- * Resolve the events parsed by `tokenize`.
532
- *
533
- * For example, if we’re currently parsing a link title and this construct
534
- * parses character references, then `resolve` is called with the events
535
- * ranging from the start to the end of a character reference each time one is
536
- * found.
537
- */
538
- resolve?: Resolver | undefined
539
-
540
- /**
541
- * Set up a state machine to handle character codes streaming in.
542
- */
543
- tokenize: Tokenizer
544
- }
545
-
546
- /**
547
- * Like a construct, but `tokenize` does not accept `ok` or `nok`.
548
- */
549
- export interface InitialConstruct extends Omit<Construct, 'tokenize'> {
550
- tokenize: Initializer
551
- }
552
-
553
- /**
554
- * Several constructs, mapped from their initial codes.
555
- */
556
- export type ConstructRecord = Record<
557
- string,
558
- Array<Construct> | Construct | undefined
559
- >
560
-
561
- /**
562
- * State shared between container calls.
563
- */
564
- export interface ContainerState {
565
- /**
566
- * Special field to close the current flow (or containers).
567
- */
568
- _closeFlow?: boolean | undefined
569
-
570
- /**
571
- * Whether there are further blank lines, used by lists.
572
- */
573
- furtherBlankLines?: boolean | undefined
574
-
575
- /**
576
- * Whether there first line is blank, used by lists.
577
- */
578
- initialBlankLine?: boolean | undefined
579
-
580
- /**
581
- * Current marker, used by lists.
582
- */
583
- marker?: Code | undefined
584
-
585
- /**
586
- * Used by block quotes.
587
- */
588
- open?: boolean | undefined
589
-
590
- /**
591
- * Current size, used by lists.
592
- */
593
- size?: number | undefined
594
-
595
- /**
596
- * Current token type, used by lists.
597
- */
598
- type?: TokenType | undefined
599
- }
600
-
601
- /**
602
- * A context object that helps w/ tokenizing markdown constructs.
603
- */
604
- export interface TokenizeContext {
605
- // To do: next major: remove `_gfmTableDynamicInterruptHack` (no longer
606
- // needed in micromark-extension-gfm-table@1.0.6).
607
- /**
608
- * Internal boolean shared with `micromark-extension-gfm-table` whose body
609
- * rows are not affected by normal interruption rules.
610
- * “Normal” rules are, for example, that an empty list item can’t interrupt:
611
- *
612
- * ````markdown
613
- * a
614
- * *
615
- * ````
616
- *
617
- * The above is one paragraph.
618
- * These rules don’t apply to table body rows:
619
- *
620
- * ````markdown
621
- * | a |
622
- * | - |
623
- * *
624
- * ````
625
- *
626
- * The above list interrupts the table.
627
- */
628
- _gfmTableDynamicInterruptHack?: boolean
629
-
630
- /**
631
- * Internal boolean shared with `micromark-extension-gfm-task-list-item` to
632
- * signal whether the tokenizer is tokenizing the first content of a list item
633
- * construct.
634
- */
635
- _gfmTasklistFirstContentOfListItem?: boolean | undefined
636
-
637
- /**
638
- * Declares that trailing whitespace is sensitive,
639
- * is allowed,
640
- * when tokenizing `text` (or `string`).
641
- * Normally,
642
- * trailing spaces and tabs are dropped.
643
- */
644
- _contentTypeTextTrailing?: boolean | undefined
645
-
646
- /**
647
- * Stack of label start tokens that can still close.
648
- */
649
- _labelStarts?: Array<Token> | undefined
650
-
651
- /**
652
- * Current code.
653
- */
654
- code: Code
655
-
656
- /**
657
- * Share state set when parsing containers.
658
- *
659
- * Containers are parsed in separate phases: their first line (`tokenize`),
660
- * continued lines (`continuation.tokenize`), and finally `exit`.
661
- * This record can be used to store some information between these hooks.
662
- */
663
- containerState?: ContainerState | undefined
664
-
665
- /**
666
- * The current construct.
667
- *
668
- * Constructs that are not `partial` are set here.
669
- */
670
- currentConstruct?: Construct | undefined
671
-
672
- /**
673
- * Current list of events.
674
- */
675
- events: Array<Event>
676
-
677
- /**
678
- * Whether we’re currently interrupting.
679
- *
680
- * Take for example:
681
- *
682
- * ```markdown
683
- * a
684
- * # b
685
- * ```
686
- *
687
- * At 2:1, we’re “interrupting”.
688
- */
689
- interrupt?: boolean | undefined
690
-
691
- /**
692
- * The relevant parsing context.
693
- */
694
- parser: ParseContext
695
-
696
- /**
697
- * The previous code.
698
- */
699
- previous: Code
700
-
701
- /**
702
- * Define a skip
703
- *
704
- * As containers (block quotes, lists), “nibble” a prefix from the margins,
705
- * where a line starts after that prefix is defined here.
706
- * When the tokenizers moves after consuming a line ending corresponding to
707
- * the line number in the given point, the tokenizer shifts past the prefix
708
- * based on the column in the shifted point.
709
- *
710
- * @param point
711
- * Skip.
712
- * @returns
713
- * Nothing.
714
- */
715
- defineSkip(point: Point): undefined
716
-
717
- /**
718
- * Get the current place.
719
- *
720
- * @returns
721
- * Current point.
722
- */
723
- now(): Point
724
-
725
- /**
726
- * Get the source text that spans a token (or location).
727
- *
728
- * @param token
729
- * Start/end in stream.
730
- * @param expandTabs
731
- * Whether to expand tabs.
732
- * @returns
733
- * Serialized chunks.
734
- */
735
- sliceSerialize(
736
- token: Pick<Token, 'end' | 'start'>,
737
- expandTabs?: boolean | undefined
738
- ): string
739
-
740
- /**
741
- * Get the chunks that span a token (or location).
742
- *
743
- * @param token
744
- * Start/end in stream.
745
- * @returns
746
- * List of chunks.
747
- */
748
- sliceStream(token: Pick<Token, 'end' | 'start'>): Array<Chunk>
749
-
750
- /**
751
- * Write a slice of chunks.
752
- *
753
- * The eof code (`null`) can be used to signal the end of the stream.
754
- *
755
- * @param slice
756
- * Chunks.
757
- * @returns
758
- * Events.
759
- */
760
- write(slice: Array<Chunk>): Array<Event>
761
- }
762
-
763
- /**
764
- * Encodings supported by `TextEncoder`.
765
- *
766
- * Arbitrary encodings can be supported depending on how the engine is built.
767
- * So any string *could* be valid.
768
- * But you probably want `utf-8`.
769
- */
770
- export type Encoding =
771
- // Encodings supported in Node by default or when built with the small-icu option.
772
- // Does not include aliases.
773
- | 'utf-8' // Always supported in Node.
774
- | 'utf-16le' // Always supported in Node.
775
- | 'utf-16be' // Not supported when ICU is disabled.
776
- // Everything else (depends on browser, or full ICU data).
777
- | (string & {})
778
-
779
- /**
780
- * Contents of the file.
781
- *
782
- * Can either be text, or a `Uint8Array` like structure.
783
- */
784
- export type Value = Uint8Array | string
785
-
786
- /**
787
- * A syntax extension changes how markdown is tokenized.
788
- *
789
- * See: <https://github.com/micromark/micromark#syntaxextension>
790
- */
791
- export interface Extension {
792
- attentionMarkers?: {null?: Array<Code> | undefined} | undefined
793
- contentInitial?: ConstructRecord | undefined
794
- disable?: {null?: Array<string> | undefined} | undefined
795
- document?: ConstructRecord | undefined
796
- flowInitial?: ConstructRecord | undefined
797
- flow?: ConstructRecord | undefined
798
- insideSpan?:
799
- {null?: Array<Pick<Construct, 'resolveAll'>> | undefined} | undefined
800
- string?: ConstructRecord | undefined
801
- text?: ConstructRecord | undefined
802
- }
803
-
804
- /**
805
- * A filtered, combined, extension.
806
- */
807
- export type NormalizedExtension = {
808
- [Key in keyof Extension]: Exclude<Extension[Key], undefined>
809
- }
810
-
811
- /**
812
- * A full, filtereed, normalized, extension.
813
- */
814
- export type FullNormalizedExtension = {
815
- [Key in keyof Extension]-?: Exclude<Extension[Key], undefined>
816
- }
817
-
818
- /**
819
- * Create a context.
820
- *
821
- * @param from
822
- * Where to create from.
823
- * @returns
824
- * Context.
825
- */
826
- export type Create = (
827
- from?: Omit<Point, '_bufferIndex' | '_index'> | undefined
828
- ) => TokenizeContext
829
-
830
- /**
831
- * Config defining how to parse.
832
- */
833
- export interface ParseOptions {
834
- /**
835
- * Array of syntax extensions (default: `[]`).
836
- */
837
- extensions?: Array<Extension> | null | undefined
838
- }
839
-
840
- /**
841
- * A context object that helps w/ parsing markdown.
842
- */
843
- export interface ParseContext {
844
- /**
845
- * All constructs.
846
- */
847
- constructs: FullNormalizedExtension
848
-
849
- /**
850
- * List of defined identifiers.
851
- */
852
- defined: Array<string>
853
-
854
- /**
855
- * Map of line numbers to whether they are lazy (as opposed to the line before
856
- * them).
857
- * Take for example:
858
- *
859
- * ```markdown
860
- * > a
861
- * b
862
- * ```
863
- *
864
- * L1 here is not lazy, L2 is.
865
- */
866
- lazy: Record<number, boolean>
867
-
868
- /**
869
- * Create a content tokenizer.
870
- */
871
- content: Create
872
-
873
- /**
874
- * Create a document tokenizer.
875
- */
876
- document: Create
877
-
878
- /**
879
- * Create a flow tokenizer.
880
- */
881
- flow: Create
882
-
883
- /**
884
- * Create a string tokenizer.
885
- */
886
- string: Create
887
-
888
- /**
889
- * Create a text tokenizer.
890
- */
891
- text: Create
892
- }
893
-
894
- /**
895
- * HTML compiler context.
896
- */
897
- export interface CompileContext {
898
- /**
899
- * Configuration passed by the user.
900
- */
901
- options: CompileOptions
902
-
903
- /**
904
- * Capture some of the output data.
905
- *
906
- * @returns
907
- * Nothing.
908
- */
909
- buffer(): undefined
910
-
911
- /**
912
- * Make a value safe for injection in HTML (except w/ `ignoreEncode`).
913
- *
914
- * @param value
915
- * Raw value.
916
- * @returns
917
- * Safe value.
918
- */
919
- encode(value: string): string
920
-
921
- /**
922
- * Get data from the key-value store.
923
- *
924
- * @param key
925
- * Key.
926
- * @returns
927
- * Value at `key` in compile data.
928
- */
929
- getData<Key extends keyof CompileData>(key: Key): CompileData[Key]
930
-
931
- /**
932
- * Output an extra line ending if the previous value wasn’t EOF/EOL.
933
- *
934
- * @returns
935
- * Nothing.
936
- */
937
- lineEndingIfNeeded(): undefined
938
-
939
- /**
940
- * Output raw data.
941
- *
942
- * @param value
943
- * Raw value.
944
- * @returns
945
- * Nothing.
946
- */
947
- raw(value: string): undefined
948
-
949
- /**
950
- * Stop capturing and access the output data.
951
- *
952
- * @returns
953
- * Captured data.
954
- */
955
- resume(): string
956
-
957
- /**
958
- * Set data into the key-value store.
959
- *
960
- * @param key
961
- * Key.
962
- * @param value
963
- * Value.
964
- * @returns
965
- * Nothing.
966
- */
967
- setData<Key extends keyof CompileData>(
968
- key: Key,
969
- value?: CompileData[Key]
970
- ): undefined
971
-
972
- /**
973
- * Get the string value of a token.
974
- *
975
- * @param token
976
- * Start/end in stream.
977
- * @param expandTabs
978
- * Whether to expand tabs.
979
- * @returns
980
- * Serialized chunks.
981
- */
982
- sliceSerialize(
983
- token: Pick<Token, 'end' | 'start'>,
984
- expandTabs?: boolean | undefined
985
- ): string
986
-
987
- /**
988
- * Output (parts of) HTML tags.
989
- *
990
- * @param value
991
- * Raw value.
992
- * @returns
993
- * Nothing.
994
- */
995
- tag(value: string): undefined
996
- }
997
-
998
- /**
999
- * Serialize micromark events as HTML.
1000
- */
1001
- export type Compile = (events: Array<Event>) => string
1002
-
1003
- /**
1004
- * Handle one token.
1005
- *
1006
- * @param token
1007
- * Token.
1008
- * @returns
1009
- * Nothing.
1010
- */
1011
- export type Handle = (this: CompileContext, token: Token) => undefined
1012
-
1013
- /**
1014
- * Handle the whole document.
1015
- *
1016
- * @returns
1017
- * Nothing.
1018
- */
1019
- export type DocumentHandle = (
1020
- this: Omit<CompileContext, 'sliceSerialize'>
1021
- ) => undefined
1022
-
1023
- /**
1024
- * Token types mapping to handles.
1025
- */
1026
- export interface Handles extends Partial<Record<TokenType, Handle>> {
1027
- /**
1028
- * Document handle.
1029
- */
1030
- null?: DocumentHandle
1031
- }
1032
-
1033
- /**
1034
- * Normalized extenion.
1035
- */
1036
- export interface HtmlExtension {
1037
- enter?: Handles | undefined
1038
- exit?: Handles | undefined
1039
- }
1040
-
1041
- /**
1042
- * An HTML extension changes how markdown tokens are serialized.
1043
- */
1044
- export type NormalizedHtmlExtension = {
1045
- [Key in keyof HtmlExtension]-?: Exclude<HtmlExtension[Key], undefined>
1046
- }
1047
-
1048
- /**
1049
- * Definition.
1050
- */
1051
- export interface Definition {
1052
- /**
1053
- * Destination.
1054
- */
1055
- destination?: string | undefined
1056
- /**
1057
- * Title.
1058
- */
1059
- title?: string | undefined
1060
- }
1061
-
1062
- /**
1063
- * State tracked to compile events as HTML.
1064
- */
1065
- export interface CompileData {
1066
- /**
1067
- * Whether the first list item is expected, used by lists.
1068
- */
1069
- expectFirstItem?: boolean | undefined
1070
-
1071
- /**
1072
- * Current character reference kind.
1073
- */
1074
- characterReferenceType?: string | undefined
1075
-
1076
- /**
1077
- * Collected definitions.
1078
- */
1079
- definitions: Record<string, Definition>
1080
-
1081
- /**
1082
- * Whether we’re in fenced code, used by code (fenced).
1083
- */
1084
- fencedCodeInside?: boolean | undefined
1085
-
1086
- /**
1087
- * Number of fences that were seen, used by code (fenced).
1088
- */
1089
- fencesCount?: number | undefined
1090
-
1091
- /**
1092
- * Whether we’ve seen code data, used by code (fenced, indented).
1093
- */
1094
- flowCodeSeenData?: boolean | undefined
1095
-
1096
- /**
1097
- * Current heading rank, used by heading (atx, setext).
1098
- */
1099
- headingRank?: number | undefined
1100
-
1101
- /**
1102
- * Ignore encoding unsafe characters, used for example for URLs which are
1103
- * first percent encoded, or by HTML when supporting it.
1104
- */
1105
- ignoreEncode?: boolean | undefined
1106
-
1107
- /**
1108
- * Whether we’re in code data, used by code (text).
1109
- */
1110
- inCodeText?: boolean | undefined
1111
-
1112
- /**
1113
- * Whether the last emitted value was a tag.
1114
- */
1115
- lastWasTag?: boolean | undefined
1116
-
1117
- /**
1118
- * Whether to slurp all future line endings (has to be unset manually).
1119
- */
1120
- slurpAllLineEndings?: boolean | undefined
1121
-
1122
- /**
1123
- * Whether to slurp the next line ending (resets itself on the next line
1124
- * ending).
1125
- */
1126
- slurpOneLineEnding?: boolean | undefined
1127
-
1128
- /**
1129
- * Stack of containers, whether they’re tight or not.
1130
- */
1131
- tightStack: Array<boolean>
1132
- }
1133
-
1134
- /**
1135
- * Type of line ending in markdown.
1136
- */
1137
- export type LineEnding = '\r' | '\n' | '\r\n'
1138
-
1139
- /**
1140
- * Compile options.
1141
- */
1142
- export interface CompileOptions {
1143
- /**
1144
- * Whether to allow (dangerous) HTML (`boolean`, default: `false`).
1145
- *
1146
- * The default is `false`, which still parses the HTML according to
1147
- * `CommonMark` but shows the HTML as text instead of as elements.
1148
- *
1149
- * Pass `true` for trusted content to get actual HTML elements.
1150
- */
1151
- allowDangerousHtml?: boolean | null | undefined
1152
-
1153
- /**
1154
- * Whether to allow dangerous protocols in links and images (`boolean`,
1155
- * default: `false`).
1156
- *
1157
- * The default is `false`, which drops URLs in links and images that use
1158
- * dangerous protocols.
1159
- *
1160
- * Pass `true` for trusted content to support all protocols.
1161
- *
1162
- * URLs that have no protocol (which means it’s relative to the current page,
1163
- * such as `./some/page.html`) and URLs that have a safe protocol (for
1164
- * images: `http`, `https`; for links: `http`, `https`, `irc`, `ircs`,
1165
- * `mailto`, `xmpp`), are safe.
1166
- * All other URLs are dangerous and dropped.
1167
- */
1168
- allowDangerousProtocol?: boolean | null | undefined
1169
-
1170
- /**
1171
- * Default line ending to use when compiling to HTML, for line endings not in
1172
- * `value`.
1173
- *
1174
- * Generally, `micromark` copies line endings (`\r`, `\n`, `\r\n`) in the
1175
- * markdown document over to the compiled HTML.
1176
- * In some cases, such as `> a`, CommonMark requires that extra line endings
1177
- * are added: `<blockquote>\n<p>a</p>\n</blockquote>`.
1178
- *
1179
- * To create that line ending, the document is checked for the first line
1180
- * ending that is used.
1181
- * If there is no line ending, `defaultLineEnding` is used.
1182
- * If that isn’t configured, `\n` is used.
1183
- */
1184
- defaultLineEnding?: LineEnding | null | undefined
1185
-
1186
- /**
1187
- * Array of HTML extensions (default: `[]`).
1188
- */
1189
- htmlExtensions?: Array<HtmlExtension> | null | undefined
1190
- }
1191
-
1192
- /**
1193
- * Configuration.
1194
- */
1195
- export type Options = CompileOptions & ParseOptions
1196
-
1197
- /**
1198
- * Enum of allowed token types.
1199
- */
1200
- export type TokenType = keyof TokenTypeMap
1201
-
1202
- // Note: when changing the next interface, you likely also have to change
1203
- // `micromark-util-symbol`.
1204
- /**
1205
- * Map of allowed token types.
1206
- */
1207
- export interface TokenTypeMap {
1208
- // Note: these are compiled away.
1209
- attentionSequence: 'attentionSequence' // To do: remove.
1210
- space: 'space' // To do: remove.
1211
-
1212
- data: 'data'
1213
- whitespace: 'whitespace'
1214
- lineEnding: 'lineEnding'
1215
- lineEndingBlank: 'lineEndingBlank'
1216
- linePrefix: 'linePrefix'
1217
- lineSuffix: 'lineSuffix'
1218
- atxHeading: 'atxHeading'
1219
- atxHeadingSequence: 'atxHeadingSequence'
1220
- atxHeadingText: 'atxHeadingText'
1221
- autolink: 'autolink'
1222
- autolinkEmail: 'autolinkEmail'
1223
- autolinkMarker: 'autolinkMarker'
1224
- autolinkProtocol: 'autolinkProtocol'
1225
- characterEscape: 'characterEscape'
1226
- characterEscapeValue: 'characterEscapeValue'
1227
- characterReference: 'characterReference'
1228
- characterReferenceMarker: 'characterReferenceMarker'
1229
- characterReferenceMarkerNumeric: 'characterReferenceMarkerNumeric'
1230
- characterReferenceMarkerHexadecimal: 'characterReferenceMarkerHexadecimal'
1231
- characterReferenceValue: 'characterReferenceValue'
1232
- codeFenced: 'codeFenced'
1233
- codeFencedFence: 'codeFencedFence'
1234
- codeFencedFenceSequence: 'codeFencedFenceSequence'
1235
- codeFencedFenceInfo: 'codeFencedFenceInfo'
1236
- codeFencedFenceMeta: 'codeFencedFenceMeta'
1237
- codeFlowValue: 'codeFlowValue'
1238
- codeIndented: 'codeIndented'
1239
- codeText: 'codeText'
1240
- codeTextData: 'codeTextData'
1241
- codeTextPadding: 'codeTextPadding'
1242
- codeTextSequence: 'codeTextSequence'
1243
- content: 'content'
1244
- definition: 'definition'
1245
- definitionDestination: 'definitionDestination'
1246
- definitionDestinationLiteral: 'definitionDestinationLiteral'
1247
- definitionDestinationLiteralMarker: 'definitionDestinationLiteralMarker'
1248
- definitionDestinationRaw: 'definitionDestinationRaw'
1249
- definitionDestinationString: 'definitionDestinationString'
1250
- definitionLabel: 'definitionLabel'
1251
- definitionLabelMarker: 'definitionLabelMarker'
1252
- definitionLabelString: 'definitionLabelString'
1253
- definitionMarker: 'definitionMarker'
1254
- definitionTitle: 'definitionTitle'
1255
- definitionTitleMarker: 'definitionTitleMarker'
1256
- definitionTitleString: 'definitionTitleString'
1257
- emphasis: 'emphasis'
1258
- emphasisSequence: 'emphasisSequence'
1259
- emphasisText: 'emphasisText'
1260
- escapeMarker: 'escapeMarker'
1261
- hardBreakEscape: 'hardBreakEscape'
1262
- hardBreakTrailing: 'hardBreakTrailing'
1263
- htmlFlow: 'htmlFlow'
1264
- htmlFlowData: 'htmlFlowData'
1265
- htmlText: 'htmlText'
1266
- htmlTextData: 'htmlTextData'
1267
- image: 'image'
1268
- label: 'label'
1269
- labelText: 'labelText'
1270
- labelLink: 'labelLink'
1271
- labelImage: 'labelImage'
1272
- labelMarker: 'labelMarker'
1273
- labelImageMarker: 'labelImageMarker'
1274
- labelEnd: 'labelEnd'
1275
- link: 'link'
1276
- paragraph: 'paragraph'
1277
- reference: 'reference'
1278
- referenceMarker: 'referenceMarker'
1279
- referenceString: 'referenceString'
1280
- resource: 'resource'
1281
- resourceDestination: 'resourceDestination'
1282
- resourceDestinationLiteral: 'resourceDestinationLiteral'
1283
- resourceDestinationLiteralMarker: 'resourceDestinationLiteralMarker'
1284
- resourceDestinationRaw: 'resourceDestinationRaw'
1285
- resourceDestinationString: 'resourceDestinationString'
1286
- resourceMarker: 'resourceMarker'
1287
- resourceTitle: 'resourceTitle'
1288
- resourceTitleMarker: 'resourceTitleMarker'
1289
- resourceTitleString: 'resourceTitleString'
1290
- setextHeading: 'setextHeading'
1291
- setextHeadingText: 'setextHeadingText'
1292
- setextHeadingLine: 'setextHeadingLine'
1293
- setextHeadingLineSequence: 'setextHeadingLineSequence'
1294
- strong: 'strong'
1295
- strongSequence: 'strongSequence'
1296
- strongText: 'strongText'
1297
- thematicBreak: 'thematicBreak'
1298
- thematicBreakSequence: 'thematicBreakSequence'
1299
- blockQuote: 'blockQuote'
1300
- blockQuotePrefix: 'blockQuotePrefix'
1301
- blockQuoteMarker: 'blockQuoteMarker'
1302
- blockQuotePrefixWhitespace: 'blockQuotePrefixWhitespace'
1303
- listOrdered: 'listOrdered'
1304
- listUnordered: 'listUnordered'
1305
- listItemIndent: 'listItemIndent'
1306
- listItemMarker: 'listItemMarker'
1307
- listItemPrefix: 'listItemPrefix'
1308
- listItemPrefixWhitespace: 'listItemPrefixWhitespace'
1309
- listItemValue: 'listItemValue'
1310
- chunkDocument: 'chunkDocument'
1311
- chunkContent: 'chunkContent'
1312
- chunkFlow: 'chunkFlow'
1313
- chunkText: 'chunkText'
1314
- chunkString: 'chunkString'
1315
- }