fss-link 1.2.6 → 1.2.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 (995) hide show
  1. package/dist/tsconfig.tsbuildinfo +1 -1
  2. package/package.json +8 -8
  3. package/dist/.last_build +0 -0
  4. package/dist/index.d.ts +0 -7
  5. package/dist/index.js +0 -14
  6. package/dist/index.js.map +0 -1
  7. package/dist/package.json +0 -89
  8. package/dist/src/commands/mcp/add.d.ts +0 -7
  9. package/dist/src/commands/mcp/add.js +0 -166
  10. package/dist/src/commands/mcp/add.js.map +0 -1
  11. package/dist/src/commands/mcp/list.d.ts +0 -8
  12. package/dist/src/commands/mcp/list.js +0 -110
  13. package/dist/src/commands/mcp/list.js.map +0 -1
  14. package/dist/src/commands/mcp/remove.d.ts +0 -7
  15. package/dist/src/commands/mcp/remove.js +0 -44
  16. package/dist/src/commands/mcp/remove.js.map +0 -1
  17. package/dist/src/commands/mcp.d.ts +0 -7
  18. package/dist/src/commands/mcp.js +0 -23
  19. package/dist/src/commands/mcp.js.map +0 -1
  20. package/dist/src/config/archive-repository-pattern/README.md +0 -26
  21. package/dist/src/config/archive-repository-pattern/base-repository.d.ts +0 -252
  22. package/dist/src/config/archive-repository-pattern/base-repository.js +0 -280
  23. package/dist/src/config/archive-repository-pattern/base-repository.js.map +0 -1
  24. package/dist/src/config/archive-repository-pattern/model-repository.d.ts +0 -274
  25. package/dist/src/config/archive-repository-pattern/model-repository.js +0 -482
  26. package/dist/src/config/archive-repository-pattern/model-repository.js.map +0 -1
  27. package/dist/src/config/archive-repository-pattern/preferences-repository.d.ts +0 -307
  28. package/dist/src/config/archive-repository-pattern/preferences-repository.js +0 -604
  29. package/dist/src/config/archive-repository-pattern/preferences-repository.js.map +0 -1
  30. package/dist/src/config/archive-repository-pattern/repository-types.d.ts +0 -166
  31. package/dist/src/config/archive-repository-pattern/repository-types.js +0 -67
  32. package/dist/src/config/archive-repository-pattern/repository-types.js.map +0 -1
  33. package/dist/src/config/archive-repository-pattern/settings-repository.d.ts +0 -274
  34. package/dist/src/config/archive-repository-pattern/settings-repository.js +0 -531
  35. package/dist/src/config/archive-repository-pattern/settings-repository.js.map +0 -1
  36. package/dist/src/config/async-mutex.d.ts +0 -61
  37. package/dist/src/config/async-mutex.js +0 -121
  38. package/dist/src/config/async-mutex.js.map +0 -1
  39. package/dist/src/config/async-mutex.test.d.ts +0 -6
  40. package/dist/src/config/async-mutex.test.js +0 -271
  41. package/dist/src/config/async-mutex.test.js.map +0 -1
  42. package/dist/src/config/auth-stress-simplified.test.d.ts +0 -6
  43. package/dist/src/config/auth-stress-simplified.test.js +0 -329
  44. package/dist/src/config/auth-stress-simplified.test.js.map +0 -1
  45. package/dist/src/config/auth-stress.test.d.ts +0 -9
  46. package/dist/src/config/auth-stress.test.js +0 -544
  47. package/dist/src/config/auth-stress.test.js.map +0 -1
  48. package/dist/src/config/auth.d.ts +0 -96
  49. package/dist/src/config/auth.js +0 -371
  50. package/dist/src/config/auth.js.map +0 -1
  51. package/dist/src/config/auth.test.d.ts +0 -6
  52. package/dist/src/config/auth.test.js +0 -61
  53. package/dist/src/config/auth.test.js.map +0 -1
  54. package/dist/src/config/base-repository.d.ts +0 -252
  55. package/dist/src/config/base-repository.js +0 -272
  56. package/dist/src/config/base-repository.js.map +0 -1
  57. package/dist/src/config/config.d.ts +0 -51
  58. package/dist/src/config/config.js +0 -553
  59. package/dist/src/config/config.js.map +0 -1
  60. package/dist/src/config/core-database.d.ts +0 -112
  61. package/dist/src/config/core-database.js +0 -370
  62. package/dist/src/config/core-database.js.map +0 -1
  63. package/dist/src/config/database-integration.test.d.ts +0 -6
  64. package/dist/src/config/database-integration.test.js +0 -547
  65. package/dist/src/config/database-integration.test.js.map +0 -1
  66. package/dist/src/config/database-legacy-wrapper.d.ts +0 -202
  67. package/dist/src/config/database-legacy-wrapper.js +0 -391
  68. package/dist/src/config/database-legacy-wrapper.js.map +0 -1
  69. package/dist/src/config/database-monitor.d.ts +0 -135
  70. package/dist/src/config/database-monitor.js +0 -306
  71. package/dist/src/config/database-monitor.js.map +0 -1
  72. package/dist/src/config/database-queue.d.ts +0 -106
  73. package/dist/src/config/database-queue.js +0 -187
  74. package/dist/src/config/database-queue.js.map +0 -1
  75. package/dist/src/config/database-queue.test.d.ts +0 -6
  76. package/dist/src/config/database-queue.test.js +0 -344
  77. package/dist/src/config/database-queue.test.js.map +0 -1
  78. package/dist/src/config/database-regression-simple.test.d.ts +0 -6
  79. package/dist/src/config/database-regression-simple.test.js +0 -335
  80. package/dist/src/config/database-regression-simple.test.js.map +0 -1
  81. package/dist/src/config/database-regression.test.d.ts +0 -6
  82. package/dist/src/config/database-regression.test.js +0 -523
  83. package/dist/src/config/database-regression.test.js.map +0 -1
  84. package/dist/src/config/database-stress.test.d.ts +0 -6
  85. package/dist/src/config/database-stress.test.js +0 -522
  86. package/dist/src/config/database-stress.test.js.map +0 -1
  87. package/dist/src/config/database-utils.d.ts +0 -281
  88. package/dist/src/config/database-utils.js +0 -664
  89. package/dist/src/config/database-utils.js.map +0 -1
  90. package/dist/src/config/database-utils.test.d.ts +0 -6
  91. package/dist/src/config/database-utils.test.js +0 -278
  92. package/dist/src/config/database-utils.test.js.map +0 -1
  93. package/dist/src/config/database.d.ts +0 -212
  94. package/dist/src/config/database.js +0 -458
  95. package/dist/src/config/database.js.map +0 -1
  96. package/dist/src/config/databaseBackup.d.ts +0 -114
  97. package/dist/src/config/databaseBackup.js +0 -334
  98. package/dist/src/config/databaseBackup.js.map +0 -1
  99. package/dist/src/config/databaseHealthMonitor.d.ts +0 -86
  100. package/dist/src/config/databaseHealthMonitor.js +0 -180
  101. package/dist/src/config/databaseHealthMonitor.js.map +0 -1
  102. package/dist/src/config/databaseMetrics.d.ts +0 -147
  103. package/dist/src/config/databaseMetrics.js +0 -369
  104. package/dist/src/config/databaseMetrics.js.map +0 -1
  105. package/dist/src/config/databaseMigrations.d.ts +0 -75
  106. package/dist/src/config/databaseMigrations.js +0 -405
  107. package/dist/src/config/databaseMigrations.js.map +0 -1
  108. package/dist/src/config/databasePool.d.ts +0 -72
  109. package/dist/src/config/databasePool.js +0 -226
  110. package/dist/src/config/databasePool.js.map +0 -1
  111. package/dist/src/config/databaseSchemaValidator.d.ts +0 -114
  112. package/dist/src/config/databaseSchemaValidator.js +0 -497
  113. package/dist/src/config/databaseSchemaValidator.js.map +0 -1
  114. package/dist/src/config/extension.d.ts +0 -23
  115. package/dist/src/config/extension.js +0 -126
  116. package/dist/src/config/extension.js.map +0 -1
  117. package/dist/src/config/health-database.d.ts +0 -172
  118. package/dist/src/config/health-database.js +0 -283
  119. package/dist/src/config/health-database.js.map +0 -1
  120. package/dist/src/config/keyBindings.d.ts +0 -66
  121. package/dist/src/config/keyBindings.js +0 -141
  122. package/dist/src/config/keyBindings.js.map +0 -1
  123. package/dist/src/config/keyBindings.test.d.ts +0 -6
  124. package/dist/src/config/keyBindings.test.js +0 -51
  125. package/dist/src/config/keyBindings.test.js.map +0 -1
  126. package/dist/src/config/model-database.d.ts +0 -157
  127. package/dist/src/config/model-database.js +0 -379
  128. package/dist/src/config/model-database.js.map +0 -1
  129. package/dist/src/config/model-repository.d.ts +0 -274
  130. package/dist/src/config/model-repository.js +0 -482
  131. package/dist/src/config/model-repository.js.map +0 -1
  132. package/dist/src/config/modelManager.d.ts +0 -146
  133. package/dist/src/config/modelManager.js +0 -573
  134. package/dist/src/config/modelManager.js.map +0 -1
  135. package/dist/src/config/preferences-database.d.ts +0 -101
  136. package/dist/src/config/preferences-database.js +0 -209
  137. package/dist/src/config/preferences-database.js.map +0 -1
  138. package/dist/src/config/preferences-repository.d.ts +0 -307
  139. package/dist/src/config/preferences-repository.js +0 -604
  140. package/dist/src/config/preferences-repository.js.map +0 -1
  141. package/dist/src/config/provider-database.d.ts +0 -102
  142. package/dist/src/config/provider-database.js +0 -250
  143. package/dist/src/config/provider-database.js.map +0 -1
  144. package/dist/src/config/providerPersistence.d.ts +0 -82
  145. package/dist/src/config/providerPersistence.js +0 -62
  146. package/dist/src/config/providerPersistence.js.map +0 -1
  147. package/dist/src/config/queryOptimizer.d.ts +0 -127
  148. package/dist/src/config/queryOptimizer.js +0 -330
  149. package/dist/src/config/queryOptimizer.js.map +0 -1
  150. package/dist/src/config/repository-types.d.ts +0 -166
  151. package/dist/src/config/repository-types.js +0 -67
  152. package/dist/src/config/repository-types.js.map +0 -1
  153. package/dist/src/config/sandboxConfig.d.ts +0 -13
  154. package/dist/src/config/sandboxConfig.js +0 -75
  155. package/dist/src/config/sandboxConfig.js.map +0 -1
  156. package/dist/src/config/settings-repository.d.ts +0 -274
  157. package/dist/src/config/settings-repository.js +0 -531
  158. package/dist/src/config/settings-repository.js.map +0 -1
  159. package/dist/src/config/settings.d.ts +0 -56
  160. package/dist/src/config/settings.js +0 -411
  161. package/dist/src/config/settings.js.map +0 -1
  162. package/dist/src/config/settingsSchema.d.ts +0 -703
  163. package/dist/src/config/settingsSchema.js +0 -679
  164. package/dist/src/config/settingsSchema.js.map +0 -1
  165. package/dist/src/config/settingsSchema.test.d.ts +0 -6
  166. package/dist/src/config/settingsSchema.test.js +0 -195
  167. package/dist/src/config/settingsSchema.test.js.map +0 -1
  168. package/dist/src/config/trustedFolders.d.ts +0 -37
  169. package/dist/src/config/trustedFolders.js +0 -118
  170. package/dist/src/config/trustedFolders.js.map +0 -1
  171. package/dist/src/config/trustedFolders.test.d.ts +0 -6
  172. package/dist/src/config/trustedFolders.test.js +0 -160
  173. package/dist/src/config/trustedFolders.test.js.map +0 -1
  174. package/dist/src/config/unified-database.d.ts +0 -383
  175. package/dist/src/config/unified-database.js +0 -651
  176. package/dist/src/config/unified-database.js.map +0 -1
  177. package/dist/src/config/unified-database.test.d.ts +0 -6
  178. package/dist/src/config/unified-database.test.js +0 -162
  179. package/dist/src/config/unified-database.test.js.map +0 -1
  180. package/dist/src/gemini.d.ts +0 -9
  181. package/dist/src/gemini.js +0 -334
  182. package/dist/src/gemini.js.map +0 -1
  183. package/dist/src/gemini.test.d.ts +0 -6
  184. package/dist/src/gemini.test.js +0 -193
  185. package/dist/src/gemini.test.js.map +0 -1
  186. package/dist/src/generated/git-commit.d.ts +0 -7
  187. package/dist/src/generated/git-commit.js +0 -10
  188. package/dist/src/generated/git-commit.js.map +0 -1
  189. package/dist/src/nonInteractiveCli.d.ts +0 -7
  190. package/dist/src/nonInteractiveCli.js +0 -103
  191. package/dist/src/nonInteractiveCli.js.map +0 -1
  192. package/dist/src/patches/is-in-ci.d.ts +0 -7
  193. package/dist/src/patches/is-in-ci.js +0 -15
  194. package/dist/src/patches/is-in-ci.js.map +0 -1
  195. package/dist/src/services/BuiltinCommandLoader.d.ts +0 -24
  196. package/dist/src/services/BuiltinCommandLoader.js +0 -92
  197. package/dist/src/services/BuiltinCommandLoader.js.map +0 -1
  198. package/dist/src/services/BuiltinCommandLoader.test.d.ts +0 -6
  199. package/dist/src/services/BuiltinCommandLoader.test.js +0 -108
  200. package/dist/src/services/BuiltinCommandLoader.test.js.map +0 -1
  201. package/dist/src/services/CommandService.d.ts +0 -55
  202. package/dist/src/services/CommandService.js +0 -90
  203. package/dist/src/services/CommandService.js.map +0 -1
  204. package/dist/src/services/CommandService.test.d.ts +0 -6
  205. package/dist/src/services/CommandService.test.js +0 -232
  206. package/dist/src/services/CommandService.test.js.map +0 -1
  207. package/dist/src/services/FileCommandLoader.d.ts +0 -49
  208. package/dist/src/services/FileCommandLoader.js +0 -210
  209. package/dist/src/services/FileCommandLoader.js.map +0 -1
  210. package/dist/src/services/McpPromptLoader.d.ts +0 -25
  211. package/dist/src/services/McpPromptLoader.js +0 -192
  212. package/dist/src/services/McpPromptLoader.js.map +0 -1
  213. package/dist/src/services/SearchEngineConfigProvider.d.ts +0 -33
  214. package/dist/src/services/SearchEngineConfigProvider.js +0 -82
  215. package/dist/src/services/SearchEngineConfigProvider.js.map +0 -1
  216. package/dist/src/services/prompt-processors/argumentProcessor.d.ts +0 -16
  217. package/dist/src/services/prompt-processors/argumentProcessor.js +0 -20
  218. package/dist/src/services/prompt-processors/argumentProcessor.js.map +0 -1
  219. package/dist/src/services/prompt-processors/shellProcessor.d.ts +0 -35
  220. package/dist/src/services/prompt-processors/shellProcessor.js +0 -162
  221. package/dist/src/services/prompt-processors/shellProcessor.js.map +0 -1
  222. package/dist/src/services/prompt-processors/types.d.ts +0 -40
  223. package/dist/src/services/prompt-processors/types.js +0 -16
  224. package/dist/src/services/prompt-processors/types.js.map +0 -1
  225. package/dist/src/services/types.d.ts +0 -22
  226. package/dist/src/services/types.js +0 -7
  227. package/dist/src/services/types.js.map +0 -1
  228. package/dist/src/test-utils/customMatchers.d.ts +0 -14
  229. package/dist/src/test-utils/customMatchers.js +0 -46
  230. package/dist/src/test-utils/customMatchers.js.map +0 -1
  231. package/dist/src/test-utils/mockCommandContext.d.ts +0 -18
  232. package/dist/src/test-utils/mockCommandContext.js +0 -87
  233. package/dist/src/test-utils/mockCommandContext.js.map +0 -1
  234. package/dist/src/test-utils/mockCommandContext.test.d.ts +0 -6
  235. package/dist/src/test-utils/mockCommandContext.test.js +0 -51
  236. package/dist/src/test-utils/mockCommandContext.test.js.map +0 -1
  237. package/dist/src/test-utils/render.d.ts +0 -8
  238. package/dist/src/test-utils/render.js +0 -10
  239. package/dist/src/test-utils/render.js.map +0 -1
  240. package/dist/src/ui/App.d.ts +0 -15
  241. package/dist/src/ui/App.js +0 -687
  242. package/dist/src/ui/App.js.map +0 -1
  243. package/dist/src/ui/IdeIntegrationNudge.d.ts +0 -16
  244. package/dist/src/ui/IdeIntegrationNudge.js +0 -52
  245. package/dist/src/ui/IdeIntegrationNudge.js.map +0 -1
  246. package/dist/src/ui/colors.d.ts +0 -7
  247. package/dist/src/ui/colors.js +0 -54
  248. package/dist/src/ui/colors.js.map +0 -1
  249. package/dist/src/ui/commands/aboutCommand.d.ts +0 -7
  250. package/dist/src/ui/commands/aboutCommand.js +0 -43
  251. package/dist/src/ui/commands/aboutCommand.js.map +0 -1
  252. package/dist/src/ui/commands/authCommand.d.ts +0 -7
  253. package/dist/src/ui/commands/authCommand.js +0 -16
  254. package/dist/src/ui/commands/authCommand.js.map +0 -1
  255. package/dist/src/ui/commands/bugCommand.d.ts +0 -7
  256. package/dist/src/ui/commands/bugCommand.js +0 -71
  257. package/dist/src/ui/commands/bugCommand.js.map +0 -1
  258. package/dist/src/ui/commands/chatCommand.d.ts +0 -7
  259. package/dist/src/ui/commands/chatCommand.js +0 -234
  260. package/dist/src/ui/commands/chatCommand.js.map +0 -1
  261. package/dist/src/ui/commands/clearCommand.d.ts +0 -7
  262. package/dist/src/ui/commands/clearCommand.js +0 -27
  263. package/dist/src/ui/commands/clearCommand.js.map +0 -1
  264. package/dist/src/ui/commands/compressCommand.d.ts +0 -7
  265. package/dist/src/ui/commands/compressCommand.js +0 -64
  266. package/dist/src/ui/commands/compressCommand.js.map +0 -1
  267. package/dist/src/ui/commands/contextCommand.d.ts +0 -7
  268. package/dist/src/ui/commands/contextCommand.js +0 -115
  269. package/dist/src/ui/commands/contextCommand.js.map +0 -1
  270. package/dist/src/ui/commands/copyCommand.d.ts +0 -7
  271. package/dist/src/ui/commands/copyCommand.js +0 -59
  272. package/dist/src/ui/commands/copyCommand.js.map +0 -1
  273. package/dist/src/ui/commands/corgiCommand.d.ts +0 -7
  274. package/dist/src/ui/commands/corgiCommand.js +0 -15
  275. package/dist/src/ui/commands/corgiCommand.js.map +0 -1
  276. package/dist/src/ui/commands/directoryCommand.d.ts +0 -8
  277. package/dist/src/ui/commands/directoryCommand.js +0 -133
  278. package/dist/src/ui/commands/directoryCommand.js.map +0 -1
  279. package/dist/src/ui/commands/docsCommand.d.ts +0 -7
  280. package/dist/src/ui/commands/docsCommand.js +0 -31
  281. package/dist/src/ui/commands/docsCommand.js.map +0 -1
  282. package/dist/src/ui/commands/editorCommand.d.ts +0 -7
  283. package/dist/src/ui/commands/editorCommand.js +0 -16
  284. package/dist/src/ui/commands/editorCommand.js.map +0 -1
  285. package/dist/src/ui/commands/extensionsCommand.d.ts +0 -7
  286. package/dist/src/ui/commands/extensionsCommand.js +0 -31
  287. package/dist/src/ui/commands/extensionsCommand.js.map +0 -1
  288. package/dist/src/ui/commands/helpCommand.d.ts +0 -7
  289. package/dist/src/ui/commands/helpCommand.js +0 -21
  290. package/dist/src/ui/commands/helpCommand.js.map +0 -1
  291. package/dist/src/ui/commands/ideCommand.d.ts +0 -8
  292. package/dist/src/ui/commands/ideCommand.js +0 -218
  293. package/dist/src/ui/commands/ideCommand.js.map +0 -1
  294. package/dist/src/ui/commands/initCommand.d.ts +0 -7
  295. package/dist/src/ui/commands/initCommand.js +0 -105
  296. package/dist/src/ui/commands/initCommand.js.map +0 -1
  297. package/dist/src/ui/commands/mcpCommand.d.ts +0 -7
  298. package/dist/src/ui/commands/mcpCommand.js +0 -424
  299. package/dist/src/ui/commands/mcpCommand.js.map +0 -1
  300. package/dist/src/ui/commands/memoryCommand.d.ts +0 -7
  301. package/dist/src/ui/commands/memoryCommand.js +0 -224
  302. package/dist/src/ui/commands/memoryCommand.js.map +0 -1
  303. package/dist/src/ui/commands/privacyCommand.d.ts +0 -7
  304. package/dist/src/ui/commands/privacyCommand.js +0 -16
  305. package/dist/src/ui/commands/privacyCommand.js.map +0 -1
  306. package/dist/src/ui/commands/quitCommand.d.ts +0 -7
  307. package/dist/src/ui/commands/quitCommand.js +0 -34
  308. package/dist/src/ui/commands/quitCommand.js.map +0 -1
  309. package/dist/src/ui/commands/restoreCommand.d.ts +0 -8
  310. package/dist/src/ui/commands/restoreCommand.js +0 -128
  311. package/dist/src/ui/commands/restoreCommand.js.map +0 -1
  312. package/dist/src/ui/commands/searchEngineSetupCommand.d.ts +0 -7
  313. package/dist/src/ui/commands/searchEngineSetupCommand.js +0 -17
  314. package/dist/src/ui/commands/searchEngineSetupCommand.js.map +0 -1
  315. package/dist/src/ui/commands/settingsCommand.d.ts +0 -7
  316. package/dist/src/ui/commands/settingsCommand.js +0 -16
  317. package/dist/src/ui/commands/settingsCommand.js.map +0 -1
  318. package/dist/src/ui/commands/setupGithubCommand.d.ts +0 -9
  319. package/dist/src/ui/commands/setupGithubCommand.js +0 -154
  320. package/dist/src/ui/commands/setupGithubCommand.js.map +0 -1
  321. package/dist/src/ui/commands/setupGithubCommand.test.d.ts +0 -6
  322. package/dist/src/ui/commands/setupGithubCommand.test.js +0 -167
  323. package/dist/src/ui/commands/setupGithubCommand.test.js.map +0 -1
  324. package/dist/src/ui/commands/speakCommand.d.ts +0 -7
  325. package/dist/src/ui/commands/speakCommand.js +0 -136
  326. package/dist/src/ui/commands/speakCommand.js.map +0 -1
  327. package/dist/src/ui/commands/statsCommand.d.ts +0 -7
  328. package/dist/src/ui/commands/statsCommand.js +0 -54
  329. package/dist/src/ui/commands/statsCommand.js.map +0 -1
  330. package/dist/src/ui/commands/terminalSetupCommand.d.ts +0 -13
  331. package/dist/src/ui/commands/terminalSetupCommand.js +0 -41
  332. package/dist/src/ui/commands/terminalSetupCommand.js.map +0 -1
  333. package/dist/src/ui/commands/themeCommand.d.ts +0 -7
  334. package/dist/src/ui/commands/themeCommand.js +0 -16
  335. package/dist/src/ui/commands/themeCommand.js.map +0 -1
  336. package/dist/src/ui/commands/toolsCommand.d.ts +0 -7
  337. package/dist/src/ui/commands/toolsCommand.js +0 -56
  338. package/dist/src/ui/commands/toolsCommand.js.map +0 -1
  339. package/dist/src/ui/commands/ttsCommand.d.ts +0 -7
  340. package/dist/src/ui/commands/ttsCommand.js +0 -122
  341. package/dist/src/ui/commands/ttsCommand.js.map +0 -1
  342. package/dist/src/ui/commands/types.d.ts +0 -157
  343. package/dist/src/ui/commands/types.js +0 -12
  344. package/dist/src/ui/commands/types.js.map +0 -1
  345. package/dist/src/ui/commands/vimCommand.d.ts +0 -7
  346. package/dist/src/ui/commands/vimCommand.js +0 -23
  347. package/dist/src/ui/commands/vimCommand.js.map +0 -1
  348. package/dist/src/ui/commands/voiceCommand.d.ts +0 -7
  349. package/dist/src/ui/commands/voiceCommand.js +0 -95
  350. package/dist/src/ui/commands/voiceCommand.js.map +0 -1
  351. package/dist/src/ui/components/AboutBox.d.ts +0 -17
  352. package/dist/src/ui/components/AboutBox.js +0 -6
  353. package/dist/src/ui/components/AboutBox.js.map +0 -1
  354. package/dist/src/ui/components/AsciiArt.d.ts +0 -8
  355. package/dist/src/ui/components/AsciiArt.js +0 -53
  356. package/dist/src/ui/components/AsciiArt.js.map +0 -1
  357. package/dist/src/ui/components/AuthDialog.d.ts +0 -15
  358. package/dist/src/ui/components/AuthDialog.js +0 -174
  359. package/dist/src/ui/components/AuthDialog.js.map +0 -1
  360. package/dist/src/ui/components/AuthDialog.test.d.ts +0 -6
  361. package/dist/src/ui/components/AuthDialog.test.js +0 -220
  362. package/dist/src/ui/components/AuthDialog.test.js.map +0 -1
  363. package/dist/src/ui/components/AuthInProgress.d.ts +0 -11
  364. package/dist/src/ui/components/AuthInProgress.js +0 -28
  365. package/dist/src/ui/components/AuthInProgress.js.map +0 -1
  366. package/dist/src/ui/components/AutoAcceptIndicator.d.ts +0 -12
  367. package/dist/src/ui/components/AutoAcceptIndicator.js +0 -26
  368. package/dist/src/ui/components/AutoAcceptIndicator.js.map +0 -1
  369. package/dist/src/ui/components/ConsoleSummaryDisplay.d.ts +0 -11
  370. package/dist/src/ui/components/ConsoleSummaryDisplay.js +0 -11
  371. package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +0 -1
  372. package/dist/src/ui/components/ContextSummaryDisplay.d.ts +0 -20
  373. package/dist/src/ui/components/ContextSummaryDisplay.js +0 -65
  374. package/dist/src/ui/components/ContextSummaryDisplay.js.map +0 -1
  375. package/dist/src/ui/components/ContextUsageDisplay.d.ts +0 -11
  376. package/dist/src/ui/components/ContextUsageDisplay.js +0 -100
  377. package/dist/src/ui/components/ContextUsageDisplay.js.map +0 -1
  378. package/dist/src/ui/components/DebugProfiler.d.ts +0 -6
  379. package/dist/src/ui/components/DebugProfiler.js +0 -27
  380. package/dist/src/ui/components/DebugProfiler.js.map +0 -1
  381. package/dist/src/ui/components/DetailedMessagesDisplay.d.ts +0 -14
  382. package/dist/src/ui/components/DetailedMessagesDisplay.js +0 -34
  383. package/dist/src/ui/components/DetailedMessagesDisplay.js.map +0 -1
  384. package/dist/src/ui/components/EditorSettingsDialog.d.ts +0 -15
  385. package/dist/src/ui/components/EditorSettingsDialog.js +0 -74
  386. package/dist/src/ui/components/EditorSettingsDialog.js.map +0 -1
  387. package/dist/src/ui/components/FolderTrustDialog.d.ts +0 -16
  388. package/dist/src/ui/components/FolderTrustDialog.js +0 -39
  389. package/dist/src/ui/components/FolderTrustDialog.js.map +0 -1
  390. package/dist/src/ui/components/FolderTrustDialog.test.d.ts +0 -6
  391. package/dist/src/ui/components/FolderTrustDialog.test.js +0 -26
  392. package/dist/src/ui/components/FolderTrustDialog.test.js.map +0 -1
  393. package/dist/src/ui/components/Footer.d.ts +0 -24
  394. package/dist/src/ui/components/Footer.js +0 -25
  395. package/dist/src/ui/components/Footer.js.map +0 -1
  396. package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +0 -17
  397. package/dist/src/ui/components/GeminiRespondingSpinner.js +0 -16
  398. package/dist/src/ui/components/GeminiRespondingSpinner.js.map +0 -1
  399. package/dist/src/ui/components/Header.d.ts +0 -13
  400. package/dist/src/ui/components/Header.js +0 -28
  401. package/dist/src/ui/components/Header.js.map +0 -1
  402. package/dist/src/ui/components/Header.test.d.ts +0 -6
  403. package/dist/src/ui/components/Header.test.js +0 -37
  404. package/dist/src/ui/components/Header.test.js.map +0 -1
  405. package/dist/src/ui/components/Help.d.ts +0 -12
  406. package/dist/src/ui/components/Help.js +0 -10
  407. package/dist/src/ui/components/Help.js.map +0 -1
  408. package/dist/src/ui/components/HistoryItemDisplay.d.ts +0 -20
  409. package/dist/src/ui/components/HistoryItemDisplay.js +0 -18
  410. package/dist/src/ui/components/HistoryItemDisplay.js.map +0 -1
  411. package/dist/src/ui/components/HistoryItemDisplay.test.d.ts +0 -6
  412. package/dist/src/ui/components/HistoryItemDisplay.test.js +0 -91
  413. package/dist/src/ui/components/HistoryItemDisplay.test.js.map +0 -1
  414. package/dist/src/ui/components/InputPrompt.d.ts +0 -28
  415. package/dist/src/ui/components/InputPrompt.js +0 -440
  416. package/dist/src/ui/components/InputPrompt.js.map +0 -1
  417. package/dist/src/ui/components/LMStudioModelPrompt.d.ts +0 -12
  418. package/dist/src/ui/components/LMStudioModelPrompt.js +0 -100
  419. package/dist/src/ui/components/LMStudioModelPrompt.js.map +0 -1
  420. package/dist/src/ui/components/LoadingIndicator.d.ts +0 -15
  421. package/dist/src/ui/components/LoadingIndicator.js +0 -25
  422. package/dist/src/ui/components/LoadingIndicator.js.map +0 -1
  423. package/dist/src/ui/components/LoadingIndicator.test.d.ts +0 -6
  424. package/dist/src/ui/components/LoadingIndicator.test.js +0 -190
  425. package/dist/src/ui/components/LoadingIndicator.test.js.map +0 -1
  426. package/dist/src/ui/components/MemoryUsageDisplay.d.ts +0 -7
  427. package/dist/src/ui/components/MemoryUsageDisplay.js +0 -27
  428. package/dist/src/ui/components/MemoryUsageDisplay.js.map +0 -1
  429. package/dist/src/ui/components/ModelStatsDisplay.d.ts +0 -7
  430. package/dist/src/ui/components/ModelStatsDisplay.js +0 -33
  431. package/dist/src/ui/components/ModelStatsDisplay.js.map +0 -1
  432. package/dist/src/ui/components/OllamaModelPrompt.d.ts +0 -12
  433. package/dist/src/ui/components/OllamaModelPrompt.js +0 -94
  434. package/dist/src/ui/components/OllamaModelPrompt.js.map +0 -1
  435. package/dist/src/ui/components/OpenAIEndpointDialog.d.ts +0 -18
  436. package/dist/src/ui/components/OpenAIEndpointDialog.js +0 -77
  437. package/dist/src/ui/components/OpenAIEndpointDialog.js.map +0 -1
  438. package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +0 -13
  439. package/dist/src/ui/components/OpenAIKeyPrompt.js +0 -118
  440. package/dist/src/ui/components/OpenAIKeyPrompt.js.map +0 -1
  441. package/dist/src/ui/components/OpenAIKeyPrompt.test.d.ts +0 -6
  442. package/dist/src/ui/components/OpenAIKeyPrompt.test.js +0 -44
  443. package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +0 -1
  444. package/dist/src/ui/components/PrepareLabel.d.ts +0 -15
  445. package/dist/src/ui/components/PrepareLabel.js +0 -16
  446. package/dist/src/ui/components/PrepareLabel.js.map +0 -1
  447. package/dist/src/ui/components/SearchEngineConfigDialog.d.ts +0 -18
  448. package/dist/src/ui/components/SearchEngineConfigDialog.js +0 -180
  449. package/dist/src/ui/components/SearchEngineConfigDialog.js.map +0 -1
  450. package/dist/src/ui/components/SessionSummaryDisplay.d.ts +0 -11
  451. package/dist/src/ui/components/SessionSummaryDisplay.js +0 -4
  452. package/dist/src/ui/components/SessionSummaryDisplay.js.map +0 -1
  453. package/dist/src/ui/components/SettingsDialog.d.ts +0 -14
  454. package/dist/src/ui/components/SettingsDialog.js +0 -519
  455. package/dist/src/ui/components/SettingsDialog.js.map +0 -1
  456. package/dist/src/ui/components/SettingsDialog.test.d.ts +0 -6
  457. package/dist/src/ui/components/SettingsDialog.test.js +0 -568
  458. package/dist/src/ui/components/SettingsDialog.test.js.map +0 -1
  459. package/dist/src/ui/components/ShellConfirmationDialog.d.ts +0 -15
  460. package/dist/src/ui/components/ShellConfirmationDialog.js +0 -46
  461. package/dist/src/ui/components/ShellConfirmationDialog.js.map +0 -1
  462. package/dist/src/ui/components/ShellConfirmationDialog.test.d.ts +0 -6
  463. package/dist/src/ui/components/ShellConfirmationDialog.test.js +0 -40
  464. package/dist/src/ui/components/ShellConfirmationDialog.test.js.map +0 -1
  465. package/dist/src/ui/components/ShellModeIndicator.d.ts +0 -7
  466. package/dist/src/ui/components/ShellModeIndicator.js +0 -5
  467. package/dist/src/ui/components/ShellModeIndicator.js.map +0 -1
  468. package/dist/src/ui/components/ShowMoreLines.d.ts +0 -10
  469. package/dist/src/ui/components/ShowMoreLines.js +0 -24
  470. package/dist/src/ui/components/ShowMoreLines.js.map +0 -1
  471. package/dist/src/ui/components/StatsDisplay.d.ts +0 -12
  472. package/dist/src/ui/components/StatsDisplay.js +0 -43
  473. package/dist/src/ui/components/StatsDisplay.js.map +0 -1
  474. package/dist/src/ui/components/SuggestionsDisplay.d.ts +0 -22
  475. package/dist/src/ui/components/SuggestionsDisplay.js +0 -32
  476. package/dist/src/ui/components/SuggestionsDisplay.js.map +0 -1
  477. package/dist/src/ui/components/ThemeDialog.d.ts +0 -19
  478. package/dist/src/ui/components/ThemeDialog.js +0 -143
  479. package/dist/src/ui/components/ThemeDialog.js.map +0 -1
  480. package/dist/src/ui/components/Tips.d.ts +0 -12
  481. package/dist/src/ui/components/Tips.js +0 -8
  482. package/dist/src/ui/components/Tips.js.map +0 -1
  483. package/dist/src/ui/components/TodoDisplay.d.ts +0 -16
  484. package/dist/src/ui/components/TodoDisplay.js +0 -27
  485. package/dist/src/ui/components/TodoDisplay.js.map +0 -1
  486. package/dist/src/ui/components/TodoDisplay.test.d.ts +0 -6
  487. package/dist/src/ui/components/TodoDisplay.test.js +0 -77
  488. package/dist/src/ui/components/TodoDisplay.test.js.map +0 -1
  489. package/dist/src/ui/components/ToolStatsDisplay.d.ts +0 -7
  490. package/dist/src/ui/components/ToolStatsDisplay.js +0 -41
  491. package/dist/src/ui/components/ToolStatsDisplay.js.map +0 -1
  492. package/dist/src/ui/components/UpdateNotification.d.ts +0 -10
  493. package/dist/src/ui/components/UpdateNotification.js +0 -10
  494. package/dist/src/ui/components/UpdateNotification.js.map +0 -1
  495. package/dist/src/ui/components/WelcomeBackDialog.d.ts +0 -36
  496. package/dist/src/ui/components/WelcomeBackDialog.js +0 -109
  497. package/dist/src/ui/components/WelcomeBackDialog.js.map +0 -1
  498. package/dist/src/ui/components/messages/CompressionMessage.d.ts +0 -11
  499. package/dist/src/ui/components/messages/CompressionMessage.js +0 -16
  500. package/dist/src/ui/components/messages/CompressionMessage.js.map +0 -1
  501. package/dist/src/ui/components/messages/DiffRenderer.d.ts +0 -16
  502. package/dist/src/ui/components/messages/DiffRenderer.js +0 -222
  503. package/dist/src/ui/components/messages/DiffRenderer.js.map +0 -1
  504. package/dist/src/ui/components/messages/DiffRenderer.test.d.ts +0 -6
  505. package/dist/src/ui/components/messages/DiffRenderer.test.js +0 -239
  506. package/dist/src/ui/components/messages/DiffRenderer.test.js.map +0 -1
  507. package/dist/src/ui/components/messages/ErrorMessage.d.ts +0 -11
  508. package/dist/src/ui/components/messages/ErrorMessage.js +0 -9
  509. package/dist/src/ui/components/messages/ErrorMessage.js.map +0 -1
  510. package/dist/src/ui/components/messages/GeminiMessage.d.ts +0 -14
  511. package/dist/src/ui/components/messages/GeminiMessage.js +0 -10
  512. package/dist/src/ui/components/messages/GeminiMessage.js.map +0 -1
  513. package/dist/src/ui/components/messages/GeminiMessageContent.d.ts +0 -14
  514. package/dist/src/ui/components/messages/GeminiMessageContent.js +0 -15
  515. package/dist/src/ui/components/messages/GeminiMessageContent.js.map +0 -1
  516. package/dist/src/ui/components/messages/InfoMessage.d.ts +0 -11
  517. package/dist/src/ui/components/messages/InfoMessage.js +0 -10
  518. package/dist/src/ui/components/messages/InfoMessage.js.map +0 -1
  519. package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +0 -15
  520. package/dist/src/ui/components/messages/ToolConfirmationMessage.js +0 -145
  521. package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +0 -1
  522. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.d.ts +0 -6
  523. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +0 -37
  524. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +0 -1
  525. package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +0 -18
  526. package/dist/src/ui/components/messages/ToolGroupMessage.js +0 -55
  527. package/dist/src/ui/components/messages/ToolGroupMessage.js.map +0 -1
  528. package/dist/src/ui/components/messages/ToolMessage.d.ts +0 -15
  529. package/dist/src/ui/components/messages/ToolMessage.js +0 -111
  530. package/dist/src/ui/components/messages/ToolMessage.js.map +0 -1
  531. package/dist/src/ui/components/messages/ToolMessage.test.d.ts +0 -6
  532. package/dist/src/ui/components/messages/ToolMessage.test.js +0 -118
  533. package/dist/src/ui/components/messages/ToolMessage.test.js.map +0 -1
  534. package/dist/src/ui/components/messages/UserMessage.d.ts +0 -11
  535. package/dist/src/ui/components/messages/UserMessage.js +0 -12
  536. package/dist/src/ui/components/messages/UserMessage.js.map +0 -1
  537. package/dist/src/ui/components/messages/UserShellMessage.d.ts +0 -11
  538. package/dist/src/ui/components/messages/UserShellMessage.js +0 -9
  539. package/dist/src/ui/components/messages/UserShellMessage.js.map +0 -1
  540. package/dist/src/ui/components/shared/MaxSizedBox.d.ts +0 -61
  541. package/dist/src/ui/components/shared/MaxSizedBox.js +0 -451
  542. package/dist/src/ui/components/shared/MaxSizedBox.js.map +0 -1
  543. package/dist/src/ui/components/shared/MaxSizedBox.test.d.ts +0 -6
  544. package/dist/src/ui/components/shared/MaxSizedBox.test.js +0 -154
  545. package/dist/src/ui/components/shared/MaxSizedBox.test.js.map +0 -1
  546. package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +0 -46
  547. package/dist/src/ui/components/shared/RadioButtonSelect.js +0 -121
  548. package/dist/src/ui/components/shared/RadioButtonSelect.js.map +0 -1
  549. package/dist/src/ui/components/shared/RadioButtonSelect.test.d.ts +0 -6
  550. package/dist/src/ui/components/shared/RadioButtonSelect.test.js +0 -111
  551. package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +0 -1
  552. package/dist/src/ui/components/shared/text-buffer.d.ts +0 -467
  553. package/dist/src/ui/components/shared/text-buffer.js +0 -1533
  554. package/dist/src/ui/components/shared/text-buffer.js.map +0 -1
  555. package/dist/src/ui/components/shared/vim-buffer-actions.d.ts +0 -72
  556. package/dist/src/ui/components/shared/vim-buffer-actions.js +0 -552
  557. package/dist/src/ui/components/shared/vim-buffer-actions.js.map +0 -1
  558. package/dist/src/ui/constants.d.ts +0 -9
  559. package/dist/src/ui/constants.js +0 -13
  560. package/dist/src/ui/constants.js.map +0 -1
  561. package/dist/src/ui/contexts/KeypressContext.d.ts +0 -30
  562. package/dist/src/ui/contexts/KeypressContext.js +0 -331
  563. package/dist/src/ui/contexts/KeypressContext.js.map +0 -1
  564. package/dist/src/ui/contexts/KeypressContext.test.d.ts +0 -6
  565. package/dist/src/ui/contexts/KeypressContext.test.js +0 -275
  566. package/dist/src/ui/contexts/KeypressContext.test.js.map +0 -1
  567. package/dist/src/ui/contexts/OverflowContext.d.ts +0 -19
  568. package/dist/src/ui/contexts/OverflowContext.js +0 -43
  569. package/dist/src/ui/contexts/OverflowContext.js.map +0 -1
  570. package/dist/src/ui/contexts/SessionContext.d.ts +0 -39
  571. package/dist/src/ui/contexts/SessionContext.js +0 -60
  572. package/dist/src/ui/contexts/SessionContext.js.map +0 -1
  573. package/dist/src/ui/contexts/SettingsContext.d.ts +0 -9
  574. package/dist/src/ui/contexts/SettingsContext.js +0 -15
  575. package/dist/src/ui/contexts/SettingsContext.js.map +0 -1
  576. package/dist/src/ui/contexts/StreamingContext.d.ts +0 -9
  577. package/dist/src/ui/contexts/StreamingContext.js +0 -15
  578. package/dist/src/ui/contexts/StreamingContext.js.map +0 -1
  579. package/dist/src/ui/contexts/VimModeContext.d.ts +0 -19
  580. package/dist/src/ui/contexts/VimModeContext.js +0 -48
  581. package/dist/src/ui/contexts/VimModeContext.js.map +0 -1
  582. package/dist/src/ui/editors/editorSettingsManager.d.ts +0 -19
  583. package/dist/src/ui/editors/editorSettingsManager.js +0 -47
  584. package/dist/src/ui/editors/editorSettingsManager.js.map +0 -1
  585. package/dist/src/ui/hooks/atCommandProcessor.d.ts +0 -31
  586. package/dist/src/ui/hooks/atCommandProcessor.js +0 -365
  587. package/dist/src/ui/hooks/atCommandProcessor.js.map +0 -1
  588. package/dist/src/ui/hooks/atCommandProcessor.test.d.ts +0 -6
  589. package/dist/src/ui/hooks/atCommandProcessor.test.js +0 -824
  590. package/dist/src/ui/hooks/atCommandProcessor.test.js.map +0 -1
  591. package/dist/src/ui/hooks/shellCommandProcessor.d.ts +0 -17
  592. package/dist/src/ui/hooks/shellCommandProcessor.js +0 -233
  593. package/dist/src/ui/hooks/shellCommandProcessor.js.map +0 -1
  594. package/dist/src/ui/hooks/shellCommandProcessor.test.d.ts +0 -6
  595. package/dist/src/ui/hooks/shellCommandProcessor.test.js +0 -328
  596. package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +0 -1
  597. package/dist/src/ui/hooks/slashCommandProcessor.d.ts +0 -28
  598. package/dist/src/ui/hooks/slashCommandProcessor.js +0 -459
  599. package/dist/src/ui/hooks/slashCommandProcessor.js.map +0 -1
  600. package/dist/src/ui/hooks/useAtCompletion.d.ts +0 -23
  601. package/dist/src/ui/hooks/useAtCompletion.js +0 -179
  602. package/dist/src/ui/hooks/useAtCompletion.js.map +0 -1
  603. package/dist/src/ui/hooks/useAuthCommand.d.ts +0 -14
  604. package/dist/src/ui/hooks/useAuthCommand.js +0 -100
  605. package/dist/src/ui/hooks/useAuthCommand.js.map +0 -1
  606. package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +0 -10
  607. package/dist/src/ui/hooks/useAutoAcceptIndicator.js +0 -37
  608. package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +0 -1
  609. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.d.ts +0 -6
  610. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +0 -190
  611. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +0 -1
  612. package/dist/src/ui/hooks/useBracketedPaste.d.ts +0 -12
  613. package/dist/src/ui/hooks/useBracketedPaste.js +0 -32
  614. package/dist/src/ui/hooks/useBracketedPaste.js.map +0 -1
  615. package/dist/src/ui/hooks/useCommandCompletion.d.ts +0 -29
  616. package/dist/src/ui/hooks/useCommandCompletion.js +0 -165
  617. package/dist/src/ui/hooks/useCommandCompletion.js.map +0 -1
  618. package/dist/src/ui/hooks/useCompletion.d.ts +0 -24
  619. package/dist/src/ui/hooks/useCompletion.js +0 -88
  620. package/dist/src/ui/hooks/useCompletion.js.map +0 -1
  621. package/dist/src/ui/hooks/useConsoleMessages.d.ts +0 -12
  622. package/dist/src/ui/hooks/useConsoleMessages.js +0 -76
  623. package/dist/src/ui/hooks/useConsoleMessages.js.map +0 -1
  624. package/dist/src/ui/hooks/useEditorSettings.d.ts +0 -16
  625. package/dist/src/ui/hooks/useEditorSettings.js +0 -43
  626. package/dist/src/ui/hooks/useEditorSettings.js.map +0 -1
  627. package/dist/src/ui/hooks/useEditorSettings.test.d.ts +0 -6
  628. package/dist/src/ui/hooks/useEditorSettings.test.js +0 -164
  629. package/dist/src/ui/hooks/useEditorSettings.test.js.map +0 -1
  630. package/dist/src/ui/hooks/useFocus.d.ts +0 -10
  631. package/dist/src/ui/hooks/useFocus.js +0 -41
  632. package/dist/src/ui/hooks/useFocus.js.map +0 -1
  633. package/dist/src/ui/hooks/useFolderTrust.d.ts +0 -12
  634. package/dist/src/ui/hooks/useFolderTrust.js +0 -55
  635. package/dist/src/ui/hooks/useFolderTrust.js.map +0 -1
  636. package/dist/src/ui/hooks/useGeminiStream.d.ts +0 -24
  637. package/dist/src/ui/hooks/useGeminiStream.js +0 -653
  638. package/dist/src/ui/hooks/useGeminiStream.js.map +0 -1
  639. package/dist/src/ui/hooks/useGitBranchName.d.ts +0 -6
  640. package/dist/src/ui/hooks/useGitBranchName.js +0 -61
  641. package/dist/src/ui/hooks/useGitBranchName.js.map +0 -1
  642. package/dist/src/ui/hooks/useGitBranchName.test.d.ts +0 -6
  643. package/dist/src/ui/hooks/useGitBranchName.test.js +0 -215
  644. package/dist/src/ui/hooks/useGitBranchName.test.js.map +0 -1
  645. package/dist/src/ui/hooks/useHistoryManager.d.ts +0 -22
  646. package/dist/src/ui/hooks/useHistoryManager.js +0 -72
  647. package/dist/src/ui/hooks/useHistoryManager.js.map +0 -1
  648. package/dist/src/ui/hooks/useHistoryManager.test.d.ts +0 -6
  649. package/dist/src/ui/hooks/useHistoryManager.test.js +0 -171
  650. package/dist/src/ui/hooks/useHistoryManager.test.js.map +0 -1
  651. package/dist/src/ui/hooks/useInputHistory.d.ts +0 -19
  652. package/dist/src/ui/hooks/useInputHistory.js +0 -84
  653. package/dist/src/ui/hooks/useInputHistory.js.map +0 -1
  654. package/dist/src/ui/hooks/useInputHistory.test.d.ts +0 -6
  655. package/dist/src/ui/hooks/useInputHistory.test.js +0 -207
  656. package/dist/src/ui/hooks/useInputHistory.test.js.map +0 -1
  657. package/dist/src/ui/hooks/useKeypress.d.ts +0 -17
  658. package/dist/src/ui/hooks/useKeypress.js +0 -27
  659. package/dist/src/ui/hooks/useKeypress.js.map +0 -1
  660. package/dist/src/ui/hooks/useKittyKeyboardProtocol.d.ts +0 -15
  661. package/dist/src/ui/hooks/useKittyKeyboardProtocol.js +0 -20
  662. package/dist/src/ui/hooks/useKittyKeyboardProtocol.js.map +0 -1
  663. package/dist/src/ui/hooks/useLoadingIndicator.d.ts +0 -10
  664. package/dist/src/ui/hooks/useLoadingIndicator.js +0 -44
  665. package/dist/src/ui/hooks/useLoadingIndicator.js.map +0 -1
  666. package/dist/src/ui/hooks/useLoadingIndicator.test.d.ts +0 -6
  667. package/dist/src/ui/hooks/useLoadingIndicator.test.js +0 -91
  668. package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +0 -1
  669. package/dist/src/ui/hooks/useLogger.d.ts +0 -10
  670. package/dist/src/ui/hooks/useLogger.js +0 -29
  671. package/dist/src/ui/hooks/useLogger.js.map +0 -1
  672. package/dist/src/ui/hooks/useMessageQueue.d.ts +0 -22
  673. package/dist/src/ui/hooks/useMessageQueue.js +0 -49
  674. package/dist/src/ui/hooks/useMessageQueue.js.map +0 -1
  675. package/dist/src/ui/hooks/useMessageQueue.test.d.ts +0 -6
  676. package/dist/src/ui/hooks/useMessageQueue.test.js +0 -158
  677. package/dist/src/ui/hooks/useMessageQueue.test.js.map +0 -1
  678. package/dist/src/ui/hooks/usePhraseCycler.d.ts +0 -14
  679. package/dist/src/ui/hooks/usePhraseCycler.js +0 -187
  680. package/dist/src/ui/hooks/usePhraseCycler.js.map +0 -1
  681. package/dist/src/ui/hooks/usePrivacySettings.d.ts +0 -16
  682. package/dist/src/ui/hooks/usePrivacySettings.js +0 -119
  683. package/dist/src/ui/hooks/usePrivacySettings.js.map +0 -1
  684. package/dist/src/ui/hooks/usePrivacySettings.test.d.ts +0 -6
  685. package/dist/src/ui/hooks/usePrivacySettings.test.js +0 -154
  686. package/dist/src/ui/hooks/usePrivacySettings.test.js.map +0 -1
  687. package/dist/src/ui/hooks/useReactToolScheduler.d.ts +0 -33
  688. package/dist/src/ui/hooks/useReactToolScheduler.js +0 -187
  689. package/dist/src/ui/hooks/useReactToolScheduler.js.map +0 -1
  690. package/dist/src/ui/hooks/useRefreshMemoryCommand.d.ts +0 -6
  691. package/dist/src/ui/hooks/useRefreshMemoryCommand.js +0 -7
  692. package/dist/src/ui/hooks/useRefreshMemoryCommand.js.map +0 -1
  693. package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +0 -19
  694. package/dist/src/ui/hooks/useReverseSearchCompletion.js +0 -56
  695. package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +0 -1
  696. package/dist/src/ui/hooks/useReverseSearchCompletion.test.d.ts +0 -6
  697. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js +0 -163
  698. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js.map +0 -1
  699. package/dist/src/ui/hooks/useSettingsCommand.d.ts +0 -10
  700. package/dist/src/ui/hooks/useSettingsCommand.js +0 -21
  701. package/dist/src/ui/hooks/useSettingsCommand.js.map +0 -1
  702. package/dist/src/ui/hooks/useShellHistory.d.ts +0 -13
  703. package/dist/src/ui/hooks/useShellHistory.js +0 -112
  704. package/dist/src/ui/hooks/useShellHistory.js.map +0 -1
  705. package/dist/src/ui/hooks/useShellHistory.test.d.ts +0 -6
  706. package/dist/src/ui/hooks/useShellHistory.test.js +0 -162
  707. package/dist/src/ui/hooks/useShellHistory.test.js.map +0 -1
  708. package/dist/src/ui/hooks/useShowMemoryCommand.d.ts +0 -9
  709. package/dist/src/ui/hooks/useShowMemoryCommand.js +0 -58
  710. package/dist/src/ui/hooks/useShowMemoryCommand.js.map +0 -1
  711. package/dist/src/ui/hooks/useSlashCompletion.d.ts +0 -20
  712. package/dist/src/ui/hooks/useSlashCompletion.js +0 -135
  713. package/dist/src/ui/hooks/useSlashCompletion.js.map +0 -1
  714. package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +0 -6
  715. package/dist/src/ui/hooks/useSlashCompletion.test.js +0 -272
  716. package/dist/src/ui/hooks/useSlashCompletion.test.js.map +0 -1
  717. package/dist/src/ui/hooks/useStateAndRef.d.ts +0 -7
  718. package/dist/src/ui/hooks/useStateAndRef.js +0 -26
  719. package/dist/src/ui/hooks/useStateAndRef.js.map +0 -1
  720. package/dist/src/ui/hooks/useTerminalSize.d.ts +0 -9
  721. package/dist/src/ui/hooks/useTerminalSize.js +0 -27
  722. package/dist/src/ui/hooks/useTerminalSize.js.map +0 -1
  723. package/dist/src/ui/hooks/useThemeCommand.d.ts +0 -15
  724. package/dist/src/ui/hooks/useThemeCommand.js +0 -79
  725. package/dist/src/ui/hooks/useThemeCommand.js.map +0 -1
  726. package/dist/src/ui/hooks/useTimer.d.ts +0 -12
  727. package/dist/src/ui/hooks/useTimer.js +0 -58
  728. package/dist/src/ui/hooks/useTimer.js.map +0 -1
  729. package/dist/src/ui/hooks/useTimer.test.d.ts +0 -6
  730. package/dist/src/ui/hooks/useTimer.test.js +0 -90
  731. package/dist/src/ui/hooks/useTimer.test.js.map +0 -1
  732. package/dist/src/ui/hooks/useToolScheduler.test.d.ts +0 -6
  733. package/dist/src/ui/hooks/useToolScheduler.test.js +0 -845
  734. package/dist/src/ui/hooks/useToolScheduler.test.js.map +0 -1
  735. package/dist/src/ui/hooks/useWelcomeBack.d.ts +0 -52
  736. package/dist/src/ui/hooks/useWelcomeBack.js +0 -214
  737. package/dist/src/ui/hooks/useWelcomeBack.js.map +0 -1
  738. package/dist/src/ui/hooks/vim.d.ts +0 -28
  739. package/dist/src/ui/hooks/vim.js +0 -639
  740. package/dist/src/ui/hooks/vim.js.map +0 -1
  741. package/dist/src/ui/keyMatchers.d.ts +0 -26
  742. package/dist/src/ui/keyMatchers.js +0 -68
  743. package/dist/src/ui/keyMatchers.js.map +0 -1
  744. package/dist/src/ui/keyMatchers.test.d.ts +0 -6
  745. package/dist/src/ui/keyMatchers.test.js +0 -276
  746. package/dist/src/ui/keyMatchers.test.js.map +0 -1
  747. package/dist/src/ui/privacy/CloudFreePrivacyNotice.d.ts +0 -12
  748. package/dist/src/ui/privacy/CloudFreePrivacyNotice.js +0 -41
  749. package/dist/src/ui/privacy/CloudFreePrivacyNotice.js.map +0 -1
  750. package/dist/src/ui/privacy/CloudPaidPrivacyNotice.d.ts +0 -10
  751. package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js +0 -18
  752. package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js.map +0 -1
  753. package/dist/src/ui/privacy/GeminiPrivacyNotice.d.ts +0 -10
  754. package/dist/src/ui/privacy/GeminiPrivacyNotice.js +0 -18
  755. package/dist/src/ui/privacy/GeminiPrivacyNotice.js.map +0 -1
  756. package/dist/src/ui/privacy/PrivacyNotice.d.ts +0 -12
  757. package/dist/src/ui/privacy/PrivacyNotice.js +0 -25
  758. package/dist/src/ui/privacy/PrivacyNotice.js.map +0 -1
  759. package/dist/src/ui/semantic-colors.d.ts +0 -7
  760. package/dist/src/ui/semantic-colors.js +0 -24
  761. package/dist/src/ui/semantic-colors.js.map +0 -1
  762. package/dist/src/ui/themes/ansi-light.d.ts +0 -7
  763. package/dist/src/ui/themes/ansi-light.js +0 -142
  764. package/dist/src/ui/themes/ansi-light.js.map +0 -1
  765. package/dist/src/ui/themes/ansi.d.ts +0 -7
  766. package/dist/src/ui/themes/ansi.js +0 -152
  767. package/dist/src/ui/themes/ansi.js.map +0 -1
  768. package/dist/src/ui/themes/atom-one-dark.d.ts +0 -7
  769. package/dist/src/ui/themes/atom-one-dark.js +0 -139
  770. package/dist/src/ui/themes/atom-one-dark.js.map +0 -1
  771. package/dist/src/ui/themes/ayu-light.d.ts +0 -7
  772. package/dist/src/ui/themes/ayu-light.js +0 -131
  773. package/dist/src/ui/themes/ayu-light.js.map +0 -1
  774. package/dist/src/ui/themes/ayu.d.ts +0 -7
  775. package/dist/src/ui/themes/ayu.js +0 -105
  776. package/dist/src/ui/themes/ayu.js.map +0 -1
  777. package/dist/src/ui/themes/color-utils.d.ts +0 -21
  778. package/dist/src/ui/themes/color-utils.js +0 -221
  779. package/dist/src/ui/themes/color-utils.js.map +0 -1
  780. package/dist/src/ui/themes/color-utils.test.d.ts +0 -6
  781. package/dist/src/ui/themes/color-utils.test.js +0 -197
  782. package/dist/src/ui/themes/color-utils.test.js.map +0 -1
  783. package/dist/src/ui/themes/default-light.d.ts +0 -7
  784. package/dist/src/ui/themes/default-light.js +0 -101
  785. package/dist/src/ui/themes/default-light.js.map +0 -1
  786. package/dist/src/ui/themes/default.d.ts +0 -7
  787. package/dist/src/ui/themes/default.js +0 -144
  788. package/dist/src/ui/themes/default.js.map +0 -1
  789. package/dist/src/ui/themes/dracula.d.ts +0 -7
  790. package/dist/src/ui/themes/dracula.js +0 -116
  791. package/dist/src/ui/themes/dracula.js.map +0 -1
  792. package/dist/src/ui/themes/fss-code-dark.d.ts +0 -7
  793. package/dist/src/ui/themes/fss-code-dark.js +0 -148
  794. package/dist/src/ui/themes/fss-code-dark.js.map +0 -1
  795. package/dist/src/ui/themes/fss-dark.d.ts +0 -7
  796. package/dist/src/ui/themes/fss-dark.js +0 -105
  797. package/dist/src/ui/themes/fss-dark.js.map +0 -1
  798. package/dist/src/ui/themes/fss-light.d.ts +0 -7
  799. package/dist/src/ui/themes/fss-light.js +0 -131
  800. package/dist/src/ui/themes/fss-light.js.map +0 -1
  801. package/dist/src/ui/themes/github-dark.d.ts +0 -7
  802. package/dist/src/ui/themes/github-dark.js +0 -139
  803. package/dist/src/ui/themes/github-dark.js.map +0 -1
  804. package/dist/src/ui/themes/github-light.d.ts +0 -7
  805. package/dist/src/ui/themes/github-light.js +0 -141
  806. package/dist/src/ui/themes/github-light.js.map +0 -1
  807. package/dist/src/ui/themes/googlecode.d.ts +0 -7
  808. package/dist/src/ui/themes/googlecode.js +0 -138
  809. package/dist/src/ui/themes/googlecode.js.map +0 -1
  810. package/dist/src/ui/themes/no-color.d.ts +0 -7
  811. package/dist/src/ui/themes/no-color.js +0 -115
  812. package/dist/src/ui/themes/no-color.js.map +0 -1
  813. package/dist/src/ui/themes/qwen-dark.d.ts +0 -7
  814. package/dist/src/ui/themes/qwen-dark.js +0 -109
  815. package/dist/src/ui/themes/qwen-dark.js.map +0 -1
  816. package/dist/src/ui/themes/qwen-light.d.ts +0 -7
  817. package/dist/src/ui/themes/qwen-light.js +0 -135
  818. package/dist/src/ui/themes/qwen-light.js.map +0 -1
  819. package/dist/src/ui/themes/semantic-tokens.d.ts +0 -37
  820. package/dist/src/ui/themes/semantic-tokens.js +0 -94
  821. package/dist/src/ui/themes/semantic-tokens.js.map +0 -1
  822. package/dist/src/ui/themes/shades-of-purple.d.ts +0 -11
  823. package/dist/src/ui/themes/shades-of-purple.js +0 -305
  824. package/dist/src/ui/themes/shades-of-purple.js.map +0 -1
  825. package/dist/src/ui/themes/theme-manager.d.ts +0 -64
  826. package/dist/src/ui/themes/theme-manager.js +0 -209
  827. package/dist/src/ui/themes/theme-manager.js.map +0 -1
  828. package/dist/src/ui/themes/theme-manager.test.d.ts +0 -6
  829. package/dist/src/ui/themes/theme-manager.test.js +0 -83
  830. package/dist/src/ui/themes/theme-manager.test.js.map +0 -1
  831. package/dist/src/ui/themes/theme.d.ts +0 -130
  832. package/dist/src/ui/themes/theme.js +0 -351
  833. package/dist/src/ui/themes/theme.js.map +0 -1
  834. package/dist/src/ui/themes/xcode.d.ts +0 -7
  835. package/dist/src/ui/themes/xcode.js +0 -146
  836. package/dist/src/ui/themes/xcode.js.map +0 -1
  837. package/dist/src/ui/types.d.ts +0 -191
  838. package/dist/src/ui/types.js +0 -44
  839. package/dist/src/ui/types.js.map +0 -1
  840. package/dist/src/ui/utils/CodeColorizer.d.ts +0 -17
  841. package/dist/src/ui/utils/CodeColorizer.js +0 -110
  842. package/dist/src/ui/utils/CodeColorizer.js.map +0 -1
  843. package/dist/src/ui/utils/ConsolePatcher.d.ts +0 -25
  844. package/dist/src/ui/utils/ConsolePatcher.js +0 -52
  845. package/dist/src/ui/utils/ConsolePatcher.js.map +0 -1
  846. package/dist/src/ui/utils/InlineMarkdownRenderer.d.ts +0 -16
  847. package/dist/src/ui/utils/InlineMarkdownRenderer.js +0 -111
  848. package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +0 -1
  849. package/dist/src/ui/utils/MarkdownDisplay.d.ts +0 -14
  850. package/dist/src/ui/utils/MarkdownDisplay.js +0 -207
  851. package/dist/src/ui/utils/MarkdownDisplay.js.map +0 -1
  852. package/dist/src/ui/utils/MarkdownDisplay.test.d.ts +0 -6
  853. package/dist/src/ui/utils/MarkdownDisplay.test.js +0 -151
  854. package/dist/src/ui/utils/MarkdownDisplay.test.js.map +0 -1
  855. package/dist/src/ui/utils/TableRenderer.d.ts +0 -17
  856. package/dist/src/ui/utils/TableRenderer.js +0 -84
  857. package/dist/src/ui/utils/TableRenderer.js.map +0 -1
  858. package/dist/src/ui/utils/clipboardUtils.d.ts +0 -22
  859. package/dist/src/ui/utils/clipboardUtils.js +0 -127
  860. package/dist/src/ui/utils/clipboardUtils.js.map +0 -1
  861. package/dist/src/ui/utils/clipboardUtils.test.d.ts +0 -6
  862. package/dist/src/ui/utils/clipboardUtils.test.js +0 -65
  863. package/dist/src/ui/utils/clipboardUtils.test.js.map +0 -1
  864. package/dist/src/ui/utils/commandUtils.d.ts +0 -24
  865. package/dist/src/ui/utils/commandUtils.js +0 -93
  866. package/dist/src/ui/utils/commandUtils.js.map +0 -1
  867. package/dist/src/ui/utils/commandUtils.test.d.ts +0 -6
  868. package/dist/src/ui/utils/commandUtils.test.js +0 -294
  869. package/dist/src/ui/utils/commandUtils.test.js.map +0 -1
  870. package/dist/src/ui/utils/computeStats.d.ts +0 -10
  871. package/dist/src/ui/utils/computeStats.js +0 -57
  872. package/dist/src/ui/utils/computeStats.js.map +0 -1
  873. package/dist/src/ui/utils/displayUtils.d.ts +0 -17
  874. package/dist/src/ui/utils/displayUtils.js +0 -24
  875. package/dist/src/ui/utils/displayUtils.js.map +0 -1
  876. package/dist/src/ui/utils/displayUtils.test.d.ts +0 -6
  877. package/dist/src/ui/utils/displayUtils.test.js +0 -42
  878. package/dist/src/ui/utils/displayUtils.test.js.map +0 -1
  879. package/dist/src/ui/utils/formatters.d.ts +0 -13
  880. package/dist/src/ui/utils/formatters.js +0 -56
  881. package/dist/src/ui/utils/formatters.js.map +0 -1
  882. package/dist/src/ui/utils/formatters.test.d.ts +0 -6
  883. package/dist/src/ui/utils/formatters.test.js +0 -56
  884. package/dist/src/ui/utils/formatters.test.js.map +0 -1
  885. package/dist/src/ui/utils/isNarrowWidth.d.ts +0 -6
  886. package/dist/src/ui/utils/isNarrowWidth.js +0 -9
  887. package/dist/src/ui/utils/isNarrowWidth.js.map +0 -1
  888. package/dist/src/ui/utils/kittyProtocolDetector.d.ts +0 -13
  889. package/dist/src/ui/utils/kittyProtocolDetector.js +0 -88
  890. package/dist/src/ui/utils/kittyProtocolDetector.js.map +0 -1
  891. package/dist/src/ui/utils/markdownUtilities.d.ts +0 -6
  892. package/dist/src/ui/utils/markdownUtilities.js +0 -110
  893. package/dist/src/ui/utils/markdownUtilities.js.map +0 -1
  894. package/dist/src/ui/utils/markdownUtilities.test.d.ts +0 -6
  895. package/dist/src/ui/utils/markdownUtilities.test.js +0 -42
  896. package/dist/src/ui/utils/markdownUtilities.test.js.map +0 -1
  897. package/dist/src/ui/utils/platformConstants.d.ts +0 -45
  898. package/dist/src/ui/utils/platformConstants.js +0 -46
  899. package/dist/src/ui/utils/platformConstants.js.map +0 -1
  900. package/dist/src/ui/utils/terminalSetup.d.ts +0 -30
  901. package/dist/src/ui/utils/terminalSetup.js +0 -281
  902. package/dist/src/ui/utils/terminalSetup.js.map +0 -1
  903. package/dist/src/ui/utils/textUtils.d.ts +0 -14
  904. package/dist/src/ui/utils/textUtils.js +0 -36
  905. package/dist/src/ui/utils/textUtils.js.map +0 -1
  906. package/dist/src/ui/utils/updateCheck.d.ts +0 -12
  907. package/dist/src/ui/utils/updateCheck.js +0 -78
  908. package/dist/src/ui/utils/updateCheck.js.map +0 -1
  909. package/dist/src/ui/utils/updateCheck.test.d.ts +0 -6
  910. package/dist/src/ui/utils/updateCheck.test.js +0 -145
  911. package/dist/src/ui/utils/updateCheck.test.js.map +0 -1
  912. package/dist/src/utils/checks.d.ts +0 -19
  913. package/dist/src/utils/checks.js +0 -24
  914. package/dist/src/utils/checks.js.map +0 -1
  915. package/dist/src/utils/cleanup.d.ts +0 -8
  916. package/dist/src/utils/cleanup.js +0 -34
  917. package/dist/src/utils/cleanup.js.map +0 -1
  918. package/dist/src/utils/dialogScopeUtils.d.ts +0 -31
  919. package/dist/src/utils/dialogScopeUtils.js +0 -48
  920. package/dist/src/utils/dialogScopeUtils.js.map +0 -1
  921. package/dist/src/utils/events.d.ts +0 -11
  922. package/dist/src/utils/events.js +0 -13
  923. package/dist/src/utils/events.js.map +0 -1
  924. package/dist/src/utils/gitUtils.d.ts +0 -30
  925. package/dist/src/utils/gitUtils.js +0 -89
  926. package/dist/src/utils/gitUtils.js.map +0 -1
  927. package/dist/src/utils/gitUtils.test.d.ts +0 -6
  928. package/dist/src/utils/gitUtils.test.js +0 -113
  929. package/dist/src/utils/gitUtils.test.js.map +0 -1
  930. package/dist/src/utils/handleAutoUpdate.d.ts +0 -11
  931. package/dist/src/utils/handleAutoUpdate.js +0 -101
  932. package/dist/src/utils/handleAutoUpdate.js.map +0 -1
  933. package/dist/src/utils/installationInfo.d.ts +0 -23
  934. package/dist/src/utils/installationInfo.js +0 -169
  935. package/dist/src/utils/installationInfo.js.map +0 -1
  936. package/dist/src/utils/installationInfo.test.d.ts +0 -6
  937. package/dist/src/utils/installationInfo.test.js +0 -242
  938. package/dist/src/utils/installationInfo.test.js.map +0 -1
  939. package/dist/src/utils/package.d.ts +0 -12
  940. package/dist/src/utils/package.js +0 -24
  941. package/dist/src/utils/package.js.map +0 -1
  942. package/dist/src/utils/readStdin.d.ts +0 -6
  943. package/dist/src/utils/readStdin.js +0 -44
  944. package/dist/src/utils/readStdin.js.map +0 -1
  945. package/dist/src/utils/resolvePath.d.ts +0 -6
  946. package/dist/src/utils/resolvePath.js +0 -21
  947. package/dist/src/utils/resolvePath.js.map +0 -1
  948. package/dist/src/utils/sandbox-macos-permissive-closed.sb +0 -32
  949. package/dist/src/utils/sandbox-macos-permissive-open.sb +0 -25
  950. package/dist/src/utils/sandbox-macos-permissive-proxied.sb +0 -37
  951. package/dist/src/utils/sandbox-macos-restrictive-closed.sb +0 -93
  952. package/dist/src/utils/sandbox-macos-restrictive-open.sb +0 -96
  953. package/dist/src/utils/sandbox-macos-restrictive-proxied.sb +0 -98
  954. package/dist/src/utils/sandbox.d.ts +0 -7
  955. package/dist/src/utils/sandbox.js +0 -739
  956. package/dist/src/utils/sandbox.js.map +0 -1
  957. package/dist/src/utils/settingsUtils.d.ts +0 -134
  958. package/dist/src/utils/settingsUtils.js +0 -336
  959. package/dist/src/utils/settingsUtils.js.map +0 -1
  960. package/dist/src/utils/settingsUtils.test.d.ts +0 -6
  961. package/dist/src/utils/settingsUtils.test.js +0 -514
  962. package/dist/src/utils/settingsUtils.test.js.map +0 -1
  963. package/dist/src/utils/spawnWrapper.d.ts +0 -7
  964. package/dist/src/utils/spawnWrapper.js +0 -8
  965. package/dist/src/utils/spawnWrapper.js.map +0 -1
  966. package/dist/src/utils/startupWarnings.d.ts +0 -6
  967. package/dist/src/utils/startupWarnings.js +0 -40
  968. package/dist/src/utils/startupWarnings.js.map +0 -1
  969. package/dist/src/utils/updateEventEmitter.d.ts +0 -11
  970. package/dist/src/utils/updateEventEmitter.js +0 -12
  971. package/dist/src/utils/updateEventEmitter.js.map +0 -1
  972. package/dist/src/utils/userStartupWarnings.d.ts +0 -6
  973. package/dist/src/utils/userStartupWarnings.js +0 -54
  974. package/dist/src/utils/userStartupWarnings.js.map +0 -1
  975. package/dist/src/utils/userStartupWarnings.test.d.ts +0 -6
  976. package/dist/src/utils/userStartupWarnings.test.js +0 -67
  977. package/dist/src/utils/userStartupWarnings.test.js.map +0 -1
  978. package/dist/src/utils/version.d.ts +0 -6
  979. package/dist/src/utils/version.js +0 -11
  980. package/dist/src/utils/version.js.map +0 -1
  981. package/dist/src/validateNonInterActiveAuth.d.ts +0 -7
  982. package/dist/src/validateNonInterActiveAuth.js +0 -51
  983. package/dist/src/validateNonInterActiveAuth.js.map +0 -1
  984. package/dist/src/zed-integration/acp.d.ts +0 -63
  985. package/dist/src/zed-integration/acp.js +0 -225
  986. package/dist/src/zed-integration/acp.js.map +0 -1
  987. package/dist/src/zed-integration/fileSystemService.d.ts +0 -19
  988. package/dist/src/zed-integration/fileSystemService.js +0 -43
  989. package/dist/src/zed-integration/fileSystemService.js.map +0 -1
  990. package/dist/src/zed-integration/schema.d.ts +0 -11782
  991. package/dist/src/zed-integration/schema.js +0 -311
  992. package/dist/src/zed-integration/schema.js.map +0 -1
  993. package/dist/src/zed-integration/zedIntegration.d.ts +0 -10
  994. package/dist/src/zed-integration/zedIntegration.js +0 -765
  995. package/dist/src/zed-integration/zedIntegration.js.map +0 -1
