@rdmind/rdmind 0.0.5 → 0.0.6

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 (1090) hide show
  1. package/LICENSE +203 -0
  2. package/README.md +1 -0
  3. package/bundle/gemini.js +337631 -0
  4. package/bundle/template/README.md +9 -0
  5. package/bundle/template/pom.xml +106 -0
  6. package/bundle/template/sns-demo-app/pom.xml +27 -0
  7. package/bundle/template/sns-demo-common/pom.xml +35 -0
  8. package/bundle/template/sns-demo-common/src/main/java/com/xiaohongshu/sns/demo/common/utils/RpcResultUtils.java +22 -0
  9. package/bundle/template/sns-demo-common/target/classes/com/xiaohongshu/sns/demo/common/utils/RpcResultUtils.class +0 -0
  10. package/bundle/template/sns-demo-domain/pom.xml +31 -0
  11. package/bundle/template/sns-demo-infrastructure/pom.xml +52 -0
  12. package/bundle/template/sns-demo-infrastructure/src/main/java/com/xiaohongshu/sns/demo/infrastructure/config/rpc/ThriftClientConfig.java +8 -0
  13. package/bundle/template/sns-demo-infrastructure/target/classes/com/xiaohongshu/sns/demo/infrastructure/config/rpc/ThriftClientConfig.class +0 -0
  14. package/bundle/template/sns-demo-start/pom.xml +49 -0
  15. package/bundle/template/sns-demo-start/src/main/java/com/xiaohongshu/sns/demo/start/Application.java +19 -0
  16. package/bundle/template/sns-demo-start/src/main/resources/META-INF/app.properties +2 -0
  17. package/bundle/template/sns-demo-start/src/main/resources/application-prod.yml +6 -0
  18. package/bundle/template/sns-demo-start/src/main/resources/application-sit.yml +6 -0
  19. package/bundle/template/sns-demo-start/src/main/resources/application-staging.yml +6 -0
  20. package/bundle/template/sns-demo-start/src/main/resources/logback-spring.xml +22 -0
  21. package/bundle/template/sns-demo-start/target/classes/META-INF/app.properties +2 -0
  22. package/bundle/template/sns-demo-start/target/classes/application-prod.yml +6 -0
  23. package/bundle/template/sns-demo-start/target/classes/application-sit.yml +6 -0
  24. package/bundle/template/sns-demo-start/target/classes/application-staging.yml +6 -0
  25. package/bundle/template/sns-demo-start/target/classes/com/xiaohongshu/sns/demo/start/Application.class +0 -0
  26. package/bundle/template/sns-demo-start/target/classes/logback-spring.xml +22 -0
  27. package/package.json +90 -69
  28. package/dist/.last_build +0 -0
  29. package/dist/index.d.ts +0 -7
  30. package/dist/index.js +0 -29
  31. package/dist/index.js.map +0 -1
  32. package/dist/package.json +0 -86
  33. package/dist/src/commands/extensions/disable.d.ts +0 -14
  34. package/dist/src/commands/extensions/disable.js +0 -42
  35. package/dist/src/commands/extensions/disable.js.map +0 -1
  36. package/dist/src/commands/extensions/enable.d.ts +0 -14
  37. package/dist/src/commands/extensions/enable.js +0 -48
  38. package/dist/src/commands/extensions/enable.js.map +0 -1
  39. package/dist/src/commands/extensions/install.d.ts +0 -13
  40. package/dist/src/commands/extensions/install.js +0 -48
  41. package/dist/src/commands/extensions/install.js.map +0 -1
  42. package/dist/src/commands/extensions/install.test.d.ts +0 -6
  43. package/dist/src/commands/extensions/install.test.js +0 -25
  44. package/dist/src/commands/extensions/install.test.js.map +0 -1
  45. package/dist/src/commands/extensions/list.d.ts +0 -8
  46. package/dist/src/commands/extensions/list.js +0 -32
  47. package/dist/src/commands/extensions/list.js.map +0 -1
  48. package/dist/src/commands/extensions/uninstall.d.ts +0 -12
  49. package/dist/src/commands/extensions/uninstall.js +0 -38
  50. package/dist/src/commands/extensions/uninstall.js.map +0 -1
  51. package/dist/src/commands/extensions/uninstall.test.d.ts +0 -6
  52. package/dist/src/commands/extensions/uninstall.test.js +0 -18
  53. package/dist/src/commands/extensions/uninstall.test.js.map +0 -1
  54. package/dist/src/commands/extensions/update.d.ts +0 -12
  55. package/dist/src/commands/extensions/update.js +0 -38
  56. package/dist/src/commands/extensions/update.js.map +0 -1
  57. package/dist/src/commands/extensions.d.ts +0 -7
  58. package/dist/src/commands/extensions.js +0 -29
  59. package/dist/src/commands/extensions.js.map +0 -1
  60. package/dist/src/commands/mcp/add.d.ts +0 -7
  61. package/dist/src/commands/mcp/add.js +0 -166
  62. package/dist/src/commands/mcp/add.js.map +0 -1
  63. package/dist/src/commands/mcp/list.d.ts +0 -8
  64. package/dist/src/commands/mcp/list.js +0 -110
  65. package/dist/src/commands/mcp/list.js.map +0 -1
  66. package/dist/src/commands/mcp/remove.d.ts +0 -7
  67. package/dist/src/commands/mcp/remove.js +0 -44
  68. package/dist/src/commands/mcp/remove.js.map +0 -1
  69. package/dist/src/commands/mcp.d.ts +0 -7
  70. package/dist/src/commands/mcp.js +0 -23
  71. package/dist/src/commands/mcp.js.map +0 -1
  72. package/dist/src/config/auth.d.ts +0 -9
  73. package/dist/src/config/auth.js +0 -54
  74. package/dist/src/config/auth.js.map +0 -1
  75. package/dist/src/config/auth.test.d.ts +0 -6
  76. package/dist/src/config/auth.test.js +0 -57
  77. package/dist/src/config/auth.test.js.map +0 -1
  78. package/dist/src/config/config.d.ts +0 -47
  79. package/dist/src/config/config.js +0 -525
  80. package/dist/src/config/config.js.map +0 -1
  81. package/dist/src/config/extension.d.ts +0 -60
  82. package/dist/src/config/extension.js +0 -377
  83. package/dist/src/config/extension.js.map +0 -1
  84. package/dist/src/config/extensions/variableSchema.d.ts +0 -28
  85. package/dist/src/config/extensions/variableSchema.js +0 -18
  86. package/dist/src/config/extensions/variableSchema.js.map +0 -1
  87. package/dist/src/config/extensions/variables.d.ts +0 -17
  88. package/dist/src/config/extensions/variables.js +0 -40
  89. package/dist/src/config/extensions/variables.js.map +0 -1
  90. package/dist/src/config/extensions/variables.test.d.ts +0 -6
  91. package/dist/src/config/extensions/variables.test.js +0 -17
  92. package/dist/src/config/extensions/variables.test.js.map +0 -1
  93. package/dist/src/config/keyBindings.d.ts +0 -66
  94. package/dist/src/config/keyBindings.js +0 -141
  95. package/dist/src/config/keyBindings.js.map +0 -1
  96. package/dist/src/config/keyBindings.test.d.ts +0 -6
  97. package/dist/src/config/keyBindings.test.js +0 -51
  98. package/dist/src/config/keyBindings.test.js.map +0 -1
  99. package/dist/src/config/sandboxConfig.d.ts +0 -13
  100. package/dist/src/config/sandboxConfig.js +0 -73
  101. package/dist/src/config/sandboxConfig.js.map +0 -1
  102. package/dist/src/config/settings.d.ts +0 -62
  103. package/dist/src/config/settings.js +0 -674
  104. package/dist/src/config/settings.js.map +0 -1
  105. package/dist/src/config/settingsSchema.d.ts +0 -884
  106. package/dist/src/config/settingsSchema.js +0 -873
  107. package/dist/src/config/settingsSchema.js.map +0 -1
  108. package/dist/src/config/settingsSchema.test.d.ts +0 -6
  109. package/dist/src/config/settingsSchema.test.js +0 -194
  110. package/dist/src/config/settingsSchema.test.js.map +0 -1
  111. package/dist/src/config/trustedFolders.d.ts +0 -37
  112. package/dist/src/config/trustedFolders.js +0 -118
  113. package/dist/src/config/trustedFolders.js.map +0 -1
  114. package/dist/src/config/trustedFolders.test.d.ts +0 -6
  115. package/dist/src/config/trustedFolders.test.js +0 -164
  116. package/dist/src/config/trustedFolders.test.js.map +0 -1
  117. package/dist/src/gemini.d.ts +0 -11
  118. package/dist/src/gemini.js +0 -284
  119. package/dist/src/gemini.js.map +0 -1
  120. package/dist/src/gemini.test.d.ts +0 -6
  121. package/dist/src/gemini.test.js +0 -247
  122. package/dist/src/gemini.test.js.map +0 -1
  123. package/dist/src/generated/git-commit.d.ts +0 -7
  124. package/dist/src/generated/git-commit.js +0 -10
  125. package/dist/src/generated/git-commit.js.map +0 -1
  126. package/dist/src/nonInteractiveCli.d.ts +0 -7
  127. package/dist/src/nonInteractiveCli.js +0 -92
  128. package/dist/src/nonInteractiveCli.js.map +0 -1
  129. package/dist/src/patches/is-in-ci.d.ts +0 -7
  130. package/dist/src/patches/is-in-ci.js +0 -15
  131. package/dist/src/patches/is-in-ci.js.map +0 -1
  132. package/dist/src/prompts/RDMind.md +0 -126
  133. package/dist/src/services/BuiltinCommandLoader.d.ts +0 -24
  134. package/dist/src/services/BuiltinCommandLoader.js +0 -99
  135. package/dist/src/services/BuiltinCommandLoader.js.map +0 -1
  136. package/dist/src/services/BuiltinCommandLoader.test.d.ts +0 -6
  137. package/dist/src/services/BuiltinCommandLoader.test.js +0 -130
  138. package/dist/src/services/BuiltinCommandLoader.test.js.map +0 -1
  139. package/dist/src/services/CommandService.d.ts +0 -55
  140. package/dist/src/services/CommandService.js +0 -90
  141. package/dist/src/services/CommandService.js.map +0 -1
  142. package/dist/src/services/CommandService.test.d.ts +0 -6
  143. package/dist/src/services/CommandService.test.js +0 -233
  144. package/dist/src/services/CommandService.test.js.map +0 -1
  145. package/dist/src/services/FileCommandLoader.d.ts +0 -49
  146. package/dist/src/services/FileCommandLoader.js +0 -220
  147. package/dist/src/services/FileCommandLoader.js.map +0 -1
  148. package/dist/src/services/McpPromptLoader.d.ts +0 -35
  149. package/dist/src/services/McpPromptLoader.js +0 -218
  150. package/dist/src/services/McpPromptLoader.js.map +0 -1
  151. package/dist/src/services/McpPromptLoader.test.d.ts +0 -6
  152. package/dist/src/services/McpPromptLoader.test.js +0 -114
  153. package/dist/src/services/McpPromptLoader.test.js.map +0 -1
  154. package/dist/src/services/prompt-processors/argumentProcessor.d.ts +0 -16
  155. package/dist/src/services/prompt-processors/argumentProcessor.js +0 -21
  156. package/dist/src/services/prompt-processors/argumentProcessor.js.map +0 -1
  157. package/dist/src/services/prompt-processors/atFileProcessor.d.ts +0 -12
  158. package/dist/src/services/prompt-processors/atFileProcessor.js +0 -62
  159. package/dist/src/services/prompt-processors/atFileProcessor.js.map +0 -1
  160. package/dist/src/services/prompt-processors/atFileProcessor.test.d.ts +0 -6
  161. package/dist/src/services/prompt-processors/atFileProcessor.test.js +0 -174
  162. package/dist/src/services/prompt-processors/atFileProcessor.test.js.map +0 -1
  163. package/dist/src/services/prompt-processors/injectionParser.d.ts +0 -29
  164. package/dist/src/services/prompt-processors/injectionParser.js +0 -60
  165. package/dist/src/services/prompt-processors/injectionParser.js.map +0 -1
  166. package/dist/src/services/prompt-processors/injectionParser.test.d.ts +0 -6
  167. package/dist/src/services/prompt-processors/injectionParser.test.js +0 -189
  168. package/dist/src/services/prompt-processors/injectionParser.test.js.map +0 -1
  169. package/dist/src/services/prompt-processors/shellProcessor.d.ts +0 -27
  170. package/dist/src/services/prompt-processors/shellProcessor.js +0 -121
  171. package/dist/src/services/prompt-processors/shellProcessor.js.map +0 -1
  172. package/dist/src/services/prompt-processors/types.d.ts +0 -45
  173. package/dist/src/services/prompt-processors/types.js +0 -20
  174. package/dist/src/services/prompt-processors/types.js.map +0 -1
  175. package/dist/src/services/types.d.ts +0 -22
  176. package/dist/src/services/types.js +0 -7
  177. package/dist/src/services/types.js.map +0 -1
  178. package/dist/src/test-utils/customMatchers.d.ts +0 -14
  179. package/dist/src/test-utils/customMatchers.js +0 -40
  180. package/dist/src/test-utils/customMatchers.js.map +0 -1
  181. package/dist/src/test-utils/mockCommandContext.d.ts +0 -18
  182. package/dist/src/test-utils/mockCommandContext.js +0 -90
  183. package/dist/src/test-utils/mockCommandContext.js.map +0 -1
  184. package/dist/src/test-utils/mockCommandContext.test.d.ts +0 -6
  185. package/dist/src/test-utils/mockCommandContext.test.js +0 -51
  186. package/dist/src/test-utils/mockCommandContext.test.js.map +0 -1
  187. package/dist/src/test-utils/render.d.ts +0 -8
  188. package/dist/src/test-utils/render.js +0 -10
  189. package/dist/src/test-utils/render.js.map +0 -1
  190. package/dist/src/ui/App.d.ts +0 -15
  191. package/dist/src/ui/App.js +0 -840
  192. package/dist/src/ui/App.js.map +0 -1
  193. package/dist/src/ui/IdeIntegrationNudge.d.ts +0 -16
  194. package/dist/src/ui/IdeIntegrationNudge.js +0 -52
  195. package/dist/src/ui/IdeIntegrationNudge.js.map +0 -1
  196. package/dist/src/ui/colors.d.ts +0 -7
  197. package/dist/src/ui/colors.js +0 -54
  198. package/dist/src/ui/colors.js.map +0 -1
  199. package/dist/src/ui/commands/aboutCommand.d.ts +0 -7
  200. package/dist/src/ui/commands/aboutCommand.js +0 -43
  201. package/dist/src/ui/commands/aboutCommand.js.map +0 -1
  202. package/dist/src/ui/commands/agentsCommand.d.ts +0 -7
  203. package/dist/src/ui/commands/agentsCommand.js +0 -32
  204. package/dist/src/ui/commands/agentsCommand.js.map +0 -1
  205. package/dist/src/ui/commands/approvalModeCommand.d.ts +0 -7
  206. package/dist/src/ui/commands/approvalModeCommand.js +0 -340
  207. package/dist/src/ui/commands/approvalModeCommand.js.map +0 -1
  208. package/dist/src/ui/commands/approvalModeCommand.test.d.ts +0 -6
  209. package/dist/src/ui/commands/approvalModeCommand.test.js +0 -293
  210. package/dist/src/ui/commands/approvalModeCommand.test.js.map +0 -1
  211. package/dist/src/ui/commands/authCommand.d.ts +0 -7
  212. package/dist/src/ui/commands/authCommand.js +0 -16
  213. package/dist/src/ui/commands/authCommand.js.map +0 -1
  214. package/dist/src/ui/commands/bugCommand.d.ts +0 -7
  215. package/dist/src/ui/commands/bugCommand.js +0 -31
  216. package/dist/src/ui/commands/bugCommand.js.map +0 -1
  217. package/dist/src/ui/commands/chatCommand.d.ts +0 -7
  218. package/dist/src/ui/commands/chatCommand.js +0 -235
  219. package/dist/src/ui/commands/chatCommand.js.map +0 -1
  220. package/dist/src/ui/commands/clearCommand.d.ts +0 -7
  221. package/dist/src/ui/commands/clearCommand.js +0 -27
  222. package/dist/src/ui/commands/clearCommand.js.map +0 -1
  223. package/dist/src/ui/commands/compressCommand.d.ts +0 -7
  224. package/dist/src/ui/commands/compressCommand.js +0 -66
  225. package/dist/src/ui/commands/compressCommand.js.map +0 -1
  226. package/dist/src/ui/commands/copyCommand.d.ts +0 -7
  227. package/dist/src/ui/commands/copyCommand.js +0 -59
  228. package/dist/src/ui/commands/copyCommand.js.map +0 -1
  229. package/dist/src/ui/commands/corgiCommand.d.ts +0 -7
  230. package/dist/src/ui/commands/corgiCommand.js +0 -15
  231. package/dist/src/ui/commands/corgiCommand.js.map +0 -1
  232. package/dist/src/ui/commands/createCommand.d.ts +0 -7
  233. package/dist/src/ui/commands/createCommand.js +0 -381
  234. package/dist/src/ui/commands/createCommand.js.map +0 -1
  235. package/dist/src/ui/commands/directoryCommand.d.ts +0 -8
  236. package/dist/src/ui/commands/directoryCommand.js +0 -135
  237. package/dist/src/ui/commands/directoryCommand.js.map +0 -1
  238. package/dist/src/ui/commands/docsCommand.d.ts +0 -7
  239. package/dist/src/ui/commands/docsCommand.js +0 -31
  240. package/dist/src/ui/commands/docsCommand.js.map +0 -1
  241. package/dist/src/ui/commands/editorCommand.d.ts +0 -7
  242. package/dist/src/ui/commands/editorCommand.js +0 -16
  243. package/dist/src/ui/commands/editorCommand.js.map +0 -1
  244. package/dist/src/ui/commands/extensionsCommand.d.ts +0 -7
  245. package/dist/src/ui/commands/extensionsCommand.js +0 -31
  246. package/dist/src/ui/commands/extensionsCommand.js.map +0 -1
  247. package/dist/src/ui/commands/helpCommand.d.ts +0 -7
  248. package/dist/src/ui/commands/helpCommand.js +0 -21
  249. package/dist/src/ui/commands/helpCommand.js.map +0 -1
  250. package/dist/src/ui/commands/ideCommand.d.ts +0 -8
  251. package/dist/src/ui/commands/ideCommand.js +0 -216
  252. package/dist/src/ui/commands/ideCommand.js.map +0 -1
  253. package/dist/src/ui/commands/importCommand.d.ts +0 -10
  254. package/dist/src/ui/commands/importCommand.js +0 -762
  255. package/dist/src/ui/commands/importCommand.js.map +0 -1
  256. package/dist/src/ui/commands/importCommand.test.d.ts +0 -6
  257. package/dist/src/ui/commands/importCommand.test.js +0 -126
  258. package/dist/src/ui/commands/importCommand.test.js.map +0 -1
  259. package/dist/src/ui/commands/initCommand.d.ts +0 -7
  260. package/dist/src/ui/commands/initCommand.js +0 -115
  261. package/dist/src/ui/commands/initCommand.js.map +0 -1
  262. package/dist/src/ui/commands/mcpCommand.d.ts +0 -7
  263. package/dist/src/ui/commands/mcpCommand.js +0 -424
  264. package/dist/src/ui/commands/mcpCommand.js.map +0 -1
  265. package/dist/src/ui/commands/memoryCommand.d.ts +0 -7
  266. package/dist/src/ui/commands/memoryCommand.js +0 -225
  267. package/dist/src/ui/commands/memoryCommand.js.map +0 -1
  268. package/dist/src/ui/commands/modelCommand.d.ts +0 -7
  269. package/dist/src/ui/commands/modelCommand.js +0 -68
  270. package/dist/src/ui/commands/modelCommand.js.map +0 -1
  271. package/dist/src/ui/commands/modelCommand.test.d.ts +0 -6
  272. package/dist/src/ui/commands/modelCommand.test.js +0 -138
  273. package/dist/src/ui/commands/modelCommand.test.js.map +0 -1
  274. package/dist/src/ui/commands/privacyCommand.d.ts +0 -7
  275. package/dist/src/ui/commands/privacyCommand.js +0 -16
  276. package/dist/src/ui/commands/privacyCommand.js.map +0 -1
  277. package/dist/src/ui/commands/quitCommand.d.ts +0 -8
  278. package/dist/src/ui/commands/quitCommand.js +0 -59
  279. package/dist/src/ui/commands/quitCommand.js.map +0 -1
  280. package/dist/src/ui/commands/rdconfigCommand.d.ts +0 -7
  281. package/dist/src/ui/commands/rdconfigCommand.js +0 -104
  282. package/dist/src/ui/commands/rdconfigCommand.js.map +0 -1
  283. package/dist/src/ui/commands/rdconfigCommand.test.d.ts +0 -6
  284. package/dist/src/ui/commands/rdconfigCommand.test.js +0 -141
  285. package/dist/src/ui/commands/rdconfigCommand.test.js.map +0 -1
  286. package/dist/src/ui/commands/rdflowCommand.d.ts +0 -7
  287. package/dist/src/ui/commands/rdflowCommand.js +0 -284
  288. package/dist/src/ui/commands/rdflowCommand.js.map +0 -1
  289. package/dist/src/ui/commands/rdflowCommand.test.d.ts +0 -6
  290. package/dist/src/ui/commands/rdflowCommand.test.js +0 -127
  291. package/dist/src/ui/commands/rdflowCommand.test.js.map +0 -1
  292. package/dist/src/ui/commands/restoreCommand.d.ts +0 -8
  293. package/dist/src/ui/commands/restoreCommand.js +0 -124
  294. package/dist/src/ui/commands/restoreCommand.js.map +0 -1
  295. package/dist/src/ui/commands/settingsCommand.d.ts +0 -7
  296. package/dist/src/ui/commands/settingsCommand.js +0 -16
  297. package/dist/src/ui/commands/settingsCommand.js.map +0 -1
  298. package/dist/src/ui/commands/setupGithubCommand.d.ts +0 -9
  299. package/dist/src/ui/commands/setupGithubCommand.js +0 -154
  300. package/dist/src/ui/commands/setupGithubCommand.js.map +0 -1
  301. package/dist/src/ui/commands/setupGithubCommand.test.d.ts +0 -6
  302. package/dist/src/ui/commands/setupGithubCommand.test.js +0 -167
  303. package/dist/src/ui/commands/setupGithubCommand.test.js.map +0 -1
  304. package/dist/src/ui/commands/statsCommand.d.ts +0 -7
  305. package/dist/src/ui/commands/statsCommand.js +0 -54
  306. package/dist/src/ui/commands/statsCommand.js.map +0 -1
  307. package/dist/src/ui/commands/summaryCommand.d.ts +0 -7
  308. package/dist/src/ui/commands/summaryCommand.js +0 -149
  309. package/dist/src/ui/commands/summaryCommand.js.map +0 -1
  310. package/dist/src/ui/commands/terminalSetupCommand.d.ts +0 -13
  311. package/dist/src/ui/commands/terminalSetupCommand.js +0 -41
  312. package/dist/src/ui/commands/terminalSetupCommand.js.map +0 -1
  313. package/dist/src/ui/commands/themeCommand.d.ts +0 -7
  314. package/dist/src/ui/commands/themeCommand.js +0 -16
  315. package/dist/src/ui/commands/themeCommand.js.map +0 -1
  316. package/dist/src/ui/commands/toolsCommand.d.ts +0 -7
  317. package/dist/src/ui/commands/toolsCommand.js +0 -56
  318. package/dist/src/ui/commands/toolsCommand.js.map +0 -1
  319. package/dist/src/ui/commands/types.d.ts +0 -153
  320. package/dist/src/ui/commands/types.js +0 -13
  321. package/dist/src/ui/commands/types.js.map +0 -1
  322. package/dist/src/ui/commands/vimCommand.d.ts +0 -7
  323. package/dist/src/ui/commands/vimCommand.js +0 -23
  324. package/dist/src/ui/commands/vimCommand.js.map +0 -1
  325. package/dist/src/ui/components/AboutBox.d.ts +0 -17
  326. package/dist/src/ui/components/AboutBox.js +0 -6
  327. package/dist/src/ui/components/AboutBox.js.map +0 -1
  328. package/dist/src/ui/components/AsciiArt.d.ts +0 -8
  329. package/dist/src/ui/components/AsciiArt.js +0 -30
  330. package/dist/src/ui/components/AsciiArt.js.map +0 -1
  331. package/dist/src/ui/components/AuthDialog.d.ts +0 -15
  332. package/dist/src/ui/components/AuthDialog.js +0 -89
  333. package/dist/src/ui/components/AuthDialog.js.map +0 -1
  334. package/dist/src/ui/components/AuthDialog.test.d.ts +0 -6
  335. package/dist/src/ui/components/AuthDialog.test.js +0 -280
  336. package/dist/src/ui/components/AuthDialog.test.js.map +0 -1
  337. package/dist/src/ui/components/AuthInProgress.d.ts +0 -11
  338. package/dist/src/ui/components/AuthInProgress.js +0 -23
  339. package/dist/src/ui/components/AuthInProgress.js.map +0 -1
  340. package/dist/src/ui/components/AutoAcceptIndicator.d.ts +0 -12
  341. package/dist/src/ui/components/AutoAcceptIndicator.js +0 -31
  342. package/dist/src/ui/components/AutoAcceptIndicator.js.map +0 -1
  343. package/dist/src/ui/components/ConsoleSummaryDisplay.d.ts +0 -11
  344. package/dist/src/ui/components/ConsoleSummaryDisplay.js +0 -11
  345. package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +0 -1
  346. package/dist/src/ui/components/ContextSummaryDisplay.d.ts +0 -20
  347. package/dist/src/ui/components/ContextSummaryDisplay.js +0 -66
  348. package/dist/src/ui/components/ContextSummaryDisplay.js.map +0 -1
  349. package/dist/src/ui/components/ContextUsageDisplay.d.ts +0 -9
  350. package/dist/src/ui/components/ContextUsageDisplay.js +0 -14
  351. package/dist/src/ui/components/ContextUsageDisplay.js.map +0 -1
  352. package/dist/src/ui/components/DebugProfiler.d.ts +0 -6
  353. package/dist/src/ui/components/DebugProfiler.js +0 -27
  354. package/dist/src/ui/components/DebugProfiler.js.map +0 -1
  355. package/dist/src/ui/components/DetailedMessagesDisplay.d.ts +0 -14
  356. package/dist/src/ui/components/DetailedMessagesDisplay.js +0 -34
  357. package/dist/src/ui/components/DetailedMessagesDisplay.js.map +0 -1
  358. package/dist/src/ui/components/EditorSettingsDialog.d.ts +0 -16
  359. package/dist/src/ui/components/EditorSettingsDialog.js +0 -71
  360. package/dist/src/ui/components/EditorSettingsDialog.js.map +0 -1
  361. package/dist/src/ui/components/FolderTrustDialog.d.ts +0 -17
  362. package/dist/src/ui/components/FolderTrustDialog.js +0 -45
  363. package/dist/src/ui/components/FolderTrustDialog.js.map +0 -1
  364. package/dist/src/ui/components/FolderTrustDialog.test.d.ts +0 -6
  365. package/dist/src/ui/components/FolderTrustDialog.test.js +0 -63
  366. package/dist/src/ui/components/FolderTrustDialog.test.js.map +0 -1
  367. package/dist/src/ui/components/Footer.d.ts +0 -23
  368. package/dist/src/ui/components/Footer.js +0 -25
  369. package/dist/src/ui/components/Footer.js.map +0 -1
  370. package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +0 -17
  371. package/dist/src/ui/components/GeminiRespondingSpinner.js +0 -18
  372. package/dist/src/ui/components/GeminiRespondingSpinner.js.map +0 -1
  373. package/dist/src/ui/components/Header.d.ts +0 -13
  374. package/dist/src/ui/components/Header.js +0 -28
  375. package/dist/src/ui/components/Header.js.map +0 -1
  376. package/dist/src/ui/components/Header.test.d.ts +0 -6
  377. package/dist/src/ui/components/Header.test.js +0 -37
  378. package/dist/src/ui/components/Header.test.js.map +0 -1
  379. package/dist/src/ui/components/Help.d.ts +0 -12
  380. package/dist/src/ui/components/Help.js +0 -10
  381. package/dist/src/ui/components/Help.js.map +0 -1
  382. package/dist/src/ui/components/HistoryItemDisplay.d.ts +0 -20
  383. package/dist/src/ui/components/HistoryItemDisplay.js +0 -22
  384. package/dist/src/ui/components/HistoryItemDisplay.js.map +0 -1
  385. package/dist/src/ui/components/HistoryItemDisplay.test.d.ts +0 -6
  386. package/dist/src/ui/components/HistoryItemDisplay.test.js +0 -93
  387. package/dist/src/ui/components/HistoryItemDisplay.test.js.map +0 -1
  388. package/dist/src/ui/components/InputPrompt.d.ts +0 -28
  389. package/dist/src/ui/components/InputPrompt.js +0 -562
  390. package/dist/src/ui/components/InputPrompt.js.map +0 -1
  391. package/dist/src/ui/components/LoadingIndicator.d.ts +0 -15
  392. package/dist/src/ui/components/LoadingIndicator.js +0 -25
  393. package/dist/src/ui/components/LoadingIndicator.js.map +0 -1
  394. package/dist/src/ui/components/LoadingIndicator.test.d.ts +0 -6
  395. package/dist/src/ui/components/LoadingIndicator.test.js +0 -190
  396. package/dist/src/ui/components/LoadingIndicator.test.js.map +0 -1
  397. package/dist/src/ui/components/MemoryUsageDisplay.d.ts +0 -7
  398. package/dist/src/ui/components/MemoryUsageDisplay.js +0 -22
  399. package/dist/src/ui/components/MemoryUsageDisplay.js.map +0 -1
  400. package/dist/src/ui/components/ModelSelectionDialog.d.ts +0 -14
  401. package/dist/src/ui/components/ModelSelectionDialog.js +0 -26
  402. package/dist/src/ui/components/ModelSelectionDialog.js.map +0 -1
  403. package/dist/src/ui/components/ModelSelectionDialog.test.d.ts +0 -6
  404. package/dist/src/ui/components/ModelSelectionDialog.test.js +0 -124
  405. package/dist/src/ui/components/ModelSelectionDialog.test.js.map +0 -1
  406. package/dist/src/ui/components/ModelStatsDisplay.d.ts +0 -7
  407. package/dist/src/ui/components/ModelStatsDisplay.js +0 -33
  408. package/dist/src/ui/components/ModelStatsDisplay.js.map +0 -1
  409. package/dist/src/ui/components/ModelSwitchDialog.d.ts +0 -15
  410. package/dist/src/ui/components/ModelSwitchDialog.js +0 -37
  411. package/dist/src/ui/components/ModelSwitchDialog.js.map +0 -1
  412. package/dist/src/ui/components/ModelSwitchDialog.test.d.ts +0 -6
  413. package/dist/src/ui/components/ModelSwitchDialog.test.js +0 -125
  414. package/dist/src/ui/components/ModelSwitchDialog.test.js.map +0 -1
  415. package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +0 -12
  416. package/dist/src/ui/components/OpenAIKeyPrompt.js +0 -113
  417. package/dist/src/ui/components/OpenAIKeyPrompt.js.map +0 -1
  418. package/dist/src/ui/components/OpenAIKeyPrompt.test.d.ts +0 -6
  419. package/dist/src/ui/components/OpenAIKeyPrompt.test.js +0 -44
  420. package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +0 -1
  421. package/dist/src/ui/components/PlanSummaryDisplay.d.ts +0 -14
  422. package/dist/src/ui/components/PlanSummaryDisplay.js +0 -9
  423. package/dist/src/ui/components/PlanSummaryDisplay.js.map +0 -1
  424. package/dist/src/ui/components/PrepareLabel.d.ts +0 -15
  425. package/dist/src/ui/components/PrepareLabel.js +0 -16
  426. package/dist/src/ui/components/PrepareLabel.js.map +0 -1
  427. package/dist/src/ui/components/QuitConfirmationDialog.d.ts +0 -17
  428. package/dist/src/ui/components/QuitConfirmationDialog.js +0 -44
  429. package/dist/src/ui/components/QuitConfirmationDialog.js.map +0 -1
  430. package/dist/src/ui/components/QwenOAuthProgress.d.ts +0 -16
  431. package/dist/src/ui/components/QwenOAuthProgress.js +0 -103
  432. package/dist/src/ui/components/QwenOAuthProgress.js.map +0 -1
  433. package/dist/src/ui/components/QwenOAuthProgress.test.d.ts +0 -6
  434. package/dist/src/ui/components/QwenOAuthProgress.test.js +0 -292
  435. package/dist/src/ui/components/QwenOAuthProgress.test.js.map +0 -1
  436. package/dist/src/ui/components/SessionSummaryDisplay.d.ts +0 -11
  437. package/dist/src/ui/components/SessionSummaryDisplay.js +0 -4
  438. package/dist/src/ui/components/SessionSummaryDisplay.js.map +0 -1
  439. package/dist/src/ui/components/SettingsDialog.d.ts +0 -15
  440. package/dist/src/ui/components/SettingsDialog.js +0 -550
  441. package/dist/src/ui/components/SettingsDialog.js.map +0 -1
  442. package/dist/src/ui/components/SettingsDialog.test.d.ts +0 -6
  443. package/dist/src/ui/components/SettingsDialog.test.js +0 -646
  444. package/dist/src/ui/components/SettingsDialog.test.js.map +0 -1
  445. package/dist/src/ui/components/ShellConfirmationDialog.d.ts +0 -15
  446. package/dist/src/ui/components/ShellConfirmationDialog.js +0 -46
  447. package/dist/src/ui/components/ShellConfirmationDialog.js.map +0 -1
  448. package/dist/src/ui/components/ShellConfirmationDialog.test.d.ts +0 -6
  449. package/dist/src/ui/components/ShellConfirmationDialog.test.js +0 -40
  450. package/dist/src/ui/components/ShellConfirmationDialog.test.js.map +0 -1
  451. package/dist/src/ui/components/ShellModeIndicator.d.ts +0 -7
  452. package/dist/src/ui/components/ShellModeIndicator.js +0 -5
  453. package/dist/src/ui/components/ShellModeIndicator.js.map +0 -1
  454. package/dist/src/ui/components/ShowMoreLines.d.ts +0 -10
  455. package/dist/src/ui/components/ShowMoreLines.js +0 -24
  456. package/dist/src/ui/components/ShowMoreLines.js.map +0 -1
  457. package/dist/src/ui/components/StatsDisplay.d.ts +0 -12
  458. package/dist/src/ui/components/StatsDisplay.js +0 -43
  459. package/dist/src/ui/components/StatsDisplay.js.map +0 -1
  460. package/dist/src/ui/components/SuggestionsDisplay.d.ts +0 -22
  461. package/dist/src/ui/components/SuggestionsDisplay.js +0 -40
  462. package/dist/src/ui/components/SuggestionsDisplay.js.map +0 -1
  463. package/dist/src/ui/components/ThemeDialog.d.ts +0 -20
  464. package/dist/src/ui/components/ThemeDialog.js +0 -138
  465. package/dist/src/ui/components/ThemeDialog.js.map +0 -1
  466. package/dist/src/ui/components/Tips.d.ts +0 -12
  467. package/dist/src/ui/components/Tips.js +0 -9
  468. package/dist/src/ui/components/Tips.js.map +0 -1
  469. package/dist/src/ui/components/TodoDisplay.d.ts +0 -17
  470. package/dist/src/ui/components/TodoDisplay.js +0 -27
  471. package/dist/src/ui/components/TodoDisplay.js.map +0 -1
  472. package/dist/src/ui/components/TodoDisplay.test.d.ts +0 -6
  473. package/dist/src/ui/components/TodoDisplay.test.js +0 -77
  474. package/dist/src/ui/components/TodoDisplay.test.js.map +0 -1
  475. package/dist/src/ui/components/ToolStatsDisplay.d.ts +0 -7
  476. package/dist/src/ui/components/ToolStatsDisplay.js +0 -41
  477. package/dist/src/ui/components/ToolStatsDisplay.js.map +0 -1
  478. package/dist/src/ui/components/UpdateNotification.d.ts +0 -10
  479. package/dist/src/ui/components/UpdateNotification.js +0 -10
  480. package/dist/src/ui/components/UpdateNotification.js.map +0 -1
  481. package/dist/src/ui/components/WelcomeBackDialog.d.ts +0 -13
  482. package/dist/src/ui/components/WelcomeBackDialog.js +0 -32
  483. package/dist/src/ui/components/WelcomeBackDialog.js.map +0 -1
  484. package/dist/src/ui/components/WorkspaceMigrationDialog.d.ts +0 -11
  485. package/dist/src/ui/components/WorkspaceMigrationDialog.js +0 -42
  486. package/dist/src/ui/components/WorkspaceMigrationDialog.js.map +0 -1
  487. package/dist/src/ui/components/messages/CompressionMessage.d.ts +0 -11
  488. package/dist/src/ui/components/messages/CompressionMessage.js +0 -17
  489. package/dist/src/ui/components/messages/CompressionMessage.js.map +0 -1
  490. package/dist/src/ui/components/messages/DiffRenderer.d.ts +0 -16
  491. package/dist/src/ui/components/messages/DiffRenderer.js +0 -226
  492. package/dist/src/ui/components/messages/DiffRenderer.js.map +0 -1
  493. package/dist/src/ui/components/messages/DiffRenderer.test.d.ts +0 -6
  494. package/dist/src/ui/components/messages/DiffRenderer.test.js +0 -239
  495. package/dist/src/ui/components/messages/DiffRenderer.test.js.map +0 -1
  496. package/dist/src/ui/components/messages/ErrorMessage.d.ts +0 -11
  497. package/dist/src/ui/components/messages/ErrorMessage.js +0 -9
  498. package/dist/src/ui/components/messages/ErrorMessage.js.map +0 -1
  499. package/dist/src/ui/components/messages/GeminiMessage.d.ts +0 -14
  500. package/dist/src/ui/components/messages/GeminiMessage.js +0 -11
  501. package/dist/src/ui/components/messages/GeminiMessage.js.map +0 -1
  502. package/dist/src/ui/components/messages/GeminiMessageContent.d.ts +0 -14
  503. package/dist/src/ui/components/messages/GeminiMessageContent.js +0 -15
  504. package/dist/src/ui/components/messages/GeminiMessageContent.js.map +0 -1
  505. package/dist/src/ui/components/messages/InfoMessage.d.ts +0 -11
  506. package/dist/src/ui/components/messages/InfoMessage.js +0 -14
  507. package/dist/src/ui/components/messages/InfoMessage.js.map +0 -1
  508. package/dist/src/ui/components/messages/SummaryMessage.d.ts +0 -11
  509. package/dist/src/ui/components/messages/SummaryMessage.js +0 -35
  510. package/dist/src/ui/components/messages/SummaryMessage.js.map +0 -1
  511. package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +0 -16
  512. package/dist/src/ui/components/messages/ToolConfirmationMessage.js +0 -199
  513. package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +0 -1
  514. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.d.ts +0 -6
  515. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +0 -137
  516. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +0 -1
  517. package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +0 -18
  518. package/dist/src/ui/components/messages/ToolGroupMessage.js +0 -50
  519. package/dist/src/ui/components/messages/ToolGroupMessage.js.map +0 -1
  520. package/dist/src/ui/components/messages/ToolGroupMessage.test.d.ts +0 -6
  521. package/dist/src/ui/components/messages/ToolGroupMessage.test.js +0 -259
  522. package/dist/src/ui/components/messages/ToolGroupMessage.test.js.map +0 -1
  523. package/dist/src/ui/components/messages/ToolMessage.d.ts +0 -17
  524. package/dist/src/ui/components/messages/ToolMessage.js +0 -138
  525. package/dist/src/ui/components/messages/ToolMessage.js.map +0 -1
  526. package/dist/src/ui/components/messages/ToolMessage.test.d.ts +0 -6
  527. package/dist/src/ui/components/messages/ToolMessage.test.js +0 -149
  528. package/dist/src/ui/components/messages/ToolMessage.test.js.map +0 -1
  529. package/dist/src/ui/components/messages/UserMessage.d.ts +0 -11
  530. package/dist/src/ui/components/messages/UserMessage.js +0 -14
  531. package/dist/src/ui/components/messages/UserMessage.js.map +0 -1
  532. package/dist/src/ui/components/messages/UserShellMessage.d.ts +0 -11
  533. package/dist/src/ui/components/messages/UserShellMessage.js +0 -9
  534. package/dist/src/ui/components/messages/UserShellMessage.js.map +0 -1
  535. package/dist/src/ui/components/shared/MaxSizedBox.d.ts +0 -61
  536. package/dist/src/ui/components/shared/MaxSizedBox.js +0 -451
  537. package/dist/src/ui/components/shared/MaxSizedBox.js.map +0 -1
  538. package/dist/src/ui/components/shared/MaxSizedBox.test.d.ts +0 -6
  539. package/dist/src/ui/components/shared/MaxSizedBox.test.js +0 -154
  540. package/dist/src/ui/components/shared/MaxSizedBox.test.js.map +0 -1
  541. package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +0 -46
  542. package/dist/src/ui/components/shared/RadioButtonSelect.js +0 -116
  543. package/dist/src/ui/components/shared/RadioButtonSelect.js.map +0 -1
  544. package/dist/src/ui/components/shared/RadioButtonSelect.test.d.ts +0 -6
  545. package/dist/src/ui/components/shared/RadioButtonSelect.test.js +0 -111
  546. package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +0 -1
  547. package/dist/src/ui/components/shared/TextInput.d.ts +0 -16
  548. package/dist/src/ui/components/shared/TextInput.js +0 -127
  549. package/dist/src/ui/components/shared/TextInput.js.map +0 -1
  550. package/dist/src/ui/components/shared/text-buffer.d.ts +0 -467
  551. package/dist/src/ui/components/shared/text-buffer.js +0 -1489
  552. package/dist/src/ui/components/shared/text-buffer.js.map +0 -1
  553. package/dist/src/ui/components/shared/vim-buffer-actions.d.ts +0 -72
  554. package/dist/src/ui/components/shared/vim-buffer-actions.js +0 -552
  555. package/dist/src/ui/components/shared/vim-buffer-actions.js.map +0 -1
  556. package/dist/src/ui/components/subagents/constants.d.ts +0 -23
  557. package/dist/src/ui/components/subagents/constants.js +0 -67
  558. package/dist/src/ui/components/subagents/constants.js.map +0 -1
  559. package/dist/src/ui/components/subagents/create/AgentCreationWizard.d.ts +0 -15
  560. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +0 -174
  561. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +0 -1
  562. package/dist/src/ui/components/subagents/create/ColorSelector.d.ts +0 -15
  563. package/dist/src/ui/components/subagents/create/ColorSelector.js +0 -42
  564. package/dist/src/ui/components/subagents/create/ColorSelector.js.map +0 -1
  565. package/dist/src/ui/components/subagents/create/CreationSummary.d.ts +0 -10
  566. package/dist/src/ui/components/subagents/create/CreationSummary.js +0 -163
  567. package/dist/src/ui/components/subagents/create/CreationSummary.js.map +0 -1
  568. package/dist/src/ui/components/subagents/create/DescriptionInput.d.ts +0 -10
  569. package/dist/src/ui/components/subagents/create/DescriptionInput.js +0 -105
  570. package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +0 -1
  571. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.d.ts +0 -10
  572. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +0 -33
  573. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +0 -1
  574. package/dist/src/ui/components/subagents/create/LocationSelector.d.ts +0 -10
  575. package/dist/src/ui/components/subagents/create/LocationSelector.js +0 -33
  576. package/dist/src/ui/components/subagents/create/LocationSelector.js.map +0 -1
  577. package/dist/src/ui/components/subagents/create/TextEntryStep.d.ts +0 -26
  578. package/dist/src/ui/components/subagents/create/TextEntryStep.js +0 -28
  579. package/dist/src/ui/components/subagents/create/TextEntryStep.js.map +0 -1
  580. package/dist/src/ui/components/subagents/create/ToolSelector.d.ts +0 -16
  581. package/dist/src/ui/components/subagents/create/ToolSelector.js +0 -143
  582. package/dist/src/ui/components/subagents/create/ToolSelector.js.map +0 -1
  583. package/dist/src/ui/components/subagents/index.d.ts +0 -8
  584. package/dist/src/ui/components/subagents/index.js +0 -12
  585. package/dist/src/ui/components/subagents/index.js.map +0 -1
  586. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.d.ts +0 -13
  587. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +0 -46
  588. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +0 -1
  589. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.d.ts +0 -13
  590. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js +0 -33
  591. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js.map +0 -1
  592. package/dist/src/ui/components/subagents/manage/AgentEditStep.d.ts +0 -15
  593. package/dist/src/ui/components/subagents/manage/AgentEditStep.js +0 -63
  594. package/dist/src/ui/components/subagents/manage/AgentEditStep.js.map +0 -1
  595. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.d.ts +0 -12
  596. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +0 -225
  597. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +0 -1
  598. package/dist/src/ui/components/subagents/manage/AgentViewerStep.d.ts +0 -11
  599. package/dist/src/ui/components/subagents/manage/AgentViewerStep.js +0 -19
  600. package/dist/src/ui/components/subagents/manage/AgentViewerStep.js.map +0 -1
  601. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.d.ts +0 -15
  602. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +0 -212
  603. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +0 -1
  604. package/dist/src/ui/components/subagents/reducers.d.ts +0 -14
  605. package/dist/src/ui/components/subagents/reducers.js +0 -162
  606. package/dist/src/ui/components/subagents/reducers.js.map +0 -1
  607. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.d.ts +0 -20
  608. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +0 -194
  609. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +0 -1
  610. package/dist/src/ui/components/subagents/types.d.ts +0 -137
  611. package/dist/src/ui/components/subagents/types.js +0 -15
  612. package/dist/src/ui/components/subagents/types.js.map +0 -1
  613. package/dist/src/ui/components/subagents/utils.d.ts +0 -15
  614. package/dist/src/ui/components/subagents/utils.js +0 -79
  615. package/dist/src/ui/components/subagents/utils.js.map +0 -1
  616. package/dist/src/ui/constants.d.ts +0 -17
  617. package/dist/src/ui/constants.js +0 -22
  618. package/dist/src/ui/constants.js.map +0 -1
  619. package/dist/src/ui/contexts/KeypressContext.d.ts +0 -32
  620. package/dist/src/ui/contexts/KeypressContext.js +0 -371
  621. package/dist/src/ui/contexts/KeypressContext.js.map +0 -1
  622. package/dist/src/ui/contexts/KeypressContext.test.d.ts +0 -6
  623. package/dist/src/ui/contexts/KeypressContext.test.js +0 -894
  624. package/dist/src/ui/contexts/KeypressContext.test.js.map +0 -1
  625. package/dist/src/ui/contexts/OverflowContext.d.ts +0 -19
  626. package/dist/src/ui/contexts/OverflowContext.js +0 -38
  627. package/dist/src/ui/contexts/OverflowContext.js.map +0 -1
  628. package/dist/src/ui/contexts/SessionContext.d.ts +0 -39
  629. package/dist/src/ui/contexts/SessionContext.js +0 -55
  630. package/dist/src/ui/contexts/SessionContext.js.map +0 -1
  631. package/dist/src/ui/contexts/SettingsContext.d.ts +0 -9
  632. package/dist/src/ui/contexts/SettingsContext.js +0 -15
  633. package/dist/src/ui/contexts/SettingsContext.js.map +0 -1
  634. package/dist/src/ui/contexts/StreamingContext.d.ts +0 -9
  635. package/dist/src/ui/contexts/StreamingContext.js +0 -15
  636. package/dist/src/ui/contexts/StreamingContext.js.map +0 -1
  637. package/dist/src/ui/contexts/VimModeContext.d.ts +0 -19
  638. package/dist/src/ui/contexts/VimModeContext.js +0 -48
  639. package/dist/src/ui/contexts/VimModeContext.js.map +0 -1
  640. package/dist/src/ui/editors/editorSettingsManager.d.ts +0 -19
  641. package/dist/src/ui/editors/editorSettingsManager.js +0 -47
  642. package/dist/src/ui/editors/editorSettingsManager.js.map +0 -1
  643. package/dist/src/ui/hooks/atCommandProcessor.d.ts +0 -31
  644. package/dist/src/ui/hooks/atCommandProcessor.js +0 -364
  645. package/dist/src/ui/hooks/atCommandProcessor.js.map +0 -1
  646. package/dist/src/ui/hooks/atCommandProcessor.test.d.ts +0 -6
  647. package/dist/src/ui/hooks/atCommandProcessor.test.js +0 -832
  648. package/dist/src/ui/hooks/atCommandProcessor.test.js.map +0 -1
  649. package/dist/src/ui/hooks/shellCommandProcessor.d.ts +0 -17
  650. package/dist/src/ui/hooks/shellCommandProcessor.js +0 -234
  651. package/dist/src/ui/hooks/shellCommandProcessor.js.map +0 -1
  652. package/dist/src/ui/hooks/shellCommandProcessor.test.d.ts +0 -6
  653. package/dist/src/ui/hooks/shellCommandProcessor.test.js +0 -329
  654. package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +0 -1
  655. package/dist/src/ui/hooks/slashCommandProcessor.d.ts +0 -32
  656. package/dist/src/ui/hooks/slashCommandProcessor.js +0 -547
  657. package/dist/src/ui/hooks/slashCommandProcessor.js.map +0 -1
  658. package/dist/src/ui/hooks/useAgentsManagerDialog.d.ts +0 -11
  659. package/dist/src/ui/hooks/useAgentsManagerDialog.js +0 -21
  660. package/dist/src/ui/hooks/useAgentsManagerDialog.js.map +0 -1
  661. package/dist/src/ui/hooks/useAtCompletion.d.ts +0 -23
  662. package/dist/src/ui/hooks/useAtCompletion.js +0 -179
  663. package/dist/src/ui/hooks/useAtCompletion.js.map +0 -1
  664. package/dist/src/ui/hooks/useAuthCommand.d.ts +0 -14
  665. package/dist/src/ui/hooks/useAuthCommand.js +0 -66
  666. package/dist/src/ui/hooks/useAuthCommand.js.map +0 -1
  667. package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +0 -12
  668. package/dist/src/ui/hooks/useAutoAcceptIndicator.js +0 -38
  669. package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +0 -1
  670. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.d.ts +0 -6
  671. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +0 -263
  672. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +0 -1
  673. package/dist/src/ui/hooks/useBracketedPaste.d.ts +0 -12
  674. package/dist/src/ui/hooks/useBracketedPaste.js +0 -32
  675. package/dist/src/ui/hooks/useBracketedPaste.js.map +0 -1
  676. package/dist/src/ui/hooks/useCommandCompletion.d.ts +0 -32
  677. package/dist/src/ui/hooks/useCommandCompletion.js +0 -186
  678. package/dist/src/ui/hooks/useCommandCompletion.js.map +0 -1
  679. package/dist/src/ui/hooks/useCompletion.d.ts +0 -24
  680. package/dist/src/ui/hooks/useCompletion.js +0 -88
  681. package/dist/src/ui/hooks/useCompletion.js.map +0 -1
  682. package/dist/src/ui/hooks/useConsoleMessages.d.ts +0 -12
  683. package/dist/src/ui/hooks/useConsoleMessages.js +0 -76
  684. package/dist/src/ui/hooks/useConsoleMessages.js.map +0 -1
  685. package/dist/src/ui/hooks/useDialogClose.d.ts +0 -34
  686. package/dist/src/ui/hooks/useDialogClose.js +0 -62
  687. package/dist/src/ui/hooks/useDialogClose.js.map +0 -1
  688. package/dist/src/ui/hooks/useEditorSettings.d.ts +0 -16
  689. package/dist/src/ui/hooks/useEditorSettings.js +0 -43
  690. package/dist/src/ui/hooks/useEditorSettings.js.map +0 -1
  691. package/dist/src/ui/hooks/useEditorSettings.test.d.ts +0 -6
  692. package/dist/src/ui/hooks/useEditorSettings.test.js +0 -164
  693. package/dist/src/ui/hooks/useEditorSettings.test.js.map +0 -1
  694. package/dist/src/ui/hooks/useFocus.d.ts +0 -10
  695. package/dist/src/ui/hooks/useFocus.js +0 -41
  696. package/dist/src/ui/hooks/useFocus.js.map +0 -1
  697. package/dist/src/ui/hooks/useFolderTrust.d.ts +0 -13
  698. package/dist/src/ui/hooks/useFolderTrust.js +0 -64
  699. package/dist/src/ui/hooks/useFolderTrust.js.map +0 -1
  700. package/dist/src/ui/hooks/useGeminiStream.d.ts +0 -28
  701. package/dist/src/ui/hooks/useGeminiStream.js +0 -681
  702. package/dist/src/ui/hooks/useGeminiStream.js.map +0 -1
  703. package/dist/src/ui/hooks/useGitBranchName.d.ts +0 -6
  704. package/dist/src/ui/hooks/useGitBranchName.js +0 -61
  705. package/dist/src/ui/hooks/useGitBranchName.js.map +0 -1
  706. package/dist/src/ui/hooks/useGitBranchName.test.d.ts +0 -6
  707. package/dist/src/ui/hooks/useGitBranchName.test.js +0 -175
  708. package/dist/src/ui/hooks/useGitBranchName.test.js.map +0 -1
  709. package/dist/src/ui/hooks/useHistoryManager.d.ts +0 -22
  710. package/dist/src/ui/hooks/useHistoryManager.js +0 -72
  711. package/dist/src/ui/hooks/useHistoryManager.js.map +0 -1
  712. package/dist/src/ui/hooks/useHistoryManager.test.d.ts +0 -6
  713. package/dist/src/ui/hooks/useHistoryManager.test.js +0 -171
  714. package/dist/src/ui/hooks/useHistoryManager.test.js.map +0 -1
  715. package/dist/src/ui/hooks/useInputHistory.d.ts +0 -19
  716. package/dist/src/ui/hooks/useInputHistory.js +0 -84
  717. package/dist/src/ui/hooks/useInputHistory.js.map +0 -1
  718. package/dist/src/ui/hooks/useInputHistory.test.d.ts +0 -6
  719. package/dist/src/ui/hooks/useInputHistory.test.js +0 -207
  720. package/dist/src/ui/hooks/useInputHistory.test.js.map +0 -1
  721. package/dist/src/ui/hooks/useKeypress.d.ts +0 -17
  722. package/dist/src/ui/hooks/useKeypress.js +0 -27
  723. package/dist/src/ui/hooks/useKeypress.js.map +0 -1
  724. package/dist/src/ui/hooks/useKittyKeyboardProtocol.d.ts +0 -15
  725. package/dist/src/ui/hooks/useKittyKeyboardProtocol.js +0 -20
  726. package/dist/src/ui/hooks/useKittyKeyboardProtocol.js.map +0 -1
  727. package/dist/src/ui/hooks/useLaunchEditor.d.ts +0 -10
  728. package/dist/src/ui/hooks/useLaunchEditor.js +0 -70
  729. package/dist/src/ui/hooks/useLaunchEditor.js.map +0 -1
  730. package/dist/src/ui/hooks/useLoadingIndicator.d.ts +0 -10
  731. package/dist/src/ui/hooks/useLoadingIndicator.js +0 -44
  732. package/dist/src/ui/hooks/useLoadingIndicator.js.map +0 -1
  733. package/dist/src/ui/hooks/useLoadingIndicator.test.d.ts +0 -6
  734. package/dist/src/ui/hooks/useLoadingIndicator.test.js +0 -91
  735. package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +0 -1
  736. package/dist/src/ui/hooks/useLogger.d.ts +0 -11
  737. package/dist/src/ui/hooks/useLogger.js +0 -29
  738. package/dist/src/ui/hooks/useLogger.js.map +0 -1
  739. package/dist/src/ui/hooks/useMessageQueue.d.ts +0 -22
  740. package/dist/src/ui/hooks/useMessageQueue.js +0 -49
  741. package/dist/src/ui/hooks/useMessageQueue.js.map +0 -1
  742. package/dist/src/ui/hooks/useMessageQueue.test.d.ts +0 -6
  743. package/dist/src/ui/hooks/useMessageQueue.test.js +0 -158
  744. package/dist/src/ui/hooks/useMessageQueue.test.js.map +0 -1
  745. package/dist/src/ui/hooks/usePhraseCycler.d.ts +0 -14
  746. package/dist/src/ui/hooks/usePhraseCycler.js +0 -157
  747. package/dist/src/ui/hooks/usePhraseCycler.js.map +0 -1
  748. package/dist/src/ui/hooks/usePrivacySettings.d.ts +0 -16
  749. package/dist/src/ui/hooks/usePrivacySettings.js +0 -119
  750. package/dist/src/ui/hooks/usePrivacySettings.js.map +0 -1
  751. package/dist/src/ui/hooks/usePrivacySettings.test.d.ts +0 -6
  752. package/dist/src/ui/hooks/usePrivacySettings.test.js +0 -154
  753. package/dist/src/ui/hooks/usePrivacySettings.test.js.map +0 -1
  754. package/dist/src/ui/hooks/usePromptCompletion.d.ts +0 -23
  755. package/dist/src/ui/hooks/usePromptCompletion.js +0 -177
  756. package/dist/src/ui/hooks/usePromptCompletion.js.map +0 -1
  757. package/dist/src/ui/hooks/useQuitConfirmation.d.ts +0 -14
  758. package/dist/src/ui/hooks/useQuitConfirmation.js +0 -36
  759. package/dist/src/ui/hooks/useQuitConfirmation.js.map +0 -1
  760. package/dist/src/ui/hooks/useQwenAuth.d.ts +0 -20
  761. package/dist/src/ui/hooks/useQwenAuth.js +0 -78
  762. package/dist/src/ui/hooks/useQwenAuth.js.map +0 -1
  763. package/dist/src/ui/hooks/useQwenAuth.test.d.ts +0 -6
  764. package/dist/src/ui/hooks/useQwenAuth.test.js +0 -292
  765. package/dist/src/ui/hooks/useQwenAuth.test.js.map +0 -1
  766. package/dist/src/ui/hooks/useReactToolScheduler.d.ts +0 -33
  767. package/dist/src/ui/hooks/useReactToolScheduler.js +0 -197
  768. package/dist/src/ui/hooks/useReactToolScheduler.js.map +0 -1
  769. package/dist/src/ui/hooks/useRefreshMemoryCommand.d.ts +0 -6
  770. package/dist/src/ui/hooks/useRefreshMemoryCommand.js +0 -7
  771. package/dist/src/ui/hooks/useRefreshMemoryCommand.js.map +0 -1
  772. package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +0 -19
  773. package/dist/src/ui/hooks/useReverseSearchCompletion.js +0 -56
  774. package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +0 -1
  775. package/dist/src/ui/hooks/useReverseSearchCompletion.test.d.ts +0 -6
  776. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js +0 -163
  777. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js.map +0 -1
  778. package/dist/src/ui/hooks/useSettingsCommand.d.ts +0 -10
  779. package/dist/src/ui/hooks/useSettingsCommand.js +0 -21
  780. package/dist/src/ui/hooks/useSettingsCommand.js.map +0 -1
  781. package/dist/src/ui/hooks/useShellHistory.d.ts +0 -14
  782. package/dist/src/ui/hooks/useShellHistory.js +0 -111
  783. package/dist/src/ui/hooks/useShellHistory.js.map +0 -1
  784. package/dist/src/ui/hooks/useShellHistory.test.d.ts +0 -6
  785. package/dist/src/ui/hooks/useShellHistory.test.js +0 -187
  786. package/dist/src/ui/hooks/useShellHistory.test.js.map +0 -1
  787. package/dist/src/ui/hooks/useShowMemoryCommand.d.ts +0 -9
  788. package/dist/src/ui/hooks/useShowMemoryCommand.js +0 -58
  789. package/dist/src/ui/hooks/useShowMemoryCommand.js.map +0 -1
  790. package/dist/src/ui/hooks/useSlashCompletion.d.ts +0 -20
  791. package/dist/src/ui/hooks/useSlashCompletion.js +0 -135
  792. package/dist/src/ui/hooks/useSlashCompletion.js.map +0 -1
  793. package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +0 -6
  794. package/dist/src/ui/hooks/useSlashCompletion.test.js +0 -272
  795. package/dist/src/ui/hooks/useSlashCompletion.test.js.map +0 -1
  796. package/dist/src/ui/hooks/useStateAndRef.d.ts +0 -7
  797. package/dist/src/ui/hooks/useStateAndRef.js +0 -26
  798. package/dist/src/ui/hooks/useStateAndRef.js.map +0 -1
  799. package/dist/src/ui/hooks/useSubagentCreateDialog.d.ts +0 -10
  800. package/dist/src/ui/hooks/useSubagentCreateDialog.js +0 -21
  801. package/dist/src/ui/hooks/useSubagentCreateDialog.js.map +0 -1
  802. package/dist/src/ui/hooks/useTerminalSize.d.ts +0 -9
  803. package/dist/src/ui/hooks/useTerminalSize.js +0 -27
  804. package/dist/src/ui/hooks/useTerminalSize.js.map +0 -1
  805. package/dist/src/ui/hooks/useThemeCommand.d.ts +0 -15
  806. package/dist/src/ui/hooks/useThemeCommand.js +0 -79
  807. package/dist/src/ui/hooks/useThemeCommand.js.map +0 -1
  808. package/dist/src/ui/hooks/useTimer.d.ts +0 -12
  809. package/dist/src/ui/hooks/useTimer.js +0 -58
  810. package/dist/src/ui/hooks/useTimer.js.map +0 -1
  811. package/dist/src/ui/hooks/useTimer.test.d.ts +0 -6
  812. package/dist/src/ui/hooks/useTimer.test.js +0 -90
  813. package/dist/src/ui/hooks/useTimer.test.js.map +0 -1
  814. package/dist/src/ui/hooks/useToolScheduler.test.d.ts +0 -6
  815. package/dist/src/ui/hooks/useToolScheduler.test.js +0 -850
  816. package/dist/src/ui/hooks/useToolScheduler.test.js.map +0 -1
  817. package/dist/src/ui/hooks/useVisionAutoSwitch.d.ts +0 -47
  818. package/dist/src/ui/hooks/useVisionAutoSwitch.js +0 -262
  819. package/dist/src/ui/hooks/useVisionAutoSwitch.js.map +0 -1
  820. package/dist/src/ui/hooks/useVisionAutoSwitch.test.d.ts +0 -6
  821. package/dist/src/ui/hooks/useVisionAutoSwitch.test.js +0 -515
  822. package/dist/src/ui/hooks/useVisionAutoSwitch.test.js.map +0 -1
  823. package/dist/src/ui/hooks/useWelcomeBack.d.ts +0 -23
  824. package/dist/src/ui/hooks/useWelcomeBack.js +0 -79
  825. package/dist/src/ui/hooks/useWelcomeBack.js.map +0 -1
  826. package/dist/src/ui/hooks/useWorkspaceMigration.d.ts +0 -13
  827. package/dist/src/ui/hooks/useWorkspaceMigration.js +0 -53
  828. package/dist/src/ui/hooks/useWorkspaceMigration.js.map +0 -1
  829. package/dist/src/ui/hooks/vim.d.ts +0 -28
  830. package/dist/src/ui/hooks/vim.js +0 -639
  831. package/dist/src/ui/hooks/vim.js.map +0 -1
  832. package/dist/src/ui/keyMatchers.d.ts +0 -27
  833. package/dist/src/ui/keyMatchers.js +0 -68
  834. package/dist/src/ui/keyMatchers.js.map +0 -1
  835. package/dist/src/ui/keyMatchers.test.d.ts +0 -6
  836. package/dist/src/ui/keyMatchers.test.js +0 -276
  837. package/dist/src/ui/keyMatchers.test.js.map +0 -1
  838. package/dist/src/ui/models/availableModels.d.ts +0 -29
  839. package/dist/src/ui/models/availableModels.js +0 -40
  840. package/dist/src/ui/models/availableModels.js.map +0 -1
  841. package/dist/src/ui/privacy/CloudFreePrivacyNotice.d.ts +0 -12
  842. package/dist/src/ui/privacy/CloudFreePrivacyNotice.js +0 -41
  843. package/dist/src/ui/privacy/CloudFreePrivacyNotice.js.map +0 -1
  844. package/dist/src/ui/privacy/CloudPaidPrivacyNotice.d.ts +0 -10
  845. package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js +0 -18
  846. package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js.map +0 -1
  847. package/dist/src/ui/privacy/GeminiPrivacyNotice.d.ts +0 -10
  848. package/dist/src/ui/privacy/GeminiPrivacyNotice.js +0 -18
  849. package/dist/src/ui/privacy/GeminiPrivacyNotice.js.map +0 -1
  850. package/dist/src/ui/privacy/PrivacyNotice.d.ts +0 -12
  851. package/dist/src/ui/privacy/PrivacyNotice.js +0 -25
  852. package/dist/src/ui/privacy/PrivacyNotice.js.map +0 -1
  853. package/dist/src/ui/semantic-colors.d.ts +0 -7
  854. package/dist/src/ui/semantic-colors.js +0 -24
  855. package/dist/src/ui/semantic-colors.js.map +0 -1
  856. package/dist/src/ui/textConstants.d.ts +0 -9
  857. package/dist/src/ui/textConstants.js +0 -10
  858. package/dist/src/ui/textConstants.js.map +0 -1
  859. package/dist/src/ui/themes/ansi-light.d.ts +0 -7
  860. package/dist/src/ui/themes/ansi-light.js +0 -142
  861. package/dist/src/ui/themes/ansi-light.js.map +0 -1
  862. package/dist/src/ui/themes/ansi.d.ts +0 -7
  863. package/dist/src/ui/themes/ansi.js +0 -152
  864. package/dist/src/ui/themes/ansi.js.map +0 -1
  865. package/dist/src/ui/themes/atom-one-dark.d.ts +0 -7
  866. package/dist/src/ui/themes/atom-one-dark.js +0 -138
  867. package/dist/src/ui/themes/atom-one-dark.js.map +0 -1
  868. package/dist/src/ui/themes/ayu-light.d.ts +0 -7
  869. package/dist/src/ui/themes/ayu-light.js +0 -130
  870. package/dist/src/ui/themes/ayu-light.js.map +0 -1
  871. package/dist/src/ui/themes/ayu.d.ts +0 -7
  872. package/dist/src/ui/themes/ayu.js +0 -104
  873. package/dist/src/ui/themes/ayu.js.map +0 -1
  874. package/dist/src/ui/themes/color-utils.d.ts +0 -21
  875. package/dist/src/ui/themes/color-utils.js +0 -221
  876. package/dist/src/ui/themes/color-utils.js.map +0 -1
  877. package/dist/src/ui/themes/color-utils.test.d.ts +0 -6
  878. package/dist/src/ui/themes/color-utils.test.js +0 -197
  879. package/dist/src/ui/themes/color-utils.test.js.map +0 -1
  880. package/dist/src/ui/themes/default-light.d.ts +0 -7
  881. package/dist/src/ui/themes/default-light.js +0 -100
  882. package/dist/src/ui/themes/default-light.js.map +0 -1
  883. package/dist/src/ui/themes/default.d.ts +0 -7
  884. package/dist/src/ui/themes/default.js +0 -143
  885. package/dist/src/ui/themes/default.js.map +0 -1
  886. package/dist/src/ui/themes/dracula.d.ts +0 -7
  887. package/dist/src/ui/themes/dracula.js +0 -115
  888. package/dist/src/ui/themes/dracula.js.map +0 -1
  889. package/dist/src/ui/themes/github-dark.d.ts +0 -7
  890. package/dist/src/ui/themes/github-dark.js +0 -138
  891. package/dist/src/ui/themes/github-dark.js.map +0 -1
  892. package/dist/src/ui/themes/github-light.d.ts +0 -7
  893. package/dist/src/ui/themes/github-light.js +0 -140
  894. package/dist/src/ui/themes/github-light.js.map +0 -1
  895. package/dist/src/ui/themes/googlecode.d.ts +0 -7
  896. package/dist/src/ui/themes/googlecode.js +0 -137
  897. package/dist/src/ui/themes/googlecode.js.map +0 -1
  898. package/dist/src/ui/themes/no-color.d.ts +0 -7
  899. package/dist/src/ui/themes/no-color.js +0 -115
  900. package/dist/src/ui/themes/no-color.js.map +0 -1
  901. package/dist/src/ui/themes/qwen-dark.d.ts +0 -7
  902. package/dist/src/ui/themes/qwen-dark.js +0 -105
  903. package/dist/src/ui/themes/qwen-dark.js.map +0 -1
  904. package/dist/src/ui/themes/qwen-light.d.ts +0 -7
  905. package/dist/src/ui/themes/qwen-light.js +0 -131
  906. package/dist/src/ui/themes/qwen-light.js.map +0 -1
  907. package/dist/src/ui/themes/semantic-tokens.d.ts +0 -37
  908. package/dist/src/ui/themes/semantic-tokens.js +0 -94
  909. package/dist/src/ui/themes/semantic-tokens.js.map +0 -1
  910. package/dist/src/ui/themes/shades-of-purple.d.ts +0 -11
  911. package/dist/src/ui/themes/shades-of-purple.js +0 -304
  912. package/dist/src/ui/themes/shades-of-purple.js.map +0 -1
  913. package/dist/src/ui/themes/theme-manager.d.ts +0 -66
  914. package/dist/src/ui/themes/theme-manager.js +0 -270
  915. package/dist/src/ui/themes/theme-manager.js.map +0 -1
  916. package/dist/src/ui/themes/theme-manager.test.d.ts +0 -6
  917. package/dist/src/ui/themes/theme-manager.test.js +0 -142
  918. package/dist/src/ui/themes/theme-manager.test.js.map +0 -1
  919. package/dist/src/ui/themes/theme.d.ts +0 -130
  920. package/dist/src/ui/themes/theme.js +0 -379
  921. package/dist/src/ui/themes/theme.js.map +0 -1
  922. package/dist/src/ui/themes/xcode.d.ts +0 -7
  923. package/dist/src/ui/themes/xcode.js +0 -145
  924. package/dist/src/ui/themes/xcode.js.map +0 -1
  925. package/dist/src/ui/types.d.ts +0 -217
  926. package/dist/src/ui/types.js +0 -46
  927. package/dist/src/ui/types.js.map +0 -1
  928. package/dist/src/ui/utils/CodeColorizer.d.ts +0 -17
  929. package/dist/src/ui/utils/CodeColorizer.js +0 -110
  930. package/dist/src/ui/utils/CodeColorizer.js.map +0 -1
  931. package/dist/src/ui/utils/ConsolePatcher.d.ts +0 -25
  932. package/dist/src/ui/utils/ConsolePatcher.js +0 -52
  933. package/dist/src/ui/utils/ConsolePatcher.js.map +0 -1
  934. package/dist/src/ui/utils/InlineMarkdownRenderer.d.ts +0 -16
  935. package/dist/src/ui/utils/InlineMarkdownRenderer.js +0 -111
  936. package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +0 -1
  937. package/dist/src/ui/utils/MarkdownDisplay.d.ts +0 -14
  938. package/dist/src/ui/utils/MarkdownDisplay.js +0 -207
  939. package/dist/src/ui/utils/MarkdownDisplay.js.map +0 -1
  940. package/dist/src/ui/utils/MarkdownDisplay.test.d.ts +0 -6
  941. package/dist/src/ui/utils/MarkdownDisplay.test.js +0 -161
  942. package/dist/src/ui/utils/MarkdownDisplay.test.js.map +0 -1
  943. package/dist/src/ui/utils/TableRenderer.d.ts +0 -17
  944. package/dist/src/ui/utils/TableRenderer.js +0 -84
  945. package/dist/src/ui/utils/TableRenderer.js.map +0 -1
  946. package/dist/src/ui/utils/clipboardUtils.d.ts +0 -22
  947. package/dist/src/ui/utils/clipboardUtils.js +0 -127
  948. package/dist/src/ui/utils/clipboardUtils.js.map +0 -1
  949. package/dist/src/ui/utils/clipboardUtils.test.d.ts +0 -6
  950. package/dist/src/ui/utils/clipboardUtils.test.js +0 -65
  951. package/dist/src/ui/utils/clipboardUtils.test.js.map +0 -1
  952. package/dist/src/ui/utils/commandUtils.d.ts +0 -24
  953. package/dist/src/ui/utils/commandUtils.js +0 -131
  954. package/dist/src/ui/utils/commandUtils.js.map +0 -1
  955. package/dist/src/ui/utils/commandUtils.test.d.ts +0 -6
  956. package/dist/src/ui/utils/commandUtils.test.js +0 -349
  957. package/dist/src/ui/utils/commandUtils.test.js.map +0 -1
  958. package/dist/src/ui/utils/computeStats.d.ts +0 -10
  959. package/dist/src/ui/utils/computeStats.js +0 -57
  960. package/dist/src/ui/utils/computeStats.js.map +0 -1
  961. package/dist/src/ui/utils/displayUtils.d.ts +0 -17
  962. package/dist/src/ui/utils/displayUtils.js +0 -24
  963. package/dist/src/ui/utils/displayUtils.js.map +0 -1
  964. package/dist/src/ui/utils/displayUtils.test.d.ts +0 -6
  965. package/dist/src/ui/utils/displayUtils.test.js +0 -42
  966. package/dist/src/ui/utils/displayUtils.test.js.map +0 -1
  967. package/dist/src/ui/utils/formatters.d.ts +0 -13
  968. package/dist/src/ui/utils/formatters.js +0 -56
  969. package/dist/src/ui/utils/formatters.js.map +0 -1
  970. package/dist/src/ui/utils/formatters.test.d.ts +0 -6
  971. package/dist/src/ui/utils/formatters.test.js +0 -56
  972. package/dist/src/ui/utils/formatters.test.js.map +0 -1
  973. package/dist/src/ui/utils/isNarrowWidth.d.ts +0 -6
  974. package/dist/src/ui/utils/isNarrowWidth.js +0 -9
  975. package/dist/src/ui/utils/isNarrowWidth.js.map +0 -1
  976. package/dist/src/ui/utils/kittyProtocolDetector.d.ts +0 -13
  977. package/dist/src/ui/utils/kittyProtocolDetector.js +0 -88
  978. package/dist/src/ui/utils/kittyProtocolDetector.js.map +0 -1
  979. package/dist/src/ui/utils/markdownUtilities.d.ts +0 -6
  980. package/dist/src/ui/utils/markdownUtilities.js +0 -110
  981. package/dist/src/ui/utils/markdownUtilities.js.map +0 -1
  982. package/dist/src/ui/utils/markdownUtilities.test.d.ts +0 -6
  983. package/dist/src/ui/utils/markdownUtilities.test.js +0 -42
  984. package/dist/src/ui/utils/markdownUtilities.test.js.map +0 -1
  985. package/dist/src/ui/utils/platformConstants.d.ts +0 -52
  986. package/dist/src/ui/utils/platformConstants.js +0 -53
  987. package/dist/src/ui/utils/platformConstants.js.map +0 -1
  988. package/dist/src/ui/utils/terminalSetup.d.ts +0 -30
  989. package/dist/src/ui/utils/terminalSetup.js +0 -281
  990. package/dist/src/ui/utils/terminalSetup.js.map +0 -1
  991. package/dist/src/ui/utils/textUtils.d.ts +0 -32
  992. package/dist/src/ui/utils/textUtils.js +0 -80
  993. package/dist/src/ui/utils/textUtils.js.map +0 -1
  994. package/dist/src/ui/utils/updateCheck.d.ts +0 -12
  995. package/dist/src/ui/utils/updateCheck.js +0 -78
  996. package/dist/src/ui/utils/updateCheck.js.map +0 -1
  997. package/dist/src/ui/utils/updateCheck.test.d.ts +0 -6
  998. package/dist/src/ui/utils/updateCheck.test.js +0 -145
  999. package/dist/src/ui/utils/updateCheck.test.js.map +0 -1
  1000. package/dist/src/utils/checks.d.ts +0 -19
  1001. package/dist/src/utils/checks.js +0 -24
  1002. package/dist/src/utils/checks.js.map +0 -1
  1003. package/dist/src/utils/cleanup.d.ts +0 -8
  1004. package/dist/src/utils/cleanup.js +0 -35
  1005. package/dist/src/utils/cleanup.js.map +0 -1
  1006. package/dist/src/utils/dialogScopeUtils.d.ts +0 -32
  1007. package/dist/src/utils/dialogScopeUtils.js +0 -48
  1008. package/dist/src/utils/dialogScopeUtils.js.map +0 -1
  1009. package/dist/src/utils/errors.d.ts +0 -6
  1010. package/dist/src/utils/errors.js +0 -12
  1011. package/dist/src/utils/errors.js.map +0 -1
  1012. package/dist/src/utils/events.d.ts +0 -11
  1013. package/dist/src/utils/events.js +0 -13
  1014. package/dist/src/utils/events.js.map +0 -1
  1015. package/dist/src/utils/gitUtils.d.ts +0 -30
  1016. package/dist/src/utils/gitUtils.js +0 -89
  1017. package/dist/src/utils/gitUtils.js.map +0 -1
  1018. package/dist/src/utils/gitUtils.test.d.ts +0 -6
  1019. package/dist/src/utils/gitUtils.test.js +0 -113
  1020. package/dist/src/utils/gitUtils.test.js.map +0 -1
  1021. package/dist/src/utils/handleAutoUpdate.d.ts +0 -11
  1022. package/dist/src/utils/handleAutoUpdate.js +0 -102
  1023. package/dist/src/utils/handleAutoUpdate.js.map +0 -1
  1024. package/dist/src/utils/installationInfo.d.ts +0 -23
  1025. package/dist/src/utils/installationInfo.js +0 -153
  1026. package/dist/src/utils/installationInfo.js.map +0 -1
  1027. package/dist/src/utils/installationInfo.test.d.ts +0 -6
  1028. package/dist/src/utils/installationInfo.test.js +0 -242
  1029. package/dist/src/utils/installationInfo.test.js.map +0 -1
  1030. package/dist/src/utils/package.d.ts +0 -12
  1031. package/dist/src/utils/package.js +0 -24
  1032. package/dist/src/utils/package.js.map +0 -1
  1033. package/dist/src/utils/readStdin.d.ts +0 -6
  1034. package/dist/src/utils/readStdin.js +0 -59
  1035. package/dist/src/utils/readStdin.js.map +0 -1
  1036. package/dist/src/utils/readStdin.test.d.ts +0 -6
  1037. package/dist/src/utils/readStdin.test.js +0 -88
  1038. package/dist/src/utils/readStdin.test.js.map +0 -1
  1039. package/dist/src/utils/resolvePath.d.ts +0 -6
  1040. package/dist/src/utils/resolvePath.js +0 -21
  1041. package/dist/src/utils/resolvePath.js.map +0 -1
  1042. package/dist/src/utils/sandbox.d.ts +0 -7
  1043. package/dist/src/utils/sandbox.js +0 -738
  1044. package/dist/src/utils/sandbox.js.map +0 -1
  1045. package/dist/src/utils/settingsUtils.d.ts +0 -134
  1046. package/dist/src/utils/settingsUtils.js +0 -330
  1047. package/dist/src/utils/settingsUtils.js.map +0 -1
  1048. package/dist/src/utils/settingsUtils.test.d.ts +0 -6
  1049. package/dist/src/utils/settingsUtils.test.js +0 -511
  1050. package/dist/src/utils/settingsUtils.test.js.map +0 -1
  1051. package/dist/src/utils/spawnWrapper.d.ts +0 -7
  1052. package/dist/src/utils/spawnWrapper.js +0 -8
  1053. package/dist/src/utils/spawnWrapper.js.map +0 -1
  1054. package/dist/src/utils/startupWarnings.d.ts +0 -6
  1055. package/dist/src/utils/startupWarnings.js +0 -40
  1056. package/dist/src/utils/startupWarnings.js.map +0 -1
  1057. package/dist/src/utils/updateEventEmitter.d.ts +0 -11
  1058. package/dist/src/utils/updateEventEmitter.js +0 -12
  1059. package/dist/src/utils/updateEventEmitter.js.map +0 -1
  1060. package/dist/src/utils/userStartupWarnings.d.ts +0 -6
  1061. package/dist/src/utils/userStartupWarnings.js +0 -54
  1062. package/dist/src/utils/userStartupWarnings.js.map +0 -1
  1063. package/dist/src/utils/userStartupWarnings.test.d.ts +0 -6
  1064. package/dist/src/utils/userStartupWarnings.test.js +0 -67
  1065. package/dist/src/utils/userStartupWarnings.test.js.map +0 -1
  1066. package/dist/src/utils/version.d.ts +0 -6
  1067. package/dist/src/utils/version.js +0 -11
  1068. package/dist/src/utils/version.js.map +0 -1
  1069. package/dist/src/validateNonInterActiveAuth.d.ts +0 -7
  1070. package/dist/src/validateNonInterActiveAuth.js +0 -40
  1071. package/dist/src/validateNonInterActiveAuth.js.map +0 -1
  1072. package/dist/src/zed-integration/acp.d.ts +0 -63
  1073. package/dist/src/zed-integration/acp.js +0 -226
  1074. package/dist/src/zed-integration/acp.js.map +0 -1
  1075. package/dist/src/zed-integration/fileSystemService.d.ts +0 -19
  1076. package/dist/src/zed-integration/fileSystemService.js +0 -43
  1077. package/dist/src/zed-integration/fileSystemService.js.map +0 -1
  1078. package/dist/src/zed-integration/schema.d.ts +0 -11782
  1079. package/dist/src/zed-integration/schema.js +0 -311
  1080. package/dist/src/zed-integration/schema.js.map +0 -1
  1081. package/dist/src/zed-integration/zedIntegration.d.ts +0 -10
  1082. package/dist/src/zed-integration/zedIntegration.js +0 -787
  1083. package/dist/src/zed-integration/zedIntegration.js.map +0 -1
  1084. package/dist/tsconfig.tsbuildinfo +0 -1
  1085. /package/{dist/src/utils → bundle}/sandbox-macos-permissive-closed.sb +0 -0
  1086. /package/{dist/src/utils → bundle}/sandbox-macos-permissive-open.sb +0 -0
  1087. /package/{dist/src/utils → bundle}/sandbox-macos-permissive-proxied.sb +0 -0
  1088. /package/{dist/src/utils → bundle}/sandbox-macos-restrictive-closed.sb +0 -0
  1089. /package/{dist/src/utils → bundle}/sandbox-macos-restrictive-open.sb +0 -0
  1090. /package/{dist/src/utils → bundle}/sandbox-macos-restrictive-proxied.sb +0 -0
