@eddyskywalker/dsh-chatgpt-subscription 0.83.0 → 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 +220 -403
- package/lib/client.js.map +1 -1
- package/lib/codemode.js +310 -45
- package/lib/index.js +977 -3667
- 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/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/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.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.map +1 -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.map +1 -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.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.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 +120 -120
- 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/package.json +57 -59
- package/CHANGELOG.md +0 -2718
- 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-CNGm7XOI.js +0 -1112
- 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 -221
- 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 -32
- 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 -260
- 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 -134
- package/lib/types/host/compact-after-turn/index.d.ts.map +0 -1
- 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 -312
- 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 -316
- 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 -458
- 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 -235
- 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/open-models/discipline.d.ts +0 -9
- package/lib/types/host/open-models/discipline.d.ts.map +0 -1
- package/lib/types/host/open-models/index.d.ts +0 -59
- package/lib/types/host/open-models/index.d.ts.map +0 -1
- package/lib/types/host/open-models/observation-guard.d.ts.map +0 -1
- package/lib/types/host/open-models/profiles.d.ts.map +0 -1
- package/lib/types/host/open-models/state-anchor.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/account-pool.d.ts +0 -129
- package/lib/types/host/relayone/account-pool.d.ts.map +0 -1
- package/lib/types/host/relayone/adapter.d.ts +0 -83
- package/lib/types/host/relayone/adapter.d.ts.map +0 -1
- package/lib/types/host/relayone/catalog-manager.d.ts +0 -45
- 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 -27
- 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 -29
- package/lib/types/host/relayone/quota.d.ts.map +0 -1
- package/lib/types/host/relayone/routes.d.ts +0 -25
- 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/session-title-guard/index.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.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.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/{compaction-policy-guard.d.ts → runtime/guards/compaction-policy-guard.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/{timeline-cache-guard.d.ts → runtime/guards/timeline-cache-guard.d.ts} +0 -0
- /package/lib/types/host/{tool-result-pruner-guard.d.ts → runtime/guards/tool-result-pruner-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/{open-models → runtime/open-models}/observation-guard.d.ts +0 -0
- /package/lib/types/host/{open-models → runtime/open-models}/profiles.d.ts +0 -0
- /package/lib/types/host/{open-models → runtime/open-models}/state-anchor.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/{session-title-guard → runtime/session-title-guard}/index.d.ts +0 -0
- /package/lib/types/host/{widget-board → runtime/widget-board}/provider.d.ts +0 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Step Code(Step Plan 订阅)线路的模型目录:URL 归一化、目录解析、能力装配。
|
|
3
|
+
*/
|
|
4
|
+
import type { StepCodeModelOption, StepCodeProfile, StepCodeReasoningEffort } from '../../../shared/step-code-contracts.ts';
|
|
5
|
+
/**
|
|
6
|
+
* 把一个 Step 端点归一化到「路由前缀」。
|
|
7
|
+
*
|
|
8
|
+
* Step 的配置(以及旧版 models.json)接受三种写法:带版本的操作 URL(`/v1/messages`)、
|
|
9
|
+
* `/messages` 操作、以及 `/v1` 父路径。把这些尾部段循环剥掉,调用方才能在同一个值上
|
|
10
|
+
* 按当前方言补上正确的后缀而不把版本段发两次。
|
|
11
|
+
*
|
|
12
|
+
* **幂等**是官方的明确要求(`index.ts:382-387`):某个中间版本产出的文件里可能已经
|
|
13
|
+
* 有一个重复的后缀(`/v1/v1/messages`),而这个函数也被用来修这样的存量文件。
|
|
14
|
+
* 所以它不是「剥一层」而是「循环剥到剥不动」,对任意多个残留的版本 / 操作段都收敛。
|
|
15
|
+
*
|
|
16
|
+
* 解析不了的输入原样返回:修复 models.json 里一个畸形的自定义条目时,
|
|
17
|
+
* 那个条目必须保持原样,好让正常的校验去报它的问题,而不是在这里被静默改写。
|
|
18
|
+
*
|
|
19
|
+
* @param value - 任意一个 Step 模型面端点写法。
|
|
20
|
+
* @returns 去掉尾部版本 / 操作段之后的路由前缀。
|
|
21
|
+
*/
|
|
22
|
+
export declare function normalizeStepCodeApiBaseUrl(value: string): string;
|
|
23
|
+
/**
|
|
24
|
+
* OpenAI 风格的 base(`.../v1`),供 chat 与目录发现共用。
|
|
25
|
+
*
|
|
26
|
+
* `apiBase` 传进来时通常已经归一化过(尾部 `/v1` 已剥),所以补一个 `/v1`
|
|
27
|
+
* 对四条 profile 都对:
|
|
28
|
+
*
|
|
29
|
+
* - `step_plan` → `https://api.stepfun.com/step_plan/v1`
|
|
30
|
+
* - `platform_cn` → `https://api.stepfun.com/v1`
|
|
31
|
+
*
|
|
32
|
+
* chat 请求在这个 base 上拼 `/chat/completions`,目录发现拼 `/models`。
|
|
33
|
+
* 这里再归一化一次是**有意的**:调用方可能直接传了环境变量里的原始值。
|
|
34
|
+
*/
|
|
35
|
+
export declare function stepCodeOpenAiBaseUrl(apiBase: string): string;
|
|
36
|
+
/**
|
|
37
|
+
* 逐模型详情查询的 base:**域名根的 `/v1`**。
|
|
38
|
+
*
|
|
39
|
+
* 这一处的端点位置是反直觉的:profile 是 `step_plan` 时目录在 `.../step_plan/v1/models`,
|
|
40
|
+
* 但详情在 `https://api.stepfun.com/v1/models/{id}`——带子路径的那个变体会 404
|
|
41
|
+
* (逐字:`index.ts:414-419`)。所以这里取 `origin` 而不是路径。
|
|
42
|
+
*
|
|
43
|
+
* 不是合法 URL 时原样返回(与归一化函数同样的理由:让它保持可校验)。
|
|
44
|
+
*/
|
|
45
|
+
export declare function stepCodeModelsDetailBaseUrl(apiBase: string): string;
|
|
46
|
+
/** chat completions 的完整 URL(OpenAI 兼容面,全部四条 profile 走这一条)。 */
|
|
47
|
+
export declare function stepCodeChatCompletionsUrl(apiBase: string): string;
|
|
48
|
+
/** 模型列表的完整 URL。 */
|
|
49
|
+
export declare function stepCodeModelsUrl(apiBase: string): string;
|
|
50
|
+
/** 一行模型能力。与 `StepCodeModelOption` 同义,去掉的只是「用户设置」那一半(见 {@link catalogModelOptions})。 */
|
|
51
|
+
export interface StepCodeModelEntry {
|
|
52
|
+
id: string;
|
|
53
|
+
name: string;
|
|
54
|
+
/** 一句话能力描述:思考形态 / 可选档位 / 输入模态 / 上下文窗口。由 {@link describeStepCodeModel} 生成。 */
|
|
55
|
+
hint: string;
|
|
56
|
+
/** 服务该模型线的 profile。同一个 id 在四条 profile 上的可用性可能不同。 */
|
|
57
|
+
profiles: readonly StepCodeProfile[];
|
|
58
|
+
/**
|
|
59
|
+
* 该模型**真实**接受的思考档位梯子(mapper 会把它当 ladder 传给收敛函数)。
|
|
60
|
+
*
|
|
61
|
+
* **空数组是有意语义**:该模型完全不发思考控制字段
|
|
62
|
+
* (`convergeStepCodeEffort` 对空梯子返回 null,mapper 据此不发出 `reasoning_effort`)。
|
|
63
|
+
* 这不是「忘了填」,是「不发」。
|
|
64
|
+
*/
|
|
65
|
+
reasoningEfforts: readonly StepCodeReasoningEffort[];
|
|
66
|
+
/** 思考能否关闭。与上一条**正交**:档位非空而本项为 false = 恒定开启。 */
|
|
67
|
+
thinkingDisableable: boolean;
|
|
68
|
+
/** 是否接受 image 输入。 */
|
|
69
|
+
supportsImages: boolean;
|
|
70
|
+
/** 目录报的 `max_input_tokens`,也就是上下文窗口。 */
|
|
71
|
+
defaultContextWindow: number;
|
|
72
|
+
/** 调用方不指定输出上限时本线路请求的输出上限;端点不报,默认等于上下文窗口。 */
|
|
73
|
+
defaultMaxTokens: number;
|
|
74
|
+
/**
|
|
75
|
+
* 目录**真实**声明的输出上限;端点没报就是 undefined。
|
|
76
|
+
*
|
|
77
|
+
* 与 {@link defaultMaxTokens} 是两件事,**后者不是 cap**:它是上下文窗口派生的
|
|
78
|
+
* 兜底,只给设置面看(host 元数据)。wire 上只有这个字段才是真的上限,
|
|
79
|
+
* 没有它就不发 `max_tokens`(见 mapper 的 `buildChatRequest`)。
|
|
80
|
+
*/
|
|
81
|
+
maxOutputTokens?: number;
|
|
82
|
+
/** 官方描述;没有逐字来源时为 null(不编文案)。 */
|
|
83
|
+
description: string | null;
|
|
84
|
+
}
|
|
85
|
+
/** 一行能力去掉 `hint` 的样子:hint 由 {@link withHint} 从其余字段生成,不手写。 */
|
|
86
|
+
export type StepCodeModelFacts = Omit<StepCodeModelEntry, 'hint'>;
|
|
87
|
+
/**
|
|
88
|
+
* 解析上游 `GET {base}/v1/models` 的应答。
|
|
89
|
+
*
|
|
90
|
+
* 接受 `{ data: [...] }`(OpenAI 形状)与裸数组两种形状:两个都要认,是因为
|
|
91
|
+
* 「目录空掉」与「目录里多了奇怪的条目」同样难排查,而多认一种形状的代价是零。
|
|
92
|
+
*
|
|
93
|
+
* 无 id 的条目被丢弃而不是给一个占位 id:一个没有 id 的模型行在选择器里无法被请求,
|
|
94
|
+
* 留着只是让用户点一个必然失败的东西。
|
|
95
|
+
*
|
|
96
|
+
* @param payload - 上游应答解析后的 JSON。
|
|
97
|
+
* @returns 能力行,顺序与上游一致;解析不出任何东西时是空数组。
|
|
98
|
+
*/
|
|
99
|
+
export declare function parseStepCodeModelListing(payload: unknown): StepCodeModelEntry[];
|
|
100
|
+
/**
|
|
101
|
+
* 随包发布的目录:**空**。
|
|
102
|
+
*
|
|
103
|
+
* 理由与取值见文件头:官方就没有随包基线(`STEP_MODELS = []`,`index.ts:154`),
|
|
104
|
+
* 本线路也不编一张。它在代码里仍然作为常量导出,是为了让「随包目录存在且为空」
|
|
105
|
+
* 这件事本身是一个可以被断言的事实,而不是「忘了写这个文件」。
|
|
106
|
+
*
|
|
107
|
+
* 留空**不会**让选择器变空:取不到目录时目录由 {@link undeclaredStepCodeModelEntry}
|
|
108
|
+
* 的未声明行撑住(上游给什么 id 就以什么 id 出现),而两者都没有时线路只是不暴露模型。
|
|
109
|
+
*/
|
|
110
|
+
export declare const STEP_CODE_MODEL_CATALOG: readonly StepCodeModelEntry[];
|
|
111
|
+
/** 随包目录里的全部 id(恒为空数组;保留导出形状是为了让调用方的类型推导稳定)。 */
|
|
112
|
+
export declare const STEP_CODE_MODEL_IDS: readonly string[];
|
|
113
|
+
/**
|
|
114
|
+
* 首次安装默认勾选的模型。
|
|
115
|
+
*
|
|
116
|
+
* 恒为空:因为随包目录是空的(见上),而真实目录在登录后才由运行时发现。
|
|
117
|
+
* token-store 把它作为默认值的唯一来源——默认值取自**随包**目录而不是运行时目录,
|
|
118
|
+
* 是为了让「用户没选过」与「用户选了运行时目录里的某个 id」这两件事不互相污染
|
|
119
|
+
* (同 glm 线路把 `GLM_MODEL_CATALOG` 排除在设置文档之外的同一条理由)。
|
|
120
|
+
*/
|
|
121
|
+
export declare const DEFAULT_VISIBLE_MODEL_IDS: readonly string[];
|
|
122
|
+
/**
|
|
123
|
+
* 未知模型的**未声明**行。
|
|
124
|
+
*
|
|
125
|
+
* 什么时候会有:上游目录里出现了本线路没有逐字能力的 id(发了新模型,或本仓库还没跟上)。
|
|
126
|
+
* 这时最诚实的做法是什么都不主张:
|
|
127
|
+
*
|
|
128
|
+
* - `reasoningEfforts: []` → `convergeStepCodeEffort` 返回 null,mapper 一个字段都不发;
|
|
129
|
+
* - `supportsImages: false` → 请求里的图片按「读不出来」明说,而不是发一个上游会拒的 image_url;
|
|
130
|
+
* - `thinkingDisableable: true` → 目录没声明「恒定开启」,那就永远不发关闭值;
|
|
131
|
+
* - 上下文窗口只有在上游明确报了 `max_input_tokens` 时才用它的值,否则用兜底值。
|
|
132
|
+
*
|
|
133
|
+
* 但本线路**不**因此把 id 藏起来:这是与 glm 线路不同的一处决定。
|
|
134
|
+
* 那里未声明行默认不勾选,是因为那行的 `wire` 是 `null`——调它必然拿到 1212;
|
|
135
|
+
* 这里的协议面是固定的(四条 profile 全是 OpenAI Chat Completions),调它是合法的,
|
|
136
|
+
* 只是能力未知。所以未声明行**默认可见**,只是文案点明它是未声明的。
|
|
137
|
+
*/
|
|
138
|
+
export declare function undeclaredStepCodeModelEntry(id: string, options?: {
|
|
139
|
+
contextWindow?: number;
|
|
140
|
+
profiles?: readonly StepCodeProfile[];
|
|
141
|
+
}): StepCodeModelEntry;
|
|
142
|
+
/**
|
|
143
|
+
* 查一行模型能力;给定目录里没有时返回**未声明行**而不是 undefined。
|
|
144
|
+
*
|
|
145
|
+
* 返回未声明行而不是空,是为了让调用方只需要处理一种东西:每个 id 都有一份
|
|
146
|
+
* 「不主张什么」的声明,不必另开一条「找不到模型」的分支。
|
|
147
|
+
*/
|
|
148
|
+
export declare function resolveStepCodeModel(id: string, catalog?: readonly StepCodeModelEntry[]): StepCodeModelEntry;
|
|
149
|
+
/** 该模型真实接受的思考档位;不在目录里时是空数组(即「不发任何思考控制字段」)。 */
|
|
150
|
+
export declare function stepCodeReasoningEfforts(id: string, catalog?: readonly StepCodeModelEntry[]): readonly StepCodeReasoningEffort[];
|
|
151
|
+
/** 该模型是否接受图片输入;不在目录里时为 false(不认图比乱认图安全)。 */
|
|
152
|
+
export declare function stepCodeModelSupportsImages(id: string, catalog?: readonly StepCodeModelEntry[]): boolean;
|
|
153
|
+
/** 该模型的输出上限;不在目录里时取「等于上下文窗口」。 */
|
|
154
|
+
export declare function maxOutputTokensFor(id: string, catalog?: readonly StepCodeModelEntry[]): number;
|
|
155
|
+
/**
|
|
156
|
+
* 该模型**真实**声明的输出上限;目录没声明(端点不报)时是 undefined。
|
|
157
|
+
*
|
|
158
|
+
* 与 {@link maxOutputTokensFor} 是两件事,**别混**:后者是上下文窗口派生的兜底,
|
|
159
|
+
* 是给 host 用的元数据(压缩与溢出判断),不是上游的输出上限;
|
|
160
|
+
* 只有这个字段是端点真的报出来的 cap —— wire 上没有它就不发 `max_tokens`,
|
|
161
|
+
* 让上游用它自己的默认,而不是让我们拿窗口去限它。
|
|
162
|
+
*/
|
|
163
|
+
export declare function declaredMaxOutputTokensFor(id: string, catalog?: readonly StepCodeModelEntry[]): number | undefined;
|
|
164
|
+
/** 该模型的上下文窗口;不在目录里时取 {@link DEFAULT_CONTEXT_WINDOW}。 */
|
|
165
|
+
export declare function defaultContextWindowFor(id: string, catalog?: readonly StepCodeModelEntry[]): number;
|
|
166
|
+
/** 目录里的全部 id。 */
|
|
167
|
+
export declare function listModelIds(catalog?: readonly StepCodeModelEntry[]): string[];
|
|
168
|
+
/** 目录条目数,供 hub 概览显示「M 个模型可用」。 */
|
|
169
|
+
export declare function catalogSize(catalog?: readonly StepCodeModelEntry[]): number;
|
|
170
|
+
/**
|
|
171
|
+
* {@link catalogSize} 的别名。
|
|
172
|
+
*
|
|
173
|
+
* 存在的唯一理由是名字歧义:本线路的「随包目录」恒为空,所以下游看到 `catalog` 时
|
|
174
|
+
* 需要能一眼分清它指随包表还是运行时发现的表(运行时表要传进来,随包表不用)。
|
|
175
|
+
* 两个名字指向同一个函数,不是两份逻辑。
|
|
176
|
+
*/
|
|
177
|
+
export declare const catalogTotal: typeof catalogSize;
|
|
178
|
+
/** 一条 profile 能调的模型(`profiles` 是路由事实:不在列表里的不要发过去)。 */
|
|
179
|
+
export declare function modelsForProfile(profile: StepCodeProfile, catalog?: readonly StepCodeModelEntry[]): StepCodeModelEntry[];
|
|
180
|
+
/**
|
|
181
|
+
* 从一行能力生成设置卡上的一句话描述(四个要素:思考形态 / 档位 / 输入模态 / 上下文窗口)。
|
|
182
|
+
*
|
|
183
|
+
* 由数据生成而不是逐行手写,是为了让文案**不可能与能力表漂移**:手写文案出过
|
|
184
|
+
* 「三个档位」的模型实际只有两档这种事故,而这几个字段都要被 mapper 当成事实使用。
|
|
185
|
+
*
|
|
186
|
+
* @param entry - 能力行。
|
|
187
|
+
* @param prefix - 可选前缀(未声明行用「未声明模型」点明这不是已核实的声明)。
|
|
188
|
+
*/
|
|
189
|
+
export declare function describeStepCodeModel(entry: StepCodeModelEntry, prefix?: string): string;
|
|
190
|
+
/** 用户设置对目录装配的两处覆盖。 */
|
|
191
|
+
export interface StepCodeCatalogOptionOverrides {
|
|
192
|
+
/**
|
|
193
|
+
* 用户勾选的模型 id。
|
|
194
|
+
*
|
|
195
|
+
* **缺省或空数组 = 不过滤(全选)**;非空 = 显式选择(含只有一项)。
|
|
196
|
+
*
|
|
197
|
+
* 为什么是这两条而不是三态(`null` = 不过滤):冻结契约里的
|
|
198
|
+
* `StepCodeSettingsUpdateDto.enabledModelIds` 是 `string[]`,没有 null 这一格;
|
|
199
|
+
* 而本线路的目录是**登录后才运行时发现**的,一个刚装上还没登录的用户手里
|
|
200
|
+
* 必然只有一个空数组。把空数组读成「一个都不启用」会让设置页在用户还没登录时
|
|
201
|
+
* 就显示成「已禁用全部模型」——那是关于目录的谎报,目录这时根本还不存在。
|
|
202
|
+
* 真要把模型全关,关线路总开关(`enabled`)是明确且语义正确的那一个动作。
|
|
203
|
+
*/
|
|
204
|
+
enabledModelIds?: readonly string[];
|
|
205
|
+
/** 逐模型上下文窗口覆盖;null / 非正数表示用目录默认值。 */
|
|
206
|
+
contextWindowOverrides?: Readonly<Record<string, number | null | undefined>>;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* 把目录装配成设置面的模型行。
|
|
210
|
+
*
|
|
211
|
+
* `hint` 在这里生成(而不是写死在表里),所以「文案与能力表一致」是结构保证的:
|
|
212
|
+
* 表里改一次档位或图片支持,卡片上的那句话就跟着变。
|
|
213
|
+
*
|
|
214
|
+
* 未声明行**默认可见**(与 glm 线路相反,理由见 {@link undeclaredStepCodeModelEntry}):
|
|
215
|
+
* 本线路的协议面是固定的,调用它是合法的,未知的只是能力。
|
|
216
|
+
*/
|
|
217
|
+
export declare function catalogModelOptions(catalog?: readonly StepCodeModelEntry[], overrides?: StepCodeCatalogOptionOverrides): StepCodeModelOption[];
|
|
218
|
+
//# sourceMappingURL=model-catalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model-catalog.d.ts","sourceRoot":"","sources":["../../../../../src/host/providers/step-code/model-catalog.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 云端轮询式浏览器登录(**不开本地回调端口**)。
|
|
3
|
+
*
|
|
4
|
+
* 逐字照抄官方三件套:`login-client.ts`(init/poll 的协议与重试)、
|
|
5
|
+
* `login-polling.ts`(轮询循环与截止)、`step-provider/index.ts:268-309`(登录整体)。
|
|
6
|
+
* 状态机外壳是 flow / controller / getWebLoginStatus / resetWebLogin 四个入口,
|
|
7
|
+
* 因为设置卡片跟随的是同一组四个入口。
|
|
8
|
+
*
|
|
9
|
+
* ---------------------------------------------------------------------------
|
|
10
|
+
* 两个值,两种角色,**绝不可混用**(逐字 login-client.ts:11-16)
|
|
11
|
+
* ---------------------------------------------------------------------------
|
|
12
|
+
*
|
|
13
|
+
* - `poll_token` —— 客户端侧唯一的凭据。它**只**出现在 `Authorization: Bearer` 头里,
|
|
14
|
+
* 绝不进 URL、日志或磁盘。
|
|
15
|
+
* - `flow_id` —— 公开标识,会进浏览器地址栏、历史与截图,单独一个兑不出凭据。
|
|
16
|
+
*
|
|
17
|
+
* 本文件把这件事做成结构性的:poll_token 只作为 `pollToken` 参数流向 `request()` 的
|
|
18
|
+
* 头构造那一处(见 `loginHeaders`),URL 由 authBase + 路径 + flow_id 拼成,
|
|
19
|
+
* 两段代码互不相交;uid 与 flow_id 的过滤也各有自己的上限(UID_MAX_LENGTH / FLOW_ID_PATTERN)。
|
|
20
|
+
*
|
|
21
|
+
* ---------------------------------------------------------------------------
|
|
22
|
+
* 这条线路的凭据永不过期、永不刷新
|
|
23
|
+
* ---------------------------------------------------------------------------
|
|
24
|
+
* Step 的 api_key 不是会话令牌(index.ts:363-371),所以:
|
|
25
|
+
*
|
|
26
|
+
* - 凭据形态固定为 {type:'oauth', access, refresh: STATIC_REFRESH_TOKEN, expires: STATIC_EXPIRES_AT};
|
|
27
|
+
* - `refreshStepCodeCredential` 存在,但**永远抛错**——它存在的意义是让任何「刷新」路径
|
|
28
|
+
* 得到一句明确的拒绝,而不是悄悄拿哨兵去换一次必然失败的新凭据。
|
|
29
|
+
*/
|
|
30
|
+
import type { StepCodeLoginFlowStatus, StepCodeProfile } from '../../../shared/step-code-contracts.ts';
|
|
31
|
+
/**
|
|
32
|
+
* 开流请求体里的终端信息(逐字 `StepCliClientInfo`,index.ts:280-285)。
|
|
33
|
+
*
|
|
34
|
+
* **只用于上游审计**,从不参与鉴权:`name` 固定是官方的 'stepcode',因为服务端
|
|
35
|
+
* 按它识别这条协议;本插件的身份由 `version` 字段如实上报,不冒充官方版本。
|
|
36
|
+
*/
|
|
37
|
+
export interface StepCodeClientInfo {
|
|
38
|
+
readonly name: string;
|
|
39
|
+
readonly version: string;
|
|
40
|
+
readonly platform: string;
|
|
41
|
+
}
|
|
42
|
+
/** 客户端名逐字照抄官方(`defaultStepCliClientInfo`,login-client.ts:104-108)。 */
|
|
43
|
+
export declare const STEP_CODE_CLIENT_NAME = "stepcode";
|
|
44
|
+
/**
|
|
45
|
+
* 接入层没有给版本时上报的版本串。
|
|
46
|
+
*
|
|
47
|
+
* 如实取一个「未知」而不是编一个像真的版本号:上游把它写进审计日志,编造会让
|
|
48
|
+
* 排障时看到一条不存在的客户端版本。接入层(有 `package.json` 的那一层)应传真实版本。
|
|
49
|
+
*/
|
|
50
|
+
export declare const STEP_CODE_CLIENT_VERSION_UNKNOWN = "0.0.0-unknown";
|
|
51
|
+
/** 审计信息(逐字 login-client.ts:104-108:平台取 process.platform-process.arch)。 */
|
|
52
|
+
export declare function defaultStepCodeClientInfo(version: string): StepCodeClientInfo;
|
|
53
|
+
/**
|
|
54
|
+
* 新的一次登录用的 poll_token:`randomBytes(32).toString('hex')`(逐字 index.ts:278)。
|
|
55
|
+
*
|
|
56
|
+
* 32 字节 = 64 位十六进制,与 `POLL_TOKEN_PATTERN` 对齐。它只进 Authorization 头。
|
|
57
|
+
*/
|
|
58
|
+
export declare function createStepCodePollToken(): string;
|
|
59
|
+
/**
|
|
60
|
+
* 一次登录请求失败的类别(逐字 `StepCliLoginErrorKind`,login-client.ts:70-76)。
|
|
61
|
+
*
|
|
62
|
+
* - `http`:非 2xx,或 2xx 但信封里的 `status` 非 0。
|
|
63
|
+
* - `protocol`:2xx 但形状或字段值不合协议(**永不重试**)。
|
|
64
|
+
* - `transport`:请求根本没拿到响应。
|
|
65
|
+
*/
|
|
66
|
+
export type StepCodeLoginErrorKind = 'http' | 'protocol' | 'transport';
|
|
67
|
+
/** 一条登录请求错误;`httpStatus` 只在 http 类里有意义。 */
|
|
68
|
+
export declare class StepCodeLoginRequestError extends Error {
|
|
69
|
+
readonly kind: StepCodeLoginErrorKind;
|
|
70
|
+
readonly httpStatus?: number;
|
|
71
|
+
constructor(kind: StepCodeLoginErrorKind, message: string, options?: {
|
|
72
|
+
readonly httpStatus?: number;
|
|
73
|
+
readonly cause?: unknown;
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* 这条错误值不值得自动重试(逐字 `isRetryableStepCliLoginError`,login-client.ts:95-100)。
|
|
78
|
+
*
|
|
79
|
+
* protocol 永不重试(形状不对说明对面不是我们以为的那个服务端);transport 重试;
|
|
80
|
+
* http 只在 408 / 429 / >=500 时重试。
|
|
81
|
+
*/
|
|
82
|
+
export declare function isRetryableStepCodeLoginError(error: unknown): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* 一次登录请求的响应体上限:64 KiB(逐字 login-client.ts:32)。
|
|
85
|
+
*
|
|
86
|
+
* 两个响应都是小 JSON;不设上限时,一个坏掉或恶意的端点可以把内存吃光。
|
|
87
|
+
*/
|
|
88
|
+
export declare const STEP_CODE_MAX_RESPONSE_BYTES: number;
|
|
89
|
+
/** 开流成功后的三件事(逐字 StepCliLoginInit,login-client.ts:49-57)。 */
|
|
90
|
+
export interface StepCodeLoginInit {
|
|
91
|
+
/** 公开标识:会进浏览器地址栏,单独一个兑不出凭据。 */
|
|
92
|
+
readonly flowId: string;
|
|
93
|
+
/** 永远由客户端自己拼;服务端可能返回的 authorize_url 被**忽略**(见下)。 */
|
|
94
|
+
readonly authorizeUrl: string;
|
|
95
|
+
/** 已 clamp 到 <= 60。 */
|
|
96
|
+
readonly pollIntervalSec: number;
|
|
97
|
+
/** 上游硬截止,Unix **秒**。 */
|
|
98
|
+
readonly expiresAt: number;
|
|
99
|
+
}
|
|
100
|
+
export interface StepCodeCliLoginInitInput {
|
|
101
|
+
readonly profile: StepCodeProfile;
|
|
102
|
+
readonly pollToken: string;
|
|
103
|
+
readonly client: StepCodeClientInfo;
|
|
104
|
+
readonly fetchFn?: typeof fetch;
|
|
105
|
+
readonly signal?: AbortSignal;
|
|
106
|
+
readonly env?: NodeJS.ProcessEnv;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* POST {authBase}/api/stdhttp/v1/cli-login/init。
|
|
110
|
+
*
|
|
111
|
+
* 请求体(逐字 index.ts:126-135):profile、**origin**(授权中心的源站,不是模型面)、
|
|
112
|
+
* client 审计信息。
|
|
113
|
+
*
|
|
114
|
+
* 授权页 URL **客户端自己拼**(逐字 login-client.ts:139-141):服务端可能返回
|
|
115
|
+
* authorize_url,但那个值是从 CLI 看过去的(重定向到 CLI 而不是浏览器),
|
|
116
|
+
* 对「人在浏览器里点」这件事没有意义,所以只认自己拼的。
|
|
117
|
+
*
|
|
118
|
+
* 响应校验三件事,缺一即 protocol 错误:flow_id 合 FLOW_ID_PATTERN、
|
|
119
|
+
* poll_interval_sec >= 1、expires_at > 0。
|
|
120
|
+
*/
|
|
121
|
+
export declare function initStepCodeCliLogin(input: StepCodeCliLoginInitInput): Promise<StepCodeLoginInit>;
|
|
122
|
+
/** 一次轮询的三种结果(逐字 StepCliLoginPoll,login-client.ts:61-68)。 */
|
|
123
|
+
export type StepCodeLoginPoll = {
|
|
124
|
+
readonly state: 'pending';
|
|
125
|
+
} | {
|
|
126
|
+
readonly state: 'ready';
|
|
127
|
+
readonly apiKey: string;
|
|
128
|
+
readonly uid?: string;
|
|
129
|
+
} | {
|
|
130
|
+
readonly state: 'failed';
|
|
131
|
+
readonly reason: 'denied' | 'unknown';
|
|
132
|
+
};
|
|
133
|
+
export interface StepCodeCliLoginPollInput {
|
|
134
|
+
readonly profile: StepCodeProfile;
|
|
135
|
+
readonly pollToken: string;
|
|
136
|
+
readonly flowId: string;
|
|
137
|
+
readonly fetchFn?: typeof fetch;
|
|
138
|
+
readonly signal?: AbortSignal;
|
|
139
|
+
readonly env?: NodeJS.ProcessEnv;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* GET {authBase}/api/stdhttp/v1/cli-login/poll/{encodeURIComponent(flow_id)}。
|
|
143
|
+
*
|
|
144
|
+
* 三种 state 各自的下一步不同,所以分开建模:
|
|
145
|
+
*
|
|
146
|
+
* - pending:继续等。
|
|
147
|
+
* - ready:取 credential.api_key(必须非空)与**顶层**可选 uid。
|
|
148
|
+
* - failed:**只有字面 denied** 归为「用户在浏览器里拒绝了」;其余 reason 一律
|
|
149
|
+
* 归为「未知失败」——两者的下一步不同(再点一次 vs 等上游恢复)。
|
|
150
|
+
* - 其它 state:protocol 错误(对面不是我们以为的那个服务端)。
|
|
151
|
+
*
|
|
152
|
+
* 逐字照抄 login-client.ts:174-209,包括 flow_id 的二次校验:形状不对的 flow_id
|
|
153
|
+
* 说明 URL 被污染或上游改版,重发多少次都一样。
|
|
154
|
+
*/
|
|
155
|
+
export declare function pollStepCodeCliLogin(input: StepCodeCliLoginPollInput): Promise<StepCodeLoginPoll>;
|
|
156
|
+
export interface WaitForStepCodeLoginInput {
|
|
157
|
+
readonly init: StepCodeLoginInit;
|
|
158
|
+
readonly profile: StepCodeProfile;
|
|
159
|
+
readonly pollToken: string;
|
|
160
|
+
readonly fetchFn?: typeof fetch;
|
|
161
|
+
readonly signal?: AbortSignal;
|
|
162
|
+
readonly env?: NodeJS.ProcessEnv; /**
|
|
163
|
+
* 外层登录自己的截止(Unix 毫秒)。可选。
|
|
164
|
+
*
|
|
165
|
+
* 官方只有服务端 expires_at 一个截止(login-polling.ts:20-25),而外层登录另有
|
|
166
|
+
* 一个本地总时限;两个都实现时取**先到者**,否则本地时限形同虚设。
|
|
167
|
+
*/
|
|
168
|
+
readonly localDeadline?: number;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* 轮询直到拿到凭据、用户拒绝,或到达截止。
|
|
172
|
+
*
|
|
173
|
+
* 逐字照抄 login-polling.ts:21-51,包括它的两条:
|
|
174
|
+
*
|
|
175
|
+
* - 间隔 clamp 到 [1s, 60s]:上游可以让我们慢一点,但不能让一次轮询停几分钟。
|
|
176
|
+
* - 截止 = init.expiresAt * 1000(服务端的硬截止),不是本地猜测的时长;
|
|
177
|
+
* 外层登录(beginStepCodeLogin)另有自己的总时限,两者取先到者。
|
|
178
|
+
*
|
|
179
|
+
* 重试判定走 isRetryableStepCodeLoginError:可重试的错误被吞掉继续下一轮,
|
|
180
|
+
* 不可重试的直接抛出。
|
|
181
|
+
*/
|
|
182
|
+
export declare function waitForStepCodeLogin(input: WaitForStepCodeLoginInput): Promise<{
|
|
183
|
+
readonly apiKey: string;
|
|
184
|
+
readonly uid?: string;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* 本线路落盘用的凭据形态(逐字 index.ts:301-306 的 OAuthCredentials)。
|
|
188
|
+
*
|
|
189
|
+
* 三个字段各有其存在的理由:
|
|
190
|
+
*
|
|
191
|
+
* - refresh 是**静态哨兵**(STATIC_REFRESH_TOKEN)。它不是可用的 refresh token,
|
|
192
|
+
* 而是「这份凭据没有刷新链」的显式声明——官方 refreshStepOAuth 见到不是它的
|
|
193
|
+
* refresh 就抛错,所以任何别的进程/版本都能认出这份凭据。
|
|
194
|
+
* - expires 恒为 STATIC_EXPIRES_AT(Number.MAX_SAFE_INTEGER)。它是「永不过期」的写法,
|
|
195
|
+
* **不是**异常数据:读回时不得把它当成坏值(JSON 存不下 Infinity,所以取 MAX)。
|
|
196
|
+
* - profile 是区域的唯一来源(计划 §1):api.stepfun.ai 与 api.stepfun.com 互不通用。
|
|
197
|
+
*/
|
|
198
|
+
export interface StepCodeStoredCredential {
|
|
199
|
+
readonly type: 'oauth';
|
|
200
|
+
readonly access: string;
|
|
201
|
+
readonly refresh: string;
|
|
202
|
+
readonly expires: number;
|
|
203
|
+
readonly profile: StepCodeProfile;
|
|
204
|
+
readonly uid?: string;
|
|
205
|
+
}
|
|
206
|
+
/** 从一次成功登录的结果造出凭据(uid 不合格时已经被丢掉,这里只做装配)。 */
|
|
207
|
+
export declare function stepCodeCredentialFromLogin(profile: StepCodeProfile, ready: {
|
|
208
|
+
readonly apiKey: string;
|
|
209
|
+
readonly uid?: string;
|
|
210
|
+
}): StepCodeStoredCredential;
|
|
211
|
+
/**
|
|
212
|
+
* 手动粘贴 Platform API Key(按量计费的两条 profile)造出的凭据。
|
|
213
|
+
*
|
|
214
|
+
* 形状与浏览器登录**完全一致**:同一条线路上两种来源的凭据在池里不该被区别对待
|
|
215
|
+
*(Step 的 api_key 本身就不分来源)。
|
|
216
|
+
*/
|
|
217
|
+
export declare function stepCodeCredentialFromApiKey(profile: StepCodeProfile, apiKey: string, uid?: string): StepCodeStoredCredential;
|
|
218
|
+
/** 一份值是不是本线路的凭据形态。 */
|
|
219
|
+
export declare function isStepCodeStoredCredential(value: unknown): value is StepCodeStoredCredential;
|
|
220
|
+
/** 凭据不可刷新的那句说明(号池与路由共用同一句)。 */
|
|
221
|
+
export declare const STEP_CODE_CREDENTIAL_NOT_REFRESHABLE: string;
|
|
222
|
+
/**
|
|
223
|
+
* 「刷新」这条路径的**显式拒绝**。
|
|
224
|
+
*
|
|
225
|
+
* 它必须是一个被拒绝的 Promise 而不是一次静默的空操作:调用方(号池的 refresh 钩子、
|
|
226
|
+
* 适配器的 401 处理)会把错误报给用户,而静默返回旧凭据会让一次注定失败的请求
|
|
227
|
+
* 看起来像成功了。逐字照抄官方 refreshStepOAuth(index.ts:316-321)的拒绝语义。
|
|
228
|
+
*/
|
|
229
|
+
export declare function refreshStepCodeCredential(credential: StepCodeStoredCredential): Promise<StepCodeStoredCredential>;
|
|
230
|
+
/** 卡片轮询的状态切片。返回副本,调用方改不到内部状态。 */
|
|
231
|
+
export declare function getStepCodeLoginStatus(): StepCodeLoginFlowStatus;
|
|
232
|
+
/** 取消进行中的流程并回到 idle(设置卡片的「取消」)。 */
|
|
233
|
+
export declare function resetStepCodeLogin(): void;
|
|
234
|
+
/** 看看有没有一份已经拿到、还没被取走的凭据(纯内存读)。 */
|
|
235
|
+
export declare function peekStepCodeLoginCredential(): StepCodeStoredCredential | null;
|
|
236
|
+
/** 取走那份凭据并清空(同一份凭据只该被落盘一次)。 */
|
|
237
|
+
export declare function takeStepCodeLoginCredential(): StepCodeStoredCredential | null;
|
|
238
|
+
export interface StepCodeLoginOptions {
|
|
239
|
+
/** 测试缝。默认 fetch。 */
|
|
240
|
+
fetchFn?: typeof fetch;
|
|
241
|
+
env?: NodeJS.ProcessEnv;
|
|
242
|
+
/** 审计信息;缺省用 version 造一个(version 缺省是 unknown)。 */
|
|
243
|
+
client?: StepCodeClientInfo;
|
|
244
|
+
version?: string;
|
|
245
|
+
/**
|
|
246
|
+
* 完成的登录写到哪里(接入层传号池或凭据存储的保存函数)。
|
|
247
|
+
*
|
|
248
|
+
* 没有它时凭据只是留在内存里,等 takeStepCodeLoginCredential() 取走——
|
|
249
|
+
* 本模块**不持有凭据存储**,所以不替接入层猜该写哪儿。
|
|
250
|
+
*/
|
|
251
|
+
onSave?: (credential: StepCodeStoredCredential) => Promise<unknown>;
|
|
252
|
+
/** 本地总时限;缺省 10 分钟,可由 STEP_OAUTH_TIMEOUT_MS 覆盖。 */
|
|
253
|
+
timeoutMs?: number;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* 开始一次云端轮询登录:**不开本地端口**,用户去浏览器里人工确认。
|
|
257
|
+
*
|
|
258
|
+
* 流程跑在 host 上(controller + flow),设置卡片只跟随 getStepCodeLoginStatus——
|
|
259
|
+
* 与其余各线路的登录面同构。
|
|
260
|
+
*
|
|
261
|
+
* 两个截止取先到者:上游的 expires_at(硬截止,逐字 login-polling.ts:20-25)
|
|
262
|
+
* 与本地总时限(默认 10 分钟,可由 STEP_OAUTH_TIMEOUT_MS 覆盖)。
|
|
263
|
+
*/
|
|
264
|
+
export declare function beginStepCodeLogin(profile: StepCodeProfile, options?: StepCodeLoginOptions): Promise<StepCodeLoginFlowStatus>;
|
|
265
|
+
//# sourceMappingURL=oauth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../../../../src/host/providers/step-code/oauth.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Step Code(Step Plan 订阅)线路的 web 路由。
|
|
3
|
+
*/
|
|
4
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
5
|
+
import type { AccountRotationStrategy } from '../../../shared/account-pool-contracts.ts';
|
|
6
|
+
import { type StepCodeAccountSummaryDto, type StepCodeCacheStatsDto, type StepCodeProfile, type StepCodeQuotaCredentialStatusDto, type StepCodeQuotaSnapshotDto, type StepCodeStatusDto } from '../../../shared/step-code-contracts.ts';
|
|
7
|
+
import type { PromptCacheOverride } from '../../common/prompt-cache-policy.ts';
|
|
8
|
+
import { type StepCodeAccountPool } from './account-pool.ts';
|
|
9
|
+
import { type StepCodeModelEntry } from './model-catalog.ts';
|
|
10
|
+
import { StepCodeModelSettingsStore, StepCodeQuotaCredentialStore, type StepCodeModelSettings, type StepCodePreferenceStore, type StepCodeSettingsPatch } from './token-store.ts';
|
|
11
|
+
/** 一个请求寻址的子路径(剥掉契约前缀)。 */
|
|
12
|
+
export declare function stepCodeSubPathOf(requestUrl: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* 设置来源:register 后端与文件后端形状不同,这里收敛成一个。
|
|
15
|
+
*
|
|
16
|
+
* `status()` 允许是 promise:文件后端要读盘,而卡片每 60 秒轮询一次状态。
|
|
17
|
+
* register 后端同步返回,实现方不必知道自己被允许同步。
|
|
18
|
+
*/
|
|
19
|
+
export interface StepCodeSettingsSource {
|
|
20
|
+
status(): StepCodeModelSettings | Promise<StepCodeModelSettings>;
|
|
21
|
+
update(patch: StepCodeSettingsPatch): Promise<StepCodeModelSettings>;
|
|
22
|
+
}
|
|
23
|
+
/** 设置来源:register 后端优先,没有就落回凭据旁边的 JSON 文件。 */
|
|
24
|
+
export declare function stepCodeSettingsSource(preferences: StepCodePreferenceStore | undefined, fallback: StepCodeModelSettingsStore): StepCodeSettingsSource;
|
|
25
|
+
/**
|
|
26
|
+
* 用平台默认浏览器打开一个 URL(尽力而为)。
|
|
27
|
+
*
|
|
28
|
+
* 与其余各线路同一份形状。启动失败是可恢复的:同一个 URL 始终在登录状态里,
|
|
29
|
+
* 卡片也把它渲染成一个可点的链接,所以这里**永远不抛**。
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* 用系统默认程序打开一个 URL。
|
|
33
|
+
*
|
|
34
|
+
* 它**不是**默认行为(见下面 `registerStepCodeRoutes` 里那句「缺省不开浏览器」):
|
|
35
|
+
* 授权页由设置卡片自己打开,host 只在显式注入 `openBrowser` 时才代劳——需要这种行为的
|
|
36
|
+
* 部署可以直接把这个函数作为注入口传进去,而不是让每条线路各自复制一份 spawn 逻辑。
|
|
37
|
+
*/
|
|
38
|
+
export declare function openPlatformBrowser(url: string): void;
|
|
39
|
+
export interface StepCodeRouteOptions {
|
|
40
|
+
fetchFn?: typeof fetch;
|
|
41
|
+
/** 本插件是否正在服务这条 Provider 路由;每次状态都重新读。 */
|
|
42
|
+
serving?: boolean | (() => boolean);
|
|
43
|
+
/** 路由被别的适配器占用时的诊断文案;每次状态都重新读。 */
|
|
44
|
+
conflict?: string | null | (() => string | null);
|
|
45
|
+
/** 号池;本进程装了才有。 */
|
|
46
|
+
accountPool?: StepCodeAccountPool;
|
|
47
|
+
/** 额度凭据的存储;缺省按平台加密矩阵落在自己的文件上。 */
|
|
48
|
+
quotaCredentialStore?: StepCodeQuotaCredentialStore;
|
|
49
|
+
/**
|
|
50
|
+
* 打开授权页的方式;缺省用平台默认浏览器。
|
|
51
|
+
*
|
|
52
|
+
* 显式传入一个空函数就把这条外部副作用整个摘掉(测试的用法,与 GLM 的注入口同形)。
|
|
53
|
+
* 卡片自己也会 `window.open` 同一个链接,所以注入空函数就能只留一处开浏览器的地方。
|
|
54
|
+
*/
|
|
55
|
+
openBrowser?: (url: string) => void;
|
|
56
|
+
/** 环境变量读取处;缺省 process.env,且**调用时**读取。 */
|
|
57
|
+
env?: NodeJS.ProcessEnv;
|
|
58
|
+
/** 与适配器共用同一份部署级缓存策略覆盖。 */
|
|
59
|
+
promptCache?: PromptCacheOverride;
|
|
60
|
+
}
|
|
61
|
+
/** 号池切片的收紧形状(本线路状态面实际持有的那一部分)。 */
|
|
62
|
+
export interface StepCodePoolSlice {
|
|
63
|
+
accounts: StepCodeAccountSummaryDto[];
|
|
64
|
+
rotationStrategy: AccountRotationStrategy;
|
|
65
|
+
activeAccountId?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface StepCodeStatusSources {
|
|
68
|
+
options: StepCodeRouteOptions;
|
|
69
|
+
settings: StepCodeSettingsSource;
|
|
70
|
+
/** 下一次登录要用的 profile(区域由它唯一决定)。 */
|
|
71
|
+
profile: StepCodeProfile;
|
|
72
|
+
/** 号池切片:唯一装配它的地方是 account-pool 的 stepCodePoolStatusSlice(这里只收紧形状)。 */
|
|
73
|
+
pool: StepCodePoolSlice;
|
|
74
|
+
/** 本次读到的账号(卡片渲染用,不带任何凭据)。 */
|
|
75
|
+
account: StepCodeAccountSummaryDto | null;
|
|
76
|
+
/** 这个部署当前的模型目录(缓存读,轮询不联网)。 */
|
|
77
|
+
catalog: readonly StepCodeModelEntry[];
|
|
78
|
+
/** 本进程为当前账号记住的额度快照。 */
|
|
79
|
+
quota: StepCodeQuotaSnapshotDto | null;
|
|
80
|
+
/** 额度凭据的状态切片。 */
|
|
81
|
+
quotaCredential: StepCodeQuotaCredentialStatusDto;
|
|
82
|
+
/** 本次应答背后是否正在刷新额度。 */
|
|
83
|
+
quotaRefreshing: boolean;
|
|
84
|
+
/** 上一次额度读失败的原因;没有快照可渲染时为 null。 */
|
|
85
|
+
quotaError: string | null;
|
|
86
|
+
/** 本进程累计的缓存用量;尚无样本时为 undefined(客户端据此渲染占位符)。 */
|
|
87
|
+
cacheStats: StepCodeCacheStatsDto | undefined;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* 组装 `StepCodeStatusDto`。
|
|
91
|
+
*
|
|
92
|
+
* 号池读不出来不能带倒整张卡:连接那一半仍然值得渲染,只是账号列表是空的。
|
|
93
|
+
*/
|
|
94
|
+
export declare function getStepCodeStatus(sources: StepCodeStatusSources): Promise<StepCodeStatusDto>;
|
|
95
|
+
/**
|
|
96
|
+
* 注册本线路的路由。
|
|
97
|
+
*
|
|
98
|
+
* 本文件不持有凭据:账号的落盘与轮转在号池,额度凭据在它自己那份加密存储里,
|
|
99
|
+
* 而线路凭据由号池镜像。设置的唯一写入点是 `POST /settings`。
|
|
100
|
+
*/
|
|
101
|
+
export declare function registerStepCodeRoutes(ctx: Context, settings: StepCodeSettingsSource, options?: StepCodeRouteOptions): () => void;
|
|
102
|
+
//# sourceMappingURL=routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../../src/host/providers/step-code/routes.ts"],"names":[],"mappings":"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"}
|