@nanocollective/nanocoder 1.21.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/README.md +59 -4
  2. package/assets/nanocoder-vscode.vsix +0 -0
  3. package/dist/ai-sdk-client/ai-sdk-client.d.ts.map +1 -1
  4. package/dist/ai-sdk-client/ai-sdk-client.js.map +1 -1
  5. package/dist/ai-sdk-client/chat/chat-handler.d.ts.map +1 -1
  6. package/dist/ai-sdk-client/chat/chat-handler.js +1 -0
  7. package/dist/ai-sdk-client/chat/chat-handler.js.map +1 -1
  8. package/dist/ai-sdk-client/providers/provider-factory.d.ts +6 -3
  9. package/dist/ai-sdk-client/providers/provider-factory.d.ts.map +1 -1
  10. package/dist/ai-sdk-client/providers/provider-factory.js +18 -4
  11. package/dist/ai-sdk-client/providers/provider-factory.js.map +1 -1
  12. package/dist/app/App.d.ts.map +1 -1
  13. package/dist/app/App.js +16 -16
  14. package/dist/app/App.js.map +1 -1
  15. package/dist/app/components/modal-selectors.d.ts +3 -10
  16. package/dist/app/components/modal-selectors.d.ts.map +1 -1
  17. package/dist/app/components/modal-selectors.js +4 -12
  18. package/dist/app/components/modal-selectors.js.map +1 -1
  19. package/dist/app/components/settings-selector.d.ts +6 -0
  20. package/dist/app/components/settings-selector.d.ts.map +1 -0
  21. package/dist/app/components/settings-selector.js +289 -0
  22. package/dist/app/components/settings-selector.js.map +1 -0
  23. package/dist/app/utils/app-util.d.ts.map +1 -1
  24. package/dist/app/utils/app-util.js +11 -16
  25. package/dist/app/utils/app-util.js.map +1 -1
  26. package/dist/client-factory.js +4 -0
  27. package/dist/client-factory.js.map +1 -1
  28. package/dist/commands/clear.d.ts.map +1 -1
  29. package/dist/commands/clear.js +8 -5
  30. package/dist/commands/clear.js.map +1 -1
  31. package/dist/commands/custom-commands.d.ts.map +1 -1
  32. package/dist/commands/custom-commands.js +1 -1
  33. package/dist/commands/custom-commands.js.map +1 -1
  34. package/dist/commands/explorer.d.ts +3 -0
  35. package/dist/commands/explorer.d.ts.map +1 -0
  36. package/dist/commands/explorer.js +10 -0
  37. package/dist/commands/explorer.js.map +1 -0
  38. package/dist/commands/help.d.ts.map +1 -1
  39. package/dist/commands/help.js +1 -1
  40. package/dist/commands/help.js.map +1 -1
  41. package/dist/commands/index.d.ts +3 -3
  42. package/dist/commands/index.d.ts.map +1 -1
  43. package/dist/commands/index.js +3 -3
  44. package/dist/commands/index.js.map +1 -1
  45. package/dist/commands/init.d.ts.map +1 -1
  46. package/dist/commands/init.js +1 -1
  47. package/dist/commands/init.js.map +1 -1
  48. package/dist/commands/lsp.d.ts.map +1 -1
  49. package/dist/commands/lsp.js +1 -1
  50. package/dist/commands/lsp.js.map +1 -1
  51. package/dist/commands/mcp.d.ts.map +1 -1
  52. package/dist/commands/mcp.js +1 -1
  53. package/dist/commands/mcp.js.map +1 -1
  54. package/dist/commands/model-database.d.ts.map +1 -1
  55. package/dist/commands/model-database.js +3 -3
  56. package/dist/commands/model-database.js.map +1 -1
  57. package/dist/commands/settings.d.ts +3 -0
  58. package/dist/commands/settings.d.ts.map +1 -0
  59. package/dist/commands/{theme.js → settings.js} +4 -4
  60. package/dist/commands/settings.js.map +1 -0
  61. package/dist/commands/tasks.d.ts +3 -0
  62. package/dist/commands/tasks.d.ts.map +1 -0
  63. package/dist/commands/tasks.js +117 -0
  64. package/dist/commands/tasks.js.map +1 -0
  65. package/dist/commands/usage.d.ts.map +1 -1
  66. package/dist/commands/usage.js +31 -9
  67. package/dist/commands/usage.js.map +1 -1
  68. package/dist/components/assistant-message.d.ts.map +1 -1
  69. package/dist/components/assistant-message.js +39 -6
  70. package/dist/components/assistant-message.js.map +1 -1
  71. package/dist/components/checkpoint-selector.d.ts.map +1 -1
  72. package/dist/components/checkpoint-selector.js +3 -3
  73. package/dist/components/checkpoint-selector.js.map +1 -1
  74. package/dist/components/file-explorer/index.d.ts +3 -0
  75. package/dist/components/file-explorer/index.d.ts.map +1 -0
  76. package/dist/components/file-explorer/index.js +318 -0
  77. package/dist/components/file-explorer/index.js.map +1 -0
  78. package/dist/components/file-explorer/tree-item.d.ts +3 -0
  79. package/dist/components/file-explorer/tree-item.d.ts.map +1 -0
  80. package/dist/components/file-explorer/tree-item.js +42 -0
  81. package/dist/components/file-explorer/tree-item.js.map +1 -0
  82. package/dist/components/file-explorer/utils.d.ts +18 -0
  83. package/dist/components/file-explorer/utils.d.ts.map +1 -0
  84. package/dist/components/file-explorer/utils.js +51 -0
  85. package/dist/components/file-explorer/utils.js.map +1 -0
  86. package/dist/components/file-explorer.d.ts +2 -0
  87. package/dist/components/file-explorer.d.ts.map +1 -0
  88. package/dist/components/file-explorer.js +3 -0
  89. package/dist/components/file-explorer.js.map +1 -0
  90. package/dist/components/message-box.d.ts +1 -0
  91. package/dist/components/message-box.d.ts.map +1 -1
  92. package/dist/components/message-box.js +2 -2
  93. package/dist/components/message-box.js.map +1 -1
  94. package/dist/components/model-selector.d.ts.map +1 -1
  95. package/dist/components/model-selector.js +3 -3
  96. package/dist/components/model-selector.js.map +1 -1
  97. package/dist/components/provider-selector.d.ts.map +1 -1
  98. package/dist/components/provider-selector.js +1 -1
  99. package/dist/components/provider-selector.js.map +1 -1
  100. package/dist/components/security-disclaimer.d.ts.map +1 -1
  101. package/dist/components/security-disclaimer.js +1 -1
  102. package/dist/components/security-disclaimer.js.map +1 -1
  103. package/dist/components/status.d.ts.map +1 -1
  104. package/dist/components/status.js +1 -1
  105. package/dist/components/status.js.map +1 -1
  106. package/dist/components/task-list-display.d.ts +8 -0
  107. package/dist/components/task-list-display.d.ts.map +1 -0
  108. package/dist/components/task-list-display.js +26 -0
  109. package/dist/components/task-list-display.js.map +1 -0
  110. package/dist/components/tool-message.d.ts.map +1 -1
  111. package/dist/components/tool-message.js +1 -1
  112. package/dist/components/tool-message.js.map +1 -1
  113. package/dist/components/ui/styled-title.js +38 -38
  114. package/dist/components/usage/progress-bar.d.ts.map +1 -1
  115. package/dist/components/usage/progress-bar.js +6 -3
  116. package/dist/components/usage/progress-bar.js.map +1 -1
  117. package/dist/components/usage/usage-display.d.ts.map +1 -1
  118. package/dist/components/usage/usage-display.js +1 -1
  119. package/dist/components/usage/usage-display.js.map +1 -1
  120. package/dist/components/user-input.d.ts.map +1 -1
  121. package/dist/components/user-input.js +35 -2
  122. package/dist/components/user-input.js.map +1 -1
  123. package/dist/components/user-message.d.ts.map +1 -1
  124. package/dist/components/user-message.js +43 -12
  125. package/dist/components/user-message.js.map +1 -1
  126. package/dist/components/welcome-message.d.ts.map +1 -1
  127. package/dist/components/welcome-message.js +1 -1
  128. package/dist/components/welcome-message.js.map +1 -1
  129. package/dist/config/preferences.d.ts +1 -0
  130. package/dist/config/preferences.d.ts.map +1 -1
  131. package/dist/config/preferences.js +5 -0
  132. package/dist/config/preferences.js.map +1 -1
  133. package/dist/config/themes.d.ts.map +1 -1
  134. package/dist/config/themes.js +340 -0
  135. package/dist/config/themes.js.map +1 -1
  136. package/dist/constants.d.ts +3 -0
  137. package/dist/constants.d.ts.map +1 -1
  138. package/dist/constants.js +63 -0
  139. package/dist/constants.js.map +1 -1
  140. package/dist/hooks/chat-handler/conversation/conversation-loop.d.ts +1 -0
  141. package/dist/hooks/chat-handler/conversation/conversation-loop.d.ts.map +1 -1
  142. package/dist/hooks/chat-handler/conversation/conversation-loop.js +10 -1
  143. package/dist/hooks/chat-handler/conversation/conversation-loop.js.map +1 -1
  144. package/dist/hooks/chat-handler/useChatHandler.d.ts.map +1 -1
  145. package/dist/hooks/chat-handler/useChatHandler.js +5 -0
  146. package/dist/hooks/chat-handler/useChatHandler.js.map +1 -1
  147. package/dist/hooks/useAppHandlers.d.ts +2 -3
  148. package/dist/hooks/useAppHandlers.d.ts.map +1 -1
  149. package/dist/hooks/useAppHandlers.js +2 -3
  150. package/dist/hooks/useAppHandlers.js.map +1 -1
  151. package/dist/hooks/useAppInitialization.d.ts.map +1 -1
  152. package/dist/hooks/useAppInitialization.js +7 -4
  153. package/dist/hooks/useAppInitialization.js.map +1 -1
  154. package/dist/hooks/useAppState.d.ts +4 -6
  155. package/dist/hooks/useAppState.d.ts.map +1 -1
  156. package/dist/hooks/useAppState.js +6 -9
  157. package/dist/hooks/useAppState.js.map +1 -1
  158. package/dist/hooks/useModeHandlers.d.ts +8 -14
  159. package/dist/hooks/useModeHandlers.d.ts.map +1 -1
  160. package/dist/hooks/useModeHandlers.js +22 -60
  161. package/dist/hooks/useModeHandlers.js.map +1 -1
  162. package/dist/hooks/useUIState.d.ts +2 -0
  163. package/dist/hooks/useUIState.d.ts.map +1 -1
  164. package/dist/hooks/useUIState.js +11 -1
  165. package/dist/hooks/useUIState.js.map +1 -1
  166. package/dist/models/models-dev-client.d.ts.map +1 -1
  167. package/dist/models/models-dev-client.js +57 -37
  168. package/dist/models/models-dev-client.js.map +1 -1
  169. package/dist/tools/git/git-add.d.ts +8 -0
  170. package/dist/tools/git/git-add.d.ts.map +1 -0
  171. package/dist/tools/git/git-add.js +141 -0
  172. package/dist/tools/git/git-add.js.map +1 -0
  173. package/dist/tools/git/git-branch.d.ts +8 -0
  174. package/dist/tools/git/git-branch.d.ts.map +1 -0
  175. package/dist/tools/git/git-branch.js +251 -0
  176. package/dist/tools/git/git-branch.js.map +1 -0
  177. package/dist/tools/git/git-commit.d.ts +8 -0
  178. package/dist/tools/git/git-commit.d.ts.map +1 -0
  179. package/dist/tools/git/git-commit.js +176 -0
  180. package/dist/tools/git/git-commit.js.map +1 -0
  181. package/dist/tools/git/git-diff.d.ts +8 -0
  182. package/dist/tools/git/git-diff.d.ts.map +1 -0
  183. package/dist/tools/git/git-diff.js +136 -0
  184. package/dist/tools/git/git-diff.js.map +1 -0
  185. package/dist/tools/git/git-log.d.ts +8 -0
  186. package/dist/tools/git/git-log.d.ts.map +1 -0
  187. package/dist/tools/git/git-log.js +146 -0
  188. package/dist/tools/git/git-log.js.map +1 -0
  189. package/dist/tools/git/git-pr.d.ts +8 -0
  190. package/dist/tools/git/git-pr.d.ts.map +1 -0
  191. package/dist/tools/git/git-pr.js +252 -0
  192. package/dist/tools/git/git-pr.js.map +1 -0
  193. package/dist/tools/git/git-pull.d.ts +8 -0
  194. package/dist/tools/git/git-pull.d.ts.map +1 -0
  195. package/dist/tools/git/git-pull.js +151 -0
  196. package/dist/tools/git/git-pull.js.map +1 -0
  197. package/dist/tools/git/git-push.d.ts +8 -0
  198. package/dist/tools/git/git-push.d.ts.map +1 -0
  199. package/dist/tools/git/git-push.js +157 -0
  200. package/dist/tools/git/git-push.js.map +1 -0
  201. package/dist/tools/git/git-reset.d.ts +8 -0
  202. package/dist/tools/git/git-reset.d.ts.map +1 -0
  203. package/dist/tools/git/git-reset.js +183 -0
  204. package/dist/tools/git/git-reset.js.map +1 -0
  205. package/dist/tools/git/git-stash.d.ts +8 -0
  206. package/dist/tools/git/git-stash.d.ts.map +1 -0
  207. package/dist/tools/git/git-stash.js +260 -0
  208. package/dist/tools/git/git-stash.js.map +1 -0
  209. package/dist/tools/git/git-status.d.ts +8 -0
  210. package/dist/tools/git/git-status.d.ts.map +1 -0
  211. package/dist/tools/git/git-status.js +233 -0
  212. package/dist/tools/git/git-status.js.map +1 -0
  213. package/dist/tools/git/index.d.ts +9 -12
  214. package/dist/tools/git/index.d.ts.map +1 -1
  215. package/dist/tools/git/index.js +43 -11
  216. package/dist/tools/git/index.js.map +1 -1
  217. package/dist/tools/git/utils.d.ts +136 -23
  218. package/dist/tools/git/utils.d.ts.map +1 -1
  219. package/dist/tools/git/utils.js +405 -360
  220. package/dist/tools/git/utils.js.map +1 -1
  221. package/dist/tools/index.d.ts.map +1 -1
  222. package/dist/tools/index.js +15 -9
  223. package/dist/tools/index.js.map +1 -1
  224. package/dist/tools/string-replace.d.ts.map +1 -1
  225. package/dist/tools/string-replace.js +68 -16
  226. package/dist/tools/string-replace.js.map +1 -1
  227. package/dist/tools/tasks/create-task.d.ts +3 -0
  228. package/dist/tools/tasks/create-task.d.ts.map +1 -0
  229. package/dist/tools/tasks/create-task.js +101 -0
  230. package/dist/tools/tasks/create-task.js.map +1 -0
  231. package/dist/tools/tasks/delete-task.d.ts +3 -0
  232. package/dist/tools/tasks/delete-task.d.ts.map +1 -0
  233. package/dist/tools/tasks/delete-task.js +101 -0
  234. package/dist/tools/tasks/delete-task.js.map +1 -0
  235. package/dist/tools/tasks/index.d.ts +7 -0
  236. package/dist/tools/tasks/index.d.ts.map +1 -0
  237. package/dist/tools/tasks/index.js +6 -0
  238. package/dist/tools/tasks/index.js.map +1 -0
  239. package/dist/tools/tasks/list-tasks.d.ts +3 -0
  240. package/dist/tools/tasks/list-tasks.d.ts.map +1 -0
  241. package/dist/tools/tasks/list-tasks.js +67 -0
  242. package/dist/tools/tasks/list-tasks.js.map +1 -0
  243. package/dist/tools/tasks/storage.d.ts +7 -0
  244. package/dist/tools/tasks/storage.d.ts.map +1 -0
  245. package/dist/tools/tasks/storage.js +31 -0
  246. package/dist/tools/tasks/storage.js.map +1 -0
  247. package/dist/tools/tasks/types.d.ts +11 -0
  248. package/dist/tools/tasks/types.d.ts.map +1 -0
  249. package/dist/tools/tasks/types.js +2 -0
  250. package/dist/tools/tasks/types.js.map +1 -0
  251. package/dist/tools/tasks/update-task.d.ts +3 -0
  252. package/dist/tools/tasks/update-task.d.ts.map +1 -0
  253. package/dist/tools/tasks/update-task.js +142 -0
  254. package/dist/tools/tasks/update-task.js.map +1 -0
  255. package/dist/tools/write-file.d.ts.map +1 -1
  256. package/dist/tools/write-file.js +46 -2
  257. package/dist/tools/write-file.js.map +1 -1
  258. package/dist/types/app.d.ts +2 -3
  259. package/dist/types/app.d.ts.map +1 -1
  260. package/dist/types/config.d.ts +6 -0
  261. package/dist/types/config.d.ts.map +1 -1
  262. package/dist/types/file-explorer.d.ts +14 -0
  263. package/dist/types/file-explorer.d.ts.map +1 -0
  264. package/dist/types/file-explorer.js +2 -0
  265. package/dist/types/file-explorer.js.map +1 -0
  266. package/dist/types/ui.d.ts +1 -2
  267. package/dist/types/ui.d.ts.map +1 -1
  268. package/dist/utils/completion-note.d.ts +3 -0
  269. package/dist/utils/completion-note.d.ts.map +1 -0
  270. package/dist/utils/completion-note.js +39 -0
  271. package/dist/utils/completion-note.js.map +1 -0
  272. package/dist/utils/file-tree.d.ts +37 -0
  273. package/dist/utils/file-tree.d.ts.map +1 -0
  274. package/dist/utils/file-tree.js +122 -0
  275. package/dist/utils/file-tree.js.map +1 -0
  276. package/dist/utils/indentation-normalizer.d.ts +10 -0
  277. package/dist/utils/indentation-normalizer.d.ts.map +1 -1
  278. package/dist/utils/indentation-normalizer.js +48 -0
  279. package/dist/utils/indentation-normalizer.js.map +1 -1
  280. package/dist/vscode/protocol.d.ts +5 -1
  281. package/dist/vscode/protocol.d.ts.map +1 -1
  282. package/dist/vscode/vscode-server.d.ts +4 -0
  283. package/dist/vscode/vscode-server.d.ts.map +1 -1
  284. package/dist/vscode/vscode-server.js +10 -0
  285. package/dist/vscode/vscode-server.js.map +1 -1
  286. package/dist/wizards/mcp-wizard.d.ts.map +1 -1
  287. package/dist/wizards/mcp-wizard.js +1 -1
  288. package/dist/wizards/mcp-wizard.js.map +1 -1
  289. package/dist/wizards/provider-wizard.d.ts.map +1 -1
  290. package/dist/wizards/provider-wizard.js +1 -1
  291. package/dist/wizards/provider-wizard.js.map +1 -1
  292. package/dist/wizards/templates/provider-templates.d.ts.map +1 -1
  293. package/dist/wizards/templates/provider-templates.js +73 -8
  294. package/dist/wizards/templates/provider-templates.js.map +1 -1
  295. package/dist/wizards/validation.d.ts +3 -1
  296. package/dist/wizards/validation.d.ts.map +1 -1
  297. package/dist/wizards/validation.js +6 -0
  298. package/dist/wizards/validation.js.map +1 -1
  299. package/package.json +10 -7
  300. package/source/app/prompts/main-prompt.md +75 -68
  301. package/dist/commands/nanocoder-shape.d.ts +0 -3
  302. package/dist/commands/nanocoder-shape.d.ts.map +0 -1
  303. package/dist/commands/nanocoder-shape.js +0 -46
  304. package/dist/commands/nanocoder-shape.js.map +0 -1
  305. package/dist/commands/theme.d.ts +0 -3
  306. package/dist/commands/theme.d.ts.map +0 -1
  307. package/dist/commands/theme.js.map +0 -1
  308. package/dist/commands/title-shape.d.ts +0 -3
  309. package/dist/commands/title-shape.d.ts.map +0 -1
  310. package/dist/commands/title-shape.js +0 -54
  311. package/dist/commands/title-shape.js.map +0 -1
  312. package/dist/components/nanocoder-shape-selector.d.ts +0 -8
  313. package/dist/components/nanocoder-shape-selector.d.ts.map +0 -1
  314. package/dist/components/nanocoder-shape-selector.js +0 -61
  315. package/dist/components/nanocoder-shape-selector.js.map +0 -1
  316. package/dist/components/theme-selector.d.ts +0 -8
  317. package/dist/components/theme-selector.d.ts.map +0 -1
  318. package/dist/components/theme-selector.js +0 -51
  319. package/dist/components/theme-selector.js.map +0 -1
  320. package/dist/components/title-shape-selector.d.ts +0 -8
  321. package/dist/components/title-shape-selector.d.ts.map +0 -1
  322. package/dist/components/title-shape-selector.js +0 -108
  323. package/dist/components/title-shape-selector.js.map +0 -1
  324. package/dist/tools/git/git-branch-suggest.d.ts +0 -9
  325. package/dist/tools/git/git-branch-suggest.d.ts.map +0 -1
  326. package/dist/tools/git/git-branch-suggest.js +0 -326
  327. package/dist/tools/git/git-branch-suggest.js.map +0 -1
  328. package/dist/tools/git/git-create-pr.d.ts +0 -9
  329. package/dist/tools/git/git-create-pr.d.ts.map +0 -1
  330. package/dist/tools/git/git-create-pr.js +0 -404
  331. package/dist/tools/git/git-create-pr.js.map +0 -1
  332. package/dist/tools/git/git-smart-commit.d.ts +0 -9
  333. package/dist/tools/git/git-smart-commit.d.ts.map +0 -1
  334. package/dist/tools/git/git-smart-commit.js +0 -308
  335. package/dist/tools/git/git-smart-commit.js.map +0 -1
  336. package/dist/tools/git/git-status-enhanced.d.ts +0 -9
  337. package/dist/tools/git/git-status-enhanced.d.ts.map +0 -1
  338. package/dist/tools/git/git-status-enhanced.js +0 -305
  339. package/dist/tools/git/git-status-enhanced.js.map +0 -1
  340. package/dist/tools/git/types.d.ts +0 -103
  341. package/dist/tools/git/types.d.ts.map +0 -1
  342. package/dist/tools/git/types.js +0 -7
  343. package/dist/tools/git/types.js.map +0 -1
  344. package/dist/utils/gradient-utils.d.ts +0 -25
  345. package/dist/utils/gradient-utils.d.ts.map +0 -1
  346. package/dist/utils/gradient-utils.js +0 -45
  347. package/dist/utils/gradient-utils.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"nanocoder-shape.js","sourceRoot":"","sources":["../../source/commands/nanocoder-shape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,sBAAsB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAI1D,MAAM,WAAW,GAAqB;IACrC,OAAO;IACP,OAAO;IACP,MAAM;IACN,MAAM;IACN,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,aAAa;IACb,IAAI;IACJ,UAAU;IACV,QAAQ;IACR,MAAM;CACN,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAY;IAC7C,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,0DAA0D;IACvE,OAAO,EAAE,KAAK,EAAE,IAAc,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE;QACvD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvB,uDAAuD;YACvD,OAAO,OAAO,CAAC,OAAO,CACrB,KAAK,CAAC,aAAa,CAAC,sBAAsB,EAAE;gBAC3C,UAAU,EAAE,CAAC,KAAqB,EAAE,EAAE;oBACrC,OAAO,KAAK,CAAC,aAAa,CACzB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAC,EACvB,2BAA2B,KAAK,EAAE,CAClC,CAAC;gBACH,CAAC;gBACD,QAAQ,EAAE,GAAG,EAAE;oBACd,OAAO,KAAK,CAAC,aAAa,CACzB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAC,EACpB,8DAA8D,CAC9D,CAAC;gBACH,CAAC;aACD,CAAC,CACF,CAAC;QACH,CAAC;QAED,sDAAsD;QACtD,MAAM,KAAK,GAAG,IAAI,CAAC,CAAC,CAAmB,CAAC;QAExC,IAAI,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;YACjC,oBAAoB,CAAC,KAAK,CAAC,CAAC;YAC5B,OAAO,OAAO,CAAC,OAAO,CACrB,KAAK,CAAC,aAAa,CAClB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAC,EACvB,2BAA2B,KAAK,EAAE,CAClC,CACD,CAAC;QACH,CAAC;aAAM,CAAC;YACP,OAAO,OAAO,CAAC,OAAO,CACrB,KAAK,CAAC,aAAa,CAClB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAC,EACrB,kBAAkB,KAAK,uBAAuB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACtE,CACD,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Command } from '../types/index.js';
2
- export declare const themeCommand: Command;
3
- //# sourceMappingURL=theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../source/commands/theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,YAAY,EAAE,OAQ1B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../source/commands/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,CAAC,MAAM,YAAY,GAAY;IACpC,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,sCAAsC;IACnD,OAAO,EAAE,CAAC,KAAe,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE;QAClD,+CAA+C;QAC/C,qDAAqD;QACrD,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC7D,CAAC;CACD,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Command } from '../types/index.js';
2
- export declare const titleShapeCommand: Command;
3
- //# sourceMappingURL=title-shape.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"title-shape.d.ts","sourceRoot":"","sources":["../../source/commands/title-shape.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,iBAAiB,EAAE,OAsE/B,CAAC"}
@@ -1,54 +0,0 @@
1
- import { Text } from 'ink';
2
- import React from 'react';
3
- import TitleShapeSelector from '../components/title-shape-selector.js';
4
- import { colors } from '../config/index.js';
5
- import { updateTitleShape } from '../config/preferences.js';
6
- export const titleShapeCommand = {
7
- name: 'title-shape',
8
- description: 'Select a title shape for Nanocoder UI components',
9
- handler: async (args, _messages, _metadata) => {
10
- if (args.length === 0) {
11
- // Show interactive selector when no arguments provided
12
- return Promise.resolve(React.createElement(TitleShapeSelector, {
13
- onComplete: shape => {
14
- return React.createElement(Text, { color: colors.success }, `Title shape set to: ${shape}`);
15
- },
16
- onCancel: () => {
17
- return React.createElement(Text, { color: colors.info }, 'Title shape selection cancelled. Current shape retained.');
18
- },
19
- }));
20
- }
21
- // If a shape is provided as argument, set it directly
22
- const shape = args[0];
23
- const validShapes = [
24
- 'rounded',
25
- 'square',
26
- 'double',
27
- 'pill',
28
- 'arrow-left',
29
- 'arrow-right',
30
- 'arrow-double',
31
- 'angled-box',
32
- 'powerline-angled',
33
- 'powerline-angled-thin',
34
- 'powerline-block',
35
- 'powerline-block-alt',
36
- 'powerline-curved',
37
- 'powerline-curved-thin',
38
- 'powerline-flame',
39
- 'powerline-flame-thin',
40
- 'powerline-graph',
41
- 'powerline-ribbon',
42
- 'powerline-segment',
43
- 'powerline-segment-thin',
44
- ];
45
- if (validShapes.includes(shape)) {
46
- updateTitleShape(shape);
47
- return Promise.resolve(React.createElement(Text, { color: colors.success }, `Title shape set to: ${shape}`));
48
- }
49
- else {
50
- return Promise.resolve(React.createElement(Text, { color: colors.error }, `Invalid shape: ${shape}. Available shapes: ${validShapes.join(', ')}`));
51
- }
52
- },
53
- };
54
- //# sourceMappingURL=title-shape.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"title-shape.js","sourceRoot":"","sources":["../../source/commands/title-shape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAGtD,MAAM,CAAC,MAAM,iBAAiB,GAAY;IACzC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,kDAAkD;IAC/D,OAAO,EAAE,KAAK,EAAE,IAAc,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE;QACvD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvB,uDAAuD;YACvD,OAAO,OAAO,CAAC,OAAO,CACrB,KAAK,CAAC,aAAa,CAAC,kBAAkB,EAAE;gBACvC,UAAU,EAAE,KAAK,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,aAAa,CACzB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAC,EACvB,uBAAuB,KAAK,EAAE,CAC9B,CAAC;gBACH,CAAC;gBACD,QAAQ,EAAE,GAAG,EAAE;oBACd,OAAO,KAAK,CAAC,aAAa,CACzB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAC,EACpB,0DAA0D,CAC1D,CAAC;gBACH,CAAC;aACD,CAAC,CACF,CAAC;QACH,CAAC;QAED,sDAAsD;QACtD,MAAM,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACtB,MAAM,WAAW,GAAG;YACnB,SAAS;YACT,QAAQ;YACR,QAAQ;YACR,MAAM;YACN,YAAY;YACZ,aAAa;YACb,cAAc;YACd,YAAY;YACZ,kBAAkB;YAClB,uBAAuB;YACvB,iBAAiB;YACjB,qBAAqB;YACrB,kBAAkB;YAClB,uBAAuB;YACvB,iBAAiB;YACjB,sBAAsB;YACtB,iBAAiB;YACjB,kBAAkB;YAClB,mBAAmB;YACnB,wBAAwB;SACxB,CAAC;QAEF,IAAI,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;YACjC,gBAAgB,CAAC,KAAK,CAAC,CAAC;YACxB,OAAO,OAAO,CAAC,OAAO,CACrB,KAAK,CAAC,aAAa,CAClB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,OAAO,EAAC,EACvB,uBAAuB,KAAK,EAAE,CAC9B,CACD,CAAC;QACH,CAAC;aAAM,CAAC;YACP,OAAO,OAAO,CAAC,OAAO,CACrB,KAAK,CAAC,aAAa,CAClB,IAAI,EACJ,EAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAC,EACrB,kBAAkB,KAAK,uBAAuB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACtE,CACD,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { NanocoderShape } from '../types/ui.js';
2
- interface NanocoderShapeSelectorProps {
3
- onComplete: (shape: NanocoderShape) => void;
4
- onCancel: () => void;
5
- }
6
- export default function NanocoderShapeSelector({ onComplete, onCancel, }: NanocoderShapeSelectorProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=nanocoder-shape-selector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nanocoder-shape-selector.d.ts","sourceRoot":"","sources":["../../source/components/nanocoder-shape-selector.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAO/C,UAAU,2BAA2B;IACpC,UAAU,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACrB;AAID,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC9C,UAAU,EACV,QAAQ,GACR,EAAE,2BAA2B,2CAiI7B"}
@@ -1,61 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Box, Text, useFocus, useInput } from 'ink';
3
- import BigText from 'ink-big-text';
4
- import Gradient from 'ink-gradient';
5
- import SelectInput from 'ink-select-input';
6
- import { useMemo, useState } from 'react';
7
- import { TitledBoxWithPreferences } from '../components/ui/titled-box.js';
8
- import { getNanocoderShape } from '../config/preferences.js';
9
- import { useResponsiveTerminal } from '../hooks/useTerminalWidth.js';
10
- import { useTheme } from '../hooks/useTheme.js';
11
- const DEFAULT_SHAPE = 'tiny';
12
- export default function NanocoderShapeSelector({ onComplete, onCancel, }) {
13
- const { boxWidth, isNarrow } = useResponsiveTerminal();
14
- const { colors } = useTheme();
15
- // Get current shape from preferences or use default
16
- const savedShape = getNanocoderShape();
17
- const initialShape = savedShape ?? DEFAULT_SHAPE;
18
- // Store original shape for restore on cancel
19
- const [originalShape] = useState(initialShape);
20
- // Current preview shape
21
- const [previewShape, setPreviewShape] = useState(initialShape);
22
- // Auto-focus to ensure keyboard navigation works
23
- useFocus({ autoFocus: true, id: 'nanocoder-shape-selector' });
24
- // Handle escape key to cancel
25
- useInput((_, key) => {
26
- if (key.escape) {
27
- onCancel();
28
- }
29
- });
30
- // Create nanocoder shape options with descriptions
31
- const shapeOptions = [
32
- { label: 'Tiny (default) - Compact, minimal style', value: 'tiny' },
33
- { label: 'Block - Bold, blocky letters', value: 'block' },
34
- { label: 'Simple - Clean, straightforward', value: 'simple' },
35
- { label: 'Simple Block - Simple with block style', value: 'simpleBlock' },
36
- { label: 'Slick - Sleek, modern look', value: 'slick' },
37
- { label: 'Grid - Grid-based pattern', value: 'grid' },
38
- { label: 'Pallet - Artistic palette style', value: 'pallet' },
39
- { label: 'Shade - Shaded 3D effect', value: 'shade' },
40
- { label: '3D - Full 3D perspective', value: '3d' },
41
- { label: 'Simple 3D - Simplified 3D look', value: 'simple3d' },
42
- { label: 'Chrome - Metallic chrome finish', value: 'chrome' },
43
- { label: 'Huge - Extra large display', value: 'huge' },
44
- ];
45
- // Find index of current shape for initial selection
46
- const initialIndex = useMemo(() => {
47
- const index = shapeOptions.findIndex(option => option.value === originalShape);
48
- return index >= 0 ? index : 0;
49
- }, [originalShape]);
50
- const handleSelect = (item) => {
51
- onComplete(item.value);
52
- };
53
- // Handle shape preview during navigation
54
- const handleHighlight = (item) => {
55
- setPreviewShape(item.value);
56
- };
57
- // Show "NC" on narrow terminals, "Nanocoder" on wider ones
58
- const displayText = isNarrow ? 'NC' : 'Nanocoder';
59
- return (_jsxs(_Fragment, { children: [_jsx(Box, { marginBottom: 1, children: _jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(BigText, { text: displayText, font: previewShape }) }) }), _jsxs(TitledBoxWithPreferences, { title: "Choose your Nanocoder branding style!", reversePowerline: true, width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { paddingBottom: 1, children: _jsx(Text, { color: colors.text, children: "Select a font style for the Nanocoder welcome banner:" }) }), _jsxs(Box, { paddingBottom: 1, flexDirection: "column", children: [_jsx(Text, { color: colors.secondary, children: "1. Use arrow keys to navigate through the font options." }), _jsx(Text, { color: colors.secondary, children: "2. Watch the preview above change as you navigate." }), _jsx(Text, { color: colors.secondary, children: "3. Press Enter to select your preferred style." }), _jsx(Text, { color: colors.secondary, children: "4. Press Esc to cancel and keep your current style." })] })] }), _jsx(Box, { borderStyle: "round", width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, marginBottom: 1, children: _jsxs(Box, { flexDirection: "column", children: [_jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "Select a branding style" }) }), _jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "\u2191/\u2193 Navigate \u2022 Enter Select \u2022 Esc Cancel" }) }), _jsx(SelectInput, { items: shapeOptions, initialIndex: initialIndex, onSelect: handleSelect, onHighlight: handleHighlight })] }) })] }));
60
- }
61
- //# sourceMappingURL=nanocoder-shape-selector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nanocoder-shape-selector.js","sourceRoot":"","sources":["../../source/components/nanocoder-shape-selector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAC,MAAM,KAAK,CAAC;AAClD,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,QAAQ,MAAM,cAAc,CAAC;AACpC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAC,qBAAqB,EAAC,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAa1C,MAAM,aAAa,GAAmB,MAAM,CAAC;AAE7C,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC9C,UAAU,EACV,QAAQ,GACqB;IAC7B,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAC,GAAG,qBAAqB,EAAE,CAAC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;
4
- onCancel: () => void;
5
- }
6
- export default function ThemeSelector({ onThemeSelect, onCancel, }: ThemeSelectorProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=theme-selector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme-selector.d.ts","sourceRoot":"","sources":["../../source/components/theme-selector.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,YAAY,CAAC;AAG5C,UAAU,kBAAkB;IAC3B,aAAa,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACrB;AAOD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACrC,aAAa,EACb,QAAQ,GACR,EAAE,kBAAkB,2CAiHpB"}
@@ -1,51 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Box, Text, useInput } from 'ink';
3
- import BigText from 'ink-big-text';
4
- import Gradient from 'ink-gradient';
5
- import SelectInput from 'ink-select-input';
6
- import { useMemo, useState } from 'react';
7
- import { TitledBoxWithPreferences } from '../components/ui/titled-box.js';
8
- import { themes } from '../config/themes.js';
9
- import { useTerminalWidth } from '../hooks/useTerminalWidth.js';
10
- import { useTheme } from '../hooks/useTheme.js';
11
- import { hasCustomGradients } from '../utils/gradient-utils.js';
12
- export default function ThemeSelector({ onThemeSelect, onCancel, }) {
13
- const boxWidth = useTerminalWidth();
14
- const { colors, currentTheme, setCurrentTheme } = useTheme();
15
- const [originalTheme] = useState(currentTheme); // Store original theme for restore on cancel
16
- // Handle escape key to cancel
17
- useInput((_, key) => {
18
- if (key.escape) {
19
- // Restore original theme on cancel
20
- setCurrentTheme(originalTheme);
21
- onCancel();
22
- }
23
- });
24
- // Create theme options from available themes
25
- const themeOptions = Object.values(themes).map(theme => ({
26
- label: theme.displayName +
27
- ' [' +
28
- theme.themeType.charAt(0).toUpperCase() +
29
- theme.themeType.slice(1) +
30
- ']' +
31
- (theme.name === originalTheme ? ' (current)' : ''),
32
- value: theme.name,
33
- }));
34
- // Find index of current theme for initial selection
35
- const initialIndex = useMemo(() => {
36
- const index = themeOptions.findIndex(option => option.value === originalTheme);
37
- return index >= 0 ? index : 0;
38
- }, [originalTheme, themeOptions]);
39
- const [_currentIndex, _setCurrentIndex] = useState(initialIndex);
40
- const handleSelect = (item) => {
41
- onThemeSelect(item.value);
42
- };
43
- // Handle theme preview during navigation
44
- const handleHighlight = (item) => {
45
- setCurrentTheme(item.value);
46
- };
47
- return (_jsxs(_Fragment, { children: [_jsx(Gradient, { colors: hasCustomGradients(colors)
48
- ? colors.gradientColors
49
- : [colors.primary, colors.tool], children: _jsx(BigText, { text: "Themes", font: "tiny" }) }), _jsxs(TitledBoxWithPreferences, { title: "\u273B Try out different themes! \u273B", reversePowerline: true, width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { paddingBottom: 1, children: _jsx(Text, { color: colors.text, children: "Tips for getting started:" }) }), _jsxs(Box, { paddingBottom: 1, flexDirection: "column", children: [_jsx(Text, { color: colors.secondary, children: "1. Use arrow keys to navigate and Enter to select." }), _jsx(Text, { color: colors.secondary, children: "2. Press Esc to cancel and revert to your original theme." }), _jsx(Text, { color: colors.secondary, children: "3. The CLI will remember your choice next time." })] }), _jsx(Text, { color: colors.text, children: "/help for help" })] }), _jsx(Box, { borderStyle: "round", width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, marginBottom: 1, children: _jsxs(Box, { flexDirection: "column", children: [_jsx(Box, { marginBottom: 1, children: _jsxs(Text, { color: colors.secondary, children: ["Select a theme (current: ", themes[currentTheme].displayName, ")"] }) }), _jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "\u2191/\u2193 Navigate \u2022 Enter Select \u2022 Esc Cancel" }) }), _jsx(SelectInput, { items: themeOptions, onSelect: handleSelect, onHighlight: handleHighlight })] }) })] }));
50
- }
51
- //# sourceMappingURL=theme-selector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme-selector.js","sourceRoot":"","sources":["../../source/components/theme-selector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAC,MAAM,KAAK,CAAC;AACxC,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,QAAQ,MAAM,cAAc,CAAC;AACpC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAC,kBAAkB,EAAC,MAAM,wBAAwB,CAAC;AAY1D,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACrC,aAAa,EACb,QAAQ,GACY;IACpB,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IACpC,MAAM,EAAC,MAAM,EAAE,YAAY,EAAE,eAAe,EAAC,GAAG,QAAQ,EAAE,CAAC;IAC3D,MAAM,CAAC,aAAa,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,6CAA6C;IAE7F,8BAA8B;IAC9B,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE;QACnB,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;YAChB,mCAAmC;YACnC,eAAe,CAAC,aAAa,CAAC,CAAC;YAC/B,QAAQ,EAAE,CAAC;QACZ,CAAC;IACF,CAAC,CAAC,CAAC;IAEH,6CAA6C;IAC7C,MAAM,YAAY,GAAkB,MAAM,CAAC,MAAM,C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AS,6EAEtB,GACF,EAEN,KAAC,WAAW,IACX,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAE,eAAe,GAC3B,IACG,GACD,IACJ,CACH,CAAC;AACH,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { TitleShape } from '../components/ui/styled-title.js';
2
- interface TitleShapeSelectorProps {
3
- onComplete: (shape: TitleShape) => void;
4
- onCancel: () => void;
5
- }
6
- export default function TitleShapeSelector({ onComplete, onCancel, }: TitleShapeSelectorProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=title-shape-selector.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"title-shape-selector.d.ts","sourceRoot":"","sources":["../../source/components/title-shape-selector.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;AAW7D,UAAU,uBAAuB;IAChC,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAC1C,UAAU,EACV,QAAQ,GACR,EAAE,uBAAuB,2CA+KzB"}
@@ -1,108 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Box, Text, useFocus, useInput } from 'ink';
3
- import BigText from 'ink-big-text';
4
- import Gradient from 'ink-gradient';
5
- import SelectInput from 'ink-select-input';
6
- import { useMemo, useState } from 'react';
7
- import { TitledBoxWithPreferences } from '../components/ui/titled-box.js';
8
- import { useTerminalWidth } from '../hooks/useTerminalWidth.js';
9
- import { useTheme } from '../hooks/useTheme.js';
10
- import { useTitleShape } from '../hooks/useTitleShape.js';
11
- export default function TitleShapeSelector({ onComplete, onCancel, }) {
12
- const boxWidth = useTerminalWidth();
13
- const { colors } = useTheme();
14
- const { currentTitleShape, setCurrentTitleShape } = useTitleShape();
15
- // Store original shape for restore on cancel
16
- const [originalShape] = useState(currentTitleShape);
17
- // Auto-focus to ensure keyboard navigation works
18
- useFocus({ autoFocus: true, id: 'title-shape-selector' });
19
- // Handle escape key to cancel
20
- useInput((_, key) => {
21
- if (key.escape) {
22
- // Restore original shape on cancel
23
- setCurrentTitleShape(originalShape);
24
- onCancel();
25
- }
26
- });
27
- // Create title shape options
28
- const shapeOptions = [
29
- { label: 'Pill :- Demo Title', value: 'pill' },
30
- { label: 'Rounded :- ╭ Demo Title ╮', value: 'rounded' },
31
- { label: 'Square :- ┌ Demo Title ┐', value: 'square' },
32
- { label: 'Double :- ╔ Demo Title ╗', value: 'double' },
33
- { label: 'Arrow Left :- ← Demo Title →', value: 'arrow-left' },
34
- { label: 'Arrow Right :- → Demo Title ←', value: 'arrow-right' },
35
- { label: 'Arrow Double :- « Demo Title »', value: 'arrow-double' },
36
- { label: 'Angled Box :- ╱ Demo Title ╲', value: 'angled-box' },
37
- {
38
- label: 'Powerline Angled :-  Demo Title  (Requires Nerd Fonts)',
39
- value: 'powerline-angled',
40
- },
41
- {
42
- label: 'Powerline Angled Thin :-  Demo Title  (Requires Nerd Fonts)',
43
- value: 'powerline-angled-thin',
44
- },
45
- {
46
- label: 'Powerline Block :-  Demo Title  (Requires Nerd Fonts)',
47
- value: 'powerline-block',
48
- },
49
- {
50
- label: 'Powerline Block Alt :-  Demo Title  (Requires Nerd Fonts)',
51
- value: 'powerline-block-alt',
52
- },
53
- {
54
- label: 'Powerline Curved :-  Demo Title  (Requires Nerd Fonts)',
55
- value: 'powerline-curved',
56
- },
57
- {
58
- label: 'Powerline Curved Thin :-  Demo Title  (Requires Nerd Fonts)',
59
- value: 'powerline-curved-thin',
60
- },
61
- {
62
- label: 'Powerline Flame :-  Demo Title  (Requires Nerd Fonts)',
63
- value: 'powerline-flame',
64
- },
65
- {
66
- label: 'Powerline Flame Thin :-  Demo Title  (Requires Nerd Fonts)',
67
- value: 'powerline-flame-thin',
68
- },
69
- {
70
- label: 'Powerline Graph :-  Demo Title  (Requires Nerd Fonts)',
71
- value: 'powerline-graph',
72
- },
73
- {
74
- label: 'Powerline Ribbon :-  Demo Title  (Requires Nerd Fonts)',
75
- value: 'powerline-ribbon',
76
- },
77
- {
78
- label: 'Powerline Segment :-  Demo Title  (Requires Nerd Fonts)',
79
- value: 'powerline-segment',
80
- },
81
- {
82
- label: 'Powerline Segment Thin :-  Demo Title  (Requires Nerd Fonts)',
83
- value: 'powerline-segment-thin',
84
- },
85
- ];
86
- // Find index of current shape for initial selection
87
- const initialIndex = useMemo(() => {
88
- const index = shapeOptions.findIndex(option => option.value === originalShape);
89
- return index >= 0 ? index : 0;
90
- }, [originalShape]);
91
- const [_currentIndex, _setCurrentIndex] = useState(initialIndex);
92
- const handleSelect = (item) => {
93
- setCurrentTitleShape(item.value);
94
- onComplete(item.value);
95
- };
96
- // Handle shape preview during navigation
97
- const handleHighlight = (item) => {
98
- // Update the shape temporarily for preview
99
- setCurrentTitleShape(item.value);
100
- };
101
- // Get the display name for current shape
102
- const _getCurrentShapeName = () => {
103
- const currentOption = shapeOptions.find(option => option.value === currentTitleShape);
104
- return currentOption ? currentOption.label : 'Unknown';
105
- };
106
- return (_jsxs(_Fragment, { children: [_jsx(Gradient, { colors: [colors.primary, colors.tool], children: _jsx(BigText, { text: "Title Shapes", font: "tiny" }) }), _jsxs(TitledBoxWithPreferences, { title: "\u273B Choose your preferred title shape! \u273B", reversePowerline: true, width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { paddingBottom: 1, children: _jsx(Text, { color: colors.text, children: "Tips for getting started:" }) }), _jsxs(Box, { paddingBottom: 1, flexDirection: "column", children: [_jsx(Text, { color: colors.secondary, children: "1. Use arrow keys to navigate through the shape options." }), _jsx(Text, { color: colors.secondary, children: "2. Each option shows a preview of how the title will look." }), _jsx(Text, { color: colors.secondary, children: "3. Press Enter to select your preferred shape." }), _jsx(Text, { color: colors.secondary, children: "4. Press Esc to cancel and keep your current shape." }), _jsx(Text, { color: colors.secondary, children: "5. The CLI will remember your choice for all title boxes." })] }), _jsx(Text, { color: colors.text, children: "/help for help" })] }), _jsx(Box, { borderStyle: "round", width: boxWidth, borderColor: colors.primary, paddingX: 2, paddingY: 1, marginBottom: 1, children: _jsxs(Box, { flexDirection: "column", children: [_jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "Select a title shape" }) }), _jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: colors.secondary, children: "\u2191/\u2193 Navigate \u2022 Enter Select \u2022 Esc Cancel" }) }), _jsx(SelectInput, { items: shapeOptions, onSelect: handleSelect, onHighlight: handleHighlight })] }) })] }));
107
- }
108
- //# sourceMappingURL=title-shape-selector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"title-shape-selector.js","sourceRoot":"","sources":["../../source/components/title-shape-selector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAC,MAAM,KAAK,CAAC;AAClD,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,QAAQ,MAAM,cAAc,CAAC;AACpC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAExC,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAYpD,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAC1C,UAAU,EACV,QAAQ,GACiB;IACzB,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IACpC,MAAM,EAAC,MAAM,EAAC,GAAG,QAAQ,E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0EAEtB,IACF,EACN,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,+BAAuB,IACrB,EAC3B,KAAC,GAAG,IACH,WAAW,EAAC,OAAO,EACnB,KAAK,EAAE,QAAQ,EACf,WAAW,EAAE,MAAM,CAAC,OAAO,EAC3B,QAAQ,EAAE,CAAC,EACX,QAAQ,EAAE,CAAC,EACX,YAAY,EAAE,CAAC,YAEf,MAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,aAC1B,KAAC,GAAG,IAAC,YAAY,EAAE,CAAC,YACnB,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS,qCAA6B,GACrD,EAEN,KAAC,GAAG,IAAC,YAAY,EAAE,CAAC,YACnB,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS,6EAEtB,GACF,EAEN,KAAC,WAAW,IACX,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAE,eAAe,GAC3B,IACG,GACD,IACJ,CACH,CAAC;AACH,CAAC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * Git Branch Suggest Tool
3
- *
4
- * Provides intelligent branch naming suggestions and workflow
5
- * strategy recommendations based on project context.
6
- */
7
- import type { NanocoderToolExport } from '../../types/core.js';
8
- export declare const gitBranchSuggestTool: NanocoderToolExport;
9
- //# sourceMappingURL=git-branch-suggest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-branch-suggest.d.ts","sourceRoot":"","sources":["../../../source/tools/git/git-branch-suggest.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AA8atD,eAAO,MAAM,oBAAoB,EAAE,mBAKlC,CAAC"}