@alm-allen/dsh-multi-provider 0.0.0-stage → 0.90.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +70 -0
- package/LICENSE +21 -0
- package/README.md +229 -2
- package/cordis.patch.yml +6 -0
- package/icon.svg +28 -0
- package/lib/client.js +25708 -0
- package/lib/client.js.map +1 -0
- package/lib/index.js +93587 -0
- package/lib/types/client/CodexComposerQuota.d.ts +13 -0
- package/lib/types/client/CodexComposerQuota.d.ts.map +1 -0
- package/lib/types/client/CodexSubscriptionSection.d.ts +42 -0
- package/lib/types/client/CodexSubscriptionSection.d.ts.map +1 -0
- package/lib/types/client/ProviderHubSection.d.ts +21 -0
- package/lib/types/client/ProviderHubSection.d.ts.map +1 -0
- package/lib/types/client/api.d.ts +66 -0
- package/lib/types/client/api.d.ts.map +1 -0
- package/lib/types/client/claude/ClaudeComposerQuota.d.ts +29 -0
- package/lib/types/client/claude/ClaudeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/claude/ClaudeSection.d.ts +12 -0
- package/lib/types/client/claude/ClaudeSection.d.ts.map +1 -0
- package/lib/types/client/claude/locales.d.ts +489 -0
- package/lib/types/client/claude/locales.d.ts.map +1 -0
- package/lib/types/client/claude/styles.d.ts +15 -0
- package/lib/types/client/claude/styles.d.ts.map +1 -0
- package/lib/types/client/claude/useClaudeSection.d.ts +106 -0
- package/lib/types/client/claude/useClaudeSection.d.ts.map +1 -0
- package/lib/types/client/claude-api/ClaudeApiSection.d.ts +5 -0
- package/lib/types/client/claude-api/ClaudeApiSection.d.ts.map +1 -0
- package/lib/types/client/claude-api/api.d.ts +23 -0
- package/lib/types/client/claude-api/api.d.ts.map +1 -0
- package/lib/types/client/claude-api/locales.d.ts +161 -0
- package/lib/types/client/claude-api/locales.d.ts.map +1 -0
- package/lib/types/client/claude-api/styles.d.ts +4 -0
- package/lib/types/client/claude-api/styles.d.ts.map +1 -0
- package/lib/types/client/claude-api/useClaudeApiSection.d.ts +37 -0
- package/lib/types/client/claude-api/useClaudeApiSection.d.ts.map +1 -0
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts +23 -0
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts.map +1 -0
- package/lib/types/client/cline-pass/ClinePassSection.d.ts +17 -0
- package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +1 -0
- package/lib/types/client/cline-pass/api.d.ts +85 -0
- package/lib/types/client/cline-pass/api.d.ts.map +1 -0
- package/lib/types/client/cline-pass/locales.d.ts +911 -0
- package/lib/types/client/cline-pass/locales.d.ts.map +1 -0
- package/lib/types/client/cline-pass/styles.d.ts +7 -0
- package/lib/types/client/cline-pass/styles.d.ts.map +1 -0
- package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts +20 -0
- package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/command-code/CommandCodeSection.d.ts +8 -0
- package/lib/types/client/command-code/CommandCodeSection.d.ts.map +1 -0
- package/lib/types/client/command-code/locales.d.ts +305 -0
- package/lib/types/client/command-code/locales.d.ts.map +1 -0
- package/lib/types/client/common/AccountPoolSection.d.ts +104 -0
- package/lib/types/client/common/AccountPoolSection.d.ts.map +1 -0
- package/lib/types/client/common/ComposerQuotaBadge.d.ts +63 -0
- package/lib/types/client/common/ComposerQuotaBadge.d.ts.map +1 -0
- package/lib/types/client/common/ContextWindowEditor.d.ts +71 -0
- package/lib/types/client/common/ContextWindowEditor.d.ts.map +1 -0
- package/lib/types/client/common/LineProxySection.d.ts +78 -0
- package/lib/types/client/common/LineProxySection.d.ts.map +1 -0
- package/lib/types/client/common/ModelChecklist.d.ts +29 -0
- package/lib/types/client/common/ModelChecklist.d.ts.map +1 -0
- package/lib/types/client/common/account-pool-labels.d.ts +74 -0
- package/lib/types/client/common/account-pool-labels.d.ts.map +1 -0
- package/lib/types/client/common/account-quota.d.ts +60 -0
- package/lib/types/client/common/account-quota.d.ts.map +1 -0
- package/lib/types/client/common/format.d.ts +70 -0
- package/lib/types/client/common/format.d.ts.map +1 -0
- package/lib/types/client/common/host-locale-mirror.d.ts +24 -0
- package/lib/types/client/common/host-locale-mirror.d.ts.map +1 -0
- package/lib/types/client/common/line-api.d.ts +8 -0
- package/lib/types/client/common/line-api.d.ts.map +1 -0
- package/lib/types/client/common/line-locale.d.ts +21 -0
- package/lib/types/client/common/line-locale.d.ts.map +1 -0
- package/lib/types/client/common/model-checklist-styles.d.ts +2 -0
- package/lib/types/client/common/model-checklist-styles.d.ts.map +1 -0
- package/lib/types/client/common/plugin-style.d.ts +23 -0
- package/lib/types/client/common/plugin-style.d.ts.map +1 -0
- package/lib/types/client/common/quota-follow-up.d.ts +30 -0
- package/lib/types/client/common/quota-follow-up.d.ts.map +1 -0
- package/lib/types/client/common/styles.d.ts +11 -0
- package/lib/types/client/common/styles.d.ts.map +1 -0
- package/lib/types/client/common/use-store.d.ts +3 -0
- package/lib/types/client/common/use-store.d.ts.map +1 -0
- package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +27 -0
- package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +1 -0
- package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts +22 -0
- package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts.map +1 -0
- package/lib/types/client/glm-coding-plan/api.d.ts +4 -0
- package/lib/types/client/glm-coding-plan/api.d.ts.map +1 -0
- package/lib/types/client/glm-coding-plan/locales.d.ts +409 -0
- package/lib/types/client/glm-coding-plan/locales.d.ts.map +1 -0
- package/lib/types/client/glm-coding-plan/styles.d.ts +16 -0
- package/lib/types/client/glm-coding-plan/styles.d.ts.map +1 -0
- package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts +65 -0
- package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +1 -0
- package/lib/types/client/hub/HubOverview.d.ts +16 -0
- package/lib/types/client/hub/HubOverview.d.ts.map +1 -0
- package/lib/types/client/hub/brand-icons.d.ts +64 -0
- package/lib/types/client/hub/brand-icons.d.ts.map +1 -0
- package/lib/types/client/hub/brand-svg.d.ts +51 -0
- package/lib/types/client/hub/brand-svg.d.ts.map +1 -0
- package/lib/types/client/hub/hub-styles.d.ts +2 -0
- package/lib/types/client/hub/hub-styles.d.ts.map +1 -0
- package/lib/types/client/hub/providers.d.ts +55 -0
- package/lib/types/client/hub/providers.d.ts.map +1 -0
- package/lib/types/client/index.d.ts +67 -0
- package/lib/types/client/index.d.ts.map +1 -0
- package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts +21 -0
- package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/kimi-code/KimiCodeSection.d.ts +8 -0
- package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +1 -0
- package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts +16 -0
- package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts.map +1 -0
- package/lib/types/client/kimi-code/KimiQuotaCard.d.ts +31 -0
- package/lib/types/client/kimi-code/KimiQuotaCard.d.ts.map +1 -0
- package/lib/types/client/kimi-code/labels.d.ts +66 -0
- package/lib/types/client/kimi-code/labels.d.ts.map +1 -0
- package/lib/types/client/kimi-code/locales.d.ts +640 -0
- package/lib/types/client/kimi-code/locales.d.ts.map +1 -0
- package/lib/types/client/kimi-code/staff-art.d.ts +19 -0
- package/lib/types/client/kimi-code/staff-art.d.ts.map +1 -0
- package/lib/types/client/kimi-code/styles.d.ts +4 -0
- package/lib/types/client/kimi-code/styles.d.ts.map +1 -0
- package/lib/types/client/locales-ru/account-pool.d.ts +11 -0
- package/lib/types/client/locales-ru/account-pool.d.ts.map +1 -0
- package/lib/types/client/locales-ru/claude-api.d.ts +3 -0
- package/lib/types/client/locales-ru/claude-api.d.ts.map +1 -0
- package/lib/types/client/locales-ru/claude.d.ts +3 -0
- package/lib/types/client/locales-ru/claude.d.ts.map +1 -0
- package/lib/types/client/locales-ru/cline-pass.d.ts +11 -0
- package/lib/types/client/locales-ru/cline-pass.d.ts.map +1 -0
- package/lib/types/client/locales-ru/command-code.d.ts +9 -0
- package/lib/types/client/locales-ru/command-code.d.ts.map +1 -0
- package/lib/types/client/locales-ru/glm-coding-plan.d.ts +10 -0
- package/lib/types/client/locales-ru/glm-coding-plan.d.ts.map +1 -0
- package/lib/types/client/locales-ru/hub.d.ts +3 -0
- package/lib/types/client/locales-ru/hub.d.ts.map +1 -0
- package/lib/types/client/locales-ru/index.d.ts +26 -0
- package/lib/types/client/locales-ru/index.d.ts.map +1 -0
- package/lib/types/client/locales-ru/kimi-code.d.ts +10 -0
- package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -0
- package/lib/types/client/locales-ru/minimax-code.d.ts +9 -0
- package/lib/types/client/locales-ru/minimax-code.d.ts.map +1 -0
- package/lib/types/client/locales-ru/ollama.d.ts +10 -0
- package/lib/types/client/locales-ru/ollama.d.ts.map +1 -0
- package/lib/types/client/locales-ru/opencode-go.d.ts +3 -0
- package/lib/types/client/locales-ru/opencode-go.d.ts.map +1 -0
- package/lib/types/client/locales-ru/opendesign.d.ts +10 -0
- package/lib/types/client/locales-ru/opendesign.d.ts.map +1 -0
- package/lib/types/client/locales-ru/qianwen-token-plan.d.ts +3 -0
- package/lib/types/client/locales-ru/qianwen-token-plan.d.ts.map +1 -0
- package/lib/types/client/locales-ru/qoder.d.ts +11 -0
- package/lib/types/client/locales-ru/qoder.d.ts.map +1 -0
- package/lib/types/client/locales-ru/relayone.d.ts +3 -0
- package/lib/types/client/locales-ru/relayone.d.ts.map +1 -0
- package/lib/types/client/locales-ru/step-code.d.ts +9 -0
- package/lib/types/client/locales-ru/step-code.d.ts.map +1 -0
- package/lib/types/client/locales-ru/workbuddy.d.ts +10 -0
- package/lib/types/client/locales-ru/workbuddy.d.ts.map +1 -0
- package/lib/types/client/locales.d.ts +497 -0
- package/lib/types/client/locales.d.ts.map +1 -0
- package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts +23 -0
- package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts +23 -0
- package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts.map +1 -0
- package/lib/types/client/minimax-code/api.d.ts +35 -0
- package/lib/types/client/minimax-code/api.d.ts.map +1 -0
- package/lib/types/client/minimax-code/commands-contract.d.ts +46 -0
- package/lib/types/client/minimax-code/commands-contract.d.ts.map +1 -0
- package/lib/types/client/minimax-code/locales.d.ts +422 -0
- package/lib/types/client/minimax-code/locales.d.ts.map +1 -0
- package/lib/types/client/minimax-code/styles.d.ts +12 -0
- package/lib/types/client/minimax-code/styles.d.ts.map +1 -0
- package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts +164 -0
- package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts.map +1 -0
- package/lib/types/client/ollama/OllamaSection.d.ts +25 -0
- package/lib/types/client/ollama/OllamaSection.d.ts.map +1 -0
- package/lib/types/client/ollama/api.d.ts +49 -0
- package/lib/types/client/ollama/api.d.ts.map +1 -0
- package/lib/types/client/ollama/locales.d.ts +479 -0
- package/lib/types/client/ollama/locales.d.ts.map +1 -0
- package/lib/types/client/opencode-go/OpenCodeGoQuotaCard.d.ts +20 -0
- package/lib/types/client/opencode-go/OpenCodeGoQuotaCard.d.ts.map +1 -0
- package/lib/types/client/opencode-go/OpenCodeGoSection.d.ts +8 -0
- package/lib/types/client/opencode-go/OpenCodeGoSection.d.ts.map +1 -0
- package/lib/types/client/opencode-go/locales.d.ts +210 -0
- package/lib/types/client/opencode-go/locales.d.ts.map +1 -0
- package/lib/types/client/opencode-go/styles.d.ts +10 -0
- package/lib/types/client/opencode-go/styles.d.ts.map +1 -0
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts +26 -0
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts.map +1 -0
- package/lib/types/client/opendesign/OpenDesignSection.d.ts +19 -0
- package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +1 -0
- package/lib/types/client/opendesign/api.d.ts +45 -0
- package/lib/types/client/opendesign/api.d.ts.map +1 -0
- package/lib/types/client/opendesign/locales.d.ts +815 -0
- package/lib/types/client/opendesign/locales.d.ts.map +1 -0
- package/lib/types/client/opendesign/styles.d.ts +16 -0
- package/lib/types/client/opendesign/styles.d.ts.map +1 -0
- package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts +14 -0
- package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts.map +1 -0
- package/lib/types/client/qianwen-token-plan/QianwenTokenPlanSection.d.ts +4 -0
- package/lib/types/client/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +1 -0
- package/lib/types/client/qianwen-token-plan/api.d.ts +5 -0
- package/lib/types/client/qianwen-token-plan/api.d.ts.map +1 -0
- package/lib/types/client/qianwen-token-plan/locales.d.ts +158 -0
- package/lib/types/client/qianwen-token-plan/locales.d.ts.map +1 -0
- package/lib/types/client/qianwen-token-plan/styles.d.ts +3 -0
- package/lib/types/client/qianwen-token-plan/styles.d.ts.map +1 -0
- package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts +32 -0
- package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts.map +1 -0
- package/lib/types/client/qoder/QoderComposerQuota.d.ts +41 -0
- package/lib/types/client/qoder/QoderComposerQuota.d.ts.map +1 -0
- package/lib/types/client/qoder/QoderSection.d.ts +37 -0
- package/lib/types/client/qoder/QoderSection.d.ts.map +1 -0
- package/lib/types/client/qoder/api.d.ts +4 -0
- package/lib/types/client/qoder/api.d.ts.map +1 -0
- package/lib/types/client/qoder/locales.d.ts +322 -0
- package/lib/types/client/qoder/locales.d.ts.map +1 -0
- package/lib/types/client/qoder/styles.d.ts +16 -0
- package/lib/types/client/qoder/styles.d.ts.map +1 -0
- package/lib/types/client/qoder/useQoderSection.d.ts +97 -0
- package/lib/types/client/qoder/useQoderSection.d.ts.map +1 -0
- package/lib/types/client/quota.d.ts +9 -0
- package/lib/types/client/quota.d.ts.map +1 -0
- package/lib/types/client/relayone/RelayOneComposerQuota.d.ts +14 -0
- package/lib/types/client/relayone/RelayOneComposerQuota.d.ts.map +1 -0
- package/lib/types/client/relayone/RelayOneSection.d.ts +4 -0
- package/lib/types/client/relayone/RelayOneSection.d.ts.map +1 -0
- package/lib/types/client/relayone/api.d.ts +5 -0
- package/lib/types/client/relayone/api.d.ts.map +1 -0
- package/lib/types/client/relayone/locales.d.ts +221 -0
- package/lib/types/client/relayone/locales.d.ts.map +1 -0
- package/lib/types/client/relayone/quota-format.d.ts +6 -0
- package/lib/types/client/relayone/quota-format.d.ts.map +1 -0
- package/lib/types/client/relayone/styles.d.ts +3 -0
- package/lib/types/client/relayone/styles.d.ts.map +1 -0
- package/lib/types/client/relayone/useRelayOneSection.d.ts +32 -0
- package/lib/types/client/relayone/useRelayOneSection.d.ts.map +1 -0
- package/lib/types/client/step-code/StepCodeComposerQuota.d.ts +50 -0
- package/lib/types/client/step-code/StepCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/step-code/StepCodeSection.d.ts +28 -0
- package/lib/types/client/step-code/StepCodeSection.d.ts.map +1 -0
- package/lib/types/client/step-code/api.d.ts +4 -0
- package/lib/types/client/step-code/api.d.ts.map +1 -0
- package/lib/types/client/step-code/locales.d.ts +657 -0
- package/lib/types/client/step-code/locales.d.ts.map +1 -0
- package/lib/types/client/step-code/styles.d.ts +28 -0
- package/lib/types/client/step-code/styles.d.ts.map +1 -0
- package/lib/types/client/step-code/useStepCodeSection.d.ts +122 -0
- package/lib/types/client/step-code/useStepCodeSection.d.ts.map +1 -0
- package/lib/types/client/store.d.ts +19 -0
- package/lib/types/client/store.d.ts.map +1 -0
- package/lib/types/client/styles.d.ts +26 -0
- package/lib/types/client/styles.d.ts.map +1 -0
- package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts +34 -0
- package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts.map +1 -0
- package/lib/types/client/workbuddy/WorkBuddySection.d.ts +91 -0
- package/lib/types/client/workbuddy/WorkBuddySection.d.ts.map +1 -0
- package/lib/types/client/workbuddy/locales.d.ts +768 -0
- package/lib/types/client/workbuddy/locales.d.ts.map +1 -0
- package/lib/types/client/workbuddy/styles.d.ts +21 -0
- package/lib/types/client/workbuddy/styles.d.ts.map +1 -0
- package/lib/types/client/workbuddy/useWorkBuddySection.d.ts +149 -0
- package/lib/types/client/workbuddy/useWorkBuddySection.d.ts.map +1 -0
- package/lib/types/compat.d.ts +139 -0
- package/lib/types/compat.d.ts.map +1 -0
- package/lib/types/host/adapter.d.ts +43 -0
- package/lib/types/host/adapter.d.ts.map +1 -0
- package/lib/types/host/callback-server.d.ts +22 -0
- package/lib/types/host/callback-server.d.ts.map +1 -0
- package/lib/types/host/claude/account-pool.d.ts +583 -0
- package/lib/types/host/claude/account-pool.d.ts.map +1 -0
- package/lib/types/host/claude/adapter.d.ts +424 -0
- package/lib/types/host/claude/adapter.d.ts.map +1 -0
- package/lib/types/host/claude/adopt.d.ts +292 -0
- package/lib/types/host/claude/adopt.d.ts.map +1 -0
- package/lib/types/host/claude/client.d.ts +579 -0
- package/lib/types/host/claude/client.d.ts.map +1 -0
- package/lib/types/host/claude/mapper.d.ts +802 -0
- package/lib/types/host/claude/mapper.d.ts.map +1 -0
- package/lib/types/host/claude/model-catalog.d.ts +560 -0
- package/lib/types/host/claude/model-catalog.d.ts.map +1 -0
- package/lib/types/host/claude/oauth.d.ts +419 -0
- package/lib/types/host/claude/oauth.d.ts.map +1 -0
- package/lib/types/host/claude/routes.d.ts +131 -0
- package/lib/types/host/claude/routes.d.ts.map +1 -0
- package/lib/types/host/claude/token-store.d.ts +347 -0
- package/lib/types/host/claude/token-store.d.ts.map +1 -0
- package/lib/types/host/claude/types.d.ts +417 -0
- package/lib/types/host/claude/types.d.ts.map +1 -0
- package/lib/types/host/claude-api/adapter.d.ts +70 -0
- package/lib/types/host/claude-api/adapter.d.ts.map +1 -0
- package/lib/types/host/claude-api/capability-memory.d.ts +4 -0
- package/lib/types/host/claude-api/capability-memory.d.ts.map +1 -0
- package/lib/types/host/claude-api/catalog-manager.d.ts +57 -0
- package/lib/types/host/claude-api/catalog-manager.d.ts.map +1 -0
- package/lib/types/host/claude-api/client-version.d.ts +4 -0
- package/lib/types/host/claude-api/client-version.d.ts.map +1 -0
- package/lib/types/host/claude-api/client.d.ts +55 -0
- package/lib/types/host/claude-api/client.d.ts.map +1 -0
- package/lib/types/host/claude-api/compaction-instruction.d.ts +23 -0
- package/lib/types/host/claude-api/compaction-instruction.d.ts.map +1 -0
- package/lib/types/host/claude-api/compaction-store.d.ts +62 -0
- package/lib/types/host/claude-api/compaction-store.d.ts.map +1 -0
- package/lib/types/host/claude-api/compaction.d.ts +47 -0
- package/lib/types/host/claude-api/compaction.d.ts.map +1 -0
- package/lib/types/host/claude-api/mapper.d.ts +61 -0
- package/lib/types/host/claude-api/mapper.d.ts.map +1 -0
- package/lib/types/host/claude-api/model-catalog.d.ts +76 -0
- package/lib/types/host/claude-api/model-catalog.d.ts.map +1 -0
- package/lib/types/host/claude-api/routes.d.ts +22 -0
- package/lib/types/host/claude-api/routes.d.ts.map +1 -0
- package/lib/types/host/claude-api/stream.d.ts +88 -0
- package/lib/types/host/claude-api/stream.d.ts.map +1 -0
- package/lib/types/host/claude-api/token-store.d.ts +60 -0
- package/lib/types/host/claude-api/token-store.d.ts.map +1 -0
- package/lib/types/host/claude-api/types.d.ts +68 -0
- package/lib/types/host/claude-api/types.d.ts.map +1 -0
- package/lib/types/host/cline-pass/account-pool.d.ts +63 -0
- package/lib/types/host/cline-pass/account-pool.d.ts.map +1 -0
- package/lib/types/host/cline-pass/adapter.d.ts +60 -0
- package/lib/types/host/cline-pass/adapter.d.ts.map +1 -0
- package/lib/types/host/cline-pass/catalog.d.ts +49 -0
- package/lib/types/host/cline-pass/catalog.d.ts.map +1 -0
- package/lib/types/host/cline-pass/client.d.ts +109 -0
- package/lib/types/host/cline-pass/client.d.ts.map +1 -0
- package/lib/types/host/cline-pass/engine.d.ts +93 -0
- package/lib/types/host/cline-pass/engine.d.ts.map +1 -0
- package/lib/types/host/cline-pass/line.d.ts +55 -0
- package/lib/types/host/cline-pass/line.d.ts.map +1 -0
- package/lib/types/host/cline-pass/mapper.d.ts +138 -0
- package/lib/types/host/cline-pass/mapper.d.ts.map +1 -0
- package/lib/types/host/cline-pass/oauth.d.ts +134 -0
- package/lib/types/host/cline-pass/oauth.d.ts.map +1 -0
- package/lib/types/host/cline-pass/protocol.d.ts +44 -0
- package/lib/types/host/cline-pass/protocol.d.ts.map +1 -0
- package/lib/types/host/cline-pass/routes.d.ts +92 -0
- package/lib/types/host/cline-pass/routes.d.ts.map +1 -0
- package/lib/types/host/cline-pass/store.d.ts +75 -0
- package/lib/types/host/cline-pass/store.d.ts.map +1 -0
- package/lib/types/host/cline-pass/token-store.d.ts +170 -0
- package/lib/types/host/cline-pass/token-store.d.ts.map +1 -0
- package/lib/types/host/cline-pass/tools.d.ts +21 -0
- package/lib/types/host/cline-pass/tools.d.ts.map +1 -0
- package/lib/types/host/cline-pass/types.d.ts +127 -0
- package/lib/types/host/cline-pass/types.d.ts.map +1 -0
- package/lib/types/host/codex-account-pool.d.ts +223 -0
- package/lib/types/host/codex-account-pool.d.ts.map +1 -0
- package/lib/types/host/codex-adopt.d.ts +255 -0
- package/lib/types/host/codex-adopt.d.ts.map +1 -0
- package/lib/types/host/codex-catalog.d.ts +69 -0
- package/lib/types/host/codex-catalog.d.ts.map +1 -0
- package/lib/types/host/codex-fetch.d.ts +17 -0
- package/lib/types/host/codex-fetch.d.ts.map +1 -0
- package/lib/types/host/codex-file-import.d.ts +35 -0
- package/lib/types/host/codex-file-import.d.ts.map +1 -0
- package/lib/types/host/codex-identity.d.ts +132 -0
- package/lib/types/host/codex-identity.d.ts.map +1 -0
- package/lib/types/host/codex-remote-compaction.d.ts +41 -0
- package/lib/types/host/codex-remote-compaction.d.ts.map +1 -0
- package/lib/types/host/codex-search.d.ts +11 -0
- package/lib/types/host/codex-search.d.ts.map +1 -0
- package/lib/types/host/command-code/account-pool.d.ts +72 -0
- package/lib/types/host/command-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/command-code/adapter.d.ts +89 -0
- package/lib/types/host/command-code/adapter.d.ts.map +1 -0
- package/lib/types/host/command-code/client.d.ts +126 -0
- package/lib/types/host/command-code/client.d.ts.map +1 -0
- package/lib/types/host/command-code/mapper.d.ts +199 -0
- package/lib/types/host/command-code/mapper.d.ts.map +1 -0
- package/lib/types/host/command-code/model-catalog.d.ts +90 -0
- package/lib/types/host/command-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/command-code/oauth.d.ts +95 -0
- package/lib/types/host/command-code/oauth.d.ts.map +1 -0
- package/lib/types/host/command-code/plans.d.ts +40 -0
- package/lib/types/host/command-code/plans.d.ts.map +1 -0
- package/lib/types/host/command-code/routes.d.ts +44 -0
- package/lib/types/host/command-code/routes.d.ts.map +1 -0
- package/lib/types/host/command-code/token-store.d.ts +100 -0
- package/lib/types/host/command-code/token-store.d.ts.map +1 -0
- package/lib/types/host/command-code/types.d.ts +222 -0
- package/lib/types/host/command-code/types.d.ts.map +1 -0
- package/lib/types/host/common/account-pool.d.ts +584 -0
- package/lib/types/host/common/account-pool.d.ts.map +1 -0
- package/lib/types/host/common/account-quota.d.ts +44 -0
- package/lib/types/host/common/account-quota.d.ts.map +1 -0
- package/lib/types/host/common/brand-compat.d.ts +4 -0
- package/lib/types/host/common/brand-compat.d.ts.map +1 -0
- package/lib/types/host/common/cache-activity.d.ts +16 -0
- package/lib/types/host/common/cache-activity.d.ts.map +1 -0
- package/lib/types/host/common/cache-affinity.d.ts +23 -0
- package/lib/types/host/common/cache-affinity.d.ts.map +1 -0
- package/lib/types/host/common/cache-hint.d.ts +18 -0
- package/lib/types/host/common/cache-hint.d.ts.map +1 -0
- package/lib/types/host/common/capabilities.d.ts +100 -0
- package/lib/types/host/common/capabilities.d.ts.map +1 -0
- package/lib/types/host/common/catalog-snapshot.d.ts +80 -0
- package/lib/types/host/common/catalog-snapshot.d.ts.map +1 -0
- package/lib/types/host/common/claude-capability-memory.d.ts +51 -0
- package/lib/types/host/common/claude-capability-memory.d.ts.map +1 -0
- package/lib/types/host/common/claude-code-cch.d.ts +28 -0
- package/lib/types/host/common/claude-code-cch.d.ts.map +1 -0
- package/lib/types/host/common/claude-code-corrections.d.ts +6 -0
- package/lib/types/host/common/claude-code-corrections.d.ts.map +1 -0
- package/lib/types/host/common/claude-code-first-party.d.ts +68 -0
- package/lib/types/host/common/claude-code-first-party.d.ts.map +1 -0
- package/lib/types/host/common/claude-code-version.d.ts +90 -0
- package/lib/types/host/common/claude-code-version.d.ts.map +1 -0
- package/lib/types/host/common/concurrency-gate.d.ts +46 -0
- package/lib/types/host/common/concurrency-gate.d.ts.map +1 -0
- package/lib/types/host/common/context-budget-fetch.d.ts +7 -0
- package/lib/types/host/common/context-budget-fetch.d.ts.map +1 -0
- package/lib/types/host/common/context-overflow.d.ts +7 -0
- package/lib/types/host/common/context-overflow.d.ts.map +1 -0
- package/lib/types/host/common/context-window-overrides.d.ts +12 -0
- package/lib/types/host/common/context-window-overrides.d.ts.map +1 -0
- package/lib/types/host/common/credential-read-cache.d.ts +82 -0
- package/lib/types/host/common/credential-read-cache.d.ts.map +1 -0
- package/lib/types/host/common/credentials-compat.d.ts +73 -0
- package/lib/types/host/common/credentials-compat.d.ts.map +1 -0
- package/lib/types/host/common/failure-classification.d.ts +21 -0
- package/lib/types/host/common/failure-classification.d.ts.map +1 -0
- package/lib/types/host/common/file-preferences.d.ts +49 -0
- package/lib/types/host/common/file-preferences.d.ts.map +1 -0
- package/lib/types/host/common/gpt-engineering-guidance.d.ts +16 -0
- package/lib/types/host/common/gpt-engineering-guidance.d.ts.map +1 -0
- package/lib/types/host/common/home.d.ts +8 -0
- package/lib/types/host/common/home.d.ts.map +1 -0
- package/lib/types/host/common/hosted-media.d.ts +36 -0
- package/lib/types/host/common/hosted-media.d.ts.map +1 -0
- package/lib/types/host/common/i18n/en.d.ts +9 -0
- package/lib/types/host/common/i18n/en.d.ts.map +1 -0
- package/lib/types/host/common/i18n/index.d.ts +13 -0
- package/lib/types/host/common/i18n/index.d.ts.map +1 -0
- package/lib/types/host/common/i18n/provider-name.d.ts +10 -0
- package/lib/types/host/common/i18n/provider-name.d.ts.map +1 -0
- package/lib/types/host/common/i18n/ru.d.ts +10 -0
- package/lib/types/host/common/i18n/ru.d.ts.map +1 -0
- package/lib/types/host/common/i18n/runtime.d.ts +54 -0
- package/lib/types/host/common/i18n/runtime.d.ts.map +1 -0
- package/lib/types/host/common/i18n/t.d.ts +38 -0
- package/lib/types/host/common/i18n/t.d.ts.map +1 -0
- package/lib/types/host/common/i18n/zh.d.ts +172 -0
- package/lib/types/host/common/i18n/zh.d.ts.map +1 -0
- package/lib/types/host/common/idle-watchdog.d.ts +58 -0
- package/lib/types/host/common/idle-watchdog.d.ts.map +1 -0
- package/lib/types/host/common/legacy-preferences.d.ts +29 -0
- package/lib/types/host/common/legacy-preferences.d.ts.map +1 -0
- package/lib/types/host/common/llm-compat.d.ts +157 -0
- package/lib/types/host/common/llm-compat.d.ts.map +1 -0
- package/lib/types/host/common/model-request-control.d.ts +21 -0
- package/lib/types/host/common/model-request-control.d.ts.map +1 -0
- package/lib/types/host/common/orphan-tool-calls.d.ts +47 -0
- package/lib/types/host/common/orphan-tool-calls.d.ts.map +1 -0
- package/lib/types/host/common/output-reservation.d.ts +11 -0
- package/lib/types/host/common/output-reservation.d.ts.map +1 -0
- package/lib/types/host/common/pool-storage-settings.d.ts +41 -0
- package/lib/types/host/common/pool-storage-settings.d.ts.map +1 -0
- package/lib/types/host/common/pool-storage.d.ts +143 -0
- package/lib/types/host/common/pool-storage.d.ts.map +1 -0
- package/lib/types/host/common/prefix-request-coordinator.d.ts +46 -0
- package/lib/types/host/common/prefix-request-coordinator.d.ts.map +1 -0
- package/lib/types/host/common/prefix-stability.d.ts +24 -0
- package/lib/types/host/common/prefix-stability.d.ts.map +1 -0
- package/lib/types/host/common/prompt-cache-policy.d.ts +47 -0
- package/lib/types/host/common/prompt-cache-policy.d.ts.map +1 -0
- package/lib/types/host/common/prompt-estimate.d.ts +22 -0
- package/lib/types/host/common/prompt-estimate.d.ts.map +1 -0
- package/lib/types/host/common/provider-route.d.ts +56 -0
- package/lib/types/host/common/provider-route.d.ts.map +1 -0
- package/lib/types/host/common/quota-refresh.d.ts +35 -0
- package/lib/types/host/common/quota-refresh.d.ts.map +1 -0
- package/lib/types/host/common/reasoning-dialect.d.ts +24 -0
- package/lib/types/host/common/reasoning-dialect.d.ts.map +1 -0
- package/lib/types/host/common/reasoning-efforts.d.ts +2 -0
- package/lib/types/host/common/reasoning-efforts.d.ts.map +1 -0
- package/lib/types/host/common/request-diagnostics.d.ts +79 -0
- package/lib/types/host/common/request-diagnostics.d.ts.map +1 -0
- package/lib/types/host/common/request-images.d.ts +275 -0
- package/lib/types/host/common/request-images.d.ts.map +1 -0
- package/lib/types/host/common/same-origin.d.ts +30 -0
- package/lib/types/host/common/same-origin.d.ts.map +1 -0
- package/lib/types/host/common/session-cache-state.d.ts +29 -0
- package/lib/types/host/common/session-cache-state.d.ts.map +1 -0
- package/lib/types/host/common/session-effort-memory.d.ts +35 -0
- package/lib/types/host/common/session-effort-memory.d.ts.map +1 -0
- package/lib/types/host/common/settings-compat.d.ts +55 -0
- package/lib/types/host/common/settings-compat.d.ts.map +1 -0
- package/lib/types/host/common/sticky-image-budget.d.ts +10 -0
- package/lib/types/host/common/sticky-image-budget.d.ts.map +1 -0
- package/lib/types/host/common/stream-error.d.ts +93 -0
- package/lib/types/host/common/stream-error.d.ts.map +1 -0
- package/lib/types/host/common/tool-schema.d.ts +27 -0
- package/lib/types/host/common/tool-schema.d.ts.map +1 -0
- package/lib/types/host/common/video-request.d.ts +81 -0
- package/lib/types/host/common/video-request.d.ts.map +1 -0
- package/lib/types/host/common/video.d.ts +90 -0
- package/lib/types/host/common/video.d.ts.map +1 -0
- package/lib/types/host/common/webserver-compat.d.ts +7 -0
- package/lib/types/host/common/webserver-compat.d.ts.map +1 -0
- package/lib/types/host/credential-store-secret-service.d.ts +66 -0
- package/lib/types/host/credential-store-secret-service.d.ts.map +1 -0
- package/lib/types/host/fetch-address-policy.d.ts +79 -0
- package/lib/types/host/fetch-address-policy.d.ts.map +1 -0
- package/lib/types/host/fetch-configuration.d.ts +6 -0
- package/lib/types/host/fetch-configuration.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/account-pool.d.ts +152 -0
- package/lib/types/host/glm-coding-plan/account-pool.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/adapter.d.ts +169 -0
- package/lib/types/host/glm-coding-plan/adapter.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/adopt.d.ts +354 -0
- package/lib/types/host/glm-coding-plan/adopt.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts +99 -0
- package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/client.d.ts +218 -0
- package/lib/types/host/glm-coding-plan/client.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/exchange.d.ts +223 -0
- package/lib/types/host/glm-coding-plan/exchange.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts +312 -0
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/mapper-openai.d.ts +213 -0
- package/lib/types/host/glm-coding-plan/mapper-openai.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts +241 -0
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/oauth.d.ts +211 -0
- package/lib/types/host/glm-coding-plan/oauth.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/routes.d.ts +93 -0
- package/lib/types/host/glm-coding-plan/routes.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/token-store.d.ts +202 -0
- package/lib/types/host/glm-coding-plan/token-store.d.ts.map +1 -0
- package/lib/types/host/glm-coding-plan/types.d.ts +492 -0
- package/lib/types/host/glm-coding-plan/types.d.ts.map +1 -0
- package/lib/types/host/hub-overview.d.ts +32 -0
- package/lib/types/host/hub-overview.d.ts.map +1 -0
- package/lib/types/host/kimi-code/account-pool.d.ts +124 -0
- package/lib/types/host/kimi-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/kimi-code/adapter.d.ts +451 -0
- package/lib/types/host/kimi-code/adapter.d.ts.map +1 -0
- package/lib/types/host/kimi-code/api-key.d.ts +55 -0
- package/lib/types/host/kimi-code/api-key.d.ts.map +1 -0
- package/lib/types/host/kimi-code/cache-affinity.d.ts +112 -0
- package/lib/types/host/kimi-code/cache-affinity.d.ts.map +1 -0
- package/lib/types/host/kimi-code/cache-hint.d.ts +65 -0
- package/lib/types/host/kimi-code/cache-hint.d.ts.map +1 -0
- package/lib/types/host/kimi-code/client.d.ts +306 -0
- package/lib/types/host/kimi-code/client.d.ts.map +1 -0
- package/lib/types/host/kimi-code/mapper.d.ts +913 -0
- package/lib/types/host/kimi-code/mapper.d.ts.map +1 -0
- package/lib/types/host/kimi-code/media-files.d.ts +206 -0
- package/lib/types/host/kimi-code/media-files.d.ts.map +1 -0
- package/lib/types/host/kimi-code/modalities.d.ts +23 -0
- package/lib/types/host/kimi-code/modalities.d.ts.map +1 -0
- package/lib/types/host/kimi-code/model-catalog.d.ts +125 -0
- package/lib/types/host/kimi-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/kimi-code/oauth.d.ts +213 -0
- package/lib/types/host/kimi-code/oauth.d.ts.map +1 -0
- package/lib/types/host/kimi-code/routes.d.ts +52 -0
- package/lib/types/host/kimi-code/routes.d.ts.map +1 -0
- package/lib/types/host/kimi-code/session-cache-state.d.ts +156 -0
- package/lib/types/host/kimi-code/session-cache-state.d.ts.map +1 -0
- package/lib/types/host/kimi-code/token-store.d.ts +182 -0
- package/lib/types/host/kimi-code/token-store.d.ts.map +1 -0
- package/lib/types/host/kimi-code/tool-argument-guard.d.ts +43 -0
- package/lib/types/host/kimi-code/tool-argument-guard.d.ts.map +1 -0
- package/lib/types/host/kimi-code/types.d.ts +458 -0
- package/lib/types/host/kimi-code/types.d.ts.map +1 -0
- package/lib/types/host/kimi-code/warmup-streak.d.ts +66 -0
- package/lib/types/host/kimi-code/warmup-streak.d.ts.map +1 -0
- package/lib/types/host/minimax-code/account-pool.d.ts +309 -0
- package/lib/types/host/minimax-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/minimax-code/adapter.d.ts +207 -0
- package/lib/types/host/minimax-code/adapter.d.ts.map +1 -0
- package/lib/types/host/minimax-code/checkin-gateway.d.ts +145 -0
- package/lib/types/host/minimax-code/checkin-gateway.d.ts.map +1 -0
- package/lib/types/host/minimax-code/checkin.d.ts +207 -0
- package/lib/types/host/minimax-code/checkin.d.ts.map +1 -0
- package/lib/types/host/minimax-code/client.d.ts +242 -0
- package/lib/types/host/minimax-code/client.d.ts.map +1 -0
- package/lib/types/host/minimax-code/files-api.d.ts +117 -0
- package/lib/types/host/minimax-code/files-api.d.ts.map +1 -0
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts +84 -0
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts.map +1 -0
- package/lib/types/host/minimax-code/mapper.d.ts +351 -0
- package/lib/types/host/minimax-code/mapper.d.ts.map +1 -0
- package/lib/types/host/minimax-code/matrix-client.d.ts +168 -0
- package/lib/types/host/minimax-code/matrix-client.d.ts.map +1 -0
- package/lib/types/host/minimax-code/modalities.d.ts +20 -0
- package/lib/types/host/minimax-code/modalities.d.ts.map +1 -0
- package/lib/types/host/minimax-code/model-catalog.d.ts +227 -0
- package/lib/types/host/minimax-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/minimax-code/oauth.d.ts +220 -0
- package/lib/types/host/minimax-code/oauth.d.ts.map +1 -0
- package/lib/types/host/minimax-code/reset-card.d.ts +136 -0
- package/lib/types/host/minimax-code/reset-card.d.ts.map +1 -0
- package/lib/types/host/minimax-code/routes.d.ts +82 -0
- package/lib/types/host/minimax-code/routes.d.ts.map +1 -0
- package/lib/types/host/minimax-code/token-store.d.ts +328 -0
- package/lib/types/host/minimax-code/token-store.d.ts.map +1 -0
- package/lib/types/host/minimax-code/tool-argument-repair.d.ts +72 -0
- package/lib/types/host/minimax-code/tool-argument-repair.d.ts.map +1 -0
- package/lib/types/host/minimax-code/types.d.ts +378 -0
- package/lib/types/host/minimax-code/types.d.ts.map +1 -0
- package/lib/types/host/model-catalog.d.ts +43 -0
- package/lib/types/host/model-catalog.d.ts.map +1 -0
- package/lib/types/host/oauth-service.d.ts +242 -0
- package/lib/types/host/oauth-service.d.ts.map +1 -0
- package/lib/types/host/ollama/account-pool.d.ts +65 -0
- package/lib/types/host/ollama/account-pool.d.ts.map +1 -0
- package/lib/types/host/ollama/adapter.d.ts +90 -0
- package/lib/types/host/ollama/adapter.d.ts.map +1 -0
- package/lib/types/host/ollama/client.d.ts +166 -0
- package/lib/types/host/ollama/client.d.ts.map +1 -0
- package/lib/types/host/ollama/mapper.d.ts +49 -0
- package/lib/types/host/ollama/mapper.d.ts.map +1 -0
- package/lib/types/host/ollama/routes.d.ts +22 -0
- package/lib/types/host/ollama/routes.d.ts.map +1 -0
- package/lib/types/host/ollama/token-store.d.ts +78 -0
- package/lib/types/host/ollama/token-store.d.ts.map +1 -0
- package/lib/types/host/ollama/types.d.ts +247 -0
- package/lib/types/host/ollama/types.d.ts.map +1 -0
- package/lib/types/host/opencode-go/account-pool.d.ts +50 -0
- package/lib/types/host/opencode-go/account-pool.d.ts.map +1 -0
- package/lib/types/host/opencode-go/adapter.d.ts +38 -0
- package/lib/types/host/opencode-go/adapter.d.ts.map +1 -0
- package/lib/types/host/opencode-go/client.d.ts +13 -0
- package/lib/types/host/opencode-go/client.d.ts.map +1 -0
- package/lib/types/host/opencode-go/mapper-gemini.d.ts +13 -0
- package/lib/types/host/opencode-go/mapper-gemini.d.ts.map +1 -0
- package/lib/types/host/opencode-go/mapper-messages.d.ts +8 -0
- package/lib/types/host/opencode-go/mapper-messages.d.ts.map +1 -0
- package/lib/types/host/opencode-go/mapper-responses.d.ts +9 -0
- package/lib/types/host/opencode-go/mapper-responses.d.ts.map +1 -0
- package/lib/types/host/opencode-go/mapper.d.ts +38 -0
- package/lib/types/host/opencode-go/mapper.d.ts.map +1 -0
- package/lib/types/host/opencode-go/model-catalog.d.ts +57 -0
- package/lib/types/host/opencode-go/model-catalog.d.ts.map +1 -0
- package/lib/types/host/opencode-go/native-shared.d.ts +31 -0
- package/lib/types/host/opencode-go/native-shared.d.ts.map +1 -0
- package/lib/types/host/opencode-go/protocol.d.ts +13 -0
- package/lib/types/host/opencode-go/protocol.d.ts.map +1 -0
- package/lib/types/host/opencode-go/routes.d.ts +13 -0
- package/lib/types/host/opencode-go/routes.d.ts.map +1 -0
- package/lib/types/host/opencode-go/token-store.d.ts +29 -0
- package/lib/types/host/opencode-go/token-store.d.ts.map +1 -0
- package/lib/types/host/opencode-go/types.d.ts +20 -0
- package/lib/types/host/opencode-go/types.d.ts.map +1 -0
- package/lib/types/host/opendesign/account-pool.d.ts +54 -0
- package/lib/types/host/opendesign/account-pool.d.ts.map +1 -0
- package/lib/types/host/opendesign/adapter.d.ts +88 -0
- package/lib/types/host/opendesign/adapter.d.ts.map +1 -0
- package/lib/types/host/opendesign/catalog.d.ts +58 -0
- package/lib/types/host/opendesign/catalog.d.ts.map +1 -0
- package/lib/types/host/opendesign/client.d.ts +304 -0
- package/lib/types/host/opendesign/client.d.ts.map +1 -0
- package/lib/types/host/opendesign/line.d.ts +60 -0
- package/lib/types/host/opendesign/line.d.ts.map +1 -0
- package/lib/types/host/opendesign/mapper.d.ts +218 -0
- package/lib/types/host/opendesign/mapper.d.ts.map +1 -0
- package/lib/types/host/opendesign/oauth.d.ts +105 -0
- package/lib/types/host/opendesign/oauth.d.ts.map +1 -0
- package/lib/types/host/opendesign/routes.d.ts +75 -0
- package/lib/types/host/opendesign/routes.d.ts.map +1 -0
- package/lib/types/host/opendesign/token-store.d.ts +241 -0
- package/lib/types/host/opendesign/token-store.d.ts.map +1 -0
- package/lib/types/host/opendesign/types.d.ts +235 -0
- package/lib/types/host/opendesign/types.d.ts.map +1 -0
- package/lib/types/host/platform-token-store.d.ts +3 -0
- package/lib/types/host/platform-token-store.d.ts.map +1 -0
- package/lib/types/host/preferences.d.ts +26 -0
- package/lib/types/host/preferences.d.ts.map +1 -0
- package/lib/types/host/proxy-manager.d.ts +261 -0
- package/lib/types/host/proxy-manager.d.ts.map +1 -0
- package/lib/types/host/qianwen-token-plan/adapter.d.ts +37 -0
- package/lib/types/host/qianwen-token-plan/adapter.d.ts.map +1 -0
- package/lib/types/host/qianwen-token-plan/cache-stats.d.ts +17 -0
- package/lib/types/host/qianwen-token-plan/cache-stats.d.ts.map +1 -0
- package/lib/types/host/qianwen-token-plan/client.d.ts +5 -0
- package/lib/types/host/qianwen-token-plan/client.d.ts.map +1 -0
- package/lib/types/host/qianwen-token-plan/mapper.d.ts +71 -0
- package/lib/types/host/qianwen-token-plan/mapper.d.ts.map +1 -0
- package/lib/types/host/qianwen-token-plan/model-catalog.d.ts +28 -0
- package/lib/types/host/qianwen-token-plan/model-catalog.d.ts.map +1 -0
- package/lib/types/host/qianwen-token-plan/routes.d.ts +12 -0
- package/lib/types/host/qianwen-token-plan/routes.d.ts.map +1 -0
- package/lib/types/host/qianwen-token-plan/token-store.d.ts +56 -0
- package/lib/types/host/qianwen-token-plan/token-store.d.ts.map +1 -0
- package/lib/types/host/qianwen-token-plan/types.d.ts +13 -0
- package/lib/types/host/qianwen-token-plan/types.d.ts.map +1 -0
- package/lib/types/host/qoder/account-pool.d.ts +141 -0
- package/lib/types/host/qoder/account-pool.d.ts.map +1 -0
- package/lib/types/host/qoder/adapter.d.ts +167 -0
- package/lib/types/host/qoder/adapter.d.ts.map +1 -0
- package/lib/types/host/qoder/adopt.d.ts +146 -0
- package/lib/types/host/qoder/adopt.d.ts.map +1 -0
- package/lib/types/host/qoder/client.d.ts +323 -0
- package/lib/types/host/qoder/client.d.ts.map +1 -0
- package/lib/types/host/qoder/cosy.d.ts +173 -0
- package/lib/types/host/qoder/cosy.d.ts.map +1 -0
- package/lib/types/host/qoder/mapper.d.ts +332 -0
- package/lib/types/host/qoder/mapper.d.ts.map +1 -0
- package/lib/types/host/qoder/model-catalog.d.ts +231 -0
- package/lib/types/host/qoder/model-catalog.d.ts.map +1 -0
- package/lib/types/host/qoder/oauth.d.ts +151 -0
- package/lib/types/host/qoder/oauth.d.ts.map +1 -0
- package/lib/types/host/qoder/routes.d.ts +119 -0
- package/lib/types/host/qoder/routes.d.ts.map +1 -0
- package/lib/types/host/qoder/token-store.d.ts +280 -0
- package/lib/types/host/qoder/token-store.d.ts.map +1 -0
- package/lib/types/host/qoder/types.d.ts +262 -0
- package/lib/types/host/qoder/types.d.ts.map +1 -0
- package/lib/types/host/relayone/account-pool.d.ts +129 -0
- package/lib/types/host/relayone/account-pool.d.ts.map +1 -0
- package/lib/types/host/relayone/adapter.d.ts +87 -0
- package/lib/types/host/relayone/adapter.d.ts.map +1 -0
- package/lib/types/host/relayone/catalog-manager.d.ts +45 -0
- package/lib/types/host/relayone/catalog-manager.d.ts.map +1 -0
- package/lib/types/host/relayone/client.d.ts +5 -0
- package/lib/types/host/relayone/client.d.ts.map +1 -0
- package/lib/types/host/relayone/mapper-anthropic.d.ts +49 -0
- package/lib/types/host/relayone/mapper-anthropic.d.ts.map +1 -0
- package/lib/types/host/relayone/mapper-openai.d.ts +36 -0
- package/lib/types/host/relayone/mapper-openai.d.ts.map +1 -0
- package/lib/types/host/relayone/mapper-shared.d.ts +25 -0
- package/lib/types/host/relayone/mapper-shared.d.ts.map +1 -0
- package/lib/types/host/relayone/model-catalog.d.ts +70 -0
- package/lib/types/host/relayone/model-catalog.d.ts.map +1 -0
- package/lib/types/host/relayone/quota.d.ts +29 -0
- package/lib/types/host/relayone/quota.d.ts.map +1 -0
- package/lib/types/host/relayone/routes.d.ts +33 -0
- package/lib/types/host/relayone/routes.d.ts.map +1 -0
- package/lib/types/host/relayone/token-store.d.ts +49 -0
- package/lib/types/host/relayone/token-store.d.ts.map +1 -0
- package/lib/types/host/relayone/types.d.ts +22 -0
- package/lib/types/host/relayone/types.d.ts.map +1 -0
- package/lib/types/host/responses-client.d.ts +125 -0
- package/lib/types/host/responses-client.d.ts.map +1 -0
- package/lib/types/host/responses-mapper.d.ts +133 -0
- package/lib/types/host/responses-mapper.d.ts.map +1 -0
- package/lib/types/host/routes.d.ts +30 -0
- package/lib/types/host/routes.d.ts.map +1 -0
- package/lib/types/host/search-provider-switcher.d.ts +45 -0
- package/lib/types/host/search-provider-switcher.d.ts.map +1 -0
- package/lib/types/host/session-title-guard/index.d.ts +80 -0
- package/lib/types/host/session-title-guard/index.d.ts.map +1 -0
- package/lib/types/host/step-code/account-pool.d.ts +187 -0
- package/lib/types/host/step-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/step-code/adapter.d.ts +156 -0
- package/lib/types/host/step-code/adapter.d.ts.map +1 -0
- package/lib/types/host/step-code/adopt.d.ts +201 -0
- package/lib/types/host/step-code/adopt.d.ts.map +1 -0
- package/lib/types/host/step-code/cache-stats.d.ts +181 -0
- package/lib/types/host/step-code/cache-stats.d.ts.map +1 -0
- package/lib/types/host/step-code/client.d.ts +339 -0
- package/lib/types/host/step-code/client.d.ts.map +1 -0
- package/lib/types/host/step-code/mapper.d.ts +305 -0
- package/lib/types/host/step-code/mapper.d.ts.map +1 -0
- package/lib/types/host/step-code/model-catalog.d.ts +247 -0
- package/lib/types/host/step-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/step-code/oauth.d.ts +265 -0
- package/lib/types/host/step-code/oauth.d.ts.map +1 -0
- package/lib/types/host/step-code/routes.d.ts +129 -0
- package/lib/types/host/step-code/routes.d.ts.map +1 -0
- package/lib/types/host/step-code/token-store.d.ts +325 -0
- package/lib/types/host/step-code/token-store.d.ts.map +1 -0
- package/lib/types/host/step-code/types.d.ts +492 -0
- package/lib/types/host/step-code/types.d.ts.map +1 -0
- package/lib/types/host/token-store-linux.d.ts +20 -0
- package/lib/types/host/token-store-linux.d.ts.map +1 -0
- package/lib/types/host/token-store-macos.d.ts +39 -0
- package/lib/types/host/token-store-macos.d.ts.map +1 -0
- package/lib/types/host/token-store-windows.d.ts +26 -0
- package/lib/types/host/token-store-windows.d.ts.map +1 -0
- package/lib/types/host/token-store.d.ts +81 -0
- package/lib/types/host/token-store.d.ts.map +1 -0
- package/lib/types/host/usage-service.d.ts +109 -0
- package/lib/types/host/usage-service.d.ts.map +1 -0
- package/lib/types/host/web-provider-reconciler.d.ts +34 -0
- package/lib/types/host/web-provider-reconciler.d.ts.map +1 -0
- package/lib/types/host/wire-auth.d.ts +63 -0
- package/lib/types/host/wire-auth.d.ts.map +1 -0
- package/lib/types/host/workbuddy/account-pool.d.ts +389 -0
- package/lib/types/host/workbuddy/account-pool.d.ts.map +1 -0
- package/lib/types/host/workbuddy/adapter.d.ts +248 -0
- package/lib/types/host/workbuddy/adapter.d.ts.map +1 -0
- package/lib/types/host/workbuddy/atrest.d.ts +98 -0
- package/lib/types/host/workbuddy/atrest.d.ts.map +1 -0
- package/lib/types/host/workbuddy/checkin.d.ts +150 -0
- package/lib/types/host/workbuddy/checkin.d.ts.map +1 -0
- package/lib/types/host/workbuddy/client.d.ts +214 -0
- package/lib/types/host/workbuddy/client.d.ts.map +1 -0
- package/lib/types/host/workbuddy/dsml.d.ts +55 -0
- package/lib/types/host/workbuddy/dsml.d.ts.map +1 -0
- package/lib/types/host/workbuddy/guardrails.d.ts +111 -0
- package/lib/types/host/workbuddy/guardrails.d.ts.map +1 -0
- package/lib/types/host/workbuddy/identity.d.ts +71 -0
- package/lib/types/host/workbuddy/identity.d.ts.map +1 -0
- package/lib/types/host/workbuddy/mapper.d.ts +238 -0
- package/lib/types/host/workbuddy/mapper.d.ts.map +1 -0
- package/lib/types/host/workbuddy/model-catalog.d.ts +239 -0
- package/lib/types/host/workbuddy/model-catalog.d.ts.map +1 -0
- package/lib/types/host/workbuddy/oauth.d.ts +47 -0
- package/lib/types/host/workbuddy/oauth.d.ts.map +1 -0
- package/lib/types/host/workbuddy/outbound-identity.d.ts +139 -0
- package/lib/types/host/workbuddy/outbound-identity.d.ts.map +1 -0
- package/lib/types/host/workbuddy/routes.d.ts +56 -0
- package/lib/types/host/workbuddy/routes.d.ts.map +1 -0
- package/lib/types/host/workbuddy/token-store.d.ts +370 -0
- package/lib/types/host/workbuddy/token-store.d.ts.map +1 -0
- package/lib/types/host/workbuddy/types.d.ts +185 -0
- package/lib/types/host/workbuddy/types.d.ts.map +1 -0
- package/lib/types/index.d.ts +248 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/shared/account-pool-contracts.d.ts +99 -0
- package/lib/types/shared/account-pool-contracts.d.ts.map +1 -0
- package/lib/types/shared/claude-api-contracts.d.ts +98 -0
- package/lib/types/shared/claude-api-contracts.d.ts.map +1 -0
- package/lib/types/shared/claude-contracts.d.ts +370 -0
- package/lib/types/shared/claude-contracts.d.ts.map +1 -0
- package/lib/types/shared/cline-pass-contracts.d.ts +234 -0
- package/lib/types/shared/cline-pass-contracts.d.ts.map +1 -0
- package/lib/types/shared/command-code-contracts.d.ts +163 -0
- package/lib/types/shared/command-code-contracts.d.ts.map +1 -0
- package/lib/types/shared/contracts.d.ts +343 -0
- package/lib/types/shared/contracts.d.ts.map +1 -0
- package/lib/types/shared/glm-coding-plan-contracts.d.ts +315 -0
- package/lib/types/shared/glm-coding-plan-contracts.d.ts.map +1 -0
- package/lib/types/shared/hub-contracts.d.ts +37 -0
- package/lib/types/shared/hub-contracts.d.ts.map +1 -0
- package/lib/types/shared/i18n-contracts.d.ts +35 -0
- package/lib/types/shared/i18n-contracts.d.ts.map +1 -0
- package/lib/types/shared/kimi-code-contracts.d.ts +435 -0
- package/lib/types/shared/kimi-code-contracts.d.ts.map +1 -0
- package/lib/types/shared/minimax-code-contracts.d.ts +263 -0
- package/lib/types/shared/minimax-code-contracts.d.ts.map +1 -0
- package/lib/types/shared/model-catalog.d.ts +302 -0
- package/lib/types/shared/model-catalog.d.ts.map +1 -0
- package/lib/types/shared/ollama-contracts.d.ts +73 -0
- package/lib/types/shared/ollama-contracts.d.ts.map +1 -0
- package/lib/types/shared/opencode-go-contracts.d.ts +80 -0
- package/lib/types/shared/opencode-go-contracts.d.ts.map +1 -0
- package/lib/types/shared/opendesign-contracts.d.ts +262 -0
- package/lib/types/shared/opendesign-contracts.d.ts.map +1 -0
- package/lib/types/shared/preferences.d.ts +60 -0
- package/lib/types/shared/preferences.d.ts.map +1 -0
- package/lib/types/shared/qianwen-token-plan-contracts.d.ts +94 -0
- package/lib/types/shared/qianwen-token-plan-contracts.d.ts.map +1 -0
- package/lib/types/shared/qoder-contracts.d.ts +342 -0
- package/lib/types/shared/qoder-contracts.d.ts.map +1 -0
- package/lib/types/shared/relayone-contracts.d.ts +95 -0
- package/lib/types/shared/relayone-contracts.d.ts.map +1 -0
- package/lib/types/shared/step-code-contracts.d.ts +443 -0
- package/lib/types/shared/step-code-contracts.d.ts.map +1 -0
- package/lib/types/shared/workbuddy-contracts.d.ts +531 -0
- package/lib/types/shared/workbuddy-contracts.d.ts.map +1 -0
- package/package.json +147 -4
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import type { GlmAdoptResultDto, GlmAllowanceKind, GlmQuotaWindowKey } from '../../shared/glm-coding-plan-contracts.ts';
|
|
2
|
+
/**
|
|
3
|
+
* GLM(ZCode 账号)线路的客户端命名空间。
|
|
4
|
+
*
|
|
5
|
+
* 与其余每条线路一个命名空间:卡片渲染自己的字典,不复用 hub 挂在
|
|
6
|
+
* `settings.section` 上的那张座位(那张座绑定的是 ChatGPT 的键集,
|
|
7
|
+
* 键名重合的会被渲染成 ChatGPT 的措辞,不重合的会把键名本身打印出来)。
|
|
8
|
+
*/
|
|
9
|
+
export declare const NS_GLM_CODING_PLAN = "dsh-glm-coding-plan";
|
|
10
|
+
export declare const zh: {
|
|
11
|
+
readonly title: "GLM(ZCode 账号)";
|
|
12
|
+
readonly pageDesc: "用 ZCode 账号授权接入 GLM Coding Plan(国区 bigmodel.cn / 国际区 z.ai),管理账号池、套餐额度与模型勾选。两个区域的凭据各自独立,池内可以同时存在两区账号。";
|
|
13
|
+
readonly loading: "加载中...";
|
|
14
|
+
readonly region: "区域";
|
|
15
|
+
readonly regionCn: "国区(bigmodel.cn)";
|
|
16
|
+
readonly regionIntl: "国际区(z.ai)";
|
|
17
|
+
readonly regionHint: "下方账号区的全部登录入口都按这里选定的区域发起:「添加账号」按它打开授权页,「导入本机登录态」与「手工粘贴授权码」也落在它那一区。区域是凭据的属性,一区铸造的 Key 会被另一区拒绝,所以两区账号互不串用。";
|
|
18
|
+
readonly authorizing: "授权中…";
|
|
19
|
+
readonly loginIdle: "尚未开始登录。";
|
|
20
|
+
readonly loginHaveAccounts: "号池里已有 {count} 个账号可用。要再加一个就点上面的「添加账号」。";
|
|
21
|
+
readonly loginPending: "等待浏览器完成登录与授权,然后本卡片会自动继续。";
|
|
22
|
+
readonly loginComplete: "登录完成,账号已加入号池。";
|
|
23
|
+
readonly loginCompletedAt: "完成时间:{time}";
|
|
24
|
+
readonly loginCompleteNoAccount: "这次登录完成了,但号池里已经没有这个账号(可能已被删除)。";
|
|
25
|
+
readonly loginError: "登录失败。";
|
|
26
|
+
readonly loginRetryable: "这是可重试的失败,可以直接重新发起一次登录。";
|
|
27
|
+
readonly loginNotRetryable: "这次失败不会自己好:请检查区域是否选对、网络是否可达,然后重新发起登录。";
|
|
28
|
+
readonly authorizeUrl: "授权页面";
|
|
29
|
+
readonly openAuthorizeUrl: "打开授权页面";
|
|
30
|
+
readonly pollEvery: "每 {seconds} 秒查询一次登录结果。";
|
|
31
|
+
readonly loginExpiresAt: "本次授权最长可用到 {time},过期后需要重新发起。";
|
|
32
|
+
readonly progress: "进度";
|
|
33
|
+
readonly restartLogin: "重新发起登录";
|
|
34
|
+
readonly cancelLogin: "取消登录";
|
|
35
|
+
readonly cancelLoginBusy: "取消中…";
|
|
36
|
+
readonly manualPasteSection: "手工粘贴授权码";
|
|
37
|
+
readonly manualPasteHint: "浏览器回调被拦截、或授权页拿不到 code 时,把 ZCode 回调里的授权码粘贴到下面即可完成兑换——这条兜底通道是回调走不通时唯一能完成登录的地方,所以它一直在,只是没有进行中的流程时默认收起,流程一开始(进行中或失败)就自动展开。";
|
|
38
|
+
readonly manualPastePlaceholder: "粘贴授权码(code=… 或整段回调地址)";
|
|
39
|
+
readonly manualPasteSubmit: "提交授权码";
|
|
40
|
+
readonly manualPasteSubmitting: "兑换中…";
|
|
41
|
+
readonly manualPasteEmpty: "请先粘贴授权码。";
|
|
42
|
+
readonly adopt: "导入本机 ZCode 登录态";
|
|
43
|
+
readonly adopting: "导入中…";
|
|
44
|
+
readonly adoptAdopted: "已导入本机 ZCode 的登录态({region}),无需重新登录。";
|
|
45
|
+
readonly adoptNoAttempt: "本机没有可导入的 ZCode 登录态。";
|
|
46
|
+
readonly adoptNoCredentialsFile: "没有找到 ZCode 的凭据文件(默认 ~/.zcode/v2/credentials.json)。装过 ZCode 客户端并登录过一次才会有这个文件。";
|
|
47
|
+
readonly adoptSecretUnavailable: "找到了凭据文件,但本机设置了 ZCODE_CREDENTIAL_SECRET,本插件无法推导解密密钥,因此读不出里面的登录态。";
|
|
48
|
+
readonly adoptDecryptFailed: "凭据解密失败,文件可能已被改动或损坏。";
|
|
49
|
+
readonly adoptTokenExpired: "ZCode 的登录态已经过期,回 ZCode 客户端重新登录后再导入。";
|
|
50
|
+
readonly adoptExchangeFailed: "兑换 Coding Plan Key 失败:这个账号可能没有 Coding Plan 套餐,或没有建 Key 的权限。";
|
|
51
|
+
readonly adoptNotAZcodeLogin: "凭据文件里没有本线路认识的 ZCode 登录态(该文件也可能属于别的工具)。";
|
|
52
|
+
readonly adoptFallback: "导入只是省一次登录的快捷路径,失败不影响使用——请改用浏览器登录或手工粘贴授权码。";
|
|
53
|
+
readonly adoptedBadge: "导入的登录态";
|
|
54
|
+
readonly connection: "连接";
|
|
55
|
+
readonly testConnection: "测试连接";
|
|
56
|
+
readonly testingConnection: "测试中...";
|
|
57
|
+
readonly testSuccess: "连通正常";
|
|
58
|
+
readonly testSuccessAccount: "连通正常(账号 {account})";
|
|
59
|
+
readonly testSuccessModel: "连通正常({model})";
|
|
60
|
+
readonly testFailed: "连接测试失败";
|
|
61
|
+
readonly testFailedDetail: "连接测试失败:{detail}";
|
|
62
|
+
readonly testLatency: "往返 {ms} 毫秒";
|
|
63
|
+
readonly routeOwned: "本插件正在服务该模型路由。";
|
|
64
|
+
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重新加载。";
|
|
65
|
+
readonly modelsSection: "模型";
|
|
66
|
+
readonly modelsHint: "勾选后模型才会出现在对话页的模型选择列表中;目录与能力说明来自本线路的随包目录,**不从模型名推断**(glm-5.3 与 glm-5.3-flash 的图片输入、glm-5.2 与 glm-5.3 的思考档位都不同)。目录按账号所在区域过滤,跨区调用会被上游拒绝。";
|
|
67
|
+
readonly modelsUnavailable: "暂无可显示的模型。";
|
|
68
|
+
readonly refreshCatalog: "刷新模型目录";
|
|
69
|
+
readonly refreshingCatalog: "刷新中...";
|
|
70
|
+
readonly dismiss: "知道了";
|
|
71
|
+
readonly selectAll: "全选";
|
|
72
|
+
readonly unselectAll: "全不选";
|
|
73
|
+
readonly modelChecklistCount: "{count}/{total}";
|
|
74
|
+
readonly contextWindowSection: "模型上下文窗口";
|
|
75
|
+
readonly contextWindowHint: "默认值来自随包目录(每个模型的真实上下文上限);可覆盖为自定义容量,该值用于 DSH 的压缩与溢出判断,可输入 1M、512K、200K 等容量。";
|
|
76
|
+
readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
|
|
77
|
+
readonly contextWindowReset: "恢复默认";
|
|
78
|
+
readonly contextWindowResetAll: "全部恢复默认";
|
|
79
|
+
readonly tokens: "tokens";
|
|
80
|
+
readonly save: "保存";
|
|
81
|
+
readonly saving: "保存中...";
|
|
82
|
+
readonly saved: "已保存";
|
|
83
|
+
readonly invalidCapacity: "容量格式无效:{value}";
|
|
84
|
+
readonly quotaSection: "用量与配额";
|
|
85
|
+
readonly quotaDesc: "数据来自 Coding Plan 的配额接口,页面可见时最多每 60 秒刷新一次。";
|
|
86
|
+
readonly quotaRefresh: "刷新用量";
|
|
87
|
+
readonly quotaRefreshing: "刷新中...";
|
|
88
|
+
readonly quotaSignedOut: "未登录,先在上方完成登录授权。";
|
|
89
|
+
readonly quotaEmpty: "暂无配额数据,点击「刷新用量」重试。";
|
|
90
|
+
readonly quotaPlan: "套餐";
|
|
91
|
+
readonly quotaPlanLevel: "档位";
|
|
92
|
+
readonly quotaRenews: "续费时间";
|
|
93
|
+
readonly quotaReadAt: "读取时间";
|
|
94
|
+
readonly quotaSources: "数据源";
|
|
95
|
+
readonly quotaRefreshingNote: "正在后台刷新配额,下方是上一次读到的数字。";
|
|
96
|
+
readonly quotaErrorLabel: "配额读取失败";
|
|
97
|
+
readonly quotaAllowance: "额度类型";
|
|
98
|
+
readonly quotaAllowancePlan: "付费套餐";
|
|
99
|
+
readonly quotaAllowanceFreeTrial: "免费体验额度";
|
|
100
|
+
readonly quotaAllowanceUnknown: "未判定";
|
|
101
|
+
readonly quotaAllowanceHint: "登录时探活认定的额度来源。「免费体验额度」指新用户注册后自动获得、首次使用起 5 天内每天 800 万 token 的体验额度。";
|
|
102
|
+
readonly accountPool: string;
|
|
103
|
+
readonly addAccount: string;
|
|
104
|
+
readonly accountCount: string;
|
|
105
|
+
readonly primaryAccount: string;
|
|
106
|
+
readonly activeAccount: string;
|
|
107
|
+
readonly setPrimary: string;
|
|
108
|
+
readonly deleteAccount: string;
|
|
109
|
+
readonly cooling: string;
|
|
110
|
+
readonly cooldownLeft: string;
|
|
111
|
+
readonly cooldownRemaining: string;
|
|
112
|
+
readonly cooldownRemainingSeconds: string;
|
|
113
|
+
readonly clearCooldown: string;
|
|
114
|
+
readonly needsRelogin: string;
|
|
115
|
+
readonly relogin: string;
|
|
116
|
+
readonly rotationStrategy: string;
|
|
117
|
+
readonly strategySequential: string;
|
|
118
|
+
readonly strategyRoundRobin: string;
|
|
119
|
+
readonly strategySticky: string;
|
|
120
|
+
readonly noAccounts: string;
|
|
121
|
+
readonly email: string;
|
|
122
|
+
readonly expires: string;
|
|
123
|
+
readonly lastUsed: string;
|
|
124
|
+
readonly accountId: string;
|
|
125
|
+
readonly accountQuota: string;
|
|
126
|
+
readonly quotaNone: string;
|
|
127
|
+
readonly quotaSnapshot: string;
|
|
128
|
+
readonly quotaResets: string;
|
|
129
|
+
readonly quotaExhausted: string;
|
|
130
|
+
readonly quotaWindow: string;
|
|
131
|
+
readonly quotaUsed: string;
|
|
132
|
+
readonly quotaFactsScope: string;
|
|
133
|
+
readonly composerLabel: string;
|
|
134
|
+
};
|
|
135
|
+
export declare const en: Record<keyof typeof zh, string>;
|
|
136
|
+
export declare const dictionaries: {
|
|
137
|
+
zh: {
|
|
138
|
+
readonly title: "GLM(ZCode 账号)";
|
|
139
|
+
readonly pageDesc: "用 ZCode 账号授权接入 GLM Coding Plan(国区 bigmodel.cn / 国际区 z.ai),管理账号池、套餐额度与模型勾选。两个区域的凭据各自独立,池内可以同时存在两区账号。";
|
|
140
|
+
readonly loading: "加载中...";
|
|
141
|
+
readonly region: "区域";
|
|
142
|
+
readonly regionCn: "国区(bigmodel.cn)";
|
|
143
|
+
readonly regionIntl: "国际区(z.ai)";
|
|
144
|
+
readonly regionHint: "下方账号区的全部登录入口都按这里选定的区域发起:「添加账号」按它打开授权页,「导入本机登录态」与「手工粘贴授权码」也落在它那一区。区域是凭据的属性,一区铸造的 Key 会被另一区拒绝,所以两区账号互不串用。";
|
|
145
|
+
readonly authorizing: "授权中…";
|
|
146
|
+
readonly loginIdle: "尚未开始登录。";
|
|
147
|
+
readonly loginHaveAccounts: "号池里已有 {count} 个账号可用。要再加一个就点上面的「添加账号」。";
|
|
148
|
+
readonly loginPending: "等待浏览器完成登录与授权,然后本卡片会自动继续。";
|
|
149
|
+
readonly loginComplete: "登录完成,账号已加入号池。";
|
|
150
|
+
readonly loginCompletedAt: "完成时间:{time}";
|
|
151
|
+
readonly loginCompleteNoAccount: "这次登录完成了,但号池里已经没有这个账号(可能已被删除)。";
|
|
152
|
+
readonly loginError: "登录失败。";
|
|
153
|
+
readonly loginRetryable: "这是可重试的失败,可以直接重新发起一次登录。";
|
|
154
|
+
readonly loginNotRetryable: "这次失败不会自己好:请检查区域是否选对、网络是否可达,然后重新发起登录。";
|
|
155
|
+
readonly authorizeUrl: "授权页面";
|
|
156
|
+
readonly openAuthorizeUrl: "打开授权页面";
|
|
157
|
+
readonly pollEvery: "每 {seconds} 秒查询一次登录结果。";
|
|
158
|
+
readonly loginExpiresAt: "本次授权最长可用到 {time},过期后需要重新发起。";
|
|
159
|
+
readonly progress: "进度";
|
|
160
|
+
readonly restartLogin: "重新发起登录";
|
|
161
|
+
readonly cancelLogin: "取消登录";
|
|
162
|
+
readonly cancelLoginBusy: "取消中…";
|
|
163
|
+
readonly manualPasteSection: "手工粘贴授权码";
|
|
164
|
+
readonly manualPasteHint: "浏览器回调被拦截、或授权页拿不到 code 时,把 ZCode 回调里的授权码粘贴到下面即可完成兑换——这条兜底通道是回调走不通时唯一能完成登录的地方,所以它一直在,只是没有进行中的流程时默认收起,流程一开始(进行中或失败)就自动展开。";
|
|
165
|
+
readonly manualPastePlaceholder: "粘贴授权码(code=… 或整段回调地址)";
|
|
166
|
+
readonly manualPasteSubmit: "提交授权码";
|
|
167
|
+
readonly manualPasteSubmitting: "兑换中…";
|
|
168
|
+
readonly manualPasteEmpty: "请先粘贴授权码。";
|
|
169
|
+
readonly adopt: "导入本机 ZCode 登录态";
|
|
170
|
+
readonly adopting: "导入中…";
|
|
171
|
+
readonly adoptAdopted: "已导入本机 ZCode 的登录态({region}),无需重新登录。";
|
|
172
|
+
readonly adoptNoAttempt: "本机没有可导入的 ZCode 登录态。";
|
|
173
|
+
readonly adoptNoCredentialsFile: "没有找到 ZCode 的凭据文件(默认 ~/.zcode/v2/credentials.json)。装过 ZCode 客户端并登录过一次才会有这个文件。";
|
|
174
|
+
readonly adoptSecretUnavailable: "找到了凭据文件,但本机设置了 ZCODE_CREDENTIAL_SECRET,本插件无法推导解密密钥,因此读不出里面的登录态。";
|
|
175
|
+
readonly adoptDecryptFailed: "凭据解密失败,文件可能已被改动或损坏。";
|
|
176
|
+
readonly adoptTokenExpired: "ZCode 的登录态已经过期,回 ZCode 客户端重新登录后再导入。";
|
|
177
|
+
readonly adoptExchangeFailed: "兑换 Coding Plan Key 失败:这个账号可能没有 Coding Plan 套餐,或没有建 Key 的权限。";
|
|
178
|
+
readonly adoptNotAZcodeLogin: "凭据文件里没有本线路认识的 ZCode 登录态(该文件也可能属于别的工具)。";
|
|
179
|
+
readonly adoptFallback: "导入只是省一次登录的快捷路径,失败不影响使用——请改用浏览器登录或手工粘贴授权码。";
|
|
180
|
+
readonly adoptedBadge: "导入的登录态";
|
|
181
|
+
readonly connection: "连接";
|
|
182
|
+
readonly testConnection: "测试连接";
|
|
183
|
+
readonly testingConnection: "测试中...";
|
|
184
|
+
readonly testSuccess: "连通正常";
|
|
185
|
+
readonly testSuccessAccount: "连通正常(账号 {account})";
|
|
186
|
+
readonly testSuccessModel: "连通正常({model})";
|
|
187
|
+
readonly testFailed: "连接测试失败";
|
|
188
|
+
readonly testFailedDetail: "连接测试失败:{detail}";
|
|
189
|
+
readonly testLatency: "往返 {ms} 毫秒";
|
|
190
|
+
readonly routeOwned: "本插件正在服务该模型路由。";
|
|
191
|
+
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重新加载。";
|
|
192
|
+
readonly modelsSection: "模型";
|
|
193
|
+
readonly modelsHint: "勾选后模型才会出现在对话页的模型选择列表中;目录与能力说明来自本线路的随包目录,**不从模型名推断**(glm-5.3 与 glm-5.3-flash 的图片输入、glm-5.2 与 glm-5.3 的思考档位都不同)。目录按账号所在区域过滤,跨区调用会被上游拒绝。";
|
|
194
|
+
readonly modelsUnavailable: "暂无可显示的模型。";
|
|
195
|
+
readonly refreshCatalog: "刷新模型目录";
|
|
196
|
+
readonly refreshingCatalog: "刷新中...";
|
|
197
|
+
readonly dismiss: "知道了";
|
|
198
|
+
readonly selectAll: "全选";
|
|
199
|
+
readonly unselectAll: "全不选";
|
|
200
|
+
readonly modelChecklistCount: "{count}/{total}";
|
|
201
|
+
readonly contextWindowSection: "模型上下文窗口";
|
|
202
|
+
readonly contextWindowHint: "默认值来自随包目录(每个模型的真实上下文上限);可覆盖为自定义容量,该值用于 DSH 的压缩与溢出判断,可输入 1M、512K、200K 等容量。";
|
|
203
|
+
readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
|
|
204
|
+
readonly contextWindowReset: "恢复默认";
|
|
205
|
+
readonly contextWindowResetAll: "全部恢复默认";
|
|
206
|
+
readonly tokens: "tokens";
|
|
207
|
+
readonly save: "保存";
|
|
208
|
+
readonly saving: "保存中...";
|
|
209
|
+
readonly saved: "已保存";
|
|
210
|
+
readonly invalidCapacity: "容量格式无效:{value}";
|
|
211
|
+
readonly quotaSection: "用量与配额";
|
|
212
|
+
readonly quotaDesc: "数据来自 Coding Plan 的配额接口,页面可见时最多每 60 秒刷新一次。";
|
|
213
|
+
readonly quotaRefresh: "刷新用量";
|
|
214
|
+
readonly quotaRefreshing: "刷新中...";
|
|
215
|
+
readonly quotaSignedOut: "未登录,先在上方完成登录授权。";
|
|
216
|
+
readonly quotaEmpty: "暂无配额数据,点击「刷新用量」重试。";
|
|
217
|
+
readonly quotaPlan: "套餐";
|
|
218
|
+
readonly quotaPlanLevel: "档位";
|
|
219
|
+
readonly quotaRenews: "续费时间";
|
|
220
|
+
readonly quotaReadAt: "读取时间";
|
|
221
|
+
readonly quotaSources: "数据源";
|
|
222
|
+
readonly quotaRefreshingNote: "正在后台刷新配额,下方是上一次读到的数字。";
|
|
223
|
+
readonly quotaErrorLabel: "配额读取失败";
|
|
224
|
+
readonly quotaAllowance: "额度类型";
|
|
225
|
+
readonly quotaAllowancePlan: "付费套餐";
|
|
226
|
+
readonly quotaAllowanceFreeTrial: "免费体验额度";
|
|
227
|
+
readonly quotaAllowanceUnknown: "未判定";
|
|
228
|
+
readonly quotaAllowanceHint: "登录时探活认定的额度来源。「免费体验额度」指新用户注册后自动获得、首次使用起 5 天内每天 800 万 token 的体验额度。";
|
|
229
|
+
readonly accountPool: string;
|
|
230
|
+
readonly addAccount: string;
|
|
231
|
+
readonly accountCount: string;
|
|
232
|
+
readonly primaryAccount: string;
|
|
233
|
+
readonly activeAccount: string;
|
|
234
|
+
readonly setPrimary: string;
|
|
235
|
+
readonly deleteAccount: string;
|
|
236
|
+
readonly cooling: string;
|
|
237
|
+
readonly cooldownLeft: string;
|
|
238
|
+
readonly cooldownRemaining: string;
|
|
239
|
+
readonly cooldownRemainingSeconds: string;
|
|
240
|
+
readonly clearCooldown: string;
|
|
241
|
+
readonly needsRelogin: string;
|
|
242
|
+
readonly relogin: string;
|
|
243
|
+
readonly rotationStrategy: string;
|
|
244
|
+
readonly strategySequential: string;
|
|
245
|
+
readonly strategyRoundRobin: string;
|
|
246
|
+
readonly strategySticky: string;
|
|
247
|
+
readonly noAccounts: string;
|
|
248
|
+
readonly email: string;
|
|
249
|
+
readonly expires: string;
|
|
250
|
+
readonly lastUsed: string;
|
|
251
|
+
readonly accountId: string;
|
|
252
|
+
readonly accountQuota: string;
|
|
253
|
+
readonly quotaNone: string;
|
|
254
|
+
readonly quotaSnapshot: string;
|
|
255
|
+
readonly quotaResets: string;
|
|
256
|
+
readonly quotaExhausted: string;
|
|
257
|
+
readonly quotaWindow: string;
|
|
258
|
+
readonly quotaUsed: string;
|
|
259
|
+
readonly quotaFactsScope: string;
|
|
260
|
+
readonly composerLabel: string;
|
|
261
|
+
};
|
|
262
|
+
'zh-CN': {
|
|
263
|
+
readonly title: "GLM(ZCode 账号)";
|
|
264
|
+
readonly pageDesc: "用 ZCode 账号授权接入 GLM Coding Plan(国区 bigmodel.cn / 国际区 z.ai),管理账号池、套餐额度与模型勾选。两个区域的凭据各自独立,池内可以同时存在两区账号。";
|
|
265
|
+
readonly loading: "加载中...";
|
|
266
|
+
readonly region: "区域";
|
|
267
|
+
readonly regionCn: "国区(bigmodel.cn)";
|
|
268
|
+
readonly regionIntl: "国际区(z.ai)";
|
|
269
|
+
readonly regionHint: "下方账号区的全部登录入口都按这里选定的区域发起:「添加账号」按它打开授权页,「导入本机登录态」与「手工粘贴授权码」也落在它那一区。区域是凭据的属性,一区铸造的 Key 会被另一区拒绝,所以两区账号互不串用。";
|
|
270
|
+
readonly authorizing: "授权中…";
|
|
271
|
+
readonly loginIdle: "尚未开始登录。";
|
|
272
|
+
readonly loginHaveAccounts: "号池里已有 {count} 个账号可用。要再加一个就点上面的「添加账号」。";
|
|
273
|
+
readonly loginPending: "等待浏览器完成登录与授权,然后本卡片会自动继续。";
|
|
274
|
+
readonly loginComplete: "登录完成,账号已加入号池。";
|
|
275
|
+
readonly loginCompletedAt: "完成时间:{time}";
|
|
276
|
+
readonly loginCompleteNoAccount: "这次登录完成了,但号池里已经没有这个账号(可能已被删除)。";
|
|
277
|
+
readonly loginError: "登录失败。";
|
|
278
|
+
readonly loginRetryable: "这是可重试的失败,可以直接重新发起一次登录。";
|
|
279
|
+
readonly loginNotRetryable: "这次失败不会自己好:请检查区域是否选对、网络是否可达,然后重新发起登录。";
|
|
280
|
+
readonly authorizeUrl: "授权页面";
|
|
281
|
+
readonly openAuthorizeUrl: "打开授权页面";
|
|
282
|
+
readonly pollEvery: "每 {seconds} 秒查询一次登录结果。";
|
|
283
|
+
readonly loginExpiresAt: "本次授权最长可用到 {time},过期后需要重新发起。";
|
|
284
|
+
readonly progress: "进度";
|
|
285
|
+
readonly restartLogin: "重新发起登录";
|
|
286
|
+
readonly cancelLogin: "取消登录";
|
|
287
|
+
readonly cancelLoginBusy: "取消中…";
|
|
288
|
+
readonly manualPasteSection: "手工粘贴授权码";
|
|
289
|
+
readonly manualPasteHint: "浏览器回调被拦截、或授权页拿不到 code 时,把 ZCode 回调里的授权码粘贴到下面即可完成兑换——这条兜底通道是回调走不通时唯一能完成登录的地方,所以它一直在,只是没有进行中的流程时默认收起,流程一开始(进行中或失败)就自动展开。";
|
|
290
|
+
readonly manualPastePlaceholder: "粘贴授权码(code=… 或整段回调地址)";
|
|
291
|
+
readonly manualPasteSubmit: "提交授权码";
|
|
292
|
+
readonly manualPasteSubmitting: "兑换中…";
|
|
293
|
+
readonly manualPasteEmpty: "请先粘贴授权码。";
|
|
294
|
+
readonly adopt: "导入本机 ZCode 登录态";
|
|
295
|
+
readonly adopting: "导入中…";
|
|
296
|
+
readonly adoptAdopted: "已导入本机 ZCode 的登录态({region}),无需重新登录。";
|
|
297
|
+
readonly adoptNoAttempt: "本机没有可导入的 ZCode 登录态。";
|
|
298
|
+
readonly adoptNoCredentialsFile: "没有找到 ZCode 的凭据文件(默认 ~/.zcode/v2/credentials.json)。装过 ZCode 客户端并登录过一次才会有这个文件。";
|
|
299
|
+
readonly adoptSecretUnavailable: "找到了凭据文件,但本机设置了 ZCODE_CREDENTIAL_SECRET,本插件无法推导解密密钥,因此读不出里面的登录态。";
|
|
300
|
+
readonly adoptDecryptFailed: "凭据解密失败,文件可能已被改动或损坏。";
|
|
301
|
+
readonly adoptTokenExpired: "ZCode 的登录态已经过期,回 ZCode 客户端重新登录后再导入。";
|
|
302
|
+
readonly adoptExchangeFailed: "兑换 Coding Plan Key 失败:这个账号可能没有 Coding Plan 套餐,或没有建 Key 的权限。";
|
|
303
|
+
readonly adoptNotAZcodeLogin: "凭据文件里没有本线路认识的 ZCode 登录态(该文件也可能属于别的工具)。";
|
|
304
|
+
readonly adoptFallback: "导入只是省一次登录的快捷路径,失败不影响使用——请改用浏览器登录或手工粘贴授权码。";
|
|
305
|
+
readonly adoptedBadge: "导入的登录态";
|
|
306
|
+
readonly connection: "连接";
|
|
307
|
+
readonly testConnection: "测试连接";
|
|
308
|
+
readonly testingConnection: "测试中...";
|
|
309
|
+
readonly testSuccess: "连通正常";
|
|
310
|
+
readonly testSuccessAccount: "连通正常(账号 {account})";
|
|
311
|
+
readonly testSuccessModel: "连通正常({model})";
|
|
312
|
+
readonly testFailed: "连接测试失败";
|
|
313
|
+
readonly testFailedDetail: "连接测试失败:{detail}";
|
|
314
|
+
readonly testLatency: "往返 {ms} 毫秒";
|
|
315
|
+
readonly routeOwned: "本插件正在服务该模型路由。";
|
|
316
|
+
readonly routeConflict: "模型路由已被其他 Provider 占用:{detail}。请在 DSH 设置中移除重复的 Provider 配置后重新加载。";
|
|
317
|
+
readonly modelsSection: "模型";
|
|
318
|
+
readonly modelsHint: "勾选后模型才会出现在对话页的模型选择列表中;目录与能力说明来自本线路的随包目录,**不从模型名推断**(glm-5.3 与 glm-5.3-flash 的图片输入、glm-5.2 与 glm-5.3 的思考档位都不同)。目录按账号所在区域过滤,跨区调用会被上游拒绝。";
|
|
319
|
+
readonly modelsUnavailable: "暂无可显示的模型。";
|
|
320
|
+
readonly refreshCatalog: "刷新模型目录";
|
|
321
|
+
readonly refreshingCatalog: "刷新中...";
|
|
322
|
+
readonly dismiss: "知道了";
|
|
323
|
+
readonly selectAll: "全选";
|
|
324
|
+
readonly unselectAll: "全不选";
|
|
325
|
+
readonly modelChecklistCount: "{count}/{total}";
|
|
326
|
+
readonly contextWindowSection: "模型上下文窗口";
|
|
327
|
+
readonly contextWindowHint: "默认值来自随包目录(每个模型的真实上下文上限);可覆盖为自定义容量,该值用于 DSH 的压缩与溢出判断,可输入 1M、512K、200K 等容量。";
|
|
328
|
+
readonly contextWindowNoneEnabled: "还没有勾选任何模型。在上方勾选后,这里会出现该模型的上下文窗口设置。";
|
|
329
|
+
readonly contextWindowReset: "恢复默认";
|
|
330
|
+
readonly contextWindowResetAll: "全部恢复默认";
|
|
331
|
+
readonly tokens: "tokens";
|
|
332
|
+
readonly save: "保存";
|
|
333
|
+
readonly saving: "保存中...";
|
|
334
|
+
readonly saved: "已保存";
|
|
335
|
+
readonly invalidCapacity: "容量格式无效:{value}";
|
|
336
|
+
readonly quotaSection: "用量与配额";
|
|
337
|
+
readonly quotaDesc: "数据来自 Coding Plan 的配额接口,页面可见时最多每 60 秒刷新一次。";
|
|
338
|
+
readonly quotaRefresh: "刷新用量";
|
|
339
|
+
readonly quotaRefreshing: "刷新中...";
|
|
340
|
+
readonly quotaSignedOut: "未登录,先在上方完成登录授权。";
|
|
341
|
+
readonly quotaEmpty: "暂无配额数据,点击「刷新用量」重试。";
|
|
342
|
+
readonly quotaPlan: "套餐";
|
|
343
|
+
readonly quotaPlanLevel: "档位";
|
|
344
|
+
readonly quotaRenews: "续费时间";
|
|
345
|
+
readonly quotaReadAt: "读取时间";
|
|
346
|
+
readonly quotaSources: "数据源";
|
|
347
|
+
readonly quotaRefreshingNote: "正在后台刷新配额,下方是上一次读到的数字。";
|
|
348
|
+
readonly quotaErrorLabel: "配额读取失败";
|
|
349
|
+
readonly quotaAllowance: "额度类型";
|
|
350
|
+
readonly quotaAllowancePlan: "付费套餐";
|
|
351
|
+
readonly quotaAllowanceFreeTrial: "免费体验额度";
|
|
352
|
+
readonly quotaAllowanceUnknown: "未判定";
|
|
353
|
+
readonly quotaAllowanceHint: "登录时探活认定的额度来源。「免费体验额度」指新用户注册后自动获得、首次使用起 5 天内每天 800 万 token 的体验额度。";
|
|
354
|
+
readonly accountPool: string;
|
|
355
|
+
readonly addAccount: string;
|
|
356
|
+
readonly accountCount: string;
|
|
357
|
+
readonly primaryAccount: string;
|
|
358
|
+
readonly activeAccount: string;
|
|
359
|
+
readonly setPrimary: string;
|
|
360
|
+
readonly deleteAccount: string;
|
|
361
|
+
readonly cooling: string;
|
|
362
|
+
readonly cooldownLeft: string;
|
|
363
|
+
readonly cooldownRemaining: string;
|
|
364
|
+
readonly cooldownRemainingSeconds: string;
|
|
365
|
+
readonly clearCooldown: string;
|
|
366
|
+
readonly needsRelogin: string;
|
|
367
|
+
readonly relogin: string;
|
|
368
|
+
readonly rotationStrategy: string;
|
|
369
|
+
readonly strategySequential: string;
|
|
370
|
+
readonly strategyRoundRobin: string;
|
|
371
|
+
readonly strategySticky: string;
|
|
372
|
+
readonly noAccounts: string;
|
|
373
|
+
readonly email: string;
|
|
374
|
+
readonly expires: string;
|
|
375
|
+
readonly lastUsed: string;
|
|
376
|
+
readonly accountId: string;
|
|
377
|
+
readonly accountQuota: string;
|
|
378
|
+
readonly quotaNone: string;
|
|
379
|
+
readonly quotaSnapshot: string;
|
|
380
|
+
readonly quotaResets: string;
|
|
381
|
+
readonly quotaExhausted: string;
|
|
382
|
+
readonly quotaWindow: string;
|
|
383
|
+
readonly quotaUsed: string;
|
|
384
|
+
readonly quotaFactsScope: string;
|
|
385
|
+
readonly composerLabel: string;
|
|
386
|
+
};
|
|
387
|
+
en: Record<"quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "expires" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "save" | "quotaSignedOut" | "modelChecklistCount" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "progress" | "pageDesc" | "adoptedBadge" | "openAuthorizeUrl" | "authorizeUrl" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "routeOwned" | "routeConflict" | "modelsSection" | "refreshCatalog" | "refreshingCatalog" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saving" | "quotaSection" | "quotaDesc" | "quotaEmpty" | "region" | "regionCn" | "regionIntl" | "regionHint" | "authorizing" | "loginIdle" | "loginHaveAccounts" | "loginPending" | "loginCompletedAt" | "loginCompleteNoAccount" | "loginError" | "loginRetryable" | "loginNotRetryable" | "pollEvery" | "loginExpiresAt" | "restartLogin" | "cancelLogin" | "cancelLoginBusy" | "manualPasteEmpty" | "adopt" | "adopting" | "adoptAdopted" | "adoptNoAttempt" | "adoptNoCredentialsFile" | "adoptFallback" | "testSuccessAccount" | "testSuccessModel" | "testFailedDetail" | "modelsUnavailable" | "dismiss" | "saved" | "invalidCapacity" | "quotaRefresh" | "quotaPlan" | "quotaRenews" | "quotaReadAt" | "quotaSources" | "quotaRefreshingNote" | "quotaErrorLabel" | "adoptSecretUnavailable" | "adoptDecryptFailed" | "adoptTokenExpired" | "adoptExchangeFailed" | "adoptNotAZcodeLogin" | "quotaPlanLevel" | "quotaAllowance" | "quotaAllowancePlan" | "quotaAllowanceFreeTrial" | "quotaAllowanceUnknown" | "quotaAllowanceHint", string>;
|
|
388
|
+
'en-US': Record<"quotaRefreshing" | "rotationStrategy" | "accountId" | "relogin" | "tokens" | "title" | "expires" | "loading" | "connection" | "testConnection" | "selectAll" | "unselectAll" | "modelsHint" | "contextWindowReset" | "contextWindowResetAll" | "save" | "quotaSignedOut" | "modelChecklistCount" | "accountPool" | "addAccount" | "accountCount" | "primaryAccount" | "activeAccount" | "setPrimary" | "deleteAccount" | "cooling" | "cooldownLeft" | "cooldownRemaining" | "cooldownRemainingSeconds" | "clearCooldown" | "needsRelogin" | "strategySequential" | "strategyRoundRobin" | "strategySticky" | "noAccounts" | "email" | "lastUsed" | "accountQuota" | "quotaNone" | "quotaSnapshot" | "quotaResets" | "quotaExhausted" | "quotaWindow" | "quotaUsed" | "quotaFactsScope" | "composerLabel" | "progress" | "pageDesc" | "adoptedBadge" | "openAuthorizeUrl" | "authorizeUrl" | "loginComplete" | "manualPasteSection" | "manualPasteHint" | "manualPastePlaceholder" | "manualPasteSubmit" | "manualPasteSubmitting" | "testingConnection" | "testSuccess" | "testLatency" | "testFailed" | "routeOwned" | "routeConflict" | "modelsSection" | "refreshCatalog" | "refreshingCatalog" | "contextWindowSection" | "contextWindowHint" | "contextWindowNoneEnabled" | "saving" | "quotaSection" | "quotaDesc" | "quotaEmpty" | "region" | "regionCn" | "regionIntl" | "regionHint" | "authorizing" | "loginIdle" | "loginHaveAccounts" | "loginPending" | "loginCompletedAt" | "loginCompleteNoAccount" | "loginError" | "loginRetryable" | "loginNotRetryable" | "pollEvery" | "loginExpiresAt" | "restartLogin" | "cancelLogin" | "cancelLoginBusy" | "manualPasteEmpty" | "adopt" | "adopting" | "adoptAdopted" | "adoptNoAttempt" | "adoptNoCredentialsFile" | "adoptFallback" | "testSuccessAccount" | "testSuccessModel" | "testFailedDetail" | "modelsUnavailable" | "dismiss" | "saved" | "invalidCapacity" | "quotaRefresh" | "quotaPlan" | "quotaRenews" | "quotaReadAt" | "quotaSources" | "quotaRefreshingNote" | "quotaErrorLabel" | "adoptSecretUnavailable" | "adoptDecryptFailed" | "adoptTokenExpired" | "adoptExchangeFailed" | "adoptNotAZcodeLogin" | "quotaPlanLevel" | "quotaAllowance" | "quotaAllowancePlan" | "quotaAllowanceFreeTrial" | "quotaAllowanceUnknown" | "quotaAllowanceHint", string>;
|
|
389
|
+
};
|
|
390
|
+
export type GlmCodingPlanLocaleKey = keyof typeof zh;
|
|
391
|
+
/** 一个配额窗口的键到「窗口长度(分钟)」的映射。 */
|
|
392
|
+
export declare const QUOTA_WINDOW_MINUTES: Record<GlmQuotaWindowKey, number>;
|
|
393
|
+
/**
|
|
394
|
+
* adopt 的每种 reason 对应一句不同的说明。
|
|
395
|
+
*
|
|
396
|
+
* 契约把「没找到文件」「解不开密钥」「登录态过期」「没有套餐」分成四个 reason,
|
|
397
|
+
* 就是为了让卡片能给出不同的下一步——把四种失败合成一句「导入失败」会把用户
|
|
398
|
+
* 引到错误的操作上(计划 D6、R6:adopt 失败永不阻断,一律回落浏览器登录)。
|
|
399
|
+
*/
|
|
400
|
+
export type AdoptReason = NonNullable<GlmAdoptResultDto['reason']>;
|
|
401
|
+
export declare function adoptReasonText(reason: AdoptReason, dictionary: Record<GlmCodingPlanLocaleKey, string>): string;
|
|
402
|
+
/**
|
|
403
|
+
* 额度类型的本地化文案。
|
|
404
|
+
*
|
|
405
|
+
* `undefined`(旧 host 没下发这个字段)与 `'unknown'` 都渲染成「未判定」:
|
|
406
|
+
* 读不到就等于不知道,而「不知道」不能被渲染成付费套餐。
|
|
407
|
+
*/
|
|
408
|
+
export declare function allowanceKindText(allowance: GlmAllowanceKind | undefined, dictionary: Record<GlmCodingPlanLocaleKey, string>): string;
|
|
409
|
+
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../../src/client/glm-coding-plan/locales.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAEvH;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,wBAAwB,CAAA;AAEvD,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkHL,CAAA;AAEV,eAAO,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,OAAO,EAAE,EAAE,MAAM,CA4G9C,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKxB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,MAAM,OAAO,EAAE,CAAA;AAEpD,8BAA8B;AAC9B,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAIlE,CAAA;AAED;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAA;AAYlE,wBAAgB,eAAe,CAC7B,MAAM,EAAE,WAAW,EACnB,UAAU,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,GACjD,MAAM,CAER;AASD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,gBAAgB,GAAG,SAAS,EACvC,UAAU,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,GACjD,MAAM,CAER"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const STYLE_ID = "dsh-glm-coding-plan-settings-style";
|
|
2
|
+
/**
|
|
3
|
+
* GLM(ZCode 账号)卡片独有的样式。
|
|
4
|
+
*
|
|
5
|
+
* 共享样式一律不重复声明:模型清单(.dsh-mcl-*)由 common/model-checklist-styles.ts
|
|
6
|
+
* 负责,账号卡与配额条(.dsha-account-*)由 common/styles.ts 负责,基础控件
|
|
7
|
+
* (.dsha-page / .dsha-group / .dsha-row / 胶囊等)由兄弟线路的安装器负责。
|
|
8
|
+
* 本文件只声明没有兄弟线路共用过的东西:登录流程块、兜底入口行与手工粘贴面板、
|
|
9
|
+
* 等宽文本、模型行右侧的窗口数字,以及「导入的登录态」徽标。
|
|
10
|
+
*
|
|
11
|
+
* 两区登录入口复用的 .dsha-account-add-actions 是跨线路共享的声明,现在随本文件
|
|
12
|
+
* 一起安装;Claude / Step Code / Qoder / Cline Pass / OpenDesign / Codex 卡片都直接
|
|
13
|
+
* 用它而不在自己文件里重复声明,本卡沿用同一做法。
|
|
14
|
+
*/
|
|
15
|
+
export declare function installGlmCodingPlanStyles(): void;
|
|
16
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/client/glm-coding-plan/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,uCAAuC,CAAA;AAE5D;;;;;;;;;;;;GAYG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CA2BjD"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { AccountRotationStrategy } from '../../shared/account-pool-contracts.ts';
|
|
2
|
+
import { type GlmAccountSummaryDto, type GlmAdoptResultDto, type GlmConnectionDto, type GlmLoginFlowStatus, type GlmModelOption, type GlmQuotaSnapshotDto, type GlmRegion, type GlmStatusDto } from '../../shared/glm-coding-plan-contracts.ts';
|
|
3
|
+
import type { AccountPoolLabels } from '../common/AccountPoolSection.tsx';
|
|
4
|
+
import { zh } from './locales.ts';
|
|
5
|
+
/** 卡片渲染的键。与兄弟卡片一样用自己的字典,不复用 hub 挂在 settings.section 上的座位。 */
|
|
6
|
+
export type Translate = (key: keyof typeof zh) => string;
|
|
7
|
+
/** 本卡片的字典;身份稳定,依赖它的 effect 才不会每次渲染重建。 */
|
|
8
|
+
export declare const fallbackTranslate: Translate;
|
|
9
|
+
export interface GlmCodingPlanSectionProps {
|
|
10
|
+
onModelChange?: () => void;
|
|
11
|
+
}
|
|
12
|
+
/** 账号卡片上的一个动作。 */
|
|
13
|
+
export type GlmAccountAction = 'set-primary' | 'delete' | 'clear-cooldown' | 'relogin';
|
|
14
|
+
/** 视图可以消费的全部内容,按「会变的事实 / 从答案派生的 / 能触发的」分组。 */
|
|
15
|
+
export interface GlmCodingPlanSectionView {
|
|
16
|
+
state: {
|
|
17
|
+
status: GlmStatusDto | null;
|
|
18
|
+
loading: boolean;
|
|
19
|
+
busy: string | null;
|
|
20
|
+
error: string | null;
|
|
21
|
+
connection: GlmConnectionDto | null;
|
|
22
|
+
adoptResult: GlmAdoptResultDto | null;
|
|
23
|
+
pasteValue: string;
|
|
24
|
+
/** 「导入」与「手工粘贴」按哪个区域发起;两个登录按钮各自固定区域,不读它。 */
|
|
25
|
+
region: GlmRegion;
|
|
26
|
+
/** 手工粘贴兜底是否展开(没有进行中的流程时默认收起)。 */
|
|
27
|
+
pasteOpen: boolean;
|
|
28
|
+
contextDrafts: Record<string, string>;
|
|
29
|
+
savingModel: string | null;
|
|
30
|
+
};
|
|
31
|
+
derived: {
|
|
32
|
+
accounts: GlmAccountSummaryDto[];
|
|
33
|
+
models: GlmModelOption[];
|
|
34
|
+
/** 上下文窗口编辑器的行:只有勾选了的模型才有可覆盖的窗口。 */
|
|
35
|
+
contextModels: GlmModelOption[];
|
|
36
|
+
overrideCount: number;
|
|
37
|
+
login: GlmLoginFlowStatus | null;
|
|
38
|
+
quota: GlmQuotaSnapshotDto | null;
|
|
39
|
+
authenticated: boolean;
|
|
40
|
+
poolLabels: AccountPoolLabels;
|
|
41
|
+
};
|
|
42
|
+
actions: {
|
|
43
|
+
setRegion(region: GlmRegion): void;
|
|
44
|
+
login(region: GlmRegion): Promise<void>;
|
|
45
|
+
cancelLogin(): Promise<void>;
|
|
46
|
+
submitPaste(): Promise<void>;
|
|
47
|
+
setPasteValue(value: string): void;
|
|
48
|
+
togglePaste(): void;
|
|
49
|
+
adopt(): Promise<void>;
|
|
50
|
+
clearAdoptResult(): void;
|
|
51
|
+
accountAction(action: GlmAccountAction, accountId: string): Promise<void>;
|
|
52
|
+
setStrategy(strategy: AccountRotationStrategy): Promise<void>;
|
|
53
|
+
toggleModel(modelId: string, enabled: boolean): void;
|
|
54
|
+
setAllModels(enabled: boolean): void;
|
|
55
|
+
saveContextWindow(modelId: string): Promise<void>;
|
|
56
|
+
resetContextWindow(modelId: string): Promise<void>;
|
|
57
|
+
resetAllContextWindows(): Promise<void>;
|
|
58
|
+
updateContextDraft(modelId: string, draft: string): void;
|
|
59
|
+
refreshQuota(): Promise<void>;
|
|
60
|
+
refreshCatalog(): Promise<void>;
|
|
61
|
+
testConnection(): Promise<void>;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export declare function useGlmCodingPlanSection({ onModelChange }?: GlmCodingPlanSectionProps): GlmCodingPlanSectionView;
|
|
65
|
+
//# sourceMappingURL=useGlmCodingPlanSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGlmCodingPlanSection.d.ts","sourceRoot":"","sources":["../../../../src/client/glm-coding-plan/useGlmCodingPlanSection.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAA;AACrF,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACd,KAAK,YAAY,EAClB,MAAM,2CAA2C,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAKzE,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAA;AAKjC,6DAA6D;AAC7D,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,OAAO,EAAE,KAAK,MAAM,CAAA;AAExD,yCAAyC;AACzC,eAAO,MAAM,iBAAiB,EAAE,SAA4B,CAAA;AAkE5D,MAAM,WAAW,yBAAyB;IACxC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;CAC3B;AAED,kBAAkB;AAClB,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,QAAQ,GAAG,gBAAgB,GAAG,SAAS,CAAA;AAEtF,8CAA8C;AAC9C,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE;QACL,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;QAC3B,OAAO,EAAE,OAAO,CAAA;QAChB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;QACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QACpB,UAAU,EAAE,gBAAgB,GAAG,IAAI,CAAA;QACnC,WAAW,EAAE,iBAAiB,GAAG,IAAI,CAAA;QACrC,UAAU,EAAE,MAAM,CAAA;QAClB,2CAA2C;QAC3C,MAAM,EAAE,SAAS,CAAA;QACjB,iCAAiC;QACjC,SAAS,EAAE,OAAO,CAAA;QAClB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QACrC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;KAC3B,CAAA;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,oBAAoB,EAAE,CAAA;QAChC,MAAM,EAAE,cAAc,EAAE,CAAA;QACxB,mCAAmC;QACnC,aAAa,EAAE,cAAc,EAAE,CAAA;QAC/B,aAAa,EAAE,MAAM,CAAA;QACrB,KAAK,EAAE,kBAAkB,GAAG,IAAI,CAAA;QAChC,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAAA;QACjC,aAAa,EAAE,OAAO,CAAA;QACtB,UAAU,EAAE,iBAAiB,CAAA;KAC9B,CAAA;IACD,OAAO,EAAE;QACP,SAAS,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAA;QAClC,KAAK,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QACvC,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAC5B,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAC5B,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QAClC,WAAW,IAAI,IAAI,CAAA;QACnB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QACtB,gBAAgB,IAAI,IAAI,CAAA;QACxB,aAAa,CAAC,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QACzE,WAAW,CAAC,QAAQ,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QAC7D,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;QACpD,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;QACpC,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QACjD,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;QAClD,sBAAsB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QACvC,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QACxD,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAC7B,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;QAC/B,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;KAChC,CAAA;CACF;AAED,wBAAgB,uBAAuB,CAAC,EAAE,aAAa,EAAE,GAAE,yBAA8B,GAAG,wBAAwB,CAwWnH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { PropsLocale } from '@deepseek-ai/dsh-client-ui-slots';
|
|
2
|
+
import type { HubProviderSummaryDto } from '../../shared/hub-contracts.ts';
|
|
3
|
+
import type { NS } from '../locales.ts';
|
|
4
|
+
import { type HubProviderDescriptor } from './providers.tsx';
|
|
5
|
+
export type HubTranslate = PropsLocale<typeof NS>['t'];
|
|
6
|
+
/** Versioned because the stored value is a bare ordered id array. */
|
|
7
|
+
export declare const HUB_PROVIDER_ORDER_STORAGE_KEY = "dsh-multi-provider:hub-provider-order:v1";
|
|
8
|
+
interface Props {
|
|
9
|
+
t: HubTranslate;
|
|
10
|
+
onOpen(id: HubProviderDescriptor['id']): void;
|
|
11
|
+
}
|
|
12
|
+
/** The card's one-line annotation: accounts, then models, then state. */
|
|
13
|
+
export declare function cardAnnotation(summary: HubProviderSummaryDto | undefined, descriptor: HubProviderDescriptor, t: HubTranslate): string;
|
|
14
|
+
export declare function HubOverview({ t, onOpen }: Props): React.JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=HubOverview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HubOverview.d.ts","sourceRoot":"","sources":["../../../../src/client/hub/HubOverview.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAInE,OAAO,KAAK,EAAkB,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AAO1F,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,eAAe,CAAA;AAEvC,OAAO,EAA8B,KAAK,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAExF,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,CAAC,CAAA;AAEtD,qEAAqE;AACrE,eAAO,MAAM,8BAA8B,6CAA6C,CAAA;AAExF,UAAU,KAAK;IACb,CAAC,EAAE,YAAY,CAAA;IACf,MAAM,CAAC,EAAE,EAAE,qBAAqB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;CAC9C;AAkED,yEAAyE;AACzE,wBAAgB,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,SAAS,EAAE,UAAU,EAAE,qBAAqB,EAAE,CAAC,EAAE,YAAY,GAAG,MAAM,CAcrI;AAED,wBAAgB,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAgLnE"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provider and vendor brand marks for the hub overview cards and the shared
|
|
3
|
+
* model checklist.
|
|
4
|
+
*
|
|
5
|
+
* The artwork lives in brand-svg.ts as inline strings (extracted from the
|
|
6
|
+
* vendored combine lockups); this module adds the presentation: a rounded,
|
|
7
|
+
* brand-tinted tile for provider cards, a bare mark for model rows, and the
|
|
8
|
+
* ordered model-id → vendor rules. A model no rule claims draws no mark at
|
|
9
|
+
* all — a wrong vendor's mark reads as a wrong answer, not a missing one
|
|
10
|
+
* (the same principle claude-style's brand.js documents).
|
|
11
|
+
*/
|
|
12
|
+
import { type BrandMarkKey } from './brand-svg.ts';
|
|
13
|
+
export type HubProviderId = 'chatgpt' | 'command-code' | 'kimi-code' | 'minimax-code' | 'glm-coding-plan' | 'claude' | 'ollama' | 'step-code' | 'cline-pass' | 'qoder' | 'opendesign' | 'workbuddy' | 'qianwen-token-plan' | 'relayone' | 'claude-api' | 'opencode-go';
|
|
14
|
+
/** 一张标记的键:BRAND_MARKS 的全部键,加上本文件自带的键。 */
|
|
15
|
+
export type ProviderMarkKey = BrandMarkKey | 'glm' | 'step-code' | 'cline-pass' | 'opendesign';
|
|
16
|
+
/**
|
|
17
|
+
* A brand image carried as a data URI rather than as inline SVG geometry.
|
|
18
|
+
*
|
|
19
|
+
* Used where the official artwork is a raster asset whose vector form is a
|
|
20
|
+
* 36 KB path — inlining the geometry would cost five times the pixels and buy
|
|
21
|
+
* nothing at a 23 px box. The bytes are the vendor's own file, so the mark is
|
|
22
|
+
* still the official one rather than a redraw of it.
|
|
23
|
+
*/
|
|
24
|
+
interface BrandImage {
|
|
25
|
+
/** Data URI of the official asset. */
|
|
26
|
+
src: string;
|
|
27
|
+
/** How the image fills the tile; 'cover' hides the artwork's own rounded base. */
|
|
28
|
+
fit: 'cover' | 'contain';
|
|
29
|
+
}
|
|
30
|
+
interface ProviderBrand {
|
|
31
|
+
/** Key into BRAND_MARKS (or LOCAL_MARKS); absent for monogram-only providers. */
|
|
32
|
+
mark?: ProviderMarkKey;
|
|
33
|
+
/** Official raster artwork; takes precedence over `mark` when both are set. */
|
|
34
|
+
image?: BrandImage;
|
|
35
|
+
/**
|
|
36
|
+
* Text color for artwork that draws in currentColor (OpenAI's knot, Kimi's
|
|
37
|
+
* K, Claude's mark). Self-colored artwork (gradients, multi-fill marks)
|
|
38
|
+
* leaves this undefined.
|
|
39
|
+
*/
|
|
40
|
+
color?: string;
|
|
41
|
+
/** Brand color the tile's tinted background is mixed from. */
|
|
42
|
+
tile: string;
|
|
43
|
+
/** Monogram for providers without vendored artwork. */
|
|
44
|
+
monogram?: string;
|
|
45
|
+
}
|
|
46
|
+
export declare const PROVIDER_BRANDS: Record<HubProviderId, ProviderBrand>;
|
|
47
|
+
/** One brand mark at a given box size; the artwork is decorative. */
|
|
48
|
+
export declare function BrandMark({ mark, color, size }: {
|
|
49
|
+
mark: ProviderMarkKey;
|
|
50
|
+
color?: string;
|
|
51
|
+
size?: number;
|
|
52
|
+
}): React.JSX.Element;
|
|
53
|
+
/**
|
|
54
|
+
* The overview card's logo tile: the mark centered on a rounded square tinted
|
|
55
|
+
* with the brand color, in the QQ-mail idiom. The tile element doubles as the
|
|
56
|
+
* fallback surface for monogram providers.
|
|
57
|
+
*/
|
|
58
|
+
export declare function BrandTile({ id, size }: {
|
|
59
|
+
id: HubProviderId;
|
|
60
|
+
size?: number;
|
|
61
|
+
}): React.JSX.Element;
|
|
62
|
+
export declare function modelBrandMark(modelId: string): ProviderMarkKey | null;
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=brand-icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand-icons.d.ts","sourceRoot":"","sources":["../../../../src/client/hub/brand-icons.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAe,KAAK,YAAY,EAAqB,MAAM,gBAAgB,CAAA;AAElF,MAAM,MAAM,aAAa,GACrB,SAAS,GAAG,cAAc,GAAG,WAAW,GACxC,cAAc,GAAG,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,GACxD,WAAW,GAAG,YAAY,GAAG,OAAO,GAAG,YAAY,GAAG,WAAW,GAAG,oBAAoB,GAAG,UAAU,GACrG,YAAY,GAAG,aAAa,CAAA;AA6FhC,yCAAyC;AACzC,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG,KAAK,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY,CAAA;AAS9F;;;;;;;GAOG;AACH,UAAU,UAAU;IAClB,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAA;IACX,kFAAkF;IAClF,GAAG,EAAE,OAAO,GAAG,SAAS,CAAA;CACzB;AAED,UAAU,aAAa;IACrB,iFAAiF;IACjF,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ,uDAAuD;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,aAAa,EAAE,aAAa,CAgDhE,CAAA;AAED,qEAAqE;AACrE,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAS,EAAE,EAAE;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAUjI;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,EAAE,IAAS,EAAE,EAAE;IAAE,EAAE,EAAE,aAAa,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAuBpG;AAoBD,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,GAAG,IAAI,CAMtE"}
|