@@ -1,27 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import type { Key } from './hooks/useKeypress.js';
7
- import type { KeyBindingConfig } from '../config/keyBindings.js';
8
- import { Command } from '../config/keyBindings.js';
9
- /**
10
- * Key matcher function type
11
- */
12
- type KeyMatcher = (key: Key) => boolean;
13
- /**
14
- * Type for key matchers mapped to Command enum
15
- */
16
- export type KeyMatchers = {
17
- readonly [C in Command]: KeyMatcher;
18
- };
19
- /**
20
- * Creates key matchers from a key binding configuration
21
- */
22
- export declare function createKeyMatchers(config?: KeyBindingConfig): KeyMatchers;
23
- /**
24
- * Default key binding matchers using the default configuration
25
- */
26
- export declare const keyMatchers: KeyMatchers;
27
- export { Command };
@@ -1,68 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { Command, defaultKeyBindings } from '../config/keyBindings.js';
7
- /**
8
- * Matches a KeyBinding against an actual Key press
9
- * Pure data-driven matching logic
10
- */
11
- function matchKeyBinding(keyBinding, key) {
12
- // Either key name or sequence must match (but not both should be defined)
13
- let keyMatches = false;
14
- if (keyBinding.key !== undefined) {
15
- keyMatches = keyBinding.key === key.name;
16
- }
17
- else if (keyBinding.sequence !== undefined) {
18
- keyMatches = keyBinding.sequence === key.sequence;
19
- }
20
- else {
21
- // Neither key nor sequence defined - invalid binding
22
- return false;
23
- }
24
- if (!keyMatches) {
25
- return false;
26
- }
27
- // Check modifiers - follow original logic:
28
- // undefined = ignore this modifier (original behavior)
29
- // true = modifier must be pressed
30
- // false = modifier must NOT be pressed
31
- if (keyBinding.ctrl !== undefined && key.ctrl !== keyBinding.ctrl) {
32
- return false;
33
- }
34
- if (keyBinding.shift !== undefined && key.shift !== keyBinding.shift) {
35
- return false;
36
- }
37
- if (keyBinding.command !== undefined && key.meta !== keyBinding.command) {
38
- return false;
39
- }
40
- if (keyBinding.paste !== undefined && key.paste !== keyBinding.paste) {
41
- return false;
42
- }
43
- return true;
44
- }
45
- /**
46
- * Checks if a key matches any of the bindings for a command
47
- */
48
- function matchCommand(command, key, config = defaultKeyBindings) {
49
- const bindings = config[command];
50
- return bindings.some((binding) => matchKeyBinding(binding, key));
51
- }
52
- /**
53
- * Creates key matchers from a key binding configuration
54
- */
55
- export function createKeyMatchers(config = defaultKeyBindings) {
56
- const matchers = {};
57
- for (const command of Object.values(Command)) {
58
- matchers[command] = (key) => matchCommand(command, key, config);
59
- }
60
- return matchers;
61
- }
62
- /**
63
- * Default key binding matchers using the default configuration
64
- */
65
- export const keyMatchers = createKeyMatchers(defaultKeyBindings);
66
- // Re-export Command for convenience
67
- export { Command };
68
- //# sourceMappingURL=keyMatchers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"keyMatchers.js","sourceRoot":"","sources":["../../../src/ui/keyMatchers.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEvE;;;GAGG;AACH,SAAS,eAAe,CAAC,UAAsB,EAAE,GAAQ;IACvD,0EAA0E;IAC1E,IAAI,UAAU,GAAG,KAAK,CAAC;IAEvB,IAAI,UAAU,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QACjC,UAAU,GAAG,UAAU,CAAC,GAAG,KAAK,GAAG,CAAC,IAAI,CAAC;IAC3C,CAAC;SAAM,IAAI,UAAU,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC7C,UAAU,GAAG,UAAU,CAAC,QAAQ,KAAK,GAAG,CAAC,QAAQ,CAAC;IACpD,CAAC;SAAM,CAAC;QACN,qDAAqD;QACrD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,2CAA2C;IAC3C,uDAAuD;IACvD,kCAAkC;IAClC,uCAAuC;IAEvC,IAAI,UAAU,CAAC,IAAI,KAAK,SAAS,IAAI,GAAG,CAAC,IAAI,KAAK,UAAU,CAAC,IAAI,EAAE,CAAC;QAClE,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,UAAU,CAAC,KAAK,KAAK,SAAS,IAAI,GAAG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
- export {};
@@ -1,276 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { describe, it, expect } from 'vitest';
7
- import { keyMatchers, Command, createKeyMatchers } from './keyMatchers.js';
8
- import { defaultKeyBindings } from '../config/keyBindings.js';
9
- describe('keyMatchers', () => {
10
- const createKey = (name, mods = {}) => ({
11
- name,
12
- ctrl: false,
13
- meta: false,
14
- shift: false,
15
- paste: false,
16
- sequence: name,
17
- ...mods,
18
- });
19
- // Original hard-coded logic (for comparison)
20
- const originalMatchers = {
21
- [Command.RETURN]: (key) => key.name === 'return',
22
- [Command.HOME]: (key) => key.ctrl && key.name === 'a',
23
- [Command.END]: (key) => key.ctrl && key.name === 'e',
24
- [Command.KILL_LINE_RIGHT]: (key) => key.ctrl && key.name === 'k',
25
- [Command.KILL_LINE_LEFT]: (key) => key.ctrl && key.name === 'u',
26
- [Command.CLEAR_INPUT]: (key) => key.ctrl && key.name === 'c',
27
- [Command.CLEAR_SCREEN]: (key) => key.ctrl && key.name === 'l',
28
- [Command.HISTORY_UP]: (key) => key.ctrl && key.name === 'p',
29
- [Command.HISTORY_DOWN]: (key) => key.ctrl && key.name === 'n',
30
- [Command.NAVIGATION_UP]: (key) => key.name === 'up',
31
- [Command.NAVIGATION_DOWN]: (key) => key.name === 'down',
32
- [Command.ACCEPT_SUGGESTION]: (key) => key.name === 'tab' || (key.name === 'return' && !key.ctrl),
33
- [Command.COMPLETION_UP]: (key) => key.name === 'up' || (key.ctrl && key.name === 'p'),
34
- [Command.COMPLETION_DOWN]: (key) => key.name === 'down' || (key.ctrl && key.name === 'n'),
35
- [Command.ESCAPE]: (key) => key.name === 'escape',
36
- [Command.SUBMIT]: (key) => key.name === 'return' && !key.ctrl && !key.meta && !key.paste,
37
- [Command.NEWLINE]: (key) => key.name === 'return' && (key.ctrl || key.meta || key.paste),
38
- [Command.OPEN_EXTERNAL_EDITOR]: (key) => key.ctrl && (key.name === 'x' || key.sequence === '\x18'),
39
- [Command.PASTE_CLIPBOARD_IMAGE]: (key) => key.ctrl && key.name === 'v',
40
- [Command.SHOW_ERROR_DETAILS]: (key) => key.ctrl && key.name === 'o',
41
- [Command.TOGGLE_TOOL_DESCRIPTIONS]: (key) => key.ctrl && key.name === 't',
42
- [Command.TOGGLE_IDE_CONTEXT_DETAIL]: (key) => key.ctrl && key.name === 'g',
43
- [Command.QUIT]: (key) => key.ctrl && key.name === 'c',
44
- [Command.EXIT]: (key) => key.ctrl && key.name === 'd',
45
- [Command.SHOW_MORE_LINES]: (key) => key.ctrl && key.name === 's',
46
- [Command.REVERSE_SEARCH]: (key) => key.ctrl && key.name === 'r',
47
- [Command.SUBMIT_REVERSE_SEARCH]: (key) => key.name === 'return' && !key.ctrl,
48
- [Command.ACCEPT_SUGGESTION_REVERSE_SEARCH]: (key) => key.name === 'tab',
49
- };
50
- // Test data for each command with positive and negative test cases
51
- const testCases = [
52
- // Basic bindings
53
- {
54
- command: Command.RETURN,
55
- positive: [createKey('return')],
56
- negative: [createKey('r')],
57
- },
58
- {
59
- command: Command.ESCAPE,
60
- positive: [createKey('escape'), createKey('escape', { ctrl: true })],
61
- negative: [createKey('e'), createKey('esc')],
62
- },
63
- // Cursor movement
64
- {
65
- command: Command.HOME,
66
- positive: [createKey('a', { ctrl: true })],
67
- negative: [
68
- createKey('a'),
69
- createKey('a', { shift: true }),
70
- createKey('b', { ctrl: true }),
71
- ],
72
- },
73
- {
74
- command: Command.END,
75
- positive: [createKey('e', { ctrl: true })],
76
- negative: [
77
- createKey('e'),
78
- createKey('e', { shift: true }),
79
- createKey('a', { ctrl: true }),
80
- ],
81
- },
82
- // Text deletion
83
- {
84
- command: Command.KILL_LINE_RIGHT,
85
- positive: [createKey('k', { ctrl: true })],
86
- negative: [createKey('k'), createKey('l', { ctrl: true })],
87
- },
88
- {
89
- command: Command.KILL_LINE_LEFT,
90
- positive: [createKey('u', { ctrl: true })],
91
- negative: [createKey('u'), createKey('k', { ctrl: true })],
92
- },
93
- {
94
- command: Command.CLEAR_INPUT,
95
- positive: [createKey('c', { ctrl: true })],
96
- negative: [createKey('c'), createKey('k', { ctrl: true })],
97
- },
98
- // Screen control
99
- {
100
- command: Command.CLEAR_SCREEN,
101
- positive: [createKey('l', { ctrl: true })],
102
- negative: [createKey('l'), createKey('k', { ctrl: true })],
103
- },
104
- // History navigation
105
- {
106
- command: Command.HISTORY_UP,
107
- positive: [createKey('p', { ctrl: true })],
108
- negative: [createKey('p'), createKey('up')],
109
- },
110
- {
111
- command: Command.HISTORY_DOWN,
112
- positive: [createKey('n', { ctrl: true })],
113
- negative: [createKey('n'), createKey('down')],
114
- },
115
- {
116
- command: Command.NAVIGATION_UP,
117
- positive: [createKey('up'), createKey('up', { ctrl: true })],
118
- negative: [createKey('p'), createKey('u')],
119
- },
120
- {
121
- command: Command.NAVIGATION_DOWN,
122
- positive: [createKey('down'), createKey('down', { ctrl: true })],
123
- negative: [createKey('n'), createKey('d')],
124
- },
125
- // Auto-completion
126
- {
127
- command: Command.ACCEPT_SUGGESTION,
128
- positive: [createKey('tab'), createKey('return')],
129
- negative: [createKey('return', { ctrl: true }), createKey('space')],
130
- },
131
- {
132
- command: Command.COMPLETION_UP,
133
- positive: [createKey('up'), createKey('p', { ctrl: true })],
134
- negative: [createKey('p'), createKey('down')],
135
- },
136
- {
137
- command: Command.COMPLETION_DOWN,
138
- positive: [createKey('down'), createKey('n', { ctrl: true })],
139
- negative: [createKey('n'), createKey('up')],
140
- },
141
- // Text input
142
- {
143
- command: Command.SUBMIT,
144
- positive: [createKey('return')],
145
- negative: [
146
- createKey('return', { ctrl: true }),
147
- createKey('return', { meta: true }),
148
- createKey('return', { paste: true }),
149
- ],
150
- },
151
- {
152
- command: Command.NEWLINE,
153
- positive: [
154
- createKey('return', { ctrl: true }),
155
- createKey('return', { meta: true }),
156
- createKey('return', { paste: true }),
157
- ],
158
- negative: [createKey('return'), createKey('n')],
159
- },
160
- // External tools
161
- {
162
- command: Command.OPEN_EXTERNAL_EDITOR,
163
- positive: [
164
- createKey('x', { ctrl: true }),
165
- { ...createKey('\x18'), sequence: '\x18', ctrl: true },
166
- ],
167
- negative: [createKey('x'), createKey('c', { ctrl: true })],
168
- },
169
- {
170
- command: Command.PASTE_CLIPBOARD_IMAGE,
171
- positive: [createKey('v', { ctrl: true })],
172
- negative: [createKey('v'), createKey('c', { ctrl: true })],
173
- },
174
- // App level bindings
175
- {
176
- command: Command.SHOW_ERROR_DETAILS,
177
- positive: [createKey('o', { ctrl: true })],
178
- negative: [createKey('o'), createKey('e', { ctrl: true })],
179
- },
180
- {
181
- command: Command.TOGGLE_TOOL_DESCRIPTIONS,
182
- positive: [createKey('t', { ctrl: true })],
183
- negative: [createKey('t'), createKey('s', { ctrl: true })],
184
- },
185
- {
186
- command: Command.TOGGLE_IDE_CONTEXT_DETAIL,
187
- positive: [createKey('g', { ctrl: true })],
188
- negative: [createKey('g'), createKey('t', { ctrl: true })],
189
- },
190
- {
191
- command: Command.QUIT,
192
- positive: [createKey('c', { ctrl: true })],
193
- negative: [createKey('c'), createKey('d', { ctrl: true })],
194
- },
195
- {
196
- command: Command.EXIT,
197
- positive: [createKey('d', { ctrl: true })],
198
- negative: [createKey('d'), createKey('c', { ctrl: true })],
199
- },
200
- {
201
- command: Command.SHOW_MORE_LINES,
202
- positive: [createKey('s', { ctrl: true })],
203
- negative: [createKey('s'), createKey('l', { ctrl: true })],
204
- },
205
- // Shell commands
206
- {
207
- command: Command.REVERSE_SEARCH,
208
- positive: [createKey('r', { ctrl: true })],
209
- negative: [createKey('r'), createKey('s', { ctrl: true })],
210
- },
211
- {
212
- command: Command.SUBMIT_REVERSE_SEARCH,
213
- positive: [createKey('return')],
214
- negative: [createKey('return', { ctrl: true }), createKey('tab')],
215
- },
216
- {
217
- command: Command.ACCEPT_SUGGESTION_REVERSE_SEARCH,
218
- positive: [createKey('tab'), createKey('tab', { ctrl: true })],
219
- negative: [createKey('return'), createKey('space')],
220
- },
221
- ];
222
- describe('Data-driven key binding matches original logic', () => {
223
- testCases.forEach(({ command, positive, negative }) => {
224
- it(`should match ${command} correctly`, () => {
225
- positive.forEach((key) => {
226
- expect(keyMatchers[command](key), `Expected ${command} to match ${JSON.stringify(key)}`).toBe(true);
227
- expect(originalMatchers[command](key), `Original matcher should also match ${JSON.stringify(key)}`).toBe(true);
228
- });
229
- negative.forEach((key) => {
230
- expect(keyMatchers[command](key), `Expected ${command} to NOT match ${JSON.stringify(key)}`).toBe(false);
231
- expect(originalMatchers[command](key), `Original matcher should also NOT match ${JSON.stringify(key)}`).toBe(false);
232
- });
233
- });
234
- });
235
- it('should properly handle ACCEPT_SUGGESTION_REVERSE_SEARCH cases', () => {
236
- expect(keyMatchers[Command.ACCEPT_SUGGESTION_REVERSE_SEARCH](createKey('return', { ctrl: true }))).toBe(false); // ctrl must be false
237
- expect(keyMatchers[Command.ACCEPT_SUGGESTION_REVERSE_SEARCH](createKey('tab'))).toBe(true);
238
- expect(keyMatchers[Command.ACCEPT_SUGGESTION_REVERSE_SEARCH](createKey('tab', { ctrl: true }))).toBe(true); // modifiers ignored
239
- });
240
- });
241
- describe('Custom key bindings', () => {
242
- it('should work with custom configuration', () => {
243
- const customConfig = {
244
- ...defaultKeyBindings,
245
- [Command.HOME]: [{ key: 'h', ctrl: true }, { key: '0' }],
246
- };
247
- const customMatchers = createKeyMatchers(customConfig);
248
- expect(customMatchers[Command.HOME](createKey('h', { ctrl: true }))).toBe(true);
249
- expect(customMatchers[Command.HOME](createKey('0'))).toBe(true);
250
- expect(customMatchers[Command.HOME](createKey('a', { ctrl: true }))).toBe(false);
251
- });
252
- it('should support multiple key bindings for same command', () => {
253
- const config = {
254
- ...defaultKeyBindings,
255
- [Command.QUIT]: [
256
- { key: 'q', ctrl: true },
257
- { key: 'q', command: true },
258
- ],
259
- };
260
- const matchers = createKeyMatchers(config);
261
- expect(matchers[Command.QUIT](createKey('q', { ctrl: true }))).toBe(true);
262
- expect(matchers[Command.QUIT](createKey('q', { meta: true }))).toBe(true);
263
- });
264
- });
265
- describe('Edge Cases', () => {
266
- it('should handle empty binding arrays', () => {
267
- const config = {
268
- ...defaultKeyBindings,
269
- [Command.HOME]: [],
270
- };
271
- const matchers = createKeyMatchers(config);
272
- expect(matchers[Command.HOME](createKey('a', { ctrl: true }))).toBe(false);
273
- });
274
- });
275
- });
276
- //# sourceMappingURL=keyMatchers.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"keyMatchers.test.js","sourceRoot":"","sources":["../../../src/ui/keyMatchers.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAG9D,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,MAAM,SAAS,GAAG,CAAC,IAAY,EAAE,OAAqB,EAAE,EAAO,EAAE,CAAC,CAAC;QACjE,IAAI;QACJ,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,IAAI;QACd,GAAG,IAAI;KACR,CAAC,CAAC;IAEH,6CAA6C;IAC7C,MAAM,gBAAgB,GAA2C;QAC/D,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,GAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,QAAQ;QACrD,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,GAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,KAAK,GAAG;QAC1D,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAQ,EAAE,EAAE,CAAC,GAAG,CAAC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AAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CACjE,KAAK,CACN,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,29 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Qwen
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export type AvailableModel = {
7
- id: string;
8
- label: string;
9
- isVision?: boolean;
10
- };
11
- export declare const MAINLINE_VLM = "vision-model";
12
- export declare const MAINLINE_CODER = "coder-model";
13
- export declare const AVAILABLE_MODELS_QWEN: AvailableModel[];
14
- /**
15
- * Get available Qwen models filtered by vision model preview setting
16
- */
17
- export declare function getFilteredQwenModels(visionModelPreviewEnabled: boolean): AvailableModel[];
18
- /**
19
- * Currently we use the single model of `OPENAI_MODEL` in the env.
20
- * In the future, after settings.json is updated, we will allow users to configure this themselves.
21
- */
22
- export declare function getOpenAIAvailableModelFromEnv(): AvailableModel | null;
23
- /**
24
- /**
25
- * Hard code the default vision model as a string literal,
26
- * until our coding model supports multimodal.
27
- */
28
- export declare function getDefaultVisionModel(): string;
29
- export declare function isVisionModel(modelId: string): boolean;
@@ -1,40 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Qwen
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export const MAINLINE_VLM = 'vision-model';
7
- export const MAINLINE_CODER = 'coder-model';
8
- export const AVAILABLE_MODELS_QWEN = [
9
- { id: MAINLINE_CODER, label: MAINLINE_CODER },
10
- { id: MAINLINE_VLM, label: MAINLINE_VLM, isVision: true },
11
- ];
12
- /**
13
- * Get available Qwen models filtered by vision model preview setting
14
- */
15
- export function getFilteredQwenModels(visionModelPreviewEnabled) {
16
- if (visionModelPreviewEnabled) {
17
- return AVAILABLE_MODELS_QWEN;
18
- }
19
- return AVAILABLE_MODELS_QWEN.filter((model) => !model.isVision);
20
- }
21
- /**
22
- * Currently we use the single model of `OPENAI_MODEL` in the env.
23
- * In the future, after settings.json is updated, we will allow users to configure this themselves.
24
- */
25
- export function getOpenAIAvailableModelFromEnv() {
26
- const id = process.env['OPENAI_MODEL']?.trim();
27
- return id ? { id, label: id } : null;
28
- }
29
- /**
30
- /**
31
- * Hard code the default vision model as a string literal,
32
- * until our coding model supports multimodal.
33
- */
34
- export function getDefaultVisionModel() {
35
- return MAINLINE_VLM;
36
- }
37
- export function isVisionModel(modelId) {
38
- return AVAILABLE_MODELS_QWEN.some((model) => model.id === modelId && model.isVision);
39
- }
40
- //# sourceMappingURL=availableModels.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"availableModels.js","sourceRoot":"","sources":["../../../../src/ui/models/availableModels.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;AAC3C,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC;AAE5C,MAAM,CAAC,MAAM,qBAAqB,GAAqB;IACrD,EAAE,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAC7C,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE;CAC1D,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,qBAAqB,CACnC,yBAAkC;IAElC,IAAI,yBAAyB,EAAE,CAAC;QAC9B,OAAO,qBAAqB,CAAC;IAC/B,CAAC;IACD,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAClE,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,8BAA8B;IAC5C,MAAM,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,IAAI,EAAE,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AACvC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,qBAAqB;IACnC,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,OAAe;IAC3C,OAAO,qBAAqB,CAAC,IAAI,CAC/B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,OAAO,IAAI,KAAK,CAAC,QAAQ,CAClD,CAAC;AACJ,CAAC"}
@@ -1,12 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import type { Config } from '@rdmind/rdmind-core';
7
- interface CloudFreePrivacyNoticeProps {
8
- config: Config;
9
- onExit: () => void;
10
- }
11
- export declare const CloudFreePrivacyNotice: ({ config, onExit, }: CloudFreePrivacyNoticeProps) => import("react/jsx-runtime").JSX.Element;
12
- export {};
@@ -1,41 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- * @license
4
- * Copyright 2025 Google LLC
5
- * SPDX-License-Identifier: Apache-2.0
6
- */
7
- import { Box, Newline, Text } from 'ink';
8
- import { RadioButtonSelect } from '../components/shared/RadioButtonSelect.js';
9
- import { usePrivacySettings } from '../hooks/usePrivacySettings.js';
10
- import { CloudPaidPrivacyNotice } from './CloudPaidPrivacyNotice.js';
11
- import { Colors } from '../colors.js';
12
- import { useKeypress } from '../hooks/useKeypress.js';
13
- export const CloudFreePrivacyNotice = ({ config, onExit, }) => {
14
- const { privacyState, updateDataCollectionOptIn } = usePrivacySettings(config);
15
- useKeypress((key) => {
16
- if (privacyState.error && key.name === 'escape') {
17
- onExit();
18
- }
19
- }, { isActive: true });
20
- if (privacyState.isLoading) {
21
- return _jsx(Text, { color: Colors.Gray, children: "Loading..." });
22
- }
23
- if (privacyState.error) {
24
- return (_jsxs(Box, { flexDirection: "column", marginY: 1, children: [_jsxs(Text, { color: Colors.AccentRed, children: ["Error loading Opt-in settings: ", privacyState.error] }), _jsx(Text, { color: Colors.Gray, children: "Press Esc to exit." })] }));
25
- }
26
- if (privacyState.isFreeTier === false) {
27
- return _jsx(CloudPaidPrivacyNotice, { onExit: onExit });
28
- }
29
- const items = [
30
- { label: 'Yes', value: true },
31
- { label: 'No', value: false },
32
- ];
33
- return (_jsxs(Box, { flexDirection: "column", marginY: 1, children: [_jsx(Text, { bold: true, color: Colors.AccentPurple, children: "Gemini Code Assist for Individuals Privacy Notice" }), _jsx(Newline, {}), _jsxs(Text, { children: ["This notice and our Privacy Policy", _jsx(Text, { color: Colors.AccentBlue, children: "[1]" }), " describe how Gemini Code Assist handles your data. Please read them carefully."] }), _jsx(Newline, {}), _jsx(Text, { children: "When you use Gemini Code Assist for individuals with Gemini CLI, Google collects your prompts, related code, generated output, code edits, related feature usage information, and your feedback to provide, improve, and develop Google products and services and machine learning technologies." }), _jsx(Newline, {}), _jsx(Text, { children: "To help with quality and improve our products (such as generative machine-learning models), human reviewers may read, annotate, and process the data collected above. We take steps to protect your privacy as part of this process. This includes disconnecting the data from your Google Account before reviewers see or annotate it, and storing those disconnected copies for up to 18 months. Please don't submit confidential information or any data you wouldn't want a reviewer to see or Google to use to improve our products, services and machine-learning technologies." }), _jsx(Newline, {}), _jsxs(Box, { flexDirection: "column", children: [_jsx(Text, { children: "Allow Google to use this data to develop and improve our products?" }), _jsx(RadioButtonSelect, { items: items, initialIndex: privacyState.dataCollectionOptIn ? 0 : 1, onSelect: (value) => {
34
- updateDataCollectionOptIn(value);
35
- // Only exit if there was no error.
36
- if (!privacyState.error) {
37
- onExit();
38
- }
39
- } })] }), _jsx(Newline, {}), _jsxs(Text, { children: [_jsx(Text, { color: Colors.AccentBlue, children: "[1]" }), ' ', "https://policies.google.com/privacy"] }), _jsx(Newline, {}), _jsx(Text, { color: Colors.Gray, children: "Press Enter to choose an option and exit." })] }));
40
- };
41
- //# sourceMappingURL=CloudFreePrivacyNotice.js.map
@@ -1 +0,0 @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AO,KAAG,EACX,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,0DAAkD,IACtE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- interface CloudPaidPrivacyNoticeProps {
7
- onExit: () => void;
8
- }
9
- export declare const CloudPaidPrivacyNotice: ({ onExit, }: CloudPaidPrivacyNoticeProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,18 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- * @license
4
- * Copyright 2025 Google LLC
5
- * SPDX-License-Identifier: Apache-2.0
6
- */
7
- import { Box, Newline, Text } from 'ink';
8
- import { Colors } from '../colors.js';
9
- import { useKeypress } from '../hooks/useKeypress.js';
10
- export const CloudPaidPrivacyNotice = ({ onExit, }) => {
11
- useKeypress((key) => {
12
- if (key.name === 'escape') {
13
- onExit();
14
- }
15
- }, { isActive: true });
16
- return (_jsxs(Box, { flexDirection: "column", marginBottom: 1, children: [_jsx(Text, { bold: true, color: Colors.AccentPurple, children: "Vertex AI Notice" }), _jsx(Newline, {}), _jsxs(Text, { children: ["Service Specific Terms", _jsx(Text, { color: Colors.AccentBlue, children: "[1]" }), " are incorporated into the agreement under which Google has agreed to provide Google Cloud Platform", _jsx(Text, { color: Colors.AccentGreen, children: "[2]" }), " to Customer (the \u201CAgreement\u201D). If the Agreement authorizes the resale or supply of Google Cloud Platform under a Google Cloud partner or reseller program, then except for in the section entitled \u201CPartner-Specific Terms\u201D, all references to Customer in the Service Specific Terms mean Partner or Reseller (as applicable), and all references to Customer Data in the Service Specific Terms mean Partner Data. Capitalized terms used but not defined in the Service Specific Terms have the meaning given to them in the Agreement."] }), _jsx(Newline, {}), _jsxs(Text, { children: [_jsx(Text, { color: Colors.AccentBlue, children: "[1]" }), ' ', "https://cloud.google.com/terms/service-terms"] }), _jsxs(Text, { children: [_jsx(Text, { color: Colors.AccentGreen, children: "[2]" }), ' ', "https://cloud.google.com/terms/services"] }), _jsx(Newline, {}), _jsx(Text, { color: Colors.Gray, children: "Press Esc to exit." })] }));
17
- };
18
- //# sourceMappingURL=CloudPaidPrivacyNotice.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CloudPaidPrivacyNotice.js","sourceRoot":"","sources":["../../../../src/ui/privacy/CloudPaidPrivacyNotice.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAMtD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACrC,MAAM,GACsB,EAAE,EAAE;IAChC,WAAW,CACT,CAAC,GAAG,EAAE,EAAE;QACN,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC1B,MAAM,EAAE,CAAC;QACX,CAAC;IACH,CAAC,EACD,EAAE,QAAQ,EAAE,IAAI,EAAE,CACnB,CAAC;IAEF,OAAO,CACL,MAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,EAAC,YAAY,EAAE,CAAC,aACzC,KAAC,IAAI,IAAC,IAAI,QAAC,KAAK,EAAE,MAAM,CAAC,YAAY,iCAE9B,EACP,KAAC,OAAO,KAAG,EACX,MAAC,IAAI,yCACmB,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,UAAU,oBAAY,yGAE3C,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,WAAW,oBAAY,uiBAS3D,EACP,KAAC,OAAO,KAAG,EACX,MAAC,IAAI,eACH,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,UAAU,oBAAY,EAAC,GAAG,oDAEzC,EACP,MAAC,IAAI,eACH,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,WAAW,oBAAY,EAAC,GAAG,+CAE1C,EACP,KAAC,OAAO,KAAG,EACX,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,mCAA2B,IAC/C,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- interface GeminiPrivacyNoticeProps {
7
- onExit: () => void;
8
- }
9
- export declare const GeminiPrivacyNotice: ({ onExit }: GeminiPrivacyNoticeProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,18 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /**
3
- * @license
4
- * Copyright 2025 Google LLC
5
- * SPDX-License-Identifier: Apache-2.0
6
- */
7
- import { Box, Newline, Text } from 'ink';
8
- import { Colors } from '../colors.js';
9
- import { useKeypress } from '../hooks/useKeypress.js';
10
- export const GeminiPrivacyNotice = ({ onExit }) => {
11
- useKeypress((key) => {
12
- if (key.name === 'escape') {
13
- onExit();
14
- }
15
- }, { isActive: true });
16
- return (_jsxs(Box, { flexDirection: "column", marginBottom: 1, children: [_jsx(Text, { bold: true, color: Colors.AccentPurple, children: "Gemini API Key Notice" }), _jsx(Newline, {}), _jsxs(Text, { children: ["By using the Gemini API", _jsx(Text, { color: Colors.AccentBlue, children: "[1]" }), ", Google AI Studio", _jsx(Text, { color: Colors.AccentRed, children: "[2]" }), ", and the other Google developer services that reference these terms (collectively, the \"APIs\" or \"Services\"), you are agreeing to Google APIs Terms of Service (the \"API Terms\")", _jsx(Text, { color: Colors.AccentGreen, children: "[3]" }), ", and the Gemini API Additional Terms of Service (the \"Additional Terms\")", _jsx(Text, { color: Colors.AccentPurple, children: "[4]" }), "."] }), _jsx(Newline, {}), _jsxs(Text, { children: [_jsx(Text, { color: Colors.AccentBlue, children: "[1]" }), ' ', "https://ai.google.dev/docs/gemini_api_overview"] }), _jsxs(Text, { children: [_jsx(Text, { color: Colors.AccentRed, children: "[2]" }), " https://aistudio.google.com/"] }), _jsxs(Text, { children: [_jsx(Text, { color: Colors.AccentGreen, children: "[3]" }), ' ', "https://developers.google.com/terms"] }), _jsxs(Text, { children: [_jsx(Text, { color: Colors.AccentPurple, children: "[4]" }), ' ', "https://ai.google.dev/gemini-api/terms"] }), _jsx(Newline, {}), _jsx(Text, { color: Colors.Gray, children: "Press Esc to exit." })] }));
17
- };
18
- //# sourceMappingURL=GeminiPrivacyNotice.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeminiPrivacyNotice.js","sourceRoot":"","sources":["../../../../src/ui/privacy/GeminiPrivacyNotice.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAMtD,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,EAAE,MAAM,EAA4B,EAAE,EAAE;IAC1E,WAAW,CACT,CAAC,GAAG,EAAE,EAAE;QACN,IAAI,GAAG,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC1B,MAAM,EAAE,CAAC;QACX,CAAC;IACH,CAAC,EACD,EAAE,QAAQ,EAAE,IAAI,EAAE,CACnB,CAAC;IAEF,OAAO,CACL,MAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,EAAC,YAAY,EAAE,CAAC,aACzC,KAAC,IAAI,IAAC,IAAI,QAAC,KAAK,EAAE,MAAM,CAAC,YAAY,sCAE9B,EACP,KAAC,OAAO,KAAG,EACX,MAAC,IAAI,0CACoB,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,UAAU,oBAAY,wBAEjE,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS,oBAAY,6LAIzC,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,WAAW,oBAAY,iFAE3C,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,YAAY,oBAAY,SACvC,EACP,KAAC,OAAO,KAAG,EACX,MAAC,IAAI,eACH,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,UAAU,oBAAY,EAAC,GAAG,sDAEzC,EACP,MAAC,IAAI,eACH,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,SAAS,oBAAY,qCACpC,EACP,MAAC,IAAI,eACH,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,WAAW,oBAAY,EAAC,GAAG,2CAE1C,EACP,MAAC,IAAI,eACH,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,YAAY,oBAAY,EAAC,GAAG,8CAE3C,EACP,KAAC,OAAO,KAAG,EACX,KAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,IAAI,mCAA2B,IAC/C,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,12 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { type Config } from '@rdmind/rdmind-core';
7
- interface PrivacyNoticeProps {
8
- onExit: () => void;
9
- config: Config;
10
- }
11
- export declare const PrivacyNotice: ({ onExit, config }: PrivacyNoticeProps) => import("react/jsx-runtime").JSX.Element;
12
- export {};