@@ -1,687 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- /**
3
- * @license
4
- * Copyright 2025 Google LLC
5
- * SPDX-License-Identifier: Apache-2.0
6
- */
7
- import { useCallback, useEffect, useMemo, useState, useRef } from 'react';
8
- import { Box, measureElement, Static, Text, useStdin, useStdout, } from 'ink';
9
- import { StreamingState, MessageType } from './types.js';
10
- import { useTerminalSize } from './hooks/useTerminalSize.js';
11
- import { useGeminiStream } from './hooks/useGeminiStream.js';
12
- import { useLoadingIndicator } from './hooks/useLoadingIndicator.js';
13
- import { useThemeCommand } from './hooks/useThemeCommand.js';
14
- import { useAuthCommand } from './hooks/useAuthCommand.js';
15
- import { useWelcomeBack } from './hooks/useWelcomeBack.js';
16
- import { useFolderTrust } from './hooks/useFolderTrust.js';
17
- import { useEditorSettings } from './hooks/useEditorSettings.js';
18
- import { useSlashCommandProcessor } from './hooks/slashCommandProcessor.js';
19
- import { useAutoAcceptIndicator } from './hooks/useAutoAcceptIndicator.js';
20
- import { useMessageQueue } from './hooks/useMessageQueue.js';
21
- import { useConsoleMessages } from './hooks/useConsoleMessages.js';
22
- import { Header } from './components/Header.js';
23
- import { LoadingIndicator } from './components/LoadingIndicator.js';
24
- import { AutoAcceptIndicator } from './components/AutoAcceptIndicator.js';
25
- import { ShellModeIndicator } from './components/ShellModeIndicator.js';
26
- import { InputPrompt } from './components/InputPrompt.js';
27
- import { Footer } from './components/Footer.js';
28
- import { ThemeDialog } from './components/ThemeDialog.js';
29
- import { AuthDialog } from './components/AuthDialog.js';
30
- import { WelcomeBackDialog } from './components/WelcomeBackDialog.js';
31
- import { SearchEngineConfigDialog } from './components/SearchEngineConfigDialog.js';
32
- import { AuthInProgress } from './components/AuthInProgress.js';
33
- import { EditorSettingsDialog } from './components/EditorSettingsDialog.js';
34
- import { FolderTrustDialog } from './components/FolderTrustDialog.js';
35
- import { ShellConfirmationDialog } from './components/ShellConfirmationDialog.js';
36
- import { RadioButtonSelect } from './components/shared/RadioButtonSelect.js';
37
- import { Colors } from './colors.js';
38
- import { loadHierarchicalGeminiMemory } from '../config/config.js';
39
- import { SettingScope } from '../config/settings.js';
40
- import { Tips } from './components/Tips.js';
41
- import { ConsolePatcher } from './utils/ConsolePatcher.js';
42
- import { registerCleanup } from '../utils/cleanup.js';
43
- import { DetailedMessagesDisplay } from './components/DetailedMessagesDisplay.js';
44
- import { HistoryItemDisplay } from './components/HistoryItemDisplay.js';
45
- import { ContextSummaryDisplay } from './components/ContextSummaryDisplay.js';
46
- import { useHistory } from './hooks/useHistoryManager.js';
47
- import process from 'node:process';
48
- import { getErrorMessage, getAllGeminiMdFilenames, ApprovalMode, isEditorAvailable, FlashFallbackEvent, logFlashFallback, AuthType, ideContext, } from 'fss-link-core';
49
- import { IdeIntegrationNudge, } from './IdeIntegrationNudge.js';
50
- import { validateAuthMethod } from '../config/auth.js';
51
- import { useLogger } from './hooks/useLogger.js';
52
- import { StreamingContext } from './contexts/StreamingContext.js';
53
- import { SessionStatsProvider, useSessionStats, } from './contexts/SessionContext.js';
54
- import { useGitBranchName } from './hooks/useGitBranchName.js';
55
- import { useFocus } from './hooks/useFocus.js';
56
- import { useBracketedPaste } from './hooks/useBracketedPaste.js';
57
- import { useTextBuffer } from './components/shared/text-buffer.js';
58
- import { useVimMode, VimModeProvider } from './contexts/VimModeContext.js';
59
- import { useVim } from './hooks/vim.js';
60
- import { useKeypress } from './hooks/useKeypress.js';
61
- import { KeypressProvider } from './contexts/KeypressContext.js';
62
- import { useKittyKeyboardProtocol } from './hooks/useKittyKeyboardProtocol.js';
63
- import { keyMatchers, Command } from './keyMatchers.js';
64
- import * as fs from 'fs';
65
- import { UpdateNotification } from './components/UpdateNotification.js';
66
- import { isProQuotaExceededError, isGenericQuotaExceededError, UserTierId, } from 'fss-link-core';
67
- import ansiEscapes from 'ansi-escapes';
68
- import { SearchEngineConfigProvider } from '../services/SearchEngineConfigProvider.js';
69
- import { OverflowProvider } from './contexts/OverflowContext.js';
70
- import { ShowMoreLines } from './components/ShowMoreLines.js';
71
- import { PrivacyNotice } from './privacy/PrivacyNotice.js';
72
- import { useSettingsCommand } from './hooks/useSettingsCommand.js';
73
- import { SettingsDialog } from './components/SettingsDialog.js';
74
- import { setUpdateHandler } from '../utils/handleAutoUpdate.js';
75
- import { appEvents, AppEvent } from '../utils/events.js';
76
- import { isNarrowWidth } from './utils/isNarrowWidth.js';
77
- const CTRL_EXIT_PROMPT_DURATION_MS = 1000;
78
- // Maximum number of queued messages to display in UI to prevent performance issues
79
- const MAX_DISPLAYED_QUEUED_MESSAGES = 3;
80
- export const AppWrapper = (props) => {
81
- const kittyProtocolStatus = useKittyKeyboardProtocol();
82
- return (_jsx(KeypressProvider, { kittyProtocolEnabled: kittyProtocolStatus.enabled, config: props.config, children: _jsx(SessionStatsProvider, { children: _jsx(VimModeProvider, { settings: props.settings, children: _jsx(App, { ...props }) }) }) }));
83
- };
84
- const App = ({ config, settings, startupWarnings = [], version }) => {
85
- const isFocused = useFocus();
86
- useBracketedPaste();
87
- const [updateInfo, setUpdateInfo] = useState(null);
88
- const { stdout } = useStdout();
89
- const nightly = version.includes('nightly');
90
- const { history, addItem, clearItems, loadHistory } = useHistory();
91
- const [idePromptAnswered, setIdePromptAnswered] = useState(false);
92
- const currentIDE = config.getIdeClient().getCurrentIde();
93
- useEffect(() => {
94
- registerCleanup(() => config.getIdeClient().disconnect());
95
- }, [config]);
96
- const shouldShowIdePrompt = currentIDE &&
97
- !config.getIdeMode() &&
98
- !settings.merged.hasSeenIdeIntegrationNudge &&
99
- !idePromptAnswered;
100
- useEffect(() => {
101
- const cleanup = setUpdateHandler(addItem, setUpdateInfo);
102
- return cleanup;
103
- }, [addItem]);
104
- const { consoleMessages, handleNewMessage, clearConsoleMessages: clearConsoleMessagesState, } = useConsoleMessages();
105
- useEffect(() => {
106
- const consolePatcher = new ConsolePatcher({
107
- onNewMessage: handleNewMessage,
108
- debugMode: config.getDebugMode(),
109
- });
110
- consolePatcher.patch();
111
- registerCleanup(consolePatcher.cleanup);
112
- }, [handleNewMessage, config]);
113
- const { stats: sessionStats } = useSessionStats();
114
- const [staticNeedsRefresh, setStaticNeedsRefresh] = useState(false);
115
- const [staticKey, setStaticKey] = useState(0);
116
- const refreshStatic = useCallback(() => {
117
- stdout.write(ansiEscapes.clearTerminal);
118
- setStaticKey((prev) => prev + 1);
119
- }, [setStaticKey, stdout]);
120
- const [geminiMdFileCount, setGeminiMdFileCount] = useState(0);
121
- const [debugMessage, setDebugMessage] = useState('');
122
- const [themeError, setThemeError] = useState(null);
123
- const [authError, setAuthError] = useState(null);
124
- const [editorError, setEditorError] = useState(null);
125
- const [isSearchDialogOpen, setIsSearchDialogOpen] = useState(false);
126
- const [footerHeight, setFooterHeight] = useState(0);
127
- // Initialize search engine configuration from database
128
- useEffect(() => {
129
- const initializeSearchEngineConfig = async () => {
130
- const configProvider = SearchEngineConfigProvider.getInstance();
131
- await configProvider.loadConfiguration();
132
- };
133
- initializeSearchEngineConfig();
134
- }, []);
135
- const [corgiMode, setCorgiMode] = useState(false);
136
- const [isTrustedFolderState, setIsTrustedFolder] = useState(config.isTrustedFolder());
137
- const [currentModel, setCurrentModel] = useState(config.getModel());
138
- const [shellModeActive, setShellModeActive] = useState(false);
139
- const [showErrorDetails, setShowErrorDetails] = useState(false);
140
- const [showToolDescriptions, setShowToolDescriptions] = useState(false);
141
- const [ctrlCPressedOnce, setCtrlCPressedOnce] = useState(false);
142
- const [quittingMessages, setQuittingMessages] = useState(null);
143
- const ctrlCTimerRef = useRef(null);
144
- const [ctrlDPressedOnce, setCtrlDPressedOnce] = useState(false);
145
- const ctrlDTimerRef = useRef(null);
146
- const [constrainHeight, setConstrainHeight] = useState(true);
147
- const [showPrivacyNotice, setShowPrivacyNotice] = useState(false);
148
- const [modelSwitchedFromQuotaError, setModelSwitchedFromQuotaError] = useState(false);
149
- const [userTier, setUserTier] = useState(undefined);
150
- const [ideContextState, setIdeContextState] = useState();
151
- const [showEscapePrompt, setShowEscapePrompt] = useState(false);
152
- const [isProcessing, setIsProcessing] = useState(false);
153
- useEffect(() => {
154
- const unsubscribe = ideContext.subscribeToIdeContext(setIdeContextState);
155
- // Set the initial value
156
- setIdeContextState(ideContext.getIdeContext());
157
- return unsubscribe;
158
- }, []);
159
- useEffect(() => {
160
- const openDebugConsole = () => {
161
- setShowErrorDetails(true);
162
- setConstrainHeight(false); // Make sure the user sees the full message.
163
- };
164
- appEvents.on(AppEvent.OpenDebugConsole, openDebugConsole);
165
- const logErrorHandler = (errorMessage) => {
166
- handleNewMessage({
167
- type: 'error',
168
- content: String(errorMessage),
169
- count: 1,
170
- });
171
- };
172
- appEvents.on(AppEvent.LogError, logErrorHandler);
173
- return () => {
174
- appEvents.off(AppEvent.OpenDebugConsole, openDebugConsole);
175
- appEvents.off(AppEvent.LogError, logErrorHandler);
176
- };
177
- }, [handleNewMessage]);
178
- const openPrivacyNotice = useCallback(() => {
179
- setShowPrivacyNotice(true);
180
- }, []);
181
- const handleEscapePromptChange = useCallback((showPrompt) => {
182
- setShowEscapePrompt(showPrompt);
183
- }, []);
184
- const initialPromptSubmitted = useRef(false);
185
- const errorCount = useMemo(() => consoleMessages
186
- .filter((msg) => msg.type === 'error')
187
- .reduce((total, msg) => total + msg.count, 0), [consoleMessages]);
188
- const { isThemeDialogOpen, openThemeDialog, handleThemeSelect, handleThemeHighlight, } = useThemeCommand(settings, setThemeError, addItem);
189
- const { isSettingsDialogOpen, openSettingsDialog, closeSettingsDialog } = useSettingsCommand();
190
- const { isFolderTrustDialogOpen, handleFolderTrustSelect } = useFolderTrust(settings, setIsTrustedFolder);
191
- const { isAuthDialogOpen, openAuthDialog, handleAuthSelect, isAuthenticating, cancelAuthentication, } = useAuthCommand(settings, setAuthError, config);
192
- const { shouldShow: shouldShowWelcomeBack, projectSummary, contextToPopulate, handleContinue: handleWelcomeBackContinue, handleRestart: handleWelcomeBackRestart, handleCancel: handleWelcomeBackCancel, } = useWelcomeBack(settings);
193
- useEffect(() => {
194
- if (settings.merged.selectedAuthType && !settings.merged.useExternalAuth) {
195
- const error = validateAuthMethod(settings.merged.selectedAuthType);
196
- if (error) {
197
- setAuthError(error);
198
- openAuthDialog();
199
- }
200
- }
201
- }, [
202
- settings.merged.selectedAuthType,
203
- settings.merged.useExternalAuth,
204
- openAuthDialog,
205
- setAuthError,
206
- ]);
207
- // Sync user tier from config when authentication changes
208
- useEffect(() => {
209
- // Only sync when not currently authenticating
210
- if (!isAuthenticating) {
211
- setUserTier(config.getGeminiClient()?.getUserTier());
212
- }
213
- }, [config, isAuthenticating]);
214
- const { isEditorDialogOpen, openEditorDialog, handleEditorSelect, exitEditorDialog, } = useEditorSettings(settings, setEditorError, addItem);
215
- const toggleCorgiMode = useCallback(() => {
216
- setCorgiMode((prev) => !prev);
217
- }, []);
218
- const openSearchDialog = useCallback(() => {
219
- setIsSearchDialogOpen(true);
220
- }, []);
221
- const performMemoryRefresh = useCallback(async () => {
222
- addItem({
223
- type: MessageType.INFO,
224
- text: 'Refreshing hierarchical memory (LINK.md or other context files)...',
225
- }, Date.now());
226
- try {
227
- const { memoryContent, fileCount } = await loadHierarchicalGeminiMemory(process.cwd(), settings.merged.loadMemoryFromIncludeDirectories
228
- ? config.getWorkspaceContext().getDirectories()
229
- : [], config.getDebugMode(), config.getFileService(), settings.merged, config.getExtensionContextFilePaths(), settings.merged.memoryImportFormat || 'tree', // Use setting or default to 'tree'
230
- config.getFileFilteringOptions());
231
- config.setUserMemory(memoryContent);
232
- config.setGeminiMdFileCount(fileCount);
233
- setGeminiMdFileCount(fileCount);
234
- addItem({
235
- type: MessageType.INFO,
236
- text: `Memory refreshed successfully. ${memoryContent.length > 0 ? `Loaded ${memoryContent.length} characters from ${fileCount} file(s).` : 'No memory content found.'}`,
237
- }, Date.now());
238
- if (config.getDebugMode()) {
239
- console.log(`[DEBUG] Refreshed memory content in config: ${memoryContent.substring(0, 200)}...`);
240
- }
241
- }
242
- catch (error) {
243
- const errorMessage = getErrorMessage(error);
244
- addItem({
245
- type: MessageType.ERROR,
246
- text: `Error refreshing memory: ${errorMessage}`,
247
- }, Date.now());
248
- console.error('Error refreshing memory:', error);
249
- }
250
- }, [config, addItem, settings.merged]);
251
- // Watch for model changes (e.g., from Flash fallback)
252
- useEffect(() => {
253
- const checkModelChange = () => {
254
- const configModel = config.getModel();
255
- if (configModel !== currentModel) {
256
- setCurrentModel(configModel);
257
- }
258
- };
259
- // Check immediately and then periodically
260
- checkModelChange();
261
- const interval = setInterval(checkModelChange, 1000); // Check every second
262
- return () => clearInterval(interval);
263
- }, [config, currentModel]);
264
- // Set up Flash fallback handler
265
- useEffect(() => {
266
- const flashFallbackHandler = async (currentModel, fallbackModel, error) => {
267
- let message;
268
- if (config.getContentGeneratorConfig().authType ===
269
- AuthType.LOGIN_WITH_GOOGLE) {
270
- // Use actual user tier if available; otherwise, default to FREE tier behavior (safe default)
271
- const isPaidTier = userTier === UserTierId.LEGACY || userTier === UserTierId.STANDARD;
272
- // Check if this is a Pro quota exceeded error
273
- if (error && isProQuotaExceededError(error)) {
274
- if (isPaidTier) {
275
- message = `⚡ You have reached your daily ${currentModel} quota limit.
276
- ⚡ Automatically switching from ${currentModel} to ${fallbackModel} for the remainder of this session.
277
- ⚡ To continue accessing the ${currentModel} model today, consider using /auth to switch to using a paid API key from AI Studio at https://aistudio.google.com/apikey`;
278
- }
279
- else {
280
- message = `⚡ You have reached your daily ${currentModel} quota limit.
281
- ⚡ Automatically switching from ${currentModel} to ${fallbackModel} for the remainder of this session.
282
- ⚡ To increase your limits, upgrade to a Gemini Code Assist Standard or Enterprise plan with higher limits at https://goo.gle/set-up-gemini-code-assist
283
- ⚡ Or you can utilize a Gemini API Key. See: https://goo.gle/gemini-cli-docs-auth#gemini-api-key
284
- ⚡ You can switch authentication methods by typing /auth`;
285
- }
286
- }
287
- else if (error && isGenericQuotaExceededError(error)) {
288
- if (isPaidTier) {
289
- message = `⚡ You have reached your daily quota limit.
290
- ⚡ Automatically switching from ${currentModel} to ${fallbackModel} for the remainder of this session.
291
- ⚡ To continue accessing the ${currentModel} model today, consider using /auth to switch to using a paid API key from AI Studio at https://aistudio.google.com/apikey`;
292
- }
293
- else {
294
- message = `⚡ You have reached your daily quota limit.
295
- ⚡ Automatically switching from ${currentModel} to ${fallbackModel} for the remainder of this session.
296
- ⚡ To increase your limits, upgrade to a Gemini Code Assist Standard or Enterprise plan with higher limits at https://goo.gle/set-up-gemini-code-assist
297
- ⚡ Or you can utilize a Gemini API Key. See: https://goo.gle/gemini-cli-docs-auth#gemini-api-key
298
- ⚡ You can switch authentication methods by typing /auth`;
299
- }
300
- }
301
- else {
302
- if (isPaidTier) {
303
- // Default fallback message for other cases (like consecutive 429s)
304
- message = `⚡ Automatically switching from ${currentModel} to ${fallbackModel} for faster responses for the remainder of this session.
305
- ⚡ Possible reasons for this are that you have received multiple consecutive capacity errors or you have reached your daily ${currentModel} quota limit
306
- ⚡ To continue accessing the ${currentModel} model today, consider using /auth to switch to using a paid API key from AI Studio at https://aistudio.google.com/apikey`;
307
- }
308
- else {
309
- // Default fallback message for other cases (like consecutive 429s)
310
- message = `⚡ Automatically switching from ${currentModel} to ${fallbackModel} for faster responses for the remainder of this session.
311
- ⚡ Possible reasons for this are that you have received multiple consecutive capacity errors or you have reached your daily ${currentModel} quota limit
312
- ⚡ To increase your limits, upgrade to a Gemini Code Assist Standard or Enterprise plan with higher limits at https://goo.gle/set-up-gemini-code-assist
313
- ⚡ Or you can utilize a Gemini API Key. See: https://goo.gle/gemini-cli-docs-auth#gemini-api-key
314
- ⚡ You can switch authentication methods by typing /auth`;
315
- }
316
- }
317
- // Add message to UI history
318
- addItem({
319
- type: MessageType.INFO,
320
- text: message,
321
- }, Date.now());
322
- // Set the flag to prevent tool continuation
323
- setModelSwitchedFromQuotaError(true);
324
- // Set global quota error flag to prevent Flash model calls
325
- config.setQuotaErrorOccurred(true);
326
- }
327
- // Switch model for future use but return false to stop current retry
328
- config.setModel(fallbackModel);
329
- config.setFallbackMode(true);
330
- logFlashFallback(config, new FlashFallbackEvent(config.getContentGeneratorConfig().authType));
331
- return false; // Don't continue with current prompt
332
- };
333
- config.setFlashFallbackHandler(flashFallbackHandler);
334
- }, [config, addItem, userTier]);
335
- // Terminal and UI setup
336
- const { rows: terminalHeight, columns: terminalWidth } = useTerminalSize();
337
- const isNarrow = isNarrowWidth(terminalWidth);
338
- const { stdin, setRawMode } = useStdin();
339
- const isInitialMount = useRef(true);
340
- const widthFraction = 0.9;
341
- const inputWidth = Math.max(20, Math.floor(terminalWidth * widthFraction) - 3);
342
- const suggestionsWidth = Math.max(20, Math.floor(terminalWidth * 0.8));
343
- // Utility callbacks
344
- const isValidPath = useCallback((filePath) => {
345
- try {
346
- return fs.existsSync(filePath) && fs.statSync(filePath).isFile();
347
- }
348
- catch (_e) {
349
- return false;
350
- }
351
- }, []);
352
- const getPreferredEditor = useCallback(() => {
353
- const editorType = settings.merged.preferredEditor;
354
- const isValidEditor = isEditorAvailable(editorType);
355
- if (!isValidEditor) {
356
- openEditorDialog();
357
- return;
358
- }
359
- return editorType;
360
- }, [settings, openEditorDialog]);
361
- const onAuthError = useCallback(() => {
362
- setAuthError('reauth required');
363
- openAuthDialog();
364
- }, [openAuthDialog, setAuthError]);
365
- // Core hooks and processors
366
- const { vimEnabled: vimModeEnabled, vimMode, toggleVimEnabled, } = useVimMode();
367
- const { handleSlashCommand, slashCommands, pendingHistoryItems: pendingSlashCommandHistoryItems, commandContext, shellConfirmationRequest, confirmationRequest, } = useSlashCommandProcessor(config, settings, addItem, clearItems, loadHistory, refreshStatic, setDebugMessage, openThemeDialog, openAuthDialog, openEditorDialog, openSearchDialog, toggleCorgiMode, setQuittingMessages, openPrivacyNotice, openSettingsDialog, toggleVimEnabled, setIsProcessing, setGeminiMdFileCount);
368
- const buffer = useTextBuffer({
369
- initialText: '',
370
- viewport: { height: 10, width: inputWidth },
371
- stdin,
372
- setRawMode,
373
- isValidPath,
374
- shellModeActive,
375
- });
376
- const [userMessages, setUserMessages] = useState([]);
377
- // Stable reference for cancel handler to avoid circular dependency
378
- const cancelHandlerRef = useRef(() => { });
379
- const { streamingState, submitQuery, initError, pendingHistoryItems: pendingGeminiHistoryItems, thought, cancelOngoingRequest, } = useGeminiStream(config.getGeminiClient(), history, addItem, config, setDebugMessage, handleSlashCommand, shellModeActive, getPreferredEditor, onAuthError, performMemoryRefresh, modelSwitchedFromQuotaError, setModelSwitchedFromQuotaError, refreshStatic, () => cancelHandlerRef.current());
380
- // Handle Welcome Back context population
381
- useEffect(() => {
382
- if (contextToPopulate && !initialPromptSubmitted.current) {
383
- submitQuery(contextToPopulate);
384
- initialPromptSubmitted.current = true;
385
- }
386
- }, [contextToPopulate, submitQuery]);
387
- // Message queue for handling input during streaming
388
- const { messageQueue, addMessage, clearQueue, getQueuedMessagesText } = useMessageQueue({
389
- streamingState,
390
- submitQuery,
391
- });
392
- // Update the cancel handler with message queue support
393
- cancelHandlerRef.current = useCallback(() => {
394
- const lastUserMessage = userMessages.at(-1);
395
- let textToSet = lastUserMessage || '';
396
- // Append queued messages if any exist
397
- const queuedText = getQueuedMessagesText();
398
- if (queuedText) {
399
- textToSet = textToSet ? `${textToSet}\n\n${queuedText}` : queuedText;
400
- clearQueue();
401
- }
402
- if (textToSet) {
403
- buffer.setText(textToSet);
404
- }
405
- }, [buffer, userMessages, getQueuedMessagesText, clearQueue]);
406
- // Input handling - queue messages for processing
407
- const handleFinalSubmit = useCallback((submittedValue) => {
408
- addMessage(submittedValue);
409
- }, [addMessage]);
410
- const handleIdePromptComplete = useCallback((result) => {
411
- if (result.userSelection === 'yes') {
412
- if (result.isExtensionPreInstalled) {
413
- handleSlashCommand('/ide enable');
414
- }
415
- else {
416
- handleSlashCommand('/ide install');
417
- }
418
- settings.setValue(SettingScope.User, 'hasSeenIdeIntegrationNudge', true);
419
- }
420
- else if (result.userSelection === 'dismiss') {
421
- settings.setValue(SettingScope.User, 'hasSeenIdeIntegrationNudge', true);
422
- }
423
- setIdePromptAnswered(true);
424
- }, [handleSlashCommand, settings]);
425
- const { handleInput: vimHandleInput } = useVim(buffer, handleFinalSubmit);
426
- const pendingHistoryItems = [...pendingSlashCommandHistoryItems];
427
- pendingHistoryItems.push(...pendingGeminiHistoryItems);
428
- const { elapsedTime, currentLoadingPhrase } = useLoadingIndicator(streamingState);
429
- const showAutoAcceptIndicator = useAutoAcceptIndicator({ config });
430
- const handleExit = useCallback((pressedOnce, setPressedOnce, timerRef) => {
431
- if (pressedOnce) {
432
- if (timerRef.current) {
433
- clearTimeout(timerRef.current);
434
- }
435
- // Directly invoke the central command handler.
436
- handleSlashCommand('/quit');
437
- }
438
- else {
439
- setPressedOnce(true);
440
- timerRef.current = setTimeout(() => {
441
- setPressedOnce(false);
442
- timerRef.current = null;
443
- }, CTRL_EXIT_PROMPT_DURATION_MS);
444
- }
445
- }, [handleSlashCommand]);
446
- const handleGlobalKeypress = useCallback((key) => {
447
- let enteringConstrainHeightMode = false;
448
- if (!constrainHeight) {
449
- enteringConstrainHeightMode = true;
450
- setConstrainHeight(true);
451
- }
452
- if (keyMatchers[Command.SHOW_ERROR_DETAILS](key)) {
453
- setShowErrorDetails((prev) => !prev);
454
- }
455
- else if (keyMatchers[Command.TOGGLE_TOOL_DESCRIPTIONS](key)) {
456
- const newValue = !showToolDescriptions;
457
- setShowToolDescriptions(newValue);
458
- const mcpServers = config.getMcpServers();
459
- if (Object.keys(mcpServers || {}).length > 0) {
460
- handleSlashCommand(newValue ? '/mcp desc' : '/mcp nodesc');
461
- }
462
- }
463
- else if (keyMatchers[Command.TOGGLE_IDE_CONTEXT_DETAIL](key) &&
464
- config.getIdeMode() &&
465
- ideContextState) {
466
- // Show IDE status when in IDE mode and context is available.
467
- handleSlashCommand('/ide status');
468
- }
469
- else if (keyMatchers[Command.QUIT](key)) {
470
- // When authenticating, let AuthInProgress component handle Ctrl+C.
471
- if (isAuthenticating) {
472
- return;
473
- }
474
- if (!ctrlCPressedOnce) {
475
- cancelOngoingRequest?.();
476
- }
477
- handleExit(ctrlCPressedOnce, setCtrlCPressedOnce, ctrlCTimerRef);
478
- }
479
- else if (keyMatchers[Command.EXIT](key)) {
480
- if (buffer.text.length > 0) {
481
- return;
482
- }
483
- handleExit(ctrlDPressedOnce, setCtrlDPressedOnce, ctrlDTimerRef);
484
- }
485
- else if (keyMatchers[Command.SHOW_MORE_LINES](key) &&
486
- !enteringConstrainHeightMode) {
487
- setConstrainHeight(false);
488
- }
489
- }, [
490
- constrainHeight,
491
- setConstrainHeight,
492
- setShowErrorDetails,
493
- showToolDescriptions,
494
- setShowToolDescriptions,
495
- config,
496
- ideContextState,
497
- handleExit,
498
- ctrlCPressedOnce,
499
- setCtrlCPressedOnce,
500
- ctrlCTimerRef,
501
- buffer.text.length,
502
- ctrlDPressedOnce,
503
- setCtrlDPressedOnce,
504
- ctrlDTimerRef,
505
- handleSlashCommand,
506
- isAuthenticating,
507
- cancelOngoingRequest,
508
- ]);
509
- useKeypress(handleGlobalKeypress, {
510
- isActive: true,
511
- });
512
- useEffect(() => {
513
- if (config) {
514
- setGeminiMdFileCount(config.getGeminiMdFileCount());
515
- }
516
- }, [config, config.getGeminiMdFileCount]);
517
- const logger = useLogger();
518
- useEffect(() => {
519
- const fetchUserMessages = async () => {
520
- const pastMessagesRaw = (await logger?.getPreviousUserMessages()) || []; // Newest first
521
- const currentSessionUserMessages = history
522
- .filter((item) => item.type === 'user' &&
523
- typeof item.text === 'string' &&
524
- item.text.trim() !== '')
525
- .map((item) => item.text)
526
- .reverse(); // Newest first, to match pastMessagesRaw sorting
527
- // Combine, with current session messages being more recent
528
- const combinedMessages = [
529
- ...currentSessionUserMessages,
530
- ...pastMessagesRaw,
531
- ];
532
- // Deduplicate consecutive identical messages from the combined list (still newest first)
533
- const deduplicatedMessages = [];
534
- if (combinedMessages.length > 0) {
535
- deduplicatedMessages.push(combinedMessages[0]); // Add the newest one unconditionally
536
- for (let i = 1; i < combinedMessages.length; i++) {
537
- if (combinedMessages[i] !== combinedMessages[i - 1]) {
538
- deduplicatedMessages.push(combinedMessages[i]);
539
- }
540
- }
541
- }
542
- // Reverse to oldest first for useInputHistory
543
- setUserMessages(deduplicatedMessages.reverse());
544
- };
545
- fetchUserMessages();
546
- }, [history, logger]);
547
- const isInputActive = (streamingState === StreamingState.Idle ||
548
- streamingState === StreamingState.Responding) &&
549
- !initError &&
550
- !isProcessing;
551
- const handleClearScreen = useCallback(() => {
552
- clearItems();
553
- clearConsoleMessagesState();
554
- console.clear();
555
- refreshStatic();
556
- }, [clearItems, clearConsoleMessagesState, refreshStatic]);
557
- const mainControlsRef = useRef(null);
558
- const pendingHistoryItemRef = useRef(null);
559
- useEffect(() => {
560
- if (mainControlsRef.current) {
561
- const fullFooterMeasurement = measureElement(mainControlsRef.current);
562
- setFooterHeight(fullFooterMeasurement.height);
563
- }
564
- }, [terminalHeight, consoleMessages, showErrorDetails]);
565
- const staticExtraHeight = /* margins and padding */ 3;
566
- const availableTerminalHeight = useMemo(() => terminalHeight - footerHeight - staticExtraHeight, [terminalHeight, footerHeight]);
567
- useEffect(() => {
568
- // skip refreshing Static during first mount
569
- if (isInitialMount.current) {
570
- isInitialMount.current = false;
571
- return;
572
- }
573
- // debounce so it doesn't fire up too often during resize
574
- const handler = setTimeout(() => {
575
- setStaticNeedsRefresh(false);
576
- refreshStatic();
577
- }, 300);
578
- return () => {
579
- clearTimeout(handler);
580
- };
581
- }, [terminalWidth, terminalHeight, refreshStatic]);
582
- useEffect(() => {
583
- if (streamingState === StreamingState.Idle && staticNeedsRefresh) {
584
- setStaticNeedsRefresh(false);
585
- refreshStatic();
586
- }
587
- }, [streamingState, refreshStatic, staticNeedsRefresh]);
588
- const filteredConsoleMessages = useMemo(() => {
589
- if (config.getDebugMode()) {
590
- return consoleMessages;
591
- }
592
- return consoleMessages.filter((msg) => msg.type !== 'debug');
593
- }, [consoleMessages, config]);
594
- const branchName = useGitBranchName(config.getTargetDir());
595
- const contextFileNames = useMemo(() => {
596
- const fromSettings = settings.merged.contextFileName;
597
- if (fromSettings) {
598
- return Array.isArray(fromSettings) ? fromSettings : [fromSettings];
599
- }
600
- return getAllGeminiMdFilenames();
601
- }, [settings.merged.contextFileName]);
602
- const initialPrompt = useMemo(() => config.getQuestion(), [config]);
603
- const geminiClient = config.getGeminiClient();
604
- useEffect(() => {
605
- if (initialPrompt &&
606
- !initialPromptSubmitted.current &&
607
- !isAuthenticating &&
608
- !isAuthDialogOpen &&
609
- !shouldShowWelcomeBack &&
610
- !isThemeDialogOpen &&
611
- !isEditorDialogOpen &&
612
- !isSearchDialogOpen &&
613
- !showPrivacyNotice &&
614
- geminiClient?.isInitialized?.()) {
615
- submitQuery(initialPrompt);
616
- initialPromptSubmitted.current = true;
617
- }
618
- }, [
619
- initialPrompt,
620
- submitQuery,
621
- isAuthenticating,
622
- isAuthDialogOpen,
623
- shouldShowWelcomeBack,
624
- isThemeDialogOpen,
625
- isEditorDialogOpen,
626
- isSearchDialogOpen,
627
- showPrivacyNotice,
628
- geminiClient,
629
- ]);
630
- if (quittingMessages) {
631
- return (_jsx(Box, { flexDirection: "column", marginBottom: 1, children: quittingMessages.map((item) => (_jsx(HistoryItemDisplay, { availableTerminalHeight: constrainHeight ? availableTerminalHeight : undefined, terminalWidth: terminalWidth, item: item, isPending: false, config: config }, item.id))) }));
632
- }
633
- const mainAreaWidth = Math.floor(terminalWidth * 0.9);
634
- const debugConsoleMaxHeight = Math.floor(Math.max(terminalHeight * 0.2, 5));
635
- // Arbitrary threshold to ensure that items in the static area are large
636
- // enough but not too large to make the terminal hard to use.
637
- const staticAreaMaxItemHeight = Math.max(terminalHeight * 4, 100);
638
- const placeholder = vimModeEnabled
639
- ? " Press 'i' for INSERT mode and 'Esc' for NORMAL mode."
640
- : ' Type your message or @path/to/file';
641
- return (_jsx(StreamingContext.Provider, { value: streamingState, children: _jsxs(Box, { flexDirection: "column", width: "90%", children: [_jsx(Static, { items: [
642
- _jsxs(Box, { flexDirection: "column", children: [!settings.merged.hideBanner && (_jsx(Header, { version: version, nightly: nightly })), !settings.merged.hideTips && _jsx(Tips, { config: config })] }, "header"),
643
- ...history.map((h) => (_jsx(HistoryItemDisplay, { terminalWidth: mainAreaWidth, availableTerminalHeight: staticAreaMaxItemHeight, item: h, isPending: false, config: config, commands: slashCommands }, h.id))),
644
- ], children: (item) => item }, staticKey), _jsx(OverflowProvider, { children: _jsxs(Box, { ref: pendingHistoryItemRef, flexDirection: "column", children: [pendingHistoryItems.map((item, i) => (_jsx(HistoryItemDisplay, { availableTerminalHeight: constrainHeight ? availableTerminalHeight : undefined, terminalWidth: mainAreaWidth,
645
- // TODO(taehykim): It seems like references to ids aren't necessary in
646
- // HistoryItemDisplay. Refactor later. Use a fake id for now.
647
- item: { ...item, id: 0 }, isPending: true, config: config, isFocused: !isEditorDialogOpen }, i))), _jsx(ShowMoreLines, { constrainHeight: constrainHeight })] }) }), _jsxs(Box, { flexDirection: "column", ref: mainControlsRef, children: [updateInfo && _jsx(UpdateNotification, { message: updateInfo.message }), startupWarnings.length > 0 && (_jsx(Box, { borderStyle: "round", borderColor: Colors.AccentYellow, paddingX: 1, marginY: 1, flexDirection: "column", children: startupWarnings.map((warning, index) => (_jsx(Text, { color: Colors.AccentYellow, children: warning }, index))) })), shouldShowIdePrompt && currentIDE ? (_jsx(IdeIntegrationNudge, { ide: currentIDE, onComplete: handleIdePromptComplete })) : isFolderTrustDialogOpen ? (_jsx(FolderTrustDialog, { onSelect: handleFolderTrustSelect })) : shellConfirmationRequest ? (_jsx(ShellConfirmationDialog, { request: shellConfirmationRequest })) : confirmationRequest ? (_jsxs(Box, { flexDirection: "column", children: [confirmationRequest.prompt, _jsx(Box, { paddingY: 1, children: _jsx(RadioButtonSelect, { isFocused: !!confirmationRequest, items: [
648
- { label: 'Yes', value: true },
649
- { label: 'No', value: false },
650
- ], onSelect: (value) => {
651
- confirmationRequest.onConfirm(value);
652
- } }) })] })) : isThemeDialogOpen ? (_jsxs(Box, { flexDirection: "column", children: [themeError && (_jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: Colors.AccentRed, children: themeError }) })), _jsx(ThemeDialog, { onSelect: handleThemeSelect, onHighlight: handleThemeHighlight, settings: settings, availableTerminalHeight: constrainHeight
653
- ? terminalHeight - staticExtraHeight
654
- : undefined, terminalWidth: mainAreaWidth })] })) : isSettingsDialogOpen ? (_jsx(Box, { flexDirection: "column", children: _jsx(SettingsDialog, { settings: settings, onSelect: () => closeSettingsDialog(), onRestartRequest: () => process.exit(0) }) })) : isAuthenticating ? (_jsxs(_Fragment, { children: [_jsx(AuthInProgress, { onTimeout: () => {
655
- setAuthError('Authentication timed out. Please try again.');
656
- cancelAuthentication();
657
- openAuthDialog();
658
- } }), showErrorDetails && (_jsx(OverflowProvider, { children: _jsxs(Box, { flexDirection: "column", children: [_jsx(DetailedMessagesDisplay, { messages: filteredConsoleMessages, maxHeight: constrainHeight ? debugConsoleMaxHeight : undefined, width: inputWidth }), _jsx(ShowMoreLines, { constrainHeight: constrainHeight })] }) }))] })) : isAuthDialogOpen ? (_jsx(Box, { flexDirection: "column", children: _jsx(AuthDialog, { onSelect: handleAuthSelect, settings: settings, initialErrorMessage: authError }) })) : shouldShowWelcomeBack && projectSummary ? (_jsx(Box, { flexDirection: "column", children: _jsx(WelcomeBackDialog, { projectSummary: projectSummary, onContinue: handleWelcomeBackContinue, onRestart: handleWelcomeBackRestart, onCancel: handleWelcomeBackCancel }) })) : isEditorDialogOpen ? (_jsxs(Box, { flexDirection: "column", children: [editorError && (_jsx(Box, { marginBottom: 1, children: _jsx(Text, { color: Colors.AccentRed, children: editorError }) })), _jsx(EditorSettingsDialog, { onSelect: handleEditorSelect, settings: settings, onExit: exitEditorDialog })] })) : isSearchDialogOpen ? (_jsx(Box, { flexDirection: "column", children: _jsx(SearchEngineConfigDialog, { onSubmit: (result) => {
659
- setIsSearchDialogOpen(false);
660
- // Show success message
661
- addItem({
662
- type: MessageType.INFO,
663
- text: `Search engines configured! ${result.braveEnabled ? 'Brave Search' : ''}${result.braveEnabled && result.tavilyEnabled ? ' and ' : ''}${result.tavilyEnabled ? 'Tavily Search' : ''} ${result.braveEnabled || result.tavilyEnabled ? 'enabled' : 'disabled'}.`,
664
- }, Date.now());
665
- }, onCancel: () => {
666
- setIsSearchDialogOpen(false);
667
- } }) })) : showPrivacyNotice ? (_jsx(PrivacyNotice, { onExit: () => setShowPrivacyNotice(false), config: config })) : (_jsxs(_Fragment, { children: [_jsx(LoadingIndicator, { thought: streamingState === StreamingState.WaitingForConfirmation ||
668
- config.getAccessibility()?.disableLoadingPhrases
669
- ? undefined
670
- : thought, currentLoadingPhrase: config.getAccessibility()?.disableLoadingPhrases
671
- ? undefined
672
- : currentLoadingPhrase, elapsedTime: elapsedTime }), messageQueue.length > 0 && (_jsxs(Box, { flexDirection: "column", marginTop: 1, children: [messageQueue
673
- .slice(0, MAX_DISPLAYED_QUEUED_MESSAGES)
674
- .map((message, index) => {
675
- // Ensure multi-line messages are collapsed for the preview.
676
- // Replace all whitespace (including newlines) with a single space.
677
- const preview = message.replace(/\s+/g, ' ');
678
- return (
679
- // Ensure the Box takes full width so truncation calculates correctly
680
- _jsx(Box, { paddingLeft: 2, width: "100%", children: _jsx(Text, { dimColor: true, wrap: "truncate", children: preview }) }, index));
681
- }), messageQueue.length > MAX_DISPLAYED_QUEUED_MESSAGES && (_jsx(Box, { paddingLeft: 2, children: _jsxs(Text, { dimColor: true, children: ["... (+", messageQueue.length -
682
- MAX_DISPLAYED_QUEUED_MESSAGES, ' ', "more)"] }) }))] })), _jsxs(Box, { marginTop: 1, justifyContent: "space-between", width: "100%", flexDirection: isNarrow ? 'column' : 'row', alignItems: isNarrow ? 'flex-start' : 'center', children: [_jsxs(Box, { children: [process.env['GEMINI_SYSTEM_MD'] && (_jsx(Text, { color: Colors.AccentRed, children: "|\u2310\u25A0_\u25A0| " })), ctrlCPressedOnce ? (_jsx(Text, { color: Colors.AccentYellow, children: "Press Ctrl+C again to exit." })) : ctrlDPressedOnce ? (_jsx(Text, { color: Colors.AccentYellow, children: "Press Ctrl+D again to exit." })) : showEscapePrompt ? (_jsx(Text, { color: Colors.Gray, children: "Press Esc again to clear." })) : (_jsx(ContextSummaryDisplay, { ideContext: ideContextState, geminiMdFileCount: geminiMdFileCount, contextFileNames: contextFileNames, mcpServers: config.getMcpServers(), blockedMcpServers: config.getBlockedMcpServers(), showToolDescriptions: showToolDescriptions }))] }), _jsxs(Box, { paddingTop: isNarrow ? 1 : 0, children: [showAutoAcceptIndicator !== ApprovalMode.DEFAULT &&
683
- !shellModeActive && (_jsx(AutoAcceptIndicator, { approvalMode: showAutoAcceptIndicator })), shellModeActive && _jsx(ShellModeIndicator, {})] })] }), showErrorDetails && (_jsx(OverflowProvider, { children: _jsxs(Box, { flexDirection: "column", children: [_jsx(DetailedMessagesDisplay, { messages: filteredConsoleMessages, maxHeight: constrainHeight ? debugConsoleMaxHeight : undefined, width: inputWidth }), _jsx(ShowMoreLines, { constrainHeight: constrainHeight })] }) })), isInputActive && (_jsx(InputPrompt, { buffer: buffer, inputWidth: inputWidth, suggestionsWidth: suggestionsWidth, onSubmit: handleFinalSubmit, userMessages: userMessages, onClearScreen: handleClearScreen, config: config, slashCommands: slashCommands, commandContext: commandContext, shellModeActive: shellModeActive, setShellModeActive: setShellModeActive, onEscapePromptChange: handleEscapePromptChange, focus: isFocused, vimHandleInput: vimHandleInput, placeholder: placeholder }))] })), initError && streamingState !== StreamingState.Responding && (_jsx(Box, { borderStyle: "round", borderColor: Colors.AccentRed, paddingX: 1, marginBottom: 1, children: history.find((item) => item.type === 'error' && item.text?.includes(initError))?.text ? (_jsx(Text, { color: Colors.AccentRed, children: history.find((item) => item.type === 'error' && item.text?.includes(initError))?.text })) : (_jsxs(_Fragment, { children: [_jsxs(Text, { color: Colors.AccentRed, children: ["Initialization Error: ", initError] }), _jsxs(Text, { color: Colors.AccentRed, children: [' ', "Please check API key and configuration."] })] })) })), !settings.merged.hideFooter && (_jsx(Footer, { model: currentModel, targetDir: config.getTargetDir(), debugMode: config.getDebugMode(), branchName: branchName, debugMessage: debugMessage, corgiMode: corgiMode, errorCount: errorCount, showErrorDetails: showErrorDetails, showMemoryUsage: config.getDebugMode() ||
684
- settings.merged.showMemoryUsage ||
685
- false, promptTokenCount: sessionStats.lastPromptTokenCount, nightly: nightly, vimMode: vimModeEnabled ? vimMode : undefined, isTrustedFolder: isTrustedFolderState, config: config }))] })] }) }));
686
- };
687
- //# sourceMappingURL=App.js.map