@mininglamp-oss/octo-runtime 1.1.6 → 1.1.8
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/apps/cli/dist/build-info.json +2 -2
- package/dist/public/dsh.d.ts +1 -1
- package/dist/public/dsh.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/dist/index.d.ts +9 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +17 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.d.ts +20 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.d.ts +32 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.d.ts +16 -2
- 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 +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/index.d.ts +32 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-IW62UM3C.js → chunk-CFKMMCO6.js} +5 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-FWAPYRV2.js → chunk-LO34KB7D.js} +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/{chunk-3GXX5VD5.js → chunk-V5W6ZTYC.js} +14 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.d.ts +4 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/errors.js +3 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.d.ts +17 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/index.js +8 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-dsh/dist/launch.d.ts +1 -0
- 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 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/adapter.d.ts +9 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/dist/index.d.ts +10 -6
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-grok-build/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +9 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +9 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +9 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/compatibility.d.ts +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/compatibility.js +12 -40
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.d.ts +22 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +422 -135
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.d.ts +6 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +9 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +9 -1
- 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 +19 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +8 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/public-display.js +22 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +20 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +14 -1
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/index.d.ts +20 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +24 -24
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/runner.d.ts +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/runner.js +102 -52
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.js +8 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +5 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.d.ts +4 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/index.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.js +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +9 -6
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +8 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +17 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +22 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/history-context.js +27 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +447 -241
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +5 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +42 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/stable-context.js +28 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +17 -7
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.d.ts +4 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifact-policy.js +12 -9
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/artifacts.js +7 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +29 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.d.ts +15 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/identity.js +36 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.d.ts +2 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/scheduler.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/send-error.js +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.d.ts +5 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +36 -22
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +14 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/configuration.js +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.d.ts +5 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +265 -38
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/cards.js +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/client.js +19 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +3 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +4 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.d.ts +0 -12
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/errors.js +5 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.d.ts +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/files.js +8 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/messages.js +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +5 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +76 -20
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +19 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +197 -66
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connection-error.js +2 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.d.ts +5 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/connector.js +52 -36
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +2 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +53 -82
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.d.ts +12 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-content.js +133 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.d.ts +21 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/history-messages.js +76 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.d.ts +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/mentions.js +0 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.d.ts +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-identities.js +74 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.d.ts +4 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-time.js +19 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.d.ts +7 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/message-trigger.js +90 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +44 -9
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/retry-after.js +60 -0
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +0 -10
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +19 -127
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +6 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +10 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +14 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/transport/channel.js +2 -3
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/{index-CXTvRGim.js → index-B127MhT-.js} +10 -9
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.d.ts +3 -2
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/context-loader.js +11 -4
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/context.js +8 -1
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +9 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +14 -0
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +314 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +680 -0
- package/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +577 -0
- package/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +93 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +17 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/package.json +33 -27
- package/packages/octo-runtime-extra-channel-gateway/config-schema.json +8 -1
- package/packages/octo-runtime-protocol/schema/protocol.schema.json +43 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.d.ts +0 -19
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.js +0 -86
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/delivery-notice.d.ts +0 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/delivery-notice.js +0 -35
|
@@ -937,7 +937,7 @@
|
|
|
937
937
|
"ContextItem": {
|
|
938
938
|
"title": "ContextItem",
|
|
939
939
|
"description": "Open Context item. Built-in types retain their payload contracts; unknown optional types are preserved and ignored by unsupported consumers.",
|
|
940
|
-
"tsType": "{ namespace: string; name: string; guidance?: string; payload: Record<string, unknown> }",
|
|
940
|
+
"tsType": "{ namespace: string; name: string; guidance?: string; data_format?: 'text'; payload: Record<string, unknown> }",
|
|
941
941
|
"type": "object",
|
|
942
942
|
"additionalProperties": false,
|
|
943
943
|
"required": ["namespace", "name", "payload"],
|
|
@@ -960,9 +960,27 @@
|
|
|
960
960
|
"guidance": {
|
|
961
961
|
"type": "string",
|
|
962
962
|
"description": "Producer-authored context guidance, rendered as ordinary model input."
|
|
963
|
+
},
|
|
964
|
+
"data_format": {
|
|
965
|
+
"const": "text",
|
|
966
|
+
"description": "Explicit extra.* text rendering; payload must contain only a text string. Omit for complete JSON rendering."
|
|
963
967
|
}
|
|
964
968
|
},
|
|
965
969
|
"allOf": [
|
|
970
|
+
{
|
|
971
|
+
"if": { "required": ["data_format"] },
|
|
972
|
+
"then": {
|
|
973
|
+
"properties": {
|
|
974
|
+
"namespace": { "pattern": "^extra\\." },
|
|
975
|
+
"payload": {
|
|
976
|
+
"type": "object",
|
|
977
|
+
"required": ["text"],
|
|
978
|
+
"additionalProperties": false,
|
|
979
|
+
"properties": { "text": { "type": "string" } }
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
},
|
|
966
984
|
{
|
|
967
985
|
"if": {
|
|
968
986
|
"properties": {
|
|
@@ -3476,6 +3494,18 @@
|
|
|
3476
3494
|
"description": "Long-lived Agent Worker session identifier for this execution context.",
|
|
3477
3495
|
"type": "string"
|
|
3478
3496
|
},
|
|
3497
|
+
"sessionName": {
|
|
3498
|
+
"description": "Caller-owned nonblank display name of 1-256 Unicode code points, without C0/DEL/C1 controls; independent of business identity and opaque provider recovery handles.",
|
|
3499
|
+
"type": "string",
|
|
3500
|
+
"minLength": 1,
|
|
3501
|
+
"maxLength": 256,
|
|
3502
|
+
"not": {
|
|
3503
|
+
"anyOf": [
|
|
3504
|
+
{ "pattern": "[\\x00-\\x1f\\x7f-\\x9f]" },
|
|
3505
|
+
{ "pattern": "^[ \u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]*$" }
|
|
3506
|
+
]
|
|
3507
|
+
}
|
|
3508
|
+
},
|
|
3479
3509
|
"runId": {
|
|
3480
3510
|
"description": "Run identifier for this execution.",
|
|
3481
3511
|
"type": "string"
|
|
@@ -4121,6 +4151,18 @@
|
|
|
4121
4151
|
"additionalProperties": true,
|
|
4122
4152
|
"required": ["inputs", "contexts"],
|
|
4123
4153
|
"properties": {
|
|
4154
|
+
"sessionName": {
|
|
4155
|
+
"description": "Optional caller-owned nonblank display name of 1-256 Unicode code points, without C0/DEL/C1 controls; Core supplies a random UUID default without business naming policy.",
|
|
4156
|
+
"type": "string",
|
|
4157
|
+
"minLength": 1,
|
|
4158
|
+
"maxLength": 256,
|
|
4159
|
+
"not": {
|
|
4160
|
+
"anyOf": [
|
|
4161
|
+
{ "pattern": "[\\x00-\\x1f\\x7f-\\x9f]" },
|
|
4162
|
+
{ "pattern": "^[ \u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]*$" }
|
|
4163
|
+
]
|
|
4164
|
+
}
|
|
4165
|
+
},
|
|
4124
4166
|
"sessionId": {
|
|
4125
4167
|
"type": "string",
|
|
4126
4168
|
"minLength": 1
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/** WS 逻辑消息的确认窗口;不重连、不重新执行模型。 */
|
|
2
|
-
export declare class ImSendError extends Error {
|
|
3
|
-
readonly code: string;
|
|
4
|
-
readonly state: "failed" | "unknown";
|
|
5
|
-
constructor(code: string, state: "failed" | "unknown");
|
|
6
|
-
}
|
|
7
|
-
/** F27:.octospec/tasks/gateway-august-feature-assessment/assessment.md */
|
|
8
|
-
export declare class ImTextSend {
|
|
9
|
-
#private;
|
|
10
|
-
readonly send: () => void;
|
|
11
|
-
readonly finish: (state: "delivered" | "failed" | "unknown") => void;
|
|
12
|
-
readonly signal: AbortSignal;
|
|
13
|
-
readonly result: Promise<string>;
|
|
14
|
-
constructor(send: () => void, finish: (state: "delivered" | "failed" | "unknown") => void, signal: AbortSignal);
|
|
15
|
-
start(): void;
|
|
16
|
-
ack(id: string, reason: number): void;
|
|
17
|
-
fail(code: string): void;
|
|
18
|
-
disconnected(): void;
|
|
19
|
-
}
|
package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/text-send.js
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/** WS 逻辑消息的确认窗口;不重连、不重新执行模型。 */
|
|
2
|
-
export class ImSendError extends Error {
|
|
3
|
-
code;
|
|
4
|
-
state;
|
|
5
|
-
constructor(code, state) {
|
|
6
|
-
super(code);
|
|
7
|
-
this.code = code;
|
|
8
|
-
this.state = state;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
/** F27:.octospec/tasks/gateway-august-feature-assessment/assessment.md */
|
|
12
|
-
export class ImTextSend {
|
|
13
|
-
send;
|
|
14
|
-
finish;
|
|
15
|
-
signal;
|
|
16
|
-
#timer;
|
|
17
|
-
#attempt = 0;
|
|
18
|
-
#unknown = false;
|
|
19
|
-
#settled = false;
|
|
20
|
-
#resolve;
|
|
21
|
-
#reject;
|
|
22
|
-
result = new Promise((resolve, reject) => {
|
|
23
|
-
this.#resolve = resolve;
|
|
24
|
-
this.#reject = reject;
|
|
25
|
-
});
|
|
26
|
-
constructor(send, finish, signal) {
|
|
27
|
-
this.send = send;
|
|
28
|
-
this.finish = finish;
|
|
29
|
-
this.signal = signal;
|
|
30
|
-
}
|
|
31
|
-
start() {
|
|
32
|
-
this.signal.addEventListener("abort", this.#abort, { once: true });
|
|
33
|
-
if (this.signal.aborted)
|
|
34
|
-
this.#abort();
|
|
35
|
-
else
|
|
36
|
-
this.#send();
|
|
37
|
-
}
|
|
38
|
-
ack(id, reason) {
|
|
39
|
-
if (this.#settled)
|
|
40
|
-
return;
|
|
41
|
-
if (reason === 1) {
|
|
42
|
-
this.#settle("delivered");
|
|
43
|
-
this.#resolve(id);
|
|
44
|
-
}
|
|
45
|
-
else
|
|
46
|
-
this.fail(`IM_SEND_REJECTED_${reason}`);
|
|
47
|
-
}
|
|
48
|
-
fail(code) {
|
|
49
|
-
if (this.#settled)
|
|
50
|
-
return;
|
|
51
|
-
const state = this.#unknown ? "unknown" : "failed";
|
|
52
|
-
this.#settle(state);
|
|
53
|
-
this.#reject(new ImSendError(code, state));
|
|
54
|
-
}
|
|
55
|
-
disconnected() {
|
|
56
|
-
if (this.#attempt)
|
|
57
|
-
this.#unknown = true;
|
|
58
|
-
this.fail("IM_DISCONNECTED");
|
|
59
|
-
}
|
|
60
|
-
#abort = () => this.fail("IM_DELIVERY_CANCELLED");
|
|
61
|
-
#send() {
|
|
62
|
-
if (this.#settled)
|
|
63
|
-
return;
|
|
64
|
-
this.#attempt++;
|
|
65
|
-
this.#timer = setTimeout(() => {
|
|
66
|
-
this.#unknown = true;
|
|
67
|
-
const delay = [1000, 5000, 10000][this.#attempt - 1];
|
|
68
|
-
if (delay === undefined)
|
|
69
|
-
this.fail("IM_SEND_TIMEOUT");
|
|
70
|
-
else
|
|
71
|
-
this.#timer = setTimeout(() => this.#send(), delay);
|
|
72
|
-
}, 15_000);
|
|
73
|
-
try {
|
|
74
|
-
this.send();
|
|
75
|
-
}
|
|
76
|
-
catch (error) {
|
|
77
|
-
this.fail(error instanceof ImSendError ? error.code : "IM_SEND_FAILED");
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
#settle(state) {
|
|
81
|
-
this.#settled = true;
|
|
82
|
-
clearTimeout(this.#timer);
|
|
83
|
-
this.signal.removeEventListener("abort", this.#abort);
|
|
84
|
-
this.finish(state);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** 投递诊断投影为独立消息,不向原执行流追加虚假失败终态。 */
|
|
2
|
-
import { type CanonicalEvent } from "@mininglamp-oss/octo-runtime-protocol";
|
|
3
|
-
export declare function deliveryNotice(): CanonicalEvent<"message.create">;
|
|
4
|
-
/** F27:.octospec/tasks/gateway-august-feature-assessment/assessment.md */
|
|
5
|
-
export declare function deliveryNoticeCard(event: CanonicalEvent): Record<string, unknown>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/** 投递诊断投影为独立消息,不向原执行流追加虚假失败终态。 */
|
|
2
|
-
import { failurePayload } from "@mininglamp-oss/octo-runtime-protocol";
|
|
3
|
-
export function deliveryNotice() {
|
|
4
|
-
const { failure, message } = failurePayload({ code: "IM_DELIVERY_UNKNOWN" }, {
|
|
5
|
-
stage: "channel_delivery",
|
|
6
|
-
defaultDomain: "runtime",
|
|
7
|
-
source: { component: "octo-runtime" }
|
|
8
|
-
});
|
|
9
|
-
return {
|
|
10
|
-
protocolVersion: 2,
|
|
11
|
-
type: "message.create",
|
|
12
|
-
payload: { role: "system", status: "delivery_unknown", text: String(message), failure }
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
/** F27:.octospec/tasks/gateway-august-feature-assessment/assessment.md */
|
|
16
|
-
export function deliveryNoticeCard(event) {
|
|
17
|
-
const { failure, text } = event.payload;
|
|
18
|
-
if (event.type !== "message.create" ||
|
|
19
|
-
event.payload.status !== "delivery_unknown" ||
|
|
20
|
-
failure?.stage !== "channel_delivery")
|
|
21
|
-
throw Error("IM_DELIVERY_NOTICE_INVALID");
|
|
22
|
-
return {
|
|
23
|
-
type: "AdaptiveCard",
|
|
24
|
-
version: "1.5",
|
|
25
|
-
body: [
|
|
26
|
-
{ type: "TextBlock", text: "回复送达结果未知", weight: "Bolder", wrap: true },
|
|
27
|
-
{ type: "TextBlock", text, wrap: true },
|
|
28
|
-
{
|
|
29
|
-
type: "TextBlock",
|
|
30
|
-
text: `错误码:${failure.code}\n诊断编号:${failure.diagnosticId}`,
|
|
31
|
-
wrap: true
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
};
|
|
35
|
-
}
|