@deepseek-harness-tui/dsh-tui 0.11.1 → 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 +50 -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 +39 -17
- package/cordis.yml +3 -2
- package/lib/settings.json +1272 -0
- 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 +13 -0
- 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 +46 -4
- package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
- package/lib/types/adapter/ports/channel-view.d.ts +43 -0
- package/lib/types/adapter/ports/channel-view.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/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 +13 -4
- 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 +48 -7
- package/lib/types/components/SplitDiffView.d.ts.map +1 -1
- package/lib/types/components/SplitDiffView.js +2 -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/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/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.map +1 -1
- package/lib/types/components/messages/AssistantThinkingMessage.js +2 -1
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -1
- package/lib/types/components/messages/AssistantToolUseMessage.js +3 -2
- 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/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 +1 -0
- package/lib/types/dsh-adapter/channel/background-action.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/background-action.js +1 -0
- package/lib/types/dsh-adapter/channel/binding-events.d.ts +8 -9
- package/lib/types/dsh-adapter/channel/binding-events.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/binding-events.js +69 -21
- package/lib/types/dsh-adapter/channel/compaction.d.ts +2 -1
- package/lib/types/dsh-adapter/channel/compaction.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/compaction.js +35 -2
- 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.map +1 -1
- package/lib/types/dsh-adapter/channel/model-switch.js +5 -1
- 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-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 +2 -0
- package/lib/types/dsh-adapter/channel/session-live-adoption.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-live-adoption.js +9 -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 +39 -7
- 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 -0
- package/lib/types/dsh-adapter/channel/session-resume.d.ts +1 -0
- package/lib/types/dsh-adapter/channel/session-resume.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/session-resume.js +4 -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 +14 -1
- package/lib/types/dsh-adapter/channel/state.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/state.js +6 -1
- package/lib/types/dsh-adapter/channel/subagent-projection.d.ts +30 -35
- package/lib/types/dsh-adapter/channel/subagent-projection.d.ts.map +1 -1
- package/lib/types/dsh-adapter/channel/subagent-projection.js +138 -4
- 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.map +1 -1
- package/lib/types/dsh-adapter/channel.js +19 -4
- 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/contract.d.ts +5 -5
- package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
- package/lib/types/dsh-adapter/contract.js +8 -6
- 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 +4 -2
- package/lib/types/dsh-adapter/plugin.d.ts.map +1 -1
- package/lib/types/dsh-adapter/plugin.js +143 -364
- 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/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 +28 -3
- package/lib/types/dsh-adapter/subagents.d.ts.map +1 -1
- package/lib/types/dsh-adapter/subagents.js +77 -2
- 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/i18n.d.ts +424 -42
- package/lib/types/i18n.d.ts.map +1 -1
- package/lib/types/i18n.js +145 -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/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 +40 -18
- package/lib/types/ink/selection.d.ts.map +1 -1
- package/lib/types/ink/selection.js +142 -30
- 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 +14 -1
- package/lib/types/screens/Chat.d.ts.map +1 -1
- package/lib/types/screens/Chat.js +606 -53
- 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.map +1 -1
- package/lib/types/screens/StatusLine.js +45 -15
- 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.map +1 -1
- package/lib/types/utils/fold-long-lines.js +2 -1
- 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/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 +111 -97
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { loadSharp } from '../dsh-adapter/sharp.js';
|
|
2
|
+
import { TERMINAL_IMAGE_MAX_BYTES, TERMINAL_IMAGE_MAX_EDGE, } from '../ink/terminal-image.js';
|
|
3
|
+
import { planFormulaLayout } from './layout.js';
|
|
4
|
+
/** Same budget as the Unicode renderer: longer input is a paste, not math. */
|
|
5
|
+
export const MATH_SOURCE_LIMIT = 4096;
|
|
6
|
+
/**
|
|
7
|
+
* Transparent margins tried in turn, in CSS pixels. Glyph overhang (italic
|
|
8
|
+
* tails, radicals, big fences) can exceed the box MathJax reports; a raster
|
|
9
|
+
* whose ink still touches the canvas edge at the largest margin is rejected
|
|
10
|
+
* rather than shown clipped.
|
|
11
|
+
*/
|
|
12
|
+
const BLEED_STEPS = [1, 2, 4, 8, 16, 32];
|
|
13
|
+
/** LRU bounded by entry count and by the summed weight of its values. */
|
|
14
|
+
class WeightedLru {
|
|
15
|
+
maxEntries;
|
|
16
|
+
maxWeight;
|
|
17
|
+
weigh;
|
|
18
|
+
map = new Map();
|
|
19
|
+
weight = 0;
|
|
20
|
+
constructor(maxEntries, maxWeight, weigh) {
|
|
21
|
+
this.maxEntries = maxEntries;
|
|
22
|
+
this.maxWeight = maxWeight;
|
|
23
|
+
this.weigh = weigh;
|
|
24
|
+
}
|
|
25
|
+
get(key) {
|
|
26
|
+
const value = this.map.get(key);
|
|
27
|
+
if (value === undefined)
|
|
28
|
+
return undefined;
|
|
29
|
+
this.map.delete(key);
|
|
30
|
+
this.map.set(key, value);
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
set(key, value) {
|
|
34
|
+
const previous = this.map.get(key);
|
|
35
|
+
if (previous !== undefined) {
|
|
36
|
+
this.weight -= this.weigh(previous);
|
|
37
|
+
this.map.delete(key);
|
|
38
|
+
}
|
|
39
|
+
this.map.set(key, value);
|
|
40
|
+
this.weight += this.weigh(value);
|
|
41
|
+
while (this.map.size > this.maxEntries || this.weight > this.maxWeight) {
|
|
42
|
+
const oldest = this.map.keys().next();
|
|
43
|
+
if (oldest.done === true)
|
|
44
|
+
break;
|
|
45
|
+
this.weight -= this.weigh(this.map.get(oldest.value));
|
|
46
|
+
this.map.delete(oldest.value);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
clear() {
|
|
50
|
+
this.map.clear();
|
|
51
|
+
this.weight = 0;
|
|
52
|
+
}
|
|
53
|
+
get size() {
|
|
54
|
+
return this.map.size;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
const vectors = new WeightedLru(256, 8 * 1024 * 1024, value => 'svg' in value ? value.svg.length * 2 : 64);
|
|
58
|
+
const rasters = new WeightedLru(128, 64 * 1024 * 1024, value => value.ok ? value.raster.source.data.byteLength : 64);
|
|
59
|
+
const inflight = new Map();
|
|
60
|
+
/** Cache counters, for tests and debug output. */
|
|
61
|
+
export const mathRenderStats = { vectorHits: 0, vectorMisses: 0, rasterHits: 0, rasterMisses: 0 };
|
|
62
|
+
let converter;
|
|
63
|
+
function loadConverter() {
|
|
64
|
+
converter ??= import('@dsh-tui-vendor/mathjax-tex-svg')
|
|
65
|
+
.then(module => module.createTexToSvg())
|
|
66
|
+
.catch(() => undefined);
|
|
67
|
+
return converter;
|
|
68
|
+
}
|
|
69
|
+
async function typeset(tex, display) {
|
|
70
|
+
const key = `${display ? 'D' : 'T'}\u0000${tex}`;
|
|
71
|
+
const cached = vectors.get(key);
|
|
72
|
+
if (cached !== undefined) {
|
|
73
|
+
mathRenderStats.vectorHits += 1;
|
|
74
|
+
return cached;
|
|
75
|
+
}
|
|
76
|
+
mathRenderStats.vectorMisses += 1;
|
|
77
|
+
const engine = await loadConverter();
|
|
78
|
+
if (engine === undefined)
|
|
79
|
+
return { failure: 'backend-unavailable' };
|
|
80
|
+
let result;
|
|
81
|
+
try {
|
|
82
|
+
const { svg, widthEx, heightEx, verticalAlignEx } = engine.convert(tex, display);
|
|
83
|
+
result = { svg, widthEx, heightEx, verticalAlignEx };
|
|
84
|
+
}
|
|
85
|
+
catch {
|
|
86
|
+
result = { failure: 'tex-error' };
|
|
87
|
+
}
|
|
88
|
+
vectors.set(key, result);
|
|
89
|
+
return result;
|
|
90
|
+
}
|
|
91
|
+
/** Only a plain hex color may reach the SVG handed to the rasterizer. */
|
|
92
|
+
function normalizeColor(color) {
|
|
93
|
+
return /^#[0-9a-f]{6}$/i.test(color) ? color.toLowerCase() : '#808080';
|
|
94
|
+
}
|
|
95
|
+
/** Rewrite the root `<svg>` size to device pixels and its ink to `color`. */
|
|
96
|
+
function sizedSvg(svg, plan, color) {
|
|
97
|
+
const headEnd = svg.indexOf('>');
|
|
98
|
+
const head = svg
|
|
99
|
+
.slice(0, headEnd)
|
|
100
|
+
.replace(/\swidth="[^"]*"/, ` width="${plan.contentWidth.toFixed(3)}"`)
|
|
101
|
+
.replace(/\sheight="[^"]*"/, ` height="${plan.contentHeight.toFixed(3)}"`)
|
|
102
|
+
.replace(/\sstyle="[^"]*"/, '');
|
|
103
|
+
return (head + svg.slice(headEnd)).replaceAll('currentColor', color);
|
|
104
|
+
}
|
|
105
|
+
/** Half-open box of pixels with any alpha, or undefined when fully transparent. */
|
|
106
|
+
function inkBoundsOf(data, width, height) {
|
|
107
|
+
let left = width;
|
|
108
|
+
let top = height;
|
|
109
|
+
let right = 0;
|
|
110
|
+
let bottom = 0;
|
|
111
|
+
for (let y = 0; y < height; y++) {
|
|
112
|
+
for (let x = 0; x < width; x++) {
|
|
113
|
+
if (data[(y * width + x) * 4 + 3] === 0)
|
|
114
|
+
continue;
|
|
115
|
+
if (x < left)
|
|
116
|
+
left = x;
|
|
117
|
+
if (x >= right)
|
|
118
|
+
right = x + 1;
|
|
119
|
+
if (y < top)
|
|
120
|
+
top = y;
|
|
121
|
+
if (y >= bottom)
|
|
122
|
+
bottom = y + 1;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return right === 0 ? undefined : { left, top, right, bottom };
|
|
126
|
+
}
|
|
127
|
+
async function rasterize(vector, request, color, key) {
|
|
128
|
+
const sharp = await loadSharp();
|
|
129
|
+
if (sharp === undefined)
|
|
130
|
+
return { ok: false, failure: 'backend-unavailable' };
|
|
131
|
+
for (const bleed of BLEED_STEPS) {
|
|
132
|
+
const plan = planFormulaLayout(vector, {
|
|
133
|
+
cellSize: request.cellSize,
|
|
134
|
+
maxColumns: request.maxColumns,
|
|
135
|
+
maxRows: request.maxRows,
|
|
136
|
+
...(request.baseExToCellHeight === undefined ? {} : { baseExToCellHeight: request.baseExToCellHeight }),
|
|
137
|
+
bleed,
|
|
138
|
+
maxEdge: TERMINAL_IMAGE_MAX_EDGE,
|
|
139
|
+
maxBytes: TERMINAL_IMAGE_MAX_BYTES,
|
|
140
|
+
});
|
|
141
|
+
if (typeof plan === 'string')
|
|
142
|
+
return { ok: false, failure: plan };
|
|
143
|
+
let ink;
|
|
144
|
+
try {
|
|
145
|
+
ink = await sharp(Buffer.from(sizedSvg(vector.svg, plan, color)))
|
|
146
|
+
.ensureAlpha()
|
|
147
|
+
.raw()
|
|
148
|
+
.toBuffer({ resolveWithObject: true });
|
|
149
|
+
}
|
|
150
|
+
catch {
|
|
151
|
+
return { ok: false, failure: 'backend-unavailable' };
|
|
152
|
+
}
|
|
153
|
+
const { width, height } = ink.info;
|
|
154
|
+
if (width > plan.canvasWidth || height > plan.canvasHeight)
|
|
155
|
+
continue;
|
|
156
|
+
// Center the ink box in the whole-cell canvas; the rest stays transparent.
|
|
157
|
+
const canvas = new Uint8Array(plan.canvasWidth * plan.canvasHeight * 4);
|
|
158
|
+
const offsetX = Math.floor((plan.canvasWidth - width) / 2);
|
|
159
|
+
const offsetY = Math.floor((plan.canvasHeight - height) / 2);
|
|
160
|
+
for (let y = 0; y < height; y++) {
|
|
161
|
+
canvas.set(ink.data.subarray(y * width * 4, (y + 1) * width * 4), ((offsetY + y) * plan.canvasWidth + offsetX) * 4);
|
|
162
|
+
}
|
|
163
|
+
const bounds = inkBoundsOf(canvas, plan.canvasWidth, plan.canvasHeight);
|
|
164
|
+
if (bounds === undefined)
|
|
165
|
+
return { ok: false, failure: 'empty-raster' };
|
|
166
|
+
const touchesEdge = bounds.left === 0 || bounds.top === 0 ||
|
|
167
|
+
bounds.right === plan.canvasWidth || bounds.bottom === plan.canvasHeight;
|
|
168
|
+
if (touchesEdge)
|
|
169
|
+
continue;
|
|
170
|
+
return {
|
|
171
|
+
ok: true,
|
|
172
|
+
raster: {
|
|
173
|
+
key,
|
|
174
|
+
source: { data: canvas, width: plan.canvasWidth, height: plan.canvasHeight },
|
|
175
|
+
columns: plan.columns,
|
|
176
|
+
rows: plan.rows,
|
|
177
|
+
inkBounds: bounds,
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
return { ok: false, failure: 'clipped-raster' };
|
|
182
|
+
}
|
|
183
|
+
/** Normalize a request and derive its cache key (formula, color, geometry). */
|
|
184
|
+
function prepare(request) {
|
|
185
|
+
const tex = request.tex.trim();
|
|
186
|
+
if (tex === '')
|
|
187
|
+
return { failure: 'empty' };
|
|
188
|
+
if (tex.length > MATH_SOURCE_LIMIT)
|
|
189
|
+
return { failure: 'input-too-long' };
|
|
190
|
+
const color = normalizeColor(request.color);
|
|
191
|
+
const key = [
|
|
192
|
+
request.display ? 'D' : 'T',
|
|
193
|
+
color,
|
|
194
|
+
request.cellSize.width,
|
|
195
|
+
request.cellSize.height,
|
|
196
|
+
request.maxColumns,
|
|
197
|
+
request.maxRows,
|
|
198
|
+
request.baseExToCellHeight ?? '',
|
|
199
|
+
tex,
|
|
200
|
+
].join('\u0000');
|
|
201
|
+
return { key, tex, color };
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* The settled result for this request if one is cached, without rendering.
|
|
205
|
+
* Lets a remounted view (scrolled back into the viewport) paint its image on
|
|
206
|
+
* the first frame instead of flashing the Unicode fallback.
|
|
207
|
+
*/
|
|
208
|
+
export function peekMathRaster(request) {
|
|
209
|
+
const prepared = prepare(request);
|
|
210
|
+
if ('failure' in prepared)
|
|
211
|
+
return { ok: false, failure: prepared.failure };
|
|
212
|
+
return rasters.get(prepared.key);
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Typeset and rasterize one formula. Results (including failures) are cached
|
|
216
|
+
* by formula, color and geometry; concurrent requests for the same key share
|
|
217
|
+
* one render.
|
|
218
|
+
*/
|
|
219
|
+
export function renderMathRaster(request) {
|
|
220
|
+
const prepared = prepare(request);
|
|
221
|
+
if ('failure' in prepared)
|
|
222
|
+
return Promise.resolve({ ok: false, failure: prepared.failure });
|
|
223
|
+
const { key, tex, color } = prepared;
|
|
224
|
+
const cached = rasters.get(key);
|
|
225
|
+
if (cached !== undefined) {
|
|
226
|
+
mathRenderStats.rasterHits += 1;
|
|
227
|
+
return Promise.resolve(cached);
|
|
228
|
+
}
|
|
229
|
+
const pending = inflight.get(key);
|
|
230
|
+
if (pending !== undefined)
|
|
231
|
+
return pending;
|
|
232
|
+
mathRenderStats.rasterMisses += 1;
|
|
233
|
+
const render = (async () => {
|
|
234
|
+
const vector = await typeset(tex, request.display);
|
|
235
|
+
if ('failure' in vector)
|
|
236
|
+
return { ok: false, failure: vector.failure };
|
|
237
|
+
return rasterize(vector, request, color, key);
|
|
238
|
+
})()
|
|
239
|
+
.catch(() => ({ ok: false, failure: 'backend-unavailable' }))
|
|
240
|
+
.then(result => {
|
|
241
|
+
inflight.delete(key);
|
|
242
|
+
rasters.set(key, result);
|
|
243
|
+
return result;
|
|
244
|
+
});
|
|
245
|
+
inflight.set(key, render);
|
|
246
|
+
return render;
|
|
247
|
+
}
|
|
248
|
+
/** Drop every cached vector and raster (tests; a future debug command). */
|
|
249
|
+
export function clearMathRenderCaches() {
|
|
250
|
+
vectors.clear();
|
|
251
|
+
rasters.clear();
|
|
252
|
+
mathRenderStats.vectorHits = 0;
|
|
253
|
+
mathRenderStats.vectorMisses = 0;
|
|
254
|
+
mathRenderStats.rasterHits = 0;
|
|
255
|
+
mathRenderStats.rasterMisses = 0;
|
|
256
|
+
}
|
|
@@ -7,9 +7,10 @@ import { ActivityStore } from '../dsh-adapter/activity-store.js';
|
|
|
7
7
|
import type { TuiShortcutHost } from '../dsh-adapter/shortcuts.js';
|
|
8
8
|
import type { TuiThemeHost } from '../dsh-adapter/themes.js';
|
|
9
9
|
import { ApprovalStore } from '../dsh-adapter/approvals.js';
|
|
10
|
+
import { type StarAttempt } from '../components/StarPrompt.js';
|
|
10
11
|
import { type PromptController } from '../components/PromptInput.js';
|
|
11
12
|
import type { InjectController } from '../dsh-adapter/inject-channel.js';
|
|
12
|
-
export declare function Chat({ channel, questionStore, approvalStore, extensionDialogs, extensionStatus, activityStore, extensionShortcuts, themeHost, onExit, onUpdate, onRestart, fullscreen, trajectorySeen: trajectorySeenProp, injectControllerRef, promptControllerRef: promptControllerRefProp, renderScene, openHomeOnBoot, }: {
|
|
13
|
+
export declare function Chat({ channel, questionStore, approvalStore, extensionDialogs, extensionStatus, activityStore, extensionShortcuts, themeHost, onExit, onUpdate, onRestart, fullscreen, trajectorySeen: trajectorySeenProp, injectControllerRef, promptControllerRef: promptControllerRefProp, renderScene, openHomeOnBoot, starPrompt, }: {
|
|
13
14
|
channel: Channel;
|
|
14
15
|
renderScene?: (id: string, channel: Channel) => React.ReactNode;
|
|
15
16
|
questionStore: QuestionStore;
|
|
@@ -72,6 +73,18 @@ export declare function Chat({ channel, questionStore, approvalStore, extensionD
|
|
|
72
73
|
* installation, and tests need it deterministic.
|
|
73
74
|
*/
|
|
74
75
|
openHomeOnBoot?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Test seam for the startup star modal (usage milestones 99h / 999
|
|
78
|
+
* launches): `null` disables the modal outright; `dir` points the usage
|
|
79
|
+
* ledger at a fixture directory; overriding the actions keeps it fully
|
|
80
|
+
* interactive without spawning `gh` or a browser. Production leaves it
|
|
81
|
+
* undefined.
|
|
82
|
+
*/
|
|
83
|
+
starPrompt?: {
|
|
84
|
+
dir?: string;
|
|
85
|
+
onStar?: () => StarAttempt | Promise<StarAttempt>;
|
|
86
|
+
onOpen?: () => void;
|
|
87
|
+
} | null;
|
|
75
88
|
/**
|
|
76
89
|
* The composer's live controller, published every render. Exposed as a prop
|
|
77
90
|
* so a regression can read the draft the composer HOLDS — the ownership
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../src/screens/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../src/screens/Chat.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AA2BzB,OAAO,KAAK,EAAE,SAAS,IAAI,OAAO,EAAE,MAAM,iCAAiC,CAAA;AAE3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAwB,MAAM,0BAA0B,CAAA;AAC/E,OAAO,EAAE,aAAa,EAAe,MAAM,kCAAkC,CAAA;AAW7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAG5D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAa3D,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAQ1E,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAEjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AA4NxE,wBAAgB,IAAI,CAAC,EACnB,OAAO,EACP,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,UAAkB,EAClB,cAAc,EAAE,kBAAkB,EAClC,mBAAmB,EACnB,mBAAmB,EAAE,uBAAuB,EAC5C,WAAW,EACX,cAAc,EACd,UAAU,GACX,EAAE;IACD,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAA;IAC/D,aAAa,EAAE,aAAa,CAAA;IAC5B;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,cAAc,CAAA;IACjC,yDAAyD;IACzD,eAAe,CAAC,EAAE,cAAc,CAAA;IAChC,+EAA+E;IAC/E,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,iDAAiD;IACjD,kBAAkB,CAAC,EAAE,eAAe,CAAA;IACpC,uEAAuE;IACvE,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;IAC9D;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE,GAAG,IAAI,CAAA;IAC5G;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAC/D,4BAkvJA"}
|