@deepseek-harness-tui/dsh-tui 0.11.0 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -20
- package/assets/whale-girl/whale-girl-dark.png +0 -0
- package/assets/whale-girl/whale-girl-happy.png +0 -0
- package/assets/whale-girl/whale-girl.png +0 -0
- package/bin/dsh-tui.js +63 -3
- package/cordis.patch.yml +43 -20
- package/cordis.yml +6 -4
- package/lib/settings.json +1272 -0
- package/lib/types/activityPrefs.d.ts +24 -0
- package/lib/types/activityPrefs.d.ts.map +1 -1
- package/lib/types/activityPrefs.js +50 -1
- package/lib/types/adapter/channel/state.d.ts.map +1 -1
- package/lib/types/adapter/channel/state.js +3 -1
- package/lib/types/adapter/channel/ui-policy.d.ts +9 -2
- package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
- package/lib/types/adapter/channel/ui-policy.js +14 -1
- package/lib/types/adapter/kernel/replay.d.ts.map +1 -1
- package/lib/types/adapter/kernel/replay.js +2 -0
- package/lib/types/adapter/ports/channel-display.d.ts +12 -0
- package/lib/types/adapter/ports/channel-display.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-session.d.ts +38 -0
- package/lib/types/adapter/ports/channel-session.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-settings.d.ts +12 -0
- package/lib/types/adapter/ports/channel-settings.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-ui.d.ts +53 -7
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-view.d.ts +43 -12
- package/lib/types/adapter/ports/channel-view.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel.d.ts +4 -1
- package/lib/types/adapter/ports/channel.d.ts.map +1 -1
- package/lib/types/commands.d.ts.map +1 -1
- package/lib/types/commands.js +2 -0
- package/lib/types/components/ActivityLine.d.ts +7 -2
- package/lib/types/components/ActivityLine.d.ts.map +1 -1
- package/lib/types/components/ActivityLine.js +0 -8
- package/lib/types/components/BalanceReportRow.d.ts +10 -2
- package/lib/types/components/BalanceReportRow.d.ts.map +1 -1
- package/lib/types/components/BalanceReportRow.js +18 -4
- package/lib/types/components/CompactionStatusRow.d.ts +24 -0
- package/lib/types/components/CompactionStatusRow.d.ts.map +1 -0
- package/lib/types/components/CompactionStatusRow.js +72 -0
- package/lib/types/components/GoalTodoPanel.js +2 -2
- package/lib/types/components/HelpMenu.d.ts +2 -2
- package/lib/types/components/HelpMenu.d.ts.map +1 -1
- package/lib/types/components/HelpMenu.js +5 -4
- package/lib/types/components/InlineMathParagraph.d.ts +22 -0
- package/lib/types/components/InlineMathParagraph.d.ts.map +1 -0
- package/lib/types/components/InlineMathParagraph.js +178 -0
- package/lib/types/components/LogoV2.d.ts +41 -3
- package/lib/types/components/LogoV2.d.ts.map +1 -1
- package/lib/types/components/LogoV2.js +148 -24
- package/lib/types/components/Markdown.d.ts +10 -3
- package/lib/types/components/Markdown.d.ts.map +1 -1
- package/lib/types/components/Markdown.js +47 -14
- package/lib/types/components/MathBlock.d.ts +13 -0
- package/lib/types/components/MathBlock.d.ts.map +1 -0
- package/lib/types/components/MathBlock.js +136 -0
- package/lib/types/components/MessageList.d.ts +10 -1
- package/lib/types/components/MessageList.d.ts.map +1 -1
- package/lib/types/components/MessageList.js +15 -5
- package/lib/types/components/MigratePicker.d.ts +30 -0
- package/lib/types/components/MigratePicker.d.ts.map +1 -0
- package/lib/types/components/MigratePicker.js +38 -0
- package/lib/types/components/PromptInput.d.ts +17 -0
- package/lib/types/components/PromptInput.d.ts.map +1 -1
- package/lib/types/components/PromptInput.js +96 -9
- package/lib/types/components/SplitDiffView.d.ts.map +1 -1
- package/lib/types/components/SplitDiffView.js +3 -1
- package/lib/types/components/StarPrompt.d.ts +53 -0
- package/lib/types/components/StarPrompt.d.ts.map +1 -0
- package/lib/types/components/StarPrompt.js +281 -0
- package/lib/types/components/StreamingMarkdown.d.ts.map +1 -1
- package/lib/types/components/StreamingMarkdown.js +20 -3
- package/lib/types/components/SubagentCard.d.ts.map +1 -1
- package/lib/types/components/SubagentCard.js +12 -6
- package/lib/types/components/SubagentDetailScene.d.ts.map +1 -1
- package/lib/types/components/SubagentDetailScene.js +8 -3
- package/lib/types/components/TimelineRail.d.ts.map +1 -1
- package/lib/types/components/TimelineRail.js +9 -1
- package/lib/types/components/Whale.d.ts +17 -8
- package/lib/types/components/Whale.d.ts.map +1 -1
- package/lib/types/components/Whale.js +25 -15
- package/lib/types/components/WhaleGirl.d.ts +29 -0
- package/lib/types/components/WhaleGirl.d.ts.map +1 -0
- package/lib/types/components/WhaleGirl.js +32 -0
- package/lib/types/components/WorkingSpinner.d.ts +4 -1
- package/lib/types/components/WorkingSpinner.d.ts.map +1 -1
- package/lib/types/components/WorkingSpinner.js +2 -2
- package/lib/types/components/bigfont.d.ts +47 -18
- package/lib/types/components/bigfont.d.ts.map +1 -1
- package/lib/types/components/bigfont.js +55 -40
- package/lib/types/components/design-system/HintLine.d.ts +1 -2
- package/lib/types/components/design-system/HintLine.d.ts.map +1 -1
- package/lib/types/components/design-system/HintLine.js +1 -2
- package/lib/types/components/design-system/ThemeProvider.d.ts +6 -0
- package/lib/types/components/design-system/ThemeProvider.d.ts.map +1 -1
- package/lib/types/components/design-system/ThemeProvider.js +40 -1
- package/lib/types/components/maidPortrait.d.ts +44 -0
- package/lib/types/components/maidPortrait.d.ts.map +1 -0
- package/lib/types/components/maidPortrait.js +178 -0
- package/lib/types/components/mathPreview.d.ts +25 -0
- package/lib/types/components/mathPreview.d.ts.map +1 -0
- package/lib/types/components/mathPreview.js +48 -0
- package/lib/types/components/messages/AssistantThinkingMessage.d.ts +2 -1
- package/lib/types/components/messages/AssistantThinkingMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantThinkingMessage.js +4 -2
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +2 -2
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +31 -26
- package/lib/types/components/messages/TranscriptImages.d.ts.map +1 -1
- package/lib/types/components/messages/TranscriptImages.js +11 -1
- package/lib/types/components/questions/AskUserQuestionPanel.d.ts +14 -2
- package/lib/types/components/questions/AskUserQuestionPanel.d.ts.map +1 -1
- package/lib/types/components/questions/AskUserQuestionPanel.js +80 -38
- package/lib/types/components/questions/PlanReviewPanel.d.ts.map +1 -1
- package/lib/types/components/questions/PlanReviewPanel.js +3 -3
- package/lib/types/components/sessions/ForeignSessionRow.d.ts +34 -0
- package/lib/types/components/sessions/ForeignSessionRow.d.ts.map +1 -0
- package/lib/types/components/sessions/ForeignSessionRow.js +43 -0
- package/lib/types/components/sessions/SourceTabs.d.ts +52 -0
- package/lib/types/components/sessions/SourceTabs.d.ts.map +1 -0
- package/lib/types/components/sessions/SourceTabs.js +70 -0
- package/lib/types/components/splashEggs.d.ts +56 -0
- package/lib/types/components/splashEggs.d.ts.map +1 -0
- package/lib/types/components/splashEggs.js +67 -0
- package/lib/types/components/splashFonts.d.ts +119 -0
- package/lib/types/components/splashFonts.d.ts.map +1 -0
- package/lib/types/components/splashFonts.js +267 -0
- package/lib/types/components/splashLayout.d.ts +41 -0
- package/lib/types/components/splashLayout.d.ts.map +1 -0
- package/lib/types/components/splashLayout.js +40 -0
- package/lib/types/components/whaleGirlSprite.d.ts +17 -0
- package/lib/types/components/whaleGirlSprite.d.ts.map +1 -0
- package/lib/types/components/whaleGirlSprite.js +47 -0
- package/lib/types/deepseekPricing.d.ts +74 -0
- package/lib/types/deepseekPricing.d.ts.map +1 -1
- package/lib/types/deepseekPricing.js +110 -11
- package/lib/types/dsh-adapter/activity-store.d.ts +221 -0
- package/lib/types/dsh-adapter/activity-store.d.ts.map +1 -0
- package/lib/types/dsh-adapter/activity-store.js +359 -0
- package/lib/types/dsh-adapter/channel/action-readiness.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/action-readiness.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/action-readiness.js +6 -1
- package/lib/types/dsh-adapter/channel/background-action.d.ts +2 -1
- package/lib/types/dsh-adapter/channel/background-action.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/background-action.js +2 -0
- package/lib/types/dsh-adapter/channel/binding-events.d.ts +15 -14
- package/lib/types/dsh-adapter/channel/binding-events.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/binding-events.js +70 -21
- package/lib/types/dsh-adapter/channel/compaction.d.ts +2 -2
- package/lib/types/dsh-adapter/channel/compaction.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/compaction.js +35 -4
- package/lib/types/dsh-adapter/channel/local-actions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/local-actions.js +6 -1
- package/lib/types/dsh-adapter/channel/model-switch.d.ts +1 -2
- package/lib/types/dsh-adapter/channel/model-switch.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/model-switch.js +6 -2
- package/lib/types/dsh-adapter/channel/paths.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/paths.js +7 -1
- package/lib/types/dsh-adapter/channel/preferences.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/preferences.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/preferences.js +16 -0
- package/lib/types/dsh-adapter/channel/projection.d.ts +1 -2
- package/lib/types/dsh-adapter/channel/projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/projection.js +127 -17
- package/lib/types/dsh-adapter/channel/question-record.d.ts +76 -0
- package/lib/types/dsh-adapter/channel/question-record.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/question-record.js +107 -0
- package/lib/types/dsh-adapter/channel/session-adoption.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-adoption.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-adoption.js +1 -0
- package/lib/types/dsh-adapter/channel/session-lineage.d.ts +42 -0
- package/lib/types/dsh-adapter/channel/session-lineage.d.ts.map +1 -0
- package/lib/types/dsh-adapter/channel/session-lineage.js +51 -0
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts +3 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.js +10 -3
- package/lib/types/dsh-adapter/channel/session-metadata.d.ts +2 -1
- package/lib/types/dsh-adapter/channel/session-metadata.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-metadata.js +43 -9
- package/lib/types/dsh-adapter/channel/session-reset.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-reset.js +7 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts +2 -1
- package/lib/types/dsh-adapter/channel/session-resume.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.js +5 -2
- package/lib/types/dsh-adapter/channel/settings-host.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/settings-host.js +8 -0
- package/lib/types/dsh-adapter/channel/state.d.ts +19 -1
- package/lib/types/dsh-adapter/channel/state.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/state.js +8 -3
- package/lib/types/dsh-adapter/channel/subagent-projection.d.ts +32 -17
- package/lib/types/dsh-adapter/channel/subagent-projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/subagent-projection.js +309 -8
- package/lib/types/dsh-adapter/channel/types.d.ts +1 -1
- package/lib/types/dsh-adapter/channel/types.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel.d.ts +1 -1
- package/lib/types/dsh-adapter/channel.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel.js +34 -18
- package/lib/types/dsh-adapter/compat/index.d.ts +1 -1
- package/lib/types/dsh-adapter/compat/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/compat/index.js +1 -1
- package/lib/types/dsh-adapter/compat/messages.d.ts +6 -0
- package/lib/types/dsh-adapter/compat/messages.d.ts.map +1 -1
- package/lib/types/dsh-adapter/compat/messages.js +9 -0
- package/lib/types/dsh-adapter/compat/sessionLog.d.ts +18 -0
- package/lib/types/dsh-adapter/compat/sessionLog.d.ts.map +1 -1
- package/lib/types/dsh-adapter/compat/sessionLog.js +18 -3
- package/lib/types/dsh-adapter/compat/settings.d.ts +2 -0
- package/lib/types/dsh-adapter/compat/settings.d.ts.map +1 -1
- package/lib/types/dsh-adapter/compat/settings.js +14 -0
- package/lib/types/dsh-adapter/contract.d.ts +5 -4
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +9 -5
- package/lib/types/dsh-adapter/index.d.ts +36 -1
- package/lib/types/dsh-adapter/index.d.ts.map +1 -1
- package/lib/types/dsh-adapter/index.js +22 -6
- package/lib/types/dsh-adapter/migrate/adapters/claude-code.d.ts +3 -0
- package/lib/types/dsh-adapter/migrate/adapters/claude-code.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/claude-code.js +131 -0
- package/lib/types/dsh-adapter/migrate/adapters/claude-code.parse.d.ts +17 -0
- package/lib/types/dsh-adapter/migrate/adapters/claude-code.parse.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/claude-code.parse.js +329 -0
- package/lib/types/dsh-adapter/migrate/adapters/codex.d.ts +3 -0
- package/lib/types/dsh-adapter/migrate/adapters/codex.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/codex.js +102 -0
- package/lib/types/dsh-adapter/migrate/adapters/codex.parse.d.ts +16 -0
- package/lib/types/dsh-adapter/migrate/adapters/codex.parse.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/codex.parse.js +289 -0
- package/lib/types/dsh-adapter/migrate/adapters/grok-build.d.ts +3 -0
- package/lib/types/dsh-adapter/migrate/adapters/grok-build.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/grok-build.js +117 -0
- package/lib/types/dsh-adapter/migrate/adapters/grok-build.parse.d.ts +13 -0
- package/lib/types/dsh-adapter/migrate/adapters/grok-build.parse.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/grok-build.parse.js +178 -0
- package/lib/types/dsh-adapter/migrate/adapters/omp.d.ts +3 -0
- package/lib/types/dsh-adapter/migrate/adapters/omp.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/omp.js +133 -0
- package/lib/types/dsh-adapter/migrate/adapters/scan-fs.d.ts +60 -0
- package/lib/types/dsh-adapter/migrate/adapters/scan-fs.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/scan-fs.js +178 -0
- package/lib/types/dsh-adapter/migrate/adapters/scan.d.ts +8 -0
- package/lib/types/dsh-adapter/migrate/adapters/scan.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/scan.js +40 -0
- package/lib/types/dsh-adapter/migrate/adapters/zcode.d.ts +3 -0
- package/lib/types/dsh-adapter/migrate/adapters/zcode.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/zcode.js +93 -0
- package/lib/types/dsh-adapter/migrate/adapters/zcode.parse.d.ts +9 -0
- package/lib/types/dsh-adapter/migrate/adapters/zcode.parse.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/adapters/zcode.parse.js +89 -0
- package/lib/types/dsh-adapter/migrate/bin-path.d.ts +6 -0
- package/lib/types/dsh-adapter/migrate/bin-path.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/bin-path.js +30 -0
- package/lib/types/dsh-adapter/migrate/browse.d.ts +42 -0
- package/lib/types/dsh-adapter/migrate/browse.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/browse.js +90 -0
- package/lib/types/dsh-adapter/migrate/cli.d.ts +9 -0
- package/lib/types/dsh-adapter/migrate/cli.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/cli.js +106 -0
- package/lib/types/dsh-adapter/migrate/import-one.d.ts +89 -0
- package/lib/types/dsh-adapter/migrate/import-one.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/import-one.js +133 -0
- package/lib/types/dsh-adapter/migrate/index.d.ts +35 -0
- package/lib/types/dsh-adapter/migrate/index.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/index.js +107 -0
- package/lib/types/dsh-adapter/migrate/parse/injection.d.ts +40 -0
- package/lib/types/dsh-adapter/migrate/parse/injection.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/parse/injection.js +127 -0
- package/lib/types/dsh-adapter/migrate/parse/jsonl.d.ts +28 -0
- package/lib/types/dsh-adapter/migrate/parse/jsonl.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/parse/jsonl.js +40 -0
- package/lib/types/dsh-adapter/migrate/parse/role-turns.d.ts +28 -0
- package/lib/types/dsh-adapter/migrate/parse/role-turns.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/parse/role-turns.js +50 -0
- package/lib/types/dsh-adapter/migrate/parse/title.d.ts +18 -0
- package/lib/types/dsh-adapter/migrate/parse/title.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/parse/title.js +29 -0
- package/lib/types/dsh-adapter/migrate/parse/tools.d.ts +62 -0
- package/lib/types/dsh-adapter/migrate/parse/tools.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/parse/tools.js +110 -0
- package/lib/types/dsh-adapter/migrate/picker.d.ts +64 -0
- package/lib/types/dsh-adapter/migrate/picker.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/picker.js +86 -0
- package/lib/types/dsh-adapter/migrate/recent-agents.d.ts +40 -0
- package/lib/types/dsh-adapter/migrate/recent-agents.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/recent-agents.js +100 -0
- package/lib/types/dsh-adapter/migrate/sessionize.d.ts +39 -0
- package/lib/types/dsh-adapter/migrate/sessionize.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/sessionize.js +271 -0
- package/lib/types/dsh-adapter/migrate/types.d.ts +176 -0
- package/lib/types/dsh-adapter/migrate/types.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/types.js +11 -0
- package/lib/types/dsh-adapter/migrate/uuid.d.ts +7 -0
- package/lib/types/dsh-adapter/migrate/uuid.d.ts.map +1 -0
- package/lib/types/dsh-adapter/migrate/uuid.js +25 -0
- package/lib/types/dsh-adapter/plugin.d.ts +5 -3
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +168 -372
- package/lib/types/dsh-adapter/providerWizard.d.ts +17 -0
- package/lib/types/dsh-adapter/providerWizard.d.ts.map +1 -1
- package/lib/types/dsh-adapter/providerWizard.js +254 -66
- package/lib/types/dsh-adapter/questions.d.ts +22 -15
- package/lib/types/dsh-adapter/questions.d.ts.map +1 -1
- package/lib/types/dsh-adapter/questions.js +47 -45
- package/lib/types/dsh-adapter/sessions/digest.d.ts +11 -6
- package/lib/types/dsh-adapter/sessions/digest.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessions/digest.js +20 -13
- package/lib/types/dsh-adapter/sessions/frames.d.ts +3 -1
- package/lib/types/dsh-adapter/sessions/frames.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessions/frames.js +5 -4
- package/lib/types/dsh-adapter/sessions/list.d.ts +6 -1
- package/lib/types/dsh-adapter/sessions/list.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessions/list.js +188 -164
- package/lib/types/dsh-adapter/sessions/recovery.d.ts +16 -0
- package/lib/types/dsh-adapter/sessions/recovery.d.ts.map +1 -0
- package/lib/types/dsh-adapter/sessions/recovery.js +108 -0
- package/lib/types/dsh-adapter/sessions/snapshot.d.ts +7 -0
- package/lib/types/dsh-adapter/sessions/snapshot.d.ts.map +1 -0
- package/lib/types/dsh-adapter/sessions/snapshot.js +90 -0
- package/lib/types/dsh-adapter/sessions/store.d.ts +10 -4
- package/lib/types/dsh-adapter/sessions/store.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sessions/store.js +62 -25
- package/lib/types/dsh-adapter/settings-sections.d.ts.map +1 -1
- package/lib/types/dsh-adapter/settings-sections.js +7 -4
- package/lib/types/dsh-adapter/sideQuestion.d.ts +41 -2
- package/lib/types/dsh-adapter/sideQuestion.d.ts.map +1 -1
- package/lib/types/dsh-adapter/sideQuestion.js +98 -2
- package/lib/types/dsh-adapter/subagents.d.ts +44 -6
- package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
- package/lib/types/dsh-adapter/subagents.js +163 -26
- package/lib/types/herdr.d.ts +2 -0
- package/lib/types/herdr.d.ts.map +1 -1
- package/lib/types/herdr.js +9 -3
- package/lib/types/history.d.ts +13 -1
- package/lib/types/history.d.ts.map +1 -1
- package/lib/types/history.js +15 -2
- package/lib/types/i18n.d.ts +512 -41
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +199 -20
- package/lib/types/ink/components/App.d.ts +2 -2
- package/lib/types/ink/components/App.d.ts.map +1 -1
- package/lib/types/ink/components/App.js +5 -1
- package/lib/types/ink/components/Image.d.ts +14 -1
- package/lib/types/ink/components/Image.d.ts.map +1 -1
- package/lib/types/ink/components/Image.js +2 -2
- package/lib/types/ink/events/input-event.js +3 -3
- package/lib/types/ink/hooks/use-terminal-images.d.ts +12 -0
- package/lib/types/ink/hooks/use-terminal-images.d.ts.map +1 -1
- package/lib/types/ink/hooks/use-terminal-images.js +13 -0
- package/lib/types/ink/ink.d.ts +6 -0
- package/lib/types/ink/ink.d.ts.map +1 -1
- package/lib/types/ink/ink.js +16 -1
- package/lib/types/ink/kitty-graphics.d.ts +44 -3
- package/lib/types/ink/kitty-graphics.d.ts.map +1 -1
- package/lib/types/ink/kitty-graphics.js +184 -23
- package/lib/types/ink/log-update.d.ts.map +1 -1
- package/lib/types/ink/log-update.js +19 -1
- package/lib/types/ink/output.d.ts +24 -2
- package/lib/types/ink/output.d.ts.map +1 -1
- package/lib/types/ink/output.js +83 -5
- package/lib/types/ink/parse-keypress.d.ts +26 -1
- package/lib/types/ink/parse-keypress.d.ts.map +1 -1
- package/lib/types/ink/parse-keypress.js +156 -13
- package/lib/types/ink/render-node-to-output.d.ts.map +1 -1
- package/lib/types/ink/render-node-to-output.js +8 -1
- package/lib/types/ink/screen.d.ts +24 -0
- package/lib/types/ink/screen.d.ts.map +1 -1
- package/lib/types/ink/screen.js +89 -0
- package/lib/types/ink/selection.d.ts +68 -18
- package/lib/types/ink/selection.d.ts.map +1 -1
- package/lib/types/ink/selection.js +178 -31
- package/lib/types/ink/sixel-codec.d.ts +12 -1
- package/lib/types/ink/sixel-codec.d.ts.map +1 -1
- package/lib/types/ink/sixel-codec.js +29 -5
- package/lib/types/ink/sixel-graphics.d.ts.map +1 -1
- package/lib/types/ink/sixel-graphics.js +5 -3
- package/lib/types/ink/styles.d.ts +9 -0
- package/lib/types/ink/styles.d.ts.map +1 -1
- package/lib/types/ink/terminal-image.d.ts +8 -0
- package/lib/types/ink/terminal-image.d.ts.map +1 -1
- package/lib/types/ink/terminal-querier.d.ts +7 -1
- package/lib/types/ink/terminal-querier.d.ts.map +1 -1
- package/lib/types/ink/terminal-querier.js +12 -2
- package/lib/types/ink/timeline-rail.d.ts +5 -0
- package/lib/types/ink/timeline-rail.d.ts.map +1 -1
- package/lib/types/math/inline-layout.d.ts +29 -0
- package/lib/types/math/inline-layout.d.ts.map +1 -0
- package/lib/types/math/inline-layout.js +106 -0
- package/lib/types/math/layout.d.ts +58 -0
- package/lib/types/math/layout.d.ts.map +1 -0
- package/lib/types/math/layout.js +59 -0
- package/lib/types/math/renderer.d.ts +64 -0
- package/lib/types/math/renderer.d.ts.map +1 -0
- package/lib/types/math/renderer.js +256 -0
- package/lib/types/screens/Chat.d.ts +17 -1
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +618 -57
- package/lib/types/screens/SessionSupervisor.d.ts +2 -1
- package/lib/types/screens/SessionSupervisor.d.ts.map +1 -1
- package/lib/types/screens/SessionSupervisor.js +156 -19
- package/lib/types/screens/Settings.d.ts.map +1 -1
- package/lib/types/screens/Settings.js +49 -11
- package/lib/types/screens/StatusLine.d.ts +5 -1
- package/lib/types/screens/StatusLine.d.ts.map +1 -1
- package/lib/types/screens/StatusLine.js +47 -17
- package/lib/types/screens/chatOverlay.d.ts +5 -0
- package/lib/types/screens/chatOverlay.d.ts.map +1 -1
- package/lib/types/screens/chatOverlay.js +1 -0
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts +47 -0
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.d.ts.map +1 -0
- package/lib/types/screens/sessionSupervisor/ForeignSessionPanes.js +65 -0
- package/lib/types/screens/sessionSupervisor/model.d.ts +12 -0
- package/lib/types/screens/sessionSupervisor/model.d.ts.map +1 -1
- package/lib/types/screens/sessionSupervisor/model.js +26 -0
- package/lib/types/screens/sessionSupervisor/useForeignSessions.d.ts +107 -0
- package/lib/types/screens/sessionSupervisor/useForeignSessions.d.ts.map +1 -0
- package/lib/types/screens/sessionSupervisor/useForeignSessions.js +312 -0
- package/lib/types/screens/sessionSupervisor/useSessionSupervisor.d.ts +4 -1
- package/lib/types/screens/sessionSupervisor/useSessionSupervisor.d.ts.map +1 -1
- package/lib/types/screens/sessionSupervisor/useSessionSupervisor.js +97 -14
- package/lib/types/sessionHistory.d.ts +2 -2
- package/lib/types/sessionHistory.d.ts.map +1 -1
- package/lib/types/sessionHistory.js +31 -5
- package/lib/types/settings/definitions.d.ts +681 -0
- package/lib/types/settings/definitions.d.ts.map +1 -0
- package/lib/types/settings/definitions.js +511 -0
- package/lib/types/starAction.d.ts +44 -0
- package/lib/types/starAction.d.ts.map +1 -0
- package/lib/types/starAction.js +52 -0
- package/lib/types/terminal-utils/latex.d.ts +10 -0
- package/lib/types/terminal-utils/latex.d.ts.map +1 -0
- package/lib/types/terminal-utils/latex.js +1417 -0
- package/lib/types/terminal-utils/markdown.d.ts +3 -1
- package/lib/types/terminal-utils/markdown.d.ts.map +1 -1
- package/lib/types/terminal-utils/markdown.js +26 -1
- package/lib/types/terminal-utils/math.d.ts +66 -0
- package/lib/types/terminal-utils/math.d.ts.map +1 -0
- package/lib/types/terminal-utils/math.js +337 -0
- package/lib/types/tips.d.ts.map +1 -1
- package/lib/types/tips.js +6 -0
- package/lib/types/tuiDisplayPrefs.d.ts +67 -0
- package/lib/types/tuiDisplayPrefs.d.ts.map +1 -1
- package/lib/types/tuiDisplayPrefs.js +59 -0
- package/lib/types/ui.d.ts +1 -1
- package/lib/types/ui.d.ts.map +1 -1
- package/lib/types/ui.js +1 -1
- package/lib/types/usageStats.d.ts +98 -0
- package/lib/types/usageStats.d.ts.map +1 -0
- package/lib/types/usageStats.js +169 -0
- package/lib/types/utils/bmp.d.ts +17 -0
- package/lib/types/utils/bmp.d.ts.map +1 -0
- package/lib/types/utils/bmp.js +154 -0
- package/lib/types/utils/clipboard.d.ts +14 -2
- package/lib/types/utils/clipboard.d.ts.map +1 -1
- package/lib/types/utils/clipboard.js +143 -8
- package/lib/types/utils/fold-long-lines.d.ts +1 -1
- package/lib/types/utils/fold-long-lines.d.ts.map +1 -1
- package/lib/types/utils/fold-long-lines.js +3 -2
- package/lib/types/utils/keymap.d.ts +4 -1
- package/lib/types/utils/keymap.d.ts.map +1 -1
- package/lib/types/utils/keymap.js +8 -0
- package/lib/types/utils/modifiers.d.ts +4 -3
- package/lib/types/utils/modifiers.d.ts.map +1 -1
- package/lib/types/utils/modifiers.js +4 -3
- package/lib/types/working-activity.d.ts +10 -9
- package/lib/types/working-activity.d.ts.map +1 -1
- package/lib/types/working-activity.js +17 -10
- package/node_modules/@dsh-tui-vendor/mathjax-tex-svg/LICENSE +202 -0
- package/node_modules/@dsh-tui-vendor/mathjax-tex-svg/NOTICE +20 -0
- package/node_modules/@dsh-tui-vendor/mathjax-tex-svg/index.d.ts +16 -0
- package/node_modules/@dsh-tui-vendor/mathjax-tex-svg/lib/bundled-packages.json +4 -0
- package/node_modules/@dsh-tui-vendor/mathjax-tex-svg/lib/index.mjs +20 -0
- package/node_modules/@dsh-tui-vendor/mathjax-tex-svg/lib/index.mjs.LEGAL.txt +35 -0
- package/node_modules/@dsh-tui-vendor/mathjax-tex-svg/package.json +29 -0
- package/package.json +117 -99
- package/lib/types/components/design-system/KeyboardShortcutHint.d.ts +0 -19
- package/lib/types/components/design-system/KeyboardShortcutHint.d.ts.map +0 -1
- package/lib/types/components/design-system/KeyboardShortcutHint.js +0 -14
- package/lib/types/dsh-adapter/channel/activity.d.ts +0 -20
- package/lib/types/dsh-adapter/channel/activity.d.ts.map +0 -1
- package/lib/types/dsh-adapter/channel/activity.js +0 -113
- package/lib/types/terminal-utils/terminal.d.ts +0 -18
- package/lib/types/terminal-utils/terminal.d.ts.map +0 -1
- package/lib/types/terminal-utils/terminal.js +0 -96
|
@@ -0,0 +1,681 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The single definition of every dsh-tui setting: label, help text (en/zh),
|
|
3
|
+
* kind, options and /settings group. The /settings page, the editable-key
|
|
4
|
+
* list, and the settings.json shipped in the npm package (the website's
|
|
5
|
+
* settings reference) are all built from this module, so a setting is
|
|
6
|
+
* described once. Side-effect free: no runtime state, safe to import from
|
|
7
|
+
* build scripts. Runtime behaviour (format/parse, dynamic labels) stays with
|
|
8
|
+
* the field in dsh-adapter/plugin.ts.
|
|
9
|
+
*
|
|
10
|
+
* Keys are sorted; add a setting at its sorted position.
|
|
11
|
+
*/
|
|
12
|
+
import type { TuiSettingsField } from '../adapter/ports/channel-settings.js';
|
|
13
|
+
import type { ShortcutActionId } from '../utils/keymap.js';
|
|
14
|
+
export type SettingDefinition = Pick<TuiSettingsField, 'label' | 'descriptions' | 'hint' | 'hintDescriptions' | 'kind' | 'group' | 'options'>;
|
|
15
|
+
export declare const SETTING_DEFINITIONS: {
|
|
16
|
+
diffLayout: {
|
|
17
|
+
label: string;
|
|
18
|
+
descriptions: {
|
|
19
|
+
zh: string;
|
|
20
|
+
};
|
|
21
|
+
group: string;
|
|
22
|
+
hint: string;
|
|
23
|
+
hintDescriptions: {
|
|
24
|
+
zh: string;
|
|
25
|
+
};
|
|
26
|
+
kind: "select";
|
|
27
|
+
options: {
|
|
28
|
+
value: string;
|
|
29
|
+
label: string;
|
|
30
|
+
descriptions: {
|
|
31
|
+
zh: string;
|
|
32
|
+
};
|
|
33
|
+
}[];
|
|
34
|
+
};
|
|
35
|
+
effortDefault: {
|
|
36
|
+
label: string;
|
|
37
|
+
descriptions: {
|
|
38
|
+
zh: string;
|
|
39
|
+
};
|
|
40
|
+
group: string;
|
|
41
|
+
hint: string;
|
|
42
|
+
hintDescriptions: {
|
|
43
|
+
zh: string;
|
|
44
|
+
};
|
|
45
|
+
kind: "select";
|
|
46
|
+
options: {
|
|
47
|
+
value: string;
|
|
48
|
+
label: string;
|
|
49
|
+
descriptions: {
|
|
50
|
+
zh: string;
|
|
51
|
+
};
|
|
52
|
+
}[];
|
|
53
|
+
};
|
|
54
|
+
expandEditor: {
|
|
55
|
+
label: string;
|
|
56
|
+
descriptions: {
|
|
57
|
+
zh: string;
|
|
58
|
+
};
|
|
59
|
+
group: string;
|
|
60
|
+
hint: string;
|
|
61
|
+
hintDescriptions: {
|
|
62
|
+
zh: string;
|
|
63
|
+
};
|
|
64
|
+
kind: "boolean";
|
|
65
|
+
};
|
|
66
|
+
foldTerminalCommand: {
|
|
67
|
+
label: string;
|
|
68
|
+
descriptions: {
|
|
69
|
+
zh: string;
|
|
70
|
+
};
|
|
71
|
+
group: string;
|
|
72
|
+
hint: string;
|
|
73
|
+
hintDescriptions: {
|
|
74
|
+
zh: string;
|
|
75
|
+
};
|
|
76
|
+
kind: "boolean";
|
|
77
|
+
};
|
|
78
|
+
fullscreen: {
|
|
79
|
+
label: string;
|
|
80
|
+
descriptions: {
|
|
81
|
+
zh: string;
|
|
82
|
+
};
|
|
83
|
+
group: string;
|
|
84
|
+
hint: string;
|
|
85
|
+
hintDescriptions: {
|
|
86
|
+
zh: string;
|
|
87
|
+
};
|
|
88
|
+
kind: "boolean";
|
|
89
|
+
};
|
|
90
|
+
imageBacking: {
|
|
91
|
+
label: string;
|
|
92
|
+
descriptions: {
|
|
93
|
+
zh: string;
|
|
94
|
+
};
|
|
95
|
+
group: string;
|
|
96
|
+
hint: string;
|
|
97
|
+
hintDescriptions: {
|
|
98
|
+
zh: string;
|
|
99
|
+
};
|
|
100
|
+
kind: "select";
|
|
101
|
+
options: {
|
|
102
|
+
value: string;
|
|
103
|
+
label: string;
|
|
104
|
+
descriptions: {
|
|
105
|
+
zh: string;
|
|
106
|
+
};
|
|
107
|
+
}[];
|
|
108
|
+
};
|
|
109
|
+
lang: {
|
|
110
|
+
label: string;
|
|
111
|
+
descriptions: {
|
|
112
|
+
zh: string;
|
|
113
|
+
};
|
|
114
|
+
group: string;
|
|
115
|
+
hint: string;
|
|
116
|
+
hintDescriptions: {
|
|
117
|
+
zh: string;
|
|
118
|
+
};
|
|
119
|
+
kind: "select";
|
|
120
|
+
options: {
|
|
121
|
+
value: string;
|
|
122
|
+
label: string;
|
|
123
|
+
descriptions: {
|
|
124
|
+
zh: string;
|
|
125
|
+
};
|
|
126
|
+
}[];
|
|
127
|
+
};
|
|
128
|
+
mathImageBacking: {
|
|
129
|
+
label: string;
|
|
130
|
+
descriptions: {
|
|
131
|
+
zh: string;
|
|
132
|
+
};
|
|
133
|
+
group: string;
|
|
134
|
+
hint: string;
|
|
135
|
+
hintDescriptions: {
|
|
136
|
+
zh: string;
|
|
137
|
+
};
|
|
138
|
+
kind: "select";
|
|
139
|
+
options: {
|
|
140
|
+
value: string;
|
|
141
|
+
label: string;
|
|
142
|
+
descriptions: {
|
|
143
|
+
zh: string;
|
|
144
|
+
};
|
|
145
|
+
}[];
|
|
146
|
+
};
|
|
147
|
+
mathImageScale: {
|
|
148
|
+
label: string;
|
|
149
|
+
descriptions: {
|
|
150
|
+
zh: string;
|
|
151
|
+
};
|
|
152
|
+
group: string;
|
|
153
|
+
hint: string;
|
|
154
|
+
hintDescriptions: {
|
|
155
|
+
zh: string;
|
|
156
|
+
};
|
|
157
|
+
kind: "select";
|
|
158
|
+
options: {
|
|
159
|
+
value: string;
|
|
160
|
+
label: string;
|
|
161
|
+
descriptions: {
|
|
162
|
+
zh: string;
|
|
163
|
+
};
|
|
164
|
+
}[];
|
|
165
|
+
};
|
|
166
|
+
mathRendering: {
|
|
167
|
+
label: string;
|
|
168
|
+
descriptions: {
|
|
169
|
+
zh: string;
|
|
170
|
+
};
|
|
171
|
+
group: string;
|
|
172
|
+
hint: string;
|
|
173
|
+
hintDescriptions: {
|
|
174
|
+
zh: string;
|
|
175
|
+
};
|
|
176
|
+
kind: "select";
|
|
177
|
+
options: {
|
|
178
|
+
value: string;
|
|
179
|
+
label: string;
|
|
180
|
+
descriptions: {
|
|
181
|
+
zh: string;
|
|
182
|
+
};
|
|
183
|
+
}[];
|
|
184
|
+
};
|
|
185
|
+
mermaidDiagrams: {
|
|
186
|
+
label: string;
|
|
187
|
+
descriptions: {
|
|
188
|
+
zh: string;
|
|
189
|
+
};
|
|
190
|
+
group: string;
|
|
191
|
+
hint: string;
|
|
192
|
+
hintDescriptions: {
|
|
193
|
+
zh: string;
|
|
194
|
+
};
|
|
195
|
+
kind: "boolean";
|
|
196
|
+
};
|
|
197
|
+
minimal: {
|
|
198
|
+
label: string;
|
|
199
|
+
descriptions: {
|
|
200
|
+
zh: string;
|
|
201
|
+
};
|
|
202
|
+
group: string;
|
|
203
|
+
hint: string;
|
|
204
|
+
hintDescriptions: {
|
|
205
|
+
zh: string;
|
|
206
|
+
};
|
|
207
|
+
kind: "boolean";
|
|
208
|
+
};
|
|
209
|
+
pageMargin: {
|
|
210
|
+
label: string;
|
|
211
|
+
descriptions: {
|
|
212
|
+
zh: string;
|
|
213
|
+
};
|
|
214
|
+
group: string;
|
|
215
|
+
hint: string;
|
|
216
|
+
hintDescriptions: {
|
|
217
|
+
zh: string;
|
|
218
|
+
};
|
|
219
|
+
kind: "text";
|
|
220
|
+
options: {
|
|
221
|
+
value: string;
|
|
222
|
+
label: string;
|
|
223
|
+
descriptions: {
|
|
224
|
+
zh: string;
|
|
225
|
+
};
|
|
226
|
+
}[];
|
|
227
|
+
};
|
|
228
|
+
promptSessionLabel: {
|
|
229
|
+
label: string;
|
|
230
|
+
descriptions: {
|
|
231
|
+
zh: string;
|
|
232
|
+
};
|
|
233
|
+
group: string;
|
|
234
|
+
hint: string;
|
|
235
|
+
hintDescriptions: {
|
|
236
|
+
zh: string;
|
|
237
|
+
};
|
|
238
|
+
kind: "boolean";
|
|
239
|
+
};
|
|
240
|
+
recapOnOpen: {
|
|
241
|
+
label: string;
|
|
242
|
+
descriptions: {
|
|
243
|
+
zh: string;
|
|
244
|
+
};
|
|
245
|
+
group: string;
|
|
246
|
+
hint: string;
|
|
247
|
+
hintDescriptions: {
|
|
248
|
+
zh: string;
|
|
249
|
+
};
|
|
250
|
+
kind: "boolean";
|
|
251
|
+
};
|
|
252
|
+
scrollGutter: {
|
|
253
|
+
label: string;
|
|
254
|
+
descriptions: {
|
|
255
|
+
zh: string;
|
|
256
|
+
};
|
|
257
|
+
group: string;
|
|
258
|
+
hint: string;
|
|
259
|
+
hintDescriptions: {
|
|
260
|
+
zh: string;
|
|
261
|
+
};
|
|
262
|
+
kind: "select";
|
|
263
|
+
options: {
|
|
264
|
+
value: string;
|
|
265
|
+
label: string;
|
|
266
|
+
descriptions: {
|
|
267
|
+
zh: string;
|
|
268
|
+
};
|
|
269
|
+
}[];
|
|
270
|
+
};
|
|
271
|
+
smoothStreaming: {
|
|
272
|
+
label: string;
|
|
273
|
+
descriptions: {
|
|
274
|
+
zh: string;
|
|
275
|
+
};
|
|
276
|
+
group: string;
|
|
277
|
+
hint: string;
|
|
278
|
+
hintDescriptions: {
|
|
279
|
+
zh: string;
|
|
280
|
+
};
|
|
281
|
+
kind: "boolean";
|
|
282
|
+
};
|
|
283
|
+
splashFont: {
|
|
284
|
+
label: string;
|
|
285
|
+
descriptions: {
|
|
286
|
+
zh: string;
|
|
287
|
+
};
|
|
288
|
+
group: string;
|
|
289
|
+
hint: string;
|
|
290
|
+
hintDescriptions: {
|
|
291
|
+
zh: string;
|
|
292
|
+
};
|
|
293
|
+
kind: "select";
|
|
294
|
+
options: readonly import("../components/splashFonts.js").SplashFontOption[];
|
|
295
|
+
};
|
|
296
|
+
'statusBar.activity': {
|
|
297
|
+
label: string;
|
|
298
|
+
descriptions: {
|
|
299
|
+
zh: string;
|
|
300
|
+
};
|
|
301
|
+
hint: string;
|
|
302
|
+
hintDescriptions: {
|
|
303
|
+
zh: string;
|
|
304
|
+
};
|
|
305
|
+
kind: "boolean";
|
|
306
|
+
group: string;
|
|
307
|
+
};
|
|
308
|
+
'statusBar.cache': {
|
|
309
|
+
label: string;
|
|
310
|
+
descriptions: {
|
|
311
|
+
zh: string;
|
|
312
|
+
};
|
|
313
|
+
hint: string;
|
|
314
|
+
hintDescriptions: {
|
|
315
|
+
zh: string;
|
|
316
|
+
};
|
|
317
|
+
kind: "boolean";
|
|
318
|
+
group: string;
|
|
319
|
+
};
|
|
320
|
+
'statusBar.compact': {
|
|
321
|
+
label: string;
|
|
322
|
+
descriptions: {
|
|
323
|
+
zh: string;
|
|
324
|
+
};
|
|
325
|
+
hint: string;
|
|
326
|
+
hintDescriptions: {
|
|
327
|
+
zh: string;
|
|
328
|
+
};
|
|
329
|
+
kind: "boolean";
|
|
330
|
+
group: string;
|
|
331
|
+
};
|
|
332
|
+
'statusBar.contextBar': {
|
|
333
|
+
label: string;
|
|
334
|
+
descriptions: {
|
|
335
|
+
zh: string;
|
|
336
|
+
};
|
|
337
|
+
hint: string;
|
|
338
|
+
hintDescriptions: {
|
|
339
|
+
zh: string;
|
|
340
|
+
};
|
|
341
|
+
kind: "boolean";
|
|
342
|
+
group: string;
|
|
343
|
+
};
|
|
344
|
+
'statusBar.contextUsage': {
|
|
345
|
+
label: string;
|
|
346
|
+
descriptions: {
|
|
347
|
+
zh: string;
|
|
348
|
+
};
|
|
349
|
+
hint: string;
|
|
350
|
+
hintDescriptions: {
|
|
351
|
+
zh: string;
|
|
352
|
+
};
|
|
353
|
+
kind: "boolean";
|
|
354
|
+
group: string;
|
|
355
|
+
};
|
|
356
|
+
'statusBar.cost': {
|
|
357
|
+
label: string;
|
|
358
|
+
descriptions: {
|
|
359
|
+
zh: string;
|
|
360
|
+
};
|
|
361
|
+
hint: string;
|
|
362
|
+
hintDescriptions: {
|
|
363
|
+
zh: string;
|
|
364
|
+
};
|
|
365
|
+
kind: "boolean";
|
|
366
|
+
group: string;
|
|
367
|
+
};
|
|
368
|
+
'statusBar.cwd': {
|
|
369
|
+
label: string;
|
|
370
|
+
descriptions: {
|
|
371
|
+
zh: string;
|
|
372
|
+
};
|
|
373
|
+
hint: string;
|
|
374
|
+
hintDescriptions: {
|
|
375
|
+
zh: string;
|
|
376
|
+
};
|
|
377
|
+
kind: "boolean";
|
|
378
|
+
group: string;
|
|
379
|
+
};
|
|
380
|
+
'statusBar.gitBranch': {
|
|
381
|
+
label: string;
|
|
382
|
+
descriptions: {
|
|
383
|
+
zh: string;
|
|
384
|
+
};
|
|
385
|
+
hint: string;
|
|
386
|
+
hintDescriptions: {
|
|
387
|
+
zh: string;
|
|
388
|
+
};
|
|
389
|
+
kind: "boolean";
|
|
390
|
+
group: string;
|
|
391
|
+
};
|
|
392
|
+
'statusBar.goal': {
|
|
393
|
+
label: string;
|
|
394
|
+
descriptions: {
|
|
395
|
+
zh: string;
|
|
396
|
+
};
|
|
397
|
+
hint: string;
|
|
398
|
+
hintDescriptions: {
|
|
399
|
+
zh: string;
|
|
400
|
+
};
|
|
401
|
+
kind: "boolean";
|
|
402
|
+
group: string;
|
|
403
|
+
};
|
|
404
|
+
'statusBar.mode': {
|
|
405
|
+
label: string;
|
|
406
|
+
descriptions: {
|
|
407
|
+
zh: string;
|
|
408
|
+
};
|
|
409
|
+
hint: string;
|
|
410
|
+
hintDescriptions: {
|
|
411
|
+
zh: string;
|
|
412
|
+
};
|
|
413
|
+
kind: "boolean";
|
|
414
|
+
group: string;
|
|
415
|
+
};
|
|
416
|
+
'statusBar.model': {
|
|
417
|
+
label: string;
|
|
418
|
+
descriptions: {
|
|
419
|
+
zh: string;
|
|
420
|
+
};
|
|
421
|
+
hint: string;
|
|
422
|
+
hintDescriptions: {
|
|
423
|
+
zh: string;
|
|
424
|
+
};
|
|
425
|
+
kind: "boolean";
|
|
426
|
+
group: string;
|
|
427
|
+
};
|
|
428
|
+
'statusBar.sessionId': {
|
|
429
|
+
label: string;
|
|
430
|
+
descriptions: {
|
|
431
|
+
zh: string;
|
|
432
|
+
};
|
|
433
|
+
hint: string;
|
|
434
|
+
hintDescriptions: {
|
|
435
|
+
zh: string;
|
|
436
|
+
};
|
|
437
|
+
kind: "boolean";
|
|
438
|
+
group: string;
|
|
439
|
+
};
|
|
440
|
+
'statusBar.sessionTitle': {
|
|
441
|
+
label: string;
|
|
442
|
+
descriptions: {
|
|
443
|
+
zh: string;
|
|
444
|
+
};
|
|
445
|
+
hint: string;
|
|
446
|
+
hintDescriptions: {
|
|
447
|
+
zh: string;
|
|
448
|
+
};
|
|
449
|
+
kind: "boolean";
|
|
450
|
+
group: string;
|
|
451
|
+
};
|
|
452
|
+
'statusBar.shortcutHint': {
|
|
453
|
+
label: string;
|
|
454
|
+
descriptions: {
|
|
455
|
+
zh: string;
|
|
456
|
+
};
|
|
457
|
+
hint: string;
|
|
458
|
+
hintDescriptions: {
|
|
459
|
+
zh: string;
|
|
460
|
+
};
|
|
461
|
+
kind: "boolean";
|
|
462
|
+
group: string;
|
|
463
|
+
};
|
|
464
|
+
'statusBar.thinking': {
|
|
465
|
+
label: string;
|
|
466
|
+
descriptions: {
|
|
467
|
+
zh: string;
|
|
468
|
+
};
|
|
469
|
+
hint: string;
|
|
470
|
+
hintDescriptions: {
|
|
471
|
+
zh: string;
|
|
472
|
+
};
|
|
473
|
+
kind: "boolean";
|
|
474
|
+
group: string;
|
|
475
|
+
};
|
|
476
|
+
'statusBar.tokens': {
|
|
477
|
+
label: string;
|
|
478
|
+
descriptions: {
|
|
479
|
+
zh: string;
|
|
480
|
+
};
|
|
481
|
+
hint: string;
|
|
482
|
+
hintDescriptions: {
|
|
483
|
+
zh: string;
|
|
484
|
+
};
|
|
485
|
+
kind: "boolean";
|
|
486
|
+
group: string;
|
|
487
|
+
};
|
|
488
|
+
'statusBar.tps': {
|
|
489
|
+
label: string;
|
|
490
|
+
descriptions: {
|
|
491
|
+
zh: string;
|
|
492
|
+
};
|
|
493
|
+
hint: string;
|
|
494
|
+
hintDescriptions: {
|
|
495
|
+
zh: string;
|
|
496
|
+
};
|
|
497
|
+
kind: "boolean";
|
|
498
|
+
group: string;
|
|
499
|
+
};
|
|
500
|
+
'statusBar.trajectory': {
|
|
501
|
+
label: string;
|
|
502
|
+
descriptions: {
|
|
503
|
+
zh: string;
|
|
504
|
+
};
|
|
505
|
+
hint: string;
|
|
506
|
+
hintDescriptions: {
|
|
507
|
+
zh: string;
|
|
508
|
+
};
|
|
509
|
+
kind: "boolean";
|
|
510
|
+
group: string;
|
|
511
|
+
};
|
|
512
|
+
terminalImages: {
|
|
513
|
+
label: string;
|
|
514
|
+
descriptions: {
|
|
515
|
+
zh: string;
|
|
516
|
+
};
|
|
517
|
+
group: string;
|
|
518
|
+
hint: string;
|
|
519
|
+
hintDescriptions: {
|
|
520
|
+
zh: string;
|
|
521
|
+
};
|
|
522
|
+
kind: "boolean";
|
|
523
|
+
};
|
|
524
|
+
thinkingFold: {
|
|
525
|
+
label: string;
|
|
526
|
+
descriptions: {
|
|
527
|
+
zh: string;
|
|
528
|
+
};
|
|
529
|
+
group: string;
|
|
530
|
+
hint: string;
|
|
531
|
+
hintDescriptions: {
|
|
532
|
+
zh: string;
|
|
533
|
+
};
|
|
534
|
+
kind: "select";
|
|
535
|
+
options: {
|
|
536
|
+
value: string;
|
|
537
|
+
label: string;
|
|
538
|
+
descriptions: {
|
|
539
|
+
zh: string;
|
|
540
|
+
};
|
|
541
|
+
}[];
|
|
542
|
+
};
|
|
543
|
+
toolBackground: {
|
|
544
|
+
label: string;
|
|
545
|
+
descriptions: {
|
|
546
|
+
zh: string;
|
|
547
|
+
};
|
|
548
|
+
group: string;
|
|
549
|
+
hint: string;
|
|
550
|
+
hintDescriptions: {
|
|
551
|
+
zh: string;
|
|
552
|
+
};
|
|
553
|
+
kind: "select";
|
|
554
|
+
options: {
|
|
555
|
+
value: string;
|
|
556
|
+
label: string;
|
|
557
|
+
descriptions: {
|
|
558
|
+
zh: string;
|
|
559
|
+
};
|
|
560
|
+
}[];
|
|
561
|
+
};
|
|
562
|
+
whale: {
|
|
563
|
+
label: string;
|
|
564
|
+
descriptions: {
|
|
565
|
+
zh: string;
|
|
566
|
+
};
|
|
567
|
+
group: string;
|
|
568
|
+
hint: string;
|
|
569
|
+
hintDescriptions: {
|
|
570
|
+
zh: string;
|
|
571
|
+
};
|
|
572
|
+
kind: "boolean";
|
|
573
|
+
};
|
|
574
|
+
whaleGirl: {
|
|
575
|
+
label: string;
|
|
576
|
+
descriptions: {
|
|
577
|
+
zh: string;
|
|
578
|
+
};
|
|
579
|
+
group: string;
|
|
580
|
+
hint: string;
|
|
581
|
+
hintDescriptions: {
|
|
582
|
+
zh: string;
|
|
583
|
+
};
|
|
584
|
+
kind: "boolean";
|
|
585
|
+
};
|
|
586
|
+
whaleIdle: {
|
|
587
|
+
label: string;
|
|
588
|
+
descriptions: {
|
|
589
|
+
zh: string;
|
|
590
|
+
};
|
|
591
|
+
group: string;
|
|
592
|
+
hint: string;
|
|
593
|
+
hintDescriptions: {
|
|
594
|
+
zh: string;
|
|
595
|
+
};
|
|
596
|
+
kind: "boolean";
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
export type SettingKey = keyof typeof SETTING_DEFINITIONS;
|
|
600
|
+
/**
|
|
601
|
+
* Topic groups for /settings, in root-page order. Two presentations share
|
|
602
|
+
* this list: 'inline' groups render their fields directly on the root page
|
|
603
|
+
* under a small header (shallow topics — hiding a handful of fields behind
|
|
604
|
+
* a navigation row costs more clicks than the ordering buys), 'page' groups
|
|
605
|
+
* render one navigation row and keep their fields a level down (deep,
|
|
606
|
+
* cohesive domains: the formula trio, the status-bar block, the shortcut
|
|
607
|
+
* remaps). Every built-in setting names one of these (verified by
|
|
608
|
+
* scripts/verify-settings-definitions.ts); a field without a group would
|
|
609
|
+
* render on the root under "general". */
|
|
610
|
+
export declare const SETTING_GROUPS: readonly [{
|
|
611
|
+
readonly id: "appearance";
|
|
612
|
+
readonly mode: "inline";
|
|
613
|
+
readonly title: "Appearance";
|
|
614
|
+
readonly descriptions: {
|
|
615
|
+
readonly zh: "外观与布局";
|
|
616
|
+
};
|
|
617
|
+
}, {
|
|
618
|
+
readonly id: "splash";
|
|
619
|
+
readonly mode: "inline";
|
|
620
|
+
readonly title: "Splash";
|
|
621
|
+
readonly descriptions: {
|
|
622
|
+
readonly zh: "开屏与吉祥物";
|
|
623
|
+
};
|
|
624
|
+
}, {
|
|
625
|
+
readonly id: "conversation";
|
|
626
|
+
readonly mode: "inline";
|
|
627
|
+
readonly title: "Conversation";
|
|
628
|
+
readonly descriptions: {
|
|
629
|
+
readonly zh: "对话与输入";
|
|
630
|
+
};
|
|
631
|
+
}, {
|
|
632
|
+
readonly id: "rendering";
|
|
633
|
+
readonly mode: "inline";
|
|
634
|
+
readonly title: "Rendering";
|
|
635
|
+
readonly descriptions: {
|
|
636
|
+
readonly zh: "图表与图片";
|
|
637
|
+
};
|
|
638
|
+
}, {
|
|
639
|
+
readonly id: "math";
|
|
640
|
+
readonly mode: "page";
|
|
641
|
+
readonly title: "Formula";
|
|
642
|
+
readonly descriptions: {
|
|
643
|
+
readonly zh: "公式设置";
|
|
644
|
+
};
|
|
645
|
+
}, {
|
|
646
|
+
readonly id: "status-bar";
|
|
647
|
+
readonly mode: "page";
|
|
648
|
+
readonly title: "Status bar";
|
|
649
|
+
readonly descriptions: {
|
|
650
|
+
readonly zh: "底栏设置";
|
|
651
|
+
};
|
|
652
|
+
}, {
|
|
653
|
+
readonly id: "shortcuts";
|
|
654
|
+
readonly mode: "page";
|
|
655
|
+
readonly title: "Shortcuts";
|
|
656
|
+
readonly descriptions: {
|
|
657
|
+
readonly zh: "快捷键";
|
|
658
|
+
};
|
|
659
|
+
}];
|
|
660
|
+
/**
|
|
661
|
+
* Top-level Config keys the settings service may edit at runtime: every
|
|
662
|
+
* defined setting's root, plus the shortcut remaps. Keys without a Config
|
|
663
|
+
* schema field (state read straight from the settings namespace) are
|
|
664
|
+
* ignored by editableConfig.
|
|
665
|
+
*/
|
|
666
|
+
export declare const EDITABLE_CONFIG_KEYS: readonly string[];
|
|
667
|
+
/** The static part of a /settings field for `key` (path included). */
|
|
668
|
+
export declare function settingField(key: SettingKey): SettingDefinition & {
|
|
669
|
+
path: readonly string[];
|
|
670
|
+
};
|
|
671
|
+
/**
|
|
672
|
+
* Shortcut remap fields (`shortcuts.<action>`): one per SHORTCUT_ACTIONS
|
|
673
|
+
* entry; the help text names the platform's default combos.
|
|
674
|
+
*/
|
|
675
|
+
export declare const SHORTCUT_FIELD_META: Record<ShortcutActionId, {
|
|
676
|
+
label: string;
|
|
677
|
+
zh: string;
|
|
678
|
+
hintEn: (defaults: string) => string;
|
|
679
|
+
hintZh: (defaults: string) => string;
|
|
680
|
+
}>;
|
|
681
|
+
//# sourceMappingURL=definitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../src/settings/definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAA;AAE5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,EAAE,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,kBAAkB,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,CAAA;AAE7I,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyYa,CAAA;AAE7C,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,mBAAmB,CAAA;AAEzD;;;;;;;;;yCASyC;AACzC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjB,CAAA;AAEV;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAEjD,CAAA;AAED,sEAAsE;AACtE,wBAAgB,YAAY,CAAC,GAAG,EAAE,UAAU,GAAG,iBAAiB,GAAG;IAAE,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAE7F;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,gBAAgB,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;CAAE,CA+EnK,CAAA"}
|