@prestyj/cli 4.3.210 → 4.3.237
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 +17 -9
- package/dist/cli/auth.d.ts +4 -0
- package/dist/cli/auth.d.ts.map +1 -0
- package/dist/cli/auth.js +344 -0
- package/dist/cli/auth.js.map +1 -0
- package/dist/cli/command-routing.d.ts +28 -0
- package/dist/cli/command-routing.d.ts.map +1 -0
- package/dist/cli/command-routing.js +53 -0
- package/dist/cli/command-routing.js.map +1 -0
- package/dist/cli/command-routing.test.d.ts +2 -0
- package/dist/cli/command-routing.test.d.ts.map +1 -0
- package/dist/cli/command-routing.test.js +60 -0
- package/dist/cli/command-routing.test.js.map +1 -0
- package/dist/cli/mcp.d.ts +2 -0
- package/dist/cli/mcp.d.ts.map +1 -0
- package/dist/cli/mcp.js +309 -0
- package/dist/cli/mcp.js.map +1 -0
- package/dist/cli/pixel.d.ts +27 -0
- package/dist/cli/pixel.d.ts.map +1 -0
- package/dist/cli/pixel.js +103 -0
- package/dist/cli/pixel.js.map +1 -0
- package/dist/cli/shared.d.ts +13 -0
- package/dist/cli/shared.d.ts.map +1 -0
- package/dist/cli/shared.js +82 -0
- package/dist/cli/shared.js.map +1 -0
- package/dist/cli.d.ts +4 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +174 -732
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +4 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +14 -1
- package/dist/config.js.map +1 -1
- package/dist/config.test.d.ts +2 -0
- package/dist/config.test.d.ts.map +1 -0
- package/dist/config.test.js +29 -0
- package/dist/config.test.js.map +1 -0
- package/dist/core/agent-session-compaction.test.d.ts +2 -0
- package/dist/core/agent-session-compaction.test.d.ts.map +1 -0
- package/dist/core/agent-session-compaction.test.js +114 -0
- package/dist/core/agent-session-compaction.test.js.map +1 -0
- package/dist/core/agent-session.d.ts +0 -23
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +6 -101
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/checkpoint-store.d.ts +93 -0
- package/dist/core/checkpoint-store.d.ts.map +1 -0
- package/dist/core/checkpoint-store.js +188 -0
- package/dist/core/checkpoint-store.js.map +1 -0
- package/dist/core/checkpoint-store.test.d.ts +2 -0
- package/dist/core/checkpoint-store.test.d.ts.map +1 -0
- package/dist/core/checkpoint-store.test.js +111 -0
- package/dist/core/checkpoint-store.test.js.map +1 -0
- package/dist/core/compaction/compactor.d.ts +4 -0
- package/dist/core/compaction/compactor.d.ts.map +1 -1
- package/dist/core/compaction/compactor.js +81 -28
- package/dist/core/compaction/compactor.js.map +1 -1
- package/dist/core/compaction/compactor.test.js +33 -9
- package/dist/core/compaction/compactor.test.js.map +1 -1
- package/dist/core/compaction/token-estimator.test.js +1 -1
- package/dist/core/continue-replay-inventory.test.d.ts +2 -0
- package/dist/core/continue-replay-inventory.test.d.ts.map +1 -0
- package/dist/core/continue-replay-inventory.test.js +42 -0
- package/dist/core/continue-replay-inventory.test.js.map +1 -0
- package/dist/core/goal-controller.d.ts +4 -0
- package/dist/core/goal-controller.d.ts.map +1 -1
- package/dist/core/goal-controller.js +223 -32
- package/dist/core/goal-controller.js.map +1 -1
- package/dist/core/goal-controller.test.js +387 -22
- package/dist/core/goal-controller.test.js.map +1 -1
- package/dist/core/goal-lifecycle-smoke.test.js +49 -8
- package/dist/core/goal-lifecycle-smoke.test.js.map +1 -1
- package/dist/core/goal-prerequisites.d.ts +23 -0
- package/dist/core/goal-prerequisites.d.ts.map +1 -0
- package/dist/core/goal-prerequisites.js +114 -0
- package/dist/core/goal-prerequisites.js.map +1 -0
- package/dist/core/goal-prerequisites.test.d.ts +2 -0
- package/dist/core/goal-prerequisites.test.d.ts.map +1 -0
- package/dist/core/goal-prerequisites.test.js +118 -0
- package/dist/core/goal-prerequisites.test.js.map +1 -0
- package/dist/core/goal-store.d.ts +12 -1
- package/dist/core/goal-store.d.ts.map +1 -1
- package/dist/core/goal-store.js +146 -40
- package/dist/core/goal-store.js.map +1 -1
- package/dist/core/goal-store.test.js +65 -8
- package/dist/core/goal-store.test.js.map +1 -1
- package/dist/core/goal-verifier.d.ts.map +1 -1
- package/dist/core/goal-verifier.js +4 -1
- package/dist/core/goal-verifier.js.map +1 -1
- package/dist/core/goal-verifier.test.js +43 -0
- package/dist/core/goal-verifier.test.js.map +1 -1
- package/dist/core/goal-worker.d.ts +2 -0
- package/dist/core/goal-worker.d.ts.map +1 -1
- package/dist/core/goal-worker.js +31 -7
- package/dist/core/goal-worker.js.map +1 -1
- package/dist/core/goal-worker.test.js +44 -0
- package/dist/core/goal-worker.test.js.map +1 -1
- package/dist/core/ideal-review.d.ts +20 -0
- package/dist/core/ideal-review.d.ts.map +1 -0
- package/dist/core/ideal-review.js +55 -0
- package/dist/core/ideal-review.js.map +1 -0
- package/dist/core/ideal-review.test.d.ts +2 -0
- package/dist/core/ideal-review.test.d.ts.map +1 -0
- package/dist/core/ideal-review.test.js +59 -0
- package/dist/core/ideal-review.test.js.map +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -0
- package/dist/core/index.js.map +1 -1
- package/dist/core/loop-breaker.d.ts +46 -0
- package/dist/core/loop-breaker.d.ts.map +1 -0
- package/dist/core/loop-breaker.js +79 -0
- package/dist/core/loop-breaker.js.map +1 -0
- package/dist/core/loop-breaker.test.d.ts +2 -0
- package/dist/core/loop-breaker.test.d.ts.map +1 -0
- package/dist/core/loop-breaker.test.js +110 -0
- package/dist/core/loop-breaker.test.js.map +1 -0
- package/dist/core/mcp/client.d.ts +20 -0
- package/dist/core/mcp/client.d.ts.map +1 -1
- package/dist/core/mcp/client.js +55 -11
- package/dist/core/mcp/client.js.map +1 -1
- package/dist/core/mcp/defaults.d.ts +7 -0
- package/dist/core/mcp/defaults.d.ts.map +1 -1
- package/dist/core/mcp/defaults.js +14 -0
- package/dist/core/mcp/defaults.js.map +1 -1
- package/dist/core/mcp/index.d.ts +6 -1
- package/dist/core/mcp/index.d.ts.map +1 -1
- package/dist/core/mcp/index.js +3 -1
- package/dist/core/mcp/index.js.map +1 -1
- package/dist/core/mcp/parse-add-command.d.ts +25 -0
- package/dist/core/mcp/parse-add-command.d.ts.map +1 -0
- package/dist/core/mcp/parse-add-command.js +220 -0
- package/dist/core/mcp/parse-add-command.js.map +1 -0
- package/dist/core/mcp/parse-add-command.test.d.ts +2 -0
- package/dist/core/mcp/parse-add-command.test.d.ts.map +1 -0
- package/dist/core/mcp/parse-add-command.test.js +75 -0
- package/dist/core/mcp/parse-add-command.test.js.map +1 -0
- package/dist/core/mcp/store.d.ts +80 -0
- package/dist/core/mcp/store.d.ts.map +1 -0
- package/dist/core/mcp/store.js +157 -0
- package/dist/core/mcp/store.js.map +1 -0
- package/dist/core/mcp/store.test.d.ts +2 -0
- package/dist/core/mcp/store.test.d.ts.map +1 -0
- package/dist/core/mcp/store.test.js +101 -0
- package/dist/core/mcp/store.test.js.map +1 -0
- package/dist/core/model-registry.d.ts +2 -2
- package/dist/core/model-registry.js +4 -4
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-registry.test.js +1 -1
- package/dist/core/model-registry.test.js.map +1 -1
- package/dist/core/prompt-commands.d.ts.map +1 -1
- package/dist/core/prompt-commands.js +64 -894
- package/dist/core/prompt-commands.js.map +1 -1
- package/dist/core/prompt-commands.test.js +49 -41
- package/dist/core/prompt-commands.test.js.map +1 -1
- package/dist/core/regrounding.d.ts +23 -0
- package/dist/core/regrounding.d.ts.map +1 -0
- package/dist/core/regrounding.js +21 -0
- package/dist/core/regrounding.js.map +1 -0
- package/dist/core/regrounding.test.d.ts +2 -0
- package/dist/core/regrounding.test.d.ts.map +1 -0
- package/dist/core/regrounding.test.js +38 -0
- package/dist/core/regrounding.test.js.map +1 -0
- package/dist/core/runtime-mode.d.ts +23 -0
- package/dist/core/runtime-mode.d.ts.map +1 -0
- package/dist/core/runtime-mode.js +30 -0
- package/dist/core/runtime-mode.js.map +1 -0
- package/dist/core/session-manager.d.ts +4 -0
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +20 -0
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/session-restore-display.test.d.ts +2 -0
- package/dist/core/session-restore-display.test.d.ts.map +1 -0
- package/dist/core/session-restore-display.test.js +78 -0
- package/dist/core/session-restore-display.test.js.map +1 -0
- package/dist/core/settings-manager.d.ts +4 -2
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +3 -6
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/slash-commands.d.ts +0 -2
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +10 -15
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/style-packs/index.js +1 -1
- package/dist/core/style-packs/index.js.map +1 -1
- package/dist/core/task-store.d.ts +26 -0
- package/dist/core/task-store.d.ts.map +1 -0
- package/dist/core/task-store.js +147 -0
- package/dist/core/task-store.js.map +1 -0
- package/dist/core/tasks-store.d.ts +24 -0
- package/dist/core/tasks-store.d.ts.map +1 -0
- package/dist/core/tasks-store.js +81 -0
- package/dist/core/tasks-store.js.map +1 -0
- package/dist/core/thinking-level.d.ts +5 -0
- package/dist/core/thinking-level.d.ts.map +1 -0
- package/dist/core/thinking-level.js +59 -0
- package/dist/core/thinking-level.js.map +1 -0
- package/dist/core/thinking-level.test.d.ts +2 -0
- package/dist/core/thinking-level.test.d.ts.map +1 -0
- package/dist/core/thinking-level.test.js +38 -0
- package/dist/core/thinking-level.test.js.map +1 -0
- package/dist/core/verify-commands.js +4 -4
- package/dist/core/verify-commands.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/interactive.d.ts.map +1 -1
- package/dist/interactive.js +3 -1
- package/dist/interactive.js.map +1 -1
- package/dist/system-prompt.d.ts +5 -1
- package/dist/system-prompt.d.ts.map +1 -1
- package/dist/system-prompt.js +76 -48
- package/dist/system-prompt.js.map +1 -1
- package/dist/system-prompt.test.js +98 -46
- package/dist/system-prompt.test.js.map +1 -1
- package/dist/tools/bash.d.ts +6 -1
- package/dist/tools/bash.d.ts.map +1 -1
- package/dist/tools/bash.js +21 -3
- package/dist/tools/bash.js.map +1 -1
- package/dist/tools/checkpoint-hook.test.d.ts +2 -0
- package/dist/tools/checkpoint-hook.test.d.ts.map +1 -0
- package/dist/tools/checkpoint-hook.test.js +65 -0
- package/dist/tools/checkpoint-hook.test.js.map +1 -0
- package/dist/tools/edit-diff.d.ts +17 -4
- package/dist/tools/edit-diff.d.ts.map +1 -1
- package/dist/tools/edit-diff.js +78 -16
- package/dist/tools/edit-diff.js.map +1 -1
- package/dist/tools/edit-diff.test.js +31 -1
- package/dist/tools/edit-diff.test.js.map +1 -1
- package/dist/tools/edit-robustness.test.d.ts +2 -0
- package/dist/tools/edit-robustness.test.d.ts.map +1 -0
- package/dist/tools/edit-robustness.test.js +415 -0
- package/dist/tools/edit-robustness.test.js.map +1 -0
- package/dist/tools/edit.d.ts +8 -2
- package/dist/tools/edit.d.ts.map +1 -1
- package/dist/tools/edit.js +48 -20
- package/dist/tools/edit.js.map +1 -1
- package/dist/tools/edit.test.js +23 -22
- package/dist/tools/edit.test.js.map +1 -1
- package/dist/tools/enter-plan.d.ts +1 -3
- package/dist/tools/enter-plan.d.ts.map +1 -1
- package/dist/tools/enter-plan.js +9 -21
- package/dist/tools/enter-plan.js.map +1 -1
- package/dist/tools/exit-plan.d.ts.map +1 -1
- package/dist/tools/exit-plan.js +8 -9
- package/dist/tools/exit-plan.js.map +1 -1
- package/dist/tools/goal-mode.test.d.ts +2 -0
- package/dist/tools/goal-mode.test.d.ts.map +1 -0
- package/dist/tools/goal-mode.test.js +121 -0
- package/dist/tools/goal-mode.test.js.map +1 -0
- package/dist/tools/goals.d.ts +14 -2
- package/dist/tools/goals.d.ts.map +1 -1
- package/dist/tools/goals.js +257 -26
- package/dist/tools/goals.js.map +1 -1
- package/dist/tools/goals.test.js +365 -1
- package/dist/tools/goals.test.js.map +1 -1
- package/dist/tools/html-extract.d.ts +58 -0
- package/dist/tools/html-extract.d.ts.map +1 -0
- package/dist/tools/html-extract.js +130 -0
- package/dist/tools/html-extract.js.map +1 -0
- package/dist/tools/html-extract.test.d.ts +2 -0
- package/dist/tools/html-extract.test.d.ts.map +1 -0
- package/dist/tools/html-extract.test.js +60 -0
- package/dist/tools/html-extract.test.js.map +1 -0
- package/dist/tools/index.d.ts +15 -12
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +12 -8
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/pdf-extract.d.ts +18 -0
- package/dist/tools/pdf-extract.d.ts.map +1 -0
- package/dist/tools/pdf-extract.js +43 -0
- package/dist/tools/pdf-extract.js.map +1 -0
- package/dist/tools/pdf-extract.test.d.ts +2 -0
- package/dist/tools/pdf-extract.test.d.ts.map +1 -0
- package/dist/tools/pdf-extract.test.js +15 -0
- package/dist/tools/pdf-extract.test.js.map +1 -0
- package/dist/tools/plan-mode.test.js +82 -243
- package/dist/tools/plan-mode.test.js.map +1 -1
- package/dist/tools/prompt-hints.d.ts.map +1 -1
- package/dist/tools/prompt-hints.js +6 -9
- package/dist/tools/prompt-hints.js.map +1 -1
- package/dist/tools/read-only-bash.d.ts +13 -0
- package/dist/tools/read-only-bash.d.ts.map +1 -0
- package/dist/tools/read-only-bash.js +155 -0
- package/dist/tools/read-only-bash.js.map +1 -0
- package/dist/tools/read-only-bash.test.d.ts +2 -0
- package/dist/tools/read-only-bash.test.d.ts.map +1 -0
- package/dist/tools/read-only-bash.test.js +47 -0
- package/dist/tools/read-only-bash.test.js.map +1 -0
- package/dist/tools/read.d.ts.map +1 -1
- package/dist/tools/read.js +14 -1
- package/dist/tools/read.js.map +1 -1
- package/dist/tools/read.test.js +4 -0
- package/dist/tools/read.test.js.map +1 -1
- package/dist/tools/screenshot.d.ts +25 -0
- package/dist/tools/screenshot.d.ts.map +1 -0
- package/dist/tools/screenshot.js +165 -0
- package/dist/tools/screenshot.js.map +1 -0
- package/dist/tools/screenshot.test.d.ts +2 -0
- package/dist/tools/screenshot.test.d.ts.map +1 -0
- package/dist/tools/screenshot.test.js +145 -0
- package/dist/tools/screenshot.test.js.map +1 -0
- package/dist/tools/subagent.d.ts +7 -2
- package/dist/tools/subagent.d.ts.map +1 -1
- package/dist/tools/subagent.js +31 -9
- package/dist/tools/subagent.js.map +1 -1
- package/dist/tools/tasks.d.ts.map +1 -1
- package/dist/tools/tasks.js +22 -58
- package/dist/tools/tasks.js.map +1 -1
- package/dist/tools/web-fetch.d.ts +16 -1
- package/dist/tools/web-fetch.d.ts.map +1 -1
- package/dist/tools/web-fetch.js +357 -45
- package/dist/tools/web-fetch.js.map +1 -1
- package/dist/tools/web-fetch.test.js +263 -2
- package/dist/tools/web-fetch.test.js.map +1 -1
- package/dist/tools/web-search.d.ts +14 -0
- package/dist/tools/web-search.d.ts.map +1 -1
- package/dist/tools/web-search.js +321 -35
- package/dist/tools/web-search.js.map +1 -1
- package/dist/tools/web-search.test.js +144 -1
- package/dist/tools/web-search.test.js.map +1 -1
- package/dist/tools/write.d.ts +8 -2
- package/dist/tools/write.d.ts.map +1 -1
- package/dist/tools/write.js +36 -9
- package/dist/tools/write.js.map +1 -1
- package/dist/tools/write.test.js +0 -16
- package/dist/tools/write.test.js.map +1 -1
- package/dist/ui/App.d.ts +52 -280
- package/dist/ui/App.d.ts.map +1 -1
- package/dist/ui/App.js +1608 -2235
- package/dist/ui/App.js.map +1 -1
- package/dist/ui/activity-phrases.d.ts.map +1 -1
- package/dist/ui/activity-phrases.js +0 -2
- package/dist/ui/activity-phrases.js.map +1 -1
- package/dist/ui/app-items.d.ts +276 -0
- package/dist/ui/app-items.d.ts.map +1 -0
- package/dist/ui/app-items.js +52 -0
- package/dist/ui/app-items.js.map +1 -0
- package/dist/ui/app-items.test.d.ts +2 -0
- package/dist/ui/app-items.test.d.ts.map +1 -0
- package/dist/ui/app-items.test.js +38 -0
- package/dist/ui/app-items.test.js.map +1 -0
- package/dist/ui/app-state-persistence.test.js +45 -160
- package/dist/ui/app-state-persistence.test.js.map +1 -1
- package/dist/ui/assistant-stream-flush-parity.test.d.ts +2 -0
- package/dist/ui/assistant-stream-flush-parity.test.d.ts.map +1 -0
- package/dist/ui/assistant-stream-flush-parity.test.js +85 -0
- package/dist/ui/assistant-stream-flush-parity.test.js.map +1 -0
- package/dist/ui/chat-layout-pinning.test.d.ts +2 -0
- package/dist/ui/chat-layout-pinning.test.d.ts.map +1 -0
- package/dist/ui/chat-layout-pinning.test.js +525 -0
- package/dist/ui/chat-layout-pinning.test.js.map +1 -0
- package/dist/ui/components/ActivityIndicator.d.ts +1 -2
- package/dist/ui/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/ui/components/ActivityIndicator.js +63 -94
- package/dist/ui/components/ActivityIndicator.js.map +1 -1
- package/dist/ui/components/AnimationContext.d.ts.map +1 -1
- package/dist/ui/components/AnimationContext.js +3 -5
- package/dist/ui/components/AnimationContext.js.map +1 -1
- package/dist/ui/components/AssistantMessage.d.ts +6 -2
- package/dist/ui/components/AssistantMessage.d.ts.map +1 -1
- package/dist/ui/components/AssistantMessage.js +9 -4
- package/dist/ui/components/AssistantMessage.js.map +1 -1
- package/dist/ui/components/AssistantMessage.test.d.ts +2 -0
- package/dist/ui/components/AssistantMessage.test.d.ts.map +1 -0
- package/dist/ui/components/AssistantMessage.test.js +387 -0
- package/dist/ui/components/AssistantMessage.test.js.map +1 -0
- package/dist/ui/components/BackgroundTasksBar.d.ts +1 -3
- package/dist/ui/components/BackgroundTasksBar.d.ts.map +1 -1
- package/dist/ui/components/BackgroundTasksBar.js +8 -10
- package/dist/ui/components/BackgroundTasksBar.js.map +1 -1
- package/dist/ui/components/Banner.d.ts +1 -2
- package/dist/ui/components/Banner.d.ts.map +1 -1
- package/dist/ui/components/Banner.js +9 -4
- package/dist/ui/components/Banner.js.map +1 -1
- package/dist/ui/components/ChatFooterPane.d.ts +25 -0
- package/dist/ui/components/ChatFooterPane.d.ts.map +1 -0
- package/dist/ui/components/ChatFooterPane.js +15 -0
- package/dist/ui/components/ChatFooterPane.js.map +1 -0
- package/dist/ui/components/ChatInputStack.d.ts +36 -0
- package/dist/ui/components/ChatInputStack.d.ts.map +1 -0
- package/dist/ui/components/ChatInputStack.js +10 -0
- package/dist/ui/components/ChatInputStack.js.map +1 -0
- package/dist/ui/components/ChatLayout.d.ts +37 -0
- package/dist/ui/components/ChatLayout.d.ts.map +1 -0
- package/dist/ui/components/ChatLayout.js +21 -0
- package/dist/ui/components/ChatLayout.js.map +1 -0
- package/dist/ui/components/ChatLivePane.d.ts +18 -0
- package/dist/ui/components/ChatLivePane.d.ts.map +1 -0
- package/dist/ui/components/ChatLivePane.js +22 -0
- package/dist/ui/components/ChatLivePane.js.map +1 -0
- package/dist/ui/components/ChatScreen.d.ts +136 -0
- package/dist/ui/components/ChatScreen.d.ts.map +1 -0
- package/dist/ui/components/ChatScreen.js +16 -0
- package/dist/ui/components/ChatScreen.js.map +1 -0
- package/dist/ui/components/ChatStatusRow.d.ts +34 -0
- package/dist/ui/components/ChatStatusRow.d.ts.map +1 -0
- package/dist/ui/components/ChatStatusRow.js +11 -0
- package/dist/ui/components/ChatStatusRow.js.map +1 -0
- package/dist/ui/components/CompactionNotice.d.ts +4 -2
- package/dist/ui/components/CompactionNotice.d.ts.map +1 -1
- package/dist/ui/components/CompactionNotice.js +4 -4
- package/dist/ui/components/CompactionNotice.js.map +1 -1
- package/dist/ui/components/Footer.d.ts +27 -6
- package/dist/ui/components/Footer.d.ts.map +1 -1
- package/dist/ui/components/Footer.js +75 -30
- package/dist/ui/components/Footer.js.map +1 -1
- package/dist/ui/components/FooterStatusRow.d.ts +20 -0
- package/dist/ui/components/FooterStatusRow.d.ts.map +1 -0
- package/dist/ui/components/FooterStatusRow.js +10 -0
- package/dist/ui/components/FooterStatusRow.js.map +1 -0
- package/dist/ui/components/FullScreenOverlayRouter.d.ts +19 -0
- package/dist/ui/components/FullScreenOverlayRouter.d.ts.map +1 -0
- package/dist/ui/components/FullScreenOverlayRouter.js +18 -0
- package/dist/ui/components/FullScreenOverlayRouter.js.map +1 -0
- package/dist/ui/components/GoalOverlay.d.ts +28 -20
- package/dist/ui/components/GoalOverlay.d.ts.map +1 -1
- package/dist/ui/components/GoalOverlay.js +283 -253
- package/dist/ui/components/GoalOverlay.js.map +1 -1
- package/dist/ui/components/GoalStatusBar.d.ts.map +1 -1
- package/dist/ui/components/GoalStatusBar.js +2 -1
- package/dist/ui/components/GoalStatusBar.js.map +1 -1
- package/dist/ui/components/IdealHookMessage.d.ts +14 -0
- package/dist/ui/components/IdealHookMessage.d.ts.map +1 -0
- package/dist/ui/components/IdealHookMessage.js +26 -0
- package/dist/ui/components/IdealHookMessage.js.map +1 -0
- package/dist/ui/components/InputArea.d.ts +31 -6
- package/dist/ui/components/InputArea.d.ts.map +1 -1
- package/dist/ui/components/InputArea.js +208 -50
- package/dist/ui/components/InputArea.js.map +1 -1
- package/dist/ui/components/InputArea.test.js +11 -1
- package/dist/ui/components/InputArea.test.js.map +1 -1
- package/dist/ui/components/LiveToolPanel.d.ts +30 -0
- package/dist/ui/components/LiveToolPanel.d.ts.map +1 -0
- package/dist/ui/components/LiveToolPanel.js +66 -0
- package/dist/ui/components/LiveToolPanel.js.map +1 -0
- package/dist/ui/components/Markdown.d.ts +11 -11
- package/dist/ui/components/Markdown.d.ts.map +1 -1
- package/dist/ui/components/Markdown.js +28 -198
- package/dist/ui/components/Markdown.js.map +1 -1
- package/dist/ui/components/ModelSelector.d.ts.map +1 -1
- package/dist/ui/components/ModelSelector.js +18 -18
- package/dist/ui/components/ModelSelector.js.map +1 -1
- package/dist/ui/components/PlanModeLogo.d.ts +3 -0
- package/dist/ui/components/PlanModeLogo.d.ts.map +1 -0
- package/dist/ui/components/PlanModeLogo.js +49 -0
- package/dist/ui/components/PlanModeLogo.js.map +1 -0
- package/dist/ui/components/PlanOverlay.d.ts +7 -0
- package/dist/ui/components/PlanOverlay.d.ts.map +1 -1
- package/dist/ui/components/PlanOverlay.js +17 -3
- package/dist/ui/components/PlanOverlay.js.map +1 -1
- package/dist/ui/components/PlanOverlay.test.d.ts +2 -0
- package/dist/ui/components/PlanOverlay.test.d.ts.map +1 -0
- package/dist/ui/components/PlanOverlay.test.js +24 -0
- package/dist/ui/components/PlanOverlay.test.js.map +1 -0
- package/dist/ui/components/QueueIndicator.d.ts +9 -0
- package/dist/ui/components/QueueIndicator.d.ts.map +1 -0
- package/dist/ui/components/QueueIndicator.js +9 -0
- package/dist/ui/components/QueueIndicator.js.map +1 -0
- package/dist/ui/components/RewindOverlay.d.ts +18 -0
- package/dist/ui/components/RewindOverlay.d.ts.map +1 -0
- package/dist/ui/components/RewindOverlay.js +52 -0
- package/dist/ui/components/RewindOverlay.js.map +1 -0
- package/dist/ui/components/SelectList.d.ts.map +1 -1
- package/dist/ui/components/SelectList.js +5 -0
- package/dist/ui/components/SelectList.js.map +1 -1
- package/dist/ui/components/ServerToolExecution.d.ts +2 -0
- package/dist/ui/components/ServerToolExecution.d.ts.map +1 -1
- package/dist/ui/components/ServerToolExecution.js +7 -23
- package/dist/ui/components/ServerToolExecution.js.map +1 -1
- package/dist/ui/components/SessionSummary.d.ts +5 -0
- package/dist/ui/components/SessionSummary.d.ts.map +1 -0
- package/dist/ui/components/SessionSummary.js +32 -0
- package/dist/ui/components/SessionSummary.js.map +1 -0
- package/dist/ui/components/SlashCommandMenu.d.ts +4 -3
- package/dist/ui/components/SlashCommandMenu.d.ts.map +1 -1
- package/dist/ui/components/SlashCommandMenu.js +38 -26
- package/dist/ui/components/SlashCommandMenu.js.map +1 -1
- package/dist/ui/components/SlashStyledSelectList.d.ts +21 -0
- package/dist/ui/components/SlashStyledSelectList.d.ts.map +1 -0
- package/dist/ui/components/SlashStyledSelectList.js +71 -0
- package/dist/ui/components/SlashStyledSelectList.js.map +1 -0
- package/dist/ui/components/StreamingArea.d.ts +11 -2
- package/dist/ui/components/StreamingArea.d.ts.map +1 -1
- package/dist/ui/components/StreamingArea.js +20 -23
- package/dist/ui/components/StreamingArea.js.map +1 -1
- package/dist/ui/components/StreamingArea.test.d.ts +2 -0
- package/dist/ui/components/StreamingArea.test.d.ts.map +1 -0
- package/dist/ui/components/StreamingArea.test.js +18 -0
- package/dist/ui/components/StreamingArea.test.js.map +1 -0
- package/dist/ui/components/SubAgentPanel.d.ts +2 -1
- package/dist/ui/components/SubAgentPanel.d.ts.map +1 -1
- package/dist/ui/components/SubAgentPanel.js +4 -3
- package/dist/ui/components/SubAgentPanel.js.map +1 -1
- package/dist/ui/components/TaskOverlay.d.ts.map +1 -1
- package/dist/ui/components/TaskOverlay.js +53 -82
- package/dist/ui/components/TaskOverlay.js.map +1 -1
- package/dist/ui/components/TaskPickerMenu.d.ts +9 -0
- package/dist/ui/components/TaskPickerMenu.d.ts.map +1 -0
- package/dist/ui/components/TaskPickerMenu.js +33 -0
- package/dist/ui/components/TaskPickerMenu.js.map +1 -0
- package/dist/ui/components/ThemeSelector.js +2 -2
- package/dist/ui/components/ThemeSelector.js.map +1 -1
- package/dist/ui/components/ToolExecution.d.ts +2 -0
- package/dist/ui/components/ToolExecution.d.ts.map +1 -1
- package/dist/ui/components/ToolExecution.js +18 -52
- package/dist/ui/components/ToolExecution.js.map +1 -1
- package/dist/ui/components/ToolGroupExecution.d.ts +6 -2
- package/dist/ui/components/ToolGroupExecution.d.ts.map +1 -1
- package/dist/ui/components/ToolGroupExecution.js +15 -147
- package/dist/ui/components/ToolGroupExecution.js.map +1 -1
- package/dist/ui/components/ToolUseLoader.d.ts +3 -1
- package/dist/ui/components/ToolUseLoader.d.ts.map +1 -1
- package/dist/ui/components/ToolUseLoader.js +2 -2
- package/dist/ui/components/ToolUseLoader.js.map +1 -1
- package/dist/ui/components/TranscriptViewport.d.ts +34 -0
- package/dist/ui/components/TranscriptViewport.d.ts.map +1 -0
- package/dist/ui/components/TranscriptViewport.js +45 -0
- package/dist/ui/components/TranscriptViewport.js.map +1 -0
- package/dist/ui/components/UserMessage.d.ts.map +1 -1
- package/dist/ui/components/UserMessage.js +15 -10
- package/dist/ui/components/UserMessage.js.map +1 -1
- package/dist/ui/components/UserMessage.test.d.ts +2 -0
- package/dist/ui/components/UserMessage.test.d.ts.map +1 -0
- package/dist/ui/components/UserMessage.test.js +39 -0
- package/dist/ui/components/UserMessage.test.js.map +1 -0
- package/dist/ui/components/index.d.ts +5 -0
- package/dist/ui/components/index.d.ts.map +1 -1
- package/dist/ui/components/index.js +5 -0
- package/dist/ui/components/index.js.map +1 -1
- package/dist/ui/duration-format.d.ts +2 -0
- package/dist/ui/duration-format.d.ts.map +1 -0
- package/dist/ui/duration-format.js +9 -0
- package/dist/ui/duration-format.js.map +1 -0
- package/dist/ui/duration-summary.d.ts +2 -0
- package/dist/ui/duration-summary.d.ts.map +1 -0
- package/dist/ui/duration-summary.js +66 -0
- package/dist/ui/duration-summary.js.map +1 -0
- package/dist/ui/error-item.d.ts +8 -0
- package/dist/ui/error-item.d.ts.map +1 -0
- package/dist/ui/error-item.js +32 -0
- package/dist/ui/error-item.js.map +1 -0
- package/dist/ui/footer-jump-regression.test.d.ts +2 -0
- package/dist/ui/footer-jump-regression.test.d.ts.map +1 -0
- package/dist/ui/footer-jump-regression.test.js +177 -0
- package/dist/ui/footer-jump-regression.test.js.map +1 -0
- package/dist/ui/footer-status-layout.test.js +22 -7
- package/dist/ui/footer-status-layout.test.js.map +1 -1
- package/dist/ui/goal-events.d.ts.map +1 -1
- package/dist/ui/goal-events.js +14 -6
- package/dist/ui/goal-events.js.map +1 -1
- package/dist/ui/goal-events.test.js +40 -2
- package/dist/ui/goal-events.test.js.map +1 -1
- package/dist/ui/goal-lifecycle-orchestration.test.d.ts +2 -0
- package/dist/ui/goal-lifecycle-orchestration.test.d.ts.map +1 -0
- package/dist/ui/goal-lifecycle-orchestration.test.js +512 -0
- package/dist/ui/goal-lifecycle-orchestration.test.js.map +1 -0
- package/dist/ui/goal-overlay.test.js +122 -44
- package/dist/ui/goal-overlay.test.js.map +1 -1
- package/dist/ui/goal-status-bar.test.js +29 -0
- package/dist/ui/goal-status-bar.test.js.map +1 -1
- package/dist/ui/goal-summary.d.ts +14 -0
- package/dist/ui/goal-summary.d.ts.map +1 -0
- package/dist/ui/goal-summary.js +194 -0
- package/dist/ui/goal-summary.js.map +1 -0
- package/dist/ui/hooks/useAgentLoop.d.ts +25 -4
- package/dist/ui/hooks/useAgentLoop.d.ts.map +1 -1
- package/dist/ui/hooks/useAgentLoop.js +197 -22
- package/dist/ui/hooks/useAgentLoop.js.map +1 -1
- package/dist/ui/hooks/useAgentLoop.test.d.ts +2 -0
- package/dist/ui/hooks/useAgentLoop.test.d.ts.map +1 -0
- package/dist/ui/hooks/useAgentLoop.test.js +8 -0
- package/dist/ui/hooks/useAgentLoop.test.js.map +1 -0
- package/dist/ui/hooks/useChatLayoutMeasurements.d.ts +45 -0
- package/dist/ui/hooks/useChatLayoutMeasurements.d.ts.map +1 -0
- package/dist/ui/hooks/useChatLayoutMeasurements.js +97 -0
- package/dist/ui/hooks/useChatLayoutMeasurements.js.map +1 -0
- package/dist/ui/hooks/useContextCompaction.d.ts +41 -0
- package/dist/ui/hooks/useContextCompaction.d.ts.map +1 -0
- package/dist/ui/hooks/useContextCompaction.js +149 -0
- package/dist/ui/hooks/useContextCompaction.js.map +1 -0
- package/dist/ui/hooks/useModeState.d.ts +56 -0
- package/dist/ui/hooks/useModeState.d.ts.map +1 -0
- package/dist/ui/hooks/useModeState.js +65 -0
- package/dist/ui/hooks/useModeState.js.map +1 -0
- package/dist/ui/hooks/usePixelFixFlow.d.ts +57 -0
- package/dist/ui/hooks/usePixelFixFlow.d.ts.map +1 -0
- package/dist/ui/hooks/usePixelFixFlow.js +102 -0
- package/dist/ui/hooks/usePixelFixFlow.js.map +1 -0
- package/dist/ui/hooks/useSessionPersistence.d.ts +34 -0
- package/dist/ui/hooks/useSessionPersistence.d.ts.map +1 -0
- package/dist/ui/hooks/useSessionPersistence.js +67 -0
- package/dist/ui/hooks/useSessionPersistence.js.map +1 -0
- package/dist/ui/hooks/useTaskPickerController.d.ts +19 -0
- package/dist/ui/hooks/useTaskPickerController.d.ts.map +1 -0
- package/dist/ui/hooks/useTaskPickerController.js +41 -0
- package/dist/ui/hooks/useTaskPickerController.js.map +1 -0
- package/dist/ui/hooks/useTerminalSize.d.ts +13 -10
- package/dist/ui/hooks/useTerminalSize.d.ts.map +1 -1
- package/dist/ui/hooks/useTerminalSize.js +21 -16
- package/dist/ui/hooks/useTerminalSize.js.map +1 -1
- package/dist/ui/hooks/useTranscriptHistory.d.ts +48 -0
- package/dist/ui/hooks/useTranscriptHistory.d.ts.map +1 -0
- package/dist/ui/hooks/useTranscriptHistory.js +113 -0
- package/dist/ui/hooks/useTranscriptHistory.js.map +1 -0
- package/dist/ui/hooks/useTranscriptHistory.test.d.ts +2 -0
- package/dist/ui/hooks/useTranscriptHistory.test.d.ts.map +1 -0
- package/dist/ui/hooks/useTranscriptHistory.test.js +61 -0
- package/dist/ui/hooks/useTranscriptHistory.test.js.map +1 -0
- package/dist/ui/hooks/useTranscriptScroll.d.ts +30 -0
- package/dist/ui/hooks/useTranscriptScroll.d.ts.map +1 -0
- package/dist/ui/hooks/useTranscriptScroll.js +44 -0
- package/dist/ui/hooks/useTranscriptScroll.js.map +1 -0
- package/dist/ui/hooks/useTranscriptScroll.test.d.ts +2 -0
- package/dist/ui/hooks/useTranscriptScroll.test.d.ts.map +1 -0
- package/dist/ui/hooks/useTranscriptScroll.test.js +119 -0
- package/dist/ui/hooks/useTranscriptScroll.test.js.map +1 -0
- package/dist/ui/item-helpers.d.ts +26 -0
- package/dist/ui/item-helpers.d.ts.map +1 -0
- package/dist/ui/item-helpers.js +114 -0
- package/dist/ui/item-helpers.js.map +1 -0
- package/dist/ui/layout-decisions.d.ts +81 -0
- package/dist/ui/layout-decisions.d.ts.map +1 -0
- package/dist/ui/layout-decisions.js +89 -0
- package/dist/ui/layout-decisions.js.map +1 -0
- package/dist/ui/live-area-clamp.test.d.ts +2 -0
- package/dist/ui/live-area-clamp.test.d.ts.map +1 -0
- package/dist/ui/live-area-clamp.test.js +88 -0
- package/dist/ui/live-area-clamp.test.js.map +1 -0
- package/dist/ui/live-area-height.d.ts +35 -0
- package/dist/ui/live-area-height.d.ts.map +1 -0
- package/dist/ui/live-area-height.js +80 -0
- package/dist/ui/live-area-height.js.map +1 -0
- package/dist/ui/live-area-height.test.d.ts +2 -0
- package/dist/ui/live-area-height.test.d.ts.map +1 -0
- package/dist/ui/live-area-height.test.js +67 -0
- package/dist/ui/live-area-height.test.js.map +1 -0
- package/dist/ui/live-frame-height.test.d.ts +2 -0
- package/dist/ui/live-frame-height.test.d.ts.map +1 -0
- package/dist/ui/live-frame-height.test.js +116 -0
- package/dist/ui/live-frame-height.test.js.map +1 -0
- package/dist/ui/live-item-flush.d.ts +2 -2
- package/dist/ui/live-item-flush.d.ts.map +1 -1
- package/dist/ui/live-item-flush.js +8 -4
- package/dist/ui/live-item-flush.js.map +1 -1
- package/dist/ui/login.js +1 -1
- package/dist/ui/long-prompt-regression-harness.test.d.ts +2 -0
- package/dist/ui/long-prompt-regression-harness.test.d.ts.map +1 -0
- package/dist/ui/long-prompt-regression-harness.test.js +195 -0
- package/dist/ui/long-prompt-regression-harness.test.js.map +1 -0
- package/dist/ui/mcp.d.ts +62 -0
- package/dist/ui/mcp.d.ts.map +1 -0
- package/dist/ui/mcp.js +306 -0
- package/dist/ui/mcp.js.map +1 -0
- package/dist/ui/plan-overlay.test.js +7 -29
- package/dist/ui/plan-overlay.test.js.map +1 -1
- package/dist/ui/prompt-routing.d.ts +11 -0
- package/dist/ui/prompt-routing.d.ts.map +1 -0
- package/dist/ui/prompt-routing.js +61 -0
- package/dist/ui/prompt-routing.js.map +1 -0
- package/dist/ui/queued-message.test.d.ts +2 -0
- package/dist/ui/queued-message.test.d.ts.map +1 -0
- package/dist/ui/queued-message.test.js +162 -0
- package/dist/ui/queued-message.test.js.map +1 -0
- package/dist/ui/render.d.ts +38 -42
- package/dist/ui/render.d.ts.map +1 -1
- package/dist/ui/render.js +128 -42
- package/dist/ui/render.js.map +1 -1
- package/dist/ui/render.test.d.ts +2 -0
- package/dist/ui/render.test.d.ts.map +1 -0
- package/dist/ui/render.test.js +16 -0
- package/dist/ui/render.test.js.map +1 -0
- package/dist/ui/scroll-stabilization.test.js +1 -7
- package/dist/ui/scroll-stabilization.test.js.map +1 -1
- package/dist/ui/session-summary.d.ts +63 -0
- package/dist/ui/session-summary.d.ts.map +1 -0
- package/dist/ui/session-summary.js +81 -0
- package/dist/ui/session-summary.js.map +1 -0
- package/dist/ui/slash-command-images.test.js +12 -11
- package/dist/ui/slash-command-images.test.js.map +1 -1
- package/dist/ui/stores/transcript-scroll-store.d.ts +27 -0
- package/dist/ui/stores/transcript-scroll-store.d.ts.map +1 -0
- package/dist/ui/stores/transcript-scroll-store.js +73 -0
- package/dist/ui/stores/transcript-scroll-store.js.map +1 -0
- package/dist/ui/stores/transcript-scroll-store.test.d.ts +2 -0
- package/dist/ui/stores/transcript-scroll-store.test.d.ts.map +1 -0
- package/dist/ui/stores/transcript-scroll-store.test.js +73 -0
- package/dist/ui/stores/transcript-scroll-store.test.js.map +1 -0
- package/dist/ui/streaming-flush-bounce.test.d.ts +2 -0
- package/dist/ui/streaming-flush-bounce.test.d.ts.map +1 -0
- package/dist/ui/streaming-flush-bounce.test.js +156 -0
- package/dist/ui/streaming-flush-bounce.test.js.map +1 -0
- package/dist/ui/submit-prompt-command.d.ts +49 -0
- package/dist/ui/submit-prompt-command.d.ts.map +1 -0
- package/dist/ui/submit-prompt-command.js +107 -0
- package/dist/ui/submit-prompt-command.js.map +1 -0
- package/dist/ui/submit-slash-commands.d.ts +12 -0
- package/dist/ui/submit-slash-commands.d.ts.map +1 -0
- package/dist/ui/submit-slash-commands.js +32 -0
- package/dist/ui/submit-slash-commands.js.map +1 -0
- package/dist/ui/terminal-history-format.d.ts +43 -0
- package/dist/ui/terminal-history-format.d.ts.map +1 -0
- package/dist/ui/terminal-history-format.js +133 -0
- package/dist/ui/terminal-history-format.js.map +1 -0
- package/dist/ui/terminal-history-retry-dedup.test.d.ts +2 -0
- package/dist/ui/terminal-history-retry-dedup.test.d.ts.map +1 -0
- package/dist/ui/terminal-history-retry-dedup.test.js +61 -0
- package/dist/ui/terminal-history-retry-dedup.test.js.map +1 -0
- package/dist/ui/terminal-history-spacing.d.ts +2 -0
- package/dist/ui/terminal-history-spacing.d.ts.map +1 -0
- package/dist/ui/terminal-history-spacing.js +2 -0
- package/dist/ui/terminal-history-spacing.js.map +1 -0
- package/dist/ui/terminal-history-status-renderers.d.ts +15 -0
- package/dist/ui/terminal-history-status-renderers.d.ts.map +1 -0
- package/dist/ui/terminal-history-status-renderers.js +99 -0
- package/dist/ui/terminal-history-status-renderers.js.map +1 -0
- package/dist/ui/terminal-history.d.ts +26 -0
- package/dist/ui/terminal-history.d.ts.map +1 -0
- package/dist/ui/terminal-history.js +916 -0
- package/dist/ui/terminal-history.js.map +1 -0
- package/dist/ui/terminal-history.test.d.ts +2 -0
- package/dist/ui/terminal-history.test.d.ts.map +1 -0
- package/dist/ui/terminal-history.test.js +550 -0
- package/dist/ui/terminal-history.test.js.map +1 -0
- package/dist/ui/testing/screen-recorder.d.ts +29 -0
- package/dist/ui/testing/screen-recorder.d.ts.map +1 -0
- package/dist/ui/testing/screen-recorder.js +179 -0
- package/dist/ui/testing/screen-recorder.js.map +1 -0
- package/dist/ui/thinking-level-cycle.test.d.ts +2 -0
- package/dist/ui/thinking-level-cycle.test.d.ts.map +1 -0
- package/dist/ui/thinking-level-cycle.test.js +45 -0
- package/dist/ui/thinking-level-cycle.test.js.map +1 -0
- package/dist/ui/thinking-level.d.ts +2 -0
- package/dist/ui/thinking-level.d.ts.map +1 -0
- package/dist/ui/thinking-level.js +2 -0
- package/dist/ui/thinking-level.js.map +1 -0
- package/dist/ui/tool-group-summary.d.ts +24 -0
- package/dist/ui/tool-group-summary.d.ts.map +1 -0
- package/dist/ui/tool-group-summary.js +233 -0
- package/dist/ui/tool-group-summary.js.map +1 -0
- package/dist/ui/tool-group-summary.test.d.ts +2 -0
- package/dist/ui/tool-group-summary.test.d.ts.map +1 -0
- package/dist/ui/tool-group-summary.test.js +79 -0
- package/dist/ui/tool-group-summary.test.js.map +1 -0
- package/dist/ui/tool-line-summary.d.ts +29 -0
- package/dist/ui/tool-line-summary.d.ts.map +1 -0
- package/dist/ui/tool-line-summary.js +153 -0
- package/dist/ui/tool-line-summary.js.map +1 -0
- package/dist/ui/transcript/MiscRows.d.ts +26 -0
- package/dist/ui/transcript/MiscRows.d.ts.map +1 -0
- package/dist/ui/transcript/MiscRows.js +68 -0
- package/dist/ui/transcript/MiscRows.js.map +1 -0
- package/dist/ui/transcript/StatusRow.d.ts +14 -0
- package/dist/ui/transcript/StatusRow.d.ts.map +1 -0
- package/dist/ui/transcript/StatusRow.js +14 -0
- package/dist/ui/transcript/StatusRow.js.map +1 -0
- package/dist/ui/transcript/ToolRows.d.ts +20 -0
- package/dist/ui/transcript/ToolRows.d.ts.map +1 -0
- package/dist/ui/transcript/ToolRows.js +25 -0
- package/dist/ui/transcript/ToolRows.js.map +1 -0
- package/dist/ui/transcript/TranscriptItemFrame.d.ts +8 -0
- package/dist/ui/transcript/TranscriptItemFrame.d.ts.map +1 -0
- package/dist/ui/transcript/TranscriptItemFrame.js +9 -0
- package/dist/ui/transcript/TranscriptItemFrame.js.map +1 -0
- package/dist/ui/transcript/TranscriptRenderer.d.ts +22 -0
- package/dist/ui/transcript/TranscriptRenderer.d.ts.map +1 -0
- package/dist/ui/transcript/TranscriptRenderer.js +111 -0
- package/dist/ui/transcript/TranscriptRenderer.js.map +1 -0
- package/dist/ui/transcript/presentation.d.ts +61 -0
- package/dist/ui/transcript/presentation.d.ts.map +1 -0
- package/dist/ui/transcript/presentation.js +86 -0
- package/dist/ui/transcript/presentation.js.map +1 -0
- package/dist/ui/transcript/spacing.d.ts +56 -0
- package/dist/ui/transcript/spacing.d.ts.map +1 -0
- package/dist/ui/transcript/spacing.js +129 -0
- package/dist/ui/transcript/spacing.js.map +1 -0
- package/dist/ui/transcript/spacing.test.d.ts +2 -0
- package/dist/ui/transcript/spacing.test.d.ts.map +1 -0
- package/dist/ui/transcript/spacing.test.js +193 -0
- package/dist/ui/transcript/spacing.test.js.map +1 -0
- package/dist/ui/transcript/tool-presentation.d.ts +12 -0
- package/dist/ui/transcript/tool-presentation.d.ts.map +1 -0
- package/dist/ui/transcript/tool-presentation.js +55 -0
- package/dist/ui/transcript/tool-presentation.js.map +1 -0
- package/dist/ui/transcript/transcript-lines.d.ts +32 -0
- package/dist/ui/transcript/transcript-lines.d.ts.map +1 -0
- package/dist/ui/transcript/transcript-lines.js +86 -0
- package/dist/ui/transcript/transcript-lines.js.map +1 -0
- package/dist/ui/transcript/transcript-lines.test.d.ts +2 -0
- package/dist/ui/transcript/transcript-lines.test.d.ts.map +1 -0
- package/dist/ui/transcript/transcript-lines.test.js +76 -0
- package/dist/ui/transcript/transcript-lines.test.js.map +1 -0
- package/dist/ui/transcript-viewport-pinning.test.d.ts +2 -0
- package/dist/ui/transcript-viewport-pinning.test.d.ts.map +1 -0
- package/dist/ui/transcript-viewport-pinning.test.js +148 -0
- package/dist/ui/transcript-viewport-pinning.test.js.map +1 -0
- package/dist/ui/tui-history-parity.test.d.ts +2 -0
- package/dist/ui/tui-history-parity.test.d.ts.map +1 -0
- package/dist/ui/tui-history-parity.test.js +381 -0
- package/dist/ui/tui-history-parity.test.js.map +1 -0
- package/dist/ui/tui-simulation.test.d.ts +2 -0
- package/dist/ui/tui-simulation.test.d.ts.map +1 -0
- package/dist/ui/tui-simulation.test.js +139 -0
- package/dist/ui/tui-simulation.test.js.map +1 -0
- package/dist/ui/tui-terminal-recorder.test.d.ts +2 -0
- package/dist/ui/tui-terminal-recorder.test.d.ts.map +1 -0
- package/dist/ui/tui-terminal-recorder.test.js +134 -0
- package/dist/ui/tui-terminal-recorder.test.js.map +1 -0
- package/dist/ui/utils/assistant-stream-split.d.ts +23 -0
- package/dist/ui/utils/assistant-stream-split.d.ts.map +1 -0
- package/dist/ui/utils/assistant-stream-split.js +41 -0
- package/dist/ui/utils/assistant-stream-split.js.map +1 -0
- package/dist/ui/utils/assistant-stream-split.test.d.ts +2 -0
- package/dist/ui/utils/assistant-stream-split.test.d.ts.map +1 -0
- package/dist/ui/utils/assistant-stream-split.test.js +40 -0
- package/dist/ui/utils/assistant-stream-split.test.js.map +1 -0
- package/dist/ui/utils/latex-to-unicode.d.ts +22 -0
- package/dist/ui/utils/latex-to-unicode.d.ts.map +1 -0
- package/dist/ui/utils/latex-to-unicode.js +538 -0
- package/dist/ui/utils/latex-to-unicode.js.map +1 -0
- package/dist/ui/utils/markdown-renderer.d.ts +20 -0
- package/dist/ui/utils/markdown-renderer.d.ts.map +1 -0
- package/dist/ui/utils/markdown-renderer.js +327 -0
- package/dist/ui/utils/markdown-renderer.js.map +1 -0
- package/dist/ui/utils/markdown-table.d.ts +9 -0
- package/dist/ui/utils/markdown-table.d.ts.map +1 -0
- package/dist/ui/utils/markdown-table.js +95 -0
- package/dist/ui/utils/markdown-table.js.map +1 -0
- package/dist/ui/utils/terminal-graphics.d.ts +16 -0
- package/dist/ui/utils/terminal-graphics.d.ts.map +1 -0
- package/dist/ui/utils/terminal-graphics.js +68 -0
- package/dist/ui/utils/terminal-graphics.js.map +1 -0
- package/dist/ui/utils/terminal-graphics.test.d.ts +2 -0
- package/dist/ui/utils/terminal-graphics.test.d.ts.map +1 -0
- package/dist/ui/utils/terminal-graphics.test.js +61 -0
- package/dist/ui/utils/terminal-graphics.test.js.map +1 -0
- package/dist/ui/utils/terminal-input.d.ts +3 -0
- package/dist/ui/utils/terminal-input.d.ts.map +1 -0
- package/dist/ui/utils/terminal-input.js +28 -0
- package/dist/ui/utils/terminal-input.js.map +1 -0
- package/dist/ui/utils/terminal-input.test.d.ts +2 -0
- package/dist/ui/utils/terminal-input.test.d.ts.map +1 -0
- package/dist/ui/utils/terminal-input.test.js +15 -0
- package/dist/ui/utils/terminal-input.test.js.map +1 -0
- package/dist/ui/utils/text-utils.d.ts +8 -0
- package/dist/ui/utils/text-utils.d.ts.map +1 -0
- package/dist/ui/utils/text-utils.js +16 -0
- package/dist/ui/utils/text-utils.js.map +1 -0
- package/dist/ui/utils/token-to-ansi.js +19 -9
- package/dist/ui/utils/token-to-ansi.js.map +1 -1
- package/dist/ui/utils/user-message-display.d.ts +7 -0
- package/dist/ui/utils/user-message-display.d.ts.map +1 -0
- package/dist/ui/utils/user-message-display.js +26 -0
- package/dist/ui/utils/user-message-display.js.map +1 -0
- package/dist/utils/format.js +7 -9
- package/dist/utils/format.js.map +1 -1
- package/dist/utils/image.d.ts +9 -0
- package/dist/utils/image.d.ts.map +1 -1
- package/dist/utils/image.js +25 -0
- package/dist/utils/image.js.map +1 -1
- package/dist/utils/plan-steps.d.ts.map +1 -1
- package/dist/utils/plan-steps.js +5 -1
- package/dist/utils/plan-steps.js.map +1 -1
- package/dist/utils/plan-steps.test.d.ts +2 -0
- package/dist/utils/plan-steps.test.d.ts.map +1 -0
- package/dist/utils/plan-steps.test.js +16 -0
- package/dist/utils/plan-steps.test.js.map +1 -0
- package/package.json +50 -10
- package/dist/core/repomap-context.d.ts +0 -11
- package/dist/core/repomap-context.d.ts.map +0 -1
- package/dist/core/repomap-context.js +0 -68
- package/dist/core/repomap-context.js.map +0 -1
- package/dist/core/repomap-context.test.d.ts +0 -2
- package/dist/core/repomap-context.test.d.ts.map +0 -1
- package/dist/core/repomap-context.test.js +0 -47
- package/dist/core/repomap-context.test.js.map +0 -1
- package/dist/core/repomap.d.ts +0 -74
- package/dist/core/repomap.d.ts.map +0 -1
- package/dist/core/repomap.js +0 -906
- package/dist/core/repomap.js.map +0 -1
- package/dist/core/repomap.test.d.ts +0 -2
- package/dist/core/repomap.test.d.ts.map +0 -1
- package/dist/core/repomap.test.js +0 -494
- package/dist/core/repomap.test.js.map +0 -1
- package/dist/ui/components/EyesOverlay.d.ts +0 -10
- package/dist/ui/components/EyesOverlay.d.ts.map +0 -1
- package/dist/ui/components/EyesOverlay.js +0 -220
- package/dist/ui/components/EyesOverlay.js.map +0 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { UserMessage } from "../components/UserMessage.js";
|
|
4
|
+
import { AssistantMessage } from "../components/AssistantMessage.js";
|
|
5
|
+
import { IdealHookMessage } from "../components/IdealHookMessage.js";
|
|
6
|
+
import { CompactionDone, CompactionSpinner } from "../components/CompactionNotice.js";
|
|
7
|
+
import { Banner } from "../components/Banner.js";
|
|
8
|
+
import { isPanelReplacedToolItem, lastVisibleTranscriptItem } from "../app-items.js";
|
|
9
|
+
import { TranscriptItemFrame } from "./TranscriptItemFrame.js";
|
|
10
|
+
import { getTranscriptItemMarginTop } from "./spacing.js";
|
|
11
|
+
import { DurationRow, ErrorRow, GoalProgressRow, QueuedRow, SetupHintRow, StepDoneRow, StylePackRow, UpdateNoticeRow, } from "./MiscRows.js";
|
|
12
|
+
import { presentGoalAgentTransition, presentInfo, presentModelTransition, presentPlanEvent, presentStopped, presentTask, presentThemeTransition, } from "./presentation.js";
|
|
13
|
+
import { StatusRow } from "./StatusRow.js";
|
|
14
|
+
import { SessionSummaryDisplay } from "../components/SessionSummary.js";
|
|
15
|
+
import { PlanModeLogo } from "../components/PlanModeLogo.js";
|
|
16
|
+
import { ServerToolDoneRow, ServerToolStartRow, SubAgentGroupRow, ToolDoneRow, ToolGroupRow, ToolStartRow, } from "./ToolRows.js";
|
|
17
|
+
export function renderTranscriptItem({ item, index, items, pendingHistoryFlushLastItem, historyLastItem, version, currentModel, currentProvider, displayedCwd, columns: _columns, theme: _theme, renderMarkdown, measuredLiveAreaRows, }) {
|
|
18
|
+
// Skip panel-replaced tool rows (they render null) when looking back for the
|
|
19
|
+
// spacing boundary — otherwise the assistant gets a blank separator above an
|
|
20
|
+
// invisible row, leaving a phantom gap.
|
|
21
|
+
const previousLiveItem = index > 0 ? lastVisibleTranscriptItem(items.slice(0, index)) : undefined;
|
|
22
|
+
const transcriptMarginTop = getTranscriptItemMarginTop({
|
|
23
|
+
item,
|
|
24
|
+
previousLiveItem,
|
|
25
|
+
lastPendingHistoryItem: pendingHistoryFlushLastItem,
|
|
26
|
+
lastHistoryItem: historyLastItem,
|
|
27
|
+
});
|
|
28
|
+
const withTranscriptSpacing = (node) => (_jsx(TranscriptItemFrame, { marginTop: transcriptMarginTop, children: node }, `${item.id}-transcript-frame`));
|
|
29
|
+
switch (item.kind) {
|
|
30
|
+
case "tombstone":
|
|
31
|
+
return null;
|
|
32
|
+
case "banner":
|
|
33
|
+
return (_jsx(Banner, { version: version, model: currentModel, provider: currentProvider, cwd: displayedCwd }, item.id));
|
|
34
|
+
case "user":
|
|
35
|
+
return withTranscriptSpacing(_jsx(UserMessage, { text: item.text, imageCount: item.imageCount, pasteInfo: item.pasteInfo }, item.id));
|
|
36
|
+
case "style_pack":
|
|
37
|
+
return withTranscriptSpacing(_jsx(StylePackRow, { item: item }));
|
|
38
|
+
case "setup_hint":
|
|
39
|
+
return withTranscriptSpacing(_jsx(SetupHintRow, { item: item }));
|
|
40
|
+
case "assistant": {
|
|
41
|
+
// Reserve the rows that render OUTSIDE the markdown body so the whole
|
|
42
|
+
// finalized assistant frame stays within `measuredLiveAreaRows`:
|
|
43
|
+
// 1. the transcript top-spacing margin (`transcriptMarginTop`), and
|
|
44
|
+
// 2. the collapsed thinking header (header line + `marginBottom:1`).
|
|
45
|
+
// Keep THINKING_HEADER_ROWS in sync with ThinkingBlock's collapsed layout.
|
|
46
|
+
const THINKING_HEADER_ROWS = 2;
|
|
47
|
+
const assistantLiveBudget = Math.max(1, measuredLiveAreaRows - transcriptMarginTop - (item.thinking ? THINKING_HEADER_ROWS : 0));
|
|
48
|
+
return withTranscriptSpacing(_jsx(AssistantMessage, { text: item.text, thinking: item.thinking, thinkingMs: item.thinkingMs, continuation: item.continuation, renderMarkdown: renderMarkdown, availableTerminalHeight: assistantLiveBudget }, item.id));
|
|
49
|
+
}
|
|
50
|
+
case "ideal_hook":
|
|
51
|
+
return withTranscriptSpacing(_jsx(IdealHookMessage, { text: item.text, tone: item.tone }, item.id));
|
|
52
|
+
case "tool_start":
|
|
53
|
+
case "tool_done":
|
|
54
|
+
case "tool_group":
|
|
55
|
+
// Tool activity now lives in the pinned LiveToolPanel above the activity
|
|
56
|
+
// bar — suppress the in-transcript rows so they aren't shown twice.
|
|
57
|
+
// Image-bearing results (read/screenshot) are the exception: they keep
|
|
58
|
+
// their row so the inline preview still renders. Mirrors the scrollback
|
|
59
|
+
// printer + fullscreen viewport, which use the same predicate.
|
|
60
|
+
if (isPanelReplacedToolItem(item))
|
|
61
|
+
return null;
|
|
62
|
+
if (item.kind === "tool_start")
|
|
63
|
+
return withTranscriptSpacing(_jsx(ToolStartRow, { item: item }));
|
|
64
|
+
if (item.kind === "tool_done")
|
|
65
|
+
return withTranscriptSpacing(_jsx(ToolDoneRow, { item: item }));
|
|
66
|
+
return withTranscriptSpacing(_jsx(ToolGroupRow, { item: item }));
|
|
67
|
+
case "server_tool_start":
|
|
68
|
+
return withTranscriptSpacing(_jsx(ServerToolStartRow, { item: item }));
|
|
69
|
+
case "server_tool_done":
|
|
70
|
+
return withTranscriptSpacing(_jsx(ServerToolDoneRow, { item: item }));
|
|
71
|
+
case "error":
|
|
72
|
+
return withTranscriptSpacing(_jsx(ErrorRow, { item: item }));
|
|
73
|
+
case "info":
|
|
74
|
+
return withTranscriptSpacing(_jsx(StatusRow, { id: item.id, presentation: presentInfo(item) }));
|
|
75
|
+
case "update_notice":
|
|
76
|
+
return withTranscriptSpacing(_jsx(UpdateNoticeRow, { item: item }));
|
|
77
|
+
case "plan_transition":
|
|
78
|
+
if (item.active)
|
|
79
|
+
return withTranscriptSpacing(_jsx(PlanModeLogo, {}, item.id));
|
|
80
|
+
return null;
|
|
81
|
+
case "task":
|
|
82
|
+
return withTranscriptSpacing(_jsx(StatusRow, { id: item.id, presentation: presentTask(item) }));
|
|
83
|
+
case "goal_agent_transition":
|
|
84
|
+
return withTranscriptSpacing(_jsx(StatusRow, { id: item.id, presentation: presentGoalAgentTransition(item) }));
|
|
85
|
+
case "goal_progress":
|
|
86
|
+
return withTranscriptSpacing(_jsx(GoalProgressRow, { item: item }));
|
|
87
|
+
case "model_transition":
|
|
88
|
+
return withTranscriptSpacing(_jsx(StatusRow, { id: item.id, presentation: presentModelTransition(item) }));
|
|
89
|
+
case "theme_transition":
|
|
90
|
+
return withTranscriptSpacing(_jsx(StatusRow, { id: item.id, presentation: presentThemeTransition(item) }));
|
|
91
|
+
case "plan_event":
|
|
92
|
+
return withTranscriptSpacing(_jsx(StatusRow, { id: item.id, presentation: presentPlanEvent(item) }));
|
|
93
|
+
case "stopped":
|
|
94
|
+
return withTranscriptSpacing(_jsx(StatusRow, { id: item.id, presentation: presentStopped(item) }));
|
|
95
|
+
case "step_done":
|
|
96
|
+
return withTranscriptSpacing(_jsx(StepDoneRow, { item: item }));
|
|
97
|
+
case "queued":
|
|
98
|
+
return withTranscriptSpacing(_jsx(QueuedRow, { item: item }));
|
|
99
|
+
case "compacting":
|
|
100
|
+
return withTranscriptSpacing(_jsx(CompactionSpinner, { staticDisplay: true }, item.id));
|
|
101
|
+
case "compacted":
|
|
102
|
+
return withTranscriptSpacing(_jsx(CompactionDone, { originalCount: item.originalCount, newCount: item.newCount, tokensBefore: item.tokensBefore, tokensAfter: item.tokensAfter }, item.id));
|
|
103
|
+
case "duration":
|
|
104
|
+
return withTranscriptSpacing(_jsx(DurationRow, { item: item }));
|
|
105
|
+
case "session_summary":
|
|
106
|
+
return withTranscriptSpacing(_jsx(SessionSummaryDisplay, { summary: item.summary }));
|
|
107
|
+
case "subagent_group":
|
|
108
|
+
return withTranscriptSpacing(_jsx(SubAgentGroupRow, { item: item }));
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=TranscriptRenderer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TranscriptRenderer.js","sourceRoot":"","sources":["../../../src/ui/transcript/TranscriptRenderer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGjD,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EACL,WAAW,EACX,QAAQ,EACR,eAAe,EACf,SAAS,EACT,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,0BAA0B,EAC1B,WAAW,EACX,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,YAAY,GACb,MAAM,eAAe,CAAC;AAkBvB,MAAM,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AAC,QAAQ,EACvB,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,WAAW,EAAE,IAAI,CAAC,WAAW,IAJxB,IAAI,CAAC,EAAE,CAKZ,CACH,CAAC;QACJ,KAAK,UAAU;YACb,OAAO,qBAAqB,CAAC,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC,CAAC;QAC5D,KAAK,iBAAiB;YACpB,OAAO,qBAAqB,CAAC,KAAC,qBAAqB,IAAC,OAAO,EAAE,IAAI,CAAC,OAAO,GAAI,CAAC,CAAC;QACjF,KAAK,gBAAgB;YACnB,OAAO,qBAAqB,CAAC,KAAC,gBAAgB,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC,CAAC;IACnE,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { DurationItem, ErrorItem, GoalAgentTransitionItem, InfoItem, ModelTransitionItem, PlanEventItem, PlanTransitionItem, QueuedItem, SetupHintItem, StepDoneItem, StoppedItem, StylePackItem, TaskItem, ThemeTransitionItem, UpdateNoticeItem } from "../app-items.js";
|
|
2
|
+
export interface StatusPresentation {
|
|
3
|
+
glyph: string;
|
|
4
|
+
text: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
detail?: string;
|
|
7
|
+
bold: boolean;
|
|
8
|
+
muted?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface StylePackPresentation {
|
|
11
|
+
headerLabel: string;
|
|
12
|
+
names: string;
|
|
13
|
+
showSetupHint: boolean;
|
|
14
|
+
setupHint: string;
|
|
15
|
+
}
|
|
16
|
+
export interface SetupHintPresentation {
|
|
17
|
+
headerLabel: string;
|
|
18
|
+
body: string;
|
|
19
|
+
setupHint: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ErrorPresentation {
|
|
22
|
+
glyph: string;
|
|
23
|
+
headline: string;
|
|
24
|
+
message?: string;
|
|
25
|
+
guidance: string;
|
|
26
|
+
}
|
|
27
|
+
export interface QueuedPresentation {
|
|
28
|
+
glyph: string;
|
|
29
|
+
label: string;
|
|
30
|
+
text: string;
|
|
31
|
+
suffix: string;
|
|
32
|
+
}
|
|
33
|
+
export interface UpdateNoticePresentation {
|
|
34
|
+
text: string;
|
|
35
|
+
}
|
|
36
|
+
export interface StepDonePresentation {
|
|
37
|
+
glyph: string;
|
|
38
|
+
text: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface DurationPresentation {
|
|
42
|
+
glyph: string;
|
|
43
|
+
text: string;
|
|
44
|
+
}
|
|
45
|
+
export declare function normalizeTranscriptStatusText(text: string): string;
|
|
46
|
+
export declare function presentStylePack(item: StylePackItem): StylePackPresentation;
|
|
47
|
+
export declare function presentSetupHint(_item?: SetupHintItem): SetupHintPresentation;
|
|
48
|
+
export declare function presentError(item: ErrorItem): ErrorPresentation;
|
|
49
|
+
export declare function presentInfo(item: InfoItem): StatusPresentation;
|
|
50
|
+
export declare function presentTask(item: TaskItem): StatusPresentation;
|
|
51
|
+
export declare function presentGoalAgentTransition(item: GoalAgentTransitionItem): StatusPresentation;
|
|
52
|
+
export declare function presentPlanTransition(item: PlanTransitionItem): StatusPresentation;
|
|
53
|
+
export declare function presentModelTransition(item: ModelTransitionItem): StatusPresentation;
|
|
54
|
+
export declare function presentThemeTransition(item: ThemeTransitionItem): StatusPresentation;
|
|
55
|
+
export declare function presentPlanEvent(item: PlanEventItem): StatusPresentation;
|
|
56
|
+
export declare function presentStopped(item: StoppedItem): StatusPresentation;
|
|
57
|
+
export declare function presentQueued(item: QueuedItem): QueuedPresentation;
|
|
58
|
+
export declare function presentUpdateNotice(_item?: UpdateNoticeItem): UpdateNoticePresentation;
|
|
59
|
+
export declare function presentStepDone(item: StepDoneItem): StepDonePresentation;
|
|
60
|
+
export declare function presentDuration(item: DurationItem): DurationPresentation;
|
|
61
|
+
//# sourceMappingURL=presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentation.d.ts","sourceRoot":"","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
1
|
+
import { LANGUAGE_DISPLAY_NAMES } from "../../core/language-detector.js";
|
|
2
|
+
import { BLACK_CIRCLE } from "../constants/figures.js";
|
|
3
|
+
import { formatDuration } from "../duration-format.js";
|
|
4
|
+
import { UPDATE_NOTICE_TEXT } from "../app-items.js";
|
|
5
|
+
export function normalizeTranscriptStatusText(text) {
|
|
6
|
+
return text.replace(/\\n/g, "\n").replace(/^\n+|\n+$/g, "");
|
|
7
|
+
}
|
|
8
|
+
export function presentStylePack(item) {
|
|
9
|
+
return {
|
|
10
|
+
headerLabel: item.added.length > 1 ? "STYLE PACKS ACTIVE" : "STYLE PACK ACTIVE",
|
|
11
|
+
names: item.added.map((id) => LANGUAGE_DISPLAY_NAMES[id] ?? id).join(", "),
|
|
12
|
+
showSetupHint: item.showSetupHint,
|
|
13
|
+
setupHint: " to audit this project against the active pack(s)",
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function presentSetupHint(_item) {
|
|
17
|
+
return {
|
|
18
|
+
headerLabel: "NO STYLE PACKS DETECTED",
|
|
19
|
+
body: "This directory has no recognized language manifest at its root.",
|
|
20
|
+
setupHint: " to audit project hygiene or bootstrap a new project from scratch",
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export function presentError(item) {
|
|
24
|
+
return {
|
|
25
|
+
glyph: "✗ ",
|
|
26
|
+
headline: item.headline,
|
|
27
|
+
message: item.message && item.message !== item.headline ? item.message : undefined,
|
|
28
|
+
guidance: `→ ${item.guidance}`,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function presentInfo(item) {
|
|
32
|
+
return { glyph: "○ ", text: normalizeTranscriptStatusText(item.text), bold: false, muted: true };
|
|
33
|
+
}
|
|
34
|
+
export function presentTask(item) {
|
|
35
|
+
return { glyph: "▸ ", label: "Task: ", text: item.title, bold: true };
|
|
36
|
+
}
|
|
37
|
+
export function presentGoalAgentTransition(item) {
|
|
38
|
+
return { glyph: "◆ ", text: normalizeTranscriptStatusText(item.text), bold: true };
|
|
39
|
+
}
|
|
40
|
+
export function presentPlanTransition(item) {
|
|
41
|
+
return { glyph: `${BLACK_CIRCLE} `, text: normalizeTranscriptStatusText(item.text), bold: true };
|
|
42
|
+
}
|
|
43
|
+
export function presentModelTransition(item) {
|
|
44
|
+
return { glyph: "▸ ", label: "Switched to ", text: item.modelName, bold: true };
|
|
45
|
+
}
|
|
46
|
+
export function presentThemeTransition(item) {
|
|
47
|
+
return { glyph: "◐ ", label: "Theme switched to ", text: item.themeName, bold: true };
|
|
48
|
+
}
|
|
49
|
+
export function presentPlanEvent(item) {
|
|
50
|
+
const labels = {
|
|
51
|
+
approved: "Plan approved",
|
|
52
|
+
rejected: "Plan rejected",
|
|
53
|
+
dismissed: "Plan dismissed",
|
|
54
|
+
};
|
|
55
|
+
return {
|
|
56
|
+
glyph: "○ ",
|
|
57
|
+
text: labels[item.event],
|
|
58
|
+
detail: item.detail ? ` — "${item.detail}"` : undefined,
|
|
59
|
+
bold: true,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export function presentStopped(item) {
|
|
63
|
+
return { glyph: "⊘ ", text: normalizeTranscriptStatusText(item.text), bold: true };
|
|
64
|
+
}
|
|
65
|
+
export function presentQueued(item) {
|
|
66
|
+
return {
|
|
67
|
+
glyph: "• ",
|
|
68
|
+
label: "Queued: ",
|
|
69
|
+
text: item.text || "(empty)",
|
|
70
|
+
suffix: item.imageCount ? ` (+${item.imageCount} image${item.imageCount > 1 ? "s" : ""})` : "",
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export function presentUpdateNotice(_item) {
|
|
74
|
+
return { text: UPDATE_NOTICE_TEXT };
|
|
75
|
+
}
|
|
76
|
+
export function presentStepDone(item) {
|
|
77
|
+
return {
|
|
78
|
+
glyph: "✓ ",
|
|
79
|
+
text: `Step ${item.stepNum} done`,
|
|
80
|
+
description: item.description ? ` — ${item.description}` : undefined,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
export function presentDuration(item) {
|
|
84
|
+
return { glyph: "✻ ", text: `${item.verb} ${formatDuration(item.durationMs)}` };
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=presentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentation.js","sourceRoot":"","sources":["../../../src/ui/transcript/presentation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAkBvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAqDrD,MAAM,UAAU,6BAA6B,CAAC,IAAY;IACxD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,IAAmB;IAClD,OAAO;QACL,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,mBAAmB;QAC/E,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QAC1E,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,SAAS,EAAE,mDAAmD;KAC/D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,KAAqB;IACpD,OAAO;QACL,WAAW,EAAE,yBAAyB;QACtC,IAAI,EAAE,iEAAiE;QACvE,SAAS,EAAE,mEAAmE;KAC/E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,IAAe;IAC1C,OAAO;QACL,KAAK,EAAE,IAAI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O;QACL,KAAK,EAAE,IAAI;QACX,IAAI,EAAE,QAAQ,IAAI,CAAC,OAAO,OAAO;QACjC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS;KACrE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,IAAkB;IAChD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,IAAI,IAAI,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC;AAClF,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export interface TranscriptSpacingItem {
|
|
2
|
+
id: string;
|
|
3
|
+
kind: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
tools?: unknown;
|
|
6
|
+
continuation?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const TRANSCRIPT_SPACING_KINDS: readonly ["user", "assistant", "ideal_hook", "queued", "task", "tool_start", "tool_done", "tool_group", "server_tool_start", "server_tool_done", "subagent_group", "info", "error", "stopped", "plan_transition", "model_transition", "theme_transition", "plan_event", "update_notice", "compacting", "compacted", "duration", "step_done", "style_pack", "setup_hint"];
|
|
9
|
+
export declare const DEFAULT_TRANSCRIPT_SPACING_KINDS: readonly ["user", "assistant", "ideal_hook", "queued", "task", "tool_start", "tool_done", "tool_group", "server_tool_start", "server_tool_done", "subagent_group", "info", "error", "stopped", "plan_transition", "model_transition", "theme_transition", "plan_event", "update_notice", "compacting", "compacted", "duration", "step_done", "style_pack", "setup_hint"];
|
|
10
|
+
export declare function shouldSeparateTranscriptItems({ previousKind, currentKind, spacingKinds, compactBoundaries, }: {
|
|
11
|
+
previousKind?: string;
|
|
12
|
+
currentKind: string;
|
|
13
|
+
spacingKinds?: ReadonlySet<string>;
|
|
14
|
+
compactBoundaries?: ReadonlySet<string>;
|
|
15
|
+
}): boolean;
|
|
16
|
+
export declare function shouldSeparateTranscriptItemKinds({ previousKind, currentKind, spacingKinds, compactBoundaries, }: {
|
|
17
|
+
previousKind?: string;
|
|
18
|
+
currentKind: string;
|
|
19
|
+
spacingKinds?: ReadonlySet<string>;
|
|
20
|
+
compactBoundaries?: ReadonlySet<string>;
|
|
21
|
+
}): boolean;
|
|
22
|
+
export declare function isTranscriptSpacingKind(kind: string): boolean;
|
|
23
|
+
export declare function isTranscriptSpacingItem(item: TranscriptSpacingItem): boolean;
|
|
24
|
+
export declare function shouldTopSpaceAfterPrintedTranscriptBoundary({ currentKind, previousLiveItem, lastPendingHistoryItem, lastHistoryItem, spacingKinds, compactBoundaries, }: {
|
|
25
|
+
currentKind: string;
|
|
26
|
+
previousLiveItem?: TranscriptSpacingItem;
|
|
27
|
+
lastPendingHistoryItem?: TranscriptSpacingItem;
|
|
28
|
+
lastHistoryItem?: TranscriptSpacingItem;
|
|
29
|
+
spacingKinds?: ReadonlySet<string>;
|
|
30
|
+
compactBoundaries?: ReadonlySet<string>;
|
|
31
|
+
}): boolean;
|
|
32
|
+
export declare function shouldTopSpaceAssistantAfterToolBoundary({ text, previousLiveItem, lastPendingHistoryItem, lastHistoryItem, spacingKinds, compactBoundaries, }: {
|
|
33
|
+
text: string;
|
|
34
|
+
previousLiveItem?: TranscriptSpacingItem;
|
|
35
|
+
lastPendingHistoryItem?: TranscriptSpacingItem;
|
|
36
|
+
lastHistoryItem?: TranscriptSpacingItem;
|
|
37
|
+
spacingKinds?: ReadonlySet<string>;
|
|
38
|
+
compactBoundaries?: ReadonlySet<string>;
|
|
39
|
+
}): boolean;
|
|
40
|
+
export declare function getTranscriptItemMarginTop({ item, previousLiveItem, lastPendingHistoryItem, lastHistoryItem, spacingKinds, compactBoundaries, }: {
|
|
41
|
+
item: TranscriptSpacingItem;
|
|
42
|
+
previousLiveItem?: TranscriptSpacingItem;
|
|
43
|
+
lastPendingHistoryItem?: TranscriptSpacingItem;
|
|
44
|
+
lastHistoryItem?: TranscriptSpacingItem;
|
|
45
|
+
spacingKinds?: ReadonlySet<string>;
|
|
46
|
+
compactBoundaries?: ReadonlySet<string>;
|
|
47
|
+
}): number;
|
|
48
|
+
export declare function shouldTopSpaceStreamingAssistant({ visibleStreamingText, lastLiveItem, lastPendingHistoryItem, lastHistoryItem, spacingKinds, compactBoundaries, }: {
|
|
49
|
+
visibleStreamingText: string;
|
|
50
|
+
lastLiveItem?: TranscriptSpacingItem;
|
|
51
|
+
lastPendingHistoryItem?: TranscriptSpacingItem;
|
|
52
|
+
lastHistoryItem?: TranscriptSpacingItem;
|
|
53
|
+
spacingKinds?: ReadonlySet<string>;
|
|
54
|
+
compactBoundaries?: ReadonlySet<string>;
|
|
55
|
+
}): boolean;
|
|
56
|
+
//# sourceMappingURL=spacing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/spacing.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,wBAAwB,0WA0BgB,CAAC;AAEtD,eAAO,MAAM,gCAAgC,0WAA2B,CAAC;AAkBzE,wBAAgB,6BAA6B,CAAC,EAC5C,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,iBAAiB,GAClB,EAAE;IACD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,iBAAiB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACzC,GAAG,OAAO,CAOV;AAED,wBAAgB,iCAAiC,CAAC,EAChD,YAAY,EACZ,WAAW,EACX,YAA0C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,EACtB,eAAe,EACf,YAAY,EACZ,iBAAiB,GAClB,EAAE;IACD,IAAI,EAAE,qBAAqB,CAAC;IAC5B,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IACzC,sBAAsB,CAAC,EAAE,qBAAqB,CAAC;IAC/C,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,iBAAiB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACzC,GAAG,MAAM,CAgCT;AAED,wBAAgB,gCAAgC,CAAC,EAC/C,oBAAoB,EACpB,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,YAAY,EACZ,iBAAiB,GAClB,EAAE;IACD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,sBAAsB,CAAC,EAAE,qBAAqB,CAAC;IAC/C,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,iBAAiB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CACzC,GAAG,OAAO,CASV"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
export const TRANSCRIPT_SPACING_KINDS = [
|
|
2
|
+
"user",
|
|
3
|
+
"assistant",
|
|
4
|
+
"ideal_hook",
|
|
5
|
+
"queued",
|
|
6
|
+
"task",
|
|
7
|
+
"tool_start",
|
|
8
|
+
"tool_done",
|
|
9
|
+
"tool_group",
|
|
10
|
+
"server_tool_start",
|
|
11
|
+
"server_tool_done",
|
|
12
|
+
"subagent_group",
|
|
13
|
+
"info",
|
|
14
|
+
"error",
|
|
15
|
+
"stopped",
|
|
16
|
+
"plan_transition",
|
|
17
|
+
"model_transition",
|
|
18
|
+
"theme_transition",
|
|
19
|
+
"plan_event",
|
|
20
|
+
"update_notice",
|
|
21
|
+
"compacting",
|
|
22
|
+
"compacted",
|
|
23
|
+
"duration",
|
|
24
|
+
"step_done",
|
|
25
|
+
"style_pack",
|
|
26
|
+
"setup_hint",
|
|
27
|
+
];
|
|
28
|
+
export const DEFAULT_TRANSCRIPT_SPACING_KINDS = TRANSCRIPT_SPACING_KINDS;
|
|
29
|
+
const TRANSCRIPT_SPACING_KIND_SET = new Set(TRANSCRIPT_SPACING_KINDS);
|
|
30
|
+
const COMPACT_TRANSCRIPT_BOUNDARIES = new Set([
|
|
31
|
+
"user→assistant",
|
|
32
|
+
"assistant→user",
|
|
33
|
+
"user→queued",
|
|
34
|
+
]);
|
|
35
|
+
// NOTE: `assistant→assistant` is intentionally NOT compact. Two consecutive
|
|
36
|
+
// assistant items are separate responses (e.g. across tool turns, now that tool
|
|
37
|
+
// rows render in the pinned LiveToolPanel instead of the transcript) and need a
|
|
38
|
+
// blank-line separator. Continuation paragraphs of a SINGLE streamed response
|
|
39
|
+
// are handled earlier via the `continuation` flag, which re-inserts the same
|
|
40
|
+
// blank line before reaching this compact check — so paragraph breaks are not
|
|
41
|
+
// affected by this exclusion.
|
|
42
|
+
export function shouldSeparateTranscriptItems({ previousKind, currentKind, spacingKinds, compactBoundaries, }) {
|
|
43
|
+
return shouldSeparateTranscriptItemKinds({
|
|
44
|
+
previousKind,
|
|
45
|
+
currentKind,
|
|
46
|
+
spacingKinds,
|
|
47
|
+
compactBoundaries,
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
export function shouldSeparateTranscriptItemKinds({ previousKind, currentKind, spacingKinds = TRANSCRIPT_SPACING_KIND_SET, compactBoundaries = COMPACT_TRANSCRIPT_BOUNDARIES, }) {
|
|
51
|
+
if (previousKind === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!spacingKinds.has(previousKind) || !spacingKinds.has(currentKind))
|
|
54
|
+
return false;
|
|
55
|
+
return !compactBoundaries.has(`${previousKind}→${currentKind}`);
|
|
56
|
+
}
|
|
57
|
+
export function isTranscriptSpacingKind(kind) {
|
|
58
|
+
return TRANSCRIPT_SPACING_KIND_SET.has(kind);
|
|
59
|
+
}
|
|
60
|
+
export function isTranscriptSpacingItem(item) {
|
|
61
|
+
return isTranscriptSpacingKind(item.kind);
|
|
62
|
+
}
|
|
63
|
+
export function shouldTopSpaceAfterPrintedTranscriptBoundary({ currentKind, previousLiveItem, lastPendingHistoryItem, lastHistoryItem, spacingKinds, compactBoundaries, }) {
|
|
64
|
+
if (previousLiveItem !== undefined)
|
|
65
|
+
return false;
|
|
66
|
+
const previousKind = lastPendingHistoryItem?.kind ?? lastHistoryItem?.kind;
|
|
67
|
+
return shouldSeparateTranscriptItems({
|
|
68
|
+
previousKind,
|
|
69
|
+
currentKind,
|
|
70
|
+
spacingKinds,
|
|
71
|
+
compactBoundaries,
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
export function shouldTopSpaceAssistantAfterToolBoundary({ text, previousLiveItem, lastPendingHistoryItem, lastHistoryItem, spacingKinds, compactBoundaries, }) {
|
|
75
|
+
if (text.trim().length === 0)
|
|
76
|
+
return false;
|
|
77
|
+
const previousKind = previousLiveItem?.kind ?? lastPendingHistoryItem?.kind ?? lastHistoryItem?.kind;
|
|
78
|
+
return shouldSeparateTranscriptItems({
|
|
79
|
+
previousKind,
|
|
80
|
+
currentKind: "assistant",
|
|
81
|
+
spacingKinds,
|
|
82
|
+
compactBoundaries,
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
export function getTranscriptItemMarginTop({ item, previousLiveItem, lastPendingHistoryItem, lastHistoryItem, spacingKinds, compactBoundaries, }) {
|
|
86
|
+
const previousKind = previousLiveItem?.kind ?? lastPendingHistoryItem?.kind ?? lastHistoryItem?.kind;
|
|
87
|
+
if (item.kind === "assistant") {
|
|
88
|
+
// A continuation chunk is the next paragraph of a SINGLE response whose
|
|
89
|
+
// earlier paragraphs were already flushed mid-stream. It always gets the
|
|
90
|
+
// blank line that separated the paragraphs in the original response, even
|
|
91
|
+
// when the text is empty. Mirrors the serializer's `leadingSeparator: true`
|
|
92
|
+
// for continuations. (Separate assistant responses are also separated below
|
|
93
|
+
// via the standard boundary rule, now that assistant→assistant is no longer
|
|
94
|
+
// a compact boundary.)
|
|
95
|
+
if (item.continuation === true && previousKind === "assistant")
|
|
96
|
+
return 1;
|
|
97
|
+
return shouldTopSpaceAssistantAfterToolBoundary({
|
|
98
|
+
text: typeof item.text === "string" ? item.text : "",
|
|
99
|
+
previousLiveItem,
|
|
100
|
+
lastPendingHistoryItem,
|
|
101
|
+
lastHistoryItem,
|
|
102
|
+
spacingKinds,
|
|
103
|
+
compactBoundaries,
|
|
104
|
+
})
|
|
105
|
+
? 1
|
|
106
|
+
: 0;
|
|
107
|
+
}
|
|
108
|
+
if (item.kind === "plan_transition")
|
|
109
|
+
return 0;
|
|
110
|
+
return shouldSeparateTranscriptItems({
|
|
111
|
+
previousKind,
|
|
112
|
+
currentKind: item.kind,
|
|
113
|
+
spacingKinds,
|
|
114
|
+
compactBoundaries,
|
|
115
|
+
})
|
|
116
|
+
? 1
|
|
117
|
+
: 0;
|
|
118
|
+
}
|
|
119
|
+
export function shouldTopSpaceStreamingAssistant({ visibleStreamingText, lastLiveItem, lastPendingHistoryItem, lastHistoryItem, spacingKinds, compactBoundaries, }) {
|
|
120
|
+
return shouldTopSpaceAssistantAfterToolBoundary({
|
|
121
|
+
text: visibleStreamingText,
|
|
122
|
+
previousLiveItem: lastLiveItem,
|
|
123
|
+
lastPendingHistoryItem,
|
|
124
|
+
lastHistoryItem,
|
|
125
|
+
spacingKinds,
|
|
126
|
+
compactBoundaries,
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=spacing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing.js","sourceRoot":"","sources":["../../../src/ui/transcript/spacing.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,MAAM;IACN,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,MAAM;IAC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