@mininglamp-oss/octo-runtime 1.1.11 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -142
- package/apps/cli/README.md +7 -102
- package/apps/cli/dist/adapters.d.ts +19 -1
- package/apps/cli/dist/adapters.js +153 -27
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/codex.d.ts +5 -0
- package/apps/cli/dist/codex.js +36 -0
- 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/kernel.d.ts +4 -0
- package/apps/cli/dist/kernel.js +84 -0
- package/apps/cli/dist/logs.d.ts +2 -2
- package/apps/cli/dist/logs.js +14 -17
- package/apps/cli/dist/main.js +63 -180
- package/apps/cli/dist/manifest.json +33 -72
- 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.d.ts +1 -0
- package/apps/cli/dist/output.js +16 -23
- package/apps/cli/dist/playboard.js +32 -15
- package/apps/cli/dist/provider-launch.d.ts +28 -0
- package/apps/cli/dist/provider-launch.js +52 -0
- package/apps/cli/dist/providers.d.ts +182 -0
- package/apps/cli/dist/providers.js +34 -0
- package/apps/cli/dist/service-control.js +0 -1
- package/dist/public/adapter-sdk.d.ts +2 -0
- package/dist/public/adapter-sdk.js +2 -0
- package/dist/public/host.d.ts +2 -4
- package/dist/public/host.js +1 -1
- package/dist/public/protocol.d.ts +1 -1
- package/dist/public/protocol.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.js +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +15 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +24 -28
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.d.ts +10 -35
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.js +22 -29
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.d.ts +14 -68
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +60 -43
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.d.ts +19 -31
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.js +29 -18
- 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.d.ts +6 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +42 -35
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.d.ts +54 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/engine.js +147 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/environment.js +4 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +20 -92
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +104 -216
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/mcp.js +4 -11
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.d.ts +9 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.js +77 -81
- 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.d.ts +4 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +15 -17
- 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/dist/adapter.d.ts +14 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.js +23 -30
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/client.js +4 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.d.ts +13 -21
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.js +48 -26
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.js +15 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.js +14 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.js +15 -7
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +7 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +27 -29
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +16 -25
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +109 -178
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.js +15 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +16 -14
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.js +15 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.d.ts +49 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/agent-env.js +256 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/approval.js +7 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/environment.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +26 -13
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +117 -59
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/mcp.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/process-launch.d.ts +11 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-launch.js +89 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/provider-launch.js +25 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +10 -3
- 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.d.ts +19 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +153 -27
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/codex.js +36 -0
- 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/kernel.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/kernel.js +84 -0
- 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 +63 -180
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +33 -72
- 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.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +16 -23
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +32 -15
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.d.ts +28 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/provider-launch.js +52 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.d.ts +182 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/providers.js +34 -0
- 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/{schema → fixtures}/kernel-ipc-fixtures.json +28 -6
- package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc.schema.json +3 -104
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +316 -1250
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +28 -57
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +13 -78
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.d.ts +3 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/watchdog.js +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +18 -18
- 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 -2
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -2
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-catalog.js +3 -5
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context-configuration.js +1 -8
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.d.ts +1 -2
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +3 -267
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +17 -3
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +104 -373
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.js +32 -1
- 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/index.d.ts +6 -15
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +33 -178
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +23 -36
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +54 -45
- 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 +9 -17
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +5 -28
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +2 -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 +37 -148
- package/packages/octo-runtime-protocol/schema/kernel-ipc.schema.json +3 -104
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +316 -1250
- package/packages/octo-runtime-protocol/{schema → test/fixtures}/kernel-ipc-fixtures.json +28 -6
- 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/codex.d.ts +0 -1
- package/dist/public/codex.js +0 -1
- package/dist/public/dsh.d.ts +0 -2
- package/dist/public/dsh.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-client/schema/context-configuration-fixtures.json +0 -1219
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-fixtures.json +0 -5988
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-client.behavior.json +0 -56
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +0 -116
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +0 -761
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/runtime-selection-fixtures.json +0 -663
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/session-name-fixtures.json +0 -191
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/context.js +0 -89
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.d.ts +0 -33
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/execution-preparation.js +0 -93
- 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/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/execution-plan.js +0 -80
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/model-context.js +0 -9
- 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
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** 一次已核验目标身份的投递权限及有界 REST 回执缓存;更新 token 或重建 WS 不取消。 */
|
|
2
|
-
export declare class ImDeliveryScope {
|
|
3
|
-
#private;
|
|
4
|
-
readonly signal: AbortSignal;
|
|
5
|
-
revoke(): void;
|
|
6
|
-
confirm(key: string): void;
|
|
7
|
-
isConfirmed(key: string): boolean;
|
|
8
|
-
}
|
|
9
|
-
/** 归 Bot 所有;只接受核验成功的身份,不随 current transport 的替换遗忘旧代次失效。 */
|
|
10
|
-
export declare class ImDeliveryIdentity {
|
|
11
|
-
#private;
|
|
12
|
-
/** 明确拒绝目标身份/空间后关闭旧代次;后续恢复到相同身份也不能复活旧投递。 */
|
|
13
|
-
revoke(): void;
|
|
14
|
-
accept(identity: string): ImDeliveryScope;
|
|
15
|
-
}
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ImSendError } from "./send-error.js";
|
|
2
|
-
/** 一次已核验目标身份的投递权限及有界 REST 回执缓存;更新 token 或重建 WS 不取消。 */
|
|
3
|
-
export class ImDeliveryScope {
|
|
4
|
-
#abort = new AbortController();
|
|
5
|
-
#confirmed = new Set();
|
|
6
|
-
signal = this.#abort.signal;
|
|
7
|
-
revoke() {
|
|
8
|
-
this.#abort.abort(new ImSendError("IM_CONNECTION_IDENTITY_CHANGED", "failed"));
|
|
9
|
-
}
|
|
10
|
-
confirm(key) {
|
|
11
|
-
if (this.signal.aborted)
|
|
12
|
-
return;
|
|
13
|
-
this.#confirmed.add(key);
|
|
14
|
-
if (this.#confirmed.size > 512)
|
|
15
|
-
this.#confirmed.delete(this.#confirmed.values().next().value);
|
|
16
|
-
}
|
|
17
|
-
isConfirmed(key) {
|
|
18
|
-
return this.#confirmed.has(key);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
/** 归 Bot 所有;只接受核验成功的身份,不随 current transport 的替换遗忘旧代次失效。 */
|
|
22
|
-
export class ImDeliveryIdentity {
|
|
23
|
-
#current;
|
|
24
|
-
/** 明确拒绝目标身份/空间后关闭旧代次;后续恢复到相同身份也不能复活旧投递。 */
|
|
25
|
-
revoke() {
|
|
26
|
-
this.#current?.scope.revoke();
|
|
27
|
-
this.#current = undefined;
|
|
28
|
-
}
|
|
29
|
-
accept(identity) {
|
|
30
|
-
if (this.#current?.identity !== identity) {
|
|
31
|
-
this.#current?.scope.revoke();
|
|
32
|
-
this.#current = { identity, scope: new ImDeliveryScope() };
|
|
33
|
-
}
|
|
34
|
-
return this.#current.scope;
|
|
35
|
-
}
|
|
36
|
-
}
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 进度调度:合并高频快照并串行发送,避免卡片更新乱序或请求堆积。
|
|
3
|
-
* 终态替换尚未发送的旧进度;flush 等待在途请求与最后一次更新完成。
|
|
4
|
-
*/
|
|
5
|
-
export declare class ProgressScheduler<T> {
|
|
6
|
-
#private;
|
|
7
|
-
readonly send: (value: T) => Promise<void>;
|
|
8
|
-
readonly onError: () => void;
|
|
9
|
-
readonly intervalMs: number;
|
|
10
|
-
constructor(send: (value: T) => Promise<void>, onError: () => void, intervalMs?: number);
|
|
11
|
-
enqueue(value: T, terminal?: boolean): void;
|
|
12
|
-
flush(): Promise<void>;
|
|
13
|
-
/** 所有者收尾时丢弃未发送进度并解除 timer;在途发送仍沿原 finally 完成,不伪报排空。 */
|
|
14
|
-
dispose(): void;
|
|
15
|
-
get terminal(): boolean;
|
|
16
|
-
}
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 进度调度:合并高频快照并串行发送,避免卡片更新乱序或请求堆积。
|
|
3
|
-
* 终态替换尚未发送的旧进度;flush 等待在途请求与最后一次更新完成。
|
|
4
|
-
*/
|
|
5
|
-
export class ProgressScheduler {
|
|
6
|
-
send;
|
|
7
|
-
onError;
|
|
8
|
-
intervalMs;
|
|
9
|
-
#pending;
|
|
10
|
-
#running = false;
|
|
11
|
-
#terminal = false;
|
|
12
|
-
#flushing = false;
|
|
13
|
-
#lastSend = 0;
|
|
14
|
-
#timer;
|
|
15
|
-
#waiters = [];
|
|
16
|
-
constructor(send, onError, intervalMs = 500) {
|
|
17
|
-
this.send = send;
|
|
18
|
-
this.onError = onError;
|
|
19
|
-
this.intervalMs = intervalMs;
|
|
20
|
-
}
|
|
21
|
-
enqueue(value, terminal = false) {
|
|
22
|
-
if (this.#terminal)
|
|
23
|
-
return;
|
|
24
|
-
// 快照包含累计进度,覆盖 pending 不会丢过程;终态一旦入队就拒绝后续旧帧。
|
|
25
|
-
this.#terminal = terminal;
|
|
26
|
-
this.#pending = value;
|
|
27
|
-
if (terminal && this.#timer) {
|
|
28
|
-
clearTimeout(this.#timer);
|
|
29
|
-
this.#timer = undefined;
|
|
30
|
-
}
|
|
31
|
-
this.#schedule();
|
|
32
|
-
}
|
|
33
|
-
#schedule() {
|
|
34
|
-
if (this.#running || this.#timer || this.#pending === undefined)
|
|
35
|
-
return;
|
|
36
|
-
if (this.#terminal || this.#flushing) {
|
|
37
|
-
void this.#drain();
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
const delay = this.#lastSend
|
|
41
|
-
? Math.max(0, this.#lastSend + this.intervalMs - Date.now())
|
|
42
|
-
: this.intervalMs;
|
|
43
|
-
this.#timer = setTimeout(() => {
|
|
44
|
-
this.#timer = undefined;
|
|
45
|
-
void this.#drain();
|
|
46
|
-
}, delay);
|
|
47
|
-
this.#timer.unref();
|
|
48
|
-
}
|
|
49
|
-
async #drain() {
|
|
50
|
-
if (this.#running || this.#pending === undefined)
|
|
51
|
-
return;
|
|
52
|
-
this.#running = true;
|
|
53
|
-
this.#lastSend = Date.now();
|
|
54
|
-
const value = this.#pending;
|
|
55
|
-
this.#pending = undefined;
|
|
56
|
-
try {
|
|
57
|
-
await this.send(value);
|
|
58
|
-
}
|
|
59
|
-
catch {
|
|
60
|
-
this.onError();
|
|
61
|
-
}
|
|
62
|
-
finally {
|
|
63
|
-
this.#running = false;
|
|
64
|
-
if (this.#pending !== undefined)
|
|
65
|
-
this.#schedule();
|
|
66
|
-
else {
|
|
67
|
-
this.#flushing = false;
|
|
68
|
-
for (const resolve of this.#waiters.splice(0))
|
|
69
|
-
resolve();
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
async flush() {
|
|
74
|
-
if (this.#timer) {
|
|
75
|
-
clearTimeout(this.#timer);
|
|
76
|
-
this.#timer = undefined;
|
|
77
|
-
}
|
|
78
|
-
if (!this.#running && this.#pending === undefined)
|
|
79
|
-
return;
|
|
80
|
-
this.#flushing = true;
|
|
81
|
-
const done = new Promise((resolve) => this.#waiters.push(resolve));
|
|
82
|
-
this.#schedule();
|
|
83
|
-
await done;
|
|
84
|
-
}
|
|
85
|
-
/** 所有者收尾时丢弃未发送进度并解除 timer;在途发送仍沿原 finally 完成,不伪报排空。 */
|
|
86
|
-
dispose() {
|
|
87
|
-
this.#terminal = true;
|
|
88
|
-
this.#pending = undefined;
|
|
89
|
-
clearTimeout(this.#timer);
|
|
90
|
-
this.#timer = undefined;
|
|
91
|
-
if (!this.#running)
|
|
92
|
-
for (const resolve of this.#waiters.splice(0))
|
|
93
|
-
resolve();
|
|
94
|
-
}
|
|
95
|
-
get terminal() {
|
|
96
|
-
return this.#terminal;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type ContextEnvelope, type ContextItem, type InvokeInput } from "@mininglamp-oss/octo-runtime-protocol";
|
|
2
|
-
import type { ImBotConfig, ImInboundMessage, ImSession } from "../contracts.js";
|
|
3
|
-
import type { ImArtifactPolicy } from "../delivery/artifact-policy.js";
|
|
4
|
-
export type ImInvocationInput = InvokeInput & {
|
|
5
|
-
runId: string;
|
|
6
|
-
invocationId: string;
|
|
7
|
-
sessionId: string;
|
|
8
|
-
protocol_mode: "canonical";
|
|
9
|
-
};
|
|
10
|
-
export declare function createImInvocation(config: ImBotConfig, message: ImInboundMessage, context: ContextEnvelope, sessionKey: string, session: ImSession, _signal: AbortSignal, occurrenceId?: string, refreshStableContext?: boolean): {
|
|
11
|
-
request: ImInvocationInput;
|
|
12
|
-
adapterType: string;
|
|
13
|
-
artifacts: ImArtifactPolicy;
|
|
14
|
-
recoveryContexts: ContextItem[];
|
|
15
|
-
stableContextIncluded: boolean;
|
|
16
|
-
historyContext?: ContextItem;
|
|
17
|
-
};
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js
DELETED
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 执行请求构造:把本轮 Context、可信发送者和执行配置封装为 InvokeRequest。
|
|
3
|
-
* IM 默认值属于此发起入口;Context 的统一渲染与 prompt 封装交给共享执行层。
|
|
4
|
-
*/
|
|
5
|
-
import { randomUUID } from "node:crypto";
|
|
6
|
-
import { mkdirSync } from "node:fs";
|
|
7
|
-
import { homedir } from "node:os";
|
|
8
|
-
import { join } from "node:path";
|
|
9
|
-
import { assertContextEnvelope, mergeContext } from "@mininglamp-oss/octo-runtime-protocol";
|
|
10
|
-
import { validateImConfig } from "../lifecycle/configuration.js";
|
|
11
|
-
import { compactHistoryGap, historyGapContext } from "../application/context-gap.js";
|
|
12
|
-
import { MENTION_GUIDANCE } from "../transport/mentions.js";
|
|
13
|
-
import { artifactPolicy } from "../delivery/artifact-policy.js";
|
|
14
|
-
import { stableChannelContexts } from "../application/stable-context.js";
|
|
15
|
-
import { modelRulesContext } from "../application/rules-context.js";
|
|
16
|
-
import { modelHistoryContexts } from "../application/history-context.js";
|
|
17
|
-
export function createImInvocation(config, message, context, sessionKey, session, _signal, occurrenceId = message.messageId, refreshStableContext = !session.providerSession?.sessionId ||
|
|
18
|
-
session.providerSession.resumable === false) {
|
|
19
|
-
validateImConfig(config);
|
|
20
|
-
assertContextEnvelope(context);
|
|
21
|
-
if (!session.id)
|
|
22
|
-
throw new Error("IM_SESSION_NOT_ALLOCATED");
|
|
23
|
-
const selectedAdapter = context.items.find((item) => item.namespace === "octo.execution" && item.name === "adapter")
|
|
24
|
-
?.payload.type ??
|
|
25
|
-
config.adapter.adapter_type ??
|
|
26
|
-
"codex";
|
|
27
|
-
if (typeof selectedAdapter !== "string")
|
|
28
|
-
throw new Error("IM_EXECUTION_CONFIG_INVALID");
|
|
29
|
-
const agentSource = selectedAdapter === "openclaw" ? "preset" : "provisioned";
|
|
30
|
-
const defaultWorkdir = join(homedir(), "octo-runtime", "channels", config.bot_id);
|
|
31
|
-
const workdir = config.adapter.workdir ?? (agentSource === "provisioned" ? defaultWorkdir : undefined);
|
|
32
|
-
const submittedWorkspace = context.items.find((item) => item.namespace === "octo.execution" && item.name === "workspace");
|
|
33
|
-
if (submittedWorkspace && submittedWorkspace.payload.path !== workdir)
|
|
34
|
-
throw new Error("IM_AGENT_WORKDIR_FIXED");
|
|
35
|
-
const defaults = {
|
|
36
|
-
schema: context.schema,
|
|
37
|
-
items: [
|
|
38
|
-
{
|
|
39
|
-
namespace: "octo.execution",
|
|
40
|
-
name: "adapter",
|
|
41
|
-
payload: {
|
|
42
|
-
type: config.adapter.adapter_type ?? "codex",
|
|
43
|
-
...(config.adapter.adapter_type === "openclaw"
|
|
44
|
-
? { provider_agent_id: config.adapter.provider_agent_id ?? "main" }
|
|
45
|
-
: {})
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
namespace: "octo.security",
|
|
50
|
-
name: "approval_policy",
|
|
51
|
-
payload: { mode: config.approval_mode ?? "full_access" }
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
namespace: "octo.execution",
|
|
55
|
-
name: "limits",
|
|
56
|
-
payload: {
|
|
57
|
-
run_timeout_ms: config.run_timeout_ms ?? 86_400_000,
|
|
58
|
-
// 模型静默由 Gateway 按公开内容计时;Core 保留总期限和工具预算,不抢先触发首帧超时。
|
|
59
|
-
first_frame_timeout_ms: 310_000,
|
|
60
|
-
model_idle_policy: "observe",
|
|
61
|
-
// IM 的长工具可能长时间无输出;业务可通过本轮 limits 显式收紧。
|
|
62
|
-
tool_timeout_ms: 86_400_000
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
...(workdir
|
|
66
|
-
? [
|
|
67
|
-
{
|
|
68
|
-
namespace: "octo.execution",
|
|
69
|
-
name: "workspace",
|
|
70
|
-
payload: { mode: "fixed", path: workdir }
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
: []),
|
|
74
|
-
...(config.adapter.model || config.adapter.effort
|
|
75
|
-
? [
|
|
76
|
-
{
|
|
77
|
-
namespace: "octo.execution",
|
|
78
|
-
name: "model",
|
|
79
|
-
payload: {
|
|
80
|
-
...(config.adapter.model ? { selection: { id: config.adapter.model } } : {}),
|
|
81
|
-
...(config.adapter.effort ? { reasoning: { effort: config.adapter.effort } } : {})
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
: [])
|
|
86
|
-
]
|
|
87
|
-
};
|
|
88
|
-
// Channel 只组装公开 InvokeInput;执行解析和指令渲染统一交给 Host,避免再次拒绝业务 Context。
|
|
89
|
-
// 宿主已先解析静态/动态 Context;渠道默认指令仅在刷新轮与有效 entries 保序组合。
|
|
90
|
-
// 不改变公共 mergeContext 或动态人设替换合同,也不把上一轮的组合结果累积回来。
|
|
91
|
-
let submitted = context;
|
|
92
|
-
// 同代次卡片重试已从 occurrence 取得组合后的冻结快照,不能再次追加或按文本去重。
|
|
93
|
-
if (!message.historyRetry && refreshStableContext) {
|
|
94
|
-
const instructions = context.items.find((item) => item.namespace === "octo.control" && item.name === "instructions");
|
|
95
|
-
const channelInstructions = {
|
|
96
|
-
namespace: "octo.control",
|
|
97
|
-
name: "instructions",
|
|
98
|
-
payload: {
|
|
99
|
-
entries: [
|
|
100
|
-
...(instructions?.payload
|
|
101
|
-
?.entries ?? []),
|
|
102
|
-
{ text: MENTION_GUIDANCE }
|
|
103
|
-
]
|
|
104
|
-
}
|
|
105
|
-
};
|
|
106
|
-
submitted = {
|
|
107
|
-
schema: context.schema,
|
|
108
|
-
items: instructions
|
|
109
|
-
? context.items.map((item) => (item === instructions ? channelInstructions : item))
|
|
110
|
-
: [...context.items, channelInstructions]
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
submitted = { ...submitted, items: submitted.items.map(modelRulesContext) };
|
|
114
|
-
let snapshot;
|
|
115
|
-
let artifacts;
|
|
116
|
-
let stable = [];
|
|
117
|
-
// 执行默认项也占协议预算;只降级本渠道自动追加的辅助材料,不丢弃显式业务项。
|
|
118
|
-
for (const optional of ["history", "history-gap-compact", "history-gap", undefined]) {
|
|
119
|
-
try {
|
|
120
|
-
snapshot = mergeContext(defaults, {
|
|
121
|
-
...submitted,
|
|
122
|
-
items: modelHistoryContexts(submitted.items)
|
|
123
|
-
});
|
|
124
|
-
artifacts = structuredClone(message.frozenArtifacts ?? artifactPolicy(config, snapshot));
|
|
125
|
-
stable = stableChannelContexts(artifacts);
|
|
126
|
-
// 稳定说明只由渠道按周期生成;已有同名项不能抑制刷新或绕过普通轮省略。
|
|
127
|
-
// 冻结重试复用渠道已生成的完整快照,不重建或再次追加说明。
|
|
128
|
-
if (!message.historyRetry) {
|
|
129
|
-
snapshot.items = snapshot.items.filter((item) => !stable.some((owned) => owned.namespace === item.namespace && owned.name === item.name));
|
|
130
|
-
if (refreshStableContext)
|
|
131
|
-
snapshot.items.push(...stable);
|
|
132
|
-
}
|
|
133
|
-
assertContextEnvelope(snapshot);
|
|
134
|
-
break;
|
|
135
|
-
}
|
|
136
|
-
catch (error) {
|
|
137
|
-
if (!(error instanceof Error) || error.message !== "CONTEXT_BUDGET_EXCEEDED" || !optional)
|
|
138
|
-
throw error;
|
|
139
|
-
submitted = {
|
|
140
|
-
...submitted,
|
|
141
|
-
items: optional === "history-gap-compact"
|
|
142
|
-
? submitted.items.flatMap((item) => {
|
|
143
|
-
if (item.namespace !== "extra.im" ||
|
|
144
|
-
item.name !== "history-gap" ||
|
|
145
|
-
item.payload.automatic !== true)
|
|
146
|
-
return [item];
|
|
147
|
-
const compact = compactHistoryGap(item);
|
|
148
|
-
return compact ? [compact] : [];
|
|
149
|
-
})
|
|
150
|
-
: submitted.items.filter((item) => !(item.namespace === "extra.im" &&
|
|
151
|
-
item.name === optional &&
|
|
152
|
-
item.payload.automatic === true))
|
|
153
|
-
};
|
|
154
|
-
if (optional === "history") {
|
|
155
|
-
const history = context.items.find((item) => item.namespace === "extra.im" &&
|
|
156
|
-
item.name === "history" &&
|
|
157
|
-
item.payload.automatic === true);
|
|
158
|
-
const source = history?.payload.source;
|
|
159
|
-
if (source &&
|
|
160
|
-
[2, 5].includes(Number(source.channelType)) &&
|
|
161
|
-
!submitted.items.some((item) => item.namespace === "extra.im" &&
|
|
162
|
-
item.name === "history-gap" &&
|
|
163
|
-
item.payload.automatic !== true)) {
|
|
164
|
-
const existing = submitted.items.find((item) => item.namespace === "extra.im" && item.name === "history-gap");
|
|
165
|
-
const replacement = existing
|
|
166
|
-
? {
|
|
167
|
-
...existing,
|
|
168
|
-
payload: {
|
|
169
|
-
...existing.payload,
|
|
170
|
-
status: "omitted",
|
|
171
|
-
materialProvided: false,
|
|
172
|
-
reason: "context-budget"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
: historyGapContext(source, message.messageId, {
|
|
176
|
-
mode: "unavailable",
|
|
177
|
-
beforeSeq: Number(history.payload.upperMessageSeq),
|
|
178
|
-
retrieval: "omitted",
|
|
179
|
-
reason: "context-budget"
|
|
180
|
-
});
|
|
181
|
-
submitted.items = submitted.items.filter((item) => !(item.namespace === "extra.im" &&
|
|
182
|
-
item.name === "history-gap" &&
|
|
183
|
-
item.payload.automatic === true));
|
|
184
|
-
if (replacement)
|
|
185
|
-
submitted.items.push(replacement);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
if (!snapshot || !artifacts)
|
|
191
|
-
throw new Error("IM_EXECUTION_CONFIG_INVALID");
|
|
192
|
-
// 仅最终仍提交的自动历史构成交接证据;内部字段不进入模型快照或冻结重试。
|
|
193
|
-
const historyContext = submitted.items.find((item) => item.namespace === "extra.im" &&
|
|
194
|
-
item.name === "history" &&
|
|
195
|
-
item.payload.automatic === true &&
|
|
196
|
-
snapshot.items.some((candidate) => candidate.namespace === item.namespace && candidate.name === item.name));
|
|
197
|
-
const eventId = `evt_${randomUUID()}`, runId = `run_${randomUUID()}`;
|
|
198
|
-
const prompt = message.buildInputs ? "[Image]" : message.text.trim();
|
|
199
|
-
const request = {
|
|
200
|
-
protocol_mode: "canonical",
|
|
201
|
-
invocationId: `invoke_${randomUUID()}`,
|
|
202
|
-
runId,
|
|
203
|
-
sessionId: session.id,
|
|
204
|
-
...(session.sessionName ? { sessionName: session.sessionName } : {}),
|
|
205
|
-
sessionGeneration: session.generation,
|
|
206
|
-
providerEpoch: session.generation,
|
|
207
|
-
agentSource,
|
|
208
|
-
inputs: [{ type: "text", text: prompt }],
|
|
209
|
-
contexts: snapshot,
|
|
210
|
-
approvalMode: snapshot.items.find((item) => item.namespace === "octo.security" && item.name === "approval_policy")?.payload.mode,
|
|
211
|
-
...(session.providerSession ? { providerSession: session.providerSession } : {}),
|
|
212
|
-
runMetadata: {
|
|
213
|
-
...message.runMetadata,
|
|
214
|
-
// 可信身份覆盖可选 metadata,正文或自定义字段不能冒充当前发起人和会话。
|
|
215
|
-
namespace: "im",
|
|
216
|
-
platform: "octo",
|
|
217
|
-
eventId,
|
|
218
|
-
sessionKey,
|
|
219
|
-
actorId: message.senderId,
|
|
220
|
-
channelId: message.conversationId,
|
|
221
|
-
triggerOccurrenceId: occurrenceId
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
if (config.adapter.workdir === undefined &&
|
|
225
|
-
agentSource === "provisioned" &&
|
|
226
|
-
workdir === defaultWorkdir)
|
|
227
|
-
mkdirSync(defaultWorkdir, { recursive: true, mode: 0o700 });
|
|
228
|
-
session.lastEventId = eventId;
|
|
229
|
-
session.lastRunId = runId;
|
|
230
|
-
return {
|
|
231
|
-
request,
|
|
232
|
-
adapterType: selectedAdapter,
|
|
233
|
-
artifacts,
|
|
234
|
-
historyContext,
|
|
235
|
-
recoveryContexts: stable.filter((item) => !snapshot.items.some((existing) => existing.namespace === item.namespace && existing.name === item.name)),
|
|
236
|
-
stableContextIncluded: stable.every((item) => snapshot.items.some((existing) => existing.namespace === item.namespace && existing.name === item.name))
|
|
237
|
-
};
|
|
238
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { CanonicalEvent } from "@mininglamp-oss/octo-runtime-protocol";
|
|
2
|
-
export interface ModelWaitSnapshot {
|
|
3
|
-
seconds?: number;
|
|
4
|
-
hasOutput: boolean;
|
|
5
|
-
timeout?: "cancelling" | "unconfirmed" | "terminated";
|
|
6
|
-
}
|
|
7
|
-
interface ModelWaitClock {
|
|
8
|
-
now(): number;
|
|
9
|
-
schedule(callback: () => void, ms: number): () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const MODEL_WAIT_TIMEOUT_MESSAGE = "\u6A21\u578B\u5DF2\u8FDE\u7EED 5 \u5206\u949F\u672A\u8FD4\u56DE\u8F93\u51FA\uFF0C\u672C\u8F6E\u8BF7\u6C42\u5DF2\u8D85\u65F6\u3002";
|
|
12
|
-
/** Gateway 每次尝试拥有的模型等待钟;只消费统一事件,不修改执行源或中止观察流。 */
|
|
13
|
-
export declare class ImModelWait {
|
|
14
|
-
#private;
|
|
15
|
-
readonly clock: ModelWaitClock;
|
|
16
|
-
readonly changed: () => void;
|
|
17
|
-
readonly timedOut: () => void;
|
|
18
|
-
constructor(clock: ModelWaitClock, changed: () => void, timedOut: () => void);
|
|
19
|
-
get snapshot(): ModelWaitSnapshot;
|
|
20
|
-
/** 新尝试从交接执行开始;队列通知及工具/交互活动另行暂停。 */
|
|
21
|
-
start(): void;
|
|
22
|
-
accept(event: CanonicalEvent): void;
|
|
23
|
-
unconfirmed(): void;
|
|
24
|
-
/** 必须在同次源流正常耗尽且确认终态后调用,不能由 cancel ACK 调用。 */
|
|
25
|
-
confirmTermination(): void;
|
|
26
|
-
/** Stop、排空及 dispose 共用清理;保留超时事实供终态和未知展示使用。 */
|
|
27
|
-
stop(): void;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.js
DELETED
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
export const MODEL_WAIT_TIMEOUT_MESSAGE = "模型已连续 5 分钟未返回输出,本轮请求已超时。";
|
|
2
|
-
/** Gateway 每次尝试拥有的模型等待钟;只消费统一事件,不修改执行源或中止观察流。 */
|
|
3
|
-
export class ImModelWait {
|
|
4
|
-
clock;
|
|
5
|
-
changed;
|
|
6
|
-
timedOut;
|
|
7
|
-
#tools = new Set();
|
|
8
|
-
#interactions = new Set();
|
|
9
|
-
#activities = new Map();
|
|
10
|
-
#messages = new Map();
|
|
11
|
-
#since;
|
|
12
|
-
#clearTimer;
|
|
13
|
-
#stopped = true;
|
|
14
|
-
#queued = false;
|
|
15
|
-
#snapshot = { hasOutput: false };
|
|
16
|
-
constructor(clock, changed, timedOut) {
|
|
17
|
-
this.clock = clock;
|
|
18
|
-
this.changed = changed;
|
|
19
|
-
this.timedOut = timedOut;
|
|
20
|
-
}
|
|
21
|
-
get snapshot() {
|
|
22
|
-
return { ...this.#snapshot };
|
|
23
|
-
}
|
|
24
|
-
/** 新尝试从交接执行开始;队列通知及工具/交互活动另行暂停。 */
|
|
25
|
-
start() {
|
|
26
|
-
this.stop();
|
|
27
|
-
this.#stopped = false;
|
|
28
|
-
this.#queued = false;
|
|
29
|
-
this.#tools.clear();
|
|
30
|
-
this.#interactions.clear();
|
|
31
|
-
this.#activities.clear();
|
|
32
|
-
this.#messages.clear();
|
|
33
|
-
this.#snapshot = { hasOutput: false };
|
|
34
|
-
this.#resume();
|
|
35
|
-
}
|
|
36
|
-
accept(event) {
|
|
37
|
-
if (this.#stopped || this.#snapshot.timeout)
|
|
38
|
-
return;
|
|
39
|
-
const p = event.payload;
|
|
40
|
-
if (["run.completed", "run.failed", "run.cancelled"].includes(event.type)) {
|
|
41
|
-
this.stop();
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
if (event.type === "run.queued")
|
|
45
|
-
this.#queued = true;
|
|
46
|
-
if (event.type === "run.started" || event.type === "model_step.started")
|
|
47
|
-
this.#queued = false;
|
|
48
|
-
if (event.type === "tool_call.create")
|
|
49
|
-
this.#tools.add(event.payload.id);
|
|
50
|
-
if (event.type === "tool_call.update")
|
|
51
|
-
this.#tools.delete(event.payload.id);
|
|
52
|
-
if (event.type === "interaction.requested")
|
|
53
|
-
this.#interactions.add(event.payload.interactionId);
|
|
54
|
-
if (event.type === "interaction.resolved")
|
|
55
|
-
this.#interactions.delete(event.payload.interactionId);
|
|
56
|
-
if (event.type === "activity.started") {
|
|
57
|
-
this.#queued = false;
|
|
58
|
-
if (["executing_tool", "waiting_input", "waiting_approval"].includes(event.payload.kind))
|
|
59
|
-
this.#activities.set(event.payload.activityId, event.payload.subject);
|
|
60
|
-
}
|
|
61
|
-
if (event.type === "activity.finished")
|
|
62
|
-
this.#activities.delete(event.payload.activityId);
|
|
63
|
-
// 同一工具/交互的活动和正式终态可以先后到达;正式终态足以关闭对应暂停原因。
|
|
64
|
-
if (event.type === "tool_call.update" || event.type === "interaction.resolved") {
|
|
65
|
-
const type = event.type === "tool_call.update" ? "tool" : "interaction";
|
|
66
|
-
const id = type === "tool" ? p.id : p.interactionId;
|
|
67
|
-
for (const [key, subject] of this.#activities)
|
|
68
|
-
if (subject.type === type && subject.id === id)
|
|
69
|
-
this.#activities.delete(key);
|
|
70
|
-
}
|
|
71
|
-
if (this.#content(event)) {
|
|
72
|
-
this.#snapshot.hasOutput = true;
|
|
73
|
-
this.#pause();
|
|
74
|
-
this.#queued = false;
|
|
75
|
-
}
|
|
76
|
-
if (this.#queued || this.#tools.size || this.#interactions.size || this.#activities.size)
|
|
77
|
-
this.#pause();
|
|
78
|
-
else
|
|
79
|
-
this.#resume();
|
|
80
|
-
}
|
|
81
|
-
#content(event) {
|
|
82
|
-
if (!["message.delta", "message.create", "message.update"].includes(event.type))
|
|
83
|
-
return false;
|
|
84
|
-
const p = event.payload;
|
|
85
|
-
const id = p.messageId ?? `${p.stepId ?? "run"}:${p.channel ?? "final"}`;
|
|
86
|
-
const previous = this.#messages.get(id);
|
|
87
|
-
const channel = p.channel ?? previous?.channel ?? "final";
|
|
88
|
-
const role = p.role ?? previous?.role;
|
|
89
|
-
const exposure = p.exposure ?? previous?.exposure;
|
|
90
|
-
const length = typeof p.text !== "string"
|
|
91
|
-
? (previous?.length ?? 0)
|
|
92
|
-
: event.type === "message.delta"
|
|
93
|
-
? (previous?.length ?? 0) + p.text.length
|
|
94
|
-
: p.text.length;
|
|
95
|
-
const retained = this.#messages.has(id) || this.#messages.size < 256;
|
|
96
|
-
if (retained)
|
|
97
|
-
this.#messages.set(id, {
|
|
98
|
-
length: Math.max(previous?.length ?? 0, length),
|
|
99
|
-
channel,
|
|
100
|
-
role,
|
|
101
|
-
exposure
|
|
102
|
-
});
|
|
103
|
-
if (role && role !== "assistant")
|
|
104
|
-
return false;
|
|
105
|
-
if (!["final", "commentary", "analysis"].includes(channel))
|
|
106
|
-
return false;
|
|
107
|
-
if (channel === "analysis" &&
|
|
108
|
-
!["public_reasoning", "public_summary", "public_plan"].includes(exposure ?? ""))
|
|
109
|
-
return false;
|
|
110
|
-
if (typeof p.text !== "string" || !p.text.trim())
|
|
111
|
-
return false;
|
|
112
|
-
// 只缓存长度,不保存正文;异常多消息时拒绝把未知快照冒充新内容,delta 仍可证明输出。
|
|
113
|
-
return event.type === "message.delta" || (retained && length > (previous?.length ?? 0));
|
|
114
|
-
}
|
|
115
|
-
#pause() {
|
|
116
|
-
this.#clearTimer?.();
|
|
117
|
-
this.#clearTimer = undefined;
|
|
118
|
-
this.#since = undefined;
|
|
119
|
-
delete this.#snapshot.seconds;
|
|
120
|
-
}
|
|
121
|
-
#resume() {
|
|
122
|
-
if (this.#since !== undefined)
|
|
123
|
-
return;
|
|
124
|
-
this.#since = this.clock.now();
|
|
125
|
-
this.#schedule();
|
|
126
|
-
}
|
|
127
|
-
#schedule() {
|
|
128
|
-
const elapsed = this.clock.now() - this.#since;
|
|
129
|
-
const next = Math.min(300_000, (Math.floor(elapsed / 30_000) + 1) * 30_000);
|
|
130
|
-
this.#clearTimer = this.clock.schedule(() => {
|
|
131
|
-
this.#clearTimer = undefined;
|
|
132
|
-
if (this.#stopped || this.#since === undefined)
|
|
133
|
-
return;
|
|
134
|
-
const elapsed = this.clock.now() - this.#since;
|
|
135
|
-
if (elapsed >= 300_000) {
|
|
136
|
-
this.#snapshot.timeout = "cancelling";
|
|
137
|
-
delete this.#snapshot.seconds;
|
|
138
|
-
this.#since = undefined;
|
|
139
|
-
// 取消 ACK 不代表结束;未在宽限内观察到终态时仍保留 Stop,禁止 Retry。
|
|
140
|
-
this.#clearTimer = this.clock.schedule(() => this.unconfirmed(), 10_000);
|
|
141
|
-
this.timedOut();
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
this.#snapshot.seconds = Math.floor(elapsed / 30_000) * 30;
|
|
145
|
-
this.#schedule();
|
|
146
|
-
}
|
|
147
|
-
this.changed();
|
|
148
|
-
}, Math.max(0, next - elapsed));
|
|
149
|
-
}
|
|
150
|
-
unconfirmed() {
|
|
151
|
-
if (this.#stopped || this.#snapshot.timeout !== "cancelling")
|
|
152
|
-
return;
|
|
153
|
-
this.#clearTimer?.();
|
|
154
|
-
this.#clearTimer = undefined;
|
|
155
|
-
this.#snapshot.timeout = "unconfirmed";
|
|
156
|
-
this.changed();
|
|
157
|
-
}
|
|
158
|
-
/** 必须在同次源流正常耗尽且确认终态后调用,不能由 cancel ACK 调用。 */
|
|
159
|
-
confirmTermination() {
|
|
160
|
-
this.stop();
|
|
161
|
-
if (this.#snapshot.timeout)
|
|
162
|
-
this.#snapshot.timeout = "terminated";
|
|
163
|
-
}
|
|
164
|
-
/** Stop、排空及 dispose 共用清理;保留超时事实供终态和未知展示使用。 */
|
|
165
|
-
stop() {
|
|
166
|
-
this.#stopped = true;
|
|
167
|
-
this.#pause();
|
|
168
|
-
if (this.#snapshot.timeout === "cancelling")
|
|
169
|
-
this.#snapshot.timeout = "unconfirmed";
|
|
170
|
-
}
|
|
171
|
-
}
|