@kabmo-labs/kabmo 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/README.md +7 -2
  2. package/dist/client/index.html +9 -8
  3. package/dist/client/index.js +334 -334
  4. package/dist/client/static/js/{index-zg32n2sk.js → index-297dck9a.js} +784 -791
  5. package/dist/client/static/js/index-7ppta1pb.css +1 -0
  6. package/extensions/kabmo-modes/commands.ts +17 -3
  7. package/extensions/kabmo-modes/goal-start.ts +101 -0
  8. package/extensions/kabmo-modes/goal.test.ts +80 -5
  9. package/extensions/kabmo-modes/goal.ts +13 -38
  10. package/extensions/kabmo-modes/prompts.test.ts +12 -0
  11. package/extensions/kabmo-modes/prompts.ts +9 -2
  12. package/index.html +8 -7
  13. package/package.json +2 -2
  14. package/src/cli/lib/args.js +9 -0
  15. package/src/cli/lib/args.test.js +26 -0
  16. package/src/cli/lib/commands/doctor.js +153 -0
  17. package/src/cli/lib/commands/doctor.test.js +139 -0
  18. package/src/cli/lib/commands/serve.js +23 -10
  19. package/src/cli/lib/commands/status.js +22 -3
  20. package/src/cli/lib/omp-setup.js +131 -0
  21. package/src/cli/lib/omp-setup.test.js +115 -0
  22. package/src/cli/main.js +1 -1
  23. package/src/client/components/common/DemoDataBadge.tsx +52 -0
  24. package/src/client/components/common/FolderPicker.tsx +2 -2
  25. package/src/client/components/common/Modal.tsx +15 -1
  26. package/src/client/components/common/code-surface/blame-panel.ts +1 -1
  27. package/src/client/components/common/context-usage-button/index.test.tsx +1 -1
  28. package/src/client/components/common/context-usage-button/index.tsx +4 -4
  29. package/src/client/components/common/demo-data-badge.test.tsx +58 -0
  30. package/src/client/components/common/diagram-viewer/index.tsx +2 -2
  31. package/src/client/components/common/editor-view-buttons/index.tsx +2 -2
  32. package/src/client/components/common/header-controls/MoreMenu.tsx +1 -1
  33. package/src/client/components/common/header-controls/index.tsx +4 -1
  34. package/src/client/components/common/markdown-review/ReviewPopover.tsx +2 -2
  35. package/src/client/components/common/markdown-review/ReviewSummary.tsx +1 -1
  36. package/src/client/components/common/panel-mark/index.tsx +2 -1
  37. package/src/client/components/common/server-control/Panel.tsx +3 -3
  38. package/src/client/components/common/server-control/index.tsx +1 -1
  39. package/src/client/components/common/shell-update-button/Modal.tsx +1 -1
  40. package/src/client/components/common/todo-row/index.tsx +1 -1
  41. package/src/client/components/layout/ActivityBar.tsx +4 -0
  42. package/src/client/components/layout/ShellNotice.tsx +33 -0
  43. package/src/client/components/layout/desktop-layout/index.tsx +14 -16
  44. package/src/client/components/layout/desktop-layout/resizer/index.tsx +14 -1
  45. package/src/client/components/layout/session-sidebar/CategoryHeader.tsx +2 -1
  46. package/src/client/components/layout/session-sidebar/ClassicView.tsx +5 -1
  47. package/src/client/components/layout/session-sidebar/SessionList.tsx +1 -1
  48. package/src/client/components/layout/session-sidebar/SessionListNotice.tsx +56 -0
  49. package/src/client/components/layout/session-sidebar/SessionsView.tsx +2 -0
  50. package/src/client/components/layout/session-sidebar/about-modal/UpdateSection.tsx +1 -1
  51. package/src/client/components/layout/session-sidebar/about-modal/index.tsx +12 -1
  52. package/src/client/components/layout/session-sidebar/modern/WorkspaceHeader.tsx +2 -1
  53. package/src/client/components/layout/session-sidebar/modern/index.tsx +6 -2
  54. package/src/client/components/layout/session-sidebar/new-workspace-modal/CloneField.tsx +1 -1
  55. package/src/client/components/layout/session-sidebar/new-workspace-modal/index.tsx +2 -2
  56. package/src/client/components/layout/session-sidebar/scheduler-modal/TaskForm.tsx +1 -1
  57. package/src/client/components/layout/session-sidebar/scheduler-modal/TaskList.tsx +3 -3
  58. package/src/client/components/layout/session-sidebar/scheduler-modal/index.tsx +1 -1
  59. package/src/client/components/layout/session-sidebar/session-list-states.test.tsx +150 -0
  60. package/src/client/components/layout/session-sidebar/variant-props.ts +6 -0
  61. package/src/client/components/mobile/LayoutWrapper.tsx +20 -30
  62. package/src/client/components/mobile/MainView.tsx +5 -2
  63. package/src/client/components/mobile/RightSidebar.tsx +1 -1
  64. package/src/client/components/mobile/SessionSidebar.tsx +3 -0
  65. package/src/client/components/mobile/mobile-main-view/Header.tsx +2 -2
  66. package/src/client/components/mobile/mobile-session-sidebar/ClassicDrawer.tsx +7 -1
  67. package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +1 -1
  68. package/src/client/components/settings/Modal.tsx +15 -1
  69. package/src/client/components/settings/ProjectSelectorDropdown.tsx +1 -1
  70. package/src/client/components/settings/Sidebar.tsx +2 -2
  71. package/src/client/components/settings/categories/OmpSettings.tsx +1 -1
  72. package/src/client/components/settings/categories/TokenUsageSettings.tsx +1 -1
  73. package/src/client/components/settings/categories/agent-settings/DetailPane.tsx +3 -3
  74. package/src/client/components/settings/categories/appearance-settings/EditorFontSection.tsx +1 -1
  75. package/src/client/components/settings/categories/appearance-settings/EditorThemeSection.tsx +2 -2
  76. package/src/client/components/settings/categories/appearance-settings/IconStyleSection.tsx +5 -5
  77. package/src/client/components/settings/categories/appearance-settings/SidebarStyleSection.tsx +1 -1
  78. package/src/client/components/settings/categories/appearance-settings/SurfaceStyleSection.tsx +1 -1
  79. package/src/client/components/settings/categories/appearance-settings/ThemeCard.tsx +1 -1
  80. package/src/client/components/settings/categories/chat-settings/ComposerStyleSection.tsx +1 -1
  81. package/src/client/components/settings/categories/chat-settings/GoalSection.tsx +1 -1
  82. package/src/client/components/settings/categories/command-settings/DetailPane.tsx +2 -2
  83. package/src/client/components/settings/categories/omp-settings/ConfigTabs.tsx +5 -5
  84. package/src/client/components/settings/categories/omp-settings/EngineHeader.tsx +3 -3
  85. package/src/client/components/settings/categories/omp-settings/RoleRow.tsx +2 -2
  86. package/src/client/components/settings/categories/panel-plugins/LeftDockSettings.tsx +1 -1
  87. package/src/client/components/settings/categories/panel-plugins/PluginCard.tsx +1 -1
  88. package/src/client/components/settings/categories/panel-plugins/PluginMark.tsx +4 -3
  89. package/src/client/components/settings/categories/plugin-settings/SidebarList.tsx +2 -2
  90. package/src/client/components/settings/categories/project-settings/AddProjectModal.tsx +1 -1
  91. package/src/client/components/settings/categories/project-settings/NameInput.tsx +1 -1
  92. package/src/client/components/settings/categories/project-settings/PathField.tsx +1 -1
  93. package/src/client/components/settings/categories/provider-settings/AddModelModal.tsx +3 -3
  94. package/src/client/components/settings/categories/provider-settings/AddProviderModal.tsx +1 -1
  95. package/src/client/components/settings/categories/provider-settings/AuthSection.tsx +2 -2
  96. package/src/client/components/settings/categories/provider-settings/DeleteProviderModal.tsx +1 -1
  97. package/src/client/components/settings/categories/provider-settings/EntryAdvanced.tsx +4 -4
  98. package/src/client/components/settings/categories/provider-settings/EntryModal.tsx +2 -2
  99. package/src/client/components/settings/categories/provider-settings/LoginModal.tsx +1 -1
  100. package/src/client/components/settings/categories/provider-settings/ModelCapabilitiesModal.tsx +1 -1
  101. package/src/client/components/settings/categories/provider-settings/ModelsList.tsx +2 -2
  102. package/src/client/components/settings/categories/provider-settings/PriceFields.tsx +1 -1
  103. package/src/client/components/settings/categories/token-usage-settings/Breakdown.tsx +4 -4
  104. package/src/client/components/settings/categories/token-usage-settings/Chart.tsx +2 -2
  105. package/src/client/components/settings/categories/token-usage-settings/Controls.tsx +1 -1
  106. package/src/client/components/settings/categories/token-usage-settings/MetricsGrid.tsx +1 -1
  107. package/src/client/components/settings/categories/usage-settings/KenariCard.tsx +5 -5
  108. package/src/client/components/workspace/browser-panel/AddressBar.tsx +1 -1
  109. package/src/client/components/workspace/browser-panel/Screencast.tsx +6 -6
  110. package/src/client/components/workspace/browser-panel/TabStrip.tsx +1 -1
  111. package/src/client/components/workspace/browser-panel/index.tsx +1 -1
  112. package/src/client/components/workspace/browser-toolbar/index.tsx +5 -5
  113. package/src/client/components/workspace/chat-timeline/AttachmentChips.tsx +1 -1
  114. package/src/client/components/workspace/chat-timeline/GeneratingIndicator.tsx +13 -26
  115. package/src/client/components/workspace/chat-timeline/GoalNotice.tsx +2 -2
  116. package/src/client/components/workspace/chat-timeline/MessageItem.tsx +1 -1
  117. package/src/client/components/workspace/chat-timeline/MinimapShortcuts.tsx +1 -1
  118. package/src/client/components/workspace/chat-timeline/QueueList.tsx +1 -1
  119. package/src/client/components/workspace/chat-timeline/SubagentView.tsx +1 -1
  120. package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +5 -5
  121. package/src/client/components/workspace/chat-timeline/TaskResultContent.tsx +2 -2
  122. package/src/client/components/workspace/chat-timeline/ThinkingSection.tsx +4 -4
  123. package/src/client/components/workspace/chat-timeline/ToolCallingSection.tsx +1 -1
  124. package/src/client/components/workspace/chat-timeline/chat-input/AccessDropdown.tsx +1 -1
  125. package/src/client/components/workspace/chat-timeline/chat-input/ArmedGoalStrip.tsx +71 -0
  126. package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +4 -3
  127. package/src/client/components/workspace/chat-timeline/chat-input/GoalBanner.test.ts +1 -1
  128. package/src/client/components/workspace/chat-timeline/chat-input/GoalBanner.tsx +3 -3
  129. package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.test.ts +176 -0
  130. package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.tsx +70 -81
  131. package/src/client/components/workspace/chat-timeline/chat-input/GoalSurfaces.tsx +10 -1
  132. package/src/client/components/workspace/chat-timeline/chat-input/ModeToggles.test.ts +20 -0
  133. package/src/client/components/workspace/chat-timeline/chat-input/ModeToggles.tsx +13 -7
  134. package/src/client/components/workspace/chat-timeline/chat-input/ThinkingLevelDropdown.tsx +1 -1
  135. package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.test.ts +65 -3
  136. package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +69 -19
  137. package/src/client/components/workspace/chat-timeline/chat-input/WaitingDependencyPicker.tsx +2 -2
  138. package/src/client/components/workspace/chat-timeline/chat-input/composer-portal.test.tsx +174 -0
  139. package/src/client/components/workspace/chat-timeline/chat-input/goal-modal-parts.tsx +80 -0
  140. package/src/client/components/workspace/chat-timeline/chat-input/modes-props.ts +15 -3
  141. package/src/client/components/workspace/chat-timeline/chat-input/styles.test.tsx +3 -1
  142. package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
  143. package/src/client/components/workspace/chat-timeline/target-picker/WorkspacePicker.tsx +1 -1
  144. package/src/client/components/workspace/chat-timeline/target-picker/WorktreePicker.tsx +1 -1
  145. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FrameControl.tsx +1 -1
  146. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OptionRow.tsx +1 -1
  147. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.tsx +1 -1
  148. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/QuestionBlock.tsx +2 -2
  149. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/QuestionCard.tsx +4 -4
  150. package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.tsx +2 -2
  151. package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/Header.tsx +1 -1
  152. package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/SelectBody.tsx +1 -1
  153. package/src/client/components/workspace/chat-timeline/tool-renderers/hashline-patch/index.tsx +4 -4
  154. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +6 -6
  155. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Bash.tsx +13 -13
  156. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Checkpoint.tsx +1 -1
  157. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/ContextNotes.tsx +2 -2
  158. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Debug.tsx +3 -3
  159. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Edit.tsx +9 -9
  160. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Eval.tsx +10 -10
  161. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/FileMatches.tsx +1 -1
  162. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Goal.tsx +5 -5
  163. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/GoalRecord.tsx +5 -5
  164. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +6 -6
  165. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/ManageSkill.tsx +5 -5
  166. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Mcp.tsx +2 -2
  167. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Memory.tsx +3 -3
  168. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Proc.tsx +15 -15
  169. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Read.tsx +2 -2
  170. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +4 -4
  171. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SearchFs.tsx +2 -2
  172. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SearchTool.tsx +1 -1
  173. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SecurityScan.tsx +4 -4
  174. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/TaskResult.tsx +7 -7
  175. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Think.tsx +2 -2
  176. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Todo.tsx +2 -2
  177. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Wait.missing.test.ts +4 -2
  178. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Wait.tsx +17 -17
  179. package/src/client/components/workspace/chat-timeline/tool-renderers/panels/WebSearch.tsx +3 -3
  180. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ArtifactChip.tsx +1 -1
  181. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/EnvelopeHeader.tsx +2 -2
  182. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ExcerptCode.tsx +3 -3
  183. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/FallbackOutput.tsx +3 -3
  184. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/JsonCodeBlock.tsx +3 -3
  185. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/OutputWindow.tsx +2 -2
  186. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolBody.tsx +2 -2
  187. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolFactChips.tsx +2 -2
  188. package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolPanelHeader.tsx +1 -1
  189. package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Minimal.tsx +1 -1
  190. package/src/client/components/workspace/context-panel/RawJsonViewer.tsx +2 -2
  191. package/src/client/components/workspace/context-panel/StatsGrid.tsx +1 -1
  192. package/src/client/components/workspace/context-panel/index.tsx +1 -1
  193. package/src/client/components/workspace/diff-panel/ConflictBanner.tsx +1 -1
  194. package/src/client/components/workspace/editor/EmptyEditor.tsx +1 -1
  195. package/src/client/components/workspace/editor/FindWidget.tsx +1 -1
  196. package/src/client/components/workspace/editor/Tabs.tsx +1 -1
  197. package/src/client/components/workspace/editor/Toolbar.tsx +1 -1
  198. package/src/client/components/workspace/file-explorer/OutlineSection.tsx +2 -2
  199. package/src/client/components/workspace/file-explorer/RowLabel.tsx +1 -1
  200. package/src/client/components/workspace/file-explorer/index.tsx +1 -1
  201. package/src/client/components/workspace/git-panel/BranchToolbar.tsx +2 -2
  202. package/src/client/components/workspace/git-panel/ChangesList.tsx +3 -3
  203. package/src/client/components/workspace/git-panel/ConflictItem.tsx +3 -3
  204. package/src/client/components/workspace/git-panel/FileItem.tsx +2 -2
  205. package/src/client/components/workspace/git-panel/StashSection.tsx +5 -5
  206. package/src/client/components/workspace/git-panel/TreeItem.tsx +2 -2
  207. package/src/client/components/workspace/git-panel/branch-modal/BranchRow.tsx +4 -4
  208. package/src/client/components/workspace/git-panel/branch-modal/DeleteDialog.tsx +2 -2
  209. package/src/client/components/workspace/git-panel/index.tsx +1 -1
  210. package/src/client/components/workspace/model-dropdown/Item.tsx +3 -3
  211. package/src/client/components/workspace/model-dropdown/Section.tsx +1 -1
  212. package/src/client/components/workspace/model-dropdown/index.tsx +3 -3
  213. package/src/client/components/workspace/plan-panel/index.tsx +2 -2
  214. package/src/client/components/workspace/repo-picker/Modal.tsx +1 -1
  215. package/src/client/components/workspace/repo-picker/Row.tsx +6 -6
  216. package/src/client/components/workspace/search-panel/Body.tsx +2 -2
  217. package/src/client/components/workspace/search-panel/Results.tsx +1 -1
  218. package/src/client/components/workspace/search-panel/index.tsx +1 -1
  219. package/src/client/components/workspace/terminal-panel/index.tsx +1 -1
  220. package/src/client/components/workspace/todo-panel/PhaseGroup.tsx +1 -1
  221. package/src/client/components/workspace/todo-panel/index.tsx +2 -2
  222. package/src/client/components/workspace/user-browser-panel/AddressBar.tsx +5 -5
  223. package/src/client/components/workspace/user-browser-panel/AnnotateBar.test.tsx +13 -13
  224. package/src/client/components/workspace/user-browser-panel/AnnotateBar.tsx +4 -4
  225. package/src/client/components/workspace/user-browser-panel/AnnotateLayer.tsx +1 -1
  226. package/src/client/components/workspace/user-browser-panel/AnnotateTarget.tsx +7 -7
  227. package/src/client/components/workspace/user-browser-panel/Frame.tsx +1 -1
  228. package/src/client/components/workspace/wiki-panel/Nav.tsx +1 -1
  229. package/src/client/components/workspace/wiki-panel/index.tsx +2 -2
  230. package/src/client/glass.css +50 -0
  231. package/src/client/glass.test.ts +68 -24
  232. package/src/client/hooks/chat/composer/browser-context.test.ts +6 -6
  233. package/src/client/hooks/chat/composer/use-draft.test.ts +2 -2
  234. package/src/client/hooks/chat/omp/prompt-send.test.ts +36 -0
  235. package/src/client/hooks/chat/omp/prompt-send.ts +24 -18
  236. package/src/client/hooks/chat/omp/session-list.tsx +24 -70
  237. package/src/client/hooks/chat/omp/session-merges.ts +89 -0
  238. package/src/client/hooks/chat/omp/session-sidebar-controller.ts +4 -1
  239. package/src/client/hooks/chat/timeline/armed-goal-send.test.ts +168 -0
  240. package/src/client/hooks/chat/timeline/armed-goal.test.ts +178 -0
  241. package/src/client/hooks/chat/timeline/goal-command.ts +57 -27
  242. package/src/client/hooks/chat/timeline/index.ts +7 -4
  243. package/src/client/hooks/chat/timeline/mode-post.ts +46 -0
  244. package/src/client/hooks/chat/timeline/modes-contract.ts +94 -0
  245. package/src/client/hooks/chat/timeline/modes.ts +60 -95
  246. package/src/client/hooks/chat/timeline/send-props.ts +97 -0
  247. package/src/client/hooks/chat/timeline/send-steer.test.ts +6 -0
  248. package/src/client/hooks/chat/timeline/send.test-util.ts +55 -8
  249. package/src/client/hooks/chat/timeline/send.test.ts +17 -1
  250. package/src/client/hooks/chat/timeline/send.ts +64 -72
  251. package/src/client/hooks/ui/dialog-behaviour.ts +143 -0
  252. package/src/client/hooks/ui/theme.ts +17 -0
  253. package/src/client/hooks/workspace/copy-tab-path.ts +23 -0
  254. package/src/client/hooks/workspace/mobile-back.ts +71 -0
  255. package/src/client/palette-class.test.ts +93 -0
  256. package/src/client/tailwind-contrast.test.ts +194 -0
  257. package/src/client/tailwind.css +327 -8
  258. package/src/server/lib/assets/theme-shell.server.ts +4 -10
  259. package/src/server/lib/omp/config/provider-seeds.test.ts +39 -1
  260. package/src/server/lib/omp/config/provider-seeds.ts +32 -3
  261. package/src/server/lib/omp/config/provider-vision-compat.test.ts +140 -0
  262. package/src/server/lib/omp/core/host-resolution.test.ts +1 -55
  263. package/src/server/lib/omp/core/install-hint.test.ts +48 -0
  264. package/src/server/lib/omp/core/install-hint.ts +64 -0
  265. package/src/server/lib/omp/core/startup.test.ts +125 -0
  266. package/src/server/lib/omp/core/startup.ts +5 -1
  267. package/src/server/lib/omp/mode/request.ts +14 -6
  268. package/src/server/plugins/ssr.ts +2 -1
  269. package/src/shared/lib/browser/annotate.test.ts +22 -22
  270. package/src/shared/lib/browser/annotate.ts +14 -14
  271. package/src/shared/lib/browser/page-context.ts +6 -6
  272. package/src/shared/lib/icons/icon-paint-authority.test.ts +86 -0
  273. package/src/shared/lib/icons/icon-paint-authority.ts +94 -0
  274. package/src/shared/lib/icons/icon-paint-css.test.ts +139 -25
  275. package/src/shared/lib/icons/icon-paint-css.ts +76 -50
  276. package/src/shared/lib/icons/icon-paint-panel.ts +15 -18
  277. package/src/shared/lib/icons/icon-paint-weight.ts +142 -0
  278. package/src/shared/lib/icons/icon-tone.ts +58 -13
  279. package/src/shared/lib/icons/tint-hues.generated.ts +51 -6
  280. package/src/shared/lib/icons/tint-tones.test.ts +257 -0
  281. package/src/shared/lib/icons/tint.test.ts +3 -211
  282. package/src/shared/lib/icons/tint.ts +23 -25
  283. package/src/shared/lib/omp/mode/actions.ts +40 -0
  284. package/src/shared/lib/omp/mode/types.ts +12 -0
  285. package/src/shared/lib/theme/css.ts +21 -0
  286. package/src/shared/lib/theme/first-frame.ts +38 -0
  287. package/src/shared/lib/theme/ink-scale.test.ts +151 -0
  288. package/src/shared/lib/theme/ink-scale.ts +103 -0
  289. package/src/shared/lib/theme/shell-palette.test.ts +22 -5
  290. package/src/shared/lib/theme/shell-palette.ts +9 -4
  291. package/src/shared/lib/theme/theme.test.ts +28 -3
  292. package/src/shared/lib/workspace/project-accent.test.ts +33 -1
  293. package/src/shared/lib/workspace/project-accent.ts +23 -0
  294. package/src/shared/types/omp/agent.ts +24 -9
  295. package/dist/client/static/js/index-0721wrkf.css +0 -1
