@mininglamp-oss/octo-runtime 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (916) hide show
  1. package/README.md +26 -142
  2. package/apps/cli/README.md +7 -102
  3. package/apps/cli/dist/adapters.js +41 -19
  4. package/apps/cli/dist/build-info.json +2 -2
  5. package/apps/cli/dist/command-tree.d.ts +1 -13
  6. package/apps/cli/dist/command-tree.js +130 -317
  7. package/apps/cli/dist/foreground.d.ts +1 -2
  8. package/apps/cli/dist/help.d.ts +0 -1
  9. package/apps/cli/dist/help.js +2 -13
  10. package/apps/cli/dist/index.js +14 -1
  11. package/apps/cli/dist/logs.d.ts +2 -2
  12. package/apps/cli/dist/logs.js +14 -17
  13. package/apps/cli/dist/main.js +99 -182
  14. package/apps/cli/dist/manifest.json +0 -50
  15. package/apps/cli/dist/module-manifest.d.ts +1 -1
  16. package/apps/cli/dist/module-manifest.js +23 -6
  17. package/apps/cli/dist/openclaw.d.ts +0 -8
  18. package/apps/cli/dist/openclaw.js +2 -114
  19. package/apps/cli/dist/output.d.ts +19 -1
  20. package/apps/cli/dist/output.js +185 -44
  21. package/apps/cli/dist/playboard.js +17 -9
  22. package/apps/cli/dist/service-control.js +0 -1
  23. package/apps/cli/dist/state.d.ts +5 -2
  24. package/apps/cli/dist/state.js +48 -13
  25. package/dist/public/codex.d.ts +1 -0
  26. package/dist/public/codex.js +1 -0
  27. package/dist/public/executor-kernel.d.ts +4 -0
  28. package/dist/public/executor-kernel.js +2 -0
  29. package/dist/public/host.d.ts +6 -3
  30. package/dist/public/host.js +3 -1
  31. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  32. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +20 -0
  33. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  34. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  35. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  36. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  37. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.d.ts +6 -6
  38. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +78 -262
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +11 -6
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +198 -52
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.d.ts +58 -0
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.js +650 -0
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.d.ts +3 -0
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.js +15 -0
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-R3PDZLX5.js → chunk-H3S6WM37.js} +3 -3
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FGFEM7JP.js → chunk-RISQ6NGV.js} +1 -1
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-TSRZVLIG.js → chunk-SMTJTIN7.js} +1 -1
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +2 -2
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +3 -3
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +4 -4
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  59. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
  60. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +2 -0
  61. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  62. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
  63. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
  64. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +5 -0
  65. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.d.ts +25 -0
  66. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +4 -1
  67. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +1 -1
  68. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +1 -13
  69. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +4 -27
  70. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +4 -8
  71. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +0 -4
  72. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +6 -60
  73. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +0 -10
  74. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +0 -83
  75. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  76. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +41 -19
  77. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
  78. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +1 -13
  79. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +130 -317
  80. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.d.ts +1 -2
  81. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +0 -1
  82. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +2 -13
  83. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/index.js +14 -1
  84. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.d.ts +2 -2
  85. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.js +14 -17
  86. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +99 -182
  87. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +0 -50
  88. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
  89. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +23 -6
  90. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.d.ts +0 -8
  91. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +2 -114
  92. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.d.ts +19 -1
  93. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +185 -44
  94. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +17 -9
  95. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +0 -1
  96. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.d.ts +5 -2
  97. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.js +48 -13
  98. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -23
  99. package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +5 -0
  100. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.d.ts +29 -0
  101. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.js +210 -0
  102. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/browser.d.ts +1 -0
  103. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/browser.js +1 -0
  104. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.d.ts +10 -0
  105. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +495 -0
  106. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.d.ts +6 -0
  107. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.js +6 -0
  108. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/internal.d.ts +4 -0
  109. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/internal.js +5 -0
  110. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.d.ts +59 -0
  111. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.js +302 -0
  112. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/notification.d.ts +1 -0
  113. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/notification.js +1 -0
  114. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/protocol.d.ts +1 -0
  115. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/protocol.js +1 -0
  116. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/runtime-path.d.ts +21 -0
  117. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/runtime-path.js +138 -0
  118. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.d.ts +8 -0
  119. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.js +53 -0
  120. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-diagnostics.d.ts +82 -0
  121. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-diagnostics.js +371 -0
  122. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.d.ts +12 -0
  123. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.js +29 -0
  124. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.d.ts +87 -0
  125. package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.js +10 -0
  126. package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +54 -0
  127. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-configuration-fixtures.json +1219 -0
  128. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-fixtures.json +5988 -0
  129. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-client.behavior.json +56 -0
  130. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc-fixtures.json +75 -0
  131. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc.schema.json +538 -0
  132. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +116 -0
  133. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +4713 -0
  134. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +761 -0
  135. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/runtime-selection-fixtures.json +663 -0
  136. package/node_modules/@mininglamp-oss/octo-runtime-client/schema/session-name-fixtures.json +191 -0
  137. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  138. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +26 -18
  139. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +153 -14
  140. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +1 -1
  141. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +22 -15
  142. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
  143. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.d.ts +1 -30
  144. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.js +2 -199
  145. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.d.ts +1 -10
  146. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.js +2 -446
  147. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/endpoint.js +2 -0
  148. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.d.ts +2 -0
  149. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.js +13 -2
  150. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +4 -1
  151. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +4 -1
  152. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.d.ts +1 -53
  153. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.js +2 -280
  154. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.d.ts +5 -10
  155. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.js +4 -1
  156. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-home.d.ts +20 -0
  157. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-home.js +180 -0
  158. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +41 -15
  159. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.d.ts +5 -2
  160. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.js +48 -5
  161. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-catalog.d.ts +1 -0
  162. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-catalog.js +1 -0
  163. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-diagnostics.d.ts +1 -0
  164. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-diagnostics.js +1 -0
  165. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-logging.d.ts +4 -0
  166. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-logging.js +18 -0
  167. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.d.ts +1 -10
  168. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.js +2 -23
  169. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.d.ts +2 -72
  170. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.js +2 -10
  171. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -4
  172. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.d.ts +1 -1
  173. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.js +12 -5
  174. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.d.ts +5 -1
  175. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.js +9 -0
  176. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.d.ts +5 -6
  177. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.js +33 -45
  178. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/identity.js +6 -0
  179. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +4 -6
  180. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +3 -5
  181. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -17
  182. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.d.ts +7 -0
  183. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +1 -0
  184. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -0
  185. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +52 -8
  186. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.d.ts +9 -0
  187. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.js +20 -0
  188. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +3 -1
  189. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +1 -0
  190. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +27 -29
  191. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +86 -37
  192. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +1 -6
  193. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +3 -17
  194. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.d.ts +5 -0
  195. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +65 -0
  196. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  197. package/node_modules/semver/classes/range.js +2 -2
  198. package/node_modules/semver/internal/constants.js +30 -0
  199. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  200. package/node_modules/semver/package.json +1 -1
  201. package/node_modules/ws/README.md +21 -29
  202. package/node_modules/ws/lib/buffer-util.js +13 -2
  203. package/node_modules/ws/lib/sender.js +4 -1
  204. package/node_modules/ws/lib/websocket.js +8 -3
  205. package/node_modules/ws/package.json +1 -1
  206. package/package.json +33 -135
  207. package/packages/octo-runtime-protocol/schema/kernel-ipc-fixtures.json +28 -6
  208. package/packages/octo-runtime-protocol/schema/protocol.schema.json +296 -66
  209. package/apps/cli/dist/extra-command-config.d.ts +0 -4
  210. package/apps/cli/dist/extra-command-config.js +0 -50
  211. package/apps/cli/dist/extra-commands.d.ts +0 -15
  212. package/apps/cli/dist/extra-commands.js +0 -275
  213. package/apps/cli/dist/extras.d.ts +0 -8
  214. package/apps/cli/dist/extras.js +0 -72
  215. package/apps/cli/dist/global-extras.d.ts +0 -16
  216. package/apps/cli/dist/global-extras.js +0 -201
  217. package/apps/cli/dist/status-output.d.ts +0 -10
  218. package/apps/cli/dist/status-output.js +0 -65
  219. package/dist/public/channel-gateway-commands.d.ts +0 -1
  220. package/dist/public/channel-gateway-commands.js +0 -1
  221. package/dist/public/channel-gateway.d.ts +0 -3
  222. package/dist/public/channel-gateway.js +0 -1
  223. package/dist/public/channel-wecom-commands.d.ts +0 -1
  224. package/dist/public/channel-wecom-commands.js +0 -1
  225. package/dist/public/channel-wecom.d.ts +0 -2
  226. package/dist/public/channel-wecom.js +0 -1
  227. package/dist/public/extra.d.ts +0 -5
  228. package/dist/public/extra.js +0 -3
  229. package/dist/public/webui-commands.d.ts +0 -1
  230. package/dist/public/webui-commands.js +0 -1
  231. package/dist/public/webui.d.ts +0 -1
  232. package/dist/public/webui.js +0 -1
  233. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +0 -4
  234. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +0 -50
  235. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +0 -15
  236. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +0 -275
  237. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +0 -8
  238. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +0 -72
  239. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +0 -16
  240. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +0 -201
  241. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +0 -10
  242. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +0 -65
  243. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +0 -8
  244. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +0 -62
  245. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  246. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +0 -50
  247. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +0 -140
  248. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +0 -3
  249. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +0 -27
  250. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +0 -17
  251. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +0 -123
  252. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +0 -15
  253. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +0 -1489
  254. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +0 -28
  255. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +0 -77
  256. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +0 -71
  257. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +0 -153
  258. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +0 -15
  259. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +0 -28
  260. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +0 -4
  261. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +0 -124
  262. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +0 -172
  263. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +0 -22
  264. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +0 -46
  265. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +0 -16
  266. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +0 -285
  267. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +0 -20
  268. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +0 -109
  269. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +0 -15
  270. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +0 -36
  271. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +0 -16
  272. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +0 -98
  273. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +0 -6
  274. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +0 -10
  275. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +0 -17
  276. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +0 -238
  277. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.d.ts +0 -29
  278. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.js +0 -171
  279. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +0 -44
  280. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +0 -392
  281. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +0 -3
  282. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +0 -27
  283. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +0 -4
  284. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +0 -87
  285. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +0 -20
  286. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.js +0 -13
  287. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.d.ts +0 -9
  288. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +0 -162
  289. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +0 -12
  290. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +0 -154
  291. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +0 -34
  292. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +0 -67
  293. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +0 -588
  294. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.d.ts +0 -16
  295. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.js +0 -83
  296. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +0 -132
  297. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +0 -226
  298. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +0 -65
  299. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +0 -202
  300. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +0 -112
  301. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +0 -138
  302. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -48
  303. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +0 -116
  304. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.d.ts +0 -51
  305. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.js +0 -79
  306. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +0 -30
  307. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +0 -222
  308. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.d.ts +0 -13
  309. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.js +0 -13
  310. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +0 -92
  311. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +0 -173
  312. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.d.ts +0 -84
  313. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +0 -110
  314. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.d.ts +0 -87
  315. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.js +0 -45
  316. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.d.ts +0 -2
  317. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.js +0 -7
  318. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +0 -5
  319. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +0 -23
  320. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.d.ts +0 -20
  321. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.js +0 -75
  322. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +0 -22
  323. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +0 -136
  324. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.d.ts +0 -7
  325. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.js +0 -40
  326. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +0 -70
  327. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +0 -646
  328. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +0 -17
  329. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +0 -91
  330. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +0 -18
  331. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +0 -148
  332. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +0 -15
  333. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +0 -257
  334. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +0 -12
  335. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +0 -133
  336. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +0 -21
  337. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +0 -76
  338. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.d.ts +0 -6
  339. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +0 -163
  340. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.d.ts +0 -4
  341. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.js +0 -113
  342. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -13
  343. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -75
  344. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.d.ts +0 -6
  345. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.js +0 -117
  346. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +0 -16
  347. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +0 -74
  348. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +0 -4
  349. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +0 -19
  350. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +0 -7
  351. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +0 -90
  352. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +0 -20
  353. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +0 -85
  354. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.d.ts +0 -34
  355. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +0 -430
  356. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.d.ts +0 -6
  357. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.js +0 -63
  358. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +0 -6
  359. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +0 -60
  360. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.d.ts +0 -9
  361. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.js +0 -71
  362. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +0 -44
  363. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +0 -357
  364. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +0 -33
  365. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  366. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.d.ts +0 -11
  367. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +0 -754
  368. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +0 -35
  369. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.js +0 -93
  370. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.d.ts +0 -4
  371. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.js +0 -128
  372. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +0 -78
  373. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.js +0 -1
  374. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +0 -16
  375. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +0 -69
  376. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.d.ts +0 -12
  377. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.js +0 -95
  378. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +0 -3
  379. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +0 -85
  380. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.d.ts +0 -10
  381. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.js +0 -6
  382. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.d.ts +0 -6
  383. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.js +0 -109
  384. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.d.ts +0 -12
  385. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.js +0 -73
  386. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +0 -24
  387. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.js +0 -1
  388. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.d.ts +0 -45
  389. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.js +0 -258
  390. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.d.ts +0 -21
  391. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +0 -124
  392. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.d.ts +0 -53
  393. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.js +0 -219
  394. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.d.ts +0 -10
  395. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.js +0 -52
  396. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +0 -31
  397. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +0 -134
  398. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.d.ts +0 -3
  399. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.js +0 -51
  400. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +0 -3
  401. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +0 -423
  402. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +0 -25
  403. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +0 -130
  404. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-BLMf2Etg.js +0 -73
  405. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CYTpqItx.css +0 -1
  406. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +0 -3
  407. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +0 -28
  408. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +0 -32
  409. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +0 -165
  410. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.d.ts +0 -70
  411. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.js +0 -16
  412. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.d.ts +0 -20
  413. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +0 -134
  414. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.d.ts +0 -4
  415. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.js +0 -21
  416. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +0 -22
  417. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +0 -309
  418. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.d.ts +0 -55
  419. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.js +0 -375
  420. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +0 -7
  421. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +0 -39
  422. package/node_modules/@types/debug/LICENSE +0 -21
  423. package/node_modules/@types/debug/README.md +0 -69
  424. package/node_modules/@types/debug/index.d.ts +0 -50
  425. package/node_modules/@types/debug/package.json +0 -58
  426. package/node_modules/@types/mdast/LICENSE +0 -21
  427. package/node_modules/@types/mdast/README.md +0 -15
  428. package/node_modules/@types/mdast/index.d.ts +0 -1123
  429. package/node_modules/@types/mdast/package.json +0 -47
  430. package/node_modules/@types/ms/LICENSE +0 -21
  431. package/node_modules/@types/ms/README.md +0 -82
  432. package/node_modules/@types/ms/index.d.ts +0 -63
  433. package/node_modules/@types/ms/package.json +0 -26
  434. package/node_modules/@types/unist/LICENSE +0 -21
  435. package/node_modules/@types/unist/README.md +0 -15
  436. package/node_modules/@types/unist/index.d.ts +0 -119
  437. package/node_modules/@types/unist/package.json +0 -60
  438. package/node_modules/character-entities/index.d.ts +0 -6
  439. package/node_modules/character-entities/index.js +0 -2132
  440. package/node_modules/character-entities/license +0 -22
  441. package/node_modules/character-entities/package.json +0 -78
  442. package/node_modules/character-entities/readme.md +0 -152
  443. package/node_modules/debug/LICENSE +0 -20
  444. package/node_modules/debug/README.md +0 -481
  445. package/node_modules/debug/package.json +0 -64
  446. package/node_modules/debug/src/browser.js +0 -272
  447. package/node_modules/debug/src/common.js +0 -292
  448. package/node_modules/debug/src/index.js +0 -10
  449. package/node_modules/debug/src/node.js +0 -263
  450. package/node_modules/decode-named-character-reference/index.d.ts +0 -13
  451. package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
  452. package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
  453. package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
  454. package/node_modules/decode-named-character-reference/index.dom.js +0 -32
  455. package/node_modules/decode-named-character-reference/index.js +0 -19
  456. package/node_modules/decode-named-character-reference/license +0 -22
  457. package/node_modules/decode-named-character-reference/package.json +0 -90
  458. package/node_modules/decode-named-character-reference/readme.md +0 -136
  459. package/node_modules/dequal/dist/index.js +0 -86
  460. package/node_modules/dequal/dist/index.min.js +0 -1
  461. package/node_modules/dequal/dist/index.mjs +0 -84
  462. package/node_modules/dequal/index.d.ts +0 -1
  463. package/node_modules/dequal/license +0 -21
  464. package/node_modules/dequal/lite/index.d.ts +0 -1
  465. package/node_modules/dequal/lite/index.js +0 -31
  466. package/node_modules/dequal/lite/index.min.js +0 -1
  467. package/node_modules/dequal/lite/index.mjs +0 -29
  468. package/node_modules/dequal/package.json +0 -57
  469. package/node_modules/dequal/readme.md +0 -112
  470. package/node_modules/devlop/lib/default.js +0 -9
  471. package/node_modules/devlop/lib/development.d.ts +0 -84
  472. package/node_modules/devlop/lib/development.js +0 -238
  473. package/node_modules/devlop/license +0 -22
  474. package/node_modules/devlop/package.json +0 -80
  475. package/node_modules/devlop/readme.md +0 -360
  476. package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
  477. package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
  478. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
  479. package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
  480. package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1455
  481. package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -321
  482. package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
  483. package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
  484. package/node_modules/mdast-util-from-markdown/index.js +0 -2
  485. package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
  486. package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
  487. package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1270
  488. package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -321
  489. package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
  490. package/node_modules/mdast-util-from-markdown/license +0 -22
  491. package/node_modules/mdast-util-from-markdown/package.json +0 -98
  492. package/node_modules/mdast-util-from-markdown/readme.md +0 -549
  493. package/node_modules/mdast-util-to-string/index.d.ts +0 -2
  494. package/node_modules/mdast-util-to-string/index.js +0 -5
  495. package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
  496. package/node_modules/mdast-util-to-string/lib/index.js +0 -108
  497. package/node_modules/mdast-util-to-string/license +0 -22
  498. package/node_modules/mdast-util-to-string/package.json +0 -78
  499. package/node_modules/mdast-util-to-string/readme.md +0 -218
  500. package/node_modules/micromark/dev/index.d.ts +0 -82
  501. package/node_modules/micromark/dev/index.d.ts.map +0 -1
  502. package/node_modules/micromark/dev/index.js +0 -68
  503. package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
  504. package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
  505. package/node_modules/micromark/dev/lib/compile.js +0 -1162
  506. package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
  507. package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
  508. package/node_modules/micromark/dev/lib/constructs.js +0 -101
  509. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
  510. package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
  511. package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -718
  512. package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
  513. package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
  514. package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
  515. package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
  516. package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
  517. package/node_modules/micromark/dev/lib/initialize/document.js +0 -449
  518. package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
  519. package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
  520. package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
  521. package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
  522. package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
  523. package/node_modules/micromark/dev/lib/initialize/text.js +0 -248
  524. package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
  525. package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
  526. package/node_modules/micromark/dev/lib/parse.js +0 -58
  527. package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
  528. package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
  529. package/node_modules/micromark/dev/lib/postprocess.js +0 -19
  530. package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
  531. package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
  532. package/node_modules/micromark/dev/lib/preprocess.js +0 -139
  533. package/node_modules/micromark/dev/stream.d.ts +0 -35
  534. package/node_modules/micromark/dev/stream.d.ts.map +0 -1
  535. package/node_modules/micromark/dev/stream.js +0 -270
  536. package/node_modules/micromark/index.d.ts +0 -82
  537. package/node_modules/micromark/index.d.ts.map +0 -1
  538. package/node_modules/micromark/index.js +0 -60
  539. package/node_modules/micromark/lib/compile.d.ts +0 -16
  540. package/node_modules/micromark/lib/compile.d.ts.map +0 -1
  541. package/node_modules/micromark/lib/compile.js +0 -1068
  542. package/node_modules/micromark/lib/constructs.d.ts +0 -73
  543. package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
  544. package/node_modules/micromark/lib/constructs.js +0 -85
  545. package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
  546. package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
  547. package/node_modules/micromark/lib/create-tokenizer.js +0 -613
  548. package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
  549. package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
  550. package/node_modules/micromark/lib/initialize/content.js +0 -79
  551. package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
  552. package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
  553. package/node_modules/micromark/lib/initialize/document.js +0 -370
  554. package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
  555. package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
  556. package/node_modules/micromark/lib/initialize/flow.js +0 -58
  557. package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
  558. package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
  559. package/node_modules/micromark/lib/initialize/text.js +0 -216
  560. package/node_modules/micromark/lib/parse.d.ts +0 -10
  561. package/node_modules/micromark/lib/parse.d.ts.map +0 -1
  562. package/node_modules/micromark/lib/parse.js +0 -56
  563. package/node_modules/micromark/lib/postprocess.d.ts +0 -9
  564. package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
  565. package/node_modules/micromark/lib/postprocess.js +0 -18
  566. package/node_modules/micromark/lib/preprocess.d.ts +0 -13
  567. package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
  568. package/node_modules/micromark/lib/preprocess.js +0 -112
  569. package/node_modules/micromark/license +0 -22
  570. package/node_modules/micromark/package.json +0 -87
  571. package/node_modules/micromark/readme.md +0 -488
  572. package/node_modules/micromark/stream.d.ts +0 -35
  573. package/node_modules/micromark/stream.d.ts.map +0 -1
  574. package/node_modules/micromark/stream.js +0 -256
  575. package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
  576. package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
  577. package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
  578. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
  579. package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
  580. package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -294
  581. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
  582. package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
  583. package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
  584. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
  585. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
  586. package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
  587. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
  588. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
  589. package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
  590. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
  591. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
  592. package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
  593. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
  594. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
  595. package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
  596. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
  597. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
  598. package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -472
  599. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
  600. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
  601. package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -178
  602. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
  603. package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
  604. package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
  605. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
  606. package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
  607. package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
  608. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
  609. package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
  610. package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
  611. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
  612. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
  613. package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
  614. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
  615. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
  616. package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -229
  617. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
  618. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
  619. package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -938
  620. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
  621. package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
  622. package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
  623. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
  624. package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
  625. package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -658
  626. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
  627. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
  628. package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -119
  629. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
  630. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
  631. package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -71
  632. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
  633. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
  634. package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
  635. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
  636. package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
  637. package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
  638. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +0 -4
  639. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  640. package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +0 -67
  641. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
  642. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
  643. package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -213
  644. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
  645. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
  646. package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
  647. package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
  648. package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
  649. package/node_modules/micromark-core-commonmark/index.js +0 -22
  650. package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
  651. package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
  652. package/node_modules/micromark-core-commonmark/lib/attention.js +0 -231
  653. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
  654. package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
  655. package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
  656. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
  657. package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
  658. package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
  659. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
  660. package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
  661. package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
  662. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
  663. package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
  664. package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
  665. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
  666. package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
  667. package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
  668. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
  669. package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
  670. package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -422
  671. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
  672. package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
  673. package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -159
  674. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
  675. package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
  676. package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
  677. package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
  678. package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
  679. package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
  680. package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
  681. package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
  682. package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
  683. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
  684. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
  685. package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
  686. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
  687. package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
  688. package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -191
  689. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
  690. package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
  691. package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -827
  692. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
  693. package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
  694. package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
  695. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
  696. package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
  697. package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -561
  698. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
  699. package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
  700. package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -110
  701. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
  702. package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
  703. package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -63
  704. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
  705. package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
  706. package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
  707. package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
  708. package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
  709. package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
  710. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +0 -4
  711. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +0 -1
  712. package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +0 -61
  713. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
  714. package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
  715. package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -187
  716. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
  717. package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
  718. package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
  719. package/node_modules/micromark-core-commonmark/license +0 -22
  720. package/node_modules/micromark-core-commonmark/package.json +0 -62
  721. package/node_modules/micromark-core-commonmark/readme.md +0 -171
  722. package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
  723. package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
  724. package/node_modules/micromark-factory-destination/dev/index.js +0 -255
  725. package/node_modules/micromark-factory-destination/index.d.ts +0 -42
  726. package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
  727. package/node_modules/micromark-factory-destination/index.js +0 -206
  728. package/node_modules/micromark-factory-destination/license +0 -22
  729. package/node_modules/micromark-factory-destination/package.json +0 -57
  730. package/node_modules/micromark-factory-destination/readme.md +0 -234
  731. package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
  732. package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
  733. package/node_modules/micromark-factory-label/dev/index.js +0 -172
  734. package/node_modules/micromark-factory-label/index.d.ts +0 -37
  735. package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
  736. package/node_modules/micromark-factory-label/index.js +0 -148
  737. package/node_modules/micromark-factory-label/license +0 -22
  738. package/node_modules/micromark-factory-label/package.json +0 -60
  739. package/node_modules/micromark-factory-label/readme.md +0 -224
  740. package/node_modules/micromark-factory-space/dev/index.d.ts +0 -60
  741. package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
  742. package/node_modules/micromark-factory-space/dev/index.js +0 -122
  743. package/node_modules/micromark-factory-space/index.d.ts +0 -60
  744. package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
  745. package/node_modules/micromark-factory-space/index.js +0 -116
  746. package/node_modules/micromark-factory-space/license +0 -22
  747. package/node_modules/micromark-factory-space/package.json +0 -46
  748. package/node_modules/micromark-factory-space/readme.md +0 -225
  749. package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
  750. package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
  751. package/node_modules/micromark-factory-title/dev/index.js +0 -169
  752. package/node_modules/micromark-factory-title/index.d.ts +0 -36
  753. package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
  754. package/node_modules/micromark-factory-title/index.js +0 -158
  755. package/node_modules/micromark-factory-title/license +0 -22
  756. package/node_modules/micromark-factory-title/package.json +0 -58
  757. package/node_modules/micromark-factory-title/readme.md +0 -229
  758. package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
  759. package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
  760. package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
  761. package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
  762. package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
  763. package/node_modules/micromark-factory-whitespace/index.js +0 -44
  764. package/node_modules/micromark-factory-whitespace/license +0 -22
  765. package/node_modules/micromark-factory-whitespace/package.json +0 -57
  766. package/node_modules/micromark-factory-whitespace/readme.md +0 -205
  767. package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
  768. package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
  769. package/node_modules/micromark-util-character/dev/index.js +0 -252
  770. package/node_modules/micromark-util-character/index.d.ts +0 -195
  771. package/node_modules/micromark-util-character/index.d.ts.map +0 -1
  772. package/node_modules/micromark-util-character/index.js +0 -246
  773. package/node_modules/micromark-util-character/license +0 -22
  774. package/node_modules/micromark-util-character/package.json +0 -57
  775. package/node_modules/micromark-util-character/readme.md +0 -446
  776. package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
  777. package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
  778. package/node_modules/micromark-util-chunked/dev/index.js +0 -89
  779. package/node_modules/micromark-util-chunked/index.d.ts +0 -41
  780. package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
  781. package/node_modules/micromark-util-chunked/index.js +0 -81
  782. package/node_modules/micromark-util-chunked/license +0 -22
  783. package/node_modules/micromark-util-chunked/package.json +0 -57
  784. package/node_modules/micromark-util-chunked/readme.md +0 -219
  785. package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
  786. package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
  787. package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
  788. package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
  789. package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
  790. package/node_modules/micromark-util-classify-character/index.js +0 -27
  791. package/node_modules/micromark-util-classify-character/license +0 -22
  792. package/node_modules/micromark-util-classify-character/package.json +0 -59
  793. package/node_modules/micromark-util-classify-character/readme.md +0 -205
  794. package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
  795. package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
  796. package/node_modules/micromark-util-combine-extensions/index.js +0 -143
  797. package/node_modules/micromark-util-combine-extensions/license +0 -22
  798. package/node_modules/micromark-util-combine-extensions/package.json +0 -52
  799. package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
  800. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
  801. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
  802. package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
  803. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
  804. package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
  805. package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
  806. package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
  807. package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
  808. package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
  809. package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
  810. package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
  811. package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
  812. package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
  813. package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
  814. package/node_modules/micromark-util-decode-string/index.js +0 -45
  815. package/node_modules/micromark-util-decode-string/license +0 -22
  816. package/node_modules/micromark-util-decode-string/package.json +0 -63
  817. package/node_modules/micromark-util-decode-string/readme.md +0 -179
  818. package/node_modules/micromark-util-edit-map/dev/index.d.ts +0 -78
  819. package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +0 -1
  820. package/node_modules/micromark-util-edit-map/dev/index.js +0 -237
  821. package/node_modules/micromark-util-edit-map/index.d.ts +0 -78
  822. package/node_modules/micromark-util-edit-map/index.d.ts.map +0 -1
  823. package/node_modules/micromark-util-edit-map/index.js +0 -225
  824. package/node_modules/micromark-util-edit-map/license +0 -22
  825. package/node_modules/micromark-util-edit-map/package.json +0 -48
  826. package/node_modules/micromark-util-edit-map/readme.md +0 -234
  827. package/node_modules/micromark-util-encode/index.d.ts +0 -14
  828. package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
  829. package/node_modules/micromark-util-encode/index.js +0 -33
  830. package/node_modules/micromark-util-encode/license +0 -22
  831. package/node_modules/micromark-util-encode/package.json +0 -47
  832. package/node_modules/micromark-util-encode/readme.md +0 -176
  833. package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
  834. package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
  835. package/node_modules/micromark-util-html-tag-name/index.js +0 -93
  836. package/node_modules/micromark-util-html-tag-name/license +0 -22
  837. package/node_modules/micromark-util-html-tag-name/package.json +0 -47
  838. package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
  839. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
  840. package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
  841. package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
  842. package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
  843. package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
  844. package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
  845. package/node_modules/micromark-util-normalize-identifier/license +0 -22
  846. package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
  847. package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
  848. package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
  849. package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
  850. package/node_modules/micromark-util-resolve-all/index.js +0 -32
  851. package/node_modules/micromark-util-resolve-all/license +0 -22
  852. package/node_modules/micromark-util-resolve-all/package.json +0 -48
  853. package/node_modules/micromark-util-resolve-all/readme.md +0 -238
  854. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
  855. package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
  856. package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
  857. package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
  858. package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
  859. package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
  860. package/node_modules/micromark-util-sanitize-uri/license +0 -22
  861. package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
  862. package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
  863. package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
  864. package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
  865. package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
  866. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
  867. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
  868. package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
  869. package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
  870. package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
  871. package/node_modules/micromark-util-subtokenize/index.js +0 -228
  872. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
  873. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
  874. package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
  875. package/node_modules/micromark-util-subtokenize/license +0 -22
  876. package/node_modules/micromark-util-subtokenize/package.json +0 -60
  877. package/node_modules/micromark-util-subtokenize/readme.md +0 -181
  878. package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
  879. package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
  880. package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
  881. package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
  882. package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
  883. package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
  884. package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
  885. package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
  886. package/node_modules/micromark-util-symbol/lib/default.js +0 -4
  887. package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
  888. package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
  889. package/node_modules/micromark-util-symbol/lib/types.js +0 -453
  890. package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
  891. package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
  892. package/node_modules/micromark-util-symbol/lib/values.js +0 -109
  893. package/node_modules/micromark-util-symbol/license +0 -22
  894. package/node_modules/micromark-util-symbol/package.json +0 -43
  895. package/node_modules/micromark-util-symbol/readme.md +0 -168
  896. package/node_modules/micromark-util-types/index.d.ts +0 -1315
  897. package/node_modules/micromark-util-types/index.js +0 -2
  898. package/node_modules/micromark-util-types/license +0 -22
  899. package/node_modules/micromark-util-types/package.json +0 -37
  900. package/node_modules/micromark-util-types/readme.md +0 -151
  901. package/node_modules/ms/index.js +0 -162
  902. package/node_modules/ms/license.md +0 -21
  903. package/node_modules/ms/package.json +0 -38
  904. package/node_modules/ms/readme.md +0 -59
  905. package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
  906. package/node_modules/unist-util-stringify-position/index.js +0 -1
  907. package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
  908. package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
  909. package/node_modules/unist-util-stringify-position/license +0 -22
  910. package/node_modules/unist-util-stringify-position/package.json +0 -80
  911. package/node_modules/unist-util-stringify-position/readme.md +0 -206
  912. package/packages/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
  913. package/packages/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
  914. package/packages/octo-runtime-extra-webui/config-schema.json +0 -134
  915. /package/node_modules/@mininglamp-oss/{octo-runtime-extra-channel-gateway/dist/contracts.js → octo-runtime-adapter-sdk/dist/execution-scope.js} +0 -0
  916. /package/node_modules/@mininglamp-oss/{octo-runtime-extra-channel-gateway/dist/ports.js → octo-runtime-protocol/dist/adapter-metadata.js} +0 -0
