@eddyskywalker/dsh-chatgpt-subscription 0.82.3 → 0.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -227
- package/lib/aws-quick-mcp.js +1 -1
- package/lib/client.js +444 -456
- package/lib/client.js.map +1 -1
- package/lib/codemode.js +310 -45
- package/lib/index.js +3747 -4910
- package/lib/plan-mode-Rrk8NKuk.js +1760 -0
- package/lib/plan-mode-pipeline-DvVmLaxR.js +433 -0
- package/lib/plan-mode-pipeline.js +1 -1
- package/lib/plan-mode.js +2 -2
- package/lib/preset-sync-B9yKbQPc.js +726 -0
- package/lib/progress-updates-CSBYky9J.js +1121 -0
- package/lib/progress-updates.js +1 -1
- package/lib/tool-result-pruner-CIZ8RtkC.js +1112 -0
- package/lib/tool-result-pruner.js +1 -1
- package/lib/types/client/common/AccountPoolSection.d.ts +9 -0
- package/lib/types/client/common/AccountPoolSection.d.ts.map +1 -1
- package/lib/types/client/common/ComposerQuotaBadge.d.ts +1 -1
- package/lib/types/client/common/ComposerQuotaBadge.d.ts.map +1 -1
- package/lib/types/client/common/use-store.d.ts +1 -1
- package/lib/types/client/common/use-store.d.ts.map +1 -1
- package/lib/types/client/features/CompactionRouteCard.d.ts +43 -0
- package/lib/types/client/features/CompactionRouteCard.d.ts.map +1 -0
- package/lib/types/client/features/codemode/CodeRunToolView.d.ts +68 -0
- package/lib/types/client/features/codemode/CodeRunToolView.d.ts.map +1 -0
- package/lib/types/client/features/codemode/highlight.d.ts.map +1 -0
- package/lib/types/client/features/codemode/styles.d.ts.map +1 -0
- package/lib/types/client/features/codemode/tool-name.d.ts.map +1 -0
- package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts +24 -0
- package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts.map +1 -0
- package/lib/types/client/features/compact-after-turn/locales.d.ts.map +1 -0
- package/lib/types/client/features/compact-after-turn/styles.d.ts.map +1 -0
- package/lib/types/client/features/dispatch-ledger/MandateToolView.d.ts.map +1 -0
- package/lib/types/client/features/dispatch-ledger/locales.d.ts.map +1 -0
- package/lib/types/client/features/dispatch-ledger/styles.d.ts.map +1 -0
- package/lib/types/client/features/mermaid/renderer.d.ts.map +1 -0
- package/lib/types/client/features/mermaid/sanitize.d.ts.map +1 -0
- package/lib/types/client/features/mermaid/styles.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/contracts.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/guide-artwork.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/host-source.d.ts +118 -0
- package/lib/types/client/features/progress-updates/host-source.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/index.d.ts +61 -0
- package/lib/types/client/features/progress-updates/index.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/locales.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/markdown-lite.d.ts +65 -0
- package/lib/types/client/features/progress-updates/markdown-lite.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/progress-row.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/settings-binding.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/settings-section.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/styles.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/tool-name.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/updates-panel.d.ts.map +1 -0
- package/lib/types/client/features/subagent/SubagentCard.d.ts.map +1 -0
- package/lib/types/client/features/subagent/index.d.ts.map +1 -0
- package/lib/types/client/features/subagent/locales.d.ts +184 -0
- package/lib/types/client/features/subagent/locales.d.ts.map +1 -0
- package/lib/types/client/features/subagent/styles.d.ts.map +1 -0
- package/lib/types/client/features/subagent/subagent-card-controller.d.ts +352 -0
- package/lib/types/client/features/subagent/subagent-card-controller.d.ts.map +1 -0
- package/lib/types/client/hub/HubOverview.d.ts +1 -1
- package/lib/types/client/hub/HubOverview.d.ts.map +1 -1
- package/lib/types/client/hub/ProviderHubSection.d.ts +16 -0
- package/lib/types/client/hub/ProviderHubSection.d.ts.map +1 -0
- package/lib/types/client/hub/UpdateCheck.d.ts +1 -1
- package/lib/types/client/hub/UpdateCheck.d.ts.map +1 -1
- package/lib/types/client/index.d.ts +21 -21
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/locales-ru/antigravity-acp.d.ts +1 -1
- package/lib/types/client/locales-ru/antigravity-acp.d.ts.map +1 -1
- package/lib/types/client/locales-ru/aws-quick.d.ts +1 -1
- package/lib/types/client/locales-ru/aws-quick.d.ts.map +1 -1
- package/lib/types/client/locales-ru/claude-api.d.ts +1 -1
- package/lib/types/client/locales-ru/claude-api.d.ts.map +1 -1
- package/lib/types/client/locales-ru/claude.d.ts +1 -1
- package/lib/types/client/locales-ru/claude.d.ts.map +1 -1
- package/lib/types/client/locales-ru/cline-pass.d.ts +1 -1
- package/lib/types/client/locales-ru/cline-pass.d.ts.map +1 -1
- package/lib/types/client/locales-ru/command-code.d.ts +1 -1
- package/lib/types/client/locales-ru/command-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/compact-after-turn.d.ts +1 -1
- package/lib/types/client/locales-ru/compact-after-turn.d.ts.map +1 -1
- package/lib/types/client/locales-ru/dispatch-ledger.d.ts +1 -1
- package/lib/types/client/locales-ru/dispatch-ledger.d.ts.map +1 -1
- package/lib/types/client/locales-ru/glm-coding-plan.d.ts +1 -1
- package/lib/types/client/locales-ru/glm-coding-plan.d.ts.map +1 -1
- package/lib/types/client/locales-ru/hub.d.ts +1 -1
- package/lib/types/client/locales-ru/hub.d.ts.map +1 -1
- package/lib/types/client/locales-ru/kimi-code.d.ts +1 -1
- package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/minimax-code.d.ts +1 -1
- package/lib/types/client/locales-ru/minimax-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/ollama.d.ts +1 -1
- package/lib/types/client/locales-ru/ollama.d.ts.map +1 -1
- package/lib/types/client/locales-ru/opendesign.d.ts +1 -1
- package/lib/types/client/locales-ru/opendesign.d.ts.map +1 -1
- package/lib/types/client/locales-ru/progress-updates.d.ts +1 -1
- package/lib/types/client/locales-ru/progress-updates.d.ts.map +1 -1
- package/lib/types/client/locales-ru/qianwen-token-plan.d.ts +1 -1
- package/lib/types/client/locales-ru/qianwen-token-plan.d.ts.map +1 -1
- package/lib/types/client/locales-ru/qoder.d.ts +1 -1
- package/lib/types/client/locales-ru/qoder.d.ts.map +1 -1
- package/lib/types/client/locales-ru/relayone.d.ts +1 -1
- package/lib/types/client/locales-ru/relayone.d.ts.map +1 -1
- package/lib/types/client/locales-ru/step-code.d.ts +1 -1
- package/lib/types/client/locales-ru/step-code.d.ts.map +1 -1
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts +35 -0
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpSection.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/api.d.ts +36 -0
- package/lib/types/client/providers/antigravity-acp/api.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/locales.d.ts +557 -0
- package/lib/types/client/providers/antigravity-acp/locales.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/route.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/styles.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/AwsQuickSection.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/api.d.ts +11 -0
- package/lib/types/client/providers/aws-quick/api.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/locales.d.ts +117 -0
- package/lib/types/client/providers/aws-quick/locales.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/styles.d.ts.map +1 -0
- package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts +29 -0
- package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/claude/ClaudeSection.d.ts.map +1 -0
- package/lib/types/client/providers/claude/locales.d.ts +468 -0
- package/lib/types/client/providers/claude/locales.d.ts.map +1 -0
- package/lib/types/client/providers/claude/styles.d.ts.map +1 -0
- package/lib/types/client/providers/claude/useClaudeSection.d.ts +95 -0
- package/lib/types/client/providers/claude/useClaudeSection.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/ClaudeApiSection.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/api.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/locales.d.ts +161 -0
- package/lib/types/client/providers/claude-api/locales.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/styles.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts +37 -0
- package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts +23 -0
- package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/ClinePassSection.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/api.d.ts +85 -0
- package/lib/types/client/providers/cline-pass/api.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/locales.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/styles.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/CodexComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/CodexImageToolView.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts +42 -0
- package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/api.d.ts +60 -0
- package/lib/types/client/providers/codex-chatgpt/api.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/locales.d.ts +541 -0
- package/lib/types/client/providers/codex-chatgpt/locales.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/quota.d.ts +9 -0
- package/lib/types/client/providers/codex-chatgpt/quota.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/store.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/styles.d.ts.map +1 -0
- package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts +20 -0
- package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/command-code/CommandCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/command-code/locales.d.ts +305 -0
- package/lib/types/client/providers/command-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +27 -0
- package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanSection.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/api.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/locales.d.ts +409 -0
- package/lib/types/client/providers/glm-coding-plan/locales.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/styles.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts +65 -0
- package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts +21 -0
- package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts +16 -0
- package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts +31 -0
- package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/labels.d.ts +66 -0
- package/lib/types/client/providers/kimi-code/labels.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/locales.d.ts +694 -0
- package/lib/types/client/providers/kimi-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/staff-art.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/styles.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts +23 -0
- package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts +48 -0
- package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxVideoToolView.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts +49 -0
- package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/VideoSettingsSections.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/api.d.ts +35 -0
- package/lib/types/client/providers/minimax-code/api.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/commands-contract.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/document-preview.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/locales.d.ts +686 -0
- package/lib/types/client/providers/minimax-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/styles.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts +164 -0
- package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-command-host.d.ts +41 -0
- package/lib/types/client/providers/minimax-code/video-command-host.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-command-icon.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-command.d.ts +90 -0
- package/lib/types/client/providers/minimax-code/video-command.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-contract.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-defaults-store.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-form-rules.d.ts +245 -0
- package/lib/types/client/providers/minimax-code/video-form-rules.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-media-dropzone.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-media-input.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-media.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-presets.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-slots.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-workspace.d.ts.map +1 -0
- package/lib/types/client/providers/ollama/OllamaSection.d.ts.map +1 -0
- package/lib/types/client/providers/ollama/api.d.ts +49 -0
- package/lib/types/client/providers/ollama/api.d.ts.map +1 -0
- package/lib/types/client/providers/ollama/locales.d.ts +479 -0
- package/lib/types/client/providers/ollama/locales.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts +26 -0
- package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/OpenDesignSection.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/api.d.ts +45 -0
- package/lib/types/client/providers/opendesign/api.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/locales.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/styles.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts +14 -0
- package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/api.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/locales.d.ts +158 -0
- package/lib/types/client/providers/qianwen-token-plan/locales.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/styles.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts +32 -0
- package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts +41 -0
- package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/QoderSection.d.ts +37 -0
- package/lib/types/client/providers/qoder/QoderSection.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/api.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/locales.d.ts +322 -0
- package/lib/types/client/providers/qoder/locales.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/styles.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/useQoderSection.d.ts +97 -0
- package/lib/types/client/providers/qoder/useQoderSection.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts +14 -0
- package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/RelayOneSection.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/api.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/locales.d.ts +221 -0
- package/lib/types/client/providers/relayone/locales.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/quota-format.d.ts +6 -0
- package/lib/types/client/providers/relayone/quota-format.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/styles.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/useRelayOneSection.d.ts +32 -0
- package/lib/types/client/providers/relayone/useRelayOneSection.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts +50 -0
- package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/StepCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/api.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/locales.d.ts +657 -0
- package/lib/types/client/providers/step-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/styles.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/useStepCodeSection.d.ts +122 -0
- package/lib/types/client/providers/step-code/useStepCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts +34 -0
- package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts +64 -0
- package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/locales.d.ts +768 -0
- package/lib/types/client/providers/workbuddy/locales.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/styles.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts +149 -0
- package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts.map +1 -0
- package/lib/types/compat.d.ts +1 -1
- package/lib/types/entries/aws-quick-mcp.d.ts +2 -0
- package/lib/types/entries/aws-quick-mcp.d.ts.map +1 -0
- package/lib/types/entries/codemode.d.ts +57 -0
- package/lib/types/entries/codemode.d.ts.map +1 -0
- package/lib/types/entries/plan-mode-pipeline.d.ts +159 -0
- package/lib/types/entries/plan-mode-pipeline.d.ts.map +1 -0
- package/lib/types/entries/plan-mode.d.ts +453 -0
- package/lib/types/entries/plan-mode.d.ts.map +1 -0
- package/lib/types/entries/progress-updates.d.ts +43 -0
- package/lib/types/entries/progress-updates.d.ts.map +1 -0
- package/lib/types/entries/tool-result-pruner.d.ts +260 -0
- package/lib/types/entries/tool-result-pruner.d.ts.map +1 -0
- package/lib/types/host/common/account-pool.d.ts +1 -1
- package/lib/types/host/common/account-pool.d.ts.map +1 -1
- package/lib/types/host/common/i18n/zh.d.ts +3 -3
- package/lib/types/host/common/llm-compat.d.ts +35 -2
- package/lib/types/host/common/llm-compat.d.ts.map +1 -1
- package/lib/types/host/common/pool-storage.d.ts +1 -1
- package/lib/types/host/common/pool-storage.d.ts.map +1 -1
- package/lib/types/host/common/prefix-stability.d.ts +1 -1
- package/lib/types/host/common/prefix-stability.d.ts.map +1 -1
- package/lib/types/host/common/request-images.d.ts +18 -30
- package/lib/types/host/common/request-images.d.ts.map +1 -1
- package/lib/types/host/common/tool-runaway.d.ts +20 -1
- package/lib/types/host/common/tool-runaway.d.ts.map +1 -1
- package/lib/types/host/infra/hub/compaction-prompt.d.ts +94 -0
- package/lib/types/host/infra/hub/compaction-prompt.d.ts.map +1 -0
- package/lib/types/host/infra/hub/hub-overview.d.ts +31 -0
- package/lib/types/host/infra/hub/hub-overview.d.ts.map +1 -0
- package/lib/types/host/infra/hub/update-check.d.ts +118 -0
- package/lib/types/host/infra/hub/update-check.d.ts.map +1 -0
- package/lib/types/host/infra/network/fetch-address-policy.d.ts.map +1 -0
- package/lib/types/host/infra/network/fetch-configuration.d.ts +6 -0
- package/lib/types/host/infra/network/fetch-configuration.d.ts.map +1 -0
- package/lib/types/host/infra/network/proxy-manager.d.ts +246 -0
- package/lib/types/host/infra/network/proxy-manager.d.ts.map +1 -0
- package/lib/types/host/infra/network/relay-probe.d.ts.map +1 -0
- package/lib/types/host/infra/network/search-provider-switcher.d.ts +45 -0
- package/lib/types/host/infra/network/search-provider-switcher.d.ts.map +1 -0
- package/lib/types/host/infra/network/web-provider-reconciler.d.ts.map +1 -0
- package/lib/types/host/infra/network/wire-auth.d.ts +63 -0
- package/lib/types/host/infra/network/wire-auth.d.ts.map +1 -0
- package/lib/types/host/infra/storage/credential-store-secret-service.d.ts.map +1 -0
- package/lib/types/host/infra/storage/platform-token-store.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store-linux.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store-macos.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store-windows.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store.d.ts +81 -0
- package/lib/types/host/infra/storage/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-capability-memory.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-cch.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-corrections.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts +68 -0
- package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts +90 -0
- package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/acp-client.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/adapter.d.ts +305 -0
- package/lib/types/host/providers/antigravity-acp/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts +59 -0
- package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/binary.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/catalog.d.ts +107 -0
- package/lib/types/host/providers/antigravity-acp/catalog.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/doctor.d.ts +73 -0
- package/lib/types/host/providers/antigravity-acp/doctor.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/errors.d.ts +69 -0
- package/lib/types/host/providers/antigravity-acp/errors.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/history.d.ts +131 -0
- package/lib/types/host/providers/antigravity-acp/history.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/login.d.ts +68 -0
- package/lib/types/host/providers/antigravity-acp/login.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/mcp-bridge.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/process-temp.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/routes.d.ts +100 -0
- package/lib/types/host/providers/antigravity-acp/routes.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/settings.d.ts +81 -0
- package/lib/types/host/providers/antigravity-acp/settings.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/subagent.d.ts +128 -0
- package/lib/types/host/providers/antigravity-acp/subagent.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/types.d.ts +155 -0
- package/lib/types/host/providers/antigravity-acp/types.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/adapter.d.ts +73 -0
- package/lib/types/host/providers/aws-quick/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/binary.d.ts +3 -0
- package/lib/types/host/providers/aws-quick/binary.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/client.d.ts +85 -0
- package/lib/types/host/providers/aws-quick/client.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/execution-broker.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/images.d.ts +21 -0
- package/lib/types/host/providers/aws-quick/images.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/markup.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/outpost.d.ts +55 -0
- package/lib/types/host/providers/aws-quick/outpost.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/protocol.d.ts +53 -0
- package/lib/types/host/providers/aws-quick/protocol.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/routes.d.ts +15 -0
- package/lib/types/host/providers/aws-quick/routes.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/settings.d.ts +24 -0
- package/lib/types/host/providers/aws-quick/settings.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/tool-bridge.d.ts +67 -0
- package/lib/types/host/providers/aws-quick/tool-bridge.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/types.d.ts +12 -0
- package/lib/types/host/providers/aws-quick/types.d.ts.map +1 -0
- package/lib/types/host/providers/claude/account-pool.d.ts +484 -0
- package/lib/types/host/providers/claude/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/claude/adapter.d.ts +243 -0
- package/lib/types/host/providers/claude/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/claude/adopt.d.ts +193 -0
- package/lib/types/host/providers/claude/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/claude/client.d.ts +463 -0
- package/lib/types/host/providers/claude/client.d.ts.map +1 -0
- package/lib/types/host/providers/claude/mapper.d.ts +575 -0
- package/lib/types/host/providers/claude/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/claude/model-catalog.d.ts +258 -0
- package/lib/types/host/providers/claude/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/claude/oauth.d.ts +312 -0
- package/lib/types/host/providers/claude/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/claude/routes.d.ts +86 -0
- package/lib/types/host/providers/claude/routes.d.ts.map +1 -0
- package/lib/types/host/providers/claude/token-store.d.ts +261 -0
- package/lib/types/host/providers/claude/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/claude/types.d.ts +375 -0
- package/lib/types/host/providers/claude/types.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/adapter.d.ts +70 -0
- package/lib/types/host/providers/claude-api/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/capability-memory.d.ts +4 -0
- package/lib/types/host/providers/claude-api/capability-memory.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/catalog-manager.d.ts +57 -0
- package/lib/types/host/providers/claude-api/catalog-manager.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/client-version.d.ts +4 -0
- package/lib/types/host/providers/claude-api/client-version.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/client.d.ts +55 -0
- package/lib/types/host/providers/claude-api/client.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/compaction-store.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/compaction.d.ts +47 -0
- package/lib/types/host/providers/claude-api/compaction.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/mapper.d.ts +61 -0
- package/lib/types/host/providers/claude-api/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/model-catalog.d.ts +76 -0
- package/lib/types/host/providers/claude-api/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/routes.d.ts +22 -0
- package/lib/types/host/providers/claude-api/routes.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/stream.d.ts +88 -0
- package/lib/types/host/providers/claude-api/stream.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/token-store.d.ts +60 -0
- package/lib/types/host/providers/claude-api/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/types.d.ts +68 -0
- package/lib/types/host/providers/claude-api/types.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/account-pool.d.ts +63 -0
- package/lib/types/host/providers/cline-pass/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/adapter.d.ts +58 -0
- package/lib/types/host/providers/cline-pass/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/catalog.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/client.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/engine.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/line.d.ts +55 -0
- package/lib/types/host/providers/cline-pass/line.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/mapper.d.ts +138 -0
- package/lib/types/host/providers/cline-pass/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/protocol.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/routes.d.ts +92 -0
- package/lib/types/host/providers/cline-pass/routes.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/store.d.ts +75 -0
- package/lib/types/host/providers/cline-pass/store.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/token-store.d.ts +170 -0
- package/lib/types/host/providers/cline-pass/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/tools.d.ts +21 -0
- package/lib/types/host/providers/cline-pass/tools.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/types.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/callback-server.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts +183 -0
- package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts +162 -0
- package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts +69 -0
- package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-fetch.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts +130 -0
- package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-images.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts +41 -0
- package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-search.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts +43 -0
- package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts +242 -0
- package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/preferences.d.ts +26 -0
- package/lib/types/host/providers/codex-chatgpt/preferences.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts +125 -0
- package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts +133 -0
- package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/routes.d.ts +32 -0
- package/lib/types/host/providers/codex-chatgpt/routes.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts +109 -0
- package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/account-pool.d.ts +72 -0
- package/lib/types/host/providers/command-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/client.d.ts +126 -0
- package/lib/types/host/providers/command-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/mapper.d.ts +199 -0
- package/lib/types/host/providers/command-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/model-catalog.d.ts +45 -0
- package/lib/types/host/providers/command-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/oauth.d.ts +95 -0
- package/lib/types/host/providers/command-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/plans.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/routes.d.ts +44 -0
- package/lib/types/host/providers/command-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/token-store.d.ts +100 -0
- package/lib/types/host/providers/command-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/types.d.ts +222 -0
- package/lib/types/host/providers/command-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts +152 -0
- package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/adapter.d.ts +167 -0
- package/lib/types/host/providers/glm-coding-plan/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/adopt.d.ts +296 -0
- package/lib/types/host/providers/glm-coding-plan/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts +99 -0
- package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/client.d.ts +218 -0
- package/lib/types/host/providers/glm-coding-plan/client.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/exchange.d.ts +189 -0
- package/lib/types/host/providers/glm-coding-plan/exchange.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts +312 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts +182 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts +180 -0
- package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/oauth.d.ts +180 -0
- package/lib/types/host/providers/glm-coding-plan/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/routes.d.ts +93 -0
- package/lib/types/host/providers/glm-coding-plan/routes.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/token-store.d.ts +202 -0
- package/lib/types/host/providers/glm-coding-plan/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/types.d.ts +462 -0
- package/lib/types/host/providers/glm-coding-plan/types.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/account-pool.d.ts +124 -0
- package/lib/types/host/providers/kimi-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/adapter.d.ts +405 -0
- package/lib/types/host/providers/kimi-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/api-key.d.ts +55 -0
- package/lib/types/host/providers/kimi-code/api-key.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/cache-affinity.d.ts +112 -0
- package/lib/types/host/providers/kimi-code/cache-affinity.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/cache-hint.d.ts +65 -0
- package/lib/types/host/providers/kimi-code/cache-hint.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/cache-wait.d.ts +166 -0
- package/lib/types/host/providers/kimi-code/cache-wait.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/client.d.ts +316 -0
- package/lib/types/host/providers/kimi-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/mapper.d.ts +913 -0
- package/lib/types/host/providers/kimi-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/media-files.d.ts +179 -0
- package/lib/types/host/providers/kimi-code/media-files.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/modalities.d.ts +23 -0
- package/lib/types/host/providers/kimi-code/modalities.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/model-catalog.d.ts +125 -0
- package/lib/types/host/providers/kimi-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/oauth.d.ts +213 -0
- package/lib/types/host/providers/kimi-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts +185 -0
- package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/routes.d.ts +52 -0
- package/lib/types/host/providers/kimi-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/session-cache-state.d.ts +156 -0
- package/lib/types/host/providers/kimi-code/session-cache-state.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/token-store.d.ts +182 -0
- package/lib/types/host/providers/kimi-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts +43 -0
- package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/tool-argument-recovery.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/types.d.ts +407 -0
- package/lib/types/host/providers/kimi-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/video-store.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/video-tool.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/account-pool.d.ts +309 -0
- package/lib/types/host/providers/minimax-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/adapter.d.ts +205 -0
- package/lib/types/host/providers/minimax-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts +117 -0
- package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/checkin.d.ts +178 -0
- package/lib/types/host/providers/minimax-code/checkin.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/client.d.ts +242 -0
- package/lib/types/host/providers/minimax-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/files-api.d.ts +89 -0
- package/lib/types/host/providers/minimax-code/files-api.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts +43 -0
- package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/mapper.d.ts +260 -0
- package/lib/types/host/providers/minimax-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/matrix-client.d.ts +128 -0
- package/lib/types/host/providers/minimax-code/matrix-client.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/media-store.d.ts +122 -0
- package/lib/types/host/providers/minimax-code/media-store.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/modalities.d.ts +20 -0
- package/lib/types/host/providers/minimax-code/modalities.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/model-catalog.d.ts +227 -0
- package/lib/types/host/providers/minimax-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/oauth.d.ts +220 -0
- package/lib/types/host/providers/minimax-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/reset-card.d.ts +106 -0
- package/lib/types/host/providers/minimax-code/reset-card.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/routes.d.ts +82 -0
- package/lib/types/host/providers/minimax-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts +205 -0
- package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/token-store.d.ts +300 -0
- package/lib/types/host/providers/minimax-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/types.d.ts +344 -0
- package/lib/types/host/providers/minimax-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/video-history.d.ts +209 -0
- package/lib/types/host/providers/minimax-code/video-history.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/video-submit-rules.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/video-tool.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/account-pool.d.ts +65 -0
- package/lib/types/host/providers/ollama/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/adapter.d.ts +85 -0
- package/lib/types/host/providers/ollama/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/client.d.ts +166 -0
- package/lib/types/host/providers/ollama/client.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/mapper.d.ts +49 -0
- package/lib/types/host/providers/ollama/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/routes.d.ts +22 -0
- package/lib/types/host/providers/ollama/routes.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/token-store.d.ts +78 -0
- package/lib/types/host/providers/ollama/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/types.d.ts +220 -0
- package/lib/types/host/providers/ollama/types.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/account-pool.d.ts +54 -0
- package/lib/types/host/providers/opendesign/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/adapter.d.ts +82 -0
- package/lib/types/host/providers/opendesign/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/catalog.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/client.d.ts +258 -0
- package/lib/types/host/providers/opendesign/client.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/line.d.ts +60 -0
- package/lib/types/host/providers/opendesign/line.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/mapper.d.ts +218 -0
- package/lib/types/host/providers/opendesign/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/routes.d.ts +75 -0
- package/lib/types/host/providers/opendesign/routes.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/token-store.d.ts +241 -0
- package/lib/types/host/providers/opendesign/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/types.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts +35 -0
- package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts +17 -0
- package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/client.d.ts +5 -0
- package/lib/types/host/providers/qianwen-token-plan/client.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts +71 -0
- package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts +28 -0
- package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/routes.d.ts +12 -0
- package/lib/types/host/providers/qianwen-token-plan/routes.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts +56 -0
- package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/types.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/account-pool.d.ts +141 -0
- package/lib/types/host/providers/qoder/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/adapter.d.ts +165 -0
- package/lib/types/host/providers/qoder/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/adopt.d.ts +104 -0
- package/lib/types/host/providers/qoder/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/client.d.ts +292 -0
- package/lib/types/host/providers/qoder/client.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/cosy.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/mapper.d.ts +332 -0
- package/lib/types/host/providers/qoder/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/model-catalog.d.ts +231 -0
- package/lib/types/host/providers/qoder/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/oauth.d.ts +151 -0
- package/lib/types/host/providers/qoder/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/routes.d.ts +119 -0
- package/lib/types/host/providers/qoder/routes.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/token-store.d.ts +280 -0
- package/lib/types/host/providers/qoder/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/types.d.ts +262 -0
- package/lib/types/host/providers/qoder/types.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/account-pool.d.ts +129 -0
- package/lib/types/host/providers/relayone/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/adapter.d.ts +79 -0
- package/lib/types/host/providers/relayone/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/catalog-manager.d.ts +45 -0
- package/lib/types/host/providers/relayone/catalog-manager.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/client.d.ts +5 -0
- package/lib/types/host/providers/relayone/client.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/image-tool.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/mapper-anthropic.d.ts +49 -0
- package/lib/types/host/providers/relayone/mapper-anthropic.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/mapper-openai.d.ts +36 -0
- package/lib/types/host/providers/relayone/mapper-openai.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/mapper-shared.d.ts +25 -0
- package/lib/types/host/providers/relayone/mapper-shared.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/media-shared.d.ts +27 -0
- package/lib/types/host/providers/relayone/media-shared.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/model-catalog.d.ts +70 -0
- package/lib/types/host/providers/relayone/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/quota.d.ts +29 -0
- package/lib/types/host/providers/relayone/quota.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/routes.d.ts +25 -0
- package/lib/types/host/providers/relayone/routes.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/token-store.d.ts +49 -0
- package/lib/types/host/providers/relayone/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/types.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/video-tool.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/account-pool.d.ts +187 -0
- package/lib/types/host/providers/step-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/adapter.d.ts +154 -0
- package/lib/types/host/providers/step-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/adopt.d.ts +156 -0
- package/lib/types/host/providers/step-code/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/cache-stats.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/client.d.ts +311 -0
- package/lib/types/host/providers/step-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/mapper.d.ts +248 -0
- package/lib/types/host/providers/step-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/model-catalog.d.ts +218 -0
- package/lib/types/host/providers/step-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/oauth.d.ts +265 -0
- package/lib/types/host/providers/step-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/routes.d.ts +102 -0
- package/lib/types/host/providers/step-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/token-store.d.ts +325 -0
- package/lib/types/host/providers/step-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/types.d.ts +492 -0
- package/lib/types/host/providers/step-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/account-pool.d.ts +389 -0
- package/lib/types/host/providers/workbuddy/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/adapter.d.ts +246 -0
- package/lib/types/host/providers/workbuddy/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/atrest.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/checkin.d.ts +150 -0
- package/lib/types/host/providers/workbuddy/checkin.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/client.d.ts +214 -0
- package/lib/types/host/providers/workbuddy/client.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/dsml.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/guardrails.d.ts +111 -0
- package/lib/types/host/providers/workbuddy/guardrails.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/identity.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/mapper.d.ts +238 -0
- package/lib/types/host/providers/workbuddy/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/model-catalog.d.ts +153 -0
- package/lib/types/host/providers/workbuddy/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/oauth.d.ts +47 -0
- package/lib/types/host/providers/workbuddy/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/outbound-identity.d.ts +105 -0
- package/lib/types/host/providers/workbuddy/outbound-identity.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/routes.d.ts +56 -0
- package/lib/types/host/providers/workbuddy/routes.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/token-store.d.ts +370 -0
- package/lib/types/host/providers/workbuddy/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/types.d.ts +185 -0
- package/lib/types/host/providers/workbuddy/types.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/budget.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/contracts.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/index.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/install.d.ts +124 -0
- package/lib/types/host/runtime/cache-warmup/install.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/logging.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/projection.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/result-tool.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/retrieval-intent.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/settings.d.ts +79 -0
- package/lib/types/host/runtime/cache-warmup/settings.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/store.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/usage.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/discovery.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/executor.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/retention.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/rules.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/scope.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/transport.d.ts +493 -0
- package/lib/types/host/runtime/codemode/transport.d.ts.map +1 -0
- package/lib/types/host/runtime/compact-after-turn/index.d.ts +105 -0
- package/lib/types/host/runtime/compact-after-turn/index.d.ts.map +1 -0
- package/lib/types/host/runtime/compaction-route/index.d.ts +118 -0
- package/lib/types/host/runtime/compaction-route/index.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts +27 -0
- package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts +70 -0
- package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/match.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/observation-tagger.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/state-anchor.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/binding.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/guard.d.ts +282 -0
- package/lib/types/host/runtime/dispatch-ledger/guard.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/header.d.ts +143 -0
- package/lib/types/host/runtime/dispatch-ledger/header.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/index.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts +505 -0
- package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/policy.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/protocol.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/tool.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/compaction-policy-guard.d.ts +79 -0
- package/lib/types/host/runtime/guards/compaction-policy-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts +143 -0
- package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/plan-mode-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts +75 -0
- package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/settled-job-guard.d.ts +47 -0
- package/lib/types/host/runtime/guards/settled-job-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts +676 -0
- package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/subagent-route-audit.d.ts +154 -0
- package/lib/types/host/runtime/guards/subagent-route-audit.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/team-policy-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/timeline-cache-guard.d.ts +68 -0
- package/lib/types/host/runtime/guards/timeline-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/tool-result-pruner-guard.d.ts +44 -0
- package/lib/types/host/runtime/guards/tool-result-pruner-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/no-answer-resume/index.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/discipline.d.ts +14 -0
- package/lib/types/host/runtime/open-models/discipline.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/index.d.ts +59 -0
- package/lib/types/host/runtime/open-models/index.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/observation-guard.d.ts +32 -0
- package/lib/types/host/runtime/open-models/observation-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/profiles.d.ts +113 -0
- package/lib/types/host/runtime/open-models/profiles.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/state-anchor.d.ts +46 -0
- package/lib/types/host/runtime/open-models/state-anchor.d.ts.map +1 -0
- package/lib/types/host/runtime/presets/agent-preset.d.ts.map +1 -0
- package/lib/types/host/runtime/presets/preset-sync.d.ts +130 -0
- package/lib/types/host/runtime/presets/preset-sync.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/index.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/nudge.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/projection.d.ts +181 -0
- package/lib/types/host/runtime/progress-updates/projection.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/prompt.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/routes.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/store.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/tool.d.ts.map +1 -0
- package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts +304 -0
- package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts.map +1 -0
- package/lib/types/host/runtime/session-title-guard/index.d.ts +64 -0
- package/lib/types/host/runtime/session-title-guard/index.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/line-contracts.d.ts +192 -0
- package/lib/types/host/runtime/widget-board/line-contracts.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/line-quota.d.ts +253 -0
- package/lib/types/host/runtime/widget-board/line-quota.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/line-registry.d.ts +346 -0
- package/lib/types/host/runtime/widget-board/line-registry.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/provider.d.ts.map +1 -0
- package/lib/types/index.d.ts +136 -118
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/claude-contracts.d.ts +0 -59
- package/lib/types/shared/claude-contracts.d.ts.map +1 -1
- package/lib/types/shared/relayone-contracts.d.ts +17 -0
- package/lib/types/shared/relayone-contracts.d.ts.map +1 -1
- package/package.json +57 -59
- package/CHANGELOG.md +0 -2706
- package/lib/entry-plan-mode-EShP3ndV.js +0 -1843
- package/lib/entry-plan-mode-pipeline-BCAZPcOz.js +0 -433
- package/lib/entry-progress-updates-DMLVID9V.js +0 -1154
- package/lib/entry-tool-result-pruner-E_xILd9Z.js +0 -703
- package/lib/llm-compat--WsaC9K6.js +0 -134
- package/lib/types/client/CodexComposerQuota.d.ts.map +0 -1
- package/lib/types/client/CodexImageToolView.d.ts.map +0 -1
- package/lib/types/client/CodexSubscriptionSection.d.ts +0 -42
- package/lib/types/client/CodexSubscriptionSection.d.ts.map +0 -1
- package/lib/types/client/CompactionRouteCard.d.ts +0 -43
- package/lib/types/client/CompactionRouteCard.d.ts.map +0 -1
- package/lib/types/client/ProviderHubSection.d.ts +0 -16
- package/lib/types/client/ProviderHubSection.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts +0 -35
- package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/AntigravityAcpSection.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/api.d.ts +0 -36
- package/lib/types/client/antigravity-acp/api.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/locales.d.ts +0 -557
- package/lib/types/client/antigravity-acp/locales.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/route.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/styles.d.ts.map +0 -1
- package/lib/types/client/api.d.ts +0 -60
- package/lib/types/client/api.d.ts.map +0 -1
- package/lib/types/client/aws-quick/AwsQuickSection.d.ts.map +0 -1
- package/lib/types/client/aws-quick/api.d.ts +0 -11
- package/lib/types/client/aws-quick/api.d.ts.map +0 -1
- package/lib/types/client/aws-quick/locales.d.ts +0 -117
- package/lib/types/client/aws-quick/locales.d.ts.map +0 -1
- package/lib/types/client/aws-quick/styles.d.ts.map +0 -1
- package/lib/types/client/claude/ClaudeComposerQuota.d.ts +0 -29
- package/lib/types/client/claude/ClaudeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/claude/ClaudeSection.d.ts.map +0 -1
- package/lib/types/client/claude/locales.d.ts +0 -468
- package/lib/types/client/claude/locales.d.ts.map +0 -1
- package/lib/types/client/claude/styles.d.ts.map +0 -1
- package/lib/types/client/claude/useClaudeSection.d.ts +0 -95
- package/lib/types/client/claude/useClaudeSection.d.ts.map +0 -1
- package/lib/types/client/claude-api/ClaudeApiSection.d.ts.map +0 -1
- package/lib/types/client/claude-api/api.d.ts.map +0 -1
- package/lib/types/client/claude-api/locales.d.ts +0 -161
- package/lib/types/client/claude-api/locales.d.ts.map +0 -1
- package/lib/types/client/claude-api/styles.d.ts.map +0 -1
- package/lib/types/client/claude-api/useClaudeApiSection.d.ts +0 -37
- package/lib/types/client/claude-api/useClaudeApiSection.d.ts.map +0 -1
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts +0 -23
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts.map +0 -1
- package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +0 -1
- package/lib/types/client/cline-pass/api.d.ts +0 -85
- package/lib/types/client/cline-pass/api.d.ts.map +0 -1
- package/lib/types/client/cline-pass/locales.d.ts.map +0 -1
- package/lib/types/client/cline-pass/styles.d.ts.map +0 -1
- package/lib/types/client/codemode/CodeRunToolView.d.ts +0 -68
- package/lib/types/client/codemode/CodeRunToolView.d.ts.map +0 -1
- package/lib/types/client/codemode/highlight.d.ts.map +0 -1
- package/lib/types/client/codemode/styles.d.ts.map +0 -1
- package/lib/types/client/codemode/tool-name.d.ts.map +0 -1
- package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts +0 -20
- package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/command-code/CommandCodeSection.d.ts.map +0 -1
- package/lib/types/client/command-code/locales.d.ts +0 -305
- package/lib/types/client/command-code/locales.d.ts.map +0 -1
- package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts +0 -24
- package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts.map +0 -1
- package/lib/types/client/compact-after-turn/locales.d.ts.map +0 -1
- package/lib/types/client/compact-after-turn/styles.d.ts.map +0 -1
- package/lib/types/client/dispatch-ledger/MandateToolView.d.ts.map +0 -1
- package/lib/types/client/dispatch-ledger/locales.d.ts.map +0 -1
- package/lib/types/client/dispatch-ledger/styles.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +0 -27
- package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/api.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/locales.d.ts +0 -409
- package/lib/types/client/glm-coding-plan/locales.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/styles.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts +0 -65
- package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts +0 -21
- package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts +0 -16
- package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiQuotaCard.d.ts +0 -31
- package/lib/types/client/kimi-code/KimiQuotaCard.d.ts.map +0 -1
- package/lib/types/client/kimi-code/labels.d.ts +0 -66
- package/lib/types/client/kimi-code/labels.d.ts.map +0 -1
- package/lib/types/client/kimi-code/locales.d.ts +0 -694
- package/lib/types/client/kimi-code/locales.d.ts.map +0 -1
- package/lib/types/client/kimi-code/staff-art.d.ts.map +0 -1
- package/lib/types/client/kimi-code/styles.d.ts.map +0 -1
- package/lib/types/client/locales.d.ts +0 -541
- package/lib/types/client/locales.d.ts.map +0 -1
- package/lib/types/client/mermaid/renderer.d.ts.map +0 -1
- package/lib/types/client/mermaid/sanitize.d.ts.map +0 -1
- package/lib/types/client/mermaid/styles.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts +0 -23
- package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts +0 -86
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxVideoToolView.d.ts.map +0 -1
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts +0 -86
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts.map +0 -1
- package/lib/types/client/minimax-code/VideoSettingsSections.d.ts.map +0 -1
- package/lib/types/client/minimax-code/api.d.ts +0 -35
- package/lib/types/client/minimax-code/api.d.ts.map +0 -1
- package/lib/types/client/minimax-code/commands-contract.d.ts.map +0 -1
- package/lib/types/client/minimax-code/document-preview.d.ts.map +0 -1
- package/lib/types/client/minimax-code/locales.d.ts +0 -686
- package/lib/types/client/minimax-code/locales.d.ts.map +0 -1
- package/lib/types/client/minimax-code/styles.d.ts.map +0 -1
- package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts +0 -164
- package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-command-host.d.ts +0 -67
- package/lib/types/client/minimax-code/video-command-host.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-command-icon.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-command.d.ts +0 -120
- package/lib/types/client/minimax-code/video-command.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-contract.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-defaults-store.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-form-rules.d.ts +0 -288
- package/lib/types/client/minimax-code/video-form-rules.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-media-dropzone.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-media-input.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-media.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-presets.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-slots.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-workspace.d.ts.map +0 -1
- package/lib/types/client/ollama/OllamaSection.d.ts.map +0 -1
- package/lib/types/client/ollama/api.d.ts +0 -49
- package/lib/types/client/ollama/api.d.ts.map +0 -1
- package/lib/types/client/ollama/locales.d.ts +0 -479
- package/lib/types/client/ollama/locales.d.ts.map +0 -1
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts +0 -26
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts.map +0 -1
- package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +0 -1
- package/lib/types/client/opendesign/api.d.ts +0 -45
- package/lib/types/client/opendesign/api.d.ts.map +0 -1
- package/lib/types/client/opendesign/locales.d.ts.map +0 -1
- package/lib/types/client/opendesign/styles.d.ts.map +0 -1
- package/lib/types/client/progress-updates/contracts.d.ts.map +0 -1
- package/lib/types/client/progress-updates/guide-artwork.d.ts.map +0 -1
- package/lib/types/client/progress-updates/host-source.d.ts +0 -144
- package/lib/types/client/progress-updates/host-source.d.ts.map +0 -1
- package/lib/types/client/progress-updates/index.d.ts +0 -91
- package/lib/types/client/progress-updates/index.d.ts.map +0 -1
- package/lib/types/client/progress-updates/locales.d.ts.map +0 -1
- package/lib/types/client/progress-updates/markdown-lite.d.ts +0 -99
- package/lib/types/client/progress-updates/markdown-lite.d.ts.map +0 -1
- package/lib/types/client/progress-updates/progress-row.d.ts.map +0 -1
- package/lib/types/client/progress-updates/settings-binding.d.ts.map +0 -1
- package/lib/types/client/progress-updates/settings-section.d.ts.map +0 -1
- package/lib/types/client/progress-updates/styles.d.ts.map +0 -1
- package/lib/types/client/progress-updates/tool-name.d.ts.map +0 -1
- package/lib/types/client/progress-updates/updates-panel.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts +0 -14
- package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/api.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/locales.d.ts +0 -158
- package/lib/types/client/qianwen-token-plan/locales.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/styles.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts +0 -32
- package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts.map +0 -1
- package/lib/types/client/qoder/QoderComposerQuota.d.ts +0 -41
- package/lib/types/client/qoder/QoderComposerQuota.d.ts.map +0 -1
- package/lib/types/client/qoder/QoderSection.d.ts +0 -37
- package/lib/types/client/qoder/QoderSection.d.ts.map +0 -1
- package/lib/types/client/qoder/api.d.ts.map +0 -1
- package/lib/types/client/qoder/locales.d.ts +0 -322
- package/lib/types/client/qoder/locales.d.ts.map +0 -1
- package/lib/types/client/qoder/styles.d.ts.map +0 -1
- package/lib/types/client/qoder/useQoderSection.d.ts +0 -97
- package/lib/types/client/qoder/useQoderSection.d.ts.map +0 -1
- package/lib/types/client/quota.d.ts +0 -9
- package/lib/types/client/quota.d.ts.map +0 -1
- package/lib/types/client/relayone/RelayOneComposerQuota.d.ts +0 -14
- package/lib/types/client/relayone/RelayOneComposerQuota.d.ts.map +0 -1
- package/lib/types/client/relayone/RelayOneSection.d.ts.map +0 -1
- package/lib/types/client/relayone/api.d.ts.map +0 -1
- package/lib/types/client/relayone/locales.d.ts +0 -157
- package/lib/types/client/relayone/locales.d.ts.map +0 -1
- package/lib/types/client/relayone/quota-format.d.ts +0 -6
- package/lib/types/client/relayone/quota-format.d.ts.map +0 -1
- package/lib/types/client/relayone/styles.d.ts.map +0 -1
- package/lib/types/client/relayone/useRelayOneSection.d.ts +0 -30
- package/lib/types/client/relayone/useRelayOneSection.d.ts.map +0 -1
- package/lib/types/client/step-code/StepCodeComposerQuota.d.ts +0 -50
- package/lib/types/client/step-code/StepCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/step-code/StepCodeSection.d.ts.map +0 -1
- package/lib/types/client/step-code/api.d.ts.map +0 -1
- package/lib/types/client/step-code/locales.d.ts +0 -657
- package/lib/types/client/step-code/locales.d.ts.map +0 -1
- package/lib/types/client/step-code/styles.d.ts.map +0 -1
- package/lib/types/client/step-code/useStepCodeSection.d.ts +0 -122
- package/lib/types/client/step-code/useStepCodeSection.d.ts.map +0 -1
- package/lib/types/client/store.d.ts.map +0 -1
- package/lib/types/client/styles.d.ts.map +0 -1
- package/lib/types/client/subagent/SubagentCard.d.ts.map +0 -1
- package/lib/types/client/subagent/index.d.ts.map +0 -1
- package/lib/types/client/subagent/locales.d.ts +0 -184
- package/lib/types/client/subagent/locales.d.ts.map +0 -1
- package/lib/types/client/subagent/styles.d.ts.map +0 -1
- package/lib/types/client/subagent/subagent-card-controller.d.ts +0 -352
- package/lib/types/client/subagent/subagent-card-controller.d.ts.map +0 -1
- package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts +0 -34
- package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts.map +0 -1
- package/lib/types/client/workbuddy/WorkBuddySection.d.ts +0 -91
- package/lib/types/client/workbuddy/WorkBuddySection.d.ts.map +0 -1
- package/lib/types/client/workbuddy/locales.d.ts +0 -768
- package/lib/types/client/workbuddy/locales.d.ts.map +0 -1
- package/lib/types/client/workbuddy/styles.d.ts.map +0 -1
- package/lib/types/client/workbuddy/useWorkBuddySection.d.ts +0 -149
- package/lib/types/client/workbuddy/useWorkBuddySection.d.ts.map +0 -1
- package/lib/types/entry-codemode.d.ts +0 -37
- package/lib/types/entry-codemode.d.ts.map +0 -1
- package/lib/types/entry-plan-mode-pipeline.d.ts +0 -206
- package/lib/types/entry-plan-mode-pipeline.d.ts.map +0 -1
- package/lib/types/entry-plan-mode.d.ts +0 -499
- package/lib/types/entry-plan-mode.d.ts.map +0 -1
- package/lib/types/entry-progress-updates.d.ts +0 -43
- package/lib/types/entry-progress-updates.d.ts.map +0 -1
- package/lib/types/entry-tool-result-pruner.d.ts +0 -258
- package/lib/types/entry-tool-result-pruner.d.ts.map +0 -1
- package/lib/types/host/adapter.d.ts.map +0 -1
- package/lib/types/host/agent-preset.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/acp-client.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/adapter.d.ts +0 -340
- package/lib/types/host/antigravity-acp/adapter.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/auth-cache.d.ts +0 -59
- package/lib/types/host/antigravity-acp/auth-cache.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/binary.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/catalog.d.ts +0 -107
- package/lib/types/host/antigravity-acp/catalog.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/doctor.d.ts +0 -73
- package/lib/types/host/antigravity-acp/doctor.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/errors.d.ts +0 -69
- package/lib/types/host/antigravity-acp/errors.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/history.d.ts +0 -131
- package/lib/types/host/antigravity-acp/history.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/login.d.ts +0 -68
- package/lib/types/host/antigravity-acp/login.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/mcp-bridge.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/process-temp.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/routes.d.ts +0 -100
- package/lib/types/host/antigravity-acp/routes.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/settings.d.ts +0 -81
- package/lib/types/host/antigravity-acp/settings.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/subagent.d.ts +0 -128
- package/lib/types/host/antigravity-acp/subagent.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/types.d.ts +0 -155
- package/lib/types/host/antigravity-acp/types.d.ts.map +0 -1
- package/lib/types/host/aws-quick/adapter.d.ts +0 -77
- package/lib/types/host/aws-quick/adapter.d.ts.map +0 -1
- package/lib/types/host/aws-quick/binary.d.ts +0 -3
- package/lib/types/host/aws-quick/binary.d.ts.map +0 -1
- package/lib/types/host/aws-quick/client.d.ts +0 -85
- package/lib/types/host/aws-quick/client.d.ts.map +0 -1
- package/lib/types/host/aws-quick/execution-broker.d.ts.map +0 -1
- package/lib/types/host/aws-quick/images.d.ts +0 -21
- package/lib/types/host/aws-quick/images.d.ts.map +0 -1
- package/lib/types/host/aws-quick/markup.d.ts.map +0 -1
- package/lib/types/host/aws-quick/outpost.d.ts +0 -55
- package/lib/types/host/aws-quick/outpost.d.ts.map +0 -1
- package/lib/types/host/aws-quick/protocol.d.ts +0 -53
- package/lib/types/host/aws-quick/protocol.d.ts.map +0 -1
- package/lib/types/host/aws-quick/routes.d.ts +0 -15
- package/lib/types/host/aws-quick/routes.d.ts.map +0 -1
- package/lib/types/host/aws-quick/settings.d.ts +0 -24
- package/lib/types/host/aws-quick/settings.d.ts.map +0 -1
- package/lib/types/host/aws-quick/tool-bridge.d.ts +0 -67
- package/lib/types/host/aws-quick/tool-bridge.d.ts.map +0 -1
- package/lib/types/host/aws-quick/types.d.ts +0 -12
- package/lib/types/host/aws-quick/types.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/budget.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/contracts.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/index.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/install.d.ts +0 -152
- package/lib/types/host/cache-warmup/install.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/logging.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/projection.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/result-tool.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/retrieval-intent.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/settings.d.ts +0 -84
- package/lib/types/host/cache-warmup/settings.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/store.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/usage.d.ts.map +0 -1
- package/lib/types/host/callback-server.d.ts.map +0 -1
- package/lib/types/host/claude/account-pool.d.ts +0 -583
- package/lib/types/host/claude/account-pool.d.ts.map +0 -1
- package/lib/types/host/claude/adapter.d.ts +0 -415
- package/lib/types/host/claude/adapter.d.ts.map +0 -1
- package/lib/types/host/claude/adopt.d.ts +0 -292
- package/lib/types/host/claude/adopt.d.ts.map +0 -1
- package/lib/types/host/claude/client.d.ts +0 -579
- package/lib/types/host/claude/client.d.ts.map +0 -1
- package/lib/types/host/claude/mapper.d.ts +0 -793
- package/lib/types/host/claude/mapper.d.ts.map +0 -1
- package/lib/types/host/claude/model-catalog.d.ts +0 -560
- package/lib/types/host/claude/model-catalog.d.ts.map +0 -1
- package/lib/types/host/claude/oauth.d.ts +0 -419
- package/lib/types/host/claude/oauth.d.ts.map +0 -1
- package/lib/types/host/claude/routes.d.ts +0 -131
- package/lib/types/host/claude/routes.d.ts.map +0 -1
- package/lib/types/host/claude/token-store.d.ts +0 -331
- package/lib/types/host/claude/token-store.d.ts.map +0 -1
- package/lib/types/host/claude/types.d.ts +0 -415
- package/lib/types/host/claude/types.d.ts.map +0 -1
- package/lib/types/host/claude-api/adapter.d.ts +0 -74
- package/lib/types/host/claude-api/adapter.d.ts.map +0 -1
- package/lib/types/host/claude-api/capability-memory.d.ts +0 -4
- package/lib/types/host/claude-api/capability-memory.d.ts.map +0 -1
- package/lib/types/host/claude-api/catalog-manager.d.ts +0 -57
- package/lib/types/host/claude-api/catalog-manager.d.ts.map +0 -1
- package/lib/types/host/claude-api/client-version.d.ts +0 -4
- package/lib/types/host/claude-api/client-version.d.ts.map +0 -1
- package/lib/types/host/claude-api/client.d.ts +0 -55
- package/lib/types/host/claude-api/client.d.ts.map +0 -1
- package/lib/types/host/claude-api/compaction-store.d.ts.map +0 -1
- package/lib/types/host/claude-api/compaction.d.ts +0 -47
- package/lib/types/host/claude-api/compaction.d.ts.map +0 -1
- package/lib/types/host/claude-api/mapper.d.ts +0 -61
- package/lib/types/host/claude-api/mapper.d.ts.map +0 -1
- package/lib/types/host/claude-api/model-catalog.d.ts +0 -76
- package/lib/types/host/claude-api/model-catalog.d.ts.map +0 -1
- package/lib/types/host/claude-api/routes.d.ts +0 -22
- package/lib/types/host/claude-api/routes.d.ts.map +0 -1
- package/lib/types/host/claude-api/stream.d.ts +0 -88
- package/lib/types/host/claude-api/stream.d.ts.map +0 -1
- package/lib/types/host/claude-api/token-store.d.ts +0 -60
- package/lib/types/host/claude-api/token-store.d.ts.map +0 -1
- package/lib/types/host/claude-api/types.d.ts +0 -68
- package/lib/types/host/claude-api/types.d.ts.map +0 -1
- package/lib/types/host/cline-pass/account-pool.d.ts +0 -63
- package/lib/types/host/cline-pass/account-pool.d.ts.map +0 -1
- package/lib/types/host/cline-pass/adapter.d.ts +0 -58
- package/lib/types/host/cline-pass/adapter.d.ts.map +0 -1
- package/lib/types/host/cline-pass/catalog.d.ts.map +0 -1
- package/lib/types/host/cline-pass/client.d.ts.map +0 -1
- package/lib/types/host/cline-pass/engine.d.ts.map +0 -1
- package/lib/types/host/cline-pass/line.d.ts +0 -55
- package/lib/types/host/cline-pass/line.d.ts.map +0 -1
- package/lib/types/host/cline-pass/mapper.d.ts +0 -138
- package/lib/types/host/cline-pass/mapper.d.ts.map +0 -1
- package/lib/types/host/cline-pass/oauth.d.ts.map +0 -1
- package/lib/types/host/cline-pass/protocol.d.ts.map +0 -1
- package/lib/types/host/cline-pass/routes.d.ts +0 -92
- package/lib/types/host/cline-pass/routes.d.ts.map +0 -1
- package/lib/types/host/cline-pass/store.d.ts +0 -75
- package/lib/types/host/cline-pass/store.d.ts.map +0 -1
- package/lib/types/host/cline-pass/token-store.d.ts +0 -170
- package/lib/types/host/cline-pass/token-store.d.ts.map +0 -1
- package/lib/types/host/cline-pass/tools.d.ts +0 -21
- package/lib/types/host/cline-pass/tools.d.ts.map +0 -1
- package/lib/types/host/cline-pass/types.d.ts.map +0 -1
- package/lib/types/host/codemode/discovery.d.ts.map +0 -1
- package/lib/types/host/codemode/executor.d.ts.map +0 -1
- package/lib/types/host/codemode/retention.d.ts.map +0 -1
- package/lib/types/host/codemode/rules.d.ts.map +0 -1
- package/lib/types/host/codemode/scope.d.ts.map +0 -1
- package/lib/types/host/codemode/transport.d.ts +0 -457
- package/lib/types/host/codemode/transport.d.ts.map +0 -1
- package/lib/types/host/codex-account-pool.d.ts +0 -214
- package/lib/types/host/codex-account-pool.d.ts.map +0 -1
- package/lib/types/host/codex-adopt.d.ts +0 -255
- package/lib/types/host/codex-adopt.d.ts.map +0 -1
- package/lib/types/host/codex-catalog.d.ts +0 -69
- package/lib/types/host/codex-catalog.d.ts.map +0 -1
- package/lib/types/host/codex-fetch.d.ts.map +0 -1
- package/lib/types/host/codex-identity.d.ts +0 -130
- package/lib/types/host/codex-identity.d.ts.map +0 -1
- package/lib/types/host/codex-images.d.ts.map +0 -1
- package/lib/types/host/codex-remote-compaction.d.ts +0 -41
- package/lib/types/host/codex-remote-compaction.d.ts.map +0 -1
- package/lib/types/host/codex-search.d.ts.map +0 -1
- package/lib/types/host/command-code/account-pool.d.ts +0 -72
- package/lib/types/host/command-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/command-code/adapter.d.ts.map +0 -1
- package/lib/types/host/command-code/client.d.ts +0 -126
- package/lib/types/host/command-code/client.d.ts.map +0 -1
- package/lib/types/host/command-code/mapper.d.ts +0 -199
- package/lib/types/host/command-code/mapper.d.ts.map +0 -1
- package/lib/types/host/command-code/model-catalog.d.ts +0 -90
- package/lib/types/host/command-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/command-code/oauth.d.ts +0 -95
- package/lib/types/host/command-code/oauth.d.ts.map +0 -1
- package/lib/types/host/command-code/plans.d.ts.map +0 -1
- package/lib/types/host/command-code/routes.d.ts +0 -44
- package/lib/types/host/command-code/routes.d.ts.map +0 -1
- package/lib/types/host/command-code/token-store.d.ts +0 -100
- package/lib/types/host/command-code/token-store.d.ts.map +0 -1
- package/lib/types/host/command-code/types.d.ts +0 -222
- package/lib/types/host/command-code/types.d.ts.map +0 -1
- package/lib/types/host/common/claude-capability-memory.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-cch.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-corrections.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-first-party.d.ts +0 -68
- package/lib/types/host/common/claude-code-first-party.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-version.d.ts +0 -90
- package/lib/types/host/common/claude-code-version.d.ts.map +0 -1
- package/lib/types/host/compact-after-turn/index.d.ts +0 -126
- package/lib/types/host/compact-after-turn/index.d.ts.map +0 -1
- package/lib/types/host/compaction-policy-guard.d.ts +0 -65
- package/lib/types/host/compaction-policy-guard.d.ts.map +0 -1
- package/lib/types/host/compaction-prompt.d.ts +0 -129
- package/lib/types/host/compaction-prompt.d.ts.map +0 -1
- package/lib/types/host/compaction-route/index.d.ts +0 -147
- package/lib/types/host/compaction-route/index.d.ts.map +0 -1
- package/lib/types/host/credential-store-secret-service.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/discipline.d.ts +0 -22
- package/lib/types/host/deepseek-v41-flash/discipline.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/index.d.ts +0 -70
- package/lib/types/host/deepseek-v41-flash/index.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/match.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/observation-tagger.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/state-anchor.d.ts.map +0 -1
- package/lib/types/host/dispatch-execution-guard.d.ts +0 -181
- package/lib/types/host/dispatch-execution-guard.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/binding.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/guard.d.ts +0 -281
- package/lib/types/host/dispatch-ledger/guard.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/header.d.ts +0 -177
- package/lib/types/host/dispatch-ledger/header.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/index.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/ledger.d.ts +0 -553
- package/lib/types/host/dispatch-ledger/ledger.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/policy.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/protocol.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/tool.d.ts.map +0 -1
- package/lib/types/host/fetch-address-policy.d.ts.map +0 -1
- package/lib/types/host/fetch-configuration.d.ts +0 -6
- package/lib/types/host/fetch-configuration.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/account-pool.d.ts +0 -152
- package/lib/types/host/glm-coding-plan/account-pool.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/adapter.d.ts +0 -167
- package/lib/types/host/glm-coding-plan/adapter.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/adopt.d.ts +0 -354
- package/lib/types/host/glm-coding-plan/adopt.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts +0 -99
- package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/client.d.ts +0 -218
- package/lib/types/host/glm-coding-plan/client.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/exchange.d.ts +0 -223
- package/lib/types/host/glm-coding-plan/exchange.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts +0 -388
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/mapper-openai.d.ts +0 -213
- package/lib/types/host/glm-coding-plan/mapper-openai.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts +0 -241
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/oauth.d.ts +0 -211
- package/lib/types/host/glm-coding-plan/oauth.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/routes.d.ts +0 -93
- package/lib/types/host/glm-coding-plan/routes.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/token-store.d.ts +0 -202
- package/lib/types/host/glm-coding-plan/token-store.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/types.d.ts +0 -492
- package/lib/types/host/glm-coding-plan/types.d.ts.map +0 -1
- package/lib/types/host/hub-overview.d.ts +0 -26
- package/lib/types/host/hub-overview.d.ts.map +0 -1
- package/lib/types/host/kimi-code/account-pool.d.ts +0 -124
- package/lib/types/host/kimi-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/kimi-code/adapter.d.ts +0 -454
- package/lib/types/host/kimi-code/adapter.d.ts.map +0 -1
- package/lib/types/host/kimi-code/api-key.d.ts +0 -55
- package/lib/types/host/kimi-code/api-key.d.ts.map +0 -1
- package/lib/types/host/kimi-code/cache-affinity.d.ts +0 -112
- package/lib/types/host/kimi-code/cache-affinity.d.ts.map +0 -1
- package/lib/types/host/kimi-code/cache-hint.d.ts +0 -65
- package/lib/types/host/kimi-code/cache-hint.d.ts.map +0 -1
- package/lib/types/host/kimi-code/cache-wait.d.ts +0 -166
- package/lib/types/host/kimi-code/cache-wait.d.ts.map +0 -1
- package/lib/types/host/kimi-code/client.d.ts +0 -306
- package/lib/types/host/kimi-code/client.d.ts.map +0 -1
- package/lib/types/host/kimi-code/mapper.d.ts +0 -913
- package/lib/types/host/kimi-code/mapper.d.ts.map +0 -1
- package/lib/types/host/kimi-code/media-files.d.ts +0 -206
- package/lib/types/host/kimi-code/media-files.d.ts.map +0 -1
- package/lib/types/host/kimi-code/modalities.d.ts +0 -23
- package/lib/types/host/kimi-code/modalities.d.ts.map +0 -1
- package/lib/types/host/kimi-code/model-catalog.d.ts +0 -125
- package/lib/types/host/kimi-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/kimi-code/oauth.d.ts +0 -213
- package/lib/types/host/kimi-code/oauth.d.ts.map +0 -1
- package/lib/types/host/kimi-code/repeat-breaker.d.ts +0 -219
- package/lib/types/host/kimi-code/repeat-breaker.d.ts.map +0 -1
- package/lib/types/host/kimi-code/routes.d.ts +0 -52
- package/lib/types/host/kimi-code/routes.d.ts.map +0 -1
- package/lib/types/host/kimi-code/session-cache-state.d.ts +0 -156
- package/lib/types/host/kimi-code/session-cache-state.d.ts.map +0 -1
- package/lib/types/host/kimi-code/token-store.d.ts +0 -182
- package/lib/types/host/kimi-code/token-store.d.ts.map +0 -1
- package/lib/types/host/kimi-code/tool-argument-guard.d.ts +0 -43
- package/lib/types/host/kimi-code/tool-argument-guard.d.ts.map +0 -1
- package/lib/types/host/kimi-code/tool-argument-recovery.d.ts.map +0 -1
- package/lib/types/host/kimi-code/types.d.ts +0 -449
- package/lib/types/host/kimi-code/types.d.ts.map +0 -1
- package/lib/types/host/kimi-code/video-store.d.ts.map +0 -1
- package/lib/types/host/kimi-code/video-tool.d.ts.map +0 -1
- package/lib/types/host/minimax-code/account-pool.d.ts +0 -309
- package/lib/types/host/minimax-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/minimax-code/adapter.d.ts +0 -209
- package/lib/types/host/minimax-code/adapter.d.ts.map +0 -1
- package/lib/types/host/minimax-code/checkin-gateway.d.ts +0 -145
- package/lib/types/host/minimax-code/checkin-gateway.d.ts.map +0 -1
- package/lib/types/host/minimax-code/checkin.d.ts +0 -207
- package/lib/types/host/minimax-code/checkin.d.ts.map +0 -1
- package/lib/types/host/minimax-code/client.d.ts +0 -242
- package/lib/types/host/minimax-code/client.d.ts.map +0 -1
- package/lib/types/host/minimax-code/files-api.d.ts +0 -117
- package/lib/types/host/minimax-code/files-api.d.ts.map +0 -1
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts +0 -84
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts.map +0 -1
- package/lib/types/host/minimax-code/mapper.d.ts +0 -351
- package/lib/types/host/minimax-code/mapper.d.ts.map +0 -1
- package/lib/types/host/minimax-code/matrix-client.d.ts +0 -168
- package/lib/types/host/minimax-code/matrix-client.d.ts.map +0 -1
- package/lib/types/host/minimax-code/media-store.d.ts +0 -153
- package/lib/types/host/minimax-code/media-store.d.ts.map +0 -1
- package/lib/types/host/minimax-code/modalities.d.ts +0 -20
- package/lib/types/host/minimax-code/modalities.d.ts.map +0 -1
- package/lib/types/host/minimax-code/model-catalog.d.ts +0 -227
- package/lib/types/host/minimax-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/minimax-code/oauth.d.ts +0 -220
- package/lib/types/host/minimax-code/oauth.d.ts.map +0 -1
- package/lib/types/host/minimax-code/reset-card.d.ts +0 -136
- package/lib/types/host/minimax-code/reset-card.d.ts.map +0 -1
- package/lib/types/host/minimax-code/routes.d.ts +0 -82
- package/lib/types/host/minimax-code/routes.d.ts.map +0 -1
- package/lib/types/host/minimax-code/runtime-enhancements.d.ts +0 -226
- package/lib/types/host/minimax-code/runtime-enhancements.d.ts.map +0 -1
- package/lib/types/host/minimax-code/token-store.d.ts +0 -328
- package/lib/types/host/minimax-code/token-store.d.ts.map +0 -1
- package/lib/types/host/minimax-code/types.d.ts +0 -378
- package/lib/types/host/minimax-code/types.d.ts.map +0 -1
- package/lib/types/host/minimax-code/video-history.d.ts +0 -240
- package/lib/types/host/minimax-code/video-history.d.ts.map +0 -1
- package/lib/types/host/minimax-code/video-submit-rules.d.ts.map +0 -1
- package/lib/types/host/minimax-code/video-tool.d.ts.map +0 -1
- package/lib/types/host/model-catalog.d.ts +0 -43
- package/lib/types/host/model-catalog.d.ts.map +0 -1
- package/lib/types/host/no-answer-resume/index.d.ts.map +0 -1
- package/lib/types/host/oauth-service.d.ts +0 -242
- package/lib/types/host/oauth-service.d.ts.map +0 -1
- package/lib/types/host/ollama/account-pool.d.ts +0 -65
- package/lib/types/host/ollama/account-pool.d.ts.map +0 -1
- package/lib/types/host/ollama/adapter.d.ts +0 -85
- package/lib/types/host/ollama/adapter.d.ts.map +0 -1
- package/lib/types/host/ollama/client.d.ts +0 -166
- package/lib/types/host/ollama/client.d.ts.map +0 -1
- package/lib/types/host/ollama/mapper.d.ts +0 -49
- package/lib/types/host/ollama/mapper.d.ts.map +0 -1
- package/lib/types/host/ollama/routes.d.ts +0 -22
- package/lib/types/host/ollama/routes.d.ts.map +0 -1
- package/lib/types/host/ollama/token-store.d.ts +0 -78
- package/lib/types/host/ollama/token-store.d.ts.map +0 -1
- package/lib/types/host/ollama/types.d.ts +0 -247
- package/lib/types/host/ollama/types.d.ts.map +0 -1
- package/lib/types/host/opendesign/account-pool.d.ts +0 -54
- package/lib/types/host/opendesign/account-pool.d.ts.map +0 -1
- package/lib/types/host/opendesign/adapter.d.ts +0 -82
- package/lib/types/host/opendesign/adapter.d.ts.map +0 -1
- package/lib/types/host/opendesign/catalog.d.ts.map +0 -1
- package/lib/types/host/opendesign/client.d.ts +0 -304
- package/lib/types/host/opendesign/client.d.ts.map +0 -1
- package/lib/types/host/opendesign/line.d.ts +0 -60
- package/lib/types/host/opendesign/line.d.ts.map +0 -1
- package/lib/types/host/opendesign/mapper.d.ts +0 -218
- package/lib/types/host/opendesign/mapper.d.ts.map +0 -1
- package/lib/types/host/opendesign/oauth.d.ts.map +0 -1
- package/lib/types/host/opendesign/routes.d.ts +0 -75
- package/lib/types/host/opendesign/routes.d.ts.map +0 -1
- package/lib/types/host/opendesign/token-store.d.ts +0 -241
- package/lib/types/host/opendesign/token-store.d.ts.map +0 -1
- package/lib/types/host/opendesign/types.d.ts.map +0 -1
- package/lib/types/host/plan-mode-cache-guard.d.ts.map +0 -1
- package/lib/types/host/platform-token-store.d.ts.map +0 -1
- package/lib/types/host/preferences.d.ts +0 -26
- package/lib/types/host/preferences.d.ts.map +0 -1
- package/lib/types/host/preset-sync.d.ts +0 -161
- package/lib/types/host/preset-sync.d.ts.map +0 -1
- package/lib/types/host/progress-updates/index.d.ts.map +0 -1
- package/lib/types/host/progress-updates/nudge.d.ts.map +0 -1
- package/lib/types/host/progress-updates/projection.d.ts +0 -214
- package/lib/types/host/progress-updates/projection.d.ts.map +0 -1
- package/lib/types/host/progress-updates/prompt.d.ts.map +0 -1
- package/lib/types/host/progress-updates/routes.d.ts.map +0 -1
- package/lib/types/host/progress-updates/store.d.ts.map +0 -1
- package/lib/types/host/progress-updates/tool.d.ts.map +0 -1
- package/lib/types/host/proxy-manager.d.ts +0 -240
- package/lib/types/host/proxy-manager.d.ts.map +0 -1
- package/lib/types/host/ptc-sdk-cache-guard.d.ts +0 -104
- package/lib/types/host/ptc-sdk-cache-guard.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/adapter.d.ts +0 -39
- package/lib/types/host/qianwen-token-plan/adapter.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/cache-stats.d.ts +0 -17
- package/lib/types/host/qianwen-token-plan/cache-stats.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/client.d.ts +0 -5
- package/lib/types/host/qianwen-token-plan/client.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/mapper.d.ts +0 -71
- package/lib/types/host/qianwen-token-plan/mapper.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/model-catalog.d.ts +0 -28
- package/lib/types/host/qianwen-token-plan/model-catalog.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/routes.d.ts +0 -12
- package/lib/types/host/qianwen-token-plan/routes.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/token-store.d.ts +0 -56
- package/lib/types/host/qianwen-token-plan/token-store.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/types.d.ts.map +0 -1
- package/lib/types/host/qoder/account-pool.d.ts +0 -141
- package/lib/types/host/qoder/account-pool.d.ts.map +0 -1
- package/lib/types/host/qoder/adapter.d.ts +0 -169
- package/lib/types/host/qoder/adapter.d.ts.map +0 -1
- package/lib/types/host/qoder/adopt.d.ts +0 -146
- package/lib/types/host/qoder/adopt.d.ts.map +0 -1
- package/lib/types/host/qoder/client.d.ts +0 -323
- package/lib/types/host/qoder/client.d.ts.map +0 -1
- package/lib/types/host/qoder/cosy.d.ts.map +0 -1
- package/lib/types/host/qoder/mapper.d.ts +0 -332
- package/lib/types/host/qoder/mapper.d.ts.map +0 -1
- package/lib/types/host/qoder/model-catalog.d.ts +0 -231
- package/lib/types/host/qoder/model-catalog.d.ts.map +0 -1
- package/lib/types/host/qoder/oauth.d.ts +0 -151
- package/lib/types/host/qoder/oauth.d.ts.map +0 -1
- package/lib/types/host/qoder/routes.d.ts +0 -119
- package/lib/types/host/qoder/routes.d.ts.map +0 -1
- package/lib/types/host/qoder/token-store.d.ts +0 -280
- package/lib/types/host/qoder/token-store.d.ts.map +0 -1
- package/lib/types/host/qoder/types.d.ts +0 -262
- package/lib/types/host/qoder/types.d.ts.map +0 -1
- package/lib/types/host/reasoning-collapse-guard/index.d.ts +0 -364
- package/lib/types/host/reasoning-collapse-guard/index.d.ts.map +0 -1
- package/lib/types/host/relay-probe.d.ts.map +0 -1
- package/lib/types/host/relayone/adapter.d.ts +0 -46
- package/lib/types/host/relayone/adapter.d.ts.map +0 -1
- package/lib/types/host/relayone/catalog-manager.d.ts +0 -44
- package/lib/types/host/relayone/catalog-manager.d.ts.map +0 -1
- package/lib/types/host/relayone/client.d.ts +0 -5
- package/lib/types/host/relayone/client.d.ts.map +0 -1
- package/lib/types/host/relayone/image-tool.d.ts.map +0 -1
- package/lib/types/host/relayone/mapper-anthropic.d.ts +0 -49
- package/lib/types/host/relayone/mapper-anthropic.d.ts.map +0 -1
- package/lib/types/host/relayone/mapper-openai.d.ts +0 -36
- package/lib/types/host/relayone/mapper-openai.d.ts.map +0 -1
- package/lib/types/host/relayone/mapper-shared.d.ts +0 -24
- package/lib/types/host/relayone/mapper-shared.d.ts.map +0 -1
- package/lib/types/host/relayone/media-shared.d.ts +0 -18
- package/lib/types/host/relayone/media-shared.d.ts.map +0 -1
- package/lib/types/host/relayone/model-catalog.d.ts +0 -70
- package/lib/types/host/relayone/model-catalog.d.ts.map +0 -1
- package/lib/types/host/relayone/quota.d.ts +0 -28
- package/lib/types/host/relayone/quota.d.ts.map +0 -1
- package/lib/types/host/relayone/routes.d.ts +0 -17
- package/lib/types/host/relayone/routes.d.ts.map +0 -1
- package/lib/types/host/relayone/token-store.d.ts +0 -49
- package/lib/types/host/relayone/token-store.d.ts.map +0 -1
- package/lib/types/host/relayone/types.d.ts.map +0 -1
- package/lib/types/host/relayone/video-tool.d.ts.map +0 -1
- package/lib/types/host/responses-client.d.ts +0 -125
- package/lib/types/host/responses-client.d.ts.map +0 -1
- package/lib/types/host/responses-mapper.d.ts +0 -133
- package/lib/types/host/responses-mapper.d.ts.map +0 -1
- package/lib/types/host/routes.d.ts +0 -32
- package/lib/types/host/routes.d.ts.map +0 -1
- package/lib/types/host/search-provider-switcher.d.ts +0 -45
- package/lib/types/host/search-provider-switcher.d.ts.map +0 -1
- package/lib/types/host/settled-job-guard.d.ts +0 -77
- package/lib/types/host/settled-job-guard.d.ts.map +0 -1
- package/lib/types/host/step-code/account-pool.d.ts +0 -187
- package/lib/types/host/step-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/step-code/adapter.d.ts +0 -158
- package/lib/types/host/step-code/adapter.d.ts.map +0 -1
- package/lib/types/host/step-code/adopt.d.ts +0 -201
- package/lib/types/host/step-code/adopt.d.ts.map +0 -1
- package/lib/types/host/step-code/cache-stats.d.ts.map +0 -1
- package/lib/types/host/step-code/client.d.ts +0 -339
- package/lib/types/host/step-code/client.d.ts.map +0 -1
- package/lib/types/host/step-code/mapper.d.ts +0 -305
- package/lib/types/host/step-code/mapper.d.ts.map +0 -1
- package/lib/types/host/step-code/model-catalog.d.ts +0 -247
- package/lib/types/host/step-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/step-code/oauth.d.ts +0 -265
- package/lib/types/host/step-code/oauth.d.ts.map +0 -1
- package/lib/types/host/step-code/routes.d.ts +0 -129
- package/lib/types/host/step-code/routes.d.ts.map +0 -1
- package/lib/types/host/step-code/token-store.d.ts +0 -325
- package/lib/types/host/step-code/token-store.d.ts.map +0 -1
- package/lib/types/host/step-code/types.d.ts +0 -492
- package/lib/types/host/step-code/types.d.ts.map +0 -1
- package/lib/types/host/subagent-model-authorization.d.ts +0 -653
- package/lib/types/host/subagent-model-authorization.d.ts.map +0 -1
- package/lib/types/host/subagent-route-audit.d.ts +0 -154
- package/lib/types/host/subagent-route-audit.d.ts.map +0 -1
- package/lib/types/host/team-policy-cache-guard.d.ts.map +0 -1
- package/lib/types/host/timeline-cache-guard.d.ts +0 -69
- package/lib/types/host/timeline-cache-guard.d.ts.map +0 -1
- package/lib/types/host/token-store-linux.d.ts.map +0 -1
- package/lib/types/host/token-store-macos.d.ts.map +0 -1
- package/lib/types/host/token-store-windows.d.ts.map +0 -1
- package/lib/types/host/token-store.d.ts +0 -81
- package/lib/types/host/token-store.d.ts.map +0 -1
- package/lib/types/host/tool-result-pruner-guard.d.ts +0 -39
- package/lib/types/host/tool-result-pruner-guard.d.ts.map +0 -1
- package/lib/types/host/update-check.d.ts +0 -118
- package/lib/types/host/update-check.d.ts.map +0 -1
- package/lib/types/host/usage-service.d.ts +0 -109
- package/lib/types/host/usage-service.d.ts.map +0 -1
- package/lib/types/host/web-provider-reconciler.d.ts.map +0 -1
- package/lib/types/host/widget-board/line-contracts.d.ts +0 -192
- package/lib/types/host/widget-board/line-contracts.d.ts.map +0 -1
- package/lib/types/host/widget-board/line-quota.d.ts +0 -279
- package/lib/types/host/widget-board/line-quota.d.ts.map +0 -1
- package/lib/types/host/widget-board/line-registry.d.ts +0 -402
- package/lib/types/host/widget-board/line-registry.d.ts.map +0 -1
- package/lib/types/host/widget-board/provider.d.ts.map +0 -1
- package/lib/types/host/wire-auth.d.ts +0 -63
- package/lib/types/host/wire-auth.d.ts.map +0 -1
- package/lib/types/host/workbuddy/account-pool.d.ts +0 -389
- package/lib/types/host/workbuddy/account-pool.d.ts.map +0 -1
- package/lib/types/host/workbuddy/adapter.d.ts +0 -250
- package/lib/types/host/workbuddy/adapter.d.ts.map +0 -1
- package/lib/types/host/workbuddy/atrest.d.ts.map +0 -1
- package/lib/types/host/workbuddy/checkin.d.ts +0 -150
- package/lib/types/host/workbuddy/checkin.d.ts.map +0 -1
- package/lib/types/host/workbuddy/client.d.ts +0 -214
- package/lib/types/host/workbuddy/client.d.ts.map +0 -1
- package/lib/types/host/workbuddy/dsml.d.ts.map +0 -1
- package/lib/types/host/workbuddy/guardrails.d.ts +0 -111
- package/lib/types/host/workbuddy/guardrails.d.ts.map +0 -1
- package/lib/types/host/workbuddy/identity.d.ts.map +0 -1
- package/lib/types/host/workbuddy/mapper.d.ts +0 -238
- package/lib/types/host/workbuddy/mapper.d.ts.map +0 -1
- package/lib/types/host/workbuddy/model-catalog.d.ts +0 -239
- package/lib/types/host/workbuddy/model-catalog.d.ts.map +0 -1
- package/lib/types/host/workbuddy/oauth.d.ts +0 -47
- package/lib/types/host/workbuddy/oauth.d.ts.map +0 -1
- package/lib/types/host/workbuddy/outbound-identity.d.ts +0 -139
- package/lib/types/host/workbuddy/outbound-identity.d.ts.map +0 -1
- package/lib/types/host/workbuddy/routes.d.ts +0 -56
- package/lib/types/host/workbuddy/routes.d.ts.map +0 -1
- package/lib/types/host/workbuddy/token-store.d.ts +0 -370
- package/lib/types/host/workbuddy/token-store.d.ts.map +0 -1
- package/lib/types/host/workbuddy/types.d.ts +0 -185
- package/lib/types/host/workbuddy/types.d.ts.map +0 -1
- /package/{icon.svg → assets/icon.svg} +0 -0
- /package/{progress-updates.svg → assets/progress-updates.svg} +0 -0
- /package/lib/types/client/{codemode → features/codemode}/highlight.d.ts +0 -0
- /package/lib/types/client/{codemode → features/codemode}/styles.d.ts +0 -0
- /package/lib/types/client/{codemode → features/codemode}/tool-name.d.ts +0 -0
- /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/locales.d.ts +0 -0
- /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/styles.d.ts +0 -0
- /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/MandateToolView.d.ts +0 -0
- /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/locales.d.ts +0 -0
- /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/styles.d.ts +0 -0
- /package/lib/types/client/{mermaid → features/mermaid}/renderer.d.ts +0 -0
- /package/lib/types/client/{mermaid → features/mermaid}/sanitize.d.ts +0 -0
- /package/lib/types/client/{mermaid → features/mermaid}/styles.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/contracts.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/guide-artwork.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/locales.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/progress-row.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/settings-binding.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/settings-section.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/styles.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/tool-name.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/updates-panel.d.ts +0 -0
- /package/lib/types/client/{subagent → features/subagent}/SubagentCard.d.ts +0 -0
- /package/lib/types/client/{subagent → features/subagent}/index.d.ts +0 -0
- /package/lib/types/client/{subagent → features/subagent}/styles.d.ts +0 -0
- /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/AntigravityAcpSection.d.ts +0 -0
- /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/route.d.ts +0 -0
- /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/styles.d.ts +0 -0
- /package/lib/types/client/{aws-quick → providers/aws-quick}/AwsQuickSection.d.ts +0 -0
- /package/lib/types/client/{aws-quick → providers/aws-quick}/styles.d.ts +0 -0
- /package/lib/types/client/{claude → providers/claude}/ClaudeSection.d.ts +0 -0
- /package/lib/types/client/{claude → providers/claude}/styles.d.ts +0 -0
- /package/lib/types/client/{claude-api → providers/claude-api}/ClaudeApiSection.d.ts +0 -0
- /package/lib/types/client/{claude-api → providers/claude-api}/api.d.ts +0 -0
- /package/lib/types/client/{claude-api → providers/claude-api}/styles.d.ts +0 -0
- /package/lib/types/client/{cline-pass → providers/cline-pass}/ClinePassSection.d.ts +0 -0
- /package/lib/types/client/{cline-pass → providers/cline-pass}/locales.d.ts +0 -0
- /package/lib/types/client/{cline-pass → providers/cline-pass}/styles.d.ts +0 -0
- /package/lib/types/client/{CodexComposerQuota.d.ts → providers/codex-chatgpt/CodexComposerQuota.d.ts} +0 -0
- /package/lib/types/client/{CodexImageToolView.d.ts → providers/codex-chatgpt/CodexImageToolView.d.ts} +0 -0
- /package/lib/types/client/{store.d.ts → providers/codex-chatgpt/store.d.ts} +0 -0
- /package/lib/types/client/{styles.d.ts → providers/codex-chatgpt/styles.d.ts} +0 -0
- /package/lib/types/client/{command-code → providers/command-code}/CommandCodeSection.d.ts +0 -0
- /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/GlmCodingPlanSection.d.ts +0 -0
- /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/api.d.ts +0 -0
- /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/styles.d.ts +0 -0
- /package/lib/types/client/{kimi-code → providers/kimi-code}/KimiCodeSection.d.ts +0 -0
- /package/lib/types/client/{kimi-code → providers/kimi-code}/staff-art.d.ts +0 -0
- /package/lib/types/client/{kimi-code → providers/kimi-code}/styles.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxCodeSection.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxVideoToolView.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/VideoSettingsSections.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/commands-contract.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/document-preview.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/styles.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-command-icon.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-contract.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-defaults-store.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-dropzone.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-input.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-presets.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-slots.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-workspace.d.ts +0 -0
- /package/lib/types/client/{ollama → providers/ollama}/OllamaSection.d.ts +0 -0
- /package/lib/types/client/{opendesign → providers/opendesign}/OpenDesignSection.d.ts +0 -0
- /package/lib/types/client/{opendesign → providers/opendesign}/locales.d.ts +0 -0
- /package/lib/types/client/{opendesign → providers/opendesign}/styles.d.ts +0 -0
- /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/QianwenTokenPlanSection.d.ts +0 -0
- /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/api.d.ts +0 -0
- /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/styles.d.ts +0 -0
- /package/lib/types/client/{qoder → providers/qoder}/api.d.ts +0 -0
- /package/lib/types/client/{qoder → providers/qoder}/styles.d.ts +0 -0
- /package/lib/types/client/{relayone → providers/relayone}/RelayOneSection.d.ts +0 -0
- /package/lib/types/client/{relayone → providers/relayone}/api.d.ts +0 -0
- /package/lib/types/client/{relayone → providers/relayone}/styles.d.ts +0 -0
- /package/lib/types/client/{step-code → providers/step-code}/StepCodeSection.d.ts +0 -0
- /package/lib/types/client/{step-code → providers/step-code}/api.d.ts +0 -0
- /package/lib/types/client/{step-code → providers/step-code}/styles.d.ts +0 -0
- /package/lib/types/client/{workbuddy → providers/workbuddy}/styles.d.ts +0 -0
- /package/lib/types/host/{fetch-address-policy.d.ts → infra/network/fetch-address-policy.d.ts} +0 -0
- /package/lib/types/host/{relay-probe.d.ts → infra/network/relay-probe.d.ts} +0 -0
- /package/lib/types/host/{web-provider-reconciler.d.ts → infra/network/web-provider-reconciler.d.ts} +0 -0
- /package/lib/types/host/{credential-store-secret-service.d.ts → infra/storage/credential-store-secret-service.d.ts} +0 -0
- /package/lib/types/host/{platform-token-store.d.ts → infra/storage/platform-token-store.d.ts} +0 -0
- /package/lib/types/host/{token-store-linux.d.ts → infra/storage/token-store-linux.d.ts} +0 -0
- /package/lib/types/host/{token-store-macos.d.ts → infra/storage/token-store-macos.d.ts} +0 -0
- /package/lib/types/host/{token-store-windows.d.ts → infra/storage/token-store-windows.d.ts} +0 -0
- /package/lib/types/host/{common → providers/_claude-shared}/claude-capability-memory.d.ts +0 -0
- /package/lib/types/host/{common → providers/_claude-shared}/claude-code-cch.d.ts +0 -0
- /package/lib/types/host/{common → providers/_claude-shared}/claude-code-corrections.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/acp-client.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/binary.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/mcp-bridge.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/process-temp.d.ts +0 -0
- /package/lib/types/host/{aws-quick → providers/aws-quick}/execution-broker.d.ts +0 -0
- /package/lib/types/host/{aws-quick → providers/aws-quick}/markup.d.ts +0 -0
- /package/lib/types/host/{claude-api → providers/claude-api}/compaction-store.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/catalog.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/client.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/engine.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/oauth.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/protocol.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/types.d.ts +0 -0
- /package/lib/types/host/{adapter.d.ts → providers/codex-chatgpt/adapter.d.ts} +0 -0
- /package/lib/types/host/{callback-server.d.ts → providers/codex-chatgpt/callback-server.d.ts} +0 -0
- /package/lib/types/host/{codex-fetch.d.ts → providers/codex-chatgpt/codex-fetch.d.ts} +0 -0
- /package/lib/types/host/{codex-images.d.ts → providers/codex-chatgpt/codex-images.d.ts} +0 -0
- /package/lib/types/host/{codex-search.d.ts → providers/codex-chatgpt/codex-search.d.ts} +0 -0
- /package/lib/types/host/{command-code → providers/command-code}/adapter.d.ts +0 -0
- /package/lib/types/host/{command-code → providers/command-code}/plans.d.ts +0 -0
- /package/lib/types/host/{kimi-code → providers/kimi-code}/tool-argument-recovery.d.ts +0 -0
- /package/lib/types/host/{kimi-code → providers/kimi-code}/video-store.d.ts +0 -0
- /package/lib/types/host/{kimi-code → providers/kimi-code}/video-tool.d.ts +0 -0
- /package/lib/types/host/{minimax-code → providers/minimax-code}/video-submit-rules.d.ts +0 -0
- /package/lib/types/host/{minimax-code → providers/minimax-code}/video-tool.d.ts +0 -0
- /package/lib/types/host/{opendesign → providers/opendesign}/catalog.d.ts +0 -0
- /package/lib/types/host/{opendesign → providers/opendesign}/oauth.d.ts +0 -0
- /package/lib/types/host/{opendesign → providers/opendesign}/types.d.ts +0 -0
- /package/lib/types/host/{qianwen-token-plan → providers/qianwen-token-plan}/types.d.ts +0 -0
- /package/lib/types/host/{qoder → providers/qoder}/cosy.d.ts +0 -0
- /package/lib/types/host/{relayone → providers/relayone}/image-tool.d.ts +0 -0
- /package/lib/types/host/{relayone → providers/relayone}/types.d.ts +0 -0
- /package/lib/types/host/{relayone → providers/relayone}/video-tool.d.ts +0 -0
- /package/lib/types/host/{step-code → providers/step-code}/cache-stats.d.ts +0 -0
- /package/lib/types/host/{workbuddy → providers/workbuddy}/atrest.d.ts +0 -0
- /package/lib/types/host/{workbuddy → providers/workbuddy}/dsml.d.ts +0 -0
- /package/lib/types/host/{workbuddy → providers/workbuddy}/identity.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/budget.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/contracts.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/index.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/logging.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/projection.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/result-tool.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/retrieval-intent.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/store.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/usage.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/discovery.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/executor.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/retention.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/rules.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/scope.d.ts +0 -0
- /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/match.d.ts +0 -0
- /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/observation-tagger.d.ts +0 -0
- /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/state-anchor.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/binding.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/index.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/policy.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/protocol.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/tool.d.ts +0 -0
- /package/lib/types/host/{plan-mode-cache-guard.d.ts → runtime/guards/plan-mode-cache-guard.d.ts} +0 -0
- /package/lib/types/host/{team-policy-cache-guard.d.ts → runtime/guards/team-policy-cache-guard.d.ts} +0 -0
- /package/lib/types/host/{no-answer-resume → runtime/no-answer-resume}/index.d.ts +0 -0
- /package/lib/types/host/{agent-preset.d.ts → runtime/presets/agent-preset.d.ts} +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/index.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/nudge.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/prompt.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/routes.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/store.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/tool.d.ts +0 -0
- /package/lib/types/host/{widget-board → runtime/widget-board}/provider.d.ts +0 -0
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hardcoded catalog of the models the MiniMax Code subscription serves.
|
|
3
|
+
*
|
|
4
|
+
* This catalog is hardcoded on purpose. The endpoint documents a
|
|
5
|
+
* `GET /v1/models` route, but it is not configured for subscription traffic and
|
|
6
|
+
* answers 503 `{"errorCode":50115,"errorReason":"direct_route_not_configured"}`
|
|
7
|
+
* (and 401 when queried with `x-api-key`). Nothing in this package may probe it,
|
|
8
|
+
* at startup or otherwise.
|
|
9
|
+
*
|
|
10
|
+
* The first three entries and every number in them are transcribed verbatim
|
|
11
|
+
* from the model table in `~/.minimax/config.yaml` (brief section 2.3). The
|
|
12
|
+
* fourth (M3.1 Flash) no longer is: MiniMax published the GA model on its own
|
|
13
|
+
* Model Invocation page and dropped the `-Preview` suffix there, so it is
|
|
14
|
+
* transcribed from that page's Supported Models table and measured on this
|
|
15
|
+
* subscription endpoint on 2026-10-19. No value here is inferred from another
|
|
16
|
+
* provider's catalog.
|
|
17
|
+
*/
|
|
18
|
+
import type { MinimaxCodeModelOption, MinimaxCodeReasoningEffort } from '../../../shared/minimax-code-contracts.ts';
|
|
19
|
+
/**
|
|
20
|
+
* How one model's thinking behaves.
|
|
21
|
+
*
|
|
22
|
+
* - `always-on` — thinking cannot be turned off and has no selectable level;
|
|
23
|
+
* - `toggle` — thinking is on by default and can be disabled;
|
|
24
|
+
* - `forced-effort` — thinking is forced on and a level can be selected.
|
|
25
|
+
*/
|
|
26
|
+
export type MinimaxCodeThinkingMode = 'always-on' | 'toggle' | 'forced-effort';
|
|
27
|
+
/** One model the MiniMax Code subscription serves. */
|
|
28
|
+
export interface MinimaxCodeCatalogModel {
|
|
29
|
+
/** Exact model id to put on the wire. */
|
|
30
|
+
id: string;
|
|
31
|
+
/** Display name shown in the picker. */
|
|
32
|
+
name: string;
|
|
33
|
+
/** Context window the account is entitled to by default. */
|
|
34
|
+
contextWindow: number;
|
|
35
|
+
/** Larger window the model can reach, when one is offered as an option. */
|
|
36
|
+
optionalContextWindow: number | null;
|
|
37
|
+
/** Output cap the model accepts. */
|
|
38
|
+
maxTokens: number;
|
|
39
|
+
/**
|
|
40
|
+
* Input the model accepts.
|
|
41
|
+
*
|
|
42
|
+
* Declared as the wire accepts it, which is also what this line can put on that
|
|
43
|
+
* wire — a capability listed here is a claim DSH's capability pipeline acts on
|
|
44
|
+
* (prompt admission, the model picker, subagent delegation), so listing
|
|
45
|
+
* something the mapper cannot encode would be a promise the route breaks.
|
|
46
|
+
*
|
|
47
|
+
* Video is now listed for the models that take it. It was not, because the
|
|
48
|
+
* route had no video byte reader; the reader arrived with the shared video
|
|
49
|
+
* request layer (see `../common/video-request.ts` and the Kimi Code line's
|
|
50
|
+
* `video-store.ts`), and a live probe confirmed this endpoint decodes a
|
|
51
|
+
* `{ type: 'video', source: { type: 'base64', ... } }` block.
|
|
52
|
+
*
|
|
53
|
+
* The inline path still tops out well below the documented 50 MB per clip,
|
|
54
|
+
* because base64 grows bytes by 4/3 against a 64 MB request body; the budget is
|
|
55
|
+
* `MAX_REQUEST_VIDEO_BYTES` in ./types.ts. Media above that inline ceiling is
|
|
56
|
+
* not refused — it is uploaded: this line implements the Files API
|
|
57
|
+
* (./files-api.ts), and the adapter posts the bytes to
|
|
58
|
+
* `{messagesBase}/files/upload` and rewrites the block as an
|
|
59
|
+
* `mm_file://<file_id>` reference before the request goes out.
|
|
60
|
+
*/
|
|
61
|
+
inputModalities: readonly ('text' | 'image' | 'video')[];
|
|
62
|
+
/** How thinking behaves on this model. */
|
|
63
|
+
thinking: MinimaxCodeThinkingMode;
|
|
64
|
+
/**
|
|
65
|
+
* Levels the model accepts, in escalating order.
|
|
66
|
+
*
|
|
67
|
+
* A single `default` entry means the model has no selectable level: the picker
|
|
68
|
+
* shows one always-on option rather than inventing a gradient the model does
|
|
69
|
+
* not document.
|
|
70
|
+
*/
|
|
71
|
+
reasoningEfforts: readonly MinimaxCodeReasoningEffort[];
|
|
72
|
+
/**
|
|
73
|
+
* Level used when the conversation does not pick one.
|
|
74
|
+
*
|
|
75
|
+
* Null for a model with no selectable level (an always-on one): there is
|
|
76
|
+
* nothing to put on the wire, and a value here would be a promise the route
|
|
77
|
+
* cannot keep.
|
|
78
|
+
*/
|
|
79
|
+
defaultReasoningEffort: MinimaxCodeReasoningEffort | null;
|
|
80
|
+
/**
|
|
81
|
+
* Attachments the model's FILES API accepts, when it states a bound.
|
|
82
|
+
*
|
|
83
|
+
* This is the max_attachments_count that ships with the model's file-API
|
|
84
|
+
* capability block, and it describes the UPLOAD path's attachment ceiling,
|
|
85
|
+
* NOT a limit on the inline images this line sends: a live probe of the
|
|
86
|
+
* subscription endpoint served 4, 5, 8, 9, 10, 12, 20 and 48 inline images on
|
|
87
|
+
* M3 with HTTP 200, so enforcing this number inline would drop images the
|
|
88
|
+
* service accepts. The inline bound is the request-body budget instead.
|
|
89
|
+
*
|
|
90
|
+
* The value is also not settled. The model's current file-API capability
|
|
91
|
+
* block states `max_attachments_count: 4` for BOTH M3 and M3.1-Flash, while
|
|
92
|
+
* the M3 entry below still carries 9, inherited from the earlier snapshot it
|
|
93
|
+
* was transcribed from. One of the two is a stale number and which one needs a
|
|
94
|
+
* probe against the upload path, not another reading of the docs — so the
|
|
95
|
+
* figure is left as is, on purpose, rather than quietly rounded to the
|
|
96
|
+
* documented one. See the M3 entry's own note.
|
|
97
|
+
*/
|
|
98
|
+
maxAttachments: number | null;
|
|
99
|
+
/** Largest single image the model accepts, in bytes. */
|
|
100
|
+
maxImageBytes: number | null;
|
|
101
|
+
/** Largest single video the model accepts, in bytes. */
|
|
102
|
+
maxVideoBytes: number | null;
|
|
103
|
+
/**
|
|
104
|
+
* Whether this line actually serves a files API for this model.
|
|
105
|
+
*
|
|
106
|
+
* Not documentation only. ./files-api.ts implements the upload (the adapter
|
|
107
|
+
* posts to `{messagesBase}/files/upload` and sends an `mm_file://<file_id>`
|
|
108
|
+
* reference back), a 12-hour assumed TTL on every stored id, isolation of
|
|
109
|
+
* those ids per uploading account, and a cache that reuses an id for bytes
|
|
110
|
+
* already uploaded. The adapter calls it wherever media outgrows the inline
|
|
111
|
+
* ceiling.
|
|
112
|
+
*
|
|
113
|
+
* The one capability it lacks is deletion, and the service gives it no way to
|
|
114
|
+
* have one: there is no list or delete route on this surface (`GET /files`
|
|
115
|
+
* answers 503 `direct_route_not_configured`), so an expired id is inferred
|
|
116
|
+
* locally from the TTL and can never be confirmed or reclaimed server-side.
|
|
117
|
+
*/
|
|
118
|
+
filesApiDocumented: boolean;
|
|
119
|
+
/** One-line description, from the model table. */
|
|
120
|
+
description: string;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* The four ids the subscription serves today.
|
|
124
|
+
*
|
|
125
|
+
* `MiniMax-M3` is the durable default: it is the flagship the measured request
|
|
126
|
+
* used, and it is the one model whose wire behaviour is directly attested.
|
|
127
|
+
*
|
|
128
|
+
* The fourth id used to be `MiniMax-M3.1-Flash-Preview`. MiniMax published
|
|
129
|
+
* `MiniMax-M3.1-Flash` (no suffix) and the preview id was measured answering
|
|
130
|
+
* 200 on the same day, so the catalog carries the GA name only. Anything still
|
|
131
|
+
* naming the preview id in a stored selection, a `provider/model` route string
|
|
132
|
+
* or a doc must be rewritten, or it resolves to a model this build has no entry
|
|
133
|
+
* for.
|
|
134
|
+
*/
|
|
135
|
+
export declare const MINIMAX_CODE_MODELS: readonly MinimaxCodeCatalogModel[];
|
|
136
|
+
/**
|
|
137
|
+
* The id a model name resolves to now.
|
|
138
|
+
*
|
|
139
|
+
* The WIRE still carries whatever id the caller asked for, so a session
|
|
140
|
+
* recorded under the old id keeps talking to the id it was recorded with - and
|
|
141
|
+
* keeps its replayed thinking blocks, whose signatures belong to that model.
|
|
142
|
+
* Only the LOOKUP is renamed: a retired id now finds the same catalog entry
|
|
143
|
+
* the new id finds, so its capabilities, its context window and its thinking
|
|
144
|
+
* shape stay exactly what they were.
|
|
145
|
+
*/
|
|
146
|
+
export declare function resolveMinimaxCodeModelId(modelId: string): string;
|
|
147
|
+
/** Registry entry for one model id, or undefined when the id is unknown. */
|
|
148
|
+
export declare function minimaxCodeModelDef(modelId: string): MinimaxCodeCatalogModel | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Membership test for one known model id.
|
|
151
|
+
*
|
|
152
|
+
* A retired id counts: it still names a model this line serves, so a caller
|
|
153
|
+
* asking whether an id is known gets the honest answer instead of a denial
|
|
154
|
+
* that would only be true of the spelling.
|
|
155
|
+
*/
|
|
156
|
+
export declare function isMinimaxCodeModelId(value: unknown): boolean;
|
|
157
|
+
/** Display name for one model id, falling back to the raw id so nothing is hidden. */
|
|
158
|
+
export declare function minimaxCodeModelName(modelId: string): string;
|
|
159
|
+
/** Every model id the picker offers, in catalog order. */
|
|
160
|
+
export declare function minimaxCodeModelIds(): string[];
|
|
161
|
+
/**
|
|
162
|
+
* Whether one effort id means "thinking off".
|
|
163
|
+
*
|
|
164
|
+
* The subscription table spells the disabled state "none-thinking" while the
|
|
165
|
+
* shared contract's effort vocabulary has no such member, so a caller that
|
|
166
|
+
* nevertheless asks for an off state (an older preference file, a hand-built
|
|
167
|
+
* request) is recognized here rather than silently treated as "on".
|
|
168
|
+
*/
|
|
169
|
+
export declare function isThinkingDisabledEffort(value: unknown): boolean;
|
|
170
|
+
/**
|
|
171
|
+
* The effort level to put on the wire for one model.
|
|
172
|
+
*
|
|
173
|
+
* NULL means "this request carries no `output_config.effort`", which is what
|
|
174
|
+
* the official agent sends when the conversation picked no level. Every model in
|
|
175
|
+
* this catalog states null as its default, so a request that names no effort
|
|
176
|
+
* states no effort.
|
|
177
|
+
*
|
|
178
|
+
* An unknown value falls back to the model's documented default, so a caller
|
|
179
|
+
* cannot talk this route into a level the model does not list - and with that
|
|
180
|
+
* default being null, an unknown level now means no level rather than the most
|
|
181
|
+
* expensive one.
|
|
182
|
+
*/
|
|
183
|
+
export declare function effortForModel(modelId: string, requested: string | undefined | null): MinimaxCodeReasoningEffort | null;
|
|
184
|
+
/**
|
|
185
|
+
* Smallest context window an override may name.
|
|
186
|
+
*
|
|
187
|
+
* Exported because the settings route validates POSTed overrides against the
|
|
188
|
+
* same number this reader uses: if they drifted, the route would accept a value
|
|
189
|
+
* the reader then treats as absent, and the card would show a saved override
|
|
190
|
+
* that silently does nothing.
|
|
191
|
+
*/
|
|
192
|
+
export declare const MIN_CONTEXT_WINDOW = 1000;
|
|
193
|
+
/**
|
|
194
|
+
* The effective context window for one model.
|
|
195
|
+
*
|
|
196
|
+
* One reader for both the status card and the request path, because the two
|
|
197
|
+
* disagreeing is the exact failure this override can cause: the card would show
|
|
198
|
+
* a window the request builder then ignored, and the user would see a request
|
|
199
|
+
* clamped to the catalog's number with nothing on screen explaining why.
|
|
200
|
+
*
|
|
201
|
+
* A non-positive or sub-minimum override is treated as absent rather than
|
|
202
|
+
* clamped: the route never stores one (it validates them), so seeing one means
|
|
203
|
+
* the document was hand-edited, and inventing a window from it would size every
|
|
204
|
+
* request on that model against a number the user never chose.
|
|
205
|
+
*/
|
|
206
|
+
export declare function contextWindowForModel(modelId: string, contextWindowOverrides: Record<string, number> | undefined): number;
|
|
207
|
+
/**
|
|
208
|
+
* The catalog ids the user's stored selection actually resolves to.
|
|
209
|
+
*
|
|
210
|
+
* A stored list that still equals the shipped default has never been edited, so
|
|
211
|
+
* it cannot know about models a later release added; treating it as "everything
|
|
212
|
+
* the catalog currently offers" is what keeps a first run from hiding a new
|
|
213
|
+
* model behind an unedited default. Any explicit edit is honoured exactly, and
|
|
214
|
+
* an id the catalog no longer serves is dropped so the picker cannot offer a
|
|
215
|
+
* model this build has no entry for.
|
|
216
|
+
*/
|
|
217
|
+
export declare function resolveMinimaxCodeEnabledModelIds(stored: readonly string[], enabled?: boolean): string[];
|
|
218
|
+
/**
|
|
219
|
+
* The settings-card rows for the whole shipped catalog.
|
|
220
|
+
*
|
|
221
|
+
* Every model is present, enabled or not: the card toggles rows, so a disabled
|
|
222
|
+
* model has to be rendered to be re-enabled. `contextWindow` is the effective
|
|
223
|
+
* window and `defaultContextWindow` the catalog's own number, which is what lets
|
|
224
|
+
* the card show a modified row as modified.
|
|
225
|
+
*/
|
|
226
|
+
export declare function buildMinimaxCodeModelOptions(storedEnabledModelIds: readonly string[], contextWindowOverrides: Record<string, number>, enabled?: boolean): MinimaxCodeModelOption[];
|
|
227
|
+
//# sourceMappingURL=model-catalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-catalog.d.ts","sourceRoot":"","sources":["../../../../../src/host/providers/minimax-code/model-catalog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAE3B,MAAM,2CAA2C,CAAA;AAIlD;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,QAAQ,GAAG,eAAe,CAAA;AAE9E,sDAAsD;AACtD,MAAM,WAAW,uBAAuB;IACtC,yCAAyC;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,4DAA4D;IAC5D,aAAa,EAAE,MAAM,CAAA;IACrB,2EAA2E;IAC3E,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAA;IACpC,oCAAoC;IACpC,SAAS,EAAE,MAAM,CAAA;IACjB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,eAAe,EAAE,SAAS,CAAC,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC,EAAE,CAAA;IACxD,0CAA0C;IAC1C,QAAQ,EAAE,uBAAuB,CAAA;IACjC;;;;;;OAMG;IACH,gBAAgB,EAAE,SAAS,0BAA0B,EAAE,CAAA;IACvD;;;;;;OAMG;IACH,sBAAsB,EAAE,0BAA0B,GAAG,IAAI,CAAA;IACzD;;;;;;;;;;;;;;;;;OAiBG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,wDAAwD;IACxD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,wDAAwD;IACxD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B;;;;;;;;;;;;;;OAcG;IACH,kBAAkB,EAAE,OAAO,CAAA;IAC3B,kDAAkD;IAClD,WAAW,EAAE,MAAM,CAAA;CACpB;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,mBAAmB,EAAE,SAAS,uBAAuB,EA6IjE,CAAA;AAmBD;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGjE;AAOD,4EAA4E;AAC5E,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,uBAAuB,GAAG,SAAS,CAExF;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE5D;AAED,sFAAsF;AACtF,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED,0DAA0D;AAC1D,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAE9C;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAIhE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GACnC,0BAA0B,GAAG,IAAI,CAgBnC;AAMD;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,OAAQ,CAAA;AAEvC;;;;;;;;;;;;GAYG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,MAAM,EACf,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,GACzD,MAAM,CAeR;AAED;;;;;;;;;GASG;AACH,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,OAAO,UAAO,GACb,MAAM,EAAE,CAaV;AAED;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,qBAAqB,EAAE,SAAS,MAAM,EAAE,EACxC,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9C,OAAO,UAAO,GACb,sBAAsB,EAAE,CAsB1B"}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OAuth for the MiniMax Code subscription.
|
|
3
|
+
*
|
|
4
|
+
* The flow is RFC 8628 device authorization with PKCE(S256) against a public
|
|
5
|
+
* client (`mcode-public`, no secret) — the shape the desktop app uses, and the
|
|
6
|
+
* only one that fits a plugin with no browser callback to receive.
|
|
7
|
+
*
|
|
8
|
+
* Measured facts that shape this file (brief section 2.5):
|
|
9
|
+
*
|
|
10
|
+
* - device authorization: POST `account.minimax.cn/oauth2/device/code`
|
|
11
|
+
* - token (device grant AND refresh): POST `account.minimax.cn/oauth2/token`
|
|
12
|
+
* - revocation: POST `account.minimax.cn/oauth2/revoke`
|
|
13
|
+
* - every call is `application/x-www-form-urlencoded` with `Accept: application/json`
|
|
14
|
+
* - the device grant carries `code_challenge`/`code_challenge_method=S256` and the
|
|
15
|
+
* poll carries the matching `code_verifier`
|
|
16
|
+
* - the refresh carries `grant_type=refresh_token`, `refresh_token`, `client_id`,
|
|
17
|
+
* `scope` and `audience`
|
|
18
|
+
*
|
|
19
|
+
* The refresh policy is the one the brief fixes at section 2.6: read the stored
|
|
20
|
+
* credential first and use it while it is valid, refresh only when it is not (or
|
|
21
|
+
* when the service has just rejected it), write the rotation back atomically, and
|
|
22
|
+
* never let a failed refresh damage the file MiniMax Code itself depends on.
|
|
23
|
+
*/
|
|
24
|
+
import type { MinimaxCodeAccount, MinimaxCodeRegion, MinimaxCodeWebLogin } from '../../../shared/minimax-code-contracts.ts';
|
|
25
|
+
import { accountHost } from './types.ts';
|
|
26
|
+
import { type MinimaxCodeCredentialStore, type MinimaxCodeCredentials } from './token-store.ts';
|
|
27
|
+
/** Raised when the stored credential was rejected and a new sign-in is required. */
|
|
28
|
+
export declare class MinimaxCodeUnauthorizedError extends Error {
|
|
29
|
+
constructor(message: string);
|
|
30
|
+
}
|
|
31
|
+
/** Raised when a transient failure outlived its retry budget. */
|
|
32
|
+
export declare class MinimaxCodeRetryableError extends Error {
|
|
33
|
+
constructor(message: string, cause?: unknown);
|
|
34
|
+
}
|
|
35
|
+
/** Raised when the user denied the device authorization request. */
|
|
36
|
+
export declare class MinimaxCodeAccessDeniedError extends Error {
|
|
37
|
+
constructor(message: string);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* One PKCE pair (RFC 7636).
|
|
41
|
+
*
|
|
42
|
+
* The verifier is a fresh random string per authorization; the challenge is its
|
|
43
|
+
* SHA-256 digest, both base64url encoded with no padding, which is what S256
|
|
44
|
+
* means on the wire.
|
|
45
|
+
*/
|
|
46
|
+
export declare function createPkcePair(): {
|
|
47
|
+
verifier: string;
|
|
48
|
+
challenge: string;
|
|
49
|
+
};
|
|
50
|
+
/** Parsed device authorization response. */
|
|
51
|
+
export interface DeviceAuthorization {
|
|
52
|
+
userCode: string;
|
|
53
|
+
deviceCode: string;
|
|
54
|
+
verificationUri: string;
|
|
55
|
+
verificationUriComplete: string;
|
|
56
|
+
expiresIn: number;
|
|
57
|
+
interval: number;
|
|
58
|
+
/** PKCE verifier the matching poll must present. */
|
|
59
|
+
codeVerifier: string;
|
|
60
|
+
/** Region the authorization was requested in; decides every later host. */
|
|
61
|
+
region: MinimaxCodeRegion;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Start a device authorization (RFC 8628 section 3.1).
|
|
65
|
+
*
|
|
66
|
+
* A public client sends its `client_id`, the scope and audience it wants, and the
|
|
67
|
+
* PKCE challenge — no secret, which is the whole point of the device profile.
|
|
68
|
+
*/
|
|
69
|
+
export declare function requestDeviceAuthorization(options?: {
|
|
70
|
+
fetchFn?: typeof fetch;
|
|
71
|
+
signal?: AbortSignal;
|
|
72
|
+
region?: MinimaxCodeRegion;
|
|
73
|
+
}): Promise<DeviceAuthorization>;
|
|
74
|
+
/** One token response, in the shape the store persists. */
|
|
75
|
+
export interface MinimaxToken {
|
|
76
|
+
accessToken: string;
|
|
77
|
+
refreshToken: string;
|
|
78
|
+
tokenType: string;
|
|
79
|
+
expiresInSec: number;
|
|
80
|
+
expiresAtMs: number;
|
|
81
|
+
scope: string;
|
|
82
|
+
}
|
|
83
|
+
/** Outcome of one device-token poll. */
|
|
84
|
+
export type DevicePollOutcome = {
|
|
85
|
+
kind: 'success';
|
|
86
|
+
token: MinimaxToken;
|
|
87
|
+
} | {
|
|
88
|
+
kind: 'pending';
|
|
89
|
+
slowDown: boolean;
|
|
90
|
+
} | {
|
|
91
|
+
kind: 'expired';
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Poll the token endpoint once for one device code (RFC 8628 section 3.4).
|
|
95
|
+
*
|
|
96
|
+
* A 5xx is a transport-class failure rather than a verdict on the device code, so
|
|
97
|
+
* it is raised for the caller's retry loop instead of being read as "still
|
|
98
|
+
* pending" — treating it as pending would spin against a broken endpoint until the
|
|
99
|
+
* device code expired.
|
|
100
|
+
*/
|
|
101
|
+
export declare function pollDeviceToken(authorization: Pick<DeviceAuthorization, 'deviceCode' | 'codeVerifier' | 'region'>, options?: {
|
|
102
|
+
fetchFn?: typeof fetch;
|
|
103
|
+
signal?: AbortSignal;
|
|
104
|
+
}): Promise<DevicePollOutcome>;
|
|
105
|
+
/**
|
|
106
|
+
* Refresh an access token, with a bounded retry.
|
|
107
|
+
*
|
|
108
|
+
* Only a transient status or a transport failure is retried. A 400/401/403, or an
|
|
109
|
+
* `invalid_grant` body, is a verdict that the refresh token is dead and stops
|
|
110
|
+
* immediately: retrying it can never succeed, and every attempt is a request the
|
|
111
|
+
* subscription pays for.
|
|
112
|
+
*/
|
|
113
|
+
export declare function refreshAccessToken(refreshToken: string, options: {
|
|
114
|
+
fetchFn?: typeof fetch;
|
|
115
|
+
signal?: AbortSignal;
|
|
116
|
+
region: MinimaxCodeRegion;
|
|
117
|
+
}): Promise<MinimaxToken>;
|
|
118
|
+
/**
|
|
119
|
+
* Revoke one token at the service.
|
|
120
|
+
*
|
|
121
|
+
* Best effort by design: a revocation that cannot reach the service must not stop
|
|
122
|
+
* a local sign-out, because the credential is already gone from this machine.
|
|
123
|
+
*/
|
|
124
|
+
export declare function revokeToken(token: string, options: {
|
|
125
|
+
fetchFn?: typeof fetch;
|
|
126
|
+
signal?: AbortSignal;
|
|
127
|
+
region: MinimaxCodeRegion;
|
|
128
|
+
}): Promise<boolean>;
|
|
129
|
+
/** Start a device-code sign-in and hand the card what it must display. */
|
|
130
|
+
export declare function beginWebLogin(options?: {
|
|
131
|
+
fetchFn?: typeof fetch;
|
|
132
|
+
region?: MinimaxCodeRegion;
|
|
133
|
+
signal?: AbortSignal;
|
|
134
|
+
}): Promise<MinimaxCodeWebLogin>;
|
|
135
|
+
/** The public projection of one live sign-in, for the status route. */
|
|
136
|
+
export declare function getWebLogin(loginId: string): MinimaxCodeWebLogin | null;
|
|
137
|
+
/** Cancel one sign-in, dropping the session so a later poll cannot resume it. */
|
|
138
|
+
export declare function cancelWebLogin(loginId: string): boolean;
|
|
139
|
+
/** Forget every session; used by the test seam and by a full sign-out. */
|
|
140
|
+
export declare function resetWebLogins(): void;
|
|
141
|
+
/** Build the account projection one credential yields. */
|
|
142
|
+
export declare function accountFromCredentials(credentials: {
|
|
143
|
+
loginEpoch: string;
|
|
144
|
+
generation: number;
|
|
145
|
+
expiresAtMs: number;
|
|
146
|
+
region: MinimaxCodeRegion;
|
|
147
|
+
}): MinimaxCodeAccount;
|
|
148
|
+
export { accountHost };
|
|
149
|
+
/** Whether the given refresh token was rejected recently. */
|
|
150
|
+
export declare function isRefreshTokenRejected(refreshToken: string): boolean;
|
|
151
|
+
/** Test seam: forget every remembered rejection. */
|
|
152
|
+
export declare function resetRefreshRejections(): void;
|
|
153
|
+
/** Test seam: forget every in-flight rotation. */
|
|
154
|
+
export declare function resetInFlightRefreshes(): void;
|
|
155
|
+
export interface EnsureTokenOptions {
|
|
156
|
+
fetchFn?: typeof fetch;
|
|
157
|
+
signal?: AbortSignal;
|
|
158
|
+
/** Refresh even when the stored token is not near expiry (used after a 401). */
|
|
159
|
+
force?: boolean;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Return a usable access token, refreshing and writing back only when needed.
|
|
163
|
+
*
|
|
164
|
+
* This is the whole of the contention discipline in one function:
|
|
165
|
+
*
|
|
166
|
+
* 1. read the stored credential and use it as-is while it is comfortably valid —
|
|
167
|
+
* the common case, and the one that never touches the file or the network;
|
|
168
|
+
* 2. renew EARLY (PRE_EXPIRY_REFRESH_MS before expiry) rather than at the boundary
|
|
169
|
+
* the service refuses at, or when `force` reports a 401 the service has already
|
|
170
|
+
* issued;
|
|
171
|
+
* 3. share one rotation between concurrent callers of the SAME credential, and go
|
|
172
|
+
* through the store's rotation registry so a rotation the desktop app is doing
|
|
173
|
+
* to the same file is waited for rather than raced;
|
|
174
|
+
* 4. write the result back through the store's atomic replacement, and remember a
|
|
175
|
+
* rejection only when the credential on disk is still the rejected one.
|
|
176
|
+
*
|
|
177
|
+
* Step 4 is the one the every-hour sign-out hung on. `invalid_grant` used to be
|
|
178
|
+
* recorded unconditionally, but that verdict has two possible meanings and only
|
|
179
|
+
* one of them is "this sign-in is dead":
|
|
180
|
+
*
|
|
181
|
+
* - the token really is revoked (`invalid_grant` / `invalid_client`), which is a
|
|
182
|
+
* sign-in problem;
|
|
183
|
+
* - another holder of the very same session rotated first, so the token this call
|
|
184
|
+
* presented was already spent. The service cannot tell the two apart, and the
|
|
185
|
+
* plugin must not either — so it looks at the file. A credential newer than the
|
|
186
|
+
* one it presented means somebody else rotated successfully, and that credential
|
|
187
|
+
* is adopted instead of being buried under a tombstone.
|
|
188
|
+
*/
|
|
189
|
+
export declare function ensureAccessToken(store: MinimaxCodeCredentialStore, options?: EnsureTokenOptions): Promise<MinimaxCodeCredentials>;
|
|
190
|
+
/**
|
|
191
|
+
* Poll one live sign-in once and, on success, persist what it produced.
|
|
192
|
+
*
|
|
193
|
+
* The persisted credential is plugin-owned: a device-code sign-in started here
|
|
194
|
+
* has no record in the desktop app's `auth.json` (its record key embeds a hash
|
|
195
|
+
* this plugin cannot reproduce), so writing a fabricated entry there would leave
|
|
196
|
+
* the app with an entry it never reads.
|
|
197
|
+
*/
|
|
198
|
+
export declare function pollWebLogin(store: MinimaxCodeCredentialStore, loginId: string, options?: {
|
|
199
|
+
fetchFn?: typeof fetch;
|
|
200
|
+
signal?: AbortSignal;
|
|
201
|
+
/**
|
|
202
|
+
* Called with the credential a completed sign-in produced, after it has been
|
|
203
|
+
* persisted.
|
|
204
|
+
*
|
|
205
|
+
* The single-credential store cannot express a second account, so without this
|
|
206
|
+
* a sign-in started from the card would never join the pool: the pool would
|
|
207
|
+
* keep serving its existing accounts, and the user's new sign-in would exist
|
|
208
|
+
* only as the mirror file. The pool installs this hook and adds the credential
|
|
209
|
+
* as its own account.
|
|
210
|
+
*
|
|
211
|
+
* A failure here must not fail the sign-in: the credential is already durable,
|
|
212
|
+
* and the pool is a routing convenience on top of it. The caller receives the
|
|
213
|
+
* authenticated verdict either way.
|
|
214
|
+
*/
|
|
215
|
+
onSave?: (credentials: MinimaxCodeCredentials) => Promise<void>;
|
|
216
|
+
}): Promise<{
|
|
217
|
+
status: 'pending' | 'authenticated' | 'expired' | 'denied';
|
|
218
|
+
account?: MinimaxCodeAccount;
|
|
219
|
+
}>;
|
|
220
|
+
//# sourceMappingURL=oauth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../../../../src/host/providers/minimax-code/oauth.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAA;AAC3H,OAAO,EAgBL,WAAW,EAIZ,MAAM,YAAY,CAAA;AACnB,OAAO,EAGL,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAA;AAEzB,oFAAoF;AACpF,qBAAa,4BAA6B,SAAQ,KAAK;gBACzC,OAAO,EAAE,MAAM;CAI5B;AAED,iEAAiE;AACjE,qBAAa,yBAA0B,SAAQ,KAAK;gBAGtC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO;CAI7C;AAED,oEAAoE;AACpE,qBAAa,4BAA6B,SAAQ,KAAK;gBACzC,OAAO,EAAE,MAAM;CAI5B;AAuDD;;;;;;GAMG;AACH,wBAAgB,cAAc,IAAI;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAIxE;AAMD,4CAA4C;AAC5C,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,oDAAoD;IACpD,YAAY,EAAE,MAAM,CAAA;IACpB,2EAA2E;IAC3E,MAAM,EAAE,iBAAiB,CAAA;CAC1B;AAED;;;;;GAKG;AACH,wBAAsB,0BAA0B,CAAC,OAAO,GAAE;IACxD,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,MAAM,CAAC,EAAE,iBAAiB,CAAA;CACtB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CA6CpC;AAMD,2DAA2D;AAC3D,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;CACd;AA0BD,wCAAwC;AACxC,MAAM,MAAM,iBAAiB,GACzB;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,YAAY,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,GACtC;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAA;AAEvB;;;;;;;GAOG;AACH,wBAAsB,eAAe,CACnC,aAAa,EAAE,IAAI,CAAC,mBAAmB,EAAE,YAAY,GAAG,cAAc,GAAG,QAAQ,CAAC,EAClF,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;IAAC,MAAM,CAAC,EAAE,WAAW,CAAA;CAAO,GAC7D,OAAO,CAAC,iBAAiB,CAAC,CA+B5B;AAoBD;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACtC,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;IAAC,MAAM,CAAC,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GACnF,OAAO,CAAC,YAAY,CAAC,CAiDvB;AAED;;;;;GAKG;AACH,wBAAsB,WAAW,CAC/B,KAAK,EAAE,MAAM,EACb,OAAO,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,KAAK,CAAC;IAAC,MAAM,CAAC,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GACnF,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAmCD,0EAA0E;AAC1E,wBAAsB,aAAa,CAAC,OAAO,GAAE;IAC3C,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,MAAM,CAAC,EAAE,iBAAiB,CAAA;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;CAChB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAoBpC;AAED,uEAAuE;AACvE,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,mBAAmB,GAAG,IAAI,CASvE;AAED,iFAAiF;AACjF,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEvD;AAED,0EAA0E;AAC1E,wBAAgB,cAAc,IAAI,IAAI,CAErC;AAED,0DAA0D;AAC1D,wBAAgB,sBAAsB,CACpC,WAAW,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,GACtG,kBAAkB,CAQpB;AAGD,OAAO,EAAE,WAAW,EAAE,CAAA;AAsBtB,6DAA6D;AAC7D,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAQpE;AAED,oDAAoD;AACpD,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C;AAoCD,kDAAkD;AAClD,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,gFAAgF;IAChF,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAOD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,0BAA0B,EACjC,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,sBAAsB,CAAC,CAqEjC;AAED;;;;;;;GAOG;AACH,wBAAsB,YAAY,CAChC,KAAK,EAAE,0BAA0B,EACjC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE;IACP,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,CAAC,WAAW,EAAE,sBAAsB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAC3D,GACL,OAAO,CAAC;IAAE,MAAM,EAAE,SAAS,GAAG,eAAe,GAAG,SAAS,GAAG,QAAQ,CAAC;IAAC,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAAE,CAAC,CA6DvG"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The MiniMax Code reset-card ("额度重置卡") surfaces.
|
|
3
|
+
*/
|
|
4
|
+
import type { MinimaxCodeResetCardDto, MinimaxCodeResetCardFlowDto, MinimaxCodeResetCardsDto, MinimaxCodeResetOutcome } from '../../../shared/minimax-code-contracts.ts';
|
|
5
|
+
import type { MinimaxCodeCredentials } from './token-store.ts';
|
|
6
|
+
/** Path of the available-cards read. */
|
|
7
|
+
export declare const RESET_CARD_LIST_PATH = "/backend/account/reset_card/list";
|
|
8
|
+
/** Path of the flow history read. REQUIRES `create_time`; see the header note. */
|
|
9
|
+
export declare const RESET_CARD_FLOWS_PATH = "/backend/account/reset_card/flows";
|
|
10
|
+
/** Path that spends a card. */
|
|
11
|
+
export declare const RESET_CARD_USE_PATH = "/backend/account/reset_card/use";
|
|
12
|
+
/** Page size every read asks for. */
|
|
13
|
+
export declare const RESET_CARD_PAGE_SIZE = 20;
|
|
14
|
+
/** The flow window the panel shows, and the start `flows` is asked from. */
|
|
15
|
+
export declare const RESET_CARD_FLOW_WINDOW_MS: number;
|
|
16
|
+
/** Local timeout for one reset-card call. */
|
|
17
|
+
export declare const RESET_CARD_TIMEOUT_MS = 15000;
|
|
18
|
+
/** Business codes this surface is known to answer with. */
|
|
19
|
+
export declare const RESET_CARD_RATE_LIMIT = 1002;
|
|
20
|
+
export declare const RESET_CARD_UNAUTHORIZED = 1004;
|
|
21
|
+
export declare const RESET_CARD_INVALID_PARAMS = 2013;
|
|
22
|
+
/**
|
|
23
|
+
* A reset-card call that failed.
|
|
24
|
+
*
|
|
25
|
+
* `statusCode` is the envelope's `base_resp.status_code` (the platform answers
|
|
26
|
+
* HTTP 200 for a refusal), `httpStatus` the status line when the transport
|
|
27
|
+
* itself refused. Both are kept so the route can answer 401 for an expired token
|
|
28
|
+
* rather than the generic 502 it would otherwise send for an upstream refusal.
|
|
29
|
+
*/
|
|
30
|
+
export declare class MinimaxCodeResetCardError extends Error {
|
|
31
|
+
readonly httpStatus: number | null;
|
|
32
|
+
readonly statusCode: number | null;
|
|
33
|
+
constructor(message: string, httpStatus: number | null, statusCode: number | null);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Status line one failure should be reported to the browser with.
|
|
37
|
+
*
|
|
38
|
+
* The envelope codes are mapped rather than flattened, because "rate limited"
|
|
39
|
+
* and "your sign-in expired" ask the user for opposite things: one is a
|
|
40
|
+
* "try in a minute", the other is a refresh this line performs on its own.
|
|
41
|
+
*/
|
|
42
|
+
export declare function resetCardHttpStatus(error: unknown): number;
|
|
43
|
+
/**
|
|
44
|
+
* Headers for one reset-card call.
|
|
45
|
+
*
|
|
46
|
+
* The bearer is the only credential field: measured, the desktop client's
|
|
47
|
+
* literal `token:` header is refused with 401 by these routes. Nothing derived
|
|
48
|
+
* from the token is ever logged, so a failure sentence can name the surface
|
|
49
|
+
* without naming the credential.
|
|
50
|
+
*/
|
|
51
|
+
export declare function resetCardRequestHeaders(accessToken: string): Record<string, string>;
|
|
52
|
+
/** Forget the remembered host (a sign-out, or a test). */
|
|
53
|
+
export declare function clearResetCardHost(): void;
|
|
54
|
+
/** The remembered winning host, if one has answered. */
|
|
55
|
+
export declare function resetCardHost(): string | null;
|
|
56
|
+
export interface ResetCardRequestOptions {
|
|
57
|
+
fetchFn?: typeof fetch;
|
|
58
|
+
signal?: AbortSignal;
|
|
59
|
+
/** Clock injection for tests; also decides the flow window start. */
|
|
60
|
+
nowMs?: () => number;
|
|
61
|
+
}
|
|
62
|
+
/** One card, or undefined when a required field is missing or mistyped. */
|
|
63
|
+
export declare function parseResetCard(raw: unknown): MinimaxCodeResetCardDto | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* One flow row.
|
|
66
|
+
*
|
|
67
|
+
* `event_type` is a closed vocabulary, and an unknown value is dropped rather
|
|
68
|
+
* than passed through: the contract says GRANT | USE, and a card rendered with a
|
|
69
|
+
* third value would be showing this plugin an assumption it cannot back.
|
|
70
|
+
*/
|
|
71
|
+
export declare function parseResetCardFlow(raw: unknown): MinimaxCodeResetCardFlowDto | undefined;
|
|
72
|
+
/** The available cards from one `list` document. */
|
|
73
|
+
export declare function parseResetCardList(payload: unknown): MinimaxCodeResetCardDto[];
|
|
74
|
+
/** The flow rows from one `flows` document. */
|
|
75
|
+
export declare function parseResetCardFlows(payload: unknown): MinimaxCodeResetCardFlowDto[];
|
|
76
|
+
/** The query the flow read is sent with. `create_time` is mandatory. */
|
|
77
|
+
export declare function resetCardFlowsQuery(sinceMs: number, page?: number, size?: number): string;
|
|
78
|
+
/** The query the list read is sent with. */
|
|
79
|
+
export declare function resetCardListQuery(page?: number, size?: number): string;
|
|
80
|
+
/**
|
|
81
|
+
* The reset-card panel: the cards still held, plus the recent flow.
|
|
82
|
+
*
|
|
83
|
+
* Two requests, and the asymmetry between them is the point: the LIST is the
|
|
84
|
+
* panel's substance, so a failure of it is reported; the FLOW is context, so its
|
|
85
|
+
* failure degrades to an empty list and the cards still render. A user whose
|
|
86
|
+
* flow read is refused loses a history row, not the button they came to press.
|
|
87
|
+
*/
|
|
88
|
+
export declare function fetchResetCards(credentials: MinimaxCodeCredentials, options?: ResetCardRequestOptions): Promise<MinimaxCodeResetCardsDto>;
|
|
89
|
+
/**
|
|
90
|
+
* Spend one card.
|
|
91
|
+
*
|
|
92
|
+
* The body is exactly two fields, both copied off the card. There is deliberately
|
|
93
|
+
* no request id here: de-duplication is the service's, keyed on `out_biz_no`,
|
|
94
|
+
* and a self-minted id would make a second click spend a second card — the exact
|
|
95
|
+
* harm this line's contract warns about.
|
|
96
|
+
*
|
|
97
|
+
* The returned outcome is passed through rather than collapsed into a boolean,
|
|
98
|
+
* because three of the six values mean "possibly spent, confirm with THIS card"
|
|
99
|
+
* (REPLAYED, LOCK_BUSY, RETRYABLE_FAIL) and the caller has to be able to tell the
|
|
100
|
+
* user to retry the same card instead of another one.
|
|
101
|
+
*/
|
|
102
|
+
export declare function useResetCard(credentials: MinimaxCodeCredentials, card: {
|
|
103
|
+
sourceType: string;
|
|
104
|
+
outBizNo: string;
|
|
105
|
+
}, options?: ResetCardRequestOptions): Promise<MinimaxCodeResetOutcome>;
|
|
106
|
+
//# sourceMappingURL=reset-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reset-card.d.ts","sourceRoot":"","sources":["../../../../../src/host/providers/minimax-code/reset-card.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,2CAA2C,CAAA;AAClD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAG9D,wCAAwC;AACxC,eAAO,MAAM,oBAAoB,qCAAqC,CAAA;AACtE,kFAAkF;AAClF,eAAO,MAAM,qBAAqB,sCAAsC,CAAA;AACxE,+BAA+B;AAC/B,eAAO,MAAM,mBAAmB,oCAAoC,CAAA;AAEpE,qCAAqC;AACrC,eAAO,MAAM,oBAAoB,KAAK,CAAA;AACtC,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,QAA2B,CAAA;AACjE,6CAA6C;AAC7C,eAAO,MAAM,qBAAqB,QAAS,CAAA;AAY3C,2DAA2D;AAC3D,eAAO,MAAM,qBAAqB,OAAO,CAAA;AACzC,eAAO,MAAM,uBAAuB,OAAO,CAAA;AAC3C,eAAO,MAAM,yBAAyB,OAAO,CAAA;AAE7C;;;;;;;GAOG;AACH,qBAAa,yBAA0B,SAAQ,KAAK;IAGhD,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAClC,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;gBAFlC,OAAO,EAAE,MAAM,EACN,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,UAAU,EAAE,MAAM,GAAG,IAAI;CAKrC;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAO1D;AAuBD;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOnF;AAWD,0DAA0D;AAC1D,wBAAgB,kBAAkB,IAAI,IAAI,CAEzC;AAED,wDAAwD;AACxD,wBAAgB,aAAa,IAAI,MAAM,GAAG,IAAI,CAE7C;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,OAAO,KAAK,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,MAAM,CAAA;CACrB;AAuGD,2EAA2E;AAC3E,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG,uBAAuB,GAAG,SAAS,CAgBhF;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,GAAG,2BAA2B,GAAG,SAAS,CASxF;AAED,oDAAoD;AACpD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,uBAAuB,EAAE,CAS9E;AAED,+CAA+C;AAC/C,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,2BAA2B,EAAE,CASnF;AAED,wEAAwE;AACxE,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,GAAE,MAAU,EAAE,IAAI,GAAE,MAA6B,GAAG,MAAM,CAMlH;AAED,4CAA4C;AAC5C,wBAAgB,kBAAkB,CAAC,IAAI,GAAE,MAAU,EAAE,IAAI,GAAE,MAA6B,GAAG,MAAM,CAEhG;AAED;;;;;;;GAOG;AACH,wBAAsB,eAAe,CACnC,WAAW,EAAE,sBAAsB,EACnC,OAAO,GAAE,uBAA4B,GACpC,OAAO,CAAC,wBAAwB,CAAC,CAgBnC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,YAAY,CAChC,WAAW,EAAE,sBAAsB,EACnC,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,EAC9C,OAAO,GAAE,uBAA4B,GACpC,OAAO,CAAC,uBAAuB,CAAC,CAsBlC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web routes for the MiniMax Code line.
|
|
3
|
+
*
|
|
4
|
+
* The six routes below are the frozen contract the client half consumes (brief
|
|
5
|
+
* section 3). Their paths, request bodies and verdicts are therefore not free:
|
|
6
|
+
* this file implements them as specified rather than as this line might prefer.
|
|
7
|
+
*
|
|
8
|
+
* Response envelope: every route answers \`{ ok: true, value: <payload> }\`, which is
|
|
9
|
+
* what the sibling lines in this package use. The three routes whose contract names
|
|
10
|
+
* a top-level key as well (\`/login/start\` -> \`login\`, \`/login/poll\` -> \`status\` and
|
|
11
|
+
* \`account\`, \`/test\` -> \`ok\`/\`model\`/\`error\`) carry that key at the top level too,
|
|
12
|
+
* so a client written against either reading resolves. \`/test\` is the one route
|
|
13
|
+
* where the envelope's \`ok\` cannot double as the payload's: its contract defines
|
|
14
|
+
* \`ok\` as the probe verdict, so the envelope there is the verdict itself and the
|
|
15
|
+
* duplicate lives under \`value\`.
|
|
16
|
+
*
|
|
17
|
+
* Mounting: the routes are registered under BOTH the contract prefix and the
|
|
18
|
+
* sibling-line convention, because the two disagree in this repository and the
|
|
19
|
+
* client half must not be able to miss them for that reason alone.
|
|
20
|
+
*
|
|
21
|
+
* \`/models\` and \`/settings\` are the model-settings half every sibling line has and
|
|
22
|
+
* this one shipped without. They are two names for one route because the sibling
|
|
23
|
+
* cards disagree about which to call: kimi-code and claude call it \`/models\`,
|
|
24
|
+
* command-code calls it \`/settings\`. Serving both costs one string
|
|
25
|
+
* comparison and removes a client-side special case.
|
|
26
|
+
*/
|
|
27
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
28
|
+
import { MINIMAX_CODE_PROVIDER_ID, type MinimaxCodeWebStatus } from '../../../shared/minimax-code-contracts.ts';
|
|
29
|
+
import { type MinimaxCodeAccountPool } from './account-pool.ts';
|
|
30
|
+
import { MinimaxCodeCredentialStore, MinimaxCodeModelSettingsStore, type MinimaxCodeModelSettings, type MinimaxCodePreferenceStore, type MinimaxCodeSettingsPatch } from './token-store.ts';
|
|
31
|
+
import { ensureAccessToken, getWebLogin } from './oauth.ts';
|
|
32
|
+
import type { MinimaxCodeCheckinService } from './checkin.ts';
|
|
33
|
+
/** The sub-path one request addresses, whichever prefix it arrived under. */
|
|
34
|
+
export declare function subPathOf(requestUrl: string): string;
|
|
35
|
+
/**
|
|
36
|
+
* The stored selection, however this deployment persists it.
|
|
37
|
+
*
|
|
38
|
+
* The routes accept either shape so a composition that still has the register
|
|
39
|
+
* settings seam and one that only has the file both work: the caller passes
|
|
40
|
+
* whichever it wired, and nothing in this file needs to know which it got. The
|
|
41
|
+
* patch type is the store's own, deliberately, so a field added to the settings
|
|
42
|
+
* document cannot become one this route accepts but the stores silently drop.
|
|
43
|
+
*/
|
|
44
|
+
export interface MinimaxCodeSettingsSource {
|
|
45
|
+
/** Current selection: a value on the register seam, a read on the file store. */
|
|
46
|
+
status(): Promise<MinimaxCodeModelSettings> | MinimaxCodeModelSettings;
|
|
47
|
+
update(patch: MinimaxCodeSettingsPatch): Promise<MinimaxCodeModelSettings>;
|
|
48
|
+
}
|
|
49
|
+
export interface MinimaxCodeStatusOptions {
|
|
50
|
+
fetchFn?: typeof fetch;
|
|
51
|
+
/** Whether this plugin currently owns the provider route; re-read on every status. */
|
|
52
|
+
serving?: boolean | (() => boolean);
|
|
53
|
+
/** Diagnostic when another plugin owns the provider route; re-read on every status. */
|
|
54
|
+
conflict?: string | null | (() => string | null);
|
|
55
|
+
/**
|
|
56
|
+
* Where the model selection lives.
|
|
57
|
+
*
|
|
58
|
+
* Omitted, the routes read the default settings file, which is what a caller
|
|
59
|
+
* that only wants the connection half of the card gets. The plugin entry
|
|
60
|
+
* supplies the same store the adapter was built with, so the card and the
|
|
61
|
+
* request path can never read two different selections.
|
|
62
|
+
*/
|
|
63
|
+
settings?: MinimaxCodeSettingsSource;
|
|
64
|
+
/**
|
|
65
|
+
* The account pool, when this process installed one.
|
|
66
|
+
*
|
|
67
|
+
* Omitting it is a supported posture: the line then behaves as the
|
|
68
|
+
* single-credential route it was before the pool existed, and the status
|
|
69
|
+
* reports `poolInstalled: false` so the card can say so rather than render an
|
|
70
|
+
* empty account list that looks like a bug.
|
|
71
|
+
*/
|
|
72
|
+
accountPool?: MinimaxCodeAccountPool;
|
|
73
|
+
/** Daily check-in scheduler; absent leaves the card's check-in row empty. */
|
|
74
|
+
checkin?: Pick<MinimaxCodeCheckinService, 'tick' | 'summary'>;
|
|
75
|
+
}
|
|
76
|
+
/** Everything the settings card renders. */
|
|
77
|
+
export declare function getMinimaxCodeWebStatus(store: MinimaxCodeCredentialStore, options?: MinimaxCodeStatusOptions, settingsSource?: MinimaxCodeSettingsSource): Promise<MinimaxCodeWebStatus>;
|
|
78
|
+
export declare function registerMinimaxCodeRoutes(ctx: Context, store?: MinimaxCodeCredentialStore, options?: MinimaxCodeStatusOptions, modelSettings?: MinimaxCodeModelSettingsStore, preferences?: MinimaxCodePreferenceStore): () => void;
|
|
79
|
+
/** Test seam: forget which sign-in the status route reports. */
|
|
80
|
+
export declare function resetLatestLogin(): void;
|
|
81
|
+
export { MINIMAX_CODE_PROVIDER_ID, getWebLogin, ensureAccessToken };
|
|
82
|
+
//# sourceMappingURL=routes.d.ts.map
|