@polderlabs/bizar 7.0.4 → 8.1.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 (627) hide show
  1. package/.claude/agents/agent-browser.md +1 -1
  2. package/.claude/agents/baldr.md +1 -1
  3. package/.claude/agents/forseti.md +1 -1
  4. package/.claude/agents/frigg.md +1 -1
  5. package/.claude/agents/heimdall.md +1 -1
  6. package/.claude/agents/hermod.md +1 -1
  7. package/.claude/agents/mimir.md +1 -1
  8. package/.claude/agents/odin.md +1 -1
  9. package/.claude/agents/quick.md +1 -1
  10. package/.claude/agents/semble-search.md +1 -1
  11. package/.claude/agents/thor.md +1 -1
  12. package/.claude/agents/tyr.md +1 -1
  13. package/.claude/agents/vidarr.md +1 -1
  14. package/.claude/agents/vor.md +1 -1
  15. package/.claude/commands/goal.md +98 -0
  16. package/.claude/settings.local.json +7 -0
  17. package/bizar-dash/DESIGN.md +729 -969
  18. package/bizar-dash/GLYPH.md +418 -0
  19. package/bizar-dash/PLAN.md +1135 -0
  20. package/bizar-dash/dist/assets/ActivityFeed-CqF6iSDQ.js +6 -0
  21. package/bizar-dash/dist/assets/ActivityFeed-CqF6iSDQ.js.map +1 -0
  22. package/bizar-dash/dist/assets/ActivityView-qdhDjRtL.js +1 -0
  23. package/bizar-dash/dist/assets/ActivityView-qdhDjRtL.js.map +1 -0
  24. package/bizar-dash/dist/assets/AgentsView-BwXkOayl.js +28 -0
  25. package/bizar-dash/dist/assets/AgentsView-BwXkOayl.js.map +1 -0
  26. package/bizar-dash/dist/assets/Badge-BH4C3aUF.js +1 -0
  27. package/bizar-dash/dist/assets/Badge-BH4C3aUF.js.map +1 -0
  28. package/bizar-dash/dist/assets/Button-RmN1RKhE.js +6 -0
  29. package/bizar-dash/dist/assets/Button-RmN1RKhE.js.map +1 -0
  30. package/bizar-dash/dist/assets/Card-BzJeYR2D.js +1 -0
  31. package/bizar-dash/dist/assets/Card-BzJeYR2D.js.map +1 -0
  32. package/bizar-dash/dist/assets/Chip-CN2bvm7a.js +1 -0
  33. package/bizar-dash/dist/assets/Chip-CN2bvm7a.js.map +1 -0
  34. package/bizar-dash/dist/assets/EmptyState-DEiBv4-r.js +1 -0
  35. package/bizar-dash/dist/assets/EmptyState-DEiBv4-r.js.map +1 -0
  36. package/bizar-dash/dist/assets/GoalsView-CvsrzEez.js +6 -0
  37. package/bizar-dash/dist/assets/GoalsView-CvsrzEez.js.map +1 -0
  38. package/bizar-dash/dist/assets/KanbanCard-DZEaAiEr.js +21 -0
  39. package/bizar-dash/dist/assets/KanbanCard-DZEaAiEr.js.map +1 -0
  40. package/bizar-dash/dist/assets/LibrariesView-CPgKGPpM.js +67 -0
  41. package/bizar-dash/dist/assets/LibrariesView-CPgKGPpM.js.map +1 -0
  42. package/bizar-dash/dist/assets/MemoryView-Bbez5pMN.js +13 -0
  43. package/bizar-dash/dist/assets/MemoryView-Bbez5pMN.js.map +1 -0
  44. package/bizar-dash/dist/assets/OverviewView-BDegBWgg.js +1 -0
  45. package/bizar-dash/dist/assets/OverviewView-BDegBWgg.js.map +1 -0
  46. package/bizar-dash/dist/assets/Select-xwxbK8Ed.js +16 -0
  47. package/bizar-dash/dist/assets/Select-xwxbK8Ed.js.map +1 -0
  48. package/bizar-dash/dist/assets/SettingsRow-CppSgkT_.js +10 -0
  49. package/bizar-dash/dist/assets/SettingsRow-CppSgkT_.js.map +1 -0
  50. package/bizar-dash/dist/assets/SettingsView-DUc2meHV.js +43 -0
  51. package/bizar-dash/dist/assets/SettingsView-DUc2meHV.js.map +1 -0
  52. package/bizar-dash/dist/assets/Sheet-C_sIEw35.js +1 -0
  53. package/bizar-dash/dist/assets/Sheet-C_sIEw35.js.map +1 -0
  54. package/bizar-dash/dist/assets/Sparkline-D664vGWW.js +1 -0
  55. package/bizar-dash/dist/assets/Sparkline-D664vGWW.js.map +1 -0
  56. package/bizar-dash/dist/assets/StatTile-BRsUIA6P.js +16 -0
  57. package/bizar-dash/dist/assets/StatTile-BRsUIA6P.js.map +1 -0
  58. package/bizar-dash/dist/assets/TasksView-DVyX5-DY.js +1 -0
  59. package/bizar-dash/dist/assets/TasksView-DVyX5-DY.js.map +1 -0
  60. package/bizar-dash/dist/assets/Textarea-Dk97nmjO.js +1 -0
  61. package/bizar-dash/dist/assets/Textarea-Dk97nmjO.js.map +1 -0
  62. package/bizar-dash/dist/assets/ViewHeader-dPd4zAyj.js +6 -0
  63. package/bizar-dash/dist/assets/ViewHeader-dPd4zAyj.js.map +1 -0
  64. package/bizar-dash/dist/assets/brain-BajPVibR.js +6 -0
  65. package/bizar-dash/dist/assets/brain-BajPVibR.js.map +1 -0
  66. package/bizar-dash/dist/assets/calendar-CaP_Bbgc.js +6 -0
  67. package/bizar-dash/dist/assets/calendar-CaP_Bbgc.js.map +1 -0
  68. package/bizar-dash/dist/assets/cmdk-BLWIhKrV.js +80 -0
  69. package/bizar-dash/dist/assets/cmdk-BLWIhKrV.js.map +1 -0
  70. package/bizar-dash/dist/assets/dnd-kit-DU8GZk7s.js +5 -0
  71. package/bizar-dash/dist/assets/dnd-kit-DU8GZk7s.js.map +1 -0
  72. package/bizar-dash/dist/assets/git-pull-request-CFRRwdxp.js +11 -0
  73. package/bizar-dash/dist/assets/git-pull-request-CFRRwdxp.js.map +1 -0
  74. package/bizar-dash/dist/assets/index-AL3OLUfz.js +1 -0
  75. package/bizar-dash/dist/assets/index-AL3OLUfz.js.map +1 -0
  76. package/bizar-dash/dist/assets/main-CcQfRfIJ.css +1 -0
  77. package/bizar-dash/dist/assets/main-LxX9zTRk.js +109 -0
  78. package/bizar-dash/dist/assets/main-LxX9zTRk.js.map +1 -0
  79. package/bizar-dash/dist/assets/plus-CVH1JB04.js +6 -0
  80. package/bizar-dash/dist/assets/plus-CVH1JB04.js.map +1 -0
  81. package/bizar-dash/dist/assets/terminal-B2sSd5t7.js +11 -0
  82. package/bizar-dash/dist/assets/terminal-B2sSd5t7.js.map +1 -0
  83. package/bizar-dash/dist/assets/trash-2-JtYRQ79q.js +6 -0
  84. package/bizar-dash/dist/assets/trash-2-JtYRQ79q.js.map +1 -0
  85. package/bizar-dash/dist/assets/triangle-alert-Nzbrm0I2.js +6 -0
  86. package/bizar-dash/dist/assets/triangle-alert-Nzbrm0I2.js.map +1 -0
  87. package/bizar-dash/dist/assets/useFetch-CoVWwbml.js +1 -0
  88. package/bizar-dash/dist/assets/useFetch-CoVWwbml.js.map +1 -0
  89. package/bizar-dash/dist/assets/useWebSocket-CVIQB8yG.js +1 -0
  90. package/bizar-dash/dist/assets/useWebSocket-CVIQB8yG.js.map +1 -0
  91. package/bizar-dash/dist/assets/wrench-B7go551L.js +6 -0
  92. package/bizar-dash/dist/assets/wrench-B7go551L.js.map +1 -0
  93. package/bizar-dash/dist/{mobile.html → v8.html} +6 -9
  94. package/bizar-dash/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
  95. package/bizar-dash/src/server/api.mjs +10 -0
  96. package/bizar-dash/src/server/bg-poller.mjs +81 -1
  97. package/bizar-dash/src/server/bg-poller.test.mjs +28 -0
  98. package/bizar-dash/src/server/progress-parser.mjs +221 -0
  99. package/bizar-dash/src/server/progress-parser.test.mjs +105 -0
  100. package/bizar-dash/src/server/routes/agents-cc.mjs +381 -0
  101. package/bizar-dash/src/server/routes/agents-cc.test.mjs +35 -0
  102. package/bizar-dash/src/server/routes/goals.mjs +307 -0
  103. package/bizar-dash/src/server/routes/tasks.mjs +11 -0
  104. package/bizar-dash/src/server/server.mjs +1 -57
  105. package/bizar-dash/src/web/v8/App.tsx +188 -0
  106. package/bizar-dash/src/web/v8/__tests__/App.test.tsx +102 -0
  107. package/bizar-dash/src/web/v8/__tests__/AppShell.test.tsx +79 -0
  108. package/bizar-dash/src/web/v8/__tests__/PageSkeleton.test.tsx +12 -0
  109. package/bizar-dash/src/web/v8/__tests__/SettingsView.test.tsx +84 -0
  110. package/bizar-dash/src/web/v8/__tests__/Sidebar.test.tsx +95 -0
  111. package/bizar-dash/src/web/v8/__tests__/activity.test.tsx +63 -0
  112. package/bizar-dash/src/web/v8/__tests__/agents.test.tsx +90 -0
  113. package/bizar-dash/src/web/v8/__tests__/control-plane.test.tsx +104 -0
  114. package/bizar-dash/src/web/v8/__tests__/controls.test.tsx +135 -0
  115. package/bizar-dash/src/web/v8/__tests__/cx.test.ts +25 -0
  116. package/bizar-dash/src/web/v8/__tests__/data.test.tsx +293 -0
  117. package/bizar-dash/src/web/v8/__tests__/feedback.test.tsx +213 -0
  118. package/bizar-dash/src/web/v8/__tests__/goals.test.tsx +105 -0
  119. package/bizar-dash/src/web/v8/__tests__/kanban.test.tsx +176 -0
  120. package/bizar-dash/src/web/v8/__tests__/libraries.test.tsx +70 -0
  121. package/bizar-dash/src/web/v8/__tests__/memory.test.tsx +60 -0
  122. package/bizar-dash/src/web/v8/__tests__/navigation.test.tsx +137 -0
  123. package/bizar-dash/src/web/v8/__tests__/settings.test.tsx +104 -0
  124. package/bizar-dash/src/web/v8/__tests__/theme.test.tsx +98 -0
  125. package/bizar-dash/src/web/v8/__tests__/useFetch.test.ts +92 -0
  126. package/bizar-dash/src/web/v8/__tests__/useWebSocket.test.ts +87 -0
  127. package/bizar-dash/src/web/v8/__tests__/views.test.tsx +182 -0
  128. package/bizar-dash/src/web/v8/data/fetcher.ts +59 -0
  129. package/bizar-dash/src/web/v8/data/types.ts +154 -0
  130. package/bizar-dash/src/web/v8/data/useFetch.ts +62 -0
  131. package/bizar-dash/src/web/v8/data/useWebSocket.ts +153 -0
  132. package/bizar-dash/src/web/v8/main.tsx +28 -0
  133. package/bizar-dash/src/web/v8/shell/AppShell.tsx +90 -0
  134. package/bizar-dash/src/web/v8/shell/PageSkeleton.tsx +29 -0
  135. package/bizar-dash/src/web/v8/shell/Sidebar.tsx +361 -0
  136. package/bizar-dash/src/web/v8/shell/StatusBar.tsx +63 -0
  137. package/bizar-dash/src/web/v8/shell/Topbar.tsx +113 -0
  138. package/bizar-dash/src/web/v8/shell/index.ts +15 -0
  139. package/bizar-dash/src/web/v8/ui/activity/ActivityFeed.tsx +137 -0
  140. package/bizar-dash/src/web/v8/ui/agents/AgentActivity.tsx +101 -0
  141. package/bizar-dash/src/web/v8/ui/agents/AgentCard.tsx +158 -0
  142. package/bizar-dash/src/web/v8/ui/agents/AgentDetail.tsx +252 -0
  143. package/bizar-dash/src/web/v8/ui/agents/AgentStreamPanel.tsx +371 -0
  144. package/bizar-dash/src/web/v8/ui/controls/Button.tsx +141 -0
  145. package/bizar-dash/src/web/v8/ui/controls/ButtonGroup.tsx +32 -0
  146. package/bizar-dash/src/web/v8/ui/controls/Checkbox.tsx +49 -0
  147. package/bizar-dash/src/web/v8/ui/controls/Field.tsx +78 -0
  148. package/bizar-dash/src/web/v8/ui/controls/Form.tsx +23 -0
  149. package/bizar-dash/src/web/v8/ui/controls/IconButton.tsx +112 -0
  150. package/bizar-dash/src/web/v8/ui/controls/Input.tsx +94 -0
  151. package/bizar-dash/src/web/v8/ui/controls/RadioGroup.tsx +74 -0
  152. package/bizar-dash/src/web/v8/ui/controls/Select.tsx +171 -0
  153. package/bizar-dash/src/web/v8/ui/controls/Slider.tsx +68 -0
  154. package/bizar-dash/src/web/v8/ui/controls/Switch.tsx +56 -0
  155. package/bizar-dash/src/web/v8/ui/controls/Textarea.tsx +64 -0
  156. package/bizar-dash/src/web/v8/ui/controls/Toggle.tsx +36 -0
  157. package/bizar-dash/src/web/v8/ui/controls/ToggleGroup.tsx +85 -0
  158. package/bizar-dash/src/web/v8/ui/data/Accordion.tsx +134 -0
  159. package/bizar-dash/src/web/v8/ui/data/Avatar.tsx +175 -0
  160. package/bizar-dash/src/web/v8/ui/data/Badge.tsx +93 -0
  161. package/bizar-dash/src/web/v8/ui/data/BarList.tsx +101 -0
  162. package/bizar-dash/src/web/v8/ui/data/Card.tsx +140 -0
  163. package/bizar-dash/src/web/v8/ui/data/Chip.tsx +96 -0
  164. package/bizar-dash/src/web/v8/ui/data/Kbd.tsx +42 -0
  165. package/bizar-dash/src/web/v8/ui/data/ProgressBar.tsx +93 -0
  166. package/bizar-dash/src/web/v8/ui/data/Sparkline.tsx +98 -0
  167. package/bizar-dash/src/web/v8/ui/data/StatTile.tsx +150 -0
  168. package/bizar-dash/src/web/v8/ui/data/Table.tsx +170 -0
  169. package/bizar-dash/src/web/v8/ui/data/Timeline.tsx +130 -0
  170. package/bizar-dash/src/web/v8/ui/data/ViewHeader.tsx +122 -0
  171. package/bizar-dash/src/web/v8/ui/feedback/Alert.tsx +95 -0
  172. package/bizar-dash/src/web/v8/ui/feedback/Banner.tsx +39 -0
  173. package/bizar-dash/src/web/v8/ui/feedback/ContextMenu.tsx +143 -0
  174. package/bizar-dash/src/web/v8/ui/feedback/Dialog.tsx +149 -0
  175. package/bizar-dash/src/web/v8/ui/feedback/Drawer.tsx +8 -0
  176. package/bizar-dash/src/web/v8/ui/feedback/DropdownMenu.tsx +231 -0
  177. package/bizar-dash/src/web/v8/ui/feedback/EmptyState.tsx +48 -0
  178. package/bizar-dash/src/web/v8/ui/feedback/Popover.tsx +56 -0
  179. package/bizar-dash/src/web/v8/ui/feedback/Sheet.tsx +103 -0
  180. package/bizar-dash/src/web/v8/ui/feedback/Skeleton.tsx +67 -0
  181. package/bizar-dash/src/web/v8/ui/feedback/Spinner.tsx +30 -0
  182. package/bizar-dash/src/web/v8/ui/feedback/Toast.tsx +66 -0
  183. package/bizar-dash/src/web/v8/ui/feedback/Tooltip.tsx +89 -0
  184. package/bizar-dash/src/web/v8/ui/goals/GoalCard.tsx +176 -0
  185. package/bizar-dash/src/web/v8/ui/goals/GoalDetail.tsx +245 -0
  186. package/bizar-dash/src/web/v8/ui/goals/KeyResult.tsx +115 -0
  187. package/bizar-dash/src/web/v8/ui/index.ts +322 -0
  188. package/bizar-dash/src/web/v8/ui/kanban/KanbanBoard.tsx +83 -0
  189. package/bizar-dash/src/web/v8/ui/kanban/KanbanCard.tsx +247 -0
  190. package/bizar-dash/src/web/v8/ui/kanban/KanbanColumn.tsx +186 -0
  191. package/bizar-dash/src/web/v8/ui/kanban/KanbanContextMenu.tsx +122 -0
  192. package/bizar-dash/src/web/v8/ui/kanban/KanbanQuickAdd.tsx +141 -0
  193. package/bizar-dash/src/web/v8/ui/libraries/LibraryGrid.tsx +30 -0
  194. package/bizar-dash/src/web/v8/ui/libraries/LibraryItem.tsx +161 -0
  195. package/bizar-dash/src/web/v8/ui/memory/MemoryVault.tsx +144 -0
  196. package/bizar-dash/src/web/v8/ui/navigation/CommandPalette.tsx +224 -0
  197. package/bizar-dash/src/web/v8/ui/navigation/NavLink.tsx +81 -0
  198. package/bizar-dash/src/web/v8/ui/navigation/Pagination.tsx +164 -0
  199. package/bizar-dash/src/web/v8/ui/navigation/Tabs.tsx +128 -0
  200. package/bizar-dash/src/web/v8/ui/navigation/useCommandPaletteHotkey.test.ts +79 -0
  201. package/bizar-dash/src/web/v8/ui/primitives/Box.tsx +144 -0
  202. package/bizar-dash/src/web/v8/ui/primitives/Center.tsx +40 -0
  203. package/bizar-dash/src/web/v8/ui/primitives/Cluster.tsx +67 -0
  204. package/bizar-dash/src/web/v8/ui/primitives/Grid.tsx +104 -0
  205. package/bizar-dash/src/web/v8/ui/primitives/Inline.tsx +77 -0
  206. package/bizar-dash/src/web/v8/ui/primitives/Portal.tsx +33 -0
  207. package/bizar-dash/src/web/v8/ui/primitives/ScrollArea.tsx +62 -0
  208. package/bizar-dash/src/web/v8/ui/primitives/Separator.tsx +42 -0
  209. package/bizar-dash/src/web/v8/ui/primitives/Stack.tsx +73 -0
  210. package/bizar-dash/src/web/v8/ui/primitives/VisuallyHidden.tsx +49 -0
  211. package/bizar-dash/src/web/v8/ui/settings/SettingsNav.tsx +91 -0
  212. package/bizar-dash/src/web/v8/ui/settings/SettingsRow.tsx +88 -0
  213. package/bizar-dash/src/web/v8/ui/settings/SettingsSection.tsx +109 -0
  214. package/bizar-dash/src/web/v8/ui/styles/globals.css +225 -0
  215. package/bizar-dash/src/web/v8/ui/styles/reset.css +57 -0
  216. package/bizar-dash/src/web/v8/ui/styles/tokens.css +217 -0
  217. package/bizar-dash/src/web/v8/ui/theme/DensityProvider.test.tsx +74 -0
  218. package/bizar-dash/src/web/v8/ui/theme/DensityProvider.tsx +66 -0
  219. package/bizar-dash/src/web/v8/ui/theme/ThemeProvider.test.tsx +86 -0
  220. package/bizar-dash/src/web/v8/ui/theme/ThemeProvider.tsx +94 -0
  221. package/bizar-dash/src/web/v8/ui/theme/ThemeToggle.tsx +88 -0
  222. package/bizar-dash/src/web/v8/ui/theme/useDensity.ts +15 -0
  223. package/bizar-dash/src/web/v8/ui/theme/useTheme.ts +16 -0
  224. package/bizar-dash/src/web/v8/ui/utils/cx.ts +19 -0
  225. package/bizar-dash/src/web/v8/views/Activity/ActivityView.tsx +71 -0
  226. package/bizar-dash/src/web/v8/views/Agents/AgentsView.tsx +172 -0
  227. package/bizar-dash/src/web/v8/views/CommandPalette/AppCommandPalette.test.tsx +142 -0
  228. package/bizar-dash/src/web/v8/views/CommandPalette/AppCommandPalette.tsx +247 -0
  229. package/bizar-dash/src/web/v8/views/Goals/GoalsView.tsx +193 -0
  230. package/bizar-dash/src/web/v8/views/Libraries/LibrariesView.tsx +108 -0
  231. package/bizar-dash/src/web/v8/views/Memory/MemoryView.tsx +77 -0
  232. package/bizar-dash/src/web/v8/views/Overview/OverviewView.tsx +152 -0
  233. package/bizar-dash/src/web/v8/views/Router.tsx +72 -0
  234. package/bizar-dash/src/web/v8/views/Settings/SettingsView.tsx +730 -0
  235. package/bizar-dash/src/web/v8/views/Tasks/CommandPalettePlaceholder.tsx +106 -0
  236. package/bizar-dash/src/web/v8/views/Tasks/TasksKanbanPlaceholder.tsx +62 -0
  237. package/bizar-dash/src/web/v8/views/Tasks/TasksView.tsx +165 -0
  238. package/bizar-dash/src/web/v8/vite-env.d.ts +15 -0
  239. package/bizar-dash/src/web/{mobile.html → v8.html} +4 -7
  240. package/bizar-dash/tests/components/Button.test.tsx +51 -14
  241. package/bizar-dash/tests/components/Card.test.tsx +37 -20
  242. package/bizar-dash/tests/components/Dialog.test.tsx +80 -0
  243. package/bizar-dash/tests/components/Toast.test.tsx +48 -95
  244. package/bizar-dash/tests/goals-decompose.test.mjs +177 -0
  245. package/bizar-dash/tests/setup.ts +47 -0
  246. package/bizar-dash/tests/ui/primitives/VisuallyHidden.test.tsx +30 -15
  247. package/bizar-dash/vite.config.ts +41 -2
  248. package/bizar-dash/vitest.config.ts +9 -4
  249. package/cli/bin.mjs +32 -0
  250. package/cli/install.mjs +26 -1
  251. package/cli/provision-claude.mjs +86 -0
  252. package/package.json +36 -3
  253. package/scripts/run-dev.mjs +84 -0
  254. package/bizar-dash/dist/assets/EnvVarsSection-BfhAz3ax.js +0 -114
  255. package/bizar-dash/dist/assets/EnvVarsSection-BfhAz3ax.js.map +0 -1
  256. package/bizar-dash/dist/assets/MobileChat-DLWdv6tQ.js +0 -1
  257. package/bizar-dash/dist/assets/MobileChat-DLWdv6tQ.js.map +0 -1
  258. package/bizar-dash/dist/assets/MobileSettings-Bxv62uPY.js +0 -1
  259. package/bizar-dash/dist/assets/MobileSettings-Bxv62uPY.js.map +0 -1
  260. package/bizar-dash/dist/assets/Toast-ATSAmbdi.js +0 -26
  261. package/bizar-dash/dist/assets/Toast-ATSAmbdi.js.map +0 -1
  262. package/bizar-dash/dist/assets/__vite-browser-external-BIHI7g3E.js +0 -1
  263. package/bizar-dash/dist/assets/__vite-browser-external-BIHI7g3E.js.map +0 -1
  264. package/bizar-dash/dist/assets/main-CJAtrosO.css +0 -1
  265. package/bizar-dash/dist/assets/main-DKKj9dsq.js +0 -430
  266. package/bizar-dash/dist/assets/main-DKKj9dsq.js.map +0 -1
  267. package/bizar-dash/dist/assets/mobile-C_naUN91.js +0 -1
  268. package/bizar-dash/dist/assets/mobile-C_naUN91.js.map +0 -1
  269. package/bizar-dash/dist/assets/mobile-layout-BWLtwtfQ.css +0 -1
  270. package/bizar-dash/dist/assets/mobile-layout-GZ3bE8L6.js +0 -211
  271. package/bizar-dash/dist/assets/mobile-layout-GZ3bE8L6.js.map +0 -1
  272. package/bizar-dash/dist/assets/useSlashCommands-BOwD7lNb.js +0 -65
  273. package/bizar-dash/dist/assets/useSlashCommands-BOwD7lNb.js.map +0 -1
  274. package/bizar-dash/dist/index.html +0 -43
  275. package/bizar-dash/src/web/App.tsx +0 -915
  276. package/bizar-dash/src/web/MobileApp.tsx +0 -414
  277. package/bizar-dash/src/web/components/ArtifactCreateDialog.tsx +0 -95
  278. package/bizar-dash/src/web/components/ArtifactListDialog.tsx +0 -55
  279. package/bizar-dash/src/web/components/ArtifactViewer.tsx +0 -144
  280. package/bizar-dash/src/web/components/AuditDialog.tsx +0 -79
  281. package/bizar-dash/src/web/components/AutosaveField.tsx +0 -50
  282. package/bizar-dash/src/web/components/BackupRestore.tsx +0 -330
  283. package/bizar-dash/src/web/components/BgStatusBadge.tsx +0 -32
  284. package/bizar-dash/src/web/components/Button.tsx +0 -56
  285. package/bizar-dash/src/web/components/CanvasContextMenu.tsx +0 -68
  286. package/bizar-dash/src/web/components/Card.tsx +0 -40
  287. package/bizar-dash/src/web/components/CollapsibleSection.tsx +0 -72
  288. package/bizar-dash/src/web/components/CommandDialog.tsx +0 -66
  289. package/bizar-dash/src/web/components/DoctorPanel.tsx +0 -160
  290. package/bizar-dash/src/web/components/EmptyState.tsx +0 -30
  291. package/bizar-dash/src/web/components/EnvVarManager.tsx +0 -430
  292. package/bizar-dash/src/web/components/EvalDiff.tsx +0 -157
  293. package/bizar-dash/src/web/components/EvalExportButton.tsx +0 -27
  294. package/bizar-dash/src/web/components/EvalRunCard.tsx +0 -78
  295. package/bizar-dash/src/web/components/FileBrowser.tsx +0 -633
  296. package/bizar-dash/src/web/components/HeadroomSettings.tsx +0 -418
  297. package/bizar-dash/src/web/components/HeadroomStatus.tsx +0 -158
  298. package/bizar-dash/src/web/components/HelpDialog.tsx +0 -55
  299. package/bizar-dash/src/web/components/InviteDialog.tsx +0 -205
  300. package/bizar-dash/src/web/components/KillConfirmDialog.tsx +0 -88
  301. package/bizar-dash/src/web/components/MobileBottomNav.tsx +0 -38
  302. package/bizar-dash/src/web/components/MobileDrawer.tsx +0 -68
  303. package/bizar-dash/src/web/components/MobileHeader.tsx +0 -50
  304. package/bizar-dash/src/web/components/MobileLayout.tsx +0 -63
  305. package/bizar-dash/src/web/components/Modal.tsx +0 -215
  306. package/bizar-dash/src/web/components/Notifications.tsx +0 -242
  307. package/bizar-dash/src/web/components/ScheduleTemplateCard.tsx +0 -72
  308. package/bizar-dash/src/web/components/ScreenshotCapture.tsx +0 -138
  309. package/bizar-dash/src/web/components/ScreenshotOCR.tsx +0 -42
  310. package/bizar-dash/src/web/components/SearchModal.tsx +0 -227
  311. package/bizar-dash/src/web/components/SettingsNav.tsx +0 -117
  312. package/bizar-dash/src/web/components/SettingsSearch.tsx +0 -328
  313. package/bizar-dash/src/web/components/Sidebar.tsx +0 -89
  314. package/bizar-dash/src/web/components/Spinner.tsx +0 -19
  315. package/bizar-dash/src/web/components/StatusBadge.tsx +0 -56
  316. package/bizar-dash/src/web/components/Tag.tsx +0 -41
  317. package/bizar-dash/src/web/components/TailscaleSettings.tsx +0 -161
  318. package/bizar-dash/src/web/components/TaskCard.tsx +0 -69
  319. package/bizar-dash/src/web/components/TaskCreateSheet.tsx +0 -76
  320. package/bizar-dash/src/web/components/Toast.tsx +0 -150
  321. package/bizar-dash/src/web/components/Toggle.tsx +0 -31
  322. package/bizar-dash/src/web/components/Topbar.tsx +0 -455
  323. package/bizar-dash/src/web/components/UsageChart.tsx +0 -250
  324. package/bizar-dash/src/web/components/UsageTable.tsx +0 -90
  325. package/bizar-dash/src/web/components/VirtualList.tsx +0 -53
  326. package/bizar-dash/src/web/components/VisualPlanDialog.tsx +0 -58
  327. package/bizar-dash/src/web/components/VoiceNotesPanel.tsx +0 -211
  328. package/bizar-dash/src/web/components/VoiceRecorder.tsx +0 -105
  329. package/bizar-dash/src/web/components/WorkspaceSelector.tsx +0 -158
  330. package/bizar-dash/src/web/components/agents/CommunicationLog.tsx +0 -126
  331. package/bizar-dash/src/web/components/agents/DependencyGraph.tsx +0 -163
  332. package/bizar-dash/src/web/components/agents/QualityGates.tsx +0 -123
  333. package/bizar-dash/src/web/components/agents/RealTimeEventLog.tsx +0 -127
  334. package/bizar-dash/src/web/components/agents/RoutingDecisions.test.tsx +0 -148
  335. package/bizar-dash/src/web/components/agents/RoutingDecisions.tsx +0 -160
  336. package/bizar-dash/src/web/components/background/AttachButton.tsx +0 -96
  337. package/bizar-dash/src/web/components/background/TmuxAttachCard.tsx +0 -122
  338. package/bizar-dash/src/web/components/chat/AgentChip.tsx +0 -68
  339. package/bizar-dash/src/web/components/chat/AgentNode.tsx +0 -127
  340. package/bizar-dash/src/web/components/chat/AgentTree.tsx +0 -80
  341. package/bizar-dash/src/web/components/chat/ChatBubble.tsx +0 -60
  342. package/bizar-dash/src/web/components/chat/ChatComposer.tsx +0 -72
  343. package/bizar-dash/src/web/components/chat/ChatInfoPanel.tsx +0 -370
  344. package/bizar-dash/src/web/components/chat/ChatRail.tsx +0 -387
  345. package/bizar-dash/src/web/components/chat/ChatThread.tsx +0 -127
  346. package/bizar-dash/src/web/components/chat/ChatTopBar.tsx +0 -50
  347. package/bizar-dash/src/web/components/chat/Composer.tsx +0 -166
  348. package/bizar-dash/src/web/components/chat/ConfirmModal.tsx +0 -54
  349. package/bizar-dash/src/web/components/chat/EmptyState.tsx +0 -21
  350. package/bizar-dash/src/web/components/chat/FirstRunGreeting.tsx +0 -18
  351. package/bizar-dash/src/web/components/chat/FloatingComposer.tsx +0 -38
  352. package/bizar-dash/src/web/components/chat/InfoPanel.tsx +0 -184
  353. package/bizar-dash/src/web/components/chat/JumpToLatest.tsx +0 -58
  354. package/bizar-dash/src/web/components/chat/LoadingSkeleton.tsx +0 -19
  355. package/bizar-dash/src/web/components/chat/MessageBlock.tsx +0 -260
  356. package/bizar-dash/src/web/components/chat/MessageBubble.tsx +0 -60
  357. package/bizar-dash/src/web/components/chat/SessionList.tsx +0 -163
  358. package/bizar-dash/src/web/components/chat/SessionRowMenu.tsx +0 -206
  359. package/bizar-dash/src/web/components/chat/StreamingIndicator.tsx +0 -37
  360. package/bizar-dash/src/web/components/chat/SuggestionCards.tsx +0 -55
  361. package/bizar-dash/src/web/components/chat/WelcomeScreen.tsx +0 -36
  362. package/bizar-dash/src/web/components/chat/_legacy.ts +0 -30
  363. package/bizar-dash/src/web/components/chat/index.ts +0 -31
  364. package/bizar-dash/src/web/components/chat/useAutoGrowTextarea.ts +0 -18
  365. package/bizar-dash/src/web/components/chat/useChat.ts +0 -1190
  366. package/bizar-dash/src/web/components/chat/useSlashCommands.ts +0 -47
  367. package/bizar-dash/src/web/components/goals/GoalInput.tsx +0 -86
  368. package/bizar-dash/src/web/components/goals/PlanVisualization.tsx +0 -111
  369. package/bizar-dash/src/web/components/tasks/BacklogPanel.css +0 -109
  370. package/bizar-dash/src/web/components/tasks/BacklogPanel.tsx +0 -209
  371. package/bizar-dash/src/web/hooks/useAutosave.ts +0 -107
  372. package/bizar-dash/src/web/hooks/useI18n.ts +0 -13
  373. package/bizar-dash/src/web/index.html +0 -37
  374. package/bizar-dash/src/web/lib/api.ts +0 -237
  375. package/bizar-dash/src/web/lib/goapPlanner.ts +0 -614
  376. package/bizar-dash/src/web/lib/i18n.ts +0 -25
  377. package/bizar-dash/src/web/lib/logger.ts +0 -30
  378. package/bizar-dash/src/web/lib/markdown.tsx +0 -59
  379. package/bizar-dash/src/web/lib/search.ts +0 -115
  380. package/bizar-dash/src/web/lib/types.ts +0 -894
  381. package/bizar-dash/src/web/lib/utils.ts +0 -114
  382. package/bizar-dash/src/web/lib/ws.ts +0 -177
  383. package/bizar-dash/src/web/locales/en.json +0 -52
  384. package/bizar-dash/src/web/main.tsx +0 -43
  385. package/bizar-dash/src/web/mobile/MobileApp.tsx +0 -309
  386. package/bizar-dash/src/web/mobile/MobileBottomNav.tsx +0 -38
  387. package/bizar-dash/src/web/mobile/MobileChat.tsx +0 -138
  388. package/bizar-dash/src/web/mobile/MobileDoctor.tsx +0 -80
  389. package/bizar-dash/src/web/mobile/MobileEval.tsx +0 -167
  390. package/bizar-dash/src/web/mobile/MobileMemory.tsx +0 -108
  391. package/bizar-dash/src/web/mobile/MobileOverview.tsx +0 -213
  392. package/bizar-dash/src/web/mobile/MobileSettings.tsx +0 -251
  393. package/bizar-dash/src/web/mobile/MobileTasks.tsx +0 -94
  394. package/bizar-dash/src/web/mobile/MobileTopbar.tsx +0 -115
  395. package/bizar-dash/src/web/mobile/components/MobileBottomSheet.tsx +0 -182
  396. package/bizar-dash/src/web/mobile/components/MobileListItem.tsx +0 -64
  397. package/bizar-dash/src/web/mobile/components/MobileModal.tsx +0 -123
  398. package/bizar-dash/src/web/mobile/views/MobileActivity.tsx +0 -273
  399. package/bizar-dash/src/web/mobile/views/MobileAgents.tsx +0 -374
  400. package/bizar-dash/src/web/mobile/views/MobileArtifactCanvas.tsx +0 -439
  401. package/bizar-dash/src/web/mobile/views/MobileArtifacts.tsx +0 -143
  402. package/bizar-dash/src/web/mobile/views/MobileChat.tsx +0 -257
  403. package/bizar-dash/src/web/mobile/views/MobileConfig.tsx +0 -175
  404. package/bizar-dash/src/web/mobile/views/MobileHistory.tsx +0 -191
  405. package/bizar-dash/src/web/mobile/views/MobileMods.tsx +0 -149
  406. package/bizar-dash/src/web/mobile/views/MobileMore.tsx +0 -121
  407. package/bizar-dash/src/web/mobile/views/MobileNotifications.tsx +0 -137
  408. package/bizar-dash/src/web/mobile/views/MobilePlans.tsx +0 -26
  409. package/bizar-dash/src/web/mobile/views/MobileSchedules.tsx +0 -685
  410. package/bizar-dash/src/web/mobile/views/MobileSearchModal.tsx +0 -172
  411. package/bizar-dash/src/web/mobile/views/MobileSettings.tsx +0 -363
  412. package/bizar-dash/src/web/mobile/views/MobileSkills.tsx +0 -153
  413. package/bizar-dash/src/web/mobile/views/MobileTasks.tsx +0 -564
  414. package/bizar-dash/src/web/mobile/views/QrCodePanel.tsx +0 -69
  415. package/bizar-dash/src/web/mobile.tsx +0 -14
  416. package/bizar-dash/src/web/styles/agents-redesign.css +0 -311
  417. package/bizar-dash/src/web/styles/chat.css +0 -1740
  418. package/bizar-dash/src/web/styles/glyphs.css +0 -960
  419. package/bizar-dash/src/web/styles/main.css +0 -10389
  420. package/bizar-dash/src/web/styles/memory.css +0 -1177
  421. package/bizar-dash/src/web/styles/minimax-usage.css +0 -842
  422. package/bizar-dash/src/web/styles/mobile-chat.css +0 -5
  423. package/bizar-dash/src/web/styles/mobile-layout.css +0 -233
  424. package/bizar-dash/src/web/styles/mobile.css +0 -2181
  425. package/bizar-dash/src/web/styles/settings.css +0 -775
  426. package/bizar-dash/src/web/styles/skills.css +0 -302
  427. package/bizar-dash/src/web/styles/tasks-redesign.css +0 -253
  428. package/bizar-dash/src/web/styles/tasks.css +0 -605
  429. package/bizar-dash/src/web/ui/controls/Button.tsx +0 -77
  430. package/bizar-dash/src/web/ui/controls/Checkbox.tsx +0 -95
  431. package/bizar-dash/src/web/ui/controls/IconButton.tsx +0 -66
  432. package/bizar-dash/src/web/ui/controls/Kbd.tsx +0 -24
  433. package/bizar-dash/src/web/ui/controls/NumberInput.tsx +0 -77
  434. package/bizar-dash/src/web/ui/controls/RadioGroup.tsx +0 -109
  435. package/bizar-dash/src/web/ui/controls/SearchInput.tsx +0 -91
  436. package/bizar-dash/src/web/ui/controls/Select.tsx +0 -92
  437. package/bizar-dash/src/web/ui/controls/Slider.tsx +0 -70
  438. package/bizar-dash/src/web/ui/controls/TextInput.tsx +0 -67
  439. package/bizar-dash/src/web/ui/controls/Textarea.tsx +0 -56
  440. package/bizar-dash/src/web/ui/controls/Toggle.tsx +0 -79
  441. package/bizar-dash/src/web/ui/controls/controls.css +0 -476
  442. package/bizar-dash/src/web/ui/controls/index.ts +0 -35
  443. package/bizar-dash/src/web/ui/data/BarChart.tsx +0 -60
  444. package/bizar-dash/src/web/ui/data/DataTable.tsx +0 -216
  445. package/bizar-dash/src/web/ui/data/EmptyState.tsx +0 -60
  446. package/bizar-dash/src/web/ui/data/ErrorState.tsx +0 -56
  447. package/bizar-dash/src/web/ui/data/KeyValueList.tsx +0 -106
  448. package/bizar-dash/src/web/ui/data/LoadingState.tsx +0 -65
  449. package/bizar-dash/src/web/ui/data/Sparkline.tsx +0 -87
  450. package/bizar-dash/src/web/ui/data/StatTile.tsx +0 -87
  451. package/bizar-dash/src/web/ui/data/data.css +0 -540
  452. package/bizar-dash/src/web/ui/data/index.ts +0 -31
  453. package/bizar-dash/src/web/ui/feedback/Badge.tsx +0 -49
  454. package/bizar-dash/src/web/ui/feedback/Dialog.tsx +0 -209
  455. package/bizar-dash/src/web/ui/feedback/ProgressBar.tsx +0 -69
  456. package/bizar-dash/src/web/ui/feedback/StatusDot.tsx +0 -50
  457. package/bizar-dash/src/web/ui/feedback/Toast.tsx +0 -200
  458. package/bizar-dash/src/web/ui/feedback/Tooltip.tsx +0 -126
  459. package/bizar-dash/src/web/ui/feedback/feedback.css +0 -314
  460. package/bizar-dash/src/web/ui/feedback/index.ts +0 -43
  461. package/bizar-dash/src/web/ui/index.ts +0 -57
  462. package/bizar-dash/src/web/ui/layout/AppShell.tsx +0 -51
  463. package/bizar-dash/src/web/ui/layout/Breadcrumbs.tsx +0 -97
  464. package/bizar-dash/src/web/ui/layout/Panel.tsx +0 -73
  465. package/bizar-dash/src/web/ui/layout/PanelHeader.tsx +0 -39
  466. package/bizar-dash/src/web/ui/layout/Sidebar.tsx +0 -131
  467. package/bizar-dash/src/web/ui/layout/Tabs.tsx +0 -133
  468. package/bizar-dash/src/web/ui/layout/Topbar.tsx +0 -42
  469. package/bizar-dash/src/web/ui/layout/ViewHeader.tsx +0 -48
  470. package/bizar-dash/src/web/ui/layout/index.ts +0 -34
  471. package/bizar-dash/src/web/ui/layout/layout.css +0 -464
  472. package/bizar-dash/src/web/ui/navigation/CommandPalette.tsx +0 -199
  473. package/bizar-dash/src/web/ui/navigation/NavGroup.tsx +0 -95
  474. package/bizar-dash/src/web/ui/navigation/NavLink.tsx +0 -93
  475. package/bizar-dash/src/web/ui/navigation/index.ts +0 -17
  476. package/bizar-dash/src/web/ui/navigation/navigation.css +0 -343
  477. package/bizar-dash/src/web/ui/primitives/Box.tsx +0 -91
  478. package/bizar-dash/src/web/ui/primitives/Grid.tsx +0 -49
  479. package/bizar-dash/src/web/ui/primitives/Inline.tsx +0 -55
  480. package/bizar-dash/src/web/ui/primitives/Separator.tsx +0 -46
  481. package/bizar-dash/src/web/ui/primitives/Stack.tsx +0 -54
  482. package/bizar-dash/src/web/ui/primitives/VisuallyHidden.tsx +0 -26
  483. package/bizar-dash/src/web/ui/primitives/index.ts +0 -23
  484. package/bizar-dash/src/web/ui/primitives/primitives.css +0 -183
  485. package/bizar-dash/src/web/ui/styles/globals.css +0 -86
  486. package/bizar-dash/src/web/ui/styles/reset.css +0 -125
  487. package/bizar-dash/src/web/ui/styles/tokens.css +0 -208
  488. package/bizar-dash/src/web/ui/theme/ThemeProvider.tsx +0 -142
  489. package/bizar-dash/src/web/ui/theme/tokens.ts +0 -131
  490. package/bizar-dash/src/web/ui/theme/useTheme.ts +0 -22
  491. package/bizar-dash/src/web/ui/utils/cx.ts +0 -42
  492. package/bizar-dash/src/web/views/Activity.tsx +0 -1221
  493. package/bizar-dash/src/web/views/Agents.tsx +0 -964
  494. package/bizar-dash/src/web/views/Artifacts.tsx +0 -1494
  495. package/bizar-dash/src/web/views/BackgroundAgents.tsx +0 -822
  496. package/bizar-dash/src/web/views/Chat.tsx +0 -532
  497. package/bizar-dash/src/web/views/Config.tsx +0 -3
  498. package/bizar-dash/src/web/views/Doctor.tsx +0 -317
  499. package/bizar-dash/src/web/views/Eval.tsx +0 -372
  500. package/bizar-dash/src/web/views/EvalReport.tsx +0 -353
  501. package/bizar-dash/src/web/views/GoalPlanner.tsx +0 -158
  502. package/bizar-dash/src/web/views/Harness.tsx +0 -306
  503. package/bizar-dash/src/web/views/History.tsx +0 -353
  504. package/bizar-dash/src/web/views/Memory.tsx +0 -193
  505. package/bizar-dash/src/web/views/MiniMaxUsage.tsx +0 -942
  506. package/bizar-dash/src/web/views/ModView.tsx +0 -207
  507. package/bizar-dash/src/web/views/Mods.tsx +0 -706
  508. package/bizar-dash/src/web/views/Overview.tsx +0 -1343
  509. package/bizar-dash/src/web/views/Providers.tsx +0 -302
  510. package/bizar-dash/src/web/views/Schedules.tsx +0 -902
  511. package/bizar-dash/src/web/views/Settings.tsx +0 -308
  512. package/bizar-dash/src/web/views/Skills.tsx +0 -383
  513. package/bizar-dash/src/web/views/SpawnAgentModal.tsx +0 -221
  514. package/bizar-dash/src/web/views/Tasks.tsx +0 -789
  515. package/bizar-dash/src/web/views/Workspace.tsx +0 -294
  516. package/bizar-dash/src/web/views/glyphs/GlyphRenderer.tsx +0 -844
  517. package/bizar-dash/src/web/views/glyphs/components.tsx +0 -1098
  518. package/bizar-dash/src/web/views/memory/ConfigPanel.tsx +0 -426
  519. package/bizar-dash/src/web/views/memory/FromScreenshotPanel.tsx +0 -23
  520. package/bizar-dash/src/web/views/memory/GitSyncPanel.tsx +0 -220
  521. package/bizar-dash/src/web/views/memory/LightragPanel.tsx +0 -310
  522. package/bizar-dash/src/web/views/memory/MemoryGraphLegend.tsx +0 -29
  523. package/bizar-dash/src/web/views/memory/MemoryGraphPanel.tsx +0 -192
  524. package/bizar-dash/src/web/views/memory/MemoryGraphView.tsx +0 -336
  525. package/bizar-dash/src/web/views/memory/MemoryOverview.tsx +0 -367
  526. package/bizar-dash/src/web/views/memory/MemoryStatusCard.tsx +0 -160
  527. package/bizar-dash/src/web/views/memory/ObsidianPanel.tsx +0 -650
  528. package/bizar-dash/src/web/views/memory/SemanticSearchPanel.tsx +0 -197
  529. package/bizar-dash/src/web/views/memory/VaultFromClipboardPanel.tsx +0 -101
  530. package/bizar-dash/src/web/views/settings/ActivitySection.tsx +0 -205
  531. package/bizar-dash/src/web/views/settings/AgentSection.tsx +0 -305
  532. package/bizar-dash/src/web/views/settings/AuthSection.tsx +0 -159
  533. package/bizar-dash/src/web/views/settings/EnvVarsSection.tsx +0 -15
  534. package/bizar-dash/src/web/views/settings/GeneralSection.tsx +0 -128
  535. package/bizar-dash/src/web/views/settings/HeadroomSection.tsx +0 -39
  536. package/bizar-dash/src/web/views/settings/MemorySection.tsx +0 -154
  537. package/bizar-dash/src/web/views/settings/NetworkSection.tsx +0 -87
  538. package/bizar-dash/src/web/views/settings/NotificationsSection.tsx +0 -34
  539. package/bizar-dash/src/web/views/settings/SystemLlmSection.tsx +0 -81
  540. package/bizar-dash/src/web/views/settings/ThemeSection.tsx +0 -168
  541. package/bizar-dash/src/web/views/settings/UpdatesSection.tsx +0 -256
  542. package/bizar-dash/src/web/views/settings/WorkspacesSection.tsx +0 -189
  543. package/packages/sdk/.harness/agents.json +0 -17
  544. package/packages/sdk/.harness/topology.json +0 -4
  545. /package/bizar-dash/tests/{BackgroundAgents.test.tsx → v7-archive/BackgroundAgents.test.tsx} +0 -0
  546. /package/bizar-dash/tests/{a11y → v7-archive/a11y}/forms.test.tsx +0 -0
  547. /package/bizar-dash/tests/{a11y.test.tsx → v7-archive/a11y.test.tsx} +0 -0
  548. /package/bizar-dash/tests/{autosave.test.tsx → v7-archive/autosave.test.tsx} +0 -0
  549. /package/bizar-dash/tests/{backup-restore.test.tsx → v7-archive/backup-restore.test.tsx} +0 -0
  550. /package/bizar-dash/tests/{chat-composer.test.tsx → v7-archive/chat-composer.test.tsx} +0 -0
  551. /package/bizar-dash/tests/{communication-log.test.tsx → v7-archive/communication-log.test.tsx} +0 -0
  552. /package/bizar-dash/tests/{components → v7-archive/components}/Modal.test.tsx +0 -0
  553. /package/bizar-dash/tests/{components → v7-archive/components}/Spinner.test.tsx +0 -0
  554. /package/bizar-dash/tests/{components → v7-archive/components}/StatusBadge.test.tsx +0 -0
  555. /package/bizar-dash/tests/{components → v7-archive/components}/doctor-panel.test.tsx +0 -0
  556. /package/bizar-dash/tests/{components → v7-archive/components}/screenshot-ocr.test.tsx +0 -0
  557. /package/bizar-dash/tests/{components → v7-archive/components}/settings-search.test.tsx +0 -0
  558. /package/bizar-dash/tests/{components → v7-archive/components}/workspace-selector.test.tsx +0 -0
  559. /package/bizar-dash/tests/{ui → v7-archive}/controls/Button.test.tsx +0 -0
  560. /package/bizar-dash/tests/{ui → v7-archive}/controls/Checkbox.test.tsx +0 -0
  561. /package/bizar-dash/tests/{ui → v7-archive}/controls/IconButton.test.tsx +0 -0
  562. /package/bizar-dash/tests/{ui → v7-archive}/controls/Kbd.test.tsx +0 -0
  563. /package/bizar-dash/tests/{ui → v7-archive}/controls/NumberInput.test.tsx +0 -0
  564. /package/bizar-dash/tests/{ui → v7-archive}/controls/RadioGroup.test.tsx +0 -0
  565. /package/bizar-dash/tests/{ui → v7-archive}/controls/SearchInput.test.tsx +0 -0
  566. /package/bizar-dash/tests/{ui → v7-archive}/controls/Select.test.tsx +0 -0
  567. /package/bizar-dash/tests/{ui → v7-archive}/controls/Slider.test.tsx +0 -0
  568. /package/bizar-dash/tests/{ui → v7-archive}/controls/TextInput.test.tsx +0 -0
  569. /package/bizar-dash/tests/{ui → v7-archive}/controls/Textarea.test.tsx +0 -0
  570. /package/bizar-dash/tests/{ui → v7-archive}/controls/Toggle.test.tsx +0 -0
  571. /package/bizar-dash/tests/{ui → v7-archive}/data/BarChart.test.tsx +0 -0
  572. /package/bizar-dash/tests/{ui → v7-archive}/data/DataTable.test.tsx +0 -0
  573. /package/bizar-dash/tests/{ui → v7-archive}/data/EmptyState.test.tsx +0 -0
  574. /package/bizar-dash/tests/{ui → v7-archive}/data/ErrorState.test.tsx +0 -0
  575. /package/bizar-dash/tests/{ui → v7-archive}/data/KeyValueList.test.tsx +0 -0
  576. /package/bizar-dash/tests/{ui → v7-archive}/data/LoadingState.test.tsx +0 -0
  577. /package/bizar-dash/tests/{ui → v7-archive}/data/Sparkline.test.tsx +0 -0
  578. /package/bizar-dash/tests/{ui → v7-archive}/data/StatTile.test.tsx +0 -0
  579. /package/bizar-dash/tests/{dep-graph.test.tsx → v7-archive/dep-graph.test.tsx} +0 -0
  580. /package/bizar-dash/tests/{eval-web-ui.test.tsx → v7-archive/eval-web-ui.test.tsx} +0 -0
  581. /package/bizar-dash/tests/{event-log.test.tsx → v7-archive/event-log.test.tsx} +0 -0
  582. /package/bizar-dash/tests/{ui → v7-archive}/feedback/Badge.test.tsx +0 -0
  583. /package/bizar-dash/tests/{ui → v7-archive}/feedback/Dialog.test.tsx +0 -0
  584. /package/bizar-dash/tests/{ui → v7-archive}/feedback/ProgressBar.test.tsx +0 -0
  585. /package/bizar-dash/tests/{ui → v7-archive}/feedback/StatusDot.test.tsx +0 -0
  586. /package/bizar-dash/tests/{ui → v7-archive}/feedback/Toast.test.tsx +0 -0
  587. /package/bizar-dash/tests/{ui → v7-archive}/feedback/Tooltip.test.tsx +0 -0
  588. /package/bizar-dash/tests/{goal-input.test.tsx → v7-archive/goal-input.test.tsx} +0 -0
  589. /package/bizar-dash/tests/{goap-planner.test.ts → v7-archive/goap-planner.test.ts} +0 -0
  590. /package/bizar-dash/tests/{hooks → v7-archive/hooks}/useModal.test.tsx +0 -0
  591. /package/bizar-dash/tests/{hooks → v7-archive/hooks}/useToast.test.tsx +0 -0
  592. /package/bizar-dash/tests/{ui → v7-archive}/layout/AppShell.test.tsx +0 -0
  593. /package/bizar-dash/tests/{ui → v7-archive}/layout/Breadcrumbs.test.tsx +0 -0
  594. /package/bizar-dash/tests/{ui → v7-archive}/layout/Panel.test.tsx +0 -0
  595. /package/bizar-dash/tests/{ui → v7-archive}/layout/PanelHeader.test.tsx +0 -0
  596. /package/bizar-dash/tests/{ui → v7-archive}/layout/Sidebar.test.tsx +0 -0
  597. /package/bizar-dash/tests/{ui → v7-archive}/layout/Tabs.test.tsx +0 -0
  598. /package/bizar-dash/tests/{ui → v7-archive}/layout/Topbar.test.tsx +0 -0
  599. /package/bizar-dash/tests/{ui → v7-archive}/layout/ViewHeader.test.tsx +0 -0
  600. /package/bizar-dash/tests/{lib → v7-archive/lib}/i18n.test.ts +0 -0
  601. /package/bizar-dash/tests/{lib → v7-archive/lib}/search-fuzzy.test.ts +0 -0
  602. /package/bizar-dash/tests/{lib → v7-archive/lib}/utils.test.ts +0 -0
  603. /package/bizar-dash/tests/{memory-graph-view.test.tsx → v7-archive/memory-graph-view.test.tsx} +0 -0
  604. /package/bizar-dash/tests/{mobile-chat.test.tsx → v7-archive/mobile-chat.test.tsx} +0 -0
  605. /package/bizar-dash/tests/{mobile-layout.test.tsx → v7-archive/mobile-layout.test.tsx} +0 -0
  606. /package/bizar-dash/tests/{mobile-overview.test.tsx → v7-archive/mobile-overview.test.tsx} +0 -0
  607. /package/bizar-dash/tests/{mobile-settings.test.tsx → v7-archive/mobile-settings.test.tsx} +0 -0
  608. /package/bizar-dash/tests/{mobile-tasks.test.tsx → v7-archive/mobile-tasks.test.tsx} +0 -0
  609. /package/bizar-dash/tests/{ui → v7-archive}/navigation/CommandPalette.test.tsx +0 -0
  610. /package/bizar-dash/tests/{ui → v7-archive}/navigation/NavGroup.test.tsx +0 -0
  611. /package/bizar-dash/tests/{ui → v7-archive}/navigation/NavLink.test.tsx +0 -0
  612. /package/bizar-dash/tests/{quality-gates.test.tsx → v7-archive/quality-gates.test.tsx} +0 -0
  613. /package/bizar-dash/tests/{settings-layout.test.tsx → v7-archive/settings-layout.test.tsx} +0 -0
  614. /package/bizar-dash/tests/{settings-mode-wiring.test.tsx → v7-archive/settings-mode-wiring.test.tsx} +0 -0
  615. /package/bizar-dash/tests/{settings-nav.test.tsx → v7-archive/settings-nav.test.tsx} +0 -0
  616. /package/bizar-dash/tests/{ui → v7-archive/ui}/primitives/Box.test.tsx +0 -0
  617. /package/bizar-dash/tests/{ui → v7-archive/ui}/primitives/Grid.test.tsx +0 -0
  618. /package/bizar-dash/tests/{ui → v7-archive/ui}/primitives/Inline.test.tsx +0 -0
  619. /package/bizar-dash/tests/{ui → v7-archive/ui}/primitives/Separator.test.tsx +0 -0
  620. /package/bizar-dash/tests/{ui → v7-archive/ui}/primitives/Stack.test.tsx +0 -0
  621. /package/bizar-dash/tests/{views → v7-archive/views}/Agents.test.tsx +0 -0
  622. /package/bizar-dash/tests/{views → v7-archive/views}/Memory.test.tsx +0 -0
  623. /package/bizar-dash/tests/{views → v7-archive/views}/Overview.test.tsx +0 -0
  624. /package/bizar-dash/tests/{views → v7-archive/views}/Tasks.test.tsx +0 -0
  625. /package/bizar-dash/tests/{views → v7-archive/views}/sidebar.test.tsx +0 -0
  626. /package/bizar-dash/tests/{views → v7-archive/views}/topbar.test.tsx +0 -0
  627. /package/bizar-dash/tests/{voice-recorder.test.tsx → v7-archive/voice-recorder.test.tsx} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-AL3OLUfz.js","sources":["../../src/web/v8/ui/controls/Input.tsx","../../../node_modules/@radix-ui/number/dist/index.mjs","../../../node_modules/@radix-ui/react-collection/dist/index.mjs","../../../node_modules/@radix-ui/react-direction/dist/index.mjs","../../../node_modules/@radix-ui/react-use-size/dist/index.mjs","../../../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["import { forwardRef, type InputHTMLAttributes, type ReactNode } from 'react';\nimport { cx } from '../utils/cx.js';\n\n/**\n * Input — single-line text input.\n *\n * Variants:\n * - default: bordered, surface-1 background\n * - filled: surface-2 background, no visible border until focus\n * - flushed: no border except a bottom rule (used inside cards/forms)\n *\n * Pair with <Field> for label + hint + error.\n */\nexport type InputSize = 'sm' | 'md' | 'lg';\nexport type InputVariant = 'default' | 'filled' | 'flushed';\n\nexport interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {\n size?: InputSize;\n variant?: InputVariant;\n invalid?: boolean;\n leftAddon?: ReactNode;\n rightAddon?: ReactNode;\n}\n\nconst SIZE: Record<InputSize, { h: number; fs: string; px: number }> = {\n sm: { h: 28, fs: 'var(--fs-12)', px: 10 },\n md: { h: 32, fs: 'var(--fs-13)', px: 12 },\n lg: { h: 40, fs: 'var(--fs-14)', px: 14 },\n};\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(function Input(props, ref) {\n const {\n size = 'md',\n variant = 'default',\n invalid,\n leftAddon,\n rightAddon,\n disabled,\n className,\n style,\n ...rest\n } = props;\n const sz = SIZE[size];\n\n const wrapperStyle = {\n display: 'inline-flex',\n alignItems: 'center',\n gap: 'var(--space-2)',\n width: '100%',\n height: sz.h,\n paddingLeft: variant === 'flushed' ? 0 : sz.px,\n paddingRight: variant === 'flushed' ? 0 : sz.px,\n background:\n variant === 'filled'\n ? 'var(--surface-2)'\n : variant === 'flushed'\n ? 'transparent'\n : 'var(--input-bg)',\n border: variant === 'flushed' ? 'none' : '1px solid',\n borderBottom: variant === 'flushed' ? '1px solid var(--border)' : undefined,\n borderColor: invalid === true ? 'var(--danger)' : 'var(--border)',\n borderRadius: variant === 'flushed' ? 0 : 'var(--radius-sm)',\n opacity: disabled === true ? 0.55 : 1,\n transition: 'border-color var(--motion-fast) var(--ease-out)',\n ...style,\n } as const;\n\n return (\n <div className={cx('v8-input-wrap', className)} style={wrapperStyle}>\n {leftAddon !== undefined && (\n <span style={{ color: 'var(--fg-muted)', display: 'inline-flex' }}>{leftAddon}</span>\n )}\n <input\n ref={ref}\n disabled={disabled}\n aria-invalid={invalid === true ? 'true' : undefined}\n className=\"v8-input\"\n style={{\n flex: 1,\n minWidth: 0,\n background: 'transparent',\n border: 0,\n outline: 0,\n fontSize: sz.fs,\n color: 'var(--fg)',\n }}\n {...rest}\n />\n {rightAddon !== undefined && (\n <span style={{ color: 'var(--fg-muted)', display: 'inline-flex' }}>{rightAddon}</span>\n )}\n </div>\n );\n});","// src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/collection-legacy.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport * as React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n","// src/use-size.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n","// src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["SIZE","Input","forwardRef","props","ref","size","variant","invalid","leftAddon","rightAddon","disabled","className","style","rest","sz","wrapperStyle","jsxs","cx","jsx","clamp","value","min","max","createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","scope","children","React.useRef","itemMap","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","React.forwardRef","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","React.useEffect","useCollection","React.useCallback","collectionNode","orderedNodes","a","b","DirectionContext","React.createContext","useDirection","localDir","globalDir","React.useContext","useSize","element","setSize","React.useState","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize","usePrevious","React.useMemo"],"mappings":"4GAwBA,MAAMA,EAAiE,CACrE,GAAI,CAAE,EAAG,GAAI,GAAI,eAAgB,GAAI,EAAA,EACrC,GAAI,CAAE,EAAG,GAAI,GAAI,eAAgB,GAAI,EAAA,EACrC,GAAI,CAAE,EAAG,GAAI,GAAI,eAAgB,GAAI,EAAA,CACvC,EAEaC,EAAQC,EAAAA,WAAyC,SAAeC,EAAOC,EAAK,CACvF,KAAM,CACJ,KAAAC,EAAO,KACP,QAAAC,EAAU,UACV,QAAAC,EACA,UAAAC,EACA,WAAAC,EACA,SAAAC,EACA,UAAAC,EACA,MAAAC,EACA,GAAGC,CAAA,EACDV,EACEW,EAAKd,EAAKK,CAAI,EAEdU,EAAe,CACnB,QAAS,cACT,WAAY,SACZ,IAAK,iBACL,MAAO,OACP,OAAQD,EAAG,EACX,YAAaR,IAAY,UAAY,EAAIQ,EAAG,GAC5C,aAAcR,IAAY,UAAY,EAAIQ,EAAG,GAC7C,WACER,IAAY,SACR,mBACAA,IAAY,UACV,cACA,kBACR,OAAQA,IAAY,UAAY,OAAS,YACzC,aAAcA,IAAY,UAAY,0BAA4B,OAClE,YAAaC,IAAY,GAAO,gBAAkB,gBAClD,aAAcD,IAAY,UAAY,EAAI,mBAC1C,QAASI,IAAa,GAAO,IAAO,EACpC,WAAY,kDACZ,GAAGE,CAAA,EAGL,OACEI,OAAC,OAAI,UAAWC,EAAG,gBAAiBN,CAAS,EAAG,MAAOI,EACpD,SAAA,CAAAP,IAAc,QACbU,EAAAA,IAAC,OAAA,CAAK,MAAO,CAAE,MAAO,kBAAmB,QAAS,aAAA,EAAkB,SAAAV,CAAA,CAAU,EAEhFU,EAAAA,IAAC,QAAA,CACC,IAAAd,EACA,SAAAM,EACA,eAAcH,IAAY,GAAO,OAAS,OAC1C,UAAU,WACV,MAAO,CACL,KAAM,EACN,SAAU,EACV,WAAY,cACZ,OAAQ,EACR,QAAS,EACT,SAAUO,EAAG,GACb,MAAO,WAAA,EAER,GAAGD,CAAA,CAAA,EAELJ,IAAe,QACdS,EAAAA,IAAC,OAAA,CAAK,MAAO,CAAE,MAAO,kBAAmB,QAAS,eAAkB,SAAAT,CAAA,CAAW,CAAA,EAEnF,CAEJ,CAAC,EC5FD,SAASU,EAAMC,EAAO,CAACC,EAAKC,CAAG,EAAG,CAChC,OAAO,KAAK,IAAIA,EAAK,KAAK,IAAID,EAAKD,CAAK,CAAC,CAC3C,CCKA,SAASG,EAAiBC,EAAM,CAC9B,MAAMC,EAAgBD,EAAO,qBACvB,CAACE,EAAyBC,CAAqB,EAAIC,EAAmBH,CAAa,EACnF,CAACI,EAAwBC,CAAoB,EAAIJ,EACrDD,EACA,CAAE,cAAe,CAAE,QAAS,IAAI,EAAI,QAAyB,IAAI,GAAK,CAC1E,EACQM,EAAsB5B,GAAU,CACpC,KAAM,CAAE,MAAA6B,EAAO,SAAAC,CAAQ,EAAK9B,EACtBC,EAAM8B,EAAAA,OAAa,IAAI,EACvBC,EAAUD,EAAAA,OAA6B,IAAI,GAAK,EAAE,QACxD,OAAuBhB,EAAAA,IAAIW,EAAwB,CAAE,MAAAG,EAAO,QAAAG,EAAS,cAAe/B,EAAK,SAAA6B,EAAU,CACrG,EACAF,EAAmB,YAAcN,EACjC,MAAMW,EAAuBZ,EAAO,iBAC9Ba,EAAqBC,EAAWF,CAAoB,EACpDG,EAAiBC,EAAAA,WACrB,CAACrC,EAAOsC,IAAiB,CACvB,KAAM,CAAE,MAAAT,EAAO,SAAAC,CAAQ,EAAK9B,EACtBuC,EAAUZ,EAAqBM,EAAsBJ,CAAK,EAC1DW,EAAeC,EAAgBH,EAAcC,EAAQ,aAAa,EACxE,OAAuBxB,EAAAA,IAAImB,EAAoB,CAAE,IAAKM,EAAc,SAAAV,CAAQ,CAAE,CAChF,CACJ,EACEM,EAAe,YAAcH,EAC7B,MAAMS,EAAiBrB,EAAO,qBACxBsB,EAAiB,6BACjBC,EAAyBT,EAAWO,CAAc,EAClDG,EAAqBR,EAAAA,WACzB,CAACrC,EAAOsC,IAAiB,CACvB,KAAM,CAAE,MAAAT,EAAO,SAAAC,EAAU,GAAGgB,CAAQ,EAAK9C,EACnCC,EAAM8B,EAAAA,OAAa,IAAI,EACvBS,EAAeC,EAAgBH,EAAcrC,CAAG,EAChDsC,EAAUZ,EAAqBe,EAAgBb,CAAK,EAC1DkB,OAAAA,EAAAA,UAAgB,KACdR,EAAQ,QAAQ,IAAItC,EAAK,CAAE,IAAAA,EAAK,GAAG6C,EAAU,EACtC,IAAM,KAAKP,EAAQ,QAAQ,OAAOtC,CAAG,EAC7C,EACsBc,MAAI6B,EAAwB,CAAO,CAACD,CAAc,EAAG,GAAM,IAAKH,EAAc,SAAAV,EAAU,CACjH,CACJ,EACEe,EAAmB,YAAcH,EACjC,SAASM,EAAcnB,EAAO,CAC5B,MAAMU,EAAUZ,EAAqBN,EAAO,qBAAsBQ,CAAK,EAWvE,OAViBoB,EAAAA,YAAkB,IAAM,CACvC,MAAMC,EAAiBX,EAAQ,cAAc,QAC7C,GAAI,CAACW,EAAgB,MAAO,CAAA,EAC5B,MAAMC,EAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIP,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACa,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CAC1F,CAEI,EAAG,CAACd,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE7C,CACA,MAAO,CACL,CAAE,SAAUX,EAAoB,KAAMQ,EAAgB,SAAUS,CAAkB,EAClFG,EACAxB,CACJ,CACA,CChEA,IAAI8B,EAAmBC,EAAAA,cAAoB,MAAM,EAKjD,SAASC,EAAaC,EAAU,CAC9B,MAAMC,EAAYC,EAAAA,WAAiBL,CAAgB,EACnD,OAAOG,GAAYC,GAAa,KAClC,CCVA,SAASE,EAAQC,EAAS,CACxB,KAAM,CAAC3D,EAAM4D,CAAO,EAAIC,EAAAA,SAAe,MAAM,EAC7CC,OAAAA,EAAgB,IAAM,CACpB,GAAIH,EAAS,CACXC,EAAQ,CAAE,MAAOD,EAAQ,YAAa,OAAQA,EAAQ,aAAc,EACpE,MAAMI,EAAiB,IAAI,eAAgBC,GAAY,CAIrD,GAHI,CAAC,MAAM,QAAQA,CAAO,GAGtB,CAACA,EAAQ,OACX,OAEF,MAAMC,EAAQD,EAAQ,CAAC,EACvB,IAAIE,EACAC,EACJ,GAAI,kBAAmBF,EAAO,CAC5B,MAAMG,EAAkBH,EAAM,cACxBI,EAAa,MAAM,QAAQD,CAAe,EAAIA,EAAgB,CAAC,EAAIA,EACzEF,EAAQG,EAAW,WACnBF,EAASE,EAAW,SACtB,MACEH,EAAQP,EAAQ,YAChBQ,EAASR,EAAQ,aAEnBC,EAAQ,CAAE,MAAAM,EAAO,OAAAC,EAAQ,CAC3B,CAAC,EACD,OAAAJ,EAAe,QAAQJ,EAAS,CAAE,IAAK,YAAY,CAAE,EAC9C,IAAMI,EAAe,UAAUJ,CAAO,CAC/C,MACEC,EAAQ,MAAM,CAElB,EAAG,CAACD,CAAO,CAAC,EACL3D,CACT,CClCA,SAASsE,EAAYvD,EAAO,CAC1B,MAAMhB,EAAM8B,EAAAA,OAAa,CAAE,MAAAd,EAAO,SAAUA,CAAK,CAAE,EACnD,OAAOwD,EAAAA,QAAc,KACfxE,EAAI,QAAQ,QAAUgB,IACxBhB,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQgB,GAEfhB,EAAI,QAAQ,UAClB,CAACgB,CAAK,CAAC,CACZ","x_google_ignoreList":[1,2,3,4,5]}
@@ -0,0 +1 @@
1
+ :root{--bg: oklch(.99 0 0);--surface-1: oklch(.97 0 0);--surface-2: oklch(.95 0 0);--surface-3: oklch(.93 0 0);--surface-popover: oklch(.99 0 0);--fg: oklch(.2 0 0);--fg-muted: oklch(.45 0 0);--fg-subtle: oklch(.6 0 0);--fg-on-accent: oklch(.99 0 0);--fg-link: oklch(.527 .154 150.069);--accent: oklch(.527 .154 150.069);--accent-hover: oklch(.475 .154 150.069);--accent-soft: oklch(.93 .04 150);--accent-ring: oklch(.527 .154 150.069 / .4);--success: oklch(.55 .13 150);--warning: oklch(.72 .15 80);--danger: oklch(.55 .2 25);--info: oklch(.55 .13 240);--border: oklch(.9 0 0);--border-strong: oklch(.85 0 0);--input-bg: oklch(.99 0 0);--focus-ring: oklch(.527 .154 150.069);--chart-1: oklch(.55 0 0);--chart-2: oklch(.4 0 0);--chart-3: oklch(.7 0 0);--chart-4: oklch(.25 0 0);--chart-5: oklch(.85 0 0);--chart-accent: oklch(.527 .154 150.069);--sidebar-bg: oklch(.97 0 0);--sidebar-fg: oklch(.2 0 0);--sidebar-accent: oklch(.527 .154 150.069);--sidebar-accent-fg: oklch(.99 0 0);--sidebar-hover: oklch(.93 0 0);--sidebar-border: oklch(.9 0 0);--radius: 10px;--radius-sm: 6px;--radius-lg: 14px;--radius-pill: 9999px;--shadow-1: 0 1px 2px oklch(0 0 0 / .04), 0 1px 1px oklch(0 0 0 / .02);--shadow-2: 0 2px 4px oklch(0 0 0 / .06), 0 1px 2px oklch(0 0 0 / .04);--shadow-3: 0 8px 16px oklch(0 0 0 / .08), 0 2px 4px oklch(0 0 0 / .04);--shadow-4: 0 16px 32px oklch(0 0 0 / .1), 0 4px 8px oklch(0 0 0 / .06);--motion-instant: 50ms;--motion-fast: .12s;--motion-base: .2s;--motion-slow: .32s;--ease-out: cubic-bezier(.16, 1, .3, 1);--ease-in-out: cubic-bezier(.65, 0, .35, 1);--ease-spring: cubic-bezier(.34, 1.56, .64, 1);--z-base: 0;--z-sticky: 10;--z-dropdown: 1000;--z-sticky-nav: 1100;--z-overlay: 1300;--z-modal: 1400;--z-popover: 1500;--z-toast: 1600;--z-tooltip: 1700;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--space-16: 64px;--topbar-h: 56px;--sidebar-w: 260px;--sidebar-w-collapsed: 60px;--statusbar-h: 32px}@media (prefers-color-scheme: dark){:root{--bg: oklch(.18 0 0);--surface-1: oklch(.22 0 0);--surface-2: oklch(.25 0 0);--surface-3: oklch(.28 0 0);--surface-popover: oklch(.25 0 0);--fg: oklch(.97 0 0);--fg-muted: oklch(.75 0 0);--fg-subtle: oklch(.6 0 0);--fg-on-accent: oklch(.15 0 0);--fg-link: oklch(.448 .119 151.328);--accent: oklch(.448 .119 151.328);--accent-hover: oklch(.5 .119 151.328);--accent-soft: oklch(.3 .04 150);--accent-ring: oklch(.448 .119 151.328 / .4);--success: oklch(.65 .13 150);--warning: oklch(.75 .15 80);--danger: oklch(.65 .2 25);--info: oklch(.65 .13 240);--border: oklch(.3 0 0);--border-strong: oklch(.35 0 0);--input-bg: oklch(.22 0 0);--focus-ring: oklch(.448 .119 151.328);--chart-1: oklch(.75 0 0);--chart-2: oklch(.6 0 0);--chart-3: oklch(.85 0 0);--chart-4: oklch(.5 0 0);--chart-5: oklch(.3 0 0);--chart-accent: oklch(.448 .119 151.328);--sidebar-bg: oklch(.2 0 0);--sidebar-fg: oklch(.95 0 0);--sidebar-accent: oklch(.448 .119 151.328);--sidebar-accent-fg: oklch(.15 0 0);--sidebar-hover: oklch(.25 0 0);--sidebar-border: oklch(.3 0 0);--shadow-1: 0 1px 2px oklch(0 0 0 / .2), 0 1px 1px oklch(0 0 0 / .1);--shadow-2: 0 2px 4px oklch(0 0 0 / .3), 0 1px 2px oklch(0 0 0 / .2);--shadow-3: 0 8px 16px oklch(0 0 0 / .4), 0 2px 4px oklch(0 0 0 / .2);--shadow-4: 0 16px 32px oklch(0 0 0 / .5), 0 4px 8px oklch(0 0 0 / .3)}}:root[data-theme=light]{--bg: oklch(.99 0 0);--surface-1: oklch(.97 0 0);--surface-2: oklch(.95 0 0);--surface-3: oklch(.93 0 0);--surface-popover: oklch(.99 0 0);--fg: oklch(.2 0 0);--fg-muted: oklch(.45 0 0);--fg-subtle: oklch(.6 0 0);--fg-on-accent: oklch(.99 0 0);--accent: oklch(.527 .154 150.069);--accent-hover: oklch(.475 .154 150.069);--accent-soft: oklch(.93 .04 150);--accent-ring: oklch(.527 .154 150.069 / .4);--border: oklch(.9 0 0);--border-strong: oklch(.85 0 0);--input-bg: oklch(.99 0 0);--focus-ring: oklch(.527 .154 150.069);--sidebar-bg: oklch(.97 0 0);--sidebar-fg: oklch(.2 0 0);--sidebar-accent: oklch(.527 .154 150.069);--sidebar-accent-fg: oklch(.99 0 0);--sidebar-hover: oklch(.93 0 0);--sidebar-border: oklch(.9 0 0)}:root[data-theme=dark]{--bg: oklch(.18 0 0);--surface-1: oklch(.22 0 0);--surface-2: oklch(.25 0 0);--surface-3: oklch(.28 0 0);--surface-popover: oklch(.25 0 0);--fg: oklch(.97 0 0);--fg-muted: oklch(.75 0 0);--fg-subtle: oklch(.6 0 0);--fg-on-accent: oklch(.15 0 0);--accent: oklch(.448 .119 151.328);--accent-hover: oklch(.5 .119 151.328);--accent-soft: oklch(.3 .04 150);--accent-ring: oklch(.448 .119 151.328 / .4);--border: oklch(.3 0 0);--border-strong: oklch(.35 0 0);--input-bg: oklch(.22 0 0);--focus-ring: oklch(.448 .119 151.328);--sidebar-bg: oklch(.2 0 0);--sidebar-fg: oklch(.95 0 0);--sidebar-accent: oklch(.448 .119 151.328);--sidebar-accent-fg: oklch(.15 0 0);--sidebar-hover: oklch(.25 0 0);--sidebar-border: oklch(.3 0 0);--shadow-1: 0 1px 2px oklch(0 0 0 / .2), 0 1px 1px oklch(0 0 0 / .1);--shadow-2: 0 2px 4px oklch(0 0 0 / .3), 0 1px 2px oklch(0 0 0 / .2);--shadow-3: 0 8px 16px oklch(0 0 0 / .4), 0 2px 4px oklch(0 0 0 / .2);--shadow-4: 0 16px 32px oklch(0 0 0 / .5), 0 4px 8px oklch(0 0 0 / .3)}@media (prefers-reduced-motion: reduce){:root{--motion-instant: 0ms;--motion-fast: 0ms;--motion-base: 0ms;--motion-slow: 0ms}}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd{margin:0}ul[role=list],ol[role=list]{list-style:none;padding:0;margin:0}a{color:inherit;text-decoration:none}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit;color:inherit}button{background:none;border:0;padding:0;cursor:pointer}table{border-collapse:collapse;border-spacing:0}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;border-radius:var(--radius-sm)}::selection{background:var(--accent-soft);color:var(--fg)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:var(--radius-pill);border:2px solid var(--bg)}::-webkit-scrollbar-thumb:hover{background:var(--fg-subtle)}:root{--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--fs-12: .75rem;--fs-13: .8125rem;--fs-14: .875rem;--fs-16: 1rem;--fs-18: 1.125rem;--fs-20: 1.25rem;--fs-24: 1.5rem;--fs-32: 2rem;--lh-tight: 1.2;--lh-snug: 1.35;--lh-base: 1.5;--lh-relaxed: 1.65;--fw-regular: 400;--fw-medium: 500;--fw-semibold: 600;--fw-bold: 700;--tracking-tight: -.01em;--tracking-base: 0;--tracking-wide: .04em}body{font-family:var(--font-sans);font-size:var(--fs-14);line-height:var(--lh-base);color:var(--fg);background:var(--bg);font-feature-settings:"cv02","cv03","cv04","cv11"}code,kbd,pre,samp{font-family:var(--font-mono);font-size:.9em}kbd{display:inline-flex;align-items:center;justify-content:center;min-width:1.5em;height:1.5em;padding:0 var(--space-1);font-family:var(--font-mono);font-size:var(--fs-12);color:var(--fg-muted);background:var(--surface-1);border:1px solid var(--border);border-bottom-width:2px;border-radius:var(--radius-sm)}:root[data-density=comfortable]{--density-row-h: 36px;--density-control-h: 36px;--density-card-pad: var(--space-5)}:root[data-density=compact]{--density-row-h: 28px;--density-control-h: 28px;--density-card-pad: var(--space-3)}h1{font-size:var(--fs-24);line-height:var(--lh-tight);font-weight:var(--fw-semibold);letter-spacing:var(--tracking-tight)}h2{font-size:var(--fs-20);line-height:var(--lh-snug);font-weight:var(--fw-semibold)}h3{font-size:var(--fs-18);line-height:var(--lh-snug);font-weight:var(--fw-medium)}h4{font-size:var(--fs-16);line-height:var(--lh-base);font-weight:var(--fw-medium)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#root{display:flex;flex-direction:column;min-height:100%;isolation:isolate}@keyframes v8-skeleton-pulse{0%,to{opacity:1}50%{opacity:.55}}@keyframes v8-spin{to{transform:rotate(360deg)}}@keyframes v8-pulse{0%{box-shadow:0 0 color-mix(in oklch,currentColor 60%,transparent)}to{box-shadow:0 0 0 8px color-mix(in oklch,currentColor 0%,transparent)}}@keyframes v8-dialog-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes v8-dialog-content-in{0%{opacity:0;transform:translate(-50%,-48%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes v8-sheet-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes v8-sheet-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes v8-sheet-in-top{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes v8-sheet-in-bottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes v8-menu-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes v8-tooltip-in{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}.v8-skeleton{animation:v8-skeleton-pulse 1.4s var(--easing-standard, cubic-bezier(.4, 0, .2, 1)) infinite}.v8-spinner{animation:v8-spin .8s linear infinite}.v8-dialog-overlay{animation:v8-dialog-overlay-in .16s var(--easing-standard, cubic-bezier(.4, 0, .2, 1))}.v8-dialog-content{animation:v8-dialog-content-in .2s var(--easing-standard, cubic-bezier(.4, 0, .2, 1))}.v8-sheet[data-side=right]{animation:v8-sheet-in-right .24s cubic-bezier(.32,.72,0,1)}.v8-sheet[data-side=left]{animation:v8-sheet-in-left .24s cubic-bezier(.32,.72,0,1)}.v8-sheet[data-side=top]{animation:v8-sheet-in-top .24s cubic-bezier(.32,.72,0,1)}.v8-sheet[data-side=bottom]{animation:v8-sheet-in-bottom .24s cubic-bezier(.32,.72,0,1)}.v8-dropdown-menu,.v8-context-menu,.v8-popover{animation:v8-menu-in .14s var(--easing-standard, cubic-bezier(.4, 0, .2, 1));transform-origin:var(--radix-dropdown-menu-content-transform-origin, var(--radix-context-menu-content-transform-origin, var(--radix-popover-content-transform-origin, top)))}.v8-tooltip{animation:v8-tooltip-in .12s var(--easing-standard, cubic-bezier(.4, 0, .2, 1))}.v8-dropdown-menu__item[data-highlighted],.v8-context-menu__item[data-highlighted]{background:var(--surface-2)}.v8-dropdown-menu__item.is-danger[data-highlighted],.v8-context-menu__item.is-danger[data-highlighted]{background:color-mix(in oklch,var(--danger) 12%,transparent)}.v8-dropdown-menu__checkbox[data-state=checked] .v8-dropdown-menu__checkbox-indicator,.v8-dropdown-menu__radio[data-state=checked] .v8-dropdown-menu__radio-indicator{display:inline-flex}
@@ -0,0 +1,109 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/OverviewView-BDegBWgg.js","assets/cmdk-BLWIhKrV.js","assets/StatTile-BRsUIA6P.js","assets/Card-BzJeYR2D.js","assets/Badge-BH4C3aUF.js","assets/ActivityFeed-CqF6iSDQ.js","assets/ViewHeader-dPd4zAyj.js","assets/useFetch-CoVWwbml.js","assets/useWebSocket-CVIQB8yG.js","assets/wrench-B7go551L.js","assets/triangle-alert-Nzbrm0I2.js","assets/git-pull-request-CFRRwdxp.js","assets/TasksView-DVyX5-DY.js","assets/dnd-kit-DU8GZk7s.js","assets/KanbanCard-DZEaAiEr.js","assets/plus-CVH1JB04.js","assets/calendar-CaP_Bbgc.js","assets/GoalsView-CvsrzEez.js","assets/Button-RmN1RKhE.js","assets/Select-xwxbK8Ed.js","assets/index-AL3OLUfz.js","assets/Sheet-C_sIEw35.js","assets/trash-2-JtYRQ79q.js","assets/AgentsView-BwXkOayl.js","assets/Sparkline-D664vGWW.js","assets/Textarea-Dk97nmjO.js","assets/terminal-B2sSd5t7.js","assets/Chip-CN2bvm7a.js","assets/ActivityView-qdhDjRtL.js","assets/MemoryView-Bbez5pMN.js","assets/EmptyState-DEiBv4-r.js","assets/brain-BajPVibR.js","assets/LibrariesView-CPgKGPpM.js","assets/SettingsRow-CppSgkT_.js","assets/SettingsView-DUc2meHV.js"])))=>i.map(i=>d[i]);
2
+ var Ke=Object.defineProperty;var Ye=(e,t,r)=>t in e?Ke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ne=(e,t,r)=>Ye(e,typeof t!="symbol"?t+"":t,r);import{a as Je,r as p,j as n,D as Xe,b as Ze,c as Qe,d as et,e as tt,f as rt,g as ot,_ as D}from"./cmdk-BLWIhKrV.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function r(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(s){if(s.ep)return;s.ep=!0;const a=r(s);fetch(s.href,a)}})();var Ce,be=Je;Ce=be.createRoot,be.hydrateRoot;const Ae=p.createContext(null),ie="bizar:theme";function nt(){if(typeof window>"u")return"system";const e=window.localStorage.getItem(ie);return e==="light"||e==="dark"||e==="system"?e:"system"}function st(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-color-scheme: dark)").matches}function at(e){typeof document>"u"||(document.documentElement.dataset.theme=e)}function it({children:e,defaultMode:t}){const[r,o]=p.useState(()=>t??nt()),[s,a]=p.useState(st);p.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const u=window.matchMedia("(prefers-color-scheme: dark)"),f=c=>a(c.matches);return u.addEventListener("change",f),()=>u.removeEventListener("change",f)},[]);const i=r==="system"?s?"dark":"light":r;p.useEffect(()=>{at(i)},[i]);const l=p.useCallback(u=>{o(u),typeof window<"u"&&window.localStorage.setItem(ie,u)},[]),d=p.useCallback(()=>{o(u=>{const f=u==="light"?"dark":u==="dark"?"system":"light";return typeof window<"u"&&window.localStorage.setItem(ie,f),f})},[]),g=p.useMemo(()=>({mode:r,resolved:i,setMode:l,cycle:d}),[r,i,l,d]);return n.jsx(Ae.Provider,{value:g,children:e})}const ze=p.createContext(null),le="bizar:density";function lt(){if(typeof window>"u")return"comfortable";const e=window.localStorage.getItem(le);return e==="comfortable"||e==="compact"?e:"comfortable"}function ct(e){typeof document>"u"||(document.documentElement.dataset.density=e)}function dt({children:e,defaultDensity:t}){const[r,o]=p.useState(()=>t??lt());p.useEffect(()=>{ct(r)},[r]);const s=p.useCallback(l=>{o(l),typeof window<"u"&&window.localStorage.setItem(le,l)},[]),a=p.useCallback(()=>{o(l=>{const d=l==="comfortable"?"compact":"comfortable";return typeof window<"u"&&window.localStorage.setItem(le,d),d})},[]),i=p.useMemo(()=>({density:r,setDensity:s,toggle:a}),[r,s,a]);return n.jsx(ze.Provider,{value:i,children:e})}function Ee(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=Ee(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function ut(){for(var e,t,r=0,o="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=Ee(e))&&(o&&(o+=" "),o+=t);return o}const de="-",pt=e=>{const t=gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{const l=i.split(de);return l[0]===""&&l.length!==1&&l.shift(),Me(l,t)||ft(i)},getConflictingClassGroupIds:(i,l)=>{const d=r[i]||[];return l&&o[i]?[...d,...o[i]]:d}}},Me=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),s=o?Me(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;const a=e.join(de);return(i=t.validators.find(({validator:l})=>l(a)))==null?void 0:i.classGroupId},ve=/^\[(.+)\]$/,ft=e=>{if(ve.test(e)){const t=ve.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},gt=e=>{const{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return mt(Object.entries(e.classGroups),r).forEach(([a,i])=>{ce(i,o,a,t)}),o},ce=(e,t,r,o)=>{e.forEach(s=>{if(typeof s=="string"){const a=s===""?t:ye(t,s);a.classGroupId=r;return}if(typeof s=="function"){if(ht(s)){ce(s(o),t,r,o);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([a,i])=>{ce(i,ye(t,a),r,o)})})},ye=(e,t)=>{let r=e;return t.split(de).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},ht=e=>e.isThemeGetter,mt=(e,t)=>t?e.map(([r,o])=>{const s=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,l])=>[t+i,l])):a);return[r,s]}):e,bt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const s=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return s(a,i),i},set(a,i){r.has(a)?r.set(a,i):s(a,i)}}},Ie="!",vt=e=>{const{separator:t,experimentalParseClassName:r}=e,o=t.length===1,s=t[0],a=t.length,i=l=>{const d=[];let g=0,u=0,f;for(let y=0;y<l.length;y++){let k=l[y];if(g===0){if(k===s&&(o||l.slice(y,y+a)===t)){d.push(l.slice(u,y)),u=y+a;continue}if(k==="/"){f=y;continue}}k==="["?g++:k==="]"&&g--}const c=d.length===0?l:l.substring(u),m=c.startsWith(Ie),j=m?c.substring(1):c,w=f&&f>u?f-u:void 0;return{modifiers:d,hasImportantModifier:m,baseClassName:j,maybePostfixModifierPosition:w}};return r?l=>r({className:l,parseClassName:i}):i},yt=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},xt=e=>({cache:bt(e.cacheSize),parseClassName:vt(e),...pt(e)}),wt=/\s+/,kt=(e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s}=t,a=[],i=e.trim().split(wt);let l="";for(let d=i.length-1;d>=0;d-=1){const g=i[d],{modifiers:u,hasImportantModifier:f,baseClassName:c,maybePostfixModifierPosition:m}=r(g);let j=!!m,w=o(j?c.substring(0,m):c);if(!w){if(!j){l=g+(l.length>0?" "+l:l);continue}if(w=o(c),!w){l=g+(l.length>0?" "+l:l);continue}j=!1}const y=yt(u).join(":"),k=f?y+Ie:y,A=k+w;if(a.includes(A))continue;a.push(A);const G=s(w,j);for(let M=0;M<G.length;++M){const V=G[M];a.push(k+V)}l=g+(l.length>0?" "+l:l)}return l};function St(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Re(t))&&(o&&(o+=" "),o+=r);return o}const Re=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=Re(e[o]))&&(r&&(r+=" "),r+=t);return r};function jt(e,...t){let r,o,s,a=i;function i(d){const g=t.reduce((u,f)=>f(u),e());return r=xt(g),o=r.cache.get,s=r.cache.set,a=l,l(d)}function l(d){const g=o(d);if(g)return g;const u=kt(d,r);return s(d,u),u}return function(){return a(St.apply(null,arguments))}}const b=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Pe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ct=/^\d+\/\d+$/,At=new Set(["px","full","screen"]),zt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Et=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Mt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,It=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Rt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>$(e)||At.has(e)||Ct.test(e),_=e=>W(e,"length",Tt),$=e=>!!e&&!Number.isNaN(Number(e)),se=e=>W(e,"number",$),F=e=>!!e&&Number.isInteger(Number(e)),Pt=e=>e.endsWith("%")&&$(e.slice(0,-1)),h=e=>Pe.test(e),N=e=>zt.test(e),_t=new Set(["length","size","percentage"]),Nt=e=>W(e,_t,_e),Lt=e=>W(e,"position",_e),Gt=new Set(["image","url"]),Vt=e=>W(e,Gt,$t),Ot=e=>W(e,"",Dt),q=()=>!0,W=(e,t,r)=>{const o=Pe.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},Tt=e=>Et.test(e)&&!Mt.test(e),_e=()=>!1,Dt=e=>It.test(e),$t=e=>Rt.test(e),Wt=()=>{const e=b("colors"),t=b("spacing"),r=b("blur"),o=b("brightness"),s=b("borderColor"),a=b("borderRadius"),i=b("borderSpacing"),l=b("borderWidth"),d=b("contrast"),g=b("grayscale"),u=b("hueRotate"),f=b("invert"),c=b("gap"),m=b("gradientColorStops"),j=b("gradientColorStopPositions"),w=b("inset"),y=b("margin"),k=b("opacity"),A=b("padding"),G=b("saturate"),M=b("scale"),V=b("sepia"),K=b("skew"),x=b("space"),pe=b("translate"),ee=()=>["auto","contain","none"],te=()=>["auto","hidden","clip","visible","scroll"],re=()=>["auto",h,t],v=()=>[h,t],fe=()=>["",R,_],Y=()=>["auto",$,h],ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>["start","end","center","between","around","evenly","stretch"],B=()=>["","0",h],me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[$,h];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[R,_],blur:["none","",N,h],brightness:I(),borderColor:[e],borderRadius:["none","","full",N,h],borderSpacing:v(),borderWidth:fe(),contrast:I(),grayscale:B(),hueRotate:I(),invert:B(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[Pt,_],inset:re(),margin:re(),opacity:I(),padding:v(),saturate:I(),scale:I(),sepia:B(),skew:I(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[N]}],"break-after":[{"break-after":me()}],"break-before":[{"break-before":me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ge(),h]}],overflow:[{overflow:te()}],"overflow-x":[{"overflow-x":te()}],"overflow-y":[{"overflow-y":te()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",F,h]}],basis:[{basis:re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:B()}],shrink:[{shrink:B()}],order:[{order:["first","last","none",F,h]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",F,h]},h]}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[F,h]},h]}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[c]}],"gap-x":[{"gap-x":[c]}],"gap-y":[{"gap-y":[c]}],"justify-content":[{justify:["normal",...oe()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...oe(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...oe(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[A]}],px:[{px:[A]}],py:[{py:[A]}],ps:[{ps:[A]}],pe:[{pe:[A]}],pt:[{pt:[A]}],pr:[{pr:[A]}],pb:[{pb:[A]}],pl:[{pl:[A]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[x]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[x]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,t]}],"min-w":[{"min-w":[h,t,"min","max","fit"]}],"max-w":[{"max-w":[h,t,"none","full","min","max","fit","prose",{screen:[N]},N]}],h:[{h:[h,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,t,"auto","min","max","fit"]}],"font-size":[{text:["base",N,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",se]}],"font-family":[{font:[q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",h]}],"line-clamp":[{"line-clamp":["none",$,se]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[k]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,_]}],"underline-offset":[{"underline-offset":["auto",R,h]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[k]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ge(),Lt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Nt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[j]}],"gradient-via-pos":[{via:[j]}],"gradient-to-pos":[{to:[j]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[k]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[k]}],"divide-style":[{divide:J()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[R,h]}],"outline-w":[{outline:[R,_]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:fe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[k]}],"ring-offset-w":[{"ring-offset":[R,_]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",N,Ot]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[k]}],"mix-blend":[{"mix-blend":[...he(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":he()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",N,h]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[G]}],sepia:[{sepia:[V]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[k]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[F,h]}],"translate-x":[{"translate-x":[pe]}],"translate-y":[{"translate-y":[pe]}],"skew-x":[{"skew-x":[K]}],"skew-y":[{"skew-y":[K]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",h]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,_,se]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Bt=jt(Wt);function z(...e){return Bt(ut(e))}const P={0:"var(--space-0, 0)",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},Ft={none:"0",sm:"var(--radius-sm)",md:"var(--radius)",lg:"var(--radius-lg)",pill:"var(--radius-pill)"},qt={none:"none",1:"var(--shadow-1)",2:"var(--shadow-2)",3:"var(--shadow-3)",4:"var(--shadow-4)"},S=p.forwardRef(function(t,r){const{as:o,p:s,px:a,py:i,pt:l,pb:d,pl:g,pr:u,bg:f,border:c,borderColor:m,rounded:j,shadow:w,inline:y,display:k,className:A,style:G,children:M,...V}=t,K=o??"div",x={...G};return s!==void 0&&(x.padding=P[s]),a!==void 0&&(x.paddingLeft=P[a],x.paddingRight=P[a]),i!==void 0&&(x.paddingTop=P[i],x.paddingBottom=P[i]),l!==void 0&&(x.paddingTop=P[l]),d!==void 0&&(x.paddingBottom=P[d]),g!==void 0&&(x.paddingLeft=P[g]),u!==void 0&&(x.paddingRight=P[u]),f!==void 0&&f!=="transparent"&&(x.background=`var(--${f})`),c&&(x.borderWidth="1px",x.borderStyle="solid",x.borderColor=`var(--${m??"border"})`),j!==void 0&&(x.borderRadius=Ft[j]),w!==void 0&&(x.boxShadow=qt[w]),k!==void 0?x.display=k:y&&(x.display="inline-flex"),n.jsx(K,{ref:r,className:z("v8-box",A),style:x,...V,children:M})}),Ht={0:"0",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},Ut={start:"flex-start",center:"center",end:"flex-end",baseline:"baseline",stretch:"stretch"},Kt={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around"},Z=p.forwardRef(function(t,r){const{as:o,gap:s=2,align:a,justify:i,wrap:l,children:d,className:g,style:u,...f}=t,c=o??"div",m={display:"flex",flexDirection:"row",gap:Ht[s],...a!==void 0&&{alignItems:Ut[a]},...i!==void 0&&{justifyContent:Kt[i]},...l&&{flexWrap:"wrap"},...u};return n.jsx(c,{ref:r,className:z("v8-inline",g),style:m,...f,children:d})}),Yt={0:"0",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},Jt={start:"flex-start",center:"center",end:"flex-end",baseline:"baseline",stretch:"stretch"},Xt={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around"},xe=p.forwardRef(function(t,r){const{as:o,gap:s=2,align:a,justify:i,children:l,className:d,style:g,...u}=t,f=o??"div",c={display:"flex",flexDirection:"row",flexWrap:"wrap",gap:Yt[s],...a!==void 0&&{alignItems:Jt[a]},...i!==void 0&&{justifyContent:Xt[i]},...g};return n.jsx(f,{ref:r,className:z("v8-cluster",d),style:c,...u,children:l})}),ue=p.forwardRef(function(t,r){const{orientation:o="horizontal",decorative:s,tone:a="border",className:i,style:l,...d}=t,g={background:`var(--${a})`,...o==="horizontal"?{height:"1px",width:"100%"}:{width:"1px",height:"100%",alignSelf:"stretch"},...l};return n.jsx("div",{ref:r,role:s?"presentation":"separator","aria-orientation":s?void 0:o,"aria-hidden":s?"true":void 0,className:z("v8-separator",i),style:g,...d})});/**
3
+ * @license lucide-react v0.460.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */const Zt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ne=(...e)=>e.filter((t,r,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===r).join(" ").trim();/**
8
+ * @license lucide-react v0.460.0 - ISC
9
+ *
10
+ * This source code is licensed under the ISC license.
11
+ * See the LICENSE file in the root directory of this source tree.
12
+ */var Qt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
13
+ * @license lucide-react v0.460.0 - ISC
14
+ *
15
+ * This source code is licensed under the ISC license.
16
+ * See the LICENSE file in the root directory of this source tree.
17
+ */const er=p.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:s="",children:a,iconNode:i,...l},d)=>p.createElement("svg",{ref:d,...Qt,width:t,height:t,stroke:e,strokeWidth:o?Number(r)*24/Number(t):r,className:Ne("lucide",s),...l},[...i.map(([g,u])=>p.createElement(g,u)),...Array.isArray(a)?a:[a]]));/**
18
+ * @license lucide-react v0.460.0 - ISC
19
+ *
20
+ * This source code is licensed under the ISC license.
21
+ * See the LICENSE file in the root directory of this source tree.
22
+ */const C=(e,t)=>{const r=p.forwardRef(({className:o,...s},a)=>p.createElement(er,{ref:a,iconNode:t,className:Ne(`lucide-${Zt(e)}`,o),...s}));return r.displayName=`${e}`,r};/**
23
+ * @license lucide-react v0.460.0 - ISC
24
+ *
25
+ * This source code is licensed under the ISC license.
26
+ * See the LICENSE file in the root directory of this source tree.
27
+ */const Le=C("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
28
+ * @license lucide-react v0.460.0 - ISC
29
+ *
30
+ * This source code is licensed under the ISC license.
31
+ * See the LICENSE file in the root directory of this source tree.
32
+ */const Ge=C("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
33
+ * @license lucide-react v0.460.0 - ISC
34
+ *
35
+ * This source code is licensed under the ISC license.
36
+ * See the LICENSE file in the root directory of this source tree.
37
+ */const tr=C("ChevronsLeft",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/**
38
+ * @license lucide-react v0.460.0 - ISC
39
+ *
40
+ * This source code is licensed under the ISC license.
41
+ * See the LICENSE file in the root directory of this source tree.
42
+ */const rr=C("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/**
43
+ * @license lucide-react v0.460.0 - ISC
44
+ *
45
+ * This source code is licensed under the ISC license.
46
+ * See the LICENSE file in the root directory of this source tree.
47
+ */const Ve=C("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
48
+ * @license lucide-react v0.460.0 - ISC
49
+ *
50
+ * This source code is licensed under the ISC license.
51
+ * See the LICENSE file in the root directory of this source tree.
52
+ */const Oe=C("Goal",[["path",{d:"M12 13V2l8 4-8 4",key:"5wlwwj"}],["path",{d:"M20.561 10.222a9 9 0 1 1-12.55-5.29",key:"1c0wjv"}],["path",{d:"M8.002 9.997a5 5 0 1 0 8.9 2.02",key:"gb1g7m"}]]);/**
53
+ * @license lucide-react v0.460.0 - ISC
54
+ *
55
+ * This source code is licensed under the ISC license.
56
+ * See the LICENSE file in the root directory of this source tree.
57
+ */const U=C("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
58
+ * @license lucide-react v0.460.0 - ISC
59
+ *
60
+ * This source code is licensed under the ISC license.
61
+ * See the LICENSE file in the root directory of this source tree.
62
+ */const Te=C("Library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]);/**
63
+ * @license lucide-react v0.460.0 - ISC
64
+ *
65
+ * This source code is licensed under the ISC license.
66
+ * See the LICENSE file in the root directory of this source tree.
67
+ */const or=C("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
68
+ * @license lucide-react v0.460.0 - ISC
69
+ *
70
+ * This source code is licensed under the ISC license.
71
+ * See the LICENSE file in the root directory of this source tree.
72
+ */const nr=C("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
73
+ * @license lucide-react v0.460.0 - ISC
74
+ *
75
+ * This source code is licensed under the ISC license.
76
+ * See the LICENSE file in the root directory of this source tree.
77
+ */const sr=C("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
78
+ * @license lucide-react v0.460.0 - ISC
79
+ *
80
+ * This source code is licensed under the ISC license.
81
+ * See the LICENSE file in the root directory of this source tree.
82
+ */const De=C("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
83
+ * @license lucide-react v0.460.0 - ISC
84
+ *
85
+ * This source code is licensed under the ISC license.
86
+ * See the LICENSE file in the root directory of this source tree.
87
+ */const $e=C("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
88
+ * @license lucide-react v0.460.0 - ISC
89
+ *
90
+ * This source code is licensed under the ISC license.
91
+ * See the LICENSE file in the root directory of this source tree.
92
+ */const ar=C("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
93
+ * @license lucide-react v0.460.0 - ISC
94
+ *
95
+ * This source code is licensed under the ISC license.
96
+ * See the LICENSE file in the root directory of this source tree.
97
+ */const We=C("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
98
+ * @license lucide-react v0.460.0 - ISC
99
+ *
100
+ * This source code is licensed under the ISC license.
101
+ * See the LICENSE file in the root directory of this source tree.
102
+ */const ir=C("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Be(){const e=p.useContext(Ae);if(e===null)throw new Error("useTheme must be used inside <ThemeProvider>.");return e}function Fe(){const e=p.useContext(ze);if(e===null)throw new Error("useDensity must be used inside <DensityProvider>.");return e}const lr={light:ar,dark:nr,system:or},we={light:"Switch to dark theme",dark:"Switch to system theme",system:"Switch to light theme"};function cr({className:e}){const{mode:t,resolved:r,cycle:o}=Be(),s=lr[t];return n.jsx("button",{type:"button",onClick:o,"aria-label":we[t],title:`${we[t]} (currently: ${r})`,className:z("v8-theme-toggle","inline-flex h-8 w-8 items-center justify-center","rounded-[var(--radius-sm)]","text-[var(--fg-muted)] hover:text-[var(--fg)] hover:bg-[var(--surface-1)]","transition-colors duration-[var(--motion-fast)]",e),children:n.jsx(s,{size:16,"aria-hidden":"true"})})}function dr({className:e}){const{density:t,toggle:r}=Fe();return n.jsx("button",{type:"button",onClick:r,"aria-label":`Switch to ${t==="comfortable"?"compact":"comfortable"} density`,title:`Density: ${t}`,className:z("v8-density-toggle","inline-flex h-8 px-2 items-center justify-center","rounded-[var(--radius-sm)]","text-[var(--fs-12)] font-medium tracking-[var(--tracking-wide)] uppercase","text-[var(--fg-muted)] hover:text-[var(--fg)] hover:bg-[var(--surface-1)]","transition-colors duration-[var(--motion-fast)]",e),children:t==="comfortable"?"Cozy":"Compact"})}function qe({brand:e,center:t,actions:r,status:o}){return n.jsx(S,{as:"header",role:"banner",className:"v8-topbar",style:{height:"var(--topbar-h)",flexShrink:0,background:"var(--bg)",borderBottom:"1px solid var(--border)",paddingLeft:"var(--space-4)",paddingRight:"var(--space-4)"},children:n.jsxs(Z,{align:"center",justify:"between",gap:4,style:{height:"100%"},children:[n.jsx(xe,{align:"center",gap:3,children:e??n.jsx(ur,{})}),n.jsx(S,{style:{flex:1,minWidth:0},children:t??null}),n.jsx(xe,{align:"center",gap:2,children:r??n.jsx(pr,{status:o})})]})})}function ur(){return n.jsxs(Z,{align:"center",gap:2,children:[n.jsx(S,{style:{width:24,height:24,borderRadius:"var(--radius-sm)",background:"var(--accent)",color:"var(--fg-on-accent)",fontWeight:700,fontSize:"var(--fs-14)",lineHeight:"24px",textAlign:"center"},"aria-hidden":"true",children:"ᛒ"}),n.jsx(S,{style:{fontWeight:600,fontSize:"var(--fs-14)"},children:"Bizar"}),n.jsx(ue,{orientation:"vertical",style:{height:16}}),n.jsx(S,{style:{fontSize:"var(--fs-13)",color:"var(--fg-muted)"},children:"workspace ▾"})]})}function pr({status:e}){return n.jsxs(n.Fragment,{children:[e??n.jsxs(Z,{align:"center",gap:1,style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:[n.jsx(S,{"aria-hidden":"true",style:{width:8,height:8,borderRadius:"var(--radius-pill)",background:"var(--success)"}}),n.jsx("span",{children:"live"})]}),n.jsx(ue,{orientation:"vertical",style:{height:16}}),n.jsx(dr,{}),n.jsx(cr,{})]})}const fr={0:"0",1:"var(--space-1)",2:"var(--space-2)",3:"var(--space-3)",4:"var(--space-4)",5:"var(--space-5)",6:"var(--space-6)",8:"var(--space-8)",10:"var(--space-10)",12:"var(--space-12)",16:"var(--space-16)"},gr={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch"},hr={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around"},X=p.forwardRef(function(t,r){const{as:o,gap:s=3,align:a,justify:i,wrap:l,children:d,className:g,style:u,...f}=t,c=o??"div",m={display:"flex",flexDirection:"column",gap:fr[s],...a!==void 0&&{alignItems:gr[a]},...i!==void 0&&{justifyContent:hr[i]},...l&&{flexWrap:"wrap"},...u};return n.jsx(c,{ref:r,className:z("v8-stack",g),style:m,...f,children:d})}),mr=p.forwardRef(function(t,r){const{direction:o="y",shadowTop:s,shadowBottom:a,maxHeight:i,maxWidth:l,children:d,className:g,style:u,...f}=t,j={overflowX:o==="x"||o==="both"?"auto":"hidden",overflowY:o==="y"||o==="both"?"auto":"hidden",...i!==void 0&&{maxHeight:i},...l!==void 0&&{maxWidth:l},...u};return n.jsx("div",{ref:r,className:z("v8-scroll-area",g),style:j,...f,children:d})}),ke="bizar:sidebar:collapsed",br=[{id:"workspace",label:"Workspace",items:[{id:"overview",label:"Overview",icon:U},{id:"tasks",label:"Tasks",icon:$e,count:47,active:!0},{id:"goals",label:"Goals",icon:We,count:3}]},{id:"operations",label:"Operations",items:[{id:"agents",label:"Agents",icon:Ge,count:"8/16"},{id:"activity",label:"Activity",icon:Le,live:!0},{id:"memory",label:"Memory",icon:Ve}]},{id:"libraries",label:"Libraries",items:[{id:"skills",label:"Skills",icon:Oe,count:18},{id:"mcps",label:"MCPs",icon:Te,count:3},{id:"hooks",label:"Hooks",icon:U,count:5}]},{id:"system",label:"System",items:[{id:"settings",label:"Settings",icon:De}]}];function He({sections:e,defaultSections:t=!0,footer:r,defaultCollapsed:o,onItemSelect:s,activeId:a,className:i}){const l=o??(typeof window<"u"&&window.localStorage.getItem(ke)==="1"),[d,g]=p.useState(l),u=e??(t?br:[]),f=d?"var(--sidebar-w-collapsed)":"var(--sidebar-w)",c=m=>a!==void 0?m===a:!1;return n.jsxs(S,{as:"aside",role:"navigation","aria-label":"Primary navigation",className:z("v8-sidebar",i),style:{width:f,flexShrink:0,height:"100%",background:"var(--sidebar-bg)",color:"var(--sidebar-fg)",borderRight:"1px solid var(--sidebar-border)",display:"flex",flexDirection:"column",transition:"width var(--motion-base) var(--ease-out)"},children:[n.jsx(mr,{style:{flex:1,padding:"var(--space-3) var(--space-2)"},children:n.jsx(X,{gap:4,children:u.map(m=>n.jsx(vr,{section:m,collapsed:d,onItemSelect:s,isItemActive:c},m.id))})}),n.jsx(ue,{}),n.jsx(S,{style:{padding:"var(--space-3) var(--space-3)",display:"flex",alignItems:"center",justifyContent:d?"center":"space-between",gap:"var(--space-2)"},children:d?n.jsx(S,{"aria-hidden":"true",style:{width:8,height:8,borderRadius:"var(--radius-pill)",background:"var(--success)"}}):n.jsxs(n.Fragment,{children:[n.jsxs(S,{style:{fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:[n.jsx("div",{children:"◉ online · v8.0.0"}),n.jsxs("div",{style:{fontFamily:"var(--font-mono)"},title:"build dev",children:["build ","dev"]})]}),n.jsx("button",{type:"button",onClick:()=>{g(m=>{const j=!m;return typeof window<"u"&&window.localStorage.setItem(ke,j?"1":"0"),j})},"aria-label":d?"Expand sidebar":"Collapse sidebar",className:"v8-sidebar-collapse",style:{width:24,height:24,display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",background:"transparent",border:"1px solid var(--border)"},children:d?n.jsx(rr,{size:14}):n.jsx(tr,{size:14})})]})}),!d&&r]})}function vr({section:e,collapsed:t,onItemSelect:r,isItemActive:o}){return n.jsxs(X,{gap:1,children:[!t&&n.jsx(S,{style:{padding:"var(--space-1) var(--space-3)",fontSize:"var(--fs-12)",fontWeight:600,color:"var(--fg-subtle)",letterSpacing:"var(--tracking-wide)",textTransform:"uppercase"},children:e.label}),e.items.map(s=>n.jsx(yr,{item:s,collapsed:t,active:o(s.id),onSelect:r},s.id))]})}function yr({item:e,collapsed:t,active:r,onSelect:o}){const s=e.icon;return n.jsxs("button",{type:"button",onClick:()=>o==null?void 0:o(e.id),"aria-current":r?"page":void 0,"aria-label":e.label,title:t?e.label:void 0,"data-sidebar-item":e.id,className:z("v8-sidebar-item",r&&"is-active"),style:{display:"flex",alignItems:"center",gap:"var(--space-2)",padding:t?"var(--space-2)":"var(--space-2) var(--space-3)",borderRadius:"var(--radius-sm)",fontSize:"var(--fs-13)",color:r?"var(--fg)":"var(--fg-muted)",background:r?"var(--sidebar-hover)":"transparent",fontWeight:r?500:400,justifyContent:t?"center":"flex-start",minHeight:32,boxShadow:r?"inset 2px 0 0 0 var(--sidebar-accent)":"none",border:"none",cursor:"pointer",textAlign:"left",transition:"background var(--motion-fast) var(--ease-out)"},children:[n.jsx(s,{size:16,"aria-hidden":"true"}),!t&&n.jsxs(n.Fragment,{children:[n.jsx("span",{style:{flex:1,minWidth:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.label}),e.live&&n.jsx(S,{"aria-hidden":"true",style:{width:6,height:6,borderRadius:"var(--radius-pill)",background:"var(--success)"}}),e.count!==void 0&&n.jsx(S,{style:{fontSize:"var(--fs-12)",color:"var(--fg-subtle)",fontVariantNumeric:"tabular-nums"},children:e.count})]})]})}const xr=p.forwardRef(function({topbar:t,sidebar:r,children:o},s){return n.jsxs(S,{className:"v8-app-shell",style:{display:"flex",flexDirection:"column",height:"100vh",background:"var(--bg)",color:"var(--fg)"},children:[t??n.jsx(qe,{}),n.jsxs(S,{className:"v8-app-shell-body",style:{display:"flex",flex:1,minHeight:0},children:[r??n.jsx(He,{}),n.jsx(S,{as:"main",ref:s,id:"main",tabIndex:-1,className:"v8-sidebar-inset",role:"main",style:{flex:1,minWidth:0,overflow:"auto",background:"var(--bg)",outline:"none"},children:n.jsx(S,{className:"v8-sidebar-inset-inner",style:{maxWidth:1440,margin:"0 auto",padding:"var(--space-6) var(--space-6)",width:"100%"},children:o})})]})]})}),wr="modulepreload",kr=function(e){return"/"+e},Se={},L=function(t,r,o){let s=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.allSettled(r.map(d=>{if(d=kr(d),d in Se)return;Se[d]=!0;const g=d.endsWith(".css"),u=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${u}`))return;const f=document.createElement("link");if(f.rel=g?"stylesheet":wr,g||(f.as="script"),f.crossOrigin="",f.href=d,l&&f.setAttribute("nonce",l),document.head.appendChild(f),g)return new Promise((c,m)=>{f.addEventListener("load",c),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${d}`)))})}))}function a(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return s.then(i=>{for(const l of i||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})},je=p.lazy(()=>L(()=>import("./OverviewView-BDegBWgg.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])).then(e=>({default:e.OverviewView}))),Sr=p.lazy(()=>L(()=>import("./TasksView-DVyX5-DY.js"),__vite__mapDeps([12,1,6,13,14,15,16,7,8])).then(e=>({default:e.TasksView}))),jr=p.lazy(()=>L(()=>import("./GoalsView-CvsrzEez.js"),__vite__mapDeps([17,1,18,6,19,20,4,16,21,22,15,3,7,8])).then(e=>({default:e.GoalsView}))),Cr=p.lazy(()=>L(()=>import("./AgentsView-BwXkOayl.js"),__vite__mapDeps([23,1,18,6,24,4,21,25,26,10,27,7,8])).then(e=>({default:e.AgentsView}))),Ar=p.lazy(()=>L(()=>import("./ActivityView-qdhDjRtL.js"),__vite__mapDeps([28,1,6,5,7,8,9,10,11])).then(e=>({default:e.ActivityView}))),zr=p.lazy(()=>L(()=>import("./MemoryView-Bbez5pMN.js"),__vite__mapDeps([29,1,6,4,30,27,7,31])).then(e=>({default:e.MemoryView}))),ae=p.lazy(()=>L(()=>import("./LibrariesView-CPgKGPpM.js"),__vite__mapDeps([32,1,6,18,20,25,2,19,33,10,5,30,21,3,4,27,24,14,13,15,16,7,8])).then(e=>({default:e.LibrariesView}))),Er=p.lazy(()=>L(()=>import("./SettingsView-DUc2meHV.js"),__vite__mapDeps([34,1,18,33,20,25,4,7,26,9,31,15,22])).then(e=>({default:e.SettingsView})));function Mr(e){return p.useMemo(()=>{switch(e){case"overview":return n.jsx(je,{});case"tasks":return n.jsx(Sr,{});case"goals":return n.jsx(jr,{});case"agents":return n.jsx(Cr,{});case"activity":return n.jsx(Ar,{});case"memory":return n.jsx(zr,{});case"skills":return n.jsx(ae,{kind:"skills"});case"mcps":return n.jsx(ae,{kind:"mcps"});case"hooks":return n.jsx(ae,{kind:"hooks"});case"settings":return n.jsx(Er,{});default:return n.jsx(je,{})}},[e])}const Ir=({children:e,...t})=>n.jsx(ot,{...t,children:e}),Rr={sm:"420px",md:"560px",lg:"800px",full:"100%"},Pr=p.forwardRef(function(t,r){const{className:o,size:s="md",title:a,description:i,hideClose:l,children:d,...g}=t;return n.jsxs(Xe,{children:[n.jsx(Ze,{className:"v8-dialog-overlay",style:{position:"fixed",inset:0,background:"oklch(0 0 0 / 0.4)",backdropFilter:"none",zIndex:"var(--z-modal)",animation:"v8-dialog-overlay-in var(--motion-base) var(--ease-out)"}}),n.jsxs(Qe,{ref:r,className:z("v8-dialog-content",o),style:{position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:Rr[s],maxWidth:"calc(100vw - 32px)",maxHeight:"calc(100vh - 64px)",background:"var(--surface-popover)",border:"1px solid var(--border)",borderRadius:"var(--radius-lg)",boxShadow:"var(--shadow-4)",padding:"var(--space-6)",overflow:"auto",zIndex:"calc(var(--z-modal) + 1)",animation:"v8-dialog-content-in var(--motion-base) var(--ease-out)"},...g,children:[n.jsx(et,{style:{fontSize:"var(--fs-18)",fontWeight:600,marginBottom:i!==void 0?"var(--space-1)":"var(--space-4)"},children:a}),i!==void 0&&n.jsx(tt,{style:{fontSize:"var(--fs-13)",color:"var(--fg-muted)",marginBottom:"var(--space-4)"},children:i}),d,l!==!0&&n.jsx(rt,{"aria-label":"Close",style:{position:"absolute",top:12,right:12,width:28,height:28,display:"inline-flex",alignItems:"center",justifyContent:"center",background:"transparent",border:0,borderRadius:"var(--radius-sm)",color:"var(--fg-muted)",cursor:"pointer"},children:n.jsx(ir,{size:16,"aria-hidden":"true"})})]})]})});function _r(e){const{query:t,onQueryChange:r,placeholder:o="Type a command or search…",hideIcon:s,emptyMessage:a="No results found.",children:i,className:l}=e;return n.jsxs(D,{className:z("v8-command",l),label:"Command palette",shouldFilter:!0,children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--space-2)",padding:"var(--space-3) var(--space-4)",borderBottom:"1px solid var(--border)"},children:[s!==!0&&n.jsx(sr,{size:14,"aria-hidden":"true",style:{color:"var(--fg-muted)"}}),n.jsx(D.Input,{value:t,onValueChange:r,placeholder:o,style:{flex:1,border:0,outline:0,background:"transparent",fontFamily:"inherit",fontSize:"var(--fs-14)",color:"var(--fg)"}})]}),n.jsxs(D.List,{style:{maxHeight:"min(60vh, 480px)",overflow:"auto",padding:"var(--space-2)"},children:[n.jsx(D.Empty,{style:{padding:"var(--space-6)",textAlign:"center",color:"var(--fg-muted)",fontSize:"var(--fs-13)"},children:a}),i]}),n.jsx("style",{children:`
103
+ [cmdk-item][data-selected='true'] {
104
+ background: var(--surface-2);
105
+ }
106
+ [cmdk-item][data-disabled='true'] {
107
+ color: var(--fg-subtle);
108
+ }
109
+ `})]})}function O({heading:e,children:t}){return n.jsxs(D.Group,{style:{padding:"var(--space-1) 0"},heading:typeof e=="string"?e:void 0,children:[e!==void 0&&n.jsx("div",{style:{padding:"var(--space-2) var(--space-3) var(--space-1)",fontSize:"var(--fs-12)",fontWeight:600,color:"var(--fg-subtle)",textTransform:"uppercase",letterSpacing:"var(--tracking-wide)"},children:e}),t]})}function T({value:e,children:t,shortcut:r,disabled:o,onSelect:s}){return n.jsxs(D.Item,{value:e,disabled:o,onSelect:s,style:{display:"flex",alignItems:"center",gap:"var(--space-2)",height:32,padding:"0 var(--space-3)",borderRadius:"var(--radius-sm)",fontSize:"var(--fs-13)",color:"var(--fg)",cursor:o===!0?"not-allowed":"pointer",userSelect:"none"},children:[n.jsx("span",{style:{flex:1,minWidth:0},children:t}),r!==void 0&&n.jsx("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:r})]})}function Nr(){const[e,t]=p.useState(!1);return p.useEffect(()=>{const r=o=>{(o.metaKey||o.ctrlKey)&&(o.key==="k"||o.key==="K")?(o.preventDefault(),t(a=>!a)):o.key==="Escape"&&t(!1)};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[]),[e,t]}const Lr=p.forwardRef(function(t,r){const{children:o,inverted:s,className:a,style:i,...l}=t;return n.jsx("kbd",{ref:r,className:z("v8-kbd",s&&"is-inverted",a),style:{display:"inline-flex",alignItems:"center",justifyContent:"center",minWidth:"1.4em",height:"1.4em",padding:"0 6px",fontFamily:"var(--font-mono)",fontSize:"var(--fs-12)",fontWeight:500,color:s===!0?"var(--bg)":"var(--fg-muted)",background:s===!0?"var(--fg)":"var(--surface-1)",border:"1px solid var(--border)",borderBottomWidth:2,borderRadius:"var(--radius-sm)",...i},...l,children:o})});class Gr extends Error{constructor(r,o,s){super(o);ne(this,"status");ne(this,"body");this.name="FetchError",this.status=r,this.body=s}}async function Q(e,t={}){const r={method:t.method||"GET",headers:{Accept:"application/json",...t.body?{"Content-Type":"application/json"}:{},...t.headers||{}},signal:t.signal};t.body!==void 0&&(r.body=JSON.stringify(t.body));const o=(t.base||"")+e,s=await fetch(o,r),a=await s.text();let i=null;if(a)try{i=JSON.parse(a)}catch{i=a}if(!s.ok){const l=i&&typeof i=="object"&&"message"in i&&typeof i.message=="string"?i.message:`HTTP ${s.status}`;throw new Gr(s.status,l,i)}return i}const Vr=[{id:"overview",label:"Go to Overview"},{id:"tasks",label:"Go to Tasks"},{id:"goals",label:"Go to Goals"},{id:"agents",label:"Go to Agents"},{id:"activity",label:"Go to Activity"},{id:"memory",label:"Go to Memory"},{id:"skills",label:"Go to Skills"},{id:"mcps",label:"Go to MCPs"},{id:"hooks",label:"Go to Hooks"},{id:"settings",label:"Go to Settings",shortcut:"⌘,"}],Or=[{id:"__theme",label:"Toggle theme"},{id:"__density",label:"Toggle density"}],Tr=[{id:"section:general",label:"Settings · General"},{id:"section:theme",label:"Settings · Theme"},{id:"section:density",label:"Settings · Density"},{id:"section:density-rules",label:"Settings · Density rules"},{id:"section:palette",label:"Settings · Command palette"},{id:"section:keyboard",label:"Settings · Keyboard"},{id:"section:notifications",label:"Settings · Notifications"},{id:"section:storage",label:"Settings · Storage"},{id:"section:plugins",label:"Settings · Plugins"},{id:"section:mcps",label:"Settings · MCP servers"},{id:"section:skills",label:"Settings · Skills"},{id:"section:hooks",label:"Settings · Hooks"},{id:"section:activity",label:"Settings · Activity"},{id:"section:memory",label:"Settings · Memory"},{id:"section:privacy",label:"Settings · Privacy"},{id:"section:advanced",label:"Settings · Advanced"}],Dr=[{id:"spawn:coder",label:"Spawn · Coder agent"},{id:"spawn:researcher",label:"Spawn · Researcher agent"},{id:"spawn:planner",label:"Spawn · Planner agent"},{id:"spawn:reviewer",label:"Spawn · Reviewer agent"}],$r=[{id:"task:new",label:"New task…"},{id:"tasks:open",label:"Go to tasks board"}];function Wr(e,t){return r=>{if(r.startsWith("section:")){const o=r.slice(8);e("settings"),requestAnimationFrame(()=>{var s;(s=document.getElementById(o))==null||s.scrollIntoView({behavior:"smooth",block:"start"})}),t(!1);return}e(r),t(!1)}}async function Br(e,t){try{const r=await Q("/api/agents",{method:"POST",body:{kind:e,prompt:"Spawned via command palette"}});r.error?t==null||t({kind:"error",text:r.error}):t==null||t({kind:"success",text:`Spawned ${e} agent`})}catch(r){t==null||t({kind:"error",text:r instanceof Error?r.message:String(r)})}}async function Fr(e,t){try{await Q(`/api/projects/${encodeURIComponent(e)}/activate`,{method:"POST"}),t==null||t({kind:"success",text:`Switched to ${e}`})}catch(r){t==null||t({kind:"error",text:r instanceof Error?r.message:String(r)})}}async function qr(e,t){try{await Q("/api/tasks/submit",{method:"POST",body:{title:e,priority:"medium"}}),t==null||t({kind:"success",text:`Dispatched task "${e.slice(0,30)}"`})}catch(r){t==null||t({kind:"error",text:r instanceof Error?r.message:String(r)})}}function Hr(e){const{open:t,onOpenChange:r,onNavigate:o,onToast:s}=e,a=Wr(o,r),[i,l]=p.useState([]);p.useEffect(()=>{if(!t)return;let c=!1;return(async()=>{try{const m=await Q("/api/projects");!c&&m.projects&&l(m.projects)}catch{}})(),()=>{c=!0}},[t]);const d=c=>{const m=c.slice(6);r(!1),Br(m,s)},g=c=>{const m=c.slice(8);r(!1),Fr(m,s)},u=()=>{const c=window.prompt("New task title")||"";c.trim()&&(r(!1),qr(c,s))},f=i.map(c=>({id:`project:${c.id}`,label:`Switch to ${c.name||c.id}`}));return n.jsx(Ir,{open:t,onOpenChange:r,children:n.jsx(Pr,{title:"Command palette",size:"md",children:n.jsxs(_r,{placeholder:"Type a command, page, or setting…",children:[n.jsx(O,{heading:"Navigation",children:Vr.map(c=>n.jsxs(T,{value:c.label,onSelect:()=>a(c.id),children:[n.jsx("span",{children:c.label}),c.shortcut!==void 0&&n.jsx(Lr,{children:c.shortcut})]},c.id))}),n.jsx(O,{heading:"Actions",children:Or.map(c=>n.jsx(T,{value:c.label,onSelect:()=>a(c.id),children:n.jsx("span",{children:c.label})},c.id))}),n.jsx(O,{heading:"Agents",children:Dr.map(c=>n.jsx(T,{value:c.label,onSelect:()=>d(c.id),children:n.jsx("span",{children:c.label})},c.id))}),n.jsx(O,{heading:"Tasks",children:$r.map(c=>n.jsx(T,{value:c.label,onSelect:()=>c.id==="task:new"?u():a("tasks"),children:n.jsx("span",{children:c.label})},c.id))}),f.length>0&&n.jsx(O,{heading:"Projects",children:f.map(c=>n.jsx(T,{value:c.label,onSelect:()=>g(c.id),children:n.jsx("span",{children:c.label})},c.id))}),n.jsx(O,{heading:"Settings",children:Tr.map(c=>n.jsx(T,{value:c.label,onSelect:()=>a(c.id),children:n.jsx("span",{children:c.label})},c.id))})]})})})}function H({width:e="100%",height:t=16,radius:r="sm",className:o,style:s,...a}){const i=r==="sm"?"var(--radius-sm)":r==="pill"?"var(--radius-pill)":"var(--radius)";return n.jsx("div",{className:z("v8-skeleton",o),style:{display:"inline-block",width:typeof e=="number"?`${e}px`:e,height:typeof t=="number"?`${t}px`:t,background:"linear-gradient(90deg, var(--surface-1) 0%, var(--surface-2) 50%, var(--surface-1) 100%)",backgroundSize:"200% 100%",borderRadius:i,animation:"v8-skeleton-pulse 1.4s ease-in-out infinite",...s},"aria-hidden":"true",...a})}function Ur(){return n.jsx(S,{role:"status","aria-busy":"true","aria-live":"polite",style:{padding:"var(--space-5) var(--space-6)"},children:n.jsxs(X,{gap:5,children:[n.jsx(H,{height:32,width:"40%"}),n.jsx(H,{height:16,width:"65%"}),n.jsxs(X,{gap:2,children:[n.jsx(H,{height:14,width:"100%"}),n.jsx(H,{height:14,width:"92%"}),n.jsx(H,{height:14,width:"78%"})]})]})})}function E(e){switch(e){case"overview":return U;case"tasks":return $e;case"goals":return We;case"agents":return Ge;case"activity":return Le;case"memory":return Ve;case"skills":return Oe;case"mcps":return Te;case"hooks":return U;case"settings":return De;default:return U}}function Kr(){const[e,t]=p.useState("overview"),r=Be(),o=Fe(),[s,a]=Nr(),i=p.useRef(null);p.useEffect(()=>{var u;(u=i.current)==null||u.focus({preventScroll:!0})},[e]);const l=[{id:"workspace",label:"Workspace",items:[{id:"overview",label:"Overview",icon:E("overview")},{id:"tasks",label:"Tasks",icon:E("tasks"),count:47},{id:"goals",label:"Goals",icon:E("goals"),count:3}]},{id:"operations",label:"Operations",items:[{id:"agents",label:"Agents",icon:E("agents"),count:"8/16"},{id:"activity",label:"Activity",icon:E("activity"),live:!0},{id:"memory",label:"Memory",icon:E("memory")}]},{id:"libraries",label:"Libraries",items:[{id:"skills",label:"Skills",icon:E("skills"),count:18},{id:"mcps",label:"MCPs",icon:E("mcps"),count:3},{id:"hooks",label:"Hooks",icon:E("hooks"),count:5}]},{id:"system",label:"System",items:[{id:"settings",label:"Settings",icon:E("settings")}]}],d=u=>{if(u==="__theme"){const f=r.mode==="dark"?"light":"dark";r.setMode(f);return}if(u==="__density"){const f=o.density==="comfortable"?"compact":"comfortable";o.setDensity(f);return}t(u)},g=Mr(e);return n.jsxs(xr,{ref:i,topbar:n.jsx(qe,{center:n.jsx(Z,{align:"center",gap:2,children:n.jsxs("button",{type:"button",onClick:()=>a(!0),style:{display:"inline-flex",alignItems:"center",gap:"var(--space-2)",padding:"6px var(--space-3)",background:"var(--surface-1)",border:"1px solid var(--border)",borderRadius:"var(--radius)",color:"var(--fg-muted)",fontSize:"var(--fs-13)",width:360,maxWidth:"100%",justifyContent:"space-between"},"aria-label":"Open command palette",children:[n.jsx("span",{children:"Type a command, page, or setting…"}),n.jsx(S,{as:"kbd",style:{fontFamily:"var(--font-mono)",fontSize:"var(--fs-12)",color:"var(--fg-muted)"},children:"⌘K"})]})})}),sidebar:n.jsx(He,{sections:l,defaultSections:!1,activeId:e,onItemSelect:d}),children:[n.jsx(p.Suspense,{fallback:n.jsx(Ur,{}),children:g}),n.jsx(Hr,{open:s,onOpenChange:a,onNavigate:d})]})}const Ue=document.getElementById("root");if(Ue===null)throw new Error("v8 mount target #root not found in DOM.");const Yr=Ce(Ue);Yr.render(n.jsx(p.StrictMode,{children:n.jsx(it,{children:n.jsx(dt,{children:n.jsx(Kr,{})})})}));export{Le as A,Ge as B,Ve as C,Gr as F,Z as I,Te as L,X as S,ir as X,H as a,C as b,z as c,S as d,tr as e,Q as f,rr as g,Fe as h,De as i,$e as j,Be as u};