@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
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* default preset.
|
|
9
9
|
*/
|
|
10
10
|
import { type WorkingActivityConfig } from 'dsh-working-activity/config';
|
|
11
|
+
import type { Config as MountedActivityConfig } from 'dsh-working-activity';
|
|
11
12
|
/**
|
|
12
13
|
* Parse a persisted `{ frames }` value; anything else yields undefined.
|
|
13
14
|
* @param text - Raw file contents.
|
|
@@ -29,6 +30,29 @@ export declare function readActivityFrames(dir?: string): string | undefined;
|
|
|
29
30
|
* @returns The parsed config, or undefined when unreadable.
|
|
30
31
|
*/
|
|
31
32
|
export declare function readActivityConfig(dir?: string): WorkingActivityConfig | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Fold the parsed user file into the mounted working-activity plugin config.
|
|
35
|
+
*
|
|
36
|
+
* The line's semantics moved into the plugin, but the file this app's own UI
|
|
37
|
+
* writes (`/activity`, the settings panel) is still where a user's feature
|
|
38
|
+
* switches live — without this fold they were parsed and silently dropped.
|
|
39
|
+
* Precedence keeps the old contract: an explicit row value wins over the
|
|
40
|
+
* file, the file fills everything the row leaves at its schema default. The
|
|
41
|
+
* flags come through `featureOn`, so the file's `mode: minimal` turns them
|
|
42
|
+
* off exactly as it did when the deleted channel sidecar built its tracker.
|
|
43
|
+
* (The sidecar also hardcoded `detailLimit: 40`, which is the plugin's own
|
|
44
|
+
* schema default — nothing to fold.)
|
|
45
|
+
*
|
|
46
|
+
* The plugin schema materializes its defaults before `apply` sees the config,
|
|
47
|
+
* so "equal to the default" is the honest reading of "the row did not set
|
|
48
|
+
* this key"; a row value explicitly set to the default is indistinguishable
|
|
49
|
+
* from an unset one and the file wins there. None of these keys are set by
|
|
50
|
+
* the shipped rows.
|
|
51
|
+
* @param config - Schema-resolved row config for the mounted plugin.
|
|
52
|
+
* @param file - Parsed user preferences (undefined when unreadable/absent).
|
|
53
|
+
* @returns the config to mount the plugin with.
|
|
54
|
+
*/
|
|
55
|
+
export declare function mergeActivityPreferences(config: MountedActivityConfig, file: WorkingActivityConfig | undefined): MountedActivityConfig;
|
|
32
56
|
/**
|
|
33
57
|
* Persist the chosen indicator preset (best effort).
|
|
34
58
|
* @param name - Preset name to persist.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activityPrefs.d.ts","sourceRoot":"","sources":["../../src/activityPrefs.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,OAAO,
|
|
1
|
+
{"version":3,"file":"activityPrefs.d.ts","sourceRoot":"","sources":["../../src/activityPrefs.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,OAAO,EAAwD,KAAK,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAC9H,OAAO,KAAK,EAAE,MAAM,IAAI,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAK3E;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASpE;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,GAAE,MAAkB,GAAG,MAAM,GAAG,SAAS,CAM9E;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,GAAE,MAAkB,GAAG,qBAAqB,GAAG,SAAS,CAM7F;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,qBAAqB,EAC7B,IAAI,EAAE,qBAAqB,GAAG,SAAS,GACtC,qBAAqB,CA2BvB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,GAAE,MAAkB,GAAG,OAAO,CAQlF"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
11
11
|
import { join } from 'node:path';
|
|
12
12
|
import { isPresetName, normalizeActivityPreset } from './components/activityFrames.js';
|
|
13
|
-
import { parseWorkingActivityConfig } from 'dsh-working-activity/config';
|
|
13
|
+
import { featureOn, FEATURE_FLAGS, parseWorkingActivityConfig } from 'dsh-working-activity/config';
|
|
14
14
|
import { DATA_DIR } from './utils/paths.js';
|
|
15
15
|
const PREFS_DIR = DATA_DIR;
|
|
16
16
|
/**
|
|
@@ -59,6 +59,55 @@ export function readActivityConfig(dir = PREFS_DIR) {
|
|
|
59
59
|
return undefined;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Fold the parsed user file into the mounted working-activity plugin config.
|
|
64
|
+
*
|
|
65
|
+
* The line's semantics moved into the plugin, but the file this app's own UI
|
|
66
|
+
* writes (`/activity`, the settings panel) is still where a user's feature
|
|
67
|
+
* switches live — without this fold they were parsed and silently dropped.
|
|
68
|
+
* Precedence keeps the old contract: an explicit row value wins over the
|
|
69
|
+
* file, the file fills everything the row leaves at its schema default. The
|
|
70
|
+
* flags come through `featureOn`, so the file's `mode: minimal` turns them
|
|
71
|
+
* off exactly as it did when the deleted channel sidecar built its tracker.
|
|
72
|
+
* (The sidecar also hardcoded `detailLimit: 40`, which is the plugin's own
|
|
73
|
+
* schema default — nothing to fold.)
|
|
74
|
+
*
|
|
75
|
+
* The plugin schema materializes its defaults before `apply` sees the config,
|
|
76
|
+
* so "equal to the default" is the honest reading of "the row did not set
|
|
77
|
+
* this key"; a row value explicitly set to the default is indistinguishable
|
|
78
|
+
* from an unset one and the file wins there. None of these keys are set by
|
|
79
|
+
* the shipped rows.
|
|
80
|
+
* @param config - Schema-resolved row config for the mounted plugin.
|
|
81
|
+
* @param file - Parsed user preferences (undefined when unreadable/absent).
|
|
82
|
+
* @returns the config to mount the plugin with.
|
|
83
|
+
*/
|
|
84
|
+
export function mergeActivityPreferences(config, file) {
|
|
85
|
+
if (file === undefined)
|
|
86
|
+
return config;
|
|
87
|
+
// Every flag the PLUGIN honours (its own FEATURE_FLAGS list), not a local
|
|
88
|
+
// copy: when the plugin grows or trims switches, the file folds through
|
|
89
|
+
// without this seam growing a stale mirror. `phrases` rides the top-level
|
|
90
|
+
// switch below instead.
|
|
91
|
+
const fileFeatures = Object.fromEntries(FEATURE_FLAGS.filter(name => name !== 'phrases').map(name => [name, featureOn(file, name)]));
|
|
92
|
+
return {
|
|
93
|
+
...config,
|
|
94
|
+
// `phrases: false` in the row is the one spelling that cannot mean
|
|
95
|
+
// "unset" (the default is true), so it is the only one that overrides.
|
|
96
|
+
phrases: config.phrases === false ? false : featureOn(file, 'phrases'),
|
|
97
|
+
// Per flag: a row entry wins (see the schema-default note above).
|
|
98
|
+
features: { ...fileFeatures, ...config.features },
|
|
99
|
+
customPhrases: config.customPhrases !== undefined && config.customPhrases.length > 0
|
|
100
|
+
? config.customPhrases
|
|
101
|
+
: [...(file.customPhrases ?? [])],
|
|
102
|
+
customActions: config.customActions !== undefined && Object.keys(config.customActions).length > 0
|
|
103
|
+
? config.customActions
|
|
104
|
+
: Object.fromEntries(Object.entries(file.customActions ?? {}).map(([name, phrases]) => [name, [...phrases]])),
|
|
105
|
+
showTokPerSec: config.showTokPerSec === true ? true : file.showTokPerSec ?? false,
|
|
106
|
+
workRemindAt: config.workRemindAt !== undefined && config.workRemindAt !== 0
|
|
107
|
+
? config.workRemindAt
|
|
108
|
+
: file.workRemindAt ?? 0,
|
|
109
|
+
};
|
|
110
|
+
}
|
|
62
111
|
/**
|
|
63
112
|
* Persist the chosen indicator preset (best effort).
|
|
64
113
|
* @param name - Preset name to persist.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/adapter/channel/state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AAgBnE,iFAAiF;AACjF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,wBAAwB,
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/adapter/channel/state.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AAgBnE,iFAAiF;AACjF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,wBAAwB,CAkC9E"}
|
|
@@ -27,6 +27,9 @@ export function projectChannelState(channel) {
|
|
|
27
27
|
sessionTitle: channel.sessionTitle,
|
|
28
28
|
sessionColor: channel.sessionColor,
|
|
29
29
|
agentId: channel.agentId,
|
|
30
|
+
// Omitted rather than `undefined`: the projected snapshot must be a JSON
|
|
31
|
+
// value end to end, and an explicit undefined is not one.
|
|
32
|
+
...(channel.sessionId === undefined ? {} : { sessionId: channel.sessionId }),
|
|
30
33
|
agentBindingGeneration: channel.agentBindingGeneration,
|
|
31
34
|
model: channel.model,
|
|
32
35
|
provider: channel.provider,
|
|
@@ -42,7 +45,6 @@ export function projectChannelState(channel) {
|
|
|
42
45
|
lastUserText: channel.lastUserText,
|
|
43
46
|
tokens: asNumberRecord(channel.tokens),
|
|
44
47
|
...(channel.lastUsage === undefined ? {} : { lastUsage: asNumberRecord(channel.lastUsage) }),
|
|
45
|
-
...(channel.workingActivity === undefined ? {} : { workingActivity: asRecord(channel.workingActivity) }),
|
|
46
48
|
...(channel.activityFrames === undefined ? {} : { activityFrames: channel.activityFrames }),
|
|
47
49
|
...(channel.goal === undefined ? {} : { goal: asRecord(channel.goal) }),
|
|
48
50
|
todos: Object.freeze(channel.todos.map(todo => Object.freeze({ ...todo }))),
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import type { ChannelUi } from '../ports/channel-ui.js';
|
|
5
5
|
export type { ChannelUi } from '../ports/channel-ui.js';
|
|
6
|
-
export type ChannelPreferences = Pick<ChannelUi, 'setDiffLayout' | 'setThinkingFold' | 'setToolBackground' | 'setScrollGutter' | 'setPageMargin' | 'setFoldTerminalCommand' | 'setPromptSessionLabel' | 'setExpandEditor' | 'setSmoothStreaming' | 'setStatusBar' | 'setWhale' | 'setWhaleIdle' | 'setMinimal'>;
|
|
6
|
+
export type ChannelPreferences = Pick<ChannelUi, 'setDiffLayout' | 'setThinkingFold' | 'setToolBackground' | 'setScrollGutter' | 'setPageMargin' | 'setFoldTerminalCommand' | 'setPromptSessionLabel' | 'setExpandEditor' | 'setSmoothStreaming' | 'setStatusBar' | 'setWhale' | 'setWhaleIdle' | 'setWhaleGirl' | 'setMinimal' | 'setSplashFont'>;
|
|
7
7
|
export declare const CHANNEL_UI_EFFECTS: Readonly<{
|
|
8
8
|
setDiffLayout: "mutate";
|
|
9
9
|
setThinkingFold: "mutate";
|
|
@@ -17,6 +17,8 @@ export declare const CHANNEL_UI_EFFECTS: Readonly<{
|
|
|
17
17
|
setStatusBar: "mutate";
|
|
18
18
|
setWhale: "mutate";
|
|
19
19
|
setWhaleIdle: "mutate";
|
|
20
|
+
setSplashFont: "mutate";
|
|
21
|
+
setWhaleGirl: "mutate";
|
|
20
22
|
setMinimal: "mutate";
|
|
21
23
|
commandCompletions: "mutate";
|
|
22
24
|
runExternalCommand: "mutate";
|
|
@@ -78,8 +80,12 @@ export declare const CHANNEL_UI_EFFECTS: Readonly<{
|
|
|
78
80
|
subscribeSettingsSections: "subscribe";
|
|
79
81
|
listFileCandidates: "read-only";
|
|
80
82
|
listFiles: "read-only";
|
|
83
|
+
cachedSessions: "read-only";
|
|
81
84
|
listSessions: "read-only";
|
|
82
85
|
previewSession: "read-only";
|
|
86
|
+
listForeignSources: "read-only";
|
|
87
|
+
listForeignSessions: "read-only";
|
|
88
|
+
importForeignSession: "mutate";
|
|
83
89
|
setResumeTarget: "mutate";
|
|
84
90
|
renameSession: "mutate";
|
|
85
91
|
setSessionColor: "mutate";
|
|
@@ -87,6 +93,7 @@ export declare const CHANNEL_UI_EFFECTS: Readonly<{
|
|
|
87
93
|
deleteSession: "mutate";
|
|
88
94
|
renameSessionTo: "mutate";
|
|
89
95
|
compact: "mutate";
|
|
96
|
+
cancelCompact: "mutate";
|
|
90
97
|
pushLocal: "mutate";
|
|
91
98
|
mcpStatus: "read-only";
|
|
92
99
|
exportSession: "mutate";
|
|
@@ -105,5 +112,5 @@ export declare const CHANNEL_UI_EFFECTS: Readonly<{
|
|
|
105
112
|
traceEvents: "read-only";
|
|
106
113
|
subscribe: "subscribe";
|
|
107
114
|
}>;
|
|
108
|
-
export declare const CHANNEL_UI_PROPERTIES: readonly ["version", "rows", "status", "sessionTitle", "sessionColor", "agentId", "agentBindingGeneration", "autoRecapOnOpen", "model", "provider", "configuredProvider", "configuredModel", "configuredPreset", "configuredActivityFrames", "configuredLang", "tokens", "cwd", "displayCwd", "gitBranch", "working", "cancelPending", "spinnerMode", "responseChars", "activeToolCount", "turnStart", "lastUserText", "notifications", "contextWindow", "reasoningEffort", "effortLevels", "lastUsage", "tps", "tpsSamples", "
|
|
115
|
+
export declare const CHANNEL_UI_PROPERTIES: readonly ["version", "rows", "status", "sessionTitle", "sessionColor", "agentId", "sessionId", "agentBindingGeneration", "autoRecapOnOpen", "settingsNamespace", "model", "provider", "configuredProvider", "configuredModel", "configuredPreset", "configuredActivityFrames", "configuredLang", "tokens", "mainCost", "subagentCost", "cwd", "displayCwd", "gitBranch", "working", "compaction", "cancelPending", "spinnerMode", "responseChars", "activeToolCount", "turnStart", "lastUserText", "notifications", "contextWindow", "reasoningEffort", "effortLevels", "lastUsage", "tps", "tpsSamples", "activityFrames", "diffLayout", "thinkingFold", "toolBackground", "scrollGutter", "pageMargin", "foldTerminalCommand", "promptSessionLabel", "expandEditor", "smoothStreaming", "statusBar", "whale", "whaleIdle", "splashFont", "whaleGirl", "minimal", "activityEnabled", "contextBarEnabled", "goal", "todos", "loadedContext", "pending", "commandList", "pluginScene", "contextSegments", "subagents", "subagentControl", "backgroundJobs", "jobControl", "mode", "modeIndex", "agentPreset", "selection"];
|
|
109
116
|
//# sourceMappingURL=ui-policy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-policy.d.ts","sourceRoot":"","sources":["../../../../src/adapter/channel/ui-policy.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AACvD,YAAY,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAIvD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,SAAS,EAC3C,eAAe,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,iBAAiB,GAC7E,eAAe,GAAG,wBAAwB,GAAG,uBAAuB,GACpE,iBAAiB,GAAG,oBAAoB,GAAG,cAAc,GAAG,UAAU,GAAG,cAAc,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"ui-policy.d.ts","sourceRoot":"","sources":["../../../../src/adapter/channel/ui-policy.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AACvD,YAAY,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAIvD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,SAAS,EAC3C,eAAe,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,iBAAiB,GAC7E,eAAe,GAAG,wBAAwB,GAAG,uBAAuB,GACpE,iBAAiB,GAAG,oBAAoB,GAAG,cAAc,GAAG,UAAU,GAAG,cAAc,GAAG,cAAc,GAAG,YAAY,GAAG,eAAe,CAC5I,CAAA;AACD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2G4B,CAAA;AAE3D,eAAO,MAAM,qBAAqB,2jCAwEe,CAAA"}
|
|
@@ -11,6 +11,8 @@ export const CHANNEL_UI_EFFECTS = Object.freeze({
|
|
|
11
11
|
'setStatusBar': 'mutate',
|
|
12
12
|
'setWhale': 'mutate',
|
|
13
13
|
'setWhaleIdle': 'mutate',
|
|
14
|
+
'setSplashFont': 'mutate',
|
|
15
|
+
'setWhaleGirl': 'mutate',
|
|
14
16
|
'setMinimal': 'mutate',
|
|
15
17
|
'commandCompletions': 'mutate',
|
|
16
18
|
'runExternalCommand': 'mutate',
|
|
@@ -72,8 +74,12 @@ export const CHANNEL_UI_EFFECTS = Object.freeze({
|
|
|
72
74
|
'subscribeSettingsSections': 'subscribe',
|
|
73
75
|
'listFileCandidates': 'read-only',
|
|
74
76
|
'listFiles': 'read-only',
|
|
77
|
+
'cachedSessions': 'read-only',
|
|
75
78
|
'listSessions': 'read-only',
|
|
76
79
|
'previewSession': 'read-only',
|
|
80
|
+
'listForeignSources': 'read-only',
|
|
81
|
+
'listForeignSessions': 'read-only',
|
|
82
|
+
'importForeignSession': 'mutate',
|
|
77
83
|
'setResumeTarget': 'mutate',
|
|
78
84
|
'renameSession': 'mutate',
|
|
79
85
|
'setSessionColor': 'mutate',
|
|
@@ -81,6 +87,7 @@ export const CHANNEL_UI_EFFECTS = Object.freeze({
|
|
|
81
87
|
'deleteSession': 'mutate',
|
|
82
88
|
'renameSessionTo': 'mutate',
|
|
83
89
|
'compact': 'mutate',
|
|
90
|
+
'cancelCompact': 'mutate',
|
|
84
91
|
'pushLocal': 'mutate',
|
|
85
92
|
'mcpStatus': 'read-only',
|
|
86
93
|
'exportSession': 'mutate',
|
|
@@ -106,8 +113,10 @@ export const CHANNEL_UI_PROPERTIES = [
|
|
|
106
113
|
'sessionTitle',
|
|
107
114
|
'sessionColor',
|
|
108
115
|
'agentId',
|
|
116
|
+
'sessionId',
|
|
109
117
|
'agentBindingGeneration',
|
|
110
118
|
'autoRecapOnOpen',
|
|
119
|
+
'settingsNamespace',
|
|
111
120
|
'model',
|
|
112
121
|
'provider',
|
|
113
122
|
'configuredProvider',
|
|
@@ -116,10 +125,13 @@ export const CHANNEL_UI_PROPERTIES = [
|
|
|
116
125
|
'configuredActivityFrames',
|
|
117
126
|
'configuredLang',
|
|
118
127
|
'tokens',
|
|
128
|
+
'mainCost',
|
|
129
|
+
'subagentCost',
|
|
119
130
|
'cwd',
|
|
120
131
|
'displayCwd',
|
|
121
132
|
'gitBranch',
|
|
122
133
|
'working',
|
|
134
|
+
'compaction',
|
|
123
135
|
'cancelPending',
|
|
124
136
|
'spinnerMode',
|
|
125
137
|
'responseChars',
|
|
@@ -133,7 +145,6 @@ export const CHANNEL_UI_PROPERTIES = [
|
|
|
133
145
|
'lastUsage',
|
|
134
146
|
'tps',
|
|
135
147
|
'tpsSamples',
|
|
136
|
-
'workingActivity',
|
|
137
148
|
'activityFrames',
|
|
138
149
|
'diffLayout',
|
|
139
150
|
'thinkingFold',
|
|
@@ -147,6 +158,8 @@ export const CHANNEL_UI_PROPERTIES = [
|
|
|
147
158
|
'statusBar',
|
|
148
159
|
'whale',
|
|
149
160
|
'whaleIdle',
|
|
161
|
+
'splashFont',
|
|
162
|
+
'whaleGirl',
|
|
150
163
|
'minimal',
|
|
151
164
|
'activityEnabled',
|
|
152
165
|
'contextBarEnabled',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay.d.ts","sourceRoot":"","sources":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,MAAM,EAAE,CAAA;IACnC,QAAQ,CAAC,UAAU,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACnD,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAA;IACnC,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAA;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,mBAAmB,CAAA;CACvC;AAED,qBAAa,kBAAmB,SAAQ,KAAK;gBAC/B,OAAO,EAAE,MAAM;CAI5B;AAED,sEAAsE;AACtE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CA4F/D;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CA2H9F;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC,CAsD/E;AAED;8DAC8D;AAC9D,wBAAgB,uCAAuC,IAAI,KAAK,CAI/D"}
|
|
@@ -53,6 +53,7 @@ export const CHANNEL_METHOD_FEATURES = Object.freeze({
|
|
|
53
53
|
listPresets: 'presets',
|
|
54
54
|
switchPreset: 'presets',
|
|
55
55
|
listSkills: 'skills',
|
|
56
|
+
cachedSessions: 'session-history',
|
|
56
57
|
listSessions: 'session-history',
|
|
57
58
|
previewSession: 'session-history',
|
|
58
59
|
deleteSession: 'session-history',
|
|
@@ -61,6 +62,7 @@ export const CHANNEL_METHOD_FEATURES = Object.freeze({
|
|
|
61
62
|
resumeTo: 'session-history',
|
|
62
63
|
newSession: 'session-lifecycle',
|
|
63
64
|
compact: 'session-lifecycle',
|
|
65
|
+
cancelCompact: 'session-lifecycle',
|
|
64
66
|
submit: 'session-input',
|
|
65
67
|
steer: 'session-input',
|
|
66
68
|
cancel: 'session-input',
|
|
@@ -32,6 +32,18 @@ export type PageMarginMode = 'none' | 'slim' | 'normal' | 'roomy';
|
|
|
32
32
|
/** Custom spec: `NxM` — N blank columns per side, M blank rows top/bottom
|
|
33
33
|
* (e.g. `3x1`). */
|
|
34
34
|
export type PageMarginSpec = `${number}x${number}`;
|
|
35
|
+
/**
|
|
36
|
+
* Face ids registered for the header splash's big text. The art and metrics
|
|
37
|
+
* live in `components/splashFonts.ts`, whose registry is keyed by this union
|
|
38
|
+
* — so a face declared here without a table entry is a compile error there.
|
|
39
|
+
*/
|
|
40
|
+
export type SplashFontId = 'bold' | 'square' | 'bevel' | 'wide' | 'dot' | 'stencil' | 'classic' | 'slab';
|
|
41
|
+
/**
|
|
42
|
+
* Stored big-text setting (settings `dsh-tui.splashFont`): `daily` (the
|
|
43
|
+
* default) rotates by local date; any other member pins that one face.
|
|
44
|
+
* Normalization back to `daily` belongs to `components/splashFonts.ts`.
|
|
45
|
+
*/
|
|
46
|
+
export type SplashFontSetting = 'daily' | SplashFontId;
|
|
35
47
|
/** Individually selectable fields in the status footer. */
|
|
36
48
|
export interface StatusBarConfig {
|
|
37
49
|
/** Prefer the compact, single-line presentation when space permits. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel-display.d.ts","sourceRoot":"","sources":["../../../../src/adapter/ports/channel-display.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAG9E;;;GAGG;AACH,MAAM,MAAM,WAAW,GACnB,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,UAAU,GACV,YAAY,CAAA;AAEhB,uDAAuD;AACvD,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAEzD;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAA;AAElE,oEAAoE;AACpE,MAAM,MAAM,iBAAiB,GAAG,cAAc,GAAG,cAAc,CAAA;AAE/D;;;;;;;;;;GAUG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,OAA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A;IACd,yCAAyC;IACzC,MAAM,EAAE,OAAO,CAAA;IACf;0EACsE;IACtE,IAAI,EAAE,OAAO,CAAA;IACb,oCAAoC;IACpC,GAAG,EAAE,OAAO,CAAA;IACZ,0BAA0B;IAC1B,SAAS,EAAE,OAAO,CAAA;IAClB,6BAA6B;IAC7B,YAAY,EAAE,OAAO,CAAA;IACrB,+EAA+E;IAC/E,SAAS,EAAE,OAAO,CAAA;IAClB,oEAAoE;IACpE,IAAI,EAAE,OAAO,CAAA;IACb,gCAAgC;IAChC,IAAI,EAAE,OAAO,CAAA;IACb,4DAA4D;IAC5D,UAAU,EAAE,OAAO,CAAA;IACnB,qCAAqC;IACrC,QAAQ,EAAE,OAAO,CAAA;IACjB,gEAAgE;IAChE,UAAU,EAAE,OAAO,CAAA;IACnB,mFAAmF;IACnF,YAAY,EAAE,OAAO,CAAA;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B;wDACoD;IACpD,EAAE,EAAE,MAAM,CAAA;IACV,gEAAgE;IAChE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gDAAgD;IAChD,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,iEAAiE;IACjE,OAAO,CAAC,EAAE,WAAW,GAAG,iBAAiB,GAAG,oBAAoB,CAAA;IAChE,sEAAsE;IACtE,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,CAAA;IAC1B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB"}
|
|
@@ -226,4 +226,42 @@ export interface PreviewEntry {
|
|
|
226
226
|
readonly text: string;
|
|
227
227
|
readonly at: number | undefined;
|
|
228
228
|
}
|
|
229
|
+
/** A foreign coding agent whose local conversations can be browsed
|
|
230
|
+
* (session screen source tabs). Only sources with data are listed. */
|
|
231
|
+
export interface ForeignSource {
|
|
232
|
+
readonly agentId: string;
|
|
233
|
+
readonly label: string;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* One foreign conversation as listed in a source tab. Everything about the
|
|
237
|
+
* source's storage stays behind `key`: the UI hands it back to import and
|
|
238
|
+
* never interprets it.
|
|
239
|
+
*/
|
|
240
|
+
export interface ForeignSessionRow {
|
|
241
|
+
readonly agentId: string;
|
|
242
|
+
/** Opaque handle for importForeignSession; unique within the source. */
|
|
243
|
+
readonly key: string;
|
|
244
|
+
readonly title: string;
|
|
245
|
+
/** '' when the source did not record one. */
|
|
246
|
+
readonly cwd: string;
|
|
247
|
+
/** Last activity, epoch ms. */
|
|
248
|
+
readonly updatedAt: number;
|
|
249
|
+
}
|
|
250
|
+
/** What selecting a foreign conversation led to. */
|
|
251
|
+
export type ForeignImportOutcome =
|
|
252
|
+
/** Imported now (`created`) or already present: open `sessionId`. */
|
|
253
|
+
{
|
|
254
|
+
readonly kind: 'ready';
|
|
255
|
+
readonly sessionId: string;
|
|
256
|
+
readonly created: boolean;
|
|
257
|
+
}
|
|
258
|
+
/** Its working directory is gone; nothing was imported. */
|
|
259
|
+
| {
|
|
260
|
+
readonly kind: 'cwd-missing';
|
|
261
|
+
readonly cwd: string;
|
|
262
|
+
} | {
|
|
263
|
+
readonly kind: 'failed';
|
|
264
|
+
readonly reason: 'missing' | 'too-large' | 'not-a-session' | 'write-failed' | 'unknown-source';
|
|
265
|
+
readonly detail?: string;
|
|
266
|
+
};
|
|
229
267
|
//# sourceMappingURL=channel-session.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel-session.d.ts","sourceRoot":"","sources":["../../../../src/adapter/ports/channel-session.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAG9E,6EAA6E;AAC7E,MAAM,WAAW,aAAa;IAC5B,4DAA4D;IAC5D,EAAE,EAAE,MAAM,CAAA;IACV,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAA;IACb,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,C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AM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,wEAAwE;IACxE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,6CAA6C;IAC7C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,+BAA+B;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAC3B;AAED,oDAAoD;AACpD,MAAM,MAAM,oBAAoB;AAC9B,qEAAqE;AACnE;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAAE;AACnF,2DAA2D;GACzD;IAAE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GACtD;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,GAAG,WAAW,GAAG,eAAe,GAAG,cAAc,GAAG,gBAAgB,CAAC;IAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA"}
|
|
@@ -97,6 +97,9 @@ export interface ConfiguredProvider {
|
|
|
97
97
|
/** Explicit `api` override in the stored profile; catalog routes can
|
|
98
98
|
* carry one too, so this alone does not classify the route. */
|
|
99
99
|
readonly api?: string;
|
|
100
|
+
/** Effective profile needs custom request headers that the anonymous
|
|
101
|
+
* discovery request cannot inherit from the named route. */
|
|
102
|
+
readonly hasCustomHeaders?: boolean;
|
|
100
103
|
/** Enabled model ids; undefined means the whole catalog stays served. */
|
|
101
104
|
readonly models?: readonly string[];
|
|
102
105
|
/**
|
|
@@ -202,6 +205,15 @@ export interface TuiSettingsGroup {
|
|
|
202
205
|
title: string;
|
|
203
206
|
/** Provider-owned translations for the title. */
|
|
204
207
|
descriptions?: LocalizedDescriptions;
|
|
208
|
+
/**
|
|
209
|
+
* Root-page presentation. 'page' (the default) renders one navigation
|
|
210
|
+
* row that opens the group's fields on a subpage — for deep, cohesive
|
|
211
|
+
* domains. 'inline' renders the fields directly on the root page under
|
|
212
|
+
* a small header — for shallow topics where a subpage round-trip costs
|
|
213
|
+
* more clicks than the ordering buys. Subpage navigation (Esc back,
|
|
214
|
+
* focus reset) only exists for 'page' groups.
|
|
215
|
+
*/
|
|
216
|
+
mode?: 'inline' | 'page';
|
|
205
217
|
}
|
|
206
218
|
export interface TuiSettingsField {
|
|
207
219
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel-settings.d.ts","sourceRoot":"","sources":["../../../../src/adapter/ports/channel-settings.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAEjE;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,uEAAuE;IACvE,oBAAoB,IAAI,SAAS,wBAAwB,EAAE,CAAA;IAC3D;;;;;OAKG;IACH,uBAAuB,IAAI,SAAS,kBAAkB,EAAE,CAAA;IACxD;;;;;;;OAOG;IACH,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAAA;IAClE,kEAAkE;IAClE,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAA;IACnC,sEAAsE;IACtE,cAAc,CAAC,OAAO,EAAE;QACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,GAAG,OAAO,CAAC,SAAS,kBAAkB,EAAE,C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CAAC;IAAC,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAA;AAE5C,2DAA2D;AAC3D,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IACV,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,iDAAiD;IACjD,YAAY,CAAC,EAAE,qBAAqB,CAAA;IACpC,oDAAoD;IACpD,MAAM,CAAC,EAAE,SAAS,gBAAgB,EAAE,CAAA;IACpC,yCAAyC;IACzC,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAA;CACpC;AAED,6DAA6D;AAC7D,MAAM,WAAW,gBAAgB;IAC/B,oDAAoD;IACpD,EAAE,EAAE,MAAM,CAAA;IACV,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAA;IACb,iDAAiD;IACjD,YAAY,CAAC,EAAE,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"channel-settings.d.ts","sourceRoot":"","sources":["../../../../src/adapter/ports/channel-settings.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAEjE;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,uEAAuE;IACvE,oBAAoB,IAAI,SAAS,wBAAwB,EAAE,CAAA;IAC3D;;;;;OAKG;IACH,uBAAuB,IAAI,SAAS,kBAAkB,EAAE,CAAA;IACxD;;;;;;;OAOG;IACH,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAAA;IAClE,kEAAkE;IAClE,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAA;IACnC,sEAAsE;IACtE,cAAc,CAAC,OAAO,EAAE;QACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,OAAO,CA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C,EAAE,SAAS,sBAAsB,EAAE,CAAA;IAC3C,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;IACxB;;;OAGG;IACH,MAAM,CAAC,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAA;IAC/B;;;;;;OAMG;IACH,KAAK,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAAA;CACxD;AAED,iEAAiE;AACjE,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE3E,MAAM,WAAW,sBAAsB;IACrC,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,iDAAiD;IACjD,YAAY,CAAC,EAAE,qBAAqB,CAAA;CACrC;AAED,oEAAoE;AACpE,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,GAC/B;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Host-owned in-process Channel contract. No runtime or upstream imports. */
|
|
2
|
-
import type { ChatRow, AgentStatus, TokenUsage,
|
|
3
|
-
import type { SpinnerMode, ToolBackground, ScrollGutterMode, PageMarginSetting, StatusBarConfig, SessionModeSpec } from './channel-display.js';
|
|
2
|
+
import type { ChatRow, AgentStatus, TokenUsage, SessionCostByModel, SubagentCostEntry, NotificationItem, ChannelGoal, TodoPanelItem, LoadedContext, PendingMessage, ChannelSceneMetadata, SubagentState, SubagentControl, BackgroundJobState, JobControl, StagedImageInput, StagedImageHandle, ComposerImageRef, ComposerSubmission, ExternalCommandOutcome, TranscriptImage, ResumeResult, EffortOption, PermissionPresetSnapshot, PresetOption, LlmModelInfo, LlmProviderInfo, SkillInfo, CredentialStatus, AgentViewRow, AgentViewDispatchResult, BackgroundResult, RawTrajEvent, ChannelSelection, CompactionStatus } from './channel-view.js';
|
|
3
|
+
import type { SpinnerMode, ToolBackground, ScrollGutterMode, PageMarginSetting, StatusBarConfig, SessionModeSpec, SplashFontSetting } from './channel-display.js';
|
|
4
4
|
import type { LocalCommand, CommandCompletion, BalanceResult, FileCandidate, RecapOutcome } from './channel-catalog.js';
|
|
5
|
-
import type { TuiRewindMode, SessionTreeData, SessionSummary, PreviewEntry } from './channel-session.js';
|
|
5
|
+
import type { TuiRewindMode, SessionTreeData, SessionSummary, PreviewEntry, ForeignSource, ForeignSessionRow, ForeignImportOutcome } from './channel-session.js';
|
|
6
6
|
import type { TuiWorkspaceTarget, TuiWorkspaceCommand, TuiWorkspaceCommandResult, TuiWorkspaceEntry } from './channel-workspace.js';
|
|
7
7
|
import type { ProviderSetupHost, OAuthProviderStatus, SettingsHost, TuiSettingsSection } from './channel-settings.js';
|
|
8
8
|
/**
|
|
@@ -28,6 +28,11 @@ export interface ChannelUi {
|
|
|
28
28
|
* the prompt-input border + session label chip accent (cc/sessionColors). */
|
|
29
29
|
readonly sessionColor: string;
|
|
30
30
|
readonly agentId: string;
|
|
31
|
+
/** Identity of the session behind the bound agent. Read by session-scoped
|
|
32
|
+
* consumers — the activity projection is keyed by session, and the two ids
|
|
33
|
+
* are only conventionally equal (both are minted as a `SessionId`), so the
|
|
34
|
+
* session must be nameable on its own rather than inferred from the agent. */
|
|
35
|
+
readonly sessionId: string;
|
|
31
36
|
/** TUI-owned generation that changes on every live Agent rebind. */
|
|
32
37
|
readonly agentBindingGeneration: number;
|
|
33
38
|
/** `dsh-tui.recapOnOpen` (default on): auto-summarize the session tail
|
|
@@ -35,6 +40,12 @@ export interface ChannelUi {
|
|
|
35
40
|
* (settings service), so a `/settings` change applies on the next
|
|
36
41
|
* session switch; absent settings service → on. */
|
|
37
42
|
readonly autoRecapOnOpen: boolean;
|
|
43
|
+
/** Settings namespace this mount registered under — the Config owner's
|
|
44
|
+
* Loader id (see `resolveSettingsNamespace`), not a fixed plugin name, so
|
|
45
|
+
* custom mount ids are supported. Read sites that look the TUI's section up
|
|
46
|
+
* through `describe()`/`listNamespaces()` must match on this value; a
|
|
47
|
+
* literal `'dsh-tui'` silently misses every non-default mount. */
|
|
48
|
+
readonly settingsNamespace: string;
|
|
38
49
|
/** Resolved model id (from the plugin config). */
|
|
39
50
|
readonly model: string;
|
|
40
51
|
/** Provider route of the live agent. */
|
|
@@ -53,6 +64,11 @@ export interface ChannelUi {
|
|
|
53
64
|
readonly configuredLang: string | undefined;
|
|
54
65
|
/** Running token totals across the session's assistant messages. */
|
|
55
66
|
readonly tokens: TokenUsage;
|
|
67
|
+
/** 本会话主会话用量按模型分桶(费用估算输入)。与 `tokens` 并行累计,
|
|
68
|
+
* 既有 `tokens` 语义与显示不变;会话中途换模型时历史用量留在原模型桶。 */
|
|
69
|
+
readonly mainCost: SessionCostByModel;
|
|
70
|
+
/** 子代理 durable 用量按 (provider, model) 分桶快照(费用估算输入)。 */
|
|
71
|
+
readonly subagentCost: readonly SubagentCostEntry[];
|
|
56
72
|
/** Working directory of the session. */
|
|
57
73
|
readonly cwd: string;
|
|
58
74
|
/** Human-facing cwd (remote POSIX path/URI instead of a host alias). */
|
|
@@ -61,6 +77,12 @@ export interface ChannelUi {
|
|
|
61
77
|
readonly gitBranch: string | undefined;
|
|
62
78
|
/** True between turn/start and turn/end — drives the working spinner. */
|
|
63
79
|
readonly working: boolean;
|
|
80
|
+
/** In-flight compaction of this session's history, or undefined when none
|
|
81
|
+
* is running (see {@link CompactionStatus}). Required-and-undefined rather
|
|
82
|
+
* than optional: the effect inventory maps over `keyof ChannelUi`, and an
|
|
83
|
+
* optional member widens that key union with `undefined`, which breaks the
|
|
84
|
+
* `Record` constraint on the inventory itself. */
|
|
85
|
+
readonly compaction: CompactionStatus | undefined;
|
|
64
86
|
/** True while a user-requested abort (Ctrl+C/Esc interrupt) has not yet
|
|
65
87
|
* converged — no turn/start or turn/end has retired the aborted turn.
|
|
66
88
|
* Chat uses it so a repeated Ctrl+C during a stuck abort force-exits. */
|
|
@@ -99,8 +121,6 @@ export interface ChannelUi {
|
|
|
99
121
|
tps: number;
|
|
100
122
|
at: number;
|
|
101
123
|
}[];
|
|
102
|
-
/** Latest in-process working-activity snapshot. */
|
|
103
|
-
readonly workingActivity: ActivityStatus | undefined;
|
|
104
124
|
/** Working-activity indicator preset name (`claude`/`moon`/…/`random`). */
|
|
105
125
|
readonly activityFrames: string | undefined;
|
|
106
126
|
/** Edit/Write diff presentation preference (`auto`/`split`/`unified`). */
|
|
@@ -141,12 +161,22 @@ export interface ChannelUi {
|
|
|
141
161
|
readonly whale: boolean;
|
|
142
162
|
/** Idle whale behaviors switch (settings `dsh-tui.whaleIdle`). */
|
|
143
163
|
readonly whaleIdle: boolean;
|
|
164
|
+
/** Swap the header's pixel whale for the static maid portrait (settings
|
|
165
|
+
* `dsh-tui.whaleGirl`; off by default). */
|
|
166
|
+
readonly whaleGirl: boolean;
|
|
144
167
|
/** Apply an idle-whale-behavior change (see the public Channel type). */
|
|
145
168
|
setWhaleIdle(enabled: boolean): void;
|
|
169
|
+
/** Big-text face on the header splash (settings `dsh-tui.splashFont`):
|
|
170
|
+
* `daily` (the default) rotates by local date, any other id pins that one
|
|
171
|
+
* face — see `components/splashFonts.ts` for the registry. */
|
|
172
|
+
readonly splashFont: SplashFontSetting;
|
|
173
|
+
/** Apply a maid-portrait change (see the public Channel type). */
|
|
174
|
+
setWhaleGirl(enabled: boolean): void;
|
|
146
175
|
/** Minimal mode (settings `dsh-tui.minimal`): no header splash, no emoji
|
|
147
176
|
* glyphs, no decorative colors; code highlight and tool colors stay. */
|
|
148
177
|
readonly minimal: boolean;
|
|
149
|
-
/** Whether the
|
|
178
|
+
/** Whether the working-activity line is shown (config.activity); the line
|
|
179
|
+
* itself is read from the plugin's session projection, not this port. */
|
|
150
180
|
readonly activityEnabled: boolean;
|
|
151
181
|
/** Whether the segmented context bar row shows in the status footer
|
|
152
182
|
* (config.contextBar; the status/mode lines are unaffected). */
|
|
@@ -464,7 +494,18 @@ export interface ChannelUi {
|
|
|
464
494
|
listFiles(): Promise<readonly string[]>;
|
|
465
495
|
/** Every session the persistence backend stores, classified and unfiltered
|
|
466
496
|
* — the browser (`/resume`) decides which of them a given view shows. */
|
|
467
|
-
|
|
497
|
+
/** Last successful source-scoped listing for first paint; never authoritative. */
|
|
498
|
+
cachedSessions(): readonly SessionSummary[] | undefined;
|
|
499
|
+
listSessions(onEnriched?: (summary: SessionSummary) => void, onPartial?: (rows: readonly SessionSummary[]) => void): Promise<readonly SessionSummary[]>;
|
|
500
|
+
/** Other coding agents on this machine that have conversations (a cheap
|
|
501
|
+
* presence probe; nothing is read or remembered). */
|
|
502
|
+
listForeignSources(): Promise<readonly ForeignSource[]>;
|
|
503
|
+
/** One source's conversations, newest first; `onRow` streams rows as the
|
|
504
|
+
* scan finds them. Unchanged conversations are not re-read within a run. */
|
|
505
|
+
listForeignSessions(agentId: string, onRow?: (row: ForeignSessionRow) => void): Promise<readonly ForeignSessionRow[]>;
|
|
506
|
+
/** Import one foreign conversation unless already present; a repeat
|
|
507
|
+
* request for a conversation being imported joins the running import. */
|
|
508
|
+
importForeignSession(agentId: string, key: string): Promise<ForeignImportOutcome>;
|
|
468
509
|
/** Trailing exchanges of a persisted session, for the browser's preview. */
|
|
469
510
|
previewSession(sessionId: string): Promise<readonly PreviewEntry[]>;
|
|
470
511
|
/** Mark a session for `dsh-tui --resume` on the next launch. */
|
|
@@ -493,6 +534,10 @@ export interface ChannelUi {
|
|
|
493
534
|
renameSessionTo(sessionId: string, title: string): Promise<boolean>;
|
|
494
535
|
/** Manually compact the session history (`/compact`); no-op notify when the leaf lacks a compaction service. */
|
|
495
536
|
compact(): void;
|
|
537
|
+
/** Abort an in-flight manual compaction (`Esc` while it runs). No-op when
|
|
538
|
+
* none is running or the running one belongs to another process/host: only
|
|
539
|
+
* this channel's own request carries an abort signal it may fire. */
|
|
540
|
+
cancelCompact(): void;
|
|
496
541
|
/** Render a multi-line local report in the transcript (`/status`,
|
|
497
542
|
* `/doctor`, …): a `local` row plus one `local-output` row per line. */
|
|
498
543
|
pushLocal(title: string, lines: readonly string[]): void;
|
|
@@ -584,6 +629,7 @@ export interface ChannelUi {
|
|
|
584
629
|
setSmoothStreaming(enabled: boolean): void;
|
|
585
630
|
setStatusBar(config: Partial<StatusBarConfig>): void;
|
|
586
631
|
setWhale(visible: boolean): void;
|
|
632
|
+
setSplashFont(setting: SplashFontSetting): void;
|
|
587
633
|
setMinimal(enabled: boolean): void;
|
|
588
634
|
}
|
|
589
635
|
//# sourceMappingURL=channel-ui.d.ts.map
|