@jacques-ai/cli 0.0.7-alpha.1

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 (508) hide show
  1. package/dist/assets/mascot-ansi.d.ts +8 -0
  2. package/dist/assets/mascot-ansi.d.ts.map +1 -0
  3. package/dist/assets/mascot-ansi.js +15 -0
  4. package/dist/assets/mascot-ansi.js.map +1 -0
  5. package/dist/cli.d.ts +15 -0
  6. package/dist/cli.d.ts.map +1 -0
  7. package/dist/cli.js +53 -0
  8. package/dist/cli.js.map +1 -0
  9. package/dist/commands/client-helper.d.ts +14 -0
  10. package/dist/commands/client-helper.d.ts.map +1 -0
  11. package/dist/commands/client-helper.js +38 -0
  12. package/dist/commands/client-helper.js.map +1 -0
  13. package/dist/commands/dashboard.d.ts +8 -0
  14. package/dist/commands/dashboard.d.ts.map +1 -0
  15. package/dist/commands/dashboard.js +159 -0
  16. package/dist/commands/dashboard.js.map +1 -0
  17. package/dist/commands/index.d.ts +6 -0
  18. package/dist/commands/index.d.ts.map +1 -0
  19. package/dist/commands/index.js +6 -0
  20. package/dist/commands/index.js.map +1 -0
  21. package/dist/commands/list.d.ts +5 -0
  22. package/dist/commands/list.d.ts.map +1 -0
  23. package/dist/commands/list.js +13 -0
  24. package/dist/commands/list.js.map +1 -0
  25. package/dist/commands/search.d.ts +13 -0
  26. package/dist/commands/search.d.ts.map +1 -0
  27. package/dist/commands/search.js +79 -0
  28. package/dist/commands/search.js.map +1 -0
  29. package/dist/commands/setup.d.ts +8 -0
  30. package/dist/commands/setup.d.ts.map +1 -0
  31. package/dist/commands/setup.js +32 -0
  32. package/dist/commands/setup.js.map +1 -0
  33. package/dist/commands/status.d.ts +5 -0
  34. package/dist/commands/status.d.ts.map +1 -0
  35. package/dist/commands/status.js +27 -0
  36. package/dist/commands/status.js.map +1 -0
  37. package/dist/components/ActiveSessionsView.d.ts +18 -0
  38. package/dist/components/ActiveSessionsView.d.ts.map +1 -0
  39. package/dist/components/ActiveSessionsView.js +68 -0
  40. package/dist/components/ActiveSessionsView.js.map +1 -0
  41. package/dist/components/AddContextConfirmView.d.ts +21 -0
  42. package/dist/components/AddContextConfirmView.d.ts.map +1 -0
  43. package/dist/components/AddContextConfirmView.js +44 -0
  44. package/dist/components/AddContextConfirmView.js.map +1 -0
  45. package/dist/components/App.d.ts +11 -0
  46. package/dist/components/App.d.ts.map +1 -0
  47. package/dist/components/App.js +292 -0
  48. package/dist/components/App.js.map +1 -0
  49. package/dist/components/ArchiveBrowserView.d.ts +40 -0
  50. package/dist/components/ArchiveBrowserView.d.ts.map +1 -0
  51. package/dist/components/ArchiveBrowserView.js +161 -0
  52. package/dist/components/ArchiveBrowserView.js.map +1 -0
  53. package/dist/components/ArchiveInitProgressView.d.ts +16 -0
  54. package/dist/components/ArchiveInitProgressView.d.ts.map +1 -0
  55. package/dist/components/ArchiveInitProgressView.js +72 -0
  56. package/dist/components/ArchiveInitProgressView.js.map +1 -0
  57. package/dist/components/AutoCompactToggle.d.ts +16 -0
  58. package/dist/components/AutoCompactToggle.d.ts.map +1 -0
  59. package/dist/components/AutoCompactToggle.js +12 -0
  60. package/dist/components/AutoCompactToggle.js.map +1 -0
  61. package/dist/components/BottomControls.d.ts +12 -0
  62. package/dist/components/BottomControls.d.ts.map +1 -0
  63. package/dist/components/BottomControls.js +11 -0
  64. package/dist/components/BottomControls.js.map +1 -0
  65. package/dist/components/CompactHeader.d.ts +21 -0
  66. package/dist/components/CompactHeader.d.ts.map +1 -0
  67. package/dist/components/CompactHeader.js +63 -0
  68. package/dist/components/CompactHeader.js.map +1 -0
  69. package/dist/components/CompactPanel.d.ts +22 -0
  70. package/dist/components/CompactPanel.d.ts.map +1 -0
  71. package/dist/components/CompactPanel.js +31 -0
  72. package/dist/components/CompactPanel.js.map +1 -0
  73. package/dist/components/ContentBox.d.ts +14 -0
  74. package/dist/components/ContentBox.d.ts.map +1 -0
  75. package/dist/components/ContentBox.js +24 -0
  76. package/dist/components/ContentBox.js.map +1 -0
  77. package/dist/components/ContextProgress.d.ts +14 -0
  78. package/dist/components/ContextProgress.d.ts.map +1 -0
  79. package/dist/components/ContextProgress.js +36 -0
  80. package/dist/components/ContextProgress.js.map +1 -0
  81. package/dist/components/Dashboard.d.ts +46 -0
  82. package/dist/components/Dashboard.d.ts.map +1 -0
  83. package/dist/components/Dashboard.js +67 -0
  84. package/dist/components/Dashboard.js.map +1 -0
  85. package/dist/components/FilterSelectionView.d.ts +15 -0
  86. package/dist/components/FilterSelectionView.d.ts.map +1 -0
  87. package/dist/components/FilterSelectionView.js +27 -0
  88. package/dist/components/FilterSelectionView.js.map +1 -0
  89. package/dist/components/GoogleDocsBrowserView.d.ts +20 -0
  90. package/dist/components/GoogleDocsBrowserView.d.ts.map +1 -0
  91. package/dist/components/GoogleDocsBrowserView.js +72 -0
  92. package/dist/components/GoogleDocsBrowserView.js.map +1 -0
  93. package/dist/components/HandoffBrowserView.d.ts +20 -0
  94. package/dist/components/HandoffBrowserView.d.ts.map +1 -0
  95. package/dist/components/HandoffBrowserView.js +66 -0
  96. package/dist/components/HandoffBrowserView.js.map +1 -0
  97. package/dist/components/Header.d.ts +14 -0
  98. package/dist/components/Header.d.ts.map +1 -0
  99. package/dist/components/Header.js +16 -0
  100. package/dist/components/Header.js.map +1 -0
  101. package/dist/components/HorizontalMenu.d.ts +24 -0
  102. package/dist/components/HorizontalMenu.d.ts.map +1 -0
  103. package/dist/components/HorizontalMenu.js +20 -0
  104. package/dist/components/HorizontalMenu.js.map +1 -0
  105. package/dist/components/ImageMascot.d.ts +8 -0
  106. package/dist/components/ImageMascot.d.ts.map +1 -0
  107. package/dist/components/ImageMascot.js +7 -0
  108. package/dist/components/ImageMascot.js.map +1 -0
  109. package/dist/components/LLMWorkingView.d.ts +19 -0
  110. package/dist/components/LLMWorkingView.d.ts.map +1 -0
  111. package/dist/components/LLMWorkingView.js +72 -0
  112. package/dist/components/LLMWorkingView.js.map +1 -0
  113. package/dist/components/LoadContextView.d.ts +22 -0
  114. package/dist/components/LoadContextView.d.ts.map +1 -0
  115. package/dist/components/LoadContextView.js +83 -0
  116. package/dist/components/LoadContextView.js.map +1 -0
  117. package/dist/components/MainMenuView.d.ts +20 -0
  118. package/dist/components/MainMenuView.d.ts.map +1 -0
  119. package/dist/components/MainMenuView.js +49 -0
  120. package/dist/components/MainMenuView.js.map +1 -0
  121. package/dist/components/Mascot.d.ts +24 -0
  122. package/dist/components/Mascot.d.ts.map +1 -0
  123. package/dist/components/Mascot.js +32 -0
  124. package/dist/components/Mascot.js.map +1 -0
  125. package/dist/components/Menu.d.ts +22 -0
  126. package/dist/components/Menu.d.ts.map +1 -0
  127. package/dist/components/Menu.js +28 -0
  128. package/dist/components/Menu.js.map +1 -0
  129. package/dist/components/NotionBrowserView.d.ts +21 -0
  130. package/dist/components/NotionBrowserView.d.ts.map +1 -0
  131. package/dist/components/NotionBrowserView.js +75 -0
  132. package/dist/components/NotionBrowserView.js.map +1 -0
  133. package/dist/components/ObsidianBrowserView.d.ts +21 -0
  134. package/dist/components/ObsidianBrowserView.d.ts.map +1 -0
  135. package/dist/components/ObsidianBrowserView.js +74 -0
  136. package/dist/components/ObsidianBrowserView.js.map +1 -0
  137. package/dist/components/ObsidianConfigView.d.ts +19 -0
  138. package/dist/components/ObsidianConfigView.d.ts.map +1 -0
  139. package/dist/components/ObsidianConfigView.js +45 -0
  140. package/dist/components/ObsidianConfigView.js.map +1 -0
  141. package/dist/components/PlaceholderView.d.ts +15 -0
  142. package/dist/components/PlaceholderView.d.ts.map +1 -0
  143. package/dist/components/PlaceholderView.js +20 -0
  144. package/dist/components/PlaceholderView.js.map +1 -0
  145. package/dist/components/PlanViewerView.d.ts +26 -0
  146. package/dist/components/PlanViewerView.d.ts.map +1 -0
  147. package/dist/components/PlanViewerView.js +170 -0
  148. package/dist/components/PlanViewerView.js.map +1 -0
  149. package/dist/components/ProgressBar.d.ts +24 -0
  150. package/dist/components/ProgressBar.d.ts.map +1 -0
  151. package/dist/components/ProgressBar.js +23 -0
  152. package/dist/components/ProgressBar.js.map +1 -0
  153. package/dist/components/ProjectDashboardView.d.ts +38 -0
  154. package/dist/components/ProjectDashboardView.d.ts.map +1 -0
  155. package/dist/components/ProjectDashboardView.js +129 -0
  156. package/dist/components/ProjectDashboardView.js.map +1 -0
  157. package/dist/components/SaveContextView.d.ts +32 -0
  158. package/dist/components/SaveContextView.d.ts.map +1 -0
  159. package/dist/components/SaveContextView.js +41 -0
  160. package/dist/components/SaveContextView.js.map +1 -0
  161. package/dist/components/SessionDetails.d.ts +14 -0
  162. package/dist/components/SessionDetails.d.ts.map +1 -0
  163. package/dist/components/SessionDetails.js +87 -0
  164. package/dist/components/SessionDetails.js.map +1 -0
  165. package/dist/components/SessionsExperimentView.d.ts +35 -0
  166. package/dist/components/SessionsExperimentView.d.ts.map +1 -0
  167. package/dist/components/SessionsExperimentView.js +347 -0
  168. package/dist/components/SessionsExperimentView.js.map +1 -0
  169. package/dist/components/SessionsList.d.ts +20 -0
  170. package/dist/components/SessionsList.d.ts.map +1 -0
  171. package/dist/components/SessionsList.js +75 -0
  172. package/dist/components/SessionsList.js.map +1 -0
  173. package/dist/components/SettingsView.d.ts +48 -0
  174. package/dist/components/SettingsView.d.ts.map +1 -0
  175. package/dist/components/SettingsView.js +156 -0
  176. package/dist/components/SettingsView.js.map +1 -0
  177. package/dist/components/SourceSelectionView.d.ts +26 -0
  178. package/dist/components/SourceSelectionView.d.ts.map +1 -0
  179. package/dist/components/SourceSelectionView.js +109 -0
  180. package/dist/components/SourceSelectionView.js.map +1 -0
  181. package/dist/components/VerticalMenu.d.ts +18 -0
  182. package/dist/components/VerticalMenu.d.ts.map +1 -0
  183. package/dist/components/VerticalMenu.js +15 -0
  184. package/dist/components/VerticalMenu.js.map +1 -0
  185. package/dist/components/ascii-art/index.d.ts +6 -0
  186. package/dist/components/ascii-art/index.d.ts.map +1 -0
  187. package/dist/components/ascii-art/index.js +6 -0
  188. package/dist/components/ascii-art/index.js.map +1 -0
  189. package/dist/components/ascii-art/progress.d.ts +53 -0
  190. package/dist/components/ascii-art/progress.d.ts.map +1 -0
  191. package/dist/components/ascii-art/progress.js +102 -0
  192. package/dist/components/ascii-art/progress.js.map +1 -0
  193. package/dist/components/ascii-art/scene.d.ts +34 -0
  194. package/dist/components/ascii-art/scene.d.ts.map +1 -0
  195. package/dist/components/ascii-art/scene.js +72 -0
  196. package/dist/components/ascii-art/scene.js.map +1 -0
  197. package/dist/components/index.d.ts +27 -0
  198. package/dist/components/index.d.ts.map +1 -0
  199. package/dist/components/index.js +25 -0
  200. package/dist/components/index.js.map +1 -0
  201. package/dist/components/layout/HorizontalLayout.d.ts +19 -0
  202. package/dist/components/layout/HorizontalLayout.d.ts.map +1 -0
  203. package/dist/components/layout/HorizontalLayout.js +62 -0
  204. package/dist/components/layout/HorizontalLayout.js.map +1 -0
  205. package/dist/components/layout/VerticalLayout.d.ts +16 -0
  206. package/dist/components/layout/VerticalLayout.d.ts.map +1 -0
  207. package/dist/components/layout/VerticalLayout.js +32 -0
  208. package/dist/components/layout/VerticalLayout.js.map +1 -0
  209. package/dist/components/layout/index.d.ts +6 -0
  210. package/dist/components/layout/index.d.ts.map +1 -0
  211. package/dist/components/layout/index.js +4 -0
  212. package/dist/components/layout/index.js.map +1 -0
  213. package/dist/components/layout/theme.d.ts +20 -0
  214. package/dist/components/layout/theme.d.ts.map +1 -0
  215. package/dist/components/layout/theme.js +23 -0
  216. package/dist/components/layout/theme.js.map +1 -0
  217. package/dist/components/setup/DoneStep.d.ts +7 -0
  218. package/dist/components/setup/DoneStep.d.ts.map +1 -0
  219. package/dist/components/setup/DoneStep.js +31 -0
  220. package/dist/components/setup/DoneStep.js.map +1 -0
  221. package/dist/components/setup/InstallingStep.d.ts +11 -0
  222. package/dist/components/setup/InstallingStep.d.ts.map +1 -0
  223. package/dist/components/setup/InstallingStep.js +27 -0
  224. package/dist/components/setup/InstallingStep.js.map +1 -0
  225. package/dist/components/setup/OptionsStep.d.ts +9 -0
  226. package/dist/components/setup/OptionsStep.d.ts.map +1 -0
  227. package/dist/components/setup/OptionsStep.js +39 -0
  228. package/dist/components/setup/OptionsStep.js.map +1 -0
  229. package/dist/components/setup/PrerequisitesStep.d.ts +7 -0
  230. package/dist/components/setup/PrerequisitesStep.d.ts.map +1 -0
  231. package/dist/components/setup/PrerequisitesStep.js +31 -0
  232. package/dist/components/setup/PrerequisitesStep.js.map +1 -0
  233. package/dist/components/setup/SetupFrame.d.ts +17 -0
  234. package/dist/components/setup/SetupFrame.d.ts.map +1 -0
  235. package/dist/components/setup/SetupFrame.js +33 -0
  236. package/dist/components/setup/SetupFrame.js.map +1 -0
  237. package/dist/components/setup/SetupWizard.d.ts +9 -0
  238. package/dist/components/setup/SetupWizard.d.ts.map +1 -0
  239. package/dist/components/setup/SetupWizard.js +149 -0
  240. package/dist/components/setup/SetupWizard.js.map +1 -0
  241. package/dist/components/setup/Spinner.d.ts +10 -0
  242. package/dist/components/setup/Spinner.d.ts.map +1 -0
  243. package/dist/components/setup/Spinner.js +20 -0
  244. package/dist/components/setup/Spinner.js.map +1 -0
  245. package/dist/components/setup/SyncStep.d.ts +11 -0
  246. package/dist/components/setup/SyncStep.d.ts.map +1 -0
  247. package/dist/components/setup/SyncStep.js +47 -0
  248. package/dist/components/setup/SyncStep.js.map +1 -0
  249. package/dist/components/setup/VerificationStep.d.ts +7 -0
  250. package/dist/components/setup/VerificationStep.d.ts.map +1 -0
  251. package/dist/components/setup/VerificationStep.js +27 -0
  252. package/dist/components/setup/VerificationStep.js.map +1 -0
  253. package/dist/components/setup/WelcomeStep.d.ts +6 -0
  254. package/dist/components/setup/WelcomeStep.d.ts.map +1 -0
  255. package/dist/components/setup/WelcomeStep.js +17 -0
  256. package/dist/components/setup/WelcomeStep.js.map +1 -0
  257. package/dist/components/shared/ProgressLine.d.ts +10 -0
  258. package/dist/components/shared/ProgressLine.d.ts.map +1 -0
  259. package/dist/components/shared/ProgressLine.js +18 -0
  260. package/dist/components/shared/ProgressLine.js.map +1 -0
  261. package/dist/components/shared/ProjectLine.d.ts +10 -0
  262. package/dist/components/shared/ProjectLine.d.ts.map +1 -0
  263. package/dist/components/shared/ProjectLine.js +19 -0
  264. package/dist/components/shared/ProjectLine.js.map +1 -0
  265. package/dist/components/shared/ScanningIndicator.d.ts +9 -0
  266. package/dist/components/shared/ScanningIndicator.d.ts.map +1 -0
  267. package/dist/components/shared/ScanningIndicator.js +22 -0
  268. package/dist/components/shared/ScanningIndicator.js.map +1 -0
  269. package/dist/components/shared/StatusLine.d.ts +13 -0
  270. package/dist/components/shared/StatusLine.d.ts.map +1 -0
  271. package/dist/components/shared/StatusLine.js +24 -0
  272. package/dist/components/shared/StatusLine.js.map +1 -0
  273. package/dist/components/shared/StatusLine.test.d.ts +8 -0
  274. package/dist/components/shared/StatusLine.test.d.ts.map +1 -0
  275. package/dist/components/shared/StatusLine.test.js +50 -0
  276. package/dist/components/shared/StatusLine.test.js.map +1 -0
  277. package/dist/components/shared/index.d.ts +4 -0
  278. package/dist/components/shared/index.d.ts.map +1 -0
  279. package/dist/components/shared/index.js +4 -0
  280. package/dist/components/shared/index.js.map +1 -0
  281. package/dist/handoff/catalog.test.d.ts +5 -0
  282. package/dist/handoff/catalog.test.d.ts.map +1 -0
  283. package/dist/handoff/catalog.test.js +172 -0
  284. package/dist/handoff/catalog.test.js.map +1 -0
  285. package/dist/handoff/subagents.test.d.ts +8 -0
  286. package/dist/handoff/subagents.test.d.ts.map +1 -0
  287. package/dist/handoff/subagents.test.js +139 -0
  288. package/dist/handoff/subagents.test.js.map +1 -0
  289. package/dist/hooks/useAddContextFlow.d.ts +29 -0
  290. package/dist/hooks/useAddContextFlow.d.ts.map +1 -0
  291. package/dist/hooks/useAddContextFlow.js +83 -0
  292. package/dist/hooks/useAddContextFlow.js.map +1 -0
  293. package/dist/hooks/useArchiveBrowser.d.ts +37 -0
  294. package/dist/hooks/useArchiveBrowser.d.ts.map +1 -0
  295. package/dist/hooks/useArchiveBrowser.js +175 -0
  296. package/dist/hooks/useArchiveBrowser.js.map +1 -0
  297. package/dist/hooks/useClaudeToken.d.ts +29 -0
  298. package/dist/hooks/useClaudeToken.d.ts.map +1 -0
  299. package/dist/hooks/useClaudeToken.js +166 -0
  300. package/dist/hooks/useClaudeToken.js.map +1 -0
  301. package/dist/hooks/useGoogleDocsBrowser.d.ts +29 -0
  302. package/dist/hooks/useGoogleDocsBrowser.d.ts.map +1 -0
  303. package/dist/hooks/useGoogleDocsBrowser.js +146 -0
  304. package/dist/hooks/useGoogleDocsBrowser.js.map +1 -0
  305. package/dist/hooks/useHandoffBrowser.d.ts +27 -0
  306. package/dist/hooks/useHandoffBrowser.d.ts.map +1 -0
  307. package/dist/hooks/useHandoffBrowser.js +92 -0
  308. package/dist/hooks/useHandoffBrowser.js.map +1 -0
  309. package/dist/hooks/useJacquesClient.d.ts +69 -0
  310. package/dist/hooks/useJacquesClient.d.ts.map +1 -0
  311. package/dist/hooks/useJacquesClient.js +248 -0
  312. package/dist/hooks/useJacquesClient.js.map +1 -0
  313. package/dist/hooks/useLlmWorking.d.ts +30 -0
  314. package/dist/hooks/useLlmWorking.d.ts.map +1 -0
  315. package/dist/hooks/useLlmWorking.js +127 -0
  316. package/dist/hooks/useLlmWorking.js.map +1 -0
  317. package/dist/hooks/useLoadContext.d.ts +27 -0
  318. package/dist/hooks/useLoadContext.d.ts.map +1 -0
  319. package/dist/hooks/useLoadContext.js +102 -0
  320. package/dist/hooks/useLoadContext.js.map +1 -0
  321. package/dist/hooks/useNotification.d.ts +36 -0
  322. package/dist/hooks/useNotification.d.ts.map +1 -0
  323. package/dist/hooks/useNotification.js +89 -0
  324. package/dist/hooks/useNotification.js.map +1 -0
  325. package/dist/hooks/useNotification.test.d.ts +9 -0
  326. package/dist/hooks/useNotification.test.d.ts.map +1 -0
  327. package/dist/hooks/useNotification.test.js +144 -0
  328. package/dist/hooks/useNotification.test.js.map +1 -0
  329. package/dist/hooks/useNotionBrowser.d.ts +30 -0
  330. package/dist/hooks/useNotionBrowser.d.ts.map +1 -0
  331. package/dist/hooks/useNotionBrowser.js +154 -0
  332. package/dist/hooks/useNotionBrowser.js.map +1 -0
  333. package/dist/hooks/useObsidianBrowser.d.ts +42 -0
  334. package/dist/hooks/useObsidianBrowser.d.ts.map +1 -0
  335. package/dist/hooks/useObsidianBrowser.js +63 -0
  336. package/dist/hooks/useObsidianBrowser.js.map +1 -0
  337. package/dist/hooks/useObsidianConfig.d.ts +28 -0
  338. package/dist/hooks/useObsidianConfig.d.ts.map +1 -0
  339. package/dist/hooks/useObsidianConfig.js +119 -0
  340. package/dist/hooks/useObsidianConfig.js.map +1 -0
  341. package/dist/hooks/useObsidianFileBrowser.d.ts +29 -0
  342. package/dist/hooks/useObsidianFileBrowser.d.ts.map +1 -0
  343. package/dist/hooks/useObsidianFileBrowser.js +114 -0
  344. package/dist/hooks/useObsidianFileBrowser.js.map +1 -0
  345. package/dist/hooks/useProjectDashboard.d.ts +38 -0
  346. package/dist/hooks/useProjectDashboard.d.ts.map +1 -0
  347. package/dist/hooks/useProjectDashboard.js +224 -0
  348. package/dist/hooks/useProjectDashboard.js.map +1 -0
  349. package/dist/hooks/useProjectSelector.d.ts +17 -0
  350. package/dist/hooks/useProjectSelector.d.ts.map +1 -0
  351. package/dist/hooks/useProjectSelector.js +43 -0
  352. package/dist/hooks/useProjectSelector.js.map +1 -0
  353. package/dist/hooks/useProjectSelector.test.d.ts +7 -0
  354. package/dist/hooks/useProjectSelector.test.d.ts.map +1 -0
  355. package/dist/hooks/useProjectSelector.test.js +117 -0
  356. package/dist/hooks/useProjectSelector.test.js.map +1 -0
  357. package/dist/hooks/useSaveFlow.d.ts +30 -0
  358. package/dist/hooks/useSaveFlow.d.ts.map +1 -0
  359. package/dist/hooks/useSaveFlow.js +195 -0
  360. package/dist/hooks/useSaveFlow.js.map +1 -0
  361. package/dist/hooks/useSessions.test.d.ts +7 -0
  362. package/dist/hooks/useSessions.test.d.ts.map +1 -0
  363. package/dist/hooks/useSessions.test.js +153 -0
  364. package/dist/hooks/useSessions.test.js.map +1 -0
  365. package/dist/hooks/useSessionsExperiment.d.ts +97 -0
  366. package/dist/hooks/useSessionsExperiment.d.ts.map +1 -0
  367. package/dist/hooks/useSessionsExperiment.js +321 -0
  368. package/dist/hooks/useSessionsExperiment.js.map +1 -0
  369. package/dist/hooks/useSettings.d.ts +47 -0
  370. package/dist/hooks/useSettings.d.ts.map +1 -0
  371. package/dist/hooks/useSettings.js +245 -0
  372. package/dist/hooks/useSettings.js.map +1 -0
  373. package/dist/hooks/useSetupWizard.d.ts +35 -0
  374. package/dist/hooks/useSetupWizard.d.ts.map +1 -0
  375. package/dist/hooks/useSetupWizard.js +438 -0
  376. package/dist/hooks/useSetupWizard.js.map +1 -0
  377. package/dist/hooks/useUsageLimits.d.ts +24 -0
  378. package/dist/hooks/useUsageLimits.d.ts.map +1 -0
  379. package/dist/hooks/useUsageLimits.js +58 -0
  380. package/dist/hooks/useUsageLimits.js.map +1 -0
  381. package/dist/hooks/useUsageLimits.test.d.ts +7 -0
  382. package/dist/hooks/useUsageLimits.test.d.ts.map +1 -0
  383. package/dist/hooks/useUsageLimits.test.js +136 -0
  384. package/dist/hooks/useUsageLimits.test.js.map +1 -0
  385. package/dist/hooks/useWorktrees.d.ts +28 -0
  386. package/dist/hooks/useWorktrees.d.ts.map +1 -0
  387. package/dist/hooks/useWorktrees.js +57 -0
  388. package/dist/hooks/useWorktrees.js.map +1 -0
  389. package/dist/hooks/useWorktrees.test.d.ts +7 -0
  390. package/dist/hooks/useWorktrees.test.d.ts.map +1 -0
  391. package/dist/hooks/useWorktrees.test.js +119 -0
  392. package/dist/hooks/useWorktrees.test.js.map +1 -0
  393. package/dist/templates/compact-prompt.d.ts +16 -0
  394. package/dist/templates/compact-prompt.d.ts.map +1 -0
  395. package/dist/templates/compact-prompt.js +47 -0
  396. package/dist/templates/compact-prompt.js.map +1 -0
  397. package/dist/templates/context-skill.d.ts +8 -0
  398. package/dist/templates/context-skill.d.ts.map +1 -0
  399. package/dist/templates/context-skill.js +42 -0
  400. package/dist/templates/context-skill.js.map +1 -0
  401. package/dist/types.d.ts +127 -0
  402. package/dist/types.d.ts.map +1 -0
  403. package/dist/types.js +8 -0
  404. package/dist/types.js.map +1 -0
  405. package/dist/utils/activity.d.ts +17 -0
  406. package/dist/utils/activity.d.ts.map +1 -0
  407. package/dist/utils/activity.js +78 -0
  408. package/dist/utils/activity.js.map +1 -0
  409. package/dist/utils/bottom-controls.d.ts +24 -0
  410. package/dist/utils/bottom-controls.d.ts.map +1 -0
  411. package/dist/utils/bottom-controls.js +29 -0
  412. package/dist/utils/bottom-controls.js.map +1 -0
  413. package/dist/utils/clipboard.d.ts +2 -0
  414. package/dist/utils/clipboard.d.ts.map +1 -0
  415. package/dist/utils/clipboard.js +20 -0
  416. package/dist/utils/clipboard.js.map +1 -0
  417. package/dist/utils/constants.d.ts +6 -0
  418. package/dist/utils/constants.d.ts.map +1 -0
  419. package/dist/utils/constants.js +6 -0
  420. package/dist/utils/constants.js.map +1 -0
  421. package/dist/utils/format.d.ts +17 -0
  422. package/dist/utils/format.d.ts.map +1 -0
  423. package/dist/utils/format.js +31 -0
  424. package/dist/utils/format.js.map +1 -0
  425. package/dist/utils/session-mode.d.ts +14 -0
  426. package/dist/utils/session-mode.d.ts.map +1 -0
  427. package/dist/utils/session-mode.js +29 -0
  428. package/dist/utils/session-mode.js.map +1 -0
  429. package/dist/utils/session-mode.test.d.ts +7 -0
  430. package/dist/utils/session-mode.test.d.ts.map +1 -0
  431. package/dist/utils/session-mode.test.js +102 -0
  432. package/dist/utils/session-mode.test.js.map +1 -0
  433. package/dist/utils/sessions-items-builder.d.ts +29 -0
  434. package/dist/utils/sessions-items-builder.d.ts.map +1 -0
  435. package/dist/utils/sessions-items-builder.js +394 -0
  436. package/dist/utils/sessions-items-builder.js.map +1 -0
  437. package/dist/utils/settings.d.ts +100 -0
  438. package/dist/utils/settings.d.ts.map +1 -0
  439. package/dist/utils/settings.js +206 -0
  440. package/dist/utils/settings.js.map +1 -0
  441. package/dist/websocket-client.d.ts +70 -0
  442. package/dist/websocket-client.d.ts.map +1 -0
  443. package/dist/websocket-client.js +188 -0
  444. package/dist/websocket-client.js.map +1 -0
  445. package/hooks/adapters/__init__.py +17 -0
  446. package/hooks/adapters/__pycache__/__init__.cpython-311.pyc +0 -0
  447. package/hooks/adapters/__pycache__/__init__.cpython-313.pyc +0 -0
  448. package/hooks/adapters/__pycache__/__init__.cpython-314.pyc +0 -0
  449. package/hooks/adapters/__pycache__/base.cpython-311.pyc +0 -0
  450. package/hooks/adapters/__pycache__/base.cpython-313.pyc +0 -0
  451. package/hooks/adapters/__pycache__/base.cpython-314.pyc +0 -0
  452. package/hooks/adapters/__pycache__/calibration.cpython-311.pyc +0 -0
  453. package/hooks/adapters/__pycache__/calibration.cpython-313.pyc +0 -0
  454. package/hooks/adapters/__pycache__/calibration.cpython-314.pyc +0 -0
  455. package/hooks/adapters/__pycache__/claude_code.cpython-311.pyc +0 -0
  456. package/hooks/adapters/__pycache__/claude_code.cpython-313.pyc +0 -0
  457. package/hooks/adapters/__pycache__/claude_code.cpython-314.pyc +0 -0
  458. package/hooks/adapters/__pycache__/cursor.cpython-311.pyc +0 -0
  459. package/hooks/adapters/__pycache__/cursor.cpython-313.pyc +0 -0
  460. package/hooks/adapters/__pycache__/cursor.cpython-314.pyc +0 -0
  461. package/hooks/adapters/__pycache__/skills.cpython-311.pyc +0 -0
  462. package/hooks/adapters/__pycache__/skills.cpython-313.pyc +0 -0
  463. package/hooks/adapters/__pycache__/skills.cpython-314.pyc +0 -0
  464. package/hooks/adapters/__pycache__/test_adapters.cpython-311-pytest-9.0.2.pyc +0 -0
  465. package/hooks/adapters/__pycache__/test_adapters.cpython-313.pyc +0 -0
  466. package/hooks/adapters/__pycache__/test_calibration.cpython-311-pytest-9.0.2.pyc +0 -0
  467. package/hooks/adapters/__pycache__/test_skills.cpython-311-pytest-9.0.2.pyc +0 -0
  468. package/hooks/adapters/__pycache__/test_tokenizer.cpython-311-pytest-9.0.2.pyc +0 -0
  469. package/hooks/adapters/__pycache__/tokenizer.cpython-311.pyc +0 -0
  470. package/hooks/adapters/__pycache__/tokenizer.cpython-313.pyc +0 -0
  471. package/hooks/adapters/__pycache__/tokenizer.cpython-314.pyc +0 -0
  472. package/hooks/adapters/base.py +459 -0
  473. package/hooks/adapters/calibration.py +236 -0
  474. package/hooks/adapters/claude_code.py +316 -0
  475. package/hooks/adapters/context_parser.py +288 -0
  476. package/hooks/adapters/cursor.py +258 -0
  477. package/hooks/adapters/skills.py +160 -0
  478. package/hooks/adapters/template.py +281 -0
  479. package/hooks/adapters/test_adapters.py +516 -0
  480. package/hooks/adapters/test_calibration.py +235 -0
  481. package/hooks/adapters/test_skills.py +162 -0
  482. package/hooks/adapters/test_tokenizer.py +158 -0
  483. package/hooks/adapters/tokenizer.py +192 -0
  484. package/hooks/claude-code/pre-tool-use.py +36 -0
  485. package/hooks/claude-code/register-session.py +35 -0
  486. package/hooks/claude-code/report-activity.py +32 -0
  487. package/hooks/claude-code/session-idle.py +32 -0
  488. package/hooks/claude-code/statusline.sh +91 -0
  489. package/hooks/claude-code/unregister-session.py +32 -0
  490. package/hooks/cursor/README.md +61 -0
  491. package/hooks/cursor/after-agent-response.py +97 -0
  492. package/hooks/cursor/hooks.json.template +30 -0
  493. package/hooks/cursor/post-tool-use.py +32 -0
  494. package/hooks/cursor/pre-compact.py +61 -0
  495. package/hooks/cursor/session-end.py +32 -0
  496. package/hooks/cursor/session-start.py +66 -0
  497. package/hooks/git-detect.sh +47 -0
  498. package/hooks/install.py +441 -0
  499. package/hooks/jacques-register-session.py +286 -0
  500. package/hooks/jacques-report-activity.py +145 -0
  501. package/hooks/jacques-session-idle.py +57 -0
  502. package/hooks/jacques-unregister-session.py +57 -0
  503. package/hooks/requirements.txt +9 -0
  504. package/hooks/statusline.py +457 -0
  505. package/hooks/statusline.sh +212 -0
  506. package/package.json +63 -0
  507. package/skills/jacques-continue/SKILL.md +87 -0
  508. package/skills/jacques-handoff/SKILL.md +147 -0
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Minimalist night sky scene with gradient block art
3
+ * Uses: █ ▓ ▒ ░ for shading, * for stars
4
+ *
5
+ * Design philosophy: Sparse, zen-like, professional
6
+ */
7
+ // Full scene for wide terminals (≥90 chars)
8
+ export const SCENE_FULL = [
9
+ " * █████▓▓░",
10
+ " * ███▓░ ░░",
11
+ " ░░░░░░ ███▓░",
12
+ " ░░░ ░░░░░░░░░░ ███▓░",
13
+ " ░░░░░░░░░░░░░░░░░░░ * ██▓░░ ▓",
14
+ " ░▓▓███▓▓░",
15
+ " * ░░░░",
16
+ " ░░░░░░░░",
17
+ " ░░░░░░░░░░░░░░░░",
18
+ " █████████ *",
19
+ " ██▄█████▄██ *",
20
+ " █████████ *",
21
+ ];
22
+ // Compact scene for medium terminals (70-89 chars)
23
+ export const SCENE_COMPACT = [
24
+ " * █████▓▓░",
25
+ " ███▓░ ░░",
26
+ " ░░░░░░ ███▓░",
27
+ " ░░░░░░░░░░░ * ██▓░░",
28
+ ];
29
+ // Scene width constants
30
+ export const SCENE_FULL_WIDTH = 52;
31
+ export const SCENE_COMPACT_WIDTH = 30;
32
+ export const SCENE_FULL_HEIGHT = 12;
33
+ export const SCENE_COMPACT_HEIGHT = 4;
34
+ /**
35
+ * Generate a dotted border line
36
+ * Uses the … (horizontal ellipsis) character for a subtle, zen border
37
+ */
38
+ export function dotLine(width) {
39
+ return "…".repeat(width);
40
+ }
41
+ /**
42
+ * Generate a thin section separator line
43
+ * Uses ─ (box drawing horizontal) for clean section breaks
44
+ */
45
+ export function sectionLine(width) {
46
+ return "─".repeat(width);
47
+ }
48
+ /**
49
+ * Get the appropriate scene for terminal width
50
+ */
51
+ export function getScene(terminalWidth) {
52
+ if (terminalWidth >= 90) {
53
+ return SCENE_FULL;
54
+ }
55
+ else if (terminalWidth >= 70) {
56
+ return SCENE_COMPACT;
57
+ }
58
+ return []; // No scene for minimal layout
59
+ }
60
+ /**
61
+ * Get scene dimensions for layout calculations
62
+ */
63
+ export function getSceneDimensions(terminalWidth) {
64
+ if (terminalWidth >= 90) {
65
+ return { width: SCENE_FULL_WIDTH, height: SCENE_FULL_HEIGHT };
66
+ }
67
+ else if (terminalWidth >= 70) {
68
+ return { width: SCENE_COMPACT_WIDTH, height: SCENE_COMPACT_HEIGHT };
69
+ }
70
+ return { width: 0, height: 0 };
71
+ }
72
+ //# sourceMappingURL=scene.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scene.js","sourceRoot":"","sources":["../../../src/components/ascii-art/scene.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,4CAA4C;AAC5C,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,uDAAuD;IACvD,yDAAyD;IACzD,iDAAiD;IACjD,iDAAiD;IACjD,yDAAyD;IACzD,wDAAwD;IACxD,yCAAyC;IACzC,2CAA2C;IAC3C,iDAAiD;IACjD,2DAA2D;IAC3D,4CAA4C;IAC5C,yBAAyB;CAC1B,CAAC;AAEF,mDAAmD;AACnD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,+BAA+B;IAC/B,iCAAiC;IACjC,yBAAyB;IACzB,0BAA0B;CAC3B,CAAC;AAEF,wBAAwB;AACxB,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAC;AACnC,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AACtC,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,CAAC;AACpC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAEtC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,KAAa;IACnC,OAAO,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,KAAa;IACvC,OAAO,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,QAAQ,CAAC,aAAqB;IAC5C,IAAI,aAAa,IAAI,EAAE,EAAE,CAAC;QACxB,OAAO,UAAU,CAAC;IACpB,CAAC;SAAM,IAAI,aAAa,IAAI,EAAE,EAAE,CAAC;QAC/B,OAAO,aAAa,CAAC;IACvB,CAAC;IACD,OAAO,EAAE,CAAC,CAAC,8BAA8B;AAC3C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,aAAqB;IAItD,IAAI,aAAa,IAAI,EAAE,EAAE,CAAC;QACxB,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAChE,CAAC;SAAM,IAAI,aAAa,IAAI,EAAE,EAAE,CAAC;QAC/B,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,MAAM,EAAE,oBAAoB,EAAE,CAAC;IACtE,CAAC;IACD,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;AACjC,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Components barrel export
3
+ */
4
+ export { App } from './App.js';
5
+ export { ContextProgress } from './ContextProgress.js';
6
+ export { Dashboard } from './Dashboard.js';
7
+ export { Header } from './Header.js';
8
+ export { Mascot } from './Mascot.js';
9
+ export { Menu, DEFAULT_MENU_ITEMS } from './Menu.js';
10
+ export type { MenuItem } from './Menu.js';
11
+ export { ProgressBar, MiniProgress } from './ProgressBar.js';
12
+ export { ImageMascot } from './ImageMascot.js';
13
+ export { ContentBox } from './ContentBox.js';
14
+ export { VerticalMenu } from './VerticalMenu.js';
15
+ export type { VerticalMenuItem } from './VerticalMenu.js';
16
+ export { LoadContextView, LOAD_OPTIONS } from './LoadContextView.js';
17
+ export type { LoadOption } from './LoadContextView.js';
18
+ export { SourceSelectionView, buildSourceItems } from './SourceSelectionView.js';
19
+ export type { SourceItem } from './SourceSelectionView.js';
20
+ export { ObsidianConfigView } from './ObsidianConfigView.js';
21
+ export { ObsidianBrowserView, VISIBLE_ITEMS } from './ObsidianBrowserView.js';
22
+ export { AddContextConfirmView } from './AddContextConfirmView.js';
23
+ export { ProjectDashboardView, VISIBLE_SESSIONS, VISIBLE_PLANS } from './ProjectDashboardView.js';
24
+ export type { ProjectDashboardViewProps } from './ProjectDashboardView.js';
25
+ export { PlanViewerView, PLAN_VIEWER_VISIBLE_LINES } from './PlanViewerView.js';
26
+ export * from './ascii-art/index.js';
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACrD,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACrE,YAAY,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjF,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAClG,YAAY,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAGhF,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Components barrel export
3
+ */
4
+ export { App } from './App.js';
5
+ export { ContextProgress } from './ContextProgress.js';
6
+ export { Dashboard } from './Dashboard.js';
7
+ export { Header } from './Header.js';
8
+ export { Mascot } from './Mascot.js';
9
+ export { Menu, DEFAULT_MENU_ITEMS } from './Menu.js';
10
+ export { ProgressBar, MiniProgress } from './ProgressBar.js';
11
+ export { ImageMascot } from './ImageMascot.js';
12
+ export { ContentBox } from './ContentBox.js';
13
+ export { VerticalMenu } from './VerticalMenu.js';
14
+ // LoadContext views
15
+ export { LoadContextView, LOAD_OPTIONS } from './LoadContextView.js';
16
+ export { SourceSelectionView, buildSourceItems } from './SourceSelectionView.js';
17
+ export { ObsidianConfigView } from './ObsidianConfigView.js';
18
+ export { ObsidianBrowserView, VISIBLE_ITEMS } from './ObsidianBrowserView.js';
19
+ export { AddContextConfirmView } from './AddContextConfirmView.js';
20
+ // Project Dashboard views
21
+ export { ProjectDashboardView, VISIBLE_SESSIONS, VISIBLE_PLANS } from './ProjectDashboardView.js';
22
+ export { PlanViewerView, PLAN_VIEWER_VISIBLE_LINES } from './PlanViewerView.js';
23
+ // ASCII Art utilities
24
+ export * from './ascii-art/index.js';
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,oBAAoB;AACpB,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,0BAA0B;AAC1B,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAElG,OAAO,EAAE,cAAc,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,sBAAsB;AACtB,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Horizontal layout with border for wide terminals.
3
+ * Extracted from Dashboard.tsx.
4
+ */
5
+ import React from "react";
6
+ export interface HorizontalLayoutProps {
7
+ content: React.ReactNode[];
8
+ terminalWidth: number;
9
+ title: string;
10
+ showVersion: boolean;
11
+ sessionCount?: number;
12
+ notification?: string | null;
13
+ /** Custom bottom controls. If omitted, default [Q]uit [P]rojects [W]eb shown. */
14
+ bottomControls?: React.ReactNode;
15
+ /** Character width of bottomControls text for border calculation. */
16
+ bottomControlsWidth?: number;
17
+ }
18
+ export declare function HorizontalLayout({ content, terminalWidth, title, showVersion, sessionCount, notification, bottomControls, bottomControlsWidth, }: HorizontalLayoutProps): React.ReactElement;
19
+ //# sourceMappingURL=HorizontalLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HorizontalLayout.d.ts","sourceRoot":"","sources":["../../../src/components/layout/HorizontalLayout.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iFAAiF;IACjF,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,qEAAqE;IACrE,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,mBAAmB,GACpB,EAAE,qBAAqB,GAAG,KAAK,CAAC,YAAY,CA+H5C"}
@@ -0,0 +1,62 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Box, Text } from "ink";
3
+ import { MASCOT_ANSI } from "../../assets/mascot-ansi.js";
4
+ import { BORDER_COLOR, ACCENT_COLOR, MUTED_TEXT, SUCCESS_COLOR, ERROR_COLOR, MASCOT_WIDTH, MIN_CONTENT_WIDTH, CONTENT_PADDING, FIXED_CONTENT_HEIGHT, } from "./theme.js";
5
+ import { buildBottomControls, MAIN_CONTROLS } from "../../utils/bottom-controls.js";
6
+ export function HorizontalLayout({ content, terminalWidth, title, showVersion, sessionCount, notification, bottomControls, bottomControlsWidth, }) {
7
+ // Calculate dimensions - make fully responsive to terminal width
8
+ const mascotVisualWidth = MASCOT_WIDTH;
9
+ const mascotPadding = 3;
10
+ const mascotDisplayWidth = mascotVisualWidth + mascotPadding;
11
+ const contentWidth = Math.max(MIN_CONTENT_WIDTH, terminalWidth - mascotDisplayWidth - 3);
12
+ // Split mascot into individual lines for rendering
13
+ const mascotLines = MASCOT_ANSI.split("\n").filter((line) => line.trim().length > 0);
14
+ const mascotHeight = mascotLines.length;
15
+ const totalHeight = FIXED_CONTENT_HEIGHT;
16
+ const mascotTopPadding = Math.floor((totalHeight - mascotHeight) / 2);
17
+ const visibleContent = content.slice(0, totalHeight);
18
+ // Title that crosses the border
19
+ const titlePart = `─ ${title}`;
20
+ const versionPart = showVersion ? ` v0.1.0` : "";
21
+ const titleLength = titlePart.length + versionPart.length;
22
+ const remainingBorder = Math.max(0, terminalWidth - titleLength - 3);
23
+ // Bottom content - either notification or controls
24
+ let bottomTextWidth;
25
+ let bottomIsNotification = false;
26
+ let bottomIsError = false;
27
+ let bottomNotificationText = "";
28
+ const { element: defaultControlsElement, width: defaultControlsWidth } = buildBottomControls(MAIN_CONTROLS);
29
+ if (notification) {
30
+ const isError = notification.startsWith("!");
31
+ const cleanMessage = isError ? notification.slice(1) : notification;
32
+ const maxNotificationLength = terminalWidth - 6;
33
+ const truncatedNotification = cleanMessage.length > maxNotificationLength
34
+ ? cleanMessage.substring(0, maxNotificationLength - 3) + "..."
35
+ : cleanMessage;
36
+ bottomNotificationText = isError
37
+ ? `✗ ${truncatedNotification}`
38
+ : `✓ ${truncatedNotification}`;
39
+ bottomTextWidth = bottomNotificationText.length;
40
+ bottomIsNotification = true;
41
+ bottomIsError = isError;
42
+ }
43
+ else if (bottomControls && bottomControlsWidth) {
44
+ bottomTextWidth = bottomControlsWidth;
45
+ }
46
+ else {
47
+ bottomTextWidth = defaultControlsWidth;
48
+ }
49
+ const totalBottomDashes = Math.max(0, terminalWidth - bottomTextWidth - 2);
50
+ const bottomLeftBorder = Math.max(1, Math.floor(totalBottomDashes / 2));
51
+ const bottomRightBorder = Math.max(1, totalBottomDashes - bottomLeftBorder);
52
+ const boxHeight = totalHeight + 2;
53
+ return (_jsxs(Box, { flexDirection: "column", height: boxHeight, flexShrink: 0, children: [_jsxs(Box, { children: [_jsx(Text, { color: BORDER_COLOR, children: "\u256D" }), _jsx(Text, { color: ACCENT_COLOR, children: titlePart }), showVersion && _jsx(Text, { color: MUTED_TEXT, children: versionPart }), _jsxs(Text, { color: BORDER_COLOR, children: [" ", "─".repeat(remainingBorder), "\u256E"] })] }), Array.from({ length: totalHeight }).map((_, rowIndex) => {
54
+ const mascotLineIndex = rowIndex - mascotTopPadding;
55
+ const mascotLine = mascotLineIndex >= 0 && mascotLineIndex < mascotLines.length
56
+ ? mascotLines[mascotLineIndex]
57
+ : "";
58
+ const contentLine = visibleContent[rowIndex];
59
+ return (_jsxs(Box, { flexDirection: "row", height: 1, children: [_jsx(Text, { color: BORDER_COLOR, children: "\u2502" }), _jsx(Box, { width: mascotDisplayWidth, justifyContent: "center", flexShrink: 0, children: _jsx(Text, { wrap: "truncate-end", children: mascotLine }) }), _jsx(Text, { color: BORDER_COLOR, children: "\u2502" }), _jsx(Box, { width: contentWidth, paddingLeft: CONTENT_PADDING, paddingRight: CONTENT_PADDING, flexShrink: 0, children: contentLine || _jsx(Text, { children: " " }) }), _jsx(Text, { color: BORDER_COLOR, children: "\u2502" })] }, rowIndex));
60
+ }), _jsxs(Box, { children: [_jsxs(Text, { color: BORDER_COLOR, children: ["\u2570", "─".repeat(bottomLeftBorder)] }), bottomIsNotification ? (_jsx(Text, { color: bottomIsError ? ERROR_COLOR : SUCCESS_COLOR, children: bottomNotificationText })) : bottomControls ? (bottomControls) : (defaultControlsElement), _jsxs(Text, { color: BORDER_COLOR, children: ["─".repeat(bottomRightBorder), "\u256F"] })] })] }));
61
+ }
62
+ //# sourceMappingURL=HorizontalLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HorizontalLayout.js","sourceRoot":"","sources":["../../../src/components/layout/HorizontalLayout.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,aAAa,EACb,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,oBAAoB,GACrB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAepF,MAAM,UAAU,gBAAgB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,mBAAmB,GACG;IACtB,iEAAiE;IACjE,MAAM,iBAAiB,GAAG,YAAY,CAAC;IACvC,MAAM,aAAa,GAAG,CAAC,CAAC;IACxB,MAAM,kBAAkB,GAAG,iBAAiB,GAAG,aAAa,CAAC;IAE7D,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,iBAAiB,EACjB,aAAa,GAAG,kBAAkB,GAAG,CAAC,CACvC,CAAC;IAEF,mDAAmD;IACnD,MAAM,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAChD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,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W,CAAC,CAAC,CAAC,aAAa,YAAG,sBAAsB,GAAQ,CAC1F,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CACnB,cAAc,CACf,CAAC,CAAC,CAAC,CACF,sBAAsB,CACvB,EACD,MAAC,IAAI,IAAC,KAAK,EAAE,YAAY,aACtB,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC,cACzB,IACH,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Vertical layout (no border) for narrow terminals.
3
+ * Extracted from Dashboard.tsx.
4
+ */
5
+ import React from "react";
6
+ export interface VerticalLayoutProps {
7
+ content: React.ReactNode[];
8
+ title: string;
9
+ showVersion: boolean;
10
+ sessionCount?: number;
11
+ notification?: string | null;
12
+ /** Custom bottom controls. If omitted, default [Q]uit shown. */
13
+ bottomControls?: React.ReactNode;
14
+ }
15
+ export declare function VerticalLayout({ content, title, showVersion, sessionCount, notification, bottomControls, }: VerticalLayoutProps): React.ReactElement;
16
+ //# sourceMappingURL=VerticalLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerticalLayout.d.ts","sourceRoot":"","sources":["../../../src/components/layout/VerticalLayout.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gEAAgE;IAChE,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC;AAED,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,cAAc,GACf,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAiE1C"}
@@ -0,0 +1,32 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Box, Text } from "ink";
3
+ import { MASCOT_ANSI } from "../../assets/mascot-ansi.js";
4
+ import { ACCENT_COLOR, MUTED_TEXT, SUCCESS_COLOR, ERROR_COLOR } from "./theme.js";
5
+ import { APP_ENDEARMENT } from "@jacques-ai/core";
6
+ import { buildBottomControls, MAIN_CONTROLS } from "../../utils/bottom-controls.js";
7
+ export function VerticalLayout({ content, title, showVersion, sessionCount, notification, bottomControls, }) {
8
+ const mascotLines = MASCOT_ANSI.split("\n").filter((l) => l.trim().length > 0);
9
+ const mascotCenter = Math.floor((mascotLines.length - 1) / 2);
10
+ return (_jsxs(Box, { flexDirection: "column", children: [_jsx(Text, { children: " " }), mascotLines.map((line, mi) => {
11
+ const textLineIndex = mi - mascotCenter;
12
+ if (textLineIndex >= 0 && textLineIndex <= 2) {
13
+ let textContent;
14
+ if (textLineIndex === 0) {
15
+ textContent = _jsx(Text, { color: MUTED_TEXT, children: APP_ENDEARMENT });
16
+ }
17
+ else if (textLineIndex === 1) {
18
+ textContent = _jsxs(Text, { bold: true, color: ACCENT_COLOR, children: [title, _jsx(Text, { color: MUTED_TEXT, children: " v0.1.0" })] });
19
+ }
20
+ else {
21
+ textContent = _jsx(Text, { color: "white", children: "Sessions Manager" });
22
+ }
23
+ return (_jsxs(Box, { flexDirection: "row", children: [_jsx(Box, { flexDirection: "column", flexShrink: 0, children: _jsx(Text, { wrap: "truncate-end", children: line }) }), _jsx(Box, { marginLeft: 2, children: textContent })] }, `m-${mi}`));
24
+ }
25
+ return _jsx(Text, { wrap: "truncate-end", children: line }, `m-${mi}`);
26
+ }), _jsx(Text, { children: " " }), _jsx(Box, { flexDirection: "column", marginTop: 1, children: content.map((line, index) => (_jsx(Box, { children: line }, index))) }), _jsx(Box, { marginTop: 1, children: notification ? ((() => {
27
+ const isError = notification.startsWith("!");
28
+ const cleanMessage = isError ? notification.slice(1) : notification;
29
+ return (_jsxs(Text, { color: isError ? ERROR_COLOR : SUCCESS_COLOR, children: [isError ? "✗" : "✓", " ", cleanMessage] }));
30
+ })()) : bottomControls ? (bottomControls) : (buildBottomControls(MAIN_CONTROLS).element) })] }));
31
+ }
32
+ //# sourceMappingURL=VerticalLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/layout/VerticalLayout.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAYpF,MAAM,UAAU,cAAc,CAAC,EAC7B,OAAO,EACP,KAAK,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,cAAc,GACM;IACpB,MAAM,WAAW,GAAG,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC/E,MAAM,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAE9D,OAAO,CACL,MAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,aAEzB,KAAC,IAAI,oBAAS,EAGb,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE;gBAC5B,MAAM,aAAa,GAAG,EAAE,GAAG,YAAY,CAAC;gBACxC,IAAI,a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,CACd,CAAC,GAAG,EAAE;oBACJ,MAAM,OAAO,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;oBAC7C,MAAM,YAAY,GAAG,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC;oBACpE,OAAO,CACL,MAAC,IAAI,IAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,aAC/C,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,OAAG,YAAY,IAC9B,CACR,CAAC;gBACJ,CAAC,CAAC,EAAE,CACL,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CACnB,cAAc,CACf,CAAC,CAAC,CAAC,CACF,mBAAmB,CAAC,aAAa,CAAC,CAAC,OAAO,CAC3C,GACG,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { HorizontalLayout } from "./HorizontalLayout.js";
2
+ export type { HorizontalLayoutProps } from "./HorizontalLayout.js";
3
+ export { VerticalLayout } from "./VerticalLayout.js";
4
+ export type { VerticalLayoutProps } from "./VerticalLayout.js";
5
+ export { BORDER_COLOR, ACCENT_COLOR, SECONDARY_COLOR, MUTED_TEXT, SUCCESS_COLOR, WARNING_COLOR, ERROR_COLOR, INVERTED_TEXT, MASCOT_WIDTH, MIN_CONTENT_WIDTH, CONTENT_PADDING, HORIZONTAL_LAYOUT_MIN_WIDTH, FIXED_CONTENT_HEIGHT, } from "./theme.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,UAAU,EACV,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { HorizontalLayout } from "./HorizontalLayout.js";
2
+ export { VerticalLayout } from "./VerticalLayout.js";
3
+ export { BORDER_COLOR, ACCENT_COLOR, SECONDARY_COLOR, MUTED_TEXT, SUCCESS_COLOR, WARNING_COLOR, ERROR_COLOR, INVERTED_TEXT, MASCOT_WIDTH, MIN_CONTENT_WIDTH, CONTENT_PADDING, HORIZONTAL_LAYOUT_MIN_WIDTH, FIXED_CONTENT_HEIGHT, } from "./theme.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,UAAU,EACV,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,YAAY,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Shared theme constants for the CLI TUI layout.
3
+ *
4
+ * Two-tone palette: muted terracotta (content) + warm sand (structure).
5
+ * Gradient: #D4764E → #A0896E → #8B9296
6
+ */
7
+ export declare const ACCENT_COLOR = "#D4764E";
8
+ export declare const BORDER_COLOR = "#A0896E";
9
+ export declare const SECONDARY_COLOR = "#A0896E";
10
+ export declare const MUTED_TEXT = "#8B9296";
11
+ export declare const SUCCESS_COLOR = "#34D399";
12
+ export declare const WARNING_COLOR = "#FBBF24";
13
+ export declare const ERROR_COLOR = "#EF4444";
14
+ export declare const INVERTED_TEXT = "#1a1a1a";
15
+ export declare const MASCOT_WIDTH = 14;
16
+ export declare const MIN_CONTENT_WIDTH = 42;
17
+ export declare const CONTENT_PADDING = 2;
18
+ export declare const HORIZONTAL_LAYOUT_MIN_WIDTH = 62;
19
+ export declare const FIXED_CONTENT_HEIGHT = 10;
20
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/components/layout/theme.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,eAAO,MAAM,YAAY,YAAY,CAAC;AACtC,eAAO,MAAM,YAAY,YAAY,CAAC;AACtC,eAAO,MAAM,eAAe,YAAY,CAAC;AACzC,eAAO,MAAM,UAAU,YAAY,CAAC;AAGpC,eAAO,MAAM,aAAa,YAAY,CAAC;AACvC,eAAO,MAAM,aAAa,YAAY,CAAC;AACvC,eAAO,MAAM,WAAW,YAAY,CAAC;AAGrC,eAAO,MAAM,aAAa,YAAY,CAAC;AACvC,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,2BAA2B,KAAK,CAAC;AAC9C,eAAO,MAAM,oBAAoB,KAAK,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Shared theme constants for the CLI TUI layout.
3
+ *
4
+ * Two-tone palette: muted terracotta (content) + warm sand (structure).
5
+ * Gradient: #D4764E → #A0896E → #8B9296
6
+ */
7
+ // Primary palette
8
+ export const ACCENT_COLOR = "#D4764E"; // Terracotta — titles, mascot, selected items, progress
9
+ export const BORDER_COLOR = "#A0896E"; // Warm sand — box borders, structural chrome
10
+ export const SECONDARY_COLOR = "#A0896E"; // Key labels, secondary interactive elements
11
+ export const MUTED_TEXT = "#8B9296"; // Cool grey — hints, inactive, dimmed
12
+ // Semantic status
13
+ export const SUCCESS_COLOR = "#34D399";
14
+ export const WARNING_COLOR = "#FBBF24";
15
+ export const ERROR_COLOR = "#EF4444";
16
+ // Utility
17
+ export const INVERTED_TEXT = "#1a1a1a"; // Dark text on accent backgrounds
18
+ export const MASCOT_WIDTH = 14;
19
+ export const MIN_CONTENT_WIDTH = 42;
20
+ export const CONTENT_PADDING = 2;
21
+ export const HORIZONTAL_LAYOUT_MIN_WIDTH = 62;
22
+ export const FIXED_CONTENT_HEIGHT = 10;
23
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/components/layout/theme.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,kBAAkB;AAClB,MAAM,CAAC,MAAM,YAAY,GAAG,SAAS,CAAC,CAAM,wDAAwD;AACpG,MAAM,CAAC,MAAM,YAAY,GAAG,SAAS,CAAC,CAAM,6CAA6C;AACzF,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC,CAAG,6CAA6C;AACzF,MAAM,CAAC,MAAM,UAAU,GAAG,SAAS,CAAC,CAAS,sCAAsC;AAEnF,kBAAkB;AAClB,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AACvC,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AACvC,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC;AAErC,UAAU;AACV,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC,CAAK,kCAAkC;AAC9E,MAAM,CAAC,MAAM,YAAY,GAAG,EAAE,CAAC;AAC/B,MAAM,CAAC,MAAM,iBAAiB,GAAG,EAAE,CAAC;AACpC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC;AACjC,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,CAAC;AAC9C,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * DoneStep — final summary and next steps (condensed for 9-line budget).
3
+ */
4
+ import React from "react";
5
+ import type { SetupOptions, SyncResult } from "@jacques-ai/core";
6
+ export declare function buildDoneContent(options: SetupOptions, syncResult: SyncResult | null): React.ReactNode[];
7
+ //# sourceMappingURL=DoneStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DoneStep.d.ts","sourceRoot":"","sources":["../../../src/components/setup/DoneStep.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEjE,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,YAAY,EACrB,UAAU,EAAE,UAAU,GAAG,IAAI,GAC5B,KAAK,CAAC,SAAS,EAAE,CA2DnB"}
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Text } from "ink";
3
+ import { ACCENT_COLOR, MUTED_TEXT, SUCCESS_COLOR, } from "../layout/theme.js";
4
+ export function buildDoneContent(options, syncResult) {
5
+ const lines = [];
6
+ lines.push(_jsx(Text, { children: " " }, "spacer-1"));
7
+ lines.push(_jsx(Text, { color: SUCCESS_COLOR, bold: true, children: "Setup Complete!" }, "heading"));
8
+ // Installed items — one per line for clarity
9
+ lines.push(_jsxs(Text, { children: [" ", _jsx(Text, { color: SUCCESS_COLOR, children: "\u2713" }), _jsx(Text, { color: "white", children: " Hooks installed (5 hooks configured)" })] }, "hooks"));
10
+ if (options.installStatusLine || options.installSkills) {
11
+ const parts = [];
12
+ if (options.installStatusLine)
13
+ parts.push("StatusLine");
14
+ if (options.installSkills)
15
+ parts.push("Skills");
16
+ lines.push(_jsxs(Text, { children: [" ", _jsx(Text, { color: SUCCESS_COLOR, children: "\u2713" }), _jsxs(Text, { color: "white", children: [" ", parts.join(" · "), " enabled"] })] }, "optional"));
17
+ }
18
+ if (syncResult) {
19
+ lines.push(_jsxs(Text, { children: [" ", _jsx(Text, { color: SUCCESS_COLOR, children: "\u2713" }), _jsxs(Text, { color: "white", children: [" ", syncResult.indexed, " sessions indexed"] })] }, "sync"));
20
+ }
21
+ lines.push(_jsx(Text, { children: " " }, "spacer-2"));
22
+ lines.push(_jsx(Text, { color: ACCENT_COLOR, bold: true, children: "Next steps:" }, "next-label"));
23
+ lines.push(_jsxs(Text, { children: [_jsx(Text, { color: ACCENT_COLOR, children: " 1." }), _jsx(Text, { color: "white", children: " Run " }), _jsx(Text, { color: MUTED_TEXT, children: "jacques" }), _jsx(Text, { color: "white", children: " to start the dashboard" })] }, "next-1"));
24
+ lines.push(_jsxs(Text, { children: [_jsx(Text, { color: ACCENT_COLOR, children: " 2." }), _jsx(Text, { color: "white", children: " Web GUI at " }), _jsx(Text, { color: MUTED_TEXT, children: "http://localhost:4243" })] }, "next-2"));
25
+ // Pad to 9 lines
26
+ while (lines.length < 9) {
27
+ lines.push(_jsx(Text, { children: " " }, `pad-${lines.length}`));
28
+ }
29
+ return lines;
30
+ }
31
+ //# sourceMappingURL=DoneStep.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DoneStep.js","sourceRoot":"","sources":["../../../src/components/setup/DoneStep.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EACL,YAAY,EACZ,UAAU,EACV,aAAa,GACd,MAAM,oBAAoB,CAAC;AAG5B,MAAM,UAAU,gBAAgB,CAC9B,OAAqB,EACrB,UAA6B;IAE7B,MAAM,KAAK,GAAsB,EAAE,CAAC;IAEpC,KAAK,CAAC,IAAI,CAAC,KAAC,IAAI,qBAAK,UAAU,CAAS,CAAC,CAAC;IAC1C,KAAK,CAAC,IAAI,CAAC,KAAC,IAAI,IAAe,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C,IAAI,eACH,KAAC,IAAI,IAAC,KAAK,EAAE,YAAY,qBAAa,EACtC,KAAC,IAAI,IAAC,KAAK,EAAC,OAAO,sBAAa,EAChC,KAAC,IAAI,IAAC,KAAK,EAAE,UAAU,wBAAgB,EACvC,KAAC,IAAI,IAAC,KAAK,EAAC,OAAO,wCAA+B,KAJ1C,QAAQ,CAKX,CACR,CAAC;IACF,KAAK,CAAC,IAAI,CACR,MAAC,IAAI,eACH,KAAC,IAAI,IAAC,KAAK,EAAE,YAAY,qBAAa,EACtC,KAAC,IAAI,IAAC,KAAK,EAAC,OAAO,6BAAoB,EACvC,KAAC,IAAI,IAAC,KAAK,EAAE,UAAU,sCAA8B,KAH7C,QAAQ,CAIX,CACR,CAAC;IAEF,iBAAiB;IACjB,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,KAAK,CAAC,IAAI,CAAC,KAAC,IAAI,qBAAM,OAAO,KAAK,CAAC,MAAM,EAAE,CAAU,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * InstallingStep — animated progress through installation substeps.
3
+ */
4
+ import React from "react";
5
+ export interface InstallSubstep {
6
+ label: string;
7
+ status: "pending" | "running" | "done" | "failed" | "skipped";
8
+ message?: string;
9
+ }
10
+ export declare function buildInstallingContent(substeps: InstallSubstep[], currentIndex: number): React.ReactNode[];
11
+ //# sourceMappingURL=InstallingStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InstallingStep.d.ts","sourceRoot":"","sources":["../../../src/components/setup/InstallingStep.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,cAAc,EAAE,EAC1B,YAAY,EAAE,MAAM,GACnB,KAAK,CAAC,SAAS,EAAE,CAiDnB"}
@@ -0,0 +1,27 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Text } from "ink";
3
+ import { ACCENT_COLOR, MUTED_TEXT, SUCCESS_COLOR, ERROR_COLOR, } from "../layout/theme.js";
4
+ import { Spinner } from "./Spinner.js";
5
+ export function buildInstallingContent(substeps, currentIndex) {
6
+ const completed = substeps.filter((s) => s.status === "done").length;
7
+ const total = substeps.length;
8
+ const percent = total > 0 ? Math.round((completed / total) * 100) : 0;
9
+ const barWidth = 25;
10
+ const filled = Math.round((completed / Math.max(1, total)) * barWidth);
11
+ const empty = barWidth - filled;
12
+ const lines = [];
13
+ lines.push(_jsx(Text, { color: "white", bold: true, children: "Installing..." }, "heading"));
14
+ lines.push(_jsx(Text, { children: " " }, "spacer-1"));
15
+ for (let i = 0; i < substeps.length; i++) {
16
+ const step = substeps[i];
17
+ lines.push(_jsxs(Text, { children: [step.status === "done" && _jsx(Text, { color: SUCCESS_COLOR, children: "\u2713" }), step.status === "failed" && _jsx(Text, { color: ERROR_COLOR, children: "\u2717" }), step.status === "skipped" && _jsx(Text, { color: MUTED_TEXT, children: "\u25CB" }), step.status === "running" && _jsx(Spinner, {}), step.status === "pending" && _jsx(Text, { color: MUTED_TEXT, children: " " }), " ", _jsx(Text, { color: step.status === "pending" ? MUTED_TEXT : "white", children: step.label }), step.message && step.status === "failed" && (_jsxs(Text, { color: ERROR_COLOR, children: [" \u2014 ", step.message] }))] }, `step-${i}`));
18
+ }
19
+ lines.push(_jsx(Text, { children: " " }, "spacer-2"));
20
+ lines.push(_jsxs(Text, { children: [_jsx(Text, { color: ACCENT_COLOR, children: "█".repeat(filled) }), _jsx(Text, { color: MUTED_TEXT, children: "░".repeat(empty) }), _jsxs(Text, { color: MUTED_TEXT, children: [" ", percent, "%"] })] }, "progress"));
21
+ // Pad to 9 lines
22
+ while (lines.length < 9) {
23
+ lines.push(_jsx(Text, { children: " " }, `pad-${lines.length}`));
24
+ }
25
+ return lines;
26
+ }
27
+ //# sourceMappingURL=InstallingStep.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InstallingStep.js","sourceRoot":"","sources":["../../../src/components/setup/InstallingStep.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EACL,YAAY,EACZ,UAAU,EACV,aAAa,EACb,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAQvC,MAAM,UAAU,sBAAsB,CACpC,QAA0B,EAC1B,YAAoB;IAEpB,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC,MAAM,CAAC;IACrE,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC9B,MAAM,OAAO,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAEtE,MAAM,QAAQ,GAAG,EAAE,CAAC;IACpB,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC;IACvE,MAAM,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEhC,MAAM,KAAK,GAAsB,EAAE,CAAC;IAEpC,KAAK,CAAC,IAAI,CAAC,KAAC,IAAI,IAAe,KAAK,EAAC,OAAO,EAAC,IAAI,qCAA5B,SAAS,CA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AAM,CAAC,MAAM,CAAC,GAAQ,EACtD,KAAC,IAAI,IAAC,KAAK,EAAE,UAAU,YAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,GAAQ,EACnD,MAAC,IAAI,IAAC,KAAK,EAAE,UAAU,kBAAI,OAAO,SAAS,KAHnC,UAAU,CAIb,CACR,CAAC;IAEF,iBAAiB;IACjB,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,KAAK,CAAC,IAAI,CAAC,KAAC,IAAI,qBAAM,OAAO,KAAK,CAAC,MAAM,EAAE,CAAU,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * OptionsStep — interactive checkboxes for optional features.
3
+ */
4
+ import React from "react";
5
+ import type { SetupOptions } from "@jacques-ai/core";
6
+ export declare function buildOptionsContent(options: SetupOptions, selectedIndex: number): React.ReactNode[];
7
+ export declare const OPTIONS_COUNT: number;
8
+ export declare const OPTION_KEYS: ("installStatusLine" | "installSkills")[];
9
+ //# sourceMappingURL=OptionsStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OptionsStep.d.ts","sourceRoot":"","sources":["../../../src/components/setup/OptionsStep.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAerD,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,YAAY,EACrB,aAAa,EAAE,MAAM,GACpB,KAAK,CAAC,SAAS,EAAE,CAyCnB;AAED,eAAO,MAAM,aAAa,QAAsB,CAAC;AACjD,eAAO,MAAM,WAAW,2CAAuC,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Text } from "ink";
3
+ import { ACCENT_COLOR, MUTED_TEXT, SUCCESS_COLOR, } from "../layout/theme.js";
4
+ const OPTION_ITEMS = [
5
+ {
6
+ key: "installStatusLine",
7
+ label: "StatusLine",
8
+ desc: "Show context % in Claude Code status bar",
9
+ },
10
+ {
11
+ key: "installSkills",
12
+ label: "Skills",
13
+ desc: "Install /jacques-handoff and /jacques-continue",
14
+ },
15
+ ];
16
+ export function buildOptionsContent(options, selectedIndex) {
17
+ const lines = [];
18
+ lines.push(_jsx(Text, { color: "white", bold: true, children: "Configuration Options" }, "heading"));
19
+ lines.push(_jsx(Text, { children: " " }, "spacer-1"));
20
+ lines.push(_jsxs(Text, { children: [_jsx(Text, { color: SUCCESS_COLOR, children: "\u2713" }), _jsx(Text, { color: MUTED_TEXT, children: " Hooks (required \u2014 5 hooks always installed)" })] }, "hooks"));
21
+ lines.push(_jsx(Text, { children: " " }, "spacer-2"));
22
+ lines.push(_jsx(Text, { color: ACCENT_COLOR, children: "Optional:" }, "optional-label"));
23
+ for (let i = 0; i < OPTION_ITEMS.length; i++) {
24
+ const item = OPTION_ITEMS[i];
25
+ const isSelected = i === selectedIndex;
26
+ const isChecked = options[item.key];
27
+ const checkbox = isChecked ? "[x]" : "[ ]";
28
+ const cursor = isSelected ? "›" : " ";
29
+ lines.push(_jsxs(Text, { children: [_jsx(Text, { color: isSelected ? ACCENT_COLOR : MUTED_TEXT, children: cursor }), " ", _jsx(Text, { color: isSelected ? ACCENT_COLOR : "white", children: checkbox }), " ", _jsx(Text, { color: isSelected ? ACCENT_COLOR : "white", bold: isSelected, children: item.label }), _jsxs(Text, { color: MUTED_TEXT, children: [" \u2014 ", item.desc] })] }, item.key));
30
+ }
31
+ // Pad to 9 lines
32
+ while (lines.length < 9) {
33
+ lines.push(_jsx(Text, { children: " " }, `pad-${lines.length}`));
34
+ }
35
+ return lines;
36
+ }
37
+ export const OPTIONS_COUNT = OPTION_ITEMS.length;
38
+ export const OPTION_KEYS = OPTION_ITEMS.map((item) => item.key);
39
+ //# sourceMappingURL=OptionsStep.js.map
@@ -0,0 +1 @@
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PrerequisitesStep — animated prerequisite check results.
3
+ */
4
+ import React from "react";
5
+ import type { PrerequisiteResult } from "@jacques-ai/core";
6
+ export declare function buildPrerequisitesContent(results: PrerequisiteResult[], checking: boolean, currentCheck: number): React.ReactNode[];
7
+ //# sourceMappingURL=PrerequisitesStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrerequisitesStep.d.ts","sourceRoot":"","sources":["../../../src/components/setup/PrerequisitesStep.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,kBAAkB,EAAE,EAC7B,QAAQ,EAAE,OAAO,EACjB,YAAY,EAAE,MAAM,GACnB,KAAK,CAAC,SAAS,EAAE,CAoDnB"}
@@ -0,0 +1,31 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Text } from "ink";
3
+ import { MUTED_TEXT, SUCCESS_COLOR, WARNING_COLOR, ERROR_COLOR, } from "../layout/theme.js";
4
+ import { Spinner } from "./Spinner.js";
5
+ export function buildPrerequisitesContent(results, checking, currentCheck) {
6
+ const allPassed = !checking && results.every((r) => r.status !== "fail");
7
+ const hasFailed = !checking && results.some((r) => r.status === "fail");
8
+ const lines = [];
9
+ lines.push(_jsx(Text, { color: "white", bold: true, children: "Checking prerequisites..." }, "heading"));
10
+ lines.push(_jsx(Text, { children: " " }, "spacer-1"));
11
+ for (let i = 0; i < results.length; i++) {
12
+ const result = results[i];
13
+ lines.push(_jsxs(Text, { children: [result.status === "pass" && _jsx(Text, { color: SUCCESS_COLOR, children: "\u2713" }), result.status === "fail" && _jsx(Text, { color: ERROR_COLOR, children: "\u2717" }), result.status === "warn" && _jsx(Text, { color: WARNING_COLOR, children: "\u26A0" }), " ", _jsx(Text, { color: "white", children: result.name }), result.version && _jsxs(Text, { color: MUTED_TEXT, children: [" \u2014 ", result.version] }), result.message && result.status !== "pass" && (_jsxs(Text, { color: MUTED_TEXT, children: [" \u2014 ", result.message] }))] }, `result-${i}`));
14
+ }
15
+ if (checking && currentCheck >= results.length) {
16
+ lines.push(_jsxs(Text, { children: [_jsx(Spinner, {}), _jsx(Text, { color: MUTED_TEXT, children: " Checking..." })] }, "checking"));
17
+ }
18
+ lines.push(_jsx(Text, { children: " " }, "spacer-2"));
19
+ if (allPassed) {
20
+ lines.push(_jsx(Text, { color: SUCCESS_COLOR, bold: true, children: "All prerequisites met." }, "status"));
21
+ }
22
+ else if (hasFailed) {
23
+ lines.push(_jsx(Text, { color: ERROR_COLOR, bold: true, children: "Some prerequisites failed. Install missing dependencies." }, "status"));
24
+ }
25
+ // Pad to 9 lines
26
+ while (lines.length < 9) {
27
+ lines.push(_jsx(Text, { children: " " }, `pad-${lines.length}`));
28
+ }
29
+ return lines;
30
+ }
31
+ //# sourceMappingURL=PrerequisitesStep.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrerequisitesStep.js","sourceRoot":"","sources":["../../../src/components/setup/PrerequisitesStep.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EACL,UAAU,EACV,aAAa,EACb,aAAa,EACb,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,MAAM,UAAU,yBAAyB,CACvC,OAA6B,EAC7B,QAAiB,EACjB,YAAoB;IAEpB,MAAM,SAAS,GAAG,CAAC,QAAQ,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC;IACzE,MAAM,SAAS,GAAG,CAAC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,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