@mininglamp-oss/octo-runtime 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -142
- package/apps/cli/README.md +7 -102
- package/apps/cli/dist/adapters.js +1 -5
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/command-tree.d.ts +1 -13
- package/apps/cli/dist/command-tree.js +130 -316
- package/apps/cli/dist/foreground.d.ts +1 -2
- package/apps/cli/dist/help.d.ts +0 -1
- package/apps/cli/dist/help.js +2 -13
- package/apps/cli/dist/logs.d.ts +2 -2
- package/apps/cli/dist/logs.js +14 -17
- package/apps/cli/dist/main.js +55 -173
- package/apps/cli/dist/manifest.json +0 -50
- package/apps/cli/dist/module-manifest.d.ts +1 -1
- package/apps/cli/dist/module-manifest.js +2 -3
- package/apps/cli/dist/openclaw.d.ts +0 -8
- package/apps/cli/dist/openclaw.js +2 -114
- package/apps/cli/dist/output.js +9 -20
- package/apps/cli/dist/playboard.js +15 -7
- package/apps/cli/dist/service-control.js +0 -1
- package/dist/public/host.d.ts +2 -4
- package/dist/public/host.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +10 -9
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-R3PDZLX5.js → chunk-H3S6WM37.js} +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FGFEM7JP.js → chunk-RISQ6NGV.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-TSRZVLIG.js → chunk-SMTJTIN7.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +1 -13
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +4 -27
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +4 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +6 -60
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +0 -83
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +1 -5
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +1 -13
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +130 -316
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.d.ts +1 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +2 -13
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.js +14 -17
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +55 -173
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +0 -50
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +2 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +2 -114
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +9 -20
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +15 -7
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -23
- package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.d.ts +2 -3
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.js +31 -20
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +80 -50
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.js +17 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.js +3 -15
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.d.ts +19 -4
- package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc-fixtures.json +28 -6
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +27 -27
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +263 -75
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +2 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +22 -15
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +10 -7
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +1 -7
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -18
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +33 -8
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.js +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +27 -29
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +86 -37
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +1 -6
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +3 -17
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/node_modules/semver/classes/range.js +2 -2
- package/node_modules/semver/internal/constants.js +30 -0
- package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
- package/node_modules/semver/package.json +1 -1
- package/node_modules/ws/README.md +21 -29
- package/node_modules/ws/lib/buffer-util.js +13 -2
- package/node_modules/ws/lib/sender.js +4 -1
- package/node_modules/ws/lib/websocket.js +8 -3
- package/node_modules/ws/package.json +1 -1
- package/package.json +27 -135
- package/packages/octo-runtime-protocol/schema/kernel-ipc-fixtures.json +28 -6
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +263 -75
- package/apps/cli/dist/extra-command-config.d.ts +0 -4
- package/apps/cli/dist/extra-command-config.js +0 -50
- package/apps/cli/dist/extra-commands.d.ts +0 -15
- package/apps/cli/dist/extra-commands.js +0 -275
- package/apps/cli/dist/extras.d.ts +0 -8
- package/apps/cli/dist/extras.js +0 -82
- package/apps/cli/dist/global-extras.d.ts +0 -16
- package/apps/cli/dist/global-extras.js +0 -201
- package/apps/cli/dist/status-output.d.ts +0 -10
- package/apps/cli/dist/status-output.js +0 -65
- package/dist/public/channel-gateway-commands.d.ts +0 -1
- package/dist/public/channel-gateway-commands.js +0 -1
- package/dist/public/channel-gateway.d.ts +0 -3
- package/dist/public/channel-gateway.js +0 -1
- package/dist/public/channel-wecom-commands.d.ts +0 -1
- package/dist/public/channel-wecom-commands.js +0 -1
- package/dist/public/channel-wecom.d.ts +0 -2
- package/dist/public/channel-wecom.js +0 -1
- package/dist/public/extra.d.ts +0 -5
- package/dist/public/extra.js +0 -3
- package/dist/public/webui-commands.d.ts +0 -1
- package/dist/public/webui-commands.js +0 -1
- package/dist/public/webui.d.ts +0 -1
- package/dist/public/webui.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +0 -50
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +0 -275
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +0 -82
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +0 -201
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +0 -65
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +0 -62
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +0 -50
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +0 -140
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +0 -27
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +0 -17
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +0 -123
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +0 -1489
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +0 -28
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +0 -77
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +0 -71
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +0 -153
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +0 -28
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +0 -124
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +0 -172
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +0 -22
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +0 -46
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +0 -285
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +0 -109
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +0 -36
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +0 -98
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +0 -17
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +0 -238
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.d.ts +0 -29
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.js +0 -171
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +0 -44
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +0 -392
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +0 -27
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +0 -87
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.js +0 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.d.ts +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +0 -162
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +0 -154
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +0 -34
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +0 -67
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +0 -588
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.js +0 -83
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +0 -132
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +0 -226
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +0 -65
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +0 -202
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +0 -112
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +0 -138
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -48
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +0 -116
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.d.ts +0 -51
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.js +0 -79
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +0 -30
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +0 -222
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.d.ts +0 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.js +0 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +0 -92
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +0 -173
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.d.ts +0 -84
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +0 -110
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.d.ts +0 -87
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.js +0 -45
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.js +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +0 -23
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.js +0 -75
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +0 -22
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +0 -136
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.d.ts +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.js +0 -40
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +0 -70
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +0 -646
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +0 -17
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +0 -91
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +0 -18
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +0 -148
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +0 -257
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +0 -133
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +0 -21
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +0 -76
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +0 -163
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.js +0 -113
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -75
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.js +0 -117
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +0 -74
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +0 -19
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +0 -90
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +0 -85
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.d.ts +0 -34
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +0 -430
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.js +0 -63
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +0 -60
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.d.ts +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.js +0 -71
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +0 -44
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +0 -357
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +0 -33
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.d.ts +0 -11
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +0 -754
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +0 -35
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.js +0 -93
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.js +0 -128
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +0 -78
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +0 -69
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.js +0 -95
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +0 -85
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.js +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.js +0 -109
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.js +0 -73
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +0 -24
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.d.ts +0 -45
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.js +0 -258
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.d.ts +0 -21
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +0 -124
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.d.ts +0 -53
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.js +0 -219
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.js +0 -52
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +0 -31
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +0 -134
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.js +0 -51
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +0 -423
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +0 -25
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +0 -130
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-BLMf2Etg.js +0 -73
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CYTpqItx.css +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +0 -28
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +0 -32
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +0 -165
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.d.ts +0 -44
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.js +0 -207
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.d.ts +0 -70
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.js +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +0 -154
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.js +0 -21
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +0 -45
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +0 -417
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.d.ts +0 -62
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.js +0 -389
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +0 -39
- package/node_modules/@types/debug/LICENSE +0 -21
- package/node_modules/@types/debug/README.md +0 -69
- package/node_modules/@types/debug/index.d.ts +0 -50
- package/node_modules/@types/debug/package.json +0 -58
- package/node_modules/@types/mdast/LICENSE +0 -21
- package/node_modules/@types/mdast/README.md +0 -15
- package/node_modules/@types/mdast/index.d.ts +0 -1123
- package/node_modules/@types/mdast/package.json +0 -47
- package/node_modules/@types/ms/LICENSE +0 -21
- package/node_modules/@types/ms/README.md +0 -82
- package/node_modules/@types/ms/index.d.ts +0 -63
- package/node_modules/@types/ms/package.json +0 -26
- package/node_modules/@types/unist/LICENSE +0 -21
- package/node_modules/@types/unist/README.md +0 -15
- package/node_modules/@types/unist/index.d.ts +0 -119
- package/node_modules/@types/unist/package.json +0 -60
- package/node_modules/character-entities/index.d.ts +0 -6
- package/node_modules/character-entities/index.js +0 -2132
- package/node_modules/character-entities/license +0 -22
- package/node_modules/character-entities/package.json +0 -78
- package/node_modules/character-entities/readme.md +0 -152
- package/node_modules/debug/LICENSE +0 -20
- package/node_modules/debug/README.md +0 -481
- package/node_modules/debug/package.json +0 -64
- package/node_modules/debug/src/browser.js +0 -272
- package/node_modules/debug/src/common.js +0 -292
- package/node_modules/debug/src/index.js +0 -10
- package/node_modules/debug/src/node.js +0 -263
- package/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/node_modules/decode-named-character-reference/index.js +0 -19
- package/node_modules/decode-named-character-reference/license +0 -22
- package/node_modules/decode-named-character-reference/package.json +0 -90
- package/node_modules/decode-named-character-reference/readme.md +0 -136
- package/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/dequal/license +0 -21
- package/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/dequal/package.json +0 -57
- package/node_modules/dequal/readme.md +0 -112
- package/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/devlop/license +0 -22
- package/node_modules/devlop/package.json +0 -80
- package/node_modules/devlop/readme.md +0 -360
- package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1455
- package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -321
- package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1270
- package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -321
- package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/license +0 -22
- package/node_modules/mdast-util-from-markdown/package.json +0 -98
- package/node_modules/mdast-util-from-markdown/readme.md +0 -549
- package/node_modules/mdast-util-to-string/index.d.ts +0 -2
- package/node_modules/mdast-util-to-string/index.js +0 -5
- package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
- package/node_modules/mdast-util-to-string/lib/index.js +0 -108
- package/node_modules/mdast-util-to-string/license +0 -22
- package/node_modules/mdast-util-to-string/package.json +0 -78
- package/node_modules/mdast-util-to-string/readme.md +0 -218
- package/node_modules/micromark/dev/index.d.ts +0 -82
- package/node_modules/micromark/dev/index.d.ts.map +0 -1
- package/node_modules/micromark/dev/index.js +0 -68
- package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
- package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/compile.js +0 -1162
- package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
- package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/constructs.js +0 -101
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -718
- package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
- package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
- package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
- package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/document.js +0 -449
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
- package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
- package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/text.js +0 -248
- package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
- package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/parse.js +0 -58
- package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
- package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/postprocess.js +0 -19
- package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
- package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/preprocess.js +0 -139
- package/node_modules/micromark/dev/stream.d.ts +0 -35
- package/node_modules/micromark/dev/stream.d.ts.map +0 -1
- package/node_modules/micromark/dev/stream.js +0 -270
- package/node_modules/micromark/index.d.ts +0 -82
- package/node_modules/micromark/index.d.ts.map +0 -1
- package/node_modules/micromark/index.js +0 -60
- package/node_modules/micromark/lib/compile.d.ts +0 -16
- package/node_modules/micromark/lib/compile.d.ts.map +0 -1
- package/node_modules/micromark/lib/compile.js +0 -1068
- package/node_modules/micromark/lib/constructs.d.ts +0 -73
- package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
- package/node_modules/micromark/lib/constructs.js +0 -85
- package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/micromark/lib/create-tokenizer.js +0 -613
- package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
- package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/content.js +0 -79
- package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
- package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/document.js +0 -370
- package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
- package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/flow.js +0 -58
- package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
- package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/text.js +0 -216
- package/node_modules/micromark/lib/parse.d.ts +0 -10
- package/node_modules/micromark/lib/parse.d.ts.map +0 -1
- package/node_modules/micromark/lib/parse.js +0 -56
- package/node_modules/micromark/lib/postprocess.d.ts +0 -9
- package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
- package/node_modules/micromark/lib/postprocess.js +0 -18
- package/node_modules/micromark/lib/preprocess.d.ts +0 -13
- package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
- package/node_modules/micromark/lib/preprocess.js +0 -112
- package/node_modules/micromark/license +0 -22
- package/node_modules/micromark/package.json +0 -87
- package/node_modules/micromark/readme.md +0 -488
- package/node_modules/micromark/stream.d.ts +0 -35
- package/node_modules/micromark/stream.d.ts.map +0 -1
- package/node_modules/micromark/stream.js +0 -256
- package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
- package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -294
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -472
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -178
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -229
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -938
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -658
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -119
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -71
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +0 -67
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -213
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
- package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
- package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/index.js +0 -22
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/attention.js +0 -231
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -422
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -159
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
- package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
- package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -191
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -827
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -561
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -110
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -63
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
- package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +0 -61
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -187
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
- package/node_modules/micromark-core-commonmark/license +0 -22
- package/node_modules/micromark-core-commonmark/package.json +0 -62
- package/node_modules/micromark-core-commonmark/readme.md +0 -171
- package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
- package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-destination/dev/index.js +0 -255
- package/node_modules/micromark-factory-destination/index.d.ts +0 -42
- package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-destination/index.js +0 -206
- package/node_modules/micromark-factory-destination/license +0 -22
- package/node_modules/micromark-factory-destination/package.json +0 -57
- package/node_modules/micromark-factory-destination/readme.md +0 -234
- package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
- package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-label/dev/index.js +0 -172
- package/node_modules/micromark-factory-label/index.d.ts +0 -37
- package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-label/index.js +0 -148
- package/node_modules/micromark-factory-label/license +0 -22
- package/node_modules/micromark-factory-label/package.json +0 -60
- package/node_modules/micromark-factory-label/readme.md +0 -224
- package/node_modules/micromark-factory-space/dev/index.d.ts +0 -60
- package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-space/dev/index.js +0 -122
- package/node_modules/micromark-factory-space/index.d.ts +0 -60
- package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-space/index.js +0 -116
- package/node_modules/micromark-factory-space/license +0 -22
- package/node_modules/micromark-factory-space/package.json +0 -46
- package/node_modules/micromark-factory-space/readme.md +0 -225
- package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
- package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-title/dev/index.js +0 -169
- package/node_modules/micromark-factory-title/index.d.ts +0 -36
- package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-title/index.js +0 -158
- package/node_modules/micromark-factory-title/license +0 -22
- package/node_modules/micromark-factory-title/package.json +0 -58
- package/node_modules/micromark-factory-title/readme.md +0 -229
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
- package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
- package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-whitespace/index.js +0 -44
- package/node_modules/micromark-factory-whitespace/license +0 -22
- package/node_modules/micromark-factory-whitespace/package.json +0 -57
- package/node_modules/micromark-factory-whitespace/readme.md +0 -205
- package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/micromark-util-character/license +0 -22
- package/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
- package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-chunked/dev/index.js +0 -89
- package/node_modules/micromark-util-chunked/index.d.ts +0 -41
- package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
- package/node_modules/micromark-util-chunked/index.js +0 -81
- package/node_modules/micromark-util-chunked/license +0 -22
- package/node_modules/micromark-util-chunked/package.json +0 -57
- package/node_modules/micromark-util-chunked/readme.md +0 -219
- package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/node_modules/micromark-util-classify-character/index.js +0 -27
- package/node_modules/micromark-util-classify-character/license +0 -22
- package/node_modules/micromark-util-classify-character/package.json +0 -59
- package/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
- package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
- package/node_modules/micromark-util-combine-extensions/index.js +0 -143
- package/node_modules/micromark-util-combine-extensions/license +0 -22
- package/node_modules/micromark-util-combine-extensions/package.json +0 -52
- package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
- package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
- package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
- package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-string/index.js +0 -45
- package/node_modules/micromark-util-decode-string/license +0 -22
- package/node_modules/micromark-util-decode-string/package.json +0 -63
- package/node_modules/micromark-util-decode-string/readme.md +0 -179
- package/node_modules/micromark-util-edit-map/dev/index.d.ts +0 -78
- package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-edit-map/dev/index.js +0 -237
- package/node_modules/micromark-util-edit-map/index.d.ts +0 -78
- package/node_modules/micromark-util-edit-map/index.d.ts.map +0 -1
- package/node_modules/micromark-util-edit-map/index.js +0 -225
- package/node_modules/micromark-util-edit-map/license +0 -22
- package/node_modules/micromark-util-edit-map/package.json +0 -48
- package/node_modules/micromark-util-edit-map/readme.md +0 -234
- package/node_modules/micromark-util-encode/index.d.ts +0 -14
- package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
- package/node_modules/micromark-util-encode/index.js +0 -33
- package/node_modules/micromark-util-encode/license +0 -22
- package/node_modules/micromark-util-encode/package.json +0 -47
- package/node_modules/micromark-util-encode/readme.md +0 -176
- package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
- package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
- package/node_modules/micromark-util-html-tag-name/index.js +0 -93
- package/node_modules/micromark-util-html-tag-name/license +0 -22
- package/node_modules/micromark-util-html-tag-name/package.json +0 -47
- package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
- package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
- package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
- package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
- package/node_modules/micromark-util-normalize-identifier/license +0 -22
- package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
- package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
- package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
- package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
- package/node_modules/micromark-util-resolve-all/index.js +0 -32
- package/node_modules/micromark-util-resolve-all/license +0 -22
- package/node_modules/micromark-util-resolve-all/package.json +0 -48
- package/node_modules/micromark-util-resolve-all/readme.md +0 -238
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
- package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
- package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
- package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
- package/node_modules/micromark-util-sanitize-uri/license +0 -22
- package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
- package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
- package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
- package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/index.js +0 -228
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
- package/node_modules/micromark-util-subtokenize/license +0 -22
- package/node_modules/micromark-util-subtokenize/package.json +0 -60
- package/node_modules/micromark-util-subtokenize/readme.md +0 -181
- package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/micromark-util-types/index.d.ts +0 -1315
- package/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/micromark-util-types/license +0 -22
- package/node_modules/micromark-util-types/package.json +0 -37
- package/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/ms/index.js +0 -162
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -38
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
- package/node_modules/unist-util-stringify-position/index.js +0 -1
- package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
- package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
- package/node_modules/unist-util-stringify-position/license +0 -22
- package/node_modules/unist-util-stringify-position/package.json +0 -80
- package/node_modules/unist-util-stringify-position/readme.md +0 -206
- package/packages/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
- package/packages/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
- package/packages/octo-runtime-extra-webui/config-schema.json +0 -134
|
@@ -1,588 +0,0 @@
|
|
|
1
|
-
import { sanitizePublicValue } from "@mininglamp-oss/octo-runtime-adapter-sdk";
|
|
2
|
-
import { fromMarkdown } from "mdast-util-from-markdown";
|
|
3
|
-
const publicExposures = new Set(["public_reasoning", "public_summary", "public_plan"]);
|
|
4
|
-
const PROGRESS_WINDOW = 5;
|
|
5
|
-
const PREVIEW_RUNES = 180;
|
|
6
|
-
// 近期退役缓存只作辅助;未结束步骤的精确去重不能依赖其容量或滚动淘汰。
|
|
7
|
-
const RETIRED_WINDOW = 256;
|
|
8
|
-
export class ImRunProjector {
|
|
9
|
-
runId;
|
|
10
|
-
allowToolPreview;
|
|
11
|
-
#items = new Map();
|
|
12
|
-
#messages = new Map();
|
|
13
|
-
#toolInputs = new Map();
|
|
14
|
-
#steps = new Map();
|
|
15
|
-
#activeTools = new Map();
|
|
16
|
-
// 未结束步骤的身份与分类用于准确去重;不保存旧正文,步骤结束即释放。
|
|
17
|
-
#stepMessages = new Map();
|
|
18
|
-
#stepTools = new Map();
|
|
19
|
-
#unfinishedSteps = new Set();
|
|
20
|
-
#hasClosedStep = false;
|
|
21
|
-
#finalMessages = new Map();
|
|
22
|
-
#retired = new Set();
|
|
23
|
-
#reasoningCount = 0;
|
|
24
|
-
#toolCallCount = 0;
|
|
25
|
-
#modelStepCount = 0;
|
|
26
|
-
#disposed = false;
|
|
27
|
-
#currentStep;
|
|
28
|
-
#seq = 0;
|
|
29
|
-
#phase = "accepted";
|
|
30
|
-
#label;
|
|
31
|
-
#startedAt;
|
|
32
|
-
#endedAt;
|
|
33
|
-
#terminal;
|
|
34
|
-
#failure;
|
|
35
|
-
#failureMessage;
|
|
36
|
-
#failureDetail;
|
|
37
|
-
#providerDiagnostic;
|
|
38
|
-
#retryNoticeCount = 0;
|
|
39
|
-
#finalReply;
|
|
40
|
-
#replyAssessment;
|
|
41
|
-
constructor(runId, allowToolPreview = false) {
|
|
42
|
-
this.runId = runId;
|
|
43
|
-
this.allowToolPreview = allowToolPreview;
|
|
44
|
-
}
|
|
45
|
-
accept(event, now = Date.now()) {
|
|
46
|
-
// 终态后不再接纳迟到帧,防止完成卡片被旧进度改回执行中。
|
|
47
|
-
if (this.#terminal || this.#disposed)
|
|
48
|
-
return;
|
|
49
|
-
this.#seq++;
|
|
50
|
-
const p = event.payload;
|
|
51
|
-
// 实际协议以 activity/model_step 启动计时,不能只等待历史 run.started。
|
|
52
|
-
if (event.type === "activity.started" || event.type === "model_step.started")
|
|
53
|
-
this.#startedAt ??= now;
|
|
54
|
-
if (event.type === "run.started") {
|
|
55
|
-
this.#startedAt ??= now;
|
|
56
|
-
this.#phase = "model";
|
|
57
|
-
this.#label = undefined;
|
|
58
|
-
}
|
|
59
|
-
if (event.type === "run.queued")
|
|
60
|
-
this.#phase = "accepted";
|
|
61
|
-
if (event.type === "model_step.started") {
|
|
62
|
-
const p = event.payload;
|
|
63
|
-
if (this.#retired.has(`step:${p.stepId}`))
|
|
64
|
-
return;
|
|
65
|
-
this.#currentStep = p.stepId;
|
|
66
|
-
this.#unfinishedSteps.add(p.stepId);
|
|
67
|
-
let step = this.#steps.get(p.stepId);
|
|
68
|
-
if (!step) {
|
|
69
|
-
step = {
|
|
70
|
-
id: `step:${p.stepId}`,
|
|
71
|
-
kind: "model_step",
|
|
72
|
-
stepId: p.stepId,
|
|
73
|
-
status: "running",
|
|
74
|
-
content: "",
|
|
75
|
-
ordinal: ++this.#modelStepCount
|
|
76
|
-
};
|
|
77
|
-
this.#steps.set(p.stepId, step);
|
|
78
|
-
}
|
|
79
|
-
step.startedAtMs = p.startedAtMs;
|
|
80
|
-
this.#pruneSteps();
|
|
81
|
-
this.#phase = "model";
|
|
82
|
-
this.#label = undefined;
|
|
83
|
-
}
|
|
84
|
-
if (event.type === "model_step.finished") {
|
|
85
|
-
const p = event.payload;
|
|
86
|
-
const item = this.#steps.get(p.stepId);
|
|
87
|
-
if (item) {
|
|
88
|
-
item.status = p.status;
|
|
89
|
-
item.finishReason = p.finishReason;
|
|
90
|
-
if (item.startedAtMs !== undefined && p.endedAtMs !== undefined)
|
|
91
|
-
item.durationMs = Math.max(0, p.endedAtMs - item.startedAtMs);
|
|
92
|
-
}
|
|
93
|
-
// 有的 Provider 只结束步骤、不逐条结束 reasoning;所属消息此时不再是在途资源。
|
|
94
|
-
this.#hasClosedStep = true;
|
|
95
|
-
this.#unfinishedSteps.delete(p.stepId);
|
|
96
|
-
for (const [id, message] of this.#stepMessages)
|
|
97
|
-
if (message.stepId === p.stepId) {
|
|
98
|
-
this.#stepMessages.delete(id);
|
|
99
|
-
this.#retire(`message:${id}`);
|
|
100
|
-
const detail = this.#items.get(`message:${id}`);
|
|
101
|
-
if (detail?.status === "running")
|
|
102
|
-
detail.status = p.status;
|
|
103
|
-
}
|
|
104
|
-
for (const [id, stepId] of this.#stepTools)
|
|
105
|
-
if (stepId === p.stepId && !this.#activeTools.has(id)) {
|
|
106
|
-
this.#stepTools.delete(id);
|
|
107
|
-
this.#retire(`tool:${id}`);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
if (event.type.startsWith("message.")) {
|
|
111
|
-
const id = p.messageId ??
|
|
112
|
-
`unidentified:${p.stepId ?? this.#currentStep ?? "run"}:${p.channel ?? "final"}`;
|
|
113
|
-
const hasStableId = typeof p.messageId === "string" && p.messageId.length > 0;
|
|
114
|
-
// 合成的匿名 key 不是源消息身份,不能借其碰巧命中的记录推断通道。
|
|
115
|
-
if (p.channel === undefined && !hasStableId)
|
|
116
|
-
return;
|
|
117
|
-
const storedIdentity = this.#stepMessages.get(id);
|
|
118
|
-
const identity = storedIdentity?.stableId === hasStableId ? storedIdentity : undefined;
|
|
119
|
-
const knownFinal = hasStableId && this.#finalMessages.get(id)?.stableId === true;
|
|
120
|
-
// 已淘汰进度的迟到 delta 可能省略 channel,不能按缺省 final 拼进最终回复。
|
|
121
|
-
if (this.#retired.has(`message:${id}`) && !identity && p.channel !== "final" && !knownFinal)
|
|
122
|
-
return;
|
|
123
|
-
const storedPrevious = this.#messages.get(id);
|
|
124
|
-
const previous = storedPrevious?.stableId === hasStableId ? storedPrevious : undefined;
|
|
125
|
-
const channel = p.channel ?? (knownFinal ? "final" : (previous?.channel ?? identity?.channel));
|
|
126
|
-
// 无法证明通道时不发布正文;匿名帧也不能借用另一个匿名 final 的身份。
|
|
127
|
-
if (channel === undefined)
|
|
128
|
-
return;
|
|
129
|
-
const scopedStepId = p.stepId ?? previous?.stepId ?? identity?.stepId;
|
|
130
|
-
// 步骤结束后,未知旧身份不能仅靠 currentStep 被补造成当前步骤的新记录。
|
|
131
|
-
if (this.#hasClosedStep &&
|
|
132
|
-
scopedStepId === undefined &&
|
|
133
|
-
!identity &&
|
|
134
|
-
!previous &&
|
|
135
|
-
channel !== "final" &&
|
|
136
|
-
event.type !== "message.create")
|
|
137
|
-
return;
|
|
138
|
-
const stepId = scopedStepId ?? this.#currentStep;
|
|
139
|
-
// 已结束步骤的非 final/未分类迟到帧不能因身份缓存滚动而重新进入当前步骤。
|
|
140
|
-
if (p.channel !== "final" && !knownFinal && this.#stepClosed(stepId))
|
|
141
|
-
return;
|
|
142
|
-
// update 也可能是流式替换快照(例如 OpenClaw),不能仅按事件名提前清除分类。
|
|
143
|
-
const running = event.type !== "message.update" || p.status === "streaming" || p.status === "running";
|
|
144
|
-
// analysis 必须显式声明可公开;历史片段也清除,避免后续快照泄漏。
|
|
145
|
-
if (channel === "analysis" && !publicExposures.has(p.exposure ?? "")) {
|
|
146
|
-
this.#stepMessages.set(id, {
|
|
147
|
-
channel,
|
|
148
|
-
stepId,
|
|
149
|
-
hidden: identity?.hidden ?? false,
|
|
150
|
-
counted: identity?.counted ?? false,
|
|
151
|
-
stableId: hasStableId
|
|
152
|
-
});
|
|
153
|
-
this.#messages.delete(id);
|
|
154
|
-
this.#items.delete(`message:${id}`);
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
if (!["analysis", "commentary", "final"].includes(channel) ||
|
|
158
|
-
(p.role && p.role !== "assistant"))
|
|
159
|
-
return;
|
|
160
|
-
if (channel === "final") {
|
|
161
|
-
this.#stepMessages.delete(id);
|
|
162
|
-
const text = typeof p.text !== "string"
|
|
163
|
-
? (this.#finalMessages.get(id)?.text ?? "")
|
|
164
|
-
: event.type === "message.delta"
|
|
165
|
-
? (this.#finalMessages.get(id)?.text ?? "") + p.text
|
|
166
|
-
: p.text;
|
|
167
|
-
this.#finalMessages.set(id, { text, stableId: hasStableId });
|
|
168
|
-
const step = stepId && this.#steps.get(stepId);
|
|
169
|
-
if (step)
|
|
170
|
-
step.content = previewText(text);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
if (this.#retired.has(`message:${id}`) && !identity)
|
|
174
|
-
return;
|
|
175
|
-
// 同一步骤内的迟到更新仍使用原分类和计数;已淘汰正文不回窗。
|
|
176
|
-
if (identity?.hidden) {
|
|
177
|
-
if (channel === "analysis" && !identity.counted) {
|
|
178
|
-
this.#reasoningCount++;
|
|
179
|
-
identity.counted = true;
|
|
180
|
-
}
|
|
181
|
-
identity.channel = channel;
|
|
182
|
-
if (!running)
|
|
183
|
-
this.#retire(`message:${id}`);
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
// 有步骤身份的迟到快照不能重新创建已离开窗口的旧阶段。
|
|
187
|
-
if (stepId && stepId !== this.#currentStep && !this.#steps.has(stepId)) {
|
|
188
|
-
// 首次公开但已不在近期阶段的摘要仍计数,不为了统计恢复旧正文。
|
|
189
|
-
if (channel === "analysis" && !identity?.counted)
|
|
190
|
-
this.#reasoningCount++;
|
|
191
|
-
this.#stepMessages.set(id, {
|
|
192
|
-
channel,
|
|
193
|
-
stepId,
|
|
194
|
-
hidden: true,
|
|
195
|
-
counted: channel === "analysis" || !!identity?.counted,
|
|
196
|
-
stableId: hasStableId
|
|
197
|
-
});
|
|
198
|
-
this.#retire(`message:${id}`);
|
|
199
|
-
return;
|
|
200
|
-
}
|
|
201
|
-
const text = typeof p.text !== "string"
|
|
202
|
-
? (previous?.text ?? "")
|
|
203
|
-
: event.type === "message.delta"
|
|
204
|
-
? appendPreview(previous?.text ?? "", p.text)
|
|
205
|
-
: previewText(p.text);
|
|
206
|
-
const existing = this.#items.get(`message:${id}`);
|
|
207
|
-
if (!existing && channel === "analysis" && !identity?.counted)
|
|
208
|
-
this.#reasoningCount++;
|
|
209
|
-
this.#stepMessages.set(id, {
|
|
210
|
-
channel,
|
|
211
|
-
stepId,
|
|
212
|
-
hidden: false,
|
|
213
|
-
counted: channel === "analysis" || !!identity?.counted,
|
|
214
|
-
stableId: hasStableId
|
|
215
|
-
});
|
|
216
|
-
const item = this.#item(`message:${id}`, channel === "analysis" ? "reasoning" : "commentary", stepId);
|
|
217
|
-
item.content = text;
|
|
218
|
-
item.status = event.type === "message.update" ? "completed" : "running";
|
|
219
|
-
this.#messages.set(id, { channel, text, stepId, stableId: hasStableId });
|
|
220
|
-
}
|
|
221
|
-
this.#phase =
|
|
222
|
-
channel === "final" ? "answering" : channel === "analysis" ? "thinking" : "commentary";
|
|
223
|
-
this.#label = undefined;
|
|
224
|
-
}
|
|
225
|
-
if (event.type === "tool_call.create") {
|
|
226
|
-
const p = event.payload;
|
|
227
|
-
if (this.#retired.has(`tool:${p.id}`) ||
|
|
228
|
-
this.#stepTools.has(p.id) ||
|
|
229
|
-
this.#activeTools.has(p.id) ||
|
|
230
|
-
this.#items.has(`tool:${p.id}`))
|
|
231
|
-
return;
|
|
232
|
-
const stepId = p.stepId ?? this.#currentStep;
|
|
233
|
-
if (this.#stepClosed(stepId))
|
|
234
|
-
return;
|
|
235
|
-
const item = this.#item(`tool:${p.id}`, "tool", stepId);
|
|
236
|
-
this.#toolCallCount++;
|
|
237
|
-
this.#stepTools.set(p.id, stepId);
|
|
238
|
-
item.toolName = p.name;
|
|
239
|
-
item.startedAtMs = now;
|
|
240
|
-
if (this.allowToolPreview)
|
|
241
|
-
item.summary = toolPreview(p.name, p.args);
|
|
242
|
-
const command = stringArg(p.args.command ?? p.args.cmd);
|
|
243
|
-
if (command.length <= 8192)
|
|
244
|
-
this.#toolInputs.set(p.id, { command });
|
|
245
|
-
this.#activeTools.set(p.id, item);
|
|
246
|
-
this.#phase = "tool";
|
|
247
|
-
this.#label = undefined;
|
|
248
|
-
}
|
|
249
|
-
if (event.type === "tool_call.update") {
|
|
250
|
-
const p = event.payload;
|
|
251
|
-
let item = this.#activeTools.get(p.id) ?? this.#items.get(`tool:${p.id}`);
|
|
252
|
-
const args = p.args && typeof p.args === "object" && !Array.isArray(p.args)
|
|
253
|
-
? p.args
|
|
254
|
-
: {};
|
|
255
|
-
if (!item) {
|
|
256
|
-
// 已有步骤完成时,缺少自身步骤的未知终态可能是旧工具迟到;不能补造归属。
|
|
257
|
-
if (this.#hasClosedStep && p.stepId === undefined)
|
|
258
|
-
return;
|
|
259
|
-
const stepId = p.stepId ?? this.#currentStep;
|
|
260
|
-
if (this.#stepTools.has(p.id) ||
|
|
261
|
-
this.#retired.has(`tool:${p.id}`) ||
|
|
262
|
-
this.#stepClosed(stepId))
|
|
263
|
-
return;
|
|
264
|
-
// ACP/OpenCode 支持仅终态工具;补建展示和计数,不虚构开始时间。
|
|
265
|
-
item = this.#item(`tool:${p.id}`, "tool", stepId);
|
|
266
|
-
this.#toolCallCount++;
|
|
267
|
-
this.#stepTools.set(p.id, stepId);
|
|
268
|
-
}
|
|
269
|
-
if (typeof p.name === "string") {
|
|
270
|
-
item.toolName = p.name;
|
|
271
|
-
if (this.allowToolPreview && item.summary === undefined)
|
|
272
|
-
item.summary = toolPreview(p.name, args);
|
|
273
|
-
}
|
|
274
|
-
item.status = p.status;
|
|
275
|
-
item.exitCode = p.exitCode;
|
|
276
|
-
item.durationMs =
|
|
277
|
-
p.durationMs ??
|
|
278
|
-
(item.startedAtMs === undefined ? undefined : Math.max(0, now - item.startedAtMs));
|
|
279
|
-
const command = stringArg(args.command ?? args.cmd);
|
|
280
|
-
const input = this.#toolInputs.get(p.id) ?? (command.length <= 8192 ? { command } : undefined);
|
|
281
|
-
if (p.status === "failed" && p.exitCode === 2 && input && detectorFindings(input, p.output))
|
|
282
|
-
item.outcome = "check_findings";
|
|
283
|
-
this.#toolInputs.delete(p.id);
|
|
284
|
-
this.#activeTools.delete(p.id);
|
|
285
|
-
if (this.#stepClosed(item.stepId))
|
|
286
|
-
this.#stepTools.delete(p.id);
|
|
287
|
-
if (!this.#items.has(item.id))
|
|
288
|
-
this.#retire(item.id);
|
|
289
|
-
this.#phase = "tool";
|
|
290
|
-
this.#label = "工具调用完成";
|
|
291
|
-
}
|
|
292
|
-
if (event.type === "activity.started") {
|
|
293
|
-
const p = event.payload;
|
|
294
|
-
const phases = {
|
|
295
|
-
thinking: "thinking",
|
|
296
|
-
executing_tool: "tool",
|
|
297
|
-
responding: "answering",
|
|
298
|
-
starting: "accepted",
|
|
299
|
-
waiting_input: "waiting",
|
|
300
|
-
waiting_approval: "waiting",
|
|
301
|
-
compacting: "model",
|
|
302
|
-
retrying: "model",
|
|
303
|
-
working: "model"
|
|
304
|
-
};
|
|
305
|
-
this.#phase = phases[p.kind] ?? "model";
|
|
306
|
-
this.#label = undefined;
|
|
307
|
-
}
|
|
308
|
-
if (event.type === "interaction.requested") {
|
|
309
|
-
this.#phase = "waiting";
|
|
310
|
-
this.#label = "等待你的确认或输入";
|
|
311
|
-
}
|
|
312
|
-
if (event.type === "interaction.resolved") {
|
|
313
|
-
this.#phase = "model";
|
|
314
|
-
this.#label = undefined;
|
|
315
|
-
}
|
|
316
|
-
if (event.type === "run.notice") {
|
|
317
|
-
const p = event.payload;
|
|
318
|
-
if (p.code === "provider_diagnostic" && !this.#providerDiagnostic) {
|
|
319
|
-
this.#providerDiagnostic = {
|
|
320
|
-
adapter: String(p.params.adapter),
|
|
321
|
-
diagnosticId: String(p.params.diagnosticId),
|
|
322
|
-
category: String(p.params.category),
|
|
323
|
-
message: String(sanitizePublicValue(p.params.message))
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
if (p.code === "retry_scheduled")
|
|
327
|
-
this.#retryNoticeCount = Math.min(65535, this.#retryNoticeCount + 1);
|
|
328
|
-
const labels = {
|
|
329
|
-
retry_scheduled: "正在重试",
|
|
330
|
-
context_compacted: "上下文已压缩",
|
|
331
|
-
model_rerouted: "已切换模型",
|
|
332
|
-
config_warning: "执行配置提示",
|
|
333
|
-
provider_diagnostic: "执行遇到问题,等待最终结果"
|
|
334
|
-
};
|
|
335
|
-
this.#label = labels[p.code];
|
|
336
|
-
}
|
|
337
|
-
if (event.type === "run.completed" ||
|
|
338
|
-
event.type === "run.failed" ||
|
|
339
|
-
event.type === "run.cancelled") {
|
|
340
|
-
this.#terminal =
|
|
341
|
-
event.type === "run.completed"
|
|
342
|
-
? "completed"
|
|
343
|
-
: event.type === "run.failed"
|
|
344
|
-
? "failed"
|
|
345
|
-
: "cancelled";
|
|
346
|
-
this.#endedAt = now;
|
|
347
|
-
this.#label = undefined;
|
|
348
|
-
this.#failure = p.failure;
|
|
349
|
-
if (event.type === "run.failed") {
|
|
350
|
-
const message = sanitizePublicValue(p.message);
|
|
351
|
-
const error = sanitizePublicValue(p.error);
|
|
352
|
-
this.#failureMessage = typeof message === "string" && message.trim() ? message : undefined;
|
|
353
|
-
const detail = typeof error === "string"
|
|
354
|
-
? error
|
|
355
|
-
: error && typeof error === "object"
|
|
356
|
-
? JSON.stringify(error, null, 2)
|
|
357
|
-
: undefined;
|
|
358
|
-
this.#failureDetail =
|
|
359
|
-
detail && detail !== this.#failureMessage
|
|
360
|
-
? [this.#failureMessage, detail].filter(Boolean).join("\n")
|
|
361
|
-
: this.#failureMessage || detail;
|
|
362
|
-
}
|
|
363
|
-
this.#selectFinalReply();
|
|
364
|
-
for (const item of [...this.#items.values(), ...this.#steps.values()])
|
|
365
|
-
if (item.status === "running")
|
|
366
|
-
item.status = this.#terminal === "completed" ? "completed" : "cancelled";
|
|
367
|
-
this.#activeTools.clear();
|
|
368
|
-
this.#stepMessages.clear();
|
|
369
|
-
this.#stepTools.clear();
|
|
370
|
-
this.#unfinishedSteps.clear();
|
|
371
|
-
this.#toolInputs.clear();
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
#item(id, kind, stepId) {
|
|
375
|
-
let item = this.#items.get(id);
|
|
376
|
-
if (!item) {
|
|
377
|
-
item = { id, kind, stepId, status: "running", content: "" };
|
|
378
|
-
this.#items.set(id, item);
|
|
379
|
-
if (this.#items.size > PROGRESS_WINDOW) {
|
|
380
|
-
const oldest = this.#items.keys().next().value;
|
|
381
|
-
this.#items.delete(oldest);
|
|
382
|
-
if (oldest.startsWith("message:")) {
|
|
383
|
-
const messageId = oldest.slice(8);
|
|
384
|
-
this.#messages.delete(messageId);
|
|
385
|
-
const identity = this.#stepMessages.get(messageId);
|
|
386
|
-
if (identity)
|
|
387
|
-
identity.hidden = true;
|
|
388
|
-
}
|
|
389
|
-
this.#retire(oldest);
|
|
390
|
-
}
|
|
391
|
-
this.#pruneSteps();
|
|
392
|
-
}
|
|
393
|
-
return item;
|
|
394
|
-
}
|
|
395
|
-
get finalText() {
|
|
396
|
-
return [...this.#finalMessages.values()]
|
|
397
|
-
.map((message) => message.text)
|
|
398
|
-
.filter(Boolean)
|
|
399
|
-
.join("\n\n");
|
|
400
|
-
}
|
|
401
|
-
#retire(id) {
|
|
402
|
-
this.#retired.add(id);
|
|
403
|
-
if (this.#retired.size > RETIRED_WINDOW)
|
|
404
|
-
this.#retired.delete(this.#retired.values().next().value);
|
|
405
|
-
}
|
|
406
|
-
#pruneSteps() {
|
|
407
|
-
const retained = new Set([...this.#items.values()].map((item) => item.stepId));
|
|
408
|
-
retained.add(this.#currentStep);
|
|
409
|
-
for (const [id] of this.#steps)
|
|
410
|
-
if (!retained.has(id)) {
|
|
411
|
-
this.#steps.delete(id);
|
|
412
|
-
this.#retire(`step:${id}`);
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
#stepClosed(stepId) {
|
|
416
|
-
// 无步骤事件沿用隐式单步,兼容旧归一化器;有步骤流以 started/finished 管理身份。
|
|
417
|
-
return (stepId !== undefined && this.#currentStep !== undefined && !this.#unfinishedSteps.has(stepId));
|
|
418
|
-
}
|
|
419
|
-
/** 最终文本已取出、卡片/投递收尾后调用;即使迟到回调仍引用对象,也不再持有正文。 */
|
|
420
|
-
dispose() {
|
|
421
|
-
this.#disposed = true;
|
|
422
|
-
this.#items.clear();
|
|
423
|
-
this.#messages.clear();
|
|
424
|
-
this.#steps.clear();
|
|
425
|
-
this.#activeTools.clear();
|
|
426
|
-
this.#stepMessages.clear();
|
|
427
|
-
this.#stepTools.clear();
|
|
428
|
-
this.#unfinishedSteps.clear();
|
|
429
|
-
this.#toolInputs.clear();
|
|
430
|
-
this.#finalMessages.clear();
|
|
431
|
-
this.#retired.clear();
|
|
432
|
-
this.#currentStep = undefined;
|
|
433
|
-
this.#finalReply = undefined;
|
|
434
|
-
this.#failure = undefined;
|
|
435
|
-
this.#failureDetail = this.#failureMessage = undefined;
|
|
436
|
-
this.#providerDiagnostic = undefined;
|
|
437
|
-
}
|
|
438
|
-
// 只在终态选择一次;有故障证据的轮次才解析可见 Markdown 内容。
|
|
439
|
-
#selectFinalReply() {
|
|
440
|
-
let text;
|
|
441
|
-
let allowMention = false;
|
|
442
|
-
if (this.#terminal === "completed") {
|
|
443
|
-
const selected = this.finalText;
|
|
444
|
-
const diagnosed = !!this.#providerDiagnostic || this.#retryNoticeCount > 0;
|
|
445
|
-
const visible = diagnosed ? hasVisibleReply(selected) : !!selected.trim();
|
|
446
|
-
this.#replyAssessment = visible ? "ready" : diagnosed ? "needs_verification" : "empty";
|
|
447
|
-
allowMention = visible;
|
|
448
|
-
text = visible
|
|
449
|
-
? selected
|
|
450
|
-
: diagnosed
|
|
451
|
-
? "执行已结束,但未收到可确认的回复。请核查任务结果,避免重复执行。" +
|
|
452
|
-
(this.#providerDiagnostic
|
|
453
|
-
? `\n原因:${this.#providerDiagnostic.message}\n诊断编号:${this.#providerDiagnostic.diagnosticId}`
|
|
454
|
-
: "")
|
|
455
|
-
: "执行已结束,未返回文本。";
|
|
456
|
-
}
|
|
457
|
-
else
|
|
458
|
-
text =
|
|
459
|
-
this.#terminal === "cancelled"
|
|
460
|
-
? "本轮执行已中断。"
|
|
461
|
-
: `执行失败:${clampRunes(this.#failureDetail || "系统未返回具体原因,请查看运行记录。", 8000)}${failureIdentity(this.#failure)}`;
|
|
462
|
-
this.#finalReply = { text, allowMention };
|
|
463
|
-
}
|
|
464
|
-
get finalReply() {
|
|
465
|
-
return (this.#finalReply ?? {
|
|
466
|
-
text: "本轮执行结果未知,请查看运行记录,避免重复执行。",
|
|
467
|
-
allowMention: false
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
snapshot(now = Date.now()) {
|
|
471
|
-
const items = structuredClone([...this.#items.values()]);
|
|
472
|
-
return {
|
|
473
|
-
runId: this.runId,
|
|
474
|
-
seq: this.#seq,
|
|
475
|
-
phase: this.#phase,
|
|
476
|
-
label: this.#label,
|
|
477
|
-
terminal: this.#terminal,
|
|
478
|
-
elapsedMs: this.#startedAt === undefined
|
|
479
|
-
? undefined
|
|
480
|
-
: Math.max(0, (this.#endedAt ?? now) - this.#startedAt),
|
|
481
|
-
items,
|
|
482
|
-
modelSteps: structuredClone([...this.#steps.values()]),
|
|
483
|
-
reasoningCount: this.#reasoningCount,
|
|
484
|
-
toolCallCount: this.#toolCallCount,
|
|
485
|
-
modelStepCount: this.#modelStepCount,
|
|
486
|
-
failure: this.#failure,
|
|
487
|
-
failureMessage: this.#failureMessage,
|
|
488
|
-
failureDetail: this.#failureDetail,
|
|
489
|
-
replyAssessment: this.#replyAssessment,
|
|
490
|
-
providerDiagnostic: this.#providerDiagnostic && { ...this.#providerDiagnostic },
|
|
491
|
-
...(this.#retryNoticeCount ? { retryNoticeCount: this.#retryNoticeCount } : {})
|
|
492
|
-
};
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
// 预览仅取有限首尾片段,避免为展示截短而 Array.from 整段长正文。
|
|
496
|
-
function previewText(text) {
|
|
497
|
-
const edge = PREVIEW_RUNES * 2;
|
|
498
|
-
return compactRunes(text.length > edge * 2 ? text.slice(0, edge) + text.slice(-edge) : text, PREVIEW_RUNES);
|
|
499
|
-
}
|
|
500
|
-
function appendPreview(previous, delta) {
|
|
501
|
-
return previewText(previous + previewText(delta));
|
|
502
|
-
}
|
|
503
|
-
function failureIdentity(failure) {
|
|
504
|
-
return failure ? `\n错误码:${failure.code}\n诊断编号:${failure.diagnosticId}` : "";
|
|
505
|
-
}
|
|
506
|
-
function hasVisibleReply(text) {
|
|
507
|
-
const visible = (value) => !!value.replace(/[\s\p{Default_Ignorable_Code_Point}]/gu, "");
|
|
508
|
-
if (!visible(text))
|
|
509
|
-
return false;
|
|
510
|
-
const tree = fromMarkdown(text);
|
|
511
|
-
const definitions = new Set();
|
|
512
|
-
const collectDefinitions = (node) => {
|
|
513
|
-
if (node.type === "definition" && node.url && node.identifier)
|
|
514
|
-
definitions.add(node.identifier);
|
|
515
|
-
for (const child of node.children ?? [])
|
|
516
|
-
collectDefinitions(child);
|
|
517
|
-
};
|
|
518
|
-
collectDefinitions(tree);
|
|
519
|
-
const visit = (node) => {
|
|
520
|
-
if (node.type === "definition")
|
|
521
|
-
return false;
|
|
522
|
-
if (node.type === "html")
|
|
523
|
-
return visible((node.value ?? "").replace(/<!--[\s\S]*?-->/g, ""));
|
|
524
|
-
if (["text", "code", "inlineCode"].includes(node.type))
|
|
525
|
-
return visible(node.value ?? "");
|
|
526
|
-
if (node.type === "image")
|
|
527
|
-
return !!node.url;
|
|
528
|
-
if (node.type === "imageReference")
|
|
529
|
-
return definitions.has(node.identifier ?? "");
|
|
530
|
-
return (node.children ?? []).some(visit);
|
|
531
|
-
};
|
|
532
|
-
return visit(tree);
|
|
533
|
-
}
|
|
534
|
-
export function clampRunes(value, maximum) {
|
|
535
|
-
const runes = Array.from(value);
|
|
536
|
-
return runes.length <= maximum ? value : runes.slice(0, Math.max(0, maximum - 1)).join("") + "…";
|
|
537
|
-
}
|
|
538
|
-
export function compactRunes(value, maximum) {
|
|
539
|
-
const runes = Array.from(value);
|
|
540
|
-
if (runes.length <= maximum)
|
|
541
|
-
return value;
|
|
542
|
-
const head = Math.floor(((maximum - 3) * 2) / 3);
|
|
543
|
-
return runes.slice(0, head).join("") + " … " + runes.slice(-(maximum - 3 - head)).join("");
|
|
544
|
-
}
|
|
545
|
-
export function toolPreview(name, args) {
|
|
546
|
-
const sensitive = /token|secret|password|passwd|credential|authorization|cookie|api_key|apikey|\.env|id_rsa|id_ed25519|private_key|sk-|bf_|ghp_|xoxb-/i;
|
|
547
|
-
if (["exec_command", "shell", "bash", "sh", "zsh"].includes(name.toLowerCase())) {
|
|
548
|
-
let command = stringArg(args.command ?? args.cmd).trim();
|
|
549
|
-
if (sensitive.test(command) || command.includes("\0"))
|
|
550
|
-
return "";
|
|
551
|
-
command = command.replace(/^(?:\S*\/)?(?:sh|bash|zsh|dash|ksh|fish)\s+-[a-z]*c[a-z]*\s+(['"])([\s\S]*)\1$/, "$2");
|
|
552
|
-
return clampRunes(command.replace(/\s+/g, " ").trim(), 42);
|
|
553
|
-
}
|
|
554
|
-
if (["read", "read_file", "write_file", "file_read", "file_write"].includes(name.toLowerCase())) {
|
|
555
|
-
const path = stringArg(args.path ?? args.file_path ?? args.filePath).replace(/\\/g, "/");
|
|
556
|
-
if (sensitive.test(path) || /:\/\/|[\r\n\0]/.test(path))
|
|
557
|
-
return "";
|
|
558
|
-
const parts = path
|
|
559
|
-
.split("/")
|
|
560
|
-
.filter((p) => p && p !== "." && p !== "..")
|
|
561
|
-
.slice(-2);
|
|
562
|
-
return parts.every((p) => /^[\p{L}\p{N}._+~ -]+$/u.test(p)) && parts.length
|
|
563
|
-
? clampRunes("…/" + parts.join("/"), 96)
|
|
564
|
-
: "";
|
|
565
|
-
}
|
|
566
|
-
return "";
|
|
567
|
-
}
|
|
568
|
-
function detectorFindings(input, output) {
|
|
569
|
-
const command = stringArg(input.command ?? input.cmd);
|
|
570
|
-
if (!/\bdetect\b/.test(command) || !/--json\b/.test(command))
|
|
571
|
-
return false;
|
|
572
|
-
try {
|
|
573
|
-
const findings = typeof output === "string" ? JSON.parse(output) : output;
|
|
574
|
-
return (Array.isArray(findings) &&
|
|
575
|
-
findings.some((f) => {
|
|
576
|
-
if (!f || typeof f !== "object")
|
|
577
|
-
return false;
|
|
578
|
-
const value = f.antipattern;
|
|
579
|
-
return typeof value === "string" && !!value.trim();
|
|
580
|
-
}));
|
|
581
|
-
}
|
|
582
|
-
catch {
|
|
583
|
-
return false;
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
function stringArg(value) {
|
|
587
|
-
return typeof value === "string" ? value : "";
|
|
588
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Typing 租约:按会话共享续期任务,避免一个 Run 结束后误停另一个 Run 的状态。
|
|
3
|
-
* 每个 Run 独立释放,租约有最长寿命;关闭连接时同时取消计时器和在途发送。
|
|
4
|
-
*/
|
|
5
|
-
import type { ImAddress } from "../contracts.js";
|
|
6
|
-
export declare class TypingController {
|
|
7
|
-
#private;
|
|
8
|
-
readonly send: (address: ImAddress, signal: AbortSignal) => Promise<void>;
|
|
9
|
-
readonly onError: () => void;
|
|
10
|
-
readonly intervalMs: number;
|
|
11
|
-
readonly maxLifetimeMs: number;
|
|
12
|
-
constructor(send: (address: ImAddress, signal: AbortSignal) => Promise<void>, onError: () => void, intervalMs?: number, maxLifetimeMs?: number);
|
|
13
|
-
acquire(address: ImAddress, leaseId: string): () => void;
|
|
14
|
-
close(): Promise<void>;
|
|
15
|
-
get activeAddresses(): number;
|
|
16
|
-
}
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
export class TypingController {
|
|
2
|
-
send;
|
|
3
|
-
onError;
|
|
4
|
-
intervalMs;
|
|
5
|
-
maxLifetimeMs;
|
|
6
|
-
#entries = new Map();
|
|
7
|
-
#closed = false;
|
|
8
|
-
#closing;
|
|
9
|
-
#tasks = new Set();
|
|
10
|
-
constructor(send, onError, intervalMs = 5_000, maxLifetimeMs = 600_000) {
|
|
11
|
-
this.send = send;
|
|
12
|
-
this.onError = onError;
|
|
13
|
-
this.intervalMs = intervalMs;
|
|
14
|
-
this.maxLifetimeMs = maxLifetimeMs;
|
|
15
|
-
}
|
|
16
|
-
acquire(address, leaseId) {
|
|
17
|
-
if (this.#closed)
|
|
18
|
-
return () => { };
|
|
19
|
-
const key = `${address.channelType}:${address.channelId}`;
|
|
20
|
-
let entry = this.#entries.get(key);
|
|
21
|
-
if (!entry) {
|
|
22
|
-
const abort = new AbortController();
|
|
23
|
-
const tick = () => {
|
|
24
|
-
const active = this.#entries.get(key);
|
|
25
|
-
if (!active || active.sending)
|
|
26
|
-
return;
|
|
27
|
-
active.sending = true;
|
|
28
|
-
const task = this.send(address, abort.signal)
|
|
29
|
-
.catch(() => this.onError())
|
|
30
|
-
.finally(() => {
|
|
31
|
-
active.sending = false;
|
|
32
|
-
this.#tasks.delete(task);
|
|
33
|
-
});
|
|
34
|
-
this.#tasks.add(task);
|
|
35
|
-
};
|
|
36
|
-
entry = {
|
|
37
|
-
leases: new Map(),
|
|
38
|
-
timer: setInterval(tick, this.intervalMs),
|
|
39
|
-
abort,
|
|
40
|
-
sending: false
|
|
41
|
-
};
|
|
42
|
-
entry.timer.unref();
|
|
43
|
-
this.#entries.set(key, entry);
|
|
44
|
-
tick();
|
|
45
|
-
}
|
|
46
|
-
const previous = entry.leases.get(leaseId);
|
|
47
|
-
if (previous)
|
|
48
|
-
clearTimeout(previous);
|
|
49
|
-
const release = () => {
|
|
50
|
-
const current = this.#entries.get(key);
|
|
51
|
-
const timer = current?.leases.get(leaseId);
|
|
52
|
-
if (timer)
|
|
53
|
-
clearTimeout(timer);
|
|
54
|
-
current?.leases.delete(leaseId);
|
|
55
|
-
if (current && !current.leases.size) {
|
|
56
|
-
clearInterval(current.timer);
|
|
57
|
-
current.abort.abort();
|
|
58
|
-
this.#entries.delete(key);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
const timer = setTimeout(release, this.maxLifetimeMs);
|
|
62
|
-
timer.unref();
|
|
63
|
-
entry.leases.set(leaseId, timer);
|
|
64
|
-
return release;
|
|
65
|
-
}
|
|
66
|
-
close() {
|
|
67
|
-
if (this.#closing)
|
|
68
|
-
return this.#closing;
|
|
69
|
-
this.#closed = true;
|
|
70
|
-
for (const entry of this.#entries.values()) {
|
|
71
|
-
clearInterval(entry.timer);
|
|
72
|
-
entry.abort.abort();
|
|
73
|
-
for (const timer of entry.leases.values())
|
|
74
|
-
clearTimeout(timer);
|
|
75
|
-
}
|
|
76
|
-
this.#entries.clear();
|
|
77
|
-
this.#closing = Promise.all([...this.#tasks]).then(() => undefined);
|
|
78
|
-
return this.#closing;
|
|
79
|
-
}
|
|
80
|
-
get activeAddresses() {
|
|
81
|
-
return this.#entries.size;
|
|
82
|
-
}
|
|
83
|
-
}
|