@ai-agent-forge/agent-forge 0.86.6 → 0.87.0
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/CHANGELOG.md +19 -1
- package/README.md +8 -9
- package/dist/artifacts/artifact-store.d.ts.map +1 -1
- package/dist/artifacts/artifact-store.js +9 -5
- package/dist/artifacts/artifact-store.js.map +1 -1
- package/dist/bundle/.build-manifest.json +410 -371
- package/dist/bundle/chunks/{chunk-A7GUOX2H.js → chunk-6ZKDNZHA.js} +5 -1
- package/dist/bundle/chunks/chunk-BFC2BDVJ.js +13 -0
- package/dist/bundle/chunks/chunk-MOHOLL3F.js +1456 -0
- package/dist/bundle/chunks/image-resize-worker.js +12 -1
- package/dist/bundle/chunks/{virtual-modules-3IZ4MYSQ.js → virtual-modules-KZ5DRH7Q.js} +1 -1
- package/dist/bundle/cli.js +1 -1
- package/dist/bundle/client.js +1 -1
- package/dist/bundle/index.js +2 -2
- package/dist/bundle/rpc-entry.js +1 -1
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +231 -185
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/auth-check.d.ts.map +1 -1
- package/dist/cli/auth-check.js +3 -2
- package/dist/cli/auth-check.js.map +1 -1
- package/dist/cli/auth-command.d.ts.map +1 -1
- package/dist/cli/auth-command.js +15 -9
- package/dist/cli/auth-command.js.map +1 -1
- package/dist/cli/credential-print.d.ts.map +1 -1
- package/dist/cli/credential-print.js +14 -7
- package/dist/cli/credential-print.js.map +1 -1
- package/dist/cli/experimental/command.d.ts.map +1 -1
- package/dist/cli/experimental/command.js +6 -5
- package/dist/cli/experimental/command.js.map +1 -1
- package/dist/cli/list-models.d.ts.map +1 -1
- package/dist/cli/list-models.js +9 -8
- package/dist/cli/list-models.js.map +1 -1
- package/dist/cli/plugin-manager-controller.d.ts.map +1 -1
- package/dist/cli/plugin-manager-controller.js +2 -1
- package/dist/cli/plugin-manager-controller.js.map +1 -1
- package/dist/cli/serve.d.ts.map +1 -1
- package/dist/cli/serve.js +8 -5
- package/dist/cli/serve.js.map +1 -1
- package/dist/client/remote-session.d.ts.map +1 -1
- package/dist/client/remote-session.js +16 -9
- package/dist/client/remote-session.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/core/agent-capability-contract.d.ts +0 -7
- package/dist/core/agent-capability-contract.d.ts.map +1 -1
- package/dist/core/agent-capability-contract.js +72 -68
- package/dist/core/agent-capability-contract.js.map +1 -1
- package/dist/core/agent-session-bash.d.ts.map +1 -1
- package/dist/core/agent-session-bash.js +5 -4
- package/dist/core/agent-session-bash.js.map +1 -1
- package/dist/core/agent-session-compaction.d.ts.map +1 -1
- package/dist/core/agent-session-compaction.js +28 -22
- package/dist/core/agent-session-compaction.js.map +1 -1
- package/dist/core/agent-session-context.d.ts.map +1 -1
- package/dist/core/agent-session-context.js +18 -13
- package/dist/core/agent-session-context.js.map +1 -1
- package/dist/core/agent-session-model.d.ts.map +1 -1
- package/dist/core/agent-session-model.js +2 -1
- package/dist/core/agent-session-model.js.map +1 -1
- package/dist/core/agent-session-retry.d.ts.map +1 -1
- package/dist/core/agent-session-retry.js +3 -2
- package/dist/core/agent-session-retry.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +7 -6
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-services.d.ts +1 -1
- package/dist/core/agent-session-services.d.ts.map +1 -1
- package/dist/core/agent-session-services.js.map +1 -1
- package/dist/core/agent-session-tools.d.ts.map +1 -1
- package/dist/core/agent-session-tools.js +3 -2
- package/dist/core/agent-session-tools.js.map +1 -1
- package/dist/core/agent-session.d.ts +40 -2
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +142 -34
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/auth-guidance.d.ts.map +1 -1
- package/dist/core/auth-guidance.js +11 -5
- package/dist/core/auth-guidance.js.map +1 -1
- package/dist/core/auth-storage.d.ts.map +1 -1
- package/dist/core/auth-storage.js +9 -6
- package/dist/core/auth-storage.js.map +1 -1
- package/dist/core/compaction/compaction.d.ts.map +1 -1
- package/dist/core/compaction/compaction.js +2 -1
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/embedded-sdk.d.ts.map +1 -1
- package/dist/core/embedded-sdk.js +10 -6
- package/dist/core/embedded-sdk.js.map +1 -1
- package/dist/core/export-html/index.d.ts.map +1 -1
- package/dist/core/export-html/index.js +9 -4
- package/dist/core/export-html/index.js.map +1 -1
- package/dist/core/extensions/agent-composition.d.ts.map +1 -1
- package/dist/core/extensions/agent-composition.js +26 -19
- package/dist/core/extensions/agent-composition.js.map +1 -1
- package/dist/core/extensions/bootstrap-agent-loop.d.ts.map +1 -1
- package/dist/core/extensions/bootstrap-agent-loop.js +3 -2
- package/dist/core/extensions/bootstrap-agent-loop.js.map +1 -1
- package/dist/core/extensions/bootstrap-lifecycle.d.ts.map +1 -1
- package/dist/core/extensions/bootstrap-lifecycle.js +20 -17
- package/dist/core/extensions/bootstrap-lifecycle.js.map +1 -1
- package/dist/core/extensions/bootstrap-overflow-policy.d.ts.map +1 -1
- package/dist/core/extensions/bootstrap-overflow-policy.js +2 -1
- package/dist/core/extensions/bootstrap-overflow-policy.js.map +1 -1
- package/dist/core/extensions/bootstrap-retry-policy.d.ts.map +1 -1
- package/dist/core/extensions/bootstrap-retry-policy.js +2 -1
- package/dist/core/extensions/bootstrap-retry-policy.js.map +1 -1
- package/dist/core/extensions/bootstrap-skills.d.ts.map +1 -1
- package/dist/core/extensions/bootstrap-skills.js +7 -6
- package/dist/core/extensions/bootstrap-skills.js.map +1 -1
- package/dist/core/extensions/bootstrap-tools.d.ts.map +1 -1
- package/dist/core/extensions/bootstrap-tools.js +2 -1
- package/dist/core/extensions/bootstrap-tools.js.map +1 -1
- package/dist/core/extensions/capability-plugin.d.ts.map +1 -1
- package/dist/core/extensions/capability-plugin.js +37 -13
- package/dist/core/extensions/capability-plugin.js.map +1 -1
- package/dist/core/extensions/capability-runtime-events.d.ts.map +1 -1
- package/dist/core/extensions/capability-runtime-events.js +17 -13
- package/dist/core/extensions/capability-runtime-events.js.map +1 -1
- package/dist/core/extensions/capability-runtime-guards.d.ts.map +1 -1
- package/dist/core/extensions/capability-runtime-guards.js +16 -15
- package/dist/core/extensions/capability-runtime-guards.js.map +1 -1
- package/dist/core/extensions/capability-runtime-manifest.d.ts.map +1 -1
- package/dist/core/extensions/capability-runtime-manifest.js +52 -30
- package/dist/core/extensions/capability-runtime-manifest.js.map +1 -1
- package/dist/core/extensions/capability-runtime-validation.d.ts.map +1 -1
- package/dist/core/extensions/capability-runtime-validation.js +66 -65
- package/dist/core/extensions/capability-runtime-validation.js.map +1 -1
- package/dist/core/extensions/capability-runtime.d.ts.map +1 -1
- package/dist/core/extensions/capability-runtime.js +147 -127
- package/dist/core/extensions/capability-runtime.js.map +1 -1
- package/dist/core/extensions/compaction-memory-failure-mode.d.ts.map +1 -1
- package/dist/core/extensions/compaction-memory-failure-mode.js +3 -2
- package/dist/core/extensions/compaction-memory-failure-mode.js.map +1 -1
- package/dist/core/extensions/context-strategy-binding.d.ts.map +1 -1
- package/dist/core/extensions/context-strategy-binding.js +7 -4
- package/dist/core/extensions/context-strategy-binding.js.map +1 -1
- package/dist/core/extensions/lifecycle-catalog.d.ts.map +1 -1
- package/dist/core/extensions/lifecycle-catalog.js +290 -279
- package/dist/core/extensions/lifecycle-catalog.js.map +1 -1
- package/dist/core/extensions/lifecycle-delivery-queue.d.ts.map +1 -1
- package/dist/core/extensions/lifecycle-delivery-queue.js +3 -2
- package/dist/core/extensions/lifecycle-delivery-queue.js.map +1 -1
- package/dist/core/facade/coding-agent-facade.d.ts +6 -0
- package/dist/core/facade/coding-agent-facade.d.ts.map +1 -1
- package/dist/core/facade/coding-agent-facade.js +2 -0
- package/dist/core/facade/coding-agent-facade.js.map +1 -1
- package/dist/core/http-dispatcher.d.ts.map +1 -1
- package/dist/core/http-dispatcher.js +2 -1
- package/dist/core/http-dispatcher.js.map +1 -1
- package/dist/core/i18n/index.d.ts +14 -0
- package/dist/core/i18n/index.d.ts.map +1 -0
- package/dist/core/i18n/index.js +67 -0
- package/dist/core/i18n/index.js.map +1 -0
- package/dist/core/i18n/locales/en/example.d.ts +7 -0
- package/dist/core/i18n/locales/en/example.d.ts.map +1 -0
- package/dist/core/i18n/locales/en/example.js +7 -0
- package/dist/core/i18n/locales/en/example.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/cli.d.ts +8 -0
- package/dist/core/i18n/locales/zh-cn/cli.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/cli.js +227 -0
- package/dist/core/i18n/locales/zh-cn/cli.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/common.d.ts +6 -0
- package/dist/core/i18n/locales/zh-cn/common.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/common.js +6 -0
- package/dist/core/i18n/locales/zh-cn/common.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-core.d.ts +13 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-core.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-core.js +173 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-core.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-extensions.d.ts +12 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-extensions.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-extensions.js +582 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-extensions.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-final.d.ts +9 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-final.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-final.js +55 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-final.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-plugins.d.ts +11 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-plugins.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-plugins.js +455 -0
- package/dist/core/i18n/locales/zh-cn/core-contract-plugins.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-errors.d.ts +9 -0
- package/dist/core/i18n/locales/zh-cn/core-errors.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/core-errors.js +191 -0
- package/dist/core/i18n/locales/zh-cn/core-errors.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/example.d.ts +7 -0
- package/dist/core/i18n/locales/zh-cn/example.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/example.js +10 -0
- package/dist/core/i18n/locales/zh-cn/example.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/index.d.ts +2 -0
- package/dist/core/i18n/locales/zh-cn/index.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/index.js +41 -0
- package/dist/core/i18n/locales/zh-cn/index.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/interactive-mode.d.ts +10 -0
- package/dist/core/i18n/locales/zh-cn/interactive-mode.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/interactive-mode.js +265 -0
- package/dist/core/i18n/locales/zh-cn/interactive-mode.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/keybindings.d.ts +11 -0
- package/dist/core/i18n/locales/zh-cn/keybindings.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/keybindings.js +67 -0
- package/dist/core/i18n/locales/zh-cn/keybindings.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/slash-commands.d.ts +7 -0
- package/dist/core/i18n/locales/zh-cn/slash-commands.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/slash-commands.js +39 -0
- package/dist/core/i18n/locales/zh-cn/slash-commands.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-builtin.d.ts +10 -0
- package/dist/core/i18n/locales/zh-cn/tui-builtin.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-builtin.js +15 -0
- package/dist/core/i18n/locales/zh-cn/tui-builtin.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-components-misc.d.ts +13 -0
- package/dist/core/i18n/locales/zh-cn/tui-components-misc.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-components-misc.js +102 -0
- package/dist/core/i18n/locales/zh-cn/tui-components-misc.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-components-selectors.d.ts +12 -0
- package/dist/core/i18n/locales/zh-cn/tui-components-selectors.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-components-selectors.js +288 -0
- package/dist/core/i18n/locales/zh-cn/tui-components-selectors.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-interactive-misc.d.ts +9 -0
- package/dist/core/i18n/locales/zh-cn/tui-interactive-misc.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-interactive-misc.js +79 -0
- package/dist/core/i18n/locales/zh-cn/tui-interactive-misc.js.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-self-owned.d.ts +8 -0
- package/dist/core/i18n/locales/zh-cn/tui-self-owned.d.ts.map +1 -0
- package/dist/core/i18n/locales/zh-cn/tui-self-owned.js +72 -0
- package/dist/core/i18n/locales/zh-cn/tui-self-owned.js.map +1 -0
- package/dist/core/keybindings.d.ts +15 -0
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +18 -0
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/logger.d.ts.map +1 -1
- package/dist/core/logger.js +5 -1
- package/dist/core/logger.js.map +1 -1
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +2 -1
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +8 -4
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/package-install-host.d.ts.map +1 -1
- package/dist/core/package-install-host.js +4 -3
- package/dist/core/package-install-host.js.map +1 -1
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js +15 -10
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/package-resource-collection.d.ts.map +1 -1
- package/dist/core/package-resource-collection.js +2 -1
- package/dist/core/package-resource-collection.js.map +1 -1
- package/dist/core/package-source.d.ts.map +1 -1
- package/dist/core/package-source.js +3 -2
- package/dist/core/package-source.js.map +1 -1
- package/dist/core/provider-composer.d.ts.map +1 -1
- package/dist/core/provider-composer.js +22 -13
- package/dist/core/provider-composer.js.map +1 -1
- package/dist/core/remote-catalog-provider.d.ts.map +1 -1
- package/dist/core/remote-catalog-provider.js +6 -2
- package/dist/core/remote-catalog-provider.js.map +1 -1
- package/dist/core/resolve-config-value.d.ts.map +1 -1
- package/dist/core/resolve-config-value.js +15 -5
- package/dist/core/resolve-config-value.js.map +1 -1
- package/dist/core/sdk.d.ts +19 -5
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +74 -54
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-cwd.d.ts.map +1 -1
- package/dist/core/session-cwd.js +5 -2
- package/dist/core/session-cwd.js.map +1 -1
- package/dist/core/session-export.d.ts.map +1 -1
- package/dist/core/session-export.js +2 -1
- package/dist/core/session-export.js.map +1 -1
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +39 -29
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/session-storage.d.ts.map +1 -1
- package/dist/core/session-storage.js +3 -3
- package/dist/core/session-storage.js.map +1 -1
- package/dist/core/settings-manager.d.ts +11 -0
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +27 -5
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +53 -32
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +25 -2
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +11 -7
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/edit-diff.d.ts.map +1 -1
- package/dist/core/tools/edit-diff.js +9 -4
- package/dist/core/tools/edit-diff.js.map +1 -1
- package/dist/core/tools/edit.d.ts.map +1 -1
- package/dist/core/tools/edit.js +4 -3
- package/dist/core/tools/edit.js.map +1 -1
- package/dist/core/tools/index.d.ts.map +1 -1
- package/dist/core/tools/index.js +3 -2
- package/dist/core/tools/index.js.map +1 -1
- package/dist/core/tools/output-accumulator.d.ts.map +1 -1
- package/dist/core/tools/output-accumulator.js +2 -1
- package/dist/core/tools/output-accumulator.js.map +1 -1
- package/dist/core/tools/read.d.ts.map +1 -1
- package/dist/core/tools/read.js +6 -2
- package/dist/core/tools/read.js.map +1 -1
- package/dist/core/tools/write.d.ts.map +1 -1
- package/dist/core/tools/write.js +2 -1
- package/dist/core/tools/write.js.map +1 -1
- package/dist/durable/durable-service.d.ts.map +1 -1
- package/dist/durable/durable-service.js +25 -18
- package/dist/durable/durable-service.js.map +1 -1
- package/dist/host/checkpoint-commit.d.ts.map +1 -1
- package/dist/host/checkpoint-commit.js +2 -1
- package/dist/host/checkpoint-commit.js.map +1 -1
- package/dist/host/manual-compaction.d.ts.map +1 -1
- package/dist/host/manual-compaction.js +2 -1
- package/dist/host/manual-compaction.js.map +1 -1
- package/dist/host/output-projection.d.ts +0 -13
- package/dist/host/output-projection.d.ts.map +1 -1
- package/dist/host/output-projection.js +16 -2
- package/dist/host/output-projection.js.map +1 -1
- package/dist/host/summary-retry.d.ts.map +1 -1
- package/dist/host/summary-retry.js +3 -2
- package/dist/host/summary-retry.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +94 -58
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/agents-view.d.ts.map +1 -1
- package/dist/modes/interactive/components/agents-view.js +18 -15
- package/dist/modes/interactive/components/agents-view.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +6 -5
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/bash-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/bash-execution.js +12 -7
- package/dist/modes/interactive/components/bash-execution.js.map +1 -1
- package/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -1
- package/dist/modes/interactive/components/bordered-loader.js +2 -1
- package/dist/modes/interactive/components/bordered-loader.js.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.js +6 -5
- package/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/compaction-summary-message.js +9 -5
- package/dist/modes/interactive/components/compaction-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/config-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/config-selector.js +18 -15
- package/dist/modes/interactive/components/config-selector.js.map +1 -1
- package/dist/modes/interactive/components/custom-entry.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-entry.js +2 -1
- package/dist/modes/interactive/components/custom-entry.js.map +1 -1
- package/dist/modes/interactive/components/dialog-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/dialog-editor.js +5 -4
- package/dist/modes/interactive/components/dialog-editor.js.map +1 -1
- package/dist/modes/interactive/components/dialog-input.d.ts.map +1 -1
- package/dist/modes/interactive/components/dialog-input.js +2 -1
- package/dist/modes/interactive/components/dialog-input.js.map +1 -1
- package/dist/modes/interactive/components/dialog-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/dialog-selector.js +4 -3
- package/dist/modes/interactive/components/dialog-selector.js.map +1 -1
- package/dist/modes/interactive/components/first-time-setup.d.ts.map +1 -1
- package/dist/modes/interactive/components/first-time-setup.js +11 -10
- package/dist/modes/interactive/components/first-time-setup.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +7 -4
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/index.d.ts +1 -0
- package/dist/modes/interactive/components/index.d.ts.map +1 -1
- package/dist/modes/interactive/components/index.js +1 -0
- package/dist/modes/interactive/components/index.js.map +1 -1
- package/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -1
- package/dist/modes/interactive/components/keybinding-hints.js +3 -2
- package/dist/modes/interactive/components/keybinding-hints.js.map +1 -1
- package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
- package/dist/modes/interactive/components/login-dialog.js +12 -11
- package/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/dist/modes/interactive/components/mermaid.d.ts.map +1 -1
- package/dist/modes/interactive/components/mermaid.js +6 -2
- package/dist/modes/interactive/components/mermaid.js.map +1 -1
- package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/model-selector.js +28 -16
- package/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.js +10 -9
- package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
- package/dist/modes/interactive/components/plugin-manager-entry.d.ts.map +1 -1
- package/dist/modes/interactive/components/plugin-manager-entry.js +22 -13
- package/dist/modes/interactive/components/plugin-manager-entry.js.map +1 -1
- package/dist/modes/interactive/components/plugin-selection-entry.d.ts.map +1 -1
- package/dist/modes/interactive/components/plugin-selection-entry.js +27 -12
- package/dist/modes/interactive/components/plugin-selection-entry.js.map +1 -1
- package/dist/modes/interactive/components/queue-manager-selector.d.ts +60 -0
- package/dist/modes/interactive/components/queue-manager-selector.d.ts.map +1 -0
- package/dist/modes/interactive/components/queue-manager-selector.js +166 -0
- package/dist/modes/interactive/components/queue-manager-selector.js.map +1 -0
- package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.js +16 -14
- package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
- package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/session-selector.js +43 -31
- package/dist/modes/interactive/components/session-selector.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +2 -0
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +113 -96
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/settings-submenu.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-submenu.js +5 -4
- package/dist/modes/interactive/components/settings-submenu.js.map +1 -1
- package/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/show-images-selector.js +3 -2
- package/dist/modes/interactive/components/show-images-selector.js.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.js +4 -3
- package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
- package/dist/modes/interactive/components/status-indicator.d.ts.map +1 -1
- package/dist/modes/interactive/components/status-indicator.js +14 -5
- package/dist/modes/interactive/components/status-indicator.js.map +1 -1
- package/dist/modes/interactive/components/theme-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/theme-selector.js +2 -1
- package/dist/modes/interactive/components/theme-selector.js.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/thinking-selector.js +11 -4
- package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +8 -3
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/components/tree-list.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-list.js +7 -6
- package/dist/modes/interactive/components/tree-list.js.map +1 -1
- package/dist/modes/interactive/components/tree-render.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-render.js +28 -23
- package/dist/modes/interactive/components/tree-render.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector.js +9 -7
- package/dist/modes/interactive/components/tree-selector.js.map +1 -1
- package/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/user-message-selector.js +5 -4
- package/dist/modes/interactive/components/user-message-selector.js.map +1 -1
- package/dist/modes/interactive/components/workflow-view.d.ts.map +1 -1
- package/dist/modes/interactive/components/workflow-view.js +36 -21
- package/dist/modes/interactive/components/workflow-view.js.map +1 -1
- package/dist/modes/interactive/external-editor.d.ts.map +1 -1
- package/dist/modes/interactive/external-editor.js +2 -1
- package/dist/modes/interactive/external-editor.js.map +1 -1
- package/dist/modes/interactive/interactive-auth.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-auth.js +71 -40
- package/dist/modes/interactive/interactive-auth.js.map +1 -1
- package/dist/modes/interactive/interactive-commands.d.ts +1 -0
- package/dist/modes/interactive/interactive-commands.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-commands.js +3 -0
- package/dist/modes/interactive/interactive-commands.js.map +1 -1
- package/dist/modes/interactive/interactive-dialog-ui.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-dialog-ui.js +5 -5
- package/dist/modes/interactive/interactive-dialog-ui.js.map +1 -1
- package/dist/modes/interactive/interactive-format.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-format.js +34 -18
- package/dist/modes/interactive/interactive-format.js.map +1 -1
- package/dist/modes/interactive/interactive-helpers.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-helpers.js +7 -2
- package/dist/modes/interactive/interactive-helpers.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +4 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +327 -243
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/interactive-selectors.d.ts +9 -0
- package/dist/modes/interactive/interactive-selectors.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-selectors.js +79 -25
- package/dist/modes/interactive/interactive-selectors.js.map +1 -1
- package/dist/modes/interactive/theme/theme-controller.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme-controller.js +5 -1
- package/dist/modes/interactive/theme/theme-controller.js.map +1 -1
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +26 -23
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/dist/modes/json-event.d.ts.map +1 -1
- package/dist/modes/json-event.js +3 -2
- package/dist/modes/json-event.js.map +1 -1
- package/dist/modes/print-mode.d.ts.map +1 -1
- package/dist/modes/print-mode.js +3 -2
- package/dist/modes/print-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-client.js +3 -2
- package/dist/modes/rpc/rpc-client.js.map +1 -1
- package/dist/package-manager-cli.d.ts.map +1 -1
- package/dist/package-manager-cli.js +28 -13
- package/dist/package-manager-cli.js.map +1 -1
- package/dist/plugins/ecosystem/catalog.d.ts.map +1 -1
- package/dist/plugins/ecosystem/catalog.js +3 -2
- package/dist/plugins/ecosystem/catalog.js.map +1 -1
- package/dist/plugins/ecosystem/cli.d.ts.map +1 -1
- package/dist/plugins/ecosystem/cli.js +2 -1
- package/dist/plugins/ecosystem/cli.js.map +1 -1
- package/dist/plugins/ecosystem/default-plugin-market.d.ts.map +1 -1
- package/dist/plugins/ecosystem/default-plugin-market.js +3 -2
- package/dist/plugins/ecosystem/default-plugin-market.js.map +1 -1
- package/dist/plugins/ecosystem/distribution.d.ts.map +1 -1
- package/dist/plugins/ecosystem/distribution.js +2 -1
- package/dist/plugins/ecosystem/distribution.js.map +1 -1
- package/dist/plugins/ecosystem/installer.d.ts.map +1 -1
- package/dist/plugins/ecosystem/installer.js +3 -2
- package/dist/plugins/ecosystem/installer.js.map +1 -1
- package/dist/plugins/ecosystem/node-disk-registry-source.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-disk-registry-source.js +20 -17
- package/dist/plugins/ecosystem/node-disk-registry-source.js.map +1 -1
- package/dist/plugins/ecosystem/node-distribution-host.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-distribution-host.js +35 -34
- package/dist/plugins/ecosystem/node-distribution-host.js.map +1 -1
- package/dist/plugins/ecosystem/node-npm-registry-source.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-npm-registry-source.js +35 -34
- package/dist/plugins/ecosystem/node-npm-registry-source.js.map +1 -1
- package/dist/plugins/ecosystem/node-package-install-host.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-package-install-host.js +9 -8
- package/dist/plugins/ecosystem/node-package-install-host.js.map +1 -1
- package/dist/plugins/ecosystem/node-package-install-persistence.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-package-install-persistence.js +4 -3
- package/dist/plugins/ecosystem/node-package-install-persistence.js.map +1 -1
- package/dist/plugins/ecosystem/node-plugin-bootstrap.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-plugin-bootstrap.js +21 -5
- package/dist/plugins/ecosystem/node-plugin-bootstrap.js.map +1 -1
- package/dist/plugins/ecosystem/node-plugin-trust-root.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-plugin-trust-root.js +10 -9
- package/dist/plugins/ecosystem/node-plugin-trust-root.js.map +1 -1
- package/dist/plugins/ecosystem/node-registry-source.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-registry-source.js +31 -30
- package/dist/plugins/ecosystem/node-registry-source.js.map +1 -1
- package/dist/plugins/ecosystem/node-release-package-source.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-release-package-source.js +30 -29
- package/dist/plugins/ecosystem/node-release-package-source.js.map +1 -1
- package/dist/plugins/ecosystem/node-tar-writer.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-tar-writer.js +11 -10
- package/dist/plugins/ecosystem/node-tar-writer.js.map +1 -1
- package/dist/plugins/ecosystem/node-url-package-source.d.ts.map +1 -1
- package/dist/plugins/ecosystem/node-url-package-source.js +21 -20
- package/dist/plugins/ecosystem/node-url-package-source.js.map +1 -1
- package/dist/plugins/ecosystem/plugin-acquisition.d.ts.map +1 -1
- package/dist/plugins/ecosystem/plugin-acquisition.js +3 -2
- package/dist/plugins/ecosystem/plugin-acquisition.js.map +1 -1
- package/dist/plugins/ecosystem/registry-cli-adapter.d.ts.map +1 -1
- package/dist/plugins/ecosystem/registry-cli-adapter.js +2 -1
- package/dist/plugins/ecosystem/registry-cli-adapter.js.map +1 -1
- package/dist/plugins/ecosystem/registry.d.ts.map +1 -1
- package/dist/plugins/ecosystem/registry.js +35 -32
- package/dist/plugins/ecosystem/registry.js.map +1 -1
- package/dist/plugins/ecosystem/resolver.d.ts.map +1 -1
- package/dist/plugins/ecosystem/resolver.js +3 -2
- package/dist/plugins/ecosystem/resolver.js.map +1 -1
- package/dist/plugins/ecosystem/selection-store.d.ts.map +1 -1
- package/dist/plugins/ecosystem/selection-store.js +11 -10
- package/dist/plugins/ecosystem/selection-store.js.map +1 -1
- package/dist/plugins/ecosystem/selection.d.ts.map +1 -1
- package/dist/plugins/ecosystem/selection.js +8 -7
- package/dist/plugins/ecosystem/selection.js.map +1 -1
- package/dist/plugins/ecosystem/state.d.ts.map +1 -1
- package/dist/plugins/ecosystem/state.js +24 -23
- package/dist/plugins/ecosystem/state.js.map +1 -1
- package/dist/plugins/ecosystem/updates.d.ts.map +1 -1
- package/dist/plugins/ecosystem/updates.js +5 -4
- package/dist/plugins/ecosystem/updates.js.map +1 -1
- package/dist/plugins/mcp-http.d.ts +0 -17
- package/dist/plugins/mcp-http.d.ts.map +1 -1
- package/dist/plugins/mcp-http.js +30 -7
- package/dist/plugins/mcp-http.js.map +1 -1
- package/dist/plugins/plugin-supervisor.d.ts.map +1 -1
- package/dist/plugins/plugin-supervisor.js +19 -1
- package/dist/plugins/plugin-supervisor.js.map +1 -1
- package/dist/profile/first-roles.d.ts.map +1 -1
- package/dist/profile/first-roles.js +10 -1
- package/dist/profile/first-roles.js.map +1 -1
- package/dist/profile/goal-plugin.d.ts.map +1 -1
- package/dist/profile/goal-plugin.js +24 -5
- package/dist/profile/goal-plugin.js.map +1 -1
- package/dist/profile/identity.d.ts.map +1 -1
- package/dist/profile/identity.js +7 -6
- package/dist/profile/identity.js.map +1 -1
- package/dist/profile/lock.d.ts.map +1 -1
- package/dist/profile/lock.js +15 -1
- package/dist/profile/lock.js.map +1 -1
- package/dist/profile/plan-plugin.d.ts.map +1 -1
- package/dist/profile/plan-plugin.js +26 -13
- package/dist/profile/plan-plugin.js.map +1 -1
- package/dist/profile/plugin-profiles.d.ts.map +1 -1
- package/dist/profile/plugin-profiles.js +2 -1
- package/dist/profile/plugin-profiles.js.map +1 -1
- package/dist/profile/policy-manifest.d.ts.map +1 -1
- package/dist/profile/policy-manifest.js +5 -4
- package/dist/profile/policy-manifest.js.map +1 -1
- package/dist/profile/profile-registry.d.ts +0 -12
- package/dist/profile/profile-registry.d.ts.map +1 -1
- package/dist/profile/profile-registry.js +14 -1
- package/dist/profile/profile-registry.js.map +1 -1
- package/dist/profile/role-catalog.d.ts +0 -1
- package/dist/profile/role-catalog.d.ts.map +1 -1
- package/dist/profile/role-catalog.js +17 -15
- package/dist/profile/role-catalog.js.map +1 -1
- package/dist/profile/role-orchestrator.d.ts.map +1 -1
- package/dist/profile/role-orchestrator.js +8 -7
- package/dist/profile/role-orchestrator.js.map +1 -1
- package/dist/profile/role-runner.d.ts.map +1 -1
- package/dist/profile/role-runner.js +3 -2
- package/dist/profile/role-runner.js.map +1 -1
- package/dist/profile/root-facade.d.ts.map +1 -1
- package/dist/profile/root-facade.js +2 -1
- package/dist/profile/root-facade.js.map +1 -1
- package/dist/profile/skill-discovery-wiring.d.ts.map +1 -1
- package/dist/profile/skill-discovery-wiring.js +7 -2
- package/dist/profile/skill-discovery-wiring.js.map +1 -1
- package/dist/profile/state-store.d.ts.map +1 -1
- package/dist/profile/state-store.js +13 -9
- package/dist/profile/state-store.js.map +1 -1
- package/dist/profile/todo-plugin.d.ts.map +1 -1
- package/dist/profile/todo-plugin.js +9 -4
- package/dist/profile/todo-plugin.js.map +1 -1
- package/dist/profiles/builtin-suites.d.ts +13 -6
- package/dist/profiles/builtin-suites.d.ts.map +1 -1
- package/dist/profiles/builtin-suites.js +15 -6
- package/dist/profiles/builtin-suites.js.map +1 -1
- package/dist/profiles/suite-loader.d.ts +25 -1
- package/dist/profiles/suite-loader.d.ts.map +1 -1
- package/dist/profiles/suite-loader.js +34 -9
- package/dist/profiles/suite-loader.js.map +1 -1
- package/dist/remote/server-entry.d.ts.map +1 -1
- package/dist/remote/server-entry.js +3 -2
- package/dist/remote/server-entry.js.map +1 -1
- package/dist/remote/session-source.d.ts.map +1 -1
- package/dist/remote/session-source.js +8 -4
- package/dist/remote/session-source.js.map +1 -1
- package/dist/share/session-share.d.ts.map +1 -1
- package/dist/share/session-share.js +14 -2
- package/dist/share/session-share.js.map +1 -1
- package/dist/testing/plugin-testkit.d.ts.map +1 -1
- package/dist/testing/plugin-testkit.js +4 -3
- package/dist/testing/plugin-testkit.js.map +1 -1
- package/dist/testing/runtime-delivery-queue.d.ts.map +1 -1
- package/dist/testing/runtime-delivery-queue.js +2 -1
- package/dist/testing/runtime-delivery-queue.js.map +1 -1
- package/dist/testing/session-plugin-testkit.d.ts.map +1 -1
- package/dist/testing/session-plugin-testkit.js +10 -7
- package/dist/testing/session-plugin-testkit.js.map +1 -1
- package/dist/utils/ansi.d.ts.map +1 -1
- package/dist/utils/ansi.js +2 -1
- package/dist/utils/ansi.js.map +1 -1
- package/dist/utils/clipboard.d.ts.map +1 -1
- package/dist/utils/clipboard.js +7 -6
- package/dist/utils/clipboard.js.map +1 -1
- package/dist/utils/image-resize-worker.d.ts.map +1 -1
- package/dist/utils/image-resize-worker.js +3 -2
- package/dist/utils/image-resize-worker.js.map +1 -1
- package/dist/utils/shell.d.ts.map +1 -1
- package/dist/utils/shell.js +9 -8
- package/dist/utils/shell.js.map +1 -1
- package/dist/utils/tools-manager.d.ts.map +1 -1
- package/dist/utils/tools-manager.js +23 -13
- package/dist/utils/tools-manager.js.map +1 -1
- package/dist/utils/version-check.d.ts.map +1 -1
- package/dist/utils/version-check.js +5 -1
- package/dist/utils/version-check.js.map +1 -1
- package/docs/keybindings.md +3 -0
- package/docs/quickstart.md +1 -1
- package/docs/settings.md +1 -0
- package/docs/terminal-setup.md +2 -3
- package/docs/usage.md +6 -5
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/examples/extensions/with-deps/plugin.json +1 -1
- package/package.json +1 -1
- package/dist/bundle/chunks/chunk-EALJ5DDX.js +0 -1452
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 插件契约与外围模块域词典(docs/design/国际化与本地化.md §3,批次⑨c):覆盖
|
|
3
|
+
* `src/plugins/`(ecosystem 协议校验族、安装/分发/信任根等)、`src/profile/`、
|
|
4
|
+
* `src/host/`、`src/utils/`、`src/modes/` 外围、`src/cli/`(parseArgs 诊断、auth
|
|
5
|
+
* 命令错误)、`src/durable/`、`src/package-manager-cli.ts` 的 throw 契约消息与
|
|
6
|
+
* 主题解析错误。key 为英文原文,占位符 `{name}` 原样保留;协议码
|
|
7
|
+
* (invalid_response、archive_invalid 等)、字段名、命令名、路径不译。
|
|
8
|
+
* 与 core-contract-core 域重复的 4 条 `{label}` 系列词条译文一致,覆盖无需登记。
|
|
9
|
+
*/
|
|
10
|
+
export const coreContractPlugins = {
|
|
11
|
+
// --- 与 core-contract-core 译文一致的 `{label}` 系列(相同译文覆盖) ---
|
|
12
|
+
"{label} is invalid": "{label} 无效",
|
|
13
|
+
"{label} must be a non-empty string": "{label} 必须是非空字符串",
|
|
14
|
+
"{label} must be a plain object": "{label} 必须是普通对象",
|
|
15
|
+
"{label} must be an array": "{label} 必须是数组",
|
|
16
|
+
// --- cli/args.ts parseArgs 诊断 ---
|
|
17
|
+
"{option} requires a plugin id": "{option} 需要一个插件 id",
|
|
18
|
+
"{option} requires a non-empty plugin id": "{option} 需要非空插件 id",
|
|
19
|
+
"{option} plugin id must be at most {max} characters": "{option} 插件 id 最多 {max} 个字符",
|
|
20
|
+
"{option} accepts at most {max} plugin ids": "{option} 最多接受 {max} 个插件 id",
|
|
21
|
+
"--plugin-profile requires a profile id": "--plugin-profile 需要一个 profile id",
|
|
22
|
+
"--plugin-profile requires a non-empty profile id": "--plugin-profile 需要非空 profile id",
|
|
23
|
+
"--plugin-profile id must be at most {max} characters": "--plugin-profile id 最多 {max} 个字符",
|
|
24
|
+
"--mode requires text, json, or rpc": "--mode 需要 text、json 或 rpc",
|
|
25
|
+
'Invalid mode "{mode}". Valid values: text, json, rpc': '无效的模式 "{mode}"。有效值:text、json、rpc',
|
|
26
|
+
"--name requires a value": "--name 需要一个值",
|
|
27
|
+
"--suite requires a suite id": "--suite 需要一个 suite id",
|
|
28
|
+
"--suite-create requires a suite id": "--suite-create 需要一个 suite id",
|
|
29
|
+
"--clone-from requires a suite id": "--clone-from 需要一个 suite id",
|
|
30
|
+
"--suite-delete requires a suite id": "--suite-delete 需要一个 suite id",
|
|
31
|
+
"--suite-reset requires a suite id": "--suite-reset 需要一个 suite id",
|
|
32
|
+
"--serve requires a valid TCP port (0-65535)": "--serve 需要有效的 TCP 端口(0-65535)",
|
|
33
|
+
"--serve-workspace-root requires a directory": "--serve-workspace-root 需要一个目录",
|
|
34
|
+
'Invalid thinking level "{level}". Valid values: {levels}': '无效的思考级别 "{level}"。有效值:{levels}',
|
|
35
|
+
"--trace-kind requires a comma-separated kind list": "--trace-kind 需要逗号分隔的 kind 列表",
|
|
36
|
+
"--trace-kind requires at least one trace kind": "--trace-kind 至少需要一个 trace kind",
|
|
37
|
+
'Invalid trace kind(s) "{kinds}". Valid values: {valid}': '无效的 trace kind "{kinds}"。有效值:{valid}',
|
|
38
|
+
"--trace-limit requires a positive integer": "--trace-limit 需要正整数",
|
|
39
|
+
'Invalid trace limit "{limit}". Expected a positive integer': '无效的 trace 上限 "{limit}"。应为正整数',
|
|
40
|
+
"--log-level requires a level": "--log-level 需要一个级别",
|
|
41
|
+
'Invalid log level "{level}". Valid values: {levels}': '无效的日志级别 "{level}"。有效值:{levels}',
|
|
42
|
+
"--plugin-scope must be global or project": "--plugin-scope 必须是 global 或 project",
|
|
43
|
+
"--plugin-scope may be specified only once": "--plugin-scope 只能指定一次",
|
|
44
|
+
"--use-theme requires a theme name": "--use-theme 需要主题名",
|
|
45
|
+
"--tui-mode requires regular or fullscreen": "--tui-mode 需要 regular 或 fullscreen",
|
|
46
|
+
'Invalid TUI mode "{mode}". Valid values: regular, fullscreen': '无效的 TUI 模式 "{mode}"。有效值:regular、fullscreen',
|
|
47
|
+
// --- cli/auth-command.ts、auth-check、credential-print ---
|
|
48
|
+
'Unknown auth command "{command}". Use "{apiKey}", "{bearerToken}", or "{check}".': '未知的 auth 命令 "{command}"。请使用 "{apiKey}"、"{bearerToken}" 或 "{check}"。',
|
|
49
|
+
"--min-expiry is only supported by print-bearer-token": "--min-expiry 仅被 print-bearer-token 支持",
|
|
50
|
+
"--min-expiry must use a duration such as 30m or 1h": "--min-expiry 必须使用时长格式,如 30m 或 1h",
|
|
51
|
+
"{arg} is only supported by auth check": "{arg} 仅被 auth check 支持",
|
|
52
|
+
"Auth commands only accept --provider and --model": "auth 命令只接受 --provider 和 --model",
|
|
53
|
+
"Auth checks require --provider <provider> or --model <model>": "auth check 需要 --provider <provider> 或 --model <model>",
|
|
54
|
+
"Credential printing requires --provider <provider> or --model <model>": "凭证打印需要 --provider <provider> 或 --model <model>",
|
|
55
|
+
"Unable to resolve an auth provider": "无法解析 auth 提供方",
|
|
56
|
+
'Unable to resolve model "{model}"': '无法解析模型 "{model}"',
|
|
57
|
+
"Unable to resolve the requested provider/model": "无法解析所请求的提供方/模型",
|
|
58
|
+
'Unknown provider "{provider}". Use --list-models to see available providers.': '未知的提供方 "{provider}"。使用 --list-models 查看可用提供方。',
|
|
59
|
+
'Model "{model}" not found. Use --list-models to see available models.': '未找到模型 "{model}"。使用 --list-models 查看可用模型。',
|
|
60
|
+
'Provider "{providerId}" is configured with OAuth, not an API key': '提供方 "{providerId}" 配置的是 OAuth,而非 API key',
|
|
61
|
+
'Provider "{providerId}" is not configured with an OAuth bearer token': '提供方 "{providerId}" 未配置 OAuth bearer token',
|
|
62
|
+
"No usable {credential} is configured": "没有可用的已配置 {credential}",
|
|
63
|
+
"Multiple configured providers matched ({providers}). Specify --provider.": "多个已配置提供方匹配({providers})。请指定 --provider。",
|
|
64
|
+
// --- modes/interactive/theme/theme.ts 主题解析 ---
|
|
65
|
+
"Invalid hex color: {hex}": "无效的十六进制颜色:{hex}",
|
|
66
|
+
"Invalid color value: {color}": "无效的颜色值:{color}",
|
|
67
|
+
"Circular variable reference detected: {value}": "检测到循环变量引用:{value}",
|
|
68
|
+
"Variable reference not found: {value}": "未找到变量引用:{value}",
|
|
69
|
+
"Unknown theme color: {color}": "未知的主题颜色:{color}",
|
|
70
|
+
"Unknown theme background color: {color}": "未知的主题背景色:{color}",
|
|
71
|
+
'Invalid theme name "{name}": theme names cannot contain "/" because it is reserved for automatic light/dark theme settings.': '无效的主题名 "{name}":主题名不能包含 "/",该字符保留给自动明暗主题设置。',
|
|
72
|
+
'Invalid theme "{label}":': '无效主题 "{label}":',
|
|
73
|
+
"Missing required color tokens:": "缺少必需的颜色 token:",
|
|
74
|
+
'Please add these colors to your theme\'s "colors" object.': '请将这些颜色添加到主题的 "colors" 对象。',
|
|
75
|
+
"See the built-in themes (dark.json, light.json) for reference values.": "参考内置主题(dark.json、light.json)的取值。",
|
|
76
|
+
"Other errors:": "其他错误:",
|
|
77
|
+
"Failed to parse theme {label}: {error}": "解析主题 {label} 失败:{error}",
|
|
78
|
+
'Theme "{name}" does not have a source path for export': '主题 "{name}" 没有可用于导出的源路径',
|
|
79
|
+
"Theme not found: {name}": "未找到主题:{name}",
|
|
80
|
+
"Theme not initialized. Call initTheme() first.": "主题未初始化。请先调用 initTheme()。",
|
|
81
|
+
// --- modes/ 其余(interactive-mode / json-event / rpc-client / plugin-selection-entry) ---
|
|
82
|
+
"TUI property {property} is not callable": "TUI 属性 {property} 不可调用",
|
|
83
|
+
"Fullscreen layout is not initialized": "全屏布局未初始化",
|
|
84
|
+
"Completed compaction is missing from the session context": "会话上下文中缺少已完成的压缩结果",
|
|
85
|
+
"toolcall_start content at index {index} is not a tool call": "toolcall_start 内容(索引 {index})不是工具调用",
|
|
86
|
+
"message_update message is not an assistant message": "message_update 消息不是 assistant 消息",
|
|
87
|
+
"Client already started": "客户端已启动",
|
|
88
|
+
"Client not started": "客户端未启动",
|
|
89
|
+
"invalid plugin selection profile ID": "无效的插件选择 profile ID",
|
|
90
|
+
"plugin selection profile does not match the entry profile": "插件选择 profile 与入口 profile 不匹配",
|
|
91
|
+
// --- interactive-mode 遗漏登记的既有 t() 词条(批次⑨c 补录) ---
|
|
92
|
+
interrupt: "中断",
|
|
93
|
+
commands: "命令",
|
|
94
|
+
bash: "bash",
|
|
95
|
+
more: "更多",
|
|
96
|
+
Context: "上下文",
|
|
97
|
+
Skills: "技能",
|
|
98
|
+
Prompts: "提示词",
|
|
99
|
+
Themes: "主题",
|
|
100
|
+
Error: "错误",
|
|
101
|
+
Compaction: "压缩",
|
|
102
|
+
Summarize: "总结",
|
|
103
|
+
Messages: "消息",
|
|
104
|
+
Tokens: "Token 用量",
|
|
105
|
+
Cost: "费用",
|
|
106
|
+
Command: "命令",
|
|
107
|
+
Description: "说明",
|
|
108
|
+
Key: "按键",
|
|
109
|
+
Action: "操作",
|
|
110
|
+
Navigation: "导航",
|
|
111
|
+
Editing: "编辑",
|
|
112
|
+
Undo: "撤销",
|
|
113
|
+
Other: "其他",
|
|
114
|
+
// --- plugins/ecosystem/registry.ts 协议校验族 ---
|
|
115
|
+
"{label} must be a non-empty bounded string": "{label} 必须是非空有界字符串",
|
|
116
|
+
"{label} contains an unsupported field": "{label} 包含不支持的字段",
|
|
117
|
+
"Plugin registry source must be an opaque URI, not a local path": "插件注册表 source 必须是不透明 URI,不能是本地路径",
|
|
118
|
+
"Plugin registry source URL is invalid": "插件注册表 source URL 无效",
|
|
119
|
+
"Registry manifest must be an object": "Registry manifest 必须是对象",
|
|
120
|
+
"Registry manifest id is invalid": "Registry manifest id 无效",
|
|
121
|
+
"Registry manifest pluginVersion is invalid": "Registry manifest pluginVersion 无效",
|
|
122
|
+
"Registry manifest apiVersion is invalid": "Registry manifest apiVersion 无效",
|
|
123
|
+
"Published plugins must declare host version compatibility range: set minHostVersion and/or maxHostVersion": "已发布的插件必须声明 host 版本兼容范围:设置 minHostVersion 和/或 maxHostVersion",
|
|
124
|
+
"Registry manifest cannot be serialized": "Registry manifest 无法序列化",
|
|
125
|
+
"Registry manifest exceeds the size limit": "Registry manifest 超出大小上限",
|
|
126
|
+
"Registry response entry must be an object": "Registry 响应条目必须是对象",
|
|
127
|
+
"Registry distribution descriptor is invalid": "Registry 分发描述符无效",
|
|
128
|
+
"Registry distribution descriptor does not match the manifest identity": "Registry 分发描述符与 manifest 身份不匹配",
|
|
129
|
+
"maxManifests must be an integer between 1 and {max}": "maxManifests 必须是 1 到 {max} 之间的整数",
|
|
130
|
+
"Manifest digest mismatch for {identity}": "manifest 摘要不匹配:{identity}",
|
|
131
|
+
"Registry source proof was rejected": "Registry source 证明被拒绝",
|
|
132
|
+
"Plugin source verifier failed": "插件 source 校验器失败",
|
|
133
|
+
"Plugin source was rejected": "插件 source 被拒绝",
|
|
134
|
+
"Registry source must provide list()": "Registry source 必须提供 list()",
|
|
135
|
+
"Registry source/digest verifier is required": "必须提供 Registry source/digest 校验器",
|
|
136
|
+
"Registry source verifier is required": "必须提供 Registry source 校验器",
|
|
137
|
+
"Plugin registry source failed": "插件注册表 source 失败",
|
|
138
|
+
"Registry source must return an array": "Registry source 必须返回数组",
|
|
139
|
+
"Registry response contains too many manifests": "Registry 响应包含过多 manifest",
|
|
140
|
+
"Registry response exceeds the aggregate size limit": "Registry 响应超出聚合大小上限",
|
|
141
|
+
"Duplicate registry manifest: {identity}": "重复的 registry manifest:{identity}",
|
|
142
|
+
"Registry does not expose a host-side package resolver": "Registry 未暴露 host 侧的包解析器",
|
|
143
|
+
// --- catalog / selection / resolver / updates ---
|
|
144
|
+
"maxEntries must be an integer between 1 and {max}": "maxEntries 必须是 1 到 {max} 之间的整数",
|
|
145
|
+
"Catalog contains duplicate plugin version: {identity}": "Catalog 包含重复的插件版本:{identity}",
|
|
146
|
+
"{label} must be at most {max} characters": "{label} 最多 {max} 个字符",
|
|
147
|
+
"{label} must contain at most {max} plugin IDs": "{label} 最多包含 {max} 个插件 ID",
|
|
148
|
+
"{label} contains duplicate plugin ID: {id}": "{label} 包含重复的插件 ID:{id}",
|
|
149
|
+
"Selection references unknown plugin ID: {id}": "选择引用了未知的插件 ID:{id}",
|
|
150
|
+
"discovered plugin IDs exceed the selection limit of {limit}": "发现的插件 ID 超出选择上限 {limit}",
|
|
151
|
+
"Catalog truncation omitted selected plugin ID: {id}": "Catalog 截断遗漏了已选择的插件 ID:{id}",
|
|
152
|
+
"capability {id} version must be a positive safe integer": "能力 {id} 的版本必须是正的安全整数",
|
|
153
|
+
"update source must be a non-empty string": "更新 source 必须是非空字符串",
|
|
154
|
+
"Only a verified update can become active: {pluginId}": "只有已验证的更新才能转为 active:{pluginId}",
|
|
155
|
+
"Cannot rollback updates for different plugins": "无法回滚不同插件的更新",
|
|
156
|
+
"Rollback target must be active": "回滚目标必须处于 active 状态",
|
|
157
|
+
// --- installer / state / selection-store ---
|
|
158
|
+
"installation reference is invalid": "安装引用无效",
|
|
159
|
+
"installation reference must be opaque": "安装引用必须是不透明值",
|
|
160
|
+
"invalid plugin state file path": "无效的插件状态文件路径",
|
|
161
|
+
"invalid plugin scope reference": "无效的插件作用域引用",
|
|
162
|
+
"record source label is invalid": "记录 source 标签无效",
|
|
163
|
+
"record schema is invalid": "记录 schema 无效",
|
|
164
|
+
"state schema is invalid": "state schema 无效",
|
|
165
|
+
"state scope is invalid": "state 作用域无效",
|
|
166
|
+
"state enabled flag is invalid": "state enabled 标志无效",
|
|
167
|
+
"state lifecycle is invalid": "state 生命周期值无效",
|
|
168
|
+
"snapshot schema is invalid": "快照 schema 无效",
|
|
169
|
+
"snapshot version is unsupported": "不支持的快照版本",
|
|
170
|
+
"records must be an array": "records 必须是数组",
|
|
171
|
+
"installation scope does not match state scope": "安装作用域与 state 作用域不一致",
|
|
172
|
+
"invalid plugin selection file path": "无效的插件选择文件路径",
|
|
173
|
+
"selection schema is invalid": "选择 schema 无效",
|
|
174
|
+
"selection IDs must be arrays": "选择 ID 必须是数组",
|
|
175
|
+
"too many plugin IDs": "插件 ID 过多",
|
|
176
|
+
"selections must be an array": "selections 必须是数组",
|
|
177
|
+
// --- node-distribution-host / 信任根 ---
|
|
178
|
+
"plugin request timed out": "插件请求超时",
|
|
179
|
+
"plugin request was cancelled": "插件请求已取消",
|
|
180
|
+
"{label} must be a positive integer at most {maximum}": "{label} 必须是不超过 {maximum} 的正整数",
|
|
181
|
+
"allowed origin is invalid": "allowed origin 无效",
|
|
182
|
+
"allowed origin must be an http(s) origin": "allowed origin 必须是 http(s) origin",
|
|
183
|
+
"allowed origin must not include a path or query": "allowed origin 不得包含路径或查询",
|
|
184
|
+
"at least one allowed origin is required": "至少需要一个 allowed origin",
|
|
185
|
+
"plugin source URL is invalid": "插件 source URL 无效",
|
|
186
|
+
"plugin source URL must use http(s) without credentials": "插件 source URL 必须使用 http(s) 且不带凭据",
|
|
187
|
+
"plugin source origin is not allowed": "插件 source origin 不在允许范围",
|
|
188
|
+
"plugin response content length is invalid": "插件响应 content length 无效",
|
|
189
|
+
"plugin response size mismatch": "插件响应大小不匹配",
|
|
190
|
+
"plugin response media type mismatch": "插件响应媒体类型不匹配",
|
|
191
|
+
"plugin artifact digest algorithm is unsupported": "不支持插件制品摘要算法",
|
|
192
|
+
"plugin artifact file write failed": "插件制品文件写入失败",
|
|
193
|
+
"Node fetch is unavailable": "Node fetch 不可用",
|
|
194
|
+
"maxRedirects must be an integer between 0 and {max}": "maxRedirects 必须是 0 到 {max} 之间的整数",
|
|
195
|
+
"userAgent is invalid": "userAgent 无效",
|
|
196
|
+
"artifactDirectory must be absolute": "artifactDirectory 必须是绝对路径",
|
|
197
|
+
"plugin distribution host is closed": "插件分发 host 已关闭",
|
|
198
|
+
"plugin redirect limit exceeded": "超出插件重定向上限",
|
|
199
|
+
"plugin metadata request failed": "插件元数据请求失败",
|
|
200
|
+
"plugin artifact request failed": "插件制品请求失败",
|
|
201
|
+
"plugin artifact response has no body": "插件制品响应没有 body",
|
|
202
|
+
"plugin artifact exceeds its size limit": "插件制品超出大小上限",
|
|
203
|
+
"plugin artifact size mismatch": "插件制品大小不匹配",
|
|
204
|
+
"plugin artifact digest mismatch": "插件制品摘要不匹配",
|
|
205
|
+
"plugin artifact release was cancelled": "插件制品释放已取消",
|
|
206
|
+
"plugin artifact reference is unknown": "未知的插件制品引用",
|
|
207
|
+
"plugin artifact is still being read": "插件制品仍在读取中",
|
|
208
|
+
"plugin artifact read was cancelled": "插件制品读取已取消",
|
|
209
|
+
"{label} must be an ISO-8601 UTC timestamp": "{label} 必须是 ISO-8601 UTC 时间戳",
|
|
210
|
+
"{label} must be a valid ISO-8601 UTC timestamp": "{label} 必须是有效的 ISO-8601 UTC 时间戳",
|
|
211
|
+
"publicKeyPem is invalid": "publicKeyPem 无效",
|
|
212
|
+
"publicKeyPem must be an Ed25519 public key": "publicKeyPem 必须是 Ed25519 公钥",
|
|
213
|
+
"keys must contain between 1 and {max} entries": "keys 必须包含 1 到 {max} 个条目",
|
|
214
|
+
"revokedKeyIds is invalid or duplicated": "revokedKeyIds 无效或重复",
|
|
215
|
+
"keyId is invalid or duplicated": "keyId 无效或重复",
|
|
216
|
+
"notBefore must be earlier than notAfter": "notBefore 必须早于 notAfter",
|
|
217
|
+
// --- node-package-install 家族(构造器消息 + 校验) ---
|
|
218
|
+
"Node package installation failed: {code}": "Node 包安装失败:{code}",
|
|
219
|
+
"Node package install persistence failed: {code}": "Node 包安装持久化失败:{code}",
|
|
220
|
+
"loadPlugin must be omitted when binding a session": "绑定会话时必须省略 loadPlugin",
|
|
221
|
+
"non-ascii zip name": "zip 条目名包含非 ASCII 字符",
|
|
222
|
+
"openArtifact is required": "必须提供 openArtifact",
|
|
223
|
+
"installationDirectory must be absolute": "installationDirectory 必须是绝对路径",
|
|
224
|
+
"persistence mode is invalid": "持久化模式无效",
|
|
225
|
+
"supportedScopes is invalid": "supportedScopes 无效",
|
|
226
|
+
"lockTimeoutMs must be a positive integer at most {max}": "lockTimeoutMs 必须是不超过 {max} 的正整数",
|
|
227
|
+
"rootDirectory must be absolute": "rootDirectory 必须是绝对路径",
|
|
228
|
+
// --- node-registry-source / npm / release / url / disk ---
|
|
229
|
+
"Allowed registry origin is invalid": "Allowed registry origin 无效",
|
|
230
|
+
"Allowed registry origin must be an http(s) origin without credentials": "Allowed registry origin 必须是不带凭据的 http(s) origin",
|
|
231
|
+
"Allowed registry origin must not include a path, query, or fragment": "Allowed registry origin 不得包含路径、查询或片段",
|
|
232
|
+
"Plugin registry URL is invalid": "插件注册表 URL 无效",
|
|
233
|
+
"Plugin registry URL must use http(s) without credentials": "插件注册表 URL 必须使用 http(s) 且不带凭据",
|
|
234
|
+
"Plugin registry URL must not include a query or fragment": "插件注册表 URL 不得包含查询或片段",
|
|
235
|
+
"Plugin registry origin is not allowed": "插件注册表 origin 不在允许范围",
|
|
236
|
+
"Plugin registry response length is invalid": "插件注册表响应长度无效",
|
|
237
|
+
"Plugin registry response has no body": "插件注册表响应没有 body",
|
|
238
|
+
"Plugin registry response exceeds the configured size limit": "插件注册表响应超出配置的大小上限",
|
|
239
|
+
"Plugin registry response is not valid JSON": "插件注册表响应不是有效 JSON",
|
|
240
|
+
"Plugin registry document is invalid": "插件注册表文档无效",
|
|
241
|
+
"At least one allowed registry origin is required": "至少需要一个允许的注册表 origin",
|
|
242
|
+
"Plugin registry request did not succeed": "插件注册表请求未成功",
|
|
243
|
+
"Plugin registry response must be JSON": "插件注册表响应必须是 JSON",
|
|
244
|
+
"npm integrity algorithm is unsupported": "不支持 npm integrity 算法",
|
|
245
|
+
"npm integrity encoding is invalid": "npm integrity 编码无效",
|
|
246
|
+
"npm integrity length is invalid": "npm integrity 长度无效",
|
|
247
|
+
"npm integrity is invalid": "npm integrity 无效",
|
|
248
|
+
"npm registry origin is invalid": "npm 注册表 origin 无效",
|
|
249
|
+
"npm registry origin must be http(s) without credentials": "npm 注册表 origin 必须是不带凭据的 http(s)",
|
|
250
|
+
"npm registry origin must not include a path, query, or fragment": "npm 注册表 origin 不得包含路径、查询或片段",
|
|
251
|
+
"npm package name is invalid": "npm 包名无效",
|
|
252
|
+
"npm tarball URL is invalid": "npm tarball URL 无效",
|
|
253
|
+
"npm tarball URL must use http(s) without credentials": "npm tarball URL 必须使用 http(s) 且不带凭据",
|
|
254
|
+
"npm tarball URL must not include a fragment": "npm tarball URL 不得包含片段",
|
|
255
|
+
"npm registry response has no body": "npm 注册表响应没有 body",
|
|
256
|
+
"npm registry response exceeds the configured size limit": "npm 注册表响应超出配置的大小上限",
|
|
257
|
+
"npm registry response is not valid JSON": "npm 注册表响应不是有效 JSON",
|
|
258
|
+
"npm packument is invalid": "npm packument 无效",
|
|
259
|
+
"npm packument has no version table": "npm packument 没有版本表",
|
|
260
|
+
"npm registry token is invalid": "npm 注册表 token 无效",
|
|
261
|
+
"npm registry response must be JSON": "npm 注册表响应必须是 JSON",
|
|
262
|
+
"npm package version has no integrity field": "npm 包版本没有 integrity 字段",
|
|
263
|
+
"{label} must be http(s) without credentials": "{label} 必须是不带凭据的 http(s)",
|
|
264
|
+
"{label} must not include a query or fragment": "{label} 不得包含查询或片段",
|
|
265
|
+
"release API response is not valid JSON": "release API 响应不是有效 JSON",
|
|
266
|
+
"release API response is not a release list": "release API 响应不是 release 列表",
|
|
267
|
+
"release API response is not a release object": "release API 响应不是 release 对象",
|
|
268
|
+
"release assets are invalid": "release assets 无效",
|
|
269
|
+
"release has no assets": "release 没有 assets",
|
|
270
|
+
"assets: {names}": "assets:{names}",
|
|
271
|
+
"candidates: {names}": "candidates:{names}",
|
|
272
|
+
"release asset has no download URL": "release asset 没有 download URL",
|
|
273
|
+
"release API response has no body": "release API 响应没有 body",
|
|
274
|
+
"release API response exceeds the configured size limit": "release API 响应超出配置的大小上限",
|
|
275
|
+
"release API response must be JSON": "release API 响应必须是 JSON",
|
|
276
|
+
"release API redirect target is invalid": "release API 重定向目标无效",
|
|
277
|
+
"release API redirect must stay http(s)": "release API 重定向必须保持 http(s)",
|
|
278
|
+
"plugin package URL is invalid": "插件包 URL 无效",
|
|
279
|
+
"plugin package URL must use http(s) without credentials": "插件包 URL 必须使用 http(s) 且不带凭据",
|
|
280
|
+
"plugin package URL must not include a fragment": "插件包 URL 不得包含片段",
|
|
281
|
+
"expected sha256 digest is invalid": "期望的 sha256 摘要无效",
|
|
282
|
+
"plugin package exceeds the configured size limit": "插件包超出配置的大小上限",
|
|
283
|
+
"plugin package bytes do not match the expected sha256 digest": "插件包字节与期望的 sha256 摘要不匹配",
|
|
284
|
+
"Index record {index} is not an object": "索引记录 {index} 不是对象",
|
|
285
|
+
"Index record {index} has an invalid schema": "索引记录 {index} 的 schema 无效",
|
|
286
|
+
"Index record {index} is invalid": "索引记录 {index} 无效",
|
|
287
|
+
"Install store index JSON is invalid": "Install store 索引 JSON 无效",
|
|
288
|
+
"Install store index is not an object": "Install store 索引不是对象",
|
|
289
|
+
"Install store index schema is unsupported": "不支持的 Install store 索引 schema",
|
|
290
|
+
"Install store index exceeds the record limit": "Install store 索引超出记录上限",
|
|
291
|
+
"{label} exceeds the size limit": "{label} 超出大小上限",
|
|
292
|
+
"Installed plugin manifest JSON is invalid": "已安装插件 manifest JSON 无效",
|
|
293
|
+
"Installed plugin manifest is not an object": "已安装插件 manifest 不是对象",
|
|
294
|
+
"Installed plugin package format is unsupported": "不支持的已安装插件包格式",
|
|
295
|
+
"Installed plugin manifest identity does not match index record for {identity}": "已安装插件 manifest 身份与索引记录不匹配:{identity}",
|
|
296
|
+
"Install store root directory must be absolute": "Install store 根目录必须是绝对路径",
|
|
297
|
+
aborted: "已中止",
|
|
298
|
+
// --- tar ---
|
|
299
|
+
"tar header field overflows": "tar header 字段溢出",
|
|
300
|
+
"tar header name field overflows": "tar header name 字段溢出",
|
|
301
|
+
"tar entry name cannot be split into ustar fields": "tar 条目名无法拆分到 ustar 字段",
|
|
302
|
+
"tar entry name is invalid": "tar 条目名无效",
|
|
303
|
+
"tar entry name is not normalized": "tar 条目名未规范化",
|
|
304
|
+
"tar directory entry must be empty": "tar 目录条目必须为空",
|
|
305
|
+
"tar file entry requires bytes": "tar 文件条目需要字节内容",
|
|
306
|
+
"tar entries must be an array": "tar 条目必须是数组",
|
|
307
|
+
"duplicate tar entry name: {name}": "重复的 tar 条目名:{name}",
|
|
308
|
+
// --- bootstrap / market / acquisition / supervisor ---
|
|
309
|
+
"{env} must be a JSON array of {keyId, publicKeyPem}": "{env} 必须是由 {keyId, publicKeyPem} 组成的 JSON 数组",
|
|
310
|
+
"{env} must be a JSON array": "{env} 必须是 JSON 数组",
|
|
311
|
+
"plugin state read failed ({detail}) for the {scope} scope": "读取 {scope} 作用域的插件状态失败({detail})",
|
|
312
|
+
"installer prepare rejected {pluginId}: {reason}": "installer prepare 拒绝了 {pluginId}:{reason}",
|
|
313
|
+
"plugin install failed ({code}) for {pluginId}": "插件安装失败({code}):{pluginId}",
|
|
314
|
+
"plugin activation failed ({code}) for {pluginId}": "插件激活失败({code}):{pluginId}",
|
|
315
|
+
"plugin state persist failed ({status}) for {pluginId}": "插件状态持久化失败({status}):{pluginId}",
|
|
316
|
+
"plugin installation transaction did not complete": "插件安装事务未完成",
|
|
317
|
+
"Unknown supervised plugin: {pluginId}": "未知的受监管插件:{pluginId}",
|
|
318
|
+
// --- profile/ ---
|
|
319
|
+
"Unknown first-batch role: {roleId}": "未知的首批角色:{roleId}",
|
|
320
|
+
"Goal title must be a non-empty string": "Goal 标题必须是非空字符串",
|
|
321
|
+
"Goal {goalId} must be in draft status to activate (current: {status})": "Goal {goalId} 必须处于 draft 状态才能激活(当前:{status})",
|
|
322
|
+
"Goal {goalId} must be active to achieve (current: {status})": "Goal {goalId} 必须处于 active 状态才能完成(当前:{status})",
|
|
323
|
+
"Achieving a goal requires at least one evidence reference": "完成 goal 至少需要一个证据引用",
|
|
324
|
+
"Goal {goalId} cannot be archived from status {status}": "Goal {goalId} 无法从 {status} 状态归档",
|
|
325
|
+
"{label}[{index}] must be a plain object": "{label}[{index}] 必须是普通对象",
|
|
326
|
+
"{label} contains duplicate entry: {key}": "{label} 包含重复条目:{key}",
|
|
327
|
+
"{label}[{index}].selectedAdapter must be an object": "{label}[{index}].selectedAdapter 必须是对象",
|
|
328
|
+
"Profile identity.capabilityVersions version must be a positive safe integer: {id}": "Profile identity.capabilityVersions 版本必须是正的安全整数:{id}",
|
|
329
|
+
"Plan title must be a non-empty string": "Plan 标题必须是非空字符串",
|
|
330
|
+
"Plan branch must be a non-empty string": "Plan 分支必须是非空字符串",
|
|
331
|
+
"Plan requires at least one step": "Plan 至少需要一个步骤",
|
|
332
|
+
"Plan stepId must be a non-empty string": "Plan stepId 必须是非空字符串",
|
|
333
|
+
"Plan step title must be a non-empty string": "Plan 步骤标题必须是非空字符串",
|
|
334
|
+
"Duplicate plan stepId: {stepId}": "重复的 plan stepId:{stepId}",
|
|
335
|
+
"Plan {planId} must be in draft status to activate (current: {status})": "Plan {planId} 必须处于 draft 状态才能激活(当前:{status})",
|
|
336
|
+
"Plan {planId} must be active to link a revision (current: {status})": "Plan {planId} 必须处于 active 状态才能关联修订(当前:{status})",
|
|
337
|
+
"Plan revision must be a positive safe integer, got {revision}": "Plan 修订号必须是正的安全整数,实际为 {revision}",
|
|
338
|
+
"Plan {planId} must be active to complete (current: {status})": "Plan {planId} 必须处于 active 状态才能完成(当前:{status})",
|
|
339
|
+
"Completing a plan requires at least one evidence reference": "完成 plan 至少需要一个证据引用",
|
|
340
|
+
"Plan {planId} requires atRevision or a linked revision to complete": "Plan {planId} 完成 atRevision 或已关联的修订",
|
|
341
|
+
"Plan {planId} cannot be discarded from status {status}": "Plan {planId} 无法从 {status} 状态废弃",
|
|
342
|
+
"builtin manifest override does not match plugin {pluginId}": "builtin manifest 覆盖与插件 {pluginId} 不匹配",
|
|
343
|
+
"Policy manifest policyKind is invalid: {policyKind}": "Policy manifest policyKind 无效:{policyKind}",
|
|
344
|
+
"Policy manifest policyId must be a non-empty string": "Policy manifest policyId 必须是非空字符串",
|
|
345
|
+
"Policy manifest {policyId}: enabled must be stated explicitly": "Policy manifest {policyId}:必须显式声明 enabled",
|
|
346
|
+
"Policy manifest profileId must be a non-empty string": "Policy manifest profileId 必须是非空字符串",
|
|
347
|
+
"Registry source already registered: {sourceId}": "Registry source 已注册:{sourceId}",
|
|
348
|
+
"{label}.schemaVersion must be a positive safe integer": "{label}.schemaVersion 必须是正的安全整数",
|
|
349
|
+
"Role metadata must be a plain object": "Role metadata 必须是普通对象",
|
|
350
|
+
"Role metadata is missing required field: {key}": "Role metadata 缺少必需字段:{key}",
|
|
351
|
+
"Role metadata has unsupported fields: {fields}": "Role metadata 包含不支持的字段:{fields}",
|
|
352
|
+
"Role metadata.capabilityDependencies must be an array": "Role metadata.capabilityDependencies 必须是数组",
|
|
353
|
+
"{label}.capabilityVersion must be a positive safe integer": "{label}.capabilityVersion 必须是正的安全整数",
|
|
354
|
+
"{label}.required must be boolean": "{label}.required 必须是布尔值",
|
|
355
|
+
"Role metadata.writableScopes must be an array": "Role metadata.writableScopes 必须是数组",
|
|
356
|
+
"Role metadata.writableScopes[{index}] is invalid": "Role metadata.writableScopes[{index}] 无效",
|
|
357
|
+
"Role metadata.concurrency is invalid": "Role metadata.concurrency 无效",
|
|
358
|
+
"Role already registered: {roleId}": "角色已注册:{roleId}",
|
|
359
|
+
"Unknown role: {roleId}": "未知的角色:{roleId}",
|
|
360
|
+
"Role orchestrator is already running an orchestration": "Role orchestrator 已在运行一次编排",
|
|
361
|
+
"Role id must be a non-empty string": "角色 id 必须是非空字符串",
|
|
362
|
+
"Duplicate roleId in orchestration request: {roleId}": "编排请求中存在重复的 roleId:{roleId}",
|
|
363
|
+
"Duplicate run override for role: {roleId}": "角色的运行覆盖重复:{roleId}",
|
|
364
|
+
"Run override for unrequested role: {roleId}": "存在针对未请求角色的运行覆盖:{roleId}",
|
|
365
|
+
"Orchestration outcome missing for role: {roleId}": "角色缺少编排结果:{roleId}",
|
|
366
|
+
"No run binding for role: {roleId}": "角色没有运行绑定:{roleId}",
|
|
367
|
+
"Root facade is already running a turn": "Root facade 已在运行一个回合",
|
|
368
|
+
"Discovered item id must be a non-empty string": "发现的条目 id 必须是非空字符串",
|
|
369
|
+
"Item {key} re-registered with a different version ({from} -> {to})": "条目 {key} 以不同版本重新注册({from} -> {to})",
|
|
370
|
+
"{label} must be JSON-safe: {node} is not a finite number": "{label} 必须是 JSON 安全值:{node} 不是有限数字",
|
|
371
|
+
"{label} must be JSON-safe: circular reference": "{label} 必须是 JSON 安全值:存在循环引用",
|
|
372
|
+
"{label} must be JSON-safe: {key} is undefined": "{label} 必须是 JSON 安全值:{key} 为 undefined",
|
|
373
|
+
"{label} must be JSON-safe: unsupported value of type {type}": "{label} 必须是 JSON 安全值:不支持的 {type} 类型值",
|
|
374
|
+
"Transition conflict: expected fromStatus {from}, got {to}": "状态迁移冲突:期望 fromStatus {from},实际为 {to}",
|
|
375
|
+
"Todo {todoId} must be {allowed} (current: {status})": "Todo {todoId} 必须是 {allowed}(当前:{status})",
|
|
376
|
+
"Todo content must be a non-empty string": "Todo 内容必须是非空字符串",
|
|
377
|
+
"Todo cancel reason must be a non-empty string when provided": "Todo 取消原因提供时必须是非空字符串",
|
|
378
|
+
// --- host/ ---
|
|
379
|
+
"Checkpoint operationId must be a non-empty string": "Checkpoint operationId 必须是非空字符串",
|
|
380
|
+
"Compaction pluginId must be a non-empty string": "Compaction pluginId 必须是非空字符串",
|
|
381
|
+
"Host output projection requires a traceId on every event": "Host 输出投影要求每个事件都携带 traceId",
|
|
382
|
+
"Unsupported host event reached the projector": "不支持的主机事件到达投影器",
|
|
383
|
+
"Summary retry attemptLimit must be at least 1": "Summary 重试 attemptLimit 至少为 1",
|
|
384
|
+
"Summary retry wait bounds are invalid": "Summary 重试等待边界无效",
|
|
385
|
+
// --- durable/ ---
|
|
386
|
+
"durable store persist lock timeout after {timeoutMs} ms: {lockPath} is held by another writer": "durable store 持久化锁超时({timeoutMs} ms):{lockPath} 被其他写入者持有",
|
|
387
|
+
"Durable store lockTimeoutMs must be a positive number": "Durable store lockTimeoutMs 必须是正数",
|
|
388
|
+
"Durable store staleLockMs must be a positive number": "Durable store staleLockMs 必须是正数",
|
|
389
|
+
"Durable store leaseTtlMs must be a positive number": "Durable store leaseTtlMs 必须是正数",
|
|
390
|
+
"Writer {writerId} does not hold the store lease (held by {holder})": "写入者 {writerId} 未持有存储租约(由 {holder} 持有)",
|
|
391
|
+
"Writer {writerId} lost the store lease (expired or recovered by another writer)": "写入者 {writerId} 丢失了存储租约(已过期或被其他写入者恢复)",
|
|
392
|
+
"{label} must be an object": "{label} 必须是对象",
|
|
393
|
+
"{label} {idField} must be a non-empty string": "{label} {idField} 必须是非空字符串",
|
|
394
|
+
"{label} persistedAt must be a finite number": "{label} persistedAt 必须是有限数字",
|
|
395
|
+
"{label} sessionId must be a non-empty string": "{label} sessionId 必须是非空字符串",
|
|
396
|
+
"Writer {writerId} does not hold the writer lease": "写入者 {writerId} 未持有写入者租约",
|
|
397
|
+
"Writer {writerId} cannot release a crashed lease; recover it instead": "写入者 {writerId} 无法释放崩溃的租约;请改为恢复它",
|
|
398
|
+
"Writer {writerId} does not hold the writer lease (held by {holder})": "写入者 {writerId} 未持有写入者租约(由 {holder} 持有)",
|
|
399
|
+
"Unsupported durable snapshot version: {version}": "不支持的 durable 快照版本:{version}",
|
|
400
|
+
"Durable snapshot {field} must be an array": "Durable 快照 {field} 必须是数组",
|
|
401
|
+
"Durable snapshot writer holder must be a string or null": "Durable 快照 writer holder 必须是字符串或 null",
|
|
402
|
+
"Durable snapshot writer crashPending must be a string or null": "Durable 快照 writer crashPending 必须是字符串或 null",
|
|
403
|
+
// --- utils/ ---
|
|
404
|
+
"Expected a `string`, got `{type}`": "期望 `string`,实际为 `{type}`",
|
|
405
|
+
"Clipboard unavailable: text exceeds the OSC 52 size limit": "剪贴板不可用:文本超出 OSC 52 大小上限",
|
|
406
|
+
"Clipboard unavailable: install the Termux:API app and `termux-api` package": "剪贴板不可用:请安装 Termux:API 应用和 `termux-api` 包",
|
|
407
|
+
"Clipboard unavailable: install `wl-clipboard` (`wl-copy`) or check Wayland access": "剪贴板不可用:请安装 `wl-clipboard`(`wl-copy`)或检查 Wayland 访问权限",
|
|
408
|
+
"Clipboard unavailable: install `xclip` or `xsel`, or check X11 access": "剪贴板不可用:请安装 `xclip` 或 `xsel`,或检查 X11 访问权限",
|
|
409
|
+
"Clipboard unavailable: ensure the built-in `clip` command is on PATH": "剪贴板不可用:请确保内置 `clip` 命令位于 PATH 中",
|
|
410
|
+
"Clipboard unavailable": "剪贴板不可用",
|
|
411
|
+
"image resize worker requires parentPort": "图片缩放 worker 需要 parentPort",
|
|
412
|
+
"Invalid image resize worker request": "无效的图片缩放 worker 请求",
|
|
413
|
+
"Custom shell path not found: {path}": "未找到自定义 shell 路径:{path}",
|
|
414
|
+
"No bash shell found. Options:": "未找到 bash shell。选项:",
|
|
415
|
+
"1. Install Git for Windows: https://git-scm.com/download/win": "1. 安装 Git for Windows:https://git-scm.com/download/win",
|
|
416
|
+
"2. Add your bash to PATH (Cygwin, MSYS2, etc.)": "2. 将你的 bash 加入 PATH(Cygwin、MSYS2 等)",
|
|
417
|
+
"3. Set shellPath in settings.json": "3. 在 settings.json 中设置 shellPath",
|
|
418
|
+
"Searched Git Bash in:": "搜索 Git Bash 的位置:",
|
|
419
|
+
"The powershell tool is only available on Windows.": "powershell 工具仅在 Windows 上可用。",
|
|
420
|
+
"No PowerShell executable found. Install PowerShell or add powershell.exe/pwsh.exe to PATH.": "未找到 PowerShell 可执行文件。请安装 PowerShell 或将 powershell.exe/pwsh.exe 加入 PATH。",
|
|
421
|
+
"Failed to resolve latest {repo} release: HTTP {status} without redirect": "解析 {repo} 最新 release 失败:HTTP {status} 且无重定向",
|
|
422
|
+
"Failed to resolve latest {repo} release: unexpected redirect to {location}": "解析 {repo} 最新 release 失败:意外重定向到 {location}",
|
|
423
|
+
"Download failed with HTTP {status}: {url}": "下载失败,HTTP {status}:{url}",
|
|
424
|
+
"No response body": "响应没有 body",
|
|
425
|
+
"No committed sha256 for {name} asset {assetName}; refresh the pin and its digests": "{name} 的 asset {assetName} 没有已提交的 sha256;请刷新 pin 及其摘要",
|
|
426
|
+
"Failed to fetch release checksum: HTTP {status}: {url}": "获取 release 校验和失败:HTTP {status}:{url}",
|
|
427
|
+
"Release checksum has an unexpected format: {url}": "release 校验和格式异常:{url}",
|
|
428
|
+
"Failed to extract {assetName}: {failure}": "解压 {assetName} 失败:{failure}",
|
|
429
|
+
"Failed to extract {assetName}: {failures}": "解压 {assetName} 失败:{failures}",
|
|
430
|
+
"Unknown tool: {tool}": "未知的工具:{tool}",
|
|
431
|
+
"Unsupported platform: {platform}/{architecture}": "不支持的平台:{platform}/{architecture}",
|
|
432
|
+
"Unsupported archive format: {assetName}": "不支持的归档格式:{assetName}",
|
|
433
|
+
"Binary not found in archive: expected {binaryFileName} under {extractDir}": "归档中未找到二进制文件:期望 {binaryFileName} 位于 {extractDir} 下",
|
|
434
|
+
"Version service returned an unexpected package name: {actual}. Expected {expected}.": "版本服务返回了意外的包名:{actual}。期望 {expected}。",
|
|
435
|
+
// --- package-manager-cli.ts ---
|
|
436
|
+
"Managed install marker is missing or invalid: {path}": "托管安装标记缺失或无效:{path}",
|
|
437
|
+
"Could not download managed installer {label} from {url}: HTTP {status}": "无法从 {url} 下载托管安装器 {label}:HTTP {status}",
|
|
438
|
+
"npm {args} exited with code {code}": "npm {args} 退出码 {code}",
|
|
439
|
+
"Could not verify managed {app} {version}: {reason}": "无法验证托管的 {app} {version}:{reason}",
|
|
440
|
+
"Managed {app} smoke test returned version {installed}; expected {expected}.": "托管 {app} 冒烟测试返回版本 {installed};期望 {expected}。",
|
|
441
|
+
"Invalid managed release version: {version}": "无效的托管 release 版本:{version}",
|
|
442
|
+
"Another managed {app} update is already running.": "另一个托管的 {app} 更新已在运行。",
|
|
443
|
+
"Managed self-update requires AGENT_FORGE_INSTALLER_API_BASE to be configured.": "托管自更新要求配置 AGENT_FORGE_INSTALLER_API_BASE。",
|
|
444
|
+
"Model catalog refresh timed out.": "模型目录刷新超时。",
|
|
445
|
+
"Could not refresh model catalogs: {details}": "无法刷新模型目录:{details}",
|
|
446
|
+
"Could not determine latest {app} version.": "无法确定最新的 {app} 版本。",
|
|
447
|
+
"Could not determine latest {app} version: {reason}": "无法确定最新的 {app} 版本:{reason}",
|
|
448
|
+
// --- cli/experimental/command.ts ---
|
|
449
|
+
"Option {option} is already registered for {name}": "选项 {option} 已注册到 {name}",
|
|
450
|
+
"Command {name} is already registered": "命令 {name} 已注册",
|
|
451
|
+
"Command {name} does not define an action": "命令 {name} 未定义 action",
|
|
452
|
+
"Command {name} does not define a builder": "命令 {name} 未定义 builder",
|
|
453
|
+
"Command {name} failed without an error": "命令 {name} 失败但没有错误",
|
|
454
|
+
};
|
|
455
|
+
//# sourceMappingURL=core-contract-plugins.js.map
|