@eddyskywalker/dsh-chatgpt-subscription 0.82.3 → 0.84.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/README.md +65 -227
- package/lib/aws-quick-mcp.js +1 -1
- package/lib/client.js +444 -456
- package/lib/client.js.map +1 -1
- package/lib/codemode.js +310 -45
- package/lib/index.js +3747 -4910
- package/lib/plan-mode-Rrk8NKuk.js +1760 -0
- package/lib/plan-mode-pipeline-DvVmLaxR.js +433 -0
- package/lib/plan-mode-pipeline.js +1 -1
- package/lib/plan-mode.js +2 -2
- package/lib/preset-sync-B9yKbQPc.js +726 -0
- package/lib/progress-updates-CSBYky9J.js +1121 -0
- package/lib/progress-updates.js +1 -1
- package/lib/tool-result-pruner-CIZ8RtkC.js +1112 -0
- package/lib/tool-result-pruner.js +1 -1
- package/lib/types/client/common/AccountPoolSection.d.ts +9 -0
- package/lib/types/client/common/AccountPoolSection.d.ts.map +1 -1
- package/lib/types/client/common/ComposerQuotaBadge.d.ts +1 -1
- package/lib/types/client/common/ComposerQuotaBadge.d.ts.map +1 -1
- package/lib/types/client/common/use-store.d.ts +1 -1
- package/lib/types/client/common/use-store.d.ts.map +1 -1
- package/lib/types/client/features/CompactionRouteCard.d.ts +43 -0
- package/lib/types/client/features/CompactionRouteCard.d.ts.map +1 -0
- package/lib/types/client/features/codemode/CodeRunToolView.d.ts +68 -0
- package/lib/types/client/features/codemode/CodeRunToolView.d.ts.map +1 -0
- package/lib/types/client/features/codemode/highlight.d.ts.map +1 -0
- package/lib/types/client/features/codemode/styles.d.ts.map +1 -0
- package/lib/types/client/features/codemode/tool-name.d.ts.map +1 -0
- package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts +24 -0
- package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts.map +1 -0
- package/lib/types/client/features/compact-after-turn/locales.d.ts.map +1 -0
- package/lib/types/client/features/compact-after-turn/styles.d.ts.map +1 -0
- package/lib/types/client/features/dispatch-ledger/MandateToolView.d.ts.map +1 -0
- package/lib/types/client/features/dispatch-ledger/locales.d.ts.map +1 -0
- package/lib/types/client/features/dispatch-ledger/styles.d.ts.map +1 -0
- package/lib/types/client/features/mermaid/renderer.d.ts.map +1 -0
- package/lib/types/client/features/mermaid/sanitize.d.ts.map +1 -0
- package/lib/types/client/features/mermaid/styles.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/contracts.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/guide-artwork.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/host-source.d.ts +118 -0
- package/lib/types/client/features/progress-updates/host-source.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/index.d.ts +61 -0
- package/lib/types/client/features/progress-updates/index.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/locales.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/markdown-lite.d.ts +65 -0
- package/lib/types/client/features/progress-updates/markdown-lite.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/progress-row.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/settings-binding.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/settings-section.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/styles.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/tool-name.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/updates-panel.d.ts.map +1 -0
- package/lib/types/client/features/subagent/SubagentCard.d.ts.map +1 -0
- package/lib/types/client/features/subagent/index.d.ts.map +1 -0
- package/lib/types/client/features/subagent/locales.d.ts +184 -0
- package/lib/types/client/features/subagent/locales.d.ts.map +1 -0
- package/lib/types/client/features/subagent/styles.d.ts.map +1 -0
- package/lib/types/client/features/subagent/subagent-card-controller.d.ts +352 -0
- package/lib/types/client/features/subagent/subagent-card-controller.d.ts.map +1 -0
- package/lib/types/client/hub/HubOverview.d.ts +1 -1
- package/lib/types/client/hub/HubOverview.d.ts.map +1 -1
- package/lib/types/client/hub/ProviderHubSection.d.ts +16 -0
- package/lib/types/client/hub/ProviderHubSection.d.ts.map +1 -0
- package/lib/types/client/hub/UpdateCheck.d.ts +1 -1
- package/lib/types/client/hub/UpdateCheck.d.ts.map +1 -1
- package/lib/types/client/index.d.ts +21 -21
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/locales-ru/antigravity-acp.d.ts +1 -1
- package/lib/types/client/locales-ru/antigravity-acp.d.ts.map +1 -1
- package/lib/types/client/locales-ru/aws-quick.d.ts +1 -1
- package/lib/types/client/locales-ru/aws-quick.d.ts.map +1 -1
- package/lib/types/client/locales-ru/claude-api.d.ts +1 -1
- package/lib/types/client/locales-ru/claude-api.d.ts.map +1 -1
- package/lib/types/client/locales-ru/claude.d.ts +1 -1
- package/lib/types/client/locales-ru/claude.d.ts.map +1 -1
- package/lib/types/client/locales-ru/cline-pass.d.ts +1 -1
- package/lib/types/client/locales-ru/cline-pass.d.ts.map +1 -1
- package/lib/types/client/locales-ru/command-code.d.ts +1 -1
- package/lib/types/client/locales-ru/command-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/compact-after-turn.d.ts +1 -1
- package/lib/types/client/locales-ru/compact-after-turn.d.ts.map +1 -1
- package/lib/types/client/locales-ru/dispatch-ledger.d.ts +1 -1
- package/lib/types/client/locales-ru/dispatch-ledger.d.ts.map +1 -1
- package/lib/types/client/locales-ru/glm-coding-plan.d.ts +1 -1
- package/lib/types/client/locales-ru/glm-coding-plan.d.ts.map +1 -1
- package/lib/types/client/locales-ru/hub.d.ts +1 -1
- package/lib/types/client/locales-ru/hub.d.ts.map +1 -1
- package/lib/types/client/locales-ru/kimi-code.d.ts +1 -1
- package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/minimax-code.d.ts +1 -1
- package/lib/types/client/locales-ru/minimax-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/ollama.d.ts +1 -1
- package/lib/types/client/locales-ru/ollama.d.ts.map +1 -1
- package/lib/types/client/locales-ru/opendesign.d.ts +1 -1
- package/lib/types/client/locales-ru/opendesign.d.ts.map +1 -1
- package/lib/types/client/locales-ru/progress-updates.d.ts +1 -1
- package/lib/types/client/locales-ru/progress-updates.d.ts.map +1 -1
- package/lib/types/client/locales-ru/qianwen-token-plan.d.ts +1 -1
- package/lib/types/client/locales-ru/qianwen-token-plan.d.ts.map +1 -1
- package/lib/types/client/locales-ru/qoder.d.ts +1 -1
- package/lib/types/client/locales-ru/qoder.d.ts.map +1 -1
- package/lib/types/client/locales-ru/relayone.d.ts +1 -1
- package/lib/types/client/locales-ru/relayone.d.ts.map +1 -1
- package/lib/types/client/locales-ru/step-code.d.ts +1 -1
- package/lib/types/client/locales-ru/step-code.d.ts.map +1 -1
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts +35 -0
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpSection.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/api.d.ts +36 -0
- package/lib/types/client/providers/antigravity-acp/api.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/locales.d.ts +557 -0
- package/lib/types/client/providers/antigravity-acp/locales.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/route.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/styles.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/AwsQuickSection.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/api.d.ts +11 -0
- package/lib/types/client/providers/aws-quick/api.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/locales.d.ts +117 -0
- package/lib/types/client/providers/aws-quick/locales.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/styles.d.ts.map +1 -0
- package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts +29 -0
- package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/claude/ClaudeSection.d.ts.map +1 -0
- package/lib/types/client/providers/claude/locales.d.ts +468 -0
- package/lib/types/client/providers/claude/locales.d.ts.map +1 -0
- package/lib/types/client/providers/claude/styles.d.ts.map +1 -0
- package/lib/types/client/providers/claude/useClaudeSection.d.ts +95 -0
- package/lib/types/client/providers/claude/useClaudeSection.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/ClaudeApiSection.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/api.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/locales.d.ts +161 -0
- package/lib/types/client/providers/claude-api/locales.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/styles.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts +37 -0
- package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts +23 -0
- package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/ClinePassSection.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/api.d.ts +85 -0
- package/lib/types/client/providers/cline-pass/api.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/locales.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/styles.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/CodexComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/CodexImageToolView.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts +42 -0
- package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/api.d.ts +60 -0
- package/lib/types/client/providers/codex-chatgpt/api.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/locales.d.ts +541 -0
- package/lib/types/client/providers/codex-chatgpt/locales.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/quota.d.ts +9 -0
- package/lib/types/client/providers/codex-chatgpt/quota.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/store.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/styles.d.ts.map +1 -0
- package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts +20 -0
- package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/command-code/CommandCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/command-code/locales.d.ts +305 -0
- package/lib/types/client/providers/command-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +27 -0
- package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanSection.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/api.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/locales.d.ts +409 -0
- package/lib/types/client/providers/glm-coding-plan/locales.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/styles.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts +65 -0
- package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts +21 -0
- package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts +16 -0
- package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts +31 -0
- package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/labels.d.ts +66 -0
- package/lib/types/client/providers/kimi-code/labels.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/locales.d.ts +694 -0
- package/lib/types/client/providers/kimi-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/staff-art.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/styles.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts +23 -0
- package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts +48 -0
- package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxVideoToolView.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts +49 -0
- package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/VideoSettingsSections.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/api.d.ts +35 -0
- package/lib/types/client/providers/minimax-code/api.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/commands-contract.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/document-preview.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/locales.d.ts +686 -0
- package/lib/types/client/providers/minimax-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/styles.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts +164 -0
- package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-command-host.d.ts +41 -0
- package/lib/types/client/providers/minimax-code/video-command-host.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-command-icon.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-command.d.ts +90 -0
- package/lib/types/client/providers/minimax-code/video-command.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-contract.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-defaults-store.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-form-rules.d.ts +245 -0
- package/lib/types/client/providers/minimax-code/video-form-rules.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-media-dropzone.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-media-input.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-media.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-presets.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-slots.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-workspace.d.ts.map +1 -0
- package/lib/types/client/providers/ollama/OllamaSection.d.ts.map +1 -0
- package/lib/types/client/providers/ollama/api.d.ts +49 -0
- package/lib/types/client/providers/ollama/api.d.ts.map +1 -0
- package/lib/types/client/providers/ollama/locales.d.ts +479 -0
- package/lib/types/client/providers/ollama/locales.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts +26 -0
- package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/OpenDesignSection.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/api.d.ts +45 -0
- package/lib/types/client/providers/opendesign/api.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/locales.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/styles.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts +14 -0
- package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/api.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/locales.d.ts +158 -0
- package/lib/types/client/providers/qianwen-token-plan/locales.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/styles.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts +32 -0
- package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts +41 -0
- package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/QoderSection.d.ts +37 -0
- package/lib/types/client/providers/qoder/QoderSection.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/api.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/locales.d.ts +322 -0
- package/lib/types/client/providers/qoder/locales.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/styles.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/useQoderSection.d.ts +97 -0
- package/lib/types/client/providers/qoder/useQoderSection.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts +14 -0
- package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/RelayOneSection.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/api.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/locales.d.ts +221 -0
- package/lib/types/client/providers/relayone/locales.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/quota-format.d.ts +6 -0
- package/lib/types/client/providers/relayone/quota-format.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/styles.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/useRelayOneSection.d.ts +32 -0
- package/lib/types/client/providers/relayone/useRelayOneSection.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts +50 -0
- package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/StepCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/api.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/locales.d.ts +657 -0
- package/lib/types/client/providers/step-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/styles.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/useStepCodeSection.d.ts +122 -0
- package/lib/types/client/providers/step-code/useStepCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts +34 -0
- package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts +64 -0
- package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/locales.d.ts +768 -0
- package/lib/types/client/providers/workbuddy/locales.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/styles.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts +149 -0
- package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts.map +1 -0
- package/lib/types/compat.d.ts +1 -1
- package/lib/types/entries/aws-quick-mcp.d.ts +2 -0
- package/lib/types/entries/aws-quick-mcp.d.ts.map +1 -0
- package/lib/types/entries/codemode.d.ts +57 -0
- package/lib/types/entries/codemode.d.ts.map +1 -0
- package/lib/types/entries/plan-mode-pipeline.d.ts +159 -0
- package/lib/types/entries/plan-mode-pipeline.d.ts.map +1 -0
- package/lib/types/entries/plan-mode.d.ts +453 -0
- package/lib/types/entries/plan-mode.d.ts.map +1 -0
- package/lib/types/entries/progress-updates.d.ts +43 -0
- package/lib/types/entries/progress-updates.d.ts.map +1 -0
- package/lib/types/entries/tool-result-pruner.d.ts +260 -0
- package/lib/types/entries/tool-result-pruner.d.ts.map +1 -0
- package/lib/types/host/common/account-pool.d.ts +1 -1
- package/lib/types/host/common/account-pool.d.ts.map +1 -1
- package/lib/types/host/common/i18n/zh.d.ts +3 -3
- package/lib/types/host/common/llm-compat.d.ts +35 -2
- package/lib/types/host/common/llm-compat.d.ts.map +1 -1
- package/lib/types/host/common/pool-storage.d.ts +1 -1
- package/lib/types/host/common/pool-storage.d.ts.map +1 -1
- package/lib/types/host/common/prefix-stability.d.ts +1 -1
- package/lib/types/host/common/prefix-stability.d.ts.map +1 -1
- package/lib/types/host/common/request-images.d.ts +18 -30
- package/lib/types/host/common/request-images.d.ts.map +1 -1
- package/lib/types/host/common/tool-runaway.d.ts +20 -1
- package/lib/types/host/common/tool-runaway.d.ts.map +1 -1
- package/lib/types/host/infra/hub/compaction-prompt.d.ts +94 -0
- package/lib/types/host/infra/hub/compaction-prompt.d.ts.map +1 -0
- package/lib/types/host/infra/hub/hub-overview.d.ts +31 -0
- package/lib/types/host/infra/hub/hub-overview.d.ts.map +1 -0
- package/lib/types/host/infra/hub/update-check.d.ts +118 -0
- package/lib/types/host/infra/hub/update-check.d.ts.map +1 -0
- package/lib/types/host/infra/network/fetch-address-policy.d.ts.map +1 -0
- package/lib/types/host/infra/network/fetch-configuration.d.ts +6 -0
- package/lib/types/host/infra/network/fetch-configuration.d.ts.map +1 -0
- package/lib/types/host/infra/network/proxy-manager.d.ts +246 -0
- package/lib/types/host/infra/network/proxy-manager.d.ts.map +1 -0
- package/lib/types/host/infra/network/relay-probe.d.ts.map +1 -0
- package/lib/types/host/infra/network/search-provider-switcher.d.ts +45 -0
- package/lib/types/host/infra/network/search-provider-switcher.d.ts.map +1 -0
- package/lib/types/host/infra/network/web-provider-reconciler.d.ts.map +1 -0
- package/lib/types/host/infra/network/wire-auth.d.ts +63 -0
- package/lib/types/host/infra/network/wire-auth.d.ts.map +1 -0
- package/lib/types/host/infra/storage/credential-store-secret-service.d.ts.map +1 -0
- package/lib/types/host/infra/storage/platform-token-store.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store-linux.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store-macos.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store-windows.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store.d.ts +81 -0
- package/lib/types/host/infra/storage/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-capability-memory.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-cch.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-corrections.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts +68 -0
- package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts +90 -0
- package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/acp-client.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/adapter.d.ts +305 -0
- package/lib/types/host/providers/antigravity-acp/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts +59 -0
- package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/binary.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/catalog.d.ts +107 -0
- package/lib/types/host/providers/antigravity-acp/catalog.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/doctor.d.ts +73 -0
- package/lib/types/host/providers/antigravity-acp/doctor.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/errors.d.ts +69 -0
- package/lib/types/host/providers/antigravity-acp/errors.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/history.d.ts +131 -0
- package/lib/types/host/providers/antigravity-acp/history.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/login.d.ts +68 -0
- package/lib/types/host/providers/antigravity-acp/login.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/mcp-bridge.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/process-temp.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/routes.d.ts +100 -0
- package/lib/types/host/providers/antigravity-acp/routes.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/settings.d.ts +81 -0
- package/lib/types/host/providers/antigravity-acp/settings.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/subagent.d.ts +128 -0
- package/lib/types/host/providers/antigravity-acp/subagent.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/types.d.ts +155 -0
- package/lib/types/host/providers/antigravity-acp/types.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/adapter.d.ts +73 -0
- package/lib/types/host/providers/aws-quick/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/binary.d.ts +3 -0
- package/lib/types/host/providers/aws-quick/binary.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/client.d.ts +85 -0
- package/lib/types/host/providers/aws-quick/client.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/execution-broker.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/images.d.ts +21 -0
- package/lib/types/host/providers/aws-quick/images.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/markup.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/outpost.d.ts +55 -0
- package/lib/types/host/providers/aws-quick/outpost.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/protocol.d.ts +53 -0
- package/lib/types/host/providers/aws-quick/protocol.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/routes.d.ts +15 -0
- package/lib/types/host/providers/aws-quick/routes.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/settings.d.ts +24 -0
- package/lib/types/host/providers/aws-quick/settings.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/tool-bridge.d.ts +67 -0
- package/lib/types/host/providers/aws-quick/tool-bridge.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/types.d.ts +12 -0
- package/lib/types/host/providers/aws-quick/types.d.ts.map +1 -0
- package/lib/types/host/providers/claude/account-pool.d.ts +484 -0
- package/lib/types/host/providers/claude/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/claude/adapter.d.ts +243 -0
- package/lib/types/host/providers/claude/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/claude/adopt.d.ts +193 -0
- package/lib/types/host/providers/claude/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/claude/client.d.ts +463 -0
- package/lib/types/host/providers/claude/client.d.ts.map +1 -0
- package/lib/types/host/providers/claude/mapper.d.ts +575 -0
- package/lib/types/host/providers/claude/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/claude/model-catalog.d.ts +258 -0
- package/lib/types/host/providers/claude/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/claude/oauth.d.ts +312 -0
- package/lib/types/host/providers/claude/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/claude/routes.d.ts +86 -0
- package/lib/types/host/providers/claude/routes.d.ts.map +1 -0
- package/lib/types/host/providers/claude/token-store.d.ts +261 -0
- package/lib/types/host/providers/claude/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/claude/types.d.ts +375 -0
- package/lib/types/host/providers/claude/types.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/adapter.d.ts +70 -0
- package/lib/types/host/providers/claude-api/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/capability-memory.d.ts +4 -0
- package/lib/types/host/providers/claude-api/capability-memory.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/catalog-manager.d.ts +57 -0
- package/lib/types/host/providers/claude-api/catalog-manager.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/client-version.d.ts +4 -0
- package/lib/types/host/providers/claude-api/client-version.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/client.d.ts +55 -0
- package/lib/types/host/providers/claude-api/client.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/compaction-store.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/compaction.d.ts +47 -0
- package/lib/types/host/providers/claude-api/compaction.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/mapper.d.ts +61 -0
- package/lib/types/host/providers/claude-api/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/model-catalog.d.ts +76 -0
- package/lib/types/host/providers/claude-api/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/routes.d.ts +22 -0
- package/lib/types/host/providers/claude-api/routes.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/stream.d.ts +88 -0
- package/lib/types/host/providers/claude-api/stream.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/token-store.d.ts +60 -0
- package/lib/types/host/providers/claude-api/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/types.d.ts +68 -0
- package/lib/types/host/providers/claude-api/types.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/account-pool.d.ts +63 -0
- package/lib/types/host/providers/cline-pass/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/adapter.d.ts +58 -0
- package/lib/types/host/providers/cline-pass/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/catalog.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/client.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/engine.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/line.d.ts +55 -0
- package/lib/types/host/providers/cline-pass/line.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/mapper.d.ts +138 -0
- package/lib/types/host/providers/cline-pass/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/protocol.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/routes.d.ts +92 -0
- package/lib/types/host/providers/cline-pass/routes.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/store.d.ts +75 -0
- package/lib/types/host/providers/cline-pass/store.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/token-store.d.ts +170 -0
- package/lib/types/host/providers/cline-pass/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/tools.d.ts +21 -0
- package/lib/types/host/providers/cline-pass/tools.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/types.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/callback-server.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts +183 -0
- package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts +162 -0
- package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts +69 -0
- package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-fetch.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts +130 -0
- package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-images.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts +41 -0
- package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-search.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts +43 -0
- package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts +242 -0
- package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/preferences.d.ts +26 -0
- package/lib/types/host/providers/codex-chatgpt/preferences.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts +125 -0
- package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts +133 -0
- package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/routes.d.ts +32 -0
- package/lib/types/host/providers/codex-chatgpt/routes.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts +109 -0
- package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/account-pool.d.ts +72 -0
- package/lib/types/host/providers/command-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/client.d.ts +126 -0
- package/lib/types/host/providers/command-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/mapper.d.ts +199 -0
- package/lib/types/host/providers/command-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/model-catalog.d.ts +45 -0
- package/lib/types/host/providers/command-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/oauth.d.ts +95 -0
- package/lib/types/host/providers/command-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/plans.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/routes.d.ts +44 -0
- package/lib/types/host/providers/command-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/token-store.d.ts +100 -0
- package/lib/types/host/providers/command-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/types.d.ts +222 -0
- package/lib/types/host/providers/command-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts +152 -0
- package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/adapter.d.ts +167 -0
- package/lib/types/host/providers/glm-coding-plan/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/adopt.d.ts +296 -0
- package/lib/types/host/providers/glm-coding-plan/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts +99 -0
- package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/client.d.ts +218 -0
- package/lib/types/host/providers/glm-coding-plan/client.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/exchange.d.ts +189 -0
- package/lib/types/host/providers/glm-coding-plan/exchange.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts +312 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts +182 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts +180 -0
- package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/oauth.d.ts +180 -0
- package/lib/types/host/providers/glm-coding-plan/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/routes.d.ts +93 -0
- package/lib/types/host/providers/glm-coding-plan/routes.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/token-store.d.ts +202 -0
- package/lib/types/host/providers/glm-coding-plan/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/types.d.ts +462 -0
- package/lib/types/host/providers/glm-coding-plan/types.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/account-pool.d.ts +124 -0
- package/lib/types/host/providers/kimi-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/adapter.d.ts +405 -0
- package/lib/types/host/providers/kimi-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/api-key.d.ts +55 -0
- package/lib/types/host/providers/kimi-code/api-key.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/cache-affinity.d.ts +112 -0
- package/lib/types/host/providers/kimi-code/cache-affinity.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/cache-hint.d.ts +65 -0
- package/lib/types/host/providers/kimi-code/cache-hint.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/cache-wait.d.ts +166 -0
- package/lib/types/host/providers/kimi-code/cache-wait.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/client.d.ts +316 -0
- package/lib/types/host/providers/kimi-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/mapper.d.ts +913 -0
- package/lib/types/host/providers/kimi-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/media-files.d.ts +179 -0
- package/lib/types/host/providers/kimi-code/media-files.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/modalities.d.ts +23 -0
- package/lib/types/host/providers/kimi-code/modalities.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/model-catalog.d.ts +125 -0
- package/lib/types/host/providers/kimi-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/oauth.d.ts +213 -0
- package/lib/types/host/providers/kimi-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts +185 -0
- package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/routes.d.ts +52 -0
- package/lib/types/host/providers/kimi-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/session-cache-state.d.ts +156 -0
- package/lib/types/host/providers/kimi-code/session-cache-state.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/token-store.d.ts +182 -0
- package/lib/types/host/providers/kimi-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts +43 -0
- package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/tool-argument-recovery.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/types.d.ts +407 -0
- package/lib/types/host/providers/kimi-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/video-store.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/video-tool.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/account-pool.d.ts +309 -0
- package/lib/types/host/providers/minimax-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/adapter.d.ts +205 -0
- package/lib/types/host/providers/minimax-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts +117 -0
- package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/checkin.d.ts +178 -0
- package/lib/types/host/providers/minimax-code/checkin.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/client.d.ts +242 -0
- package/lib/types/host/providers/minimax-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/files-api.d.ts +89 -0
- package/lib/types/host/providers/minimax-code/files-api.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts +43 -0
- package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/mapper.d.ts +260 -0
- package/lib/types/host/providers/minimax-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/matrix-client.d.ts +128 -0
- package/lib/types/host/providers/minimax-code/matrix-client.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/media-store.d.ts +122 -0
- package/lib/types/host/providers/minimax-code/media-store.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/modalities.d.ts +20 -0
- package/lib/types/host/providers/minimax-code/modalities.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/model-catalog.d.ts +227 -0
- package/lib/types/host/providers/minimax-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/oauth.d.ts +220 -0
- package/lib/types/host/providers/minimax-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/reset-card.d.ts +106 -0
- package/lib/types/host/providers/minimax-code/reset-card.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/routes.d.ts +82 -0
- package/lib/types/host/providers/minimax-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts +205 -0
- package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/token-store.d.ts +300 -0
- package/lib/types/host/providers/minimax-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/types.d.ts +344 -0
- package/lib/types/host/providers/minimax-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/video-history.d.ts +209 -0
- package/lib/types/host/providers/minimax-code/video-history.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/video-submit-rules.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/video-tool.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/account-pool.d.ts +65 -0
- package/lib/types/host/providers/ollama/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/adapter.d.ts +85 -0
- package/lib/types/host/providers/ollama/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/client.d.ts +166 -0
- package/lib/types/host/providers/ollama/client.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/mapper.d.ts +49 -0
- package/lib/types/host/providers/ollama/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/routes.d.ts +22 -0
- package/lib/types/host/providers/ollama/routes.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/token-store.d.ts +78 -0
- package/lib/types/host/providers/ollama/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/types.d.ts +220 -0
- package/lib/types/host/providers/ollama/types.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/account-pool.d.ts +54 -0
- package/lib/types/host/providers/opendesign/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/adapter.d.ts +82 -0
- package/lib/types/host/providers/opendesign/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/catalog.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/client.d.ts +258 -0
- package/lib/types/host/providers/opendesign/client.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/line.d.ts +60 -0
- package/lib/types/host/providers/opendesign/line.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/mapper.d.ts +218 -0
- package/lib/types/host/providers/opendesign/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/routes.d.ts +75 -0
- package/lib/types/host/providers/opendesign/routes.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/token-store.d.ts +241 -0
- package/lib/types/host/providers/opendesign/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/types.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts +35 -0
- package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts +17 -0
- package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/client.d.ts +5 -0
- package/lib/types/host/providers/qianwen-token-plan/client.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts +71 -0
- package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts +28 -0
- package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/routes.d.ts +12 -0
- package/lib/types/host/providers/qianwen-token-plan/routes.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts +56 -0
- package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/types.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/account-pool.d.ts +141 -0
- package/lib/types/host/providers/qoder/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/adapter.d.ts +165 -0
- package/lib/types/host/providers/qoder/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/adopt.d.ts +104 -0
- package/lib/types/host/providers/qoder/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/client.d.ts +292 -0
- package/lib/types/host/providers/qoder/client.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/cosy.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/mapper.d.ts +332 -0
- package/lib/types/host/providers/qoder/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/model-catalog.d.ts +231 -0
- package/lib/types/host/providers/qoder/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/oauth.d.ts +151 -0
- package/lib/types/host/providers/qoder/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/routes.d.ts +119 -0
- package/lib/types/host/providers/qoder/routes.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/token-store.d.ts +280 -0
- package/lib/types/host/providers/qoder/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/types.d.ts +262 -0
- package/lib/types/host/providers/qoder/types.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/account-pool.d.ts +129 -0
- package/lib/types/host/providers/relayone/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/adapter.d.ts +79 -0
- package/lib/types/host/providers/relayone/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/catalog-manager.d.ts +45 -0
- package/lib/types/host/providers/relayone/catalog-manager.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/client.d.ts +5 -0
- package/lib/types/host/providers/relayone/client.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/image-tool.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/mapper-anthropic.d.ts +49 -0
- package/lib/types/host/providers/relayone/mapper-anthropic.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/mapper-openai.d.ts +36 -0
- package/lib/types/host/providers/relayone/mapper-openai.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/mapper-shared.d.ts +25 -0
- package/lib/types/host/providers/relayone/mapper-shared.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/media-shared.d.ts +27 -0
- package/lib/types/host/providers/relayone/media-shared.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/model-catalog.d.ts +70 -0
- package/lib/types/host/providers/relayone/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/quota.d.ts +29 -0
- package/lib/types/host/providers/relayone/quota.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/routes.d.ts +25 -0
- package/lib/types/host/providers/relayone/routes.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/token-store.d.ts +49 -0
- package/lib/types/host/providers/relayone/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/types.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/video-tool.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/account-pool.d.ts +187 -0
- package/lib/types/host/providers/step-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/adapter.d.ts +154 -0
- package/lib/types/host/providers/step-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/adopt.d.ts +156 -0
- package/lib/types/host/providers/step-code/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/cache-stats.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/client.d.ts +311 -0
- package/lib/types/host/providers/step-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/mapper.d.ts +248 -0
- package/lib/types/host/providers/step-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/model-catalog.d.ts +218 -0
- package/lib/types/host/providers/step-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/oauth.d.ts +265 -0
- package/lib/types/host/providers/step-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/routes.d.ts +102 -0
- package/lib/types/host/providers/step-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/token-store.d.ts +325 -0
- package/lib/types/host/providers/step-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/types.d.ts +492 -0
- package/lib/types/host/providers/step-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/account-pool.d.ts +389 -0
- package/lib/types/host/providers/workbuddy/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/adapter.d.ts +246 -0
- package/lib/types/host/providers/workbuddy/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/atrest.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/checkin.d.ts +150 -0
- package/lib/types/host/providers/workbuddy/checkin.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/client.d.ts +214 -0
- package/lib/types/host/providers/workbuddy/client.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/dsml.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/guardrails.d.ts +111 -0
- package/lib/types/host/providers/workbuddy/guardrails.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/identity.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/mapper.d.ts +238 -0
- package/lib/types/host/providers/workbuddy/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/model-catalog.d.ts +153 -0
- package/lib/types/host/providers/workbuddy/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/oauth.d.ts +47 -0
- package/lib/types/host/providers/workbuddy/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/outbound-identity.d.ts +105 -0
- package/lib/types/host/providers/workbuddy/outbound-identity.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/routes.d.ts +56 -0
- package/lib/types/host/providers/workbuddy/routes.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/token-store.d.ts +370 -0
- package/lib/types/host/providers/workbuddy/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/types.d.ts +185 -0
- package/lib/types/host/providers/workbuddy/types.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/budget.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/contracts.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/index.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/install.d.ts +124 -0
- package/lib/types/host/runtime/cache-warmup/install.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/logging.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/projection.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/result-tool.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/retrieval-intent.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/settings.d.ts +79 -0
- package/lib/types/host/runtime/cache-warmup/settings.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/store.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/usage.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/discovery.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/executor.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/retention.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/rules.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/scope.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/transport.d.ts +493 -0
- package/lib/types/host/runtime/codemode/transport.d.ts.map +1 -0
- package/lib/types/host/runtime/compact-after-turn/index.d.ts +105 -0
- package/lib/types/host/runtime/compact-after-turn/index.d.ts.map +1 -0
- package/lib/types/host/runtime/compaction-route/index.d.ts +118 -0
- package/lib/types/host/runtime/compaction-route/index.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts +27 -0
- package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts +70 -0
- package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/match.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/observation-tagger.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/state-anchor.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/binding.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/guard.d.ts +282 -0
- package/lib/types/host/runtime/dispatch-ledger/guard.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/header.d.ts +143 -0
- package/lib/types/host/runtime/dispatch-ledger/header.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/index.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts +505 -0
- package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/policy.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/protocol.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/tool.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/compaction-policy-guard.d.ts +79 -0
- package/lib/types/host/runtime/guards/compaction-policy-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts +143 -0
- package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/plan-mode-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts +75 -0
- package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/settled-job-guard.d.ts +47 -0
- package/lib/types/host/runtime/guards/settled-job-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts +676 -0
- package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/subagent-route-audit.d.ts +154 -0
- package/lib/types/host/runtime/guards/subagent-route-audit.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/team-policy-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/timeline-cache-guard.d.ts +68 -0
- package/lib/types/host/runtime/guards/timeline-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/tool-result-pruner-guard.d.ts +44 -0
- package/lib/types/host/runtime/guards/tool-result-pruner-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/no-answer-resume/index.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/discipline.d.ts +14 -0
- package/lib/types/host/runtime/open-models/discipline.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/index.d.ts +59 -0
- package/lib/types/host/runtime/open-models/index.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/observation-guard.d.ts +32 -0
- package/lib/types/host/runtime/open-models/observation-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/profiles.d.ts +113 -0
- package/lib/types/host/runtime/open-models/profiles.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/state-anchor.d.ts +46 -0
- package/lib/types/host/runtime/open-models/state-anchor.d.ts.map +1 -0
- package/lib/types/host/runtime/presets/agent-preset.d.ts.map +1 -0
- package/lib/types/host/runtime/presets/preset-sync.d.ts +130 -0
- package/lib/types/host/runtime/presets/preset-sync.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/index.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/nudge.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/projection.d.ts +181 -0
- package/lib/types/host/runtime/progress-updates/projection.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/prompt.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/routes.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/store.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/tool.d.ts.map +1 -0
- package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts +304 -0
- package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts.map +1 -0
- package/lib/types/host/runtime/session-title-guard/index.d.ts +64 -0
- package/lib/types/host/runtime/session-title-guard/index.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/line-contracts.d.ts +192 -0
- package/lib/types/host/runtime/widget-board/line-contracts.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/line-quota.d.ts +253 -0
- package/lib/types/host/runtime/widget-board/line-quota.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/line-registry.d.ts +346 -0
- package/lib/types/host/runtime/widget-board/line-registry.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/provider.d.ts.map +1 -0
- package/lib/types/index.d.ts +136 -118
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/claude-contracts.d.ts +0 -59
- package/lib/types/shared/claude-contracts.d.ts.map +1 -1
- package/lib/types/shared/relayone-contracts.d.ts +17 -0
- package/lib/types/shared/relayone-contracts.d.ts.map +1 -1
- package/package.json +57 -59
- package/CHANGELOG.md +0 -2706
- package/lib/entry-plan-mode-EShP3ndV.js +0 -1843
- package/lib/entry-plan-mode-pipeline-BCAZPcOz.js +0 -433
- package/lib/entry-progress-updates-DMLVID9V.js +0 -1154
- package/lib/entry-tool-result-pruner-E_xILd9Z.js +0 -703
- package/lib/llm-compat--WsaC9K6.js +0 -134
- package/lib/types/client/CodexComposerQuota.d.ts.map +0 -1
- package/lib/types/client/CodexImageToolView.d.ts.map +0 -1
- package/lib/types/client/CodexSubscriptionSection.d.ts +0 -42
- package/lib/types/client/CodexSubscriptionSection.d.ts.map +0 -1
- package/lib/types/client/CompactionRouteCard.d.ts +0 -43
- package/lib/types/client/CompactionRouteCard.d.ts.map +0 -1
- package/lib/types/client/ProviderHubSection.d.ts +0 -16
- package/lib/types/client/ProviderHubSection.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts +0 -35
- package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/AntigravityAcpSection.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/api.d.ts +0 -36
- package/lib/types/client/antigravity-acp/api.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/locales.d.ts +0 -557
- package/lib/types/client/antigravity-acp/locales.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/route.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/styles.d.ts.map +0 -1
- package/lib/types/client/api.d.ts +0 -60
- package/lib/types/client/api.d.ts.map +0 -1
- package/lib/types/client/aws-quick/AwsQuickSection.d.ts.map +0 -1
- package/lib/types/client/aws-quick/api.d.ts +0 -11
- package/lib/types/client/aws-quick/api.d.ts.map +0 -1
- package/lib/types/client/aws-quick/locales.d.ts +0 -117
- package/lib/types/client/aws-quick/locales.d.ts.map +0 -1
- package/lib/types/client/aws-quick/styles.d.ts.map +0 -1
- package/lib/types/client/claude/ClaudeComposerQuota.d.ts +0 -29
- package/lib/types/client/claude/ClaudeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/claude/ClaudeSection.d.ts.map +0 -1
- package/lib/types/client/claude/locales.d.ts +0 -468
- package/lib/types/client/claude/locales.d.ts.map +0 -1
- package/lib/types/client/claude/styles.d.ts.map +0 -1
- package/lib/types/client/claude/useClaudeSection.d.ts +0 -95
- package/lib/types/client/claude/useClaudeSection.d.ts.map +0 -1
- package/lib/types/client/claude-api/ClaudeApiSection.d.ts.map +0 -1
- package/lib/types/client/claude-api/api.d.ts.map +0 -1
- package/lib/types/client/claude-api/locales.d.ts +0 -161
- package/lib/types/client/claude-api/locales.d.ts.map +0 -1
- package/lib/types/client/claude-api/styles.d.ts.map +0 -1
- package/lib/types/client/claude-api/useClaudeApiSection.d.ts +0 -37
- package/lib/types/client/claude-api/useClaudeApiSection.d.ts.map +0 -1
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts +0 -23
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts.map +0 -1
- package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +0 -1
- package/lib/types/client/cline-pass/api.d.ts +0 -85
- package/lib/types/client/cline-pass/api.d.ts.map +0 -1
- package/lib/types/client/cline-pass/locales.d.ts.map +0 -1
- package/lib/types/client/cline-pass/styles.d.ts.map +0 -1
- package/lib/types/client/codemode/CodeRunToolView.d.ts +0 -68
- package/lib/types/client/codemode/CodeRunToolView.d.ts.map +0 -1
- package/lib/types/client/codemode/highlight.d.ts.map +0 -1
- package/lib/types/client/codemode/styles.d.ts.map +0 -1
- package/lib/types/client/codemode/tool-name.d.ts.map +0 -1
- package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts +0 -20
- package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/command-code/CommandCodeSection.d.ts.map +0 -1
- package/lib/types/client/command-code/locales.d.ts +0 -305
- package/lib/types/client/command-code/locales.d.ts.map +0 -1
- package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts +0 -24
- package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts.map +0 -1
- package/lib/types/client/compact-after-turn/locales.d.ts.map +0 -1
- package/lib/types/client/compact-after-turn/styles.d.ts.map +0 -1
- package/lib/types/client/dispatch-ledger/MandateToolView.d.ts.map +0 -1
- package/lib/types/client/dispatch-ledger/locales.d.ts.map +0 -1
- package/lib/types/client/dispatch-ledger/styles.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +0 -27
- package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/api.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/locales.d.ts +0 -409
- package/lib/types/client/glm-coding-plan/locales.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/styles.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts +0 -65
- package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts +0 -21
- package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts +0 -16
- package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiQuotaCard.d.ts +0 -31
- package/lib/types/client/kimi-code/KimiQuotaCard.d.ts.map +0 -1
- package/lib/types/client/kimi-code/labels.d.ts +0 -66
- package/lib/types/client/kimi-code/labels.d.ts.map +0 -1
- package/lib/types/client/kimi-code/locales.d.ts +0 -694
- package/lib/types/client/kimi-code/locales.d.ts.map +0 -1
- package/lib/types/client/kimi-code/staff-art.d.ts.map +0 -1
- package/lib/types/client/kimi-code/styles.d.ts.map +0 -1
- package/lib/types/client/locales.d.ts +0 -541
- package/lib/types/client/locales.d.ts.map +0 -1
- package/lib/types/client/mermaid/renderer.d.ts.map +0 -1
- package/lib/types/client/mermaid/sanitize.d.ts.map +0 -1
- package/lib/types/client/mermaid/styles.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts +0 -23
- package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts +0 -86
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxVideoToolView.d.ts.map +0 -1
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts +0 -86
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts.map +0 -1
- package/lib/types/client/minimax-code/VideoSettingsSections.d.ts.map +0 -1
- package/lib/types/client/minimax-code/api.d.ts +0 -35
- package/lib/types/client/minimax-code/api.d.ts.map +0 -1
- package/lib/types/client/minimax-code/commands-contract.d.ts.map +0 -1
- package/lib/types/client/minimax-code/document-preview.d.ts.map +0 -1
- package/lib/types/client/minimax-code/locales.d.ts +0 -686
- package/lib/types/client/minimax-code/locales.d.ts.map +0 -1
- package/lib/types/client/minimax-code/styles.d.ts.map +0 -1
- package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts +0 -164
- package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-command-host.d.ts +0 -67
- package/lib/types/client/minimax-code/video-command-host.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-command-icon.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-command.d.ts +0 -120
- package/lib/types/client/minimax-code/video-command.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-contract.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-defaults-store.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-form-rules.d.ts +0 -288
- package/lib/types/client/minimax-code/video-form-rules.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-media-dropzone.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-media-input.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-media.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-presets.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-slots.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-workspace.d.ts.map +0 -1
- package/lib/types/client/ollama/OllamaSection.d.ts.map +0 -1
- package/lib/types/client/ollama/api.d.ts +0 -49
- package/lib/types/client/ollama/api.d.ts.map +0 -1
- package/lib/types/client/ollama/locales.d.ts +0 -479
- package/lib/types/client/ollama/locales.d.ts.map +0 -1
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts +0 -26
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts.map +0 -1
- package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +0 -1
- package/lib/types/client/opendesign/api.d.ts +0 -45
- package/lib/types/client/opendesign/api.d.ts.map +0 -1
- package/lib/types/client/opendesign/locales.d.ts.map +0 -1
- package/lib/types/client/opendesign/styles.d.ts.map +0 -1
- package/lib/types/client/progress-updates/contracts.d.ts.map +0 -1
- package/lib/types/client/progress-updates/guide-artwork.d.ts.map +0 -1
- package/lib/types/client/progress-updates/host-source.d.ts +0 -144
- package/lib/types/client/progress-updates/host-source.d.ts.map +0 -1
- package/lib/types/client/progress-updates/index.d.ts +0 -91
- package/lib/types/client/progress-updates/index.d.ts.map +0 -1
- package/lib/types/client/progress-updates/locales.d.ts.map +0 -1
- package/lib/types/client/progress-updates/markdown-lite.d.ts +0 -99
- package/lib/types/client/progress-updates/markdown-lite.d.ts.map +0 -1
- package/lib/types/client/progress-updates/progress-row.d.ts.map +0 -1
- package/lib/types/client/progress-updates/settings-binding.d.ts.map +0 -1
- package/lib/types/client/progress-updates/settings-section.d.ts.map +0 -1
- package/lib/types/client/progress-updates/styles.d.ts.map +0 -1
- package/lib/types/client/progress-updates/tool-name.d.ts.map +0 -1
- package/lib/types/client/progress-updates/updates-panel.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts +0 -14
- package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/api.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/locales.d.ts +0 -158
- package/lib/types/client/qianwen-token-plan/locales.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/styles.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts +0 -32
- package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts.map +0 -1
- package/lib/types/client/qoder/QoderComposerQuota.d.ts +0 -41
- package/lib/types/client/qoder/QoderComposerQuota.d.ts.map +0 -1
- package/lib/types/client/qoder/QoderSection.d.ts +0 -37
- package/lib/types/client/qoder/QoderSection.d.ts.map +0 -1
- package/lib/types/client/qoder/api.d.ts.map +0 -1
- package/lib/types/client/qoder/locales.d.ts +0 -322
- package/lib/types/client/qoder/locales.d.ts.map +0 -1
- package/lib/types/client/qoder/styles.d.ts.map +0 -1
- package/lib/types/client/qoder/useQoderSection.d.ts +0 -97
- package/lib/types/client/qoder/useQoderSection.d.ts.map +0 -1
- package/lib/types/client/quota.d.ts +0 -9
- package/lib/types/client/quota.d.ts.map +0 -1
- package/lib/types/client/relayone/RelayOneComposerQuota.d.ts +0 -14
- package/lib/types/client/relayone/RelayOneComposerQuota.d.ts.map +0 -1
- package/lib/types/client/relayone/RelayOneSection.d.ts.map +0 -1
- package/lib/types/client/relayone/api.d.ts.map +0 -1
- package/lib/types/client/relayone/locales.d.ts +0 -157
- package/lib/types/client/relayone/locales.d.ts.map +0 -1
- package/lib/types/client/relayone/quota-format.d.ts +0 -6
- package/lib/types/client/relayone/quota-format.d.ts.map +0 -1
- package/lib/types/client/relayone/styles.d.ts.map +0 -1
- package/lib/types/client/relayone/useRelayOneSection.d.ts +0 -30
- package/lib/types/client/relayone/useRelayOneSection.d.ts.map +0 -1
- package/lib/types/client/step-code/StepCodeComposerQuota.d.ts +0 -50
- package/lib/types/client/step-code/StepCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/step-code/StepCodeSection.d.ts.map +0 -1
- package/lib/types/client/step-code/api.d.ts.map +0 -1
- package/lib/types/client/step-code/locales.d.ts +0 -657
- package/lib/types/client/step-code/locales.d.ts.map +0 -1
- package/lib/types/client/step-code/styles.d.ts.map +0 -1
- package/lib/types/client/step-code/useStepCodeSection.d.ts +0 -122
- package/lib/types/client/step-code/useStepCodeSection.d.ts.map +0 -1
- package/lib/types/client/store.d.ts.map +0 -1
- package/lib/types/client/styles.d.ts.map +0 -1
- package/lib/types/client/subagent/SubagentCard.d.ts.map +0 -1
- package/lib/types/client/subagent/index.d.ts.map +0 -1
- package/lib/types/client/subagent/locales.d.ts +0 -184
- package/lib/types/client/subagent/locales.d.ts.map +0 -1
- package/lib/types/client/subagent/styles.d.ts.map +0 -1
- package/lib/types/client/subagent/subagent-card-controller.d.ts +0 -352
- package/lib/types/client/subagent/subagent-card-controller.d.ts.map +0 -1
- package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts +0 -34
- package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts.map +0 -1
- package/lib/types/client/workbuddy/WorkBuddySection.d.ts +0 -91
- package/lib/types/client/workbuddy/WorkBuddySection.d.ts.map +0 -1
- package/lib/types/client/workbuddy/locales.d.ts +0 -768
- package/lib/types/client/workbuddy/locales.d.ts.map +0 -1
- package/lib/types/client/workbuddy/styles.d.ts.map +0 -1
- package/lib/types/client/workbuddy/useWorkBuddySection.d.ts +0 -149
- package/lib/types/client/workbuddy/useWorkBuddySection.d.ts.map +0 -1
- package/lib/types/entry-codemode.d.ts +0 -37
- package/lib/types/entry-codemode.d.ts.map +0 -1
- package/lib/types/entry-plan-mode-pipeline.d.ts +0 -206
- package/lib/types/entry-plan-mode-pipeline.d.ts.map +0 -1
- package/lib/types/entry-plan-mode.d.ts +0 -499
- package/lib/types/entry-plan-mode.d.ts.map +0 -1
- package/lib/types/entry-progress-updates.d.ts +0 -43
- package/lib/types/entry-progress-updates.d.ts.map +0 -1
- package/lib/types/entry-tool-result-pruner.d.ts +0 -258
- package/lib/types/entry-tool-result-pruner.d.ts.map +0 -1
- package/lib/types/host/adapter.d.ts.map +0 -1
- package/lib/types/host/agent-preset.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/acp-client.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/adapter.d.ts +0 -340
- package/lib/types/host/antigravity-acp/adapter.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/auth-cache.d.ts +0 -59
- package/lib/types/host/antigravity-acp/auth-cache.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/binary.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/catalog.d.ts +0 -107
- package/lib/types/host/antigravity-acp/catalog.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/doctor.d.ts +0 -73
- package/lib/types/host/antigravity-acp/doctor.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/errors.d.ts +0 -69
- package/lib/types/host/antigravity-acp/errors.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/history.d.ts +0 -131
- package/lib/types/host/antigravity-acp/history.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/login.d.ts +0 -68
- package/lib/types/host/antigravity-acp/login.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/mcp-bridge.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/process-temp.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/routes.d.ts +0 -100
- package/lib/types/host/antigravity-acp/routes.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/settings.d.ts +0 -81
- package/lib/types/host/antigravity-acp/settings.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/subagent.d.ts +0 -128
- package/lib/types/host/antigravity-acp/subagent.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/types.d.ts +0 -155
- package/lib/types/host/antigravity-acp/types.d.ts.map +0 -1
- package/lib/types/host/aws-quick/adapter.d.ts +0 -77
- package/lib/types/host/aws-quick/adapter.d.ts.map +0 -1
- package/lib/types/host/aws-quick/binary.d.ts +0 -3
- package/lib/types/host/aws-quick/binary.d.ts.map +0 -1
- package/lib/types/host/aws-quick/client.d.ts +0 -85
- package/lib/types/host/aws-quick/client.d.ts.map +0 -1
- package/lib/types/host/aws-quick/execution-broker.d.ts.map +0 -1
- package/lib/types/host/aws-quick/images.d.ts +0 -21
- package/lib/types/host/aws-quick/images.d.ts.map +0 -1
- package/lib/types/host/aws-quick/markup.d.ts.map +0 -1
- package/lib/types/host/aws-quick/outpost.d.ts +0 -55
- package/lib/types/host/aws-quick/outpost.d.ts.map +0 -1
- package/lib/types/host/aws-quick/protocol.d.ts +0 -53
- package/lib/types/host/aws-quick/protocol.d.ts.map +0 -1
- package/lib/types/host/aws-quick/routes.d.ts +0 -15
- package/lib/types/host/aws-quick/routes.d.ts.map +0 -1
- package/lib/types/host/aws-quick/settings.d.ts +0 -24
- package/lib/types/host/aws-quick/settings.d.ts.map +0 -1
- package/lib/types/host/aws-quick/tool-bridge.d.ts +0 -67
- package/lib/types/host/aws-quick/tool-bridge.d.ts.map +0 -1
- package/lib/types/host/aws-quick/types.d.ts +0 -12
- package/lib/types/host/aws-quick/types.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/budget.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/contracts.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/index.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/install.d.ts +0 -152
- package/lib/types/host/cache-warmup/install.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/logging.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/projection.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/result-tool.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/retrieval-intent.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/settings.d.ts +0 -84
- package/lib/types/host/cache-warmup/settings.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/store.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/usage.d.ts.map +0 -1
- package/lib/types/host/callback-server.d.ts.map +0 -1
- package/lib/types/host/claude/account-pool.d.ts +0 -583
- package/lib/types/host/claude/account-pool.d.ts.map +0 -1
- package/lib/types/host/claude/adapter.d.ts +0 -415
- package/lib/types/host/claude/adapter.d.ts.map +0 -1
- package/lib/types/host/claude/adopt.d.ts +0 -292
- package/lib/types/host/claude/adopt.d.ts.map +0 -1
- package/lib/types/host/claude/client.d.ts +0 -579
- package/lib/types/host/claude/client.d.ts.map +0 -1
- package/lib/types/host/claude/mapper.d.ts +0 -793
- package/lib/types/host/claude/mapper.d.ts.map +0 -1
- package/lib/types/host/claude/model-catalog.d.ts +0 -560
- package/lib/types/host/claude/model-catalog.d.ts.map +0 -1
- package/lib/types/host/claude/oauth.d.ts +0 -419
- package/lib/types/host/claude/oauth.d.ts.map +0 -1
- package/lib/types/host/claude/routes.d.ts +0 -131
- package/lib/types/host/claude/routes.d.ts.map +0 -1
- package/lib/types/host/claude/token-store.d.ts +0 -331
- package/lib/types/host/claude/token-store.d.ts.map +0 -1
- package/lib/types/host/claude/types.d.ts +0 -415
- package/lib/types/host/claude/types.d.ts.map +0 -1
- package/lib/types/host/claude-api/adapter.d.ts +0 -74
- package/lib/types/host/claude-api/adapter.d.ts.map +0 -1
- package/lib/types/host/claude-api/capability-memory.d.ts +0 -4
- package/lib/types/host/claude-api/capability-memory.d.ts.map +0 -1
- package/lib/types/host/claude-api/catalog-manager.d.ts +0 -57
- package/lib/types/host/claude-api/catalog-manager.d.ts.map +0 -1
- package/lib/types/host/claude-api/client-version.d.ts +0 -4
- package/lib/types/host/claude-api/client-version.d.ts.map +0 -1
- package/lib/types/host/claude-api/client.d.ts +0 -55
- package/lib/types/host/claude-api/client.d.ts.map +0 -1
- package/lib/types/host/claude-api/compaction-store.d.ts.map +0 -1
- package/lib/types/host/claude-api/compaction.d.ts +0 -47
- package/lib/types/host/claude-api/compaction.d.ts.map +0 -1
- package/lib/types/host/claude-api/mapper.d.ts +0 -61
- package/lib/types/host/claude-api/mapper.d.ts.map +0 -1
- package/lib/types/host/claude-api/model-catalog.d.ts +0 -76
- package/lib/types/host/claude-api/model-catalog.d.ts.map +0 -1
- package/lib/types/host/claude-api/routes.d.ts +0 -22
- package/lib/types/host/claude-api/routes.d.ts.map +0 -1
- package/lib/types/host/claude-api/stream.d.ts +0 -88
- package/lib/types/host/claude-api/stream.d.ts.map +0 -1
- package/lib/types/host/claude-api/token-store.d.ts +0 -60
- package/lib/types/host/claude-api/token-store.d.ts.map +0 -1
- package/lib/types/host/claude-api/types.d.ts +0 -68
- package/lib/types/host/claude-api/types.d.ts.map +0 -1
- package/lib/types/host/cline-pass/account-pool.d.ts +0 -63
- package/lib/types/host/cline-pass/account-pool.d.ts.map +0 -1
- package/lib/types/host/cline-pass/adapter.d.ts +0 -58
- package/lib/types/host/cline-pass/adapter.d.ts.map +0 -1
- package/lib/types/host/cline-pass/catalog.d.ts.map +0 -1
- package/lib/types/host/cline-pass/client.d.ts.map +0 -1
- package/lib/types/host/cline-pass/engine.d.ts.map +0 -1
- package/lib/types/host/cline-pass/line.d.ts +0 -55
- package/lib/types/host/cline-pass/line.d.ts.map +0 -1
- package/lib/types/host/cline-pass/mapper.d.ts +0 -138
- package/lib/types/host/cline-pass/mapper.d.ts.map +0 -1
- package/lib/types/host/cline-pass/oauth.d.ts.map +0 -1
- package/lib/types/host/cline-pass/protocol.d.ts.map +0 -1
- package/lib/types/host/cline-pass/routes.d.ts +0 -92
- package/lib/types/host/cline-pass/routes.d.ts.map +0 -1
- package/lib/types/host/cline-pass/store.d.ts +0 -75
- package/lib/types/host/cline-pass/store.d.ts.map +0 -1
- package/lib/types/host/cline-pass/token-store.d.ts +0 -170
- package/lib/types/host/cline-pass/token-store.d.ts.map +0 -1
- package/lib/types/host/cline-pass/tools.d.ts +0 -21
- package/lib/types/host/cline-pass/tools.d.ts.map +0 -1
- package/lib/types/host/cline-pass/types.d.ts.map +0 -1
- package/lib/types/host/codemode/discovery.d.ts.map +0 -1
- package/lib/types/host/codemode/executor.d.ts.map +0 -1
- package/lib/types/host/codemode/retention.d.ts.map +0 -1
- package/lib/types/host/codemode/rules.d.ts.map +0 -1
- package/lib/types/host/codemode/scope.d.ts.map +0 -1
- package/lib/types/host/codemode/transport.d.ts +0 -457
- package/lib/types/host/codemode/transport.d.ts.map +0 -1
- package/lib/types/host/codex-account-pool.d.ts +0 -214
- package/lib/types/host/codex-account-pool.d.ts.map +0 -1
- package/lib/types/host/codex-adopt.d.ts +0 -255
- package/lib/types/host/codex-adopt.d.ts.map +0 -1
- package/lib/types/host/codex-catalog.d.ts +0 -69
- package/lib/types/host/codex-catalog.d.ts.map +0 -1
- package/lib/types/host/codex-fetch.d.ts.map +0 -1
- package/lib/types/host/codex-identity.d.ts +0 -130
- package/lib/types/host/codex-identity.d.ts.map +0 -1
- package/lib/types/host/codex-images.d.ts.map +0 -1
- package/lib/types/host/codex-remote-compaction.d.ts +0 -41
- package/lib/types/host/codex-remote-compaction.d.ts.map +0 -1
- package/lib/types/host/codex-search.d.ts.map +0 -1
- package/lib/types/host/command-code/account-pool.d.ts +0 -72
- package/lib/types/host/command-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/command-code/adapter.d.ts.map +0 -1
- package/lib/types/host/command-code/client.d.ts +0 -126
- package/lib/types/host/command-code/client.d.ts.map +0 -1
- package/lib/types/host/command-code/mapper.d.ts +0 -199
- package/lib/types/host/command-code/mapper.d.ts.map +0 -1
- package/lib/types/host/command-code/model-catalog.d.ts +0 -90
- package/lib/types/host/command-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/command-code/oauth.d.ts +0 -95
- package/lib/types/host/command-code/oauth.d.ts.map +0 -1
- package/lib/types/host/command-code/plans.d.ts.map +0 -1
- package/lib/types/host/command-code/routes.d.ts +0 -44
- package/lib/types/host/command-code/routes.d.ts.map +0 -1
- package/lib/types/host/command-code/token-store.d.ts +0 -100
- package/lib/types/host/command-code/token-store.d.ts.map +0 -1
- package/lib/types/host/command-code/types.d.ts +0 -222
- package/lib/types/host/command-code/types.d.ts.map +0 -1
- package/lib/types/host/common/claude-capability-memory.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-cch.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-corrections.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-first-party.d.ts +0 -68
- package/lib/types/host/common/claude-code-first-party.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-version.d.ts +0 -90
- package/lib/types/host/common/claude-code-version.d.ts.map +0 -1
- package/lib/types/host/compact-after-turn/index.d.ts +0 -126
- package/lib/types/host/compact-after-turn/index.d.ts.map +0 -1
- package/lib/types/host/compaction-policy-guard.d.ts +0 -65
- package/lib/types/host/compaction-policy-guard.d.ts.map +0 -1
- package/lib/types/host/compaction-prompt.d.ts +0 -129
- package/lib/types/host/compaction-prompt.d.ts.map +0 -1
- package/lib/types/host/compaction-route/index.d.ts +0 -147
- package/lib/types/host/compaction-route/index.d.ts.map +0 -1
- package/lib/types/host/credential-store-secret-service.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/discipline.d.ts +0 -22
- package/lib/types/host/deepseek-v41-flash/discipline.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/index.d.ts +0 -70
- package/lib/types/host/deepseek-v41-flash/index.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/match.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/observation-tagger.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/state-anchor.d.ts.map +0 -1
- package/lib/types/host/dispatch-execution-guard.d.ts +0 -181
- package/lib/types/host/dispatch-execution-guard.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/binding.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/guard.d.ts +0 -281
- package/lib/types/host/dispatch-ledger/guard.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/header.d.ts +0 -177
- package/lib/types/host/dispatch-ledger/header.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/index.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/ledger.d.ts +0 -553
- package/lib/types/host/dispatch-ledger/ledger.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/policy.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/protocol.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/tool.d.ts.map +0 -1
- package/lib/types/host/fetch-address-policy.d.ts.map +0 -1
- package/lib/types/host/fetch-configuration.d.ts +0 -6
- package/lib/types/host/fetch-configuration.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/account-pool.d.ts +0 -152
- package/lib/types/host/glm-coding-plan/account-pool.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/adapter.d.ts +0 -167
- package/lib/types/host/glm-coding-plan/adapter.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/adopt.d.ts +0 -354
- package/lib/types/host/glm-coding-plan/adopt.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts +0 -99
- package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/client.d.ts +0 -218
- package/lib/types/host/glm-coding-plan/client.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/exchange.d.ts +0 -223
- package/lib/types/host/glm-coding-plan/exchange.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts +0 -388
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/mapper-openai.d.ts +0 -213
- package/lib/types/host/glm-coding-plan/mapper-openai.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts +0 -241
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/oauth.d.ts +0 -211
- package/lib/types/host/glm-coding-plan/oauth.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/routes.d.ts +0 -93
- package/lib/types/host/glm-coding-plan/routes.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/token-store.d.ts +0 -202
- package/lib/types/host/glm-coding-plan/token-store.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/types.d.ts +0 -492
- package/lib/types/host/glm-coding-plan/types.d.ts.map +0 -1
- package/lib/types/host/hub-overview.d.ts +0 -26
- package/lib/types/host/hub-overview.d.ts.map +0 -1
- package/lib/types/host/kimi-code/account-pool.d.ts +0 -124
- package/lib/types/host/kimi-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/kimi-code/adapter.d.ts +0 -454
- package/lib/types/host/kimi-code/adapter.d.ts.map +0 -1
- package/lib/types/host/kimi-code/api-key.d.ts +0 -55
- package/lib/types/host/kimi-code/api-key.d.ts.map +0 -1
- package/lib/types/host/kimi-code/cache-affinity.d.ts +0 -112
- package/lib/types/host/kimi-code/cache-affinity.d.ts.map +0 -1
- package/lib/types/host/kimi-code/cache-hint.d.ts +0 -65
- package/lib/types/host/kimi-code/cache-hint.d.ts.map +0 -1
- package/lib/types/host/kimi-code/cache-wait.d.ts +0 -166
- package/lib/types/host/kimi-code/cache-wait.d.ts.map +0 -1
- package/lib/types/host/kimi-code/client.d.ts +0 -306
- package/lib/types/host/kimi-code/client.d.ts.map +0 -1
- package/lib/types/host/kimi-code/mapper.d.ts +0 -913
- package/lib/types/host/kimi-code/mapper.d.ts.map +0 -1
- package/lib/types/host/kimi-code/media-files.d.ts +0 -206
- package/lib/types/host/kimi-code/media-files.d.ts.map +0 -1
- package/lib/types/host/kimi-code/modalities.d.ts +0 -23
- package/lib/types/host/kimi-code/modalities.d.ts.map +0 -1
- package/lib/types/host/kimi-code/model-catalog.d.ts +0 -125
- package/lib/types/host/kimi-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/kimi-code/oauth.d.ts +0 -213
- package/lib/types/host/kimi-code/oauth.d.ts.map +0 -1
- package/lib/types/host/kimi-code/repeat-breaker.d.ts +0 -219
- package/lib/types/host/kimi-code/repeat-breaker.d.ts.map +0 -1
- package/lib/types/host/kimi-code/routes.d.ts +0 -52
- package/lib/types/host/kimi-code/routes.d.ts.map +0 -1
- package/lib/types/host/kimi-code/session-cache-state.d.ts +0 -156
- package/lib/types/host/kimi-code/session-cache-state.d.ts.map +0 -1
- package/lib/types/host/kimi-code/token-store.d.ts +0 -182
- package/lib/types/host/kimi-code/token-store.d.ts.map +0 -1
- package/lib/types/host/kimi-code/tool-argument-guard.d.ts +0 -43
- package/lib/types/host/kimi-code/tool-argument-guard.d.ts.map +0 -1
- package/lib/types/host/kimi-code/tool-argument-recovery.d.ts.map +0 -1
- package/lib/types/host/kimi-code/types.d.ts +0 -449
- package/lib/types/host/kimi-code/types.d.ts.map +0 -1
- package/lib/types/host/kimi-code/video-store.d.ts.map +0 -1
- package/lib/types/host/kimi-code/video-tool.d.ts.map +0 -1
- package/lib/types/host/minimax-code/account-pool.d.ts +0 -309
- package/lib/types/host/minimax-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/minimax-code/adapter.d.ts +0 -209
- package/lib/types/host/minimax-code/adapter.d.ts.map +0 -1
- package/lib/types/host/minimax-code/checkin-gateway.d.ts +0 -145
- package/lib/types/host/minimax-code/checkin-gateway.d.ts.map +0 -1
- package/lib/types/host/minimax-code/checkin.d.ts +0 -207
- package/lib/types/host/minimax-code/checkin.d.ts.map +0 -1
- package/lib/types/host/minimax-code/client.d.ts +0 -242
- package/lib/types/host/minimax-code/client.d.ts.map +0 -1
- package/lib/types/host/minimax-code/files-api.d.ts +0 -117
- package/lib/types/host/minimax-code/files-api.d.ts.map +0 -1
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts +0 -84
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts.map +0 -1
- package/lib/types/host/minimax-code/mapper.d.ts +0 -351
- package/lib/types/host/minimax-code/mapper.d.ts.map +0 -1
- package/lib/types/host/minimax-code/matrix-client.d.ts +0 -168
- package/lib/types/host/minimax-code/matrix-client.d.ts.map +0 -1
- package/lib/types/host/minimax-code/media-store.d.ts +0 -153
- package/lib/types/host/minimax-code/media-store.d.ts.map +0 -1
- package/lib/types/host/minimax-code/modalities.d.ts +0 -20
- package/lib/types/host/minimax-code/modalities.d.ts.map +0 -1
- package/lib/types/host/minimax-code/model-catalog.d.ts +0 -227
- package/lib/types/host/minimax-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/minimax-code/oauth.d.ts +0 -220
- package/lib/types/host/minimax-code/oauth.d.ts.map +0 -1
- package/lib/types/host/minimax-code/reset-card.d.ts +0 -136
- package/lib/types/host/minimax-code/reset-card.d.ts.map +0 -1
- package/lib/types/host/minimax-code/routes.d.ts +0 -82
- package/lib/types/host/minimax-code/routes.d.ts.map +0 -1
- package/lib/types/host/minimax-code/runtime-enhancements.d.ts +0 -226
- package/lib/types/host/minimax-code/runtime-enhancements.d.ts.map +0 -1
- package/lib/types/host/minimax-code/token-store.d.ts +0 -328
- package/lib/types/host/minimax-code/token-store.d.ts.map +0 -1
- package/lib/types/host/minimax-code/types.d.ts +0 -378
- package/lib/types/host/minimax-code/types.d.ts.map +0 -1
- package/lib/types/host/minimax-code/video-history.d.ts +0 -240
- package/lib/types/host/minimax-code/video-history.d.ts.map +0 -1
- package/lib/types/host/minimax-code/video-submit-rules.d.ts.map +0 -1
- package/lib/types/host/minimax-code/video-tool.d.ts.map +0 -1
- package/lib/types/host/model-catalog.d.ts +0 -43
- package/lib/types/host/model-catalog.d.ts.map +0 -1
- package/lib/types/host/no-answer-resume/index.d.ts.map +0 -1
- package/lib/types/host/oauth-service.d.ts +0 -242
- package/lib/types/host/oauth-service.d.ts.map +0 -1
- package/lib/types/host/ollama/account-pool.d.ts +0 -65
- package/lib/types/host/ollama/account-pool.d.ts.map +0 -1
- package/lib/types/host/ollama/adapter.d.ts +0 -85
- package/lib/types/host/ollama/adapter.d.ts.map +0 -1
- package/lib/types/host/ollama/client.d.ts +0 -166
- package/lib/types/host/ollama/client.d.ts.map +0 -1
- package/lib/types/host/ollama/mapper.d.ts +0 -49
- package/lib/types/host/ollama/mapper.d.ts.map +0 -1
- package/lib/types/host/ollama/routes.d.ts +0 -22
- package/lib/types/host/ollama/routes.d.ts.map +0 -1
- package/lib/types/host/ollama/token-store.d.ts +0 -78
- package/lib/types/host/ollama/token-store.d.ts.map +0 -1
- package/lib/types/host/ollama/types.d.ts +0 -247
- package/lib/types/host/ollama/types.d.ts.map +0 -1
- package/lib/types/host/opendesign/account-pool.d.ts +0 -54
- package/lib/types/host/opendesign/account-pool.d.ts.map +0 -1
- package/lib/types/host/opendesign/adapter.d.ts +0 -82
- package/lib/types/host/opendesign/adapter.d.ts.map +0 -1
- package/lib/types/host/opendesign/catalog.d.ts.map +0 -1
- package/lib/types/host/opendesign/client.d.ts +0 -304
- package/lib/types/host/opendesign/client.d.ts.map +0 -1
- package/lib/types/host/opendesign/line.d.ts +0 -60
- package/lib/types/host/opendesign/line.d.ts.map +0 -1
- package/lib/types/host/opendesign/mapper.d.ts +0 -218
- package/lib/types/host/opendesign/mapper.d.ts.map +0 -1
- package/lib/types/host/opendesign/oauth.d.ts.map +0 -1
- package/lib/types/host/opendesign/routes.d.ts +0 -75
- package/lib/types/host/opendesign/routes.d.ts.map +0 -1
- package/lib/types/host/opendesign/token-store.d.ts +0 -241
- package/lib/types/host/opendesign/token-store.d.ts.map +0 -1
- package/lib/types/host/opendesign/types.d.ts.map +0 -1
- package/lib/types/host/plan-mode-cache-guard.d.ts.map +0 -1
- package/lib/types/host/platform-token-store.d.ts.map +0 -1
- package/lib/types/host/preferences.d.ts +0 -26
- package/lib/types/host/preferences.d.ts.map +0 -1
- package/lib/types/host/preset-sync.d.ts +0 -161
- package/lib/types/host/preset-sync.d.ts.map +0 -1
- package/lib/types/host/progress-updates/index.d.ts.map +0 -1
- package/lib/types/host/progress-updates/nudge.d.ts.map +0 -1
- package/lib/types/host/progress-updates/projection.d.ts +0 -214
- package/lib/types/host/progress-updates/projection.d.ts.map +0 -1
- package/lib/types/host/progress-updates/prompt.d.ts.map +0 -1
- package/lib/types/host/progress-updates/routes.d.ts.map +0 -1
- package/lib/types/host/progress-updates/store.d.ts.map +0 -1
- package/lib/types/host/progress-updates/tool.d.ts.map +0 -1
- package/lib/types/host/proxy-manager.d.ts +0 -240
- package/lib/types/host/proxy-manager.d.ts.map +0 -1
- package/lib/types/host/ptc-sdk-cache-guard.d.ts +0 -104
- package/lib/types/host/ptc-sdk-cache-guard.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/adapter.d.ts +0 -39
- package/lib/types/host/qianwen-token-plan/adapter.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/cache-stats.d.ts +0 -17
- package/lib/types/host/qianwen-token-plan/cache-stats.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/client.d.ts +0 -5
- package/lib/types/host/qianwen-token-plan/client.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/mapper.d.ts +0 -71
- package/lib/types/host/qianwen-token-plan/mapper.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/model-catalog.d.ts +0 -28
- package/lib/types/host/qianwen-token-plan/model-catalog.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/routes.d.ts +0 -12
- package/lib/types/host/qianwen-token-plan/routes.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/token-store.d.ts +0 -56
- package/lib/types/host/qianwen-token-plan/token-store.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/types.d.ts.map +0 -1
- package/lib/types/host/qoder/account-pool.d.ts +0 -141
- package/lib/types/host/qoder/account-pool.d.ts.map +0 -1
- package/lib/types/host/qoder/adapter.d.ts +0 -169
- package/lib/types/host/qoder/adapter.d.ts.map +0 -1
- package/lib/types/host/qoder/adopt.d.ts +0 -146
- package/lib/types/host/qoder/adopt.d.ts.map +0 -1
- package/lib/types/host/qoder/client.d.ts +0 -323
- package/lib/types/host/qoder/client.d.ts.map +0 -1
- package/lib/types/host/qoder/cosy.d.ts.map +0 -1
- package/lib/types/host/qoder/mapper.d.ts +0 -332
- package/lib/types/host/qoder/mapper.d.ts.map +0 -1
- package/lib/types/host/qoder/model-catalog.d.ts +0 -231
- package/lib/types/host/qoder/model-catalog.d.ts.map +0 -1
- package/lib/types/host/qoder/oauth.d.ts +0 -151
- package/lib/types/host/qoder/oauth.d.ts.map +0 -1
- package/lib/types/host/qoder/routes.d.ts +0 -119
- package/lib/types/host/qoder/routes.d.ts.map +0 -1
- package/lib/types/host/qoder/token-store.d.ts +0 -280
- package/lib/types/host/qoder/token-store.d.ts.map +0 -1
- package/lib/types/host/qoder/types.d.ts +0 -262
- package/lib/types/host/qoder/types.d.ts.map +0 -1
- package/lib/types/host/reasoning-collapse-guard/index.d.ts +0 -364
- package/lib/types/host/reasoning-collapse-guard/index.d.ts.map +0 -1
- package/lib/types/host/relay-probe.d.ts.map +0 -1
- package/lib/types/host/relayone/adapter.d.ts +0 -46
- package/lib/types/host/relayone/adapter.d.ts.map +0 -1
- package/lib/types/host/relayone/catalog-manager.d.ts +0 -44
- package/lib/types/host/relayone/catalog-manager.d.ts.map +0 -1
- package/lib/types/host/relayone/client.d.ts +0 -5
- package/lib/types/host/relayone/client.d.ts.map +0 -1
- package/lib/types/host/relayone/image-tool.d.ts.map +0 -1
- package/lib/types/host/relayone/mapper-anthropic.d.ts +0 -49
- package/lib/types/host/relayone/mapper-anthropic.d.ts.map +0 -1
- package/lib/types/host/relayone/mapper-openai.d.ts +0 -36
- package/lib/types/host/relayone/mapper-openai.d.ts.map +0 -1
- package/lib/types/host/relayone/mapper-shared.d.ts +0 -24
- package/lib/types/host/relayone/mapper-shared.d.ts.map +0 -1
- package/lib/types/host/relayone/media-shared.d.ts +0 -18
- package/lib/types/host/relayone/media-shared.d.ts.map +0 -1
- package/lib/types/host/relayone/model-catalog.d.ts +0 -70
- package/lib/types/host/relayone/model-catalog.d.ts.map +0 -1
- package/lib/types/host/relayone/quota.d.ts +0 -28
- package/lib/types/host/relayone/quota.d.ts.map +0 -1
- package/lib/types/host/relayone/routes.d.ts +0 -17
- package/lib/types/host/relayone/routes.d.ts.map +0 -1
- package/lib/types/host/relayone/token-store.d.ts +0 -49
- package/lib/types/host/relayone/token-store.d.ts.map +0 -1
- package/lib/types/host/relayone/types.d.ts.map +0 -1
- package/lib/types/host/relayone/video-tool.d.ts.map +0 -1
- package/lib/types/host/responses-client.d.ts +0 -125
- package/lib/types/host/responses-client.d.ts.map +0 -1
- package/lib/types/host/responses-mapper.d.ts +0 -133
- package/lib/types/host/responses-mapper.d.ts.map +0 -1
- package/lib/types/host/routes.d.ts +0 -32
- package/lib/types/host/routes.d.ts.map +0 -1
- package/lib/types/host/search-provider-switcher.d.ts +0 -45
- package/lib/types/host/search-provider-switcher.d.ts.map +0 -1
- package/lib/types/host/settled-job-guard.d.ts +0 -77
- package/lib/types/host/settled-job-guard.d.ts.map +0 -1
- package/lib/types/host/step-code/account-pool.d.ts +0 -187
- package/lib/types/host/step-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/step-code/adapter.d.ts +0 -158
- package/lib/types/host/step-code/adapter.d.ts.map +0 -1
- package/lib/types/host/step-code/adopt.d.ts +0 -201
- package/lib/types/host/step-code/adopt.d.ts.map +0 -1
- package/lib/types/host/step-code/cache-stats.d.ts.map +0 -1
- package/lib/types/host/step-code/client.d.ts +0 -339
- package/lib/types/host/step-code/client.d.ts.map +0 -1
- package/lib/types/host/step-code/mapper.d.ts +0 -305
- package/lib/types/host/step-code/mapper.d.ts.map +0 -1
- package/lib/types/host/step-code/model-catalog.d.ts +0 -247
- package/lib/types/host/step-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/step-code/oauth.d.ts +0 -265
- package/lib/types/host/step-code/oauth.d.ts.map +0 -1
- package/lib/types/host/step-code/routes.d.ts +0 -129
- package/lib/types/host/step-code/routes.d.ts.map +0 -1
- package/lib/types/host/step-code/token-store.d.ts +0 -325
- package/lib/types/host/step-code/token-store.d.ts.map +0 -1
- package/lib/types/host/step-code/types.d.ts +0 -492
- package/lib/types/host/step-code/types.d.ts.map +0 -1
- package/lib/types/host/subagent-model-authorization.d.ts +0 -653
- package/lib/types/host/subagent-model-authorization.d.ts.map +0 -1
- package/lib/types/host/subagent-route-audit.d.ts +0 -154
- package/lib/types/host/subagent-route-audit.d.ts.map +0 -1
- package/lib/types/host/team-policy-cache-guard.d.ts.map +0 -1
- package/lib/types/host/timeline-cache-guard.d.ts +0 -69
- package/lib/types/host/timeline-cache-guard.d.ts.map +0 -1
- package/lib/types/host/token-store-linux.d.ts.map +0 -1
- package/lib/types/host/token-store-macos.d.ts.map +0 -1
- package/lib/types/host/token-store-windows.d.ts.map +0 -1
- package/lib/types/host/token-store.d.ts +0 -81
- package/lib/types/host/token-store.d.ts.map +0 -1
- package/lib/types/host/tool-result-pruner-guard.d.ts +0 -39
- package/lib/types/host/tool-result-pruner-guard.d.ts.map +0 -1
- package/lib/types/host/update-check.d.ts +0 -118
- package/lib/types/host/update-check.d.ts.map +0 -1
- package/lib/types/host/usage-service.d.ts +0 -109
- package/lib/types/host/usage-service.d.ts.map +0 -1
- package/lib/types/host/web-provider-reconciler.d.ts.map +0 -1
- package/lib/types/host/widget-board/line-contracts.d.ts +0 -192
- package/lib/types/host/widget-board/line-contracts.d.ts.map +0 -1
- package/lib/types/host/widget-board/line-quota.d.ts +0 -279
- package/lib/types/host/widget-board/line-quota.d.ts.map +0 -1
- package/lib/types/host/widget-board/line-registry.d.ts +0 -402
- package/lib/types/host/widget-board/line-registry.d.ts.map +0 -1
- package/lib/types/host/widget-board/provider.d.ts.map +0 -1
- package/lib/types/host/wire-auth.d.ts +0 -63
- package/lib/types/host/wire-auth.d.ts.map +0 -1
- package/lib/types/host/workbuddy/account-pool.d.ts +0 -389
- package/lib/types/host/workbuddy/account-pool.d.ts.map +0 -1
- package/lib/types/host/workbuddy/adapter.d.ts +0 -250
- package/lib/types/host/workbuddy/adapter.d.ts.map +0 -1
- package/lib/types/host/workbuddy/atrest.d.ts.map +0 -1
- package/lib/types/host/workbuddy/checkin.d.ts +0 -150
- package/lib/types/host/workbuddy/checkin.d.ts.map +0 -1
- package/lib/types/host/workbuddy/client.d.ts +0 -214
- package/lib/types/host/workbuddy/client.d.ts.map +0 -1
- package/lib/types/host/workbuddy/dsml.d.ts.map +0 -1
- package/lib/types/host/workbuddy/guardrails.d.ts +0 -111
- package/lib/types/host/workbuddy/guardrails.d.ts.map +0 -1
- package/lib/types/host/workbuddy/identity.d.ts.map +0 -1
- package/lib/types/host/workbuddy/mapper.d.ts +0 -238
- package/lib/types/host/workbuddy/mapper.d.ts.map +0 -1
- package/lib/types/host/workbuddy/model-catalog.d.ts +0 -239
- package/lib/types/host/workbuddy/model-catalog.d.ts.map +0 -1
- package/lib/types/host/workbuddy/oauth.d.ts +0 -47
- package/lib/types/host/workbuddy/oauth.d.ts.map +0 -1
- package/lib/types/host/workbuddy/outbound-identity.d.ts +0 -139
- package/lib/types/host/workbuddy/outbound-identity.d.ts.map +0 -1
- package/lib/types/host/workbuddy/routes.d.ts +0 -56
- package/lib/types/host/workbuddy/routes.d.ts.map +0 -1
- package/lib/types/host/workbuddy/token-store.d.ts +0 -370
- package/lib/types/host/workbuddy/token-store.d.ts.map +0 -1
- package/lib/types/host/workbuddy/types.d.ts +0 -185
- package/lib/types/host/workbuddy/types.d.ts.map +0 -1
- /package/{icon.svg → assets/icon.svg} +0 -0
- /package/{progress-updates.svg → assets/progress-updates.svg} +0 -0
- /package/lib/types/client/{codemode → features/codemode}/highlight.d.ts +0 -0
- /package/lib/types/client/{codemode → features/codemode}/styles.d.ts +0 -0
- /package/lib/types/client/{codemode → features/codemode}/tool-name.d.ts +0 -0
- /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/locales.d.ts +0 -0
- /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/styles.d.ts +0 -0
- /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/MandateToolView.d.ts +0 -0
- /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/locales.d.ts +0 -0
- /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/styles.d.ts +0 -0
- /package/lib/types/client/{mermaid → features/mermaid}/renderer.d.ts +0 -0
- /package/lib/types/client/{mermaid → features/mermaid}/sanitize.d.ts +0 -0
- /package/lib/types/client/{mermaid → features/mermaid}/styles.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/contracts.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/guide-artwork.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/locales.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/progress-row.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/settings-binding.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/settings-section.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/styles.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/tool-name.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/updates-panel.d.ts +0 -0
- /package/lib/types/client/{subagent → features/subagent}/SubagentCard.d.ts +0 -0
- /package/lib/types/client/{subagent → features/subagent}/index.d.ts +0 -0
- /package/lib/types/client/{subagent → features/subagent}/styles.d.ts +0 -0
- /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/AntigravityAcpSection.d.ts +0 -0
- /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/route.d.ts +0 -0
- /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/styles.d.ts +0 -0
- /package/lib/types/client/{aws-quick → providers/aws-quick}/AwsQuickSection.d.ts +0 -0
- /package/lib/types/client/{aws-quick → providers/aws-quick}/styles.d.ts +0 -0
- /package/lib/types/client/{claude → providers/claude}/ClaudeSection.d.ts +0 -0
- /package/lib/types/client/{claude → providers/claude}/styles.d.ts +0 -0
- /package/lib/types/client/{claude-api → providers/claude-api}/ClaudeApiSection.d.ts +0 -0
- /package/lib/types/client/{claude-api → providers/claude-api}/api.d.ts +0 -0
- /package/lib/types/client/{claude-api → providers/claude-api}/styles.d.ts +0 -0
- /package/lib/types/client/{cline-pass → providers/cline-pass}/ClinePassSection.d.ts +0 -0
- /package/lib/types/client/{cline-pass → providers/cline-pass}/locales.d.ts +0 -0
- /package/lib/types/client/{cline-pass → providers/cline-pass}/styles.d.ts +0 -0
- /package/lib/types/client/{CodexComposerQuota.d.ts → providers/codex-chatgpt/CodexComposerQuota.d.ts} +0 -0
- /package/lib/types/client/{CodexImageToolView.d.ts → providers/codex-chatgpt/CodexImageToolView.d.ts} +0 -0
- /package/lib/types/client/{store.d.ts → providers/codex-chatgpt/store.d.ts} +0 -0
- /package/lib/types/client/{styles.d.ts → providers/codex-chatgpt/styles.d.ts} +0 -0
- /package/lib/types/client/{command-code → providers/command-code}/CommandCodeSection.d.ts +0 -0
- /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/GlmCodingPlanSection.d.ts +0 -0
- /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/api.d.ts +0 -0
- /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/styles.d.ts +0 -0
- /package/lib/types/client/{kimi-code → providers/kimi-code}/KimiCodeSection.d.ts +0 -0
- /package/lib/types/client/{kimi-code → providers/kimi-code}/staff-art.d.ts +0 -0
- /package/lib/types/client/{kimi-code → providers/kimi-code}/styles.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxCodeSection.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxVideoToolView.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/VideoSettingsSections.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/commands-contract.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/document-preview.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/styles.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-command-icon.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-contract.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-defaults-store.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-dropzone.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-input.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-presets.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-slots.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-workspace.d.ts +0 -0
- /package/lib/types/client/{ollama → providers/ollama}/OllamaSection.d.ts +0 -0
- /package/lib/types/client/{opendesign → providers/opendesign}/OpenDesignSection.d.ts +0 -0
- /package/lib/types/client/{opendesign → providers/opendesign}/locales.d.ts +0 -0
- /package/lib/types/client/{opendesign → providers/opendesign}/styles.d.ts +0 -0
- /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/QianwenTokenPlanSection.d.ts +0 -0
- /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/api.d.ts +0 -0
- /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/styles.d.ts +0 -0
- /package/lib/types/client/{qoder → providers/qoder}/api.d.ts +0 -0
- /package/lib/types/client/{qoder → providers/qoder}/styles.d.ts +0 -0
- /package/lib/types/client/{relayone → providers/relayone}/RelayOneSection.d.ts +0 -0
- /package/lib/types/client/{relayone → providers/relayone}/api.d.ts +0 -0
- /package/lib/types/client/{relayone → providers/relayone}/styles.d.ts +0 -0
- /package/lib/types/client/{step-code → providers/step-code}/StepCodeSection.d.ts +0 -0
- /package/lib/types/client/{step-code → providers/step-code}/api.d.ts +0 -0
- /package/lib/types/client/{step-code → providers/step-code}/styles.d.ts +0 -0
- /package/lib/types/client/{workbuddy → providers/workbuddy}/styles.d.ts +0 -0
- /package/lib/types/host/{fetch-address-policy.d.ts → infra/network/fetch-address-policy.d.ts} +0 -0
- /package/lib/types/host/{relay-probe.d.ts → infra/network/relay-probe.d.ts} +0 -0
- /package/lib/types/host/{web-provider-reconciler.d.ts → infra/network/web-provider-reconciler.d.ts} +0 -0
- /package/lib/types/host/{credential-store-secret-service.d.ts → infra/storage/credential-store-secret-service.d.ts} +0 -0
- /package/lib/types/host/{platform-token-store.d.ts → infra/storage/platform-token-store.d.ts} +0 -0
- /package/lib/types/host/{token-store-linux.d.ts → infra/storage/token-store-linux.d.ts} +0 -0
- /package/lib/types/host/{token-store-macos.d.ts → infra/storage/token-store-macos.d.ts} +0 -0
- /package/lib/types/host/{token-store-windows.d.ts → infra/storage/token-store-windows.d.ts} +0 -0
- /package/lib/types/host/{common → providers/_claude-shared}/claude-capability-memory.d.ts +0 -0
- /package/lib/types/host/{common → providers/_claude-shared}/claude-code-cch.d.ts +0 -0
- /package/lib/types/host/{common → providers/_claude-shared}/claude-code-corrections.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/acp-client.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/binary.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/mcp-bridge.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/process-temp.d.ts +0 -0
- /package/lib/types/host/{aws-quick → providers/aws-quick}/execution-broker.d.ts +0 -0
- /package/lib/types/host/{aws-quick → providers/aws-quick}/markup.d.ts +0 -0
- /package/lib/types/host/{claude-api → providers/claude-api}/compaction-store.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/catalog.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/client.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/engine.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/oauth.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/protocol.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/types.d.ts +0 -0
- /package/lib/types/host/{adapter.d.ts → providers/codex-chatgpt/adapter.d.ts} +0 -0
- /package/lib/types/host/{callback-server.d.ts → providers/codex-chatgpt/callback-server.d.ts} +0 -0
- /package/lib/types/host/{codex-fetch.d.ts → providers/codex-chatgpt/codex-fetch.d.ts} +0 -0
- /package/lib/types/host/{codex-images.d.ts → providers/codex-chatgpt/codex-images.d.ts} +0 -0
- /package/lib/types/host/{codex-search.d.ts → providers/codex-chatgpt/codex-search.d.ts} +0 -0
- /package/lib/types/host/{command-code → providers/command-code}/adapter.d.ts +0 -0
- /package/lib/types/host/{command-code → providers/command-code}/plans.d.ts +0 -0
- /package/lib/types/host/{kimi-code → providers/kimi-code}/tool-argument-recovery.d.ts +0 -0
- /package/lib/types/host/{kimi-code → providers/kimi-code}/video-store.d.ts +0 -0
- /package/lib/types/host/{kimi-code → providers/kimi-code}/video-tool.d.ts +0 -0
- /package/lib/types/host/{minimax-code → providers/minimax-code}/video-submit-rules.d.ts +0 -0
- /package/lib/types/host/{minimax-code → providers/minimax-code}/video-tool.d.ts +0 -0
- /package/lib/types/host/{opendesign → providers/opendesign}/catalog.d.ts +0 -0
- /package/lib/types/host/{opendesign → providers/opendesign}/oauth.d.ts +0 -0
- /package/lib/types/host/{opendesign → providers/opendesign}/types.d.ts +0 -0
- /package/lib/types/host/{qianwen-token-plan → providers/qianwen-token-plan}/types.d.ts +0 -0
- /package/lib/types/host/{qoder → providers/qoder}/cosy.d.ts +0 -0
- /package/lib/types/host/{relayone → providers/relayone}/image-tool.d.ts +0 -0
- /package/lib/types/host/{relayone → providers/relayone}/types.d.ts +0 -0
- /package/lib/types/host/{relayone → providers/relayone}/video-tool.d.ts +0 -0
- /package/lib/types/host/{step-code → providers/step-code}/cache-stats.d.ts +0 -0
- /package/lib/types/host/{workbuddy → providers/workbuddy}/atrest.d.ts +0 -0
- /package/lib/types/host/{workbuddy → providers/workbuddy}/dsml.d.ts +0 -0
- /package/lib/types/host/{workbuddy → providers/workbuddy}/identity.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/budget.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/contracts.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/index.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/logging.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/projection.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/result-tool.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/retrieval-intent.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/store.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/usage.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/discovery.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/executor.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/retention.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/rules.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/scope.d.ts +0 -0
- /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/match.d.ts +0 -0
- /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/observation-tagger.d.ts +0 -0
- /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/state-anchor.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/binding.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/index.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/policy.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/protocol.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/tool.d.ts +0 -0
- /package/lib/types/host/{plan-mode-cache-guard.d.ts → runtime/guards/plan-mode-cache-guard.d.ts} +0 -0
- /package/lib/types/host/{team-policy-cache-guard.d.ts → runtime/guards/team-policy-cache-guard.d.ts} +0 -0
- /package/lib/types/host/{no-answer-resume → runtime/no-answer-resume}/index.d.ts +0 -0
- /package/lib/types/host/{agent-preset.d.ts → runtime/presets/agent-preset.d.ts} +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/index.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/nudge.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/prompt.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/routes.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/store.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/tool.d.ts +0 -0
- /package/lib/types/host/{widget-board → runtime/widget-board}/provider.d.ts +0 -0
package/lib/client.js
CHANGED
|
@@ -213,7 +213,7 @@ window.__ModuleLoader__.load({
|
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
//#endregion
|
|
216
|
-
//#region src/client/quota.ts
|
|
216
|
+
//#region src/client/providers/codex-chatgpt/quota.ts
|
|
217
217
|
function selectQuotaForModel(quota, modelId) {
|
|
218
218
|
if (quota === void 0 || quota.buckets.length === 0) return null;
|
|
219
219
|
const bucket = (modelId?.toLowerCase() ?? "").includes("spark") ? quota.buckets.find((candidate) => `${candidate.id} ${candidate.name}`.toLowerCase().includes("spark")) : quota.buckets.find((candidate) => candidate.id === "codex") ?? quota.buckets.find((candidate) => candidate.name.toLowerCase() === "codex");
|
|
@@ -234,7 +234,7 @@ window.__ModuleLoader__.load({
|
|
|
234
234
|
return [bucket.primary, bucket.secondary].filter((window) => window !== null);
|
|
235
235
|
}
|
|
236
236
|
//#endregion
|
|
237
|
-
//#region src/client/CodexComposerQuota.tsx
|
|
237
|
+
//#region src/client/providers/codex-chatgpt/CodexComposerQuota.tsx
|
|
238
238
|
function CodexComposerQuota({ api, directory, loadModelDirectory, t }) {
|
|
239
239
|
const modelState = useStore(directory);
|
|
240
240
|
const [status, setStatus] = (0, react.useState)(null);
|
|
@@ -289,7 +289,7 @@ window.__ModuleLoader__.load({
|
|
|
289
289
|
return `${new Intl.NumberFormat(void 0, { maximumFractionDigits: 0 }).format(value)}%`;
|
|
290
290
|
}
|
|
291
291
|
//#endregion
|
|
292
|
-
//#region src/client/CodexImageToolView.tsx
|
|
292
|
+
//#region src/client/providers/codex-chatgpt/CodexImageToolView.tsx
|
|
293
293
|
/**
|
|
294
294
|
* Aspect ratios recognized when sizing an image tool's placeholder.
|
|
295
295
|
*
|
|
@@ -572,7 +572,7 @@ window.__ModuleLoader__.load({
|
|
|
572
572
|
return template.replace(/\{(\w+)\}/g, (match, name) => name in values ? String(values[name]) : match);
|
|
573
573
|
}
|
|
574
574
|
//#endregion
|
|
575
|
-
//#region src/client/locales.ts
|
|
575
|
+
//#region src/client/providers/codex-chatgpt/locales.ts
|
|
576
576
|
const NS = "dsh-chatgpt-subscription";
|
|
577
577
|
const zh$20 = {
|
|
578
578
|
...accountPoolZh,
|
|
@@ -625,8 +625,8 @@ window.__ModuleLoader__.load({
|
|
|
625
625
|
poolStorageTitle: "账号存储位置",
|
|
626
626
|
poolStorageKeyring: "桌面密钥环",
|
|
627
627
|
poolStorageCredentials: "DSH 凭据库",
|
|
628
|
-
poolStorageKeyringHint: "
|
|
629
|
-
poolStorageCredentialsHint: "DSH
|
|
628
|
+
poolStorageKeyringHint: "桌面端推荐,使用系统加密密钥环;无桌面环境的服务器请改选「DSH 凭据库」。",
|
|
629
|
+
poolStorageCredentialsHint: "保存在 DSH 凭据文件中,适合无桌面环境的服务器(不额外加密,依赖文件权限保护)。",
|
|
630
630
|
poolStorageEffective: "当前实际使用:{storage}",
|
|
631
631
|
poolStorageBackendKeyring: "桌面密钥环(Secret Service),静态加密",
|
|
632
632
|
poolStorageBackendDpapi: "Windows DPAPI,静态加密",
|
|
@@ -1941,7 +1941,7 @@ window.__ModuleLoader__.load({
|
|
|
1941
1941
|
return CODEX_MODEL_CATALOG.find((entry) => entry.id === model) ?? DEFAULT_CODEX_MODEL;
|
|
1942
1942
|
}
|
|
1943
1943
|
//#endregion
|
|
1944
|
-
//#region src/client/api.ts
|
|
1944
|
+
//#region src/client/providers/codex-chatgpt/api.ts
|
|
1945
1945
|
var SubscriptionApi = class {
|
|
1946
1946
|
status() {
|
|
1947
1947
|
return request$6(`${ROUTE_PREFIX}/status`);
|
|
@@ -2381,7 +2381,7 @@ window.__ModuleLoader__.load({
|
|
|
2381
2381
|
children: props.loginBusyLabel || t.addAccount
|
|
2382
2382
|
})]
|
|
2383
2383
|
}),
|
|
2384
|
-
accounts.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2384
|
+
props.showStrategy !== false && accounts.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2385
2385
|
className: "dsha-pref-row",
|
|
2386
2386
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t.rotationStrategy }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
2387
2387
|
className: "dsha-muted",
|
|
@@ -2654,7 +2654,7 @@ window.__ModuleLoader__.load({
|
|
|
2654
2654
|
};
|
|
2655
2655
|
}
|
|
2656
2656
|
//#endregion
|
|
2657
|
-
//#region src/client/CodexSubscriptionSection.tsx
|
|
2657
|
+
//#region src/client/providers/codex-chatgpt/CodexSubscriptionSection.tsx
|
|
2658
2658
|
/** The grant's deadline, moved onto this browser's clock. */
|
|
2659
2659
|
function panelDeadlineMs(login) {
|
|
2660
2660
|
return Date.now() + (login.expiresAt - login.now) * 1e3;
|
|
@@ -4109,7 +4109,7 @@ window.__ModuleLoader__.load({
|
|
|
4109
4109
|
};
|
|
4110
4110
|
}
|
|
4111
4111
|
//#endregion
|
|
4112
|
-
//#region src/client/command-code/locales.ts
|
|
4112
|
+
//#region src/client/providers/command-code/locales.ts
|
|
4113
4113
|
const NS_COMMAND_CODE = "dsh-command-code";
|
|
4114
4114
|
const zh$19 = {
|
|
4115
4115
|
...accountPoolZh,
|
|
@@ -4254,7 +4254,7 @@ window.__ModuleLoader__.load({
|
|
|
4254
4254
|
"en-US": en$19
|
|
4255
4255
|
};
|
|
4256
4256
|
//#endregion
|
|
4257
|
-
//#region src/client/command-code/CommandCodeSection.tsx
|
|
4257
|
+
//#region src/client/providers/command-code/CommandCodeSection.tsx
|
|
4258
4258
|
/**
|
|
4259
4259
|
* Display label per reasoning level. The locale dictionary only accepts flat
|
|
4260
4260
|
* string values, so this nested table lives with the control that renders it.
|
|
@@ -4863,7 +4863,7 @@ window.__ModuleLoader__.load({
|
|
|
4863
4863
|
});
|
|
4864
4864
|
}
|
|
4865
4865
|
//#endregion
|
|
4866
|
-
//#region src/client/CompactionRouteCard.tsx
|
|
4866
|
+
//#region src/client/features/CompactionRouteCard.tsx
|
|
4867
4867
|
/**
|
|
4868
4868
|
* Choose the model an automatic compaction summarizes on.
|
|
4869
4869
|
*
|
|
@@ -5052,7 +5052,7 @@ window.__ModuleLoader__.load({
|
|
|
5052
5052
|
});
|
|
5053
5053
|
}
|
|
5054
5054
|
//#endregion
|
|
5055
|
-
//#region src/client/kimi-code/locales.ts
|
|
5055
|
+
//#region src/client/providers/kimi-code/locales.ts
|
|
5056
5056
|
const NS_KIMI_CODE = "dsh-kimi-code";
|
|
5057
5057
|
const zh$18 = {
|
|
5058
5058
|
...accountPoolZh,
|
|
@@ -5123,11 +5123,11 @@ window.__ModuleLoader__.load({
|
|
|
5123
5123
|
minimumPlan: "所需套餐",
|
|
5124
5124
|
enhanced: "思考设置",
|
|
5125
5125
|
defaultReasoningEffort: "默认思考档位",
|
|
5126
|
-
defaultReasoningEffortHint: "
|
|
5127
|
-
effortThinkingOnlyNote: "
|
|
5126
|
+
defaultReasoningEffortHint: "可用档位随已勾选模型的能力变化;切换档位会使当前会话缓存失效。",
|
|
5127
|
+
effortThinkingOnlyNote: "部分已选模型不支持关闭思考({models}),因此不提供关闭选项。",
|
|
5128
5128
|
effortNotOffered: "当前勾选的模型不接受",
|
|
5129
5129
|
cacheNote: "上下文缓存",
|
|
5130
|
-
cacheNoteHint: "
|
|
5130
|
+
cacheNoteHint: "前缀缓存由服务端自动管理,约 30 分钟内有效,过期提示按此估算。",
|
|
5131
5131
|
defaultEffortAuto: "使用模型默认值",
|
|
5132
5132
|
effortLow: "低 (low)",
|
|
5133
5133
|
effortHigh: "高 (high)",
|
|
@@ -5319,11 +5319,11 @@ window.__ModuleLoader__.load({
|
|
|
5319
5319
|
minimumPlan: "Required plan",
|
|
5320
5320
|
enhanced: "Thinking",
|
|
5321
5321
|
defaultReasoningEffort: "Default thinking level",
|
|
5322
|
-
defaultReasoningEffortHint: "
|
|
5323
|
-
effortThinkingOnlyNote: "Some
|
|
5322
|
+
defaultReasoningEffortHint: "Available levels depend on checked models; changing levels invalidates the current session cache.",
|
|
5323
|
+
effortThinkingOnlyNote: "Some selected models do not support disabling thinking ({models}), so thinking off is hidden.",
|
|
5324
5324
|
effortNotOffered: "not accepted by the checked models",
|
|
5325
5325
|
cacheNote: "Context cache",
|
|
5326
|
-
cacheNoteHint: "
|
|
5326
|
+
cacheNoteHint: "Prefix caching is managed automatically by the server and stays warm for roughly 30 minutes.",
|
|
5327
5327
|
defaultEffortAuto: "Use the model default",
|
|
5328
5328
|
effortLow: "Low",
|
|
5329
5329
|
effortHigh: "High",
|
|
@@ -5462,7 +5462,7 @@ window.__ModuleLoader__.load({
|
|
|
5462
5462
|
"none"
|
|
5463
5463
|
];
|
|
5464
5464
|
//#endregion
|
|
5465
|
-
//#region src/client/kimi-code/labels.ts
|
|
5465
|
+
//#region src/client/providers/kimi-code/labels.ts
|
|
5466
5466
|
/**
|
|
5467
5467
|
* Name of the request/response dialect a model is served over.
|
|
5468
5468
|
*
|
|
@@ -5542,7 +5542,7 @@ window.__ModuleLoader__.load({
|
|
|
5542
5542
|
return models.filter((model) => model.thinkingType === "only");
|
|
5543
5543
|
}
|
|
5544
5544
|
//#endregion
|
|
5545
|
-
//#region src/client/kimi-code/KimiModelCapabilities.tsx
|
|
5545
|
+
//#region src/client/providers/kimi-code/KimiModelCapabilities.tsx
|
|
5546
5546
|
/**
|
|
5547
5547
|
* Capability table for the Kimi model list.
|
|
5548
5548
|
*
|
|
@@ -5633,7 +5633,7 @@ window.__ModuleLoader__.load({
|
|
|
5633
5633
|
});
|
|
5634
5634
|
}
|
|
5635
5635
|
//#endregion
|
|
5636
|
-
//#region src/client/kimi-code/staff-art.ts
|
|
5636
|
+
//#region src/client/providers/kimi-code/staff-art.ts
|
|
5637
5637
|
/** 档位名(小写)到插图的映射;认不出来的档位按 Allegretto 那一档画。 */
|
|
5638
5638
|
const TIER_ART = {
|
|
5639
5639
|
adagio: "trial",
|
|
@@ -5698,7 +5698,7 @@ window.__ModuleLoader__.load({
|
|
|
5698
5698
|
]
|
|
5699
5699
|
};
|
|
5700
5700
|
//#endregion
|
|
5701
|
-
//#region src/client/kimi-code/KimiQuotaCard.tsx
|
|
5701
|
+
//#region src/client/providers/kimi-code/KimiQuotaCard.tsx
|
|
5702
5702
|
/**
|
|
5703
5703
|
* Kimi Code 账号卡片里的额度区。
|
|
5704
5704
|
*
|
|
@@ -5963,7 +5963,7 @@ window.__ModuleLoader__.load({
|
|
|
5963
5963
|
});
|
|
5964
5964
|
}
|
|
5965
5965
|
//#endregion
|
|
5966
|
-
//#region src/client/kimi-code/KimiCodeSection.tsx
|
|
5966
|
+
//#region src/client/providers/kimi-code/KimiCodeSection.tsx
|
|
5967
5967
|
const api$17 = createLineApi("/kimi-code/api", "Kimi Code");
|
|
5968
5968
|
/**
|
|
5969
5969
|
* One token count as the card prints it.
|
|
@@ -6952,7 +6952,7 @@ window.__ModuleLoader__.load({
|
|
|
6952
6952
|
});
|
|
6953
6953
|
}
|
|
6954
6954
|
//#endregion
|
|
6955
|
-
//#region src/client/minimax-code/api.ts
|
|
6955
|
+
//#region src/client/providers/minimax-code/api.ts
|
|
6956
6956
|
/**
|
|
6957
6957
|
* The MiniMax Code routes the settings card consumes.
|
|
6958
6958
|
*
|
|
@@ -6994,7 +6994,7 @@ window.__ModuleLoader__.load({
|
|
|
6994
6994
|
return post$8("/reset-cards/use", { cardId });
|
|
6995
6995
|
}
|
|
6996
6996
|
//#endregion
|
|
6997
|
-
//#region src/client/minimax-code/locales.ts
|
|
6997
|
+
//#region src/client/providers/minimax-code/locales.ts
|
|
6998
6998
|
const NS_MINIMAX_CODE = "dsh-minimax-code";
|
|
6999
6999
|
const zh$17 = {
|
|
7000
7000
|
...accountPoolZh,
|
|
@@ -7055,7 +7055,7 @@ window.__ModuleLoader__.load({
|
|
|
7055
7055
|
checkinNow: "立即签到",
|
|
7056
7056
|
checkinRunning: "签到中…",
|
|
7057
7057
|
quotaUnavailable: "暂时没有用量数据。",
|
|
7058
|
-
quotaNeedsApiKey: "
|
|
7058
|
+
quotaNeedsApiKey: "当前登录态无法读取用量,请在 MiniMax 控制台查看;如需尝试官方客户端标识头,可设置环境变量 DSH_MINIMAX_CODE_QUOTA_ATTRIBUTION=1 后重试。",
|
|
7059
7059
|
quotaUnreachable: "暂时读不到用量(用量端点未应答),稍后会自动重试。",
|
|
7060
7060
|
quotaTokenExpired: "读取用量时令牌刚好过期,正在自动续期——账号仍然是登录状态,无需重新登录。",
|
|
7061
7061
|
quotaStale: "下面是上一次成功读取到的用量(本次刷新未成功),稍后会自动重试。",
|
|
@@ -7399,7 +7399,7 @@ window.__ModuleLoader__.load({
|
|
|
7399
7399
|
"en-US": en$17
|
|
7400
7400
|
};
|
|
7401
7401
|
//#endregion
|
|
7402
|
-
//#region src/client/minimax-code/useMinimaxCodeSection.ts
|
|
7402
|
+
//#region src/client/providers/minimax-code/useMinimaxCodeSection.ts
|
|
7403
7403
|
/**
|
|
7404
7404
|
* The MiniMax Code card's state, effects and actions.
|
|
7405
7405
|
*
|
|
@@ -7969,7 +7969,7 @@ window.__ModuleLoader__.load({
|
|
|
7969
7969
|
};
|
|
7970
7970
|
}
|
|
7971
7971
|
//#endregion
|
|
7972
|
-
//#region src/client/minimax-code/video-contract.ts
|
|
7972
|
+
//#region src/client/providers/minimax-code/video-contract.ts
|
|
7973
7973
|
/**
|
|
7974
7974
|
* `minimax_generate_video` 的线上工具名。
|
|
7975
7975
|
*
|
|
@@ -8184,52 +8184,9 @@ window.__ModuleLoader__.load({
|
|
|
8184
8184
|
return name === "" ? normalized : name;
|
|
8185
8185
|
}
|
|
8186
8186
|
//#endregion
|
|
8187
|
-
//#region src/client/minimax-code/video-form-rules.ts
|
|
8187
|
+
//#region src/client/providers/minimax-code/video-form-rules.ts
|
|
8188
8188
|
/**
|
|
8189
8189
|
* MiniMax 视频参数的**浏览器侧规则副本**与表单状态机。
|
|
8190
|
-
*
|
|
8191
|
-
* ## 为什么这里又抄了一遍宿主那张表
|
|
8192
|
-
*
|
|
8193
|
-
* 每个模型的合法时长/分辨率、以及比例随首帧/参考媒体被改写的联动,都写在宿主
|
|
8194
|
-
* 的 `src/host/minimax-code/video-tool.ts` 里。浏览器半边 **import 不到**它:
|
|
8195
|
-
* 客户端 tsconfig 只覆盖 `src/client/**` 与 `src/shared/**`,跨过去会把宿主的
|
|
8196
|
-
* node 依赖拖进浏览器闭包(同 `video-contract.ts` 顶部那条注释的理由)。
|
|
8197
|
-
*
|
|
8198
|
-
* 所以这里是**逐字抄写**,不是重新推导。抄的是那一份**实测**表
|
|
8199
|
-
* (`docs/minimax-video-model-rules.md`),不是文档或猜测:
|
|
8200
|
-
*
|
|
8201
|
-
* | model | duration | resolutions |
|
|
8202
|
-
* | -------------------- | ----------------- | ------------ |
|
|
8203
|
-
* | `MiniMax-H3` | 4-15 | 768P, 2K |
|
|
8204
|
-
* | `MiniMax-H3-Max` | 5-15 | 480P, 768P |
|
|
8205
|
-
* | `MiniMax-Hailuo-2.3` | 6 或 10 | 768P, 1080P |
|
|
8206
|
-
*
|
|
8207
|
-
* 三张表**两两不同,且没有一张等于并集**——2K 只有 H3 有、480P 只有 H3-Max 有、
|
|
8208
|
-
* 1080P 只有 Hailuo 有。所以客户端也**不能**用一张并集去校验:那会让 H3-Max 的
|
|
8209
|
-
* 用户选到 2K,然后被服务端在计费之后拒掉。
|
|
8210
|
-
*
|
|
8211
|
-
* `test/minimax-code-video-form-rules.test.ts` 里的一个用例把这三行钉死,改任何
|
|
8212
|
-
* 一边而忘了另一边都会红。
|
|
8213
|
-
*
|
|
8214
|
-
* ## 比例联动为什么必须在表单层就做掉
|
|
8215
|
-
*
|
|
8216
|
-
* 宿主的 `resolveVideoSubmissionRatio` 是照上游逐分支抄的:
|
|
8217
|
-
*
|
|
8218
|
-
* ```ts
|
|
8219
|
-
* isH3(model)
|
|
8220
|
-
* ? hasKeyframes ? 'adaptive'
|
|
8221
|
-
* : hasReferences ? (ratio ?? 'adaptive')
|
|
8222
|
-
* : (ratio ?? '16:9')
|
|
8223
|
-
* : ratio
|
|
8224
|
-
* ```
|
|
8225
|
-
*
|
|
8226
|
-
* 也就是说:**给了首帧,用户选的比例会被无声改写成 `adaptive`**;纯文本又
|
|
8227
|
-
* **不允许** `adaptive`(没有可自适应的对象,宿主会直接拒绝)。
|
|
8228
|
-
*
|
|
8229
|
-
* 让用户先选一个「16:9」再被改写成「adaptive」,是这个入口最不该犯的错——用户
|
|
8230
|
-
* 看到的和发出去的不是一个东西。所以这里把「最终比例」直接算出来给用户看,
|
|
8231
|
-
* 并且**不给选择**:`resolveVideoRatioChoice` 返回的 `locked` 就是那个意思。
|
|
8232
|
-
*
|
|
8233
8190
|
* @module @eddyskywalker/dsh-chatgpt-subscription/client/minimax-code/video-form-rules
|
|
8234
8191
|
*/
|
|
8235
8192
|
/** 三个视频模型,顺序与宿主 `MINIMAX_VIDEO_MODELS` 一致。 */
|
|
@@ -8556,7 +8513,7 @@ window.__ModuleLoader__.load({
|
|
|
8556
8513
|
};
|
|
8557
8514
|
}
|
|
8558
8515
|
//#endregion
|
|
8559
|
-
//#region src/client/minimax-code/VideoSettingsSections.tsx
|
|
8516
|
+
//#region src/client/providers/minimax-code/VideoSettingsSections.tsx
|
|
8560
8517
|
/**
|
|
8561
8518
|
* 设置页里的两个视频分区:**默认参数**与**生成历史**。
|
|
8562
8519
|
*
|
|
@@ -8848,7 +8805,7 @@ window.__ModuleLoader__.load({
|
|
|
8848
8805
|
});
|
|
8849
8806
|
}
|
|
8850
8807
|
//#endregion
|
|
8851
|
-
//#region src/client/minimax-code/video-defaults-store.ts
|
|
8808
|
+
//#region src/client/providers/minimax-code/video-defaults-store.ts
|
|
8852
8809
|
/**
|
|
8853
8810
|
* 「视频默认参数」的浏览器侧存储。
|
|
8854
8811
|
*
|
|
@@ -8927,7 +8884,7 @@ window.__ModuleLoader__.load({
|
|
|
8927
8884
|
}
|
|
8928
8885
|
}
|
|
8929
8886
|
//#endregion
|
|
8930
|
-
//#region src/client/minimax-code/MinimaxCodeSection.tsx
|
|
8887
|
+
//#region src/client/providers/minimax-code/MinimaxCodeSection.tsx
|
|
8931
8888
|
/**
|
|
8932
8889
|
* The MiniMax Code settings card.
|
|
8933
8890
|
*
|
|
@@ -9460,7 +9417,7 @@ window.__ModuleLoader__.load({
|
|
|
9460
9417
|
});
|
|
9461
9418
|
}
|
|
9462
9419
|
//#endregion
|
|
9463
|
-
//#region src/client/glm-coding-plan/locales.ts
|
|
9420
|
+
//#region src/client/providers/glm-coding-plan/locales.ts
|
|
9464
9421
|
/**
|
|
9465
9422
|
* GLM(ZCode 账号)线路的客户端命名空间。
|
|
9466
9423
|
*
|
|
@@ -9497,7 +9454,7 @@ window.__ModuleLoader__.load({
|
|
|
9497
9454
|
cancelLogin: "取消登录",
|
|
9498
9455
|
cancelLoginBusy: "取消中…",
|
|
9499
9456
|
manualPasteSection: "手工粘贴授权码",
|
|
9500
|
-
manualPasteHint: "
|
|
9457
|
+
manualPasteHint: "浏览器回调失败时,可将回调地址或授权码粘贴到此处完成登录。",
|
|
9501
9458
|
manualPastePlaceholder: "粘贴授权码(code=… 或整段回调地址)",
|
|
9502
9459
|
manualPasteSubmit: "提交授权码",
|
|
9503
9460
|
manualPasteSubmitting: "兑换中…",
|
|
@@ -9526,7 +9483,7 @@ window.__ModuleLoader__.load({
|
|
|
9526
9483
|
routeOwned: "本插件正在服务该模型路由。",
|
|
9527
9484
|
routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重新加载。",
|
|
9528
9485
|
modelsSection: "模型",
|
|
9529
|
-
modelsHint: "
|
|
9486
|
+
modelsHint: "勾选后模型会出现在对话页的模型选择器中;模型列表按账号所在区域过滤。",
|
|
9530
9487
|
modelsUnavailable: "暂无可显示的模型。",
|
|
9531
9488
|
refreshCatalog: "刷新模型目录",
|
|
9532
9489
|
refreshingCatalog: "刷新中...",
|
|
@@ -9697,7 +9654,7 @@ window.__ModuleLoader__.load({
|
|
|
9697
9654
|
return dictionary[ALLOWANCE_KINDS[allowance ?? "unknown"]];
|
|
9698
9655
|
}
|
|
9699
9656
|
//#endregion
|
|
9700
|
-
//#region src/client/glm-coding-plan/api.ts
|
|
9657
|
+
//#region src/client/providers/glm-coding-plan/api.ts
|
|
9701
9658
|
/**
|
|
9702
9659
|
* 本线路的 host 路由由这一个文件描述,卡片与输入框胶囊都从这里取。
|
|
9703
9660
|
*
|
|
@@ -9727,7 +9684,7 @@ window.__ModuleLoader__.load({
|
|
|
9727
9684
|
return cause instanceof Error ? cause.message : String(cause);
|
|
9728
9685
|
}
|
|
9729
9686
|
//#endregion
|
|
9730
|
-
//#region src/client/glm-coding-plan/useGlmCodingPlanSection.ts
|
|
9687
|
+
//#region src/client/providers/glm-coding-plan/useGlmCodingPlanSection.ts
|
|
9731
9688
|
/**
|
|
9732
9689
|
* GLM(ZCode 账号)设置卡片的状态、副作用与动作。
|
|
9733
9690
|
*
|
|
@@ -10140,7 +10097,7 @@ window.__ModuleLoader__.load({
|
|
|
10140
10097
|
};
|
|
10141
10098
|
}
|
|
10142
10099
|
//#endregion
|
|
10143
|
-
//#region src/client/glm-coding-plan/GlmCodingPlanSection.tsx
|
|
10100
|
+
//#region src/client/providers/glm-coding-plan/GlmCodingPlanSection.tsx
|
|
10144
10101
|
/**
|
|
10145
10102
|
* GLM(ZCode 账号)设置卡片。
|
|
10146
10103
|
*
|
|
@@ -10625,7 +10582,7 @@ window.__ModuleLoader__.load({
|
|
|
10625
10582
|
"max"
|
|
10626
10583
|
];
|
|
10627
10584
|
//#endregion
|
|
10628
|
-
//#region src/client/claude/locales.ts
|
|
10585
|
+
//#region src/client/providers/claude/locales.ts
|
|
10629
10586
|
/**
|
|
10630
10587
|
* Locale namespace of the Claude subscription tab.
|
|
10631
10588
|
*
|
|
@@ -10883,7 +10840,7 @@ window.__ModuleLoader__.load({
|
|
|
10883
10840
|
"en-US": en$15
|
|
10884
10841
|
};
|
|
10885
10842
|
//#endregion
|
|
10886
|
-
//#region src/client/claude/useClaudeSection.ts
|
|
10843
|
+
//#region src/client/providers/claude/useClaudeSection.ts
|
|
10887
10844
|
/**
|
|
10888
10845
|
* The Claude card's state, effects and actions.
|
|
10889
10846
|
*
|
|
@@ -11359,7 +11316,7 @@ window.__ModuleLoader__.load({
|
|
|
11359
11316
|
};
|
|
11360
11317
|
}
|
|
11361
11318
|
//#endregion
|
|
11362
|
-
//#region src/client/claude/ClaudeSection.tsx
|
|
11319
|
+
//#region src/client/providers/claude/ClaudeSection.tsx
|
|
11363
11320
|
/**
|
|
11364
11321
|
* The Claude subscription settings card.
|
|
11365
11322
|
*
|
|
@@ -11914,7 +11871,7 @@ window.__ModuleLoader__.load({
|
|
|
11914
11871
|
"high"
|
|
11915
11872
|
];
|
|
11916
11873
|
//#endregion
|
|
11917
|
-
//#region src/client/ollama/api.ts
|
|
11874
|
+
//#region src/client/providers/ollama/api.ts
|
|
11918
11875
|
const API$9 = "/ollama/api";
|
|
11919
11876
|
/**
|
|
11920
11877
|
* The Ollama settings API, as the card uses it.
|
|
@@ -12022,7 +11979,7 @@ window.__ModuleLoader__.load({
|
|
|
12022
11979
|
return `The Ollama settings API answered with ${response.status} and no JSON body (${kind})` + (cause instanceof Error ? `: ${cause.message}` : "") + ". The Host log holds the underlying error.";
|
|
12023
11980
|
}
|
|
12024
11981
|
//#endregion
|
|
12025
|
-
//#region src/client/ollama/locales.ts
|
|
11982
|
+
//#region src/client/providers/ollama/locales.ts
|
|
12026
11983
|
const NS_OLLAMA = "dsh-ollama";
|
|
12027
11984
|
const zh$14 = {
|
|
12028
11985
|
...accountPoolZh,
|
|
@@ -12057,14 +12014,14 @@ window.__ModuleLoader__.load({
|
|
|
12057
12014
|
noneSelected: "未选择任何模型,该线路不会出现在模型选择器中。",
|
|
12058
12015
|
enhanced: "增强功能",
|
|
12059
12016
|
defaultReasoningEffort: "默认思考档位",
|
|
12060
|
-
defaultReasoningEffortHint: "
|
|
12017
|
+
defaultReasoningEffortHint: "仅对支持思考控制的模型生效,会自动匹配模型支持的档位;选「不指定」则使用模型默认值。",
|
|
12061
12018
|
defaultEffortAuto: "不指定",
|
|
12062
12019
|
limitsSection: "能力边界",
|
|
12063
12020
|
limitsHint: "以下为 Ollama Cloud 官方文档列出的限制,本线路不会绕过:",
|
|
12064
12021
|
limitNoStateful: "不支持 Responses 的有状态会话(仅无状态形式)。",
|
|
12065
12022
|
limitNoWebSearch: "不支持通过 /v1/responses 使用内置联网搜索。",
|
|
12066
12023
|
limitNoToolReplay: "不支持自定义工具调用的重放(replay)。",
|
|
12067
|
-
limitUsage: "Ollama
|
|
12024
|
+
limitUsage: "Ollama 未提供剩余额度接口,仅展示累计已消耗 token。",
|
|
12068
12025
|
wireNote: "请求默认走 OpenAI 兼容面(/v1),必要时回落到原生面(/api/chat)。",
|
|
12069
12026
|
lastModel: "最近模型",
|
|
12070
12027
|
keyCreated: "添加于",
|
|
@@ -12116,7 +12073,7 @@ window.__ModuleLoader__.load({
|
|
|
12116
12073
|
limitNoStateful: "No stateful Responses (stateless only).",
|
|
12117
12074
|
limitNoWebSearch: "No built-in web search through /v1/responses.",
|
|
12118
12075
|
limitNoToolReplay: "No replay of custom tool calls.",
|
|
12119
|
-
limitUsage: "Ollama
|
|
12076
|
+
limitUsage: "Ollama provides no remaining-quota API, so only cumulative consumed tokens are shown.",
|
|
12120
12077
|
wireNote: "Requests use the OpenAI-compatible surface (/v1) and fall back to the native surface (/api/chat) when needed.",
|
|
12121
12078
|
lastModel: "Last model",
|
|
12122
12079
|
keyCreated: "Added",
|
|
@@ -12135,7 +12092,7 @@ window.__ModuleLoader__.load({
|
|
|
12135
12092
|
"en-US": en$14
|
|
12136
12093
|
};
|
|
12137
12094
|
//#endregion
|
|
12138
|
-
//#region src/client/ollama/OllamaSection.tsx
|
|
12095
|
+
//#region src/client/providers/ollama/OllamaSection.tsx
|
|
12139
12096
|
const API$8 = new OllamaApi();
|
|
12140
12097
|
/**
|
|
12141
12098
|
* What each thinking level says in this card.
|
|
@@ -12485,7 +12442,7 @@ window.__ModuleLoader__.load({
|
|
|
12485
12442
|
] });
|
|
12486
12443
|
}
|
|
12487
12444
|
//#endregion
|
|
12488
|
-
//#region src/client/antigravity-acp/api.ts
|
|
12445
|
+
//#region src/client/providers/antigravity-acp/api.ts
|
|
12489
12446
|
const API$7 = "/antigravity-acp/api";
|
|
12490
12447
|
/**
|
|
12491
12448
|
* The Antigravity (ACP) settings API, as the card uses it.
|
|
@@ -12570,7 +12527,7 @@ window.__ModuleLoader__.load({
|
|
|
12570
12527
|
return `The Antigravity settings API answered with ${response.status} and no JSON body (${kind})` + (cause instanceof Error ? `: ${cause.message}` : "") + ". The Host log holds the underlying error.";
|
|
12571
12528
|
}
|
|
12572
12529
|
//#endregion
|
|
12573
|
-
//#region src/client/antigravity-acp/locales.ts
|
|
12530
|
+
//#region src/client/providers/antigravity-acp/locales.ts
|
|
12574
12531
|
const NS_ANTIGRAVITY_ACP = "dsh-antigravity-acp";
|
|
12575
12532
|
const zh$13 = {
|
|
12576
12533
|
title: "Antigravity(ACP)",
|
|
@@ -12649,9 +12606,9 @@ window.__ModuleLoader__.load({
|
|
|
12649
12606
|
occupancyLabel: "上下文占用",
|
|
12650
12607
|
occupancyDetail: "已用 {used} / 窗口 {size}",
|
|
12651
12608
|
scopeSection: "能力边界",
|
|
12652
|
-
scopeSummary: "
|
|
12653
|
-
scopeHintSummary: "
|
|
12654
|
-
scopeHint: "
|
|
12609
|
+
scopeSummary: "包含系统提示拼接、会话复用条件、子代理工具集、额度与代理五项说明。",
|
|
12610
|
+
scopeHintSummary: "查看能力边界说明",
|
|
12611
|
+
scopeHint: "由官方 ACP 协议与 CLI 决定的行为边界:",
|
|
12655
12612
|
scopePrompt: "ACP 没有独立的 system 提示槽位:DSH 的系统提示会作为提示首段随会话发送,官方 Agent 自身的系统提示无法移除。",
|
|
12656
12613
|
scopeHistory: "正常结束后会话随进程一起停放供下次复用:下一条消息若前缀指纹与工具目录未变,只发送增量;历史被压缩或改写、工具集变化或进程死亡时才重建会话并重放带锚点的历史。",
|
|
12657
12614
|
scopeTools: "作为主模型时工具由 DSH 执行并把关;作为子代理时子进程使用官方 Agent 自己的工具集。",
|
|
@@ -12741,9 +12698,9 @@ window.__ModuleLoader__.load({
|
|
|
12741
12698
|
occupancyLabel: "Context occupancy",
|
|
12742
12699
|
occupancyDetail: "{used} used of {size}",
|
|
12743
12700
|
scopeSection: "Boundaries",
|
|
12744
|
-
scopeSummary: "
|
|
12745
|
-
scopeHintSummary: "Show
|
|
12746
|
-
scopeHint: "
|
|
12701
|
+
scopeSummary: "Notes on system prompt handling, session reuse, subagent tools, quota, and proxy behavior.",
|
|
12702
|
+
scopeHintSummary: "Show capability notes",
|
|
12703
|
+
scopeHint: "Behavior defined by the official ACP protocol and CLI:",
|
|
12747
12704
|
scopePrompt: "ACP has no separate system-prompt slot: the DSH system prompt travels as the head of the prompt, and the official agent's own system prompt cannot be removed.",
|
|
12748
12705
|
scopeHistory: "After a normal finish the session parks with its process for reuse: the next message sends only the increment if the prefix fingerprint and tool catalogue are unchanged, and only a compacted or rewritten history, a changed tool set, or a dead process triggers a rebuild with an anchored replay.",
|
|
12749
12706
|
scopeTools: "As a main model its tool calls are executed and gated by DSH; as a subagent the child runs the official agent's own tools.",
|
|
@@ -12763,7 +12720,7 @@ window.__ModuleLoader__.load({
|
|
|
12763
12720
|
"en-US": en$13
|
|
12764
12721
|
};
|
|
12765
12722
|
//#endregion
|
|
12766
|
-
//#region src/client/antigravity-acp/AntigravityAcpSection.tsx
|
|
12723
|
+
//#region src/client/providers/antigravity-acp/AntigravityAcpSection.tsx
|
|
12767
12724
|
const API$6 = new AntigravityAcpApi();
|
|
12768
12725
|
/** A token count short enough to sit on one line. */
|
|
12769
12726
|
function formatTokens(value) {
|
|
@@ -13299,7 +13256,7 @@ window.__ModuleLoader__.load({
|
|
|
13299
13256
|
return levels;
|
|
13300
13257
|
}
|
|
13301
13258
|
//#endregion
|
|
13302
|
-
//#region src/client/aws-quick/api.ts
|
|
13259
|
+
//#region src/client/providers/aws-quick/api.ts
|
|
13303
13260
|
const api$13 = createLineApi("/aws-quick/api", "AWS Quick");
|
|
13304
13261
|
const AwsQuickApi = {
|
|
13305
13262
|
status: () => api$13.get("/status"),
|
|
@@ -13311,7 +13268,7 @@ window.__ModuleLoader__.load({
|
|
|
13311
13268
|
logout: () => api$13.post("/logout", {})
|
|
13312
13269
|
};
|
|
13313
13270
|
//#endregion
|
|
13314
|
-
//#region src/client/aws-quick/locales.ts
|
|
13271
|
+
//#region src/client/providers/aws-quick/locales.ts
|
|
13315
13272
|
const NS_AWS_QUICK = "dsh-aws-quick";
|
|
13316
13273
|
const zh$12 = {
|
|
13317
13274
|
title: "AWS Quick",
|
|
@@ -13427,7 +13384,7 @@ window.__ModuleLoader__.load({
|
|
|
13427
13384
|
}
|
|
13428
13385
|
};
|
|
13429
13386
|
//#endregion
|
|
13430
|
-
//#region src/client/aws-quick/AwsQuickSection.tsx
|
|
13387
|
+
//#region src/client/providers/aws-quick/AwsQuickSection.tsx
|
|
13431
13388
|
function AwsQuickSection(props) {
|
|
13432
13389
|
const [status, setStatus] = (0, react.useState)(null);
|
|
13433
13390
|
const [busy, setBusy] = (0, react.useState)(null);
|
|
@@ -13797,7 +13754,7 @@ window.__ModuleLoader__.load({
|
|
|
13797
13754
|
] });
|
|
13798
13755
|
}
|
|
13799
13756
|
//#endregion
|
|
13800
|
-
//#region src/client/step-code/locales.ts
|
|
13757
|
+
//#region src/client/providers/step-code/locales.ts
|
|
13801
13758
|
/**
|
|
13802
13759
|
* Step Code(Step Plan 订阅)线路的客户端命名空间。
|
|
13803
13760
|
*
|
|
@@ -13809,7 +13766,7 @@ window.__ModuleLoader__.load({
|
|
|
13809
13766
|
const zh$11 = {
|
|
13810
13767
|
...accountPoolZh,
|
|
13811
13768
|
title: "Step Code(Step Plan 订阅)",
|
|
13812
|
-
pageDesc: "
|
|
13769
|
+
pageDesc: "连接 Step Plan 订阅或开放平台 API Key,管理账号池、额度与可用模型。",
|
|
13813
13770
|
loading: "加载中...",
|
|
13814
13771
|
/** 折叠区的标题:标题下只留一句,其余原句收在这里(折叠不是删除)。 */
|
|
13815
13772
|
moreNotes: "更多说明",
|
|
@@ -13845,7 +13802,7 @@ window.__ModuleLoader__.load({
|
|
|
13845
13802
|
cancelLogin: "取消登录",
|
|
13846
13803
|
cancelLoginBusy: "取消中…",
|
|
13847
13804
|
manualPasteSection: "手工粘贴 Platform API Key",
|
|
13848
|
-
manualPasteHint: "
|
|
13805
|
+
manualPasteHint: "无浏览器或使用开放平台按量计费时,可直接粘贴 API Key 登录。",
|
|
13849
13806
|
manualPastePlaceholder: "粘贴 Platform API Key(sk-…)",
|
|
13850
13807
|
manualPasteSubmit: "提交 API Key",
|
|
13851
13808
|
manualPasteSubmitting: "提交中...",
|
|
@@ -13935,7 +13892,7 @@ window.__ModuleLoader__.load({
|
|
|
13935
13892
|
quotaBucketResets: "重置时间",
|
|
13936
13893
|
quotaCredentialSection: "额度凭据(开发者中心)",
|
|
13937
13894
|
quotaCredentialSource: "凭据来源",
|
|
13938
|
-
quotaCredentialFoot: "
|
|
13895
|
+
quotaCredentialFoot: "仅用于查询额度;账号密码与 Token 仅保存在本机宿主中,不下发到浏览器。",
|
|
13939
13896
|
quotaCredentialNone: "尚未配置额度凭据,额度卡片读不到数据。",
|
|
13940
13897
|
quotaCredentialAuto: "账号密码自动换取(auto)",
|
|
13941
13898
|
quotaCredentialManual: "手动粘贴(manual)",
|
|
@@ -14208,37 +14165,9 @@ window.__ModuleLoader__.load({
|
|
|
14208
14165
|
return dictionary[QUOTA_CREDENTIAL_SOURCE_KEYS[source ?? "manual"]];
|
|
14209
14166
|
}
|
|
14210
14167
|
//#endregion
|
|
14211
|
-
//#region src/client/step-code/api.ts
|
|
14168
|
+
//#region src/client/providers/step-code/api.ts
|
|
14212
14169
|
/**
|
|
14213
14170
|
* 本线路的 host 路由由这一个文件描述,卡片与输入框胶囊都从这里取。
|
|
14214
|
-
*
|
|
14215
|
-
* **路由表是与 host 侧 routes.ts 的约定**:下表按计划 §6.1 与兄弟线路的命名习惯定下,
|
|
14216
|
-
* 一旦 host 侧拼写不同,只需要改这一个文件。
|
|
14217
|
-
*
|
|
14218
|
-
* GET /status → StepCodeStatusDto(页面的唯一读口)
|
|
14219
|
-
* POST /settings StepCodeSettingsUpdateDto → StepCodeStatusDto
|
|
14220
|
-
* (总开关、模型勾选、上下文窗口覆盖、默认档位、手选账号、缓存参数能力位)
|
|
14221
|
-
* POST /accounts { action, accountId } / { action:'strategy', strategy } → StepCodeStatusDto
|
|
14222
|
-
* POST /login/start { profile } → StepCodeLoginFlowStatus
|
|
14223
|
-
* GET /login/status → StepCodeLoginFlowStatus(云端轮询登录不开本地回调端口,卡片只跟随 host)
|
|
14224
|
-
* POST /login/cancel { } → StepCodeLoginFlowStatus
|
|
14225
|
-
* POST /login/manual { profile, apiKey } → StepCodeStatusDto(手工粘贴 Platform API Key;
|
|
14226
|
-
* 请求体必然带凭据,刻意不在冻结契约里声明)
|
|
14227
|
-
* POST /adopt { } → StepCodeAdoptResultDto(**裸 DTO,不走信封**;失败永不阻断,
|
|
14228
|
-
* 卡片据 reason 给出不同的下一步)
|
|
14229
|
-
* POST /connection/test → StepCodeConnectionDto(**裸 DTO,不走信封**)
|
|
14230
|
-
* POST /quota { } → StepCodeStatusDto(强制刷新额度)
|
|
14231
|
-
* POST /catalog/refresh { } → StepCodeStatusDto
|
|
14232
|
-
* POST /quota/credential { mode:'password'|'manual'|'clear', account?, password?, token? }
|
|
14233
|
-
* → StepCodeStatusDto(**非公开的开发者中心接口**;凭据只在提交时的
|
|
14234
|
-
* 请求体里过一趟,永远不回读)
|
|
14235
|
-
*
|
|
14236
|
-
* 除 /adopt 与 /connection/test 外全部走共享的 { ok, value } 信封,
|
|
14237
|
-
* 因此答案都是裸 DTO——createLineApi 已经把信封拆掉了。
|
|
14238
|
-
*
|
|
14239
|
-
* 凭据边界的另一半也写在这里:/login/manual 与 /quota/credential 的请求体是本文件里
|
|
14240
|
-
* **仅有的两处**带秘密的形状,它们只在这两个函数调用点的字面量里出现,
|
|
14241
|
-
* 既不进 URL、也不进日志,卡片那边同样没有别的地方可以读到它们。
|
|
14242
14171
|
*/
|
|
14243
14172
|
const api$12 = createLineApi(STEP_CODE_ROUTE_PREFIX, STEP_CODE_PROVIDER_NAME);
|
|
14244
14173
|
const get$4 = api$12.get;
|
|
@@ -14247,7 +14176,7 @@ window.__ModuleLoader__.load({
|
|
|
14247
14176
|
return cause instanceof Error ? cause.message : String(cause);
|
|
14248
14177
|
}
|
|
14249
14178
|
//#endregion
|
|
14250
|
-
//#region src/client/step-code/useStepCodeSection.ts
|
|
14179
|
+
//#region src/client/providers/step-code/useStepCodeSection.ts
|
|
14251
14180
|
/**
|
|
14252
14181
|
* Step Code(Step Plan 订阅)设置卡片的状态、副作用与动作。
|
|
14253
14182
|
*
|
|
@@ -14820,7 +14749,7 @@ window.__ModuleLoader__.load({
|
|
|
14820
14749
|
};
|
|
14821
14750
|
}
|
|
14822
14751
|
//#endregion
|
|
14823
|
-
//#region src/client/step-code/StepCodeSection.tsx
|
|
14752
|
+
//#region src/client/providers/step-code/StepCodeSection.tsx
|
|
14824
14753
|
/**
|
|
14825
14754
|
* Step Code(Step Plan 订阅)设置卡片。
|
|
14826
14755
|
*
|
|
@@ -15741,7 +15670,7 @@ window.__ModuleLoader__.load({
|
|
|
15741
15670
|
};
|
|
15742
15671
|
}
|
|
15743
15672
|
//#endregion
|
|
15744
|
-
//#region src/client/cline-pass/api.ts
|
|
15673
|
+
//#region src/client/providers/cline-pass/api.ts
|
|
15745
15674
|
const api$11 = createLineApi(CLINE_PASS_ROUTE_PREFIX, "Cline Pass");
|
|
15746
15675
|
/**
|
|
15747
15676
|
* Whether the host is refreshing the quota behind this answer.
|
|
@@ -15854,7 +15783,7 @@ window.__ModuleLoader__.load({
|
|
|
15854
15783
|
}
|
|
15855
15784
|
};
|
|
15856
15785
|
//#endregion
|
|
15857
|
-
//#region src/client/cline-pass/locales.ts
|
|
15786
|
+
//#region src/client/providers/cline-pass/locales.ts
|
|
15858
15787
|
const NS_CLINE_PASS = "dsh-cline-pass";
|
|
15859
15788
|
const zh$10 = {
|
|
15860
15789
|
...accountPoolZh,
|
|
@@ -16111,7 +16040,7 @@ window.__ModuleLoader__.load({
|
|
|
16111
16040
|
"en-US": en$10
|
|
16112
16041
|
};
|
|
16113
16042
|
//#endregion
|
|
16114
|
-
//#region src/client/cline-pass/ClinePassSection.tsx
|
|
16043
|
+
//#region src/client/providers/cline-pass/ClinePassSection.tsx
|
|
16115
16044
|
const API$5 = new ClinePassApi();
|
|
16116
16045
|
/**
|
|
16117
16046
|
* How often an open card re-reads the quota.
|
|
@@ -17213,7 +17142,7 @@ window.__ModuleLoader__.load({
|
|
|
17213
17142
|
return typeof value === "string" && QODER_REASONING_EFFORTS.includes(value);
|
|
17214
17143
|
}
|
|
17215
17144
|
//#endregion
|
|
17216
|
-
//#region src/client/qoder/locales.ts
|
|
17145
|
+
//#region src/client/providers/qoder/locales.ts
|
|
17217
17146
|
/**
|
|
17218
17147
|
* Qoder(订阅)线路的客户端命名空间。
|
|
17219
17148
|
*
|
|
@@ -17266,7 +17195,7 @@ window.__ModuleLoader__.load({
|
|
|
17266
17195
|
adoptRegionUnresolved: "登录态解密成功,但两个区域的 userinfo 都不认这把 token(可能已过期)。",
|
|
17267
17196
|
dismiss: "知道了",
|
|
17268
17197
|
manualPasteSection: "手动粘贴 PAT",
|
|
17269
|
-
manualPasteHint: "在 Qoder
|
|
17198
|
+
manualPasteHint: "在 Qoder 的 Integrations 页面生成 Personal Access Token(pt-...)并粘贴到此处,凭据仅保存在本机加密存储中。",
|
|
17270
17199
|
manualPastePlaceholder: "pt-...",
|
|
17271
17200
|
manualPasteSubmit: "粘贴并登录",
|
|
17272
17201
|
manualPasteSubmitting: "兑换中…",
|
|
@@ -17280,8 +17209,8 @@ window.__ModuleLoader__.load({
|
|
|
17280
17209
|
testLatency: "耗时 {ms} ms",
|
|
17281
17210
|
testFailedDetail: "连接失败:{detail}",
|
|
17282
17211
|
modelsSection: "模型",
|
|
17283
|
-
modelsHint: "
|
|
17284
|
-
modelsHintExtra: "
|
|
17212
|
+
modelsHint: "登录后自动同步可用模型;未登录时展示内置目录。",
|
|
17213
|
+
modelsHintExtra: "模型窗口、视觉支持与思考档位均以上游目录为准。",
|
|
17285
17214
|
modelsUnavailable: "暂无模型目录。登录后点右上角「刷新目录」。",
|
|
17286
17215
|
refreshCatalog: "刷新目录",
|
|
17287
17216
|
refreshingCatalog: "刷新中…",
|
|
@@ -17290,8 +17219,8 @@ window.__ModuleLoader__.load({
|
|
|
17290
17219
|
modelChecklistCount: "已选 {count} / {total}",
|
|
17291
17220
|
enabledModelIdsSemantics: "勾选全清 = 全部模型都不可用(不是「不过滤」);要恢复全部请点「全选」。",
|
|
17292
17221
|
defaultEffort: "默认思考档位",
|
|
17293
|
-
defaultEffortHint: "
|
|
17294
|
-
defaultEffortHintExtra: "
|
|
17222
|
+
defaultEffortHint: "会话未指定档位时使用;自动匹配各模型实际支持的档位。",
|
|
17223
|
+
defaultEffortHintExtra: "不支持的档位会自动回退到模型允许的最近档位。",
|
|
17295
17224
|
defaultEffortModel: "跟随各模型默认",
|
|
17296
17225
|
effortMinimal: "minimal",
|
|
17297
17226
|
effortLow: "low",
|
|
@@ -17332,8 +17261,8 @@ window.__ModuleLoader__.load({
|
|
|
17332
17261
|
quotaExceededHint: "上游说这个账号的额度已经用尽,请求会被拒。额度恢复之前发消息会失败:可以等周期重置,或在额度页升级套餐。",
|
|
17333
17262
|
quotaUpgradeLink: "打开升级页面",
|
|
17334
17263
|
cacheSection: "缓存用量",
|
|
17335
|
-
cacheStatScope: "
|
|
17336
|
-
cacheDesc: "
|
|
17264
|
+
cacheStatScope: "本进程启动以来的本地 token 统计,仅供参考。",
|
|
17265
|
+
cacheDesc: "服务端自动执行前缀缓存;本页按 token 数量展示缓存命中情况。",
|
|
17337
17266
|
cacheEmpty: "还没有样本。发一条消息后这里会出现统计。",
|
|
17338
17267
|
cacheHitRatio: "缓存命中率",
|
|
17339
17268
|
cacheHitRatioUnavailable: "—",
|
|
@@ -17497,7 +17426,7 @@ window.__ModuleLoader__.load({
|
|
|
17497
17426
|
return dictionary[QUOTA_BUCKET_KEYS[kind]];
|
|
17498
17427
|
}
|
|
17499
17428
|
//#endregion
|
|
17500
|
-
//#region src/client/qoder/api.ts
|
|
17429
|
+
//#region src/client/providers/qoder/api.ts
|
|
17501
17430
|
/**
|
|
17502
17431
|
* 本线路的 host 路由由这一个文件描述,卡片与输入框胶囊都从这里取。
|
|
17503
17432
|
*
|
|
@@ -17530,7 +17459,7 @@ window.__ModuleLoader__.load({
|
|
|
17530
17459
|
return cause instanceof Error ? cause.message : String(cause);
|
|
17531
17460
|
}
|
|
17532
17461
|
//#endregion
|
|
17533
|
-
//#region src/client/qoder/useQoderSection.ts
|
|
17462
|
+
//#region src/client/providers/qoder/useQoderSection.ts
|
|
17534
17463
|
/**
|
|
17535
17464
|
* Qoder(订阅)设置卡片的状态、副作用与动作。
|
|
17536
17465
|
*
|
|
@@ -18034,7 +17963,7 @@ window.__ModuleLoader__.load({
|
|
|
18034
17963
|
};
|
|
18035
17964
|
}
|
|
18036
17965
|
//#endregion
|
|
18037
|
-
//#region src/client/qoder/QoderSection.tsx
|
|
17966
|
+
//#region src/client/providers/qoder/QoderSection.tsx
|
|
18038
17967
|
/**
|
|
18039
17968
|
* Qoder(订阅)设置卡片。
|
|
18040
17969
|
*
|
|
@@ -18649,7 +18578,7 @@ window.__ModuleLoader__.load({
|
|
|
18649
18578
|
const OPENDESIGN_PROVIDER_NAME = "OpenDesign";
|
|
18650
18579
|
const OPENDESIGN_ROUTE_PREFIX = "/opendesign/api";
|
|
18651
18580
|
//#endregion
|
|
18652
|
-
//#region src/client/opendesign/api.ts
|
|
18581
|
+
//#region src/client/providers/opendesign/api.ts
|
|
18653
18582
|
const api$9 = createLineApi(OPENDESIGN_ROUTE_PREFIX, "OpenDesign");
|
|
18654
18583
|
/**
|
|
18655
18584
|
* The OpenDesign settings API, as the card uses it.
|
|
@@ -18715,7 +18644,7 @@ window.__ModuleLoader__.load({
|
|
|
18715
18644
|
}
|
|
18716
18645
|
};
|
|
18717
18646
|
//#endregion
|
|
18718
|
-
//#region src/client/opendesign/locales.ts
|
|
18647
|
+
//#region src/client/providers/opendesign/locales.ts
|
|
18719
18648
|
const NS_OPENDESIGN = "dsh-opendesign";
|
|
18720
18649
|
const zh$8 = {
|
|
18721
18650
|
...accountPoolZh,
|
|
@@ -18940,7 +18869,7 @@ window.__ModuleLoader__.load({
|
|
|
18940
18869
|
"en-US": en$8
|
|
18941
18870
|
};
|
|
18942
18871
|
//#endregion
|
|
18943
|
-
//#region src/client/opendesign/OpenDesignSection.tsx
|
|
18872
|
+
//#region src/client/providers/opendesign/OpenDesignSection.tsx
|
|
18944
18873
|
const API$4 = new OpenDesignApi();
|
|
18945
18874
|
function detail(error) {
|
|
18946
18875
|
return error instanceof Error ? error.message : String(error);
|
|
@@ -19982,7 +19911,7 @@ window.__ModuleLoader__.load({
|
|
|
19982
19911
|
return (cooldowns ?? []).filter((entry) => entry.cooldownUntil > now);
|
|
19983
19912
|
}
|
|
19984
19913
|
//#endregion
|
|
19985
|
-
//#region src/client/workbuddy/locales.ts
|
|
19914
|
+
//#region src/client/providers/workbuddy/locales.ts
|
|
19986
19915
|
/**
|
|
19987
19916
|
* The WorkBuddy card's own words, in the two shipped languages.
|
|
19988
19917
|
*
|
|
@@ -20084,7 +20013,7 @@ window.__ModuleLoader__.load({
|
|
|
20084
20013
|
outboundWorkbuddy: "WorkBuddy 桌面端",
|
|
20085
20014
|
outboundVscode: "VSCode 插件",
|
|
20086
20015
|
atRestSection: "桌面凭据解密",
|
|
20087
|
-
atRestHint: "
|
|
20016
|
+
atRestHint: "新版桌面端凭据已加密,粘贴解密密钥后即可读取;密钥仅保存在系统加密存储中。",
|
|
20088
20017
|
atRestPlaceholder: "64 位 hex 保护密钥,或 44 字符 base64 的 atRestSecretKey",
|
|
20089
20018
|
atRestSave: "保存密钥",
|
|
20090
20019
|
atRestClear: "清除密钥",
|
|
@@ -20250,7 +20179,7 @@ window.__ModuleLoader__.load({
|
|
|
20250
20179
|
"en-US": en$7
|
|
20251
20180
|
};
|
|
20252
20181
|
//#endregion
|
|
20253
|
-
//#region src/client/workbuddy/useWorkBuddySection.ts
|
|
20182
|
+
//#region src/client/providers/workbuddy/useWorkBuddySection.ts
|
|
20254
20183
|
/**
|
|
20255
20184
|
* The WorkBuddy card's state, effects and actions.
|
|
20256
20185
|
*
|
|
@@ -20808,7 +20737,7 @@ window.__ModuleLoader__.load({
|
|
|
20808
20737
|
};
|
|
20809
20738
|
}
|
|
20810
20739
|
//#endregion
|
|
20811
|
-
//#region src/client/workbuddy/WorkBuddySection.tsx
|
|
20740
|
+
//#region src/client/providers/workbuddy/WorkBuddySection.tsx
|
|
20812
20741
|
/**
|
|
20813
20742
|
* The WorkBuddy subscription settings card.
|
|
20814
20743
|
*
|
|
@@ -20842,33 +20771,6 @@ window.__ModuleLoader__.load({
|
|
|
20842
20771
|
};
|
|
20843
20772
|
/**
|
|
20844
20773
|
* The consumption rate of one model, as the settings row states it.
|
|
20845
|
-
*
|
|
20846
|
-
* The gateway publishes one rate per region and the official CodeBuddy picker
|
|
20847
|
-
* spells it beside a model as `6.67x`; the row uses the same shape behind the
|
|
20848
|
-
* section's own label. Which rates reach the row depends on what the card knows
|
|
20849
|
-
* about the account, and the two cases are deliberately different:
|
|
20850
|
-
*
|
|
20851
|
-
* - A KNOWN region shows that region's rate and nothing else. Borrowing the
|
|
20852
|
-
* sibling region's number would state a price this account never pays —
|
|
20853
|
-
* measured 2026-10-09, `deepseek-v4.1-flash` is `0.11` on cn against `0.00`
|
|
20854
|
-
* on intl, and the backends reject a model asked of the wrong region anyway.
|
|
20855
|
-
* - An UNKNOWN region (no account read back yet) shows both rates when the
|
|
20856
|
-
* backends disagree, so the row is honest about the range instead of picking
|
|
20857
|
-
* one of them. When they agree there is nothing to disambiguate.
|
|
20858
|
-
*
|
|
20859
|
-
* The two-region form is assembled entirely from the caller's labels: the
|
|
20860
|
-
* qualifier comes from `labels.region(value, key)` and the join from
|
|
20861
|
-
* `labels.pair(first, second)`, so the dictionary owns the region nouns, the
|
|
20862
|
-
* bracket glyphs AND the separator. Nothing about the two-region string is
|
|
20863
|
-
* spelled in this file, which is the point — the glyphs differ per language
|
|
20864
|
-
* (`倍率 0.11x(国区) / 0.00x(国际区)` in Chinese,
|
|
20865
|
-
* `Multiplier 0.11x (China) / 0.00x (International)` in English) and a
|
|
20866
|
-
* separator chosen here would be right in at most one of them.
|
|
20867
|
-
*
|
|
20868
|
-
* `null` means "this row states no rate"; the caller drops it from the hint
|
|
20869
|
-
* array rather than rendering a placeholder, because a guessed rate on a spend
|
|
20870
|
-
* figure is worse than a missing one. `'0.00'` is a declaration — this model
|
|
20871
|
-
* consumes no allowance — so it renders like any other value.
|
|
20872
20774
|
*/
|
|
20873
20775
|
function creditMultiplierHint(credits, region, labels) {
|
|
20874
20776
|
const rate = (key) => {
|
|
@@ -21611,7 +21513,7 @@ window.__ModuleLoader__.load({
|
|
|
21611
21513
|
return value === "low" || value === "auto" || value === "high";
|
|
21612
21514
|
}
|
|
21613
21515
|
//#endregion
|
|
21614
|
-
//#region src/client/qianwen-token-plan/locales.ts
|
|
21516
|
+
//#region src/client/providers/qianwen-token-plan/locales.ts
|
|
21615
21517
|
const NS_QIANWEN = "dsh-qianwen-token-plan";
|
|
21616
21518
|
const zh$6 = {
|
|
21617
21519
|
title: "Qwen Token Plan(千问)",
|
|
@@ -21763,14 +21665,14 @@ window.__ModuleLoader__.load({
|
|
|
21763
21665
|
}
|
|
21764
21666
|
};
|
|
21765
21667
|
//#endregion
|
|
21766
|
-
//#region src/client/qianwen-token-plan/api.ts
|
|
21668
|
+
//#region src/client/providers/qianwen-token-plan/api.ts
|
|
21767
21669
|
const api$7 = createLineApi(QIANWEN_TOKEN_PLAN_ROUTE_PREFIX, QIANWEN_TOKEN_PLAN_PROVIDER_NAME);
|
|
21768
21670
|
const get$2 = api$7.get;
|
|
21769
21671
|
const post$2 = api$7.post;
|
|
21770
21672
|
const request$2 = api$7.request;
|
|
21771
21673
|
const messageOf$2 = (cause) => cause instanceof Error ? cause.message : String(cause);
|
|
21772
21674
|
//#endregion
|
|
21773
|
-
//#region src/client/qianwen-token-plan/useQianwenSection.ts
|
|
21675
|
+
//#region src/client/providers/qianwen-token-plan/useQianwenSection.ts
|
|
21774
21676
|
function qianwenCacheHitRatio(stats) {
|
|
21775
21677
|
if (stats === null) return null;
|
|
21776
21678
|
const denominator = stats.cacheReadTokens + stats.missedInputTokens + stats.cacheWriteTokens;
|
|
@@ -21943,7 +21845,7 @@ window.__ModuleLoader__.load({
|
|
|
21943
21845
|
};
|
|
21944
21846
|
}
|
|
21945
21847
|
//#endregion
|
|
21946
|
-
//#region src/client/qianwen-token-plan/QianwenTokenPlanSection.tsx
|
|
21848
|
+
//#region src/client/providers/qianwen-token-plan/QianwenTokenPlanSection.tsx
|
|
21947
21849
|
const EFFORT_KEYS$2 = {
|
|
21948
21850
|
none: "effortNone",
|
|
21949
21851
|
minimal: "effortMinimal",
|
|
@@ -22311,7 +22213,7 @@ window.__ModuleLoader__.load({
|
|
|
22311
22213
|
const RELAYONE_IMAGE_TOOL_NAME = "relayone_generate_image";
|
|
22312
22214
|
const RELAYONE_VIDEO_TOOL_NAME = "relayone_generate_video";
|
|
22313
22215
|
//#endregion
|
|
22314
|
-
//#region src/client/relayone/locales.ts
|
|
22216
|
+
//#region src/client/providers/relayone/locales.ts
|
|
22315
22217
|
const NS_RELAYONE = "dsh-relayone";
|
|
22316
22218
|
const zh$5 = {
|
|
22317
22219
|
title: "RelayOne",
|
|
@@ -22386,7 +22288,39 @@ window.__ModuleLoader__.load({
|
|
|
22386
22288
|
composerGroups: " · 分组:",
|
|
22387
22289
|
unknownGroup: "自动分组",
|
|
22388
22290
|
invalidCapacity: "上下文窗口必须是正整数。",
|
|
22389
|
-
errorGeneric: "RelayOne 操作失败。"
|
|
22291
|
+
errorGeneric: "RelayOne 操作失败。",
|
|
22292
|
+
accountPool: "API Key 号池",
|
|
22293
|
+
addAccount: "添加 Key",
|
|
22294
|
+
accountCount: "已添加 {count} 个 Key",
|
|
22295
|
+
useKey: "切换到此 Key",
|
|
22296
|
+
switchingKey: "切换中…",
|
|
22297
|
+
primaryAccount: "主 Key",
|
|
22298
|
+
activeAccount: "当前使用",
|
|
22299
|
+
setPrimary: "设为主 Key",
|
|
22300
|
+
deleteAccount: "删除",
|
|
22301
|
+
cooling: "冷却中",
|
|
22302
|
+
cooldownLeft: "剩 {minutes} 分",
|
|
22303
|
+
cooldownRemaining: "剩 {minutes} 分 {seconds} 秒",
|
|
22304
|
+
cooldownRemainingSeconds: "剩 {seconds} 秒",
|
|
22305
|
+
clearCooldown: "重置冷却",
|
|
22306
|
+
needsRelogin: "Key 已被拒绝",
|
|
22307
|
+
relogin: "更换 Key",
|
|
22308
|
+
rotationStrategy: "调度策略",
|
|
22309
|
+
strategySequential: "顺序耗尽(主 Key 优先,遇限流自动切换)",
|
|
22310
|
+
strategyRoundRobin: "轮询调度(按 Key 循环均匀分摊)",
|
|
22311
|
+
strategySticky: "粘性会话(保持当前 Key,遇限流才切换)",
|
|
22312
|
+
noAccounts: "暂无 Key,粘贴一个 RelayOne 令牌即可加入轮换。",
|
|
22313
|
+
email: "邮箱",
|
|
22314
|
+
expires: "令牌到期",
|
|
22315
|
+
lastUsed: "上次调用",
|
|
22316
|
+
accountId: "Key ID",
|
|
22317
|
+
accountQuota: "额度",
|
|
22318
|
+
quotaNone: "尚无额度数据",
|
|
22319
|
+
quotaSnapshot: "快照 {time}",
|
|
22320
|
+
quotaResets: "重置",
|
|
22321
|
+
quotaExhausted: "已用尽",
|
|
22322
|
+
quotaWindow: "额度窗口",
|
|
22323
|
+
quotaFactsScope: "以下为当前 Key 的额度事实;每个 Key 自己的进度显示在它的卡片里。"
|
|
22390
22324
|
};
|
|
22391
22325
|
const dictionaries$5 = {
|
|
22392
22326
|
zh: zh$5,
|
|
@@ -22463,18 +22397,50 @@ window.__ModuleLoader__.load({
|
|
|
22463
22397
|
composerGroups: " · Groups: ",
|
|
22464
22398
|
unknownGroup: "Automatic group",
|
|
22465
22399
|
invalidCapacity: "Context window must be a positive integer.",
|
|
22466
|
-
errorGeneric: "RelayOne operation failed."
|
|
22400
|
+
errorGeneric: "RelayOne operation failed.",
|
|
22401
|
+
accountPool: "API Key pool",
|
|
22402
|
+
addAccount: "Add key",
|
|
22403
|
+
accountCount: "{count} key(s) added",
|
|
22404
|
+
useKey: "Use this key",
|
|
22405
|
+
switchingKey: "Switching…",
|
|
22406
|
+
primaryAccount: "Primary",
|
|
22407
|
+
activeAccount: "In Use",
|
|
22408
|
+
setPrimary: "Set as primary",
|
|
22409
|
+
deleteAccount: "Delete",
|
|
22410
|
+
cooling: "In Cooldown",
|
|
22411
|
+
cooldownLeft: "{minutes} min left",
|
|
22412
|
+
cooldownRemaining: "{minutes} min {seconds}s left",
|
|
22413
|
+
cooldownRemainingSeconds: "{seconds}s left",
|
|
22414
|
+
clearCooldown: "Clear cooldown",
|
|
22415
|
+
needsRelogin: "Key rejected",
|
|
22416
|
+
relogin: "Replace key",
|
|
22417
|
+
rotationStrategy: "Scheduling strategy",
|
|
22418
|
+
strategySequential: "Sequential drain (primary first, fail over on 429)",
|
|
22419
|
+
strategyRoundRobin: "Round-robin (spread evenly across keys)",
|
|
22420
|
+
strategySticky: "Sticky session (keep the current key until limited)",
|
|
22421
|
+
noAccounts: "No keys yet. Paste a RelayOne token to add it to the rotation.",
|
|
22422
|
+
email: "Email",
|
|
22423
|
+
expires: "Token expires",
|
|
22424
|
+
lastUsed: "Last used",
|
|
22425
|
+
accountId: "Key ID",
|
|
22426
|
+
accountQuota: "Quota",
|
|
22427
|
+
quotaNone: "No quota read yet",
|
|
22428
|
+
quotaSnapshot: "Snapshot {time}",
|
|
22429
|
+
quotaResets: "Resets",
|
|
22430
|
+
quotaExhausted: "Exhausted",
|
|
22431
|
+
quotaWindow: "Limit window",
|
|
22432
|
+
quotaFactsScope: "These facts describe the current key; each key’s own progress is shown on its card above."
|
|
22467
22433
|
}
|
|
22468
22434
|
};
|
|
22469
22435
|
//#endregion
|
|
22470
|
-
//#region src/client/relayone/api.ts
|
|
22436
|
+
//#region src/client/providers/relayone/api.ts
|
|
22471
22437
|
const api$6 = createLineApi(RELAYONE_ROUTE_PREFIX, RELAYONE_PROVIDER_NAME);
|
|
22472
22438
|
const get$1 = api$6.get;
|
|
22473
22439
|
const post$1 = api$6.post;
|
|
22474
22440
|
const request$1 = api$6.request;
|
|
22475
22441
|
const messageOf$1 = (cause) => cause instanceof Error ? cause.message : String(cause);
|
|
22476
22442
|
//#endregion
|
|
22477
|
-
//#region src/client/relayone/useRelayOneSection.ts
|
|
22443
|
+
//#region src/client/providers/relayone/useRelayOneSection.ts
|
|
22478
22444
|
function useRelayOneSection({ onModelChange } = {}) {
|
|
22479
22445
|
const [status, setStatus] = (0, react.useState)(null);
|
|
22480
22446
|
const [loading, setLoading] = (0, react.useState)(true);
|
|
@@ -22528,6 +22494,59 @@ window.__ModuleLoader__.load({
|
|
|
22528
22494
|
setBusy(null);
|
|
22529
22495
|
}
|
|
22530
22496
|
}, [adopt, onModelChange]);
|
|
22497
|
+
/**
|
|
22498
|
+
* Add one key to the pool.
|
|
22499
|
+
*
|
|
22500
|
+
* The host verifies it against the upstream before storing it, so a refusal
|
|
22501
|
+
* arrives here as an error and the rotation is left untouched.
|
|
22502
|
+
*/
|
|
22503
|
+
const saveKey = (0, react.useCallback)(async () => {
|
|
22504
|
+
const apiKey = keyValue.trim();
|
|
22505
|
+
if (apiKey === "") return;
|
|
22506
|
+
setBusy("key");
|
|
22507
|
+
setError(null);
|
|
22508
|
+
try {
|
|
22509
|
+
const next = await post$1("/accounts", {
|
|
22510
|
+
action: "add",
|
|
22511
|
+
apiKey
|
|
22512
|
+
});
|
|
22513
|
+
adopt(next);
|
|
22514
|
+
setKeyValue("");
|
|
22515
|
+
setConnection(null);
|
|
22516
|
+
onModelChange?.();
|
|
22517
|
+
} catch (cause) {
|
|
22518
|
+
setError(messageOf$1(cause));
|
|
22519
|
+
} finally {
|
|
22520
|
+
setBusy(null);
|
|
22521
|
+
}
|
|
22522
|
+
}, [
|
|
22523
|
+
adopt,
|
|
22524
|
+
keyValue,
|
|
22525
|
+
onModelChange
|
|
22526
|
+
]);
|
|
22527
|
+
/** Verify a key without storing it. */
|
|
22528
|
+
const testKey = (0, react.useCallback)(async () => {
|
|
22529
|
+
const apiKey = keyValue.trim();
|
|
22530
|
+
if (apiKey === "") return;
|
|
22531
|
+
setBusy("test-key");
|
|
22532
|
+
setError(null);
|
|
22533
|
+
try {
|
|
22534
|
+
adopt(await post$1("/accounts", {
|
|
22535
|
+
action: "test",
|
|
22536
|
+
apiKey
|
|
22537
|
+
}));
|
|
22538
|
+
setConnection(null);
|
|
22539
|
+
onModelChange?.();
|
|
22540
|
+
} catch (cause) {
|
|
22541
|
+
setError(messageOf$1(cause));
|
|
22542
|
+
} finally {
|
|
22543
|
+
setBusy(null);
|
|
22544
|
+
}
|
|
22545
|
+
}, [
|
|
22546
|
+
adopt,
|
|
22547
|
+
keyValue,
|
|
22548
|
+
onModelChange
|
|
22549
|
+
]);
|
|
22531
22550
|
return {
|
|
22532
22551
|
status,
|
|
22533
22552
|
loading,
|
|
@@ -22542,29 +22561,23 @@ window.__ModuleLoader__.load({
|
|
|
22542
22561
|
...current,
|
|
22543
22562
|
[id]: draft
|
|
22544
22563
|
})),
|
|
22545
|
-
|
|
22546
|
-
|
|
22547
|
-
if (apiKey === "") return;
|
|
22548
|
-
setBusy("key");
|
|
22564
|
+
accountAction: (0, react.useCallback)(async (label, action, body = {}) => {
|
|
22565
|
+
setBusy(label);
|
|
22549
22566
|
setError(null);
|
|
22550
22567
|
try {
|
|
22551
|
-
adopt(await
|
|
22552
|
-
|
|
22553
|
-
body
|
|
22568
|
+
adopt(await post$1("/accounts", {
|
|
22569
|
+
action,
|
|
22570
|
+
...body
|
|
22554
22571
|
}));
|
|
22555
|
-
setKeyValue("");
|
|
22556
|
-
setConnection(null);
|
|
22557
22572
|
onModelChange?.();
|
|
22558
22573
|
} catch (cause) {
|
|
22559
22574
|
setError(messageOf$1(cause));
|
|
22560
22575
|
} finally {
|
|
22561
22576
|
setBusy(null);
|
|
22562
22577
|
}
|
|
22563
|
-
}, [
|
|
22564
|
-
|
|
22565
|
-
|
|
22566
|
-
onModelChange
|
|
22567
|
-
]),
|
|
22578
|
+
}, [adopt, onModelChange]),
|
|
22579
|
+
testKey,
|
|
22580
|
+
saveKey,
|
|
22568
22581
|
removeKey: (0, react.useCallback)(async () => {
|
|
22569
22582
|
setBusy("remove-key");
|
|
22570
22583
|
setError(null);
|
|
@@ -22643,7 +22656,7 @@ window.__ModuleLoader__.load({
|
|
|
22643
22656
|
};
|
|
22644
22657
|
}
|
|
22645
22658
|
//#endregion
|
|
22646
|
-
//#region src/client/relayone/quota-format.ts
|
|
22659
|
+
//#region src/client/providers/relayone/quota-format.ts
|
|
22647
22660
|
function relayOneQuotaAmount(value, quotaPerUnit) {
|
|
22648
22661
|
if (value === null) return null;
|
|
22649
22662
|
if (quotaPerUnit === null || quotaPerUnit <= 0) return String(value);
|
|
@@ -22669,7 +22682,7 @@ window.__ModuleLoader__.load({
|
|
|
22669
22682
|
return amount !== null && amount !== text ? text + " · " + amount : text;
|
|
22670
22683
|
}
|
|
22671
22684
|
//#endregion
|
|
22672
|
-
//#region src/client/relayone/RelayOneSection.tsx
|
|
22685
|
+
//#region src/client/providers/relayone/RelayOneSection.tsx
|
|
22673
22686
|
const EFFORT_KEYS$1 = {
|
|
22674
22687
|
none: "effortNone",
|
|
22675
22688
|
minimal: "effortMinimal",
|
|
@@ -22730,20 +22743,6 @@ window.__ModuleLoader__.load({
|
|
|
22730
22743
|
onChange: (event) => void view.update({ enabled: event.currentTarget.checked }).catch(() => void 0)
|
|
22731
22744
|
})]
|
|
22732
22745
|
}),
|
|
22733
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
22734
|
-
className: "dsha-empty",
|
|
22735
|
-
children: status?.authenticated ? t.keyConfigured : t.keyMissing
|
|
22736
|
-
}),
|
|
22737
|
-
status?.authenticated && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22738
|
-
className: "dsha-row",
|
|
22739
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
22740
|
-
className: "dsha-label",
|
|
22741
|
-
children: t.storagePath
|
|
22742
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
22743
|
-
className: "dsha-value",
|
|
22744
|
-
children: status.storagePath
|
|
22745
|
-
})]
|
|
22746
|
-
}),
|
|
22747
22746
|
status?.authenticated && status.quota !== void 0 && status.quota.state !== "idle" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22748
22747
|
className: "dsha-row dshro-quota-row",
|
|
22749
22748
|
title: status.quota.error ?? void 0,
|
|
@@ -22755,27 +22754,6 @@ window.__ModuleLoader__.load({
|
|
|
22755
22754
|
children: relayOneQuotaAccountText(status.quota) ?? "—"
|
|
22756
22755
|
})]
|
|
22757
22756
|
}),
|
|
22758
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22759
|
-
className: "dshro-key-row",
|
|
22760
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
22761
|
-
className: "dsha-select",
|
|
22762
|
-
type: "password",
|
|
22763
|
-
autoComplete: "off",
|
|
22764
|
-
"aria-label": t.keySection,
|
|
22765
|
-
placeholder: t.keyPlaceholder,
|
|
22766
|
-
value: view.keyValue,
|
|
22767
|
-
disabled: busy !== null,
|
|
22768
|
-
onChange: (event) => view.setKeyValue(event.currentTarget.value),
|
|
22769
|
-
onKeyDown: (event) => {
|
|
22770
|
-
if (event.key === "Enter") view.saveKey();
|
|
22771
|
-
}
|
|
22772
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
22773
|
-
className: "dsha-btn dsha-btn-primary",
|
|
22774
|
-
disabled: busy !== null || view.keyValue.trim() === "",
|
|
22775
|
-
onClick: () => void view.saveKey(),
|
|
22776
|
-
children: busy === "key" ? t.savingKey : t.saveKey
|
|
22777
|
-
})]
|
|
22778
|
-
}),
|
|
22779
22757
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
22780
22758
|
className: "dsha-muted",
|
|
22781
22759
|
children: status?.serving === false && status.conflict ? t.routeConflict.replace("{detail}", status.conflict) : t.routeOwned
|
|
@@ -22783,6 +22761,69 @@ window.__ModuleLoader__.load({
|
|
|
22783
22761
|
view.connection !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
22784
22762
|
className: view.connection.connected ? "dsha-muted" : "dsha-notice",
|
|
22785
22763
|
children: view.connection.connected ? t.connectionOk + " · " + t.latency.replace("{ms}", String(view.connection.latencyMs)) + " · " + t.modelCount.replace("{count}", String(view.connection.modelCount)) : t.connectionFailed + ": " + (view.connection.error ?? "—")
|
|
22764
|
+
}),
|
|
22765
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(AccountPoolSection, {
|
|
22766
|
+
accounts: status?.accounts ?? [],
|
|
22767
|
+
activeAccountId: status?.activeAccountId,
|
|
22768
|
+
rotationStrategy: status?.rotationStrategy ?? "sequential",
|
|
22769
|
+
labels: t,
|
|
22770
|
+
busy,
|
|
22771
|
+
onLogin: () => void 0,
|
|
22772
|
+
renderLoginActions: () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
22773
|
+
className: "dsha-muted",
|
|
22774
|
+
children: status?.authenticated ? t.keyConfigured : t.keyMissing
|
|
22775
|
+
}),
|
|
22776
|
+
onSetPrimary: (id) => void view.accountAction("set-primary", "set-primary", { accountId: id }),
|
|
22777
|
+
onDelete: (id) => void view.accountAction("delete", "delete", { accountId: id }),
|
|
22778
|
+
onClearCooldown: (id) => void view.accountAction("clear-cooldown", "clear-cooldown", { accountId: id }),
|
|
22779
|
+
onSetStrategy: () => void 0,
|
|
22780
|
+
showStrategy: false,
|
|
22781
|
+
omitDetails: ["email", "expires"],
|
|
22782
|
+
renderAccountActions: (account) => account.id === status?.activeAccountId ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
22783
|
+
className: "dsha-btn dsha-btn-primary",
|
|
22784
|
+
disabled: busy !== null,
|
|
22785
|
+
onClick: () => void view.accountAction("use:" + account.id, "use", { accountId: account.id }),
|
|
22786
|
+
children: busy === "use:" + account.id ? t.switchingKey : t.useKey
|
|
22787
|
+
}),
|
|
22788
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22789
|
+
className: "dshro-key-row",
|
|
22790
|
+
children: [
|
|
22791
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
22792
|
+
className: "dsha-select",
|
|
22793
|
+
type: "password",
|
|
22794
|
+
autoComplete: "off",
|
|
22795
|
+
"aria-label": t.keySection,
|
|
22796
|
+
placeholder: t.keyPlaceholder,
|
|
22797
|
+
value: view.keyValue,
|
|
22798
|
+
disabled: busy !== null,
|
|
22799
|
+
onChange: (event) => view.setKeyValue(event.currentTarget.value),
|
|
22800
|
+
onKeyDown: (event) => {
|
|
22801
|
+
if (event.key === "Enter") view.saveKey();
|
|
22802
|
+
}
|
|
22803
|
+
}),
|
|
22804
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
22805
|
+
className: "dsha-btn",
|
|
22806
|
+
disabled: busy !== null || view.keyValue.trim() === "",
|
|
22807
|
+
onClick: () => void view.testKey(),
|
|
22808
|
+
children: busy === "test-key" ? t.testingConnection : t.testConnection
|
|
22809
|
+
}),
|
|
22810
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
22811
|
+
className: "dsha-btn dsha-btn-primary",
|
|
22812
|
+
disabled: busy !== null || view.keyValue.trim() === "",
|
|
22813
|
+
onClick: () => void view.saveKey(),
|
|
22814
|
+
children: busy === "key" ? t.savingKey : t.saveKey
|
|
22815
|
+
})
|
|
22816
|
+
]
|
|
22817
|
+
}), status?.authenticated && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22818
|
+
className: "dsha-row",
|
|
22819
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
22820
|
+
className: "dsha-label",
|
|
22821
|
+
children: t.storagePath
|
|
22822
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
22823
|
+
className: "dsha-value",
|
|
22824
|
+
children: status.storagePath
|
|
22825
|
+
})]
|
|
22826
|
+
})]
|
|
22786
22827
|
})
|
|
22787
22828
|
]
|
|
22788
22829
|
}),
|
|
@@ -23048,7 +23089,7 @@ window.__ModuleLoader__.load({
|
|
|
23048
23089
|
};
|
|
23049
23090
|
}
|
|
23050
23091
|
//#endregion
|
|
23051
|
-
//#region src/client/claude-api/locales.ts
|
|
23092
|
+
//#region src/client/providers/claude-api/locales.ts
|
|
23052
23093
|
const NS_CLAUDE_API = "dsh-claude-api";
|
|
23053
23094
|
const zh$4 = {
|
|
23054
23095
|
title: "Claude API",
|
|
@@ -23208,7 +23249,7 @@ window.__ModuleLoader__.load({
|
|
|
23208
23249
|
}
|
|
23209
23250
|
};
|
|
23210
23251
|
//#endregion
|
|
23211
|
-
//#region src/client/claude-api/api.ts
|
|
23252
|
+
//#region src/client/providers/claude-api/api.ts
|
|
23212
23253
|
/**
|
|
23213
23254
|
* Client half of the line's route table. The host keeps the mirror; compare the two
|
|
23214
23255
|
* whenever either side changes, because a mismatch only shows up as a 404 at runtime.
|
|
@@ -23233,7 +23274,7 @@ window.__ModuleLoader__.load({
|
|
|
23233
23274
|
const request = api$5.request;
|
|
23234
23275
|
const messageOf = (cause) => cause instanceof Error ? cause.message : String(cause);
|
|
23235
23276
|
//#endregion
|
|
23236
|
-
//#region src/client/claude-api/useClaudeApiSection.ts
|
|
23277
|
+
//#region src/client/providers/claude-api/useClaudeApiSection.ts
|
|
23237
23278
|
const FOLLOW_UP_READ_DELAYS_MS = [2e3, 6e3];
|
|
23238
23279
|
function isStatus(value) {
|
|
23239
23280
|
if (typeof value !== "object" || value === null) return false;
|
|
@@ -23505,7 +23546,7 @@ window.__ModuleLoader__.load({
|
|
|
23505
23546
|
};
|
|
23506
23547
|
}
|
|
23507
23548
|
//#endregion
|
|
23508
|
-
//#region src/client/claude-api/ClaudeApiSection.tsx
|
|
23549
|
+
//#region src/client/providers/claude-api/ClaudeApiSection.tsx
|
|
23509
23550
|
const EFFORT_KEYS = {
|
|
23510
23551
|
none: "effortNone",
|
|
23511
23552
|
low: "effortLow",
|
|
@@ -24058,6 +24099,42 @@ window.__ModuleLoader__.load({
|
|
|
24058
24099
|
*/
|
|
24059
24100
|
/** Versioned because the stored value is a bare ordered id array. */
|
|
24060
24101
|
const HUB_PROVIDER_ORDER_STORAGE_KEY = "dsh-chatgpt-subscription:hub-provider-order:v1";
|
|
24102
|
+
const HUB_OVERVIEW_CACHE_STORAGE_KEY = "dsh-chatgpt-subscription:hub-overview-cache:v1";
|
|
24103
|
+
const HUB_PROXY_CACHE_STORAGE_KEY = "dsh-chatgpt-subscription:hub-proxy-cache:v1";
|
|
24104
|
+
function readCachedSummaries() {
|
|
24105
|
+
try {
|
|
24106
|
+
const raw = globalThis.localStorage?.getItem(HUB_OVERVIEW_CACHE_STORAGE_KEY);
|
|
24107
|
+
if (!raw) return null;
|
|
24108
|
+
const parsed = JSON.parse(raw);
|
|
24109
|
+
if (!Array.isArray(parsed)) return null;
|
|
24110
|
+
const map = /* @__PURE__ */ new Map();
|
|
24111
|
+
for (const item of parsed) if (item && typeof item === "object" && typeof item.id === "string") map.set(item.id, item);
|
|
24112
|
+
return map.size > 0 ? map : null;
|
|
24113
|
+
} catch {
|
|
24114
|
+
return null;
|
|
24115
|
+
}
|
|
24116
|
+
}
|
|
24117
|
+
function saveCachedSummaries(providers) {
|
|
24118
|
+
try {
|
|
24119
|
+
globalThis.localStorage?.setItem(HUB_OVERVIEW_CACHE_STORAGE_KEY, JSON.stringify(providers));
|
|
24120
|
+
} catch {}
|
|
24121
|
+
}
|
|
24122
|
+
function readCachedProxySnapshot() {
|
|
24123
|
+
try {
|
|
24124
|
+
const raw = globalThis.localStorage?.getItem(HUB_PROXY_CACHE_STORAGE_KEY);
|
|
24125
|
+
if (!raw) return null;
|
|
24126
|
+
const parsed = JSON.parse(raw);
|
|
24127
|
+
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) return null;
|
|
24128
|
+
return parsed;
|
|
24129
|
+
} catch {
|
|
24130
|
+
return null;
|
|
24131
|
+
}
|
|
24132
|
+
}
|
|
24133
|
+
function saveCachedProxySnapshot(snapshot) {
|
|
24134
|
+
try {
|
|
24135
|
+
globalThis.localStorage?.setItem(HUB_PROXY_CACHE_STORAGE_KEY, JSON.stringify(snapshot));
|
|
24136
|
+
} catch {}
|
|
24137
|
+
}
|
|
24061
24138
|
async function fetchOverview() {
|
|
24062
24139
|
const response = await fetch(HUB_OVERVIEW_PATH, { credentials: "same-origin" });
|
|
24063
24140
|
const envelope = await response.json();
|
|
@@ -24120,8 +24197,8 @@ window.__ModuleLoader__.load({
|
|
|
24120
24197
|
}
|
|
24121
24198
|
function HubOverview({ t, onOpen }) {
|
|
24122
24199
|
const [providers, setProviders] = (0, react.useState)(orderedProviders);
|
|
24123
|
-
const [summaries, setSummaries] = (0, react.useState)(
|
|
24124
|
-
const [proxySnapshot, setProxySnapshot] = (0, react.useState)(
|
|
24200
|
+
const [summaries, setSummaries] = (0, react.useState)(readCachedSummaries);
|
|
24201
|
+
const [proxySnapshot, setProxySnapshot] = (0, react.useState)(readCachedProxySnapshot);
|
|
24125
24202
|
const [loadError, setLoadError] = (0, react.useState)(null);
|
|
24126
24203
|
const [proxyLoadError, setProxyLoadError] = (0, react.useState)(null);
|
|
24127
24204
|
const [busyId, setBusyId] = (0, react.useState)(null);
|
|
@@ -24133,6 +24210,7 @@ window.__ModuleLoader__.load({
|
|
|
24133
24210
|
try {
|
|
24134
24211
|
const overview = await fetchOverview();
|
|
24135
24212
|
setSummaries(new Map(overview.providers.map((provider) => [provider.id, provider])));
|
|
24213
|
+
saveCachedSummaries(overview.providers);
|
|
24136
24214
|
setLoadError(null);
|
|
24137
24215
|
} catch (error) {
|
|
24138
24216
|
setLoadError(error instanceof Error ? error.message : String(error));
|
|
@@ -24140,7 +24218,9 @@ window.__ModuleLoader__.load({
|
|
|
24140
24218
|
}, []);
|
|
24141
24219
|
const loadProxy = (0, react.useCallback)(async () => {
|
|
24142
24220
|
try {
|
|
24143
|
-
|
|
24221
|
+
const snapshot = await fetchLineProxySnapshot(ROUTE_PREFIX);
|
|
24222
|
+
setProxySnapshot(snapshot);
|
|
24223
|
+
saveCachedProxySnapshot(snapshot);
|
|
24144
24224
|
setProxyLoadError(null);
|
|
24145
24225
|
} catch (error) {
|
|
24146
24226
|
setProxyLoadError(error instanceof Error ? error.message : String(error));
|
|
@@ -24648,7 +24728,7 @@ window.__ModuleLoader__.load({
|
|
|
24648
24728
|
});
|
|
24649
24729
|
}
|
|
24650
24730
|
//#endregion
|
|
24651
|
-
//#region src/client/ProviderHubSection.tsx
|
|
24731
|
+
//#region src/client/hub/ProviderHubSection.tsx
|
|
24652
24732
|
const STORAGE_KEY = "dsh-chatgpt-subscription:hub-view";
|
|
24653
24733
|
/**
|
|
24654
24734
|
* The detail page a user was last on survives a settings-page remount, so a
|
|
@@ -24830,7 +24910,7 @@ window.__ModuleLoader__.load({
|
|
|
24830
24910
|
};
|
|
24831
24911
|
}
|
|
24832
24912
|
//#endregion
|
|
24833
|
-
//#region src/client/dispatch-ledger/locales.ts
|
|
24913
|
+
//#region src/client/features/dispatch-ledger/locales.ts
|
|
24834
24914
|
/**
|
|
24835
24915
|
* 「派发卡片」在 locale 服务里的命名空间。
|
|
24836
24916
|
*
|
|
@@ -24890,7 +24970,7 @@ window.__ModuleLoader__.load({
|
|
|
24890
24970
|
}
|
|
24891
24971
|
};
|
|
24892
24972
|
//#endregion
|
|
24893
|
-
//#region src/client/progress-updates/locales.ts
|
|
24973
|
+
//#region src/client/features/progress-updates/locales.ts
|
|
24894
24974
|
/**
|
|
24895
24975
|
* 「进展更新」在 locale 服务里的命名空间。
|
|
24896
24976
|
*
|
|
@@ -25025,7 +25105,7 @@ window.__ModuleLoader__.load({
|
|
|
25025
25105
|
"en-US": en$2
|
|
25026
25106
|
};
|
|
25027
25107
|
//#endregion
|
|
25028
|
-
//#region src/client/compact-after-turn/locales.ts
|
|
25108
|
+
//#region src/client/features/compact-after-turn/locales.ts
|
|
25029
25109
|
/** Copy of the one-shot "compact after this turn" row in the composer's model menu. */
|
|
25030
25110
|
const NS_COMPACT_AFTER_TURN = "dsh-compact-after-turn";
|
|
25031
25111
|
const dictionaries$1 = {
|
|
@@ -26292,9 +26372,9 @@ window.__ModuleLoader__.load({
|
|
|
26292
26372
|
occupancyLabel: "Заполнение контекста",
|
|
26293
26373
|
occupancyDetail: "использовано {used} из {size}",
|
|
26294
26374
|
scopeSection: "Границы возможностей",
|
|
26295
|
-
scopeSummary: "
|
|
26296
|
-
scopeHintSummary: "Показать
|
|
26297
|
-
scopeHint: "
|
|
26375
|
+
scopeSummary: "Сведения о системном промпте, повторном использовании сессии, инструментах субагента, квоте и прокси.",
|
|
26376
|
+
scopeHintSummary: "Показать сведения о границах",
|
|
26377
|
+
scopeHint: "Поведение, определяемое официальным протоколом ACP и CLI:",
|
|
26298
26378
|
scopePrompt: "В ACP нет отдельного слота системного промпта: системный промпт DSH передаётся в начале запроса, а собственный системный промпт официального агента убрать нельзя.",
|
|
26299
26379
|
scopeHistory: "После нормального завершения сессия паркуется вместе с процессом для повторного использования: если отпечаток префикса и набор инструментов не изменились, следующее сообщение отправляет только приращение; полная перестройка с повторной отправкой и якорем нужна лишь при сжатии или переписывании истории, смене набора инструментов или смерти процесса.",
|
|
26300
26380
|
scopeTools: "Как основная модель линия выполняет вызовы инструментов через DSH и под его контролем; как субагент дочерний процесс использует собственные инструменты официального агента.",
|
|
@@ -27075,7 +27155,39 @@ window.__ModuleLoader__.load({
|
|
|
27075
27155
|
composerGroups: " · Группы: ",
|
|
27076
27156
|
unknownGroup: "Автоматическая группа",
|
|
27077
27157
|
invalidCapacity: "Контекстное окно должно быть положительным целым числом.",
|
|
27078
|
-
errorGeneric: "Операция RelayOne не удалась."
|
|
27158
|
+
errorGeneric: "Операция RelayOne не удалась.",
|
|
27159
|
+
accountPool: "Пул API-ключей",
|
|
27160
|
+
addAccount: "Добавить ключ",
|
|
27161
|
+
accountCount: "Ключей добавлено: {count}",
|
|
27162
|
+
useKey: "Использовать этот ключ",
|
|
27163
|
+
switchingKey: "Переключение…",
|
|
27164
|
+
primaryAccount: "Основной",
|
|
27165
|
+
activeAccount: "Используется",
|
|
27166
|
+
setPrimary: "Сделать основным",
|
|
27167
|
+
deleteAccount: "Удалить",
|
|
27168
|
+
cooling: "Охлаждение",
|
|
27169
|
+
cooldownLeft: "Осталось {minutes} мин",
|
|
27170
|
+
cooldownRemaining: "Осталось {minutes} мин {seconds} с",
|
|
27171
|
+
cooldownRemainingSeconds: "Осталось {seconds} с",
|
|
27172
|
+
clearCooldown: "Сбросить охлаждение",
|
|
27173
|
+
needsRelogin: "Ключ отклонён",
|
|
27174
|
+
relogin: "Заменить ключ",
|
|
27175
|
+
rotationStrategy: "Стратегия ротации",
|
|
27176
|
+
strategySequential: "Последовательный расход (основной первым, переключение при 429)",
|
|
27177
|
+
strategyRoundRobin: "Круговая ротация (равномерно по ключам)",
|
|
27178
|
+
strategySticky: "Липкая сессия (текущий ключ до ограничения)",
|
|
27179
|
+
noAccounts: "Ключей пока нет. Вставьте токен RelayOne, чтобы добавить его в ротацию.",
|
|
27180
|
+
email: "Эл. почта",
|
|
27181
|
+
expires: "Срок токена",
|
|
27182
|
+
lastUsed: "Последний вызов",
|
|
27183
|
+
accountId: "ID ключа",
|
|
27184
|
+
accountQuota: "Квота",
|
|
27185
|
+
quotaNone: "Квота ещё не читалась",
|
|
27186
|
+
quotaSnapshot: "Снимок {time}",
|
|
27187
|
+
quotaResets: "Сброс",
|
|
27188
|
+
quotaExhausted: "Исчерпано",
|
|
27189
|
+
quotaWindow: "Окно лимита",
|
|
27190
|
+
quotaFactsScope: "Эти данные относятся к текущему ключу; прогресс каждого ключа показан на его карточке выше."
|
|
27079
27191
|
};
|
|
27080
27192
|
//#endregion
|
|
27081
27193
|
//#region src/client/locales-ru/claude-api.ts
|
|
@@ -27318,7 +27430,7 @@ window.__ModuleLoader__.load({
|
|
|
27318
27430
|
return () => void 0;
|
|
27319
27431
|
}
|
|
27320
27432
|
//#endregion
|
|
27321
|
-
//#region src/client/styles.ts
|
|
27433
|
+
//#region src/client/providers/codex-chatgpt/styles.ts
|
|
27322
27434
|
const CSS$5 = `
|
|
27323
27435
|
.dsh-codex-page{box-sizing:border-box;color:var(--dsw-alias-label-primary);display:flex;flex-direction:column;gap:20px;max-width:780px;min-width:0;padding:2px 0 30px}
|
|
27324
27436
|
.dsh-codex-page *{box-sizing:border-box}
|
|
@@ -27668,7 +27780,7 @@ window.__ModuleLoader__.load({
|
|
|
27668
27780
|
`, POOL_STYLE_ID);
|
|
27669
27781
|
}
|
|
27670
27782
|
//#endregion
|
|
27671
|
-
//#region src/client/claude/ClaudeComposerQuota.tsx
|
|
27783
|
+
//#region src/client/providers/claude/ClaudeComposerQuota.tsx
|
|
27672
27784
|
const api$4 = createLineApi("/claude/api", "Claude");
|
|
27673
27785
|
/**
|
|
27674
27786
|
* Pick the most meaningful number for the badge.
|
|
@@ -27724,7 +27836,7 @@ window.__ModuleLoader__.load({
|
|
|
27724
27836
|
});
|
|
27725
27837
|
}
|
|
27726
27838
|
//#endregion
|
|
27727
|
-
//#region src/client/claude/styles.ts
|
|
27839
|
+
//#region src/client/providers/claude/styles.ts
|
|
27728
27840
|
const STYLE_ID$11 = "dsh-claude-settings-style";
|
|
27729
27841
|
/**
|
|
27730
27842
|
* Claude-only additions to the shared settings design system.
|
|
@@ -27752,7 +27864,7 @@ window.__ModuleLoader__.load({
|
|
|
27752
27864
|
`, STYLE_ID$11);
|
|
27753
27865
|
}
|
|
27754
27866
|
//#endregion
|
|
27755
|
-
//#region src/client/command-code/CommandCodeComposerQuota.tsx
|
|
27867
|
+
//#region src/client/providers/command-code/CommandCodeComposerQuota.tsx
|
|
27756
27868
|
const api$3 = createLineApi("/command-code/api", "Command Code");
|
|
27757
27869
|
/**
|
|
27758
27870
|
* Pick the most meaningful number for the badge.
|
|
@@ -27813,7 +27925,7 @@ window.__ModuleLoader__.load({
|
|
|
27813
27925
|
});
|
|
27814
27926
|
}
|
|
27815
27927
|
//#endregion
|
|
27816
|
-
//#region src/client/kimi-code/KimiCodeComposerQuota.tsx
|
|
27928
|
+
//#region src/client/providers/kimi-code/KimiCodeComposerQuota.tsx
|
|
27817
27929
|
const api$2 = createLineApi("/kimi-code/api", "Kimi Code");
|
|
27818
27930
|
/**
|
|
27819
27931
|
* Pick the most meaningful number for the badge.
|
|
@@ -27865,7 +27977,7 @@ window.__ModuleLoader__.load({
|
|
|
27865
27977
|
});
|
|
27866
27978
|
}
|
|
27867
27979
|
//#endregion
|
|
27868
|
-
//#region src/client/kimi-code/styles.ts
|
|
27980
|
+
//#region src/client/providers/kimi-code/styles.ts
|
|
27869
27981
|
const STYLE_ID$10 = "dsh-kimi-code-settings-style";
|
|
27870
27982
|
/**
|
|
27871
27983
|
* Node the base control styles come from.
|
|
@@ -28036,7 +28148,7 @@ window.__ModuleLoader__.load({
|
|
|
28036
28148
|
installPluginStyle("kimi-code", BASE, STYLE_ID$10);
|
|
28037
28149
|
}
|
|
28038
28150
|
//#endregion
|
|
28039
|
-
//#region src/client/minimax-code/MinimaxCodeComposerQuota.tsx
|
|
28151
|
+
//#region src/client/providers/minimax-code/MinimaxCodeComposerQuota.tsx
|
|
28040
28152
|
const api$1 = createLineApi("/minimax-code/api", "MiniMax Code");
|
|
28041
28153
|
/**
|
|
28042
28154
|
* Pick the badge facts for one status answer, or nothing at all.
|
|
@@ -28075,7 +28187,7 @@ window.__ModuleLoader__.load({
|
|
|
28075
28187
|
});
|
|
28076
28188
|
}
|
|
28077
28189
|
//#endregion
|
|
28078
|
-
//#region src/client/minimax-code/video-media.tsx
|
|
28190
|
+
//#region src/client/providers/minimax-code/video-media.tsx
|
|
28079
28191
|
/**
|
|
28080
28192
|
* 视频字节 → `<video>` 的那一段:对象 URL 的生命周期,以及两个界面共用的
|
|
28081
28193
|
* 「视频台」外框。
|
|
@@ -28166,7 +28278,7 @@ window.__ModuleLoader__.load({
|
|
|
28166
28278
|
});
|
|
28167
28279
|
}
|
|
28168
28280
|
//#endregion
|
|
28169
|
-
//#region src/client/minimax-code/MinimaxVideoDocumentBody.tsx
|
|
28281
|
+
//#region src/client/providers/minimax-code/MinimaxVideoDocumentBody.tsx
|
|
28170
28282
|
/** 兜底翻译:只在没有 locale 座位时用到。 */
|
|
28171
28283
|
function translate$1(key) {
|
|
28172
28284
|
return zh$17[key] ?? key;
|
|
@@ -28275,7 +28387,7 @@ window.__ModuleLoader__.load({
|
|
|
28275
28387
|
return name === "" ? normalized : name;
|
|
28276
28388
|
}
|
|
28277
28389
|
//#endregion
|
|
28278
|
-
//#region src/client/minimax-code/MinimaxVideoToolView.tsx
|
|
28390
|
+
//#region src/client/providers/minimax-code/MinimaxVideoToolView.tsx
|
|
28279
28391
|
/**
|
|
28280
28392
|
* `minimax_generate_video` 在对话流里的工具卡片。
|
|
28281
28393
|
*
|
|
@@ -28530,7 +28642,7 @@ window.__ModuleLoader__.load({
|
|
|
28530
28642
|
return text === "" ? null : text;
|
|
28531
28643
|
}
|
|
28532
28644
|
//#endregion
|
|
28533
|
-
//#region src/client/minimax-code/document-preview.ts
|
|
28645
|
+
//#region src/client/providers/minimax-code/document-preview.ts
|
|
28534
28646
|
/**
|
|
28535
28647
|
* MiniMax 视频渲染器的实现身份与 `documentPreviews` 定义。
|
|
28536
28648
|
*
|
|
@@ -28574,7 +28686,7 @@ window.__ModuleLoader__.load({
|
|
|
28574
28686
|
};
|
|
28575
28687
|
}
|
|
28576
28688
|
//#endregion
|
|
28577
|
-
//#region src/client/minimax-code/styles.ts
|
|
28689
|
+
//#region src/client/providers/minimax-code/styles.ts
|
|
28578
28690
|
const STYLE_ID$9 = "dsh-minimax-code-settings-style";
|
|
28579
28691
|
/**
|
|
28580
28692
|
* MiniMax Code-only additions to the shared settings design system.
|
|
@@ -28747,7 +28859,7 @@ window.__ModuleLoader__.load({
|
|
|
28747
28859
|
`, STYLE_ID$9);
|
|
28748
28860
|
}
|
|
28749
28861
|
//#endregion
|
|
28750
|
-
//#region src/client/glm-coding-plan/GlmCodingPlanComposerQuota.tsx
|
|
28862
|
+
//#region src/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.tsx
|
|
28751
28863
|
/**
|
|
28752
28864
|
* 胶囊显示「最紧的那个窗口」的剩余百分比。
|
|
28753
28865
|
*
|
|
@@ -28798,7 +28910,7 @@ window.__ModuleLoader__.load({
|
|
|
28798
28910
|
});
|
|
28799
28911
|
}
|
|
28800
28912
|
//#endregion
|
|
28801
|
-
//#region src/client/glm-coding-plan/styles.ts
|
|
28913
|
+
//#region src/client/providers/glm-coding-plan/styles.ts
|
|
28802
28914
|
const STYLE_ID$8 = "dsh-glm-coding-plan-settings-style";
|
|
28803
28915
|
/**
|
|
28804
28916
|
* GLM(ZCode 账号)卡片独有的样式。
|
|
@@ -28842,11 +28954,11 @@ window.__ModuleLoader__.load({
|
|
|
28842
28954
|
`, STYLE_ID$8);
|
|
28843
28955
|
}
|
|
28844
28956
|
//#endregion
|
|
28845
|
-
//#region src/client/antigravity-acp/route.ts
|
|
28957
|
+
//#region src/client/providers/antigravity-acp/route.ts
|
|
28846
28958
|
/** The provider route id this line serves; shared by the adapter and the client badge. */
|
|
28847
28959
|
const PROVIDER_ROUTE_ID = "antigravity-acp";
|
|
28848
28960
|
//#endregion
|
|
28849
|
-
//#region src/client/antigravity-acp/AntigravityAcpComposerBadge.tsx
|
|
28961
|
+
//#region src/client/providers/antigravity-acp/AntigravityAcpComposerBadge.tsx
|
|
28850
28962
|
const API$2 = new AntigravityAcpApi();
|
|
28851
28963
|
/**
|
|
28852
28964
|
* The composer badge for the Antigravity line.
|
|
@@ -28898,7 +29010,7 @@ window.__ModuleLoader__.load({
|
|
|
28898
29010
|
return (value / 1e6).toFixed(1) + "M";
|
|
28899
29011
|
}
|
|
28900
29012
|
//#endregion
|
|
28901
|
-
//#region src/client/antigravity-acp/styles.ts
|
|
29013
|
+
//#region src/client/providers/antigravity-acp/styles.ts
|
|
28902
29014
|
const STYLE_ID$7 = "dsh-antigravity-acp-settings-style";
|
|
28903
29015
|
/**
|
|
28904
29016
|
* The Antigravity (ACP) card's own styles.
|
|
@@ -28928,7 +29040,7 @@ window.__ModuleLoader__.load({
|
|
|
28928
29040
|
`, STYLE_ID$7);
|
|
28929
29041
|
}
|
|
28930
29042
|
//#endregion
|
|
28931
|
-
//#region src/client/step-code/StepCodeComposerQuota.tsx
|
|
29043
|
+
//#region src/client/providers/step-code/StepCodeComposerQuota.tsx
|
|
28932
29044
|
/**
|
|
28933
29045
|
* 胶囊显示「最紧的那个老式窗口」的剩余百分比。
|
|
28934
29046
|
*
|
|
@@ -28988,7 +29100,7 @@ window.__ModuleLoader__.load({
|
|
|
28988
29100
|
});
|
|
28989
29101
|
}
|
|
28990
29102
|
//#endregion
|
|
28991
|
-
//#region src/client/step-code/styles.ts
|
|
29103
|
+
//#region src/client/providers/step-code/styles.ts
|
|
28992
29104
|
const STYLE_ID$6 = "dsh-step-code-settings-style";
|
|
28993
29105
|
/**
|
|
28994
29106
|
* Step Code(Step Plan 订阅)卡片独有的样式。
|
|
@@ -29070,7 +29182,7 @@ window.__ModuleLoader__.load({
|
|
|
29070
29182
|
`, STYLE_ID$6);
|
|
29071
29183
|
}
|
|
29072
29184
|
//#endregion
|
|
29073
|
-
//#region src/client/cline-pass/ClinePassComposerQuota.tsx
|
|
29185
|
+
//#region src/client/providers/cline-pass/ClinePassComposerQuota.tsx
|
|
29074
29186
|
const API$1 = new ClinePassApi();
|
|
29075
29187
|
/**
|
|
29076
29188
|
* The composer badge for this line.
|
|
@@ -29110,7 +29222,7 @@ window.__ModuleLoader__.load({
|
|
|
29110
29222
|
};
|
|
29111
29223
|
}
|
|
29112
29224
|
//#endregion
|
|
29113
|
-
//#region src/client/cline-pass/styles.ts
|
|
29225
|
+
//#region src/client/providers/cline-pass/styles.ts
|
|
29114
29226
|
/**
|
|
29115
29227
|
* Cline Pass's own prefixed classes only: layout the shared `.dsha-*`
|
|
29116
29228
|
* vocabulary has no expression for (catalog chips, the model test panel and the
|
|
@@ -29166,7 +29278,7 @@ window.__ModuleLoader__.load({
|
|
|
29166
29278
|
`);
|
|
29167
29279
|
}
|
|
29168
29280
|
//#endregion
|
|
29169
|
-
//#region src/client/qoder/QoderComposerQuota.tsx
|
|
29281
|
+
//#region src/client/providers/qoder/QoderComposerQuota.tsx
|
|
29170
29282
|
/**
|
|
29171
29283
|
* 胶囊显示「最紧的那只桶」的剩余百分比。
|
|
29172
29284
|
*
|
|
@@ -29215,7 +29327,7 @@ window.__ModuleLoader__.load({
|
|
|
29215
29327
|
});
|
|
29216
29328
|
}
|
|
29217
29329
|
//#endregion
|
|
29218
|
-
//#region src/client/qoder/styles.ts
|
|
29330
|
+
//#region src/client/providers/qoder/styles.ts
|
|
29219
29331
|
const STYLE_ID$5 = "dsh-qoder-settings-style";
|
|
29220
29332
|
/**
|
|
29221
29333
|
* Qoder(订阅)卡片独有的样式。
|
|
@@ -29274,7 +29386,7 @@ window.__ModuleLoader__.load({
|
|
|
29274
29386
|
`, STYLE_ID$5);
|
|
29275
29387
|
}
|
|
29276
29388
|
//#endregion
|
|
29277
|
-
//#region src/client/opendesign/OpenDesignComposerQuota.tsx
|
|
29389
|
+
//#region src/client/providers/opendesign/OpenDesignComposerQuota.tsx
|
|
29278
29390
|
const API = new OpenDesignApi();
|
|
29279
29391
|
/**
|
|
29280
29392
|
* The composer badge for this line.
|
|
@@ -29367,7 +29479,7 @@ window.__ModuleLoader__.load({
|
|
|
29367
29479
|
};
|
|
29368
29480
|
}
|
|
29369
29481
|
//#endregion
|
|
29370
|
-
//#region src/client/opendesign/styles.ts
|
|
29482
|
+
//#region src/client/providers/opendesign/styles.ts
|
|
29371
29483
|
/**
|
|
29372
29484
|
* OpenDesign's own prefixed classes only: the key form and the advanced
|
|
29373
29485
|
* controls, which the shared `.dsha-*` vocabulary has no expression for.
|
|
@@ -29426,7 +29538,7 @@ window.__ModuleLoader__.load({
|
|
|
29426
29538
|
`);
|
|
29427
29539
|
}
|
|
29428
29540
|
//#endregion
|
|
29429
|
-
//#region src/client/mermaid/sanitize.ts
|
|
29541
|
+
//#region src/client/features/mermaid/sanitize.ts
|
|
29430
29542
|
const STRIP_ELEMENTS = /* @__PURE__ */ new Set([
|
|
29431
29543
|
"foreignobject",
|
|
29432
29544
|
"script",
|
|
@@ -29471,7 +29583,7 @@ window.__ModuleLoader__.load({
|
|
|
29471
29583
|
return new XMLSerializer().serializeToString(doc.documentElement);
|
|
29472
29584
|
}
|
|
29473
29585
|
//#endregion
|
|
29474
|
-
//#region src/client/mermaid/styles.ts
|
|
29586
|
+
//#region src/client/features/mermaid/styles.ts
|
|
29475
29587
|
const MERMAID_STYLE_ID = "dsh-mermaid-renderer-style";
|
|
29476
29588
|
function installMermaidStyles() {
|
|
29477
29589
|
installPluginStyle("mermaid", `
|
|
@@ -29496,7 +29608,7 @@ window.__ModuleLoader__.load({
|
|
|
29496
29608
|
`, MERMAID_STYLE_ID);
|
|
29497
29609
|
}
|
|
29498
29610
|
//#endregion
|
|
29499
|
-
//#region src/client/mermaid/renderer.ts
|
|
29611
|
+
//#region src/client/features/mermaid/renderer.ts
|
|
29500
29612
|
let mermaidSeq = 0;
|
|
29501
29613
|
let mermaidPromise = null;
|
|
29502
29614
|
const processedHosts = /* @__PURE__ */ new WeakSet();
|
|
@@ -29901,7 +30013,7 @@ window.__ModuleLoader__.load({
|
|
|
29901
30013
|
};
|
|
29902
30014
|
}
|
|
29903
30015
|
//#endregion
|
|
29904
|
-
//#region src/client/minimax-code/video-presets.ts
|
|
30016
|
+
//#region src/client/providers/minimax-code/video-presets.ts
|
|
29905
30017
|
/**
|
|
29906
30018
|
* 预设档:一张**实测合法**的「模型 × 比例 × 时长 × 分辨率」表。
|
|
29907
30019
|
*
|
|
@@ -29971,7 +30083,7 @@ window.__ModuleLoader__.load({
|
|
|
29971
30083
|
return videoPresets(() => "").find(({ preset }) => preset.model === values.model && preset.durationSeconds === values.durationSeconds && preset.resolution === values.resolution)?.preset.id;
|
|
29972
30084
|
}
|
|
29973
30085
|
//#endregion
|
|
29974
|
-
//#region src/client/minimax-code/video-media-input.ts
|
|
30086
|
+
//#region src/client/providers/minimax-code/video-media-input.ts
|
|
29975
30087
|
/** 空结果,供调用方省一次判断。 */
|
|
29976
30088
|
const EMPTY_INTAKE = {
|
|
29977
30089
|
paths: [],
|
|
@@ -30172,7 +30284,7 @@ window.__ModuleLoader__.load({
|
|
|
30172
30284
|
return parts[parts.length - 1] ?? path;
|
|
30173
30285
|
}
|
|
30174
30286
|
//#endregion
|
|
30175
|
-
//#region src/client/minimax-code/video-media-dropzone.tsx
|
|
30287
|
+
//#region src/client/providers/minimax-code/video-media-dropzone.tsx
|
|
30176
30288
|
/**
|
|
30177
30289
|
* 参考媒体的**输入区**:浏览、拖拽、粘贴三个入口共用一个落脚点。
|
|
30178
30290
|
*
|
|
@@ -30449,46 +30561,9 @@ window.__ModuleLoader__.load({
|
|
|
30449
30561
|
});
|
|
30450
30562
|
}
|
|
30451
30563
|
//#endregion
|
|
30452
|
-
//#region src/client/minimax-code/VideoFormDialog.tsx
|
|
30564
|
+
//#region src/client/providers/minimax-code/VideoFormDialog.tsx
|
|
30453
30565
|
/**
|
|
30454
30566
|
* `/video` 的参数面板:写一句描述,选好参数,再把它填进输入框。
|
|
30455
|
-
*
|
|
30456
|
-
* ## 形态:没有遮罩的浮层,而不是遮住整页的对话框
|
|
30457
|
-
*
|
|
30458
|
-
* 这里曾经盖一层半透明遮罩,整页随之变灰——用户看着像被弹窗劫持了。视频生成
|
|
30459
|
-
* 只是「给下一条消息配参数」,它不该把整个对话压暗。所以现在只有一块带阴影的
|
|
30460
|
-
* 浮层:点面板外仍然关闭(有边界检查),Escape 仍然关闭,但没有遮罩、没有
|
|
30461
|
-
* 背景变灰,对话内容照常可读。
|
|
30462
|
-
*
|
|
30463
|
-
* ## 布局:从「一排排表单」改成「先说画面,再说参数」
|
|
30464
|
-
*
|
|
30465
|
-
* 原先是 9 个同权重的字段竖着排下来,用户第一眼看到的是「模型 / 时长 / 分辨率」
|
|
30466
|
-
* 这些次要决定。现在分成三段,按用户真正的思考顺序:
|
|
30467
|
-
*
|
|
30468
|
-
* 1. **描述**——面板里最大的一块,也是唯一必填的东西;
|
|
30469
|
-
* 2. **档位胶囊 + 一行参数**——常见组合一键就能定,细调折叠在「更多参数」里;
|
|
30470
|
-
* 3. **参考媒体**——四类媒体块,支持浏览、拖拽、粘贴。
|
|
30471
|
-
*
|
|
30472
|
-
* ## 关键行为:它**不发送**,只把参数写进输入框
|
|
30473
|
-
*
|
|
30474
|
-
* 视频参数有联动规则(给了首帧→比例被强制改成 `adaptive`;纯文本→`adaptive`
|
|
30475
|
-
* 不可选),如果直接发起生成,用户永远看不到自己填的东西被改成了什么。所以这里
|
|
30476
|
-
* 只调用 `onSubmit`,把 {@link buildVideoDraftText} 拼出来的那段话放进输入框。
|
|
30477
|
-
*
|
|
30478
|
-
* ## 弹窗怎么落地
|
|
30479
|
-
*
|
|
30480
|
-
* 宿主有 `@deepseek-ai/dsh-client-ui-primitives` 的 `Modal`,但**本插件不依赖那个
|
|
30481
|
-
* 包的运行时**(`progress-updates/markdown-lite.tsx:6` 记录了这个决定),所以这里
|
|
30482
|
-
* 自己 portal 到 `document.body`:无遮罩浮层 + `role="dialog"` + Escape 关闭 +
|
|
30483
|
-
* 点浮层外关闭。portal 到 body 是必须的——输入框所在的那片容器有 `overflow`,
|
|
30484
|
-
* 就地渲染会被裁掉。
|
|
30485
|
-
*
|
|
30486
|
-
* ## 键盘可达性
|
|
30487
|
-
*
|
|
30488
|
-
* 浮层带 `tabIndex={-1}` 并在打开时聚焦,Tab 因此从面板内部开始按 DOM 顺序走遍
|
|
30489
|
-
* 每个字段;Escape 关闭(`keydown` 捕获阶段处理,输入框里的 Escape 也生效);
|
|
30490
|
-
* 关闭后焦点还给打开它的元素。
|
|
30491
|
-
*
|
|
30492
30567
|
* @module @eddyskywalker/dsh-chatgpt-subscription/client/minimax-code/video-form-dialog
|
|
30493
30568
|
*/
|
|
30494
30569
|
/** 把校验问题翻成一句话。中文最多两句、结尾不加句号。 */
|
|
@@ -31054,7 +31129,7 @@ window.__ModuleLoader__.load({
|
|
|
31054
31129
|
}), document.body);
|
|
31055
31130
|
}
|
|
31056
31131
|
//#endregion
|
|
31057
|
-
//#region src/client/minimax-code/video-command-icon.tsx
|
|
31132
|
+
//#region src/client/providers/minimax-code/video-command-icon.tsx
|
|
31058
31133
|
/**
|
|
31059
31134
|
* `/video` 的菜单字形:画框里一枚播放三角。
|
|
31060
31135
|
*
|
|
@@ -31084,7 +31159,7 @@ window.__ModuleLoader__.load({
|
|
|
31084
31159
|
})]
|
|
31085
31160
|
});
|
|
31086
31161
|
//#endregion
|
|
31087
|
-
//#region src/client/minimax-code/video-command.ts
|
|
31162
|
+
//#region src/client/providers/minimax-code/video-command.ts
|
|
31088
31163
|
/** 本线路的 provider id(宿主 `PROVIDER_ID` 的同值副本)。 */
|
|
31089
31164
|
const MINIMAX_CODE_PROVIDER = "minimax-code";
|
|
31090
31165
|
/** 本模块登记的命令名。 */
|
|
@@ -31220,7 +31295,7 @@ window.__ModuleLoader__.load({
|
|
|
31220
31295
|
};
|
|
31221
31296
|
}
|
|
31222
31297
|
//#endregion
|
|
31223
|
-
//#region src/client/minimax-code/video-workspace.ts
|
|
31298
|
+
//#region src/client/providers/minimax-code/video-workspace.ts
|
|
31224
31299
|
/** 从上下文里取 `remote.workspaceFiles`;取不到就是 undefined。 */
|
|
31225
31300
|
function resolveWorkspaceFiles$1(ctx) {
|
|
31226
31301
|
const get = ctx.get?.bind(ctx);
|
|
@@ -31271,35 +31346,9 @@ window.__ModuleLoader__.load({
|
|
|
31271
31346
|
};
|
|
31272
31347
|
}
|
|
31273
31348
|
//#endregion
|
|
31274
|
-
//#region src/client/minimax-code/video-command-host.tsx
|
|
31349
|
+
//#region src/client/providers/minimax-code/video-command-host.tsx
|
|
31275
31350
|
/**
|
|
31276
31351
|
* 「/video 命令 + 参数面板」的挂载点,由 `src/client/index.tsx` 调用。
|
|
31277
|
-
*
|
|
31278
|
-
* 挂两样东西:
|
|
31279
|
-
*
|
|
31280
|
-
* 1. **面板的渲染座位**:一个客户端容器,portal 到 `document.body`。它不挂在任何
|
|
31281
|
-
* 会话槽位上——面板是**全局**的,而 `/video` 命令的回调在一段没有 React 树的
|
|
31282
|
-
* 代码里;把两者连起来的是这个容器持有的 `open` 状态加一个模块级句柄。
|
|
31283
|
-
* 2. **命令本体**:`createVideoCommand` 产出的 action 贡献,注册到
|
|
31284
|
-
* `ctx.commandUi`,与宿主 `ui-message-feedback` 的 `/feedback` 装饰同一形状。
|
|
31285
|
-
*
|
|
31286
|
-
* ## 为什么命令回调要经过一个句柄
|
|
31287
|
-
*
|
|
31288
|
-
* 命令的回调是普通函数,不是 React 组件,拿不到 setState。所以容器把自己的
|
|
31289
|
-
* `openForm` 登记到一个模块级的可变引用上,命令回调通过它打开面板。容器卸载时
|
|
31290
|
-
* 把这个引用清掉(只清自己那一个),回调因此永远调不到一个已卸载的组件。
|
|
31291
|
-
*
|
|
31292
|
-
* ## 打开面板时顺手读一次输入框
|
|
31293
|
-
*
|
|
31294
|
-
* 用户常常先写了一句话才想起要用面板。命令回调在这里取一次
|
|
31295
|
-
* {@link composerDraftOf},交给面板当初始的「画面描述」——省掉一次抄写。读不到
|
|
31296
|
-
* 就是空串,面板照常以空白打开。
|
|
31297
|
-
*
|
|
31298
|
-
* ## 注册失败了怎么办
|
|
31299
|
-
*
|
|
31300
|
-
* 与家族其它模块一致:吞掉、不抛。web shell 在插件 apply 抛错时整页启动失败,
|
|
31301
|
-
* 一个外部插件不能因为「宿主这一版没有 commandUi」就把 GUI 带下水。
|
|
31302
|
-
*
|
|
31303
31352
|
* @module @eddyskywalker/dsh-chatgpt-subscription/client/minimax-code/video-command-host
|
|
31304
31353
|
*/
|
|
31305
31354
|
/**
|
|
@@ -31425,7 +31474,7 @@ window.__ModuleLoader__.load({
|
|
|
31425
31474
|
};
|
|
31426
31475
|
}
|
|
31427
31476
|
//#endregion
|
|
31428
|
-
//#region src/client/progress-updates/guide-artwork.tsx
|
|
31477
|
+
//#region src/client/features/progress-updates/guide-artwork.tsx
|
|
31429
31478
|
/**
|
|
31430
31479
|
* 右侧栏 guide 页里「进展更新」那一格用的彩色标记。
|
|
31431
31480
|
*
|
|
@@ -57854,43 +57903,9 @@ window.__ModuleLoader__.load({
|
|
|
57854
57903
|
}
|
|
57855
57904
|
};
|
|
57856
57905
|
//#endregion
|
|
57857
|
-
//#region src/client/progress-updates/markdown-lite.tsx
|
|
57906
|
+
//#region src/client/features/progress-updates/markdown-lite.tsx
|
|
57858
57907
|
/**
|
|
57859
57908
|
* 进展正文的轻量 Markdown 渲染。
|
|
57860
|
-
*
|
|
57861
|
-
* ## 为什么不复用平台的 MarkdownText
|
|
57862
|
-
*
|
|
57863
|
-
* 平台的渲染器在 `@deepseek-ai/dsh-client-ui-primitives` 里,那个包的 `lib` 是
|
|
57864
|
-
* **浏览器构建产物**:顶层静态 `import css from './StateDot.module.css'`。Node 的 ESM
|
|
57865
|
-
* 加载器先于任何 vite 插件与 alias 生效,所以只要本包在测试里 import 它,整个测试
|
|
57866
|
-
* 文件就 `Unknown file extension ".css"`。那是「只被 shell 加载」的包,不该被别的包
|
|
57867
|
-
* 在 Node 里 require。
|
|
57868
|
-
*
|
|
57869
|
-
* ## 这个渲染器覆盖什么
|
|
57870
|
-
*
|
|
57871
|
-
* 这里做的是模型汇报时**实际会写**的那一小撮:
|
|
57872
|
-
*
|
|
57873
|
-
* - 段落(空行分隔,段内换行保留)
|
|
57874
|
-
* - `-` / `*` / `•` 开头的无序列表,以及 `1.` 开头的有序列表
|
|
57875
|
-
* - GFM 表格(表头行 + 分隔行 + 数据行,支持 `:---` / `:---:` / `---:` 对齐)
|
|
57876
|
-
* - 行内 `code`
|
|
57877
|
-
* - `**粗体**`
|
|
57878
|
-
* - `###` 标题(最多三级)
|
|
57879
|
-
* - 围栏代码块(三连及以上的反引号或波浪号:**不做语法高亮**,语言标签只当标题)
|
|
57880
|
-
* - 数学公式:行内 `$…$` / `\(…\)`,块级 `$$…$$` / `\[…\]`,交给 KaTeX
|
|
57881
|
-
*
|
|
57882
|
-
* 表格与围栏代码块都是**后补**的:早先版本把它们当「超出契约」排除了,结果模型写出来的
|
|
57883
|
-
* 管道符表格整块落进段落分支、原样上屏(用户直接看到一堆竖线),围栏代码块同样把三反
|
|
57884
|
-
* 引号露在正文里。渲染它们的代价只是一次前瞻扫描,远小于它被读错造成的损失。
|
|
57885
|
-
*
|
|
57886
|
-
* 数学走 KaTeX 而不是自己画:公式排版(分式、上下标、矩阵)不是几十行手写能覆盖的面。
|
|
57887
|
-
* KaTeX 只输出 HTML 串(`.katex` 那棵 span/MathML 树),本文件把它经 `DOMParser` 转成
|
|
57888
|
-
* React 元素,**不经过 `dangerouslySetInnerHTML`** —— 整份渲染结果因此仍然是「全是
|
|
57889
|
-
* React 元素」,没有注入面。KaTeX 的 CSS 与字体由平台 `ui-primitives` 随页面引入
|
|
57890
|
-
* (`katex.min.css`),本插件不打包样式,只负责出结构。
|
|
57891
|
-
*
|
|
57892
|
-
* 仍然刻意**不做**图片、链接、原始 HTML、脚注与语法高亮。
|
|
57893
|
-
*
|
|
57894
57909
|
* @module @eddyskywalker/dsh-chatgpt-subscription/client/progress-updates/markdown-lite
|
|
57895
57910
|
*/
|
|
57896
57911
|
/**
|
|
@@ -58371,7 +58386,7 @@ window.__ModuleLoader__.load({
|
|
|
58371
58386
|
}) });
|
|
58372
58387
|
}
|
|
58373
58388
|
//#endregion
|
|
58374
|
-
//#region src/client/progress-updates/updates-panel.tsx
|
|
58389
|
+
//#region src/client/features/progress-updates/updates-panel.tsx
|
|
58375
58390
|
/**
|
|
58376
58391
|
* 进展更新面板:把 `progress_update` 工具产生的进展按时间顺序列出来。
|
|
58377
58392
|
*
|
|
@@ -58701,7 +58716,7 @@ window.__ModuleLoader__.load({
|
|
|
58701
58716
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: t === void 0 ? fallbackTranslate$2("progressTitle") : t("progressTitle") });
|
|
58702
58717
|
}
|
|
58703
58718
|
//#endregion
|
|
58704
|
-
//#region src/client/progress-updates/progress-row.tsx
|
|
58719
|
+
//#region src/client/features/progress-updates/progress-row.tsx
|
|
58705
58720
|
/**
|
|
58706
58721
|
* 对话流里的「进展行」——本插件的主形态。
|
|
58707
58722
|
*
|
|
@@ -59630,7 +59645,7 @@ window.__ModuleLoader__.load({
|
|
|
59630
59645
|
});
|
|
59631
59646
|
}
|
|
59632
59647
|
//#endregion
|
|
59633
|
-
//#region src/client/progress-updates/tool-name.ts
|
|
59648
|
+
//#region src/client/features/progress-updates/tool-name.ts
|
|
59634
59649
|
/**
|
|
59635
59650
|
* 客户端半边的工具名常量。
|
|
59636
59651
|
*
|
|
@@ -59645,7 +59660,7 @@ window.__ModuleLoader__.load({
|
|
|
59645
59660
|
/** 注册的工具名(与 `../../host/progress-updates/tool.ts` 的 `NOTIFY_USER_TOOL` 同一冻结契约)。 */
|
|
59646
59661
|
const PROGRESS_UPDATE_TOOL_NAME = "progress_update";
|
|
59647
59662
|
//#endregion
|
|
59648
|
-
//#region src/client/progress-updates/host-source.ts
|
|
59663
|
+
//#region src/client/features/progress-updates/host-source.ts
|
|
59649
59664
|
/**
|
|
59650
59665
|
* 本路由族的前缀(**文档相对**,不带前导斜杠)。
|
|
59651
59666
|
*
|
|
@@ -59907,7 +59922,7 @@ window.__ModuleLoader__.load({
|
|
|
59907
59922
|
};
|
|
59908
59923
|
}
|
|
59909
59924
|
//#endregion
|
|
59910
|
-
//#region src/client/progress-updates/settings-binding.ts
|
|
59925
|
+
//#region src/client/features/progress-updates/settings-binding.ts
|
|
59911
59926
|
/**
|
|
59912
59927
|
* 候选条目 id,按可能性从高到低。
|
|
59913
59928
|
*
|
|
@@ -60065,7 +60080,7 @@ window.__ModuleLoader__.load({
|
|
|
60065
60080
|
};
|
|
60066
60081
|
}
|
|
60067
60082
|
//#endregion
|
|
60068
|
-
//#region src/client/progress-updates/index.ts
|
|
60083
|
+
//#region src/client/features/progress-updates/index.ts
|
|
60069
60084
|
/**
|
|
60070
60085
|
* 本实现在右侧栏页签系统里的身份:它既是阶段一 `sidebarRightTabs` 里的 `id`,
|
|
60071
60086
|
* 也是阶段二两处 keyed 槽位注册用的键。
|
|
@@ -60355,7 +60370,7 @@ window.__ModuleLoader__.load({
|
|
|
60355
60370
|
});
|
|
60356
60371
|
}
|
|
60357
60372
|
//#endregion
|
|
60358
|
-
//#region src/client/progress-updates/styles.ts
|
|
60373
|
+
//#region src/client/features/progress-updates/styles.ts
|
|
60359
60374
|
/**
|
|
60360
60375
|
* 进展更新设置卡片的样式。
|
|
60361
60376
|
*
|
|
@@ -60423,7 +60438,7 @@ window.__ModuleLoader__.load({
|
|
|
60423
60438
|
return installPluginStyle(STYLE_NAME$1, CSS$2);
|
|
60424
60439
|
}
|
|
60425
60440
|
//#endregion
|
|
60426
|
-
//#region src/client/workbuddy/WorkBuddyComposerQuota.tsx
|
|
60441
|
+
//#region src/client/providers/workbuddy/WorkBuddyComposerQuota.tsx
|
|
60427
60442
|
const api = createLineApi("/workbuddy/api", "WorkBuddy");
|
|
60428
60443
|
/**
|
|
60429
60444
|
* Pick the most meaningful number for the badge.
|
|
@@ -60490,7 +60505,7 @@ window.__ModuleLoader__.load({
|
|
|
60490
60505
|
});
|
|
60491
60506
|
}
|
|
60492
60507
|
//#endregion
|
|
60493
|
-
//#region src/client/workbuddy/styles.ts
|
|
60508
|
+
//#region src/client/providers/workbuddy/styles.ts
|
|
60494
60509
|
const STYLE_ID$4 = "dsh-workbuddy-settings-style";
|
|
60495
60510
|
/**
|
|
60496
60511
|
* WorkBuddy-only additions to the shared settings design system.
|
|
@@ -60548,7 +60563,7 @@ window.__ModuleLoader__.load({
|
|
|
60548
60563
|
`, STYLE_ID$4);
|
|
60549
60564
|
}
|
|
60550
60565
|
//#endregion
|
|
60551
|
-
//#region src/client/qianwen-token-plan/QianwenComposerQuota.tsx
|
|
60566
|
+
//#region src/client/providers/qianwen-token-plan/QianwenComposerQuota.tsx
|
|
60552
60567
|
function selectQianwenBadgeFacts(status, lookup = (key) => zh$6[key]) {
|
|
60553
60568
|
const cache = status?.cacheStats;
|
|
60554
60569
|
if (cache === void 0 || cache === null) return null;
|
|
@@ -60572,7 +60587,7 @@ window.__ModuleLoader__.load({
|
|
|
60572
60587
|
});
|
|
60573
60588
|
}
|
|
60574
60589
|
//#endregion
|
|
60575
|
-
//#region src/client/qianwen-token-plan/styles.ts
|
|
60590
|
+
//#region src/client/providers/qianwen-token-plan/styles.ts
|
|
60576
60591
|
const STYLE_ID$3 = "dsh-qianwen-token-plan-settings-style";
|
|
60577
60592
|
function installQianwenStyles() {
|
|
60578
60593
|
installPluginStyle("qianwen-token-plan", `
|
|
@@ -60592,7 +60607,7 @@ window.__ModuleLoader__.load({
|
|
|
60592
60607
|
`, STYLE_ID$3);
|
|
60593
60608
|
}
|
|
60594
60609
|
//#endregion
|
|
60595
|
-
//#region src/client/relayone/RelayOneComposerQuota.tsx
|
|
60610
|
+
//#region src/client/providers/relayone/RelayOneComposerQuota.tsx
|
|
60596
60611
|
function selectRelayOneBadgeFacts(status, lookup = (key) => zh$5[key]) {
|
|
60597
60612
|
if (status === null || !status.authenticated || status.quota === void 0) return null;
|
|
60598
60613
|
const quota = status.quota;
|
|
@@ -60622,7 +60637,7 @@ window.__ModuleLoader__.load({
|
|
|
60622
60637
|
});
|
|
60623
60638
|
}
|
|
60624
60639
|
//#endregion
|
|
60625
|
-
//#region src/client/relayone/styles.ts
|
|
60640
|
+
//#region src/client/providers/relayone/styles.ts
|
|
60626
60641
|
const STYLE_ID$2 = "dsh-relayone-settings-style";
|
|
60627
60642
|
function installRelayOneStyles() {
|
|
60628
60643
|
installPluginStyle("relayone", `
|
|
@@ -60658,7 +60673,7 @@ window.__ModuleLoader__.load({
|
|
|
60658
60673
|
/** Route of the state read (GET `?session=<id>`) and the switch write (POST). */
|
|
60659
60674
|
const COMPACT_AFTER_TURN_PATH = "/api/dsh-compact-after-turn/state";
|
|
60660
60675
|
//#endregion
|
|
60661
|
-
//#region src/client/compact-after-turn/CompactAfterTurnToggle.tsx
|
|
60676
|
+
//#region src/client/features/compact-after-turn/CompactAfterTurnToggle.tsx
|
|
60662
60677
|
/**
|
|
60663
60678
|
* The "compact after this turn" row of the composer's model menu.
|
|
60664
60679
|
*
|
|
@@ -60854,7 +60869,7 @@ window.__ModuleLoader__.load({
|
|
|
60854
60869
|
}), document.body)] });
|
|
60855
60870
|
}
|
|
60856
60871
|
//#endregion
|
|
60857
|
-
//#region src/client/compact-after-turn/styles.ts
|
|
60872
|
+
//#region src/client/features/compact-after-turn/styles.ts
|
|
60858
60873
|
const STYLE_ID$1 = "dsh-compact-after-turn-style";
|
|
60859
60874
|
const CSS$1 = `
|
|
60860
60875
|
.dshcat-row{align-items:center;border-radius:var(--dsw-radius-md,6px);box-sizing:border-box;color:var(--dsw-alias-label-primary);display:flex;font-size:13px;gap:8px;line-height:20px;min-height:34px;padding:0 8px;position:relative;width:100%}
|
|
@@ -60867,9 +60882,9 @@ window.__ModuleLoader__.load({
|
|
|
60867
60882
|
@keyframes dshcat-tip-in{from{opacity:0}}
|
|
60868
60883
|
.dshcat-state{color:var(--dsw-alias-label-tertiary);flex:none;font-size:12px}
|
|
60869
60884
|
.dshcat-row[data-phase=compacting] .dshcat-state{color:var(--dsw-alias-label-warning,#d58a24)}
|
|
60870
|
-
.dshcat-switch{background:var(--
|
|
60871
|
-
.dshcat-switch::before{background:var(--dsw-alias-
|
|
60872
|
-
.dshcat-switch[aria-checked=true]{background:var(--dsw-alias-
|
|
60885
|
+
.dshcat-switch{appearance:none;background:var(--dsh-claude-chip,var(--dsw-specific-selector,rgba(127,127,127,.18)));border:0;border-radius:9px;box-sizing:border-box;corner-shape:round;cursor:pointer;flex:none;height:18px;margin:0;padding:2px;position:static;transition:background-color .15s ease;width:30px}
|
|
60886
|
+
.dshcat-switch::before{background:var(--dsw-alias-bg-overlay,#fff);border-radius:50%;box-shadow:0 1px 2px rgba(20,20,19,.18);content:"";corner-shape:round;display:block;height:14px;transition:transform .15s ease;width:14px}
|
|
60887
|
+
.dshcat-switch[aria-checked=true]{background:var(--dsw-alias-brand-primary,#397ee8)}
|
|
60873
60888
|
.dshcat-switch[aria-checked=true]::before{transform:translateX(12px)}
|
|
60874
60889
|
.dshcat-switch:disabled{cursor:default;opacity:.5}
|
|
60875
60890
|
.dshcat-switch::after{border-radius:var(--dsw-radius-md,6px);content:"";inset:0;position:absolute}
|
|
@@ -60882,7 +60897,7 @@ window.__ModuleLoader__.load({
|
|
|
60882
60897
|
return installPluginStyle("compact-after-turn", CSS$1, STYLE_ID$1);
|
|
60883
60898
|
}
|
|
60884
60899
|
//#endregion
|
|
60885
|
-
//#region src/client/claude-api/styles.ts
|
|
60900
|
+
//#region src/client/providers/claude-api/styles.ts
|
|
60886
60901
|
const STYLE_ID = "dsh-claude-api-settings-style";
|
|
60887
60902
|
/** Only what the shared .dsha-* primitives do not cover; no shared class is declared here. */
|
|
60888
60903
|
function installClaudeApiStyles() {
|
|
@@ -60907,7 +60922,7 @@ window.__ModuleLoader__.load({
|
|
|
60907
60922
|
`, STYLE_ID);
|
|
60908
60923
|
}
|
|
60909
60924
|
//#endregion
|
|
60910
|
-
//#region src/client/aws-quick/styles.ts
|
|
60925
|
+
//#region src/client/providers/aws-quick/styles.ts
|
|
60911
60926
|
function installAwsQuickStyles() {
|
|
60912
60927
|
installPluginStyle("aws-quick", `
|
|
60913
60928
|
.dshaq-details{border-top:.5px solid var(--dsw-alias-border-l2);padding:10px 0 2px}
|
|
@@ -60916,7 +60931,7 @@ window.__ModuleLoader__.load({
|
|
|
60916
60931
|
`, "dsh-aws-quick-settings-style");
|
|
60917
60932
|
}
|
|
60918
60933
|
//#endregion
|
|
60919
|
-
//#region src/client/subagent/subagent-card-controller.ts
|
|
60934
|
+
//#region src/client/features/subagent/subagent-card-controller.ts
|
|
60920
60935
|
/**
|
|
60921
60936
|
* 「子智能体」设置卡片的**状态与动作**。
|
|
60922
60937
|
*
|
|
@@ -61826,7 +61841,7 @@ window.__ModuleLoader__.load({
|
|
|
61826
61841
|
}
|
|
61827
61842
|
};
|
|
61828
61843
|
//#endregion
|
|
61829
|
-
//#region src/client/subagent/SubagentCard.tsx
|
|
61844
|
+
//#region src/client/features/subagent/SubagentCard.tsx
|
|
61830
61845
|
/**
|
|
61831
61846
|
* 「子智能体」设置卡片:运行限制 + 模型选择(全局默认 + 按主代理模型覆盖)。
|
|
61832
61847
|
*
|
|
@@ -62379,7 +62394,7 @@ window.__ModuleLoader__.load({
|
|
|
62379
62394
|
});
|
|
62380
62395
|
}
|
|
62381
62396
|
//#endregion
|
|
62382
|
-
//#region src/client/subagent/locales.ts
|
|
62397
|
+
//#region src/client/features/subagent/locales.ts
|
|
62383
62398
|
/**
|
|
62384
62399
|
* 「子智能体」设置卡片的文案与命名空间。
|
|
62385
62400
|
*
|
|
@@ -62423,7 +62438,7 @@ window.__ModuleLoader__.load({
|
|
|
62423
62438
|
subagentCapacityInvalid: "请输入不小于 1 的整数。",
|
|
62424
62439
|
subagentModelSelectionTitle: "模型选择",
|
|
62425
62440
|
subagentModelSelectionToggle: "允许 Agent 为子智能体选择模型",
|
|
62426
|
-
subagentModelSelectionChoose: "开启后,Agent
|
|
62441
|
+
subagentModelSelectionChoose: "开启后,Agent 可以从下方授权模型中,为每个子智能体选择提供方、模型和推理强度。修改会立即对所有会话生效。",
|
|
62427
62442
|
subagentModelSelectionAllowed: "Agent 可选择的模型",
|
|
62428
62443
|
subagentModelSelectionLoading: "正在加载模型…",
|
|
62429
62444
|
subagentModelSelectionLoadFailed: "无法加载模型。",
|
|
@@ -62476,7 +62491,7 @@ window.__ModuleLoader__.load({
|
|
|
62476
62491
|
subagentCapacityInvalid: "Enter a whole number of 1 or more.",
|
|
62477
62492
|
subagentModelSelectionTitle: "Model selection",
|
|
62478
62493
|
subagentModelSelectionToggle: "Allow agents to choose models for Subagents",
|
|
62479
|
-
subagentModelSelectionChoose: "When enabled, agents can choose a provider, model, and reasoning effort for each Subagent from the authorized models below.
|
|
62494
|
+
subagentModelSelectionChoose: "When enabled, agents can choose a provider, model, and reasoning effort for each Subagent from the authorized models below. Changes apply immediately to every session.",
|
|
62480
62495
|
subagentModelSelectionAllowed: "Models agents may choose",
|
|
62481
62496
|
subagentModelSelectionLoading: "Loading models…",
|
|
62482
62497
|
subagentModelSelectionLoadFailed: "Models could not be loaded.",
|
|
@@ -62511,7 +62526,7 @@ window.__ModuleLoader__.load({
|
|
|
62511
62526
|
"en-US": en
|
|
62512
62527
|
};
|
|
62513
62528
|
//#endregion
|
|
62514
|
-
//#region src/client/subagent/index.ts
|
|
62529
|
+
//#region src/client/features/subagent/index.ts
|
|
62515
62530
|
/** 本卡在插件页里的槽位 id;与宿主同名,这是遮蔽的前提。 */
|
|
62516
62531
|
const SUBAGENT_SLOT_ID = "subagent";
|
|
62517
62532
|
function serviceOf(ctx, name) {
|
|
@@ -62655,7 +62670,7 @@ window.__ModuleLoader__.load({
|
|
|
62655
62670
|
return register();
|
|
62656
62671
|
}
|
|
62657
62672
|
//#endregion
|
|
62658
|
-
//#region src/client/subagent/styles.ts
|
|
62673
|
+
//#region src/client/features/subagent/styles.ts
|
|
62659
62674
|
/**
|
|
62660
62675
|
* 「子智能体」设置卡片的样式表。
|
|
62661
62676
|
*
|
|
@@ -63295,7 +63310,7 @@ window.__ModuleLoader__.load({
|
|
|
63295
63310
|
return installPluginStyle(STYLE_NAME, SUBAGENT_CSS);
|
|
63296
63311
|
}
|
|
63297
63312
|
//#endregion
|
|
63298
|
-
//#region src/client/dispatch-ledger/MandateToolView.tsx
|
|
63313
|
+
//#region src/client/features/dispatch-ledger/MandateToolView.tsx
|
|
63299
63314
|
/**
|
|
63300
63315
|
* `subagent` / `subagent_fork` 在对话流里的**派发卡片**。
|
|
63301
63316
|
*
|
|
@@ -63584,7 +63599,7 @@ window.__ModuleLoader__.load({
|
|
|
63584
63599
|
});
|
|
63585
63600
|
}
|
|
63586
63601
|
//#endregion
|
|
63587
|
-
//#region src/client/dispatch-ledger/styles.ts
|
|
63602
|
+
//#region src/client/features/dispatch-ledger/styles.ts
|
|
63588
63603
|
/** 派发卡片的样式表。 */
|
|
63589
63604
|
const CSS = `
|
|
63590
63605
|
.dshc-mandate-root{margin:6px 0;border:1px solid var(--dsw-alias-border-l2,rgba(255,255,255,0.12));border-radius:8px;background:var(--dsw-alias-bg-layer-1,rgba(255,255,255,0.03));overflow:hidden}
|
|
@@ -63615,7 +63630,7 @@ window.__ModuleLoader__.load({
|
|
|
63615
63630
|
installPluginStyle("dispatch-ledger", CSS);
|
|
63616
63631
|
}
|
|
63617
63632
|
//#endregion
|
|
63618
|
-
//#region src/client/codemode/highlight.ts
|
|
63633
|
+
//#region src/client/features/codemode/highlight.ts
|
|
63619
63634
|
/** 宿主 `ui-theme/src/styles/shiki.css` 定义的标准变量表(带合理回退色以兼容测试环境)。 */
|
|
63620
63635
|
const SHIKI_TOKEN_COLORS = {
|
|
63621
63636
|
plain: void 0,
|
|
@@ -64159,7 +64174,7 @@ window.__ModuleLoader__.load({
|
|
|
64159
64174
|
return tokens;
|
|
64160
64175
|
}
|
|
64161
64176
|
//#endregion
|
|
64162
|
-
//#region src/client/codemode/CodeRunToolView.tsx
|
|
64177
|
+
//#region src/client/features/codemode/CodeRunToolView.tsx
|
|
64163
64178
|
/**
|
|
64164
64179
|
* `code_run` 在对话流中的语法高亮工具行组件 —— 对齐宿主内置 PTC `run_code` 的呈现体验。
|
|
64165
64180
|
*
|
|
@@ -64572,7 +64587,7 @@ window.__ModuleLoader__.load({
|
|
|
64572
64587
|
});
|
|
64573
64588
|
}
|
|
64574
64589
|
//#endregion
|
|
64575
|
-
//#region src/client/codemode/styles.ts
|
|
64590
|
+
//#region src/client/features/codemode/styles.ts
|
|
64576
64591
|
/**
|
|
64577
64592
|
* `code_run` 工具行样式表 —— 对齐宿主内置 `run_code`(`DisclosureRow` + `ToolRow` +
|
|
64578
64593
|
* `CodeBlock` + `CodeToolbar`)的视觉令牌与排版节奏。
|
|
@@ -64910,7 +64925,7 @@ window.__ModuleLoader__.load({
|
|
|
64910
64925
|
return installPluginStyle("codemode", CODEMODE_CSS);
|
|
64911
64926
|
}
|
|
64912
64927
|
//#endregion
|
|
64913
|
-
//#region src/client/codemode/tool-name.ts
|
|
64928
|
+
//#region src/client/features/codemode/tool-name.ts
|
|
64914
64929
|
/**
|
|
64915
64930
|
* 客户端半边的 `code_run` 工具名常量。
|
|
64916
64931
|
*
|
|
@@ -65319,33 +65334,6 @@ window.__ModuleLoader__.load({
|
|
|
65319
65334
|
}
|
|
65320
65335
|
/**
|
|
65321
65336
|
* 取视频字节:把 `ctx.remote.workspaceFiles` 的整文件读取收成一条窄通道。
|
|
65322
|
-
*
|
|
65323
|
-
* 视频在浏览器里**没有别的取字节方式**:`loadImage` 是附件专用的,`<video src>`
|
|
65324
|
-
* 也读不到工作区。宿主侧边栏的图像预览走的正是这条远端
|
|
65325
|
-
* (`ui-sidebar-documentpreview/src/client/rpc.ts` 的 `ReadDocumentBytes`),
|
|
65326
|
-
* 这里照抄同一调用:整文件读取,上限由宿主 `maxFileBytes` 决定。
|
|
65327
|
-
*
|
|
65328
|
-
* ## 结果要先看 `ok`
|
|
65329
|
-
*
|
|
65330
|
-
* 远端调用**不抛异常**:宿主把它声明的失败装进结果里,成功是
|
|
65331
|
-
* `{ ok: true, value }`,失败是 `{ ok: false, error }`(见
|
|
65332
|
-
* `@deepseek-ai/dsh-typert-protocol` 的 `RemoteResult`)。所以字节在
|
|
65333
|
-
* `value.data`,直接读 `(await call()).data` 拿到的是 `undefined`——
|
|
65334
|
-
* 界面会把它当成「还在读」,于是视频永远停在「正在读取视频」。
|
|
65335
|
-
* 失败那一支要**抛出去**:卡片按 `code` 与 `details.limit` 区分
|
|
65336
|
-
* 「文件太大」和「读不到」,那需要一条真正的异常。
|
|
65337
|
-
*
|
|
65338
|
-
* ## 两代宿主,两种取法
|
|
65339
|
-
*
|
|
65340
|
-
* ≥0.1.7 的宿主把整文件读取放在 `readBytes` 的 `options` 形态上;
|
|
65341
|
-
* ≤0.1.6 的宿主把它叫 `readAll`,而那一代的 `readBytes` 收的是**字节窗口**
|
|
65342
|
-
* (拿它读整文件只会读到 `maxBytes` 那么多)。两者都试,载荷形状的差别由
|
|
65343
|
-
* {@link unwrapVideoBytes} 收口。
|
|
65344
|
-
*
|
|
65345
|
-
* 远端是**可选的**且按需解析:不在 `apply(ctx)` 瞬间把服务抓死,以免
|
|
65346
|
-
* `remote.workspaceFiles` 晚于本插件挂载时读到空值;取不到就拒绝这次读取——
|
|
65347
|
-
* 两个界面都会把它显示成占位块,而不是崩掉。
|
|
65348
|
-
*
|
|
65349
65337
|
* @param ctx - 浏览器根上下文。
|
|
65350
65338
|
* @returns 与 `readBytes` 同形的取字节通道。
|
|
65351
65339
|
*/
|