@mininglamp-oss/octo-runtime 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -142
- package/apps/cli/README.md +7 -102
- package/apps/cli/dist/adapters.js +41 -19
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/command-tree.d.ts +1 -13
- package/apps/cli/dist/command-tree.js +130 -317
- 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/index.js +14 -1
- package/apps/cli/dist/logs.d.ts +2 -2
- package/apps/cli/dist/logs.js +14 -17
- package/apps/cli/dist/main.js +99 -182
- package/apps/cli/dist/manifest.json +0 -50
- package/apps/cli/dist/module-manifest.d.ts +1 -1
- package/apps/cli/dist/module-manifest.js +23 -6
- package/apps/cli/dist/openclaw.d.ts +0 -8
- package/apps/cli/dist/openclaw.js +2 -114
- package/apps/cli/dist/output.d.ts +19 -1
- package/apps/cli/dist/output.js +185 -44
- package/apps/cli/dist/playboard.js +17 -9
- package/apps/cli/dist/service-control.js +0 -1
- package/apps/cli/dist/state.d.ts +5 -2
- package/apps/cli/dist/state.js +48 -13
- package/dist/public/codex.d.ts +1 -0
- package/dist/public/codex.js +1 -0
- package/dist/public/executor-kernel.d.ts +4 -0
- package/dist/public/executor-kernel.js +2 -0
- package/dist/public/host.d.ts +6 -3
- package/dist/public/host.js +3 -1
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.d.ts +6 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +78 -262
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +11 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.js +198 -52
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.d.ts +58 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/service.js +650 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/stdin-writer.js +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-R3PDZLX5.js → chunk-H3S6WM37.js} +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FGFEM7JP.js → chunk-RISQ6NGV.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-TSRZVLIG.js → chunk-SMTJTIN7.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/execution-scope.d.ts +25 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +1 -13
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +4 -27
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +4 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +6 -60
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +0 -83
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +41 -19
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +1 -13
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +130 -317
- 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/index.js +14 -1
- 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 +99 -182
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +0 -50
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +23 -6
- 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 +19 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +185 -44
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +17 -9
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.d.ts +5 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.js +48 -13
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -23
- package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.d.ts +29 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.js +210 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/browser.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/browser.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +495 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/internal.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/internal.js +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.d.ts +59 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.js +302 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/notification.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/notification.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/protocol.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/protocol.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/runtime-path.d.ts +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/runtime-path.js +138 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.d.ts +8 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.js +53 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-diagnostics.d.ts +82 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-diagnostics.js +371 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.js +29 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.d.ts +87 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +54 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-configuration-fixtures.json +1219 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/context-fixtures.json +5988 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-client.behavior.json +56 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc-fixtures.json +75 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc.schema.json +538 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +116 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +4713 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +761 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/runtime-selection-fixtures.json +663 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/session-name-fixtures.json +191 -0
- 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 +26 -18
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +153 -14
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +22 -15
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.d.ts +1 -30
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/async-question-reply.js +2 -199
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.d.ts +1 -10
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.js +2 -446
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/endpoint.js +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/host-run-service.js +13 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.d.ts +1 -53
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.js +2 -280
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.d.ts +5 -10
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.js +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-home.d.ts +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runtime-home.js +180 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +41 -15
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.d.ts +5 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.js +48 -5
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-catalog.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-catalog.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-diagnostics.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-diagnostics.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-logging.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/startup-logging.js +18 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.d.ts +1 -10
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/submission-error.js +2 -23
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.d.ts +2 -72
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.js +2 -10
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -4
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.js +12 -5
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.js +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.d.ts +5 -6
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/home.js +33 -45
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/identity.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +4 -6
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +3 -5
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -17
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/adapter-metadata.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +52 -8
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.js +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +3 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +27 -29
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +86 -37
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +1 -6
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +3 -17
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +65 -0
- 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 +33 -135
- package/packages/octo-runtime-protocol/schema/kernel-ipc-fixtures.json +28 -6
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +296 -66
- 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 -72
- package/apps/cli/dist/global-extras.d.ts +0 -16
- package/apps/cli/dist/global-extras.js +0 -201
- package/apps/cli/dist/status-output.d.ts +0 -10
- package/apps/cli/dist/status-output.js +0 -65
- package/dist/public/channel-gateway-commands.d.ts +0 -1
- package/dist/public/channel-gateway-commands.js +0 -1
- package/dist/public/channel-gateway.d.ts +0 -3
- package/dist/public/channel-gateway.js +0 -1
- package/dist/public/channel-wecom-commands.d.ts +0 -1
- package/dist/public/channel-wecom-commands.js +0 -1
- package/dist/public/channel-wecom.d.ts +0 -2
- package/dist/public/channel-wecom.js +0 -1
- package/dist/public/extra.d.ts +0 -5
- package/dist/public/extra.js +0 -3
- package/dist/public/webui-commands.d.ts +0 -1
- package/dist/public/webui-commands.js +0 -1
- package/dist/public/webui.d.ts +0 -1
- package/dist/public/webui.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +0 -50
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +0 -275
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +0 -72
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +0 -201
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +0 -65
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +0 -62
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +0 -50
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +0 -140
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +0 -27
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +0 -17
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +0 -123
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +0 -1489
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +0 -28
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +0 -77
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +0 -71
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +0 -153
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +0 -28
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +0 -124
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +0 -172
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/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/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/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 -134
- 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 -22
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +0 -309
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.d.ts +0 -55
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.js +0 -375
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +0 -39
- package/node_modules/@types/debug/LICENSE +0 -21
- package/node_modules/@types/debug/README.md +0 -69
- package/node_modules/@types/debug/index.d.ts +0 -50
- package/node_modules/@types/debug/package.json +0 -58
- package/node_modules/@types/mdast/LICENSE +0 -21
- package/node_modules/@types/mdast/README.md +0 -15
- package/node_modules/@types/mdast/index.d.ts +0 -1123
- package/node_modules/@types/mdast/package.json +0 -47
- package/node_modules/@types/ms/LICENSE +0 -21
- package/node_modules/@types/ms/README.md +0 -82
- package/node_modules/@types/ms/index.d.ts +0 -63
- package/node_modules/@types/ms/package.json +0 -26
- package/node_modules/@types/unist/LICENSE +0 -21
- package/node_modules/@types/unist/README.md +0 -15
- package/node_modules/@types/unist/index.d.ts +0 -119
- package/node_modules/@types/unist/package.json +0 -60
- package/node_modules/character-entities/index.d.ts +0 -6
- package/node_modules/character-entities/index.js +0 -2132
- package/node_modules/character-entities/license +0 -22
- package/node_modules/character-entities/package.json +0 -78
- package/node_modules/character-entities/readme.md +0 -152
- package/node_modules/debug/LICENSE +0 -20
- package/node_modules/debug/README.md +0 -481
- package/node_modules/debug/package.json +0 -64
- package/node_modules/debug/src/browser.js +0 -272
- package/node_modules/debug/src/common.js +0 -292
- package/node_modules/debug/src/index.js +0 -10
- package/node_modules/debug/src/node.js +0 -263
- package/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/node_modules/decode-named-character-reference/index.js +0 -19
- package/node_modules/decode-named-character-reference/license +0 -22
- package/node_modules/decode-named-character-reference/package.json +0 -90
- package/node_modules/decode-named-character-reference/readme.md +0 -136
- package/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/dequal/license +0 -21
- package/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/dequal/package.json +0 -57
- package/node_modules/dequal/readme.md +0 -112
- package/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/devlop/license +0 -22
- package/node_modules/devlop/package.json +0 -80
- package/node_modules/devlop/readme.md +0 -360
- package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1455
- package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -321
- package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1270
- package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -321
- package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/license +0 -22
- package/node_modules/mdast-util-from-markdown/package.json +0 -98
- package/node_modules/mdast-util-from-markdown/readme.md +0 -549
- package/node_modules/mdast-util-to-string/index.d.ts +0 -2
- package/node_modules/mdast-util-to-string/index.js +0 -5
- package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
- package/node_modules/mdast-util-to-string/lib/index.js +0 -108
- package/node_modules/mdast-util-to-string/license +0 -22
- package/node_modules/mdast-util-to-string/package.json +0 -78
- package/node_modules/mdast-util-to-string/readme.md +0 -218
- package/node_modules/micromark/dev/index.d.ts +0 -82
- package/node_modules/micromark/dev/index.d.ts.map +0 -1
- package/node_modules/micromark/dev/index.js +0 -68
- package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
- package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/compile.js +0 -1162
- package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
- package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/constructs.js +0 -101
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -718
- package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
- package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
- package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
- package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/document.js +0 -449
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
- package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
- package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/text.js +0 -248
- package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
- package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/parse.js +0 -58
- package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
- package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/postprocess.js +0 -19
- package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
- package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/preprocess.js +0 -139
- package/node_modules/micromark/dev/stream.d.ts +0 -35
- package/node_modules/micromark/dev/stream.d.ts.map +0 -1
- package/node_modules/micromark/dev/stream.js +0 -270
- package/node_modules/micromark/index.d.ts +0 -82
- package/node_modules/micromark/index.d.ts.map +0 -1
- package/node_modules/micromark/index.js +0 -60
- package/node_modules/micromark/lib/compile.d.ts +0 -16
- package/node_modules/micromark/lib/compile.d.ts.map +0 -1
- package/node_modules/micromark/lib/compile.js +0 -1068
- package/node_modules/micromark/lib/constructs.d.ts +0 -73
- package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
- package/node_modules/micromark/lib/constructs.js +0 -85
- package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/micromark/lib/create-tokenizer.js +0 -613
- package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
- package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/content.js +0 -79
- package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
- package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/document.js +0 -370
- package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
- package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/flow.js +0 -58
- package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
- package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/text.js +0 -216
- package/node_modules/micromark/lib/parse.d.ts +0 -10
- package/node_modules/micromark/lib/parse.d.ts.map +0 -1
- package/node_modules/micromark/lib/parse.js +0 -56
- package/node_modules/micromark/lib/postprocess.d.ts +0 -9
- package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
- package/node_modules/micromark/lib/postprocess.js +0 -18
- package/node_modules/micromark/lib/preprocess.d.ts +0 -13
- package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
- package/node_modules/micromark/lib/preprocess.js +0 -112
- package/node_modules/micromark/license +0 -22
- package/node_modules/micromark/package.json +0 -87
- package/node_modules/micromark/readme.md +0 -488
- package/node_modules/micromark/stream.d.ts +0 -35
- package/node_modules/micromark/stream.d.ts.map +0 -1
- package/node_modules/micromark/stream.js +0 -256
- package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
- package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -294
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -472
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -178
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -229
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -938
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -658
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -119
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -71
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +0 -67
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -213
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
- package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
- package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/index.js +0 -22
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/attention.js +0 -231
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -422
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -159
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
- package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
- package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -191
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -827
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -561
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -110
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -63
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
- package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +0 -61
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -187
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
- package/node_modules/micromark-core-commonmark/license +0 -22
- package/node_modules/micromark-core-commonmark/package.json +0 -62
- package/node_modules/micromark-core-commonmark/readme.md +0 -171
- package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
- package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-destination/dev/index.js +0 -255
- package/node_modules/micromark-factory-destination/index.d.ts +0 -42
- package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-destination/index.js +0 -206
- package/node_modules/micromark-factory-destination/license +0 -22
- package/node_modules/micromark-factory-destination/package.json +0 -57
- package/node_modules/micromark-factory-destination/readme.md +0 -234
- package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
- package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-label/dev/index.js +0 -172
- package/node_modules/micromark-factory-label/index.d.ts +0 -37
- package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-label/index.js +0 -148
- package/node_modules/micromark-factory-label/license +0 -22
- package/node_modules/micromark-factory-label/package.json +0 -60
- package/node_modules/micromark-factory-label/readme.md +0 -224
- package/node_modules/micromark-factory-space/dev/index.d.ts +0 -60
- package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-space/dev/index.js +0 -122
- package/node_modules/micromark-factory-space/index.d.ts +0 -60
- package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-space/index.js +0 -116
- package/node_modules/micromark-factory-space/license +0 -22
- package/node_modules/micromark-factory-space/package.json +0 -46
- package/node_modules/micromark-factory-space/readme.md +0 -225
- package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
- package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-title/dev/index.js +0 -169
- package/node_modules/micromark-factory-title/index.d.ts +0 -36
- package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-title/index.js +0 -158
- package/node_modules/micromark-factory-title/license +0 -22
- package/node_modules/micromark-factory-title/package.json +0 -58
- package/node_modules/micromark-factory-title/readme.md +0 -229
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
- package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
- package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-whitespace/index.js +0 -44
- package/node_modules/micromark-factory-whitespace/license +0 -22
- package/node_modules/micromark-factory-whitespace/package.json +0 -57
- package/node_modules/micromark-factory-whitespace/readme.md +0 -205
- package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/micromark-util-character/license +0 -22
- package/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
- package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-chunked/dev/index.js +0 -89
- package/node_modules/micromark-util-chunked/index.d.ts +0 -41
- package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
- package/node_modules/micromark-util-chunked/index.js +0 -81
- package/node_modules/micromark-util-chunked/license +0 -22
- package/node_modules/micromark-util-chunked/package.json +0 -57
- package/node_modules/micromark-util-chunked/readme.md +0 -219
- package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/node_modules/micromark-util-classify-character/index.js +0 -27
- package/node_modules/micromark-util-classify-character/license +0 -22
- package/node_modules/micromark-util-classify-character/package.json +0 -59
- package/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
- package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
- package/node_modules/micromark-util-combine-extensions/index.js +0 -143
- package/node_modules/micromark-util-combine-extensions/license +0 -22
- package/node_modules/micromark-util-combine-extensions/package.json +0 -52
- package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
- package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
- package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
- package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-string/index.js +0 -45
- package/node_modules/micromark-util-decode-string/license +0 -22
- package/node_modules/micromark-util-decode-string/package.json +0 -63
- package/node_modules/micromark-util-decode-string/readme.md +0 -179
- package/node_modules/micromark-util-edit-map/dev/index.d.ts +0 -78
- package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-edit-map/dev/index.js +0 -237
- package/node_modules/micromark-util-edit-map/index.d.ts +0 -78
- package/node_modules/micromark-util-edit-map/index.d.ts.map +0 -1
- package/node_modules/micromark-util-edit-map/index.js +0 -225
- package/node_modules/micromark-util-edit-map/license +0 -22
- package/node_modules/micromark-util-edit-map/package.json +0 -48
- package/node_modules/micromark-util-edit-map/readme.md +0 -234
- package/node_modules/micromark-util-encode/index.d.ts +0 -14
- package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
- package/node_modules/micromark-util-encode/index.js +0 -33
- package/node_modules/micromark-util-encode/license +0 -22
- package/node_modules/micromark-util-encode/package.json +0 -47
- package/node_modules/micromark-util-encode/readme.md +0 -176
- package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
- package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
- package/node_modules/micromark-util-html-tag-name/index.js +0 -93
- package/node_modules/micromark-util-html-tag-name/license +0 -22
- package/node_modules/micromark-util-html-tag-name/package.json +0 -47
- package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
- package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
- package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
- package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
- package/node_modules/micromark-util-normalize-identifier/license +0 -22
- package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
- package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
- package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
- package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
- package/node_modules/micromark-util-resolve-all/index.js +0 -32
- package/node_modules/micromark-util-resolve-all/license +0 -22
- package/node_modules/micromark-util-resolve-all/package.json +0 -48
- package/node_modules/micromark-util-resolve-all/readme.md +0 -238
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
- package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
- package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
- package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
- package/node_modules/micromark-util-sanitize-uri/license +0 -22
- package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
- package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
- package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
- package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/index.js +0 -228
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
- package/node_modules/micromark-util-subtokenize/license +0 -22
- package/node_modules/micromark-util-subtokenize/package.json +0 -60
- package/node_modules/micromark-util-subtokenize/readme.md +0 -181
- package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/micromark-util-types/index.d.ts +0 -1315
- package/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/micromark-util-types/license +0 -22
- package/node_modules/micromark-util-types/package.json +0 -37
- package/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/ms/index.js +0 -162
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -38
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
- package/node_modules/unist-util-stringify-position/index.js +0 -1
- package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
- package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
- package/node_modules/unist-util-stringify-position/license +0 -22
- package/node_modules/unist-util-stringify-position/package.json +0 -80
- package/node_modules/unist-util-stringify-position/readme.md +0 -206
- package/packages/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
- package/packages/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
- package/packages/octo-runtime-extra-webui/config-schema.json +0 -134
- /package/node_modules/@mininglamp-oss/{octo-runtime-extra-channel-gateway/dist/contracts.js → octo-runtime-adapter-sdk/dist/execution-scope.js} +0 -0
- /package/node_modules/@mininglamp-oss/{octo-runtime-extra-channel-gateway/dist/ports.js → octo-runtime-protocol/dist/adapter-metadata.js} +0 -0
|
@@ -0,0 +1,650 @@
|
|
|
1
|
+
import { spawn } from "node:child_process";
|
|
2
|
+
import { createInterface } from "node:readline";
|
|
3
|
+
import { randomUUID } from "node:crypto";
|
|
4
|
+
import { performance } from "node:perf_hooks";
|
|
5
|
+
import { setTimeout as delay } from "node:timers/promises";
|
|
6
|
+
import { createProcessCleanup } from "@mininglamp-oss/octo-runtime-adapter-sdk/process-cleanup";
|
|
7
|
+
import { resolveProcessLaunch } from "@mininglamp-oss/octo-runtime-adapter-sdk/process-launch";
|
|
8
|
+
import { watchLineLimit } from "@mininglamp-oss/octo-runtime-adapter-sdk";
|
|
9
|
+
import { DEFAULT_STREAM_LIMIT_POLICY, INVOKE_REQUEST_MAX_BYTES } from "@mininglamp-oss/octo-runtime-protocol";
|
|
10
|
+
import { CodexStdinWriter, codexTransportError } from "./stdin-writer.js";
|
|
11
|
+
/**
|
|
12
|
+
* 一个调用的协议所有权;只有 service 持有进程和 stdio。
|
|
13
|
+
* channel 关闭只退订自己的 thread,不能终止共享进程或撤销其他调用的写入。
|
|
14
|
+
*/
|
|
15
|
+
export class CodexTurnChannel {
|
|
16
|
+
service;
|
|
17
|
+
incarnation;
|
|
18
|
+
allowInputEcho;
|
|
19
|
+
onMessage = () => { };
|
|
20
|
+
onFailure = () => { };
|
|
21
|
+
threadId;
|
|
22
|
+
turnId;
|
|
23
|
+
terminal = false;
|
|
24
|
+
closed = false;
|
|
25
|
+
startingTurn = false;
|
|
26
|
+
startingThread = false;
|
|
27
|
+
buffered = [];
|
|
28
|
+
bufferedBytes = 0;
|
|
29
|
+
#close;
|
|
30
|
+
constructor(service, incarnation, allowInputEcho = false) {
|
|
31
|
+
this.service = service;
|
|
32
|
+
this.incarnation = incarnation;
|
|
33
|
+
this.allowInputEcho = allowInputEcho;
|
|
34
|
+
}
|
|
35
|
+
reserveRequestId() {
|
|
36
|
+
return this.service.reserveRequestId();
|
|
37
|
+
}
|
|
38
|
+
write(message, onError, onWritten, options = {}) {
|
|
39
|
+
return this.service.write(this, message, onError, onWritten, options);
|
|
40
|
+
}
|
|
41
|
+
cancelPending(error) {
|
|
42
|
+
this.service.cancelPending(this, error);
|
|
43
|
+
}
|
|
44
|
+
close() {
|
|
45
|
+
return (this.#close ??= this.service.release(this));
|
|
46
|
+
}
|
|
47
|
+
errorMessage(error) {
|
|
48
|
+
const text = error instanceof Error ? error.message : String(error);
|
|
49
|
+
const tail = this.service.stderr(this.incarnation);
|
|
50
|
+
return tail.trim() ? `${text}\n\n[codex stderr]\n${tail.trim()}` : text;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
/** Core 作用域内的一种兼容配置;惰性首次启动,之后空闲退出也主动恢复,业务动作从不重放。 */
|
|
54
|
+
export class CodexService {
|
|
55
|
+
scopeId;
|
|
56
|
+
spec;
|
|
57
|
+
spawnFn;
|
|
58
|
+
rawMessageMaxBytes;
|
|
59
|
+
id = randomUUID();
|
|
60
|
+
#state = "not_started";
|
|
61
|
+
#current;
|
|
62
|
+
#generation = 0;
|
|
63
|
+
#nextId = 0;
|
|
64
|
+
#closing = false;
|
|
65
|
+
#supervision;
|
|
66
|
+
#close;
|
|
67
|
+
#failure;
|
|
68
|
+
#episodeStart = 0;
|
|
69
|
+
#replacements = 0;
|
|
70
|
+
#stableTimer;
|
|
71
|
+
#stop = new AbortController();
|
|
72
|
+
#pending = new Map();
|
|
73
|
+
#channels = new Set();
|
|
74
|
+
#threads = new Map();
|
|
75
|
+
#usedThreads = new Set();
|
|
76
|
+
#serverRequests = new Map();
|
|
77
|
+
#early = new Map();
|
|
78
|
+
#earlyBytes = 0;
|
|
79
|
+
#earlyItems = 0;
|
|
80
|
+
#waiters = 0;
|
|
81
|
+
#waitingBytes = 0;
|
|
82
|
+
constructor(scopeId, spec, spawnFn = ownedSpawn, rawMessageMaxBytes = DEFAULT_STREAM_LIMIT_POLICY.rawMessageMaxBytes) {
|
|
83
|
+
this.scopeId = scopeId;
|
|
84
|
+
this.spec = spec;
|
|
85
|
+
this.spawnFn = spawnFn;
|
|
86
|
+
this.rawMessageMaxBytes = rawMessageMaxBytes;
|
|
87
|
+
}
|
|
88
|
+
/** 取消等待不取消共享启动;等待者数和活动 thread 数分别有界。 */
|
|
89
|
+
async acquire(signal, retainedBytes = 0, allowInputEcho = false) {
|
|
90
|
+
if (this.#closing)
|
|
91
|
+
throw codexTransportError("CODEX_SERVICE_CLOSED");
|
|
92
|
+
const queuedBytes = this.#state === "ready" ? 0 : retainedBytes;
|
|
93
|
+
if (this.#waitingBytes + queuedBytes > 32 * 1024 * 1024)
|
|
94
|
+
throw codexTransportError("CODEX_SERVICE_WAITING_BYTES_EXCEEDED");
|
|
95
|
+
if (++this.#waiters > 128) {
|
|
96
|
+
this.#waiters--;
|
|
97
|
+
throw codexTransportError("CODEX_SERVICE_WAITERS_EXCEEDED");
|
|
98
|
+
}
|
|
99
|
+
this.#waitingBytes += queuedBytes;
|
|
100
|
+
try {
|
|
101
|
+
signal?.throwIfAborted();
|
|
102
|
+
const ready = this.#state === "ready" ? Promise.resolve() : this.#supervise(false);
|
|
103
|
+
let abort;
|
|
104
|
+
try {
|
|
105
|
+
await (signal
|
|
106
|
+
? Promise.race([
|
|
107
|
+
ready,
|
|
108
|
+
new Promise((_, reject) => {
|
|
109
|
+
abort = () => reject(signal.reason instanceof Error
|
|
110
|
+
? signal.reason
|
|
111
|
+
: codexTransportError("CODEX_INVOCATION_CANCELLED"));
|
|
112
|
+
signal.addEventListener("abort", abort, { once: true });
|
|
113
|
+
if (signal.aborted)
|
|
114
|
+
abort();
|
|
115
|
+
})
|
|
116
|
+
])
|
|
117
|
+
: ready);
|
|
118
|
+
}
|
|
119
|
+
finally {
|
|
120
|
+
if (abort)
|
|
121
|
+
signal?.removeEventListener("abort", abort);
|
|
122
|
+
}
|
|
123
|
+
signal?.throwIfAborted();
|
|
124
|
+
if (this.#closing || this.#state !== "ready")
|
|
125
|
+
throw codexTransportError("CODEX_SERVICE_UNAVAILABLE");
|
|
126
|
+
if (this.#channels.size >= 8)
|
|
127
|
+
throw codexTransportError("CODEX_SERVICE_TURNS_EXCEEDED");
|
|
128
|
+
const channel = new CodexTurnChannel(this, this.#generation, allowInputEcho);
|
|
129
|
+
this.#channels.add(channel);
|
|
130
|
+
return channel;
|
|
131
|
+
}
|
|
132
|
+
finally {
|
|
133
|
+
this.#waiters--;
|
|
134
|
+
this.#waitingBytes -= queuedBytes;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
snapshot() {
|
|
138
|
+
const current = this.#current;
|
|
139
|
+
return {
|
|
140
|
+
scope_id: this.scopeId,
|
|
141
|
+
service_id: this.id,
|
|
142
|
+
incarnation: this.#generation,
|
|
143
|
+
provider: "codex",
|
|
144
|
+
owner_pid: process.pid,
|
|
145
|
+
...(current?.child.pid ? { pid: current.child.pid } : {}),
|
|
146
|
+
state: this.#state,
|
|
147
|
+
observation: !current
|
|
148
|
+
? "unknown"
|
|
149
|
+
: current.exited || current.child.exitCode !== null || current.child.signalCode !== null
|
|
150
|
+
? "exited"
|
|
151
|
+
: "alive",
|
|
152
|
+
ownership: "owned"
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
stderr(generation) {
|
|
156
|
+
return this.#current?.number === generation ? this.#current.stderr : "";
|
|
157
|
+
}
|
|
158
|
+
reserveRequestId() {
|
|
159
|
+
return ++this.#nextId;
|
|
160
|
+
}
|
|
161
|
+
write(channel, message, onError, onWritten, options = {}) {
|
|
162
|
+
const current = this.#current;
|
|
163
|
+
if (channel.closed ||
|
|
164
|
+
!current ||
|
|
165
|
+
current.failed ||
|
|
166
|
+
channel.incarnation !== current.number ||
|
|
167
|
+
this.#closing) {
|
|
168
|
+
onError(codexTransportError("CODEX_SERVICE_INCARNATION_LOST"));
|
|
169
|
+
return () => { };
|
|
170
|
+
}
|
|
171
|
+
const id = rpcId(message.id);
|
|
172
|
+
const method = typeof message.method === "string" ? message.method : undefined;
|
|
173
|
+
if (id !== undefined && method) {
|
|
174
|
+
const params = record(message.params);
|
|
175
|
+
try {
|
|
176
|
+
if (method === "thread/start") {
|
|
177
|
+
this.#reserveThreadHistory();
|
|
178
|
+
channel.startingThread = true;
|
|
179
|
+
}
|
|
180
|
+
if (method === "thread/resume")
|
|
181
|
+
this.#claimThread(channel, text(params.threadId));
|
|
182
|
+
if (method === "turn/start") {
|
|
183
|
+
if (params.threadId !== channel.threadId)
|
|
184
|
+
throw codexTransportError("CODEX_THREAD_OWNER_MISMATCH");
|
|
185
|
+
channel.startingTurn = true;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
catch (error) {
|
|
189
|
+
onError(asError(error));
|
|
190
|
+
return () => { };
|
|
191
|
+
}
|
|
192
|
+
this.#pending.set(id, { method, channel });
|
|
193
|
+
}
|
|
194
|
+
else if (id !== undefined) {
|
|
195
|
+
// Provider request IDs belong to the original incarnation and channel, including native replies.
|
|
196
|
+
if (this.#serverRequests.get(id) !== channel) {
|
|
197
|
+
onError(codexTransportError("INTERACTION_NOT_ACTIVE"));
|
|
198
|
+
return () => { };
|
|
199
|
+
}
|
|
200
|
+
this.#serverRequests.delete(id);
|
|
201
|
+
}
|
|
202
|
+
const cancel = current.writer.write(message, (error) => {
|
|
203
|
+
if (method && id !== undefined)
|
|
204
|
+
this.#pending.delete(id);
|
|
205
|
+
onError(error);
|
|
206
|
+
}, onWritten, { ...options, owner: channel });
|
|
207
|
+
return () => {
|
|
208
|
+
cancel();
|
|
209
|
+
if (method && id !== undefined)
|
|
210
|
+
this.#pending.delete(id);
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
cancelPending(channel, error) {
|
|
214
|
+
this.#current?.writer.cancelOwner(channel, error);
|
|
215
|
+
}
|
|
216
|
+
/** 未确认中断/退订时保留 thread 和容量,阻止迟到通知进入后续调用。 */
|
|
217
|
+
async release(channel) {
|
|
218
|
+
if (channel.closed)
|
|
219
|
+
return;
|
|
220
|
+
channel.closed = true;
|
|
221
|
+
this.cancelPending(channel, codexTransportError("INTERACTION_NOT_ACTIVE"));
|
|
222
|
+
for (const [id, pending] of this.#pending)
|
|
223
|
+
if (pending.channel === channel)
|
|
224
|
+
this.#pending.delete(id);
|
|
225
|
+
for (const [id, owner] of this.#serverRequests)
|
|
226
|
+
if (owner === channel) {
|
|
227
|
+
this.#serverRequests.delete(id);
|
|
228
|
+
this.#current?.writer.write({ id, error: { code: -32000, message: "invocation ended" } }, () => { }, undefined, { control: true });
|
|
229
|
+
}
|
|
230
|
+
channel.onMessage = () => { };
|
|
231
|
+
channel.onFailure = () => { };
|
|
232
|
+
channel.buffered.length = 0;
|
|
233
|
+
if (this.#current?.number !== channel.incarnation || this.#current.failed || this.#closing) {
|
|
234
|
+
this.#forget(channel);
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
try {
|
|
238
|
+
if (channel.startingThread || channel.startingTurn)
|
|
239
|
+
throw codexTransportError("CODEX_TURN_DELIVERY_UNKNOWN");
|
|
240
|
+
if (channel.threadId) {
|
|
241
|
+
if (!channel.terminal && channel.turnId) {
|
|
242
|
+
await this.#rpc("turn/interrupt", { threadId: channel.threadId, turnId: channel.turnId }, 300);
|
|
243
|
+
}
|
|
244
|
+
// Unsubscribe is the native ownership boundary; an ACK for interrupt alone isn't a terminal.
|
|
245
|
+
await this.#rpc("thread/unsubscribe", { threadId: channel.threadId }, 300);
|
|
246
|
+
}
|
|
247
|
+
this.#forget(channel);
|
|
248
|
+
}
|
|
249
|
+
catch (cause) {
|
|
250
|
+
if (this.#current?.failed || this.#closing) {
|
|
251
|
+
this.#forget(channel);
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
throw codexTransportError("CODEX_TURN_CLEANUP_INCOMPLETE", cause);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
#forget(channel) {
|
|
258
|
+
this.#channels.delete(channel);
|
|
259
|
+
if (channel.threadId)
|
|
260
|
+
this.#usedThreads.add(channel.threadId);
|
|
261
|
+
if (channel.threadId && this.#threads.get(channel.threadId) === channel)
|
|
262
|
+
this.#threads.delete(channel.threadId);
|
|
263
|
+
}
|
|
264
|
+
#claimThread(channel, id) {
|
|
265
|
+
if (!id)
|
|
266
|
+
throw codexTransportError("CODEX_THREAD_ID_MISSING");
|
|
267
|
+
if (!this.#usedThreads.has(id) && !this.#threads.has(id))
|
|
268
|
+
this.#reserveThreadHistory(channel.startingThread ? 1 : 0);
|
|
269
|
+
const owner = this.#threads.get(id);
|
|
270
|
+
if (owner && owner !== channel)
|
|
271
|
+
throw codexTransportError("CODEX_THREAD_BUSY");
|
|
272
|
+
if (channel.threadId && channel.threadId !== id)
|
|
273
|
+
this.#threads.delete(channel.threadId);
|
|
274
|
+
channel.threadId = id;
|
|
275
|
+
this.#threads.set(id, channel);
|
|
276
|
+
}
|
|
277
|
+
/** 发出新 thread 前预留历史槽,避免 ACK 里的容量拒绝污染健康传输。 */
|
|
278
|
+
#reserveThreadHistory(ownReservation = 0) {
|
|
279
|
+
const live = [...this.#threads.keys()].filter((id) => !this.#usedThreads.has(id)).length;
|
|
280
|
+
const starting = [...this.#channels].filter((channel) => channel.startingThread).length;
|
|
281
|
+
if (this.#usedThreads.size + live + starting - ownReservation >= 4096)
|
|
282
|
+
throw codexTransportError("CODEX_SERVICE_THREAD_HISTORY_EXCEEDED");
|
|
283
|
+
}
|
|
284
|
+
#rpc(method, params, timeoutMs = 30_000) {
|
|
285
|
+
const current = this.#current;
|
|
286
|
+
if (!current || current.failed)
|
|
287
|
+
return Promise.reject(codexTransportError("CODEX_SERVICE_UNAVAILABLE"));
|
|
288
|
+
return new Promise((resolve, reject) => {
|
|
289
|
+
const id = this.reserveRequestId();
|
|
290
|
+
const timer = setTimeout(() => {
|
|
291
|
+
this.#pending.delete(id);
|
|
292
|
+
cancel();
|
|
293
|
+
reject(codexTransportError("RPC_TIMEOUT"));
|
|
294
|
+
}, timeoutMs);
|
|
295
|
+
this.#pending.set(id, { method, resolve, reject, timer });
|
|
296
|
+
const cancel = current.writer.write({ id, method, params }, (error) => {
|
|
297
|
+
clearTimeout(timer);
|
|
298
|
+
this.#pending.delete(id);
|
|
299
|
+
reject(error);
|
|
300
|
+
}, undefined, { control: method === "turn/interrupt", timeoutMs });
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
#handle(current, message) {
|
|
304
|
+
if (current !== this.#current || current.failed)
|
|
305
|
+
return;
|
|
306
|
+
const id = rpcId(message.id);
|
|
307
|
+
if (id !== undefined && ("result" in message || "error" in message)) {
|
|
308
|
+
const pending = this.#pending.get(id);
|
|
309
|
+
if (!pending)
|
|
310
|
+
return;
|
|
311
|
+
this.#pending.delete(id);
|
|
312
|
+
clearTimeout(pending.timer);
|
|
313
|
+
if (pending.channel) {
|
|
314
|
+
const channel = pending.channel;
|
|
315
|
+
if (!message.error) {
|
|
316
|
+
if (pending.method === "thread/start" || pending.method === "thread/resume") {
|
|
317
|
+
const result = record(message.result);
|
|
318
|
+
const thread = record(result.thread);
|
|
319
|
+
this.#claimThread(channel, text(thread.id ?? result.threadId));
|
|
320
|
+
channel.startingThread = false;
|
|
321
|
+
}
|
|
322
|
+
if (pending.method === "turn/start") {
|
|
323
|
+
const result = record(message.result);
|
|
324
|
+
channel.turnId = text(record(result.turn).id ?? result.turnId);
|
|
325
|
+
if (!channel.turnId)
|
|
326
|
+
throw codexTransportError("CODEX_TURN_ID_MISSING");
|
|
327
|
+
channel.startingTurn = false;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
if (pending.method === "turn/start")
|
|
332
|
+
channel.startingTurn = false;
|
|
333
|
+
if (pending.method === "thread/start")
|
|
334
|
+
channel.startingThread = false;
|
|
335
|
+
}
|
|
336
|
+
if (!channel.closed)
|
|
337
|
+
channel.onMessage(message);
|
|
338
|
+
if (channel.threadId) {
|
|
339
|
+
const early = this.#early.get(channel.threadId) ?? [];
|
|
340
|
+
this.#early.delete(channel.threadId);
|
|
341
|
+
for (const value of early) {
|
|
342
|
+
this.#earlyItems--;
|
|
343
|
+
this.#earlyBytes -= Buffer.byteLength(JSON.stringify(value));
|
|
344
|
+
this.#route(channel, value);
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
if (pending.method === "turn/start") {
|
|
348
|
+
const buffered = channel.buffered.splice(0);
|
|
349
|
+
channel.bufferedBytes = 0;
|
|
350
|
+
for (const value of buffered)
|
|
351
|
+
this.#route(channel, value);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
else if (message.error)
|
|
355
|
+
pending.reject?.(codexTransportError("CODEX_SERVICE_RPC_REJECTED"));
|
|
356
|
+
else
|
|
357
|
+
pending.resolve?.(message.result);
|
|
358
|
+
return;
|
|
359
|
+
}
|
|
360
|
+
const params = record(message.params);
|
|
361
|
+
const threadId = text(params.threadId ?? record(params.thread).id);
|
|
362
|
+
const channel = this.#threads.get(threadId);
|
|
363
|
+
if (channel)
|
|
364
|
+
this.#route(channel, message);
|
|
365
|
+
else if (threadId &&
|
|
366
|
+
[...this.#pending.values()].some((value) => value.method === "thread/start")) {
|
|
367
|
+
const bytes = Buffer.byteLength(JSON.stringify(message));
|
|
368
|
+
if (this.#earlyItems >= 128 || this.#earlyBytes + bytes > 32 * 1024 * 1024)
|
|
369
|
+
throw codexTransportError("CODEX_SERVICE_ROUTE_BUFFER_EXCEEDED");
|
|
370
|
+
const entries = this.#early.get(threadId) ?? [];
|
|
371
|
+
entries.push(message);
|
|
372
|
+
this.#early.set(threadId, entries);
|
|
373
|
+
this.#earlyBytes += bytes;
|
|
374
|
+
this.#earlyItems++;
|
|
375
|
+
}
|
|
376
|
+
else if (id !== undefined)
|
|
377
|
+
this.#rejectRequest(current, id, threadId ? -32000 : -32601);
|
|
378
|
+
}
|
|
379
|
+
#route(channel, message) {
|
|
380
|
+
const params = record(message.params);
|
|
381
|
+
const turnId = text(params.turnId ?? record(params.turn).id);
|
|
382
|
+
if (channel.startingTurn && !channel.turnId) {
|
|
383
|
+
const bytes = Buffer.byteLength(JSON.stringify(message));
|
|
384
|
+
if (channel.buffered.length >= 128 || channel.bufferedBytes + bytes > 32 * 1024 * 1024)
|
|
385
|
+
throw codexTransportError("CODEX_SERVICE_ROUTE_BUFFER_EXCEEDED");
|
|
386
|
+
channel.buffered.push(message);
|
|
387
|
+
channel.bufferedBytes += bytes;
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
390
|
+
const id = rpcId(message.id);
|
|
391
|
+
if (turnId && turnId !== channel.turnId) {
|
|
392
|
+
if (id !== undefined && this.#current)
|
|
393
|
+
this.#rejectRequest(this.#current, id);
|
|
394
|
+
return;
|
|
395
|
+
}
|
|
396
|
+
if (message.method === "turn/completed")
|
|
397
|
+
channel.terminal = true;
|
|
398
|
+
if (id !== undefined) {
|
|
399
|
+
// A nullable elicitation on a reused thread cannot prove which subscription caused it.
|
|
400
|
+
if (channel.closed ||
|
|
401
|
+
!channel.turnId ||
|
|
402
|
+
this.#serverRequests.has(id) ||
|
|
403
|
+
(!turnId && this.#usedThreads.has(channel.threadId))) {
|
|
404
|
+
this.#rejectRequest(this.#current, id);
|
|
405
|
+
return;
|
|
406
|
+
}
|
|
407
|
+
if (this.#serverRequests.size >= 4096)
|
|
408
|
+
throw codexTransportError("CODEX_SERVICE_INTERACTIONS_EXCEEDED");
|
|
409
|
+
this.#serverRequests.set(id, channel);
|
|
410
|
+
}
|
|
411
|
+
if (!channel.closed)
|
|
412
|
+
channel.onMessage(message);
|
|
413
|
+
}
|
|
414
|
+
#rejectRequest(current, id, code = -32000) {
|
|
415
|
+
current.writer.write({ id, error: { code, message: "request ownership is unknown or inactive" } }, () => { }, undefined, { control: true });
|
|
416
|
+
}
|
|
417
|
+
#fault(current, error) {
|
|
418
|
+
if (current !== this.#current || current.failed)
|
|
419
|
+
return;
|
|
420
|
+
current.failed = true;
|
|
421
|
+
this.#failure = error;
|
|
422
|
+
clearTimeout(this.#stableTimer);
|
|
423
|
+
current.writer.stop(error);
|
|
424
|
+
current.reader.close();
|
|
425
|
+
current.removeGuard();
|
|
426
|
+
for (const pending of this.#pending.values()) {
|
|
427
|
+
clearTimeout(pending.timer);
|
|
428
|
+
pending.reject?.(error);
|
|
429
|
+
}
|
|
430
|
+
this.#pending.clear();
|
|
431
|
+
for (const channel of this.#channels) {
|
|
432
|
+
channel.onFailure(error);
|
|
433
|
+
channel.closed = true;
|
|
434
|
+
}
|
|
435
|
+
this.#channels.clear();
|
|
436
|
+
this.#threads.clear();
|
|
437
|
+
this.#usedThreads.clear();
|
|
438
|
+
this.#serverRequests.clear();
|
|
439
|
+
this.#early.clear();
|
|
440
|
+
this.#earlyBytes = 0;
|
|
441
|
+
this.#earlyItems = 0;
|
|
442
|
+
if (!this.#closing) {
|
|
443
|
+
this.#state = "recovering";
|
|
444
|
+
// The supervisor observes idle failures as well; no business invocation is needed to restart.
|
|
445
|
+
queueMicrotask(() => {
|
|
446
|
+
void this.#supervise(true).catch(() => { });
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
#supervise(recovery) {
|
|
451
|
+
if (this.#supervision)
|
|
452
|
+
return this.#supervision;
|
|
453
|
+
if (this.#closing)
|
|
454
|
+
return Promise.reject(codexTransportError("CODEX_SERVICE_CLOSED"));
|
|
455
|
+
if (this.#state === "degraded" || this.#state === "cleanup_incomplete")
|
|
456
|
+
return Promise.reject(this.#failure ?? codexTransportError("CODEX_SERVICE_DEGRADED"));
|
|
457
|
+
this.#supervision = (async () => {
|
|
458
|
+
if (!this.#episodeStart)
|
|
459
|
+
this.#episodeStart = performance.now();
|
|
460
|
+
let replace = recovery || this.#generation > 0;
|
|
461
|
+
while (!this.#closing) {
|
|
462
|
+
if (this.#current) {
|
|
463
|
+
try {
|
|
464
|
+
await this.#current.cleanup();
|
|
465
|
+
}
|
|
466
|
+
catch (error) {
|
|
467
|
+
this.#state = "cleanup_incomplete";
|
|
468
|
+
this.#failure = asError(error);
|
|
469
|
+
throw error;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
if (replace) {
|
|
473
|
+
if (++this.#replacements > 5 || performance.now() - this.#episodeStart >= 90_000)
|
|
474
|
+
break;
|
|
475
|
+
this.#state = "recovering";
|
|
476
|
+
try {
|
|
477
|
+
await delay(250 * 2 ** (this.#replacements - 1) * (1 + Math.random() * 0.25), undefined, { signal: this.#stop.signal });
|
|
478
|
+
}
|
|
479
|
+
catch {
|
|
480
|
+
break;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
if (this.#closing)
|
|
484
|
+
break;
|
|
485
|
+
this.#state = replace ? "recovering" : "starting";
|
|
486
|
+
try {
|
|
487
|
+
await this.#start(Math.min(30_000, 90_000 - (performance.now() - this.#episodeStart)));
|
|
488
|
+
if (this.#closing)
|
|
489
|
+
break;
|
|
490
|
+
this.#state = "ready";
|
|
491
|
+
this.#stableTimer = setTimeout(() => {
|
|
492
|
+
this.#replacements = 0;
|
|
493
|
+
this.#episodeStart = 0;
|
|
494
|
+
}, 60_000);
|
|
495
|
+
this.#stableTimer.unref();
|
|
496
|
+
return;
|
|
497
|
+
}
|
|
498
|
+
catch (error) {
|
|
499
|
+
this.#failure = asError(error);
|
|
500
|
+
if (["ENOENT", "ENOTDIR", "EACCES", "EPERM"].includes(String(error.code)))
|
|
501
|
+
break;
|
|
502
|
+
replace = true;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
if (!this.#closing)
|
|
506
|
+
this.#state = "degraded";
|
|
507
|
+
throw this.#failure ?? codexTransportError("CODEX_SERVICE_CLOSED");
|
|
508
|
+
})().finally(() => {
|
|
509
|
+
this.#supervision = undefined;
|
|
510
|
+
if (!this.#closing && this.#state === "recovering")
|
|
511
|
+
queueMicrotask(() => {
|
|
512
|
+
void this.#supervise(true).catch(() => { });
|
|
513
|
+
});
|
|
514
|
+
});
|
|
515
|
+
return this.#supervision;
|
|
516
|
+
}
|
|
517
|
+
async #start(timeoutMs) {
|
|
518
|
+
if (timeoutMs <= 0)
|
|
519
|
+
throw codexTransportError("CODEX_SERVICE_RECOVERY_EXHAUSTED");
|
|
520
|
+
const child = this.spawnFn(this.spec.command, this.spec.args, {
|
|
521
|
+
cwd: this.spec.cwd,
|
|
522
|
+
env: this.spec.env
|
|
523
|
+
});
|
|
524
|
+
// 同预算调用才共享解析边界;仅活动 canonical 图片调用允许有界输入回显。
|
|
525
|
+
const removeGuard = watchLineLimit(child.stdout, () => [...this.#channels].some((channel) => !channel.closed && channel.allowInputEcho)
|
|
526
|
+
? Math.max(this.rawMessageMaxBytes, INVOKE_REQUEST_MAX_BYTES)
|
|
527
|
+
: this.rawMessageMaxBytes, (error) => this.#fault(current, error));
|
|
528
|
+
const current = {
|
|
529
|
+
number: ++this.#generation,
|
|
530
|
+
child,
|
|
531
|
+
writer: new CodexStdinWriter(child.stdin, (error) => this.#fault(current, error), {
|
|
532
|
+
maxItems: 128,
|
|
533
|
+
maxBytes: 32 * 1024 * 1024
|
|
534
|
+
}),
|
|
535
|
+
reader: createInterface({ input: child.stdout }),
|
|
536
|
+
removeGuard,
|
|
537
|
+
cleanup: createProcessCleanup(child, {
|
|
538
|
+
processGroup: groups.has(child),
|
|
539
|
+
processTree: ownedChildren.has(child)
|
|
540
|
+
}),
|
|
541
|
+
failed: false,
|
|
542
|
+
exited: false,
|
|
543
|
+
stderr: ""
|
|
544
|
+
};
|
|
545
|
+
this.#current = current;
|
|
546
|
+
current.reader.on("line", (line) => {
|
|
547
|
+
try {
|
|
548
|
+
this.#handle(current, record(JSON.parse(line)));
|
|
549
|
+
}
|
|
550
|
+
catch (error) {
|
|
551
|
+
this.#fault(current, asError(error));
|
|
552
|
+
}
|
|
553
|
+
});
|
|
554
|
+
child.stderr.on("data", (data) => {
|
|
555
|
+
current.stderr = (current.stderr + data.toString()).slice(-64 * 1024);
|
|
556
|
+
});
|
|
557
|
+
for (const source of [child, child.stdin, child.stdout, child.stderr, current.reader])
|
|
558
|
+
source.on("error", (error) => this.#fault(current, error));
|
|
559
|
+
// EOF can occur with a live child; it is independently a transport failure and requires owned cleanup.
|
|
560
|
+
child.stdout.once("end", () => this.#fault(current, codexTransportError("CODEX_TRANSPORT_FAILED")));
|
|
561
|
+
child.once("close", () => {
|
|
562
|
+
current.exited = true;
|
|
563
|
+
this.#fault(current, codexTransportError("CODEX_TRANSPORT_FAILED"));
|
|
564
|
+
});
|
|
565
|
+
try {
|
|
566
|
+
await this.#rpc("initialize", {
|
|
567
|
+
clientInfo: { name: "@mininglamp-oss/octo-runtime-adapter-codex", version: "0.1.0" },
|
|
568
|
+
capabilities: {
|
|
569
|
+
experimentalApi: true,
|
|
570
|
+
requestAttestation: false,
|
|
571
|
+
optOutNotificationMethods: [
|
|
572
|
+
"mcpServer/startupStatus/updated",
|
|
573
|
+
"remoteControl/status/changed"
|
|
574
|
+
]
|
|
575
|
+
}
|
|
576
|
+
}, timeoutMs);
|
|
577
|
+
if (current.failed || this.#closing)
|
|
578
|
+
throw codexTransportError("CODEX_SERVICE_CLOSED");
|
|
579
|
+
await new Promise((resolve, reject) => current.writer.write({ method: "initialized" }, reject, resolve));
|
|
580
|
+
}
|
|
581
|
+
catch (error) {
|
|
582
|
+
this.#fault(current, asError(error));
|
|
583
|
+
throw error;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
beginShutdown() {
|
|
587
|
+
if (this.#closing)
|
|
588
|
+
return;
|
|
589
|
+
this.#closing = true;
|
|
590
|
+
this.#state = "closing";
|
|
591
|
+
this.#stop.abort();
|
|
592
|
+
clearTimeout(this.#stableTimer);
|
|
593
|
+
if (this.#current)
|
|
594
|
+
this.#fault(this.#current, codexTransportError("CODEX_SERVICE_CLOSED"));
|
|
595
|
+
}
|
|
596
|
+
close() {
|
|
597
|
+
return (this.#close ??= (async () => {
|
|
598
|
+
this.beginShutdown();
|
|
599
|
+
const failures = [];
|
|
600
|
+
try {
|
|
601
|
+
await this.#current?.cleanup();
|
|
602
|
+
await this.#supervision?.catch(() => { });
|
|
603
|
+
await this.#current?.cleanup();
|
|
604
|
+
}
|
|
605
|
+
catch (error) {
|
|
606
|
+
failures.push(error);
|
|
607
|
+
}
|
|
608
|
+
try {
|
|
609
|
+
await this.spec.cleanup?.();
|
|
610
|
+
}
|
|
611
|
+
catch (error) {
|
|
612
|
+
failures.push(error);
|
|
613
|
+
}
|
|
614
|
+
this.#state = failures.length ? "cleanup_incomplete" : "closed";
|
|
615
|
+
if (failures.length === 1)
|
|
616
|
+
throw failures[0];
|
|
617
|
+
if (failures.length > 1)
|
|
618
|
+
throw new AggregateError(failures, "CODEX_SERVICE_CLEANUP_FAILED");
|
|
619
|
+
})());
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
const groups = new WeakSet();
|
|
623
|
+
const ownedChildren = new WeakSet();
|
|
624
|
+
function ownedSpawn(command, args, options) {
|
|
625
|
+
const launch = resolveProcessLaunch(command, args, options);
|
|
626
|
+
const child = spawn(launch.command, [...launch.args], {
|
|
627
|
+
...options,
|
|
628
|
+
stdio: "pipe",
|
|
629
|
+
detached: process.platform !== "win32",
|
|
630
|
+
windowsHide: true
|
|
631
|
+
});
|
|
632
|
+
ownedChildren.add(child);
|
|
633
|
+
if (process.platform !== "win32")
|
|
634
|
+
groups.add(child);
|
|
635
|
+
return child;
|
|
636
|
+
}
|
|
637
|
+
function record(value) {
|
|
638
|
+
return value !== null && typeof value === "object" && !Array.isArray(value)
|
|
639
|
+
? value
|
|
640
|
+
: {};
|
|
641
|
+
}
|
|
642
|
+
function rpcId(value) {
|
|
643
|
+
return typeof value === "string" || typeof value === "number" ? value : undefined;
|
|
644
|
+
}
|
|
645
|
+
function asError(value) {
|
|
646
|
+
return value instanceof Error ? value : new Error(String(value));
|
|
647
|
+
}
|
|
648
|
+
function text(value) {
|
|
649
|
+
return typeof value === "string" ? value : "";
|
|
650
|
+
}
|
|
@@ -22,9 +22,12 @@ export declare class CodexStdinWriter {
|
|
|
22
22
|
write(message: Record<string, unknown>, onError: (error: Error) => void, onWritten?: () => void, options?: {
|
|
23
23
|
control?: boolean;
|
|
24
24
|
timeoutMs?: number;
|
|
25
|
+
owner?: object;
|
|
25
26
|
}): () => void;
|
|
26
27
|
/** 终态先撤销未送达决定,再 best-effort 中断;不能等 drain 才处理取消。 */
|
|
27
28
|
cancelPending(error: Error): void;
|
|
29
|
+
/** 共享服务只撤销原调用的未写入条目;已写出的字节不重放,也不关闭其他 owner 的准入。 */
|
|
30
|
+
cancelOwner(owner: object, error: Error): void;
|
|
28
31
|
/** 所有者关闭时只结算资源;不额外制造新的执行失败。 */
|
|
29
32
|
stop(error: Error): void;
|
|
30
33
|
}
|
|
@@ -76,6 +76,7 @@ export class CodexStdinWriter {
|
|
|
76
76
|
if (!this.#active && !this.#normal.length && !this.#control.length)
|
|
77
77
|
this.#lastProgress = performance.now();
|
|
78
78
|
const entry = {
|
|
79
|
+
owner: options.owner,
|
|
79
80
|
line,
|
|
80
81
|
bytes,
|
|
81
82
|
control,
|
|
@@ -111,6 +112,20 @@ export class CodexStdinWriter {
|
|
|
111
112
|
this.#reject(entry, error);
|
|
112
113
|
this.#arm();
|
|
113
114
|
}
|
|
115
|
+
/** 共享服务只撤销原调用的未写入条目;已写出的字节不重放,也不关闭其他 owner 的准入。 */
|
|
116
|
+
cancelOwner(owner, error) {
|
|
117
|
+
for (const queue of [this.#normal, this.#control]) {
|
|
118
|
+
for (let i = queue.length - 1; i >= 0; i--) {
|
|
119
|
+
if (queue[i].owner !== owner)
|
|
120
|
+
continue;
|
|
121
|
+
const [entry] = queue.splice(i, 1);
|
|
122
|
+
this.#reject(entry, error);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
if (this.#active?.owner === owner)
|
|
126
|
+
this.#reject(this.#active, error);
|
|
127
|
+
this.#arm();
|
|
128
|
+
}
|
|
114
129
|
/** 所有者关闭时只结算资源;不额外制造新的执行失败。 */
|
|
115
130
|
stop(error) {
|
|
116
131
|
if (this.#failure)
|