@kabmo-labs/kabmo 0.21.1 → 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-thwqf24c.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 +44 -8
  275. package/src/shared/lib/icons/icon-paint-css.ts +18 -1
  276. package/src/shared/lib/icons/icon-paint-panel.ts +15 -18
  277. package/src/shared/lib/icons/icon-paint-weight.ts +20 -1
  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
@@ -150,7 +150,7 @@ export function ConfigTabs({
150
150
  }`}
151
151
  >
152
152
  {tab.label}
153
- <span className={`ml-1.5 font-mono text-[9px] ${isActive ? 'text-ink/50' : 'text-ink/30'}`}>{count}</span>
153
+ <span className={`ml-1.5 font-mono text-[10px] ${isActive ? 'text-ink/50' : 'text-ink/35'}`}>{count}</span>
154
154
  </button>
155
155
  );
156
156
  })}
@@ -253,16 +253,16 @@ function GroupedRows({
253
253
  <div className="min-w-0 flex-1">
254
254
  <div className="flex flex-wrap items-center gap-1.5">
255
255
  <span className="font-medium text-ink">{schemaEntry.ui.label}</span>
256
- <span className="font-mono text-[9px] text-ink/30" title="config key">{key}</span>
256
+ <span className="font-mono text-[10px] text-ink/35" title="config key">{key}</span>
257
257
  {isDirty && !saving && (
258
- <span className="shrink-0 rounded bg-warning/15 px-1 py-px text-[9px] font-semibold text-warning">unsaved</span>
258
+ <span className="shrink-0 rounded bg-warning/15 px-1 py-px text-[10px] font-semibold text-warning">unsaved</span>
259
259
  )}
260
260
  {saving && (
261
- <span className="shrink-0 text-[9px] text-ink/40">saving…</span>
261
+ <span className="shrink-0 text-[10px] text-ink/40">saving…</span>
262
262
  )}
263
263
  {errorMessage && !saving && (
264
264
  <span
265
- className="shrink-0 rounded bg-error/10 px-1 py-px text-[9px] font-semibold text-error"
265
+ className="shrink-0 rounded bg-error/10 px-1 py-px text-[10px] font-semibold text-error"
266
266
  title={errorMessage}
267
267
  >
268
268
  save failed
@@ -112,18 +112,18 @@ export function EngineHeader({
112
112
  </Stat>
113
113
  <Stat label="Model">
114
114
  <span className="block truncate" title={modelId ? `${state?.model?.provider ?? ''} / ${modelId}` : undefined}>
115
- {modelId ?? '—'}
115
+ {modelId ?? '–'}
116
116
  </span>
117
117
  {state?.model?.provider && (
118
118
  <span className="block truncate text-[10px] font-normal text-ink/40">{state.model.provider}</span>
119
119
  )}
120
120
  </Stat>
121
121
  <Stat label="Thinking">
122
- <span className="capitalize">{state?.thinkingLevel ?? '—'}</span>
122
+ <span className="capitalize">{state?.thinkingLevel ?? '–'}</span>
123
123
  </Stat>
124
124
  <Stat label="Context">
125
125
  <span className={hasPercent ? tone.text : undefined}>
126
- {hasPercent ? `${percent.toFixed(1)}%` : '—'}
126
+ {hasPercent ? `${percent.toFixed(1)}%` : '–'}
127
127
  </span>
128
128
  {hasPercent && (
129
129
  <span className="mt-1 block h-1 w-full overflow-hidden rounded-full bg-ink/10" aria-hidden="true">
@@ -52,7 +52,7 @@ export function RoleRow({ role, info, value, candidates, disabled, onChange }: R
52
52
  <div className="flex items-center justify-between gap-3 px-3 py-2.5">
53
53
  <div className="min-w-0">
54
54
  <div className="font-medium text-ink">{info.label}</div>
55
- <div className="font-mono text-[9px] text-ink/30">{role}</div>
55
+ <div className="font-mono text-[10px] text-ink/35">{role}</div>
56
56
  </div>
57
57
  <select
58
58
  aria-label={label}
@@ -62,7 +62,7 @@ export function RoleRow({ role, info, value, candidates, disabled, onChange }: R
62
62
  onChange={(event) => onChange(role, event.currentTarget.value)}
63
63
  className="w-60 max-w-[60%] bg-paper border border-ink/15 rounded-md px-2 py-1 text-ink font-mono text-[11px] cursor-pointer disabled:opacity-50"
64
64
  >
65
- <option value="">— omp default —</option>
65
+ <option value="">omp default</option>
66
66
  {value && !known && <option value={value}>{value} (not in catalog)</option>}
67
67
  {groups.map((group) => (
68
68
  <optgroup key={group.provider} label={group.provider}>
@@ -197,7 +197,7 @@ export function LeftDockSettings({ dock, plugins, slots }: LeftDockSettingsProps
197
197
  <div className="flex flex-col gap-1.5 border border-ink/10 rounded-lg px-2.5 py-2 bg-ink/[0.02]">
198
198
  <span className="min-w-0">
199
199
  <span className="block text-xs text-ink">Sessions</span>
200
- <span className="block text-[10px] text-ink/40">The dock's own view — always here.</span>
200
+ <span className="block text-[10px] text-ink/40">The dock's own view, always here.</span>
201
201
  </span>
202
202
  <span className="text-[10px] font-mono text-ink/40 self-start">{SESSIONS_VIEW_ID}</span>
203
203
  </div>
@@ -180,7 +180,7 @@ export function PluginCard({
180
180
  ) : !entry ? (
181
181
  <p className="text-[11px] text-ink/45">Loading bundle…</p>
182
182
  ) : badges.items.length === 0 ? (
183
- <p className="text-[11px] text-ink/45">Loaded, but registers nothing — no panel, no button, no hook.</p>
183
+ <p className="text-[11px] text-ink/45">Loaded, but registers nothing: no panel, no button, no hook.</p>
184
184
  ) : null}
185
185
 
186
186
  {/* The badges name what the plugin contributes; a PANEL one also carries
@@ -73,9 +73,10 @@ export function PluginMark({ name, iconUrl, color, size = 16, tile = false }: Pl
73
73
  const hueValue = hashHue(name);
74
74
  const hue = {
75
75
  '--icon-hue': String(hueValue),
76
- // The LIGHT tone for that hue, from the same solved table the glyph rows
77
- // emit: a plugin's hue is runtime-only, so it cannot be a generated CSS row.
78
- '--icon-tone': iconTone(hueValue),
76
+ // BOTH solved tones for that hue, from the same table the glyph rows emit: a
77
+ // plugin's hue is runtime-only, so it cannot be a generated CSS row.
78
+ '--icon-tone': iconTone(hueValue, 'light'),
79
+ '--icon-tone-dark': iconTone(hueValue, 'dark'),
79
80
  ...(declared ? { '--plugin-declared-light': declared.light } : {}),
80
81
  ...(declared?.dark ? { '--plugin-declared-dark': declared.dark } : {}),
81
82
  } as Record<string, string>;
@@ -233,13 +233,13 @@ function PluginRow({
233
233
  <span className="truncate text-xs font-medium">{plugin.name}</span>
234
234
  {plugin.enabled && <Check size={11} className="text-success flex-shrink-0" />}
235
235
  </div>
236
- <span className="text-[10px] font-mono text-ink/45 flex-shrink-0">{plugin.version || '—'}</span>
236
+ <span className="text-[10px] font-mono text-ink/45 flex-shrink-0">{plugin.version || '–'}</span>
237
237
  </div>
238
238
  <div className="flex items-center gap-1.5 mt-0.5 pl-[19px]">
239
239
  <span className="text-[10px] font-mono uppercase text-ink/50">{plugin.scope}</span>
240
240
  {plugin.shadowedBy && <span className="text-[10px] text-ink/45">shadowed</span>}
241
241
  {plugin.updateAvailable && (
242
- <span className="text-[10px] px-1 rounded bg-amber-500/15 text-amber-900 border border-amber-500/20">
242
+ <span className="text-[10px] px-1 rounded border border-warning/30 bg-warning/15 text-warning">
243
243
  {plugin.updateAvailable}
244
244
  </span>
245
245
  )}
@@ -117,7 +117,7 @@ function AddProjectForm({ isSaving, onClose, onSubmit }: Omit<AddProjectModalPro
117
117
  placeholder="e.g. kabmo"
118
118
  className="w-full bg-paper border border-ink/20 rounded-md px-3 py-2 text-xs text-ink outline-none focus:border-ink/60 transition-colors"
119
119
  />
120
- <p className="text-[11px] text-ink/50">Unique — the sidebar identifies a workspace by it.</p>
120
+ <p className="text-[11px] text-ink/50">Unique: the sidebar identifies a workspace by it.</p>
121
121
  </div>
122
122
 
123
123
  <div className="space-y-1.5">
@@ -66,7 +66,7 @@ export function ProjectNameInput({ name, disabled = false, onCommit }: ProjectNa
66
66
  placeholder="Enter project name…"
67
67
  className="w-full bg-paper border border-ink/20 rounded-md px-3 py-2 text-xs font-medium text-ink outline-none focus:border-ink/60 transition-colors shadow-2xs disabled:opacity-60"
68
68
  />
69
- <p className="text-[11px] text-ink/50">Names are unique — the sidebar identifies a project by it.</p>
69
+ <p className="text-[11px] text-ink/50">Names are unique: the sidebar identifies a project by it.</p>
70
70
  </div>
71
71
  );
72
72
  }
@@ -96,7 +96,7 @@ export function ProjectPathField({
96
96
  e.currentTarget.blur();
97
97
  }
98
98
  }}
99
- placeholder="~ or /absolute/path — leave empty for an unbound grouping"
99
+ placeholder="~ or /absolute/path, or leave empty for an unbound grouping"
100
100
  spellcheck={false}
101
101
  className="w-full bg-paper border border-ink/20 rounded-md px-3 py-2 text-[11.5px] font-mono text-ink outline-none focus:border-ink/60 transition-colors shadow-2xs disabled:opacity-60"
102
102
  />
@@ -226,7 +226,7 @@ export function AddModelModal({
226
226
  {/* Display name */}
227
227
  <div>
228
228
  <label className="block text-xs font-semibold text-ink mb-1">
229
- Display Name <span className="font-normal text-ink/40">— optional</span>
229
+ Display Name <span className="font-normal text-ink/40">(optional)</span>
230
230
  </label>
231
231
  <input
232
232
  type="text"
@@ -261,7 +261,7 @@ export function AddModelModal({
261
261
  <div className="grid grid-cols-2 gap-3">
262
262
  <div>
263
263
  <label className="block text-xs font-semibold text-ink mb-1">
264
- Context window <span className="font-normal text-ink/40">— tokens</span>
264
+ Context window <span className="font-normal text-ink/40">(tokens)</span>
265
265
  </label>
266
266
  <input
267
267
  type="text"
@@ -274,7 +274,7 @@ export function AddModelModal({
274
274
  </div>
275
275
  <div>
276
276
  <label className="block text-xs font-semibold text-ink mb-1">
277
- Max output <span className="font-normal text-ink/40">— tokens</span>
277
+ Max output <span className="font-normal text-ink/40">(tokens)</span>
278
278
  </label>
279
279
  <input
280
280
  type="text"
@@ -305,7 +305,7 @@ export function AddProviderModal({
305
305
  <div>
306
306
  <label className="block text-xs font-semibold text-ink mb-1">
307
307
  API Key (stored securely)
308
- {!requiresApiKey && <span className="font-normal text-ink/40"> — optional</span>}
308
+ {!requiresApiKey && <span className="font-normal text-ink/40"> (optional)</span>}
309
309
  </label>
310
310
  <div className="relative flex items-center">
311
311
  <Key size={13} className="absolute left-2.5 text-ink/40 pointer-events-none" />
@@ -60,12 +60,12 @@ export function ProviderAuthSection({
60
60
  </>
61
61
  ) : isConnected ? (
62
62
  <>
63
- <Check size={15} className="text-emerald-500 flex-shrink-0" strokeWidth={2.4} />
63
+ <Check size={15} className="text-success flex-shrink-0" strokeWidth={2.4} />
64
64
  <span className="text-xs font-medium text-ink">Connected</span>
65
65
  </>
66
66
  ) : (
67
67
  <>
68
- <AlertCircle size={15} className="text-amber-500 flex-shrink-0" strokeWidth={2.4} />
68
+ <AlertCircle size={15} className="text-warning flex-shrink-0" strokeWidth={2.4} />
69
69
  <span className="text-xs font-medium text-ink/80">Not signed in</span>
70
70
  </>
71
71
  )}
@@ -92,7 +92,7 @@ export function DeleteProviderModal({
92
92
  ? `, along with its ${modelCount} registered model${modelCount === 1 ? '' : 's'}.`
93
93
  : '.'}
94
94
  </li>
95
- <li>The endpoint and API key stored on that entry are removed with it — they are shown masked here, so you would need to enter them again.</li>
95
+ <li>The endpoint and API key stored on that entry are removed with it. They are shown masked here, so you would need to enter them again.</li>
96
96
  </>
97
97
  ) : (
98
98
  <>
@@ -56,14 +56,14 @@ export function EntryAdvanced({
56
56
  <>
57
57
  <div>
58
58
  <label className="block text-xs font-semibold text-ink mb-1">
59
- Discovery <span className="font-normal text-ink/40">— optional</span>
59
+ Discovery <span className="font-normal text-ink/40">(optional)</span>
60
60
  </label>
61
61
  <select
62
62
  value={discovery.type}
63
63
  onChange={(e) => patch({ type: e.currentTarget.value as ProviderDiscoveryType | '' })}
64
64
  className={fieldClass}
65
65
  >
66
- <option value="">— omp uses the registered model list —</option>
66
+ <option value="">Use the registered model list</option>
67
67
  {PROVIDER_DISCOVERY_TYPES.map((type) => (
68
68
  <option key={type.value} value={type.value}>{type.label}</option>
69
69
  ))}
@@ -79,7 +79,7 @@ export function EntryAdvanced({
79
79
  <div className="space-y-2 pl-3 border-l-2 border-ink/10">
80
80
  <div>
81
81
  <label className="block text-[11px] font-medium text-ink/70 mb-1">
82
- Timeout <span className="font-normal text-ink/40">— ms, optional</span>
82
+ Timeout <span className="font-normal text-ink/40">(ms, optional)</span>
83
83
  </label>
84
84
  <input
85
85
  type="text"
@@ -121,7 +121,7 @@ export function EntryAdvanced({
121
121
  <div>
122
122
  <div className="flex items-center justify-between gap-2 mb-1">
123
123
  <label className="block text-xs font-semibold text-ink">
124
- Request headers <span className="font-normal text-ink/40">— optional</span>
124
+ Request headers <span className="font-normal text-ink/40">(optional)</span>
125
125
  </label>
126
126
  <button
127
127
  type="button"
@@ -204,7 +204,7 @@ export function ProviderEntryModal({ isOpen, provider, onClose, onSaved }: Provi
204
204
  <div>
205
205
  <label className="block text-xs font-semibold text-ink mb-1">
206
206
  API key
207
- {hasStoredKey && <span className="font-normal text-ink/40"> — stored; leave empty to keep it</span>}
207
+ {hasStoredKey && <span className="font-normal text-ink/40"> (stored; leave empty to keep it)</span>}
208
208
  </label>
209
209
  <div className="relative flex items-center">
210
210
  <Key size={13} className="absolute left-2.5 text-ink/40 pointer-events-none" />
@@ -234,7 +234,7 @@ export function ProviderEntryModal({ isOpen, provider, onClose, onSaved }: Provi
234
234
  onChange={(e) => setApi(e.currentTarget.value as OmpProviderApi)}
235
235
  className={fieldClass}
236
236
  >
237
- <option value="">— inherit omp’s —</option>
237
+ <option value="">Inherit omp's setting</option>
238
238
  {PROVIDER_APIS.map((value) => (
239
239
  <option key={value} value={value}>{value}</option>
240
240
  ))}
@@ -190,7 +190,7 @@ export function LoginModal({ isOpen, provider, onClose, onAuthenticated }: Login
190
190
  )}
191
191
 
192
192
  {state.status === 'success' && (
193
- <div className="flex items-center gap-2 text-xs text-emerald-500 font-medium">
193
+ <div className="flex items-center gap-2 text-xs text-success font-medium">
194
194
  <CheckCircle2 size={14} /> Signed in. omp stored the credential.
195
195
  </div>
196
196
  )}
@@ -127,7 +127,7 @@ export function ModelCapabilitiesModal({ isOpen, model, onClose }: ModelCapabili
127
127
  </span>
128
128
  ) : null
129
129
  ) : fact.value ? (
130
- <span className="inline-flex items-center gap-1 text-[10px] text-emerald-500 font-semibold uppercase tracking-wider">
130
+ <span className="inline-flex items-center gap-1 text-[10px] text-success font-semibold uppercase tracking-wider">
131
131
  <Check size={11} strokeWidth={2.5} />
132
132
  Yes
133
133
  </span>
@@ -244,7 +244,7 @@ export function ProviderModelsList({
244
244
  {model.name}
245
245
  </span>
246
246
  {modelKind !== 'chat' && (
247
- <span className="shrink-0 px-1 py-0 rounded border border-ink/15 text-[9px] font-mono uppercase tracking-wide text-ink/55">
247
+ <span className="shrink-0 px-1 py-0 rounded border border-ink/15 text-[10px] font-mono uppercase tracking-wide text-ink/55">
248
248
  {MODEL_KIND_LABELS[modelKind]}
249
249
  </span>
250
250
  )}
@@ -280,7 +280,7 @@ export function ProviderModelsList({
280
280
  <button
281
281
  type="button"
282
282
  onClick={() => onOpenModelCapabilities(model)}
283
- title="What this model declares — tools, vision, reasoning"
283
+ title="What this model declares: tools, vision, reasoning"
284
284
  aria-label={`Capabilities of ${model.name}`}
285
285
  className="p-1 rounded text-ink/50 hover:text-ink hover:bg-ink/10 transition-colors cursor-pointer"
286
286
  >
@@ -68,7 +68,7 @@ export function PriceFields({
68
68
  return (
69
69
  <div>
70
70
  <label className="block text-xs font-semibold text-ink mb-1.5">
71
- Price <span className="font-normal text-ink/40">— USD per 1M tokens, optional</span>
71
+ Price <span className="font-normal text-ink/40">(USD per 1M tokens, optional)</span>
72
72
  </label>
73
73
  <div className="grid grid-cols-2 gap-3">
74
74
  <PriceField
@@ -102,7 +102,7 @@ export function TokenUsageBreakdown({
102
102
  <div className="mb-3 flex flex-wrap items-center justify-between gap-x-2 gap-y-1.5">
103
103
  <span className="flex items-baseline gap-2 text-xs font-semibold text-ink">
104
104
  Breakdown
105
- <span className="font-mono text-[9px] font-normal uppercase tracking-wider text-ink/35">
105
+ <span className="font-mono text-[10px] font-normal uppercase tracking-wider text-ink/35">
106
106
  {isTree ? 'period total' : `${rows.length} ${rows.length === 1 ? 'row' : 'rows'} · ${granularity}`}
107
107
  </span>
108
108
  </span>
@@ -114,7 +114,7 @@ export function TokenUsageBreakdown({
114
114
  role="tab"
115
115
  aria-selected={tab === entry.id}
116
116
  onClick={() => onTab(entry.id)}
117
- className={`rounded px-2 py-0.5 text-[9px] font-bold tracking-wider transition-colors ${
117
+ className={`rounded px-2 py-0.5 text-[10px] font-bold tracking-wider transition-colors ${
118
118
  tab === entry.id ? 'bg-paper text-ink shadow-xs' : 'text-ink/50 hover:text-ink'
119
119
  }`}
120
120
  >
@@ -229,7 +229,7 @@ export function TokenUsageBreakdown({
229
229
  <div className="rounded-lg border border-ink/15 bg-paper p-3.5 shadow-xs">
230
230
  <div className="mb-3 flex items-baseline justify-between gap-2">
231
231
  <span className="text-xs font-semibold text-ink">Cost quality</span>
232
- <span className="font-mono text-[9px] uppercase tracking-wider text-ink/35">period total</span>
232
+ <span className="font-mono text-[10px] uppercase tracking-wider text-ink/35">period total</span>
233
233
  </div>
234
234
  <dl className="space-y-2 text-[11px]">
235
235
  <div className="flex items-center justify-between">
@@ -243,7 +243,7 @@ export function TokenUsageBreakdown({
243
243
  <div className="flex items-center justify-between">
244
244
  <dt className="text-ink/60">Unpriced turns</dt>
245
245
  <dd className="tabular-nums font-semibold text-ink">
246
- {totals.records > 0 ? `${((totals.unpriced / totals.records) * 100).toFixed(1)}%` : '—'}
246
+ {totals.records > 0 ? `${((totals.unpriced / totals.records) * 100).toFixed(1)}%` : '–'}
247
247
  </dd>
248
248
  </div>
249
249
  <div className="flex items-center justify-between">
@@ -86,7 +86,7 @@ export function UsageChart({ buckets, metric, providers, visible, onToggle, gran
86
86
  <div className="w-full border-t border-dashed border-ink/5" />
87
87
  <div className="w-full border-t border-ink/15" />
88
88
  </div>
89
- <div className="absolute bottom-4 left-0 top-0 flex w-10 flex-col justify-between font-mono text-[9px] text-ink/40">
89
+ <div className="absolute bottom-4 left-0 top-0 flex w-10 flex-col justify-between font-mono text-[10px] text-ink/40">
90
90
  <span>{format(max)}</span>
91
91
  <span>{format(max / 2)}</span>
92
92
  <span>0</span>
@@ -109,7 +109,7 @@ export function UsageChart({ buckets, metric, providers, visible, onToggle, gran
109
109
  ))}
110
110
  </svg>
111
111
  </div>
112
- <div className="absolute bottom-0 left-10 right-0 flex h-4 items-end justify-between text-[9px] text-ink/40">
112
+ <div className="absolute bottom-0 left-10 right-0 flex h-4 items-end justify-between text-[10px] text-ink/40">
113
113
  <span>{buckets[0]?.label}</span>
114
114
  {buckets.length > 2 && <span>{buckets[Math.floor(buckets.length / 2)]?.label}</span>}
115
115
  {/* One bucket would otherwise print the same label twice. */}
@@ -103,7 +103,7 @@ export function TokenUsageControls({
103
103
  ] as const
104
104
  ).map((field) => (
105
105
  <label key={field.label} className="block">
106
- <span className="text-[9px] font-mono uppercase tracking-wider text-ink/40">{field.label}</span>
106
+ <span className="text-[10px] font-mono uppercase tracking-wider text-ink/40">{field.label}</span>
107
107
  <input
108
108
  type="date"
109
109
  value={field.value}
@@ -27,7 +27,7 @@ export function TokenUsageMetricsGrid({ totals, periodName }: TokenUsageMetricsG
27
27
  <span className="font-mono text-[10px] font-semibold uppercase tracking-wider text-ink/40">
28
28
  Provider-reported cost
29
29
  </span>
30
- <span className="font-mono text-[9px] uppercase tracking-wider text-ink/30">{periodName}</span>
30
+ <span className="font-mono text-[10px] uppercase tracking-wider text-ink/30">{periodName}</span>
31
31
  </div>
32
32
  <div className="flex items-baseline gap-1.5">
33
33
  <span className="text-2xl font-bold tracking-tight tabular-nums text-ink">{metrics.rawCost}</span>
@@ -20,7 +20,7 @@ export function KenariCard({ report }: KenariCardProps) {
20
20
  ? balance.amountRp !== null
21
21
  ? formatRp(balance.amountRp)
22
22
  : balance.raw
23
- : '—';
23
+ : '–';
24
24
  const balanceHint = balance
25
25
  ? balance.amountRp !== null
26
26
  ? balance.raw
@@ -37,22 +37,22 @@ export function KenariCard({ report }: KenariCardProps) {
37
37
  <div className="grid grid-cols-3 @[540px]:grid-cols-5 gap-2.5 items-stretch">
38
38
  <StatCard value={balanceValue} label="Wallet balance" hint={balanceHint} />
39
39
  <StatCard
40
- value={quota?.planName ?? '—'}
40
+ value={quota?.planName ?? '–'}
41
41
  label="Active plan"
42
42
  hint={quota ? 'kenari quota plan' : 'Quota unavailable'}
43
43
  />
44
44
  <StatCard
45
- value={usage ? formatNumber(usage.totalRequests) : '—'}
45
+ value={usage ? formatNumber(usage.totalRequests) : '–'}
46
46
  label="Requests (30 days)"
47
47
  hint={usage ? 'Across all models' : 'Usage report unavailable'}
48
48
  />
49
49
  <StatCard
50
- value={usage ? formatRp(usage.totalCostRp) : '—'}
50
+ value={usage ? formatRp(usage.totalCostRp) : '–'}
51
51
  label="Cost (30 days)"
52
52
  hint={usage ? 'Billed in Rupiah' : 'Usage report unavailable'}
53
53
  />
54
54
  <StatCard
55
- value={usage ? formatCompactTokens(processedTokens) : '—'}
55
+ value={usage ? formatCompactTokens(processedTokens) : '–'}
56
56
  label="Tokens processed (30 days)"
57
57
  hint={usage ? 'Input + output' : 'Usage report unavailable'}
58
58
  tone="muted"
@@ -67,7 +67,7 @@ export function BrowserAddressBar({
67
67
  <div className="flex-1 min-w-0 flex items-center bg-canvas border border-ink/15 rounded-md px-2 py-0.5">
68
68
  <Globe size={12} className="text-ink/40 mr-1.5 flex-shrink-0" />
69
69
  <span className="w-full truncate text-ink/80 font-mono text-[11px]" title={url ?? ''}>
70
- {url || 'Agent belum membuka halaman'}
70
+ {url || 'No page open yet'}
71
71
  </span>
72
72
  </div>
73
73
  </BrowserToolbar>
@@ -23,16 +23,16 @@ interface BrowserScreencastProps {
23
23
 
24
24
  const OFFLINE_COPY: Record<Exclude<BrowserViewStatus, 'live'>, { title: string; body: string }> = {
25
25
  'agent-offline': {
26
- title: 'Agent belum berjalan',
27
- body: 'Aktifkan sesi ini agar browser bisa dikendalikan agent.',
26
+ title: 'The agent is not running',
27
+ body: 'Start this session so the agent can drive the browser.',
28
28
  },
29
29
  'browser-offline': {
30
- title: 'Belum ada browser aktif',
31
- body: 'Minta agent membuka sebuah halaman; tampilan live akan muncul di sini.',
30
+ title: 'No browser is open',
31
+ body: 'Ask the agent to open a page; the live view appears here.',
32
32
  },
33
33
  'no-tab': {
34
- title: 'Browser aktif, belum ada tab',
35
- body: 'Sesi ini belum membuka tab di browser bersama.',
34
+ title: 'Browser is open, with no tab yet',
35
+ body: 'This session has not opened a tab in the shared browser.',
36
36
  },
37
37
  };
38
38
 
@@ -75,7 +75,7 @@ export function BrowserTabStrip({ tabs, targetId, closing, onSelectTarget, onClo
75
75
  onClick={() => onCloseTarget(tab.targetId)}
76
76
  disabled={closing === tab.targetId}
77
77
  className={`mr-0.5 p-1 rounded hover:bg-error hover:text-paper transition-colors cursor-pointer disabled:opacity-40 disabled:cursor-not-allowed ${
78
- active ? 'text-canvas/70' : 'text-ink/40 opacity-0 group-hover:opacity-100 focus-visible:opacity-100'
78
+ active ? 'text-on-ink-muted' : 'text-ink/40 opacity-0 group-hover:opacity-100 focus-visible:opacity-100'
79
79
  }`}
80
80
  aria-label={`Tutup tab ${label}`}
81
81
  title={`Tutup tab ${label}`}
@@ -56,7 +56,7 @@ export function BrowserPanel({ className = '', active = true }: BrowserPanelProp
56
56
  if (closing === closingTarget) return;
57
57
  void closeTab(closingTarget).then((result) => {
58
58
  if (!result.ok) {
59
- setCloseError(result.error ?? 'Gagal menutup tab');
59
+ setCloseError(result.error ?? 'The tab could not be closed');
60
60
  return;
61
61
  }
62
62
  setCloseError(null);
@@ -129,8 +129,8 @@ export function BrowserToolbar({
129
129
  type="button"
130
130
  onClick={handleInclude}
131
131
  disabled={!url}
132
- aria-label="Sertakan halaman ini di draft chat"
133
- title={included ? 'Konteks halaman ditambahkan ke draft' : 'Sertakan halaman ini di draft chat'}
132
+ aria-label="Include this page in the chat draft"
133
+ title={included ? 'Page context added to the draft' : 'Include this page in the chat draft'}
134
134
  className={ICON_BUTTON}
135
135
  >
136
136
  {included ? <Check size={14} className="text-success" /> : <MessageSquarePlus size={14} />}
@@ -141,20 +141,20 @@ export function BrowserToolbar({
141
141
  type="button"
142
142
  onClick={annotate.onToggle}
143
143
  disabled={!url}
144
- aria-label="Mode anotasi halaman"
144
+ aria-label="Page annotation mode"
145
145
  aria-pressed={annotate.active}
146
146
  title={
147
147
  annotate.active
148
148
  ? 'Tutup mode anotasi'
149
149
  : annotate.count > 0
150
150
  ? `Anotasi (${annotate.count}) — buka lagi`
151
- : 'Tandai bagian halaman lalu kirim ke chat'
151
+ : 'Mark a part of the page, then send it to the chat'
152
152
  }
153
153
  className={`${ICON_BUTTON} relative ${annotate.active ? 'bg-ink/10 text-ink' : ''}`}
154
154
  >
155
155
  <SquarePen size={14} />
156
156
  {annotate.count > 0 && (
157
- <span className="absolute -top-0.5 -right-0.5 min-w-[13px] h-[13px] px-0.5 rounded-full bg-error text-paper text-[9px] leading-[13px] font-mono text-center">
157
+ <span className="absolute -top-0.5 -right-0.5 min-w-[13px] h-[13px] px-0.5 rounded-full bg-error text-paper text-[10px] leading-[13px] font-mono text-center">
158
158
  {annotate.count}
159
159
  </span>
160
160
  )}
@@ -59,7 +59,7 @@ function ImageLightbox({ src, name, onClose }: { src: string; name: string; onCl
59
59
  zoomed ? 'scale-150 cursor-zoom-out' : 'scale-100'
60
60
  }`}
61
61
  />
62
- <div className="mt-3 max-w-[90vw] truncate text-[11px] font-mono text-canvas/80">{name}</div>
62
+ <div className="mt-3 max-w-[90vw] truncate text-[11px] font-mono text-on-ink-muted">{name}</div>
63
63
  </div>
64
64
  </div>,
65
65
  document.body
@@ -74,33 +74,20 @@ export function GeneratingIndicator({ modelName, generatingVerb, provider, provi
74
74
  id={id}
75
75
  className="w-full flex items-center px-1 py-1 bg-transparent border-0 border-none text-[11px] font-mono select-none animate-in fade-in duration-200"
76
76
  >
77
- <style>{`
78
- @keyframes bounce-dot {
79
- 0%, 100% { opacity: 0.2; transform: translateY(0); }
80
- 50% { opacity: 1; transform: translateY(-15%); }
81
- }
82
- .dot-anim-1 { animation: bounce-dot 1.2s infinite both; }
83
- .dot-anim-2 { animation: bounce-dot 1.2s infinite both 0.2s; }
84
- .dot-anim-3 { animation: bounce-dot 1.2s infinite both 0.4s; }
85
- `}</style>
86
-
87
- {/* Left info: Animated Rainbow Spinner Ring + Bot Badge + Model Name + Dynamic Action Verb */}
77
+ {/* Left info: the identity mark, then the provider/model and the verb. */}
88
78
  <div className="flex items-center space-x-2 min-w-0 flex-1">
89
-
90
- {/* Bot Icon with Animated Colorful Gradient Spinner */}
91
- <div className="relative w-4 h-4 rounded flex items-center justify-center shrink-0">
92
- {/* Multi-color conic gradient spinner ring */}
93
- <div
94
- className="absolute -inset-[1.5px] rounded-[5px] animate-spin"
95
- style={{
96
- background: 'conic-gradient(from 0deg, #ff453a, #ff9f0a, #ffd60a, #30d158, #64d2ff, #0a84ff, #bf5af2, #ff375f, #ff453a)',
97
- animationDuration: '1.2s'
98
- }}
99
- />
100
- {/* Center Dark Bot Badge */}
101
- <div className="relative w-full h-full rounded-[3px] bg-ink flex items-center justify-center text-canvas z-10 shadow-2xs">
102
- <Bot size={10} className="text-canvas" />
103
- </div>
79
+ {/* The run's mark. It was a NINE-HUE conic gradient spun inline, the only
80
+ chroma in the app outside the palette's own signal tokens, injected
81
+ as a per-render `<style>` block (the single inline stylesheet in
82
+ `src/client`) with an infinite bounce for the dots. A transcript can
83
+ hold several of these rows at once, so the rainbow was decoration
84
+ that competed with the tool cards it sat among — and `DESIGN.md`
85
+ reserves chroma for state, not for "something is happening".
86
+ The ink mark plus the pulsing dots now say the same thing in the
87
+ palette's own voice: the glyph is the agent, `animate-pulse` is the
88
+ life, and `motion-reduce` parks both. */}
89
+ <div className="relative w-4 h-4 rounded-[3px] bg-ink flex items-center justify-center text-canvas shrink-0">
90
+ <Bot size={10} className="text-canvas" />
104
91
  </div>
105
92
 
106
93
  {/* Provider & model name with dynamic verb + dots. When neither half is
@@ -38,7 +38,7 @@ export function GoalNotice({ data }: { data: GoalNoticeData }) {
38
38
  return (
39
39
  <div className="space-y-2.5">
40
40
  <div className="rounded-lg border border-ink/8 bg-paper p-3">
41
- <div className="mb-1 text-[9.5px] font-semibold uppercase tracking-wider text-ink/40">Objective</div>
41
+ <div className="mb-1 text-[10px] font-semibold uppercase tracking-wider text-ink/40">Objective</div>
42
42
  <MarkdownRenderer content={data.objective || '_No objective recorded._'} className="text-[12px] leading-relaxed" />
43
43
  </div>
44
44
 
@@ -52,7 +52,7 @@ export function GoalNotice({ data }: { data: GoalNoticeData }) {
52
52
 
53
53
  {data.instructions && (
54
54
  <div className="rounded-lg border border-ink/8 bg-canvas/40 p-3">
55
- <div className="mb-1.5 text-[9.5px] font-semibold uppercase tracking-wider text-ink/40">
55
+ <div className="mb-1.5 text-[10px] font-semibold uppercase tracking-wider text-ink/40">
56
56
  Instructions sent with it
57
57
  </div>
58
58
  <MarkdownRenderer content={data.instructions} className="text-[11.5px] leading-relaxed text-ink/75" />