@umsai/ums-code 0.0.11-post1

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 (945) hide show
  1. package/LICENSE +203 -0
  2. package/README.md +367 -0
  3. package/dist/.last_build +0 -0
  4. package/dist/index.d.ts +7 -0
  5. package/dist/index.js +20 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/package.json +88 -0
  8. package/dist/src/commands/mcp/add.d.ts +7 -0
  9. package/dist/src/commands/mcp/add.js +166 -0
  10. package/dist/src/commands/mcp/add.js.map +1 -0
  11. package/dist/src/commands/mcp/list.d.ts +8 -0
  12. package/dist/src/commands/mcp/list.js +110 -0
  13. package/dist/src/commands/mcp/list.js.map +1 -0
  14. package/dist/src/commands/mcp/remove.d.ts +7 -0
  15. package/dist/src/commands/mcp/remove.js +44 -0
  16. package/dist/src/commands/mcp/remove.js.map +1 -0
  17. package/dist/src/commands/mcp.d.ts +7 -0
  18. package/dist/src/commands/mcp.js +23 -0
  19. package/dist/src/commands/mcp.js.map +1 -0
  20. package/dist/src/config/auth.d.ts +12 -0
  21. package/dist/src/config/auth.js +71 -0
  22. package/dist/src/config/auth.js.map +1 -0
  23. package/dist/src/config/auth.test.d.ts +6 -0
  24. package/dist/src/config/auth.test.js +57 -0
  25. package/dist/src/config/auth.test.js.map +1 -0
  26. package/dist/src/config/config.d.ts +45 -0
  27. package/dist/src/config/config.js +479 -0
  28. package/dist/src/config/config.js.map +1 -0
  29. package/dist/src/config/extension.d.ts +23 -0
  30. package/dist/src/config/extension.js +123 -0
  31. package/dist/src/config/extension.js.map +1 -0
  32. package/dist/src/config/keyBindings.d.ts +66 -0
  33. package/dist/src/config/keyBindings.js +141 -0
  34. package/dist/src/config/keyBindings.js.map +1 -0
  35. package/dist/src/config/keyBindings.test.d.ts +6 -0
  36. package/dist/src/config/keyBindings.test.js +51 -0
  37. package/dist/src/config/keyBindings.test.js.map +1 -0
  38. package/dist/src/config/sandboxConfig.d.ts +13 -0
  39. package/dist/src/config/sandboxConfig.js +75 -0
  40. package/dist/src/config/sandboxConfig.js.map +1 -0
  41. package/dist/src/config/settings.d.ts +56 -0
  42. package/dist/src/config/settings.js +363 -0
  43. package/dist/src/config/settings.js.map +1 -0
  44. package/dist/src/config/settingsSchema.d.ts +613 -0
  45. package/dist/src/config/settingsSchema.js +586 -0
  46. package/dist/src/config/settingsSchema.js.map +1 -0
  47. package/dist/src/config/settingsSchema.test.d.ts +6 -0
  48. package/dist/src/config/settingsSchema.test.js +196 -0
  49. package/dist/src/config/settingsSchema.test.js.map +1 -0
  50. package/dist/src/config/trustedFolders.d.ts +37 -0
  51. package/dist/src/config/trustedFolders.js +118 -0
  52. package/dist/src/config/trustedFolders.js.map +1 -0
  53. package/dist/src/config/trustedFolders.test.d.ts +6 -0
  54. package/dist/src/config/trustedFolders.test.js +160 -0
  55. package/dist/src/config/trustedFolders.test.js.map +1 -0
  56. package/dist/src/gemini.d.ts +9 -0
  57. package/dist/src/gemini.js +262 -0
  58. package/dist/src/gemini.js.map +1 -0
  59. package/dist/src/gemini.test.d.ts +6 -0
  60. package/dist/src/gemini.test.js +193 -0
  61. package/dist/src/gemini.test.js.map +1 -0
  62. package/dist/src/generated/git-commit.d.ts +7 -0
  63. package/dist/src/generated/git-commit.js +10 -0
  64. package/dist/src/generated/git-commit.js.map +1 -0
  65. package/dist/src/nonInteractiveCli.d.ts +7 -0
  66. package/dist/src/nonInteractiveCli.js +103 -0
  67. package/dist/src/nonInteractiveCli.js.map +1 -0
  68. package/dist/src/patches/is-in-ci.d.ts +7 -0
  69. package/dist/src/patches/is-in-ci.js +15 -0
  70. package/dist/src/patches/is-in-ci.js.map +1 -0
  71. package/dist/src/services/BuiltinCommandLoader.d.ts +24 -0
  72. package/dist/src/services/BuiltinCommandLoader.js +91 -0
  73. package/dist/src/services/BuiltinCommandLoader.js.map +1 -0
  74. package/dist/src/services/BuiltinCommandLoader.test.d.ts +6 -0
  75. package/dist/src/services/BuiltinCommandLoader.test.js +111 -0
  76. package/dist/src/services/BuiltinCommandLoader.test.js.map +1 -0
  77. package/dist/src/services/CommandService.d.ts +55 -0
  78. package/dist/src/services/CommandService.js +90 -0
  79. package/dist/src/services/CommandService.js.map +1 -0
  80. package/dist/src/services/CommandService.test.d.ts +6 -0
  81. package/dist/src/services/CommandService.test.js +232 -0
  82. package/dist/src/services/CommandService.test.js.map +1 -0
  83. package/dist/src/services/FileCommandLoader.d.ts +49 -0
  84. package/dist/src/services/FileCommandLoader.js +210 -0
  85. package/dist/src/services/FileCommandLoader.js.map +1 -0
  86. package/dist/src/services/McpPromptLoader.d.ts +25 -0
  87. package/dist/src/services/McpPromptLoader.js +192 -0
  88. package/dist/src/services/McpPromptLoader.js.map +1 -0
  89. package/dist/src/services/prompt-processors/argumentProcessor.d.ts +16 -0
  90. package/dist/src/services/prompt-processors/argumentProcessor.js +20 -0
  91. package/dist/src/services/prompt-processors/argumentProcessor.js.map +1 -0
  92. package/dist/src/services/prompt-processors/shellProcessor.d.ts +35 -0
  93. package/dist/src/services/prompt-processors/shellProcessor.js +162 -0
  94. package/dist/src/services/prompt-processors/shellProcessor.js.map +1 -0
  95. package/dist/src/services/prompt-processors/types.d.ts +40 -0
  96. package/dist/src/services/prompt-processors/types.js +16 -0
  97. package/dist/src/services/prompt-processors/types.js.map +1 -0
  98. package/dist/src/services/types.d.ts +22 -0
  99. package/dist/src/services/types.js +7 -0
  100. package/dist/src/services/types.js.map +1 -0
  101. package/dist/src/test-utils/customMatchers.d.ts +14 -0
  102. package/dist/src/test-utils/customMatchers.js +46 -0
  103. package/dist/src/test-utils/customMatchers.js.map +1 -0
  104. package/dist/src/test-utils/mockCommandContext.d.ts +18 -0
  105. package/dist/src/test-utils/mockCommandContext.js +87 -0
  106. package/dist/src/test-utils/mockCommandContext.js.map +1 -0
  107. package/dist/src/test-utils/mockCommandContext.test.d.ts +6 -0
  108. package/dist/src/test-utils/mockCommandContext.test.js +51 -0
  109. package/dist/src/test-utils/mockCommandContext.test.js.map +1 -0
  110. package/dist/src/test-utils/render.d.ts +8 -0
  111. package/dist/src/test-utils/render.js +10 -0
  112. package/dist/src/test-utils/render.js.map +1 -0
  113. package/dist/src/ui/App.d.ts +15 -0
  114. package/dist/src/ui/App.js +747 -0
  115. package/dist/src/ui/App.js.map +1 -0
  116. package/dist/src/ui/IdeIntegrationNudge.d.ts +16 -0
  117. package/dist/src/ui/IdeIntegrationNudge.js +52 -0
  118. package/dist/src/ui/IdeIntegrationNudge.js.map +1 -0
  119. package/dist/src/ui/colors.d.ts +7 -0
  120. package/dist/src/ui/colors.js +54 -0
  121. package/dist/src/ui/colors.js.map +1 -0
  122. package/dist/src/ui/commands/aboutCommand.d.ts +7 -0
  123. package/dist/src/ui/commands/aboutCommand.js +43 -0
  124. package/dist/src/ui/commands/aboutCommand.js.map +1 -0
  125. package/dist/src/ui/commands/agentsCommand.d.ts +7 -0
  126. package/dist/src/ui/commands/agentsCommand.js +32 -0
  127. package/dist/src/ui/commands/agentsCommand.js.map +1 -0
  128. package/dist/src/ui/commands/authCommand.d.ts +7 -0
  129. package/dist/src/ui/commands/authCommand.js +16 -0
  130. package/dist/src/ui/commands/authCommand.js.map +1 -0
  131. package/dist/src/ui/commands/bugCommand.d.ts +7 -0
  132. package/dist/src/ui/commands/bugCommand.js +71 -0
  133. package/dist/src/ui/commands/bugCommand.js.map +1 -0
  134. package/dist/src/ui/commands/chatCommand.d.ts +7 -0
  135. package/dist/src/ui/commands/chatCommand.js +234 -0
  136. package/dist/src/ui/commands/chatCommand.js.map +1 -0
  137. package/dist/src/ui/commands/clearCommand.d.ts +7 -0
  138. package/dist/src/ui/commands/clearCommand.js +27 -0
  139. package/dist/src/ui/commands/clearCommand.js.map +1 -0
  140. package/dist/src/ui/commands/compressCommand.d.ts +7 -0
  141. package/dist/src/ui/commands/compressCommand.js +64 -0
  142. package/dist/src/ui/commands/compressCommand.js.map +1 -0
  143. package/dist/src/ui/commands/copyCommand.d.ts +7 -0
  144. package/dist/src/ui/commands/copyCommand.js +59 -0
  145. package/dist/src/ui/commands/copyCommand.js.map +1 -0
  146. package/dist/src/ui/commands/corgiCommand.d.ts +7 -0
  147. package/dist/src/ui/commands/corgiCommand.js +15 -0
  148. package/dist/src/ui/commands/corgiCommand.js.map +1 -0
  149. package/dist/src/ui/commands/directoryCommand.d.ts +8 -0
  150. package/dist/src/ui/commands/directoryCommand.js +133 -0
  151. package/dist/src/ui/commands/directoryCommand.js.map +1 -0
  152. package/dist/src/ui/commands/docsCommand.d.ts +7 -0
  153. package/dist/src/ui/commands/docsCommand.js +31 -0
  154. package/dist/src/ui/commands/docsCommand.js.map +1 -0
  155. package/dist/src/ui/commands/editorCommand.d.ts +7 -0
  156. package/dist/src/ui/commands/editorCommand.js +16 -0
  157. package/dist/src/ui/commands/editorCommand.js.map +1 -0
  158. package/dist/src/ui/commands/extensionsCommand.d.ts +7 -0
  159. package/dist/src/ui/commands/extensionsCommand.js +31 -0
  160. package/dist/src/ui/commands/extensionsCommand.js.map +1 -0
  161. package/dist/src/ui/commands/helpCommand.d.ts +7 -0
  162. package/dist/src/ui/commands/helpCommand.js +21 -0
  163. package/dist/src/ui/commands/helpCommand.js.map +1 -0
  164. package/dist/src/ui/commands/ideCommand.d.ts +8 -0
  165. package/dist/src/ui/commands/ideCommand.js +218 -0
  166. package/dist/src/ui/commands/ideCommand.js.map +1 -0
  167. package/dist/src/ui/commands/initCommand.d.ts +7 -0
  168. package/dist/src/ui/commands/initCommand.js +116 -0
  169. package/dist/src/ui/commands/initCommand.js.map +1 -0
  170. package/dist/src/ui/commands/mcpCommand.d.ts +7 -0
  171. package/dist/src/ui/commands/mcpCommand.js +424 -0
  172. package/dist/src/ui/commands/mcpCommand.js.map +1 -0
  173. package/dist/src/ui/commands/memoryCommand.d.ts +7 -0
  174. package/dist/src/ui/commands/memoryCommand.js +224 -0
  175. package/dist/src/ui/commands/memoryCommand.js.map +1 -0
  176. package/dist/src/ui/commands/privacyCommand.d.ts +7 -0
  177. package/dist/src/ui/commands/privacyCommand.js +16 -0
  178. package/dist/src/ui/commands/privacyCommand.js.map +1 -0
  179. package/dist/src/ui/commands/quitCommand.d.ts +8 -0
  180. package/dist/src/ui/commands/quitCommand.js +59 -0
  181. package/dist/src/ui/commands/quitCommand.js.map +1 -0
  182. package/dist/src/ui/commands/restoreCommand.d.ts +8 -0
  183. package/dist/src/ui/commands/restoreCommand.js +128 -0
  184. package/dist/src/ui/commands/restoreCommand.js.map +1 -0
  185. package/dist/src/ui/commands/settingsCommand.d.ts +7 -0
  186. package/dist/src/ui/commands/settingsCommand.js +16 -0
  187. package/dist/src/ui/commands/settingsCommand.js.map +1 -0
  188. package/dist/src/ui/commands/setupGithubCommand.d.ts +9 -0
  189. package/dist/src/ui/commands/setupGithubCommand.js +154 -0
  190. package/dist/src/ui/commands/setupGithubCommand.js.map +1 -0
  191. package/dist/src/ui/commands/setupGithubCommand.test.d.ts +6 -0
  192. package/dist/src/ui/commands/setupGithubCommand.test.js +167 -0
  193. package/dist/src/ui/commands/setupGithubCommand.test.js.map +1 -0
  194. package/dist/src/ui/commands/statsCommand.d.ts +7 -0
  195. package/dist/src/ui/commands/statsCommand.js +53 -0
  196. package/dist/src/ui/commands/statsCommand.js.map +1 -0
  197. package/dist/src/ui/commands/summaryCommand.d.ts +7 -0
  198. package/dist/src/ui/commands/summaryCommand.js +149 -0
  199. package/dist/src/ui/commands/summaryCommand.js.map +1 -0
  200. package/dist/src/ui/commands/terminalSetupCommand.d.ts +13 -0
  201. package/dist/src/ui/commands/terminalSetupCommand.js +41 -0
  202. package/dist/src/ui/commands/terminalSetupCommand.js.map +1 -0
  203. package/dist/src/ui/commands/themeCommand.d.ts +7 -0
  204. package/dist/src/ui/commands/themeCommand.js +16 -0
  205. package/dist/src/ui/commands/themeCommand.js.map +1 -0
  206. package/dist/src/ui/commands/toolsCommand.d.ts +7 -0
  207. package/dist/src/ui/commands/toolsCommand.js +56 -0
  208. package/dist/src/ui/commands/toolsCommand.js.map +1 -0
  209. package/dist/src/ui/commands/types.d.ts +154 -0
  210. package/dist/src/ui/commands/types.js +12 -0
  211. package/dist/src/ui/commands/types.js.map +1 -0
  212. package/dist/src/ui/commands/ums/umsInitCommand.d.ts +7 -0
  213. package/dist/src/ui/commands/ums/umsInitCommand.js +1067 -0
  214. package/dist/src/ui/commands/ums/umsInitCommand.js.map +1 -0
  215. package/dist/src/ui/commands/vimCommand.d.ts +7 -0
  216. package/dist/src/ui/commands/vimCommand.js +23 -0
  217. package/dist/src/ui/commands/vimCommand.js.map +1 -0
  218. package/dist/src/ui/components/AboutBox.d.ts +17 -0
  219. package/dist/src/ui/components/AboutBox.js +6 -0
  220. package/dist/src/ui/components/AboutBox.js.map +1 -0
  221. package/dist/src/ui/components/AsciiArt.d.ts +8 -0
  222. package/dist/src/ui/components/AsciiArt.js +30 -0
  223. package/dist/src/ui/components/AsciiArt.js.map +1 -0
  224. package/dist/src/ui/components/AuthDialog.d.ts +15 -0
  225. package/dist/src/ui/components/AuthDialog.js +164 -0
  226. package/dist/src/ui/components/AuthDialog.js.map +1 -0
  227. package/dist/src/ui/components/AuthDialog.test.d.ts +6 -0
  228. package/dist/src/ui/components/AuthDialog.test.js +220 -0
  229. package/dist/src/ui/components/AuthDialog.test.js.map +1 -0
  230. package/dist/src/ui/components/AuthInProgress.d.ts +11 -0
  231. package/dist/src/ui/components/AuthInProgress.js +28 -0
  232. package/dist/src/ui/components/AuthInProgress.js.map +1 -0
  233. package/dist/src/ui/components/AutoAcceptIndicator.d.ts +12 -0
  234. package/dist/src/ui/components/AutoAcceptIndicator.js +26 -0
  235. package/dist/src/ui/components/AutoAcceptIndicator.js.map +1 -0
  236. package/dist/src/ui/components/ConsoleSummaryDisplay.d.ts +11 -0
  237. package/dist/src/ui/components/ConsoleSummaryDisplay.js +11 -0
  238. package/dist/src/ui/components/ConsoleSummaryDisplay.js.map +1 -0
  239. package/dist/src/ui/components/ContextSummaryDisplay.d.ts +20 -0
  240. package/dist/src/ui/components/ContextSummaryDisplay.js +65 -0
  241. package/dist/src/ui/components/ContextSummaryDisplay.js.map +1 -0
  242. package/dist/src/ui/components/ContextUsageDisplay.d.ts +9 -0
  243. package/dist/src/ui/components/ContextUsageDisplay.js +14 -0
  244. package/dist/src/ui/components/ContextUsageDisplay.js.map +1 -0
  245. package/dist/src/ui/components/DebugProfiler.d.ts +6 -0
  246. package/dist/src/ui/components/DebugProfiler.js +27 -0
  247. package/dist/src/ui/components/DebugProfiler.js.map +1 -0
  248. package/dist/src/ui/components/DetailedMessagesDisplay.d.ts +14 -0
  249. package/dist/src/ui/components/DetailedMessagesDisplay.js +34 -0
  250. package/dist/src/ui/components/DetailedMessagesDisplay.js.map +1 -0
  251. package/dist/src/ui/components/EditorSettingsDialog.d.ts +15 -0
  252. package/dist/src/ui/components/EditorSettingsDialog.js +74 -0
  253. package/dist/src/ui/components/EditorSettingsDialog.js.map +1 -0
  254. package/dist/src/ui/components/FolderTrustDialog.d.ts +16 -0
  255. package/dist/src/ui/components/FolderTrustDialog.js +39 -0
  256. package/dist/src/ui/components/FolderTrustDialog.js.map +1 -0
  257. package/dist/src/ui/components/FolderTrustDialog.test.d.ts +6 -0
  258. package/dist/src/ui/components/FolderTrustDialog.test.js +26 -0
  259. package/dist/src/ui/components/FolderTrustDialog.test.js.map +1 -0
  260. package/dist/src/ui/components/Footer.d.ts +23 -0
  261. package/dist/src/ui/components/Footer.js +25 -0
  262. package/dist/src/ui/components/Footer.js.map +1 -0
  263. package/dist/src/ui/components/GeminiRespondingSpinner.d.ts +17 -0
  264. package/dist/src/ui/components/GeminiRespondingSpinner.js +16 -0
  265. package/dist/src/ui/components/GeminiRespondingSpinner.js.map +1 -0
  266. package/dist/src/ui/components/Header.d.ts +13 -0
  267. package/dist/src/ui/components/Header.js +28 -0
  268. package/dist/src/ui/components/Header.js.map +1 -0
  269. package/dist/src/ui/components/Header.test.d.ts +6 -0
  270. package/dist/src/ui/components/Header.test.js +37 -0
  271. package/dist/src/ui/components/Header.test.js.map +1 -0
  272. package/dist/src/ui/components/Help.d.ts +12 -0
  273. package/dist/src/ui/components/Help.js +10 -0
  274. package/dist/src/ui/components/Help.js.map +1 -0
  275. package/dist/src/ui/components/HistoryItemDisplay.d.ts +20 -0
  276. package/dist/src/ui/components/HistoryItemDisplay.js +19 -0
  277. package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -0
  278. package/dist/src/ui/components/HistoryItemDisplay.test.d.ts +6 -0
  279. package/dist/src/ui/components/HistoryItemDisplay.test.js +91 -0
  280. package/dist/src/ui/components/HistoryItemDisplay.test.js.map +1 -0
  281. package/dist/src/ui/components/InputPrompt.d.ts +28 -0
  282. package/dist/src/ui/components/InputPrompt.js +441 -0
  283. package/dist/src/ui/components/InputPrompt.js.map +1 -0
  284. package/dist/src/ui/components/LoadingIndicator.d.ts +15 -0
  285. package/dist/src/ui/components/LoadingIndicator.js +25 -0
  286. package/dist/src/ui/components/LoadingIndicator.js.map +1 -0
  287. package/dist/src/ui/components/LoadingIndicator.test.d.ts +6 -0
  288. package/dist/src/ui/components/LoadingIndicator.test.js +190 -0
  289. package/dist/src/ui/components/LoadingIndicator.test.js.map +1 -0
  290. package/dist/src/ui/components/MemoryUsageDisplay.d.ts +7 -0
  291. package/dist/src/ui/components/MemoryUsageDisplay.js +27 -0
  292. package/dist/src/ui/components/MemoryUsageDisplay.js.map +1 -0
  293. package/dist/src/ui/components/ModelStatsDisplay.d.ts +7 -0
  294. package/dist/src/ui/components/ModelStatsDisplay.js +33 -0
  295. package/dist/src/ui/components/ModelStatsDisplay.js.map +1 -0
  296. package/dist/src/ui/components/OpenAIKeyPrompt.d.ts +12 -0
  297. package/dist/src/ui/components/OpenAIKeyPrompt.js +118 -0
  298. package/dist/src/ui/components/OpenAIKeyPrompt.js.map +1 -0
  299. package/dist/src/ui/components/OpenAIKeyPrompt.test.d.ts +6 -0
  300. package/dist/src/ui/components/OpenAIKeyPrompt.test.js +44 -0
  301. package/dist/src/ui/components/OpenAIKeyPrompt.test.js.map +1 -0
  302. package/dist/src/ui/components/PrepareLabel.d.ts +15 -0
  303. package/dist/src/ui/components/PrepareLabel.js +16 -0
  304. package/dist/src/ui/components/PrepareLabel.js.map +1 -0
  305. package/dist/src/ui/components/QuitConfirmationDialog.d.ts +17 -0
  306. package/dist/src/ui/components/QuitConfirmationDialog.js +44 -0
  307. package/dist/src/ui/components/QuitConfirmationDialog.js.map +1 -0
  308. package/dist/src/ui/components/QwenOAuthProgress.d.ts +16 -0
  309. package/dist/src/ui/components/QwenOAuthProgress.js +108 -0
  310. package/dist/src/ui/components/QwenOAuthProgress.js.map +1 -0
  311. package/dist/src/ui/components/QwenOAuthProgress.test.d.ts +6 -0
  312. package/dist/src/ui/components/QwenOAuthProgress.test.js +292 -0
  313. package/dist/src/ui/components/QwenOAuthProgress.test.js.map +1 -0
  314. package/dist/src/ui/components/SessionSummaryDisplay.d.ts +11 -0
  315. package/dist/src/ui/components/SessionSummaryDisplay.js +4 -0
  316. package/dist/src/ui/components/SessionSummaryDisplay.js.map +1 -0
  317. package/dist/src/ui/components/SettingsDialog.d.ts +14 -0
  318. package/dist/src/ui/components/SettingsDialog.js +519 -0
  319. package/dist/src/ui/components/SettingsDialog.js.map +1 -0
  320. package/dist/src/ui/components/SettingsDialog.test.d.ts +6 -0
  321. package/dist/src/ui/components/SettingsDialog.test.js +568 -0
  322. package/dist/src/ui/components/SettingsDialog.test.js.map +1 -0
  323. package/dist/src/ui/components/ShellConfirmationDialog.d.ts +15 -0
  324. package/dist/src/ui/components/ShellConfirmationDialog.js +46 -0
  325. package/dist/src/ui/components/ShellConfirmationDialog.js.map +1 -0
  326. package/dist/src/ui/components/ShellConfirmationDialog.test.d.ts +6 -0
  327. package/dist/src/ui/components/ShellConfirmationDialog.test.js +40 -0
  328. package/dist/src/ui/components/ShellConfirmationDialog.test.js.map +1 -0
  329. package/dist/src/ui/components/ShellModeIndicator.d.ts +7 -0
  330. package/dist/src/ui/components/ShellModeIndicator.js +5 -0
  331. package/dist/src/ui/components/ShellModeIndicator.js.map +1 -0
  332. package/dist/src/ui/components/ShowMoreLines.d.ts +10 -0
  333. package/dist/src/ui/components/ShowMoreLines.js +24 -0
  334. package/dist/src/ui/components/ShowMoreLines.js.map +1 -0
  335. package/dist/src/ui/components/StatsDisplay.d.ts +12 -0
  336. package/dist/src/ui/components/StatsDisplay.js +43 -0
  337. package/dist/src/ui/components/StatsDisplay.js.map +1 -0
  338. package/dist/src/ui/components/SuggestionsDisplay.d.ts +22 -0
  339. package/dist/src/ui/components/SuggestionsDisplay.js +32 -0
  340. package/dist/src/ui/components/SuggestionsDisplay.js.map +1 -0
  341. package/dist/src/ui/components/ThemeDialog.d.ts +19 -0
  342. package/dist/src/ui/components/ThemeDialog.js +143 -0
  343. package/dist/src/ui/components/ThemeDialog.js.map +1 -0
  344. package/dist/src/ui/components/Tips.d.ts +12 -0
  345. package/dist/src/ui/components/Tips.js +8 -0
  346. package/dist/src/ui/components/Tips.js.map +1 -0
  347. package/dist/src/ui/components/TodoDisplay.d.ts +16 -0
  348. package/dist/src/ui/components/TodoDisplay.js +27 -0
  349. package/dist/src/ui/components/TodoDisplay.js.map +1 -0
  350. package/dist/src/ui/components/TodoDisplay.test.d.ts +6 -0
  351. package/dist/src/ui/components/TodoDisplay.test.js +77 -0
  352. package/dist/src/ui/components/TodoDisplay.test.js.map +1 -0
  353. package/dist/src/ui/components/ToolStatsDisplay.d.ts +7 -0
  354. package/dist/src/ui/components/ToolStatsDisplay.js +41 -0
  355. package/dist/src/ui/components/ToolStatsDisplay.js.map +1 -0
  356. package/dist/src/ui/components/UpdateNotification.d.ts +10 -0
  357. package/dist/src/ui/components/UpdateNotification.js +10 -0
  358. package/dist/src/ui/components/UpdateNotification.js.map +1 -0
  359. package/dist/src/ui/components/WelcomeBackDialog.d.ts +13 -0
  360. package/dist/src/ui/components/WelcomeBackDialog.js +31 -0
  361. package/dist/src/ui/components/WelcomeBackDialog.js.map +1 -0
  362. package/dist/src/ui/components/messages/CompressionMessage.d.ts +11 -0
  363. package/dist/src/ui/components/messages/CompressionMessage.js +16 -0
  364. package/dist/src/ui/components/messages/CompressionMessage.js.map +1 -0
  365. package/dist/src/ui/components/messages/DiffRenderer.d.ts +16 -0
  366. package/dist/src/ui/components/messages/DiffRenderer.js +222 -0
  367. package/dist/src/ui/components/messages/DiffRenderer.js.map +1 -0
  368. package/dist/src/ui/components/messages/DiffRenderer.test.d.ts +6 -0
  369. package/dist/src/ui/components/messages/DiffRenderer.test.js +239 -0
  370. package/dist/src/ui/components/messages/DiffRenderer.test.js.map +1 -0
  371. package/dist/src/ui/components/messages/ErrorMessage.d.ts +11 -0
  372. package/dist/src/ui/components/messages/ErrorMessage.js +9 -0
  373. package/dist/src/ui/components/messages/ErrorMessage.js.map +1 -0
  374. package/dist/src/ui/components/messages/GeminiMessage.d.ts +14 -0
  375. package/dist/src/ui/components/messages/GeminiMessage.js +10 -0
  376. package/dist/src/ui/components/messages/GeminiMessage.js.map +1 -0
  377. package/dist/src/ui/components/messages/GeminiMessageContent.d.ts +14 -0
  378. package/dist/src/ui/components/messages/GeminiMessageContent.js +15 -0
  379. package/dist/src/ui/components/messages/GeminiMessageContent.js.map +1 -0
  380. package/dist/src/ui/components/messages/InfoMessage.d.ts +11 -0
  381. package/dist/src/ui/components/messages/InfoMessage.js +14 -0
  382. package/dist/src/ui/components/messages/InfoMessage.js.map +1 -0
  383. package/dist/src/ui/components/messages/SummaryMessage.d.ts +11 -0
  384. package/dist/src/ui/components/messages/SummaryMessage.js +35 -0
  385. package/dist/src/ui/components/messages/SummaryMessage.js.map +1 -0
  386. package/dist/src/ui/components/messages/ToolConfirmationMessage.d.ts +15 -0
  387. package/dist/src/ui/components/messages/ToolConfirmationMessage.js +145 -0
  388. package/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -0
  389. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.d.ts +6 -0
  390. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +37 -0
  391. package/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -0
  392. package/dist/src/ui/components/messages/ToolGroupMessage.d.ts +18 -0
  393. package/dist/src/ui/components/messages/ToolGroupMessage.js +55 -0
  394. package/dist/src/ui/components/messages/ToolGroupMessage.js.map +1 -0
  395. package/dist/src/ui/components/messages/ToolMessage.d.ts +15 -0
  396. package/dist/src/ui/components/messages/ToolMessage.js +126 -0
  397. package/dist/src/ui/components/messages/ToolMessage.js.map +1 -0
  398. package/dist/src/ui/components/messages/ToolMessage.test.d.ts +6 -0
  399. package/dist/src/ui/components/messages/ToolMessage.test.js +146 -0
  400. package/dist/src/ui/components/messages/ToolMessage.test.js.map +1 -0
  401. package/dist/src/ui/components/messages/UserMessage.d.ts +11 -0
  402. package/dist/src/ui/components/messages/UserMessage.js +12 -0
  403. package/dist/src/ui/components/messages/UserMessage.js.map +1 -0
  404. package/dist/src/ui/components/messages/UserShellMessage.d.ts +11 -0
  405. package/dist/src/ui/components/messages/UserShellMessage.js +9 -0
  406. package/dist/src/ui/components/messages/UserShellMessage.js.map +1 -0
  407. package/dist/src/ui/components/shared/MaxSizedBox.d.ts +61 -0
  408. package/dist/src/ui/components/shared/MaxSizedBox.js +451 -0
  409. package/dist/src/ui/components/shared/MaxSizedBox.js.map +1 -0
  410. package/dist/src/ui/components/shared/MaxSizedBox.test.d.ts +6 -0
  411. package/dist/src/ui/components/shared/MaxSizedBox.test.js +154 -0
  412. package/dist/src/ui/components/shared/MaxSizedBox.test.js.map +1 -0
  413. package/dist/src/ui/components/shared/RadioButtonSelect.d.ts +46 -0
  414. package/dist/src/ui/components/shared/RadioButtonSelect.js +121 -0
  415. package/dist/src/ui/components/shared/RadioButtonSelect.js.map +1 -0
  416. package/dist/src/ui/components/shared/RadioButtonSelect.test.d.ts +6 -0
  417. package/dist/src/ui/components/shared/RadioButtonSelect.test.js +111 -0
  418. package/dist/src/ui/components/shared/RadioButtonSelect.test.js.map +1 -0
  419. package/dist/src/ui/components/shared/TextInput.d.ts +16 -0
  420. package/dist/src/ui/components/shared/TextInput.js +127 -0
  421. package/dist/src/ui/components/shared/TextInput.js.map +1 -0
  422. package/dist/src/ui/components/shared/text-buffer.d.ts +467 -0
  423. package/dist/src/ui/components/shared/text-buffer.js +1533 -0
  424. package/dist/src/ui/components/shared/text-buffer.js.map +1 -0
  425. package/dist/src/ui/components/shared/vim-buffer-actions.d.ts +72 -0
  426. package/dist/src/ui/components/shared/vim-buffer-actions.js +552 -0
  427. package/dist/src/ui/components/shared/vim-buffer-actions.js.map +1 -0
  428. package/dist/src/ui/components/subagents/constants.d.ts +23 -0
  429. package/dist/src/ui/components/subagents/constants.js +67 -0
  430. package/dist/src/ui/components/subagents/constants.js.map +1 -0
  431. package/dist/src/ui/components/subagents/create/AgentCreationWizard.d.ts +15 -0
  432. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js +171 -0
  433. package/dist/src/ui/components/subagents/create/AgentCreationWizard.js.map +1 -0
  434. package/dist/src/ui/components/subagents/create/ColorSelector.d.ts +15 -0
  435. package/dist/src/ui/components/subagents/create/ColorSelector.js +41 -0
  436. package/dist/src/ui/components/subagents/create/ColorSelector.js.map +1 -0
  437. package/dist/src/ui/components/subagents/create/CreationSummary.d.ts +10 -0
  438. package/dist/src/ui/components/subagents/create/CreationSummary.js +163 -0
  439. package/dist/src/ui/components/subagents/create/CreationSummary.js.map +1 -0
  440. package/dist/src/ui/components/subagents/create/DescriptionInput.d.ts +10 -0
  441. package/dist/src/ui/components/subagents/create/DescriptionInput.js +105 -0
  442. package/dist/src/ui/components/subagents/create/DescriptionInput.js.map +1 -0
  443. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.d.ts +10 -0
  444. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js +33 -0
  445. package/dist/src/ui/components/subagents/create/GenerationMethodSelector.js.map +1 -0
  446. package/dist/src/ui/components/subagents/create/LocationSelector.d.ts +10 -0
  447. package/dist/src/ui/components/subagents/create/LocationSelector.js +33 -0
  448. package/dist/src/ui/components/subagents/create/LocationSelector.js.map +1 -0
  449. package/dist/src/ui/components/subagents/create/TextEntryStep.d.ts +26 -0
  450. package/dist/src/ui/components/subagents/create/TextEntryStep.js +28 -0
  451. package/dist/src/ui/components/subagents/create/TextEntryStep.js.map +1 -0
  452. package/dist/src/ui/components/subagents/create/ToolSelector.d.ts +16 -0
  453. package/dist/src/ui/components/subagents/create/ToolSelector.js +143 -0
  454. package/dist/src/ui/components/subagents/create/ToolSelector.js.map +1 -0
  455. package/dist/src/ui/components/subagents/index.d.ts +8 -0
  456. package/dist/src/ui/components/subagents/index.js +12 -0
  457. package/dist/src/ui/components/subagents/index.js.map +1 -0
  458. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.d.ts +13 -0
  459. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js +45 -0
  460. package/dist/src/ui/components/subagents/manage/ActionSelectionStep.js.map +1 -0
  461. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.d.ts +13 -0
  462. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js +32 -0
  463. package/dist/src/ui/components/subagents/manage/AgentDeleteStep.js.map +1 -0
  464. package/dist/src/ui/components/subagents/manage/AgentEditStep.d.ts +15 -0
  465. package/dist/src/ui/components/subagents/manage/AgentEditStep.js +62 -0
  466. package/dist/src/ui/components/subagents/manage/AgentEditStep.js.map +1 -0
  467. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.d.ts +12 -0
  468. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js +224 -0
  469. package/dist/src/ui/components/subagents/manage/AgentSelectionStep.js.map +1 -0
  470. package/dist/src/ui/components/subagents/manage/AgentViewerStep.d.ts +11 -0
  471. package/dist/src/ui/components/subagents/manage/AgentViewerStep.js +18 -0
  472. package/dist/src/ui/components/subagents/manage/AgentViewerStep.js.map +1 -0
  473. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.d.ts +15 -0
  474. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js +220 -0
  475. package/dist/src/ui/components/subagents/manage/AgentsManagerDialog.js.map +1 -0
  476. package/dist/src/ui/components/subagents/reducers.d.ts +14 -0
  477. package/dist/src/ui/components/subagents/reducers.js +161 -0
  478. package/dist/src/ui/components/subagents/reducers.js.map +1 -0
  479. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.d.ts +19 -0
  480. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js +184 -0
  481. package/dist/src/ui/components/subagents/runtime/AgentExecutionDisplay.js.map +1 -0
  482. package/dist/src/ui/components/subagents/types.d.ts +137 -0
  483. package/dist/src/ui/components/subagents/types.js +15 -0
  484. package/dist/src/ui/components/subagents/types.js.map +1 -0
  485. package/dist/src/ui/components/subagents/utils.d.ts +15 -0
  486. package/dist/src/ui/components/subagents/utils.js +79 -0
  487. package/dist/src/ui/components/subagents/utils.js.map +1 -0
  488. package/dist/src/ui/components/ums/UMSKeyPrompt.d.ts +12 -0
  489. package/dist/src/ui/components/ums/UMSKeyPrompt.js +119 -0
  490. package/dist/src/ui/components/ums/UMSKeyPrompt.js.map +1 -0
  491. package/dist/src/ui/components/ums/useUMSAuth.d.ts +20 -0
  492. package/dist/src/ui/components/ums/useUMSAuth.js +78 -0
  493. package/dist/src/ui/components/ums/useUMSAuth.js.map +1 -0
  494. package/dist/src/ui/constants.d.ts +9 -0
  495. package/dist/src/ui/constants.js +13 -0
  496. package/dist/src/ui/constants.js.map +1 -0
  497. package/dist/src/ui/contexts/KeypressContext.d.ts +31 -0
  498. package/dist/src/ui/contexts/KeypressContext.js +388 -0
  499. package/dist/src/ui/contexts/KeypressContext.js.map +1 -0
  500. package/dist/src/ui/contexts/KeypressContext.test.d.ts +6 -0
  501. package/dist/src/ui/contexts/KeypressContext.test.js +754 -0
  502. package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -0
  503. package/dist/src/ui/contexts/OverflowContext.d.ts +19 -0
  504. package/dist/src/ui/contexts/OverflowContext.js +43 -0
  505. package/dist/src/ui/contexts/OverflowContext.js.map +1 -0
  506. package/dist/src/ui/contexts/SessionContext.d.ts +39 -0
  507. package/dist/src/ui/contexts/SessionContext.js +60 -0
  508. package/dist/src/ui/contexts/SessionContext.js.map +1 -0
  509. package/dist/src/ui/contexts/SettingsContext.d.ts +9 -0
  510. package/dist/src/ui/contexts/SettingsContext.js +15 -0
  511. package/dist/src/ui/contexts/SettingsContext.js.map +1 -0
  512. package/dist/src/ui/contexts/StreamingContext.d.ts +9 -0
  513. package/dist/src/ui/contexts/StreamingContext.js +15 -0
  514. package/dist/src/ui/contexts/StreamingContext.js.map +1 -0
  515. package/dist/src/ui/contexts/VimModeContext.d.ts +19 -0
  516. package/dist/src/ui/contexts/VimModeContext.js +48 -0
  517. package/dist/src/ui/contexts/VimModeContext.js.map +1 -0
  518. package/dist/src/ui/editors/editorSettingsManager.d.ts +19 -0
  519. package/dist/src/ui/editors/editorSettingsManager.js +47 -0
  520. package/dist/src/ui/editors/editorSettingsManager.js.map +1 -0
  521. package/dist/src/ui/hooks/atCommandProcessor.d.ts +31 -0
  522. package/dist/src/ui/hooks/atCommandProcessor.js +365 -0
  523. package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -0
  524. package/dist/src/ui/hooks/atCommandProcessor.test.d.ts +6 -0
  525. package/dist/src/ui/hooks/atCommandProcessor.test.js +824 -0
  526. package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -0
  527. package/dist/src/ui/hooks/shellCommandProcessor.d.ts +17 -0
  528. package/dist/src/ui/hooks/shellCommandProcessor.js +233 -0
  529. package/dist/src/ui/hooks/shellCommandProcessor.js.map +1 -0
  530. package/dist/src/ui/hooks/shellCommandProcessor.test.d.ts +6 -0
  531. package/dist/src/ui/hooks/shellCommandProcessor.test.js +328 -0
  532. package/dist/src/ui/hooks/shellCommandProcessor.test.js.map +1 -0
  533. package/dist/src/ui/hooks/slashCommandProcessor.d.ts +32 -0
  534. package/dist/src/ui/hooks/slashCommandProcessor.js +561 -0
  535. package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -0
  536. package/dist/src/ui/hooks/useAgentsManagerDialog.d.ts +11 -0
  537. package/dist/src/ui/hooks/useAgentsManagerDialog.js +21 -0
  538. package/dist/src/ui/hooks/useAgentsManagerDialog.js.map +1 -0
  539. package/dist/src/ui/hooks/useAtCompletion.d.ts +23 -0
  540. package/dist/src/ui/hooks/useAtCompletion.js +178 -0
  541. package/dist/src/ui/hooks/useAtCompletion.js.map +1 -0
  542. package/dist/src/ui/hooks/useAuthCommand.d.ts +14 -0
  543. package/dist/src/ui/hooks/useAuthCommand.js +65 -0
  544. package/dist/src/ui/hooks/useAuthCommand.js.map +1 -0
  545. package/dist/src/ui/hooks/useAutoAcceptIndicator.d.ts +10 -0
  546. package/dist/src/ui/hooks/useAutoAcceptIndicator.js +37 -0
  547. package/dist/src/ui/hooks/useAutoAcceptIndicator.js.map +1 -0
  548. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.d.ts +6 -0
  549. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js +191 -0
  550. package/dist/src/ui/hooks/useAutoAcceptIndicator.test.js.map +1 -0
  551. package/dist/src/ui/hooks/useBracketedPaste.d.ts +12 -0
  552. package/dist/src/ui/hooks/useBracketedPaste.js +32 -0
  553. package/dist/src/ui/hooks/useBracketedPaste.js.map +1 -0
  554. package/dist/src/ui/hooks/useCommandCompletion.d.ts +29 -0
  555. package/dist/src/ui/hooks/useCommandCompletion.js +165 -0
  556. package/dist/src/ui/hooks/useCommandCompletion.js.map +1 -0
  557. package/dist/src/ui/hooks/useCompletion.d.ts +24 -0
  558. package/dist/src/ui/hooks/useCompletion.js +88 -0
  559. package/dist/src/ui/hooks/useCompletion.js.map +1 -0
  560. package/dist/src/ui/hooks/useConsoleMessages.d.ts +12 -0
  561. package/dist/src/ui/hooks/useConsoleMessages.js +76 -0
  562. package/dist/src/ui/hooks/useConsoleMessages.js.map +1 -0
  563. package/dist/src/ui/hooks/useDialogClose.d.ts +34 -0
  564. package/dist/src/ui/hooks/useDialogClose.js +62 -0
  565. package/dist/src/ui/hooks/useDialogClose.js.map +1 -0
  566. package/dist/src/ui/hooks/useEditorSettings.d.ts +16 -0
  567. package/dist/src/ui/hooks/useEditorSettings.js +43 -0
  568. package/dist/src/ui/hooks/useEditorSettings.js.map +1 -0
  569. package/dist/src/ui/hooks/useEditorSettings.test.d.ts +6 -0
  570. package/dist/src/ui/hooks/useEditorSettings.test.js +164 -0
  571. package/dist/src/ui/hooks/useEditorSettings.test.js.map +1 -0
  572. package/dist/src/ui/hooks/useFocus.d.ts +10 -0
  573. package/dist/src/ui/hooks/useFocus.js +41 -0
  574. package/dist/src/ui/hooks/useFocus.js.map +1 -0
  575. package/dist/src/ui/hooks/useFolderTrust.d.ts +12 -0
  576. package/dist/src/ui/hooks/useFolderTrust.js +55 -0
  577. package/dist/src/ui/hooks/useFolderTrust.js.map +1 -0
  578. package/dist/src/ui/hooks/useGeminiStream.d.ts +24 -0
  579. package/dist/src/ui/hooks/useGeminiStream.js +692 -0
  580. package/dist/src/ui/hooks/useGeminiStream.js.map +1 -0
  581. package/dist/src/ui/hooks/useGitBranchName.d.ts +6 -0
  582. package/dist/src/ui/hooks/useGitBranchName.js +61 -0
  583. package/dist/src/ui/hooks/useGitBranchName.js.map +1 -0
  584. package/dist/src/ui/hooks/useGitBranchName.test.d.ts +6 -0
  585. package/dist/src/ui/hooks/useGitBranchName.test.js +239 -0
  586. package/dist/src/ui/hooks/useGitBranchName.test.js.map +1 -0
  587. package/dist/src/ui/hooks/useHistoryManager.d.ts +22 -0
  588. package/dist/src/ui/hooks/useHistoryManager.js +72 -0
  589. package/dist/src/ui/hooks/useHistoryManager.js.map +1 -0
  590. package/dist/src/ui/hooks/useHistoryManager.test.d.ts +6 -0
  591. package/dist/src/ui/hooks/useHistoryManager.test.js +171 -0
  592. package/dist/src/ui/hooks/useHistoryManager.test.js.map +1 -0
  593. package/dist/src/ui/hooks/useInputHistory.d.ts +19 -0
  594. package/dist/src/ui/hooks/useInputHistory.js +84 -0
  595. package/dist/src/ui/hooks/useInputHistory.js.map +1 -0
  596. package/dist/src/ui/hooks/useInputHistory.test.d.ts +6 -0
  597. package/dist/src/ui/hooks/useInputHistory.test.js +207 -0
  598. package/dist/src/ui/hooks/useInputHistory.test.js.map +1 -0
  599. package/dist/src/ui/hooks/useKeypress.d.ts +17 -0
  600. package/dist/src/ui/hooks/useKeypress.js +27 -0
  601. package/dist/src/ui/hooks/useKeypress.js.map +1 -0
  602. package/dist/src/ui/hooks/useKittyKeyboardProtocol.d.ts +15 -0
  603. package/dist/src/ui/hooks/useKittyKeyboardProtocol.js +20 -0
  604. package/dist/src/ui/hooks/useKittyKeyboardProtocol.js.map +1 -0
  605. package/dist/src/ui/hooks/useLaunchEditor.d.ts +10 -0
  606. package/dist/src/ui/hooks/useLaunchEditor.js +70 -0
  607. package/dist/src/ui/hooks/useLaunchEditor.js.map +1 -0
  608. package/dist/src/ui/hooks/useLoadingIndicator.d.ts +10 -0
  609. package/dist/src/ui/hooks/useLoadingIndicator.js +44 -0
  610. package/dist/src/ui/hooks/useLoadingIndicator.js.map +1 -0
  611. package/dist/src/ui/hooks/useLoadingIndicator.test.d.ts +6 -0
  612. package/dist/src/ui/hooks/useLoadingIndicator.test.js +91 -0
  613. package/dist/src/ui/hooks/useLoadingIndicator.test.js.map +1 -0
  614. package/dist/src/ui/hooks/useLogger.d.ts +10 -0
  615. package/dist/src/ui/hooks/useLogger.js +29 -0
  616. package/dist/src/ui/hooks/useLogger.js.map +1 -0
  617. package/dist/src/ui/hooks/useMessageQueue.d.ts +22 -0
  618. package/dist/src/ui/hooks/useMessageQueue.js +49 -0
  619. package/dist/src/ui/hooks/useMessageQueue.js.map +1 -0
  620. package/dist/src/ui/hooks/useMessageQueue.test.d.ts +6 -0
  621. package/dist/src/ui/hooks/useMessageQueue.test.js +158 -0
  622. package/dist/src/ui/hooks/useMessageQueue.test.js.map +1 -0
  623. package/dist/src/ui/hooks/usePhraseCycler.d.ts +14 -0
  624. package/dist/src/ui/hooks/usePhraseCycler.js +187 -0
  625. package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -0
  626. package/dist/src/ui/hooks/usePrivacySettings.d.ts +16 -0
  627. package/dist/src/ui/hooks/usePrivacySettings.js +119 -0
  628. package/dist/src/ui/hooks/usePrivacySettings.js.map +1 -0
  629. package/dist/src/ui/hooks/usePrivacySettings.test.d.ts +6 -0
  630. package/dist/src/ui/hooks/usePrivacySettings.test.js +154 -0
  631. package/dist/src/ui/hooks/usePrivacySettings.test.js.map +1 -0
  632. package/dist/src/ui/hooks/useQuitConfirmation.d.ts +14 -0
  633. package/dist/src/ui/hooks/useQuitConfirmation.js +36 -0
  634. package/dist/src/ui/hooks/useQuitConfirmation.js.map +1 -0
  635. package/dist/src/ui/hooks/useQwenAuth.d.ts +20 -0
  636. package/dist/src/ui/hooks/useQwenAuth.js +78 -0
  637. package/dist/src/ui/hooks/useQwenAuth.js.map +1 -0
  638. package/dist/src/ui/hooks/useQwenAuth.test.d.ts +6 -0
  639. package/dist/src/ui/hooks/useQwenAuth.test.js +288 -0
  640. package/dist/src/ui/hooks/useQwenAuth.test.js.map +1 -0
  641. package/dist/src/ui/hooks/useReactToolScheduler.d.ts +33 -0
  642. package/dist/src/ui/hooks/useReactToolScheduler.js +187 -0
  643. package/dist/src/ui/hooks/useReactToolScheduler.js.map +1 -0
  644. package/dist/src/ui/hooks/useRefreshMemoryCommand.d.ts +6 -0
  645. package/dist/src/ui/hooks/useRefreshMemoryCommand.js +7 -0
  646. package/dist/src/ui/hooks/useRefreshMemoryCommand.js.map +1 -0
  647. package/dist/src/ui/hooks/useReverseSearchCompletion.d.ts +19 -0
  648. package/dist/src/ui/hooks/useReverseSearchCompletion.js +56 -0
  649. package/dist/src/ui/hooks/useReverseSearchCompletion.js.map +1 -0
  650. package/dist/src/ui/hooks/useReverseSearchCompletion.test.d.ts +6 -0
  651. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js +163 -0
  652. package/dist/src/ui/hooks/useReverseSearchCompletion.test.js.map +1 -0
  653. package/dist/src/ui/hooks/useSettingsCommand.d.ts +10 -0
  654. package/dist/src/ui/hooks/useSettingsCommand.js +21 -0
  655. package/dist/src/ui/hooks/useSettingsCommand.js.map +1 -0
  656. package/dist/src/ui/hooks/useShellHistory.d.ts +13 -0
  657. package/dist/src/ui/hooks/useShellHistory.js +112 -0
  658. package/dist/src/ui/hooks/useShellHistory.js.map +1 -0
  659. package/dist/src/ui/hooks/useShellHistory.test.d.ts +6 -0
  660. package/dist/src/ui/hooks/useShellHistory.test.js +162 -0
  661. package/dist/src/ui/hooks/useShellHistory.test.js.map +1 -0
  662. package/dist/src/ui/hooks/useShowMemoryCommand.d.ts +9 -0
  663. package/dist/src/ui/hooks/useShowMemoryCommand.js +58 -0
  664. package/dist/src/ui/hooks/useShowMemoryCommand.js.map +1 -0
  665. package/dist/src/ui/hooks/useSlashCompletion.d.ts +20 -0
  666. package/dist/src/ui/hooks/useSlashCompletion.js +135 -0
  667. package/dist/src/ui/hooks/useSlashCompletion.js.map +1 -0
  668. package/dist/src/ui/hooks/useSlashCompletion.test.d.ts +6 -0
  669. package/dist/src/ui/hooks/useSlashCompletion.test.js +272 -0
  670. package/dist/src/ui/hooks/useSlashCompletion.test.js.map +1 -0
  671. package/dist/src/ui/hooks/useStateAndRef.d.ts +7 -0
  672. package/dist/src/ui/hooks/useStateAndRef.js +26 -0
  673. package/dist/src/ui/hooks/useStateAndRef.js.map +1 -0
  674. package/dist/src/ui/hooks/useSubagentCreateDialog.d.ts +10 -0
  675. package/dist/src/ui/hooks/useSubagentCreateDialog.js +21 -0
  676. package/dist/src/ui/hooks/useSubagentCreateDialog.js.map +1 -0
  677. package/dist/src/ui/hooks/useTerminalSize.d.ts +9 -0
  678. package/dist/src/ui/hooks/useTerminalSize.js +27 -0
  679. package/dist/src/ui/hooks/useTerminalSize.js.map +1 -0
  680. package/dist/src/ui/hooks/useThemeCommand.d.ts +15 -0
  681. package/dist/src/ui/hooks/useThemeCommand.js +79 -0
  682. package/dist/src/ui/hooks/useThemeCommand.js.map +1 -0
  683. package/dist/src/ui/hooks/useTimer.d.ts +12 -0
  684. package/dist/src/ui/hooks/useTimer.js +58 -0
  685. package/dist/src/ui/hooks/useTimer.js.map +1 -0
  686. package/dist/src/ui/hooks/useTimer.test.d.ts +6 -0
  687. package/dist/src/ui/hooks/useTimer.test.js +90 -0
  688. package/dist/src/ui/hooks/useTimer.test.js.map +1 -0
  689. package/dist/src/ui/hooks/useToolScheduler.test.d.ts +6 -0
  690. package/dist/src/ui/hooks/useToolScheduler.test.js +846 -0
  691. package/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -0
  692. package/dist/src/ui/hooks/useWelcomeBack.d.ts +23 -0
  693. package/dist/src/ui/hooks/useWelcomeBack.js +78 -0
  694. package/dist/src/ui/hooks/useWelcomeBack.js.map +1 -0
  695. package/dist/src/ui/hooks/vim.d.ts +28 -0
  696. package/dist/src/ui/hooks/vim.js +639 -0
  697. package/dist/src/ui/hooks/vim.js.map +1 -0
  698. package/dist/src/ui/keyMatchers.d.ts +26 -0
  699. package/dist/src/ui/keyMatchers.js +68 -0
  700. package/dist/src/ui/keyMatchers.js.map +1 -0
  701. package/dist/src/ui/keyMatchers.test.d.ts +6 -0
  702. package/dist/src/ui/keyMatchers.test.js +276 -0
  703. package/dist/src/ui/keyMatchers.test.js.map +1 -0
  704. package/dist/src/ui/privacy/CloudFreePrivacyNotice.d.ts +12 -0
  705. package/dist/src/ui/privacy/CloudFreePrivacyNotice.js +41 -0
  706. package/dist/src/ui/privacy/CloudFreePrivacyNotice.js.map +1 -0
  707. package/dist/src/ui/privacy/CloudPaidPrivacyNotice.d.ts +10 -0
  708. package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js +18 -0
  709. package/dist/src/ui/privacy/CloudPaidPrivacyNotice.js.map +1 -0
  710. package/dist/src/ui/privacy/GeminiPrivacyNotice.d.ts +10 -0
  711. package/dist/src/ui/privacy/GeminiPrivacyNotice.js +18 -0
  712. package/dist/src/ui/privacy/GeminiPrivacyNotice.js.map +1 -0
  713. package/dist/src/ui/privacy/PrivacyNotice.d.ts +12 -0
  714. package/dist/src/ui/privacy/PrivacyNotice.js +25 -0
  715. package/dist/src/ui/privacy/PrivacyNotice.js.map +1 -0
  716. package/dist/src/ui/semantic-colors.d.ts +7 -0
  717. package/dist/src/ui/semantic-colors.js +24 -0
  718. package/dist/src/ui/semantic-colors.js.map +1 -0
  719. package/dist/src/ui/themes/ansi-light.d.ts +7 -0
  720. package/dist/src/ui/themes/ansi-light.js +142 -0
  721. package/dist/src/ui/themes/ansi-light.js.map +1 -0
  722. package/dist/src/ui/themes/ansi.d.ts +7 -0
  723. package/dist/src/ui/themes/ansi.js +152 -0
  724. package/dist/src/ui/themes/ansi.js.map +1 -0
  725. package/dist/src/ui/themes/atom-one-dark.d.ts +7 -0
  726. package/dist/src/ui/themes/atom-one-dark.js +139 -0
  727. package/dist/src/ui/themes/atom-one-dark.js.map +1 -0
  728. package/dist/src/ui/themes/ayu-light.d.ts +7 -0
  729. package/dist/src/ui/themes/ayu-light.js +131 -0
  730. package/dist/src/ui/themes/ayu-light.js.map +1 -0
  731. package/dist/src/ui/themes/ayu.d.ts +7 -0
  732. package/dist/src/ui/themes/ayu.js +105 -0
  733. package/dist/src/ui/themes/ayu.js.map +1 -0
  734. package/dist/src/ui/themes/color-utils.d.ts +21 -0
  735. package/dist/src/ui/themes/color-utils.js +221 -0
  736. package/dist/src/ui/themes/color-utils.js.map +1 -0
  737. package/dist/src/ui/themes/color-utils.test.d.ts +6 -0
  738. package/dist/src/ui/themes/color-utils.test.js +197 -0
  739. package/dist/src/ui/themes/color-utils.test.js.map +1 -0
  740. package/dist/src/ui/themes/default-light.d.ts +7 -0
  741. package/dist/src/ui/themes/default-light.js +101 -0
  742. package/dist/src/ui/themes/default-light.js.map +1 -0
  743. package/dist/src/ui/themes/default.d.ts +7 -0
  744. package/dist/src/ui/themes/default.js +144 -0
  745. package/dist/src/ui/themes/default.js.map +1 -0
  746. package/dist/src/ui/themes/dracula.d.ts +7 -0
  747. package/dist/src/ui/themes/dracula.js +116 -0
  748. package/dist/src/ui/themes/dracula.js.map +1 -0
  749. package/dist/src/ui/themes/github-dark.d.ts +7 -0
  750. package/dist/src/ui/themes/github-dark.js +139 -0
  751. package/dist/src/ui/themes/github-dark.js.map +1 -0
  752. package/dist/src/ui/themes/github-light.d.ts +7 -0
  753. package/dist/src/ui/themes/github-light.js +141 -0
  754. package/dist/src/ui/themes/github-light.js.map +1 -0
  755. package/dist/src/ui/themes/googlecode.d.ts +7 -0
  756. package/dist/src/ui/themes/googlecode.js +138 -0
  757. package/dist/src/ui/themes/googlecode.js.map +1 -0
  758. package/dist/src/ui/themes/no-color.d.ts +7 -0
  759. package/dist/src/ui/themes/no-color.js +115 -0
  760. package/dist/src/ui/themes/no-color.js.map +1 -0
  761. package/dist/src/ui/themes/qwen-dark.d.ts +7 -0
  762. package/dist/src/ui/themes/qwen-dark.js +105 -0
  763. package/dist/src/ui/themes/qwen-dark.js.map +1 -0
  764. package/dist/src/ui/themes/qwen-light.d.ts +7 -0
  765. package/dist/src/ui/themes/qwen-light.js +131 -0
  766. package/dist/src/ui/themes/qwen-light.js.map +1 -0
  767. package/dist/src/ui/themes/semantic-tokens.d.ts +37 -0
  768. package/dist/src/ui/themes/semantic-tokens.js +94 -0
  769. package/dist/src/ui/themes/semantic-tokens.js.map +1 -0
  770. package/dist/src/ui/themes/shades-of-purple.d.ts +11 -0
  771. package/dist/src/ui/themes/shades-of-purple.js +305 -0
  772. package/dist/src/ui/themes/shades-of-purple.js.map +1 -0
  773. package/dist/src/ui/themes/theme-manager.d.ts +64 -0
  774. package/dist/src/ui/themes/theme-manager.js +203 -0
  775. package/dist/src/ui/themes/theme-manager.js.map +1 -0
  776. package/dist/src/ui/themes/theme-manager.test.d.ts +6 -0
  777. package/dist/src/ui/themes/theme-manager.test.js +83 -0
  778. package/dist/src/ui/themes/theme-manager.test.js.map +1 -0
  779. package/dist/src/ui/themes/theme.d.ts +130 -0
  780. package/dist/src/ui/themes/theme.js +351 -0
  781. package/dist/src/ui/themes/theme.js.map +1 -0
  782. package/dist/src/ui/themes/xcode.d.ts +7 -0
  783. package/dist/src/ui/themes/xcode.js +146 -0
  784. package/dist/src/ui/themes/xcode.js.map +1 -0
  785. package/dist/src/ui/types.d.ts +215 -0
  786. package/dist/src/ui/types.js +46 -0
  787. package/dist/src/ui/types.js.map +1 -0
  788. package/dist/src/ui/utils/CodeColorizer.d.ts +17 -0
  789. package/dist/src/ui/utils/CodeColorizer.js +110 -0
  790. package/dist/src/ui/utils/CodeColorizer.js.map +1 -0
  791. package/dist/src/ui/utils/ConsolePatcher.d.ts +25 -0
  792. package/dist/src/ui/utils/ConsolePatcher.js +52 -0
  793. package/dist/src/ui/utils/ConsolePatcher.js.map +1 -0
  794. package/dist/src/ui/utils/InlineMarkdownRenderer.d.ts +16 -0
  795. package/dist/src/ui/utils/InlineMarkdownRenderer.js +111 -0
  796. package/dist/src/ui/utils/InlineMarkdownRenderer.js.map +1 -0
  797. package/dist/src/ui/utils/MarkdownDisplay.d.ts +14 -0
  798. package/dist/src/ui/utils/MarkdownDisplay.js +207 -0
  799. package/dist/src/ui/utils/MarkdownDisplay.js.map +1 -0
  800. package/dist/src/ui/utils/MarkdownDisplay.test.d.ts +6 -0
  801. package/dist/src/ui/utils/MarkdownDisplay.test.js +151 -0
  802. package/dist/src/ui/utils/MarkdownDisplay.test.js.map +1 -0
  803. package/dist/src/ui/utils/TableRenderer.d.ts +17 -0
  804. package/dist/src/ui/utils/TableRenderer.js +84 -0
  805. package/dist/src/ui/utils/TableRenderer.js.map +1 -0
  806. package/dist/src/ui/utils/clipboardUtils.d.ts +22 -0
  807. package/dist/src/ui/utils/clipboardUtils.js +127 -0
  808. package/dist/src/ui/utils/clipboardUtils.js.map +1 -0
  809. package/dist/src/ui/utils/clipboardUtils.test.d.ts +6 -0
  810. package/dist/src/ui/utils/clipboardUtils.test.js +65 -0
  811. package/dist/src/ui/utils/clipboardUtils.test.js.map +1 -0
  812. package/dist/src/ui/utils/commandUtils.d.ts +24 -0
  813. package/dist/src/ui/utils/commandUtils.js +93 -0
  814. package/dist/src/ui/utils/commandUtils.js.map +1 -0
  815. package/dist/src/ui/utils/commandUtils.test.d.ts +6 -0
  816. package/dist/src/ui/utils/commandUtils.test.js +294 -0
  817. package/dist/src/ui/utils/commandUtils.test.js.map +1 -0
  818. package/dist/src/ui/utils/computeStats.d.ts +10 -0
  819. package/dist/src/ui/utils/computeStats.js +57 -0
  820. package/dist/src/ui/utils/computeStats.js.map +1 -0
  821. package/dist/src/ui/utils/displayUtils.d.ts +17 -0
  822. package/dist/src/ui/utils/displayUtils.js +24 -0
  823. package/dist/src/ui/utils/displayUtils.js.map +1 -0
  824. package/dist/src/ui/utils/displayUtils.test.d.ts +6 -0
  825. package/dist/src/ui/utils/displayUtils.test.js +42 -0
  826. package/dist/src/ui/utils/displayUtils.test.js.map +1 -0
  827. package/dist/src/ui/utils/formatters.d.ts +13 -0
  828. package/dist/src/ui/utils/formatters.js +56 -0
  829. package/dist/src/ui/utils/formatters.js.map +1 -0
  830. package/dist/src/ui/utils/formatters.test.d.ts +6 -0
  831. package/dist/src/ui/utils/formatters.test.js +56 -0
  832. package/dist/src/ui/utils/formatters.test.js.map +1 -0
  833. package/dist/src/ui/utils/isNarrowWidth.d.ts +6 -0
  834. package/dist/src/ui/utils/isNarrowWidth.js +9 -0
  835. package/dist/src/ui/utils/isNarrowWidth.js.map +1 -0
  836. package/dist/src/ui/utils/kittyProtocolDetector.d.ts +13 -0
  837. package/dist/src/ui/utils/kittyProtocolDetector.js +88 -0
  838. package/dist/src/ui/utils/kittyProtocolDetector.js.map +1 -0
  839. package/dist/src/ui/utils/markdownUtilities.d.ts +6 -0
  840. package/dist/src/ui/utils/markdownUtilities.js +110 -0
  841. package/dist/src/ui/utils/markdownUtilities.js.map +1 -0
  842. package/dist/src/ui/utils/markdownUtilities.test.d.ts +6 -0
  843. package/dist/src/ui/utils/markdownUtilities.test.js +42 -0
  844. package/dist/src/ui/utils/markdownUtilities.test.js.map +1 -0
  845. package/dist/src/ui/utils/platformConstants.d.ts +45 -0
  846. package/dist/src/ui/utils/platformConstants.js +46 -0
  847. package/dist/src/ui/utils/platformConstants.js.map +1 -0
  848. package/dist/src/ui/utils/terminalSetup.d.ts +30 -0
  849. package/dist/src/ui/utils/terminalSetup.js +281 -0
  850. package/dist/src/ui/utils/terminalSetup.js.map +1 -0
  851. package/dist/src/ui/utils/textUtils.d.ts +14 -0
  852. package/dist/src/ui/utils/textUtils.js +36 -0
  853. package/dist/src/ui/utils/textUtils.js.map +1 -0
  854. package/dist/src/ui/utils/updateCheck.d.ts +12 -0
  855. package/dist/src/ui/utils/updateCheck.js +78 -0
  856. package/dist/src/ui/utils/updateCheck.js.map +1 -0
  857. package/dist/src/ui/utils/updateCheck.test.d.ts +6 -0
  858. package/dist/src/ui/utils/updateCheck.test.js +145 -0
  859. package/dist/src/ui/utils/updateCheck.test.js.map +1 -0
  860. package/dist/src/utils/checks.d.ts +19 -0
  861. package/dist/src/utils/checks.js +24 -0
  862. package/dist/src/utils/checks.js.map +1 -0
  863. package/dist/src/utils/cleanup.d.ts +8 -0
  864. package/dist/src/utils/cleanup.js +34 -0
  865. package/dist/src/utils/cleanup.js.map +1 -0
  866. package/dist/src/utils/dialogScopeUtils.d.ts +31 -0
  867. package/dist/src/utils/dialogScopeUtils.js +48 -0
  868. package/dist/src/utils/dialogScopeUtils.js.map +1 -0
  869. package/dist/src/utils/events.d.ts +11 -0
  870. package/dist/src/utils/events.js +13 -0
  871. package/dist/src/utils/events.js.map +1 -0
  872. package/dist/src/utils/gitUtils.d.ts +30 -0
  873. package/dist/src/utils/gitUtils.js +89 -0
  874. package/dist/src/utils/gitUtils.js.map +1 -0
  875. package/dist/src/utils/gitUtils.test.d.ts +6 -0
  876. package/dist/src/utils/gitUtils.test.js +113 -0
  877. package/dist/src/utils/gitUtils.test.js.map +1 -0
  878. package/dist/src/utils/handleAutoUpdate.d.ts +11 -0
  879. package/dist/src/utils/handleAutoUpdate.js +101 -0
  880. package/dist/src/utils/handleAutoUpdate.js.map +1 -0
  881. package/dist/src/utils/installationInfo.d.ts +23 -0
  882. package/dist/src/utils/installationInfo.js +153 -0
  883. package/dist/src/utils/installationInfo.js.map +1 -0
  884. package/dist/src/utils/installationInfo.test.d.ts +6 -0
  885. package/dist/src/utils/installationInfo.test.js +242 -0
  886. package/dist/src/utils/installationInfo.test.js.map +1 -0
  887. package/dist/src/utils/package.d.ts +12 -0
  888. package/dist/src/utils/package.js +24 -0
  889. package/dist/src/utils/package.js.map +1 -0
  890. package/dist/src/utils/readStdin.d.ts +6 -0
  891. package/dist/src/utils/readStdin.js +44 -0
  892. package/dist/src/utils/readStdin.js.map +1 -0
  893. package/dist/src/utils/resolvePath.d.ts +6 -0
  894. package/dist/src/utils/resolvePath.js +21 -0
  895. package/dist/src/utils/resolvePath.js.map +1 -0
  896. package/dist/src/utils/sandbox-macos-permissive-closed.sb +32 -0
  897. package/dist/src/utils/sandbox-macos-permissive-open.sb +25 -0
  898. package/dist/src/utils/sandbox-macos-permissive-proxied.sb +37 -0
  899. package/dist/src/utils/sandbox-macos-restrictive-closed.sb +93 -0
  900. package/dist/src/utils/sandbox-macos-restrictive-open.sb +96 -0
  901. package/dist/src/utils/sandbox-macos-restrictive-proxied.sb +98 -0
  902. package/dist/src/utils/sandbox.d.ts +7 -0
  903. package/dist/src/utils/sandbox.js +745 -0
  904. package/dist/src/utils/sandbox.js.map +1 -0
  905. package/dist/src/utils/settingsUtils.d.ts +134 -0
  906. package/dist/src/utils/settingsUtils.js +336 -0
  907. package/dist/src/utils/settingsUtils.js.map +1 -0
  908. package/dist/src/utils/settingsUtils.test.d.ts +6 -0
  909. package/dist/src/utils/settingsUtils.test.js +514 -0
  910. package/dist/src/utils/settingsUtils.test.js.map +1 -0
  911. package/dist/src/utils/spawnWrapper.d.ts +7 -0
  912. package/dist/src/utils/spawnWrapper.js +8 -0
  913. package/dist/src/utils/spawnWrapper.js.map +1 -0
  914. package/dist/src/utils/startupWarnings.d.ts +6 -0
  915. package/dist/src/utils/startupWarnings.js +40 -0
  916. package/dist/src/utils/startupWarnings.js.map +1 -0
  917. package/dist/src/utils/updateEventEmitter.d.ts +11 -0
  918. package/dist/src/utils/updateEventEmitter.js +12 -0
  919. package/dist/src/utils/updateEventEmitter.js.map +1 -0
  920. package/dist/src/utils/userStartupWarnings.d.ts +6 -0
  921. package/dist/src/utils/userStartupWarnings.js +54 -0
  922. package/dist/src/utils/userStartupWarnings.js.map +1 -0
  923. package/dist/src/utils/userStartupWarnings.test.d.ts +6 -0
  924. package/dist/src/utils/userStartupWarnings.test.js +67 -0
  925. package/dist/src/utils/userStartupWarnings.test.js.map +1 -0
  926. package/dist/src/utils/version.d.ts +6 -0
  927. package/dist/src/utils/version.js +11 -0
  928. package/dist/src/utils/version.js.map +1 -0
  929. package/dist/src/validateNonInterActiveAuth.d.ts +7 -0
  930. package/dist/src/validateNonInterActiveAuth.js +40 -0
  931. package/dist/src/validateNonInterActiveAuth.js.map +1 -0
  932. package/dist/src/zed-integration/acp.d.ts +63 -0
  933. package/dist/src/zed-integration/acp.js +225 -0
  934. package/dist/src/zed-integration/acp.js.map +1 -0
  935. package/dist/src/zed-integration/fileSystemService.d.ts +19 -0
  936. package/dist/src/zed-integration/fileSystemService.js +43 -0
  937. package/dist/src/zed-integration/fileSystemService.js.map +1 -0
  938. package/dist/src/zed-integration/schema.d.ts +11782 -0
  939. package/dist/src/zed-integration/schema.js +311 -0
  940. package/dist/src/zed-integration/schema.js.map +1 -0
  941. package/dist/src/zed-integration/zedIntegration.d.ts +10 -0
  942. package/dist/src/zed-integration/zedIntegration.js +765 -0
  943. package/dist/src/zed-integration/zedIntegration.js.map +1 -0
  944. package/dist/tsconfig.tsbuildinfo +1 -0
  945. package/package.json +88 -0
