@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
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { ImModuleDependencies } from "../ports.js";
|
|
2
|
-
import type { ImInvocationInput } from "./dispatcher.js";
|
|
3
|
-
import { type FailureEnvelope, type CanonicalEvent, type InvokeEnvironment } from "@mininglamp-oss/octo-runtime-protocol";
|
|
4
|
-
import type { ImBotConfig, ImTaskAttempt } from "../contracts.js";
|
|
5
|
-
import { ImModelWait } from "./model-wait.js";
|
|
6
|
-
export declare const DEFAULT_CODEX_RETRY: Readonly<{
|
|
7
|
-
enabled: true;
|
|
8
|
-
max_consecutive_retries: 5;
|
|
9
|
-
max_total_retries: 20;
|
|
10
|
-
recovery_timeout_ms: 120000;
|
|
11
|
-
initial_delay_ms: 2000;
|
|
12
|
-
max_delay_ms: 30000;
|
|
13
|
-
}>;
|
|
14
|
-
export interface ImTaskClock {
|
|
15
|
-
now(): number;
|
|
16
|
-
schedule(callback: () => void, ms: number): () => void;
|
|
17
|
-
wait(ms: number, signal: AbortSignal): Promise<void>;
|
|
18
|
-
random(): number;
|
|
19
|
-
}
|
|
20
|
-
/** 预算内最多 101 次尝试;只保留身份和终态,不在此缓存模型历史。 */
|
|
21
|
-
export declare class ImTask {
|
|
22
|
-
#private;
|
|
23
|
-
readonly kernel: ImModuleDependencies["kernel"];
|
|
24
|
-
readonly request: ImInvocationInput;
|
|
25
|
-
readonly adapterType: string;
|
|
26
|
-
readonly environment: InvokeEnvironment;
|
|
27
|
-
readonly onAttempt: (request: ImInvocationInput) => void;
|
|
28
|
-
readonly time: ImTaskClock;
|
|
29
|
-
readonly onModelWaitChanged: () => void;
|
|
30
|
-
readonly attempts: ImTaskAttempt[];
|
|
31
|
-
readonly modelWait: ImModelWait;
|
|
32
|
-
/** 与 Channel 展示、诊断共用的本次未提交事实;不注入执行源事件。 */
|
|
33
|
-
notSubmittedFailure?: FailureEnvelope;
|
|
34
|
-
stopReason?: string;
|
|
35
|
-
constructor(kernel: ImModuleDependencies["kernel"], request: ImInvocationInput, adapterType: string, config: ImBotConfig, environment: InvokeEnvironment, onAttempt: (request: ImInvocationInput) => void, time?: ImTaskClock, onModelWaitChanged?: () => void);
|
|
36
|
-
/** reset 只阻止后续尝试,不把 reset 变成取消当前 Provider 执行。 */
|
|
37
|
-
stopRetries(): void;
|
|
38
|
-
/** owner stop 只取消执行和后续尝试;当前订阅须继续消费真实终态。 */
|
|
39
|
-
drain(reason?: string): Promise<void>;
|
|
40
|
-
cancel(reason?: string): Promise<boolean>;
|
|
41
|
-
/** 展示故障只请求停止执行及重试,保留观察 signal;返回取消受理结果,不代表执行终态。 */
|
|
42
|
-
cancelExecution(reason: string): Promise<boolean>;
|
|
43
|
-
events(): AsyncGenerator<CanonicalEvent>;
|
|
44
|
-
}
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js
DELETED
|
@@ -1,392 +0,0 @@
|
|
|
1
|
-
/** IM 业务恢复编排。Host 每次仍只执行一个 invoke,不承担重放决策。 */
|
|
2
|
-
import { randomUUID } from "node:crypto";
|
|
3
|
-
import { performance } from "node:perf_hooks";
|
|
4
|
-
import { setTimeout as delay } from "node:timers/promises";
|
|
5
|
-
import { KernelError, isInvocationNotSubmitted } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
6
|
-
import { failurePayload } from "@mininglamp-oss/octo-runtime-protocol";
|
|
7
|
-
import { ImModelWait, MODEL_WAIT_TIMEOUT_MESSAGE } from "./model-wait.js";
|
|
8
|
-
export const DEFAULT_CODEX_RETRY = Object.freeze({
|
|
9
|
-
enabled: true,
|
|
10
|
-
max_consecutive_retries: 5,
|
|
11
|
-
max_total_retries: 20,
|
|
12
|
-
recovery_timeout_ms: 120_000,
|
|
13
|
-
initial_delay_ms: 2_000,
|
|
14
|
-
max_delay_ms: 30_000
|
|
15
|
-
});
|
|
16
|
-
const clock = {
|
|
17
|
-
now: () => performance.now(),
|
|
18
|
-
schedule(callback, ms) {
|
|
19
|
-
const timer = setTimeout(callback, ms);
|
|
20
|
-
timer.unref();
|
|
21
|
-
return () => clearTimeout(timer);
|
|
22
|
-
},
|
|
23
|
-
wait: async (ms, signal) => {
|
|
24
|
-
await delay(ms, undefined, { signal });
|
|
25
|
-
},
|
|
26
|
-
random: Math.random
|
|
27
|
-
};
|
|
28
|
-
/** 预算内最多 101 次尝试;只保留身份和终态,不在此缓存模型历史。 */
|
|
29
|
-
export class ImTask {
|
|
30
|
-
kernel;
|
|
31
|
-
request;
|
|
32
|
-
adapterType;
|
|
33
|
-
environment;
|
|
34
|
-
onAttempt;
|
|
35
|
-
time;
|
|
36
|
-
onModelWaitChanged;
|
|
37
|
-
attempts = [];
|
|
38
|
-
modelWait;
|
|
39
|
-
/** 与 Channel 展示、诊断共用的本次未提交事实;不注入执行源事件。 */
|
|
40
|
-
notSubmittedFailure;
|
|
41
|
-
#policy;
|
|
42
|
-
#abort = new AbortController();
|
|
43
|
-
#retryStop = new AbortController();
|
|
44
|
-
#signal;
|
|
45
|
-
#active;
|
|
46
|
-
#cancelPending;
|
|
47
|
-
#total = 0;
|
|
48
|
-
#consecutive = 0;
|
|
49
|
-
#recoveryStarted;
|
|
50
|
-
#recoveryTimer;
|
|
51
|
-
#replaySafe = true;
|
|
52
|
-
#started = false;
|
|
53
|
-
#draining = false;
|
|
54
|
-
stopReason;
|
|
55
|
-
constructor(kernel, request, adapterType, config, environment, onAttempt, time = clock, onModelWaitChanged = () => { }) {
|
|
56
|
-
this.kernel = kernel;
|
|
57
|
-
this.request = request;
|
|
58
|
-
this.adapterType = adapterType;
|
|
59
|
-
this.environment = environment;
|
|
60
|
-
this.onAttempt = onAttempt;
|
|
61
|
-
this.time = time;
|
|
62
|
-
this.onModelWaitChanged = onModelWaitChanged;
|
|
63
|
-
this.#policy = { ...DEFAULT_CODEX_RETRY, ...config.codex_retry };
|
|
64
|
-
this.#signal = AbortSignal.any([
|
|
65
|
-
this.#abort.signal,
|
|
66
|
-
...(environment.signal ? [environment.signal] : [])
|
|
67
|
-
]);
|
|
68
|
-
this.modelWait = new ImModelWait(time, onModelWaitChanged, () => {
|
|
69
|
-
this.stopReason = "IM_MODEL_SILENCE_TIMEOUT";
|
|
70
|
-
void this.cancelExecution(this.stopReason)
|
|
71
|
-
.then((accepted) => {
|
|
72
|
-
if (!accepted)
|
|
73
|
-
this.modelWait.unconfirmed();
|
|
74
|
-
})
|
|
75
|
-
.catch(() => this.modelWait.unconfirmed());
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
/** reset 只阻止后续尝试,不把 reset 变成取消当前 Provider 执行。 */
|
|
79
|
-
stopRetries() {
|
|
80
|
-
this.#retryStop.abort();
|
|
81
|
-
}
|
|
82
|
-
/** owner stop 只取消执行和后续尝试;当前订阅须继续消费真实终态。 */
|
|
83
|
-
async drain(reason = "IM shutdown") {
|
|
84
|
-
this.modelWait.stop();
|
|
85
|
-
this.onModelWaitChanged();
|
|
86
|
-
this.#draining = true;
|
|
87
|
-
this.stopRetries();
|
|
88
|
-
const active = this.#active;
|
|
89
|
-
if (!active || active.completion === "not_submitted")
|
|
90
|
-
return;
|
|
91
|
-
try {
|
|
92
|
-
this.#cancelPending ??= this.kernel.cancelInvocation(active.invocationId, reason);
|
|
93
|
-
await this.#cancelPending;
|
|
94
|
-
}
|
|
95
|
-
catch (error) {
|
|
96
|
-
// Kernel 可在订阅 ACK 时先确认终态并释放登记,业务迭代器此时仍可能等待交互展示。
|
|
97
|
-
// 登记缺失本身不是完成证据;只接受同次原流确认终态或可信未提交,仍受 owner 共享期限约束。
|
|
98
|
-
if (!isInvocationNotSubmitted(error) &&
|
|
99
|
-
(!(error instanceof KernelError && error.code === "INVOCATION_NOT_TRACKED") ||
|
|
100
|
-
(await active.finished) === "unresolved"))
|
|
101
|
-
throw error;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
async cancel(reason = "IM user stop") {
|
|
105
|
-
// 活动执行保留原流以确认真实终态;尚未执行或退避时仍立即打断本地等待。
|
|
106
|
-
if (!this.#active)
|
|
107
|
-
this.#abort.abort(reason);
|
|
108
|
-
return this.cancelExecution(reason);
|
|
109
|
-
}
|
|
110
|
-
/** 展示故障只请求停止执行及重试,保留观察 signal;返回取消受理结果,不代表执行终态。 */
|
|
111
|
-
async cancelExecution(reason) {
|
|
112
|
-
// 超时自身还需保留取消确认宽限;其他停止来源立即清掉等待通知和全部计时。
|
|
113
|
-
if (reason !== "IM_MODEL_SILENCE_TIMEOUT") {
|
|
114
|
-
this.modelWait.stop();
|
|
115
|
-
this.onModelWaitChanged();
|
|
116
|
-
}
|
|
117
|
-
this.stopRetries();
|
|
118
|
-
if (!this.#active || this.#active.completion === "not_submitted")
|
|
119
|
-
return true;
|
|
120
|
-
const pending = (this.#cancelPending ??= this.kernel.cancelInvocation(this.#active.invocationId, reason));
|
|
121
|
-
try {
|
|
122
|
-
const { accepted } = await pending;
|
|
123
|
-
if (!accepted && this.#cancelPending === pending)
|
|
124
|
-
this.#cancelPending = undefined;
|
|
125
|
-
return accepted;
|
|
126
|
-
}
|
|
127
|
-
catch (error) {
|
|
128
|
-
// 未受理/失败的取消不能永久占住 Stop;并发请求仍复用同一个真实在途调用。
|
|
129
|
-
if (this.#cancelPending === pending)
|
|
130
|
-
this.#cancelPending = undefined;
|
|
131
|
-
if (isInvocationNotSubmitted(error))
|
|
132
|
-
return true;
|
|
133
|
-
throw error;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
#stop(reason) {
|
|
137
|
-
this.stopReason ??= reason;
|
|
138
|
-
this.#abort.abort(reason);
|
|
139
|
-
void this.cancelExecution(reason).catch(() => undefined);
|
|
140
|
-
}
|
|
141
|
-
async #settleCancellation() {
|
|
142
|
-
await this.#cancelPending?.catch(() => undefined);
|
|
143
|
-
}
|
|
144
|
-
#recovering() {
|
|
145
|
-
if (this.#recoveryStarted !== undefined)
|
|
146
|
-
return;
|
|
147
|
-
this.#recoveryStarted = this.time.now();
|
|
148
|
-
this.#recoveryTimer = this.time.schedule(() => this.#stop("IM_RETRY_RECOVERY_TIMEOUT"), this.#policy.recovery_timeout_ms);
|
|
149
|
-
}
|
|
150
|
-
#progress() {
|
|
151
|
-
this.#recoveryTimer?.();
|
|
152
|
-
this.#recoveryTimer = undefined;
|
|
153
|
-
this.#recoveryStarted = undefined;
|
|
154
|
-
this.#consecutive = 0;
|
|
155
|
-
}
|
|
156
|
-
#countRetry() {
|
|
157
|
-
if (this.#consecutive >= this.#policy.max_consecutive_retries ||
|
|
158
|
-
this.#total >= this.#policy.max_total_retries) {
|
|
159
|
-
this.stopReason = "IM_RETRY_LIMIT_EXCEEDED";
|
|
160
|
-
return false;
|
|
161
|
-
}
|
|
162
|
-
this.#consecutive++;
|
|
163
|
-
this.#total++;
|
|
164
|
-
return true;
|
|
165
|
-
}
|
|
166
|
-
#observe(event) {
|
|
167
|
-
this.modelWait.accept(event);
|
|
168
|
-
// 工具和交互可能产生外部副作用;首次出现后不再自动重放本轮。
|
|
169
|
-
if (event.type.startsWith("tool_call.") || event.type === "interaction.requested")
|
|
170
|
-
this.#replaySafe = false;
|
|
171
|
-
if (this.adapterType !== "codex" || !this.#policy.enabled)
|
|
172
|
-
return;
|
|
173
|
-
if (event.type === "run.notice" && event.payload.code === "retry_scheduled") {
|
|
174
|
-
this.#recovering();
|
|
175
|
-
if (!this.#countRetry())
|
|
176
|
-
this.#stop(this.stopReason);
|
|
177
|
-
}
|
|
178
|
-
else if ((event.type === "message.delta" && !!event.payload.text) ||
|
|
179
|
-
(event.type === "tool_call.update" && event.payload.status === "completed")) {
|
|
180
|
-
this.#progress();
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
#retryDelay(event) {
|
|
184
|
-
if (this.adapterType !== "codex" ||
|
|
185
|
-
!this.#policy.enabled ||
|
|
186
|
-
!this.#replaySafe ||
|
|
187
|
-
this.#retryStop.signal.aborted ||
|
|
188
|
-
this.#signal.aborted ||
|
|
189
|
-
event.type !== "run.failed")
|
|
190
|
-
return;
|
|
191
|
-
const failure = event.payload.failure;
|
|
192
|
-
// 只消费统一错误证据;retryable 本身不是自动重放授权。
|
|
193
|
-
if (!failure?.retryable ||
|
|
194
|
-
failure.source.adapter !== "codex" ||
|
|
195
|
-
!["OH-PRV-4005", "OH-PRV-4006"].includes(failure.code))
|
|
196
|
-
return;
|
|
197
|
-
this.#recovering();
|
|
198
|
-
if (!this.#countRetry())
|
|
199
|
-
return;
|
|
200
|
-
const backoff = Math.min(this.#policy.max_delay_ms, this.#policy.initial_delay_ms * 2 ** Math.min(this.#consecutive - 1, 16));
|
|
201
|
-
return Math.max(failure.retryAfterMs ?? 0, Math.min(this.#policy.max_delay_ms, Math.ceil(backoff * (1 + this.time.random() * 0.2))));
|
|
202
|
-
}
|
|
203
|
-
async *events() {
|
|
204
|
-
if (this.#started)
|
|
205
|
-
throw new Error("IM_TASK_ALREADY_STARTED");
|
|
206
|
-
this.#started = true;
|
|
207
|
-
const deadline = this.time.now() +
|
|
208
|
-
Number(this.request.contexts.items.find((item) => item.namespace === "octo.execution" && item.name === "limits")?.payload.run_timeout_ms ?? 86_400_000);
|
|
209
|
-
const clearDeadline = this.time.schedule(() => this.#stop("IM_TASK_DEADLINE"), deadline - this.time.now());
|
|
210
|
-
const stopWaiting = () => {
|
|
211
|
-
this.modelWait.stop();
|
|
212
|
-
this.onModelWaitChanged();
|
|
213
|
-
};
|
|
214
|
-
this.#signal.addEventListener("abort", stopWaiting, { once: true });
|
|
215
|
-
let request = this.request;
|
|
216
|
-
try {
|
|
217
|
-
while (!this.#signal.aborted && !this.#draining) {
|
|
218
|
-
const remaining = Math.ceil(deadline - this.time.now());
|
|
219
|
-
if (remaining < 100) {
|
|
220
|
-
this.#stop("IM_TASK_DEADLINE");
|
|
221
|
-
break;
|
|
222
|
-
}
|
|
223
|
-
// 重试复用同一轮 Context,只更新剩余执行预算;复制后修改,保留原始快照供幂等记录使用。
|
|
224
|
-
request = { ...request, contexts: structuredClone(request.contexts) };
|
|
225
|
-
for (const item of request.contexts.items)
|
|
226
|
-
if (item.namespace === "octo.execution" && item.name === "limits")
|
|
227
|
-
item.payload.run_timeout_ms = remaining;
|
|
228
|
-
this.onAttempt(request);
|
|
229
|
-
let finish;
|
|
230
|
-
const active = {
|
|
231
|
-
invocationId: request.invocationId,
|
|
232
|
-
finished: new Promise((resolve) => {
|
|
233
|
-
finish = resolve;
|
|
234
|
-
})
|
|
235
|
-
};
|
|
236
|
-
this.#active = active;
|
|
237
|
-
this.modelWait.start();
|
|
238
|
-
this.#cancelPending = undefined;
|
|
239
|
-
const attempt = {
|
|
240
|
-
runId: request.runId,
|
|
241
|
-
invocationId: request.invocationId,
|
|
242
|
-
outcome: "running"
|
|
243
|
-
};
|
|
244
|
-
this.attempts.push(attempt);
|
|
245
|
-
let terminal;
|
|
246
|
-
let completion = "unresolved";
|
|
247
|
-
const ignoredAsyncQuestions = new Set();
|
|
248
|
-
try {
|
|
249
|
-
for await (const event of this.kernel.invoke(request, {
|
|
250
|
-
...this.environment,
|
|
251
|
-
signal: this.#signal
|
|
252
|
-
})) {
|
|
253
|
-
if (terminal)
|
|
254
|
-
throw new Error("IM_FRAME_AFTER_TERMINAL");
|
|
255
|
-
// Gateway 尚不接入异步表单;成对忽略交互事件,避免暂停等待钟或改变卡片状态。
|
|
256
|
-
// 消息正文仍正常投影,原流继续消费;已出现交互的尝试仍禁止自动重放。
|
|
257
|
-
if (event.type === "interaction.requested" && event.payload.delivery === "async") {
|
|
258
|
-
this.#replaySafe = false;
|
|
259
|
-
if (ignoredAsyncQuestions.size >= 64 &&
|
|
260
|
-
!ignoredAsyncQuestions.has(event.payload.interactionId))
|
|
261
|
-
throw new Error("IM_INTERACTION_CAPACITY_EXHAUSTED");
|
|
262
|
-
ignoredAsyncQuestions.add(event.payload.interactionId);
|
|
263
|
-
continue;
|
|
264
|
-
}
|
|
265
|
-
if (event.type === "interaction.resolved" &&
|
|
266
|
-
ignoredAsyncQuestions.delete(event.payload.interactionId))
|
|
267
|
-
continue;
|
|
268
|
-
this.#observe(event);
|
|
269
|
-
if (event.type === "session.update")
|
|
270
|
-
request = {
|
|
271
|
-
...request,
|
|
272
|
-
providerSession: structuredClone(event.payload.providerSession)
|
|
273
|
-
};
|
|
274
|
-
if (["run.completed", "run.failed", "run.cancelled"].includes(event.type))
|
|
275
|
-
terminal = event;
|
|
276
|
-
else
|
|
277
|
-
yield event;
|
|
278
|
-
}
|
|
279
|
-
// 看到终态后仍须正常耗尽:终态后的传输/控制错误不能被 drain 当成成功。
|
|
280
|
-
if (!terminal)
|
|
281
|
-
throw new Error("IM_RUN_WITHOUT_TERMINAL");
|
|
282
|
-
completion = "terminal_confirmed";
|
|
283
|
-
this.modelWait.confirmTermination();
|
|
284
|
-
}
|
|
285
|
-
catch (error) {
|
|
286
|
-
if (isInvocationNotSubmitted(error)) {
|
|
287
|
-
completion = "not_submitted";
|
|
288
|
-
active.completion = completion;
|
|
289
|
-
this.stopRetries();
|
|
290
|
-
this.notSubmittedFailure = failurePayload(error, {
|
|
291
|
-
stage: "channel_admission",
|
|
292
|
-
defaultDomain: "runtime",
|
|
293
|
-
invocationNotSubmitted: true,
|
|
294
|
-
source: { component: "octo-runtime", adapter: this.adapterType },
|
|
295
|
-
runId: request.runId
|
|
296
|
-
}).failure;
|
|
297
|
-
attempt.outcome = "not_submitted";
|
|
298
|
-
attempt.failureCode = this.notSubmittedFailure.code;
|
|
299
|
-
attempt.diagnosticId = this.notSubmittedFailure.diagnosticId;
|
|
300
|
-
}
|
|
301
|
-
else
|
|
302
|
-
attempt.outcome = "unknown";
|
|
303
|
-
throw error;
|
|
304
|
-
}
|
|
305
|
-
finally {
|
|
306
|
-
this.modelWait.stop();
|
|
307
|
-
// 必须等待消费结束及取消回执;未知结果不会进入下一次 invoke。
|
|
308
|
-
await this.#settleCancellation();
|
|
309
|
-
this.#active = undefined;
|
|
310
|
-
// #cancelPending 只保存原始取消回执,不能反过来等待 finished,否则这里会循环等待。
|
|
311
|
-
finish(completion);
|
|
312
|
-
}
|
|
313
|
-
if (!terminal)
|
|
314
|
-
throw new Error("IM_RUN_WITHOUT_TERMINAL");
|
|
315
|
-
attempt.outcome = terminal.type;
|
|
316
|
-
if (terminal.type === "run.failed") {
|
|
317
|
-
attempt.failureCode = terminal.payload.failure?.code;
|
|
318
|
-
attempt.diagnosticId = terminal.payload.failure?.diagnosticId;
|
|
319
|
-
}
|
|
320
|
-
if (this.#signal.aborted) {
|
|
321
|
-
yield terminal.type === "run.completed" ? terminal : this.#stoppedEvent();
|
|
322
|
-
return;
|
|
323
|
-
}
|
|
324
|
-
const waitMs = this.#retryDelay(terminal);
|
|
325
|
-
if (waitMs === undefined) {
|
|
326
|
-
yield terminal;
|
|
327
|
-
return;
|
|
328
|
-
}
|
|
329
|
-
const recoveryLeft = this.#policy.recovery_timeout_ms - (this.time.now() - this.#recoveryStarted);
|
|
330
|
-
if (waitMs >= Math.min(deadline - this.time.now(), recoveryLeft)) {
|
|
331
|
-
this.stopReason = "IM_RETRY_WAIT_EXCEEDS_BUDGET";
|
|
332
|
-
yield terminal;
|
|
333
|
-
return;
|
|
334
|
-
}
|
|
335
|
-
yield {
|
|
336
|
-
protocolVersion: 2,
|
|
337
|
-
type: "run.notice",
|
|
338
|
-
payload: {
|
|
339
|
-
noticeId: `im:retry:${this.#total}`,
|
|
340
|
-
code: "retry_scheduled",
|
|
341
|
-
severity: "warning",
|
|
342
|
-
params: { attempt: this.attempts.length + 1 }
|
|
343
|
-
}
|
|
344
|
-
};
|
|
345
|
-
try {
|
|
346
|
-
await this.time.wait(waitMs, AbortSignal.any([this.#signal, this.#retryStop.signal]));
|
|
347
|
-
}
|
|
348
|
-
catch {
|
|
349
|
-
yield this.#signal.aborted ? this.#stoppedEvent() : terminal;
|
|
350
|
-
return;
|
|
351
|
-
}
|
|
352
|
-
if (this.#retryStop.signal.aborted) {
|
|
353
|
-
yield terminal;
|
|
354
|
-
return;
|
|
355
|
-
}
|
|
356
|
-
request = {
|
|
357
|
-
...request,
|
|
358
|
-
runId: `run_${randomUUID()}`,
|
|
359
|
-
invocationId: `invoke_${randomUUID()}`,
|
|
360
|
-
runMetadata: {
|
|
361
|
-
...request.runMetadata,
|
|
362
|
-
taskRunId: this.request.runId,
|
|
363
|
-
attempt: this.attempts.length + 1
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
yield this.#stoppedEvent();
|
|
368
|
-
}
|
|
369
|
-
finally {
|
|
370
|
-
this.#signal.removeEventListener("abort", stopWaiting);
|
|
371
|
-
this.modelWait.stop();
|
|
372
|
-
clearDeadline();
|
|
373
|
-
this.#recoveryTimer?.();
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
#stoppedEvent() {
|
|
377
|
-
return this.stopReason
|
|
378
|
-
? {
|
|
379
|
-
protocolVersion: 2,
|
|
380
|
-
type: "run.failed",
|
|
381
|
-
payload: {
|
|
382
|
-
code: this.stopReason,
|
|
383
|
-
message: this.stopReason === "IM_TASK_DEADLINE"
|
|
384
|
-
? "本轮任务已达到总运行时限。"
|
|
385
|
-
: this.stopReason === "IM_MODEL_SILENCE_TIMEOUT"
|
|
386
|
-
? MODEL_WAIT_TIMEOUT_MESSAGE
|
|
387
|
-
: "模型服务连续故障,已达到自动恢复预算。"
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
: { protocolVersion: 2, type: "run.cancelled", payload: { reason: "IM user stop" } };
|
|
391
|
-
}
|
|
392
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { trimTrailingSlashes } from "../transport/api/url.js";
|
|
2
|
-
/** 当前连接拥有工具身份;规范 token 与兼容别名同时覆盖默认环境,不读取消息中的凭据。 */
|
|
3
|
-
export function octoCliEnvironment(apiUrl, token) {
|
|
4
|
-
if (!/^bf_[A-Za-z0-9_-]+$/.test(token))
|
|
5
|
-
throw new Error("IM_BOT_TOKEN_INVALID");
|
|
6
|
-
let url;
|
|
7
|
-
try {
|
|
8
|
-
url = new URL(apiUrl);
|
|
9
|
-
}
|
|
10
|
-
catch {
|
|
11
|
-
throw new Error("IM_API_URL_INVALID");
|
|
12
|
-
}
|
|
13
|
-
if (!["http:", "https:"].includes(url.protocol) ||
|
|
14
|
-
url.username ||
|
|
15
|
-
url.password ||
|
|
16
|
-
url.search ||
|
|
17
|
-
url.hash)
|
|
18
|
-
throw new Error("IM_API_URL_INVALID");
|
|
19
|
-
url.pathname = trimTrailingSlashes(url.pathname).replace(/\/api$/, "");
|
|
20
|
-
return {
|
|
21
|
-
env_variables: [
|
|
22
|
-
{ key: "OCTO_BOT_TOKEN", value: token },
|
|
23
|
-
{ key: "OCTO_API_BASE_URL", value: trimTrailingSlashes(url.href) },
|
|
24
|
-
{ key: "OCTO_TOKEN", value: token }
|
|
25
|
-
]
|
|
26
|
-
};
|
|
27
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type ExtraInitializer, type ExtraContext, type JsonObject } from "@mininglamp-oss/octo-runtime-host-sdk";
|
|
2
|
-
import type { GatewayDependencies } from "./ports.js";
|
|
3
|
-
export declare const name = "channel-gateway";
|
|
4
|
-
export default function load(context: ExtraContext, config: JsonObject): ExtraInitializer<GatewayDependencies>;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { createContextLoader } from "@mininglamp-oss/octo-runtime-host-sdk";
|
|
2
|
-
import { ImChannelManager } from "./lifecycle/manager.js";
|
|
3
|
-
import { validateImBots, configuredCredential, imBotIdentity, IM_MAX_BOTS } from "./lifecycle/configuration.js";
|
|
4
|
-
export const name = "channel-gateway";
|
|
5
|
-
export default function load(context, config) {
|
|
6
|
-
// JSON 连接配置与宿主函数分别装配;插件保留 manager,不向宿主开放逐 Bot 控制。
|
|
7
|
-
return (dependencies) => initialize(context, config, dependencies);
|
|
8
|
-
}
|
|
9
|
-
async function initialize(context, config, dependencies) {
|
|
10
|
-
// 回调池归整个 Extra 所有,所有 Bot 共用额度;逆序清理时先停 manager,再等待业务 IO 退出。
|
|
11
|
-
const contexts = createContextLoader(dependencies.loadContexts, config.context_loading, context.signal);
|
|
12
|
-
context.onDispose(() => contexts.close());
|
|
13
|
-
const bots = config.bots ?? [];
|
|
14
|
-
const errors = [];
|
|
15
|
-
const invalidBots = [];
|
|
16
|
-
let channels = undefined;
|
|
17
|
-
context.onDispose(() => channels?.close());
|
|
18
|
-
context.onStatus(() => JSON.parse(JSON.stringify({ bots: [...(channels?.status ?? []), ...invalidBots], errors })));
|
|
19
|
-
if (!Array.isArray(bots) || bots.length > IM_MAX_BOTS) {
|
|
20
|
-
errors.push({ error: "IM_CONFIG_LIST_REQUIRED" });
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
const spaces = config.authorized_space_ids;
|
|
24
|
-
if (spaces !== undefined &&
|
|
25
|
-
(!Array.isArray(spaces) || spaces.some((id) => typeof id !== "string" || !id.trim()))) {
|
|
26
|
-
errors.push({ error: "IM_AUTHORIZED_SPACES_INVALID" });
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
const allowed = spaces;
|
|
30
|
-
channels = new ImChannelManager({
|
|
31
|
-
kernel: context.kernel,
|
|
32
|
-
signal: context.signal,
|
|
33
|
-
log: context.log,
|
|
34
|
-
createSessionStore: dependencies.createSessionStore,
|
|
35
|
-
// 只保存调用入口,不预取提示词;宿主更新业务存储后,下一个接纳的逻辑轮重新读取。
|
|
36
|
-
prepareContexts: async (bot, signal) => {
|
|
37
|
-
let ignored = 0;
|
|
38
|
-
const business = await contexts.load(bot, signal, (items) => {
|
|
39
|
-
const selected = items.filter((item) => item.namespace !== "extra.im");
|
|
40
|
-
ignored += items.length - selected.length;
|
|
41
|
-
return selected;
|
|
42
|
-
});
|
|
43
|
-
// 保留命名空间误配只记数量,不输出内容或阻断当前任务。
|
|
44
|
-
if (ignored)
|
|
45
|
-
context.log("warn", "channel.context.reserved_ignored", {
|
|
46
|
-
ignored_items: ignored
|
|
47
|
-
});
|
|
48
|
-
return business;
|
|
49
|
-
},
|
|
50
|
-
credentials: (bot) => Promise.resolve(configuredCredential(bot)),
|
|
51
|
-
...(allowed
|
|
52
|
-
? {
|
|
53
|
-
authorizeSpace: (spaceId) => {
|
|
54
|
-
if (!allowed.includes(spaceId))
|
|
55
|
-
throw new Error("IM_TENANT_NOT_ACTIVE");
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
: {})
|
|
59
|
-
});
|
|
60
|
-
const identities = new Set();
|
|
61
|
-
for (const [index, value] of bots.entries()) {
|
|
62
|
-
context.signal.throwIfAborted();
|
|
63
|
-
try {
|
|
64
|
-
const candidate = [value];
|
|
65
|
-
validateImBots(candidate);
|
|
66
|
-
const bot = candidate[0];
|
|
67
|
-
const key = imBotIdentity(bot);
|
|
68
|
-
if (identities.has(key))
|
|
69
|
-
throw new Error("IM_BOT_DUPLICATED");
|
|
70
|
-
identities.add(key);
|
|
71
|
-
await channels.upsert(bot);
|
|
72
|
-
}
|
|
73
|
-
catch (error) {
|
|
74
|
-
context.signal.throwIfAborted();
|
|
75
|
-
const code = error instanceof Error && /^IM_[A-Z0-9_]+$/.test(error.message)
|
|
76
|
-
? error.message
|
|
77
|
-
: "IM_BOT_CONFIG_ERROR";
|
|
78
|
-
errors.push({ config_index: index, error: code });
|
|
79
|
-
invalidBots.push({
|
|
80
|
-
config_index: index,
|
|
81
|
-
state: "config_error",
|
|
82
|
-
connected: false,
|
|
83
|
-
error: code
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 公共入口:向 SDK/Daemon 暴露接入能力和协议类型。
|
|
3
|
-
* 装配由宿主显式完成;导入本包不会读配置目录、建立连接或启动 AgentRun。
|
|
4
|
-
*/
|
|
5
|
-
export { ImRuntime } from "./application/im-channel.js";
|
|
6
|
-
export { octoCliEnvironment } from "./execution/tool-environment.js";
|
|
7
|
-
export { default, name } from "./extra.js";
|
|
8
|
-
export { ImChannelManager } from "./lifecycle/manager.js";
|
|
9
|
-
export { MemoryImSessionStore } from "./application/session-store.js";
|
|
10
|
-
export type { ImSessionStore, ImSessionBinding, ImSessionOccurrence } from "./application/session-store.js";
|
|
11
|
-
export type { ImGapMetadata, ImGapTurnToken } from "./application/context-gap.js";
|
|
12
|
-
export type { ImRulesContext, ImRulesVersions } from "./application/rules-context.js";
|
|
13
|
-
export type { ImInvocationInput } from "./execution/dispatcher.js";
|
|
14
|
-
export { validateImConfig, validateImBots, configuredCredential, imBotIdentity } from "./lifecycle/configuration.js";
|
|
15
|
-
export { build_im_contexts } from "./transport/contexts.js";
|
|
16
|
-
export { registerBot, WukongConnection } from "./transport/wukong.js";
|
|
17
|
-
export type { ImMessage, BotRegistration } from "./transport/wukong.js";
|
|
18
|
-
export type * from "./contracts.js";
|
|
19
|
-
export type * from "./ports.js";
|
|
20
|
-
export * as imApi from "./transport/api/index.js";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 公共入口:向 SDK/Daemon 暴露接入能力和协议类型。
|
|
3
|
-
* 装配由宿主显式完成;导入本包不会读配置目录、建立连接或启动 AgentRun。
|
|
4
|
-
*/
|
|
5
|
-
export { ImRuntime } from "./application/im-channel.js";
|
|
6
|
-
export { octoCliEnvironment } from "./execution/tool-environment.js";
|
|
7
|
-
export { default, name } from "./extra.js";
|
|
8
|
-
export { ImChannelManager } from "./lifecycle/manager.js";
|
|
9
|
-
export { MemoryImSessionStore } from "./application/session-store.js";
|
|
10
|
-
export { validateImConfig, validateImBots, configuredCredential, imBotIdentity } from "./lifecycle/configuration.js";
|
|
11
|
-
export { build_im_contexts } from "./transport/contexts.js";
|
|
12
|
-
export { registerBot, WukongConnection } from "./transport/wukong.js";
|
|
13
|
-
export * as imApi from "./transport/api/index.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ImBotConfig } from "../contracts.js";
|
|
2
|
-
export declare const IM_MAX_BOTS = 64;
|
|
3
|
-
export declare const IM_MAX_CONFIG_OPERATIONS = 64;
|
|
4
|
-
export declare const IM_MAX_CONFIG_BYTES: number;
|
|
5
|
-
export declare function validateImBots(value: unknown): asserts value is ImBotConfig[];
|
|
6
|
-
export declare function configuredCredential(config: ImBotConfig): string | undefined;
|
|
7
|
-
export declare function validateImConfig(config: ImBotConfig): void;
|
|
8
|
-
/** Stable local lookup key, not a caller-supplied identity or authorization token. */
|
|
9
|
-
export declare function imBotIdentity(config: ImBotConfig): string;
|