@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/transport/api/rules.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 规则 API:读取 GROUP.md、话题规则及群级 @ 偏好,保留服务端版本与权限结果。
|
|
3
|
-
* 规则正文是 Context 材料,不在此转为执行指令;触发偏好与正文材料各自处理。
|
|
4
|
-
*/
|
|
5
|
-
// Adapted from Mininglamp-OSS/openclaw-channel-octo/src/api-fetch.ts.
|
|
6
|
-
import { DEFAULT_TIMEOUT_MS } from "./client.js";
|
|
7
|
-
import { OctoApiError } from "./errors.js";
|
|
8
|
-
import { trimTrailingSlashes } from "./url.js";
|
|
9
|
-
// Short timeout for the per-message mention_pref hot-path lookup. On a cache
|
|
10
|
-
// miss this fires on the first message of every group every TTL window; before
|
|
11
|
-
// the backend ships it 404s, and we must not stall the inbound pipeline for the
|
|
12
|
-
// full 30s. A failed/slow lookup just falls back to the account-level config.
|
|
13
|
-
const MENTION_PREF_TIMEOUT_MS = 3_000;
|
|
14
|
-
/**
|
|
15
|
-
* 获取某群对当前 bot 的免@偏好。
|
|
16
|
-
*
|
|
17
|
-
* 失败(网络错误 / 非 2xx / 解析失败)一律回退到账号级行为
|
|
18
|
-
* (effective=false,即保持需@),绝不抛错,避免 gate 崩溃。
|
|
19
|
-
*
|
|
20
|
-
* 兼容旧 server:YUJ-2996 之前的 server 只返回 `{ no_mention }`,没有
|
|
21
|
-
* `effective` / `group_allow_no_mention`。此时 group 轴缺省视为 true(允许),
|
|
22
|
-
* effective 回退为 no_mention,行为与升级前完全一致(零回归)。
|
|
23
|
-
*/
|
|
24
|
-
export async function getMentionPref(params) {
|
|
25
|
-
const url = `${trimTrailingSlashes(params.apiUrl)}/v1/bot/groups/${encodeURIComponent(params.groupNo)}/mention_pref`;
|
|
26
|
-
try {
|
|
27
|
-
const resp = await fetch(url, {
|
|
28
|
-
method: "GET",
|
|
29
|
-
headers: {
|
|
30
|
-
Authorization: `Bearer ${params.botToken}`
|
|
31
|
-
},
|
|
32
|
-
signal: AbortSignal.timeout(MENTION_PREF_TIMEOUT_MS)
|
|
33
|
-
});
|
|
34
|
-
if (!resp.ok) {
|
|
35
|
-
// 404 = the mention_pref endpoint isn't deployed yet (expected during
|
|
36
|
-
// rollout before octo-server#237 ships); 401 = empty/short-lived Bearer.
|
|
37
|
-
// Both are benign — we fall back to effective=false below — and recur on
|
|
38
|
-
// every inbound message, so logging them at error level (compounded by
|
|
39
|
-
// the 30s negative-cache TTL) makes a healthy rollout look broken. Log
|
|
40
|
-
// expected statuses at info and reserve error for genuinely unexpected
|
|
41
|
-
// responses (5xx, etc.).
|
|
42
|
-
const expected = resp.status === 404 || resp.status === 401;
|
|
43
|
-
const msg = `octo: getMentionPref(${params.groupNo}) failed: ${resp.status}`;
|
|
44
|
-
if (expected)
|
|
45
|
-
params.log?.info?.(msg);
|
|
46
|
-
else
|
|
47
|
-
params.log?.error?.(msg);
|
|
48
|
-
return { no_mention: false, group_allow_no_mention: true, effective: false };
|
|
49
|
-
}
|
|
50
|
-
const data = (await resp.json());
|
|
51
|
-
// Accept boolean `true` or numeric `1` (DB/JSON may serialize either),
|
|
52
|
-
// mirroring the mention.{all,ais,humans} coercion in inbound.ts.
|
|
53
|
-
const noMention = data?.no_mention === true || data?.no_mention === 1;
|
|
54
|
-
// Old server omits group_allow_no_mention → default true (allow), so the
|
|
55
|
-
// group axis is a no-op and effective degrades to noMention (zero regression).
|
|
56
|
-
const groupAllow = data?.group_allow_no_mention === undefined
|
|
57
|
-
? true
|
|
58
|
-
: data.group_allow_no_mention === true || data.group_allow_no_mention === 1;
|
|
59
|
-
// Old server omits effective → fall back to the AND of the two axes (which,
|
|
60
|
-
// with groupAllow defaulting true, equals noMention).
|
|
61
|
-
const effective = data?.effective === undefined
|
|
62
|
-
? noMention && groupAllow
|
|
63
|
-
: data.effective === true || data.effective === 1;
|
|
64
|
-
return { no_mention: noMention, group_allow_no_mention: groupAllow, effective };
|
|
65
|
-
}
|
|
66
|
-
catch (err) {
|
|
67
|
-
params.log?.error?.(`octo: getMentionPref(${params.groupNo}) error: ${err instanceof Error ? err.name : "unknown"}`);
|
|
68
|
-
return { no_mention: false, group_allow_no_mention: true, effective: false };
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
// Fetch GROUP.md content for a group
|
|
72
|
-
export async function getGroupMd(params) {
|
|
73
|
-
const url = `${trimTrailingSlashes(params.apiUrl)}/v1/bot/groups/${encodeURIComponent(params.groupNo)}/md`;
|
|
74
|
-
const resp = await fetch(url, {
|
|
75
|
-
method: "GET",
|
|
76
|
-
headers: {
|
|
77
|
-
Authorization: `Bearer ${params.botToken}`
|
|
78
|
-
},
|
|
79
|
-
signal: params.signal
|
|
80
|
-
? AbortSignal.any([params.signal, AbortSignal.timeout(DEFAULT_TIMEOUT_MS)])
|
|
81
|
-
: AbortSignal.timeout(DEFAULT_TIMEOUT_MS)
|
|
82
|
-
});
|
|
83
|
-
if (!resp.ok) {
|
|
84
|
-
const text = await resp.text().catch(() => "");
|
|
85
|
-
throw OctoApiError.from(resp, "getGroupMd", text);
|
|
86
|
-
}
|
|
87
|
-
return (await resp.json());
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Get thread THREAD.md content (throws on non-2xx — used by agent-tools).
|
|
91
|
-
* GET /v1/bot/groups/{groupNo}/threads/{shortId}/md
|
|
92
|
-
*
|
|
93
|
-
* See also: group-md.ts `fetchThreadMdFromApi()` which returns null on error
|
|
94
|
-
* and is used for background cache refresh where failures are non-fatal.
|
|
95
|
-
*/
|
|
96
|
-
export async function getThreadMd(params) {
|
|
97
|
-
const url = `${trimTrailingSlashes(params.apiUrl)}/v1/bot/groups/${encodeURIComponent(params.groupNo)}/threads/${encodeURIComponent(params.shortId)}/md`;
|
|
98
|
-
const resp = await fetch(url, {
|
|
99
|
-
method: "GET",
|
|
100
|
-
headers: { Authorization: `Bearer ${params.botToken}` },
|
|
101
|
-
signal: params.signal
|
|
102
|
-
? AbortSignal.any([params.signal, AbortSignal.timeout(DEFAULT_TIMEOUT_MS)])
|
|
103
|
-
: AbortSignal.timeout(DEFAULT_TIMEOUT_MS)
|
|
104
|
-
});
|
|
105
|
-
if (!resp.ok) {
|
|
106
|
-
const text = await resp.text().catch(() => "");
|
|
107
|
-
throw OctoApiError.from(resp, "getThreadMd", text);
|
|
108
|
-
}
|
|
109
|
-
return (await resp.json());
|
|
110
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Octo 线协议类型:保留平台消息、卡片、事件与媒体字段的原始含义。
|
|
3
|
-
* 与 Provider/AgentRun 协议分离,跨层转换由 connector 完成,避免身份和状态混用。
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* 单个 mention 的精确位置描述。
|
|
7
|
-
* offset/length 的单位为 UTF-16 code units(与 JS string.length 一致)。
|
|
8
|
-
*/
|
|
9
|
-
export interface MentionEntity {
|
|
10
|
-
/** 被 @ 用户的唯一标识符 */
|
|
11
|
-
uid: string;
|
|
12
|
-
/** @name 在 content 中的起始位置(包括 @ 符号) */
|
|
13
|
-
offset: number;
|
|
14
|
-
/** @name 的完整长度(包括 @ 符号) */
|
|
15
|
-
length: number;
|
|
16
|
-
}
|
|
17
|
-
export interface SendMessageResult {
|
|
18
|
-
message_id: string;
|
|
19
|
-
client_msg_no: string;
|
|
20
|
-
message_seq: number;
|
|
21
|
-
}
|
|
22
|
-
/** Channel types */
|
|
23
|
-
export declare enum ChannelType {
|
|
24
|
-
DM = 1,
|
|
25
|
-
Group = 2,
|
|
26
|
-
CommunityTopic = 5
|
|
27
|
-
}
|
|
28
|
-
/** Message content types */
|
|
29
|
-
export declare enum MessageType {
|
|
30
|
-
Text = 1,
|
|
31
|
-
Image = 2,
|
|
32
|
-
GIF = 3,
|
|
33
|
-
Voice = 4,
|
|
34
|
-
Video = 5,
|
|
35
|
-
Location = 6,
|
|
36
|
-
Card = 7,
|
|
37
|
-
File = 8,
|
|
38
|
-
MultipleForward = 11,
|
|
39
|
-
/**
|
|
40
|
-
* 图文混排(rich text)。复用 octo-lib Phase 0 已定的 ContentType=14(见
|
|
41
|
-
* octo-lib common/richtext.go)。正文以有序 `content` block 数组承载,数组
|
|
42
|
-
* 顺序即图文穿插顺序;顶层 `plain` 为冗余纯文本,契约上由 server 权威生成。
|
|
43
|
-
*/
|
|
44
|
-
RichText = 14,
|
|
45
|
-
/**
|
|
46
|
-
* 交互卡片(Adaptive Cards 1.5 子集,"octo/v1" profile)。对应 octo-server
|
|
47
|
-
* PR #525 P1 `card-message-protocol`,ContentType=17。
|
|
48
|
-
*
|
|
49
|
-
* ⚠️ 与 `Card=7`(名片/contact card)语义无关 —— octo-server Decision 1 明确
|
|
50
|
-
* InteractiveCard(17) ≠ common.Card(7),不要把新逻辑接到 7 上。
|
|
51
|
-
*
|
|
52
|
-
* payload 信封:`{ type:17, card:{标准 AC1.5 JSON}, plain:"(server 权威重算)" }`
|
|
53
|
-
* + 顶层 `profile`/`card_version`。adapter 入站仅消费服务端权威 `plain`。
|
|
54
|
-
*/
|
|
55
|
-
InteractiveCard = 17
|
|
56
|
-
}
|
|
57
|
-
/** RichText(=14) 单个 block 类型常量(与 octo-lib RichTextBlockText/Image 对齐)。 */
|
|
58
|
-
export declare const RICH_TEXT_BLOCK_TEXT = "text";
|
|
59
|
-
export declare const RICH_TEXT_BLOCK_IMAGE = "image";
|
|
60
|
-
/**
|
|
61
|
-
* RichText(=14) `content` 数组中的单个 block。
|
|
62
|
-
* - type=text 使用 `text`(纯文本,MVP 不渲染 markdown);
|
|
63
|
-
* - type=image 使用 `url`/`width`/`height`(`size`、`name` 可选)。
|
|
64
|
-
*
|
|
65
|
-
* ⚠️ 命名锁定(见 octo-lib richtext.go):禁止使用 entities + offset/length。
|
|
66
|
-
*/
|
|
67
|
-
export interface RichTextBlock {
|
|
68
|
-
type: string;
|
|
69
|
-
/** text block 文本内容(type=text 必填且非空)。 */
|
|
70
|
-
text?: string;
|
|
71
|
-
/** image block 图片地址(type=image 必填,scheme 仅 http/https)。 */
|
|
72
|
-
url?: string;
|
|
73
|
-
/** image block 宽度(像素,契约必填且 >0,供端上占位排版避免抖动)。 */
|
|
74
|
-
width?: number;
|
|
75
|
-
/** image block 高度(像素,契约必填且 >0)。 */
|
|
76
|
-
height?: number;
|
|
77
|
-
/** image block 字节大小(可选)。 */
|
|
78
|
-
size?: number;
|
|
79
|
-
/** image block 原始文件名(可选)。 */
|
|
80
|
-
name?: string;
|
|
81
|
-
}
|
|
82
|
-
export interface BotEvent {
|
|
83
|
-
event_id: number;
|
|
84
|
-
event_type?: string;
|
|
85
|
-
event_data?: Record<string, unknown>;
|
|
86
|
-
message?: Record<string, unknown>;
|
|
87
|
-
}
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Octo 线协议类型:保留平台消息、卡片、事件与媒体字段的原始含义。
|
|
3
|
-
* 与 Provider/AgentRun 协议分离,跨层转换由 connector 完成,避免身份和状态混用。
|
|
4
|
-
*/
|
|
5
|
-
// Octo wire types copied from openclaw-channel-octo; independent of Provider events.
|
|
6
|
-
/** Channel types */
|
|
7
|
-
export var ChannelType;
|
|
8
|
-
(function (ChannelType) {
|
|
9
|
-
ChannelType[ChannelType["DM"] = 1] = "DM";
|
|
10
|
-
ChannelType[ChannelType["Group"] = 2] = "Group";
|
|
11
|
-
ChannelType[ChannelType["CommunityTopic"] = 5] = "CommunityTopic"; // Thread/子区
|
|
12
|
-
})(ChannelType || (ChannelType = {}));
|
|
13
|
-
/** Message content types */
|
|
14
|
-
export var MessageType;
|
|
15
|
-
(function (MessageType) {
|
|
16
|
-
MessageType[MessageType["Text"] = 1] = "Text";
|
|
17
|
-
MessageType[MessageType["Image"] = 2] = "Image";
|
|
18
|
-
MessageType[MessageType["GIF"] = 3] = "GIF";
|
|
19
|
-
MessageType[MessageType["Voice"] = 4] = "Voice";
|
|
20
|
-
MessageType[MessageType["Video"] = 5] = "Video";
|
|
21
|
-
MessageType[MessageType["Location"] = 6] = "Location";
|
|
22
|
-
MessageType[MessageType["Card"] = 7] = "Card";
|
|
23
|
-
MessageType[MessageType["File"] = 8] = "File";
|
|
24
|
-
MessageType[MessageType["MultipleForward"] = 11] = "MultipleForward";
|
|
25
|
-
/**
|
|
26
|
-
* 图文混排(rich text)。复用 octo-lib Phase 0 已定的 ContentType=14(见
|
|
27
|
-
* octo-lib common/richtext.go)。正文以有序 `content` block 数组承载,数组
|
|
28
|
-
* 顺序即图文穿插顺序;顶层 `plain` 为冗余纯文本,契约上由 server 权威生成。
|
|
29
|
-
*/
|
|
30
|
-
MessageType[MessageType["RichText"] = 14] = "RichText";
|
|
31
|
-
/**
|
|
32
|
-
* 交互卡片(Adaptive Cards 1.5 子集,"octo/v1" profile)。对应 octo-server
|
|
33
|
-
* PR #525 P1 `card-message-protocol`,ContentType=17。
|
|
34
|
-
*
|
|
35
|
-
* ⚠️ 与 `Card=7`(名片/contact card)语义无关 —— octo-server Decision 1 明确
|
|
36
|
-
* InteractiveCard(17) ≠ common.Card(7),不要把新逻辑接到 7 上。
|
|
37
|
-
*
|
|
38
|
-
* payload 信封:`{ type:17, card:{标准 AC1.5 JSON}, plain:"(server 权威重算)" }`
|
|
39
|
-
* + 顶层 `profile`/`card_version`。adapter 入站仅消费服务端权威 `plain`。
|
|
40
|
-
*/
|
|
41
|
-
MessageType[MessageType["InteractiveCard"] = 17] = "InteractiveCard";
|
|
42
|
-
})(MessageType || (MessageType = {}));
|
|
43
|
-
/** RichText(=14) 单个 block 类型常量(与 octo-lib RichTextBlockText/Image 对齐)。 */
|
|
44
|
-
export const RICH_TEXT_BLOCK_TEXT = "text";
|
|
45
|
-
export const RICH_TEXT_BLOCK_IMAGE = "image";
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { connectionFetch, connectionJson, httpConnectionFailure } from "./connection-error.js";
|
|
2
|
-
import { trimTrailingSlashes } from "./api/url.js";
|
|
3
|
-
/** 建联前用调用方提供的 Bot 凭据解析身份与租户;取消由调用方持有,不跟随重定向转发凭据。 */
|
|
4
|
-
export async function verifyBotIdentity(apiUrl, token, signal) {
|
|
5
|
-
const response = await connectionFetch(`${trimTrailingSlashes(apiUrl)}/v1/auth/verify-bot`, {
|
|
6
|
-
method: "POST",
|
|
7
|
-
redirect: "manual",
|
|
8
|
-
signal: AbortSignal.any([signal, AbortSignal.timeout(15_000)]),
|
|
9
|
-
headers: { "Content-Type": "application/json" },
|
|
10
|
-
body: JSON.stringify({ bot_token: token })
|
|
11
|
-
}, "AUTH");
|
|
12
|
-
if (!response.ok) {
|
|
13
|
-
throw await httpConnectionFailure(response, "AUTH");
|
|
14
|
-
}
|
|
15
|
-
const data = (await connectionJson(response, "AUTH", "IM_AUTH_IDENTITY_INVALID"));
|
|
16
|
-
if (!data ||
|
|
17
|
-
typeof data.bot_uid !== "string" ||
|
|
18
|
-
!data.bot_uid ||
|
|
19
|
-
typeof data.space_id !== "string" ||
|
|
20
|
-
!data.space_id)
|
|
21
|
-
throw new Error("IM_AUTH_IDENTITY_INVALID");
|
|
22
|
-
return { bot_uid: data.bot_uid, space_id: data.space_id };
|
|
23
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 按钮报文解析:提取服务端确认的操作者与原卡片地址,供上层校验 Run 归属。
|
|
3
|
-
* 表单 data 只是输入,不能覆盖可信身份;按钮不会被合成为新的普通聊天消息。
|
|
4
|
-
*/
|
|
5
|
-
import { ChannelType, type BotEvent } from "./api/types.js";
|
|
6
|
-
export interface CardAction {
|
|
7
|
-
eventId: number;
|
|
8
|
-
messageId: string;
|
|
9
|
-
channelId: string;
|
|
10
|
-
channelType: ChannelType;
|
|
11
|
-
actionId: string;
|
|
12
|
-
inputs: Record<string, string>;
|
|
13
|
-
operatorUid: string;
|
|
14
|
-
data?: Record<string, unknown>;
|
|
15
|
-
spaceId?: string;
|
|
16
|
-
clientToken?: string;
|
|
17
|
-
actedAt?: number;
|
|
18
|
-
}
|
|
19
|
-
/** Parse the server-authoritative card_action envelope without trusting form input values. */
|
|
20
|
-
export declare function parseCardAction(event: BotEvent): CardAction | null;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 按钮报文解析:提取服务端确认的操作者与原卡片地址,供上层校验 Run 归属。
|
|
3
|
-
* 表单 data 只是输入,不能覆盖可信身份;按钮不会被合成为新的普通聊天消息。
|
|
4
|
-
*/
|
|
5
|
-
// Adapted from openclaw-channel-octo/src/card-action.ts; parsing only, no synthesized message.
|
|
6
|
-
import { ChannelType } from "./api/types.js";
|
|
7
|
-
function stringValue(value) {
|
|
8
|
-
return typeof value === "string" ? value.trim() : "";
|
|
9
|
-
}
|
|
10
|
-
function channelTypeValue(value) {
|
|
11
|
-
const numeric = typeof value === "number" ? value : Number(value);
|
|
12
|
-
if (numeric !== Number(ChannelType.DM) &&
|
|
13
|
-
numeric !== Number(ChannelType.Group) &&
|
|
14
|
-
numeric !== Number(ChannelType.CommunityTopic)) {
|
|
15
|
-
return null;
|
|
16
|
-
}
|
|
17
|
-
return numeric;
|
|
18
|
-
}
|
|
19
|
-
/** Parse the server-authoritative card_action envelope without trusting form input values. */
|
|
20
|
-
export function parseCardAction(event) {
|
|
21
|
-
if (!Number.isSafeInteger(event.event_id) ||
|
|
22
|
-
event.event_id < 0 ||
|
|
23
|
-
event.event_type !== "card_action" ||
|
|
24
|
-
!event.event_data ||
|
|
25
|
-
typeof event.event_data !== "object") {
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
const data = event.event_data;
|
|
29
|
-
const messageId = stringValue(data.message_id);
|
|
30
|
-
const channelId = stringValue(data.channel_id);
|
|
31
|
-
const channelType = channelTypeValue(data.channel_type);
|
|
32
|
-
const actionId = stringValue(data.action_id);
|
|
33
|
-
const operatorUid = stringValue(data.operator_uid);
|
|
34
|
-
if (!messageId || !channelId || channelType === null || !actionId || !operatorUid)
|
|
35
|
-
return null;
|
|
36
|
-
const inputs = {};
|
|
37
|
-
if (data.inputs && typeof data.inputs === "object" && !Array.isArray(data.inputs)) {
|
|
38
|
-
for (const [key, value] of Object.entries(data.inputs)) {
|
|
39
|
-
// The server contract serializes every submitted value as a string, but normalize a raw
|
|
40
|
-
// JSON number/boolean (e.g. an Input.Number / Input.Toggle value) to its string form rather
|
|
41
|
-
// than dropping it: a dropped field still passes validation (missing keys are allowed) and
|
|
42
|
-
// would reach the agent as silently incomplete input. `false` / `0` must normalize too, so
|
|
43
|
-
// this tests the type, not truthiness. Objects / arrays / null / non-finite numbers stay
|
|
44
|
-
// dropped as malformed or unsupported envelope shapes.
|
|
45
|
-
if (typeof value === "string")
|
|
46
|
-
inputs[key] = value;
|
|
47
|
-
else if (typeof value === "boolean")
|
|
48
|
-
inputs[key] = String(value);
|
|
49
|
-
else if (typeof value === "number" && Number.isFinite(value))
|
|
50
|
-
inputs[key] = String(value);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
const action = {
|
|
54
|
-
eventId: event.event_id,
|
|
55
|
-
messageId,
|
|
56
|
-
channelId,
|
|
57
|
-
channelType,
|
|
58
|
-
actionId,
|
|
59
|
-
inputs,
|
|
60
|
-
operatorUid
|
|
61
|
-
};
|
|
62
|
-
if (data.data && typeof data.data === "object" && !Array.isArray(data.data)) {
|
|
63
|
-
action.data = data.data;
|
|
64
|
-
}
|
|
65
|
-
const spaceId = stringValue(data.space_id);
|
|
66
|
-
if (spaceId)
|
|
67
|
-
action.spaceId = spaceId;
|
|
68
|
-
const clientToken = stringValue(data.client_token);
|
|
69
|
-
if (clientToken)
|
|
70
|
-
action.clientToken = clientToken;
|
|
71
|
-
if (typeof data.acted_at === "number" && Number.isFinite(data.acted_at)) {
|
|
72
|
-
action.actedAt = data.acted_at;
|
|
73
|
-
}
|
|
74
|
-
return action;
|
|
75
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 单 Run 卡片会话:首次创建、后续编辑同一消息,并用序号和终态屏障收敛状态。
|
|
3
|
-
* 终态展示被拒绝时有界降级到精简帧;确认投递后 finish 正常返回,仍失败则保留诊断。
|
|
4
|
-
* 最终文本由执行编排独立投递;服务端回执不代表客户端已经渲染。
|
|
5
|
-
*/
|
|
6
|
-
import type { ImAddress } from "../contracts.js";
|
|
7
|
-
import type { OctoConnector } from "./connector.js";
|
|
8
|
-
import type { ImDeliveryDispatcher } from "../delivery/dispatcher.js";
|
|
9
|
-
import type { RunPresentation } from "../presentation/run-projector.js";
|
|
10
|
-
export declare class CardSession {
|
|
11
|
-
#private;
|
|
12
|
-
readonly connector: OctoConnector;
|
|
13
|
-
readonly delivery: ImDeliveryDispatcher;
|
|
14
|
-
readonly address: ImAddress;
|
|
15
|
-
readonly effectKey: string;
|
|
16
|
-
constructor(connector: OctoConnector, delivery: ImDeliveryDispatcher, address: ImAddress, runId: string, stopTyping: () => void, onDiagnostic: (code: string, data?: Record<string, unknown>) => void);
|
|
17
|
-
update(snapshot: RunPresentation): void;
|
|
18
|
-
finish(): Promise<void>;
|
|
19
|
-
/** 所有者完成 finish 后释放调度/回调;保留 messageId 供已有卡片按钮关联使用。 */
|
|
20
|
-
release(): void;
|
|
21
|
-
get messageId(): string | undefined;
|
|
22
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { imBotIdentity } from "../lifecycle/configuration.js";
|
|
2
|
-
import { stableEffectKey } from "./connector.js";
|
|
3
|
-
import { ProgressScheduler } from "../delivery/scheduler.js";
|
|
4
|
-
import { buildReasoningFrame } from "./reasoning-frame.js";
|
|
5
|
-
export class CardSession {
|
|
6
|
-
connector;
|
|
7
|
-
delivery;
|
|
8
|
-
address;
|
|
9
|
-
#messageId;
|
|
10
|
-
#seq = 0;
|
|
11
|
-
#terminalFailed = false;
|
|
12
|
-
#scheduler;
|
|
13
|
-
#stopTyping;
|
|
14
|
-
#onDiagnostic;
|
|
15
|
-
effectKey;
|
|
16
|
-
constructor(connector, delivery, address, runId, stopTyping, onDiagnostic) {
|
|
17
|
-
this.connector = connector;
|
|
18
|
-
this.delivery = delivery;
|
|
19
|
-
this.address = address;
|
|
20
|
-
this.#stopTyping = stopTyping;
|
|
21
|
-
this.#onDiagnostic = onDiagnostic;
|
|
22
|
-
this.effectKey = stableEffectKey(imBotIdentity(connector.config), address, runId, "progress");
|
|
23
|
-
this.#scheduler = new ProgressScheduler(async (snapshot) => {
|
|
24
|
-
try {
|
|
25
|
-
await this.#send(snapshot);
|
|
26
|
-
}
|
|
27
|
-
catch (error) {
|
|
28
|
-
if (snapshot.terminal || snapshot.resultUnknown)
|
|
29
|
-
this.#terminalFailed = true;
|
|
30
|
-
throw error;
|
|
31
|
-
}
|
|
32
|
-
}, () => this.#onDiagnostic?.("IM_CARD_FAILED"));
|
|
33
|
-
}
|
|
34
|
-
update(snapshot) {
|
|
35
|
-
if (snapshot.terminal || snapshot.phase === "waiting")
|
|
36
|
-
this.#stopTyping?.();
|
|
37
|
-
this.#scheduler?.enqueue(snapshot, !!snapshot.terminal || !!snapshot.resultUnknown);
|
|
38
|
-
}
|
|
39
|
-
async #send(snapshot) {
|
|
40
|
-
if (!this.#scheduler)
|
|
41
|
-
return;
|
|
42
|
-
const settled = !!snapshot.terminal || !!snapshot.resultUnknown;
|
|
43
|
-
const template = await this.connector.reasoningTemplate();
|
|
44
|
-
if (!template) {
|
|
45
|
-
if (settled && this.#messageId)
|
|
46
|
-
this.#terminalFailed = true;
|
|
47
|
-
this.#onDiagnostic?.("IM_CARD_UNAVAILABLE");
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
const frame = buildReasoningFrame(snapshot, template);
|
|
51
|
-
if (!frame) {
|
|
52
|
-
if (settled)
|
|
53
|
-
this.#terminalFailed = true;
|
|
54
|
-
this.#onDiagnostic?.("IM_CARD_BUDGET_EXCEEDED");
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
// 模板查询期间可能已收到终态;旧快照必须在出站前再次检查。
|
|
58
|
-
if (!this.#scheduler || (this.#scheduler.terminal && !settled))
|
|
59
|
-
return;
|
|
60
|
-
// 同一 finish 的原帧与精简帧共用四次预算,切换展示内容不能重开重试窗口。
|
|
61
|
-
const budget = { remaining: settled ? 4 : 1 };
|
|
62
|
-
let receipt = await this.#deliver(frame, template, settled, budget);
|
|
63
|
-
// 400 不是业务终态。只在明确拒收后替换展示内容再投一次,不重放未知投递或另起可见卡片。
|
|
64
|
-
if (settled &&
|
|
65
|
-
budget.remaining > 0 &&
|
|
66
|
-
receipt.state === "failed" &&
|
|
67
|
-
(receipt.code === "IM_CARD_SEND_400" || receipt.code === "IM_CARD_EDIT_400")) {
|
|
68
|
-
const compact = {
|
|
69
|
-
reasoningId: frame.reasoningId,
|
|
70
|
-
state: frame.state,
|
|
71
|
-
title: "执行结果",
|
|
72
|
-
statusLabel: frame.statusLabel,
|
|
73
|
-
statusTone: frame.statusTone,
|
|
74
|
-
traceExpanded: false,
|
|
75
|
-
traceCollapsed: true,
|
|
76
|
-
collapsedSummary: frame.statusLabel + " · 过程详情暂不可用,请查看最终回复或运行记录。",
|
|
77
|
-
phases: [
|
|
78
|
-
{
|
|
79
|
-
thought: "过程详情暂不可用,请查看最终回复或运行记录。",
|
|
80
|
-
actions: [
|
|
81
|
-
{
|
|
82
|
-
tool: "任务状态",
|
|
83
|
-
detail: frame.statusLabel,
|
|
84
|
-
statusGlyph: "●",
|
|
85
|
-
statusTone: "Accent"
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
...(frame.state === "error"
|
|
91
|
-
? { errorTitle: "执行失败", errorMessage: "请查看最终回复或运行记录。" }
|
|
92
|
-
: {})
|
|
93
|
-
};
|
|
94
|
-
receipt = await this.#deliver(compact, template, settled, budget);
|
|
95
|
-
if (receipt.state === "delivered")
|
|
96
|
-
this.#onDiagnostic?.("IM_CARD_TERMINAL_DEGRADED");
|
|
97
|
-
}
|
|
98
|
-
if (receipt.state === "delivered") {
|
|
99
|
-
// 后续更新绑定第一次成功发送的消息,不另起卡片;可见卡片接替 typing 提示。
|
|
100
|
-
this.#messageId = receipt.messageId;
|
|
101
|
-
this.#stopTyping?.();
|
|
102
|
-
}
|
|
103
|
-
else if (settled)
|
|
104
|
-
this.#terminalFailed = true;
|
|
105
|
-
}
|
|
106
|
-
/** 沿同一卡片串行发送;降级帧也使用新序号和独立回执,保留取消与旧帧屏障。 */
|
|
107
|
-
#deliver(frame, template, settled, budget) {
|
|
108
|
-
const seq = ++this.#seq;
|
|
109
|
-
return this.delivery.deliver(`${this.effectKey}:${seq}`, () => {
|
|
110
|
-
budget.remaining--;
|
|
111
|
-
return this.connector.card(this.address, template, frame, this.effectKey, this.#messageId, seq, !settled);
|
|
112
|
-
}, {
|
|
113
|
-
transient: !settled,
|
|
114
|
-
...(settled ? { attempts: budget.remaining } : {}),
|
|
115
|
-
obsolete: () => !this.#scheduler || (this.#scheduler.terminal && !settled),
|
|
116
|
-
cardOperation: this.#messageId ? "edit" : "send",
|
|
117
|
-
onDiagnostic: (code, data) => this.#onDiagnostic?.(code, data)
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
async finish() {
|
|
121
|
-
this.#stopTyping?.();
|
|
122
|
-
await this.#scheduler?.flush();
|
|
123
|
-
if (this.#terminalFailed)
|
|
124
|
-
throw new Error("IM_CARD_FINALIZATION_FAILED");
|
|
125
|
-
}
|
|
126
|
-
/** 所有者完成 finish 后释放调度/回调;保留 messageId 供已有卡片按钮关联使用。 */
|
|
127
|
-
release() {
|
|
128
|
-
this.#scheduler?.dispose();
|
|
129
|
-
this.#scheduler = undefined;
|
|
130
|
-
this.#stopTyping = undefined;
|
|
131
|
-
this.#onDiagnostic = undefined;
|
|
132
|
-
}
|
|
133
|
-
get messageId() {
|
|
134
|
-
return this.#messageId;
|
|
135
|
-
}
|
|
136
|
-
}
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 模板协商:只选择服务端明确声明可用且视图/动作合同完整的推理模板。
|
|
3
|
-
* 服务端启用卡片不等于任意模板都能使用,能力不足时交给上层降级处理。
|
|
4
|
-
*/
|
|
5
|
-
import type { CardProfileManifest } from "./api/cards.js";
|
|
6
|
-
import type { ReasoningTemplate } from "./reasoning-frame.js";
|
|
7
|
-
export declare function selectReasoningTemplate(profile: CardProfileManifest): ReasoningTemplate | undefined;
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export function selectReasoningTemplate(profile) {
|
|
2
|
-
const config = profile.config;
|
|
3
|
-
if (!profile.available ||
|
|
4
|
-
!profile.enabled ||
|
|
5
|
-
profile.card_version !== "1.5" ||
|
|
6
|
-
!profile.profiles?.includes("octo/v1") ||
|
|
7
|
-
!profile.profiles.includes("octo/v2") ||
|
|
8
|
-
!config?.card_enabled ||
|
|
9
|
-
!config.reasoning_enabled ||
|
|
10
|
-
!config.reasoning_template_ref ||
|
|
11
|
-
!profile.templating?.supported ||
|
|
12
|
-
profile.templating.wire !== "template-ref/v1")
|
|
13
|
-
return;
|
|
14
|
-
const ref = config.reasoning_template_ref;
|
|
15
|
-
const templates = profile.templating.templates.filter((t) => t.id === ref.id &&
|
|
16
|
-
t.version === ref.version &&
|
|
17
|
-
t.id === "ai.reasoning-process" &&
|
|
18
|
-
t.available !== false);
|
|
19
|
-
if (templates.length !== 1)
|
|
20
|
-
return;
|
|
21
|
-
for (const [name, wire, states, actions] of [
|
|
22
|
-
["active", "octo/v2", ["reasoning", "answering"], ["reasoning_stop"]],
|
|
23
|
-
["error", "octo/v2", ["error"], ["reasoning_retry"]],
|
|
24
|
-
["result", "octo/v1", ["completed", "stopped"], []]
|
|
25
|
-
]) {
|
|
26
|
-
const views = templates[0].views.filter((view) => view.name === name);
|
|
27
|
-
const view = views[0];
|
|
28
|
-
if (views.length !== 1 ||
|
|
29
|
-
!view ||
|
|
30
|
-
view.wire_profile !== wire ||
|
|
31
|
-
!states.every((s) => view.states.includes(s)) ||
|
|
32
|
-
view.submit_actions.some((a) => !actions.includes(a)))
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
const limit = profile.limits?.max_payload_bytes;
|
|
36
|
-
return {
|
|
37
|
-
ref,
|
|
38
|
-
maxPayloadBytes: typeof limit === "number" && Number.isSafeInteger(limit) && limit > 0 ? limit : 16_384
|
|
39
|
-
};
|
|
40
|
-
}
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import type { ChannelCallbacks, OctoBotConfig } from "../contracts.js";
|
|
2
|
-
import type { ImCredentialSource } from "../ports.js";
|
|
3
|
-
import { ImDeliveryDispatcher } from "../delivery/dispatcher.js";
|
|
4
|
-
import { type ImDeliveryIdentity } from "../delivery/identity.js";
|
|
5
|
-
/** Octo IM 平台连接器:WuKong 与 Octo REST 适配;不是 MCP 连接器。 */
|
|
6
|
-
export declare class GatewayTransport {
|
|
7
|
-
#private;
|
|
8
|
-
readonly config: OctoBotConfig;
|
|
9
|
-
readonly credentials: ImCredentialSource;
|
|
10
|
-
readonly callbacks: ChannelCallbacks;
|
|
11
|
-
readonly deliveryOwner?: {
|
|
12
|
-
signal: AbortSignal;
|
|
13
|
-
dispatcher: ImDeliveryDispatcher;
|
|
14
|
-
identity: ImDeliveryIdentity;
|
|
15
|
-
token?: () => string | undefined;
|
|
16
|
-
/** 身份及空间准入后同步发布凭据;候选值不得提前供旧任务读取。 */
|
|
17
|
-
acceptToken?: (token: string) => void;
|
|
18
|
-
} | undefined;
|
|
19
|
-
identity: string;
|
|
20
|
-
readonly botId: string;
|
|
21
|
-
get scopedConfig(): {
|
|
22
|
-
spaceId: string;
|
|
23
|
-
api_url: string;
|
|
24
|
-
bf_token?: string;
|
|
25
|
-
stable_context_refresh_interval_turns?: number;
|
|
26
|
-
groups_enabled?: boolean;
|
|
27
|
-
group_ids?: string[] | null;
|
|
28
|
-
cards?: boolean;
|
|
29
|
-
typing?: boolean;
|
|
30
|
-
artifact_delivery?: {
|
|
31
|
-
mode?: "channel" | "tools";
|
|
32
|
-
allowed_roots?: string[];
|
|
33
|
-
allowed_mime_types?: string[];
|
|
34
|
-
max_file_bytes?: number;
|
|
35
|
-
max_total_bytes?: number;
|
|
36
|
-
max_files?: number;
|
|
37
|
-
timeout_ms?: number;
|
|
38
|
-
};
|
|
39
|
-
bot_id: string;
|
|
40
|
-
bot_name?: string;
|
|
41
|
-
enabled?: boolean;
|
|
42
|
-
adapter: import("../contracts.js").ImAdapterConfig;
|
|
43
|
-
context?: import("@mininglamp-oss/octo-runtime-protocol").ContextEnvelope;
|
|
44
|
-
approval_mode?: import("@mininglamp-oss/octo-runtime-protocol").ApprovalMode;
|
|
45
|
-
run_timeout_ms?: number;
|
|
46
|
-
codex_retry?: {
|
|
47
|
-
enabled?: boolean;
|
|
48
|
-
max_consecutive_retries?: number;
|
|
49
|
-
max_total_retries?: number;
|
|
50
|
-
recovery_timeout_ms?: number;
|
|
51
|
-
initial_delay_ms?: number;
|
|
52
|
-
max_delay_ms?: number;
|
|
53
|
-
};
|
|
54
|
-
allowed_sender_ids?: string[];
|
|
55
|
-
};
|
|
56
|
-
constructor(config: OctoBotConfig, credentials: ImCredentialSource, callbacks: ChannelCallbacks, deliveryOwner?: {
|
|
57
|
-
signal: AbortSignal;
|
|
58
|
-
dispatcher: ImDeliveryDispatcher;
|
|
59
|
-
identity: ImDeliveryIdentity;
|
|
60
|
-
token?: () => string | undefined;
|
|
61
|
-
/** 身份及空间准入后同步发布凭据;候选值不得提前供旧任务读取。 */
|
|
62
|
-
acceptToken?: (token: string) => void;
|
|
63
|
-
} | undefined);
|
|
64
|
-
get status(): {
|
|
65
|
-
connected: boolean;
|
|
66
|
-
cardDeliveries: number;
|
|
67
|
-
};
|
|
68
|
-
start(signal: AbortSignal): Promise<void>;
|
|
69
|
-
close(): Promise<void>;
|
|
70
|
-
}
|