package/LICENSE ADDED
@@ -0,0 +1,203 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2025 Google LLC
191
+ Copyright 2025 Qwen
192
+
193
+ Licensed under the Apache License, Version 2.0 (the "License");
194
+ you may not use this file except in compliance with the License.
195
+ You may obtain a copy of the License at
196
+
197
+ http://www.apache.org/licenses/LICENSE-2.0
198
+
199
+ Unless required by applicable law or agreed to in writing, software
200
+ distributed under the License is distributed on an "AS IS" BASIS,
201
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202
+ See the License for the specific language governing permissions and
203
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,367 @@
1
+ # Qwen Code
2
+
3
+ <div align="center">
4
+
5
+ ![Qwen Code Screenshot](./docs/assets/qwen-screenshot.png)
6
+
7
+ [![npm version](https://img.shields.io/npm/v/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)
8
+ [![License](https://img.shields.io/github/license/QwenLM/qwen-code.svg)](./LICENSE)
9
+ [![Node.js Version](https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen.svg)](https://nodejs.org/)
10
+ [![Downloads](https://img.shields.io/npm/dm/@qwen-code/qwen-code.svg)](https://www.npmjs.com/package/@qwen-code/qwen-code)
11
+
12
+ **AI-powered command-line workflow tool for developers**
13
+
14
+ [Installation](#installation) • [Quick Start](#quick-start) • [Features](#key-features) • [Documentation](./docs/) • [Contributing](./CONTRIBUTING.md)
15
+
16
+ </div>
17
+
18
+ <div align="center">
19
+
20
+ <a href="https://qwenlm.github.io/qwen-code-docs/de/">Deutsch</a> |
21
+ <a href="https://qwenlm.github.io/qwen-code-docs/fr">français</a> |
22
+ <a href="https://qwenlm.github.io/qwen-code-docs/ja/">日本語</a> |
23
+ <a href="https://qwenlm.github.io/qwen-code-docs/ru">Русский</a> |
24
+ <a href="https://qwenlm.github.io/qwen-code-docs/zh/">中文</a>
25
+
26
+ </div>
27
+
28
+ Qwen Code is a powerful command-line AI workflow tool adapted from [**Gemini CLI**](https://github.com/google-gemini/gemini-cli) ([details](./README.gemini.md)), specifically optimized for [Qwen3-Coder](https://github.com/QwenLM/Qwen3-Coder) models. It enhances your development workflow with advanced code understanding, automated tasks, and intelligent assistance.
29
+
30
+ ## 💡 Free Options Available
31
+
32
+ Get started with Qwen Code at no cost using any of these free options:
33
+
34
+ ### 🔥 Qwen OAuth (Recommended)
35
+
36
+ - **2,000 requests per day** with no token limits
37
+ - **60 requests per minute** rate limit
38
+ - Simply run `qwen` and authenticate with your qwen.ai account
39
+ - Automatic credential management and refresh
40
+ - Use `/auth` command to switch to Qwen OAuth if you have initialized with OpenAI compatible mode
41
+
42
+ ### 🌏 Regional Free Tiers
43
+
44
+ - **Mainland China**: ModelScope offers **2,000 free API calls per day**
45
+ - **International**: OpenRouter provides **up to 1,000 free API calls per day** worldwide
46
+
47
+ For detailed setup instructions, see [Authorization](#authorization).
48
+
49
+ > [!WARNING]
50
+ > **Token Usage Notice**: Qwen Code may issue multiple API calls per cycle, resulting in higher token usage (similar to Claude Code). We're actively optimizing API efficiency.
51
+
52
+ ## Key Features
53
+
54
+ - **Code Understanding & Editing** - Query and edit large codebases beyond traditional context window limits
55
+ - **Workflow Automation** - Automate operational tasks like handling pull requests and complex rebases
56
+ - **Enhanced Parser** - Adapted parser specifically optimized for Qwen-Coder models
57
+
58
+ ## Installation
59
+
60
+ ### Prerequisites
61
+
62
+ Ensure you have [Node.js version 20](https://nodejs.org/en/download) or higher installed.
63
+
64
+ ```bash
65
+ curl -qL https://www.npmjs.com/install.sh | sh
66
+ ```
67
+
68
+ ### Install from npm
69
+
70
+ ```bash
71
+ npm install -g @qwen-code/qwen-code@latest
72
+ qwen --version
73
+ ```
74
+
75
+ ### Install from source
76
+
77
+ ```bash
78
+ git clone https://github.com/QwenLM/qwen-code.git
79
+ cd qwen-code
80
+ npm install
81
+ npm install -g .
82
+ ```
83
+
84
+ ### Install globally with Homebrew (macOS/Linux)
85
+
86
+ ```bash
87
+ brew install qwen-code
88
+ ```
89
+
90
+ ## Quick Start
91
+
92
+ ```bash
93
+ # Start Qwen Code
94
+ qwen
95
+
96
+ # Example commands
97
+ > Explain this codebase structure
98
+ > Help me refactor this function
99
+ > Generate unit tests for this module
100
+ ```
101
+
102
+ ### Session Management
103
+
104
+ Control your token usage with configurable session limits to optimize costs and performance.
105
+
106
+ #### Configure Session Token Limit
107
+
108
+ Create or edit `.qwen/settings.json` in your home directory:
109
+
110
+ ```json
111
+ {
112
+ "sessionTokenLimit": 32000
113
+ }
114
+ ```
115
+
116
+ #### Session Commands
117
+
118
+ - **`/compress`** - Compress conversation history to continue within token limits
119
+ - **`/clear`** - Clear all conversation history and start fresh
120
+ - **`/stats`** - Check current token usage and limits
121
+
122
+ > 📝 **Note**: Session token limit applies to a single conversation, not cumulative API calls.
123
+
124
+ ### Authorization
125
+
126
+ Choose your preferred authentication method based on your needs:
127
+
128
+ #### 1. Qwen OAuth (🚀 Recommended - Start in 30 seconds)
129
+
130
+ The easiest way to get started - completely free with generous quotas:
131
+
132
+ ```bash
133
+ # Just run this command and follow the browser authentication
134
+ qwen
135
+ ```
136
+
137
+ **What happens:**
138
+
139
+ 1. **Instant Setup**: CLI opens your browser automatically
140
+ 2. **One-Click Login**: Authenticate with your qwen.ai account
141
+ 3. **Automatic Management**: Credentials cached locally for future use
142
+ 4. **No Configuration**: Zero setup required - just start coding!
143
+
144
+ **Free Tier Benefits:**
145
+
146
+ - ✅ **2,000 requests/day** (no token counting needed)
147
+ - ✅ **60 requests/minute** rate limit
148
+ - ✅ **Automatic credential refresh**
149
+ - ✅ **Zero cost** for individual users
150
+ - ℹ️ **Note**: Model fallback may occur to maintain service quality
151
+
152
+ #### 2. OpenAI-Compatible API
153
+
154
+ Use API keys for OpenAI or other compatible providers:
155
+
156
+ **Configuration Methods:**
157
+
158
+ 1. **Environment Variables**
159
+
160
+ ```bash
161
+ export OPENAI_API_KEY="your_api_key_here"
162
+ export OPENAI_BASE_URL="your_api_endpoint"
163
+ export OPENAI_MODEL="your_model_choice"
164
+ ```
165
+
166
+ 2. **Project `.env` File**
167
+ Create a `.env` file in your project root:
168
+ ```env
169
+ OPENAI_API_KEY=your_api_key_here
170
+ OPENAI_BASE_URL=your_api_endpoint
171
+ OPENAI_MODEL=your_model_choice
172
+ ```
173
+
174
+ **API Provider Options**
175
+
176
+ > ⚠️ **Regional Notice:**
177
+ >
178
+ > - **Mainland China**: Use Alibaba Cloud Bailian or ModelScope
179
+ > - **International**: Use Alibaba Cloud ModelStudio or OpenRouter
180
+
181
+ <details>
182
+ <summary><b>🇨🇳 For Users in Mainland China</b></summary>
183
+
184
+ **Option 1: Alibaba Cloud Bailian** ([Apply for API Key](https://bailian.console.aliyun.com/))
185
+
186
+ ```bash
187
+ export OPENAI_API_KEY="your_api_key_here"
188
+ export OPENAI_BASE_URL="https://dashscope.aliyuncs.com/compatible-mode/v1"
189
+ export OPENAI_MODEL="qwen3-coder-plus"
190
+ ```
191
+
192
+ **Option 2: ModelScope (Free Tier)** ([Apply for API Key](https://modelscope.cn/docs/model-service/API-Inference/intro))
193
+
194
+ - ✅ **2,000 free API calls per day**
195
+ - ⚠️ Connect your Aliyun account to avoid authentication errors
196
+
197
+ ```bash
198
+ export OPENAI_API_KEY="your_api_key_here"
199
+ export OPENAI_BASE_URL="https://api-inference.modelscope.cn/v1"
200
+ export OPENAI_MODEL="Qwen/Qwen3-Coder-480B-A35B-Instruct"
201
+ ```
202
+
203
+ </details>
204
+
205
+ <details>
206
+ <summary><b>🌍 For International Users</b></summary>
207
+
208
+ **Option 1: Alibaba Cloud ModelStudio** ([Apply for API Key](https://modelstudio.console.alibabacloud.com/))
209
+
210
+ ```bash
211
+ export OPENAI_API_KEY="your_api_key_here"
212
+ export OPENAI_BASE_URL="https://dashscope-intl.aliyuncs.com/compatible-mode/v1"
213
+ export OPENAI_MODEL="qwen3-coder-plus"
214
+ ```
215
+
216
+ **Option 2: OpenRouter (Free Tier Available)** ([Apply for API Key](https://openrouter.ai/))
217
+
218
+ ```bash
219
+ export OPENAI_API_KEY="your_api_key_here"
220
+ export OPENAI_BASE_URL="https://openrouter.ai/api/v1"
221
+ export OPENAI_MODEL="qwen/qwen3-coder:free"
222
+ ```
223
+
224
+ </details>
225
+
226
+ ## Usage Examples
227
+
228
+ ### 🔍 Explore Codebases
229
+
230
+ ```bash
231
+ cd your-project/
232
+ qwen
233
+
234
+ # Architecture analysis
235
+ > Describe the main pieces of this system's architecture
236
+ > What are the key dependencies and how do they interact?
237
+ > Find all API endpoints and their authentication methods
238
+ ```
239
+
240
+ ### 💻 Code Development
241
+
242
+ ```bash
243
+ # Refactoring
244
+ > Refactor this function to improve readability and performance
245
+ > Convert this class to use dependency injection
246
+ > Split this large module into smaller, focused components
247
+
248
+ # Code generation
249
+ > Create a REST API endpoint for user management
250
+ > Generate unit tests for the authentication module
251
+ > Add error handling to all database operations
252
+ ```
253
+
254
+ ### 🔄 Automate Workflows
255
+
256
+ ```bash
257
+ # Git automation
258
+ > Analyze git commits from the last 7 days, grouped by feature
259
+ > Create a changelog from recent commits
260
+ > Find all TODO comments and create GitHub issues
261
+
262
+ # File operations
263
+ > Convert all images in this directory to PNG format
264
+ > Rename all test files to follow the *.test.ts pattern
265
+ > Find and remove all console.log statements
266
+ ```
267
+
268
+ ### 🐛 Debugging & Analysis
269
+
270
+ ```bash
271
+ # Performance analysis
272
+ > Identify performance bottlenecks in this React component
273
+ > Find all N+1 query problems in the codebase
274
+
275
+ # Security audit
276
+ > Check for potential SQL injection vulnerabilities
277
+ > Find all hardcoded credentials or API keys
278
+ ```
279
+
280
+ ## Popular Tasks
281
+
282
+ ### 📚 Understand New Codebases
283
+
284
+ ```text
285
+ > What are the core business logic components?
286
+ > What security mechanisms are in place?
287
+ > How does the data flow through the system?
288
+ > What are the main design patterns used?
289
+ > Generate a dependency graph for this module
290
+ ```
291
+
292
+ ### 🔨 Code Refactoring & Optimization
293
+
294
+ ```text
295
+ > What parts of this module can be optimized?
296
+ > Help me refactor this class to follow SOLID principles
297
+ > Add proper error handling and logging
298
+ > Convert callbacks to async/await pattern
299
+ > Implement caching for expensive operations
300
+ ```
301
+
302
+ ### 📝 Documentation & Testing
303
+
304
+ ```text
305
+ > Generate comprehensive JSDoc comments for all public APIs
306
+ > Write unit tests with edge cases for this component
307
+ > Create API documentation in OpenAPI format
308
+ > Add inline comments explaining complex algorithms
309
+ > Generate a README for this module
310
+ ```
311
+
312
+ ### 🚀 Development Acceleration
313
+
314
+ ```text
315
+ > Set up a new Express server with authentication
316
+ > Create a React component with TypeScript and tests
317
+ > Implement a rate limiter middleware
318
+ > Add database migrations for new schema
319
+ > Configure CI/CD pipeline for this project
320
+ ```
321
+
322
+ ## Commands & Shortcuts
323
+
324
+ ### Session Commands
325
+
326
+ - `/help` - Display available commands
327
+ - `/clear` - Clear conversation history
328
+ - `/compress` - Compress history to save tokens
329
+ - `/stats` - Show current session information
330
+ - `/exit` or `/quit` - Exit Qwen Code
331
+
332
+ ### Keyboard Shortcuts
333
+
334
+ - `Ctrl+C` - Cancel current operation
335
+ - `Ctrl+D` - Exit (on empty line)
336
+ - `Up/Down` - Navigate command history
337
+
338
+ ## Benchmark Results
339
+
340
+ ### Terminal-Bench Performance
341
+
342
+ | Agent | Model | Accuracy |
343
+ | --------- | ------------------ | -------- |
344
+ | Qwen Code | Qwen3-Coder-480A35 | 37.5% |
345
+ | Qwen Code | Qwen3-Coder-30BA3B | 31.3% |
346
+
347
+ ## Development & Contributing
348
+
349
+ See [CONTRIBUTING.md](./CONTRIBUTING.md) to learn how to contribute to the project.
350
+
351
+ For detailed authentication setup, see the [authentication guide](./docs/cli/authentication.md).
352
+
353
+ ## Troubleshooting
354
+
355
+ If you encounter issues, check the [troubleshooting guide](docs/troubleshooting.md).
356
+
357
+ ## Acknowledgments
358
+
359
+ This project is based on [Google Gemini CLI](https://github.com/google-gemini/gemini-cli). We acknowledge and appreciate the excellent work of the Gemini CLI team. Our main contribution focuses on parser-level adaptations to better support Qwen-Coder models.
360
+
361
+ ## License
362
+
363
+ [LICENSE](./LICENSE)
364
+
365
+ ## Star History
366
+
367
+ [![Star History Chart](https://api.star-history.com/svg?repos=QwenLM/qwen-code&type=Date)](https://www.star-history.com/#QwenLM/qwen-code&Date)
File without changes
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * @license
4
+ * Copyright 2025 Google LLC
5
+ * SPDX-License-Identifier: Apache-2.0
6
+ */
7
+ import './src/gemini.js';
package/dist/index.js ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * @license
4
+ * Copyright 2025 Google LLC
5
+ * SPDX-License-Identifier: Apache-2.0
6
+ */
7
+ import './src/gemini.js';
8
+ import { main } from './src/gemini.js';
9
+ // --- Global Entry Point ---
10
+ main().catch((error) => {
11
+ console.error('An unexpected critical error occurred:');
12
+ if (error instanceof Error) {
13
+ console.error(error.stack);
14
+ }
15
+ else {
16
+ console.error(String(error));
17
+ }
18
+ process.exit(1);
19
+ });
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAEA;;;;GAIG;AAEH,OAAO,iBAAiB,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,6BAA6B;AAC7B,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAC;IACxD,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC3B,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/B,CAAC;IACD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "@umsai/ums-code",
3
+ "version": "0.0.11-post1",
4
+ "description": "UMS Code CLI",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/BruceCC/qwen-code.git"
8
+ },
9
+ "type": "module",
10
+ "main": "dist/index.js",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "bin": {
15
+ "ums": "dist/index.js"
16
+ },
17
+ "scripts": {
18
+ "build": "node ../../scripts/build_package.js",
19
+ "start": "node dist/index.js",
20
+ "debug": "node --inspect-brk dist/index.js",
21
+ "lint": "eslint . --ext .ts,.tsx",
22
+ "format": "prettier --write .",
23
+ "test": "vitest run",
24
+ "test:ci": "vitest run --coverage",
25
+ "typecheck": "tsc --noEmit"
26
+ },
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "config": {
31
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.0.11"
32
+ },
33
+ "dependencies": {
34
+ "@google/genai": "1.9.0",
35
+ "@iarna/toml": "^2.2.5",
36
+ "@umsai/ums-code-core": "file:../core",
37
+ "@modelcontextprotocol/sdk": "^1.15.1",
38
+ "@types/update-notifier": "^6.0.8",
39
+ "command-exists": "^1.2.9",
40
+ "diff": "^7.0.0",
41
+ "dotenv": "^17.1.0",
42
+ "glob": "^10.4.1",
43
+ "highlight.js": "^11.11.1",
44
+ "ink": "^6.1.1",
45
+ "ink-big-text": "^2.0.0",
46
+ "ink-gradient": "^3.0.0",
47
+ "ink-link": "^4.1.0",
48
+ "ink-select-input": "^6.2.0",
49
+ "ink-spinner": "^5.0.0",
50
+ "lowlight": "^3.3.0",
51
+ "mime-types": "^3.0.1",
52
+ "open": "^10.1.2",
53
+ "qrcode-terminal": "^0.12.0",
54
+ "react": "^19.1.0",
55
+ "read-package-up": "^11.0.0",
56
+ "shell-quote": "^1.8.3",
57
+ "string-width": "^7.1.0",
58
+ "strip-ansi": "^7.1.0",
59
+ "strip-json-comments": "^3.1.1",
60
+ "undici": "^7.10.0",
61
+ "update-notifier": "^7.3.1",
62
+ "yargs": "^17.7.2",
63
+ "zod": "^3.23.8"
64
+ },
65
+ "devDependencies": {
66
+ "@babel/runtime": "^7.27.6",
67
+ "@umsai/ums-code-test-utils": "file:../test-utils",
68
+ "@testing-library/react": "^16.3.0",
69
+ "@types/command-exists": "^1.2.3",
70
+ "@types/diff": "^7.0.2",
71
+ "@types/dotenv": "^6.1.1",
72
+ "@types/node": "^20.11.24",
73
+ "@types/react": "^19.1.8",
74
+ "@types/react-dom": "^19.1.6",
75
+ "@types/semver": "^7.7.0",
76
+ "@types/shell-quote": "^1.7.5",
77
+ "@types/yargs": "^17.0.32",
78
+ "ink-testing-library": "^4.0.0",
79
+ "jsdom": "^26.1.0",
80
+ "pretty-format": "^30.0.2",
81
+ "react-dom": "^19.1.0",
82
+ "typescript": "^5.3.3",
83
+ "vitest": "^3.1.1"
84
+ },
85
+ "engines": {
86
+ "node": ">=20"
87
+ }
88
+ }