@rdmind/rdmind 0.0.15-alpha.1 → 0.0.15-alpha.7

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 (1046) hide show
  1. package/LICENSE +203 -0
  2. package/README.md +1 -0
  3. package/cli.js +360038 -0
  4. package/package.json +23 -71
  5. package/vendor/ripgrep/COPYING +3 -0
  6. package/vendor/ripgrep/arm64-darwin/rg +0 -0
  7. package/vendor/ripgrep/arm64-linux/rg +0 -0
  8. package/vendor/ripgrep/x64-darwin/rg +0 -0
  9. package/vendor/ripgrep/x64-linux/rg +0 -0
  10. package/vendor/ripgrep/x64-win32/rg.exe +0 -0
  11. package/dist/.last_build +0 -0
  12. package/dist/index.d.ts +0 -7
  13. package/dist/index.js +0 -29
  14. package/dist/index.js.map +0 -1
  15. package/dist/package.json +0 -89
  16. package/dist/src/commands/extensions/disable.d.ts +0 -14
  17. package/dist/src/commands/extensions/disable.js +0 -42
  18. package/dist/src/commands/extensions/disable.js.map +0 -1
  19. package/dist/src/commands/extensions/enable.d.ts +0 -14
  20. package/dist/src/commands/extensions/enable.js +0 -48
  21. package/dist/src/commands/extensions/enable.js.map +0 -1
  22. package/dist/src/commands/extensions/install.d.ts +0 -13
  23. package/dist/src/commands/extensions/install.js +0 -48
  24. package/dist/src/commands/extensions/install.js.map +0 -1
  25. package/dist/src/commands/extensions/install.test.d.ts +0 -6
  26. package/dist/src/commands/extensions/install.test.js +0 -25
  27. package/dist/src/commands/extensions/install.test.js.map +0 -1
  28. package/dist/src/commands/extensions/list.d.ts +0 -8
  29. package/dist/src/commands/extensions/list.js +0 -32
  30. package/dist/src/commands/extensions/list.js.map +0 -1
  31. package/dist/src/commands/extensions/uninstall.d.ts +0 -12
  32. package/dist/src/commands/extensions/uninstall.js +0 -38
  33. package/dist/src/commands/extensions/uninstall.js.map +0 -1
  34. package/dist/src/commands/extensions/uninstall.test.d.ts +0 -6
  35. package/dist/src/commands/extensions/uninstall.test.js +0 -18
  36. package/dist/src/commands/extensions/uninstall.test.js.map +0 -1
  37. package/dist/src/commands/extensions/update.d.ts +0 -12
  38. package/dist/src/commands/extensions/update.js +0 -38
  39. package/dist/src/commands/extensions/update.js.map +0 -1
  40. package/dist/src/commands/extensions.d.ts +0 -7
  41. package/dist/src/commands/extensions.js +0 -29
  42. package/dist/src/commands/extensions.js.map +0 -1
  43. package/dist/src/commands/mcp/add.d.ts +0 -7
  44. package/dist/src/commands/mcp/add.js +0 -166
  45. package/dist/src/commands/mcp/add.js.map +0 -1
  46. package/dist/src/commands/mcp/list.d.ts +0 -8
  47. package/dist/src/commands/mcp/list.js +0 -110
  48. package/dist/src/commands/mcp/list.js.map +0 -1
  49. package/dist/src/commands/mcp/remove.d.ts +0 -7
  50. package/dist/src/commands/mcp/remove.js +0 -44
  51. package/dist/src/commands/mcp/remove.js.map +0 -1
  52. package/dist/src/commands/mcp.d.ts +0 -7
  53. package/dist/src/commands/mcp.js +0 -23
  54. package/dist/src/commands/mcp.js.map +0 -1
  55. package/dist/src/config/auth.d.ts +0 -9
  56. package/dist/src/config/auth.js +0 -54
  57. package/dist/src/config/auth.js.map +0 -1
  58. package/dist/src/config/auth.test.d.ts +0 -6
  59. package/dist/src/config/auth.test.js +0 -57
  60. package/dist/src/config/auth.test.js.map +0 -1
  61. package/dist/src/config/config.d.ts +0 -47
  62. package/dist/src/config/config.js +0 -525
  63. package/dist/src/config/config.js.map +0 -1
  64. package/dist/src/config/extension.d.ts +0 -60
  65. package/dist/src/config/extension.js +0 -377
  66. package/dist/src/config/extension.js.map +0 -1
  67. package/dist/src/config/extensions/variableSchema.d.ts +0 -28
  68. package/dist/src/config/extensions/variableSchema.js +0 -18
  69. package/dist/src/config/extensions/variableSchema.js.map +0 -1
  70. package/dist/src/config/extensions/variables.d.ts +0 -17
  71. package/dist/src/config/extensions/variables.js +0 -40
  72. package/dist/src/config/extensions/variables.js.map +0 -1
  73. package/dist/src/config/extensions/variables.test.d.ts +0 -6
  74. package/dist/src/config/extensions/variables.test.js +0 -17
  75. package/dist/src/config/extensions/variables.test.js.map +0 -1
  76. package/dist/src/config/keyBindings.d.ts +0 -66
  77. package/dist/src/config/keyBindings.js +0 -141
  78. package/dist/src/config/keyBindings.js.map +0 -1
  79. package/dist/src/config/keyBindings.test.d.ts +0 -6
  80. package/dist/src/config/keyBindings.test.js +0 -51
  81. package/dist/src/config/keyBindings.test.js.map +0 -1
  82. package/dist/src/config/sandboxConfig.d.ts +0 -13
  83. package/dist/src/config/sandboxConfig.js +0 -73
  84. package/dist/src/config/sandboxConfig.js.map +0 -1
  85. package/dist/src/config/settings.d.ts +0 -62
  86. package/dist/src/config/settings.js +0 -674
  87. package/dist/src/config/settings.js.map +0 -1
  88. package/dist/src/config/settingsSchema.d.ts +0 -884
  89. package/dist/src/config/settingsSchema.js +0 -873
  90. package/dist/src/config/settingsSchema.js.map +0 -1
  91. package/dist/src/config/settingsSchema.test.d.ts +0 -6
  92. package/dist/src/config/settingsSchema.test.js +0 -194
  93. package/dist/src/config/settingsSchema.test.js.map +0 -1
  94. package/dist/src/config/trustedFolders.d.ts +0 -37
  95. package/dist/src/config/trustedFolders.js +0 -118
  96. package/dist/src/config/trustedFolders.js.map +0 -1
  97. package/dist/src/config/trustedFolders.test.d.ts +0 -6
  98. package/dist/src/config/trustedFolders.test.js +0 -164
  99. package/dist/src/config/trustedFolders.test.js.map +0 -1
  100. package/dist/src/gemini.d.ts +0 -11
  101. package/dist/src/gemini.js +0 -284
  102. package/dist/src/gemini.js.map +0 -1
  103. package/dist/src/gemini.test.d.ts +0 -6
  104. package/dist/src/gemini.test.js +0 -247
  105. package/dist/src/gemini.test.js.map +0 -1
  106. package/dist/src/generated/git-commit.d.ts +0 -7
  107. package/dist/src/generated/git-commit.js +0 -10
  108. package/dist/src/generated/git-commit.js.map +0 -1
  109. package/dist/src/nonInteractiveCli.d.ts +0 -7
  110. package/dist/src/nonInteractiveCli.js +0 -92
  111. package/dist/src/nonInteractiveCli.js.map +0 -1
  112. package/dist/src/patches/is-in-ci.d.ts +0 -7
  113. package/dist/src/patches/is-in-ci.js +0 -15
  114. package/dist/src/patches/is-in-ci.js.map +0 -1
  115. package/dist/src/prompts/RDMind.md +0 -126
  116. package/dist/src/services/BuiltinCommandLoader.d.ts +0 -24
  117. package/dist/src/services/BuiltinCommandLoader.js +0 -97
  118. package/dist/src/services/BuiltinCommandLoader.js.map +0 -1
  119. package/dist/src/services/BuiltinCommandLoader.test.d.ts +0 -6
  120. package/dist/src/services/BuiltinCommandLoader.test.js +0 -129
  121. package/dist/src/services/BuiltinCommandLoader.test.js.map +0 -1
  122. package/dist/src/services/CommandService.d.ts +0 -55
  123. package/dist/src/services/CommandService.js +0 -90
  124. package/dist/src/services/CommandService.js.map +0 -1
  125. package/dist/src/services/CommandService.test.d.ts +0 -6
  126. package/dist/src/services/CommandService.test.js +0 -233
  127. package/dist/src/services/CommandService.test.js.map +0 -1
  128. package/dist/src/services/FileCommandLoader.d.ts +0 -49
  129. package/dist/src/services/FileCommandLoader.js +0 -220
  130. package/dist/src/services/FileCommandLoader.js.map +0 -1
  131. package/dist/src/services/McpPromptLoader.d.ts +0 -35
  132. package/dist/src/services/McpPromptLoader.js +0 -218
  133. package/dist/src/services/McpPromptLoader.js.map +0 -1
  134. package/dist/src/services/McpPromptLoader.test.d.ts +0 -6
  135. package/dist/src/services/McpPromptLoader.test.js +0 -114
  136. package/dist/src/services/McpPromptLoader.test.js.map +0 -1
  137. package/dist/src/services/prompt-processors/argumentProcessor.d.ts +0 -16
  138. package/dist/src/services/prompt-processors/argumentProcessor.js +0 -21
  139. package/dist/src/services/prompt-processors/argumentProcessor.js.map +0 -1
  140. package/dist/src/services/prompt-processors/atFileProcessor.d.ts +0 -12
  141. package/dist/src/services/prompt-processors/atFileProcessor.js +0 -62
  142. package/dist/src/services/prompt-processors/atFileProcessor.js.map +0 -1
  143. package/dist/src/services/prompt-processors/atFileProcessor.test.d.ts +0 -6
  144. package/dist/src/services/prompt-processors/atFileProcessor.test.js +0 -174
  145. package/dist/src/services/prompt-processors/atFileProcessor.test.js.map +0 -1
  146. package/dist/src/services/prompt-processors/injectionParser.d.ts +0 -29
  147. package/dist/src/services/prompt-processors/injectionParser.js +0 -60
  148. package/dist/src/services/prompt-processors/injectionParser.js.map +0 -1
  149. package/dist/src/services/prompt-processors/injectionParser.test.d.ts +0 -6
  150. package/dist/src/services/prompt-processors/injectionParser.test.js +0 -189
  151. package/dist/src/services/prompt-processors/injectionParser.test.js.map +0 -1
  152. package/dist/src/services/prompt-processors/shellProcessor.d.ts +0 -27
  153. package/dist/src/services/prompt-processors/shellProcessor.js +0 -121
  154. package/dist/src/services/prompt-processors/shellProcessor.js.map +0 -1
  155. package/dist/src/services/prompt-processors/types.d.ts +0 -45
  156. package/dist/src/services/prompt-processors/types.js +0 -20
  157. package/dist/src/services/prompt-processors/types.js.map +0 -1
  158. package/dist/src/services/types.d.ts +0 -22
  159. package/dist/src/services/types.js +0 -7
  160. package/dist/src/services/types.js.map +0 -1
  161. package/dist/src/test-utils/customMatchers.d.ts +0 -14
  162. package/dist/src/test-utils/customMatchers.js +0 -40
  163. package/dist/src/test-utils/customMatchers.js.map +0 -1
  164. package/dist/src/test-utils/mockCommandContext.d.ts +0 -18
  165. package/dist/src/test-utils/mockCommandContext.js +0 -90
  166. package/dist/src/test-utils/mockCommandContext.js.map +0 -1
  167. package/dist/src/test-utils/mockCommandContext.test.d.ts +0 -6
  168. package/dist/src/test-utils/mockCommandContext.test.js +0 -51
  169. package/dist/src/test-utils/mockCommandContext.test.js.map +0 -1
  170. package/dist/src/test-utils/render.d.ts +0 -8
  171. package/dist/src/test-utils/render.js +0 -10
  172. package/dist/src/test-utils/render.js.map +0 -1
  173. package/dist/src/ui/App.d.ts +0 -15
  174. package/dist/src/ui/App.js +0 -845
  175. package/dist/src/ui/App.js.map +0 -1
  176. package/dist/src/ui/IdeIntegrationNudge.d.ts +0 -16
  177. package/dist/src/ui/IdeIntegrationNudge.js +0 -52
  178. package/dist/src/ui/IdeIntegrationNudge.js.map +0 -1
  179. package/dist/src/ui/colors.d.ts +0 -7
  180. package/dist/src/ui/colors.js +0 -54
  181. package/dist/src/ui/colors.js.map +0 -1
  182. package/dist/src/ui/commands/aboutCommand.d.ts +0 -7
  183. package/dist/src/ui/commands/aboutCommand.js +0 -43
  184. package/dist/src/ui/commands/aboutCommand.js.map +0 -1
  185. package/dist/src/ui/commands/agentsCommand.d.ts +0 -7
  186. package/dist/src/ui/commands/agentsCommand.js +0 -32
  187. package/dist/src/ui/commands/agentsCommand.js.map +0 -1
  188. package/dist/src/ui/commands/approvalModeCommand.d.ts +0 -7
  189. package/dist/src/ui/commands/approvalModeCommand.js +0 -340
  190. package/dist/src/ui/commands/approvalModeCommand.js.map +0 -1
  191. package/dist/src/ui/commands/approvalModeCommand.test.d.ts +0 -6
  192. package/dist/src/ui/commands/approvalModeCommand.test.js +0 -293
  193. package/dist/src/ui/commands/approvalModeCommand.test.js.map +0 -1
  194. package/dist/src/ui/commands/authCommand.d.ts +0 -7
  195. package/dist/src/ui/commands/authCommand.js +0 -16
  196. package/dist/src/ui/commands/authCommand.js.map +0 -1
  197. package/dist/src/ui/commands/bugCommand.d.ts +0 -7
  198. package/dist/src/ui/commands/bugCommand.js +0 -31
  199. package/dist/src/ui/commands/bugCommand.js.map +0 -1
  200. package/dist/src/ui/commands/chatCommand.d.ts +0 -7
  201. package/dist/src/ui/commands/chatCommand.js +0 -235
  202. package/dist/src/ui/commands/chatCommand.js.map +0 -1
  203. package/dist/src/ui/commands/clearCommand.d.ts +0 -7
  204. package/dist/src/ui/commands/clearCommand.js +0 -27
  205. package/dist/src/ui/commands/clearCommand.js.map +0 -1
  206. package/dist/src/ui/commands/compressCommand.d.ts +0 -7
  207. package/dist/src/ui/commands/compressCommand.js +0 -66
  208. package/dist/src/ui/commands/compressCommand.js.map +0 -1
  209. package/dist/src/ui/commands/copyCommand.d.ts +0 -7
  210. package/dist/src/ui/commands/copyCommand.js +0 -59
  211. package/dist/src/ui/commands/copyCommand.js.map +0 -1
  212. package/dist/src/ui/commands/corgiCommand.d.ts +0 -7
  213. package/dist/src/ui/commands/corgiCommand.js +0 -15
  214. package/dist/src/ui/commands/corgiCommand.js.map +0 -1
  215. package/dist/src/ui/commands/createCommand.d.ts +0 -7
  216. package/dist/src/ui/commands/createCommand.js +0 -382
  217. package/dist/src/ui/commands/createCommand.js.map +0 -1
  218. package/dist/src/ui/commands/directoryCommand.d.ts +0 -9
  219. package/dist/src/ui/commands/directoryCommand.js +0 -287
  220. package/dist/src/ui/commands/directoryCommand.js.map +0 -1
  221. package/dist/src/ui/commands/docsCommand.d.ts +0 -7
  222. package/dist/src/ui/commands/docsCommand.js +0 -31
  223. package/dist/src/ui/commands/docsCommand.js.map +0 -1
  224. package/dist/src/ui/commands/editorCommand.d.ts +0 -7
  225. package/dist/src/ui/commands/editorCommand.js +0 -16
  226. package/dist/src/ui/commands/editorCommand.js.map +0 -1
  227. package/dist/src/ui/commands/extensionsCommand.d.ts +0 -7
  228. package/dist/src/ui/commands/extensionsCommand.js +0 -31
  229. package/dist/src/ui/commands/extensionsCommand.js.map +0 -1
  230. package/dist/src/ui/commands/helpCommand.d.ts +0 -7
  231. package/dist/src/ui/commands/helpCommand.js +0 -21
  232. package/dist/src/ui/commands/helpCommand.js.map +0 -1
  233. package/dist/src/ui/commands/ideCommand.d.ts +0 -8
  234. package/dist/src/ui/commands/ideCommand.js +0 -216
  235. package/dist/src/ui/commands/ideCommand.js.map +0 -1
  236. package/dist/src/ui/commands/importCommand.d.ts +0 -10
  237. package/dist/src/ui/commands/importCommand.js +0 -762
  238. package/dist/src/ui/commands/importCommand.js.map +0 -1
  239. package/dist/src/ui/commands/importCommand.test.d.ts +0 -6
  240. package/dist/src/ui/commands/importCommand.test.js +0 -126
  241. package/dist/src/ui/commands/importCommand.test.js.map +0 -1
  242. package/dist/src/ui/commands/initCommand.d.ts +0 -7
  243. package/dist/src/ui/commands/initCommand.js +0 -115
  244. package/dist/src/ui/commands/initCommand.js.map +0 -1
  245. package/dist/src/ui/commands/mcpCommand.d.ts +0 -7
  246. package/dist/src/ui/commands/mcpCommand.js +0 -424
  247. package/dist/src/ui/commands/mcpCommand.js.map +0 -1
  248. package/dist/src/ui/commands/memoryCommand.d.ts +0 -7
  249. package/dist/src/ui/commands/memoryCommand.js +0 -225
  250. package/dist/src/ui/commands/memoryCommand.js.map +0 -1
  251. package/dist/src/ui/commands/modelCommand.d.ts +0 -7
  252. package/dist/src/ui/commands/modelCommand.js +0 -68
  253. package/dist/src/ui/commands/modelCommand.js.map +0 -1
  254. package/dist/src/ui/commands/modelCommand.test.d.ts +0 -6
  255. package/dist/src/ui/commands/modelCommand.test.js +0 -138
  256. package/dist/src/ui/commands/modelCommand.test.js.map +0 -1
  257. package/dist/src/ui/commands/quitCommand.d.ts +0 -8
  258. package/dist/src/ui/commands/quitCommand.js +0 -59
  259. package/dist/src/ui/commands/quitCommand.js.map +0 -1
  260. package/dist/src/ui/commands/rdconfigCommand.d.ts +0 -7
  261. package/dist/src/ui/commands/rdconfigCommand.js +0 -104
  262. package/dist/src/ui/commands/rdconfigCommand.js.map +0 -1
  263. package/dist/src/ui/commands/rdconfigCommand.test.d.ts +0 -6
  264. package/dist/src/ui/commands/rdconfigCommand.test.js +0 -141
  265. package/dist/src/ui/commands/rdconfigCommand.test.js.map +0 -1
  266. package/dist/src/ui/commands/rdflowCommand.d.ts +0 -7
  267. package/dist/src/ui/commands/rdflowCommand.js +0 -284
  268. package/dist/src/ui/commands/rdflowCommand.js.map +0 -1
  269. package/dist/src/ui/commands/rdflowCommand.test.d.ts +0 -6
  270. package/dist/src/ui/commands/rdflowCommand.test.js +0 -127
  271. package/dist/src/ui/commands/rdflowCommand.test.js.map +0 -1
  272. package/dist/src/ui/commands/restoreCommand.d.ts +0 -8
  273. package/dist/src/ui/commands/restoreCommand.js +0 -124
  274. package/dist/src/ui/commands/restoreCommand.js.map +0 -1
  275. package/dist/src/ui/commands/settingsCommand.d.ts +0 -7
  276. package/dist/src/ui/commands/settingsCommand.js +0 -16
  277. package/dist/src/ui/commands/settingsCommand.js.map +0 -1
  278. package/dist/src/ui/commands/statsCommand.d.ts +0 -7
  279. package/dist/src/ui/commands/statsCommand.js +0 -54
  280. package/dist/src/ui/commands/statsCommand.js.map +0 -1
  281. package/dist/src/ui/commands/summaryCommand.d.ts +0 -7
  282. package/dist/src/ui/commands/summaryCommand.js +0 -149
  283. package/dist/src/ui/commands/summaryCommand.js.map +0 -1
  284. package/dist/src/ui/commands/techDesignCommand.d.ts +0 -10
  285. package/dist/src/ui/commands/techDesignCommand.js +0 -436
  286. package/dist/src/ui/commands/techDesignCommand.js.map +0 -1
  287. package/dist/src/ui/commands/techDesignCommand.test.d.ts +0 -6
  288. package/dist/src/ui/commands/techDesignCommand.test.js +0 -86
  289. package/dist/src/ui/commands/techDesignCommand.test.js.map +0 -1
  290. package/dist/src/ui/commands/terminalSetupCommand.d.ts +0 -13
  291. package/dist/src/ui/commands/terminalSetupCommand.js +0 -41
  292. package/dist/src/ui/commands/terminalSetupCommand.js.map +0 -1
  293. package/dist/src/ui/commands/themeCommand.d.ts +0 -7
  294. package/dist/src/ui/commands/themeCommand.js +0 -16
  295. package/dist/src/ui/commands/themeCommand.js.map +0 -1
  296. package/dist/src/ui/commands/toolsCommand.d.ts +0 -7
  297. package/dist/src/ui/commands/toolsCommand.js +0 -56
  298. package/dist/src/ui/commands/toolsCommand.js.map +0 -1
  299. package/dist/src/ui/commands/types.d.ts +0 -153
  300. package/dist/src/ui/commands/types.js +0 -13
  301. package/dist/src/ui/commands/types.js.map +0 -1
  302. package/dist/src/ui/commands/vimCommand.d.ts +0 -7
  303. package/dist/src/ui/commands/vimCommand.js +0 -23
  304. package/dist/src/ui/commands/vimCommand.js.map +0 -1
  305. package/dist/src/ui/components/AboutBox.d.ts +0 -17
  306. package/dist/src/ui/components/AboutBox.js +0 -6
  307. package/dist/src/ui/components/AboutBox.js.map +0 -1
  308. package/dist/src/ui/components/AsciiArt.d.ts +0 -8
  309. package/dist/src/ui/components/AsciiArt.js +0 -30
  310. package/dist/src/ui/components/AsciiArt.js.map +0 -1
  311. package/dist/src/ui/components/AuthDialog.d.ts +0 -15
  312. package/dist/src/ui/components/AuthDialog.js +0 -89
  313. package/dist/src/ui/components/AuthDialog.js.map +0 -1
  314. package/dist/src/ui/components/AuthDialog.test.d.ts +0 -6
  315. package/dist/src/ui/components/AuthDialog.test.js +0 -280
  316. package/dist/src/ui/components/AuthDialog.test.js.map +0 -1
  317. package/dist/src/ui/components/AuthInProgress.d.ts +0 -11
  318. package/dist/src/ui/components/AuthInProgress.js +0 -23
  319. package/dist/src/ui/components/AuthInProgress.js.map +0 -1
  320. package/dist/src/ui/components/AutoAcceptIndicator.d.ts +0 -12
  321. package/dist/src/ui/components/AutoAcceptIndicator.js +0 -31
  322. package/dist/src/ui/components/AutoAcceptIndicator.js.map +0 -1
  323. package/dist/src/ui/components/ConsoleSummaryDisplay.d.ts +0 -11
  324. package/dist/src/ui/components/ConsoleSummaryDisplay.js +0 -11
  325. package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +0 -1
  326. package/dist/src/ui/components/ContextSummaryDisplay.d.ts +0 -20
  327. package/dist/src/ui/components/ContextSummaryDisplay.js +0 -66
  328. package/dist/src/ui/components/ContextSummaryDisplay.js.map +0 -1
  329. package/dist/src/ui/components/ContextUsageDisplay.d.ts +0 -9
  330. package/dist/src/ui/components/ContextUsageDisplay.js +0 -14
  331. package/dist/src/ui/components/ContextUsageDisplay.js.map +0 -1
  332. package/dist/src/ui/components/DebugProfiler.d.ts +0 -6
  333. package/dist/src/ui/components/DebugProfiler.js +0 -27
  334. package/dist/src/ui/components/DebugProfiler.js.map +0 -1
  335. package/dist/src/ui/components/DetailedMessagesDisplay.d.ts +0 -14
  336. package/dist/src/ui/components/DetailedMessagesDisplay.js +0 -34
  337. package/dist/src/ui/components/DetailedMessagesDisplay.js.map +0 -1
  338. package/dist/src/ui/components/EditorSettingsDialog.d.ts +0 -16
  339. package/dist/src/ui/components/EditorSettingsDialog.js +0 -71
  340. package/dist/src/ui/components/EditorSettingsDialog.js.map +0 -1
  341. package/dist/src/ui/components/FolderTrustDialog.d.ts +0 -17
  342. package/dist/src/ui/components/FolderTrustDialog.js +0 -45
  343. package/dist/src/ui/components/FolderTrustDialog.js.map +0 -1
  344. package/dist/src/ui/components/FolderTrustDialog.test.d.ts +0 -6
  345. package/dist/src/ui/components/FolderTrustDialog.test.js +0 -63
  346. package/dist/src/ui/components/FolderTrustDialog.test.js.map +0 -1
  347. package/dist/src/ui/components/Footer.d.ts +0 -23
  348. package/dist/src/ui/components/Footer.js +0 -25
  349. package/dist/src/ui/components/Footer.js.map +0 -1
  350. package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +0 -17
  351. package/dist/src/ui/components/GeminiRespondingSpinner.js +0 -18
  352. package/dist/src/ui/components/GeminiRespondingSpinner.js.map +0 -1
  353. package/dist/src/ui/components/Header.d.ts +0 -13
  354. package/dist/src/ui/components/Header.js +0 -28
  355. package/dist/src/ui/components/Header.js.map +0 -1
  356. package/dist/src/ui/components/Header.test.d.ts +0 -6
  357. package/dist/src/ui/components/Header.test.js +0 -37
  358. package/dist/src/ui/components/Header.test.js.map +0 -1
  359. package/dist/src/ui/components/Help.d.ts +0 -12
  360. package/dist/src/ui/components/Help.js +0 -10
  361. package/dist/src/ui/components/Help.js.map +0 -1
  362. package/dist/src/ui/components/HistoryItemDisplay.d.ts +0 -20
  363. package/dist/src/ui/components/HistoryItemDisplay.js +0 -22
  364. package/dist/src/ui/components/HistoryItemDisplay.js.map +0 -1
  365. package/dist/src/ui/components/HistoryItemDisplay.test.d.ts +0 -6
  366. package/dist/src/ui/components/HistoryItemDisplay.test.js +0 -93
  367. package/dist/src/ui/components/HistoryItemDisplay.test.js.map +0 -1
  368. package/dist/src/ui/components/InputPrompt.d.ts +0 -28
  369. package/dist/src/ui/components/InputPrompt.js +0 -562
  370. package/dist/src/ui/components/InputPrompt.js.map +0 -1
  371. package/dist/src/ui/components/LoadingIndicator.d.ts +0 -15
  372. package/dist/src/ui/components/LoadingIndicator.js +0 -25
  373. package/dist/src/ui/components/LoadingIndicator.js.map +0 -1
  374. package/dist/src/ui/components/LoadingIndicator.test.d.ts +0 -6
  375. package/dist/src/ui/components/LoadingIndicator.test.js +0 -190
  376. package/dist/src/ui/components/LoadingIndicator.test.js.map +0 -1
  377. package/dist/src/ui/components/MemoryUsageDisplay.d.ts +0 -7
  378. package/dist/src/ui/components/MemoryUsageDisplay.js +0 -22
  379. package/dist/src/ui/components/MemoryUsageDisplay.js.map +0 -1
  380. package/dist/src/ui/components/ModelSelectionDialog.d.ts +0 -14
  381. package/dist/src/ui/components/ModelSelectionDialog.js +0 -26
  382. package/dist/src/ui/components/ModelSelectionDialog.js.map +0 -1
  383. package/dist/src/ui/components/ModelSelectionDialog.test.d.ts +0 -6
  384. package/dist/src/ui/components/ModelSelectionDialog.test.js +0 -124
  385. package/dist/src/ui/components/ModelSelectionDialog.test.js.map +0 -1
  386. package/dist/src/ui/components/ModelStatsDisplay.d.ts +0 -7
  387. package/dist/src/ui/components/ModelStatsDisplay.js +0 -33
  388. package/dist/src/ui/components/ModelStatsDisplay.js.map +0 -1
  389. package/dist/src/ui/components/ModelSwitchDialog.d.ts +0 -15
  390. package/dist/src/ui/components/ModelSwitchDialog.js +0 -37
  391. package/dist/src/ui/components/ModelSwitchDialog.js.map +0 -1
  392. package/dist/src/ui/components/ModelSwitchDialog.test.d.ts +0 -6
  393. package/dist/src/ui/components/ModelSwitchDialog.test.js +0 -125
  394. package/dist/src/ui/components/ModelSwitchDialog.test.js.map +0 -1
  395. package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +0 -12
  396. package/dist/src/ui/components/OpenAIKeyPrompt.js +0 -113
  397. package/dist/src/ui/components/OpenAIKeyPrompt.js.map +0 -1
  398. package/dist/src/ui/components/OpenAIKeyPrompt.test.d.ts +0 -6
  399. package/dist/src/ui/components/OpenAIKeyPrompt.test.js +0 -44
  400. package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +0 -1
  401. package/dist/src/ui/components/PlanSummaryDisplay.d.ts +0 -14
  402. package/dist/src/ui/components/PlanSummaryDisplay.js +0 -9
  403. package/dist/src/ui/components/PlanSummaryDisplay.js.map +0 -1
  404. package/dist/src/ui/components/PrepareLabel.d.ts +0 -15
  405. package/dist/src/ui/components/PrepareLabel.js +0 -16
  406. package/dist/src/ui/components/PrepareLabel.js.map +0 -1
  407. package/dist/src/ui/components/QuitConfirmationDialog.d.ts +0 -17
  408. package/dist/src/ui/components/QuitConfirmationDialog.js +0 -44
  409. package/dist/src/ui/components/QuitConfirmationDialog.js.map +0 -1
  410. package/dist/src/ui/components/QwenOAuthProgress.d.ts +0 -16
  411. package/dist/src/ui/components/QwenOAuthProgress.js +0 -103
  412. package/dist/src/ui/components/QwenOAuthProgress.js.map +0 -1
  413. package/dist/src/ui/components/QwenOAuthProgress.test.d.ts +0 -6
  414. package/dist/src/ui/components/QwenOAuthProgress.test.js +0 -292
  415. package/dist/src/ui/components/QwenOAuthProgress.test.js.map +0 -1
  416. package/dist/src/ui/components/SessionSummaryDisplay.d.ts +0 -11
  417. package/dist/src/ui/components/SessionSummaryDisplay.js +0 -4
  418. package/dist/src/ui/components/SessionSummaryDisplay.js.map +0 -1
  419. package/dist/src/ui/components/SettingsDialog.d.ts +0 -15
  420. package/dist/src/ui/components/SettingsDialog.js +0 -550
  421. package/dist/src/ui/components/SettingsDialog.js.map +0 -1
  422. package/dist/src/ui/components/SettingsDialog.test.d.ts +0 -6
  423. package/dist/src/ui/components/SettingsDialog.test.js +0 -646
  424. package/dist/src/ui/components/SettingsDialog.test.js.map +0 -1
  425. package/dist/src/ui/components/ShellConfirmationDialog.d.ts +0 -15
  426. package/dist/src/ui/components/ShellConfirmationDialog.js +0 -46
  427. package/dist/src/ui/components/ShellConfirmationDialog.js.map +0 -1
  428. package/dist/src/ui/components/ShellConfirmationDialog.test.d.ts +0 -6
  429. package/dist/src/ui/components/ShellConfirmationDialog.test.js +0 -40
  430. package/dist/src/ui/components/ShellConfirmationDialog.test.js.map +0 -1
  431. package/dist/src/ui/components/ShellModeIndicator.d.ts +0 -7
  432. package/dist/src/ui/components/ShellModeIndicator.js +0 -5
  433. package/dist/src/ui/components/ShellModeIndicator.js.map +0 -1
  434. package/dist/src/ui/components/ShowMoreLines.d.ts +0 -10
  435. package/dist/src/ui/components/ShowMoreLines.js +0 -24
  436. package/dist/src/ui/components/ShowMoreLines.js.map +0 -1
  437. package/dist/src/ui/components/StatsDisplay.d.ts +0 -12
  438. package/dist/src/ui/components/StatsDisplay.js +0 -43
  439. package/dist/src/ui/components/StatsDisplay.js.map +0 -1
  440. package/dist/src/ui/components/SuggestionsDisplay.d.ts +0 -22
  441. package/dist/src/ui/components/SuggestionsDisplay.js +0 -40
  442. package/dist/src/ui/components/SuggestionsDisplay.js.map +0 -1
  443. package/dist/src/ui/components/ThemeDialog.d.ts +0 -20
  444. package/dist/src/ui/components/ThemeDialog.js +0 -138
  445. package/dist/src/ui/components/ThemeDialog.js.map +0 -1
  446. package/dist/src/ui/components/Tips.d.ts +0 -12
  447. package/dist/src/ui/components/Tips.js +0 -9
  448. package/dist/src/ui/components/Tips.js.map +0 -1
  449. package/dist/src/ui/components/TodoDisplay.d.ts +0 -17
  450. package/dist/src/ui/components/TodoDisplay.js +0 -27
  451. package/dist/src/ui/components/TodoDisplay.js.map +0 -1
  452. package/dist/src/ui/components/TodoDisplay.test.d.ts +0 -6
  453. package/dist/src/ui/components/TodoDisplay.test.js +0 -77
  454. package/dist/src/ui/components/TodoDisplay.test.js.map +0 -1
  455. package/dist/src/ui/components/ToolStatsDisplay.d.ts +0 -7
  456. package/dist/src/ui/components/ToolStatsDisplay.js +0 -41
  457. package/dist/src/ui/components/ToolStatsDisplay.js.map +0 -1
  458. package/dist/src/ui/components/UpdateNotification.d.ts +0 -10
  459. package/dist/src/ui/components/UpdateNotification.js +0 -10
  460. package/dist/src/ui/components/UpdateNotification.js.map +0 -1
  461. package/dist/src/ui/components/WelcomeBackDialog.d.ts +0 -13
  462. package/dist/src/ui/components/WelcomeBackDialog.js +0 -32
  463. package/dist/src/ui/components/WelcomeBackDialog.js.map +0 -1
  464. package/dist/src/ui/components/WorkspaceMigrationDialog.d.ts +0 -11
  465. package/dist/src/ui/components/WorkspaceMigrationDialog.js +0 -42
  466. package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +0 -1
  467. package/dist/src/ui/components/messages/CompressionMessage.d.ts +0 -11
  468. package/dist/src/ui/components/messages/CompressionMessage.js +0 -17
  469. package/dist/src/ui/components/messages/CompressionMessage.js.map +0 -1
  470. package/dist/src/ui/components/messages/DiffRenderer.d.ts +0 -16
  471. package/dist/src/ui/components/messages/DiffRenderer.js +0 -226
  472. package/dist/src/ui/components/messages/DiffRenderer.js.map +0 -1
  473. package/dist/src/ui/components/messages/DiffRenderer.test.d.ts +0 -6
  474. package/dist/src/ui/components/messages/DiffRenderer.test.js +0 -239
  475. package/dist/src/ui/components/messages/DiffRenderer.test.js.map +0 -1
  476. package/dist/src/ui/components/messages/ErrorMessage.d.ts +0 -11
  477. package/dist/src/ui/components/messages/ErrorMessage.js +0 -9
  478. package/dist/src/ui/components/messages/ErrorMessage.js.map +0 -1
  479. package/dist/src/ui/components/messages/GeminiMessage.d.ts +0 -14
  480. package/dist/src/ui/components/messages/GeminiMessage.js +0 -11
  481. package/dist/src/ui/components/messages/GeminiMessage.js.map +0 -1
  482. package/dist/src/ui/components/messages/GeminiMessageContent.d.ts +0 -14
  483. package/dist/src/ui/components/messages/GeminiMessageContent.js +0 -15
  484. package/dist/src/ui/components/messages/GeminiMessageContent.js.map +0 -1
  485. package/dist/src/ui/components/messages/InfoMessage.d.ts +0 -11
  486. package/dist/src/ui/components/messages/InfoMessage.js +0 -14
  487. package/dist/src/ui/components/messages/InfoMessage.js.map +0 -1
  488. package/dist/src/ui/components/messages/SummaryMessage.d.ts +0 -11
  489. package/dist/src/ui/components/messages/SummaryMessage.js +0 -35
  490. package/dist/src/ui/components/messages/SummaryMessage.js.map +0 -1
  491. package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +0 -16
  492. package/dist/src/ui/components/messages/ToolConfirmationMessage.js +0 -199
  493. package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +0 -1
  494. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.d.ts +0 -6
  495. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +0 -137
  496. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +0 -1
  497. package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +0 -18
  498. package/dist/src/ui/components/messages/ToolGroupMessage.js +0 -50
  499. package/dist/src/ui/components/messages/ToolGroupMessage.js.map +0 -1
  500. package/dist/src/ui/components/messages/ToolGroupMessage.test.d.ts +0 -6
  501. package/dist/src/ui/components/messages/ToolGroupMessage.test.js +0 -259
  502. package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +0 -1
  503. package/dist/src/ui/components/messages/ToolMessage.d.ts +0 -17
  504. package/dist/src/ui/components/messages/ToolMessage.js +0 -138
  505. package/dist/src/ui/components/messages/ToolMessage.js.map +0 -1
  506. package/dist/src/ui/components/messages/ToolMessage.test.d.ts +0 -6
  507. package/dist/src/ui/components/messages/ToolMessage.test.js +0 -149
  508. package/dist/src/ui/components/messages/ToolMessage.test.js.map +0 -1
  509. package/dist/src/ui/components/messages/UserMessage.d.ts +0 -11
  510. package/dist/src/ui/components/messages/UserMessage.js +0 -14
  511. package/dist/src/ui/components/messages/UserMessage.js.map +0 -1
  512. package/dist/src/ui/components/messages/UserShellMessage.d.ts +0 -11
  513. package/dist/src/ui/components/messages/UserShellMessage.js +0 -9
  514. package/dist/src/ui/components/messages/UserShellMessage.js.map +0 -1
  515. package/dist/src/ui/components/shared/MaxSizedBox.d.ts +0 -61
  516. package/dist/src/ui/components/shared/MaxSizedBox.js +0 -451
  517. package/dist/src/ui/components/shared/MaxSizedBox.js.map +0 -1
  518. package/dist/src/ui/components/shared/MaxSizedBox.test.d.ts +0 -6
  519. package/dist/src/ui/components/shared/MaxSizedBox.test.js +0 -154
  520. package/dist/src/ui/components/shared/MaxSizedBox.test.js.map +0 -1
  521. package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +0 -46
  522. package/dist/src/ui/components/shared/RadioButtonSelect.js +0 -116
  523. package/dist/src/ui/components/shared/RadioButtonSelect.js.map +0 -1
  524. package/dist/src/ui/components/shared/RadioButtonSelect.test.d.ts +0 -6
  525. package/dist/src/ui/components/shared/RadioButtonSelect.test.js +0 -111
  526. package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +0 -1
  527. package/dist/src/ui/components/shared/TextInput.d.ts +0 -16
  528. package/dist/src/ui/components/shared/TextInput.js +0 -127
  529. package/dist/src/ui/components/shared/TextInput.js.map +0 -1
  530. package/dist/src/ui/components/shared/text-buffer.d.ts +0 -467
  531. package/dist/src/ui/components/shared/text-buffer.js +0 -1489
  532. package/dist/src/ui/components/shared/text-buffer.js.map +0 -1
  533. package/dist/src/ui/components/shared/vim-buffer-actions.d.ts +0 -72
  534. package/dist/src/ui/components/shared/vim-buffer-actions.js +0 -552
  535. package/dist/src/ui/components/shared/vim-buffer-actions.js.map +0 -1
  536. package/dist/src/ui/components/subagents/constants.d.ts +0 -23
  537. package/dist/src/ui/components/subagents/constants.js +0 -67
  538. package/dist/src/ui/components/subagents/constants.js.map +0 -1
  539. package/dist/src/ui/components/subagents/create/AgentCreationWizard.d.ts +0 -15
  540. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +0 -174
  541. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +0 -1
  542. package/dist/src/ui/components/subagents/create/ColorSelector.d.ts +0 -15
  543. package/dist/src/ui/components/subagents/create/ColorSelector.js +0 -42
  544. package/dist/src/ui/components/subagents/create/ColorSelector.js.map +0 -1
  545. package/dist/src/ui/components/subagents/create/CreationSummary.d.ts +0 -10
  546. package/dist/src/ui/components/subagents/create/CreationSummary.js +0 -163
  547. package/dist/src/ui/components/subagents/create/CreationSummary.js.map +0 -1
  548. package/dist/src/ui/components/subagents/create/DescriptionInput.d.ts +0 -10
  549. package/dist/src/ui/components/subagents/create/DescriptionInput.js +0 -105
  550. package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +0 -1
  551. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.d.ts +0 -10
  552. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +0 -33
  553. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +0 -1
  554. package/dist/src/ui/components/subagents/create/LocationSelector.d.ts +0 -10
  555. package/dist/src/ui/components/subagents/create/LocationSelector.js +0 -33
  556. package/dist/src/ui/components/subagents/create/LocationSelector.js.map +0 -1
  557. package/dist/src/ui/components/subagents/create/TextEntryStep.d.ts +0 -26
  558. package/dist/src/ui/components/subagents/create/TextEntryStep.js +0 -28
  559. package/dist/src/ui/components/subagents/create/TextEntryStep.js.map +0 -1
  560. package/dist/src/ui/components/subagents/create/ToolSelector.d.ts +0 -16
  561. package/dist/src/ui/components/subagents/create/ToolSelector.js +0 -143
  562. package/dist/src/ui/components/subagents/create/ToolSelector.js.map +0 -1
  563. package/dist/src/ui/components/subagents/index.d.ts +0 -8
  564. package/dist/src/ui/components/subagents/index.js +0 -12
  565. package/dist/src/ui/components/subagents/index.js.map +0 -1
  566. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.d.ts +0 -13
  567. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +0 -46
  568. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +0 -1
  569. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.d.ts +0 -13
  570. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js +0 -33
  571. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js.map +0 -1
  572. package/dist/src/ui/components/subagents/manage/AgentEditStep.d.ts +0 -15
  573. package/dist/src/ui/components/subagents/manage/AgentEditStep.js +0 -63
  574. package/dist/src/ui/components/subagents/manage/AgentEditStep.js.map +0 -1
  575. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.d.ts +0 -12
  576. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +0 -225
  577. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +0 -1
  578. package/dist/src/ui/components/subagents/manage/AgentViewerStep.d.ts +0 -11
  579. package/dist/src/ui/components/subagents/manage/AgentViewerStep.js +0 -19
  580. package/dist/src/ui/components/subagents/manage/AgentViewerStep.js.map +0 -1
  581. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.d.ts +0 -15
  582. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +0 -212
  583. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +0 -1
  584. package/dist/src/ui/components/subagents/reducers.d.ts +0 -14
  585. package/dist/src/ui/components/subagents/reducers.js +0 -162
  586. package/dist/src/ui/components/subagents/reducers.js.map +0 -1
  587. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.d.ts +0 -20
  588. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +0 -194
  589. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +0 -1
  590. package/dist/src/ui/components/subagents/types.d.ts +0 -137
  591. package/dist/src/ui/components/subagents/types.js +0 -15
  592. package/dist/src/ui/components/subagents/types.js.map +0 -1
  593. package/dist/src/ui/components/subagents/utils.d.ts +0 -15
  594. package/dist/src/ui/components/subagents/utils.js +0 -79
  595. package/dist/src/ui/components/subagents/utils.js.map +0 -1
  596. package/dist/src/ui/constants.d.ts +0 -17
  597. package/dist/src/ui/constants.js +0 -22
  598. package/dist/src/ui/constants.js.map +0 -1
  599. package/dist/src/ui/contexts/KeypressContext.d.ts +0 -32
  600. package/dist/src/ui/contexts/KeypressContext.js +0 -371
  601. package/dist/src/ui/contexts/KeypressContext.js.map +0 -1
  602. package/dist/src/ui/contexts/KeypressContext.test.d.ts +0 -6
  603. package/dist/src/ui/contexts/KeypressContext.test.js +0 -894
  604. package/dist/src/ui/contexts/KeypressContext.test.js.map +0 -1
  605. package/dist/src/ui/contexts/OverflowContext.d.ts +0 -19
  606. package/dist/src/ui/contexts/OverflowContext.js +0 -38
  607. package/dist/src/ui/contexts/OverflowContext.js.map +0 -1
  608. package/dist/src/ui/contexts/SessionContext.d.ts +0 -39
  609. package/dist/src/ui/contexts/SessionContext.js +0 -55
  610. package/dist/src/ui/contexts/SessionContext.js.map +0 -1
  611. package/dist/src/ui/contexts/SettingsContext.d.ts +0 -9
  612. package/dist/src/ui/contexts/SettingsContext.js +0 -15
  613. package/dist/src/ui/contexts/SettingsContext.js.map +0 -1
  614. package/dist/src/ui/contexts/StreamingContext.d.ts +0 -9
  615. package/dist/src/ui/contexts/StreamingContext.js +0 -15
  616. package/dist/src/ui/contexts/StreamingContext.js.map +0 -1
  617. package/dist/src/ui/contexts/VimModeContext.d.ts +0 -19
  618. package/dist/src/ui/contexts/VimModeContext.js +0 -48
  619. package/dist/src/ui/contexts/VimModeContext.js.map +0 -1
  620. package/dist/src/ui/editors/editorSettingsManager.d.ts +0 -19
  621. package/dist/src/ui/editors/editorSettingsManager.js +0 -47
  622. package/dist/src/ui/editors/editorSettingsManager.js.map +0 -1
  623. package/dist/src/ui/hooks/atCommandProcessor.d.ts +0 -31
  624. package/dist/src/ui/hooks/atCommandProcessor.js +0 -364
  625. package/dist/src/ui/hooks/atCommandProcessor.js.map +0 -1
  626. package/dist/src/ui/hooks/atCommandProcessor.test.d.ts +0 -6
  627. package/dist/src/ui/hooks/atCommandProcessor.test.js +0 -832
  628. package/dist/src/ui/hooks/atCommandProcessor.test.js.map +0 -1
  629. package/dist/src/ui/hooks/shellCommandProcessor.d.ts +0 -17
  630. package/dist/src/ui/hooks/shellCommandProcessor.js +0 -234
  631. package/dist/src/ui/hooks/shellCommandProcessor.js.map +0 -1
  632. package/dist/src/ui/hooks/shellCommandProcessor.test.d.ts +0 -6
  633. package/dist/src/ui/hooks/shellCommandProcessor.test.js +0 -329
  634. package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +0 -1
  635. package/dist/src/ui/hooks/slashCommandProcessor.d.ts +0 -32
  636. package/dist/src/ui/hooks/slashCommandProcessor.js +0 -543
  637. package/dist/src/ui/hooks/slashCommandProcessor.js.map +0 -1
  638. package/dist/src/ui/hooks/useAgentsManagerDialog.d.ts +0 -11
  639. package/dist/src/ui/hooks/useAgentsManagerDialog.js +0 -21
  640. package/dist/src/ui/hooks/useAgentsManagerDialog.js.map +0 -1
  641. package/dist/src/ui/hooks/useAtCompletion.d.ts +0 -23
  642. package/dist/src/ui/hooks/useAtCompletion.js +0 -179
  643. package/dist/src/ui/hooks/useAtCompletion.js.map +0 -1
  644. package/dist/src/ui/hooks/useAuthCommand.d.ts +0 -14
  645. package/dist/src/ui/hooks/useAuthCommand.js +0 -66
  646. package/dist/src/ui/hooks/useAuthCommand.js.map +0 -1
  647. package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +0 -12
  648. package/dist/src/ui/hooks/useAutoAcceptIndicator.js +0 -38
  649. package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +0 -1
  650. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.d.ts +0 -6
  651. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +0 -263
  652. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +0 -1
  653. package/dist/src/ui/hooks/useBracketedPaste.d.ts +0 -12
  654. package/dist/src/ui/hooks/useBracketedPaste.js +0 -32
  655. package/dist/src/ui/hooks/useBracketedPaste.js.map +0 -1
  656. package/dist/src/ui/hooks/useCommandCompletion.d.ts +0 -32
  657. package/dist/src/ui/hooks/useCommandCompletion.js +0 -186
  658. package/dist/src/ui/hooks/useCommandCompletion.js.map +0 -1
  659. package/dist/src/ui/hooks/useCompletion.d.ts +0 -24
  660. package/dist/src/ui/hooks/useCompletion.js +0 -88
  661. package/dist/src/ui/hooks/useCompletion.js.map +0 -1
  662. package/dist/src/ui/hooks/useConsoleMessages.d.ts +0 -12
  663. package/dist/src/ui/hooks/useConsoleMessages.js +0 -76
  664. package/dist/src/ui/hooks/useConsoleMessages.js.map +0 -1
  665. package/dist/src/ui/hooks/useDialogClose.d.ts +0 -32
  666. package/dist/src/ui/hooks/useDialogClose.js +0 -48
  667. package/dist/src/ui/hooks/useDialogClose.js.map +0 -1
  668. package/dist/src/ui/hooks/useEditorSettings.d.ts +0 -16
  669. package/dist/src/ui/hooks/useEditorSettings.js +0 -43
  670. package/dist/src/ui/hooks/useEditorSettings.js.map +0 -1
  671. package/dist/src/ui/hooks/useEditorSettings.test.d.ts +0 -6
  672. package/dist/src/ui/hooks/useEditorSettings.test.js +0 -164
  673. package/dist/src/ui/hooks/useEditorSettings.test.js.map +0 -1
  674. package/dist/src/ui/hooks/useFocus.d.ts +0 -10
  675. package/dist/src/ui/hooks/useFocus.js +0 -41
  676. package/dist/src/ui/hooks/useFocus.js.map +0 -1
  677. package/dist/src/ui/hooks/useFolderTrust.d.ts +0 -13
  678. package/dist/src/ui/hooks/useFolderTrust.js +0 -64
  679. package/dist/src/ui/hooks/useFolderTrust.js.map +0 -1
  680. package/dist/src/ui/hooks/useGeminiStream.d.ts +0 -28
  681. package/dist/src/ui/hooks/useGeminiStream.js +0 -687
  682. package/dist/src/ui/hooks/useGeminiStream.js.map +0 -1
  683. package/dist/src/ui/hooks/useGitBranchName.d.ts +0 -6
  684. package/dist/src/ui/hooks/useGitBranchName.js +0 -61
  685. package/dist/src/ui/hooks/useGitBranchName.js.map +0 -1
  686. package/dist/src/ui/hooks/useGitBranchName.test.d.ts +0 -6
  687. package/dist/src/ui/hooks/useGitBranchName.test.js +0 -175
  688. package/dist/src/ui/hooks/useGitBranchName.test.js.map +0 -1
  689. package/dist/src/ui/hooks/useHistoryManager.d.ts +0 -22
  690. package/dist/src/ui/hooks/useHistoryManager.js +0 -72
  691. package/dist/src/ui/hooks/useHistoryManager.js.map +0 -1
  692. package/dist/src/ui/hooks/useHistoryManager.test.d.ts +0 -6
  693. package/dist/src/ui/hooks/useHistoryManager.test.js +0 -171
  694. package/dist/src/ui/hooks/useHistoryManager.test.js.map +0 -1
  695. package/dist/src/ui/hooks/useInputHistory.d.ts +0 -19
  696. package/dist/src/ui/hooks/useInputHistory.js +0 -84
  697. package/dist/src/ui/hooks/useInputHistory.js.map +0 -1
  698. package/dist/src/ui/hooks/useInputHistory.test.d.ts +0 -6
  699. package/dist/src/ui/hooks/useInputHistory.test.js +0 -207
  700. package/dist/src/ui/hooks/useInputHistory.test.js.map +0 -1
  701. package/dist/src/ui/hooks/useKeypress.d.ts +0 -17
  702. package/dist/src/ui/hooks/useKeypress.js +0 -27
  703. package/dist/src/ui/hooks/useKeypress.js.map +0 -1
  704. package/dist/src/ui/hooks/useKittyKeyboardProtocol.d.ts +0 -15
  705. package/dist/src/ui/hooks/useKittyKeyboardProtocol.js +0 -20
  706. package/dist/src/ui/hooks/useKittyKeyboardProtocol.js.map +0 -1
  707. package/dist/src/ui/hooks/useLaunchEditor.d.ts +0 -10
  708. package/dist/src/ui/hooks/useLaunchEditor.js +0 -70
  709. package/dist/src/ui/hooks/useLaunchEditor.js.map +0 -1
  710. package/dist/src/ui/hooks/useLoadingIndicator.d.ts +0 -10
  711. package/dist/src/ui/hooks/useLoadingIndicator.js +0 -44
  712. package/dist/src/ui/hooks/useLoadingIndicator.js.map +0 -1
  713. package/dist/src/ui/hooks/useLoadingIndicator.test.d.ts +0 -6
  714. package/dist/src/ui/hooks/useLoadingIndicator.test.js +0 -91
  715. package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +0 -1
  716. package/dist/src/ui/hooks/useLogger.d.ts +0 -11
  717. package/dist/src/ui/hooks/useLogger.js +0 -29
  718. package/dist/src/ui/hooks/useLogger.js.map +0 -1
  719. package/dist/src/ui/hooks/useMessageQueue.d.ts +0 -22
  720. package/dist/src/ui/hooks/useMessageQueue.js +0 -49
  721. package/dist/src/ui/hooks/useMessageQueue.js.map +0 -1
  722. package/dist/src/ui/hooks/useMessageQueue.test.d.ts +0 -6
  723. package/dist/src/ui/hooks/useMessageQueue.test.js +0 -158
  724. package/dist/src/ui/hooks/useMessageQueue.test.js.map +0 -1
  725. package/dist/src/ui/hooks/usePhraseCycler.d.ts +0 -14
  726. package/dist/src/ui/hooks/usePhraseCycler.js +0 -157
  727. package/dist/src/ui/hooks/usePhraseCycler.js.map +0 -1
  728. package/dist/src/ui/hooks/usePromptCompletion.d.ts +0 -23
  729. package/dist/src/ui/hooks/usePromptCompletion.js +0 -177
  730. package/dist/src/ui/hooks/usePromptCompletion.js.map +0 -1
  731. package/dist/src/ui/hooks/useQuitConfirmation.d.ts +0 -14
  732. package/dist/src/ui/hooks/useQuitConfirmation.js +0 -36
  733. package/dist/src/ui/hooks/useQuitConfirmation.js.map +0 -1
  734. package/dist/src/ui/hooks/useQwenAuth.d.ts +0 -20
  735. package/dist/src/ui/hooks/useQwenAuth.js +0 -78
  736. package/dist/src/ui/hooks/useQwenAuth.js.map +0 -1
  737. package/dist/src/ui/hooks/useQwenAuth.test.d.ts +0 -6
  738. package/dist/src/ui/hooks/useQwenAuth.test.js +0 -292
  739. package/dist/src/ui/hooks/useQwenAuth.test.js.map +0 -1
  740. package/dist/src/ui/hooks/useReactToolScheduler.d.ts +0 -33
  741. package/dist/src/ui/hooks/useReactToolScheduler.js +0 -197
  742. package/dist/src/ui/hooks/useReactToolScheduler.js.map +0 -1
  743. package/dist/src/ui/hooks/useRefreshMemoryCommand.d.ts +0 -6
  744. package/dist/src/ui/hooks/useRefreshMemoryCommand.js +0 -7
  745. package/dist/src/ui/hooks/useRefreshMemoryCommand.js.map +0 -1
  746. package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +0 -19
  747. package/dist/src/ui/hooks/useReverseSearchCompletion.js +0 -56
  748. package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +0 -1
  749. package/dist/src/ui/hooks/useReverseSearchCompletion.test.d.ts +0 -6
  750. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js +0 -163
  751. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js.map +0 -1
  752. package/dist/src/ui/hooks/useSettingsCommand.d.ts +0 -10
  753. package/dist/src/ui/hooks/useSettingsCommand.js +0 -21
  754. package/dist/src/ui/hooks/useSettingsCommand.js.map +0 -1
  755. package/dist/src/ui/hooks/useShellHistory.d.ts +0 -14
  756. package/dist/src/ui/hooks/useShellHistory.js +0 -111
  757. package/dist/src/ui/hooks/useShellHistory.js.map +0 -1
  758. package/dist/src/ui/hooks/useShellHistory.test.d.ts +0 -6
  759. package/dist/src/ui/hooks/useShellHistory.test.js +0 -187
  760. package/dist/src/ui/hooks/useShellHistory.test.js.map +0 -1
  761. package/dist/src/ui/hooks/useShowMemoryCommand.d.ts +0 -9
  762. package/dist/src/ui/hooks/useShowMemoryCommand.js +0 -58
  763. package/dist/src/ui/hooks/useShowMemoryCommand.js.map +0 -1
  764. package/dist/src/ui/hooks/useSlashCompletion.d.ts +0 -20
  765. package/dist/src/ui/hooks/useSlashCompletion.js +0 -135
  766. package/dist/src/ui/hooks/useSlashCompletion.js.map +0 -1
  767. package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +0 -6
  768. package/dist/src/ui/hooks/useSlashCompletion.test.js +0 -272
  769. package/dist/src/ui/hooks/useSlashCompletion.test.js.map +0 -1
  770. package/dist/src/ui/hooks/useStateAndRef.d.ts +0 -7
  771. package/dist/src/ui/hooks/useStateAndRef.js +0 -26
  772. package/dist/src/ui/hooks/useStateAndRef.js.map +0 -1
  773. package/dist/src/ui/hooks/useSubagentCreateDialog.d.ts +0 -10
  774. package/dist/src/ui/hooks/useSubagentCreateDialog.js +0 -21
  775. package/dist/src/ui/hooks/useSubagentCreateDialog.js.map +0 -1
  776. package/dist/src/ui/hooks/useTerminalSize.d.ts +0 -9
  777. package/dist/src/ui/hooks/useTerminalSize.js +0 -27
  778. package/dist/src/ui/hooks/useTerminalSize.js.map +0 -1
  779. package/dist/src/ui/hooks/useThemeCommand.d.ts +0 -15
  780. package/dist/src/ui/hooks/useThemeCommand.js +0 -79
  781. package/dist/src/ui/hooks/useThemeCommand.js.map +0 -1
  782. package/dist/src/ui/hooks/useTimer.d.ts +0 -12
  783. package/dist/src/ui/hooks/useTimer.js +0 -58
  784. package/dist/src/ui/hooks/useTimer.js.map +0 -1
  785. package/dist/src/ui/hooks/useTimer.test.d.ts +0 -6
  786. package/dist/src/ui/hooks/useTimer.test.js +0 -90
  787. package/dist/src/ui/hooks/useTimer.test.js.map +0 -1
  788. package/dist/src/ui/hooks/useToolScheduler.test.d.ts +0 -6
  789. package/dist/src/ui/hooks/useToolScheduler.test.js +0 -850
  790. package/dist/src/ui/hooks/useToolScheduler.test.js.map +0 -1
  791. package/dist/src/ui/hooks/useVisionAutoSwitch.d.ts +0 -47
  792. package/dist/src/ui/hooks/useVisionAutoSwitch.js +0 -262
  793. package/dist/src/ui/hooks/useVisionAutoSwitch.js.map +0 -1
  794. package/dist/src/ui/hooks/useVisionAutoSwitch.test.d.ts +0 -6
  795. package/dist/src/ui/hooks/useVisionAutoSwitch.test.js +0 -515
  796. package/dist/src/ui/hooks/useVisionAutoSwitch.test.js.map +0 -1
  797. package/dist/src/ui/hooks/useWelcomeBack.d.ts +0 -23
  798. package/dist/src/ui/hooks/useWelcomeBack.js +0 -79
  799. package/dist/src/ui/hooks/useWelcomeBack.js.map +0 -1
  800. package/dist/src/ui/hooks/useWorkspaceMigration.d.ts +0 -13
  801. package/dist/src/ui/hooks/useWorkspaceMigration.js +0 -53
  802. package/dist/src/ui/hooks/useWorkspaceMigration.js.map +0 -1
  803. package/dist/src/ui/hooks/vim.d.ts +0 -28
  804. package/dist/src/ui/hooks/vim.js +0 -639
  805. package/dist/src/ui/hooks/vim.js.map +0 -1
  806. package/dist/src/ui/keyMatchers.d.ts +0 -27
  807. package/dist/src/ui/keyMatchers.js +0 -68
  808. package/dist/src/ui/keyMatchers.js.map +0 -1
  809. package/dist/src/ui/keyMatchers.test.d.ts +0 -6
  810. package/dist/src/ui/keyMatchers.test.js +0 -276
  811. package/dist/src/ui/keyMatchers.test.js.map +0 -1
  812. package/dist/src/ui/models/availableModels.d.ts +0 -29
  813. package/dist/src/ui/models/availableModels.js +0 -40
  814. package/dist/src/ui/models/availableModels.js.map +0 -1
  815. package/dist/src/ui/semantic-colors.d.ts +0 -7
  816. package/dist/src/ui/semantic-colors.js +0 -24
  817. package/dist/src/ui/semantic-colors.js.map +0 -1
  818. package/dist/src/ui/textConstants.d.ts +0 -9
  819. package/dist/src/ui/textConstants.js +0 -10
  820. package/dist/src/ui/textConstants.js.map +0 -1
  821. package/dist/src/ui/themes/ansi-light.d.ts +0 -7
  822. package/dist/src/ui/themes/ansi-light.js +0 -142
  823. package/dist/src/ui/themes/ansi-light.js.map +0 -1
  824. package/dist/src/ui/themes/ansi.d.ts +0 -7
  825. package/dist/src/ui/themes/ansi.js +0 -152
  826. package/dist/src/ui/themes/ansi.js.map +0 -1
  827. package/dist/src/ui/themes/atom-one-dark.d.ts +0 -7
  828. package/dist/src/ui/themes/atom-one-dark.js +0 -138
  829. package/dist/src/ui/themes/atom-one-dark.js.map +0 -1
  830. package/dist/src/ui/themes/ayu-light.d.ts +0 -7
  831. package/dist/src/ui/themes/ayu-light.js +0 -130
  832. package/dist/src/ui/themes/ayu-light.js.map +0 -1
  833. package/dist/src/ui/themes/ayu.d.ts +0 -7
  834. package/dist/src/ui/themes/ayu.js +0 -104
  835. package/dist/src/ui/themes/ayu.js.map +0 -1
  836. package/dist/src/ui/themes/color-utils.d.ts +0 -21
  837. package/dist/src/ui/themes/color-utils.js +0 -221
  838. package/dist/src/ui/themes/color-utils.js.map +0 -1
  839. package/dist/src/ui/themes/color-utils.test.d.ts +0 -6
  840. package/dist/src/ui/themes/color-utils.test.js +0 -197
  841. package/dist/src/ui/themes/color-utils.test.js.map +0 -1
  842. package/dist/src/ui/themes/default-light.d.ts +0 -7
  843. package/dist/src/ui/themes/default-light.js +0 -100
  844. package/dist/src/ui/themes/default-light.js.map +0 -1
  845. package/dist/src/ui/themes/default.d.ts +0 -7
  846. package/dist/src/ui/themes/default.js +0 -143
  847. package/dist/src/ui/themes/default.js.map +0 -1
  848. package/dist/src/ui/themes/dracula.d.ts +0 -7
  849. package/dist/src/ui/themes/dracula.js +0 -115
  850. package/dist/src/ui/themes/dracula.js.map +0 -1
  851. package/dist/src/ui/themes/github-dark.d.ts +0 -7
  852. package/dist/src/ui/themes/github-dark.js +0 -138
  853. package/dist/src/ui/themes/github-dark.js.map +0 -1
  854. package/dist/src/ui/themes/github-light.d.ts +0 -7
  855. package/dist/src/ui/themes/github-light.js +0 -140
  856. package/dist/src/ui/themes/github-light.js.map +0 -1
  857. package/dist/src/ui/themes/googlecode.d.ts +0 -7
  858. package/dist/src/ui/themes/googlecode.js +0 -137
  859. package/dist/src/ui/themes/googlecode.js.map +0 -1
  860. package/dist/src/ui/themes/no-color.d.ts +0 -7
  861. package/dist/src/ui/themes/no-color.js +0 -115
  862. package/dist/src/ui/themes/no-color.js.map +0 -1
  863. package/dist/src/ui/themes/qwen-dark.d.ts +0 -7
  864. package/dist/src/ui/themes/qwen-dark.js +0 -105
  865. package/dist/src/ui/themes/qwen-dark.js.map +0 -1
  866. package/dist/src/ui/themes/qwen-light.d.ts +0 -7
  867. package/dist/src/ui/themes/qwen-light.js +0 -131
  868. package/dist/src/ui/themes/qwen-light.js.map +0 -1
  869. package/dist/src/ui/themes/semantic-tokens.d.ts +0 -37
  870. package/dist/src/ui/themes/semantic-tokens.js +0 -94
  871. package/dist/src/ui/themes/semantic-tokens.js.map +0 -1
  872. package/dist/src/ui/themes/shades-of-purple.d.ts +0 -11
  873. package/dist/src/ui/themes/shades-of-purple.js +0 -304
  874. package/dist/src/ui/themes/shades-of-purple.js.map +0 -1
  875. package/dist/src/ui/themes/theme-manager.d.ts +0 -66
  876. package/dist/src/ui/themes/theme-manager.js +0 -270
  877. package/dist/src/ui/themes/theme-manager.js.map +0 -1
  878. package/dist/src/ui/themes/theme-manager.test.d.ts +0 -6
  879. package/dist/src/ui/themes/theme-manager.test.js +0 -142
  880. package/dist/src/ui/themes/theme-manager.test.js.map +0 -1
  881. package/dist/src/ui/themes/theme.d.ts +0 -130
  882. package/dist/src/ui/themes/theme.js +0 -379
  883. package/dist/src/ui/themes/theme.js.map +0 -1
  884. package/dist/src/ui/themes/xcode.d.ts +0 -7
  885. package/dist/src/ui/themes/xcode.js +0 -145
  886. package/dist/src/ui/themes/xcode.js.map +0 -1
  887. package/dist/src/ui/types.d.ts +0 -217
  888. package/dist/src/ui/types.js +0 -46
  889. package/dist/src/ui/types.js.map +0 -1
  890. package/dist/src/ui/utils/CodeColorizer.d.ts +0 -17
  891. package/dist/src/ui/utils/CodeColorizer.js +0 -110
  892. package/dist/src/ui/utils/CodeColorizer.js.map +0 -1
  893. package/dist/src/ui/utils/ConsolePatcher.d.ts +0 -25
  894. package/dist/src/ui/utils/ConsolePatcher.js +0 -52
  895. package/dist/src/ui/utils/ConsolePatcher.js.map +0 -1
  896. package/dist/src/ui/utils/InlineMarkdownRenderer.d.ts +0 -16
  897. package/dist/src/ui/utils/InlineMarkdownRenderer.js +0 -111
  898. package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +0 -1
  899. package/dist/src/ui/utils/MarkdownDisplay.d.ts +0 -14
  900. package/dist/src/ui/utils/MarkdownDisplay.js +0 -207
  901. package/dist/src/ui/utils/MarkdownDisplay.js.map +0 -1
  902. package/dist/src/ui/utils/MarkdownDisplay.test.d.ts +0 -6
  903. package/dist/src/ui/utils/MarkdownDisplay.test.js +0 -161
  904. package/dist/src/ui/utils/MarkdownDisplay.test.js.map +0 -1
  905. package/dist/src/ui/utils/TableRenderer.d.ts +0 -17
  906. package/dist/src/ui/utils/TableRenderer.js +0 -84
  907. package/dist/src/ui/utils/TableRenderer.js.map +0 -1
  908. package/dist/src/ui/utils/clipboardUtils.d.ts +0 -22
  909. package/dist/src/ui/utils/clipboardUtils.js +0 -127
  910. package/dist/src/ui/utils/clipboardUtils.js.map +0 -1
  911. package/dist/src/ui/utils/clipboardUtils.test.d.ts +0 -6
  912. package/dist/src/ui/utils/clipboardUtils.test.js +0 -65
  913. package/dist/src/ui/utils/clipboardUtils.test.js.map +0 -1
  914. package/dist/src/ui/utils/commandUtils.d.ts +0 -24
  915. package/dist/src/ui/utils/commandUtils.js +0 -131
  916. package/dist/src/ui/utils/commandUtils.js.map +0 -1
  917. package/dist/src/ui/utils/commandUtils.test.d.ts +0 -6
  918. package/dist/src/ui/utils/commandUtils.test.js +0 -349
  919. package/dist/src/ui/utils/commandUtils.test.js.map +0 -1
  920. package/dist/src/ui/utils/computeStats.d.ts +0 -10
  921. package/dist/src/ui/utils/computeStats.js +0 -57
  922. package/dist/src/ui/utils/computeStats.js.map +0 -1
  923. package/dist/src/ui/utils/displayUtils.d.ts +0 -17
  924. package/dist/src/ui/utils/displayUtils.js +0 -24
  925. package/dist/src/ui/utils/displayUtils.js.map +0 -1
  926. package/dist/src/ui/utils/displayUtils.test.d.ts +0 -6
  927. package/dist/src/ui/utils/displayUtils.test.js +0 -42
  928. package/dist/src/ui/utils/displayUtils.test.js.map +0 -1
  929. package/dist/src/ui/utils/formatters.d.ts +0 -13
  930. package/dist/src/ui/utils/formatters.js +0 -56
  931. package/dist/src/ui/utils/formatters.js.map +0 -1
  932. package/dist/src/ui/utils/formatters.test.d.ts +0 -6
  933. package/dist/src/ui/utils/formatters.test.js +0 -56
  934. package/dist/src/ui/utils/formatters.test.js.map +0 -1
  935. package/dist/src/ui/utils/isNarrowWidth.d.ts +0 -6
  936. package/dist/src/ui/utils/isNarrowWidth.js +0 -9
  937. package/dist/src/ui/utils/isNarrowWidth.js.map +0 -1
  938. package/dist/src/ui/utils/kittyProtocolDetector.d.ts +0 -13
  939. package/dist/src/ui/utils/kittyProtocolDetector.js +0 -88
  940. package/dist/src/ui/utils/kittyProtocolDetector.js.map +0 -1
  941. package/dist/src/ui/utils/markdownUtilities.d.ts +0 -6
  942. package/dist/src/ui/utils/markdownUtilities.js +0 -110
  943. package/dist/src/ui/utils/markdownUtilities.js.map +0 -1
  944. package/dist/src/ui/utils/markdownUtilities.test.d.ts +0 -6
  945. package/dist/src/ui/utils/markdownUtilities.test.js +0 -42
  946. package/dist/src/ui/utils/markdownUtilities.test.js.map +0 -1
  947. package/dist/src/ui/utils/platformConstants.d.ts +0 -52
  948. package/dist/src/ui/utils/platformConstants.js +0 -53
  949. package/dist/src/ui/utils/platformConstants.js.map +0 -1
  950. package/dist/src/ui/utils/terminalSetup.d.ts +0 -30
  951. package/dist/src/ui/utils/terminalSetup.js +0 -281
  952. package/dist/src/ui/utils/terminalSetup.js.map +0 -1
  953. package/dist/src/ui/utils/textUtils.d.ts +0 -32
  954. package/dist/src/ui/utils/textUtils.js +0 -80
  955. package/dist/src/ui/utils/textUtils.js.map +0 -1
  956. package/dist/src/ui/utils/updateCheck.d.ts +0 -12
  957. package/dist/src/ui/utils/updateCheck.js +0 -78
  958. package/dist/src/ui/utils/updateCheck.js.map +0 -1
  959. package/dist/src/ui/utils/updateCheck.test.d.ts +0 -6
  960. package/dist/src/ui/utils/updateCheck.test.js +0 -145
  961. package/dist/src/ui/utils/updateCheck.test.js.map +0 -1
  962. package/dist/src/utils/checks.d.ts +0 -19
  963. package/dist/src/utils/checks.js +0 -24
  964. package/dist/src/utils/checks.js.map +0 -1
  965. package/dist/src/utils/cleanup.d.ts +0 -8
  966. package/dist/src/utils/cleanup.js +0 -35
  967. package/dist/src/utils/cleanup.js.map +0 -1
  968. package/dist/src/utils/dialogScopeUtils.d.ts +0 -32
  969. package/dist/src/utils/dialogScopeUtils.js +0 -48
  970. package/dist/src/utils/dialogScopeUtils.js.map +0 -1
  971. package/dist/src/utils/errors.d.ts +0 -6
  972. package/dist/src/utils/errors.js +0 -12
  973. package/dist/src/utils/errors.js.map +0 -1
  974. package/dist/src/utils/events.d.ts +0 -11
  975. package/dist/src/utils/events.js +0 -13
  976. package/dist/src/utils/events.js.map +0 -1
  977. package/dist/src/utils/handleAutoUpdate.d.ts +0 -11
  978. package/dist/src/utils/handleAutoUpdate.js +0 -102
  979. package/dist/src/utils/handleAutoUpdate.js.map +0 -1
  980. package/dist/src/utils/installationInfo.d.ts +0 -23
  981. package/dist/src/utils/installationInfo.js +0 -153
  982. package/dist/src/utils/installationInfo.js.map +0 -1
  983. package/dist/src/utils/installationInfo.test.d.ts +0 -6
  984. package/dist/src/utils/installationInfo.test.js +0 -242
  985. package/dist/src/utils/installationInfo.test.js.map +0 -1
  986. package/dist/src/utils/package.d.ts +0 -12
  987. package/dist/src/utils/package.js +0 -24
  988. package/dist/src/utils/package.js.map +0 -1
  989. package/dist/src/utils/readStdin.d.ts +0 -6
  990. package/dist/src/utils/readStdin.js +0 -59
  991. package/dist/src/utils/readStdin.js.map +0 -1
  992. package/dist/src/utils/readStdin.test.d.ts +0 -6
  993. package/dist/src/utils/readStdin.test.js +0 -88
  994. package/dist/src/utils/readStdin.test.js.map +0 -1
  995. package/dist/src/utils/resolvePath.d.ts +0 -6
  996. package/dist/src/utils/resolvePath.js +0 -21
  997. package/dist/src/utils/resolvePath.js.map +0 -1
  998. package/dist/src/utils/sandbox.d.ts +0 -7
  999. package/dist/src/utils/sandbox.js +0 -738
  1000. package/dist/src/utils/sandbox.js.map +0 -1
  1001. package/dist/src/utils/settingsUtils.d.ts +0 -134
  1002. package/dist/src/utils/settingsUtils.js +0 -330
  1003. package/dist/src/utils/settingsUtils.js.map +0 -1
  1004. package/dist/src/utils/settingsUtils.test.d.ts +0 -6
  1005. package/dist/src/utils/settingsUtils.test.js +0 -511
  1006. package/dist/src/utils/settingsUtils.test.js.map +0 -1
  1007. package/dist/src/utils/spawnWrapper.d.ts +0 -7
  1008. package/dist/src/utils/spawnWrapper.js +0 -8
  1009. package/dist/src/utils/spawnWrapper.js.map +0 -1
  1010. package/dist/src/utils/startupWarnings.d.ts +0 -6
  1011. package/dist/src/utils/startupWarnings.js +0 -40
  1012. package/dist/src/utils/startupWarnings.js.map +0 -1
  1013. package/dist/src/utils/updateEventEmitter.d.ts +0 -11
  1014. package/dist/src/utils/updateEventEmitter.js +0 -12
  1015. package/dist/src/utils/updateEventEmitter.js.map +0 -1
  1016. package/dist/src/utils/userStartupWarnings.d.ts +0 -6
  1017. package/dist/src/utils/userStartupWarnings.js +0 -54
  1018. package/dist/src/utils/userStartupWarnings.js.map +0 -1
  1019. package/dist/src/utils/userStartupWarnings.test.d.ts +0 -6
  1020. package/dist/src/utils/userStartupWarnings.test.js +0 -67
  1021. package/dist/src/utils/userStartupWarnings.test.js.map +0 -1
  1022. package/dist/src/utils/version.d.ts +0 -6
  1023. package/dist/src/utils/version.js +0 -11
  1024. package/dist/src/utils/version.js.map +0 -1
  1025. package/dist/src/validateNonInterActiveAuth.d.ts +0 -7
  1026. package/dist/src/validateNonInterActiveAuth.js +0 -40
  1027. package/dist/src/validateNonInterActiveAuth.js.map +0 -1
  1028. package/dist/src/zed-integration/acp.d.ts +0 -63
  1029. package/dist/src/zed-integration/acp.js +0 -226
  1030. package/dist/src/zed-integration/acp.js.map +0 -1
  1031. package/dist/src/zed-integration/fileSystemService.d.ts +0 -19
  1032. package/dist/src/zed-integration/fileSystemService.js +0 -43
  1033. package/dist/src/zed-integration/fileSystemService.js.map +0 -1
  1034. package/dist/src/zed-integration/schema.d.ts +0 -11782
  1035. package/dist/src/zed-integration/schema.js +0 -311
  1036. package/dist/src/zed-integration/schema.js.map +0 -1
  1037. package/dist/src/zed-integration/zedIntegration.d.ts +0 -10
  1038. package/dist/src/zed-integration/zedIntegration.js +0 -774
  1039. package/dist/src/zed-integration/zedIntegration.js.map +0 -1
  1040. package/dist/tsconfig.tsbuildinfo +0 -1
  1041. /package/{dist/src/utils/sandbox-macos-permissive-closed.sb → sandbox-macos-permissive-closed.sb} +0 -0
  1042. /package/{dist/src/utils/sandbox-macos-permissive-open.sb → sandbox-macos-permissive-open.sb} +0 -0
  1043. /package/{dist/src/utils/sandbox-macos-permissive-proxied.sb → sandbox-macos-permissive-proxied.sb} +0 -0
  1044. /package/{dist/src/utils/sandbox-macos-restrictive-closed.sb → sandbox-macos-restrictive-closed.sb} +0 -0
  1045. /package/{dist/src/utils/sandbox-macos-restrictive-open.sb → sandbox-macos-restrictive-open.sb} +0 -0
  1046. /package/{dist/src/utils/sandbox-macos-restrictive-proxied.sb → sandbox-macos-restrictive-proxied.sb} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserMessage.js","sourceRoot":"","sources":["../../../../../src/ui/components/messages/UserMessage.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,cAAc,IAAI,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAMpF,MAAM,CAAC,MAAM,WAAW,GAA+B,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAClE,MAAM,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC;IAClC,MAAM,cAAc,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAEjD,MAAM,SAAS,GAAG,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;IACrE,MAAM,WAAW,GAAG,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;IAEvE,OAAO,CACL,MAAC,GAAG,IACF,WAAW,EAAC,OAAO,EACnB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAC,KAAK,EACnB,QAAQ,EAAE,CAAC,EACX,QAAQ,EAAE,CAAC,EACX,OAAO,EAAE,CAAC,EACV,SAAS,EAAC,YAAY,aAEtB,KAAC,GAAG,IAAC,KAAK,EAAE,WAAW,YACrB,KAAC,IAAI,IAAC,KAAK,EAAE,SAAS,gBAAc,yBAAyB,YAC1D,MAAM,GACF,GACH,EACN,KAAC,GAAG,IAAC,QAAQ,EAAE,CAAC,YACd,KAAC,IAAI,IAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,SAAS,YAC/B,IAAI,GACA,GACH,IACF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import type React from 'react';
