@mininglamp-oss/octo-runtime 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -142
- package/apps/cli/README.md +7 -102
- package/apps/cli/dist/adapters.js +1 -5
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/command-tree.d.ts +1 -13
- package/apps/cli/dist/command-tree.js +130 -316
- package/apps/cli/dist/foreground.d.ts +1 -2
- package/apps/cli/dist/help.d.ts +0 -1
- package/apps/cli/dist/help.js +2 -13
- package/apps/cli/dist/logs.d.ts +2 -2
- package/apps/cli/dist/logs.js +14 -17
- package/apps/cli/dist/main.js +55 -173
- package/apps/cli/dist/manifest.json +0 -50
- package/apps/cli/dist/module-manifest.d.ts +1 -1
- package/apps/cli/dist/module-manifest.js +2 -3
- package/apps/cli/dist/openclaw.d.ts +0 -8
- package/apps/cli/dist/openclaw.js +2 -114
- package/apps/cli/dist/output.js +9 -20
- package/apps/cli/dist/playboard.js +15 -7
- package/apps/cli/dist/service-control.js +0 -1
- package/dist/public/host.d.ts +2 -4
- package/dist/public/host.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +10 -9
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-R3PDZLX5.js → chunk-H3S6WM37.js} +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FGFEM7JP.js → chunk-RISQ6NGV.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-TSRZVLIG.js → chunk-SMTJTIN7.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/dsh-sdk-NOTICE.txt +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/trajectory.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +1 -13
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +4 -27
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +4 -8
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +6 -60
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +0 -83
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/adapters.js +1 -5
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.d.ts +1 -13
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/command-tree.js +130 -316
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.d.ts +1 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +2 -13
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.js +14 -17
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +55 -173
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/manifest.json +0 -50
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +2 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +2 -114
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +9 -20
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +15 -7
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +20 -23
- package/node_modules/@mininglamp-oss/octo-runtime-client/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.d.ts +2 -3
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/async-question-reply.js +31 -20
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/client.js +80 -50
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/index.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/invocation-lifecycle.js +17 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/startup-catalog.js +3 -15
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/submission-error.js +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-client/dist/types.d.ts +19 -4
- package/node_modules/@mininglamp-oss/octo-runtime-client/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/kernel-ipc-fixtures.json +28 -6
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/native-invoke-fixtures.json +27 -27
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/protocol.schema.json +263 -75
- package/node_modules/@mininglamp-oss/octo-runtime-client/schema/run-protocol-fixtures.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +2 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +22 -15
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +10 -7
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +1 -7
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -18
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/browser.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +33 -8
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/image-input.js +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +27 -29
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +86 -37
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.d.ts +1 -6
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/multimodal.js +3 -17
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/service-processes.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/node_modules/semver/classes/range.js +2 -2
- package/node_modules/semver/internal/constants.js +30 -0
- package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
- package/node_modules/semver/package.json +1 -1
- package/node_modules/ws/README.md +21 -29
- package/node_modules/ws/lib/buffer-util.js +13 -2
- package/node_modules/ws/lib/sender.js +4 -1
- package/node_modules/ws/lib/websocket.js +8 -3
- package/node_modules/ws/package.json +1 -1
- package/package.json +27 -135
- package/packages/octo-runtime-protocol/schema/kernel-ipc-fixtures.json +28 -6
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +263 -75
- package/apps/cli/dist/extra-command-config.d.ts +0 -4
- package/apps/cli/dist/extra-command-config.js +0 -50
- package/apps/cli/dist/extra-commands.d.ts +0 -15
- package/apps/cli/dist/extra-commands.js +0 -275
- package/apps/cli/dist/extras.d.ts +0 -8
- package/apps/cli/dist/extras.js +0 -82
- package/apps/cli/dist/global-extras.d.ts +0 -16
- package/apps/cli/dist/global-extras.js +0 -201
- package/apps/cli/dist/status-output.d.ts +0 -10
- package/apps/cli/dist/status-output.js +0 -65
- package/dist/public/channel-gateway-commands.d.ts +0 -1
- package/dist/public/channel-gateway-commands.js +0 -1
- package/dist/public/channel-gateway.d.ts +0 -3
- package/dist/public/channel-gateway.js +0 -1
- package/dist/public/channel-wecom-commands.d.ts +0 -1
- package/dist/public/channel-wecom-commands.js +0 -1
- package/dist/public/channel-wecom.d.ts +0 -2
- package/dist/public/channel-wecom.js +0 -1
- package/dist/public/extra.d.ts +0 -5
- package/dist/public/extra.js +0 -3
- package/dist/public/webui-commands.d.ts +0 -1
- package/dist/public/webui-commands.js +0 -1
- package/dist/public/webui.d.ts +0 -1
- package/dist/public/webui.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-command-config.js +0 -50
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extra-commands.js +0 -275
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +0 -82
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/global-extras.js +0 -201
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +0 -65
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +0 -8
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +0 -62
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +0 -50
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +0 -140
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +0 -27
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +0 -17
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +0 -123
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +0 -1489
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +0 -28
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +0 -77
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +0 -71
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +0 -153
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +0 -28
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/commands.js +0 -124
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +0 -172
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +0 -22
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +0 -46
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +0 -285
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +0 -109
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +0 -36
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +0 -98
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +0 -17
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +0 -238
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.d.ts +0 -29
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/model-wait.js +0 -171
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +0 -44
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +0 -392
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/tool-environment.js +0 -27
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +0 -87
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.js +0 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.d.ts +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +0 -162
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +0 -154
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +0 -34
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +0 -67
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +0 -588
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/typing.js +0 -83
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +0 -132
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +0 -226
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +0 -65
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +0 -202
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +0 -112
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +0 -138
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -48
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +0 -116
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.d.ts +0 -51
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/events.js +0 -79
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +0 -30
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +0 -222
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.d.ts +0 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/index.js +0 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +0 -92
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +0 -173
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.d.ts +0 -84
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/rules.js +0 -110
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.d.ts +0 -87
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/types.js +0 -45
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/url.js +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.d.ts +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/auth.js +0 -23
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-action.js +0 -75
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +0 -22
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +0 -136
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.d.ts +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/cards.js +0 -40
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +0 -70
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +0 -646
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.d.ts +0 -17
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +0 -91
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +0 -18
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +0 -148
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +0 -15
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +0 -257
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +0 -133
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +0 -21
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +0 -76
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/image-input.js +0 -163
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/interaction-card.js +0 -113
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -13
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -75
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-content.js +0 -117
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +0 -74
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +0 -19
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +0 -90
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +0 -85
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.d.ts +0 -34
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +0 -430
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/resources.js +0 -63
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +0 -60
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.d.ts +0 -9
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/session-command.js +0 -71
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +0 -44
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +0 -357
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +0 -33
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.d.ts +0 -11
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +0 -754
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.d.ts +0 -35
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/session-store.js +0 -93
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/commands.js +0 -128
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +0 -78
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +0 -69
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/execution/dispatcher.js +0 -95
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +0 -85
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/index.js +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.d.ts +0 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/configuration.js +0 -109
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/lifecycle/manager.js +0 -73
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +0 -24
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.js +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.d.ts +0 -45
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/presentation/run-projector.js +0 -258
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.d.ts +0 -21
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +0 -124
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.d.ts +0 -53
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/connection.js +0 -219
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/stream-session.js +0 -52
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +0 -31
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +0 -134
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/commands.js +0 -51
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +0 -423
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +0 -25
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +0 -130
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-BLMf2Etg.js +0 -73
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-CYTpqItx.css +0 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +0 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +0 -28
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +0 -32
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +0 -165
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.d.ts +0 -44
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/execution.js +0 -207
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.d.ts +0 -70
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-commands.js +0 -16
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.d.ts +0 -20
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +0 -154
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.d.ts +0 -4
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.js +0 -21
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +0 -45
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +0 -417
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.d.ts +0 -62
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extras.js +0 -389
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +0 -7
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +0 -39
- package/node_modules/@types/debug/LICENSE +0 -21
- package/node_modules/@types/debug/README.md +0 -69
- package/node_modules/@types/debug/index.d.ts +0 -50
- package/node_modules/@types/debug/package.json +0 -58
- package/node_modules/@types/mdast/LICENSE +0 -21
- package/node_modules/@types/mdast/README.md +0 -15
- package/node_modules/@types/mdast/index.d.ts +0 -1123
- package/node_modules/@types/mdast/package.json +0 -47
- package/node_modules/@types/ms/LICENSE +0 -21
- package/node_modules/@types/ms/README.md +0 -82
- package/node_modules/@types/ms/index.d.ts +0 -63
- package/node_modules/@types/ms/package.json +0 -26
- package/node_modules/@types/unist/LICENSE +0 -21
- package/node_modules/@types/unist/README.md +0 -15
- package/node_modules/@types/unist/index.d.ts +0 -119
- package/node_modules/@types/unist/package.json +0 -60
- package/node_modules/character-entities/index.d.ts +0 -6
- package/node_modules/character-entities/index.js +0 -2132
- package/node_modules/character-entities/license +0 -22
- package/node_modules/character-entities/package.json +0 -78
- package/node_modules/character-entities/readme.md +0 -152
- package/node_modules/debug/LICENSE +0 -20
- package/node_modules/debug/README.md +0 -481
- package/node_modules/debug/package.json +0 -64
- package/node_modules/debug/src/browser.js +0 -272
- package/node_modules/debug/src/common.js +0 -292
- package/node_modules/debug/src/index.js +0 -10
- package/node_modules/debug/src/node.js +0 -263
- package/node_modules/decode-named-character-reference/index.d.ts +0 -13
- package/node_modules/decode-named-character-reference/index.d.ts.map +0 -1
- package/node_modules/decode-named-character-reference/index.dom.d.ts +0 -6
- package/node_modules/decode-named-character-reference/index.dom.d.ts.map +0 -1
- package/node_modules/decode-named-character-reference/index.dom.js +0 -32
- package/node_modules/decode-named-character-reference/index.js +0 -19
- package/node_modules/decode-named-character-reference/license +0 -22
- package/node_modules/decode-named-character-reference/package.json +0 -90
- package/node_modules/decode-named-character-reference/readme.md +0 -136
- package/node_modules/dequal/dist/index.js +0 -86
- package/node_modules/dequal/dist/index.min.js +0 -1
- package/node_modules/dequal/dist/index.mjs +0 -84
- package/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/dequal/license +0 -21
- package/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/dequal/lite/index.js +0 -31
- package/node_modules/dequal/lite/index.min.js +0 -1
- package/node_modules/dequal/lite/index.mjs +0 -29
- package/node_modules/dequal/package.json +0 -57
- package/node_modules/dequal/readme.md +0 -112
- package/node_modules/devlop/lib/default.js +0 -9
- package/node_modules/devlop/lib/development.d.ts +0 -84
- package/node_modules/devlop/lib/development.js +0 -238
- package/node_modules/devlop/license +0 -22
- package/node_modules/devlop/package.json +0 -80
- package/node_modules/devlop/readme.md +0 -360
- package/node_modules/mdast-util-from-markdown/dev/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/dev/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/dev/lib/index.js +0 -1455
- package/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +0 -321
- package/node_modules/mdast-util-from-markdown/dev/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/index.d.ts +0 -23
- package/node_modules/mdast-util-from-markdown/index.js +0 -2
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts +0 -53
- package/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +0 -1
- package/node_modules/mdast-util-from-markdown/lib/index.js +0 -1270
- package/node_modules/mdast-util-from-markdown/lib/types.d.ts +0 -321
- package/node_modules/mdast-util-from-markdown/lib/types.js +0 -2
- package/node_modules/mdast-util-from-markdown/license +0 -22
- package/node_modules/mdast-util-from-markdown/package.json +0 -98
- package/node_modules/mdast-util-from-markdown/readme.md +0 -549
- package/node_modules/mdast-util-to-string/index.d.ts +0 -2
- package/node_modules/mdast-util-to-string/index.js +0 -5
- package/node_modules/mdast-util-to-string/lib/index.d.ts +0 -31
- package/node_modules/mdast-util-to-string/lib/index.js +0 -108
- package/node_modules/mdast-util-to-string/license +0 -22
- package/node_modules/mdast-util-to-string/package.json +0 -78
- package/node_modules/mdast-util-to-string/readme.md +0 -218
- package/node_modules/micromark/dev/index.d.ts +0 -82
- package/node_modules/micromark/dev/index.d.ts.map +0 -1
- package/node_modules/micromark/dev/index.js +0 -68
- package/node_modules/micromark/dev/lib/compile.d.ts +0 -16
- package/node_modules/micromark/dev/lib/compile.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/compile.js +0 -1162
- package/node_modules/micromark/dev/lib/constructs.d.ts +0 -73
- package/node_modules/micromark/dev/lib/constructs.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/constructs.js +0 -101
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/create-tokenizer.js +0 -718
- package/node_modules/micromark/dev/lib/initialize/content.d.ts +0 -4
- package/node_modules/micromark/dev/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/content.js +0 -99
- package/node_modules/micromark/dev/lib/initialize/document.d.ts +0 -10
- package/node_modules/micromark/dev/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/document.js +0 -449
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts +0 -4
- package/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/flow.js +0 -86
- package/node_modules/micromark/dev/lib/initialize/text.d.ts +0 -8
- package/node_modules/micromark/dev/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/initialize/text.js +0 -248
- package/node_modules/micromark/dev/lib/parse.d.ts +0 -10
- package/node_modules/micromark/dev/lib/parse.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/parse.js +0 -58
- package/node_modules/micromark/dev/lib/postprocess.d.ts +0 -9
- package/node_modules/micromark/dev/lib/postprocess.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/postprocess.js +0 -19
- package/node_modules/micromark/dev/lib/preprocess.d.ts +0 -13
- package/node_modules/micromark/dev/lib/preprocess.d.ts.map +0 -1
- package/node_modules/micromark/dev/lib/preprocess.js +0 -139
- package/node_modules/micromark/dev/stream.d.ts +0 -35
- package/node_modules/micromark/dev/stream.d.ts.map +0 -1
- package/node_modules/micromark/dev/stream.js +0 -270
- package/node_modules/micromark/index.d.ts +0 -82
- package/node_modules/micromark/index.d.ts.map +0 -1
- package/node_modules/micromark/index.js +0 -60
- package/node_modules/micromark/lib/compile.d.ts +0 -16
- package/node_modules/micromark/lib/compile.d.ts.map +0 -1
- package/node_modules/micromark/lib/compile.js +0 -1068
- package/node_modules/micromark/lib/constructs.d.ts +0 -73
- package/node_modules/micromark/lib/constructs.d.ts.map +0 -1
- package/node_modules/micromark/lib/constructs.js +0 -85
- package/node_modules/micromark/lib/create-tokenizer.d.ts +0 -46
- package/node_modules/micromark/lib/create-tokenizer.d.ts.map +0 -1
- package/node_modules/micromark/lib/create-tokenizer.js +0 -613
- package/node_modules/micromark/lib/initialize/content.d.ts +0 -4
- package/node_modules/micromark/lib/initialize/content.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/content.js +0 -79
- package/node_modules/micromark/lib/initialize/document.d.ts +0 -10
- package/node_modules/micromark/lib/initialize/document.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/document.js +0 -370
- package/node_modules/micromark/lib/initialize/flow.d.ts +0 -4
- package/node_modules/micromark/lib/initialize/flow.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/flow.js +0 -58
- package/node_modules/micromark/lib/initialize/text.d.ts +0 -8
- package/node_modules/micromark/lib/initialize/text.d.ts.map +0 -1
- package/node_modules/micromark/lib/initialize/text.js +0 -216
- package/node_modules/micromark/lib/parse.d.ts +0 -10
- package/node_modules/micromark/lib/parse.d.ts.map +0 -1
- package/node_modules/micromark/lib/parse.js +0 -56
- package/node_modules/micromark/lib/postprocess.d.ts +0 -9
- package/node_modules/micromark/lib/postprocess.d.ts.map +0 -1
- package/node_modules/micromark/lib/postprocess.js +0 -18
- package/node_modules/micromark/lib/preprocess.d.ts +0 -13
- package/node_modules/micromark/lib/preprocess.d.ts.map +0 -1
- package/node_modules/micromark/lib/preprocess.js +0 -112
- package/node_modules/micromark/license +0 -22
- package/node_modules/micromark/package.json +0 -87
- package/node_modules/micromark/readme.md +0 -488
- package/node_modules/micromark/stream.d.ts +0 -35
- package/node_modules/micromark/stream.d.ts.map +0 -1
- package/node_modules/micromark/stream.js +0 -256
- package/node_modules/micromark-core-commonmark/dev/index.d.ts +0 -23
- package/node_modules/micromark-core-commonmark/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/index.js +0 -22
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/attention.js +0 -294
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/autolink.js +0 -269
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +0 -62
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +0 -162
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +0 -69
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +0 -166
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +0 -472
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +0 -178
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/code-text.js +0 -257
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +0 -7
- package/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/content.js +0 -185
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/definition.js +0 -295
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +0 -65
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +0 -229
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +0 -938
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/html-text.js +0 -783
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/label-end.js +0 -658
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +0 -119
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +0 -71
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +0 -34
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/list.js +0 -306
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +0 -67
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +0 -213
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +0 -120
- package/node_modules/micromark-core-commonmark/index.d.ts +0 -23
- package/node_modules/micromark-core-commonmark/index.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/index.js +0 -22
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/attention.js +0 -231
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/autolink.js +0 -233
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -61
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/block-quote.js +0 -143
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/character-escape.js +0 -64
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/character-reference.js +0 -149
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/code-fenced.js +0 -422
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/code-indented.js +0 -159
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/code-text.js +0 -225
- package/node_modules/micromark-core-commonmark/lib/content.d.ts +0 -7
- package/node_modules/micromark-core-commonmark/lib/content.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/content.js +0 -163
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/definition.js +0 -254
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +0 -60
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/heading-atx.js +0 -191
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/html-flow.js +0 -827
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/html-text.js +0 -678
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/label-end.js +0 -561
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/label-start-image.js +0 -110
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/label-start-link.js +0 -63
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -33
- package/node_modules/micromark-core-commonmark/lib/list.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/list.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/list.js +0 -213
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +0 -61
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/setext-underline.js +0 -187
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +0 -4
- package/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +0 -1
- package/node_modules/micromark-core-commonmark/lib/thematic-break.js +0 -102
- package/node_modules/micromark-core-commonmark/license +0 -22
- package/node_modules/micromark-core-commonmark/package.json +0 -62
- package/node_modules/micromark-core-commonmark/readme.md +0 -171
- package/node_modules/micromark-factory-destination/dev/index.d.ts +0 -42
- package/node_modules/micromark-factory-destination/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-destination/dev/index.js +0 -255
- package/node_modules/micromark-factory-destination/index.d.ts +0 -42
- package/node_modules/micromark-factory-destination/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-destination/index.js +0 -206
- package/node_modules/micromark-factory-destination/license +0 -22
- package/node_modules/micromark-factory-destination/package.json +0 -57
- package/node_modules/micromark-factory-destination/readme.md +0 -234
- package/node_modules/micromark-factory-label/dev/index.d.ts +0 -37
- package/node_modules/micromark-factory-label/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-label/dev/index.js +0 -172
- package/node_modules/micromark-factory-label/index.d.ts +0 -37
- package/node_modules/micromark-factory-label/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-label/index.js +0 -148
- package/node_modules/micromark-factory-label/license +0 -22
- package/node_modules/micromark-factory-label/package.json +0 -60
- package/node_modules/micromark-factory-label/readme.md +0 -224
- package/node_modules/micromark-factory-space/dev/index.d.ts +0 -60
- package/node_modules/micromark-factory-space/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-space/dev/index.js +0 -122
- package/node_modules/micromark-factory-space/index.d.ts +0 -60
- package/node_modules/micromark-factory-space/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-space/index.js +0 -116
- package/node_modules/micromark-factory-space/license +0 -22
- package/node_modules/micromark-factory-space/package.json +0 -46
- package/node_modules/micromark-factory-space/readme.md +0 -225
- package/node_modules/micromark-factory-title/dev/index.d.ts +0 -36
- package/node_modules/micromark-factory-title/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-title/dev/index.js +0 -169
- package/node_modules/micromark-factory-title/index.d.ts +0 -36
- package/node_modules/micromark-factory-title/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-title/index.js +0 -158
- package/node_modules/micromark-factory-title/license +0 -22
- package/node_modules/micromark-factory-title/package.json +0 -58
- package/node_modules/micromark-factory-title/readme.md +0 -229
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts +0 -22
- package/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-whitespace/dev/index.js +0 -53
- package/node_modules/micromark-factory-whitespace/index.d.ts +0 -22
- package/node_modules/micromark-factory-whitespace/index.d.ts.map +0 -1
- package/node_modules/micromark-factory-whitespace/index.js +0 -44
- package/node_modules/micromark-factory-whitespace/license +0 -22
- package/node_modules/micromark-factory-whitespace/package.json +0 -57
- package/node_modules/micromark-factory-whitespace/readme.md +0 -205
- package/node_modules/micromark-util-character/dev/index.d.ts +0 -195
- package/node_modules/micromark-util-character/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-character/dev/index.js +0 -252
- package/node_modules/micromark-util-character/index.d.ts +0 -195
- package/node_modules/micromark-util-character/index.d.ts.map +0 -1
- package/node_modules/micromark-util-character/index.js +0 -246
- package/node_modules/micromark-util-character/license +0 -22
- package/node_modules/micromark-util-character/package.json +0 -57
- package/node_modules/micromark-util-character/readme.md +0 -446
- package/node_modules/micromark-util-chunked/dev/index.d.ts +0 -41
- package/node_modules/micromark-util-chunked/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-chunked/dev/index.js +0 -89
- package/node_modules/micromark-util-chunked/index.d.ts +0 -41
- package/node_modules/micromark-util-chunked/index.d.ts.map +0 -1
- package/node_modules/micromark-util-chunked/index.js +0 -81
- package/node_modules/micromark-util-chunked/license +0 -22
- package/node_modules/micromark-util-chunked/package.json +0 -57
- package/node_modules/micromark-util-chunked/readme.md +0 -219
- package/node_modules/micromark-util-classify-character/dev/index.d.ts +0 -18
- package/node_modules/micromark-util-classify-character/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-classify-character/dev/index.js +0 -38
- package/node_modules/micromark-util-classify-character/index.d.ts +0 -18
- package/node_modules/micromark-util-classify-character/index.d.ts.map +0 -1
- package/node_modules/micromark-util-classify-character/index.js +0 -27
- package/node_modules/micromark-util-classify-character/license +0 -22
- package/node_modules/micromark-util-classify-character/package.json +0 -59
- package/node_modules/micromark-util-classify-character/readme.md +0 -205
- package/node_modules/micromark-util-combine-extensions/index.d.ts +0 -22
- package/node_modules/micromark-util-combine-extensions/index.d.ts.map +0 -1
- package/node_modules/micromark-util-combine-extensions/index.js +0 -143
- package/node_modules/micromark-util-combine-extensions/license +0 -22
- package/node_modules/micromark-util-combine-extensions/package.json +0 -52
- package/node_modules/micromark-util-combine-extensions/readme.md +0 -201
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +0 -16
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +0 -42
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +0 -16
- package/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-numeric-character-reference/index.js +0 -32
- package/node_modules/micromark-util-decode-numeric-character-reference/license +0 -22
- package/node_modules/micromark-util-decode-numeric-character-reference/package.json +0 -59
- package/node_modules/micromark-util-decode-numeric-character-reference/readme.md +0 -184
- package/node_modules/micromark-util-decode-string/dev/index.d.ts +0 -14
- package/node_modules/micromark-util-decode-string/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-string/dev/index.js +0 -53
- package/node_modules/micromark-util-decode-string/index.d.ts +0 -14
- package/node_modules/micromark-util-decode-string/index.d.ts.map +0 -1
- package/node_modules/micromark-util-decode-string/index.js +0 -45
- package/node_modules/micromark-util-decode-string/license +0 -22
- package/node_modules/micromark-util-decode-string/package.json +0 -63
- package/node_modules/micromark-util-decode-string/readme.md +0 -179
- package/node_modules/micromark-util-edit-map/dev/index.d.ts +0 -78
- package/node_modules/micromark-util-edit-map/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-edit-map/dev/index.js +0 -237
- package/node_modules/micromark-util-edit-map/index.d.ts +0 -78
- package/node_modules/micromark-util-edit-map/index.d.ts.map +0 -1
- package/node_modules/micromark-util-edit-map/index.js +0 -225
- package/node_modules/micromark-util-edit-map/license +0 -22
- package/node_modules/micromark-util-edit-map/package.json +0 -48
- package/node_modules/micromark-util-edit-map/readme.md +0 -234
- package/node_modules/micromark-util-encode/index.d.ts +0 -14
- package/node_modules/micromark-util-encode/index.d.ts.map +0 -1
- package/node_modules/micromark-util-encode/index.js +0 -33
- package/node_modules/micromark-util-encode/license +0 -22
- package/node_modules/micromark-util-encode/package.json +0 -47
- package/node_modules/micromark-util-encode/readme.md +0 -176
- package/node_modules/micromark-util-html-tag-name/index.d.ts +0 -30
- package/node_modules/micromark-util-html-tag-name/index.d.ts.map +0 -1
- package/node_modules/micromark-util-html-tag-name/index.js +0 -93
- package/node_modules/micromark-util-html-tag-name/license +0 -22
- package/node_modules/micromark-util-html-tag-name/package.json +0 -47
- package/node_modules/micromark-util-html-tag-name/readme.md +0 -193
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +0 -21
- package/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-normalize-identifier/dev/index.js +0 -38
- package/node_modules/micromark-util-normalize-identifier/index.d.ts +0 -21
- package/node_modules/micromark-util-normalize-identifier/index.d.ts.map +0 -1
- package/node_modules/micromark-util-normalize-identifier/index.js +0 -33
- package/node_modules/micromark-util-normalize-identifier/license +0 -22
- package/node_modules/micromark-util-normalize-identifier/package.json +0 -58
- package/node_modules/micromark-util-normalize-identifier/readme.md +0 -187
- package/node_modules/micromark-util-resolve-all/index.d.ts +0 -22
- package/node_modules/micromark-util-resolve-all/index.d.ts.map +0 -1
- package/node_modules/micromark-util-resolve-all/index.js +0 -32
- package/node_modules/micromark-util-resolve-all/license +0 -22
- package/node_modules/micromark-util-resolve-all/package.json +0 -48
- package/node_modules/micromark-util-resolve-all/readme.md +0 -238
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +0 -36
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-sanitize-uri/dev/index.js +0 -124
- package/node_modules/micromark-util-sanitize-uri/index.d.ts +0 -36
- package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +0 -1
- package/node_modules/micromark-util-sanitize-uri/index.js +0 -107
- package/node_modules/micromark-util-sanitize-uri/license +0 -22
- package/node_modules/micromark-util-sanitize-uri/package.json +0 -59
- package/node_modules/micromark-util-sanitize-uri/readme.md +0 -214
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts +0 -12
- package/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/dev/index.js +0 -284
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +0 -161
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +0 -288
- package/node_modules/micromark-util-subtokenize/index.d.ts +0 -12
- package/node_modules/micromark-util-subtokenize/index.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/index.js +0 -228
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +0 -161
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +0 -1
- package/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +0 -251
- package/node_modules/micromark-util-subtokenize/license +0 -22
- package/node_modules/micromark-util-subtokenize/package.json +0 -60
- package/node_modules/micromark-util-subtokenize/readme.md +0 -181
- package/node_modules/micromark-util-symbol/lib/codes.d.ts +0 -139
- package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/codes.js +0 -158
- package/node_modules/micromark-util-symbol/lib/constants.d.ts +0 -37
- package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/constants.js +0 -44
- package/node_modules/micromark-util-symbol/lib/default.d.ts +0 -5
- package/node_modules/micromark-util-symbol/lib/default.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/default.js +0 -4
- package/node_modules/micromark-util-symbol/lib/types.d.ts +0 -106
- package/node_modules/micromark-util-symbol/lib/types.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/types.js +0 -453
- package/node_modules/micromark-util-symbol/lib/values.d.ts +0 -102
- package/node_modules/micromark-util-symbol/lib/values.d.ts.map +0 -1
- package/node_modules/micromark-util-symbol/lib/values.js +0 -109
- package/node_modules/micromark-util-symbol/license +0 -22
- package/node_modules/micromark-util-symbol/package.json +0 -43
- package/node_modules/micromark-util-symbol/readme.md +0 -168
- package/node_modules/micromark-util-types/index.d.ts +0 -1315
- package/node_modules/micromark-util-types/index.js +0 -2
- package/node_modules/micromark-util-types/license +0 -22
- package/node_modules/micromark-util-types/package.json +0 -37
- package/node_modules/micromark-util-types/readme.md +0 -151
- package/node_modules/ms/index.js +0 -162
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -38
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/unist-util-stringify-position/index.d.ts +0 -1
- package/node_modules/unist-util-stringify-position/index.js +0 -1
- package/node_modules/unist-util-stringify-position/lib/index.d.ts +0 -61
- package/node_modules/unist-util-stringify-position/lib/index.js +0 -84
- package/node_modules/unist-util-stringify-position/license +0 -22
- package/node_modules/unist-util-stringify-position/package.json +0 -80
- package/node_modules/unist-util-stringify-position/readme.md +0 -206
- package/packages/octo-runtime-extra-channel-gateway/config-schema.json +0 -458
- package/packages/octo-runtime-extra-channel-wecom/config-schema.json +0 -276
- package/packages/octo-runtime-extra-webui/config-schema.json +0 -134
|
@@ -19,25 +19,33 @@ function inputContext(value) {
|
|
|
19
19
|
})
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
const envelope = {
|
|
23
|
+
schema: value.schema,
|
|
24
|
+
items: value.items
|
|
25
|
+
};
|
|
26
|
+
assertContextEnvelope(envelope);
|
|
27
|
+
return envelope;
|
|
24
28
|
}
|
|
25
29
|
/**
|
|
26
30
|
* 将调用方本轮 JSON 快照解析为执行计划与内部请求,不读取持久会话或创建 Provider。
|
|
27
31
|
* sessionId 只标识业务会话;续接必须显式携带 providerSession,不能由同名会话推断。
|
|
28
|
-
*
|
|
32
|
+
* 仅解析执行设置;inputs 由业务方准备,原样进入 Adapter。
|
|
29
33
|
*/
|
|
30
34
|
export function prepareInvokeInput(value) {
|
|
31
35
|
if (!isRecord(value))
|
|
32
36
|
throw new TypeError("invoke input must be a JSON object");
|
|
33
|
-
const input = InvokeInput.check({
|
|
34
|
-
|
|
37
|
+
const input = InvokeInput.check({
|
|
38
|
+
...value,
|
|
39
|
+
agentEnv: { ...value.agentEnv, ...inputContext(value.agentEnv) }
|
|
40
|
+
});
|
|
41
|
+
const contexts = inputContext(value.agentEnv);
|
|
42
|
+
const env = input.agentEnv;
|
|
35
43
|
const protocolMode = value.protocol_mode ?? "native";
|
|
36
44
|
if (protocolMode !== "native" && protocolMode !== "canonical") {
|
|
37
45
|
throw new TypeError("protocol_mode must be native or canonical");
|
|
38
46
|
}
|
|
39
47
|
const adapterType = contextItem(contexts, "octo.execution", "adapter")?.payload.type;
|
|
40
|
-
const agentSource =
|
|
48
|
+
const agentSource = env.agentSource ?? (adapterType === "openclaw" ? "preset" : "provisioned");
|
|
41
49
|
assertAgentSource(agentSource);
|
|
42
50
|
if (value.sessionId !== undefined &&
|
|
43
51
|
(typeof value.sessionId !== "string" || !value.sessionId.trim())) {
|
|
@@ -76,14 +84,14 @@ export function prepareInvokeInput(value) {
|
|
|
76
84
|
{
|
|
77
85
|
namespace: "octo.execution",
|
|
78
86
|
name: "workspace",
|
|
79
|
-
payload: { mode: "fixed", path:
|
|
87
|
+
payload: { mode: "fixed", path: env.workdir ?? process.cwd() }
|
|
80
88
|
}
|
|
81
89
|
]
|
|
82
90
|
: []),
|
|
83
91
|
{
|
|
84
92
|
namespace: "octo.security",
|
|
85
93
|
name: "approval_policy",
|
|
86
|
-
payload: { mode:
|
|
94
|
+
payload: { mode: env.approvalMode ?? "ask" }
|
|
87
95
|
},
|
|
88
96
|
{
|
|
89
97
|
namespace: "octo.execution",
|
|
@@ -92,8 +100,7 @@ export function prepareInvokeInput(value) {
|
|
|
92
100
|
}
|
|
93
101
|
]
|
|
94
102
|
};
|
|
95
|
-
//
|
|
96
|
-
// retain their complete current-turn snapshot for the Host's shared renderer.
|
|
103
|
+
// 解析固定执行配置;没有业务 Context 渲染阶段。
|
|
97
104
|
const { resolvedExecutionPlan: plan } = resolveLocalContext(defaults, {
|
|
98
105
|
schema: CONTEXT_SCHEMA,
|
|
99
106
|
items: contexts.items.filter((item) => item.namespace === "octo.execution" ||
|
|
@@ -133,16 +140,16 @@ export function prepareInvokeInput(value) {
|
|
|
133
140
|
modelInput: input.modelInput ?? prompt,
|
|
134
141
|
modelInputParts: structuredClone(input.inputs),
|
|
135
142
|
context,
|
|
136
|
-
controlInstructions:
|
|
137
|
-
workdir:
|
|
138
|
-
approvalMode:
|
|
139
|
-
runtimeLimits:
|
|
143
|
+
controlInstructions: env.controlInstructions ?? contextControlInstructions(context),
|
|
144
|
+
workdir: env.workdir ?? plan.workdir,
|
|
145
|
+
approvalMode: env.approvalMode ?? plan.approval_mode,
|
|
146
|
+
runtimeLimits: env.runtimeLimits ?? localRuntimeLimits(plan),
|
|
140
147
|
agentConfig: {
|
|
141
148
|
workdir: plan.workdir,
|
|
142
149
|
...(plan.model ? { model: plan.model } : {}),
|
|
143
150
|
...(plan.effort ? { effort: plan.effort } : {}),
|
|
144
151
|
...(plan.provider_agent_id ? { providerAgentId: plan.provider_agent_id } : {}),
|
|
145
|
-
...
|
|
152
|
+
...env.agentConfig
|
|
146
153
|
}
|
|
147
154
|
};
|
|
148
155
|
assertInvokeRequest(request);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-executor-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
9
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
8
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.12",
|
|
9
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.12"
|
|
10
10
|
},
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
12
|
"files": [
|
|
@@ -85,7 +85,7 @@ export async function startKernelServer(options, signal) {
|
|
|
85
85
|
let ready = false;
|
|
86
86
|
// 每轮只读取一次宿主配置;复制后冻结自有快照,不冻结宿主持有的原对象。
|
|
87
87
|
const configure = (input) => {
|
|
88
|
-
const type = contextItem(input.
|
|
88
|
+
const type = contextItem(input.agentEnv, "octo.execution", "adapter")?.payload.type;
|
|
89
89
|
const config = probeOptions((options.configurations?.(typeof input.runMetadata?.runtimeId === "string" ? input.runMetadata.runtimeId : undefined) ?? options.adapterConfigurations)?.[typeof type === "string" ? type : "codex"]);
|
|
90
90
|
return (config &&
|
|
91
91
|
Object.freeze({
|
|
@@ -108,7 +108,7 @@ export async function startKernelServer(options, signal) {
|
|
|
108
108
|
let listening = false;
|
|
109
109
|
let releaseEndpoint;
|
|
110
110
|
const status = () => ({
|
|
111
|
-
ipc_version:
|
|
111
|
+
ipc_version: 2,
|
|
112
112
|
kernel_instance_id: instance,
|
|
113
113
|
pid: process.pid,
|
|
114
114
|
execution_ready: !closing && ready,
|
|
@@ -190,11 +190,14 @@ export async function startKernelServer(options, signal) {
|
|
|
190
190
|
const configuredInput = config
|
|
191
191
|
? {
|
|
192
192
|
...input,
|
|
193
|
-
|
|
194
|
-
...input.
|
|
195
|
-
|
|
196
|
-
...input.agentConfig
|
|
197
|
-
|
|
193
|
+
agentEnv: {
|
|
194
|
+
...input.agentEnv,
|
|
195
|
+
agentConfig: {
|
|
196
|
+
...input.agentEnv.agentConfig,
|
|
197
|
+
providerOptions: {
|
|
198
|
+
...input.agentEnv.agentConfig?.providerOptions,
|
|
199
|
+
...config.providerOptions
|
|
200
|
+
}
|
|
198
201
|
}
|
|
199
202
|
}
|
|
200
203
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-executor-kernel",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@mininglamp-oss/octo-runtime-client": "1.1.
|
|
14
|
-
"@mininglamp-oss/octo-runtime-executor-core": "1.1.
|
|
15
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
16
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
13
|
+
"@mininglamp-oss/octo-runtime-client": "1.1.12",
|
|
14
|
+
"@mininglamp-oss/octo-runtime-executor-core": "1.1.12",
|
|
15
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.12",
|
|
16
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.12"
|
|
17
17
|
},
|
|
18
18
|
"types": "./dist/index.d.ts",
|
|
19
19
|
"files": [
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
export { RUNTIME_RUN_CONTRACT } from "@mininglamp-oss/octo-runtime-protocol";
|
|
2
|
-
export type { RuntimeLoggingOptions
|
|
3
|
-
export * from "./extras.js";
|
|
4
|
-
export * from "./extra-config.js";
|
|
5
|
-
export * from "./context-loader.js";
|
|
6
|
-
export * from "./extra-service.js";
|
|
7
|
-
export type { ExtraExecution, ExtraExecutionContext } from "./execution.js";
|
|
2
|
+
export type { RuntimeLoggingOptions } from "@mininglamp-oss/octo-runtime-adapter-sdk";
|
|
8
3
|
export * from "./endpoint.js";
|
|
9
4
|
export * from "./home.js";
|
|
10
5
|
export * from "./identity.js";
|
|
11
|
-
export * from "./extra-commands.js";
|
|
12
6
|
export { RuntimeHomeError, normalizeRuntimeHome, validateRuntimeHome, assertRuntimePath, assertIpcEndpoint, runtimePathFailure, type StartupPathDiagnostic } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
13
7
|
export { HostRuntimeError } from "./errors.js";
|
|
14
8
|
export { STARTUP_CATALOG, describeStartupError, formatStartupDiagnostic, StartupError, type StartupDiagnostic, type StartupContext, type StartupLocation, type StartupCause } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
export { RUNTIME_RUN_CONTRACT } from "@mininglamp-oss/octo-runtime-protocol";
|
|
2
|
-
export * from "./extras.js";
|
|
3
|
-
export * from "./extra-config.js";
|
|
4
|
-
export * from "./context-loader.js";
|
|
5
|
-
export * from "./extra-service.js";
|
|
6
2
|
export * from "./endpoint.js";
|
|
7
3
|
export * from "./home.js";
|
|
8
4
|
export * from "./identity.js";
|
|
9
|
-
export * from "./extra-commands.js";
|
|
10
5
|
export { RuntimeHomeError, normalizeRuntimeHome, validateRuntimeHome, assertRuntimePath, assertIpcEndpoint, runtimePathFailure } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
11
6
|
export { HostRuntimeError } from "./errors.js";
|
|
12
7
|
export { STARTUP_CATALOG, describeStartupError, formatStartupDiagnostic, StartupError } from "@mininglamp-oss/octo-runtime-executor-kernel";
|
|
@@ -1,32 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime-host-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
|
-
"./shutdown": "./dist/shutdown.js",
|
|
8
|
-
"./extra": {
|
|
9
|
-
"types": "./dist/extras.d.ts",
|
|
10
|
-
"import": "./dist/extras.js"
|
|
11
|
-
},
|
|
12
|
-
"./extra-config": {
|
|
13
|
-
"types": "./dist/extra-config.d.ts",
|
|
14
|
-
"import": "./dist/extra-config.js"
|
|
15
|
-
},
|
|
16
7
|
".": {
|
|
17
8
|
"types": "./dist/index.d.ts",
|
|
18
9
|
"import": "./dist/index.js"
|
|
19
|
-
},
|
|
20
|
-
"./extra-commands": {
|
|
21
|
-
"types": "./dist/extra-commands.d.ts",
|
|
22
|
-
"import": "./dist/extra-commands.js"
|
|
23
10
|
}
|
|
24
11
|
},
|
|
25
12
|
"dependencies": {
|
|
26
|
-
"@mininglamp-oss/octo-runtime-
|
|
27
|
-
"@mininglamp-oss/octo-runtime-
|
|
28
|
-
"@mininglamp-oss/octo-runtime-
|
|
29
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.11"
|
|
13
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.12",
|
|
14
|
+
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.12",
|
|
15
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.12"
|
|
30
16
|
},
|
|
31
17
|
"types": "./dist/index.d.ts",
|
|
32
18
|
"files": [
|
package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts
CHANGED
|
@@ -313,6 +313,37 @@ export type ContextReferenceEntry = {
|
|
|
313
313
|
* via the `definition` "ModelInputParts".
|
|
314
314
|
*/
|
|
315
315
|
export type ModelInputParts = [ModelInputPart, ...ModelInputPart[]];
|
|
316
|
+
/**
|
|
317
|
+
* This interface was referenced by `OctoRuntimeProtocolSchema`'s JSON-Schema
|
|
318
|
+
* via the `definition` "AgentEnv".
|
|
319
|
+
*/
|
|
320
|
+
export type AgentEnv = {
|
|
321
|
+
agentConfig?: {
|
|
322
|
+
timeoutSeconds?: {
|
|
323
|
+
[k: string]: unknown;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
} & {
|
|
327
|
+
schema: "octo.context-envelope/v3";
|
|
328
|
+
/**
|
|
329
|
+
* @maxItems 32
|
|
330
|
+
*/
|
|
331
|
+
items: (ContextItem & ({
|
|
332
|
+
namespace?: "octo.execution";
|
|
333
|
+
} | {
|
|
334
|
+
namespace?: "octo.security";
|
|
335
|
+
name?: "approval_policy";
|
|
336
|
+
} | {
|
|
337
|
+
namespace?: "octo.control";
|
|
338
|
+
name?: "instructions";
|
|
339
|
+
}))[];
|
|
340
|
+
agentSource?: AgentSource;
|
|
341
|
+
workdir?: string;
|
|
342
|
+
controlInstructions?: string;
|
|
343
|
+
approvalMode?: ApprovalMode;
|
|
344
|
+
agentConfig?: AgentConfig;
|
|
345
|
+
runtimeLimits?: RuntimeLimits;
|
|
346
|
+
};
|
|
316
347
|
/**
|
|
317
348
|
* Serializable data shapes for the Octo Runtime NDJSON protocol. Runtime behavior remains hand-written in src/index.ts, and this schema is the source of truth for generated TypeScript types. The x-octo-unicode-scalar-strings semantic keyword requires every JSON string value and object member name to contain Unicode scalar values only: unpaired UTF-16 surrogates are rejected, not repaired or normalized. Consumers must enforce this protocol-wide rule even when validating a definition directly.
|
|
318
349
|
*/
|
|
@@ -615,7 +646,7 @@ export interface ServiceProcessSnapshot {
|
|
|
615
646
|
* via the `definition` "KernelStatus".
|
|
616
647
|
*/
|
|
617
648
|
export interface KernelStatus {
|
|
618
|
-
ipc_version:
|
|
649
|
+
ipc_version: 2;
|
|
619
650
|
kernel_instance_id: string;
|
|
620
651
|
pid: number;
|
|
621
652
|
execution_ready: boolean;
|
|
@@ -2966,15 +2997,8 @@ export interface InvokeInputWire {
|
|
|
2966
2997
|
prompt?: string;
|
|
2967
2998
|
modelInput?: string;
|
|
2968
2999
|
freshFallbackModelInput?: string;
|
|
2969
|
-
workdir?: string;
|
|
2970
|
-
controlInstructions?: string;
|
|
2971
3000
|
inputs: ModelInputParts;
|
|
2972
|
-
contexts: ContextEnvelope;
|
|
2973
3001
|
protocol_mode?: ProtocolMode;
|
|
2974
|
-
agentSource?: AgentSource;
|
|
2975
|
-
approvalMode?: ApprovalMode;
|
|
2976
|
-
agentConfig?: AgentConfig;
|
|
2977
|
-
runtimeLimits?: RuntimeLimits;
|
|
2978
3002
|
providerSession?: ProviderSession;
|
|
2979
3003
|
sessionGeneration?: number;
|
|
2980
3004
|
providerEpoch?: number;
|
|
@@ -2984,6 +3008,7 @@ export interface InvokeInputWire {
|
|
|
2984
3008
|
continuityMode?: "fresh" | "continue";
|
|
2985
3009
|
freshFallbackModelInputParts?: ModelInputParts;
|
|
2986
3010
|
freshFallbackImagesUnavailable?: boolean;
|
|
3011
|
+
agentEnv: AgentEnv;
|
|
2987
3012
|
[k: string]: unknown;
|
|
2988
3013
|
}
|
|
2989
3014
|
/**
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** 浏览器与 Node 入口共享图片合同;此模块不得依赖 Node 标准库。 */
|
|
2
|
+
export declare const IMAGE_INPUT_LIMITS: Readonly<{
|
|
3
|
+
maxCount: 4;
|
|
4
|
+
maxBytes: number;
|
|
5
|
+
maxTotalBytes: number;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const IMAGE_INPUT_MIME_TYPES: readonly ["image/png", "image/jpeg", "image/webp"];
|
|
8
|
+
/** 只检查协议要求的文件签名,不宣称已完成图片解码。 */
|
|
9
|
+
export declare function hasImageInputHeader(bytes: Uint8Array, mimeType: string): boolean;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** 浏览器与 Node 入口共享图片合同;此模块不得依赖 Node 标准库。 */
|
|
2
|
+
export const IMAGE_INPUT_LIMITS = Object.freeze({
|
|
3
|
+
maxCount: 4,
|
|
4
|
+
maxBytes: 2 * 1024 * 1024,
|
|
5
|
+
maxTotalBytes: 8 * 1024 * 1024
|
|
6
|
+
});
|
|
7
|
+
export const IMAGE_INPUT_MIME_TYPES = Object.freeze([
|
|
8
|
+
"image/png",
|
|
9
|
+
"image/jpeg",
|
|
10
|
+
"image/webp"
|
|
11
|
+
]);
|
|
12
|
+
/** 只检查协议要求的文件签名,不宣称已完成图片解码。 */
|
|
13
|
+
export function hasImageInputHeader(bytes, mimeType) {
|
|
14
|
+
const starts = (header, offset = 0) => header.every((value, index) => bytes[offset + index] === value);
|
|
15
|
+
return mimeType === "image/png"
|
|
16
|
+
? starts([137, 80, 78, 71, 13, 10, 26, 10])
|
|
17
|
+
: mimeType === "image/jpeg"
|
|
18
|
+
? starts([255, 216, 255])
|
|
19
|
+
: mimeType === "image/webp" && starts([82, 73, 70, 70]) && starts([87, 69, 66, 80], 8);
|
|
20
|
+
}
|
|
@@ -3,14 +3,14 @@ import type { StreamLimitPolicy } from "./stream-limits.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Public JSON invocation contract shared by CLI, SDK and channels.
|
|
5
5
|
* A plain JSON object satisfies this class structurally; `new` is not required.
|
|
6
|
-
* Only inputs and
|
|
6
|
+
* Only inputs and agentEnv are required. Defaults are resolved by the execution
|
|
7
7
|
* boundary, never by adding historical business context.
|
|
8
8
|
*/
|
|
9
9
|
export declare class InvokeInput {
|
|
10
10
|
/** Exact current-turn text/image parts, in caller order. Image bytes occur here once. */
|
|
11
11
|
inputs: ModelInputPart[];
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/** Execution-only Context v3 snapshot; an empty items array is valid. */
|
|
13
|
+
agentEnv: AgentEnv;
|
|
14
14
|
/** Business session identity; generated if omitted. Does not imply provider resume. */
|
|
15
15
|
sessionId?: string;
|
|
16
16
|
/** 调用方拥有的展示名称;省略时由 Core 提供 UUID,不参与会话恢复。 */
|
|
@@ -25,22 +25,10 @@ export declare class InvokeInput {
|
|
|
25
25
|
sessionGeneration?: number;
|
|
26
26
|
/** Caller-owned provider binding epoch; no inferred default. */
|
|
27
27
|
providerEpoch?: number;
|
|
28
|
-
/** Agent ownership: preset for OpenClaw by default, provisioned otherwise. */
|
|
29
|
-
agentSource?: AgentSource;
|
|
30
28
|
/** Display-safe description; defaults to the textual summary of inputs. */
|
|
31
29
|
prompt?: string;
|
|
32
30
|
/** Exact textual provider turn when distinct from the multipart inputs summary. */
|
|
33
31
|
modelInput?: string;
|
|
34
|
-
/** Provider cwd; defaults to the resolved workspace (local cwd when omitted). */
|
|
35
|
-
workdir?: string;
|
|
36
|
-
/** Trusted instructions, separate from model business context; derived if omitted. */
|
|
37
|
-
controlInstructions?: string;
|
|
38
|
-
/** Execution approval policy, normally resolved from contexts; defaults to ask. */
|
|
39
|
-
approvalMode?: ApprovalMode;
|
|
40
|
-
/** Full provider configuration, including providerOptions; context selections must agree. */
|
|
41
|
-
agentConfig?: AgentConfig;
|
|
42
|
-
/** Complete timeout/enforcement settings; execution defaults apply when omitted. */
|
|
43
|
-
runtimeLimits?: RuntimeLimits;
|
|
44
32
|
/** JSON metadata for tracing/business identity; not model text or authorization evidence. */
|
|
45
33
|
runMetadata?: Record<string, unknown>;
|
|
46
34
|
/** Opaque provider session, including provider extension fields; never rebuilt from sessionId. */
|
|
@@ -56,6 +44,26 @@ export declare class InvokeInput {
|
|
|
56
44
|
/** Checks the JSON boundary; resolved execution additionally uses assertInvokeRequest. */
|
|
57
45
|
static check(value: unknown): InvokeInput;
|
|
58
46
|
}
|
|
47
|
+
/** 可复用执行配置;信封格式保持 v3,业务材料必须由调用方放入 inputs。 */
|
|
48
|
+
export interface AgentEnv extends ContextEnvelope {
|
|
49
|
+
/** Agent ownership: preset for OpenClaw by default, provisioned otherwise. */
|
|
50
|
+
agentSource?: AgentSource;
|
|
51
|
+
/** Provider cwd; defaults to the resolved workspace (local cwd when omitted). */
|
|
52
|
+
workdir?: string;
|
|
53
|
+
/** Trusted instructions, separate from model business context; derived if omitted. */
|
|
54
|
+
controlInstructions?: string;
|
|
55
|
+
/** Execution approval policy, normally resolved from contexts; defaults to ask. */
|
|
56
|
+
approvalMode?: ApprovalMode;
|
|
57
|
+
/** Full provider configuration, including providerOptions; context selections must agree. */
|
|
58
|
+
agentConfig?: AgentConfig;
|
|
59
|
+
/** Complete timeout/enforcement settings; execution defaults apply when omitted. */
|
|
60
|
+
runtimeLimits?: RuntimeLimits;
|
|
61
|
+
}
|
|
62
|
+
/** 高级调用的内容与追踪信息;不包含执行环境、会话参数或本地 signal。 */
|
|
63
|
+
export type InvocationContent = Omit<InvokeInput, "inputs" | "agentEnv" | "sessionId" | "providerSession"> & {
|
|
64
|
+
parts: ModelInputPart[];
|
|
65
|
+
};
|
|
66
|
+
export type InvocationInputs = ModelInputPart[] | InvocationContent;
|
|
59
67
|
/** Local ingress execution settings, outside caller-owned JSON and Context. */
|
|
60
68
|
export interface InvokeEnvironment {
|
|
61
69
|
signal?: AbortSignal;
|
|
@@ -72,8 +80,8 @@ export declare function identifyInvokeInput(input: InvokeInput): {
|
|
|
72
80
|
sessionId: string;
|
|
73
81
|
/** Exact current-turn text/image parts, in caller order. Image bytes occur here once. */
|
|
74
82
|
inputs: ModelInputPart[];
|
|
75
|
-
/**
|
|
76
|
-
|
|
83
|
+
/** Execution-only Context v3 snapshot; an empty items array is valid. */
|
|
84
|
+
agentEnv: AgentEnv;
|
|
77
85
|
/** 调用方拥有的展示名称;省略时由 Core 提供 UUID,不参与会话恢复。 */
|
|
78
86
|
sessionName?: string;
|
|
79
87
|
/** Output view of the same execution stream; defaults to native. */
|
|
@@ -82,22 +90,10 @@ export declare function identifyInvokeInput(input: InvokeInput): {
|
|
|
82
90
|
sessionGeneration?: number;
|
|
83
91
|
/** Caller-owned provider binding epoch; no inferred default. */
|
|
84
92
|
providerEpoch?: number;
|
|
85
|
-
/** Agent ownership: preset for OpenClaw by default, provisioned otherwise. */
|
|
86
|
-
agentSource?: AgentSource;
|
|
87
93
|
/** Display-safe description; defaults to the textual summary of inputs. */
|
|
88
94
|
prompt?: string;
|
|
89
95
|
/** Exact textual provider turn when distinct from the multipart inputs summary. */
|
|
90
96
|
modelInput?: string;
|
|
91
|
-
/** Provider cwd; defaults to the resolved workspace (local cwd when omitted). */
|
|
92
|
-
workdir?: string;
|
|
93
|
-
/** Trusted instructions, separate from model business context; derived if omitted. */
|
|
94
|
-
controlInstructions?: string;
|
|
95
|
-
/** Execution approval policy, normally resolved from contexts; defaults to ask. */
|
|
96
|
-
approvalMode?: ApprovalMode;
|
|
97
|
-
/** Full provider configuration, including providerOptions; context selections must agree. */
|
|
98
|
-
agentConfig?: AgentConfig;
|
|
99
|
-
/** Complete timeout/enforcement settings; execution defaults apply when omitted. */
|
|
100
|
-
runtimeLimits?: RuntimeLimits;
|
|
101
97
|
/** JSON metadata for tracing/business identity; not model text or authorization evidence. */
|
|
102
98
|
runMetadata?: Record<string, unknown>;
|
|
103
99
|
/** Opaque provider session, including provider extension fields; never rebuilt from sessionId. */
|
|
@@ -127,3 +123,5 @@ export declare function assertInvokeInput(value: unknown): asserts value is Invo
|
|
|
127
123
|
export declare function assertSessionName(value: unknown): asserts value is string;
|
|
128
124
|
/** Lossless field reorganization of a validated prepared execution, excluding its local signal. */
|
|
129
125
|
export declare function invocationInput(request: InvokeRequest, protocol_mode?: "native" | "canonical", adapterType?: string): InvokeInput;
|
|
126
|
+
/** 执行环境只接受执行/审批/受信指令,绝不解释业务命名空间或将其渲染成提示词。 */
|
|
127
|
+
export declare function assertAgentEnv(value: unknown): asserts value is AgentEnv;
|
|
@@ -6,7 +6,7 @@ import { INVOKE_REQUEST_MAX_BYTES } from "./invoke-size.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* Public JSON invocation contract shared by CLI, SDK and channels.
|
|
8
8
|
* A plain JSON object satisfies this class structurally; `new` is not required.
|
|
9
|
-
* Only inputs and
|
|
9
|
+
* Only inputs and agentEnv are required. Defaults are resolved by the execution
|
|
10
10
|
* boundary, never by adding historical business context.
|
|
11
11
|
*/
|
|
12
12
|
export class InvokeInput {
|
|
@@ -44,14 +44,26 @@ export function assertInvokeInput(value) {
|
|
|
44
44
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
45
45
|
throw new TypeError("InvokeInput must be a JSON object");
|
|
46
46
|
const input = value;
|
|
47
|
-
if ([
|
|
47
|
+
if ([
|
|
48
|
+
"protocolMode",
|
|
49
|
+
"adapterType",
|
|
50
|
+
"request",
|
|
51
|
+
"options",
|
|
52
|
+
"contexts",
|
|
53
|
+
"agentSource",
|
|
54
|
+
"workdir",
|
|
55
|
+
"controlInstructions",
|
|
56
|
+
"approvalMode",
|
|
57
|
+
"agentConfig",
|
|
58
|
+
"runtimeLimits"
|
|
59
|
+
].some((key) => Object.hasOwn(input, key)))
|
|
48
60
|
throw new TypeError("InvokeInput requires the unified JSON contract, not a prepared request wrapper");
|
|
49
61
|
if (Object.hasOwn(input, "signal"))
|
|
50
62
|
throw new TypeError("signal belongs to the local invoke environment");
|
|
51
63
|
if (Object.hasOwn(input, "executionEnvOverrides"))
|
|
52
64
|
throw new TypeError("executionEnvOverrides belongs to the local invoke environment");
|
|
53
65
|
assertModelInputParts(input.inputs);
|
|
54
|
-
|
|
66
|
+
assertAgentEnv(input.agentEnv);
|
|
55
67
|
if (input.sessionName !== undefined)
|
|
56
68
|
assertSessionName(input.sessionName);
|
|
57
69
|
for (const key of [
|
|
@@ -64,9 +76,6 @@ export function assertInvokeInput(value) {
|
|
|
64
76
|
])
|
|
65
77
|
if (input[key] !== undefined && (typeof input[key] !== "string" || !input[key]))
|
|
66
78
|
throw new TypeError(`InvokeInput.${key} must be a non-empty string`);
|
|
67
|
-
for (const key of ["workdir", "controlInstructions"])
|
|
68
|
-
if (input[key] !== undefined && typeof input[key] !== "string")
|
|
69
|
-
throw new TypeError(`InvokeInput.${key} must be a string`);
|
|
70
79
|
for (const key of ["sessionGeneration", "providerEpoch"])
|
|
71
80
|
if (input[key] !== undefined &&
|
|
72
81
|
(!Number.isSafeInteger(input[key]) || input[key] < 0))
|
|
@@ -74,46 +83,18 @@ export function assertInvokeInput(value) {
|
|
|
74
83
|
if (input.protocol_mode !== undefined &&
|
|
75
84
|
!["native", "canonical"].includes(input.protocol_mode))
|
|
76
85
|
throw new TypeError("protocol_mode must be native or canonical");
|
|
77
|
-
if (input.agentSource !== undefined)
|
|
78
|
-
assertAgentSource(input.agentSource);
|
|
79
|
-
if (input.approvalMode !== undefined)
|
|
80
|
-
assertApprovalMode(input.approvalMode);
|
|
81
86
|
if (input.continuityMode !== undefined &&
|
|
82
87
|
!["fresh", "continue"].includes(input.continuityMode))
|
|
83
88
|
throw new TypeError("continuityMode must be fresh or continue");
|
|
84
|
-
if (input.runtimeLimits !== undefined)
|
|
85
|
-
assertRuntimeLimits(input.runtimeLimits);
|
|
86
89
|
if (input.freshFallbackModelInputParts !== undefined)
|
|
87
90
|
assertModelInputParts(input.freshFallbackModelInputParts);
|
|
88
91
|
if (input.freshFallbackImagesUnavailable !== undefined &&
|
|
89
92
|
typeof input.freshFallbackImagesUnavailable !== "boolean")
|
|
90
93
|
throw new TypeError("freshFallbackImagesUnavailable must be a boolean");
|
|
91
|
-
for (const key of ["
|
|
94
|
+
for (const key of ["runMetadata", "providerSession"])
|
|
92
95
|
if (input[key] !== undefined &&
|
|
93
96
|
(!input[key] || typeof input[key] !== "object" || Array.isArray(input[key])))
|
|
94
97
|
throw new TypeError(`InvokeInput.${key} must be a JSON object`);
|
|
95
|
-
if (input.agentConfig) {
|
|
96
|
-
const config = input.agentConfig;
|
|
97
|
-
for (const key of [
|
|
98
|
-
"workdir",
|
|
99
|
-
"model",
|
|
100
|
-
"sandbox",
|
|
101
|
-
"providerAgentId",
|
|
102
|
-
"effort",
|
|
103
|
-
"openclawConfigPath",
|
|
104
|
-
"openclawStateDir"
|
|
105
|
-
])
|
|
106
|
-
if (config[key] !== undefined && typeof config[key] !== "string")
|
|
107
|
-
throw new TypeError(`agentConfig.${key} must be a string`);
|
|
108
|
-
if (config.timeoutSeconds !== undefined &&
|
|
109
|
-
(typeof config.timeoutSeconds !== "number" || config.timeoutSeconds <= 0))
|
|
110
|
-
throw new TypeError("agentConfig.timeoutSeconds must be positive");
|
|
111
|
-
if (config.providerOptions !== undefined &&
|
|
112
|
-
(!config.providerOptions ||
|
|
113
|
-
typeof config.providerOptions !== "object" ||
|
|
114
|
-
Array.isArray(config.providerOptions)))
|
|
115
|
-
throw new TypeError("agentConfig.providerOptions must be a JSON object");
|
|
116
|
-
}
|
|
117
98
|
if (input.providerSession) {
|
|
118
99
|
const session = input.providerSession;
|
|
119
100
|
if (typeof session.sessionId !== "string" || !session.sessionId.trim())
|
|
@@ -146,7 +127,7 @@ export function assertSessionName(value) {
|
|
|
146
127
|
}
|
|
147
128
|
/** Lossless field reorganization of a validated prepared execution, excluding its local signal. */
|
|
148
129
|
export function invocationInput(request, protocol_mode = "native", adapterType) {
|
|
149
|
-
const { protocolVersion: _version, signal: _signal, executionEnvOverrides: _executionEnvOverrides, agentSessionId, context, modelInputParts, ...fields } = request;
|
|
130
|
+
const { protocolVersion: _version, signal: _signal, executionEnvOverrides: _executionEnvOverrides, agentSessionId, context, agentSource, workdir, controlInstructions, approvalMode, agentConfig, runtimeLimits, modelInputParts, ...fields } = request;
|
|
150
131
|
void _version;
|
|
151
132
|
void _signal;
|
|
152
133
|
void _executionEnvOverrides;
|
|
@@ -170,8 +151,76 @@ export function invocationInput(request, protocol_mode = "native", adapterType)
|
|
|
170
151
|
return InvokeInput.check({
|
|
171
152
|
...fields,
|
|
172
153
|
sessionId: agentSessionId,
|
|
173
|
-
|
|
154
|
+
agentEnv: Object.fromEntries(Object.entries({
|
|
155
|
+
...contexts,
|
|
156
|
+
agentSource,
|
|
157
|
+
workdir,
|
|
158
|
+
controlInstructions,
|
|
159
|
+
approvalMode,
|
|
160
|
+
agentConfig,
|
|
161
|
+
runtimeLimits
|
|
162
|
+
}).filter(([, value]) => value !== undefined)),
|
|
174
163
|
protocol_mode,
|
|
175
164
|
inputs: modelInputParts ?? [{ type: "text", text: request.modelInput }]
|
|
176
165
|
});
|
|
177
166
|
}
|
|
167
|
+
/** 执行环境只接受执行/审批/受信指令,绝不解释业务命名空间或将其渲染成提示词。 */
|
|
168
|
+
export function assertAgentEnv(value) {
|
|
169
|
+
assertJsonByteLimit(value, INVOKE_REQUEST_MAX_BYTES, "INVOKE_REQUEST_TOO_LARGE");
|
|
170
|
+
assertJsonValue(value);
|
|
171
|
+
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
172
|
+
throw new TypeError("agentEnv must be an execution envelope");
|
|
173
|
+
const env = value;
|
|
174
|
+
assertContextEnvelope({ schema: env.schema, items: env.items });
|
|
175
|
+
const allowed = new Set([
|
|
176
|
+
"schema",
|
|
177
|
+
"items",
|
|
178
|
+
"agentSource",
|
|
179
|
+
"workdir",
|
|
180
|
+
"controlInstructions",
|
|
181
|
+
"approvalMode",
|
|
182
|
+
"agentConfig",
|
|
183
|
+
"runtimeLimits"
|
|
184
|
+
]);
|
|
185
|
+
if (Object.keys(env).some((key) => !allowed.has(key)))
|
|
186
|
+
throw new TypeError("agentEnv contains an unknown execution setting");
|
|
187
|
+
for (const item of env.items)
|
|
188
|
+
if (!(item.namespace === "octo.execution" ||
|
|
189
|
+
(item.namespace === "octo.security" && item.name === "approval_policy") ||
|
|
190
|
+
(item.namespace === "octo.control" && item.name === "instructions")))
|
|
191
|
+
throw new TypeError("agentEnv cannot contain business context; prepare inputs in the application");
|
|
192
|
+
for (const key of ["workdir", "controlInstructions"])
|
|
193
|
+
if (env[key] !== undefined && typeof env[key] !== "string")
|
|
194
|
+
throw new TypeError(`agentEnv.${key} must be a string`);
|
|
195
|
+
if (env.agentSource !== undefined)
|
|
196
|
+
assertAgentSource(env.agentSource);
|
|
197
|
+
if (env.approvalMode !== undefined)
|
|
198
|
+
assertApprovalMode(env.approvalMode);
|
|
199
|
+
if (env.runtimeLimits !== undefined)
|
|
200
|
+
assertRuntimeLimits(env.runtimeLimits);
|
|
201
|
+
if (env.agentConfig !== undefined &&
|
|
202
|
+
(!env.agentConfig || typeof env.agentConfig !== "object" || Array.isArray(env.agentConfig)))
|
|
203
|
+
throw new TypeError("agentEnv.agentConfig must be a JSON object");
|
|
204
|
+
if (env.agentConfig) {
|
|
205
|
+
const config = env.agentConfig;
|
|
206
|
+
for (const key of [
|
|
207
|
+
"workdir",
|
|
208
|
+
"model",
|
|
209
|
+
"sandbox",
|
|
210
|
+
"providerAgentId",
|
|
211
|
+
"effort",
|
|
212
|
+
"openclawConfigPath",
|
|
213
|
+
"openclawStateDir"
|
|
214
|
+
])
|
|
215
|
+
if (config[key] !== undefined && typeof config[key] !== "string")
|
|
216
|
+
throw new TypeError(`agentConfig.${key} must be a string`);
|
|
217
|
+
if (config.timeoutSeconds !== undefined &&
|
|
218
|
+
(typeof config.timeoutSeconds !== "number" || config.timeoutSeconds <= 0))
|
|
219
|
+
throw new TypeError("agentConfig.timeoutSeconds must be positive");
|
|
220
|
+
if (config.providerOptions !== undefined &&
|
|
221
|
+
(!config.providerOptions ||
|
|
222
|
+
typeof config.providerOptions !== "object" ||
|
|
223
|
+
Array.isArray(config.providerOptions)))
|
|
224
|
+
throw new TypeError("agentConfig.providerOptions must be a JSON object");
|
|
225
|
+
}
|
|
226
|
+
}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import type { InvokeRequestWire, ModelInputPart } from "./generated/protocol-types.js";
|
|
2
|
-
export
|
|
3
|
-
maxCount: 4;
|
|
4
|
-
maxBytes: number;
|
|
5
|
-
maxTotalBytes: number;
|
|
6
|
-
}>;
|
|
7
|
-
export declare const IMAGE_INPUT_MIME_TYPES: readonly ["image/png", "image/jpeg", "image/webp"];
|
|
2
|
+
export { IMAGE_INPUT_LIMITS, IMAGE_INPUT_MIME_TYPES } from "./image-input.js";
|
|
8
3
|
export declare function assertModelInputParts(value: unknown): asserts value is ModelInputPart[];
|
|
9
4
|
/** Never fall back to the display string when an invocation contains images. */
|
|
10
5
|
export declare function providerInputParts(request: InvokeRequestWire, freshFallback?: boolean): ModelInputPart[];
|