@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,304 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Transport for the OpenDesign link gateway. Transport only: no account or
|
|
3
|
+
* retry policy lives here (see `adapter.ts`).
|
|
4
|
+
*
|
|
5
|
+
* - `POST {baseURL}/chat/completions` — the chat endpoint this line speaks
|
|
6
|
+
* - `GET {baseURL}/models` — the key's live catalog; also the auth probe,
|
|
7
|
+
* because listing costs no credits while a token of chat does
|
|
8
|
+
*
|
|
9
|
+
* The base URL is the OpenAI spelling and already ends in `/v1`
|
|
10
|
+
* (src/host/opendesign/types.ts records how that was verified), so paths append
|
|
11
|
+
* literally.
|
|
12
|
+
*
|
|
13
|
+
* @module dsh-multi-provider/opendesign-client
|
|
14
|
+
*/
|
|
15
|
+
import { type OpenDesignDiscoveredModel } from './types.ts';
|
|
16
|
+
import type { OpenDesignCodingPlanDto } from '../../shared/opendesign-contracts.ts';
|
|
17
|
+
export interface OpenDesignHttpResult {
|
|
18
|
+
status: number;
|
|
19
|
+
ok: boolean;
|
|
20
|
+
json: unknown;
|
|
21
|
+
text: string;
|
|
22
|
+
}
|
|
23
|
+
/** Combine a caller signal with a timeout signal. */
|
|
24
|
+
export declare function withTimeout(signal: AbortSignal | undefined, timeoutMs: number | undefined): AbortSignal | undefined;
|
|
25
|
+
/** Strip a trailing slash so paths can be appended literally. */
|
|
26
|
+
export declare function trimBase(baseURL: string): string;
|
|
27
|
+
/** The gateway's chat-completions endpoint for one base URL. */
|
|
28
|
+
export declare function chatURL(baseURL: string): string;
|
|
29
|
+
/** The gateway's catalog endpoint for one base URL. */
|
|
30
|
+
export declare function modelsURL(baseURL: string): string;
|
|
31
|
+
export declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
32
|
+
/** Send one JSON request and decode whatever comes back; never throws for HTTP errors. */
|
|
33
|
+
export declare function sendJSON(fetchFn: typeof fetch, url: string, { method, apiKey, body, signal, timeoutMs, headers, }?: {
|
|
34
|
+
method?: string;
|
|
35
|
+
apiKey?: string;
|
|
36
|
+
body?: unknown;
|
|
37
|
+
signal?: AbortSignal;
|
|
38
|
+
timeoutMs?: number;
|
|
39
|
+
headers?: Record<string, string>;
|
|
40
|
+
}): Promise<OpenDesignHttpResult>;
|
|
41
|
+
/** Open a streaming chat completion and hand back the live response. */
|
|
42
|
+
export declare function openChatStream({ fetchFn, baseURL, apiKey, body, signal, headers, }: {
|
|
43
|
+
fetchFn: typeof fetch;
|
|
44
|
+
baseURL: string;
|
|
45
|
+
apiKey: string;
|
|
46
|
+
body: unknown;
|
|
47
|
+
signal?: AbortSignal;
|
|
48
|
+
headers?: Record<string, string>;
|
|
49
|
+
}): Promise<Response>;
|
|
50
|
+
/** The gateway's own one-line explanation, when it sent one. */
|
|
51
|
+
export declare function firstMessage(envelope: unknown): string;
|
|
52
|
+
/**
|
|
53
|
+
* The live catalog one key may list.
|
|
54
|
+
*
|
|
55
|
+
* Returns ids plus whatever metadata the listing published, or null on any
|
|
56
|
+
* failure — a refused or unreachable gateway is a fact the caller reports, not
|
|
57
|
+
* an exception the route drops.
|
|
58
|
+
*/
|
|
59
|
+
export declare function fetchGatewayCatalog({ fetchFn, baseURL, apiKey, signal, timeoutMs, }: {
|
|
60
|
+
fetchFn: typeof fetch;
|
|
61
|
+
baseURL: string;
|
|
62
|
+
apiKey: string;
|
|
63
|
+
signal?: AbortSignal;
|
|
64
|
+
timeoutMs?: number;
|
|
65
|
+
}): Promise<{
|
|
66
|
+
ids: string[];
|
|
67
|
+
catalog: Record<string, OpenDesignDiscoveredModel>;
|
|
68
|
+
} | null>;
|
|
69
|
+
/**
|
|
70
|
+
* One id compared without its separators.
|
|
71
|
+
*
|
|
72
|
+
* The AMR control-plane catalog spells ids `public_model_deepseek_v4_1_flash`
|
|
73
|
+
* (the open-source daemon normalizes the same spellings at its boundary), while
|
|
74
|
+
* the link gateway and this line's table use `deepseek-v4.1-flash`. Comparing
|
|
75
|
+
* alphanumerics only maps one onto the other without a per-model translation
|
|
76
|
+
* table that would rot the moment a model is added.
|
|
77
|
+
*/
|
|
78
|
+
export declare function canonicalModelKey(id: string): string;
|
|
79
|
+
/**
|
|
80
|
+
* The control-plane catalog: the AMR-side listing, which DOES carry metadata.
|
|
81
|
+
*
|
|
82
|
+
* `GET {amr}/models` with a control key (the open-source daemon reads the same
|
|
83
|
+
* catalog through `vela model list --all --format json`, whose items carry
|
|
84
|
+
* `metadata.contextWindowTokens`). Ids are normalized onto the known wire ids
|
|
85
|
+
* with {@link canonicalModelKey}; an id the line does not know is kept as the
|
|
86
|
+
* slug it arrived as, never dropped.
|
|
87
|
+
*
|
|
88
|
+
* A runtime key is not accepted here (the console's control-plane surfaces
|
|
89
|
+
* reject it), so this is an OAuth-account capability; the gateway listing stays
|
|
90
|
+
* the path for a pasted key.
|
|
91
|
+
*/
|
|
92
|
+
export declare function fetchControlPlaneCatalog({ fetchFn, controlKey, apiBase, knownIds, signal, timeoutMs, }: {
|
|
93
|
+
fetchFn: typeof fetch;
|
|
94
|
+
controlKey: string;
|
|
95
|
+
apiBase?: string;
|
|
96
|
+
knownIds?: readonly string[];
|
|
97
|
+
signal?: AbortSignal;
|
|
98
|
+
timeoutMs?: number;
|
|
99
|
+
}): Promise<{
|
|
100
|
+
ids: string[];
|
|
101
|
+
catalog: Record<string, OpenDesignDiscoveredModel>;
|
|
102
|
+
} | null>;
|
|
103
|
+
/**
|
|
104
|
+
* Verify one key with the free catalog read.
|
|
105
|
+
*
|
|
106
|
+
* A chat probe would spend credits to learn the same thing, so the probe is the
|
|
107
|
+
* listing: 200 proves the key works (and how many models it sees), 401/403
|
|
108
|
+
* proves it does not, and anything else is reported as the gateway sent it.
|
|
109
|
+
*/
|
|
110
|
+
export declare function testApiKey({ fetchFn, baseURL, apiKey, signal, timeoutMs, }: {
|
|
111
|
+
fetchFn: typeof fetch;
|
|
112
|
+
baseURL: string;
|
|
113
|
+
apiKey: string;
|
|
114
|
+
signal?: AbortSignal;
|
|
115
|
+
timeoutMs?: number;
|
|
116
|
+
}): Promise<{
|
|
117
|
+
authorized: boolean;
|
|
118
|
+
ms: number;
|
|
119
|
+
error: string;
|
|
120
|
+
modelCount: number;
|
|
121
|
+
}>;
|
|
122
|
+
/** One wallet reading: the balance string as served, or the refusal as data. */
|
|
123
|
+
export interface OpenDesignWalletBalance {
|
|
124
|
+
ok: boolean;
|
|
125
|
+
/** USD balance, exactly as the service strings it (e.g. "12.34"). */
|
|
126
|
+
balanceUsd: string | null;
|
|
127
|
+
/** ISO instant the service stamped on the reading, when it sent one. */
|
|
128
|
+
updatedAt: string | null;
|
|
129
|
+
error: string;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Read one OAuth account's wallet balance with its control key.
|
|
133
|
+
*
|
|
134
|
+
* Wire shape from the open-source daemon's reader
|
|
135
|
+
* (apps/daemon/src/integrations/vela-wallet.ts, nexu-io/open-design): the
|
|
136
|
+
* balance is a STRING matching /^\d+(?:\.\d+)?$/ — a number-shaped field of
|
|
137
|
+
* any other type is not a balance. A refusal is reported as data, never thrown:
|
|
138
|
+
* the card shows it beside controls that keep working without it. Billing reads
|
|
139
|
+
* are display-only upstream too (OPEND-3553 in the same repo): a wallet 401/403
|
|
140
|
+
* says nothing about the chat credential, so it must never mark the account.
|
|
141
|
+
*/
|
|
142
|
+
export declare function fetchWalletBalance({ fetchFn, controlKey, apiBase, signal, timeoutMs, }: {
|
|
143
|
+
fetchFn: typeof fetch;
|
|
144
|
+
controlKey: string;
|
|
145
|
+
apiBase?: string;
|
|
146
|
+
signal?: AbortSignal;
|
|
147
|
+
timeoutMs?: number;
|
|
148
|
+
}): Promise<OpenDesignWalletBalance>;
|
|
149
|
+
/**
|
|
150
|
+
* One account's plan and credit state, as `/billing/summary` states it.
|
|
151
|
+
*
|
|
152
|
+
* Balance strings keep the service's own spelling. `plan` is the paid tier
|
|
153
|
+
* (`go` / `plus` / `pro` / `max`) and is the only field that answers "which
|
|
154
|
+
* subscription is this"; `/me.plan` answers `free` even for an active paid
|
|
155
|
+
* account and is deliberately not used as a tier.
|
|
156
|
+
*/
|
|
157
|
+
export interface OpenDesignBillingSummary {
|
|
158
|
+
plan: string;
|
|
159
|
+
/** `active`, `trialing`, `canceled`, ... as served. */
|
|
160
|
+
status: string;
|
|
161
|
+
entitlementStatus: string;
|
|
162
|
+
billingInterval: string;
|
|
163
|
+
periodStart: string | null;
|
|
164
|
+
periodEnd: string | null;
|
|
165
|
+
/** Credits the subscription grants and has left, in integer credits. */
|
|
166
|
+
subscriptionCredits: string | null;
|
|
167
|
+
/** Purchased top-up credits left. */
|
|
168
|
+
rechargeCredits: string | null;
|
|
169
|
+
totalAvailableCredits: string | null;
|
|
170
|
+
subscriptionCreditsUsd: string | null;
|
|
171
|
+
rechargeCreditsUsd: string | null;
|
|
172
|
+
totalAvailableCreditsUsd: string | null;
|
|
173
|
+
totalConsumedUsd: string | null;
|
|
174
|
+
todayConsumedUsd: string | null;
|
|
175
|
+
/** How many spent requests the service counted (a diagnostic, not a quota). */
|
|
176
|
+
usageCount: number | null;
|
|
177
|
+
/** ISO instant the service stamped on the summary. */
|
|
178
|
+
updatedAt: string | null;
|
|
179
|
+
}
|
|
180
|
+
/** One billing read: the parsed summary, or the refusal as data. */
|
|
181
|
+
export interface OpenDesignBillingRead {
|
|
182
|
+
ok: boolean;
|
|
183
|
+
billing: OpenDesignBillingSummary | null;
|
|
184
|
+
error: string;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Read one OAuth account's plan and credits with its control key.
|
|
188
|
+
*
|
|
189
|
+
* The summary is display data: a refusal is returned as data, never thrown, and
|
|
190
|
+
* must never mark the account (billing 401/403 is display-only upstream —
|
|
191
|
+
* OPEND-3553 — exactly like the wallet read). A summary with no
|
|
192
|
+
* `membershipTier` is not treated as a plan: "the tier is unknown" and "the plan
|
|
193
|
+
* is free" are different statements.
|
|
194
|
+
*/
|
|
195
|
+
export declare function fetchBillingSummary({ fetchFn, controlKey, apiBase, signal, timeoutMs, }: {
|
|
196
|
+
fetchFn: typeof fetch;
|
|
197
|
+
controlKey: string;
|
|
198
|
+
apiBase?: string;
|
|
199
|
+
signal?: AbortSignal;
|
|
200
|
+
timeoutMs?: number;
|
|
201
|
+
}): Promise<OpenDesignBillingRead>;
|
|
202
|
+
/**
|
|
203
|
+
* The Design Plan's two DTOs are DEFINED beside this line's other wire contracts
|
|
204
|
+
* (src/shared/opendesign-contracts.ts) and re-exported here.
|
|
205
|
+
*
|
|
206
|
+
* The card in the browser reads the same objects, so the declaration has to live
|
|
207
|
+
* where both halves of the plugin can reach it. A `import type` from the shared
|
|
208
|
+
* file back into the host would point the client's type-check program at host
|
|
209
|
+
* sources; re-exporting the other way round keeps the direction of every existing
|
|
210
|
+
* import (host → shared) intact and still lets a host-side caller import the DTO
|
|
211
|
+
* from the module that produced it.
|
|
212
|
+
*/
|
|
213
|
+
export type { OpenDesignCodingPlanDto, OpenDesignCodingPlanWindowDto } from '../../shared/opendesign-contracts.ts';
|
|
214
|
+
/** One workspace lookup: the id a coding-plan read is addressed by, or why not. */
|
|
215
|
+
export interface OpenDesignWorkspaceIdRead {
|
|
216
|
+
ok: boolean;
|
|
217
|
+
/** The workspace id to address; null whenever the lookup did not land on one. */
|
|
218
|
+
id: string | null;
|
|
219
|
+
/** Why no id was read; the empty string on success. */
|
|
220
|
+
error: string;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Read the workspace id the coding-plan endpoint is addressed by.
|
|
224
|
+
*
|
|
225
|
+
* TWO READS, in this order, because the console itself does not use one:
|
|
226
|
+
*
|
|
227
|
+
* 1. `GET {amr}/workspaces/current` — the workspace this account is on right now,
|
|
228
|
+
* the object the console's own switcher starts from. The id is read from
|
|
229
|
+
* `activeWorkspaceId`, then `workspaceId`, then `id`, then the same keys under
|
|
230
|
+
* a nested `workspace`, then the same order again under a `data` wrapper.
|
|
231
|
+
* 2. Only when that states NO id, `GET {amr}/workspaces` — the listing, which
|
|
232
|
+
* answers what the account could switch to rather than where it is. Its
|
|
233
|
+
* first entry with an id wins, and every wrapper shape it has been seen in is
|
|
234
|
+
* accepted (bare array, `{ workspaces }`, `{ items }`, `{ data }`,
|
|
235
|
+
* `{ data: { items | workspaces } }`).
|
|
236
|
+
*
|
|
237
|
+
* The listing used to be the ONLY read here, and on a live account it answered
|
|
238
|
+
* 200 with a body whose entries carried no id: the lookup must therefore say
|
|
239
|
+
* WHICH endpoint failed and what it looked like, or the next attempt is blind.
|
|
240
|
+
* A failure reports the endpoint, its HTTP status (or the transport error) and a
|
|
241
|
+
* keys-only shape summary; no value and no id ever appears in it.
|
|
242
|
+
*
|
|
243
|
+
* Pure data in, data out: a refusal, a timeout or a malformed body is returned as
|
|
244
|
+
* `error`, never thrown, and a transport failure on the first read does not stop
|
|
245
|
+
* the second from answering. The caller composes the result into the account
|
|
246
|
+
* reading, so one unreadable surface cannot take the whole quota read down.
|
|
247
|
+
*
|
|
248
|
+
* @param options.fetchFn - Injected fetch (tests never reach the network).
|
|
249
|
+
* @param options.controlKey - The OAuth account's `vela_ctrl_…` key.
|
|
250
|
+
* @param options.apiBase - Control-plane base; overridable for a deployment.
|
|
251
|
+
* @param options.signal - Caller cancellation.
|
|
252
|
+
* @param options.timeoutMs - Per-request budget.
|
|
253
|
+
* @returns The id, or the reason neither endpoint stated one.
|
|
254
|
+
*/
|
|
255
|
+
export declare function fetchWorkspaceId({ fetchFn, controlKey, apiBase, signal, timeoutMs, }: {
|
|
256
|
+
fetchFn: typeof fetch;
|
|
257
|
+
controlKey: string;
|
|
258
|
+
apiBase?: string;
|
|
259
|
+
signal?: AbortSignal;
|
|
260
|
+
timeoutMs?: number;
|
|
261
|
+
}): Promise<OpenDesignWorkspaceIdRead>;
|
|
262
|
+
/**
|
|
263
|
+
* Read one account's Design Plan allowance.
|
|
264
|
+
*
|
|
265
|
+
* This is the line's REAL quota surface — the 5-hour and 7-day windows the
|
|
266
|
+
* console draws as "剩余 90% / 81%" — and it is the only endpoint that states a
|
|
267
|
+
* bounded window at all: `/billing/summary` states credits and a tier, never a
|
|
268
|
+
* rolling allowance.
|
|
269
|
+
*
|
|
270
|
+
* `GET {amr}/workspaces/{id}/billing/coding-plan-usage`, always the same URL with
|
|
271
|
+
* the same `x-vela-workspace-id`, tried once per credential SHAPE (see
|
|
272
|
+
* {@link codingPlanAttempts}). The retry rule is the important half: only
|
|
273
|
+
* `401` / `403` — "these credentials are not accepted" — moves on to the next
|
|
274
|
+
* shape, because that is the only verdict a different key could change. A `404` or
|
|
275
|
+
* a `500`, and in particular `coding_plan_configuration_unavailable`, is the
|
|
276
|
+
* endpoint's own verdict about the WORKSPACE, so it stops the search and travels
|
|
277
|
+
* out verbatim.
|
|
278
|
+
*
|
|
279
|
+
* Exhausting every shape yields one sentence a user can act on: the last refusal
|
|
280
|
+
* plus the shapes that were tried. A success carries NO trace of which credential
|
|
281
|
+
* worked — the shape of a credential is not the card's business.
|
|
282
|
+
*
|
|
283
|
+
* It never throws and never fills a window nobody measured.
|
|
284
|
+
*
|
|
285
|
+
* @param options.fetchFn - Injected fetch.
|
|
286
|
+
* @param options.controlKey - The account's `vela_ctrl_…` key.
|
|
287
|
+
* @param options.runtimeKey - The account's `sk-amr-…` key; `''` skips the two
|
|
288
|
+
* shapes that need one.
|
|
289
|
+
* @param options.workspaceId - From {@link fetchWorkspaceId}.
|
|
290
|
+
* @param options.apiBase - Control-plane base.
|
|
291
|
+
* @param options.signal - Caller cancellation.
|
|
292
|
+
* @param options.timeoutMs - Per-request budget.
|
|
293
|
+
* @returns The plan, or the reason every shape it knew failed.
|
|
294
|
+
*/
|
|
295
|
+
export declare function fetchCodingPlanUsage({ fetchFn, controlKey, runtimeKey, workspaceId, apiBase, signal, timeoutMs, }: {
|
|
296
|
+
fetchFn: typeof fetch;
|
|
297
|
+
controlKey: string;
|
|
298
|
+
runtimeKey: string;
|
|
299
|
+
workspaceId: string;
|
|
300
|
+
apiBase?: string;
|
|
301
|
+
signal?: AbortSignal;
|
|
302
|
+
timeoutMs?: number;
|
|
303
|
+
}): Promise<OpenDesignCodingPlanDto>;
|
|
304
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/host/opendesign/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAOL,KAAK,yBAAyB,EAC/B,MAAM,YAAY,CAAA;AACnB,OAAO,KAAK,EAAE,uBAAuB,EAAiC,MAAM,sCAAsC,CAAA;AAElH,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAA;IACd,EAAE,EAA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AA;IACX,iFAAiF;IACjF,EAAE,EAAE,MAAM,GAAG,IAAI,CAAA;IACjB,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAA;CACd;AAwHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAsB,gBAAgB,CAAC,EACrC,OAAO,EACP,UAAU,EACV,OAAsB,EACtB,MAAM,EACN,SAAkB,GACnB,EAAE;IACD,OAAO,EAAE,OAAO,KAAK,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAgDrC;AAuHD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,OAAO,EACP,UAAU,EACV,UAAU,EACV,WAAW,EACX,OAAsB,EACtB,MAAM,EACN,SAAkB,GACnB,EAAE;IACD,OAAO,EAAE,OAAO,KAAK,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CA4BnC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
2
|
+
import type { AttachmentStore } from '@deepseek-ai/dsh-attachment';
|
|
3
|
+
import { type ProviderRouteClaim } from '../common/provider-route.ts';
|
|
4
|
+
import { OpenDesignAccountPool } from './account-pool.ts';
|
|
5
|
+
import { OpenDesignAdapter } from './adapter.ts';
|
|
6
|
+
import { OpenDesignLoginManager } from './oauth.ts';
|
|
7
|
+
import { OPENDESIGN_ROUTES } from './routes.ts';
|
|
8
|
+
import { OpenDesignModelSettingsStore, type OpenDesignModelSettings } from './token-store.ts';
|
|
9
|
+
import type { HubSummarySource } from '../hub-overview.ts';
|
|
10
|
+
export interface OpenDesignLineOptions {
|
|
11
|
+
/** Proxy-aware fetch that routes and catalog syncs use. */
|
|
12
|
+
fetchFn: typeof fetch;
|
|
13
|
+
/** Controlled/diagnostic fetch that live adapter chat streams use; defaults to fetchFn. */
|
|
14
|
+
modelFetchFn?: typeof fetch;
|
|
15
|
+
/** Durable attachment service, for image input. */
|
|
16
|
+
attachments?: Pick<AttachmentStore, 'readImage' | 'readImageRequest'>;
|
|
17
|
+
}
|
|
18
|
+
export interface OpenDesignLine {
|
|
19
|
+
adapter: OpenDesignAdapter;
|
|
20
|
+
modelSettings: OpenDesignModelSettingsStore;
|
|
21
|
+
accountPool: OpenDesignAccountPool;
|
|
22
|
+
login: OpenDesignLoginManager;
|
|
23
|
+
claim: ProviderRouteClaim;
|
|
24
|
+
disposeRoutes: () => void;
|
|
25
|
+
/** Owner overview card source, read from local snapshots only. */
|
|
26
|
+
hubSource: HubSummarySource;
|
|
27
|
+
/** Release every registration this line made. */
|
|
28
|
+
dispose(): void;
|
|
29
|
+
}
|
|
30
|
+
/** Every id the line knows: the shipped table plus the synced live catalog. */
|
|
31
|
+
export declare function openDesignKnownModelIds(settings: OpenDesignModelSettings): string[];
|
|
32
|
+
/**
|
|
33
|
+
* Every id the line advertises right now — THE one visibility rule.
|
|
34
|
+
*
|
|
35
|
+
* The adapter (what the picker is offered), the status route (what each checklist
|
|
36
|
+
* row reports as checked) and the hub card (how many models the line advertises)
|
|
37
|
+
* all read this function and nothing else. Three private copies is how the hub
|
|
38
|
+
* card ended up counting models the picker refused to show, which is exactly the
|
|
39
|
+
* contradiction this rule exists to make impossible.
|
|
40
|
+
*
|
|
41
|
+
* Three layers, applied in this order:
|
|
42
|
+
*
|
|
43
|
+
* 1. the user's hidden list;
|
|
44
|
+
* 2. the user's tick list — unset means every known model, an explicit `[]` means
|
|
45
|
+
* everything off (the tick list and the shipped table speak the same wire ids,
|
|
46
|
+
* so a cold-start intersection cannot empty the picker);
|
|
47
|
+
* 3. the PLAN, once somebody measured it: an id the last successful scan did not
|
|
48
|
+
* list is not served, and only a forced reveal (`forceVisibleModels`) keeps it.
|
|
49
|
+
* Before that first scan `servedModelIds` is `null` and this layer hides
|
|
50
|
+
* nothing — an unmeasured plan is not a denial.
|
|
51
|
+
*/
|
|
52
|
+
export declare function openDesignVisibleModelIds(settings: OpenDesignModelSettings): string[];
|
|
53
|
+
/**
|
|
54
|
+
* Build the line.
|
|
55
|
+
* @param ctx - host plugin context (owns `llm` and `webServer`).
|
|
56
|
+
* @param options - the proxy-aware fetch and the attachment reader.
|
|
57
|
+
*/
|
|
58
|
+
export declare function createOpenDesignLine(ctx: Context, options: OpenDesignLineOptions): OpenDesignLine;
|
|
59
|
+
export { OPENDESIGN_ROUTES };
|
|
60
|
+
//# sourceMappingURL=line.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../../../src/host/opendesign/line.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,EAAsB,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAIzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AACnD,OAAO,EAAoD,iBAAiB,EAAE,MAAM,aAAa,CAAA;AACjG,OAAO,EAAE,4BAA4B,EAAE,KAAK,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAE7F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,MAAM,WAAW,qBAAqB;IACpC,2DAA2D;IAC3D,OAAO,EAAE,OAAO,KAAK,CAAA;IACrB,2FAA2F;IAC3F,YAAY,CAAC,EAAE,OAAO,KAAK,CAAA;IAC3B,mDAAmD;IACnD,WAAW,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,WAAW,GAAG,kBAAkB,CAAC,CAAA;CACtE;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,iBAAiB,CAAA;IAC1B,aAAa,EAAE,4BAA4B,CAAA;IAC3C,WAAW,EAAE,qBAAqB,CAAA;IAClC,KAAK,EAAE,sBAAsB,CAAA;IAC7B,KAAK,EAAE,kBAAkB,CAAA;IACzB,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,kEAAkE;IAClE,SAAS,EAAE,gBAAgB,CAAA;IAC3B,iDAAiD;IACjD,OAAO,IAAI,IAAI,CAAA;CAChB;AAED,+EAA+E;AAC/E,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,uBAAuB,GAAG,MAAM,EAAE,CAInF;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,uBAAuB,GAAG,MAAM,EAAE,CASrF;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,qBAAqB,GAAG,cAAc,CAmFjG;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenDesign wire mapping: the harness conversation in, an OpenAI-compatible
|
|
3
|
+
* `chat/completions` body out; decoded SSE frames in, harness stream chunks out.
|
|
4
|
+
*
|
|
5
|
+
* The request order rules matter more than they look: an assistant message
|
|
6
|
+
* carrying `tool_calls` must be followed immediately by one `tool` message per
|
|
7
|
+
* call id, or a validating gateway rejects the whole request with "insufficient
|
|
8
|
+
* tool messages following tool_calls message". Everything that would otherwise
|
|
9
|
+
* land inside that run is held back until the group closes.
|
|
10
|
+
*
|
|
11
|
+
* @module dsh-multi-provider/opendesign-mapper
|
|
12
|
+
*/
|
|
13
|
+
import { type StreamChunk, type TokenUsage } from '@deepseek-ai/dsh-llm';
|
|
14
|
+
import { type GenerateOptions, type Message } from '../common/llm-compat.ts';
|
|
15
|
+
import { type ResolvedRequestImages } from '../common/request-images.ts';
|
|
16
|
+
/** The sentence a no-content finish carries, shared with the sibling lines. */
|
|
17
|
+
export declare const NO_ANSWER_PHRASE = "ended the turn without an answer or a tool call";
|
|
18
|
+
/** One OpenAI wire message. */
|
|
19
|
+
export interface OpenDesignWireMessage {
|
|
20
|
+
role: 'system' | 'user' | 'assistant' | 'tool';
|
|
21
|
+
content: string | Array<Record<string, unknown>>;
|
|
22
|
+
reasoning_content?: string;
|
|
23
|
+
tool_calls?: Array<{
|
|
24
|
+
id: string;
|
|
25
|
+
type: 'function';
|
|
26
|
+
function: {
|
|
27
|
+
name: string;
|
|
28
|
+
arguments: string;
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
tool_call_id?: string;
|
|
32
|
+
}
|
|
33
|
+
/** One request body, as sent to the gateway. */
|
|
34
|
+
export interface OpenDesignWireBody {
|
|
35
|
+
model: string;
|
|
36
|
+
messages: OpenDesignWireMessage[];
|
|
37
|
+
stream: true;
|
|
38
|
+
stream_options: {
|
|
39
|
+
include_usage: true;
|
|
40
|
+
};
|
|
41
|
+
tools?: Array<{
|
|
42
|
+
type: 'function';
|
|
43
|
+
function: {
|
|
44
|
+
name: string;
|
|
45
|
+
description: string;
|
|
46
|
+
parameters: Record<string, unknown>;
|
|
47
|
+
};
|
|
48
|
+
}>;
|
|
49
|
+
temperature?: number;
|
|
50
|
+
max_tokens?: number;
|
|
51
|
+
/** The newer spelling of the output budget, for the models that reject `max_tokens`. */
|
|
52
|
+
max_completion_tokens?: number;
|
|
53
|
+
stop?: readonly string[];
|
|
54
|
+
reasoning_effort?: string;
|
|
55
|
+
/**
|
|
56
|
+
* DeepSeek's own spelling for "do not think". Sent INSTEAD of
|
|
57
|
+
* `reasoning_effort`, never beside it.
|
|
58
|
+
*/
|
|
59
|
+
thinking?: {
|
|
60
|
+
type: 'disabled';
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Convert the harness conversation to wire messages.
|
|
65
|
+
*
|
|
66
|
+
* Tool results become standalone `role: 'tool'` messages. A user message
|
|
67
|
+
* carrying an image switches to the OpenAI content-part array; a text-only one
|
|
68
|
+
* keeps the plain-string form. An image nested in a tool result has no OpenAI
|
|
69
|
+
* `tool` wire spelling, so it rides a following user message instead — the same
|
|
70
|
+
* shape the shipped adapters use. Deferring that message until the next non-tool
|
|
71
|
+
* message keeps a parallel group's answers contiguous.
|
|
72
|
+
*
|
|
73
|
+
* `developer` becomes `system`: the newer OpenAI spelling is not accepted by
|
|
74
|
+
* every OpenAI-compatible gateway, while `system` is. A tool addition or
|
|
75
|
+
* removal carried by such a message is replayed as its own system sentence —
|
|
76
|
+
* the `in-history` shape this route declares — and ordinary text is kept
|
|
77
|
+
* beside it. A message that contributes neither is dropped rather than sent as
|
|
78
|
+
* an empty system turn.
|
|
79
|
+
*
|
|
80
|
+
* A user message that carries no text and no image contributes nothing to a
|
|
81
|
+
* chat request, so it is dropped too; a pure tool-result message never took that
|
|
82
|
+
* path, because its answers travel as `tool` messages.
|
|
83
|
+
*/
|
|
84
|
+
export declare function serializeMessages(messages: readonly Message[], images: ResolvedRequestImages): OpenDesignWireMessage[];
|
|
85
|
+
/**
|
|
86
|
+
* Whether one model id is a DeepSeek model.
|
|
87
|
+
*
|
|
88
|
+
* The vendor prefix is stripped before the compare, so the bare wire id this
|
|
89
|
+
* line ships (`deepseek-v4.1-flash`) and a vendor-qualified spelling
|
|
90
|
+
* (`deepseek/deepseek-v4-pro`, as a sibling registry writes it) both match,
|
|
91
|
+
* while an id that merely mentions the word — a gateway alias such as
|
|
92
|
+
* `my-deepseek-proxy` — does not. Only DeepSeek's own chat endpoint documents
|
|
93
|
+
* the `thinking` field, which is why the translation below is scoped to it
|
|
94
|
+
* rather than applied to every model that offers a `none` level.
|
|
95
|
+
*/
|
|
96
|
+
export declare function isDeepSeekModel(model: string): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Whether one model id names a family that refuses the legacy output-budget
|
|
99
|
+
* field.
|
|
100
|
+
*
|
|
101
|
+
* Transcribed from the official OpenDesign baseline (nexu-io/open-design,
|
|
102
|
+
* `apps/daemon/src/integrations/openai-chat-token-params.ts`): only the newer
|
|
103
|
+
* chat-completions families reject `max_tokens`. The generic OpenAI-compatible
|
|
104
|
+
* path stays on the legacy field by default, so the id is matched at its START
|
|
105
|
+
* — `gpt-5`, `gpt-5.6-luna` and `o3-mini` take `max_completion_tokens`, while
|
|
106
|
+
* `gpt-6-luna`, `openai/gpt-5` and `o2` keep `max_tokens`.
|
|
107
|
+
*/
|
|
108
|
+
export declare function usesMaxCompletionTokens(model: string): boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Whether one gateway refusal is the official "use max_completion_tokens"
|
|
111
|
+
* wording.
|
|
112
|
+
*
|
|
113
|
+
* Transcribed from the official OpenDesign baseline: the refusal names the
|
|
114
|
+
* field it rejects AND the field it wants. That wording is the only one a
|
|
115
|
+
* request may be replayed for — any other 400 is the caller's mistake.
|
|
116
|
+
*/
|
|
117
|
+
export declare function isUnsupportedMaxTokensError(detail: string): boolean;
|
|
118
|
+
/**
|
|
119
|
+
* The same request with its output budget moved to the newer field.
|
|
120
|
+
*
|
|
121
|
+
* This is the ONE downgrade a request may make: the gateway refused the
|
|
122
|
+
* legacy field by name, so the budget travels in the field it asked for
|
|
123
|
+
* instead. A body that never carried the legacy field is returned unchanged.
|
|
124
|
+
*/
|
|
125
|
+
export declare function withCompletionTokens(body: OpenDesignWireBody): OpenDesignWireBody;
|
|
126
|
+
/**
|
|
127
|
+
* Build the wire request for one harness call.
|
|
128
|
+
* @param options - the harness request (model, system, history, tools, sampling).
|
|
129
|
+
* @param connection - resolved connection facts (default output budget).
|
|
130
|
+
* @param images - attachmentId → prepared request version.
|
|
131
|
+
*/
|
|
132
|
+
export declare function buildOpenDesignBody(options: GenerateOptions, connection: {
|
|
133
|
+
maxTokens: number;
|
|
134
|
+
}, images: ResolvedRequestImages): OpenDesignWireBody;
|
|
135
|
+
/** Map an OpenAI `finish_reason` to the harness finish reason. */
|
|
136
|
+
export declare function mapFinishReason(reason: string): StreamChunk & {
|
|
137
|
+
type: 'finish';
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Map OpenAI usage fields to disjoint harness counts.
|
|
141
|
+
*
|
|
142
|
+
* `prompt_tokens` includes cache hits per the OpenAI convention, and the harness
|
|
143
|
+
* counts are disjoint, so cached tokens are subtracted out of `inputTokens`.
|
|
144
|
+
*/
|
|
145
|
+
export declare function mapUsage(usage: Record<string, unknown> | null | undefined): TokenUsage;
|
|
146
|
+
/**
|
|
147
|
+
* Read one delta's reasoning text, tolerating both wire spellings.
|
|
148
|
+
*
|
|
149
|
+
* Prefers the string field, and falls back to joining the `reasoning_details`
|
|
150
|
+
* parts, which is where a gateway that omits the flat field puts the same text.
|
|
151
|
+
*/
|
|
152
|
+
export declare function reasoningOf(delta: Record<string, unknown>): string | undefined;
|
|
153
|
+
/** The gateway's error string, whichever envelope it arrived in. */
|
|
154
|
+
export declare function errorText(error: unknown): string;
|
|
155
|
+
/** Whether the payload is a bare error object rather than a completion chunk. */
|
|
156
|
+
export declare function isErrorPayload(payload: unknown): payload is {
|
|
157
|
+
error: unknown;
|
|
158
|
+
};
|
|
159
|
+
/** Whether one refusal is the plan withholding a MODEL rather than a bad key. */
|
|
160
|
+
export declare function isModelEntitlementDenial(message: string, status?: number): boolean;
|
|
161
|
+
/**
|
|
162
|
+
* Whether one refusal is about the credential at all.
|
|
163
|
+
*
|
|
164
|
+
* A 401 is unambiguous: the gateway did not accept the key. A 403 is not. The
|
|
165
|
+
* gateway also uses it for "this plan does not include this model", and that is
|
|
166
|
+
* exactly how OpenDesign answers an entitlement denial, so the status alone
|
|
167
|
+
* cannot decide. Every 403 used to read as a rejected key, which stood healthy
|
|
168
|
+
* accounts down over a refusal that only ever concerned one model; the payload
|
|
169
|
+
* now has to name the credential. `command-code` reached the same verdict for
|
|
170
|
+
* the same reason (see `isCommandCodeModelAccessDenied`).
|
|
171
|
+
*/
|
|
172
|
+
export declare function isAuthenticationError(message: string, status?: number): boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Map a gateway error payload to a stable harness code.
|
|
175
|
+
*
|
|
176
|
+
* OpenDesign meters in dollar-denominated credits, so the exhausted state reads
|
|
177
|
+
* as an insufficient-balance/credits refusal, not a window name: 402, or the
|
|
178
|
+
* gateway's own wording about credits/balance running out, is QUOTA. Anything
|
|
179
|
+
* merely mentioning a plan or a limit is NOT — a temporary billing-lookup
|
|
180
|
+
* failure must not stand an account down.
|
|
181
|
+
*/
|
|
182
|
+
export declare function streamErrorCode(message: string, status?: number): string;
|
|
183
|
+
/**
|
|
184
|
+
* Parse an SSE body into decoded JSON frames.
|
|
185
|
+
*
|
|
186
|
+
* The parser's contract is the sibling line's and stays unsoftened: a body that
|
|
187
|
+
* ends without `[DONE]` is reported by THROWING `STREAM_CLOSED` after its last
|
|
188
|
+
* frame. An SSE parser cannot tell a gateway that closes politely after the
|
|
189
|
+
* terminal frame from a truncated response, because it never interprets
|
|
190
|
+
* `finish_reason` — so it must not decide that question for its callers either.
|
|
191
|
+
* That verdict belongs to {@link translate}, which has the frames, and absorbs
|
|
192
|
+
* this one code from its input.
|
|
193
|
+
* @param body - a web ReadableStream of UTF-8 bytes.
|
|
194
|
+
* @returns every `data:` payload up to `[DONE]`, then throws `STREAM_CLOSED`.
|
|
195
|
+
*/
|
|
196
|
+
export declare function parseServerSentEvents(body: ReadableStream<Uint8Array>): AsyncGenerator<unknown | '[DONE]'>;
|
|
197
|
+
/**
|
|
198
|
+
* Translate decoded SSE payloads into harness stream chunks.
|
|
199
|
+
*
|
|
200
|
+
* Deltas stream through as they arrive; block ends, usage and the finish reason
|
|
201
|
+
* are all deferred to the end of the answer, so no chunk ever follows `finish`.
|
|
202
|
+
* A completion with no content at all becomes an `EMPTY_RESPONSE` error finish
|
|
203
|
+
* rather than a silent empty message.
|
|
204
|
+
*
|
|
205
|
+
* The end of the answer is either the `[DONE]` sentinel or the end of the body
|
|
206
|
+
* AFTER a terminal `finish_reason` arrived. Some gateways close the socket
|
|
207
|
+
* instead of writing the sentinel, and failing such an answer threw away content
|
|
208
|
+
* the caller had already received.
|
|
209
|
+
*
|
|
210
|
+
* The parser still raises `STREAM_CLOSED` for a body with no sentinel — that is
|
|
211
|
+
* its contract and it is not widened here. The signal is absorbed where the
|
|
212
|
+
* frames are available instead (see {@link tolerateMissingSentinel}), and only
|
|
213
|
+
* then does the finish reason decide: a body that stated one closes like any
|
|
214
|
+
* other, and a body that never stated one is truncation and still fails with
|
|
215
|
+
* `STREAM_CLOSED`. No other input failure is absorbed.
|
|
216
|
+
*/
|
|
217
|
+
export declare function translate(payloads: AsyncIterable<unknown | '[DONE]'>): AsyncGenerator<StreamChunk>;
|
|
218
|
+
//# sourceMappingURL=mapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapper.d.ts","sourceRoot":"","sources":["../../../../src/host/opendesign/mapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,UAAU,EAChB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAIL,KAAK,eAAe,EACpB,KAAK,OAAO,EACb,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,6BAA6B,CAAA;AAQpC,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,oDAAoD,CAAA;AAcjF,+BAA+B;AAC/B,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,QAAQ,GAAG,MAAM,GA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