@@ -1,549 +0,0 @@
1
- # mdast-util-from-markdown
2
-
3
- [![Build][badge-build-image]][badge-build-url]
4
- [![Coverage][badge-coverage-image]][badge-coverage-url]
5
- [![Downloads][badge-downloads-image]][badge-downloads-url]
6
- [![Size][badge-size-image]][badge-size-url]
7
-
8
- **[mdast][github-mdast]** utility that turns markdown into a syntax tree.
9
-
10
- ## Contents
11
-
12
- * [What is this?](#what-is-this)
13
- * [When should I use this?](#when-should-i-use-this)
14
- * [Install](#install)
15
- * [Use](#use)
16
- * [API](#api)
17
- * [`fromMarkdown(value[, encoding][, options])`](#frommarkdownvalue-encoding-options)
18
- * [`CompileContext`](#compilecontext)
19
- * [`CompileData`](#compiledata)
20
- * [`Encoding`](#encoding)
21
- * [`Extension`](#extension)
22
- * [`Handle`](#handle)
23
- * [`OnEnterError`](#onentererror)
24
- * [`OnExitError`](#onexiterror)
25
- * [`Options`](#options)
26
- * [`Token`](#token)
27
- * [`Transform`](#transform)
28
- * [`Value`](#value)
29
- * [List of extensions](#list-of-extensions)
30
- * [Syntax](#syntax)
31
- * [Syntax tree](#syntax-tree)
32
- * [Types](#types)
33
- * [Compatibility](#compatibility)
34
- * [Security](#security)
35
- * [Related](#related)
36
- * [Contribute](#contribute)
37
- * [License](#license)
38
-
39
- ## What is this?
40
-
41
- This package is a utility that takes markdown input and turns it into an
42
- [mdast][github-mdast] syntax tree.
43
-
44
- This utility uses [`micromark`][github-micromark],
45
- which turns markdown into tokens,
46
- and then turns those tokens into nodes.
47
- This package is used inside [`remark-parse`][github-remark-parse],
48
- which focusses on
49
- making it easier to transform content by abstracting these internals away.
50
-
51
- ## When should I use this?
52
-
53
- If you want to handle syntax trees manually, use this.
54
- When you *just* want to turn markdown into HTML,
55
- use [`micromark`][github-micromark] instead.
56
- For an easier time processing content,
57
- use the **[remark][github-remark]** ecosystem instead.
58
-
59
- You can combine this package with other packages to add syntax extensions to
60
- markdown.
61
- Notable examples that deeply integrate with this package are
62
- [`mdast-util-mdx`][github-mdast-util-mdx],
63
- [`mdast-util-gfm`][github-mdast-util-gfm],
64
- [`mdast-util-frontmatter`][github-mdast-util-frontmatter],
65
- [`mdast-util-math`][github-mdast-util-math], and
66
- [`mdast-util-directive`][github-mdast-util-directive].
67
-
68
- ## Install
69
-
70
- This package is [ESM only][github-gist-esm].
71
- In Node.js (version 16+), install with [npm][npmjs-install]:
72
-
73
- ```sh
74
- npm install mdast-util-from-markdown
75
- ```
76
-
77
- In Deno with [`esm.sh`][esmsh]:
78
-
79
- ```js
80
- import {fromMarkdown} from 'https://esm.sh/mdast-util-from-markdown@2'
81
- ```
82
-
83
- In browsers with [`esm.sh`][esmsh]:
84
-
85
- ```html
86
- <script type="module">
87
- import {fromMarkdown} from 'https://esm.sh/mdast-util-from-markdown@2?bundle'
88
- </script>
89
- ```
90
-
91
- ## Use
92
-
93
- Say we have the following markdown file `example.md`:
94
-
95
- ```markdown
96
- ## Hello, *World*!
97
- ```
98
-
99
- …and our module `example.js` looks as follows:
100
-
101
- ```js
102
- import fs from 'node:fs/promises'
103
- import {fromMarkdown} from 'mdast-util-from-markdown'
104
-
105
- const doc = await fs.readFile('example.md')
106
- const tree = fromMarkdown(doc)
107
-
108
- console.log(tree)
109
- ```
110
-
111
- …now running `node example.js` yields (positional info removed for brevity):
112
-
113
- ```js
114
- {
115
- type: 'root',
116
- children: [
117
- {
118
- type: 'heading',
119
- depth: 2,
120
- children: [
121
- {type: 'text', value: 'Hello, '},
122
- {type: 'emphasis', children: [{type: 'text', value: 'World'}]},
123
- {type: 'text', value: '!'}
124
- ]
125
- }
126
- ]
127
- }
128
- ```
129
-
130
- ## API
131
-
132
- This package exports the identifier [`fromMarkdown`][api-from-markdown].
133
- There is no default export.
134
-
135
- The export map supports the [`development` condition][node-packages-conditions].
136
- Run `node --conditions development example.js` to get instrumented dev code.
137
- Without this condition, production code is loaded.
138
-
139
- ### `fromMarkdown(value[, encoding][, options])`
140
-
141
- Turn markdown into a syntax tree.
142
-
143
- ###### Overloads
144
-
145
- * `(value: Value, encoding: Encoding, options?: Options) => Root`
146
- * `(value: Value, options?: Options) => Root`
147
-
148
- ###### Parameters
149
-
150
- * `value` ([`Value`][api-value])
151
- — markdown to parse
152
- * `encoding` ([`Encoding`][api-encoding], default: `'utf8'`)
153
- — [character encoding][node-util-encoding] for when `value` is
154
- [`Uint8Array`][mozilla-uint8-array]
155
- * `options` ([`Options`][api-options], optional)
156
- — configuration
157
-
158
- ###### Returns
159
-
160
- mdast tree ([`Root`][github-mdast-root]).
161
-
162
- ### `CompileContext`
163
-
164
- mdast compiler context (TypeScript type).
165
-
166
- ###### Fields
167
-
168
- * `stack` ([`Array<Node>`][github-mdast-nodes])
169
- — stack of nodes
170
- * `tokenStack` (`Array<[Token, OnEnterError | undefined]>`)
171
- — stack of tokens
172
- * `data` ([`CompileData`][api-compile-data])
173
- — info passed around; key/value store
174
- * `buffer` (`() => undefined`)
175
- — capture some of the output data
176
- * `resume` (`() => string`)
177
- — stop capturing and access the output data
178
- * `enter` (`(node: Node, token: Token, onError?: OnEnterError) => undefined`)
179
- — enter a node
180
- * `exit` (`(token: Token, onError?: OnExitError) => undefined`)
181
- — exit a node
182
- * `sliceSerialize` (`(token: Token, expandTabs?: boolean) => string`)
183
- — get the string value of a token
184
- * `config` (`Config`)
185
- — configuration
186
-
187
- ### `CompileData`
188
-
189
- Interface of tracked data (TypeScript type).
190
-
191
- ###### Type
192
-
193
- ```ts
194
- interface CompileData { /* see code */ }
195
- ```
196
-
197
- When working on extensions that use more data, extend the corresponding
198
- interface to register their types:
199
-
200
- ```ts
201
- declare module 'mdast-util-from-markdown' {
202
- interface CompileData {
203
- // Register a new field.
204
- mathFlowInside?: boolean | undefined
205
- }
206
- }
207
- ```
208
-
209
- ### `Encoding`
210
-
211
- Encodings supported by the [`Uint8Array`][mozilla-uint8-array] class
212
- (TypeScript type).
213
-
214
- See [`micromark`][github-micromark-api] for more info.
215
-
216
- ###### Type
217
-
218
- ```ts
219
- type Encoding = 'utf8' | /* … */
220
- ```
221
-
222
- ### `Extension`
223
-
224
- Change how markdown tokens from micromark are turned into mdast (TypeScript
225
- type).
226
-
227
- ###### Properties
228
-
229
- * `afterExit` ([`Handle`][api-handle], optional)
230
- — listener called for every token, after closing handles
231
- * `beforeEnter` ([`Handle`][api-handle], optional)
232
- — listener called for every token, before opening handles
233
- * `canContainEols` (`Array<string>`, optional)
234
- — token types where line endings are used
235
- * `enter` ([`Record<string, Handle>`][api-handle], optional)
236
- — opening handles
237
- * `exit` ([`Record<string, Handle>`][api-handle], optional)
238
- — closing handles
239
- * `transforms` ([`Array<Transform>`][api-transform], optional)
240
- — tree transforms
241
-
242
- ###### Notes
243
-
244
- Handles (`enter`, `exit`) create the tree;
245
- a later handle for a token type from an extension overwrites earlier ones.
246
- Listeners (`afterExit`, `beforeEnter`) observe all tokens including unhandled
247
- ones.
248
- The point of listeners is that they *do not* interfere with handling,
249
- potentially changed by extensions.
250
- Don’t modify unexpected things!
251
-
252
- ### `Handle`
253
-
254
- Handle a token (TypeScript type).
255
-
256
- ###### Parameters
257
-
258
- * `this` ([`CompileContext`][api-compile-context])
259
- — context
260
- * `token` ([`Token`][api-token])
261
- — current token
262
-
263
- ###### Returns
264
-
265
- Nothing (`undefined`).
266
-
267
- ### `OnEnterError`
268
-
269
- Handle the case where the `right` token is open, but it is closed (by the
270
- `left` token) or because we reached the end of the document (TypeScript type).
271
-
272
- ###### Parameters
273
-
274
- * `this` ([`CompileContext`][api-compile-context])
275
- — context
276
- * `left` ([`Token`][api-token] or `undefined`)
277
- — left token
278
- * `right` ([`Token`][api-token])
279
- — right token
280
-
281
- ###### Returns
282
-
283
- Nothing (`undefined`).
284
-
285
- ### `OnExitError`
286
-
287
- Handle the case where the `right` token is open but it is closed by
288
- exiting the `left` token (TypeScript type).
289
-
290
- ###### Parameters
291
-
292
- * `this` ([`CompileContext`][api-compile-context])
293
- — context
294
- * `left` ([`Token`][api-token])
295
- — left token
296
- * `right` ([`Token`][api-token])
297
- — right token
298
-
299
- ###### Returns
300
-
301
- Nothing (`undefined`).
302
-
303
- ### `Options`
304
-
305
- Configuration (TypeScript type).
306
-
307
- ###### Properties
308
-
309
- * `extensions`
310
- ([`Array<MicromarkExtension>`][github-micromark-extension], optional)
311
- — micromark extensions to change how markdown is parsed
312
- * `mdastExtensions`
313
- ([`Array<Extension | Array<Extension>>`][api-extension],
314
- optional)
315
- — extensions for this utility to change how tokens are turned into a tree
316
-
317
- ### `Token`
318
-
319
- Token from micromark (TypeScript type).
320
-
321
- ###### Type
322
-
323
- ```ts
324
- type Token = { /* … */ }
325
- ```
326
-
327
- ### `Transform`
328
-
329
- Extra transform, to change the AST afterwards (TypeScript type).
330
-
331
- ###### Parameters
332
-
333
- * `tree` ([`Root`][github-mdast-root])
334
- — tree to transform
335
-
336
- ###### Returns
337
-
338
- New tree ([`Root`][github-mdast-root]) or nothing
339
- (in which case the current tree is used).
340
-
341
- ### `Value`
342
-
343
- Contents of the file (TypeScript type).
344
-
345
- See [`micromark`][github-micromark-api] for more info.
346
-
347
- ###### Type
348
-
349
- ```ts
350
- type Value = Uint8Array | string
351
- ```
352
-
353
- ## List of extensions
354
-
355
- * [`syntax-tree/mdast-util-directive`][github-mdast-util-directive]
356
- — directives
357
- * [`syntax-tree/mdast-util-frontmatter`][github-mdast-util-frontmatter]
358
- — frontmatter (YAML, TOML, more)
359
- * [`syntax-tree/mdast-util-gfm`][github-mdast-util-gfm]
360
- — GFM
361
- * [`syntax-tree/mdast-util-gfm-autolink-literal`](https://github.com/syntax-tree/mdast-util-gfm-autolink-literal)
362
- — GFM autolink literals
363
- * [`syntax-tree/mdast-util-gfm-footnote`](https://github.com/syntax-tree/mdast-util-gfm-footnote)
364
- — GFM footnotes
365
- * [`syntax-tree/mdast-util-gfm-strikethrough`](https://github.com/syntax-tree/mdast-util-gfm-strikethrough)
366
- — GFM strikethrough
367
- * [`syntax-tree/mdast-util-gfm-table`](https://github.com/syntax-tree/mdast-util-gfm-table)
368
- — GFM tables
369
- * [`syntax-tree/mdast-util-gfm-task-list-item`](https://github.com/syntax-tree/mdast-util-gfm-task-list-item)
370
- — GFM task list items
371
- * [`syntax-tree/mdast-util-math`][github-mdast-util-math]
372
- — math
373
- * [`syntax-tree/mdast-util-mdx`][github-mdast-util-mdx]
374
- — MDX
375
- * [`syntax-tree/mdast-util-mdx-expression`](https://github.com/syntax-tree/mdast-util-mdx-expression)
376
- — MDX expressions
377
- * [`syntax-tree/mdast-util-mdx-jsx`](https://github.com/syntax-tree/mdast-util-mdx-jsx)
378
- — MDX JSX
379
- * [`syntax-tree/mdast-util-mdxjs-esm`](https://github.com/syntax-tree/mdast-util-mdxjs-esm)
380
- — MDX ESM
381
-
382
- ## Syntax
383
-
384
- Markdown is parsed according to CommonMark.
385
- Extensions can add support for other syntax.
386
- If you’re interested in extending markdown,
387
- [more information is available in micromark’s
388
- readme][github-micromark-extension].
389
-
390
- ## Syntax tree
391
-
392
- The syntax tree is [mdast][github-mdast].
393
-
394
- ## Types
395
-
396
- This package is fully typed with [TypeScript][].
397
- It exports the additional types
398
- [`CompileContext`][api-compile-context],
399
- [`CompileData`][api-compile-data],
400
- [`Encoding`][api-encoding],
401
- [`Extension`][api-extension],
402
- [`Handle`][api-handle],
403
- [`OnEnterError`][api-on-enter-error],
404
- [`OnExitError`][api-on-exit-error],
405
- [`Options`][api-options],
406
- [`Token`][api-token],
407
- [`Transform`][api-transform], and
408
- [`Value`][api-value].
409
-
410
- ## Compatibility
411
-
412
- Projects maintained by the unified collective are compatible with maintained
413
- versions of Node.js.
414
-
415
- When we cut a new major release, we drop support for unmaintained versions of
416
- Node.
417
- This means we try to keep the current release line,
418
- `mdast-util-from-markdown@^2`, compatible with Node.js 16.
419
-
420
- ## Security
421
-
422
- As markdown is sometimes used for HTML, and improper use of HTML can open you up
423
- to a [cross-site scripting (XSS)][wikipedia-xss] attack, use of `mdast-util-from-markdown`
424
- can also be unsafe.
425
- When going to HTML, use this utility in combination with
426
- [`hast-util-sanitize`][github-hast-util-sanitize] to make the tree safe.
427
-
428
- ## Related
429
-
430
- * [`syntax-tree/mdast-util-to-markdown`](https://github.com/syntax-tree/mdast-util-to-markdown)
431
- — serialize mdast as markdown
432
- * [`micromark/micromark`][github-micromark]
433
- — parse markdown
434
- * [`remarkjs/remark`][github-remark]
435
- — process markdown
436
-
437
- ## Contribute
438
-
439
- See [`contributing.md`][health-contributing]
440
- in
441
- [`syntax-tree/.github`][health]
442
- for ways to get started.
443
- See [`support.md`][health-support] for ways to get help.
444
-
445
- This project has a [code of conduct][health-coc].
446
- By interacting with this repository, organization, or community you agree to
447
- abide by its terms.
448
-
449
- ## License
450
-
451
- [MIT][file-license] © [Titus Wormer][wooorm]
452
-
453
- <!-- Definitions -->
454
-
455
- [api-compile-context]: #compilecontext
456
-
457
- [api-compile-data]: #compiledata
458
-
459
- [api-encoding]: #encoding
460
-
461
- [api-extension]: #extension
462
-
463
- [api-from-markdown]: #frommarkdownvalue-encoding-options
464
-
465
- [api-handle]: #handle
466
-
467
- [api-on-enter-error]: #onentererror
468
-
469
- [api-on-exit-error]: #onexiterror
470
-
471
- [api-options]: #options
472
-
473
- [api-token]: #token
474
-
475
- [api-transform]: #transform
476
-
477
- [api-value]: #value
478
-
479
- [badge-build-image]: https://github.com/syntax-tree/mdast-util-from-markdown/workflows/main/badge.svg
480
-
481
- [badge-build-url]: https://github.com/syntax-tree/mdast-util-from-markdown/actions
482
-
483
- [badge-coverage-image]: https://img.shields.io/codecov/c/github/syntax-tree/mdast-util-from-markdown.svg
484
-
485
- [badge-coverage-url]: https://codecov.io/github/syntax-tree/mdast-util-from-markdown
486
-
487
- [badge-downloads-image]: https://img.shields.io/npm/dm/mdast-util-from-markdown.svg
488
-
489
- [badge-downloads-url]: https://www.npmjs.com/package/mdast-util-from-markdown
490
-
491
- [badge-size-image]: https://img.shields.io/bundlejs/size/mdast-util-from-markdown
492
-
493
- [badge-size-url]: https://bundlejs.com/?q=mdast-util-from-markdown
494
-
495
- [esmsh]: https://esm.sh
496
-
497
- [file-license]: license
498
-
499
- [github-gist-esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
500
-
501
- [github-hast-util-sanitize]: https://github.com/syntax-tree/hast-util-sanitize
502
-
503
- [github-mdast]: https://github.com/syntax-tree/mdast
504
-
505
- [github-mdast-nodes]: https://github.com/syntax-tree/mdast#nodes
506
-
507
- [github-mdast-root]: https://github.com/syntax-tree/mdast#root
508
-
509
- [github-mdast-util-directive]: https://github.com/syntax-tree/mdast-util-directive
510
-
511
- [github-mdast-util-frontmatter]: https://github.com/syntax-tree/mdast-util-frontmatter
512
-
513
- [github-mdast-util-gfm]: https://github.com/syntax-tree/mdast-util-gfm
514
-
515
- [github-mdast-util-math]: https://github.com/syntax-tree/mdast-util-math
516
-
517
- [github-mdast-util-mdx]: https://github.com/syntax-tree/mdast-util-mdx
518
-
519
- [github-micromark]: https://github.com/micromark/micromark
520
-
521
- [github-micromark-api]: https://github.com/micromark/micromark/tree/main/packages/micromark#micromarkvalue-encoding-options
522
-
523
- [github-micromark-extension]: https://github.com/micromark/micromark#extensions
524
-
525
- [github-remark]: https://github.com/remarkjs/remark
526
-
527
- [github-remark-parse]: https://github.com/remarkjs/remark/tree/main/packages/remark-parse
528
-
529
- [health]: https://github.com/syntax-tree/.github
530
-
531
- [health-coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md
532
-
533
- [health-contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md
534
-
535
- [health-support]: https://github.com/syntax-tree/.github/blob/main/support.md
536
-
537
- [mozilla-uint8-array]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
538
-
539
- [node-packages-conditions]: https://nodejs.org/api/packages.html#packages_resolving_user_conditions
540
-
541
- [node-util-encoding]: https://nodejs.org/api/util.html#whatwg-supported-encodings
542
-
543
- [npmjs-install]: https://docs.npmjs.com/cli/install
544
-
545
- [typescript]: https://www.typescriptlang.org
546
-
547
- [wikipedia-xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
548
-
549
- [wooorm]: https://wooorm.com
@@ -1,2 +0,0 @@
1
- export {toString} from './lib/index.js'
2
- export type Options = import('./lib/index.js').Options
@@ -1,5 +0,0 @@
1
- /**
2
- * @typedef {import('./lib/index.js').Options} Options
3
- */
4
-
5
- export {toString} from './lib/index.js'
@@ -1,31 +0,0 @@
1
- /**
2
- * Get the text content of a node or list of nodes.
3
- *
4
- * Prefers the node’s plain-text fields, otherwise serializes its children,
5
- * and if the given value is an array, serialize the nodes in it.
6
- *
7
- * @param {unknown} [value]
8
- * Thing to serialize, typically `Node`.
9
- * @param {Options | null | undefined} [options]
10
- * Configuration (optional).
11
- * @returns {string}
12
- * Serialized `value`.
13
- */
14
- export function toString(
15
- value?: unknown,
16
- options?: Options | null | undefined
17
- ): string
18
- export type Nodes = import('mdast').Nodes
19
- /**
20
- * Configuration (optional).
21
- */
22
- export type Options = {
23
- /**
24
- * Whether to use `alt` for `image`s (default: `true`).
25
- */
26
- includeImageAlt?: boolean | null | undefined
27
- /**
28
- * Whether to use `value` of HTML (default: `true`).
29
- */
30
- includeHtml?: boolean | null | undefined
31
- }
@@ -1,108 +0,0 @@
1
- /**
2
- * @typedef {import('mdast').Nodes} Nodes
3
- *
4
- * @typedef Options
5
- * Configuration (optional).
6
- * @property {boolean | null | undefined} [includeImageAlt=true]
7
- * Whether to use `alt` for `image`s (default: `true`).
8
- * @property {boolean | null | undefined} [includeHtml=true]
9
- * Whether to use `value` of HTML (default: `true`).
10
- */
11
-
12
- /** @type {Options} */
13
- const emptyOptions = {}
14
-
15
- /**
16
- * Get the text content of a node or list of nodes.
17
- *
18
- * Prefers the node’s plain-text fields, otherwise serializes its children,
19
- * and if the given value is an array, serialize the nodes in it.
20
- *
21
- * @param {unknown} [value]
22
- * Thing to serialize, typically `Node`.
23
- * @param {Options | null | undefined} [options]
24
- * Configuration (optional).
25
- * @returns {string}
26
- * Serialized `value`.
27
- */
28
- export function toString(value, options) {
29
- const settings = options || emptyOptions
30
- const includeImageAlt =
31
- typeof settings.includeImageAlt === 'boolean'
32
- ? settings.includeImageAlt
33
- : true
34
- const includeHtml =
35
- typeof settings.includeHtml === 'boolean' ? settings.includeHtml : true
36
-
37
- return one(value, includeImageAlt, includeHtml)
38
- }
39
-
40
- /**
41
- * One node or several nodes.
42
- *
43
- * @param {unknown} value
44
- * Thing to serialize.
45
- * @param {boolean} includeImageAlt
46
- * Include image `alt`s.
47
- * @param {boolean} includeHtml
48
- * Include HTML.
49
- * @returns {string}
50
- * Serialized node.
51
- */
52
- function one(value, includeImageAlt, includeHtml) {
53
- if (node(value)) {
54
- if ('value' in value) {
55
- return value.type === 'html' && !includeHtml ? '' : value.value
56
- }
57
-
58
- if (includeImageAlt && 'alt' in value && value.alt) {
59
- return value.alt
60
- }
61
-
62
- if ('children' in value) {
63
- return all(value.children, includeImageAlt, includeHtml)
64
- }
65
- }
66
-
67
- if (Array.isArray(value)) {
68
- return all(value, includeImageAlt, includeHtml)
69
- }
70
-
71
- return ''
72
- }
73
-
74
- /**
75
- * Serialize a list of nodes.
76
- *
77
- * @param {Array<unknown>} values
78
- * Thing to serialize.
79
- * @param {boolean} includeImageAlt
80
- * Include image `alt`s.
81
- * @param {boolean} includeHtml
82
- * Include HTML.
83
- * @returns {string}
84
- * Serialized nodes.
85
- */
86
- function all(values, includeImageAlt, includeHtml) {
87
- /** @type {Array<string>} */
88
- const result = []
89
- let index = -1
90
-
91
- while (++index < values.length) {
92
- result[index] = one(values[index], includeImageAlt, includeHtml)
93
- }
94
-
95
- return result.join('')
96
- }
97
-
98
- /**
99
- * Check if `value` looks like a node.
100
- *
101
- * @param {unknown} value
102
- * Thing.
103
- * @returns {value is Nodes}
104
- * Whether `value` is a node.
105
- */
106
- function node(value) {
107
- return Boolean(value && typeof value === 'object')
108
- }