@@ -103,7 +103,7 @@ export function TaskResult({ tool }: { tool: ToolCallData }) {
103
103
  {rows.length > 0 && (
104
104
  <div className="overflow-hidden rounded-lg border border-ink/8 bg-paper">
105
105
  <div className="flex items-center gap-2 border-b border-ink/8 px-2.5 py-1.5">
106
- <span className="flex items-center gap-1 text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/50">
106
+ <span className="flex items-center gap-1 text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/50">
107
107
  <Bot size={11} className="text-ink/60" />
108
108
  Subagents
109
109
  </span>
@@ -134,11 +134,11 @@ export function TaskResult({ tool }: { tool: ToolCallData }) {
134
134
  {name || agent}
135
135
  </span>
136
136
  {name && (
137
- <span className="rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[9px] text-ink/50">
137
+ <span className="rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[10px] text-ink/50">
138
138
  {agent}
139
139
  </span>
140
140
  )}
141
- <span className="ml-auto shrink-0 font-mono text-[9.5px] text-ink/40">
141
+ <span className="ml-auto shrink-0 font-mono text-[10px] text-ink/40">
142
142
  {right || (status === 'done' ? 'settled' : 'running')}
143
143
  </span>
144
144
  </div>
@@ -156,7 +156,7 @@ export function TaskResult({ tool }: { tool: ToolCallData }) {
156
156
  onClick={() => setContextExpanded(prev => !prev)}
157
157
  className="flex w-full cursor-pointer items-center justify-between px-2.5 py-1.5 text-left transition-colors hover:bg-ink/[0.02]"
158
158
  >
159
- <span className="flex items-center gap-1.5 text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/50">
159
+ <span className="flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/50">
160
160
  <Target size={11} className="text-ink/60" />
161
161
  Goal & Constraints
162
162
  </span>
@@ -181,7 +181,7 @@ export function TaskResult({ tool }: { tool: ToolCallData }) {
181
181
  onClick={() => setTasksExpanded(prev => !prev)}
182
182
  className="flex w-full cursor-pointer items-center justify-between px-2.5 py-1.5 text-left transition-colors hover:bg-ink/[0.02]"
183
183
  >
184
- <span className="flex items-center gap-1.5 text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/50">
184
+ <span className="flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/50">
185
185
  <FileText size={11} className="text-ink/60" />
186
186
  Task Brief & Specification
187
187
  </span>
@@ -197,7 +197,7 @@ export function TaskResult({ tool }: { tool: ToolCallData }) {
197
197
  <div className="flex items-center gap-2">
198
198
  <span className="font-semibold text-ink text-[12px]">{t.name || `Task #${idx + 1}`}</span>
199
199
  {t.agent && (
200
- <span className="rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[9.5px] text-ink/60">
200
+ <span className="rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[10px] text-ink/60">
201
201
  {t.agent}
202
202
  </span>
203
203
  )}
@@ -225,7 +225,7 @@ export function TaskResult({ tool }: { tool: ToolCallData }) {
225
225
  />
226
226
  ) : (
227
227
  <div className="overflow-hidden rounded-lg border border-ink/8 bg-paper">
228
- <div className="flex items-center gap-1.5 border-b border-ink/8 px-2.5 py-1.5 text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/50">
228
+ <div className="flex items-center gap-1.5 border-b border-ink/8 px-2.5 py-1.5 text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/50">
229
229
  <Bot size={11} className="text-ink/60" />
230
230
  <span>Yield Output</span>
231
231
  </div>
@@ -32,14 +32,14 @@ export function Think({ tool }: { tool: ToolCallData }) {
32
32
  <div className="flex items-center justify-between border-b border-ink/6 bg-canvas/40 px-3 py-1.5">
33
33
  <div className="flex items-center gap-1.5">
34
34
  <BrainCircuit size={12} className="text-ink/50" />
35
- <span className="text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/40">
35
+ <span className="text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/40">
36
36
  Internal Reasoning
37
37
  </span>
38
38
  </div>
39
39
 
40
40
  <CopyButton
41
41
  text={thoughtText}
42
- className="flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 text-[9.5px] text-ink/45 transition-colors hover:bg-ink/5 hover:text-ink"
42
+ className="flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 text-[10px] text-ink/45 transition-colors hover:bg-ink/5 hover:text-ink"
43
43
  label="Copy"
44
44
  />
45
45
  </div>
@@ -35,7 +35,7 @@ function PhaseBlock({ name, index, tasks }: { name: string; index: number; tasks
35
35
  <span className="text-[10px] font-semibold uppercase tracking-wider text-ink/50">
36
36
  {index + 1}. {name}
37
37
  </span>
38
- <span className="font-mono text-[9.5px] text-ink/40">
38
+ <span className="font-mono text-[10px] text-ink/40">
39
39
  {closed}/{tasks.length}
40
40
  </span>
41
41
  </div>
@@ -69,7 +69,7 @@ export function Todo({ tool }: { tool: ToolCallData }) {
69
69
  <ListTodo size={13} className="text-ink/60" />
70
70
  <span className="text-[11px] font-semibold text-ink">Todo</span>
71
71
  {opBadge && (
72
- <span className="rounded bg-success/10 px-2 py-0.5 font-mono text-[9.5px] font-medium text-success">
72
+ <span className="rounded bg-success/10 px-2 py-0.5 font-mono text-[10px] font-medium text-success">
73
73
  {opBadge}
74
74
  </span>
75
75
  )}
@@ -86,8 +86,10 @@ describe('Wait panel — a result it cannot read', () => {
86
86
  const el = await mount({ type: 'wait', name: 'wait', status: 'success', output: 'Nothing to wait for.', details: {} });
87
87
  expect(el.textContent ?? '').toContain('Nothing to wait for.');
88
88
  // No clock is invented either: with no start entry and no measured span the
89
- // stopwatch reads `—`, which is the honest answer.
90
- expect(el.textContent ?? '').toContain('—');
89
+ // stopwatch reads an EN DASH, which is the honest answer (an em dash is a
90
+ // punctuation mark the copy rules reserve, so the placeholder is the en
91
+ // dash everywhere in the app).
92
+ expect(el.textContent ?? '').toContain('–');
91
93
  });
92
94
 
93
95
  test('a call whose result was never written says so', async () => {
@@ -160,35 +160,35 @@ function JobRow({ job }: { job: WaitJob }) {
160
160
  {label.split('\n')[0]}
161
161
  </span>
162
162
  {typeof percent === 'number' && (
163
- <span className="shrink-0 font-mono text-[9.5px] text-ink/60">{Math.round(percent)}%</span>
163
+ <span className="shrink-0 font-mono text-[10px] text-ink/60">{Math.round(percent)}%</span>
164
164
  )}
165
165
  {job.exitCode !== undefined && (
166
- <span className={`shrink-0 font-mono text-[9.5px] font-semibold ${job.exitCode === 0 ? TONE_CLASSES.ok : TONE_CLASSES.error}`}>
166
+ <span className={`shrink-0 font-mono text-[10px] font-semibold ${job.exitCode === 0 ? TONE_CLASSES.ok : TONE_CLASSES.error}`}>
167
167
  exit {job.exitCode}
168
168
  </span>
169
169
  )}
170
170
  {typeof job.durationMs === 'number' && (
171
- <span className="shrink-0 font-mono text-[9.5px] tabular-nums text-ink/40">
171
+ <span className="shrink-0 font-mono text-[10px] tabular-nums text-ink/40">
172
172
  {formatWaitClock(job.durationMs)}
173
173
  </span>
174
174
  )}
175
175
  {job.status && (
176
- <span className={`shrink-0 font-mono text-[9px] font-semibold ${TONE_CLASSES[tone]}`}>{job.status}</span>
176
+ <span className={`shrink-0 font-mono text-[10px] font-semibold ${TONE_CLASSES[tone]}`}>{job.status}</span>
177
177
  )}
178
178
  </div>
179
179
  {running && percent !== undefined && (
180
180
  <ProgressTrack percent={percent} active />
181
181
  )}
182
182
  {subject.secondary && (
183
- <div className="truncate font-mono text-[9px] text-ink/45" title={subject.secondary}>
183
+ <div className="truncate font-mono text-[10px] text-ink/45" title={subject.secondary}>
184
184
  {subject.secondary.split('\n')[0]}
185
185
  </div>
186
186
  )}
187
187
  {progress && (
188
- <div className="truncate font-mono text-[9px] text-ink/40">{progress}</div>
188
+ <div className="truncate font-mono text-[10px] text-ink/40">{progress}</div>
189
189
  )}
190
190
  {job.resolvedModel && (
191
- <div className="truncate font-mono text-[9px] text-ink/40">{job.resolvedModel}</div>
191
+ <div className="truncate font-mono text-[10px] text-ink/40">{job.resolvedModel}</div>
192
192
  )}
193
193
  </div>
194
194
  );
@@ -203,7 +203,7 @@ function AgentRow({ agent }: { agent: WaitAgent }) {
203
203
  <span className="shrink-0 font-mono text-[10px] font-semibold text-ink/80">{agent.id}</span>
204
204
  <span className="min-w-0 flex-1 truncate text-ink/85">{agent.activity ?? 'agent'}</span>
205
205
  {typeof agent.ageMs === 'number' && (
206
- <span className="shrink-0 font-mono text-[9px] tabular-nums text-ink/40">{formatWaitClock(agent.ageMs)}</span>
206
+ <span className="shrink-0 font-mono text-[10px] tabular-nums text-ink/40">{formatWaitClock(agent.ageMs)}</span>
207
207
  )}
208
208
  </div>
209
209
  );
@@ -268,21 +268,21 @@ export function Wait({ tool }: { tool: ToolCallData }) {
268
268
  <div className="overflow-hidden rounded-lg border border-ink/8 bg-paper px-3 py-2.5">
269
269
  <div className="flex items-baseline gap-2">
270
270
  <span className="font-mono text-[22px] font-semibold leading-none tabular-nums text-ink">
271
- {elapsed !== undefined ? formatWaitClock(elapsed) : '—'}
271
+ {elapsed !== undefined ? formatWaitClock(elapsed) : '–'}
272
272
  </span>
273
273
  <span className="text-[10.5px] text-ink/45">{running ? 'waiting' : 'waited'}</span>
274
274
  {interrupted && (
275
- <span className={`ml-auto font-mono text-[9px] font-semibold uppercase tracking-wider ${TONE_CLASSES.warn}`}>
275
+ <span className={`ml-auto font-mono text-[10px] font-semibold uppercase tracking-wider ${TONE_CLASSES.warn}`}>
276
276
  interrupted
277
277
  </span>
278
278
  )}
279
279
  {!interrupted && running && remainingMs !== undefined && (
280
- <span className="ml-auto font-mono text-[9.5px] tabular-nums text-ink/40" title="omp caps one wait at 30 minutes">
280
+ <span className="ml-auto font-mono text-[10px] tabular-nums text-ink/40" title="omp caps one wait at 30 minutes">
281
281
  {formatWaitClock(remainingMs)} left of {formatWaitClock(WAIT_MAX_MS)}
282
282
  </span>
283
283
  )}
284
284
  {!running && hitLimit && (
285
- <span className={`ml-auto font-mono text-[9px] font-semibold uppercase tracking-wider ${TONE_CLASSES.warn}`}>
285
+ <span className={`ml-auto font-mono text-[10px] font-semibold uppercase tracking-wider ${TONE_CLASSES.warn}`}>
286
286
  limit reached
287
287
  </span>
288
288
  )}
@@ -296,7 +296,7 @@ export function Wait({ tool }: { tool: ToolCallData }) {
296
296
  {/* A peer message that ended the wait — the reason it returned early. */}
297
297
  {waited && (
298
298
  <div className="overflow-hidden rounded-lg border border-ink/8 bg-paper px-3 py-2">
299
- <div className="flex items-center gap-1.5 text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/40">
299
+ <div className="flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/40">
300
300
  <MessageSquare size={10} />
301
301
  <span>Message</span>
302
302
  {waited.from && <span className="font-mono normal-case tracking-normal text-ink/55">from {waited.from}</span>}
@@ -308,8 +308,8 @@ export function Wait({ tool }: { tool: ToolCallData }) {
308
308
  {view.jobs.length > 0 && (
309
309
  <div className="overflow-hidden rounded-lg border border-ink/8">
310
310
  <div className="flex items-center gap-2 border-b border-ink/8 bg-paper px-3 py-1.5">
311
- <span className="text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/40">Jobs</span>
312
- <span className="rounded-full bg-ink/5 px-1.5 py-px font-mono text-[9.5px] text-ink/45">{counts.total}</span>
311
+ <span className="text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/40">Jobs</span>
312
+ <span className="rounded-full bg-ink/5 px-1.5 py-px font-mono text-[10px] text-ink/45">{counts.total}</span>
313
313
  </div>
314
314
  <div className="divide-y divide-ink/6 bg-canvas/40 py-1">
315
315
  {view.jobs.map((job, index) => (
@@ -322,8 +322,8 @@ export function Wait({ tool }: { tool: ToolCallData }) {
322
322
  {view.agents.length > 0 && (
323
323
  <div className="overflow-hidden rounded-lg border border-ink/8">
324
324
  <div className="flex items-center gap-2 border-b border-ink/8 bg-paper px-3 py-1.5">
325
- <span className="text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/40">Agents</span>
326
- <span className="rounded-full bg-ink/5 px-1.5 py-px font-mono text-[9.5px] text-ink/45">{view.agents.length}</span>
325
+ <span className="text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/40">Agents</span>
326
+ <span className="rounded-full bg-ink/5 px-1.5 py-px font-mono text-[10px] text-ink/45">{view.agents.length}</span>
327
327
  </div>
328
328
  <div className="divide-y divide-ink/6 bg-canvas/40 py-1">
329
329
  {view.agents.map((agent, index) => (
@@ -68,7 +68,7 @@ export function WebSearch({ tool }: { tool: ToolCallData }) {
68
68
  return (
69
69
  <div className="overflow-hidden rounded-lg border border-ink/8 bg-canvas/40">
70
70
  {provider && (
71
- <div className="flex items-center justify-between border-b border-ink/6 bg-paper px-2.5 py-1 text-[9.5px]">
71
+ <div className="flex items-center justify-between border-b border-ink/6 bg-paper px-2.5 py-1 text-[10px]">
72
72
  <span className="font-semibold uppercase tracking-wider text-ink/40">Sources</span>
73
73
  <span className="rounded bg-ink/5 px-1.5 py-0.2 font-mono text-ink/50 uppercase">
74
74
  {provider}
@@ -82,7 +82,7 @@ export function WebSearch({ tool }: { tool: ToolCallData }) {
82
82
  return (
83
83
  <li key={index} className="px-2.5 py-2 text-[11.5px]">
84
84
  <div className="flex items-center gap-1.5">
85
- <span className="flex h-4 w-4 shrink-0 items-center justify-center rounded bg-ink/5 font-mono text-[9px] text-ink/45">
85
+ <span className="flex h-4 w-4 shrink-0 items-center justify-center rounded bg-ink/5 font-mono text-[10px] text-ink/45">
86
86
  {index + 1}
87
87
  </span>
88
88
  <span className="min-w-0 flex-1 truncate font-medium text-ink">{resultTitle(r)}</span>
@@ -98,7 +98,7 @@ export function WebSearch({ tool }: { tool: ToolCallData }) {
98
98
  </a>
99
99
  )}
100
100
  </div>
101
- <div className="flex items-center gap-2 pl-[22px] font-mono text-[9.5px] text-ink/40">
101
+ <div className="flex items-center gap-2 pl-[22px] font-mono text-[10px] text-ink/40">
102
102
  {url && <span className="truncate">{url}</span>}
103
103
  {pubDate && (
104
104
  <span className="shrink-0 rounded bg-ink/5 px-1 py-0.2 text-[8.5px] text-ink/50">
@@ -127,7 +127,7 @@ function ArtifactModal({ url, elidedBytes, path, onClose }: ArtifactModalProps)
127
127
  <FileText size={14} className="shrink-0 text-ink/60" />
128
128
  <span className="text-[13px] font-semibold text-ink">Full output</span>
129
129
  {viewKind && (
130
- <span className="shrink-0 rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[9px] uppercase tracking-wider text-ink/50">
130
+ <span className="shrink-0 rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[10px] uppercase tracking-wider text-ink/50">
131
131
  {viewKind}
132
132
  </span>
133
133
  )}
@@ -25,14 +25,14 @@ function EnvelopeRow({ envelope }: { envelope: XmlEnvelope }) {
25
25
  <span className={`flex h-5 w-5 shrink-0 items-center justify-center rounded ${tone.badge}`}>
26
26
  {tone.icon}
27
27
  </span>
28
- <span className="text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/60">
28
+ <span className="text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/60">
29
29
  {toTitleCase(envelope.tag)}
30
30
  </span>
31
31
  {Object.entries(envelope.attributes).map(([key, value]) => (
32
32
  <span
33
33
  key={key}
34
34
  title={`${key}=${value}`}
35
- className="max-w-[240px] truncate rounded bg-ink/5 px-1.5 py-0.5 font-mono text-[9.5px] text-ink/60"
35
+ className="max-w-[240px] truncate rounded bg-ink/5 px-1.5 py-0.5 font-mono text-[10px] text-ink/60"
36
36
  >
37
37
  {value ? `${key}=${value}` : key}
38
38
  </span>
@@ -73,20 +73,20 @@ export function ExcerptCode({ lines, path = '', tag }: ExcerptCodeProps) {
73
73
  <div className="flex min-w-0 items-center gap-2 border-b border-ink/6 bg-canvas/40 px-2.5 py-1.5">
74
74
  <span className="truncate font-mono text-[10.5px] font-medium text-ink/70">{path}</span>
75
75
  {tag && (
76
- <span className="shrink-0 rounded bg-ink/5 px-1.5 py-0.5 font-mono text-[9px] uppercase tracking-wider text-ink/45">
76
+ <span className="shrink-0 rounded bg-ink/5 px-1.5 py-0.5 font-mono text-[10px] uppercase tracking-wider text-ink/45">
77
77
  {tag}
78
78
  </span>
79
79
  )}
80
80
  <CopyButton
81
81
  text={visibleRows.map((row) => row.code).join('\n')}
82
- className="ml-auto flex shrink-0 cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 text-[9.5px] text-ink/45 transition-colors hover:bg-ink/5 hover:text-ink"
82
+ className="ml-auto flex shrink-0 cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 text-[10px] text-ink/45 transition-colors hover:bg-ink/5 hover:text-ink"
83
83
  iconSize={10}
84
84
  label="Copy"
85
85
  />
86
86
  </div>
87
87
  )}
88
88
  {hidden > 0 && (
89
- <div className="border-b border-ink/6 px-2.5 py-1 font-mono text-[9.5px] text-ink/45">
89
+ <div className="border-b border-ink/6 px-2.5 py-1 font-mono text-[10px] text-ink/45">
90
90
  … {hidden} earlier lines hidden
91
91
  </div>
92
92
  )}
@@ -26,14 +26,14 @@ export function FallbackOutput({ text }: FallbackOutputProps) {
26
26
  return (
27
27
  <div className="space-y-1.5">
28
28
  <div className="flex items-center justify-between">
29
- <div className="flex items-center gap-1.5 text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/40">
29
+ <div className="flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/40">
30
30
  <Code size={11} className="text-ink/40" />
31
31
  <span>Output</span>
32
- <span className="rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[9px] text-ink/45">
32
+ <span className="rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[10px] text-ink/45">
33
33
  {output.format}
34
34
  </span>
35
35
  {lines > 1 && (
36
- <span className="font-mono text-[9px] text-ink/35">
36
+ <span className="font-mono text-[10px] text-ink/35">
37
37
  {lines} lines
38
38
  </span>
39
39
  )}
@@ -56,17 +56,17 @@ export function JsonCodeBlock({
56
56
  <span className={`font-mono ${compact ? 'text-[10px]' : 'text-[10.5px]'} font-semibold text-ink truncate`}>
57
57
  {title || 'JSON'}
58
58
  </span>
59
- <span className={`rounded bg-ink/5 px-1.5 py-0.2 font-mono ${compact ? 'text-[8.5px]' : 'text-[9px]'} uppercase tracking-wider text-ink/50 shrink-0`}>
59
+ <span className={`rounded bg-ink/5 px-1.5 py-0.2 font-mono ${compact ? 'text-[8.5px]' : 'text-[10px]'} uppercase tracking-wider text-ink/50 shrink-0`}>
60
60
  JSON
61
61
  </span>
62
- <span className={`font-mono ${compact ? 'text-[9px]' : 'text-[9.5px]'} text-ink/40 shrink-0`}>
62
+ <span className={`font-mono ${compact ? 'text-[10px]' : 'text-[10px]'} text-ink/40 shrink-0`}>
63
63
  {lines.length} {lines.length === 1 ? 'line' : 'lines'}
64
64
  </span>
65
65
  </div>
66
66
 
67
67
  <CopyButton
68
68
  text={jsonString}
69
- className="flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 text-[9px] text-ink/45 transition-colors hover:bg-ink/5 hover:text-ink shrink-0"
69
+ className="flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 text-[10px] text-ink/45 transition-colors hover:bg-ink/5 hover:text-ink shrink-0"
70
70
  title="Copy JSON"
71
71
  onClick={(e) => e.stopPropagation()}
72
72
  label="Copy"
@@ -41,14 +41,14 @@ export function OutputWindow({ lines, render, className }: OutputWindowProps) {
41
41
  return (
42
42
  <>
43
43
  {window.hidden > 0 && (
44
- <div className="flex items-center gap-2 border-b border-ink/6 bg-canvas/40 px-3 py-1 font-mono text-[9.5px] text-ink/45">
44
+ <div className="flex items-center gap-2 border-b border-ink/6 bg-canvas/40 px-3 py-1 font-mono text-[10px] text-ink/45">
45
45
  <Info size={10} className="shrink-0" />
46
46
  <span>… {window.hidden} earlier lines hidden</span>
47
47
  {more && (
48
48
  <button
49
49
  type="button"
50
50
  onClick={reveal}
51
- className="ml-auto flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 text-[9.5px] text-ink/55 transition-colors hover:bg-ink/5 hover:text-ink"
51
+ className="ml-auto flex cursor-pointer items-center gap-1 rounded px-1.5 py-0.5 text-[10px] text-ink/55 transition-colors hover:bg-ink/5 hover:text-ink"
52
52
  >
53
53
  <ChevronUp size={10} />
54
54
  Show earlier
@@ -33,7 +33,7 @@ import { usePluginSlotContext } from '@/client/hooks/workspace/list-slots';
33
33
 
34
34
  function SectionLabel({ children }: { children: string }) {
35
35
  return (
36
- <div className="text-[9.5px] font-semibold uppercase tracking-[0.14em] text-ink/40">
36
+ <div className="text-[10px] font-semibold uppercase tracking-[0.14em] text-ink/40">
37
37
  {children}
38
38
  </div>
39
39
  );
@@ -63,7 +63,7 @@ export function ToolBody({ tool, view }: { tool: ToolCallData; view: ToolView })
63
63
  <div className="flex items-center gap-1.5">
64
64
  <SectionLabel>Input</SectionLabel>
65
65
  {view.inputJson?.isValid && (
66
- <span className="rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[9px] uppercase tracking-wider text-ink/45">
66
+ <span className="rounded bg-ink/5 px-1.5 py-0.2 font-mono text-[10px] uppercase tracking-wider text-ink/45">
67
67
  JSON
68
68
  </span>
69
69
  )}
@@ -68,7 +68,7 @@ const BADGE_KINDS: ReadonlySet<ToolFact['kind']> = new Set(['exit', 'diff', 'pro
68
68
  const ICONLESS_KINDS: ReadonlySet<ToolFact['kind']> = new Set(['diff']);
69
69
 
70
70
  function chipClass(fact: ToolFact): string {
71
- const base = 'inline-flex shrink-0 items-center gap-1 px-1 py-0.5 font-mono text-[9.5px]';
71
+ const base = 'inline-flex shrink-0 items-center gap-1 px-1 py-0.5 font-mono text-[10px]';
72
72
  if (fact.parts && fact.parts.length > 0) return `${base} font-semibold text-ink/60`;
73
73
  if (fact.tone && fact.tone !== 'muted') return `${base} font-semibold ${TONE_CLASSES[fact.tone]}`;
74
74
  if (BADGE_KINDS.has(fact.kind)) return `${base} font-semibold text-ink/60`;
@@ -110,7 +110,7 @@ export function ToolFactChips({ facts, max = 4 }: { facts: ToolFact[]; max?: num
110
110
  </span>
111
111
  ))}
112
112
  {overflow > 0 && (
113
- <span className="shrink-0 font-mono text-[9.5px] text-ink/35">+{overflow}</span>
113
+ <span className="shrink-0 font-mono text-[10px] text-ink/35">+{overflow}</span>
114
114
  )}
115
115
  </span>
116
116
  );
@@ -44,7 +44,7 @@ export function ToolPanelHeader({ icon, label, badge, copyText, copyLabel = 'Cop
44
44
  {label}
45
45
  </span>
46
46
  {badge && (
47
- <span className="shrink-0 rounded bg-ink/5 px-1.5 py-0.5 font-mono text-[9px] uppercase tracking-wider text-ink/50">
47
+ <span className="shrink-0 rounded bg-ink/5 px-1.5 py-0.5 font-mono text-[10px] uppercase tracking-wider text-ink/50">
48
48
  {badge}
49
49
  </span>
50
50
  )}
@@ -55,7 +55,7 @@ export const MinimalRow = memo(function MinimalRow({ tool, isOpen, onToggle, def
55
55
  </span>
56
56
  <span className="sr-only">{status.word}</span>
57
57
  <span className="shrink-0 font-medium text-ink/70">{view.header.title}</span>
58
- {(view.subtitle || factsLine) && <span className="text-ink/25">—</span>}
58
+ {(view.subtitle || factsLine) && <span className="text-ink/25">·</span>}
59
59
  <span className="min-w-0 truncate font-mono text-ink/45">
60
60
  {view.subtitle}
61
61
  {factsLine}
@@ -58,8 +58,8 @@ export function RawJsonViewer({ data }: RawJsonViewerProps) {
58
58
  >
59
59
  {copied ? (
60
60
  <>
61
- <Check size={11} className="text-emerald-600" />
62
- <span className="text-emerald-600 font-sans font-medium">Copied</span>
61
+ <Check size={11} className="text-success" />
62
+ <span className="text-success font-sans font-medium">Copied</span>
63
63
  </>
64
64
  ) : (
65
65
  <>
@@ -35,7 +35,7 @@ export function ContextStatsGrid({
35
35
  <StatCard
36
36
  variant="compact"
37
37
  label="Cache Hit"
38
- value={cacheHitAverage !== undefined ? `${cacheHitAverage.toFixed(1)}%` : '—'}
38
+ value={cacheHitAverage !== undefined ? `${cacheHitAverage.toFixed(1)}%` : '–'}
39
39
  />
40
40
  <div className="relative bg-canvas border border-ink/10 rounded-lg px-2.5 py-1.5 flex flex-col gap-0.5 flex-1 min-w-0">
41
41
  <span className="text-[10px] font-medium text-ink/50 flex items-center gap-1">
@@ -83,7 +83,7 @@ export function ContextPanel({
83
83
  if (!enabled) {
84
84
  return (
85
85
  <div className={`flex flex-col h-full bg-paper items-center justify-center text-ink/40 ${className}`}>
86
- <span className="text-xs font-mono">No session selected</span>
86
+ <span className="text-xs font-mono text-muted">No session selected</span>
87
87
  </div>
88
88
  );
89
89
  }
@@ -58,7 +58,7 @@ export function ConflictBanner({ markers, isBusy, error, onResolve, onDismissErr
58
58
  type="button"
59
59
  onClick={() => onResolve('')}
60
60
  disabled={isBusy}
61
- title="Mark resolved — the file was edited by hand, this stages it"
61
+ title="Mark resolved: the file was edited by hand, this stages it"
62
62
  className="px-2 py-0.5 text-[10px] font-mono rounded border border-ink/20 hover:bg-ink/5 text-ink/80 hover:text-ink transition-colors cursor-pointer disabled:opacity-40"
63
63
  >
64
64
  mark resolved
@@ -15,7 +15,7 @@ import { FileIcon } from '@/client/components/common/file-icon';
15
15
 
16
16
  export function EmptyEditor({ className = '' }: { className?: string }) {
17
17
  return (
18
- <div className={`flex flex-col h-full bg-canvas items-center justify-center text-ink/40 ${className}`}>
18
+ <div className={`flex flex-col h-full bg-canvas items-center justify-center text-muted ${className}`}>
19
19
  <FileIcon name="placeholder.txt" size={48} className="mb-4 opacity-20" />
20
20
  <p className="font-mono text-sm">Select a file to open</p>
21
21
  </div>
@@ -199,7 +199,7 @@ export function FindWidget({ find }: FindWidgetProps) {
199
199
  nobody has used. */}
200
200
  {find.history.length > 0 && (
201
201
  <div className="flex items-center gap-1 overflow-x-auto no-scrollbar">
202
- <span className="text-[9px] uppercase tracking-wide text-ink/40 flex-shrink-0">Recent</span>
202
+ <span className="text-[10px] uppercase tracking-wide text-ink/40 flex-shrink-0">Recent</span>
203
203
  {find.history.slice(0, 6).map((entry) => (
204
204
  <button
205
205
  key={entry}
@@ -135,7 +135,7 @@ export function EditorTabs({
135
135
  the one convention that reads as "this is gone" at a glance. */}
136
136
  <span className={`text-xs font-mono truncate flex-1${isMissing ? ' text-error line-through' : ''}`}>{file.name}</span>
137
137
  {statusInfo && (
138
- <span className={`px-1 text-[9px] font-mono font-bold rounded ${statusInfo.badgeBgClass}`}>
138
+ <span className={`px-1 text-[10px] font-mono font-bold rounded ${statusInfo.badgeBgClass}`}>
139
139
  {statusInfo.charStatus}
140
140
  </span>
141
141
  )}
@@ -155,7 +155,7 @@ export function EditorToolbar({
155
155
  aria-label={saveTitle}
156
156
  >
157
157
  {saveStatus === 'saving' ? (
158
- <Save size={14} className="text-amber-500 animate-pulse" />
158
+ <Save size={14} className="text-warning animate-pulse" />
159
159
  ) : saveStatus === 'saved' ? (
160
160
  <Check size={14} className="text-success" />
161
161
  ) : saveStatus === 'error' ? (
@@ -114,7 +114,7 @@ export function OutlineSection() {
114
114
  <ListTree size={12} />
115
115
  <span>Outline</span>
116
116
  {total > 0 && (
117
- <span className="font-normal ml-1 border border-ink/20 rounded-full px-1.5 text-[9px] text-ink/50">
117
+ <span className="font-normal ml-1 border border-ink/20 rounded-full px-1.5 text-[10px] text-ink/50">
118
118
  {truncated ? `${symbols.length}/${total.toLocaleString()}` : total}
119
119
  </span>
120
120
  )}
@@ -156,7 +156,7 @@ export function OutlineSection() {
156
156
  <OutlineKindIcon kind={symbol.kind} />
157
157
  <span className="min-w-0 flex-1 truncate text-[11px] font-mono text-ink/80">{symbol.name}</span>
158
158
  {!preview && (
159
- <span className="flex-shrink-0 font-mono text-[9px] text-ink/35">{symbol.line}</span>
159
+ <span className="flex-shrink-0 font-mono text-[10px] text-ink/35">{symbol.line}</span>
160
160
  )}
161
161
  </button>
162
162
  ))}
@@ -47,7 +47,7 @@ export function TreeRowLabel({ name, path, isFolder, isOpen, ignored, gitStatus,
47
47
 
48
48
  {gitStatus && (
49
49
  <span
50
- className={`font-mono text-[9px] font-bold px-1 rounded flex-shrink-0 ${gitStatus.colorClass}`}
50
+ className={`font-mono text-[10px] font-bold px-1 rounded flex-shrink-0 ${gitStatus.colorClass}`}
51
51
  title={`Git: ${gitStatus.label}`}
52
52
  >
53
53
  {gitStatus.charStatus}
@@ -185,7 +185,7 @@ export function FileExplorer({ className = '', enabled = true, rootPath, onOpenF
185
185
  if (!enabled) {
186
186
  return (
187
187
  <div className={`flex flex-col h-full bg-paper items-center justify-center text-ink/40 ${className}`}>
188
- <span className="text-xs font-mono">No session selected</span>
188
+ <span className="text-xs font-mono text-muted">No session selected</span>
189
189
  </div>
190
190
  );
191
191
  }
@@ -75,7 +75,7 @@ export function GitBranchToolbar({
75
75
  <div className="max-h-48 scrollbar-overlay-container py-1">
76
76
  {branches.length > 0 && (
77
77
  <>
78
- <div className="px-3 py-1 text-[9px] uppercase tracking-wider text-ink/40 font-semibold">Local</div>
78
+ <div className="px-3 py-1 text-[10px] uppercase tracking-wider text-ink/40 font-semibold">Local</div>
79
79
  {branches.map(b => (
80
80
  <div key={b} className="flex items-center group/branch">
81
81
  <button
@@ -108,7 +108,7 @@ export function GitBranchToolbar({
108
108
  )}
109
109
  {remoteBranches.length > 0 && (
110
110
  <>
111
- <div className="px-3 py-1 text-[9px] uppercase tracking-wider text-ink/40 font-semibold">Remote</div>
111
+ <div className="px-3 py-1 text-[10px] uppercase tracking-wider text-ink/40 font-semibold">Remote</div>
112
112
  {remoteBranches.map(b => (
113
113
  <div key={b} className="flex items-center group/branch">
114
114
  <button
@@ -77,7 +77,7 @@ export function GitChangesList({ changes, isLoading, viewMode, repo, rootPath, o
77
77
  <div className="flex items-center space-x-1 font-semibold text-warning text-xs">
78
78
  <span className="w-3 text-center">{conflictsExpanded ? '▾' : '▸'}</span>
79
79
  <span>Conflicts</span>
80
- <span className="text-warning/70 font-normal ml-1 border border-warning/30 rounded-full px-1.5 text-[9px] bg-paper">
80
+ <span className="text-warning/70 font-normal ml-1 border border-warning/30 rounded-full px-1.5 text-[10px] bg-paper">
81
81
  {conflictedChanges.length}
82
82
  </span>
83
83
  </div>
@@ -104,7 +104,7 @@ export function GitChangesList({ changes, isLoading, viewMode, repo, rootPath, o
104
104
  <div className="flex items-center space-x-1 font-semibold text-ink text-xs">
105
105
  <span className="w-3 text-center">{stagedExpanded ? '▾' : '▸'}</span>
106
106
  <span>Staged Changes</span>
107
- <span className="text-ink/40 font-normal ml-1 border border-ink/20 rounded-full px-1.5 text-[9px] bg-paper">
107
+ <span className="text-ink/40 font-normal ml-1 border border-ink/20 rounded-full px-1.5 text-[10px] bg-paper">
108
108
  {stagedChanges.length}
109
109
  </span>
110
110
  </div>
@@ -157,7 +157,7 @@ export function GitChangesList({ changes, isLoading, viewMode, repo, rootPath, o
157
157
  <div className="flex items-center space-x-1 font-semibold text-ink text-xs">
158
158
  <span className="w-3 text-center">{unstagedExpanded ? '▾' : '▸'}</span>
159
159
  <span>Changes</span>
160
- <span className="text-ink/40 font-normal ml-1 border border-ink/20 rounded-full px-1.5 text-[9px] bg-paper">
160
+ <span className="text-ink/40 font-normal ml-1 border border-ink/20 rounded-full px-1.5 text-[10px] bg-paper">
161
161
  {unstagedChanges.length}
162
162
  </span>
163
163
  </div>
@@ -77,9 +77,9 @@ export function GitConflictItem({ change, repo, rootPath, onResolve }: GitConfli
77
77
  <FileWarning size={11} className="text-warning flex-shrink-0" />
78
78
  <FileIcon name={fileName} size={12} className="flex-shrink-0" />
79
79
  <span className="truncate text-warning" title={change.file}>{fileName}</span>
80
- {dirPath && <span className="text-[9px] text-ink/40 truncate ml-1">{dirPath}</span>}
80
+ {dirPath && <span className="text-[10px] text-ink/40 truncate ml-1">{dirPath}</span>}
81
81
  {isUnmergedCode(change.status) && (
82
- <span className="text-[9px] text-warning/70 font-mono flex-shrink-0">{change.status}</span>
82
+ <span className="text-[10px] text-warning/70 font-mono flex-shrink-0">{change.status}</span>
83
83
  )}
84
84
  </div>
85
85
  <button
@@ -115,7 +115,7 @@ export function GitConflictItem({ change, repo, rootPath, onResolve }: GitConfli
115
115
  <button
116
116
  type="button"
117
117
  onClick={() => onResolve(change.file, '')}
118
- title="Mark resolved — the file was edited by hand, this stages it"
118
+ title="Mark resolved: the file was edited by hand, this stages it"
119
119
  className="px-2 py-0.5 text-[10px] font-mono rounded border border-ink/20 hover:bg-ink/5 text-ink/80 hover:text-ink transition-colors cursor-pointer flex items-center gap-1"
120
120
  >
121
121
  <Check size={10} />