7
- interface UserShellMessageProps {
8
- text: string;
9
- }
10
- export declare const UserShellMessage: React.FC<UserShellMessageProps>;
11
- export {};
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Box, Text } from 'ink';
3
- import { Colors } from '../../colors.js';
4
- export const UserShellMessage = ({ text }) => {
5
- // Remove leading '!' if present, as App.tsx adds it for the processor.
6
- const commandToDisplay = text.startsWith('!') ? text.substring(1) : text;
7
- return (_jsxs(Box, { children: [_jsx(Text, { color: Colors.AccentCyan, children: "$ " }), _jsx(Text, { children: commandToDisplay })] }));
8
- };
9
- //# sourceMappingURL=UserShellMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserShellMessage.js","sourceRoot":"","sources":["../../../../../src/ui/components/messages/UserShellMessage.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAMzC,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC5E,uEAAuE;IACvE,MAAM,gBAAgB,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAEzE,OAAO,CACL,MAAC,GAAG,eACF,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,UAAU,mBAAW,EACzC,KAAC,IAAI,cAAE,gBAAgB,GAAQ,IAC3B,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,61 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import React from 'react';
7
- /**
8
- * Minimum height for the MaxSizedBox component.
9
- * This ensures there is room for at least one line of content as well as the
10
- * message that content was truncated.
11
- */
12
- export declare const MINIMUM_MAX_HEIGHT = 2;
13
- export declare function setMaxSizedBoxDebugging(value: boolean): void;
14
- interface MaxSizedBoxProps {
15
- children?: React.ReactNode;
16
- maxWidth?: number;
17
- maxHeight: number | undefined;
18
- overflowDirection?: 'top' | 'bottom';
19
- additionalHiddenLinesCount?: number;
20
- }
21
- /**
22
- * A React component that constrains the size of its children and provides
23
- * content-aware truncation when the content exceeds the specified `maxHeight`.
24
- *
25
- * `MaxSizedBox` requires a specific structure for its children to correctly
26
- * measure and render the content:
27
- *
28
- * 1. **Direct children must be `<Box>` elements.** Each `<Box>` represents a
29
- * single row of content.
30
- * 2. **Row `<Box>` elements must contain only `<Text>` elements.** These
31
- * `<Text>` elements can be nested and there are no restrictions to Text
32
- * element styling other than that non-wrapping text elements must be
33
- * before wrapping text elements.
34
- *
35
- * **Constraints:**
36
- * - **Box Properties:** Custom properties on the child `<Box>` elements are
37
- * ignored. In debug mode, runtime checks will report errors for any
38
- * unsupported properties.
39
- * - **Text Wrapping:** Within a single row, `<Text>` elements with no wrapping
40
- * (e.g., headers, labels) must appear before any `<Text>` elements that wrap.
41
- * - **Element Types:** Runtime checks will warn if unsupported element types
42
- * are used as children.
43
- *
44
- * @example
45
- * <MaxSizedBox maxWidth={80} maxHeight={10}>
46
- * <Box>
47
- * <Text>This is the first line.</Text>
48
- * </Box>
49
- * <Box>
50
- * <Text color="cyan" wrap="truncate">Non-wrapping Header: </Text>
51
- * <Text>This is the rest of the line which will wrap if it's too long.</Text>
52
- * </Box>
53
- * <Box>
54
- * <Text>
55
- * Line 3 with <Text color="yellow">nested styled text</Text> inside of it.
56
- * </Text>
57
- * </Box>
58
- * </MaxSizedBox>
59
- */
60
- export declare const MaxSizedBox: React.FC<MaxSizedBoxProps>;
61
- export {};
@@ -1,451 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- * @license
4
- * Copyright 2025 Google LLC
5
- * SPDX-License-Identifier: Apache-2.0
6
- */
7
- import React, { Fragment, useEffect, useId } from 'react';
8
- import { Box, Text } from 'ink';
9
- import stringWidth from 'string-width';
10
- import { Colors } from '../../colors.js';
11
- import { toCodePoints } from '../../utils/textUtils.js';
12
- import { useOverflowActions } from '../../contexts/OverflowContext.js';
13
- let enableDebugLog = false;
14
- /**
15
- * Minimum height for the MaxSizedBox component.
16
- * This ensures there is room for at least one line of content as well as the
17
- * message that content was truncated.
18
- */
19
- export const MINIMUM_MAX_HEIGHT = 2;
20
- export function setMaxSizedBoxDebugging(value) {
21
- enableDebugLog = value;
22
- }
23
- function debugReportError(message, element) {
24
- if (!enableDebugLog)
25
- return;
26
- if (!React.isValidElement(element)) {
27
- console.error(message, `Invalid element: '${String(element)}' typeof=${typeof element}`);
28
- return;
29
- }
30
- let sourceMessage = '<Unknown file>';
31
- try {
32
- const elementWithSource = element;
33
- const fileName = elementWithSource._source?.fileName;
34
- const lineNumber = elementWithSource._source?.lineNumber;
35
- sourceMessage = fileName ? `${fileName}:${lineNumber}` : '<Unknown file>';
36
- }
37
- catch (error) {
38
- console.error('Error while trying to get file name:', error);
39
- }
40
- console.error(message, `${String(element.type)}. Source: ${sourceMessage}`);
41
- }
42
- /**
43
- * A React component that constrains the size of its children and provides
44
- * content-aware truncation when the content exceeds the specified `maxHeight`.
45
- *
46
- * `MaxSizedBox` requires a specific structure for its children to correctly
47
- * measure and render the content:
48
- *
49
- * 1. **Direct children must be `<Box>` elements.** Each `<Box>` represents a
50
- * single row of content.
51
- * 2. **Row `<Box>` elements must contain only `<Text>` elements.** These
52
- * `<Text>` elements can be nested and there are no restrictions to Text
53
- * element styling other than that non-wrapping text elements must be
54
- * before wrapping text elements.
55
- *
56
- * **Constraints:**
57
- * - **Box Properties:** Custom properties on the child `<Box>` elements are
58
- * ignored. In debug mode, runtime checks will report errors for any
59
- * unsupported properties.
60
- * - **Text Wrapping:** Within a single row, `<Text>` elements with no wrapping
61
- * (e.g., headers, labels) must appear before any `<Text>` elements that wrap.
62
- * - **Element Types:** Runtime checks will warn if unsupported element types
63
- * are used as children.
64
- *
65
- * @example
66
- * <MaxSizedBox maxWidth={80} maxHeight={10}>
67
- * <Box>
68
- * <Text>This is the first line.</Text>
69
- * </Box>
70
- * <Box>
71
- * <Text color="cyan" wrap="truncate">Non-wrapping Header: </Text>
72
- * <Text>This is the rest of the line which will wrap if it's too long.</Text>
73
- * </Box>
74
- * <Box>
75
- * <Text>
76
- * Line 3 with <Text color="yellow">nested styled text</Text> inside of it.
77
- * </Text>
78
- * </Box>
79
- * </MaxSizedBox>
80
- */
81
- export const MaxSizedBox = ({ children, maxWidth, maxHeight, overflowDirection = 'top', additionalHiddenLinesCount = 0, }) => {
82
- const id = useId();
83
- const { addOverflowingId, removeOverflowingId } = useOverflowActions() || {};
84
- const laidOutStyledText = [];
85
- const targetMaxHeight = Math.max(Math.round(maxHeight ?? Number.MAX_SAFE_INTEGER), MINIMUM_MAX_HEIGHT);
86
- if (maxWidth === undefined) {
87
- throw new Error('maxWidth must be defined when maxHeight is set.');
88
- }
89
- function visitRows(element) {
90
- if (!React.isValidElement(element)) {
91
- return;
92
- }
93
- if (element.type === Fragment) {
94
- React.Children.forEach(element.props.children, visitRows);
95
- return;
96
- }
97
- if (element.type === Box) {
98
- layoutInkElementAsStyledText(element, maxWidth, laidOutStyledText);
99
- return;
100
- }
101
- debugReportError('MaxSizedBox children must be <Box> elements', element);
102
- }
103
- React.Children.forEach(children, visitRows);
104
- const contentWillOverflow = (targetMaxHeight !== undefined &&
105
- laidOutStyledText.length > targetMaxHeight) ||
106
- additionalHiddenLinesCount > 0;
107
- const visibleContentHeight = contentWillOverflow && targetMaxHeight !== undefined
108
- ? targetMaxHeight - 1
109
- : targetMaxHeight;
110
- const hiddenLinesCount = visibleContentHeight !== undefined
111
- ? Math.max(0, laidOutStyledText.length - visibleContentHeight)
112
- : 0;
113
- const totalHiddenLines = hiddenLinesCount + additionalHiddenLinesCount;
114
- useEffect(() => {
115
- if (totalHiddenLines > 0) {
116
- addOverflowingId?.(id);
117
- }
118
- else {
119
- removeOverflowingId?.(id);
120
- }
121
- return () => {
122
- removeOverflowingId?.(id);
123
- };
124
- }, [id, totalHiddenLines, addOverflowingId, removeOverflowingId]);
125
- const visibleStyledText = hiddenLinesCount > 0
126
- ? overflowDirection === 'top'
127
- ? laidOutStyledText.slice(hiddenLinesCount, laidOutStyledText.length)
128
- : laidOutStyledText.slice(0, visibleContentHeight)
129
- : laidOutStyledText;
130
- const visibleLines = visibleStyledText.map((line, index) => (_jsx(Box, { children: line.length > 0 ? (line.map((segment, segIndex) => (_jsx(Text, { ...segment.props, children: segment.text }, segIndex)))) : (_jsx(Text, { children: " " })) }, index)));
131
- return (_jsxs(Box, { flexDirection: "column", width: maxWidth, flexShrink: 0, children: [totalHiddenLines > 0 && overflowDirection === 'top' && (_jsxs(Text, { color: Colors.Gray, wrap: "truncate", children: ["... first ", totalHiddenLines, " line", totalHiddenLines === 1 ? '' : 's', ' ', "hidden ..."] })), visibleLines, totalHiddenLines > 0 && overflowDirection === 'bottom' && (_jsxs(Text, { color: Colors.Gray, wrap: "truncate", children: ["... last ", totalHiddenLines, " line", totalHiddenLines === 1 ? '' : 's', ' ', "hidden ..."] }))] }));
132
- };
133
- /**
134
- * Flattens the child elements of MaxSizedBox into an array of `Row` objects.
135
- *
136
- * This function expects a specific child structure to function correctly:
137
- * 1. The top-level child of `MaxSizedBox` should be a single `<Box>`. This
138
- * outer box is primarily for structure and is not directly rendered.
139
- * 2. Inside the outer `<Box>`, there should be one or more children. Each of
140
- * these children must be a `<Box>` that represents a row.
141
- * 3. Inside each "row" `<Box>`, the children must be `<Text>` components.
142
- *
143
- * The structure should look like this:
144
- * <MaxSizedBox>
145
- * <Box> // Row 1
146
- * <Text>...</Text>
147
- * <Text>...</Text>
148
- * </Box>
149
- * <Box> // Row 2
150
- * <Text>...</Text>
151
- * </Box>
152
- * </MaxSizedBox>
153
- *
154
- * It is an error for a <Text> child without wrapping to appear after a
155
- * <Text> child with wrapping within the same row Box.
156
- *
157
- * @param element The React node to flatten.
158
- * @returns An array of `Row` objects.
159
- */
160
- function visitBoxRow(element) {
161
- if (!React.isValidElement(element) ||
162
- element.type !== Box) {
163
- debugReportError(`All children of MaxSizedBox must be <Box> elements`, element);
164
- return {
165
- noWrapSegments: [{ text: '<ERROR>', props: {} }],
166
- segments: [],
167
- };
168
- }
169
- if (enableDebugLog) {
170
- const boxProps = element.props;
171
- // Ensure the Box has no props other than the default ones and key.
172
- let maxExpectedProps = 4;
173
- if (boxProps.children !== undefined) {
174
- // Allow the key prop, which is automatically added by React.
175
- maxExpectedProps += 1;
176
- }
177
- if (boxProps.flexDirection !== undefined &&
178
- boxProps.flexDirection !== 'row') {
179
- debugReportError('MaxSizedBox children must have flexDirection="row".', element);
180
- }
181
- if (Object.keys(boxProps).length > maxExpectedProps) {
182
- debugReportError(`Boxes inside MaxSizedBox must not have additional props. ${Object.keys(boxProps).join(', ')}`, element);
183
- }
184
- }
185
- const row = {
186
- noWrapSegments: [],
187
- segments: [],
188
- };
189
- let hasSeenWrapped = false;
190
- function visitRowChild(element, parentProps) {
191
- if (element === null) {
192
- return;
193
- }
194
- if (typeof element === 'string' || typeof element === 'number') {
195
- const text = String(element);
196
- // Ignore empty strings as they don't need to be rendered.
197
- if (!text) {
198
- return;
199
- }
200
- const segment = { text, props: parentProps ?? {} };
201
- // Check the 'wrap' property from the merged props to decide the segment type.
202
- if (parentProps === undefined || parentProps['wrap'] === 'wrap') {
203
- hasSeenWrapped = true;
204
- row.segments.push(segment);
205
- }
206
- else {
207
- if (!hasSeenWrapped) {
208
- row.noWrapSegments.push(segment);
209
- }
210
- else {
211
- // put in the wrapped segment as the row is already stuck in wrapped mode.
212
- row.segments.push(segment);
213
- debugReportError('Text elements without wrapping cannot appear after elements with wrapping in the same row.', element);
214
- }
215
- }
216
- return;
217
- }
218
- if (!React.isValidElement(element)) {
219
- debugReportError('Invalid element.', element);
220
- return;
221
- }
222
- if (element.type === Fragment) {
223
- React.Children.forEach(element.props.children, (child) => visitRowChild(child, parentProps));
224
- return;
225
- }
226
- if (element.type !== Text) {
227
- debugReportError('Children of a row Box must be <Text> elements.', element);
228
- return;
229
- }
230
- // Merge props from parent <Text> elements. Child props take precedence.
231
- const { children, ...currentProps } = element.props;
232
- const mergedProps = parentProps === undefined
233
- ? currentProps
234
- : { ...parentProps, ...currentProps };
235
- React.Children.forEach(children, (child) => visitRowChild(child, mergedProps));
236
- }
237
- React.Children.forEach(element.props.children, (child) => visitRowChild(child, undefined));
238
- return row;
239
- }
240
- function layoutInkElementAsStyledText(element, maxWidth, output) {
241
- const row = visitBoxRow(element);
242
- if (row.segments.length === 0 && row.noWrapSegments.length === 0) {
243
- // Return a single empty line if there are no segments to display
244
- output.push([]);
245
- return;
246
- }
247
- const lines = [];
248
- const nonWrappingContent = [];
249
- let noWrappingWidth = 0;
250
- // First, lay out the non-wrapping segments
251
- row.noWrapSegments.forEach((segment) => {
252
- nonWrappingContent.push(segment);
253
- noWrappingWidth += stringWidth(segment.text);
254
- });
255
- if (row.segments.length === 0) {
256
- // This is a bit of a special case when there are no segments that allow
257
- // wrapping. It would be ideal to unify.
258
- const lines = [];
259
- let currentLine = [];
260
- nonWrappingContent.forEach((segment) => {
261
- const textLines = segment.text.split('\n');
262
- textLines.forEach((text, index) => {
263
- if (index > 0) {
264
- lines.push(currentLine);
265
- currentLine = [];
266
- }
267
- if (text) {
268
- currentLine.push({ text, props: segment.props });
269
- }
270
- });
271
- });
272
- if (currentLine.length > 0 ||
273
- (nonWrappingContent.length > 0 &&
274
- nonWrappingContent[nonWrappingContent.length - 1].text.endsWith('\n'))) {
275
- lines.push(currentLine);
276
- }
277
- for (const line of lines) {
278
- output.push(line);
279
- }
280
- return;
281
- }
282
- const availableWidth = maxWidth - noWrappingWidth;
283
- if (availableWidth < 1) {
284
- // No room to render the wrapping segments. Truncate the non-wrapping
285
- // content and append an ellipsis so the line always fits within maxWidth.
286
- // Handle line breaks in non-wrapping content when truncating
287
- const lines = [];
288
- let currentLine = [];
289
- let currentLineWidth = 0;
290
- for (const segment of nonWrappingContent) {
291
- const textLines = segment.text.split('\n');
292
- textLines.forEach((text, index) => {
293
- if (index > 0) {
294
- // New line encountered, finish current line and start new one
295
- lines.push(currentLine);
296
- currentLine = [];
297
- currentLineWidth = 0;
298
- }
299
- if (text) {
300
- const textWidth = stringWidth(text);
301
- // When there's no room for wrapping content, be very conservative
302
- // For lines after the first line break, show only ellipsis if the text would be truncated
303
- if (index > 0 && textWidth > 0) {
304
- // This is content after a line break - just show ellipsis to indicate truncation
305
- currentLine.push({ text: '…', props: {} });
306
- currentLineWidth = stringWidth('…');
307
- }
308
- else {
309
- // This is the first line or a continuation, try to fit what we can
310
- const maxContentWidth = Math.max(0, maxWidth - stringWidth('…'));
311
- if (textWidth <= maxContentWidth && currentLineWidth === 0) {
312
- // Text fits completely on this line
313
- currentLine.push({ text, props: segment.props });
314
- currentLineWidth += textWidth;
315
- }
316
- else {
317
- // Text needs truncation
318
- const codePoints = toCodePoints(text);
319
- let truncatedWidth = currentLineWidth;
320
- let sliceEndIndex = 0;
321
- for (const char of codePoints) {
322
- const charWidth = stringWidth(char);
323
- if (truncatedWidth + charWidth > maxContentWidth) {
324
- break;
325
- }
326
- truncatedWidth += charWidth;
327
- sliceEndIndex++;
328
- }
329
- const slice = codePoints.slice(0, sliceEndIndex).join('');
330
- if (slice) {
331
- currentLine.push({ text: slice, props: segment.props });
332
- }
333
- currentLine.push({ text: '…', props: {} });
334
- currentLineWidth = truncatedWidth + stringWidth('…');
335
- }
336
- }
337
- }
338
- });
339
- }
340
- // Add the last line if it has content or if the last segment ended with \n
341
- if (currentLine.length > 0 ||
342
- (nonWrappingContent.length > 0 &&
343
- nonWrappingContent[nonWrappingContent.length - 1].text.endsWith('\n'))) {
344
- lines.push(currentLine);
345
- }
346
- // If we don't have any lines yet, add an ellipsis line
347
- if (lines.length === 0) {
348
- lines.push([{ text: '…', props: {} }]);
349
- }
350
- for (const line of lines) {
351
- output.push(line);
352
- }
353
- return;
354
- }
355
- // Now, lay out the wrapping segments
356
- let wrappingPart = [];
357
- let wrappingPartWidth = 0;
358
- function addWrappingPartToLines() {
359
- if (lines.length === 0) {
360
- lines.push([...nonWrappingContent, ...wrappingPart]);
361
- }
362
- else {
363
- if (noWrappingWidth > 0) {
364
- lines.push([
365
- ...[{ text: ' '.repeat(noWrappingWidth), props: {} }],
366
- ...wrappingPart,
367
- ]);
368
- }
369
- else {
370
- lines.push(wrappingPart);
371
- }
372
- }
373
- wrappingPart = [];
374
- wrappingPartWidth = 0;
375
- }
376
- function addToWrappingPart(text, props) {
377
- if (wrappingPart.length > 0 &&
378
- wrappingPart[wrappingPart.length - 1].props === props) {
379
- wrappingPart[wrappingPart.length - 1].text += text;
380
- }
381
- else {
382
- wrappingPart.push({ text, props });
383
- }
384
- }
385
- row.segments.forEach((segment) => {
386
- const linesFromSegment = segment.text.split('\n');
387
- linesFromSegment.forEach((lineText, lineIndex) => {
388
- if (lineIndex > 0) {
389
- addWrappingPartToLines();
390
- }
391
- const words = lineText.split(/(\s+)/); // Split by whitespace
392
- words.forEach((word) => {
393
- if (!word)
394
- return;
395
- const wordWidth = stringWidth(word);
396
- if (wrappingPartWidth + wordWidth > availableWidth &&
397
- wrappingPartWidth > 0) {
398
- addWrappingPartToLines();
399
- if (/^\s+$/.test(word)) {
400
- return;
401
- }
402
- }
403
- if (wordWidth > availableWidth) {
404
- // Word is too long, needs to be split across lines
405
- const wordAsCodePoints = toCodePoints(word);
406
- let remainingWordAsCodePoints = wordAsCodePoints;
407
- while (remainingWordAsCodePoints.length > 0) {
408
- let splitIndex = 0;
409
- let currentSplitWidth = 0;
410
- for (const char of remainingWordAsCodePoints) {
411
- const charWidth = stringWidth(char);
412
- if (wrappingPartWidth + currentSplitWidth + charWidth >
413
- availableWidth) {
414
- break;
415
- }
416
- currentSplitWidth += charWidth;
417
- splitIndex++;
418
- }
419
- if (splitIndex > 0) {
420
- const part = remainingWordAsCodePoints
421
- .slice(0, splitIndex)
422
- .join('');
423
- addToWrappingPart(part, segment.props);
424
- wrappingPartWidth += stringWidth(part);
425
- remainingWordAsCodePoints =
426
- remainingWordAsCodePoints.slice(splitIndex);
427
- }
428
- if (remainingWordAsCodePoints.length > 0) {
429
- addWrappingPartToLines();
430
- }
431
- }
432
- }
433
- else {
434
- addToWrappingPart(word, segment.props);
435
- wrappingPartWidth += wordWidth;
436
- }
437
- });
438
- });
439
- // Split omits a trailing newline, so we need to handle it here
440
- if (segment.text.endsWith('\n')) {
441
- addWrappingPartToLines();
442
- }
443
- });
444
- if (wrappingPart.length > 0) {
445
- addWrappingPartToLines();
446
- }
447
- for (const line of lines) {
448
- output.push(line);
449
- }
450
- }
451
- //# sourceMappingURL=MaxSizedBox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MaxSizedBox.js","sourceRoot":"","sources":["../../../../../src/ui/components/shared/MaxSizedBox.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,WAAW,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EA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