@eddyskywalker/dsh-chatgpt-subscription 0.82.3 → 0.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -227
- package/lib/aws-quick-mcp.js +1 -1
- package/lib/client.js +444 -456
- package/lib/client.js.map +1 -1
- package/lib/codemode.js +310 -45
- package/lib/index.js +3747 -4910
- package/lib/plan-mode-Rrk8NKuk.js +1760 -0
- package/lib/plan-mode-pipeline-DvVmLaxR.js +433 -0
- package/lib/plan-mode-pipeline.js +1 -1
- package/lib/plan-mode.js +2 -2
- package/lib/preset-sync-B9yKbQPc.js +726 -0
- package/lib/progress-updates-CSBYky9J.js +1121 -0
- package/lib/progress-updates.js +1 -1
- package/lib/tool-result-pruner-CIZ8RtkC.js +1112 -0
- package/lib/tool-result-pruner.js +1 -1
- package/lib/types/client/common/AccountPoolSection.d.ts +9 -0
- package/lib/types/client/common/AccountPoolSection.d.ts.map +1 -1
- package/lib/types/client/common/ComposerQuotaBadge.d.ts +1 -1
- package/lib/types/client/common/ComposerQuotaBadge.d.ts.map +1 -1
- package/lib/types/client/common/use-store.d.ts +1 -1
- package/lib/types/client/common/use-store.d.ts.map +1 -1
- package/lib/types/client/features/CompactionRouteCard.d.ts +43 -0
- package/lib/types/client/features/CompactionRouteCard.d.ts.map +1 -0
- package/lib/types/client/features/codemode/CodeRunToolView.d.ts +68 -0
- package/lib/types/client/features/codemode/CodeRunToolView.d.ts.map +1 -0
- package/lib/types/client/features/codemode/highlight.d.ts.map +1 -0
- package/lib/types/client/features/codemode/styles.d.ts.map +1 -0
- package/lib/types/client/features/codemode/tool-name.d.ts.map +1 -0
- package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts +24 -0
- package/lib/types/client/features/compact-after-turn/CompactAfterTurnToggle.d.ts.map +1 -0
- package/lib/types/client/features/compact-after-turn/locales.d.ts.map +1 -0
- package/lib/types/client/features/compact-after-turn/styles.d.ts.map +1 -0
- package/lib/types/client/features/dispatch-ledger/MandateToolView.d.ts.map +1 -0
- package/lib/types/client/features/dispatch-ledger/locales.d.ts.map +1 -0
- package/lib/types/client/features/dispatch-ledger/styles.d.ts.map +1 -0
- package/lib/types/client/features/mermaid/renderer.d.ts.map +1 -0
- package/lib/types/client/features/mermaid/sanitize.d.ts.map +1 -0
- package/lib/types/client/features/mermaid/styles.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/contracts.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/guide-artwork.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/host-source.d.ts +118 -0
- package/lib/types/client/features/progress-updates/host-source.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/index.d.ts +61 -0
- package/lib/types/client/features/progress-updates/index.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/locales.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/markdown-lite.d.ts +65 -0
- package/lib/types/client/features/progress-updates/markdown-lite.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/progress-row.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/settings-binding.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/settings-section.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/styles.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/tool-name.d.ts.map +1 -0
- package/lib/types/client/features/progress-updates/updates-panel.d.ts.map +1 -0
- package/lib/types/client/features/subagent/SubagentCard.d.ts.map +1 -0
- package/lib/types/client/features/subagent/index.d.ts.map +1 -0
- package/lib/types/client/features/subagent/locales.d.ts +184 -0
- package/lib/types/client/features/subagent/locales.d.ts.map +1 -0
- package/lib/types/client/features/subagent/styles.d.ts.map +1 -0
- package/lib/types/client/features/subagent/subagent-card-controller.d.ts +352 -0
- package/lib/types/client/features/subagent/subagent-card-controller.d.ts.map +1 -0
- package/lib/types/client/hub/HubOverview.d.ts +1 -1
- package/lib/types/client/hub/HubOverview.d.ts.map +1 -1
- package/lib/types/client/hub/ProviderHubSection.d.ts +16 -0
- package/lib/types/client/hub/ProviderHubSection.d.ts.map +1 -0
- package/lib/types/client/hub/UpdateCheck.d.ts +1 -1
- package/lib/types/client/hub/UpdateCheck.d.ts.map +1 -1
- package/lib/types/client/index.d.ts +21 -21
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/locales-ru/antigravity-acp.d.ts +1 -1
- package/lib/types/client/locales-ru/antigravity-acp.d.ts.map +1 -1
- package/lib/types/client/locales-ru/aws-quick.d.ts +1 -1
- package/lib/types/client/locales-ru/aws-quick.d.ts.map +1 -1
- package/lib/types/client/locales-ru/claude-api.d.ts +1 -1
- package/lib/types/client/locales-ru/claude-api.d.ts.map +1 -1
- package/lib/types/client/locales-ru/claude.d.ts +1 -1
- package/lib/types/client/locales-ru/claude.d.ts.map +1 -1
- package/lib/types/client/locales-ru/cline-pass.d.ts +1 -1
- package/lib/types/client/locales-ru/cline-pass.d.ts.map +1 -1
- package/lib/types/client/locales-ru/command-code.d.ts +1 -1
- package/lib/types/client/locales-ru/command-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/compact-after-turn.d.ts +1 -1
- package/lib/types/client/locales-ru/compact-after-turn.d.ts.map +1 -1
- package/lib/types/client/locales-ru/dispatch-ledger.d.ts +1 -1
- package/lib/types/client/locales-ru/dispatch-ledger.d.ts.map +1 -1
- package/lib/types/client/locales-ru/glm-coding-plan.d.ts +1 -1
- package/lib/types/client/locales-ru/glm-coding-plan.d.ts.map +1 -1
- package/lib/types/client/locales-ru/hub.d.ts +1 -1
- package/lib/types/client/locales-ru/hub.d.ts.map +1 -1
- package/lib/types/client/locales-ru/kimi-code.d.ts +1 -1
- package/lib/types/client/locales-ru/kimi-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/minimax-code.d.ts +1 -1
- package/lib/types/client/locales-ru/minimax-code.d.ts.map +1 -1
- package/lib/types/client/locales-ru/ollama.d.ts +1 -1
- package/lib/types/client/locales-ru/ollama.d.ts.map +1 -1
- package/lib/types/client/locales-ru/opendesign.d.ts +1 -1
- package/lib/types/client/locales-ru/opendesign.d.ts.map +1 -1
- package/lib/types/client/locales-ru/progress-updates.d.ts +1 -1
- package/lib/types/client/locales-ru/progress-updates.d.ts.map +1 -1
- package/lib/types/client/locales-ru/qianwen-token-plan.d.ts +1 -1
- package/lib/types/client/locales-ru/qianwen-token-plan.d.ts.map +1 -1
- package/lib/types/client/locales-ru/qoder.d.ts +1 -1
- package/lib/types/client/locales-ru/qoder.d.ts.map +1 -1
- package/lib/types/client/locales-ru/relayone.d.ts +1 -1
- package/lib/types/client/locales-ru/relayone.d.ts.map +1 -1
- package/lib/types/client/locales-ru/step-code.d.ts +1 -1
- package/lib/types/client/locales-ru/step-code.d.ts.map +1 -1
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts +35 -0
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/AntigravityAcpSection.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/api.d.ts +36 -0
- package/lib/types/client/providers/antigravity-acp/api.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/locales.d.ts +557 -0
- package/lib/types/client/providers/antigravity-acp/locales.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/route.d.ts.map +1 -0
- package/lib/types/client/providers/antigravity-acp/styles.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/AwsQuickSection.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/api.d.ts +11 -0
- package/lib/types/client/providers/aws-quick/api.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/locales.d.ts +117 -0
- package/lib/types/client/providers/aws-quick/locales.d.ts.map +1 -0
- package/lib/types/client/providers/aws-quick/styles.d.ts.map +1 -0
- package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts +29 -0
- package/lib/types/client/providers/claude/ClaudeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/claude/ClaudeSection.d.ts.map +1 -0
- package/lib/types/client/providers/claude/locales.d.ts +468 -0
- package/lib/types/client/providers/claude/locales.d.ts.map +1 -0
- package/lib/types/client/providers/claude/styles.d.ts.map +1 -0
- package/lib/types/client/providers/claude/useClaudeSection.d.ts +95 -0
- package/lib/types/client/providers/claude/useClaudeSection.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/ClaudeApiSection.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/api.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/locales.d.ts +161 -0
- package/lib/types/client/providers/claude-api/locales.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/styles.d.ts.map +1 -0
- package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts +37 -0
- package/lib/types/client/providers/claude-api/useClaudeApiSection.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts +23 -0
- package/lib/types/client/providers/cline-pass/ClinePassComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/ClinePassSection.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/api.d.ts +85 -0
- package/lib/types/client/providers/cline-pass/api.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/locales.d.ts.map +1 -0
- package/lib/types/client/providers/cline-pass/styles.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/CodexComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/CodexImageToolView.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts +42 -0
- package/lib/types/client/providers/codex-chatgpt/CodexSubscriptionSection.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/api.d.ts +60 -0
- package/lib/types/client/providers/codex-chatgpt/api.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/locales.d.ts +541 -0
- package/lib/types/client/providers/codex-chatgpt/locales.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/quota.d.ts +9 -0
- package/lib/types/client/providers/codex-chatgpt/quota.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/store.d.ts.map +1 -0
- package/lib/types/client/providers/codex-chatgpt/styles.d.ts.map +1 -0
- package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts +20 -0
- package/lib/types/client/providers/command-code/CommandCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/command-code/CommandCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/command-code/locales.d.ts +305 -0
- package/lib/types/client/providers/command-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +27 -0
- package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/GlmCodingPlanSection.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/api.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/locales.d.ts +409 -0
- package/lib/types/client/providers/glm-coding-plan/locales.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/styles.d.ts.map +1 -0
- package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts +65 -0
- package/lib/types/client/providers/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts +21 -0
- package/lib/types/client/providers/kimi-code/KimiCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts +16 -0
- package/lib/types/client/providers/kimi-code/KimiModelCapabilities.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts +31 -0
- package/lib/types/client/providers/kimi-code/KimiQuotaCard.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/labels.d.ts +66 -0
- package/lib/types/client/providers/kimi-code/labels.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/locales.d.ts +694 -0
- package/lib/types/client/providers/kimi-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/staff-art.d.ts.map +1 -0
- package/lib/types/client/providers/kimi-code/styles.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts +23 -0
- package/lib/types/client/providers/minimax-code/MinimaxCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts +48 -0
- package/lib/types/client/providers/minimax-code/MinimaxVideoDocumentBody.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/MinimaxVideoToolView.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts +49 -0
- package/lib/types/client/providers/minimax-code/VideoFormDialog.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/VideoSettingsSections.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/api.d.ts +35 -0
- package/lib/types/client/providers/minimax-code/api.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/commands-contract.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/document-preview.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/locales.d.ts +686 -0
- package/lib/types/client/providers/minimax-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/styles.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts +164 -0
- package/lib/types/client/providers/minimax-code/useMinimaxCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-command-host.d.ts +41 -0
- package/lib/types/client/providers/minimax-code/video-command-host.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-command-icon.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-command.d.ts +90 -0
- package/lib/types/client/providers/minimax-code/video-command.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-contract.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-defaults-store.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-form-rules.d.ts +245 -0
- package/lib/types/client/providers/minimax-code/video-form-rules.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-media-dropzone.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-media-input.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-media.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-presets.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-slots.d.ts.map +1 -0
- package/lib/types/client/providers/minimax-code/video-workspace.d.ts.map +1 -0
- package/lib/types/client/providers/ollama/OllamaSection.d.ts.map +1 -0
- package/lib/types/client/providers/ollama/api.d.ts +49 -0
- package/lib/types/client/providers/ollama/api.d.ts.map +1 -0
- package/lib/types/client/providers/ollama/locales.d.ts +479 -0
- package/lib/types/client/providers/ollama/locales.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts +26 -0
- package/lib/types/client/providers/opendesign/OpenDesignComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/OpenDesignSection.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/api.d.ts +45 -0
- package/lib/types/client/providers/opendesign/api.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/locales.d.ts.map +1 -0
- package/lib/types/client/providers/opendesign/styles.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts +14 -0
- package/lib/types/client/providers/qianwen-token-plan/QianwenComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/api.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/locales.d.ts +158 -0
- package/lib/types/client/providers/qianwen-token-plan/locales.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/styles.d.ts.map +1 -0
- package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts +32 -0
- package/lib/types/client/providers/qianwen-token-plan/useQianwenSection.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts +41 -0
- package/lib/types/client/providers/qoder/QoderComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/QoderSection.d.ts +37 -0
- package/lib/types/client/providers/qoder/QoderSection.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/api.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/locales.d.ts +322 -0
- package/lib/types/client/providers/qoder/locales.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/styles.d.ts.map +1 -0
- package/lib/types/client/providers/qoder/useQoderSection.d.ts +97 -0
- package/lib/types/client/providers/qoder/useQoderSection.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts +14 -0
- package/lib/types/client/providers/relayone/RelayOneComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/RelayOneSection.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/api.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/locales.d.ts +221 -0
- package/lib/types/client/providers/relayone/locales.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/quota-format.d.ts +6 -0
- package/lib/types/client/providers/relayone/quota-format.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/styles.d.ts.map +1 -0
- package/lib/types/client/providers/relayone/useRelayOneSection.d.ts +32 -0
- package/lib/types/client/providers/relayone/useRelayOneSection.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts +50 -0
- package/lib/types/client/providers/step-code/StepCodeComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/StepCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/api.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/locales.d.ts +657 -0
- package/lib/types/client/providers/step-code/locales.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/styles.d.ts.map +1 -0
- package/lib/types/client/providers/step-code/useStepCodeSection.d.ts +122 -0
- package/lib/types/client/providers/step-code/useStepCodeSection.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts +34 -0
- package/lib/types/client/providers/workbuddy/WorkBuddyComposerQuota.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts +64 -0
- package/lib/types/client/providers/workbuddy/WorkBuddySection.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/locales.d.ts +768 -0
- package/lib/types/client/providers/workbuddy/locales.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/styles.d.ts.map +1 -0
- package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts +149 -0
- package/lib/types/client/providers/workbuddy/useWorkBuddySection.d.ts.map +1 -0
- package/lib/types/compat.d.ts +1 -1
- package/lib/types/entries/aws-quick-mcp.d.ts +2 -0
- package/lib/types/entries/aws-quick-mcp.d.ts.map +1 -0
- package/lib/types/entries/codemode.d.ts +57 -0
- package/lib/types/entries/codemode.d.ts.map +1 -0
- package/lib/types/entries/plan-mode-pipeline.d.ts +159 -0
- package/lib/types/entries/plan-mode-pipeline.d.ts.map +1 -0
- package/lib/types/entries/plan-mode.d.ts +453 -0
- package/lib/types/entries/plan-mode.d.ts.map +1 -0
- package/lib/types/entries/progress-updates.d.ts +43 -0
- package/lib/types/entries/progress-updates.d.ts.map +1 -0
- package/lib/types/entries/tool-result-pruner.d.ts +260 -0
- package/lib/types/entries/tool-result-pruner.d.ts.map +1 -0
- package/lib/types/host/common/account-pool.d.ts +1 -1
- package/lib/types/host/common/account-pool.d.ts.map +1 -1
- package/lib/types/host/common/i18n/zh.d.ts +3 -3
- package/lib/types/host/common/llm-compat.d.ts +35 -2
- package/lib/types/host/common/llm-compat.d.ts.map +1 -1
- package/lib/types/host/common/pool-storage.d.ts +1 -1
- package/lib/types/host/common/pool-storage.d.ts.map +1 -1
- package/lib/types/host/common/prefix-stability.d.ts +1 -1
- package/lib/types/host/common/prefix-stability.d.ts.map +1 -1
- package/lib/types/host/common/request-images.d.ts +18 -30
- package/lib/types/host/common/request-images.d.ts.map +1 -1
- package/lib/types/host/common/tool-runaway.d.ts +20 -1
- package/lib/types/host/common/tool-runaway.d.ts.map +1 -1
- package/lib/types/host/infra/hub/compaction-prompt.d.ts +94 -0
- package/lib/types/host/infra/hub/compaction-prompt.d.ts.map +1 -0
- package/lib/types/host/infra/hub/hub-overview.d.ts +31 -0
- package/lib/types/host/infra/hub/hub-overview.d.ts.map +1 -0
- package/lib/types/host/infra/hub/update-check.d.ts +118 -0
- package/lib/types/host/infra/hub/update-check.d.ts.map +1 -0
- package/lib/types/host/infra/network/fetch-address-policy.d.ts.map +1 -0
- package/lib/types/host/infra/network/fetch-configuration.d.ts +6 -0
- package/lib/types/host/infra/network/fetch-configuration.d.ts.map +1 -0
- package/lib/types/host/infra/network/proxy-manager.d.ts +246 -0
- package/lib/types/host/infra/network/proxy-manager.d.ts.map +1 -0
- package/lib/types/host/infra/network/relay-probe.d.ts.map +1 -0
- package/lib/types/host/infra/network/search-provider-switcher.d.ts +45 -0
- package/lib/types/host/infra/network/search-provider-switcher.d.ts.map +1 -0
- package/lib/types/host/infra/network/web-provider-reconciler.d.ts.map +1 -0
- package/lib/types/host/infra/network/wire-auth.d.ts +63 -0
- package/lib/types/host/infra/network/wire-auth.d.ts.map +1 -0
- package/lib/types/host/infra/storage/credential-store-secret-service.d.ts.map +1 -0
- package/lib/types/host/infra/storage/platform-token-store.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store-linux.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store-macos.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store-windows.d.ts.map +1 -0
- package/lib/types/host/infra/storage/token-store.d.ts +81 -0
- package/lib/types/host/infra/storage/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-capability-memory.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-cch.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-corrections.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts +68 -0
- package/lib/types/host/providers/_claude-shared/claude-code-first-party.d.ts.map +1 -0
- package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts +90 -0
- package/lib/types/host/providers/_claude-shared/claude-code-version.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/acp-client.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/adapter.d.ts +305 -0
- package/lib/types/host/providers/antigravity-acp/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts +59 -0
- package/lib/types/host/providers/antigravity-acp/auth-cache.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/binary.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/catalog.d.ts +107 -0
- package/lib/types/host/providers/antigravity-acp/catalog.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/doctor.d.ts +73 -0
- package/lib/types/host/providers/antigravity-acp/doctor.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/errors.d.ts +69 -0
- package/lib/types/host/providers/antigravity-acp/errors.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/history.d.ts +131 -0
- package/lib/types/host/providers/antigravity-acp/history.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/login.d.ts +68 -0
- package/lib/types/host/providers/antigravity-acp/login.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/mcp-bridge.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/process-temp.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/routes.d.ts +100 -0
- package/lib/types/host/providers/antigravity-acp/routes.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/settings.d.ts +81 -0
- package/lib/types/host/providers/antigravity-acp/settings.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/subagent.d.ts +128 -0
- package/lib/types/host/providers/antigravity-acp/subagent.d.ts.map +1 -0
- package/lib/types/host/providers/antigravity-acp/types.d.ts +155 -0
- package/lib/types/host/providers/antigravity-acp/types.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/adapter.d.ts +73 -0
- package/lib/types/host/providers/aws-quick/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/binary.d.ts +3 -0
- package/lib/types/host/providers/aws-quick/binary.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/client.d.ts +85 -0
- package/lib/types/host/providers/aws-quick/client.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/execution-broker.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/images.d.ts +21 -0
- package/lib/types/host/providers/aws-quick/images.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/markup.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/outpost.d.ts +55 -0
- package/lib/types/host/providers/aws-quick/outpost.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/protocol.d.ts +53 -0
- package/lib/types/host/providers/aws-quick/protocol.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/routes.d.ts +15 -0
- package/lib/types/host/providers/aws-quick/routes.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/settings.d.ts +24 -0
- package/lib/types/host/providers/aws-quick/settings.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/tool-bridge.d.ts +67 -0
- package/lib/types/host/providers/aws-quick/tool-bridge.d.ts.map +1 -0
- package/lib/types/host/providers/aws-quick/types.d.ts +12 -0
- package/lib/types/host/providers/aws-quick/types.d.ts.map +1 -0
- package/lib/types/host/providers/claude/account-pool.d.ts +484 -0
- package/lib/types/host/providers/claude/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/claude/adapter.d.ts +243 -0
- package/lib/types/host/providers/claude/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/claude/adopt.d.ts +193 -0
- package/lib/types/host/providers/claude/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/claude/client.d.ts +463 -0
- package/lib/types/host/providers/claude/client.d.ts.map +1 -0
- package/lib/types/host/providers/claude/mapper.d.ts +575 -0
- package/lib/types/host/providers/claude/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/claude/model-catalog.d.ts +258 -0
- package/lib/types/host/providers/claude/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/claude/oauth.d.ts +312 -0
- package/lib/types/host/providers/claude/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/claude/routes.d.ts +86 -0
- package/lib/types/host/providers/claude/routes.d.ts.map +1 -0
- package/lib/types/host/providers/claude/token-store.d.ts +261 -0
- package/lib/types/host/providers/claude/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/claude/types.d.ts +375 -0
- package/lib/types/host/providers/claude/types.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/adapter.d.ts +70 -0
- package/lib/types/host/providers/claude-api/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/capability-memory.d.ts +4 -0
- package/lib/types/host/providers/claude-api/capability-memory.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/catalog-manager.d.ts +57 -0
- package/lib/types/host/providers/claude-api/catalog-manager.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/client-version.d.ts +4 -0
- package/lib/types/host/providers/claude-api/client-version.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/client.d.ts +55 -0
- package/lib/types/host/providers/claude-api/client.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/compaction-store.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/compaction.d.ts +47 -0
- package/lib/types/host/providers/claude-api/compaction.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/mapper.d.ts +61 -0
- package/lib/types/host/providers/claude-api/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/model-catalog.d.ts +76 -0
- package/lib/types/host/providers/claude-api/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/routes.d.ts +22 -0
- package/lib/types/host/providers/claude-api/routes.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/stream.d.ts +88 -0
- package/lib/types/host/providers/claude-api/stream.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/token-store.d.ts +60 -0
- package/lib/types/host/providers/claude-api/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/claude-api/types.d.ts +68 -0
- package/lib/types/host/providers/claude-api/types.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/account-pool.d.ts +63 -0
- package/lib/types/host/providers/cline-pass/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/adapter.d.ts +58 -0
- package/lib/types/host/providers/cline-pass/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/catalog.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/client.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/engine.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/line.d.ts +55 -0
- package/lib/types/host/providers/cline-pass/line.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/mapper.d.ts +138 -0
- package/lib/types/host/providers/cline-pass/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/protocol.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/routes.d.ts +92 -0
- package/lib/types/host/providers/cline-pass/routes.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/store.d.ts +75 -0
- package/lib/types/host/providers/cline-pass/store.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/token-store.d.ts +170 -0
- package/lib/types/host/providers/cline-pass/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/tools.d.ts +21 -0
- package/lib/types/host/providers/cline-pass/tools.d.ts.map +1 -0
- package/lib/types/host/providers/cline-pass/types.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/callback-server.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts +183 -0
- package/lib/types/host/providers/codex-chatgpt/codex-account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts +162 -0
- package/lib/types/host/providers/codex-chatgpt/codex-adopt.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts +69 -0
- package/lib/types/host/providers/codex-chatgpt/codex-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-fetch.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts +130 -0
- package/lib/types/host/providers/codex-chatgpt/codex-identity.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-images.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts +41 -0
- package/lib/types/host/providers/codex-chatgpt/codex-remote-compaction.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/codex-search.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts +43 -0
- package/lib/types/host/providers/codex-chatgpt/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts +242 -0
- package/lib/types/host/providers/codex-chatgpt/oauth-service.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/preferences.d.ts +26 -0
- package/lib/types/host/providers/codex-chatgpt/preferences.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts +125 -0
- package/lib/types/host/providers/codex-chatgpt/responses-client.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts +133 -0
- package/lib/types/host/providers/codex-chatgpt/responses-mapper.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/routes.d.ts +32 -0
- package/lib/types/host/providers/codex-chatgpt/routes.d.ts.map +1 -0
- package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts +109 -0
- package/lib/types/host/providers/codex-chatgpt/usage-service.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/account-pool.d.ts +72 -0
- package/lib/types/host/providers/command-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/client.d.ts +126 -0
- package/lib/types/host/providers/command-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/mapper.d.ts +199 -0
- package/lib/types/host/providers/command-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/model-catalog.d.ts +45 -0
- package/lib/types/host/providers/command-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/oauth.d.ts +95 -0
- package/lib/types/host/providers/command-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/plans.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/routes.d.ts +44 -0
- package/lib/types/host/providers/command-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/token-store.d.ts +100 -0
- package/lib/types/host/providers/command-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/command-code/types.d.ts +222 -0
- package/lib/types/host/providers/command-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts +152 -0
- package/lib/types/host/providers/glm-coding-plan/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/adapter.d.ts +167 -0
- package/lib/types/host/providers/glm-coding-plan/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/adopt.d.ts +296 -0
- package/lib/types/host/providers/glm-coding-plan/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts +99 -0
- package/lib/types/host/providers/glm-coding-plan/biz-token-cache.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/client.d.ts +218 -0
- package/lib/types/host/providers/glm-coding-plan/client.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/exchange.d.ts +189 -0
- package/lib/types/host/providers/glm-coding-plan/exchange.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts +312 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-anthropic.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts +182 -0
- package/lib/types/host/providers/glm-coding-plan/mapper-openai.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts +180 -0
- package/lib/types/host/providers/glm-coding-plan/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/oauth.d.ts +180 -0
- package/lib/types/host/providers/glm-coding-plan/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/routes.d.ts +93 -0
- package/lib/types/host/providers/glm-coding-plan/routes.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/token-store.d.ts +202 -0
- package/lib/types/host/providers/glm-coding-plan/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/glm-coding-plan/types.d.ts +462 -0
- package/lib/types/host/providers/glm-coding-plan/types.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/account-pool.d.ts +124 -0
- package/lib/types/host/providers/kimi-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/adapter.d.ts +405 -0
- package/lib/types/host/providers/kimi-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/api-key.d.ts +55 -0
- package/lib/types/host/providers/kimi-code/api-key.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/cache-affinity.d.ts +112 -0
- package/lib/types/host/providers/kimi-code/cache-affinity.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/cache-hint.d.ts +65 -0
- package/lib/types/host/providers/kimi-code/cache-hint.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/cache-wait.d.ts +166 -0
- package/lib/types/host/providers/kimi-code/cache-wait.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/client.d.ts +316 -0
- package/lib/types/host/providers/kimi-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/mapper.d.ts +913 -0
- package/lib/types/host/providers/kimi-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/media-files.d.ts +179 -0
- package/lib/types/host/providers/kimi-code/media-files.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/modalities.d.ts +23 -0
- package/lib/types/host/providers/kimi-code/modalities.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/model-catalog.d.ts +125 -0
- package/lib/types/host/providers/kimi-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/oauth.d.ts +213 -0
- package/lib/types/host/providers/kimi-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts +185 -0
- package/lib/types/host/providers/kimi-code/repeat-breaker.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/routes.d.ts +52 -0
- package/lib/types/host/providers/kimi-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/session-cache-state.d.ts +156 -0
- package/lib/types/host/providers/kimi-code/session-cache-state.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/token-store.d.ts +182 -0
- package/lib/types/host/providers/kimi-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts +43 -0
- package/lib/types/host/providers/kimi-code/tool-argument-guard.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/tool-argument-recovery.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/types.d.ts +407 -0
- package/lib/types/host/providers/kimi-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/video-store.d.ts.map +1 -0
- package/lib/types/host/providers/kimi-code/video-tool.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/account-pool.d.ts +309 -0
- package/lib/types/host/providers/minimax-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/adapter.d.ts +205 -0
- package/lib/types/host/providers/minimax-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts +117 -0
- package/lib/types/host/providers/minimax-code/checkin-gateway.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/checkin.d.ts +178 -0
- package/lib/types/host/providers/minimax-code/checkin.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/client.d.ts +242 -0
- package/lib/types/host/providers/minimax-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/files-api.d.ts +89 -0
- package/lib/types/host/providers/minimax-code/files-api.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts +43 -0
- package/lib/types/host/providers/minimax-code/iso-bmff-duration.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/mapper.d.ts +260 -0
- package/lib/types/host/providers/minimax-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/matrix-client.d.ts +128 -0
- package/lib/types/host/providers/minimax-code/matrix-client.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/media-store.d.ts +122 -0
- package/lib/types/host/providers/minimax-code/media-store.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/modalities.d.ts +20 -0
- package/lib/types/host/providers/minimax-code/modalities.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/model-catalog.d.ts +227 -0
- package/lib/types/host/providers/minimax-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/oauth.d.ts +220 -0
- package/lib/types/host/providers/minimax-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/reset-card.d.ts +106 -0
- package/lib/types/host/providers/minimax-code/reset-card.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/routes.d.ts +82 -0
- package/lib/types/host/providers/minimax-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts +205 -0
- package/lib/types/host/providers/minimax-code/runtime-enhancements.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/token-store.d.ts +300 -0
- package/lib/types/host/providers/minimax-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/types.d.ts +344 -0
- package/lib/types/host/providers/minimax-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/video-history.d.ts +209 -0
- package/lib/types/host/providers/minimax-code/video-history.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/video-submit-rules.d.ts.map +1 -0
- package/lib/types/host/providers/minimax-code/video-tool.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/account-pool.d.ts +65 -0
- package/lib/types/host/providers/ollama/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/adapter.d.ts +85 -0
- package/lib/types/host/providers/ollama/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/client.d.ts +166 -0
- package/lib/types/host/providers/ollama/client.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/mapper.d.ts +49 -0
- package/lib/types/host/providers/ollama/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/routes.d.ts +22 -0
- package/lib/types/host/providers/ollama/routes.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/token-store.d.ts +78 -0
- package/lib/types/host/providers/ollama/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/ollama/types.d.ts +220 -0
- package/lib/types/host/providers/ollama/types.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/account-pool.d.ts +54 -0
- package/lib/types/host/providers/opendesign/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/adapter.d.ts +82 -0
- package/lib/types/host/providers/opendesign/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/catalog.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/client.d.ts +258 -0
- package/lib/types/host/providers/opendesign/client.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/line.d.ts +60 -0
- package/lib/types/host/providers/opendesign/line.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/mapper.d.ts +218 -0
- package/lib/types/host/providers/opendesign/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/routes.d.ts +75 -0
- package/lib/types/host/providers/opendesign/routes.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/token-store.d.ts +241 -0
- package/lib/types/host/providers/opendesign/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/opendesign/types.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts +35 -0
- package/lib/types/host/providers/qianwen-token-plan/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts +17 -0
- package/lib/types/host/providers/qianwen-token-plan/cache-stats.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/client.d.ts +5 -0
- package/lib/types/host/providers/qianwen-token-plan/client.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts +71 -0
- package/lib/types/host/providers/qianwen-token-plan/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts +28 -0
- package/lib/types/host/providers/qianwen-token-plan/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/routes.d.ts +12 -0
- package/lib/types/host/providers/qianwen-token-plan/routes.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts +56 -0
- package/lib/types/host/providers/qianwen-token-plan/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/qianwen-token-plan/types.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/account-pool.d.ts +141 -0
- package/lib/types/host/providers/qoder/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/adapter.d.ts +165 -0
- package/lib/types/host/providers/qoder/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/adopt.d.ts +104 -0
- package/lib/types/host/providers/qoder/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/client.d.ts +292 -0
- package/lib/types/host/providers/qoder/client.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/cosy.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/mapper.d.ts +332 -0
- package/lib/types/host/providers/qoder/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/model-catalog.d.ts +231 -0
- package/lib/types/host/providers/qoder/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/oauth.d.ts +151 -0
- package/lib/types/host/providers/qoder/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/routes.d.ts +119 -0
- package/lib/types/host/providers/qoder/routes.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/token-store.d.ts +280 -0
- package/lib/types/host/providers/qoder/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/qoder/types.d.ts +262 -0
- package/lib/types/host/providers/qoder/types.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/account-pool.d.ts +129 -0
- package/lib/types/host/providers/relayone/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/adapter.d.ts +79 -0
- package/lib/types/host/providers/relayone/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/catalog-manager.d.ts +45 -0
- package/lib/types/host/providers/relayone/catalog-manager.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/client.d.ts +5 -0
- package/lib/types/host/providers/relayone/client.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/image-tool.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/mapper-anthropic.d.ts +49 -0
- package/lib/types/host/providers/relayone/mapper-anthropic.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/mapper-openai.d.ts +36 -0
- package/lib/types/host/providers/relayone/mapper-openai.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/mapper-shared.d.ts +25 -0
- package/lib/types/host/providers/relayone/mapper-shared.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/media-shared.d.ts +27 -0
- package/lib/types/host/providers/relayone/media-shared.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/model-catalog.d.ts +70 -0
- package/lib/types/host/providers/relayone/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/quota.d.ts +29 -0
- package/lib/types/host/providers/relayone/quota.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/routes.d.ts +25 -0
- package/lib/types/host/providers/relayone/routes.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/token-store.d.ts +49 -0
- package/lib/types/host/providers/relayone/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/types.d.ts.map +1 -0
- package/lib/types/host/providers/relayone/video-tool.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/account-pool.d.ts +187 -0
- package/lib/types/host/providers/step-code/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/adapter.d.ts +154 -0
- package/lib/types/host/providers/step-code/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/adopt.d.ts +156 -0
- package/lib/types/host/providers/step-code/adopt.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/cache-stats.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/client.d.ts +311 -0
- package/lib/types/host/providers/step-code/client.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/mapper.d.ts +248 -0
- package/lib/types/host/providers/step-code/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/model-catalog.d.ts +218 -0
- package/lib/types/host/providers/step-code/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/oauth.d.ts +265 -0
- package/lib/types/host/providers/step-code/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/routes.d.ts +102 -0
- package/lib/types/host/providers/step-code/routes.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/token-store.d.ts +325 -0
- package/lib/types/host/providers/step-code/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/step-code/types.d.ts +492 -0
- package/lib/types/host/providers/step-code/types.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/account-pool.d.ts +389 -0
- package/lib/types/host/providers/workbuddy/account-pool.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/adapter.d.ts +246 -0
- package/lib/types/host/providers/workbuddy/adapter.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/atrest.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/checkin.d.ts +150 -0
- package/lib/types/host/providers/workbuddy/checkin.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/client.d.ts +214 -0
- package/lib/types/host/providers/workbuddy/client.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/dsml.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/guardrails.d.ts +111 -0
- package/lib/types/host/providers/workbuddy/guardrails.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/identity.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/mapper.d.ts +238 -0
- package/lib/types/host/providers/workbuddy/mapper.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/model-catalog.d.ts +153 -0
- package/lib/types/host/providers/workbuddy/model-catalog.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/oauth.d.ts +47 -0
- package/lib/types/host/providers/workbuddy/oauth.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/outbound-identity.d.ts +105 -0
- package/lib/types/host/providers/workbuddy/outbound-identity.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/routes.d.ts +56 -0
- package/lib/types/host/providers/workbuddy/routes.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/token-store.d.ts +370 -0
- package/lib/types/host/providers/workbuddy/token-store.d.ts.map +1 -0
- package/lib/types/host/providers/workbuddy/types.d.ts +185 -0
- package/lib/types/host/providers/workbuddy/types.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/budget.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/contracts.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/index.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/install.d.ts +124 -0
- package/lib/types/host/runtime/cache-warmup/install.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/logging.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/projection.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/result-tool.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/retrieval-intent.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/settings.d.ts +79 -0
- package/lib/types/host/runtime/cache-warmup/settings.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/store.d.ts.map +1 -0
- package/lib/types/host/runtime/cache-warmup/usage.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/discovery.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/executor.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/retention.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/rules.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/scope.d.ts.map +1 -0
- package/lib/types/host/runtime/codemode/transport.d.ts +493 -0
- package/lib/types/host/runtime/codemode/transport.d.ts.map +1 -0
- package/lib/types/host/runtime/compact-after-turn/index.d.ts +105 -0
- package/lib/types/host/runtime/compact-after-turn/index.d.ts.map +1 -0
- package/lib/types/host/runtime/compaction-route/index.d.ts +118 -0
- package/lib/types/host/runtime/compaction-route/index.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts +27 -0
- package/lib/types/host/runtime/deepseek-v41-flash/discipline.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts +70 -0
- package/lib/types/host/runtime/deepseek-v41-flash/index.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/match.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/observation-tagger.d.ts.map +1 -0
- package/lib/types/host/runtime/deepseek-v41-flash/state-anchor.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/binding.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/guard.d.ts +282 -0
- package/lib/types/host/runtime/dispatch-ledger/guard.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/header.d.ts +143 -0
- package/lib/types/host/runtime/dispatch-ledger/header.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/index.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts +505 -0
- package/lib/types/host/runtime/dispatch-ledger/ledger.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/policy.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/protocol.d.ts.map +1 -0
- package/lib/types/host/runtime/dispatch-ledger/tool.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/compaction-policy-guard.d.ts +79 -0
- package/lib/types/host/runtime/guards/compaction-policy-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts +143 -0
- package/lib/types/host/runtime/guards/dispatch-execution-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/plan-mode-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts +75 -0
- package/lib/types/host/runtime/guards/ptc-sdk-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/settled-job-guard.d.ts +47 -0
- package/lib/types/host/runtime/guards/settled-job-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts +676 -0
- package/lib/types/host/runtime/guards/subagent-model-authorization.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/subagent-route-audit.d.ts +154 -0
- package/lib/types/host/runtime/guards/subagent-route-audit.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/team-policy-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/timeline-cache-guard.d.ts +68 -0
- package/lib/types/host/runtime/guards/timeline-cache-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/guards/tool-result-pruner-guard.d.ts +44 -0
- package/lib/types/host/runtime/guards/tool-result-pruner-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/no-answer-resume/index.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/discipline.d.ts +14 -0
- package/lib/types/host/runtime/open-models/discipline.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/index.d.ts +59 -0
- package/lib/types/host/runtime/open-models/index.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/observation-guard.d.ts +32 -0
- package/lib/types/host/runtime/open-models/observation-guard.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/profiles.d.ts +113 -0
- package/lib/types/host/runtime/open-models/profiles.d.ts.map +1 -0
- package/lib/types/host/runtime/open-models/state-anchor.d.ts +46 -0
- package/lib/types/host/runtime/open-models/state-anchor.d.ts.map +1 -0
- package/lib/types/host/runtime/presets/agent-preset.d.ts.map +1 -0
- package/lib/types/host/runtime/presets/preset-sync.d.ts +130 -0
- package/lib/types/host/runtime/presets/preset-sync.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/index.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/nudge.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/projection.d.ts +181 -0
- package/lib/types/host/runtime/progress-updates/projection.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/prompt.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/routes.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/store.d.ts.map +1 -0
- package/lib/types/host/runtime/progress-updates/tool.d.ts.map +1 -0
- package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts +304 -0
- package/lib/types/host/runtime/reasoning-collapse-guard/index.d.ts.map +1 -0
- package/lib/types/host/runtime/session-title-guard/index.d.ts +64 -0
- package/lib/types/host/runtime/session-title-guard/index.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/line-contracts.d.ts +192 -0
- package/lib/types/host/runtime/widget-board/line-contracts.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/line-quota.d.ts +253 -0
- package/lib/types/host/runtime/widget-board/line-quota.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/line-registry.d.ts +346 -0
- package/lib/types/host/runtime/widget-board/line-registry.d.ts.map +1 -0
- package/lib/types/host/runtime/widget-board/provider.d.ts.map +1 -0
- package/lib/types/index.d.ts +136 -118
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/shared/claude-contracts.d.ts +0 -59
- package/lib/types/shared/claude-contracts.d.ts.map +1 -1
- package/lib/types/shared/relayone-contracts.d.ts +17 -0
- package/lib/types/shared/relayone-contracts.d.ts.map +1 -1
- package/package.json +57 -59
- package/CHANGELOG.md +0 -2706
- package/lib/entry-plan-mode-EShP3ndV.js +0 -1843
- package/lib/entry-plan-mode-pipeline-BCAZPcOz.js +0 -433
- package/lib/entry-progress-updates-DMLVID9V.js +0 -1154
- package/lib/entry-tool-result-pruner-E_xILd9Z.js +0 -703
- package/lib/llm-compat--WsaC9K6.js +0 -134
- package/lib/types/client/CodexComposerQuota.d.ts.map +0 -1
- package/lib/types/client/CodexImageToolView.d.ts.map +0 -1
- package/lib/types/client/CodexSubscriptionSection.d.ts +0 -42
- package/lib/types/client/CodexSubscriptionSection.d.ts.map +0 -1
- package/lib/types/client/CompactionRouteCard.d.ts +0 -43
- package/lib/types/client/CompactionRouteCard.d.ts.map +0 -1
- package/lib/types/client/ProviderHubSection.d.ts +0 -16
- package/lib/types/client/ProviderHubSection.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts +0 -35
- package/lib/types/client/antigravity-acp/AntigravityAcpComposerBadge.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/AntigravityAcpSection.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/api.d.ts +0 -36
- package/lib/types/client/antigravity-acp/api.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/locales.d.ts +0 -557
- package/lib/types/client/antigravity-acp/locales.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/route.d.ts.map +0 -1
- package/lib/types/client/antigravity-acp/styles.d.ts.map +0 -1
- package/lib/types/client/api.d.ts +0 -60
- package/lib/types/client/api.d.ts.map +0 -1
- package/lib/types/client/aws-quick/AwsQuickSection.d.ts.map +0 -1
- package/lib/types/client/aws-quick/api.d.ts +0 -11
- package/lib/types/client/aws-quick/api.d.ts.map +0 -1
- package/lib/types/client/aws-quick/locales.d.ts +0 -117
- package/lib/types/client/aws-quick/locales.d.ts.map +0 -1
- package/lib/types/client/aws-quick/styles.d.ts.map +0 -1
- package/lib/types/client/claude/ClaudeComposerQuota.d.ts +0 -29
- package/lib/types/client/claude/ClaudeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/claude/ClaudeSection.d.ts.map +0 -1
- package/lib/types/client/claude/locales.d.ts +0 -468
- package/lib/types/client/claude/locales.d.ts.map +0 -1
- package/lib/types/client/claude/styles.d.ts.map +0 -1
- package/lib/types/client/claude/useClaudeSection.d.ts +0 -95
- package/lib/types/client/claude/useClaudeSection.d.ts.map +0 -1
- package/lib/types/client/claude-api/ClaudeApiSection.d.ts.map +0 -1
- package/lib/types/client/claude-api/api.d.ts.map +0 -1
- package/lib/types/client/claude-api/locales.d.ts +0 -161
- package/lib/types/client/claude-api/locales.d.ts.map +0 -1
- package/lib/types/client/claude-api/styles.d.ts.map +0 -1
- package/lib/types/client/claude-api/useClaudeApiSection.d.ts +0 -37
- package/lib/types/client/claude-api/useClaudeApiSection.d.ts.map +0 -1
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts +0 -23
- package/lib/types/client/cline-pass/ClinePassComposerQuota.d.ts.map +0 -1
- package/lib/types/client/cline-pass/ClinePassSection.d.ts.map +0 -1
- package/lib/types/client/cline-pass/api.d.ts +0 -85
- package/lib/types/client/cline-pass/api.d.ts.map +0 -1
- package/lib/types/client/cline-pass/locales.d.ts.map +0 -1
- package/lib/types/client/cline-pass/styles.d.ts.map +0 -1
- package/lib/types/client/codemode/CodeRunToolView.d.ts +0 -68
- package/lib/types/client/codemode/CodeRunToolView.d.ts.map +0 -1
- package/lib/types/client/codemode/highlight.d.ts.map +0 -1
- package/lib/types/client/codemode/styles.d.ts.map +0 -1
- package/lib/types/client/codemode/tool-name.d.ts.map +0 -1
- package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts +0 -20
- package/lib/types/client/command-code/CommandCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/command-code/CommandCodeSection.d.ts.map +0 -1
- package/lib/types/client/command-code/locales.d.ts +0 -305
- package/lib/types/client/command-code/locales.d.ts.map +0 -1
- package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts +0 -24
- package/lib/types/client/compact-after-turn/CompactAfterTurnToggle.d.ts.map +0 -1
- package/lib/types/client/compact-after-turn/locales.d.ts.map +0 -1
- package/lib/types/client/compact-after-turn/styles.d.ts.map +0 -1
- package/lib/types/client/dispatch-ledger/MandateToolView.d.ts.map +0 -1
- package/lib/types/client/dispatch-ledger/locales.d.ts.map +0 -1
- package/lib/types/client/dispatch-ledger/styles.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts +0 -27
- package/lib/types/client/glm-coding-plan/GlmCodingPlanComposerQuota.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/GlmCodingPlanSection.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/api.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/locales.d.ts +0 -409
- package/lib/types/client/glm-coding-plan/locales.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/styles.d.ts.map +0 -1
- package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts +0 -65
- package/lib/types/client/glm-coding-plan/useGlmCodingPlanSection.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts +0 -21
- package/lib/types/client/kimi-code/KimiCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiCodeSection.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts +0 -16
- package/lib/types/client/kimi-code/KimiModelCapabilities.d.ts.map +0 -1
- package/lib/types/client/kimi-code/KimiQuotaCard.d.ts +0 -31
- package/lib/types/client/kimi-code/KimiQuotaCard.d.ts.map +0 -1
- package/lib/types/client/kimi-code/labels.d.ts +0 -66
- package/lib/types/client/kimi-code/labels.d.ts.map +0 -1
- package/lib/types/client/kimi-code/locales.d.ts +0 -694
- package/lib/types/client/kimi-code/locales.d.ts.map +0 -1
- package/lib/types/client/kimi-code/staff-art.d.ts.map +0 -1
- package/lib/types/client/kimi-code/styles.d.ts.map +0 -1
- package/lib/types/client/locales.d.ts +0 -541
- package/lib/types/client/locales.d.ts.map +0 -1
- package/lib/types/client/mermaid/renderer.d.ts.map +0 -1
- package/lib/types/client/mermaid/sanitize.d.ts.map +0 -1
- package/lib/types/client/mermaid/styles.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts +0 -23
- package/lib/types/client/minimax-code/MinimaxCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxCodeSection.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts +0 -86
- package/lib/types/client/minimax-code/MinimaxVideoDocumentBody.d.ts.map +0 -1
- package/lib/types/client/minimax-code/MinimaxVideoToolView.d.ts.map +0 -1
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts +0 -86
- package/lib/types/client/minimax-code/VideoFormDialog.d.ts.map +0 -1
- package/lib/types/client/minimax-code/VideoSettingsSections.d.ts.map +0 -1
- package/lib/types/client/minimax-code/api.d.ts +0 -35
- package/lib/types/client/minimax-code/api.d.ts.map +0 -1
- package/lib/types/client/minimax-code/commands-contract.d.ts.map +0 -1
- package/lib/types/client/minimax-code/document-preview.d.ts.map +0 -1
- package/lib/types/client/minimax-code/locales.d.ts +0 -686
- package/lib/types/client/minimax-code/locales.d.ts.map +0 -1
- package/lib/types/client/minimax-code/styles.d.ts.map +0 -1
- package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts +0 -164
- package/lib/types/client/minimax-code/useMinimaxCodeSection.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-command-host.d.ts +0 -67
- package/lib/types/client/minimax-code/video-command-host.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-command-icon.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-command.d.ts +0 -120
- package/lib/types/client/minimax-code/video-command.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-contract.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-defaults-store.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-form-rules.d.ts +0 -288
- package/lib/types/client/minimax-code/video-form-rules.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-media-dropzone.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-media-input.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-media.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-presets.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-slots.d.ts.map +0 -1
- package/lib/types/client/minimax-code/video-workspace.d.ts.map +0 -1
- package/lib/types/client/ollama/OllamaSection.d.ts.map +0 -1
- package/lib/types/client/ollama/api.d.ts +0 -49
- package/lib/types/client/ollama/api.d.ts.map +0 -1
- package/lib/types/client/ollama/locales.d.ts +0 -479
- package/lib/types/client/ollama/locales.d.ts.map +0 -1
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts +0 -26
- package/lib/types/client/opendesign/OpenDesignComposerQuota.d.ts.map +0 -1
- package/lib/types/client/opendesign/OpenDesignSection.d.ts.map +0 -1
- package/lib/types/client/opendesign/api.d.ts +0 -45
- package/lib/types/client/opendesign/api.d.ts.map +0 -1
- package/lib/types/client/opendesign/locales.d.ts.map +0 -1
- package/lib/types/client/opendesign/styles.d.ts.map +0 -1
- package/lib/types/client/progress-updates/contracts.d.ts.map +0 -1
- package/lib/types/client/progress-updates/guide-artwork.d.ts.map +0 -1
- package/lib/types/client/progress-updates/host-source.d.ts +0 -144
- package/lib/types/client/progress-updates/host-source.d.ts.map +0 -1
- package/lib/types/client/progress-updates/index.d.ts +0 -91
- package/lib/types/client/progress-updates/index.d.ts.map +0 -1
- package/lib/types/client/progress-updates/locales.d.ts.map +0 -1
- package/lib/types/client/progress-updates/markdown-lite.d.ts +0 -99
- package/lib/types/client/progress-updates/markdown-lite.d.ts.map +0 -1
- package/lib/types/client/progress-updates/progress-row.d.ts.map +0 -1
- package/lib/types/client/progress-updates/settings-binding.d.ts.map +0 -1
- package/lib/types/client/progress-updates/settings-section.d.ts.map +0 -1
- package/lib/types/client/progress-updates/styles.d.ts.map +0 -1
- package/lib/types/client/progress-updates/tool-name.d.ts.map +0 -1
- package/lib/types/client/progress-updates/updates-panel.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts +0 -14
- package/lib/types/client/qianwen-token-plan/QianwenComposerQuota.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/QianwenTokenPlanSection.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/api.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/locales.d.ts +0 -158
- package/lib/types/client/qianwen-token-plan/locales.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/styles.d.ts.map +0 -1
- package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts +0 -32
- package/lib/types/client/qianwen-token-plan/useQianwenSection.d.ts.map +0 -1
- package/lib/types/client/qoder/QoderComposerQuota.d.ts +0 -41
- package/lib/types/client/qoder/QoderComposerQuota.d.ts.map +0 -1
- package/lib/types/client/qoder/QoderSection.d.ts +0 -37
- package/lib/types/client/qoder/QoderSection.d.ts.map +0 -1
- package/lib/types/client/qoder/api.d.ts.map +0 -1
- package/lib/types/client/qoder/locales.d.ts +0 -322
- package/lib/types/client/qoder/locales.d.ts.map +0 -1
- package/lib/types/client/qoder/styles.d.ts.map +0 -1
- package/lib/types/client/qoder/useQoderSection.d.ts +0 -97
- package/lib/types/client/qoder/useQoderSection.d.ts.map +0 -1
- package/lib/types/client/quota.d.ts +0 -9
- package/lib/types/client/quota.d.ts.map +0 -1
- package/lib/types/client/relayone/RelayOneComposerQuota.d.ts +0 -14
- package/lib/types/client/relayone/RelayOneComposerQuota.d.ts.map +0 -1
- package/lib/types/client/relayone/RelayOneSection.d.ts.map +0 -1
- package/lib/types/client/relayone/api.d.ts.map +0 -1
- package/lib/types/client/relayone/locales.d.ts +0 -157
- package/lib/types/client/relayone/locales.d.ts.map +0 -1
- package/lib/types/client/relayone/quota-format.d.ts +0 -6
- package/lib/types/client/relayone/quota-format.d.ts.map +0 -1
- package/lib/types/client/relayone/styles.d.ts.map +0 -1
- package/lib/types/client/relayone/useRelayOneSection.d.ts +0 -30
- package/lib/types/client/relayone/useRelayOneSection.d.ts.map +0 -1
- package/lib/types/client/step-code/StepCodeComposerQuota.d.ts +0 -50
- package/lib/types/client/step-code/StepCodeComposerQuota.d.ts.map +0 -1
- package/lib/types/client/step-code/StepCodeSection.d.ts.map +0 -1
- package/lib/types/client/step-code/api.d.ts.map +0 -1
- package/lib/types/client/step-code/locales.d.ts +0 -657
- package/lib/types/client/step-code/locales.d.ts.map +0 -1
- package/lib/types/client/step-code/styles.d.ts.map +0 -1
- package/lib/types/client/step-code/useStepCodeSection.d.ts +0 -122
- package/lib/types/client/step-code/useStepCodeSection.d.ts.map +0 -1
- package/lib/types/client/store.d.ts.map +0 -1
- package/lib/types/client/styles.d.ts.map +0 -1
- package/lib/types/client/subagent/SubagentCard.d.ts.map +0 -1
- package/lib/types/client/subagent/index.d.ts.map +0 -1
- package/lib/types/client/subagent/locales.d.ts +0 -184
- package/lib/types/client/subagent/locales.d.ts.map +0 -1
- package/lib/types/client/subagent/styles.d.ts.map +0 -1
- package/lib/types/client/subagent/subagent-card-controller.d.ts +0 -352
- package/lib/types/client/subagent/subagent-card-controller.d.ts.map +0 -1
- package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts +0 -34
- package/lib/types/client/workbuddy/WorkBuddyComposerQuota.d.ts.map +0 -1
- package/lib/types/client/workbuddy/WorkBuddySection.d.ts +0 -91
- package/lib/types/client/workbuddy/WorkBuddySection.d.ts.map +0 -1
- package/lib/types/client/workbuddy/locales.d.ts +0 -768
- package/lib/types/client/workbuddy/locales.d.ts.map +0 -1
- package/lib/types/client/workbuddy/styles.d.ts.map +0 -1
- package/lib/types/client/workbuddy/useWorkBuddySection.d.ts +0 -149
- package/lib/types/client/workbuddy/useWorkBuddySection.d.ts.map +0 -1
- package/lib/types/entry-codemode.d.ts +0 -37
- package/lib/types/entry-codemode.d.ts.map +0 -1
- package/lib/types/entry-plan-mode-pipeline.d.ts +0 -206
- package/lib/types/entry-plan-mode-pipeline.d.ts.map +0 -1
- package/lib/types/entry-plan-mode.d.ts +0 -499
- package/lib/types/entry-plan-mode.d.ts.map +0 -1
- package/lib/types/entry-progress-updates.d.ts +0 -43
- package/lib/types/entry-progress-updates.d.ts.map +0 -1
- package/lib/types/entry-tool-result-pruner.d.ts +0 -258
- package/lib/types/entry-tool-result-pruner.d.ts.map +0 -1
- package/lib/types/host/adapter.d.ts.map +0 -1
- package/lib/types/host/agent-preset.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/acp-client.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/adapter.d.ts +0 -340
- package/lib/types/host/antigravity-acp/adapter.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/auth-cache.d.ts +0 -59
- package/lib/types/host/antigravity-acp/auth-cache.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/binary.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/catalog.d.ts +0 -107
- package/lib/types/host/antigravity-acp/catalog.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/doctor.d.ts +0 -73
- package/lib/types/host/antigravity-acp/doctor.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/errors.d.ts +0 -69
- package/lib/types/host/antigravity-acp/errors.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/history.d.ts +0 -131
- package/lib/types/host/antigravity-acp/history.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/login.d.ts +0 -68
- package/lib/types/host/antigravity-acp/login.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/mcp-bridge.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/process-temp.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/routes.d.ts +0 -100
- package/lib/types/host/antigravity-acp/routes.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/settings.d.ts +0 -81
- package/lib/types/host/antigravity-acp/settings.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/subagent.d.ts +0 -128
- package/lib/types/host/antigravity-acp/subagent.d.ts.map +0 -1
- package/lib/types/host/antigravity-acp/types.d.ts +0 -155
- package/lib/types/host/antigravity-acp/types.d.ts.map +0 -1
- package/lib/types/host/aws-quick/adapter.d.ts +0 -77
- package/lib/types/host/aws-quick/adapter.d.ts.map +0 -1
- package/lib/types/host/aws-quick/binary.d.ts +0 -3
- package/lib/types/host/aws-quick/binary.d.ts.map +0 -1
- package/lib/types/host/aws-quick/client.d.ts +0 -85
- package/lib/types/host/aws-quick/client.d.ts.map +0 -1
- package/lib/types/host/aws-quick/execution-broker.d.ts.map +0 -1
- package/lib/types/host/aws-quick/images.d.ts +0 -21
- package/lib/types/host/aws-quick/images.d.ts.map +0 -1
- package/lib/types/host/aws-quick/markup.d.ts.map +0 -1
- package/lib/types/host/aws-quick/outpost.d.ts +0 -55
- package/lib/types/host/aws-quick/outpost.d.ts.map +0 -1
- package/lib/types/host/aws-quick/protocol.d.ts +0 -53
- package/lib/types/host/aws-quick/protocol.d.ts.map +0 -1
- package/lib/types/host/aws-quick/routes.d.ts +0 -15
- package/lib/types/host/aws-quick/routes.d.ts.map +0 -1
- package/lib/types/host/aws-quick/settings.d.ts +0 -24
- package/lib/types/host/aws-quick/settings.d.ts.map +0 -1
- package/lib/types/host/aws-quick/tool-bridge.d.ts +0 -67
- package/lib/types/host/aws-quick/tool-bridge.d.ts.map +0 -1
- package/lib/types/host/aws-quick/types.d.ts +0 -12
- package/lib/types/host/aws-quick/types.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/budget.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/contracts.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/index.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/install.d.ts +0 -152
- package/lib/types/host/cache-warmup/install.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/logging.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/projection.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/result-tool.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/retrieval-intent.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/settings.d.ts +0 -84
- package/lib/types/host/cache-warmup/settings.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/store.d.ts.map +0 -1
- package/lib/types/host/cache-warmup/usage.d.ts.map +0 -1
- package/lib/types/host/callback-server.d.ts.map +0 -1
- package/lib/types/host/claude/account-pool.d.ts +0 -583
- package/lib/types/host/claude/account-pool.d.ts.map +0 -1
- package/lib/types/host/claude/adapter.d.ts +0 -415
- package/lib/types/host/claude/adapter.d.ts.map +0 -1
- package/lib/types/host/claude/adopt.d.ts +0 -292
- package/lib/types/host/claude/adopt.d.ts.map +0 -1
- package/lib/types/host/claude/client.d.ts +0 -579
- package/lib/types/host/claude/client.d.ts.map +0 -1
- package/lib/types/host/claude/mapper.d.ts +0 -793
- package/lib/types/host/claude/mapper.d.ts.map +0 -1
- package/lib/types/host/claude/model-catalog.d.ts +0 -560
- package/lib/types/host/claude/model-catalog.d.ts.map +0 -1
- package/lib/types/host/claude/oauth.d.ts +0 -419
- package/lib/types/host/claude/oauth.d.ts.map +0 -1
- package/lib/types/host/claude/routes.d.ts +0 -131
- package/lib/types/host/claude/routes.d.ts.map +0 -1
- package/lib/types/host/claude/token-store.d.ts +0 -331
- package/lib/types/host/claude/token-store.d.ts.map +0 -1
- package/lib/types/host/claude/types.d.ts +0 -415
- package/lib/types/host/claude/types.d.ts.map +0 -1
- package/lib/types/host/claude-api/adapter.d.ts +0 -74
- package/lib/types/host/claude-api/adapter.d.ts.map +0 -1
- package/lib/types/host/claude-api/capability-memory.d.ts +0 -4
- package/lib/types/host/claude-api/capability-memory.d.ts.map +0 -1
- package/lib/types/host/claude-api/catalog-manager.d.ts +0 -57
- package/lib/types/host/claude-api/catalog-manager.d.ts.map +0 -1
- package/lib/types/host/claude-api/client-version.d.ts +0 -4
- package/lib/types/host/claude-api/client-version.d.ts.map +0 -1
- package/lib/types/host/claude-api/client.d.ts +0 -55
- package/lib/types/host/claude-api/client.d.ts.map +0 -1
- package/lib/types/host/claude-api/compaction-store.d.ts.map +0 -1
- package/lib/types/host/claude-api/compaction.d.ts +0 -47
- package/lib/types/host/claude-api/compaction.d.ts.map +0 -1
- package/lib/types/host/claude-api/mapper.d.ts +0 -61
- package/lib/types/host/claude-api/mapper.d.ts.map +0 -1
- package/lib/types/host/claude-api/model-catalog.d.ts +0 -76
- package/lib/types/host/claude-api/model-catalog.d.ts.map +0 -1
- package/lib/types/host/claude-api/routes.d.ts +0 -22
- package/lib/types/host/claude-api/routes.d.ts.map +0 -1
- package/lib/types/host/claude-api/stream.d.ts +0 -88
- package/lib/types/host/claude-api/stream.d.ts.map +0 -1
- package/lib/types/host/claude-api/token-store.d.ts +0 -60
- package/lib/types/host/claude-api/token-store.d.ts.map +0 -1
- package/lib/types/host/claude-api/types.d.ts +0 -68
- package/lib/types/host/claude-api/types.d.ts.map +0 -1
- package/lib/types/host/cline-pass/account-pool.d.ts +0 -63
- package/lib/types/host/cline-pass/account-pool.d.ts.map +0 -1
- package/lib/types/host/cline-pass/adapter.d.ts +0 -58
- package/lib/types/host/cline-pass/adapter.d.ts.map +0 -1
- package/lib/types/host/cline-pass/catalog.d.ts.map +0 -1
- package/lib/types/host/cline-pass/client.d.ts.map +0 -1
- package/lib/types/host/cline-pass/engine.d.ts.map +0 -1
- package/lib/types/host/cline-pass/line.d.ts +0 -55
- package/lib/types/host/cline-pass/line.d.ts.map +0 -1
- package/lib/types/host/cline-pass/mapper.d.ts +0 -138
- package/lib/types/host/cline-pass/mapper.d.ts.map +0 -1
- package/lib/types/host/cline-pass/oauth.d.ts.map +0 -1
- package/lib/types/host/cline-pass/protocol.d.ts.map +0 -1
- package/lib/types/host/cline-pass/routes.d.ts +0 -92
- package/lib/types/host/cline-pass/routes.d.ts.map +0 -1
- package/lib/types/host/cline-pass/store.d.ts +0 -75
- package/lib/types/host/cline-pass/store.d.ts.map +0 -1
- package/lib/types/host/cline-pass/token-store.d.ts +0 -170
- package/lib/types/host/cline-pass/token-store.d.ts.map +0 -1
- package/lib/types/host/cline-pass/tools.d.ts +0 -21
- package/lib/types/host/cline-pass/tools.d.ts.map +0 -1
- package/lib/types/host/cline-pass/types.d.ts.map +0 -1
- package/lib/types/host/codemode/discovery.d.ts.map +0 -1
- package/lib/types/host/codemode/executor.d.ts.map +0 -1
- package/lib/types/host/codemode/retention.d.ts.map +0 -1
- package/lib/types/host/codemode/rules.d.ts.map +0 -1
- package/lib/types/host/codemode/scope.d.ts.map +0 -1
- package/lib/types/host/codemode/transport.d.ts +0 -457
- package/lib/types/host/codemode/transport.d.ts.map +0 -1
- package/lib/types/host/codex-account-pool.d.ts +0 -214
- package/lib/types/host/codex-account-pool.d.ts.map +0 -1
- package/lib/types/host/codex-adopt.d.ts +0 -255
- package/lib/types/host/codex-adopt.d.ts.map +0 -1
- package/lib/types/host/codex-catalog.d.ts +0 -69
- package/lib/types/host/codex-catalog.d.ts.map +0 -1
- package/lib/types/host/codex-fetch.d.ts.map +0 -1
- package/lib/types/host/codex-identity.d.ts +0 -130
- package/lib/types/host/codex-identity.d.ts.map +0 -1
- package/lib/types/host/codex-images.d.ts.map +0 -1
- package/lib/types/host/codex-remote-compaction.d.ts +0 -41
- package/lib/types/host/codex-remote-compaction.d.ts.map +0 -1
- package/lib/types/host/codex-search.d.ts.map +0 -1
- package/lib/types/host/command-code/account-pool.d.ts +0 -72
- package/lib/types/host/command-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/command-code/adapter.d.ts.map +0 -1
- package/lib/types/host/command-code/client.d.ts +0 -126
- package/lib/types/host/command-code/client.d.ts.map +0 -1
- package/lib/types/host/command-code/mapper.d.ts +0 -199
- package/lib/types/host/command-code/mapper.d.ts.map +0 -1
- package/lib/types/host/command-code/model-catalog.d.ts +0 -90
- package/lib/types/host/command-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/command-code/oauth.d.ts +0 -95
- package/lib/types/host/command-code/oauth.d.ts.map +0 -1
- package/lib/types/host/command-code/plans.d.ts.map +0 -1
- package/lib/types/host/command-code/routes.d.ts +0 -44
- package/lib/types/host/command-code/routes.d.ts.map +0 -1
- package/lib/types/host/command-code/token-store.d.ts +0 -100
- package/lib/types/host/command-code/token-store.d.ts.map +0 -1
- package/lib/types/host/command-code/types.d.ts +0 -222
- package/lib/types/host/command-code/types.d.ts.map +0 -1
- package/lib/types/host/common/claude-capability-memory.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-cch.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-corrections.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-first-party.d.ts +0 -68
- package/lib/types/host/common/claude-code-first-party.d.ts.map +0 -1
- package/lib/types/host/common/claude-code-version.d.ts +0 -90
- package/lib/types/host/common/claude-code-version.d.ts.map +0 -1
- package/lib/types/host/compact-after-turn/index.d.ts +0 -126
- package/lib/types/host/compact-after-turn/index.d.ts.map +0 -1
- package/lib/types/host/compaction-policy-guard.d.ts +0 -65
- package/lib/types/host/compaction-policy-guard.d.ts.map +0 -1
- package/lib/types/host/compaction-prompt.d.ts +0 -129
- package/lib/types/host/compaction-prompt.d.ts.map +0 -1
- package/lib/types/host/compaction-route/index.d.ts +0 -147
- package/lib/types/host/compaction-route/index.d.ts.map +0 -1
- package/lib/types/host/credential-store-secret-service.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/discipline.d.ts +0 -22
- package/lib/types/host/deepseek-v41-flash/discipline.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/index.d.ts +0 -70
- package/lib/types/host/deepseek-v41-flash/index.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/match.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/observation-tagger.d.ts.map +0 -1
- package/lib/types/host/deepseek-v41-flash/state-anchor.d.ts.map +0 -1
- package/lib/types/host/dispatch-execution-guard.d.ts +0 -181
- package/lib/types/host/dispatch-execution-guard.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/binding.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/guard.d.ts +0 -281
- package/lib/types/host/dispatch-ledger/guard.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/header.d.ts +0 -177
- package/lib/types/host/dispatch-ledger/header.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/index.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/ledger.d.ts +0 -553
- package/lib/types/host/dispatch-ledger/ledger.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/policy.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/protocol.d.ts.map +0 -1
- package/lib/types/host/dispatch-ledger/tool.d.ts.map +0 -1
- package/lib/types/host/fetch-address-policy.d.ts.map +0 -1
- package/lib/types/host/fetch-configuration.d.ts +0 -6
- package/lib/types/host/fetch-configuration.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/account-pool.d.ts +0 -152
- package/lib/types/host/glm-coding-plan/account-pool.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/adapter.d.ts +0 -167
- package/lib/types/host/glm-coding-plan/adapter.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/adopt.d.ts +0 -354
- package/lib/types/host/glm-coding-plan/adopt.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts +0 -99
- package/lib/types/host/glm-coding-plan/biz-token-cache.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/client.d.ts +0 -218
- package/lib/types/host/glm-coding-plan/client.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/exchange.d.ts +0 -223
- package/lib/types/host/glm-coding-plan/exchange.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts +0 -388
- package/lib/types/host/glm-coding-plan/mapper-anthropic.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/mapper-openai.d.ts +0 -213
- package/lib/types/host/glm-coding-plan/mapper-openai.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts +0 -241
- package/lib/types/host/glm-coding-plan/model-catalog.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/oauth.d.ts +0 -211
- package/lib/types/host/glm-coding-plan/oauth.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/routes.d.ts +0 -93
- package/lib/types/host/glm-coding-plan/routes.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/token-store.d.ts +0 -202
- package/lib/types/host/glm-coding-plan/token-store.d.ts.map +0 -1
- package/lib/types/host/glm-coding-plan/types.d.ts +0 -492
- package/lib/types/host/glm-coding-plan/types.d.ts.map +0 -1
- package/lib/types/host/hub-overview.d.ts +0 -26
- package/lib/types/host/hub-overview.d.ts.map +0 -1
- package/lib/types/host/kimi-code/account-pool.d.ts +0 -124
- package/lib/types/host/kimi-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/kimi-code/adapter.d.ts +0 -454
- package/lib/types/host/kimi-code/adapter.d.ts.map +0 -1
- package/lib/types/host/kimi-code/api-key.d.ts +0 -55
- package/lib/types/host/kimi-code/api-key.d.ts.map +0 -1
- package/lib/types/host/kimi-code/cache-affinity.d.ts +0 -112
- package/lib/types/host/kimi-code/cache-affinity.d.ts.map +0 -1
- package/lib/types/host/kimi-code/cache-hint.d.ts +0 -65
- package/lib/types/host/kimi-code/cache-hint.d.ts.map +0 -1
- package/lib/types/host/kimi-code/cache-wait.d.ts +0 -166
- package/lib/types/host/kimi-code/cache-wait.d.ts.map +0 -1
- package/lib/types/host/kimi-code/client.d.ts +0 -306
- package/lib/types/host/kimi-code/client.d.ts.map +0 -1
- package/lib/types/host/kimi-code/mapper.d.ts +0 -913
- package/lib/types/host/kimi-code/mapper.d.ts.map +0 -1
- package/lib/types/host/kimi-code/media-files.d.ts +0 -206
- package/lib/types/host/kimi-code/media-files.d.ts.map +0 -1
- package/lib/types/host/kimi-code/modalities.d.ts +0 -23
- package/lib/types/host/kimi-code/modalities.d.ts.map +0 -1
- package/lib/types/host/kimi-code/model-catalog.d.ts +0 -125
- package/lib/types/host/kimi-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/kimi-code/oauth.d.ts +0 -213
- package/lib/types/host/kimi-code/oauth.d.ts.map +0 -1
- package/lib/types/host/kimi-code/repeat-breaker.d.ts +0 -219
- package/lib/types/host/kimi-code/repeat-breaker.d.ts.map +0 -1
- package/lib/types/host/kimi-code/routes.d.ts +0 -52
- package/lib/types/host/kimi-code/routes.d.ts.map +0 -1
- package/lib/types/host/kimi-code/session-cache-state.d.ts +0 -156
- package/lib/types/host/kimi-code/session-cache-state.d.ts.map +0 -1
- package/lib/types/host/kimi-code/token-store.d.ts +0 -182
- package/lib/types/host/kimi-code/token-store.d.ts.map +0 -1
- package/lib/types/host/kimi-code/tool-argument-guard.d.ts +0 -43
- package/lib/types/host/kimi-code/tool-argument-guard.d.ts.map +0 -1
- package/lib/types/host/kimi-code/tool-argument-recovery.d.ts.map +0 -1
- package/lib/types/host/kimi-code/types.d.ts +0 -449
- package/lib/types/host/kimi-code/types.d.ts.map +0 -1
- package/lib/types/host/kimi-code/video-store.d.ts.map +0 -1
- package/lib/types/host/kimi-code/video-tool.d.ts.map +0 -1
- package/lib/types/host/minimax-code/account-pool.d.ts +0 -309
- package/lib/types/host/minimax-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/minimax-code/adapter.d.ts +0 -209
- package/lib/types/host/minimax-code/adapter.d.ts.map +0 -1
- package/lib/types/host/minimax-code/checkin-gateway.d.ts +0 -145
- package/lib/types/host/minimax-code/checkin-gateway.d.ts.map +0 -1
- package/lib/types/host/minimax-code/checkin.d.ts +0 -207
- package/lib/types/host/minimax-code/checkin.d.ts.map +0 -1
- package/lib/types/host/minimax-code/client.d.ts +0 -242
- package/lib/types/host/minimax-code/client.d.ts.map +0 -1
- package/lib/types/host/minimax-code/files-api.d.ts +0 -117
- package/lib/types/host/minimax-code/files-api.d.ts.map +0 -1
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts +0 -84
- package/lib/types/host/minimax-code/iso-bmff-duration.d.ts.map +0 -1
- package/lib/types/host/minimax-code/mapper.d.ts +0 -351
- package/lib/types/host/minimax-code/mapper.d.ts.map +0 -1
- package/lib/types/host/minimax-code/matrix-client.d.ts +0 -168
- package/lib/types/host/minimax-code/matrix-client.d.ts.map +0 -1
- package/lib/types/host/minimax-code/media-store.d.ts +0 -153
- package/lib/types/host/minimax-code/media-store.d.ts.map +0 -1
- package/lib/types/host/minimax-code/modalities.d.ts +0 -20
- package/lib/types/host/minimax-code/modalities.d.ts.map +0 -1
- package/lib/types/host/minimax-code/model-catalog.d.ts +0 -227
- package/lib/types/host/minimax-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/minimax-code/oauth.d.ts +0 -220
- package/lib/types/host/minimax-code/oauth.d.ts.map +0 -1
- package/lib/types/host/minimax-code/reset-card.d.ts +0 -136
- package/lib/types/host/minimax-code/reset-card.d.ts.map +0 -1
- package/lib/types/host/minimax-code/routes.d.ts +0 -82
- package/lib/types/host/minimax-code/routes.d.ts.map +0 -1
- package/lib/types/host/minimax-code/runtime-enhancements.d.ts +0 -226
- package/lib/types/host/minimax-code/runtime-enhancements.d.ts.map +0 -1
- package/lib/types/host/minimax-code/token-store.d.ts +0 -328
- package/lib/types/host/minimax-code/token-store.d.ts.map +0 -1
- package/lib/types/host/minimax-code/types.d.ts +0 -378
- package/lib/types/host/minimax-code/types.d.ts.map +0 -1
- package/lib/types/host/minimax-code/video-history.d.ts +0 -240
- package/lib/types/host/minimax-code/video-history.d.ts.map +0 -1
- package/lib/types/host/minimax-code/video-submit-rules.d.ts.map +0 -1
- package/lib/types/host/minimax-code/video-tool.d.ts.map +0 -1
- package/lib/types/host/model-catalog.d.ts +0 -43
- package/lib/types/host/model-catalog.d.ts.map +0 -1
- package/lib/types/host/no-answer-resume/index.d.ts.map +0 -1
- package/lib/types/host/oauth-service.d.ts +0 -242
- package/lib/types/host/oauth-service.d.ts.map +0 -1
- package/lib/types/host/ollama/account-pool.d.ts +0 -65
- package/lib/types/host/ollama/account-pool.d.ts.map +0 -1
- package/lib/types/host/ollama/adapter.d.ts +0 -85
- package/lib/types/host/ollama/adapter.d.ts.map +0 -1
- package/lib/types/host/ollama/client.d.ts +0 -166
- package/lib/types/host/ollama/client.d.ts.map +0 -1
- package/lib/types/host/ollama/mapper.d.ts +0 -49
- package/lib/types/host/ollama/mapper.d.ts.map +0 -1
- package/lib/types/host/ollama/routes.d.ts +0 -22
- package/lib/types/host/ollama/routes.d.ts.map +0 -1
- package/lib/types/host/ollama/token-store.d.ts +0 -78
- package/lib/types/host/ollama/token-store.d.ts.map +0 -1
- package/lib/types/host/ollama/types.d.ts +0 -247
- package/lib/types/host/ollama/types.d.ts.map +0 -1
- package/lib/types/host/opendesign/account-pool.d.ts +0 -54
- package/lib/types/host/opendesign/account-pool.d.ts.map +0 -1
- package/lib/types/host/opendesign/adapter.d.ts +0 -82
- package/lib/types/host/opendesign/adapter.d.ts.map +0 -1
- package/lib/types/host/opendesign/catalog.d.ts.map +0 -1
- package/lib/types/host/opendesign/client.d.ts +0 -304
- package/lib/types/host/opendesign/client.d.ts.map +0 -1
- package/lib/types/host/opendesign/line.d.ts +0 -60
- package/lib/types/host/opendesign/line.d.ts.map +0 -1
- package/lib/types/host/opendesign/mapper.d.ts +0 -218
- package/lib/types/host/opendesign/mapper.d.ts.map +0 -1
- package/lib/types/host/opendesign/oauth.d.ts.map +0 -1
- package/lib/types/host/opendesign/routes.d.ts +0 -75
- package/lib/types/host/opendesign/routes.d.ts.map +0 -1
- package/lib/types/host/opendesign/token-store.d.ts +0 -241
- package/lib/types/host/opendesign/token-store.d.ts.map +0 -1
- package/lib/types/host/opendesign/types.d.ts.map +0 -1
- package/lib/types/host/plan-mode-cache-guard.d.ts.map +0 -1
- package/lib/types/host/platform-token-store.d.ts.map +0 -1
- package/lib/types/host/preferences.d.ts +0 -26
- package/lib/types/host/preferences.d.ts.map +0 -1
- package/lib/types/host/preset-sync.d.ts +0 -161
- package/lib/types/host/preset-sync.d.ts.map +0 -1
- package/lib/types/host/progress-updates/index.d.ts.map +0 -1
- package/lib/types/host/progress-updates/nudge.d.ts.map +0 -1
- package/lib/types/host/progress-updates/projection.d.ts +0 -214
- package/lib/types/host/progress-updates/projection.d.ts.map +0 -1
- package/lib/types/host/progress-updates/prompt.d.ts.map +0 -1
- package/lib/types/host/progress-updates/routes.d.ts.map +0 -1
- package/lib/types/host/progress-updates/store.d.ts.map +0 -1
- package/lib/types/host/progress-updates/tool.d.ts.map +0 -1
- package/lib/types/host/proxy-manager.d.ts +0 -240
- package/lib/types/host/proxy-manager.d.ts.map +0 -1
- package/lib/types/host/ptc-sdk-cache-guard.d.ts +0 -104
- package/lib/types/host/ptc-sdk-cache-guard.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/adapter.d.ts +0 -39
- package/lib/types/host/qianwen-token-plan/adapter.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/cache-stats.d.ts +0 -17
- package/lib/types/host/qianwen-token-plan/cache-stats.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/client.d.ts +0 -5
- package/lib/types/host/qianwen-token-plan/client.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/mapper.d.ts +0 -71
- package/lib/types/host/qianwen-token-plan/mapper.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/model-catalog.d.ts +0 -28
- package/lib/types/host/qianwen-token-plan/model-catalog.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/routes.d.ts +0 -12
- package/lib/types/host/qianwen-token-plan/routes.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/token-store.d.ts +0 -56
- package/lib/types/host/qianwen-token-plan/token-store.d.ts.map +0 -1
- package/lib/types/host/qianwen-token-plan/types.d.ts.map +0 -1
- package/lib/types/host/qoder/account-pool.d.ts +0 -141
- package/lib/types/host/qoder/account-pool.d.ts.map +0 -1
- package/lib/types/host/qoder/adapter.d.ts +0 -169
- package/lib/types/host/qoder/adapter.d.ts.map +0 -1
- package/lib/types/host/qoder/adopt.d.ts +0 -146
- package/lib/types/host/qoder/adopt.d.ts.map +0 -1
- package/lib/types/host/qoder/client.d.ts +0 -323
- package/lib/types/host/qoder/client.d.ts.map +0 -1
- package/lib/types/host/qoder/cosy.d.ts.map +0 -1
- package/lib/types/host/qoder/mapper.d.ts +0 -332
- package/lib/types/host/qoder/mapper.d.ts.map +0 -1
- package/lib/types/host/qoder/model-catalog.d.ts +0 -231
- package/lib/types/host/qoder/model-catalog.d.ts.map +0 -1
- package/lib/types/host/qoder/oauth.d.ts +0 -151
- package/lib/types/host/qoder/oauth.d.ts.map +0 -1
- package/lib/types/host/qoder/routes.d.ts +0 -119
- package/lib/types/host/qoder/routes.d.ts.map +0 -1
- package/lib/types/host/qoder/token-store.d.ts +0 -280
- package/lib/types/host/qoder/token-store.d.ts.map +0 -1
- package/lib/types/host/qoder/types.d.ts +0 -262
- package/lib/types/host/qoder/types.d.ts.map +0 -1
- package/lib/types/host/reasoning-collapse-guard/index.d.ts +0 -364
- package/lib/types/host/reasoning-collapse-guard/index.d.ts.map +0 -1
- package/lib/types/host/relay-probe.d.ts.map +0 -1
- package/lib/types/host/relayone/adapter.d.ts +0 -46
- package/lib/types/host/relayone/adapter.d.ts.map +0 -1
- package/lib/types/host/relayone/catalog-manager.d.ts +0 -44
- package/lib/types/host/relayone/catalog-manager.d.ts.map +0 -1
- package/lib/types/host/relayone/client.d.ts +0 -5
- package/lib/types/host/relayone/client.d.ts.map +0 -1
- package/lib/types/host/relayone/image-tool.d.ts.map +0 -1
- package/lib/types/host/relayone/mapper-anthropic.d.ts +0 -49
- package/lib/types/host/relayone/mapper-anthropic.d.ts.map +0 -1
- package/lib/types/host/relayone/mapper-openai.d.ts +0 -36
- package/lib/types/host/relayone/mapper-openai.d.ts.map +0 -1
- package/lib/types/host/relayone/mapper-shared.d.ts +0 -24
- package/lib/types/host/relayone/mapper-shared.d.ts.map +0 -1
- package/lib/types/host/relayone/media-shared.d.ts +0 -18
- package/lib/types/host/relayone/media-shared.d.ts.map +0 -1
- package/lib/types/host/relayone/model-catalog.d.ts +0 -70
- package/lib/types/host/relayone/model-catalog.d.ts.map +0 -1
- package/lib/types/host/relayone/quota.d.ts +0 -28
- package/lib/types/host/relayone/quota.d.ts.map +0 -1
- package/lib/types/host/relayone/routes.d.ts +0 -17
- package/lib/types/host/relayone/routes.d.ts.map +0 -1
- package/lib/types/host/relayone/token-store.d.ts +0 -49
- package/lib/types/host/relayone/token-store.d.ts.map +0 -1
- package/lib/types/host/relayone/types.d.ts.map +0 -1
- package/lib/types/host/relayone/video-tool.d.ts.map +0 -1
- package/lib/types/host/responses-client.d.ts +0 -125
- package/lib/types/host/responses-client.d.ts.map +0 -1
- package/lib/types/host/responses-mapper.d.ts +0 -133
- package/lib/types/host/responses-mapper.d.ts.map +0 -1
- package/lib/types/host/routes.d.ts +0 -32
- package/lib/types/host/routes.d.ts.map +0 -1
- package/lib/types/host/search-provider-switcher.d.ts +0 -45
- package/lib/types/host/search-provider-switcher.d.ts.map +0 -1
- package/lib/types/host/settled-job-guard.d.ts +0 -77
- package/lib/types/host/settled-job-guard.d.ts.map +0 -1
- package/lib/types/host/step-code/account-pool.d.ts +0 -187
- package/lib/types/host/step-code/account-pool.d.ts.map +0 -1
- package/lib/types/host/step-code/adapter.d.ts +0 -158
- package/lib/types/host/step-code/adapter.d.ts.map +0 -1
- package/lib/types/host/step-code/adopt.d.ts +0 -201
- package/lib/types/host/step-code/adopt.d.ts.map +0 -1
- package/lib/types/host/step-code/cache-stats.d.ts.map +0 -1
- package/lib/types/host/step-code/client.d.ts +0 -339
- package/lib/types/host/step-code/client.d.ts.map +0 -1
- package/lib/types/host/step-code/mapper.d.ts +0 -305
- package/lib/types/host/step-code/mapper.d.ts.map +0 -1
- package/lib/types/host/step-code/model-catalog.d.ts +0 -247
- package/lib/types/host/step-code/model-catalog.d.ts.map +0 -1
- package/lib/types/host/step-code/oauth.d.ts +0 -265
- package/lib/types/host/step-code/oauth.d.ts.map +0 -1
- package/lib/types/host/step-code/routes.d.ts +0 -129
- package/lib/types/host/step-code/routes.d.ts.map +0 -1
- package/lib/types/host/step-code/token-store.d.ts +0 -325
- package/lib/types/host/step-code/token-store.d.ts.map +0 -1
- package/lib/types/host/step-code/types.d.ts +0 -492
- package/lib/types/host/step-code/types.d.ts.map +0 -1
- package/lib/types/host/subagent-model-authorization.d.ts +0 -653
- package/lib/types/host/subagent-model-authorization.d.ts.map +0 -1
- package/lib/types/host/subagent-route-audit.d.ts +0 -154
- package/lib/types/host/subagent-route-audit.d.ts.map +0 -1
- package/lib/types/host/team-policy-cache-guard.d.ts.map +0 -1
- package/lib/types/host/timeline-cache-guard.d.ts +0 -69
- package/lib/types/host/timeline-cache-guard.d.ts.map +0 -1
- package/lib/types/host/token-store-linux.d.ts.map +0 -1
- package/lib/types/host/token-store-macos.d.ts.map +0 -1
- package/lib/types/host/token-store-windows.d.ts.map +0 -1
- package/lib/types/host/token-store.d.ts +0 -81
- package/lib/types/host/token-store.d.ts.map +0 -1
- package/lib/types/host/tool-result-pruner-guard.d.ts +0 -39
- package/lib/types/host/tool-result-pruner-guard.d.ts.map +0 -1
- package/lib/types/host/update-check.d.ts +0 -118
- package/lib/types/host/update-check.d.ts.map +0 -1
- package/lib/types/host/usage-service.d.ts +0 -109
- package/lib/types/host/usage-service.d.ts.map +0 -1
- package/lib/types/host/web-provider-reconciler.d.ts.map +0 -1
- package/lib/types/host/widget-board/line-contracts.d.ts +0 -192
- package/lib/types/host/widget-board/line-contracts.d.ts.map +0 -1
- package/lib/types/host/widget-board/line-quota.d.ts +0 -279
- package/lib/types/host/widget-board/line-quota.d.ts.map +0 -1
- package/lib/types/host/widget-board/line-registry.d.ts +0 -402
- package/lib/types/host/widget-board/line-registry.d.ts.map +0 -1
- package/lib/types/host/widget-board/provider.d.ts.map +0 -1
- package/lib/types/host/wire-auth.d.ts +0 -63
- package/lib/types/host/wire-auth.d.ts.map +0 -1
- package/lib/types/host/workbuddy/account-pool.d.ts +0 -389
- package/lib/types/host/workbuddy/account-pool.d.ts.map +0 -1
- package/lib/types/host/workbuddy/adapter.d.ts +0 -250
- package/lib/types/host/workbuddy/adapter.d.ts.map +0 -1
- package/lib/types/host/workbuddy/atrest.d.ts.map +0 -1
- package/lib/types/host/workbuddy/checkin.d.ts +0 -150
- package/lib/types/host/workbuddy/checkin.d.ts.map +0 -1
- package/lib/types/host/workbuddy/client.d.ts +0 -214
- package/lib/types/host/workbuddy/client.d.ts.map +0 -1
- package/lib/types/host/workbuddy/dsml.d.ts.map +0 -1
- package/lib/types/host/workbuddy/guardrails.d.ts +0 -111
- package/lib/types/host/workbuddy/guardrails.d.ts.map +0 -1
- package/lib/types/host/workbuddy/identity.d.ts.map +0 -1
- package/lib/types/host/workbuddy/mapper.d.ts +0 -238
- package/lib/types/host/workbuddy/mapper.d.ts.map +0 -1
- package/lib/types/host/workbuddy/model-catalog.d.ts +0 -239
- package/lib/types/host/workbuddy/model-catalog.d.ts.map +0 -1
- package/lib/types/host/workbuddy/oauth.d.ts +0 -47
- package/lib/types/host/workbuddy/oauth.d.ts.map +0 -1
- package/lib/types/host/workbuddy/outbound-identity.d.ts +0 -139
- package/lib/types/host/workbuddy/outbound-identity.d.ts.map +0 -1
- package/lib/types/host/workbuddy/routes.d.ts +0 -56
- package/lib/types/host/workbuddy/routes.d.ts.map +0 -1
- package/lib/types/host/workbuddy/token-store.d.ts +0 -370
- package/lib/types/host/workbuddy/token-store.d.ts.map +0 -1
- package/lib/types/host/workbuddy/types.d.ts +0 -185
- package/lib/types/host/workbuddy/types.d.ts.map +0 -1
- /package/{icon.svg → assets/icon.svg} +0 -0
- /package/{progress-updates.svg → assets/progress-updates.svg} +0 -0
- /package/lib/types/client/{codemode → features/codemode}/highlight.d.ts +0 -0
- /package/lib/types/client/{codemode → features/codemode}/styles.d.ts +0 -0
- /package/lib/types/client/{codemode → features/codemode}/tool-name.d.ts +0 -0
- /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/locales.d.ts +0 -0
- /package/lib/types/client/{compact-after-turn → features/compact-after-turn}/styles.d.ts +0 -0
- /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/MandateToolView.d.ts +0 -0
- /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/locales.d.ts +0 -0
- /package/lib/types/client/{dispatch-ledger → features/dispatch-ledger}/styles.d.ts +0 -0
- /package/lib/types/client/{mermaid → features/mermaid}/renderer.d.ts +0 -0
- /package/lib/types/client/{mermaid → features/mermaid}/sanitize.d.ts +0 -0
- /package/lib/types/client/{mermaid → features/mermaid}/styles.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/contracts.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/guide-artwork.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/locales.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/progress-row.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/settings-binding.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/settings-section.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/styles.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/tool-name.d.ts +0 -0
- /package/lib/types/client/{progress-updates → features/progress-updates}/updates-panel.d.ts +0 -0
- /package/lib/types/client/{subagent → features/subagent}/SubagentCard.d.ts +0 -0
- /package/lib/types/client/{subagent → features/subagent}/index.d.ts +0 -0
- /package/lib/types/client/{subagent → features/subagent}/styles.d.ts +0 -0
- /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/AntigravityAcpSection.d.ts +0 -0
- /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/route.d.ts +0 -0
- /package/lib/types/client/{antigravity-acp → providers/antigravity-acp}/styles.d.ts +0 -0
- /package/lib/types/client/{aws-quick → providers/aws-quick}/AwsQuickSection.d.ts +0 -0
- /package/lib/types/client/{aws-quick → providers/aws-quick}/styles.d.ts +0 -0
- /package/lib/types/client/{claude → providers/claude}/ClaudeSection.d.ts +0 -0
- /package/lib/types/client/{claude → providers/claude}/styles.d.ts +0 -0
- /package/lib/types/client/{claude-api → providers/claude-api}/ClaudeApiSection.d.ts +0 -0
- /package/lib/types/client/{claude-api → providers/claude-api}/api.d.ts +0 -0
- /package/lib/types/client/{claude-api → providers/claude-api}/styles.d.ts +0 -0
- /package/lib/types/client/{cline-pass → providers/cline-pass}/ClinePassSection.d.ts +0 -0
- /package/lib/types/client/{cline-pass → providers/cline-pass}/locales.d.ts +0 -0
- /package/lib/types/client/{cline-pass → providers/cline-pass}/styles.d.ts +0 -0
- /package/lib/types/client/{CodexComposerQuota.d.ts → providers/codex-chatgpt/CodexComposerQuota.d.ts} +0 -0
- /package/lib/types/client/{CodexImageToolView.d.ts → providers/codex-chatgpt/CodexImageToolView.d.ts} +0 -0
- /package/lib/types/client/{store.d.ts → providers/codex-chatgpt/store.d.ts} +0 -0
- /package/lib/types/client/{styles.d.ts → providers/codex-chatgpt/styles.d.ts} +0 -0
- /package/lib/types/client/{command-code → providers/command-code}/CommandCodeSection.d.ts +0 -0
- /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/GlmCodingPlanSection.d.ts +0 -0
- /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/api.d.ts +0 -0
- /package/lib/types/client/{glm-coding-plan → providers/glm-coding-plan}/styles.d.ts +0 -0
- /package/lib/types/client/{kimi-code → providers/kimi-code}/KimiCodeSection.d.ts +0 -0
- /package/lib/types/client/{kimi-code → providers/kimi-code}/staff-art.d.ts +0 -0
- /package/lib/types/client/{kimi-code → providers/kimi-code}/styles.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxCodeSection.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/MinimaxVideoToolView.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/VideoSettingsSections.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/commands-contract.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/document-preview.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/styles.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-command-icon.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-contract.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-defaults-store.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-dropzone.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media-input.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-media.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-presets.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-slots.d.ts +0 -0
- /package/lib/types/client/{minimax-code → providers/minimax-code}/video-workspace.d.ts +0 -0
- /package/lib/types/client/{ollama → providers/ollama}/OllamaSection.d.ts +0 -0
- /package/lib/types/client/{opendesign → providers/opendesign}/OpenDesignSection.d.ts +0 -0
- /package/lib/types/client/{opendesign → providers/opendesign}/locales.d.ts +0 -0
- /package/lib/types/client/{opendesign → providers/opendesign}/styles.d.ts +0 -0
- /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/QianwenTokenPlanSection.d.ts +0 -0
- /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/api.d.ts +0 -0
- /package/lib/types/client/{qianwen-token-plan → providers/qianwen-token-plan}/styles.d.ts +0 -0
- /package/lib/types/client/{qoder → providers/qoder}/api.d.ts +0 -0
- /package/lib/types/client/{qoder → providers/qoder}/styles.d.ts +0 -0
- /package/lib/types/client/{relayone → providers/relayone}/RelayOneSection.d.ts +0 -0
- /package/lib/types/client/{relayone → providers/relayone}/api.d.ts +0 -0
- /package/lib/types/client/{relayone → providers/relayone}/styles.d.ts +0 -0
- /package/lib/types/client/{step-code → providers/step-code}/StepCodeSection.d.ts +0 -0
- /package/lib/types/client/{step-code → providers/step-code}/api.d.ts +0 -0
- /package/lib/types/client/{step-code → providers/step-code}/styles.d.ts +0 -0
- /package/lib/types/client/{workbuddy → providers/workbuddy}/styles.d.ts +0 -0
- /package/lib/types/host/{fetch-address-policy.d.ts → infra/network/fetch-address-policy.d.ts} +0 -0
- /package/lib/types/host/{relay-probe.d.ts → infra/network/relay-probe.d.ts} +0 -0
- /package/lib/types/host/{web-provider-reconciler.d.ts → infra/network/web-provider-reconciler.d.ts} +0 -0
- /package/lib/types/host/{credential-store-secret-service.d.ts → infra/storage/credential-store-secret-service.d.ts} +0 -0
- /package/lib/types/host/{platform-token-store.d.ts → infra/storage/platform-token-store.d.ts} +0 -0
- /package/lib/types/host/{token-store-linux.d.ts → infra/storage/token-store-linux.d.ts} +0 -0
- /package/lib/types/host/{token-store-macos.d.ts → infra/storage/token-store-macos.d.ts} +0 -0
- /package/lib/types/host/{token-store-windows.d.ts → infra/storage/token-store-windows.d.ts} +0 -0
- /package/lib/types/host/{common → providers/_claude-shared}/claude-capability-memory.d.ts +0 -0
- /package/lib/types/host/{common → providers/_claude-shared}/claude-code-cch.d.ts +0 -0
- /package/lib/types/host/{common → providers/_claude-shared}/claude-code-corrections.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/acp-client.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/binary.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/mcp-bridge.d.ts +0 -0
- /package/lib/types/host/{antigravity-acp → providers/antigravity-acp}/process-temp.d.ts +0 -0
- /package/lib/types/host/{aws-quick → providers/aws-quick}/execution-broker.d.ts +0 -0
- /package/lib/types/host/{aws-quick → providers/aws-quick}/markup.d.ts +0 -0
- /package/lib/types/host/{claude-api → providers/claude-api}/compaction-store.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/catalog.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/client.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/engine.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/oauth.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/protocol.d.ts +0 -0
- /package/lib/types/host/{cline-pass → providers/cline-pass}/types.d.ts +0 -0
- /package/lib/types/host/{adapter.d.ts → providers/codex-chatgpt/adapter.d.ts} +0 -0
- /package/lib/types/host/{callback-server.d.ts → providers/codex-chatgpt/callback-server.d.ts} +0 -0
- /package/lib/types/host/{codex-fetch.d.ts → providers/codex-chatgpt/codex-fetch.d.ts} +0 -0
- /package/lib/types/host/{codex-images.d.ts → providers/codex-chatgpt/codex-images.d.ts} +0 -0
- /package/lib/types/host/{codex-search.d.ts → providers/codex-chatgpt/codex-search.d.ts} +0 -0
- /package/lib/types/host/{command-code → providers/command-code}/adapter.d.ts +0 -0
- /package/lib/types/host/{command-code → providers/command-code}/plans.d.ts +0 -0
- /package/lib/types/host/{kimi-code → providers/kimi-code}/tool-argument-recovery.d.ts +0 -0
- /package/lib/types/host/{kimi-code → providers/kimi-code}/video-store.d.ts +0 -0
- /package/lib/types/host/{kimi-code → providers/kimi-code}/video-tool.d.ts +0 -0
- /package/lib/types/host/{minimax-code → providers/minimax-code}/video-submit-rules.d.ts +0 -0
- /package/lib/types/host/{minimax-code → providers/minimax-code}/video-tool.d.ts +0 -0
- /package/lib/types/host/{opendesign → providers/opendesign}/catalog.d.ts +0 -0
- /package/lib/types/host/{opendesign → providers/opendesign}/oauth.d.ts +0 -0
- /package/lib/types/host/{opendesign → providers/opendesign}/types.d.ts +0 -0
- /package/lib/types/host/{qianwen-token-plan → providers/qianwen-token-plan}/types.d.ts +0 -0
- /package/lib/types/host/{qoder → providers/qoder}/cosy.d.ts +0 -0
- /package/lib/types/host/{relayone → providers/relayone}/image-tool.d.ts +0 -0
- /package/lib/types/host/{relayone → providers/relayone}/types.d.ts +0 -0
- /package/lib/types/host/{relayone → providers/relayone}/video-tool.d.ts +0 -0
- /package/lib/types/host/{step-code → providers/step-code}/cache-stats.d.ts +0 -0
- /package/lib/types/host/{workbuddy → providers/workbuddy}/atrest.d.ts +0 -0
- /package/lib/types/host/{workbuddy → providers/workbuddy}/dsml.d.ts +0 -0
- /package/lib/types/host/{workbuddy → providers/workbuddy}/identity.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/budget.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/contracts.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/index.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/logging.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/projection.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/result-tool.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/retrieval-intent.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/store.d.ts +0 -0
- /package/lib/types/host/{cache-warmup → runtime/cache-warmup}/usage.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/discovery.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/executor.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/retention.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/rules.d.ts +0 -0
- /package/lib/types/host/{codemode → runtime/codemode}/scope.d.ts +0 -0
- /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/match.d.ts +0 -0
- /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/observation-tagger.d.ts +0 -0
- /package/lib/types/host/{deepseek-v41-flash → runtime/deepseek-v41-flash}/state-anchor.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/binding.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/index.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/policy.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/protocol.d.ts +0 -0
- /package/lib/types/host/{dispatch-ledger → runtime/dispatch-ledger}/tool.d.ts +0 -0
- /package/lib/types/host/{plan-mode-cache-guard.d.ts → runtime/guards/plan-mode-cache-guard.d.ts} +0 -0
- /package/lib/types/host/{team-policy-cache-guard.d.ts → runtime/guards/team-policy-cache-guard.d.ts} +0 -0
- /package/lib/types/host/{no-answer-resume → runtime/no-answer-resume}/index.d.ts +0 -0
- /package/lib/types/host/{agent-preset.d.ts → runtime/presets/agent-preset.d.ts} +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/index.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/nudge.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/prompt.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/routes.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/store.d.ts +0 -0
- /package/lib/types/host/{progress-updates → runtime/progress-updates}/tool.d.ts +0 -0
- /package/lib/types/host/{widget-board → runtime/widget-board}/provider.d.ts +0 -0
|
@@ -1,703 +0,0 @@
|
|
|
1
|
-
import z from "@deepseek-ai/schemastery";
|
|
2
|
-
import { Service } from "@deepseek-ai/cordis";
|
|
3
|
-
//#region src/host/codex-remote-compaction.ts
|
|
4
|
-
let rejected = false;
|
|
5
|
-
/** Whether the Codex line currently owns compaction instead of DSH. */
|
|
6
|
-
function codexRemoteCompactionEnabled(env = process.env) {
|
|
7
|
-
if (rejected) return false;
|
|
8
|
-
const raw = (env.DSH_CODEX_REMOTE_COMPACTION ?? "").trim().toLowerCase();
|
|
9
|
-
return ![
|
|
10
|
-
"0",
|
|
11
|
-
"false",
|
|
12
|
-
"no",
|
|
13
|
-
"off",
|
|
14
|
-
"none"
|
|
15
|
-
].includes(raw);
|
|
16
|
-
}
|
|
17
|
-
/** A definite protocol refusal disables remote compaction until restart. */
|
|
18
|
-
function noteCodexRemoteCompactionFailure(error) {
|
|
19
|
-
const value = typeof error === "object" && error !== null ? error : {};
|
|
20
|
-
const failure = isRecord$2(value.failure) ? value.failure : void 0;
|
|
21
|
-
const status = typeof value.status === "number" ? value.status : typeof failure?.status === "number" ? failure.status : void 0;
|
|
22
|
-
if (status !== 400 && status !== 404 && value.code !== "NOT_FOUND") return false;
|
|
23
|
-
rejected = true;
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
/** Official catalog thresholds win; otherwise Codex derives 90% of the window. */
|
|
27
|
-
function codexRemoteCompactionThreshold(capabilities) {
|
|
28
|
-
const window = positive(capabilities.contextWindow);
|
|
29
|
-
const automatic = positive(capabilities.autoCompactTokenLimit);
|
|
30
|
-
if (automatic !== null) return Math.max(1, Math.floor(window === null ? automatic : Math.min(automatic, window * .9)));
|
|
31
|
-
return window === null ? null : Math.max(1, Math.floor(window * .9));
|
|
32
|
-
}
|
|
33
|
-
/** Conservative, transport-independent estimate used only to schedule compaction. */
|
|
34
|
-
function estimateCodexPayloadTokens(payload) {
|
|
35
|
-
const text = JSON.stringify([
|
|
36
|
-
payload.instructions,
|
|
37
|
-
payload.input,
|
|
38
|
-
payload.tools
|
|
39
|
-
]) ?? "";
|
|
40
|
-
let ascii = 0;
|
|
41
|
-
let nonAscii = 0;
|
|
42
|
-
for (const char of text) if ((char.codePointAt(0) ?? 0) <= 127) ascii += 1;
|
|
43
|
-
else nonAscii += 1;
|
|
44
|
-
return Math.ceil(ascii / 4) + nonAscii;
|
|
45
|
-
}
|
|
46
|
-
function shouldCompactCodexPayload(payload, capabilities, env = process.env) {
|
|
47
|
-
if (!codexRemoteCompactionEnabled(env)) return false;
|
|
48
|
-
const threshold = codexRemoteCompactionThreshold(capabilities);
|
|
49
|
-
return threshold !== null && estimateCodexPayloadTokens(payload) >= threshold;
|
|
50
|
-
}
|
|
51
|
-
/** Official Codex remote-v2 uses an input item, not public /responses/compact. */
|
|
52
|
-
function withCodexCompactionTrigger(payload) {
|
|
53
|
-
const input = Array.isArray(payload.input) ? payload.input : [];
|
|
54
|
-
return {
|
|
55
|
-
...payload,
|
|
56
|
-
input: [...input, { type: "compaction_trigger" }]
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
/** Keep the static head and the latest user turn around a fresh checkpoint. */
|
|
60
|
-
function projectFreshCodexCompaction(payload, checkpoint) {
|
|
61
|
-
const input = Array.isArray(payload.input) ? payload.input.filter((item) => isRecord$2(item)) : [];
|
|
62
|
-
let firstUser = -1;
|
|
63
|
-
let latestUser = -1;
|
|
64
|
-
for (let index = 0; index < input.length; index += 1) {
|
|
65
|
-
if (!isUserItem(input[index])) continue;
|
|
66
|
-
if (firstUser < 0) firstUser = index;
|
|
67
|
-
latestUser = index;
|
|
68
|
-
}
|
|
69
|
-
const head = firstUser < 0 ? [] : input.slice(0, firstUser);
|
|
70
|
-
const tail = latestUser < 0 ? [] : input.slice(latestUser);
|
|
71
|
-
return {
|
|
72
|
-
...payload,
|
|
73
|
-
input: [
|
|
74
|
-
...head,
|
|
75
|
-
structuredClone(checkpoint.item),
|
|
76
|
-
...tail
|
|
77
|
-
]
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
/** Latest valid checkpoint in the persisted DSH transcript, if one exists. */
|
|
81
|
-
function latestCodexCompaction(messages, model, compHash) {
|
|
82
|
-
if (!codexRemoteCompactionEnabled()) return null;
|
|
83
|
-
for (let index = messages.length - 1; index >= 0; index -= 1) {
|
|
84
|
-
const message = messages[index];
|
|
85
|
-
if (message.role !== "assistant" || message.source?.kind !== "model") continue;
|
|
86
|
-
const checkpoint = checkpointFromMetadata(record(record(record(message.source.replayState)?.response)?.nativeCompaction), model, compHash);
|
|
87
|
-
if (checkpoint !== null) return {
|
|
88
|
-
index,
|
|
89
|
-
checkpoint
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
return null;
|
|
93
|
-
}
|
|
94
|
-
/** Read a checkpoint only when its model configuration remains compatible. */
|
|
95
|
-
function checkpointFromMetadata(metadata, model, compHash) {
|
|
96
|
-
if (metadata === null || metadata.model !== model || !isCompactionItem(metadata.item)) return null;
|
|
97
|
-
const mintedHash = typeof metadata.compHash === "string" ? metadata.compHash : void 0;
|
|
98
|
-
if (mintedHash !== void 0 && compHash != null && mintedHash !== compHash) return null;
|
|
99
|
-
return {
|
|
100
|
-
item: structuredClone(metadata.item),
|
|
101
|
-
model,
|
|
102
|
-
...mintedHash === void 0 ? {} : { compHash: mintedHash }
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
/** Extract exactly one opaque compaction item from a completed remote-v2 stream. */
|
|
106
|
-
function checkpointFromOutputItems(items, model, compHash) {
|
|
107
|
-
const found = items.filter(isCompactionItem);
|
|
108
|
-
if (found.length !== 1) return null;
|
|
109
|
-
return {
|
|
110
|
-
item: structuredClone(found[0]),
|
|
111
|
-
model,
|
|
112
|
-
...compHash == null ? {} : { compHash }
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
/** Finish-chunk metadata persisted on the ordinary assistant answer. */
|
|
116
|
-
function codexCompactionReplayMetadata(checkpoint) {
|
|
117
|
-
return {
|
|
118
|
-
model: checkpoint.model,
|
|
119
|
-
...checkpoint.compHash === void 0 ? {} : { compHash: checkpoint.compHash },
|
|
120
|
-
item: structuredClone(checkpoint.item)
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function isCompactionItem(value) {
|
|
124
|
-
return isRecord$2(value) && value.type === "compaction" && typeof value.encrypted_content === "string" && value.encrypted_content.length > 0;
|
|
125
|
-
}
|
|
126
|
-
function isUserItem(item) {
|
|
127
|
-
return item.role === "user" && (item.type === void 0 || item.type === "message");
|
|
128
|
-
}
|
|
129
|
-
function positive(value) {
|
|
130
|
-
return typeof value === "number" && Number.isSafeInteger(value) && value > 0 ? value : null;
|
|
131
|
-
}
|
|
132
|
-
function record(value) {
|
|
133
|
-
return isRecord$2(value) ? value : null;
|
|
134
|
-
}
|
|
135
|
-
function isRecord$2(value) {
|
|
136
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
137
|
-
}
|
|
138
|
-
//#endregion
|
|
139
|
-
//#region src/host/deepseek-v41-flash/match.ts
|
|
140
|
-
/**
|
|
141
|
-
* DeepSeek V4.1 Flash 模型精准识别与跨代路由提取。
|
|
142
|
-
*
|
|
143
|
-
* 本模块是所有 DeepSeek V4.1 Flash 专属优化的唯一准入门:
|
|
144
|
-
* 只有真正在跑 DeepSeek V4.1 Flash(含 1017 快照、eco / fast 变体,以及
|
|
145
|
-
* 官方线路的 `deepseek-flash` 别名)的请求/会话才会返回 `true`;其余任何线路、
|
|
146
|
-
* 任何其他模型(包括 `deepseek-v4-pro`、`deepseek-v4-flash`、Qoder 下的老
|
|
147
|
-
* `DeepSeek-Flash`、Claude、GPT、Kimi、MiniMax、GLM、Qwen 等)一律返回 `false`。
|
|
148
|
-
*
|
|
149
|
-
* @module @eddyskywalker/dsh-chatgpt-subscription/host/deepseek-v41-flash/match
|
|
150
|
-
*/
|
|
151
|
-
/** DeepSeek 官方第一方线路 ID(其目录中 `deepseek-flash` 明确指向 DeepSeek-V4.1-Flash)。 */
|
|
152
|
-
const DEEPSEEK_OFFICIAL_PROVIDERS = /* @__PURE__ */ new Set([
|
|
153
|
-
"deepseek-official",
|
|
154
|
-
"deepseek-account",
|
|
155
|
-
"deepseek"
|
|
156
|
-
]);
|
|
157
|
-
/**
|
|
158
|
-
* 匹配任意命名空间下显式标明 V4.1 Flash 的裸模型名:
|
|
159
|
-
* - `deepseek-v4.1-flash` / `deepseek-v4.1-flash-1017` / `deepseek-v4.1-flash-eco` / `deepseek-v4.1-flash-fast`
|
|
160
|
-
* - `deepseek-v4p1-flash-1017`(部分网关 VMC/私有路由写法)
|
|
161
|
-
* - `deepseek_v4_1_flash` / `public_model_deepseek_v4_1_flash`
|
|
162
|
-
*
|
|
163
|
-
* 刻意不匹配:`deepseek-v4-flash`(旧一代 V4 Flash)、`deepseek-v4-pro`、`deepseek-chat`、`deepseek-reasoner`。
|
|
164
|
-
*/
|
|
165
|
-
const EXPLICIT_V41_FLASH_PATTERN = /^(?:public[-_.]model[-_.])?deepseek[-_.]?v4(?:[._p]|[-_])1[-_.]?flash(?:[-_.]|$)/i;
|
|
166
|
-
/** 官方第一方线路上代表 DeepSeek-V4.1-Flash 的标准别名。 */
|
|
167
|
-
const OFFICIAL_FLASH_ALIAS_PATTERN = /^deepseek[-_.]?flash(?:[-_.]1017)?$/i;
|
|
168
|
-
/** 从可能带命名空间前缀的模型 ID 中取出最后一段裸名。 */
|
|
169
|
-
function bareModelId(model) {
|
|
170
|
-
const trimmed = model.trim();
|
|
171
|
-
const slash = trimmed.lastIndexOf("/");
|
|
172
|
-
return slash >= 0 ? trimmed.slice(slash + 1) : trimmed;
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* 判断一次请求或会话是否运行在 DeepSeek V4.1 Flash 上。
|
|
176
|
-
*
|
|
177
|
-
* - 任意 provider 下,显式 V4.1 Flash 模型 ID 均命中;
|
|
178
|
-
* - 裸别名 `deepseek-flash` 仅在 DeepSeek 官方第一方线路上命中,避免误伤
|
|
179
|
-
* 第三方线路里仍指向旧代 `DeepSeek-V4-Flash` 的同名别名(例如 Qoder)。
|
|
180
|
-
*
|
|
181
|
-
* @param model - 模型 ID。
|
|
182
|
-
* @param provider - 可选的 provider ID。
|
|
183
|
-
* @returns 确认为 DeepSeek V4.1 Flash 时返回 `true`。
|
|
184
|
-
*/
|
|
185
|
-
function isDeepSeekV41Flash(model, provider) {
|
|
186
|
-
if (typeof model !== "string") return false;
|
|
187
|
-
const bare = bareModelId(model);
|
|
188
|
-
if (bare.length === 0) return false;
|
|
189
|
-
if (EXPLICIT_V41_FLASH_PATTERN.test(bare)) return true;
|
|
190
|
-
if (typeof provider === "string" && DEEPSEEK_OFFICIAL_PROVIDERS.has(provider.trim().toLowerCase())) return OFFICIAL_FLASH_ALIAS_PATTERN.test(bare);
|
|
191
|
-
return false;
|
|
192
|
-
}
|
|
193
|
-
function isRecord$1(value) {
|
|
194
|
-
return typeof value === "object" && value !== null;
|
|
195
|
-
}
|
|
196
|
-
function nonEmptyString(value) {
|
|
197
|
-
return typeof value === "string" && value.length > 0 ? value : void 0;
|
|
198
|
-
}
|
|
199
|
-
function readEffort(value) {
|
|
200
|
-
if (typeof value === "string" && value.length > 0) return value;
|
|
201
|
-
if (typeof value === "number" && Number.isFinite(value)) return String(value);
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* 从会话对象(`Session`)读取路由元数据。
|
|
205
|
-
*
|
|
206
|
-
* 按可靠性顺序读取:`requestHeader().config` → 扁平字段。
|
|
207
|
-
* 每步独立容错,不依赖任何单一 harness 代次类型。
|
|
208
|
-
*/
|
|
209
|
-
function readSessionRoute(session) {
|
|
210
|
-
if (!isRecord$1(session)) return {};
|
|
211
|
-
let provider;
|
|
212
|
-
let model;
|
|
213
|
-
let reasoningEffort;
|
|
214
|
-
const requestHeader = session["requestHeader"];
|
|
215
|
-
if (typeof requestHeader === "function") try {
|
|
216
|
-
const header = requestHeader.call(session);
|
|
217
|
-
if (isRecord$1(header)) {
|
|
218
|
-
const config = header["config"];
|
|
219
|
-
if (isRecord$1(config)) {
|
|
220
|
-
provider = nonEmptyString(config["provider"]);
|
|
221
|
-
model = nonEmptyString(config["model"]);
|
|
222
|
-
reasoningEffort = readEffort(config["reasoningEffort"]);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
} catch {}
|
|
226
|
-
provider ??= nonEmptyString(session["provider"]);
|
|
227
|
-
model ??= nonEmptyString(session["model"]);
|
|
228
|
-
reasoningEffort ??= readEffort(session["reasoningEffort"]);
|
|
229
|
-
const sessionId = nonEmptyString((isRecord$1(session["header"]) ? session["header"] : void 0)?.["id"]) ?? nonEmptyString(session["id"]);
|
|
230
|
-
return {
|
|
231
|
-
...provider === void 0 ? {} : { provider },
|
|
232
|
-
...model === void 0 ? {} : { model },
|
|
233
|
-
...sessionId === void 0 ? {} : { sessionId },
|
|
234
|
-
...reasoningEffort === void 0 ? {} : { reasoningEffort }
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* 从 `agent` / `scope` / `AssembleContext` 跨代读取完整路由。
|
|
239
|
-
*
|
|
240
|
-
* 优先级(与 `ptc-sdk-cache-guard` / `compaction-policy-guard` 对齐):
|
|
241
|
-
* 1. 显式传入的 `modelSelection`(当步已锁定的选择,覆盖首步与刚切模型瞬间);
|
|
242
|
-
* 2. `scope.model.current()`(agent 自己的模型选择读面,反映 pending ?? lastUsed);
|
|
243
|
-
* 3. `scope.session.requestHeader().config`(已落盘的请求头快照);
|
|
244
|
-
* 4. `scope.options` 与裸字段兜底。
|
|
245
|
-
*/
|
|
246
|
-
function readScopeRoute(scope, modelSelection) {
|
|
247
|
-
let provider;
|
|
248
|
-
let model;
|
|
249
|
-
let sessionId;
|
|
250
|
-
let reasoningEffort;
|
|
251
|
-
const absorb = (candidate) => {
|
|
252
|
-
if (!isRecord$1(candidate)) return;
|
|
253
|
-
provider ??= nonEmptyString(candidate["provider"]);
|
|
254
|
-
model ??= nonEmptyString(candidate["model"]);
|
|
255
|
-
reasoningEffort ??= readEffort(candidate["reasoningEffort"]);
|
|
256
|
-
};
|
|
257
|
-
absorb(modelSelection);
|
|
258
|
-
if (isRecord$1(scope)) {
|
|
259
|
-
const modelService = scope["model"];
|
|
260
|
-
if (isRecord$1(modelService) && typeof modelService["current"] === "function") try {
|
|
261
|
-
absorb(modelService["current"].call(modelService));
|
|
262
|
-
} catch {}
|
|
263
|
-
const sessionRoute = readSessionRoute(scope["session"]);
|
|
264
|
-
provider ??= sessionRoute.provider;
|
|
265
|
-
model ??= sessionRoute.model;
|
|
266
|
-
sessionId ??= sessionRoute.sessionId;
|
|
267
|
-
reasoningEffort ??= sessionRoute.reasoningEffort;
|
|
268
|
-
absorb(scope["options"]);
|
|
269
|
-
absorb(scope["config"]);
|
|
270
|
-
absorb(scope);
|
|
271
|
-
sessionId ??= nonEmptyString(scope["id"]);
|
|
272
|
-
}
|
|
273
|
-
return {
|
|
274
|
-
...provider === void 0 ? {} : { provider },
|
|
275
|
-
...model === void 0 ? {} : { model },
|
|
276
|
-
...sessionId === void 0 ? {} : { sessionId },
|
|
277
|
-
...reasoningEffort === void 0 ? {} : { reasoningEffort }
|
|
278
|
-
};
|
|
279
|
-
}
|
|
280
|
-
/** 快捷判断:给定 scope/agent(及可选当步 `modelSelection`)是否为 DeepSeek V4.1 Flash。 */
|
|
281
|
-
function isDeepSeekV41FlashScope(scope, modelSelection) {
|
|
282
|
-
const route = readScopeRoute(scope, modelSelection);
|
|
283
|
-
return isDeepSeekV41Flash(route.model, route.provider);
|
|
284
|
-
}
|
|
285
|
-
/** 快捷判断:给定 session 对象是否为 DeepSeek V4.1 Flash。 */
|
|
286
|
-
function isDeepSeekV41FlashSession(session) {
|
|
287
|
-
const route = readSessionRoute(session);
|
|
288
|
-
return isDeepSeekV41Flash(route.model, route.provider);
|
|
289
|
-
}
|
|
290
|
-
//#endregion
|
|
291
|
-
//#region src/entry-tool-result-pruner.ts
|
|
292
|
-
/**
|
|
293
|
-
* 「工具结果修剪器」的宿主入口 —— 本包自己的 loader 行(fork 版)。
|
|
294
|
-
*
|
|
295
|
-
* DSH 官方的 `@deepseek-ai/dsh-compaction-tool-result-pruner` 只按**字符预算**
|
|
296
|
-
* 修剪历史工具结果:超过 `thresholdChars` 的文本按码点保留头部与尾部、中间换成
|
|
297
|
-
* 固定标记,再以 `surfaceOp: replace` 追加一条新的 `tool/result`,并紧挨着写一条
|
|
298
|
-
* `compaction/prune` 计价事件。这套语义本身与 provider 无关,本文件逐字照搬,
|
|
299
|
-
* 因此行为可以与官方实现一一对照。
|
|
300
|
-
*
|
|
301
|
-
* 与官方实现的两点差别,也正是 "fork" 的全部理由:
|
|
302
|
-
*
|
|
303
|
-
* 1. **provider 感知的跳过**。缓存前缀型 provider(`kimi-code` 与 `minimax-code`)上,改写历史工具
|
|
304
|
-
* 结果会把 provider 侧的 content-prefix 缓存从被改写点一直作废到对话末尾:
|
|
305
|
-
* 实测 838k token 的会话里,一次修剪省下约 418k token 的上下文,却要按全价
|
|
306
|
-
* 重建约 414k token 的前缀,比摘要式压缩贵得多。所以对这类 provider 直接跳过,
|
|
307
|
-
* 一次都不改历史。
|
|
308
|
-
* 2. **不 import 任何 harness 的 compaction/session/token-meter 包**。本包的
|
|
309
|
-
* `peerDependencies` 里没有它们(也不该有:装不装它们不该由本包决定),
|
|
310
|
-
* 所以全部按**结构契约**描述:`SessionLike` / `SessionEventLike` /
|
|
311
|
-
* `ToolResultMessageLike` 都是本文件里的局部接口,`deepFreeze` 也是本地实现。
|
|
312
|
-
* 这样从 0.1.2-alpha.5 到 0.2.2-rc.3 的每一代 harness 都能解析这个模块。
|
|
313
|
-
*
|
|
314
|
-
* 与官方实现的一致性以测试锁定:`test/tool-result-pruner.test.ts` 覆盖配置校验、
|
|
315
|
-
* 代理对不劈开、非文本块不计价、以及 `compaction/prune` 与替换事件的先后顺序。
|
|
316
|
-
*
|
|
317
|
-
* @module @eddyskywalker/dsh-chatgpt-subscription/tool-result-pruner
|
|
318
|
-
*/
|
|
319
|
-
/** 替换被删除中间段的固定标记。与官方实现逐字一致。 */
|
|
320
|
-
const PRUNE_MARKER = "\n\n[... tool result middle pruned ...]\n\n";
|
|
321
|
-
/** 编码代理工具输出的低摩擦默认值。与官方实现逐字一致。 */
|
|
322
|
-
const DEFAULTS = deepFreeze({
|
|
323
|
-
thresholdChars: 8192,
|
|
324
|
-
headChars: 4096,
|
|
325
|
-
tailChars: 1024
|
|
326
|
-
});
|
|
327
|
-
/**
|
|
328
|
-
* 默认跳过的 provider。
|
|
329
|
-
*
|
|
330
|
-
* `kimi-code` 与 `minimax-code` 都是缓存前缀型 provider:改写历史工具结果会让
|
|
331
|
-
* provider 侧的前缀缓存从改写点失效到对话末尾,重建成本高于修剪省下的输入,
|
|
332
|
-
* 所以对这两条线路默认一次都不改历史。这个名单可以通过配置 `skipProviders`
|
|
333
|
-
* 整体替换(传空数组即恢复"对所有 provider 都修剪")。
|
|
334
|
-
*/
|
|
335
|
-
const DEFAULT_SKIP_PROVIDERS = deepFreeze([
|
|
336
|
-
"kimi-code",
|
|
337
|
-
"minimax-code",
|
|
338
|
-
"qianwen-token-plan",
|
|
339
|
-
"claude-api",
|
|
340
|
-
"claude",
|
|
341
|
-
"claude-subscription"
|
|
342
|
-
]);
|
|
343
|
-
/**
|
|
344
|
-
* 服务名契约。
|
|
345
|
-
*
|
|
346
|
-
* 宿主级守卫要按名字在 `ctx.reflect.store` 与 `agent.ctx.get()` 里找实例,
|
|
347
|
-
* 所以这个名字必须导出一份,不能在两处各写一个字符串字面量。
|
|
348
|
-
*/
|
|
349
|
-
const PRUNER_SERVICE_NAME = "toolResultPruner";
|
|
350
|
-
/** 允许出现在配置里的键。 */
|
|
351
|
-
const CONFIG_KEYS = /* @__PURE__ */ new Set([
|
|
352
|
-
"thresholdChars",
|
|
353
|
-
"headChars",
|
|
354
|
-
"tailChars",
|
|
355
|
-
"skipProviders"
|
|
356
|
-
]);
|
|
357
|
-
/**
|
|
358
|
-
* 本地深冻结。
|
|
359
|
-
*
|
|
360
|
-
* 不 import `deepFreeze` 的 harness 实现(`@deepseek-ai/dsh-util-values` 不在
|
|
361
|
-
* 本包依赖里),但语义保持一致:冻结自身与所有对象型子值,返回同一个引用。
|
|
362
|
-
*
|
|
363
|
-
* @param value - 待冻结的值。
|
|
364
|
-
* @returns 同一个引用,已就地冻结。
|
|
365
|
-
*/
|
|
366
|
-
function deepFreeze(value) {
|
|
367
|
-
if (value === null || typeof value !== "object" || Object.isFrozen(value)) return value;
|
|
368
|
-
Object.freeze(value);
|
|
369
|
-
for (const key of Object.getOwnPropertyNames(value)) {
|
|
370
|
-
const child = value[key];
|
|
371
|
-
if (child !== null && typeof child === "object") deepFreeze(child);
|
|
372
|
-
}
|
|
373
|
-
return value;
|
|
374
|
-
}
|
|
375
|
-
/**
|
|
376
|
-
* 按 Unicode 码点计数,不劈开代理对。
|
|
377
|
-
*
|
|
378
|
-
* @param text - 待测量的文本。
|
|
379
|
-
* @returns 码点数。
|
|
380
|
-
*/
|
|
381
|
-
function codePointLength(text) {
|
|
382
|
-
return Array.from(text).length;
|
|
383
|
-
}
|
|
384
|
-
/**
|
|
385
|
-
* 校验并解析字符预算。
|
|
386
|
-
*
|
|
387
|
-
* 校验规则与官方实现逐字对齐:未知键报错、`thresholdChars` 必须为正整数、
|
|
388
|
-
* 头尾必须为非负整数、且 `headChars + marker + tailChars` 不得超过阈值。
|
|
389
|
-
*
|
|
390
|
-
* @param config - 原始配置。
|
|
391
|
-
* @returns 已脱离原对象且深冻结的配置。
|
|
392
|
-
*/
|
|
393
|
-
function resolveConfig(config = {}) {
|
|
394
|
-
for (const key of Object.keys(config)) if (!CONFIG_KEYS.has(key)) throw new Error(`ToolResultPruneConfig: unknown key "${key}" (allowed: thresholdChars, headChars, tailChars, skipProviders)`);
|
|
395
|
-
const resolved = {
|
|
396
|
-
thresholdChars: config.thresholdChars ?? DEFAULTS.thresholdChars,
|
|
397
|
-
headChars: config.headChars ?? DEFAULTS.headChars,
|
|
398
|
-
tailChars: config.tailChars ?? DEFAULTS.tailChars
|
|
399
|
-
};
|
|
400
|
-
assertPositiveInteger("thresholdChars", resolved.thresholdChars);
|
|
401
|
-
assertNonNegativeInteger("headChars", resolved.headChars);
|
|
402
|
-
assertNonNegativeInteger("tailChars", resolved.tailChars);
|
|
403
|
-
const emittedChars = resolved.headChars + codePointLength(PRUNE_MARKER) + resolved.tailChars;
|
|
404
|
-
if (emittedChars > resolved.thresholdChars) throw new Error(`ToolResultPruneConfig: headChars + marker + tailChars (${emittedChars}) must be at most thresholdChars (${resolved.thresholdChars})`);
|
|
405
|
-
return deepFreeze(structuredClone(resolved));
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* 把跳过名单解析成一个只读集合。
|
|
409
|
-
*
|
|
410
|
-
* @param skipProviders - 配置里的名单;省略时用 {@link DEFAULT_SKIP_PROVIDERS}。
|
|
411
|
-
* @returns 只读集合(每次调用都是新的实例)。
|
|
412
|
-
*/
|
|
413
|
-
function resolveSkipProviders(skipProviders) {
|
|
414
|
-
return new Set(skipProviders ?? DEFAULT_SKIP_PROVIDERS);
|
|
415
|
-
}
|
|
416
|
-
/** 单例化的默认跳过集合,省掉热路径上的重复分配。 */
|
|
417
|
-
let defaultSkipProviderSet;
|
|
418
|
-
/**
|
|
419
|
-
* 默认跳过集合(惰性单例)。
|
|
420
|
-
*
|
|
421
|
-
* @returns 默认名单(`kimi-code` 与 `minimax-code`)对应的只读集合。
|
|
422
|
-
*/
|
|
423
|
-
function defaultSkipProviders() {
|
|
424
|
-
defaultSkipProviderSet ??= new Set(DEFAULT_SKIP_PROVIDERS);
|
|
425
|
-
return defaultSkipProviderSet;
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
* 读会话的 provider id。
|
|
429
|
-
*
|
|
430
|
-
* 先读 `requestHeader().config.provider`(新代的权威来源),读不到再退回扁平
|
|
431
|
-
* 的 `session.provider`(跨代兼容形状)。任何一步抛错都只是"读不到",不影响
|
|
432
|
-
* 修剪本身。
|
|
433
|
-
*
|
|
434
|
-
* @param session - 任意会话对象。
|
|
435
|
-
* @returns provider id,读不到时为 `undefined`。
|
|
436
|
-
*/
|
|
437
|
-
function readSessionProvider(session) {
|
|
438
|
-
if (session === null || typeof session !== "object") return void 0;
|
|
439
|
-
const candidate = session;
|
|
440
|
-
if (typeof candidate.requestHeader === "function") try {
|
|
441
|
-
const provider = candidate.requestHeader()?.config?.provider;
|
|
442
|
-
if (typeof provider === "string" && provider.length > 0) return provider;
|
|
443
|
-
} catch {}
|
|
444
|
-
const flat = candidate.provider;
|
|
445
|
-
if (typeof flat === "string" && flat.length > 0) return flat;
|
|
446
|
-
}
|
|
447
|
-
/**
|
|
448
|
-
* 判断这一场会话是否应当整场跳过修剪。
|
|
449
|
-
*
|
|
450
|
-
* 判定只依赖会话本身,不读事件、不写日志:命中时 {@link ToolResultPruner.pruneSession}
|
|
451
|
-
* 会在任何读写之前直接返回空结果。
|
|
452
|
-
*
|
|
453
|
-
* @param session - 任意会话对象。
|
|
454
|
-
* @param skipProviders - 跳过名单;省略时用默认的 `['kimi-code', 'minimax-code']`。
|
|
455
|
-
* @returns 命中名单时为 `true`。
|
|
456
|
-
*/
|
|
457
|
-
function shouldSkipPruningForSession(session, skipProviders = defaultSkipProviders(), skipDeepSeekV41Flash = skipProviders === defaultSkipProviderSet) {
|
|
458
|
-
const provider = readSessionProvider(session);
|
|
459
|
-
if (provider !== void 0) {
|
|
460
|
-
if (provider === "codex-chatgpt" && codexRemoteCompactionEnabled()) return true;
|
|
461
|
-
if (skipProviders.has(provider)) return true;
|
|
462
|
-
}
|
|
463
|
-
if (skipDeepSeekV41Flash && isDeepSeekV41FlashSession(session)) return true;
|
|
464
|
-
return false;
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
* 断言一个正整数配置项。
|
|
468
|
-
*
|
|
469
|
-
* @param name - 配置项名,用于报错文案。
|
|
470
|
-
* @param value - 配置值。
|
|
471
|
-
*/
|
|
472
|
-
function assertPositiveInteger(name, value) {
|
|
473
|
-
if (!Number.isInteger(value) || value <= 0) throw new Error(`ToolResultPruneConfig: ${name} (${value}) must be a positive integer`);
|
|
474
|
-
}
|
|
475
|
-
/**
|
|
476
|
-
* 断言一个非负整数配置项。
|
|
477
|
-
*
|
|
478
|
-
* @param name - 配置项名,用于报错文案。
|
|
479
|
-
* @param value - 配置值。
|
|
480
|
-
*/
|
|
481
|
-
function assertNonNegativeInteger(name, value) {
|
|
482
|
-
if (!Number.isInteger(value) || value < 0) throw new Error(`ToolResultPruneConfig: ${name} (${value}) must be a non-negative integer`);
|
|
483
|
-
}
|
|
484
|
-
/**
|
|
485
|
-
* 判断一个值是否是普通对象。
|
|
486
|
-
*
|
|
487
|
-
* @param value - 任意值。
|
|
488
|
-
* @returns 是非 null 的对象时为 `true`。
|
|
489
|
-
*/
|
|
490
|
-
function isRecord(value) {
|
|
491
|
-
return typeof value === "object" && value !== null;
|
|
492
|
-
}
|
|
493
|
-
/**
|
|
494
|
-
* 从事件负载里取工具结果消息。
|
|
495
|
-
*
|
|
496
|
-
* @param event - 一条 `tool/result` 事件。
|
|
497
|
-
* @returns 消息形状;取不到时为 `undefined`。
|
|
498
|
-
*/
|
|
499
|
-
function readEventMessage(event) {
|
|
500
|
-
const data = event.data;
|
|
501
|
-
if (!isRecord(data)) return void 0;
|
|
502
|
-
const message = data["message"];
|
|
503
|
-
if (!isRecord(message)) return void 0;
|
|
504
|
-
return message;
|
|
505
|
-
}
|
|
506
|
-
/**
|
|
507
|
-
* 读一条工具结果的工具调用 id。
|
|
508
|
-
*
|
|
509
|
-
* 优先读事件负载(`event.data.message.source.callId`,与官方实现一致),读不到
|
|
510
|
-
* 再退回已派生消息上的同名字段。
|
|
511
|
-
*
|
|
512
|
-
* @param event - 一条 `tool/result` 事件。
|
|
513
|
-
* @param message - 由该事件派生出的消息。
|
|
514
|
-
* @returns 字符串形式的 callId;读不到时为空字符串。
|
|
515
|
-
*/
|
|
516
|
-
function readCallId(event, message) {
|
|
517
|
-
const fromEvent = readEventMessage(event)?.source?.callId;
|
|
518
|
-
const fromMessage = message?.source?.callId;
|
|
519
|
-
const raw = fromEvent ?? fromMessage;
|
|
520
|
-
if (typeof raw === "string") return raw;
|
|
521
|
-
if (raw === void 0 || raw === null) return "";
|
|
522
|
-
return String(raw);
|
|
523
|
-
}
|
|
524
|
-
/**
|
|
525
|
-
* 确定性的、免模型的工具结果修剪服务(provider 感知版)。
|
|
526
|
-
*
|
|
527
|
-
* 与官方实现的差别只在两处:`pruneSession` 先按 provider 判定是否整场跳过,
|
|
528
|
-
* 且 token 计价走结构探测(`ctx.tokenMeter` 缺失时按 0 计),因此这一行在没有
|
|
529
|
-
* token-meter 的宿主上也能工作。
|
|
530
|
-
*/
|
|
531
|
-
var ToolResultPruner = class extends Service {
|
|
532
|
-
/**
|
|
533
|
-
* 每个被遮蔽节点都要计价,所以修剪确实需要计价能力。
|
|
534
|
-
*
|
|
535
|
-
* 声明成注入依赖是为了拿到 harness 提供的 meter;实现里仍按结构探测读取,
|
|
536
|
-
* 这样直接 `new` 出来的实例(测试、宿主自建)不会因为缺服务而炸掉。
|
|
537
|
-
*/
|
|
538
|
-
static inject = ["tokenMeter"];
|
|
539
|
-
/** loader 侧的配置 schema:与官方实现同样的三个数值项。 */
|
|
540
|
-
static Config = z.object({
|
|
541
|
-
thresholdChars: z.number().step(1).min(1).default(DEFAULTS.thresholdChars),
|
|
542
|
-
headChars: z.number().step(1).min(0).default(DEFAULTS.headChars),
|
|
543
|
-
tailChars: z.number().step(1).min(0).default(DEFAULTS.tailChars)
|
|
544
|
-
});
|
|
545
|
-
/** 解析后不可变的字符预算。 */
|
|
546
|
-
config;
|
|
547
|
-
/** 命中即整场跳过的 provider 集合。 */
|
|
548
|
-
skipProviders;
|
|
549
|
-
/** 未显式覆写跳过名单时,默认按模型跳过 DeepSeek V4.1 Flash 以保护 50x 前缀缓存。 */
|
|
550
|
-
skipDeepSeekV41Flash;
|
|
551
|
-
/**
|
|
552
|
-
* @param ctx - 宿主上下文(服务自注册为 `toolResultPruner`)。
|
|
553
|
-
* @param config - 原始配置。
|
|
554
|
-
*/
|
|
555
|
-
constructor(ctx, config = {}) {
|
|
556
|
-
super(ctx, PRUNER_SERVICE_NAME);
|
|
557
|
-
this.config = resolveConfig(config);
|
|
558
|
-
this.skipProviders = resolveSkipProviders(config.skipProviders);
|
|
559
|
-
this.skipDeepSeekV41Flash = config.skipProviders === void 0;
|
|
560
|
-
}
|
|
561
|
-
/**
|
|
562
|
-
* 只统计文本块的码点数;非文本块不计价。
|
|
563
|
-
*
|
|
564
|
-
* @param blocks - 待测量的工具结果内容。
|
|
565
|
-
* @returns 所有 text 块的码点数合计。
|
|
566
|
-
*/
|
|
567
|
-
measureContent(blocks) {
|
|
568
|
-
let chars = 0;
|
|
569
|
-
for (const block of blocks) if (block.type === "text") chars += codePointLength(block.text);
|
|
570
|
-
return chars;
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* 把超预算的文本中间段换成标记,同时保留富内容块的顺序。
|
|
574
|
-
*
|
|
575
|
-
* 切片按 Unicode 码点而不是 UTF-16 码元,因此保留边界不会劈开代理对;
|
|
576
|
-
* 字素簇仍可能被切开(与官方实现一致)。
|
|
577
|
-
*
|
|
578
|
-
* @param blocks - 原始工具结果内容。
|
|
579
|
-
* @returns 已修剪的内容;文本在预算内时为 `null`。
|
|
580
|
-
*/
|
|
581
|
-
pruneContent(blocks) {
|
|
582
|
-
const totalChars = this.measureContent(blocks);
|
|
583
|
-
if (totalChars <= this.config.thresholdChars) return null;
|
|
584
|
-
const removedStart = this.config.headChars;
|
|
585
|
-
const removedEnd = totalChars - this.config.tailChars;
|
|
586
|
-
const pruned = [];
|
|
587
|
-
let consumed = 0;
|
|
588
|
-
let markerInserted = false;
|
|
589
|
-
for (const block of blocks) {
|
|
590
|
-
if (block.type !== "text") {
|
|
591
|
-
pruned.push(block);
|
|
592
|
-
continue;
|
|
593
|
-
}
|
|
594
|
-
const points = Array.from(block.text);
|
|
595
|
-
const blockStart = consumed;
|
|
596
|
-
const blockEnd = blockStart + points.length;
|
|
597
|
-
const headEnd = Math.min(points.length, Math.max(0, removedStart - blockStart));
|
|
598
|
-
const tailStart = Math.min(points.length, Math.max(0, removedEnd - blockStart));
|
|
599
|
-
const marker = blockStart < removedEnd && blockEnd > removedStart && !markerInserted ? PRUNE_MARKER : "";
|
|
600
|
-
if (marker.length > 0) markerInserted = true;
|
|
601
|
-
const text = points.slice(0, headEnd).join("") + marker + points.slice(tailStart).join("");
|
|
602
|
-
if (text.length > 0) pruned.push({
|
|
603
|
-
...block,
|
|
604
|
-
text
|
|
605
|
-
});
|
|
606
|
-
consumed = blockEnd;
|
|
607
|
-
}
|
|
608
|
-
if (!markerInserted) throw new Error("tool-result prune: failed to locate the removed text span");
|
|
609
|
-
const charsAfter = this.measureContent(pruned);
|
|
610
|
-
if (charsAfter > this.config.thresholdChars || charsAfter >= totalChars) throw new Error("tool-result prune: replacement must be smaller and within threshold");
|
|
611
|
-
return pruned;
|
|
612
|
-
}
|
|
613
|
-
/**
|
|
614
|
-
* 从当前稳定表层快照修剪所有超预算的工具结果。
|
|
615
|
-
*
|
|
616
|
-
* **provider 判定在最前面**:命中跳过名单时直接返回空结果,既不读事件也不
|
|
617
|
-
* 追加事件,所以缓存前缀型 provider 的会话日志一次都不会被动过。
|
|
618
|
-
*
|
|
619
|
-
* 每条替换原样保留除 `content` 之外的全部事件数据,引用被遮蔽的节点让回放
|
|
620
|
-
* 能还原替换输入,并在它之前紧挨着写一条 `compaction/prune` 计价事件,让纯
|
|
621
|
-
* 消费者不需要按节点保存状态就能减掉被遮蔽节点的启发式价格。
|
|
622
|
-
*
|
|
623
|
-
* @param session - 表层会被改写的会话。
|
|
624
|
-
* @returns 已落地的替换与合计省下的码点数。
|
|
625
|
-
*/
|
|
626
|
-
pruneSession(session) {
|
|
627
|
-
if (shouldSkipPruningForSession(session, this.skipProviders, this.skipDeepSeekV41Flash)) return {
|
|
628
|
-
pruned: [],
|
|
629
|
-
charsRemoved: 0
|
|
630
|
-
};
|
|
631
|
-
const candidates = [];
|
|
632
|
-
for (const seq of [...session.surface?.nodes ?? []]) {
|
|
633
|
-
const event = session.eventAt(seq);
|
|
634
|
-
if (event?.type === "tool/result") candidates.push({
|
|
635
|
-
seq,
|
|
636
|
-
event
|
|
637
|
-
});
|
|
638
|
-
}
|
|
639
|
-
const pruned = [];
|
|
640
|
-
let charsRemoved = 0;
|
|
641
|
-
for (const { seq, event } of candidates) {
|
|
642
|
-
const original = session.deriveEventMessage(event);
|
|
643
|
-
const content = this.pruneContent(original.content ?? []);
|
|
644
|
-
if (content === null) continue;
|
|
645
|
-
const charsBefore = this.measureContent(original.content ?? []);
|
|
646
|
-
const charsAfter = this.measureContent(content);
|
|
647
|
-
const message = Object.freeze({
|
|
648
|
-
...original,
|
|
649
|
-
content: Object.freeze([...content])
|
|
650
|
-
});
|
|
651
|
-
const data = isRecord(event.data) ? event.data : {};
|
|
652
|
-
session.append("compaction/prune", {
|
|
653
|
-
shadowedRange: {
|
|
654
|
-
start: seq,
|
|
655
|
-
end: seq
|
|
656
|
-
},
|
|
657
|
-
shadowedSeqs: [seq],
|
|
658
|
-
shadowedTokenCount: this.estimateMessageTokens(original)
|
|
659
|
-
});
|
|
660
|
-
const replacement = session.append("tool/result", {
|
|
661
|
-
...data,
|
|
662
|
-
message
|
|
663
|
-
}, {
|
|
664
|
-
surfaceOp: {
|
|
665
|
-
op: "replace",
|
|
666
|
-
startSeq: seq,
|
|
667
|
-
endSeq: seq
|
|
668
|
-
},
|
|
669
|
-
sourceEventSeqs: [seq]
|
|
670
|
-
});
|
|
671
|
-
pruned.push({
|
|
672
|
-
originalSeq: seq,
|
|
673
|
-
replacementSeq: replacement.seq,
|
|
674
|
-
callId: readCallId(event, original),
|
|
675
|
-
charsBefore,
|
|
676
|
-
charsAfter
|
|
677
|
-
});
|
|
678
|
-
charsRemoved += charsBefore - charsAfter;
|
|
679
|
-
}
|
|
680
|
-
return {
|
|
681
|
-
pruned,
|
|
682
|
-
charsRemoved
|
|
683
|
-
};
|
|
684
|
-
}
|
|
685
|
-
/**
|
|
686
|
-
* 用宿主注入的 token meter 估计一条消息的价格。
|
|
687
|
-
*
|
|
688
|
-
* 按结构探测而不是按注入硬取:token-meter 在部分宿主上不存在,而修剪必须在
|
|
689
|
-
* 那种宿主上照常工作;读不到就按 0 计。
|
|
690
|
-
*
|
|
691
|
-
* @param message - 被遮蔽的消息。
|
|
692
|
-
* @returns 估计的 token 数;不可用时为 0。
|
|
693
|
-
*/
|
|
694
|
-
estimateMessageTokens(message) {
|
|
695
|
-
try {
|
|
696
|
-
const estimate = this.ctx.tokenMeter?.estimateMessage?.(message);
|
|
697
|
-
if (typeof estimate === "number" && Number.isFinite(estimate)) return estimate;
|
|
698
|
-
} catch {}
|
|
699
|
-
return 0;
|
|
700
|
-
}
|
|
701
|
-
};
|
|
702
|
-
//#endregion
|
|
703
|
-
export { noteCodexRemoteCompactionFailure as C, withCodexCompactionTrigger as E, latestCodexCompaction as S, shouldCompactCodexPayload as T, checkpointFromMetadata as _, ToolResultPruner as a, codexRemoteCompactionEnabled as b, resolveConfig as c, DEEPSEEK_OFFICIAL_PROVIDERS as d, isDeepSeekV41Flash as f, readSessionRoute as g, readScopeRoute as h, PRUNE_MARKER as i, resolveSkipProviders as l, isDeepSeekV41FlashSession as m, DEFAULT_SKIP_PROVIDERS as n, codePointLength as o, isDeepSeekV41FlashScope as p, PRUNER_SERVICE_NAME as r, readSessionProvider as s, DEFAULTS as t, shouldSkipPruningForSession as u, checkpointFromOutputItems as v, projectFreshCodexCompaction as w, isCompactionItem as x, codexCompactionReplayMetadata as y };
|