@tecet/ollm 0.1.3

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 (1359) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +529 -0
  3. package/dist/cli.d.ts +25 -0
  4. package/dist/cli.d.ts.map +1 -0
  5. package/dist/cli.js +81173 -0
  6. package/dist/cli.js.map +7 -0
  7. package/dist/commands/__tests__/commandRegistry.test.d.ts +2 -0
  8. package/dist/commands/__tests__/commandRegistry.test.d.ts.map +1 -0
  9. package/dist/commands/__tests__/commandRegistry.test.js +87 -0
  10. package/dist/commands/__tests__/commandRegistry.test.js.map +1 -0
  11. package/dist/commands/__tests__/slashCommandParsing.test.d.ts +10 -0
  12. package/dist/commands/__tests__/slashCommandParsing.test.d.ts.map +1 -0
  13. package/dist/commands/__tests__/slashCommandParsing.test.js +294 -0
  14. package/dist/commands/__tests__/slashCommandParsing.test.js.map +1 -0
  15. package/dist/commands/commandRegistry.d.ts +70 -0
  16. package/dist/commands/commandRegistry.d.ts.map +1 -0
  17. package/dist/commands/commandRegistry.js +378 -0
  18. package/dist/commands/commandRegistry.js.map +1 -0
  19. package/dist/commands/comparisonCommands.d.ts +22 -0
  20. package/dist/commands/comparisonCommands.d.ts.map +1 -0
  21. package/dist/commands/comparisonCommands.js +85 -0
  22. package/dist/commands/comparisonCommands.js.map +1 -0
  23. package/dist/commands/configCommands.d.ts +17 -0
  24. package/dist/commands/configCommands.d.ts.map +1 -0
  25. package/dist/commands/configCommands.js +91 -0
  26. package/dist/commands/configCommands.js.map +1 -0
  27. package/dist/commands/contextCommands.d.ts +19 -0
  28. package/dist/commands/contextCommands.d.ts.map +1 -0
  29. package/dist/commands/contextCommands.js +121 -0
  30. package/dist/commands/contextCommands.js.map +1 -0
  31. package/dist/commands/extensionCommands.d.ts +18 -0
  32. package/dist/commands/extensionCommands.d.ts.map +1 -0
  33. package/dist/commands/extensionCommands.js +341 -0
  34. package/dist/commands/extensionCommands.js.map +1 -0
  35. package/dist/commands/gitCommands.d.ts +20 -0
  36. package/dist/commands/gitCommands.d.ts.map +1 -0
  37. package/dist/commands/gitCommands.js +99 -0
  38. package/dist/commands/gitCommands.js.map +1 -0
  39. package/dist/commands/homeCommand.d.ts +8 -0
  40. package/dist/commands/homeCommand.d.ts.map +1 -0
  41. package/dist/commands/homeCommand.js +18 -0
  42. package/dist/commands/homeCommand.js.map +1 -0
  43. package/dist/commands/hookCommands.d.ts +13 -0
  44. package/dist/commands/hookCommands.d.ts.map +1 -0
  45. package/dist/commands/hookCommands.js +127 -0
  46. package/dist/commands/hookCommands.js.map +1 -0
  47. package/dist/commands/index.d.ts +22 -0
  48. package/dist/commands/index.d.ts.map +1 -0
  49. package/dist/commands/index.js +21 -0
  50. package/dist/commands/index.js.map +1 -0
  51. package/dist/commands/mcpCommands.d.ts +56 -0
  52. package/dist/commands/mcpCommands.d.ts.map +1 -0
  53. package/dist/commands/mcpCommands.js +360 -0
  54. package/dist/commands/mcpCommands.js.map +1 -0
  55. package/dist/commands/mcpHealthCommands.d.ts +17 -0
  56. package/dist/commands/mcpHealthCommands.d.ts.map +1 -0
  57. package/dist/commands/mcpHealthCommands.js +303 -0
  58. package/dist/commands/mcpHealthCommands.js.map +1 -0
  59. package/dist/commands/mcpOAuthCommands.d.ts +16 -0
  60. package/dist/commands/mcpOAuthCommands.d.ts.map +1 -0
  61. package/dist/commands/mcpOAuthCommands.js +244 -0
  62. package/dist/commands/mcpOAuthCommands.js.map +1 -0
  63. package/dist/commands/memoryCommands.d.ts +25 -0
  64. package/dist/commands/memoryCommands.d.ts.map +1 -0
  65. package/dist/commands/memoryCommands.js +202 -0
  66. package/dist/commands/memoryCommands.js.map +1 -0
  67. package/dist/commands/metricsCommands.d.ts +20 -0
  68. package/dist/commands/metricsCommands.d.ts.map +1 -0
  69. package/dist/commands/metricsCommands.js +88 -0
  70. package/dist/commands/metricsCommands.js.map +1 -0
  71. package/dist/commands/modeCommands.d.ts +22 -0
  72. package/dist/commands/modeCommands.d.ts.map +1 -0
  73. package/dist/commands/modeCommands.js +452 -0
  74. package/dist/commands/modeCommands.js.map +1 -0
  75. package/dist/commands/modeShortcuts.d.ts +53 -0
  76. package/dist/commands/modeShortcuts.d.ts.map +1 -0
  77. package/dist/commands/modeShortcuts.js +213 -0
  78. package/dist/commands/modeShortcuts.js.map +1 -0
  79. package/dist/commands/modelCommands.d.ts +44 -0
  80. package/dist/commands/modelCommands.d.ts.map +1 -0
  81. package/dist/commands/modelCommands.js +448 -0
  82. package/dist/commands/modelCommands.js.map +1 -0
  83. package/dist/commands/projectCommands.d.ts +24 -0
  84. package/dist/commands/projectCommands.d.ts.map +1 -0
  85. package/dist/commands/projectCommands.js +175 -0
  86. package/dist/commands/projectCommands.js.map +1 -0
  87. package/dist/commands/providerCommands.d.ts +19 -0
  88. package/dist/commands/providerCommands.d.ts.map +1 -0
  89. package/dist/commands/providerCommands.js +87 -0
  90. package/dist/commands/providerCommands.js.map +1 -0
  91. package/dist/commands/reasoningCommands.d.ts +20 -0
  92. package/dist/commands/reasoningCommands.d.ts.map +1 -0
  93. package/dist/commands/reasoningCommands.js +86 -0
  94. package/dist/commands/reasoningCommands.js.map +1 -0
  95. package/dist/commands/reviewCommands.d.ts +20 -0
  96. package/dist/commands/reviewCommands.d.ts.map +1 -0
  97. package/dist/commands/reviewCommands.js +89 -0
  98. package/dist/commands/reviewCommands.js.map +1 -0
  99. package/dist/commands/sessionCommands.d.ts +41 -0
  100. package/dist/commands/sessionCommands.d.ts.map +1 -0
  101. package/dist/commands/sessionCommands.js +242 -0
  102. package/dist/commands/sessionCommands.js.map +1 -0
  103. package/dist/commands/snapshotCommands.d.ts +20 -0
  104. package/dist/commands/snapshotCommands.d.ts.map +1 -0
  105. package/dist/commands/snapshotCommands.js +297 -0
  106. package/dist/commands/snapshotCommands.js.map +1 -0
  107. package/dist/commands/templateCommands.d.ts +24 -0
  108. package/dist/commands/templateCommands.d.ts.map +1 -0
  109. package/dist/commands/templateCommands.js +186 -0
  110. package/dist/commands/templateCommands.js.map +1 -0
  111. package/dist/commands/themeCommands.d.ts +29 -0
  112. package/dist/commands/themeCommands.d.ts.map +1 -0
  113. package/dist/commands/themeCommands.js +179 -0
  114. package/dist/commands/themeCommands.js.map +1 -0
  115. package/dist/commands/types.d.ts +50 -0
  116. package/dist/commands/types.d.ts.map +1 -0
  117. package/dist/commands/types.js +2 -0
  118. package/dist/commands/types.js.map +1 -0
  119. package/dist/commands/utilityCommands.d.ts +29 -0
  120. package/dist/commands/utilityCommands.d.ts.map +1 -0
  121. package/dist/commands/utilityCommands.js +495 -0
  122. package/dist/commands/utilityCommands.js.map +1 -0
  123. package/dist/commands/workflowCommands.d.ts +56 -0
  124. package/dist/commands/workflowCommands.d.ts.map +1 -0
  125. package/dist/commands/workflowCommands.js +484 -0
  126. package/dist/commands/workflowCommands.js.map +1 -0
  127. package/dist/config/LLM_profiles.json +1908 -0
  128. package/dist/config/configLoader.d.ts +30 -0
  129. package/dist/config/configLoader.d.ts.map +1 -0
  130. package/dist/config/configLoader.js +380 -0
  131. package/dist/config/configLoader.js.map +1 -0
  132. package/dist/config/defaults.d.ts +25 -0
  133. package/dist/config/defaults.d.ts.map +1 -0
  134. package/dist/config/defaults.js +137 -0
  135. package/dist/config/defaults.js.map +1 -0
  136. package/dist/config/keybinds.d.ts +113 -0
  137. package/dist/config/keybinds.d.ts.map +1 -0
  138. package/dist/config/keybinds.js +113 -0
  139. package/dist/config/keybinds.js.map +1 -0
  140. package/dist/config/profiles.d.ts +44 -0
  141. package/dist/config/profiles.d.ts.map +1 -0
  142. package/dist/config/profiles.js +236 -0
  143. package/dist/config/profiles.js.map +1 -0
  144. package/dist/config/schema.d.ts +254 -0
  145. package/dist/config/schema.d.ts.map +1 -0
  146. package/dist/config/schema.js +160 -0
  147. package/dist/config/schema.js.map +1 -0
  148. package/dist/config/settingsService.d.ts +251 -0
  149. package/dist/config/settingsService.d.ts.map +1 -0
  150. package/dist/config/settingsService.js +493 -0
  151. package/dist/config/settingsService.js.map +1 -0
  152. package/dist/config/styles.d.ts +28 -0
  153. package/dist/config/styles.d.ts.map +1 -0
  154. package/dist/config/styles.js +33 -0
  155. package/dist/config/styles.js.map +1 -0
  156. package/dist/config/systemSettings.json +17 -0
  157. package/dist/config/themes.d.ts +14 -0
  158. package/dist/config/themes.d.ts.map +1 -0
  159. package/dist/config/themes.js +248 -0
  160. package/dist/config/themes.js.map +1 -0
  161. package/dist/config/toolsConfig.d.ts +53 -0
  162. package/dist/config/toolsConfig.d.ts.map +1 -0
  163. package/dist/config/toolsConfig.js +171 -0
  164. package/dist/config/toolsConfig.js.map +1 -0
  165. package/dist/config/types.d.ts +306 -0
  166. package/dist/config/types.d.ts.map +1 -0
  167. package/dist/config/types.js +6 -0
  168. package/dist/config/types.js.map +1 -0
  169. package/dist/features/chat/ChatProvider.d.ts +24 -0
  170. package/dist/features/chat/ChatProvider.d.ts.map +1 -0
  171. package/dist/features/chat/ChatProvider.js +166 -0
  172. package/dist/features/chat/ChatProvider.js.map +1 -0
  173. package/dist/features/chat/hooks/useAgentLoop.d.ts +27 -0
  174. package/dist/features/chat/hooks/useAgentLoop.d.ts.map +1 -0
  175. package/dist/features/chat/hooks/useAgentLoop.js +253 -0
  176. package/dist/features/chat/hooks/useAgentLoop.js.map +1 -0
  177. package/dist/features/chat/hooks/useChatNetwork.d.ts +39 -0
  178. package/dist/features/chat/hooks/useChatNetwork.d.ts.map +1 -0
  179. package/dist/features/chat/hooks/useChatNetwork.js +276 -0
  180. package/dist/features/chat/hooks/useChatNetwork.js.map +1 -0
  181. package/dist/features/chat/hooks/useChatState.d.ts +32 -0
  182. package/dist/features/chat/hooks/useChatState.d.ts.map +1 -0
  183. package/dist/features/chat/hooks/useChatState.js +77 -0
  184. package/dist/features/chat/hooks/useChatState.js.map +1 -0
  185. package/dist/features/chat/hooks/useContextEvents.d.ts +22 -0
  186. package/dist/features/chat/hooks/useContextEvents.d.ts.map +1 -0
  187. package/dist/features/chat/hooks/useContextEvents.js +160 -0
  188. package/dist/features/chat/hooks/useContextEvents.js.map +1 -0
  189. package/dist/features/chat/hooks/useMenuSystem.d.ts +24 -0
  190. package/dist/features/chat/hooks/useMenuSystem.d.ts.map +1 -0
  191. package/dist/features/chat/hooks/useMenuSystem.js +71 -0
  192. package/dist/features/chat/hooks/useMenuSystem.js.map +1 -0
  193. package/dist/features/chat/hooks/useScrollManager.d.ts +23 -0
  194. package/dist/features/chat/hooks/useScrollManager.d.ts.map +1 -0
  195. package/dist/features/chat/hooks/useScrollManager.js +38 -0
  196. package/dist/features/chat/hooks/useScrollManager.js.map +1 -0
  197. package/dist/features/chat/hooks/useSessionRecording.d.ts +18 -0
  198. package/dist/features/chat/hooks/useSessionRecording.d.ts.map +1 -0
  199. package/dist/features/chat/hooks/useSessionRecording.js +48 -0
  200. package/dist/features/chat/hooks/useSessionRecording.js.map +1 -0
  201. package/dist/features/chat/index.d.ts +12 -0
  202. package/dist/features/chat/index.d.ts.map +1 -0
  203. package/dist/features/chat/index.js +15 -0
  204. package/dist/features/chat/index.js.map +1 -0
  205. package/dist/features/chat/types.d.ts +138 -0
  206. package/dist/features/chat/types.d.ts.map +1 -0
  207. package/dist/features/chat/types.js +5 -0
  208. package/dist/features/chat/types.js.map +1 -0
  209. package/dist/features/chat/utils/promptUtils.d.ts +21 -0
  210. package/dist/features/chat/utils/promptUtils.d.ts.map +1 -0
  211. package/dist/features/chat/utils/promptUtils.js +103 -0
  212. package/dist/features/chat/utils/promptUtils.js.map +1 -0
  213. package/dist/features/context/ActiveContextState.d.ts +32 -0
  214. package/dist/features/context/ActiveContextState.d.ts.map +1 -0
  215. package/dist/features/context/ActiveContextState.js +284 -0
  216. package/dist/features/context/ActiveContextState.js.map +1 -0
  217. package/dist/features/context/ChatContext.d.ts +8 -0
  218. package/dist/features/context/ChatContext.d.ts.map +1 -0
  219. package/dist/features/context/ChatContext.js +536 -0
  220. package/dist/features/context/ChatContext.js.map +1 -0
  221. package/dist/features/context/ContextManagerContext.d.ts +132 -0
  222. package/dist/features/context/ContextManagerContext.d.ts.map +1 -0
  223. package/dist/features/context/ContextManagerContext.js +771 -0
  224. package/dist/features/context/ContextManagerContext.js.map +1 -0
  225. package/dist/features/context/ContextStatus.d.ts +43 -0
  226. package/dist/features/context/ContextStatus.d.ts.map +1 -0
  227. package/dist/features/context/ContextStatus.js +44 -0
  228. package/dist/features/context/ContextStatus.js.map +1 -0
  229. package/dist/features/context/FocusContext.d.ts +267 -0
  230. package/dist/features/context/FocusContext.d.ts.map +1 -0
  231. package/dist/features/context/FocusContext.js +324 -0
  232. package/dist/features/context/FocusContext.js.map +1 -0
  233. package/dist/features/context/GPUContext.d.ts +25 -0
  234. package/dist/features/context/GPUContext.d.ts.map +1 -0
  235. package/dist/features/context/GPUContext.js +64 -0
  236. package/dist/features/context/GPUContext.js.map +1 -0
  237. package/dist/features/context/HooksContext.d.ts +42 -0
  238. package/dist/features/context/HooksContext.d.ts.map +1 -0
  239. package/dist/features/context/HooksContext.js +310 -0
  240. package/dist/features/context/HooksContext.js.map +1 -0
  241. package/dist/features/context/KeybindsContext.d.ts +20 -0
  242. package/dist/features/context/KeybindsContext.d.ts.map +1 -0
  243. package/dist/features/context/KeybindsContext.js +80 -0
  244. package/dist/features/context/KeybindsContext.js.map +1 -0
  245. package/dist/features/context/ModelContext.d.ts +56 -0
  246. package/dist/features/context/ModelContext.d.ts.map +1 -0
  247. package/dist/features/context/ModelContext.js +290 -0
  248. package/dist/features/context/ModelContext.js.map +1 -0
  249. package/dist/features/context/ReviewContext.d.ts +50 -0
  250. package/dist/features/context/ReviewContext.d.ts.map +1 -0
  251. package/dist/features/context/ReviewContext.js +108 -0
  252. package/dist/features/context/ReviewContext.js.map +1 -0
  253. package/dist/features/context/ServiceContext.d.ts +46 -0
  254. package/dist/features/context/ServiceContext.d.ts.map +1 -0
  255. package/dist/features/context/ServiceContext.js +162 -0
  256. package/dist/features/context/ServiceContext.js.map +1 -0
  257. package/dist/features/context/SessionManager.d.ts +66 -0
  258. package/dist/features/context/SessionManager.d.ts.map +1 -0
  259. package/dist/features/context/SessionManager.js +117 -0
  260. package/dist/features/context/SessionManager.js.map +1 -0
  261. package/dist/features/context/SettingsContext.d.ts +15 -0
  262. package/dist/features/context/SettingsContext.d.ts.map +1 -0
  263. package/dist/features/context/SettingsContext.js +75 -0
  264. package/dist/features/context/SettingsContext.js.map +1 -0
  265. package/dist/features/context/SystemMessages.d.ts +27 -0
  266. package/dist/features/context/SystemMessages.d.ts.map +1 -0
  267. package/dist/features/context/SystemMessages.js +130 -0
  268. package/dist/features/context/SystemMessages.js.map +1 -0
  269. package/dist/features/context/ToolSupportMessages.d.ts +72 -0
  270. package/dist/features/context/ToolSupportMessages.d.ts.map +1 -0
  271. package/dist/features/context/ToolSupportMessages.js +116 -0
  272. package/dist/features/context/ToolSupportMessages.js.map +1 -0
  273. package/dist/features/context/UIContext.d.ts +43 -0
  274. package/dist/features/context/UIContext.d.ts.map +1 -0
  275. package/dist/features/context/UIContext.js +83 -0
  276. package/dist/features/context/UIContext.js.map +1 -0
  277. package/dist/features/context/UserPromptContext.d.ts +66 -0
  278. package/dist/features/context/UserPromptContext.d.ts.map +1 -0
  279. package/dist/features/context/UserPromptContext.js +176 -0
  280. package/dist/features/context/UserPromptContext.js.map +1 -0
  281. package/dist/features/context/__tests__/ModelContext.test.d.ts +5 -0
  282. package/dist/features/context/__tests__/ModelContext.test.d.ts.map +1 -0
  283. package/dist/features/context/__tests__/ModelContext.test.js +579 -0
  284. package/dist/features/context/__tests__/ModelContext.test.js.map +1 -0
  285. package/dist/features/context/contextSizing.d.ts +48 -0
  286. package/dist/features/context/contextSizing.d.ts.map +1 -0
  287. package/dist/features/context/contextSizing.js +87 -0
  288. package/dist/features/context/contextSizing.js.map +1 -0
  289. package/dist/features/context/gpuHintStore.d.ts +7 -0
  290. package/dist/features/context/gpuHintStore.d.ts.map +1 -0
  291. package/dist/features/context/gpuHintStore.js +15 -0
  292. package/dist/features/context/gpuHintStore.js.map +1 -0
  293. package/dist/features/context/gpuHints.d.ts +3 -0
  294. package/dist/features/context/gpuHints.d.ts.map +1 -0
  295. package/dist/features/context/gpuHints.js +2 -0
  296. package/dist/features/context/gpuHints.js.map +1 -0
  297. package/dist/features/context/handlers/agentLoopHandler.d.ts +58 -0
  298. package/dist/features/context/handlers/agentLoopHandler.d.ts.map +1 -0
  299. package/dist/features/context/handlers/agentLoopHandler.js +505 -0
  300. package/dist/features/context/handlers/agentLoopHandler.js.map +1 -0
  301. package/dist/features/context/handlers/commandHandler.d.ts +52 -0
  302. package/dist/features/context/handlers/commandHandler.d.ts.map +1 -0
  303. package/dist/features/context/handlers/commandHandler.js +107 -0
  304. package/dist/features/context/handlers/commandHandler.js.map +1 -0
  305. package/dist/features/context/handlers/contextEventHandlers.d.ts +71 -0
  306. package/dist/features/context/handlers/contextEventHandlers.d.ts.map +1 -0
  307. package/dist/features/context/handlers/contextEventHandlers.js +216 -0
  308. package/dist/features/context/handlers/contextEventHandlers.js.map +1 -0
  309. package/dist/features/context/hooks/useModelWarmup.d.ts +24 -0
  310. package/dist/features/context/hooks/useModelWarmup.d.ts.map +1 -0
  311. package/dist/features/context/hooks/useModelWarmup.js +181 -0
  312. package/dist/features/context/hooks/useModelWarmup.js.map +1 -0
  313. package/dist/features/context/hooks/useToolSupport.d.ts +19 -0
  314. package/dist/features/context/hooks/useToolSupport.d.ts.map +1 -0
  315. package/dist/features/context/hooks/useToolSupport.js +290 -0
  316. package/dist/features/context/hooks/useToolSupport.js.map +1 -0
  317. package/dist/features/context/types/chatTypes.d.ts +150 -0
  318. package/dist/features/context/types/chatTypes.d.ts.map +1 -0
  319. package/dist/features/context/types/chatTypes.js +8 -0
  320. package/dist/features/context/types/chatTypes.js.map +1 -0
  321. package/dist/features/context/useFocusedFilesInjection.d.ts +17 -0
  322. package/dist/features/context/useFocusedFilesInjection.d.ts.map +1 -0
  323. package/dist/features/context/useFocusedFilesInjection.js +37 -0
  324. package/dist/features/context/useFocusedFilesInjection.js.map +1 -0
  325. package/dist/features/context/utils/promptUtils.d.ts +28 -0
  326. package/dist/features/context/utils/promptUtils.d.ts.map +1 -0
  327. package/dist/features/context/utils/promptUtils.js +105 -0
  328. package/dist/features/context/utils/promptUtils.js.map +1 -0
  329. package/dist/features/context/utils/systemPromptBuilder.d.ts +39 -0
  330. package/dist/features/context/utils/systemPromptBuilder.d.ts.map +1 -0
  331. package/dist/features/context/utils/systemPromptBuilder.js +66 -0
  332. package/dist/features/context/utils/systemPromptBuilder.js.map +1 -0
  333. package/dist/features/hooks/adapter.d.ts +73 -0
  334. package/dist/features/hooks/adapter.d.ts.map +1 -0
  335. package/dist/features/hooks/adapter.js +259 -0
  336. package/dist/features/hooks/adapter.js.map +1 -0
  337. package/dist/features/hooks/index.d.ts +9 -0
  338. package/dist/features/hooks/index.d.ts.map +1 -0
  339. package/dist/features/hooks/index.js +9 -0
  340. package/dist/features/hooks/index.js.map +1 -0
  341. package/dist/features/hooks/types.d.ts +128 -0
  342. package/dist/features/hooks/types.d.ts.map +1 -0
  343. package/dist/features/hooks/types.js +9 -0
  344. package/dist/features/hooks/types.js.map +1 -0
  345. package/dist/features/profiles/ProfileManager.d.ts +56 -0
  346. package/dist/features/profiles/ProfileManager.d.ts.map +1 -0
  347. package/dist/features/profiles/ProfileManager.js +429 -0
  348. package/dist/features/profiles/ProfileManager.js.map +1 -0
  349. package/dist/features/profiles/__tests__/ProfileManager.integration.test.d.ts +12 -0
  350. package/dist/features/profiles/__tests__/ProfileManager.integration.test.d.ts.map +1 -0
  351. package/dist/features/profiles/__tests__/ProfileManager.integration.test.js +156 -0
  352. package/dist/features/profiles/__tests__/ProfileManager.integration.test.js.map +1 -0
  353. package/dist/features/profiles/modelUtils.d.ts +12 -0
  354. package/dist/features/profiles/modelUtils.d.ts.map +1 -0
  355. package/dist/features/profiles/modelUtils.js +20 -0
  356. package/dist/features/profiles/modelUtils.js.map +1 -0
  357. package/dist/features/provider/providerFactory.d.ts +19 -0
  358. package/dist/features/provider/providerFactory.d.ts.map +1 -0
  359. package/dist/features/provider/providerFactory.js +40 -0
  360. package/dist/features/provider/providerFactory.js.map +1 -0
  361. package/dist/lama_sprite/left/llama-l1.png +0 -0
  362. package/dist/lama_sprite/left/llama-l2.png +0 -0
  363. package/dist/lama_sprite/left/llama-l3.png +0 -0
  364. package/dist/lama_sprite/left/llama-l4.png +0 -0
  365. package/dist/lama_sprite/left/llama-l5.png +0 -0
  366. package/dist/lama_sprite/left/llama-l6.png +0 -0
  367. package/dist/lama_sprite/right/llama-r1.png +0 -0
  368. package/dist/lama_sprite/right/llama-r2.png +0 -0
  369. package/dist/lama_sprite/right/llama-r3.png +0 -0
  370. package/dist/lama_sprite/right/llama-r4.png +0 -0
  371. package/dist/lama_sprite/right/llama-r5.png +0 -0
  372. package/dist/lama_sprite/right/llama-r6.png +0 -0
  373. package/dist/nonInteractive.d.ts +87 -0
  374. package/dist/nonInteractive.d.ts.map +1 -0
  375. package/dist/nonInteractive.js +313 -0
  376. package/dist/nonInteractive.js.map +1 -0
  377. package/dist/services/KeybindsService.d.ts +13 -0
  378. package/dist/services/KeybindsService.d.ts.map +1 -0
  379. package/dist/services/KeybindsService.js +75 -0
  380. package/dist/services/KeybindsService.js.map +1 -0
  381. package/dist/services/__tests__/mcpConfigService.test.d.ts +5 -0
  382. package/dist/services/__tests__/mcpConfigService.test.d.ts.map +1 -0
  383. package/dist/services/__tests__/mcpConfigService.test.js +487 -0
  384. package/dist/services/__tests__/mcpConfigService.test.js.map +1 -0
  385. package/dist/services/__tests__/mcpMarketplace.integration.test.d.ts +8 -0
  386. package/dist/services/__tests__/mcpMarketplace.integration.test.d.ts.map +1 -0
  387. package/dist/services/__tests__/mcpMarketplace.integration.test.js +155 -0
  388. package/dist/services/__tests__/mcpMarketplace.integration.test.js.map +1 -0
  389. package/dist/services/__tests__/profileCompiler.test.d.ts +10 -0
  390. package/dist/services/__tests__/profileCompiler.test.d.ts.map +1 -0
  391. package/dist/services/__tests__/profileCompiler.test.js +357 -0
  392. package/dist/services/__tests__/profileCompiler.test.js.map +1 -0
  393. package/dist/services/documentService.d.ts +40 -0
  394. package/dist/services/documentService.d.ts.map +1 -0
  395. package/dist/services/documentService.js +202 -0
  396. package/dist/services/documentService.js.map +1 -0
  397. package/dist/services/hookFileService.d.ts +74 -0
  398. package/dist/services/hookFileService.d.ts.map +1 -0
  399. package/dist/services/hookFileService.js +311 -0
  400. package/dist/services/hookFileService.js.map +1 -0
  401. package/dist/services/hookLoader.d.ts +25 -0
  402. package/dist/services/hookLoader.d.ts.map +1 -0
  403. package/dist/services/hookLoader.js +87 -0
  404. package/dist/services/hookLoader.js.map +1 -0
  405. package/dist/services/mcpCleanup.d.ts +55 -0
  406. package/dist/services/mcpCleanup.d.ts.map +1 -0
  407. package/dist/services/mcpCleanup.js +196 -0
  408. package/dist/services/mcpCleanup.js.map +1 -0
  409. package/dist/services/mcpConfigBackup.d.ts +81 -0
  410. package/dist/services/mcpConfigBackup.d.ts.map +1 -0
  411. package/dist/services/mcpConfigBackup.js +406 -0
  412. package/dist/services/mcpConfigBackup.js.map +1 -0
  413. package/dist/services/mcpConfigService.d.ts +133 -0
  414. package/dist/services/mcpConfigService.d.ts.map +1 -0
  415. package/dist/services/mcpConfigService.js +349 -0
  416. package/dist/services/mcpConfigService.js.map +1 -0
  417. package/dist/services/mcpMarketplace.d.ts +130 -0
  418. package/dist/services/mcpMarketplace.d.ts.map +1 -0
  419. package/dist/services/mcpMarketplace.js +693 -0
  420. package/dist/services/mcpMarketplace.js.map +1 -0
  421. package/dist/services/profileCompiler.d.ts +79 -0
  422. package/dist/services/profileCompiler.d.ts.map +1 -0
  423. package/dist/services/profileCompiler.js +280 -0
  424. package/dist/services/profileCompiler.js.map +1 -0
  425. package/dist/templates/assistant/tier1.txt +18 -0
  426. package/dist/templates/assistant/tier2.txt +27 -0
  427. package/dist/templates/assistant/tier3.txt +49 -0
  428. package/dist/templates/assistant/tier4.txt +57 -0
  429. package/dist/templates/assistant/tier5.txt +51 -0
  430. package/dist/templates/debugger/tier1.txt +17 -0
  431. package/dist/templates/debugger/tier2.txt +28 -0
  432. package/dist/templates/debugger/tier3.txt +56 -0
  433. package/dist/templates/debugger/tier4.txt +58 -0
  434. package/dist/templates/debugger/tier5.txt +62 -0
  435. package/dist/templates/developer/tier1.txt +18 -0
  436. package/dist/templates/developer/tier2.txt +34 -0
  437. package/dist/templates/developer/tier3.txt +40 -0
  438. package/dist/templates/developer/tier4.txt +99 -0
  439. package/dist/templates/developer/tier5.txt +100 -0
  440. package/dist/templates/modes/index.ts +52 -0
  441. package/dist/templates/planning/tier1.txt +18 -0
  442. package/dist/templates/planning/tier2.txt +27 -0
  443. package/dist/templates/planning/tier3.txt +49 -0
  444. package/dist/templates/planning/tier4.txt +140 -0
  445. package/dist/templates/planning/tier5.txt +140 -0
  446. package/dist/templates/stateSnapshot.ts +38 -0
  447. package/dist/templates/system/.gitkeep +2 -0
  448. package/dist/templates/system/CoreMandates.txt +8 -0
  449. package/dist/templates/system/SanityChecks.txt +5 -0
  450. package/dist/templates/system/ToolDescriptions.txt +46 -0
  451. package/dist/templates/system/skills/.gitkeep +2 -0
  452. package/dist/templates/system/skills/SkillsAssistant.txt +27 -0
  453. package/dist/templates/system/skills/SkillsDebugger.txt +34 -0
  454. package/dist/templates/system/skills/SkillsDeveloper.txt +27 -0
  455. package/dist/templates/system/skills/SkillsPlanning.txt +33 -0
  456. package/dist/templates/system/skills/SkillsUser.txt +23 -0
  457. package/dist/templates/user/tier1.txt +18 -0
  458. package/dist/templates/user/tier2.txt +27 -0
  459. package/dist/templates/user/tier3.txt +49 -0
  460. package/dist/templates/user/tier4.txt +57 -0
  461. package/dist/templates/user/tier5.txt +51 -0
  462. package/dist/ui/App.d.ts +20 -0
  463. package/dist/ui/App.d.ts.map +1 -0
  464. package/dist/ui/App.js +355 -0
  465. package/dist/ui/App.js.map +1 -0
  466. package/dist/ui/components/AllCallbacksBridge.d.ts +31 -0
  467. package/dist/ui/components/AllCallbacksBridge.d.ts.map +1 -0
  468. package/dist/ui/components/AllCallbacksBridge.js +75 -0
  469. package/dist/ui/components/AllCallbacksBridge.js.map +1 -0
  470. package/dist/ui/components/ErrorBoundary.d.ts +38 -0
  471. package/dist/ui/components/ErrorBoundary.d.ts.map +1 -0
  472. package/dist/ui/components/ErrorBoundary.js +70 -0
  473. package/dist/ui/components/ErrorBoundary.js.map +1 -0
  474. package/dist/ui/components/FullScreen.d.ts +24 -0
  475. package/dist/ui/components/FullScreen.d.ts.map +1 -0
  476. package/dist/ui/components/FullScreen.js +70 -0
  477. package/dist/ui/components/FullScreen.js.map +1 -0
  478. package/dist/ui/components/HybridModeDisplay.d.ts +36 -0
  479. package/dist/ui/components/HybridModeDisplay.d.ts.map +1 -0
  480. package/dist/ui/components/HybridModeDisplay.js +30 -0
  481. package/dist/ui/components/HybridModeDisplay.js.map +1 -0
  482. package/dist/ui/components/InputRouter.d.ts +16 -0
  483. package/dist/ui/components/InputRouter.d.ts.map +1 -0
  484. package/dist/ui/components/InputRouter.js +67 -0
  485. package/dist/ui/components/InputRouter.js.map +1 -0
  486. package/dist/ui/components/InputRoutingIndicator.d.ts +10 -0
  487. package/dist/ui/components/InputRoutingIndicator.d.ts.map +1 -0
  488. package/dist/ui/components/InputRoutingIndicator.js +13 -0
  489. package/dist/ui/components/InputRoutingIndicator.js.map +1 -0
  490. package/dist/ui/components/RightPanelLLMChat.d.ts +7 -0
  491. package/dist/ui/components/RightPanelLLMChat.d.ts.map +1 -0
  492. package/dist/ui/components/RightPanelLLMChat.js +15 -0
  493. package/dist/ui/components/RightPanelLLMChat.js.map +1 -0
  494. package/dist/ui/components/Terminal.d.ts +12 -0
  495. package/dist/ui/components/Terminal.d.ts.map +1 -0
  496. package/dist/ui/components/Terminal.js +90 -0
  497. package/dist/ui/components/Terminal.js.map +1 -0
  498. package/dist/ui/components/Terminal2.d.ts +10 -0
  499. package/dist/ui/components/Terminal2.d.ts.map +1 -0
  500. package/dist/ui/components/Terminal2.js +67 -0
  501. package/dist/ui/components/Terminal2.js.map +1 -0
  502. package/dist/ui/components/UICallbacksBridge.d.ts +25 -0
  503. package/dist/ui/components/UICallbacksBridge.d.ts.map +1 -0
  504. package/dist/ui/components/UICallbacksBridge.js +68 -0
  505. package/dist/ui/components/UICallbacksBridge.js.map +1 -0
  506. package/dist/ui/components/WindowSwitcher.d.ts +35 -0
  507. package/dist/ui/components/WindowSwitcher.d.ts.map +1 -0
  508. package/dist/ui/components/WindowSwitcher.js +20 -0
  509. package/dist/ui/components/WindowSwitcher.js.map +1 -0
  510. package/dist/ui/components/__tests__/testUtils.d.ts +69 -0
  511. package/dist/ui/components/__tests__/testUtils.d.ts.map +1 -0
  512. package/dist/ui/components/__tests__/testUtils.js +76 -0
  513. package/dist/ui/components/__tests__/testUtils.js.map +1 -0
  514. package/dist/ui/components/animations/lama/LlamaAnimation.d.ts +15 -0
  515. package/dist/ui/components/animations/lama/LlamaAnimation.d.ts.map +1 -0
  516. package/dist/ui/components/animations/lama/LlamaAnimation.js +375 -0
  517. package/dist/ui/components/animations/lama/LlamaAnimation.js.map +1 -0
  518. package/dist/ui/components/chat/ChatHistory.d.ts +57 -0
  519. package/dist/ui/components/chat/ChatHistory.d.ts.map +1 -0
  520. package/dist/ui/components/chat/ChatHistory.js +354 -0
  521. package/dist/ui/components/chat/ChatHistory.js.map +1 -0
  522. package/dist/ui/components/chat/Message.d.ts +20 -0
  523. package/dist/ui/components/chat/Message.d.ts.map +1 -0
  524. package/dist/ui/components/chat/Message.js +30 -0
  525. package/dist/ui/components/chat/Message.js.map +1 -0
  526. package/dist/ui/components/chat/MetricsDisplay.d.ts +36 -0
  527. package/dist/ui/components/chat/MetricsDisplay.d.ts.map +1 -0
  528. package/dist/ui/components/chat/MetricsDisplay.js +36 -0
  529. package/dist/ui/components/chat/MetricsDisplay.js.map +1 -0
  530. package/dist/ui/components/chat/ModeTransitionIndicator.d.ts +23 -0
  531. package/dist/ui/components/chat/ModeTransitionIndicator.d.ts.map +1 -0
  532. package/dist/ui/components/chat/ModeTransitionIndicator.js +57 -0
  533. package/dist/ui/components/chat/ModeTransitionIndicator.js.map +1 -0
  534. package/dist/ui/components/chat/ReasoningBox.d.ts +39 -0
  535. package/dist/ui/components/chat/ReasoningBox.d.ts.map +1 -0
  536. package/dist/ui/components/chat/ReasoningBox.js +106 -0
  537. package/dist/ui/components/chat/ReasoningBox.js.map +1 -0
  538. package/dist/ui/components/chat/StreamingIndicator.d.ts +17 -0
  539. package/dist/ui/components/chat/StreamingIndicator.d.ts.map +1 -0
  540. package/dist/ui/components/chat/StreamingIndicator.js +28 -0
  541. package/dist/ui/components/chat/StreamingIndicator.js.map +1 -0
  542. package/dist/ui/components/chat/ToolCall.d.ts +25 -0
  543. package/dist/ui/components/chat/ToolCall.d.ts.map +1 -0
  544. package/dist/ui/components/chat/ToolCall.js +26 -0
  545. package/dist/ui/components/chat/ToolCall.js.map +1 -0
  546. package/dist/ui/components/chat/index.d.ts +15 -0
  547. package/dist/ui/components/chat/index.d.ts.map +1 -0
  548. package/dist/ui/components/chat/index.js +8 -0
  549. package/dist/ui/components/chat/index.js.map +1 -0
  550. package/dist/ui/components/code-editor/EditorMockup.d.ts +20 -0
  551. package/dist/ui/components/code-editor/EditorMockup.d.ts.map +1 -0
  552. package/dist/ui/components/code-editor/EditorMockup.js +346 -0
  553. package/dist/ui/components/code-editor/EditorMockup.js.map +1 -0
  554. package/dist/ui/components/code-editor/index.d.ts +7 -0
  555. package/dist/ui/components/code-editor/index.d.ts.map +1 -0
  556. package/dist/ui/components/code-editor/index.js +7 -0
  557. package/dist/ui/components/code-editor/index.js.map +1 -0
  558. package/dist/ui/components/comparison/ComparisonView.d.ts +32 -0
  559. package/dist/ui/components/comparison/ComparisonView.d.ts.map +1 -0
  560. package/dist/ui/components/comparison/ComparisonView.js +27 -0
  561. package/dist/ui/components/comparison/ComparisonView.js.map +1 -0
  562. package/dist/ui/components/comparison/index.d.ts +3 -0
  563. package/dist/ui/components/comparison/index.d.ts.map +1 -0
  564. package/dist/ui/components/comparison/index.js +2 -0
  565. package/dist/ui/components/comparison/index.js.map +1 -0
  566. package/dist/ui/components/context/CompressionProgress.d.ts +38 -0
  567. package/dist/ui/components/context/CompressionProgress.d.ts.map +1 -0
  568. package/dist/ui/components/context/CompressionProgress.js +85 -0
  569. package/dist/ui/components/context/CompressionProgress.js.map +1 -0
  570. package/dist/ui/components/context/ContextMenu.d.ts +40 -0
  571. package/dist/ui/components/context/ContextMenu.d.ts.map +1 -0
  572. package/dist/ui/components/context/ContextMenu.js +420 -0
  573. package/dist/ui/components/context/ContextMenu.js.map +1 -0
  574. package/dist/ui/components/context/__tests__/CompressionProgress.example.d.ts +54 -0
  575. package/dist/ui/components/context/__tests__/CompressionProgress.example.d.ts.map +1 -0
  576. package/dist/ui/components/context/__tests__/CompressionProgress.example.js +28 -0
  577. package/dist/ui/components/context/__tests__/CompressionProgress.example.js.map +1 -0
  578. package/dist/ui/components/context/__tests__/CompressionProgress.test.d.ts +8 -0
  579. package/dist/ui/components/context/__tests__/CompressionProgress.test.d.ts.map +1 -0
  580. package/dist/ui/components/context/__tests__/CompressionProgress.test.js +201 -0
  581. package/dist/ui/components/context/__tests__/CompressionProgress.test.js.map +1 -0
  582. package/dist/ui/components/context/index.d.ts +9 -0
  583. package/dist/ui/components/context/index.d.ts.map +1 -0
  584. package/dist/ui/components/context/index.js +8 -0
  585. package/dist/ui/components/context/index.js.map +1 -0
  586. package/dist/ui/components/dialogs/APIKeyInputDialog.d.ts +20 -0
  587. package/dist/ui/components/dialogs/APIKeyInputDialog.d.ts.map +1 -0
  588. package/dist/ui/components/dialogs/APIKeyInputDialog.js +169 -0
  589. package/dist/ui/components/dialogs/APIKeyInputDialog.js.map +1 -0
  590. package/dist/ui/components/dialogs/AddHookDialog.d.ts +29 -0
  591. package/dist/ui/components/dialogs/AddHookDialog.d.ts.map +1 -0
  592. package/dist/ui/components/dialogs/AddHookDialog.js +30 -0
  593. package/dist/ui/components/dialogs/AddHookDialog.js.map +1 -0
  594. package/dist/ui/components/dialogs/ConfirmationDialog.d.ts +58 -0
  595. package/dist/ui/components/dialogs/ConfirmationDialog.d.ts.map +1 -0
  596. package/dist/ui/components/dialogs/ConfirmationDialog.js +102 -0
  597. package/dist/ui/components/dialogs/ConfirmationDialog.js.map +1 -0
  598. package/dist/ui/components/dialogs/DeleteConfirmationDialog.d.ts +23 -0
  599. package/dist/ui/components/dialogs/DeleteConfirmationDialog.d.ts.map +1 -0
  600. package/dist/ui/components/dialogs/DeleteConfirmationDialog.js +39 -0
  601. package/dist/ui/components/dialogs/DeleteConfirmationDialog.js.map +1 -0
  602. package/dist/ui/components/dialogs/Dialog.d.ts +48 -0
  603. package/dist/ui/components/dialogs/Dialog.d.ts.map +1 -0
  604. package/dist/ui/components/dialogs/Dialog.js +48 -0
  605. package/dist/ui/components/dialogs/Dialog.js.map +1 -0
  606. package/dist/ui/components/dialogs/DialogErrorBoundary.d.ts +17 -0
  607. package/dist/ui/components/dialogs/DialogErrorBoundary.d.ts.map +1 -0
  608. package/dist/ui/components/dialogs/DialogErrorBoundary.js +10 -0
  609. package/dist/ui/components/dialogs/DialogErrorBoundary.js.map +1 -0
  610. package/dist/ui/components/dialogs/DialogManager.d.ts +11 -0
  611. package/dist/ui/components/dialogs/DialogManager.d.ts.map +1 -0
  612. package/dist/ui/components/dialogs/DialogManager.js +98 -0
  613. package/dist/ui/components/dialogs/DialogManager.js.map +1 -0
  614. package/dist/ui/components/dialogs/EditHookDialog.d.ts +23 -0
  615. package/dist/ui/components/dialogs/EditHookDialog.d.ts.map +1 -0
  616. package/dist/ui/components/dialogs/EditHookDialog.js +64 -0
  617. package/dist/ui/components/dialogs/EditHookDialog.js.map +1 -0
  618. package/dist/ui/components/dialogs/HealthMonitorDialog.d.ts +33 -0
  619. package/dist/ui/components/dialogs/HealthMonitorDialog.d.ts.map +1 -0
  620. package/dist/ui/components/dialogs/HealthMonitorDialog.js +222 -0
  621. package/dist/ui/components/dialogs/HealthMonitorDialog.js.map +1 -0
  622. package/dist/ui/components/dialogs/HelpOverlay.d.ts +24 -0
  623. package/dist/ui/components/dialogs/HelpOverlay.d.ts.map +1 -0
  624. package/dist/ui/components/dialogs/HelpOverlay.js +20 -0
  625. package/dist/ui/components/dialogs/HelpOverlay.js.map +1 -0
  626. package/dist/ui/components/dialogs/HookApprovalDialog.d.ts +31 -0
  627. package/dist/ui/components/dialogs/HookApprovalDialog.d.ts.map +1 -0
  628. package/dist/ui/components/dialogs/HookApprovalDialog.js +80 -0
  629. package/dist/ui/components/dialogs/HookApprovalDialog.js.map +1 -0
  630. package/dist/ui/components/dialogs/InstallServerDialog.d.ts +37 -0
  631. package/dist/ui/components/dialogs/InstallServerDialog.d.ts.map +1 -0
  632. package/dist/ui/components/dialogs/InstallServerDialog.js +234 -0
  633. package/dist/ui/components/dialogs/InstallServerDialog.js.map +1 -0
  634. package/dist/ui/components/dialogs/MarketplaceDialog.d.ts +31 -0
  635. package/dist/ui/components/dialogs/MarketplaceDialog.d.ts.map +1 -0
  636. package/dist/ui/components/dialogs/MarketplaceDialog.js +178 -0
  637. package/dist/ui/components/dialogs/MarketplaceDialog.js.map +1 -0
  638. package/dist/ui/components/dialogs/ModeSuggestionDialog.d.ts +23 -0
  639. package/dist/ui/components/dialogs/ModeSuggestionDialog.d.ts.map +1 -0
  640. package/dist/ui/components/dialogs/ModeSuggestionDialog.js +33 -0
  641. package/dist/ui/components/dialogs/ModeSuggestionDialog.js.map +1 -0
  642. package/dist/ui/components/dialogs/OAuthConfigDialog.d.ts +34 -0
  643. package/dist/ui/components/dialogs/OAuthConfigDialog.d.ts.map +1 -0
  644. package/dist/ui/components/dialogs/OAuthConfigDialog.js +307 -0
  645. package/dist/ui/components/dialogs/OAuthConfigDialog.js.map +1 -0
  646. package/dist/ui/components/dialogs/ServerConfigDialog.d.ts +35 -0
  647. package/dist/ui/components/dialogs/ServerConfigDialog.d.ts.map +1 -0
  648. package/dist/ui/components/dialogs/ServerConfigDialog.js +210 -0
  649. package/dist/ui/components/dialogs/ServerConfigDialog.js.map +1 -0
  650. package/dist/ui/components/dialogs/ServerLogsViewer.d.ts +32 -0
  651. package/dist/ui/components/dialogs/ServerLogsViewer.d.ts.map +1 -0
  652. package/dist/ui/components/dialogs/ServerLogsViewer.js +244 -0
  653. package/dist/ui/components/dialogs/ServerLogsViewer.js.map +1 -0
  654. package/dist/ui/components/dialogs/TestHookDialog.d.ts +26 -0
  655. package/dist/ui/components/dialogs/TestHookDialog.d.ts.map +1 -0
  656. package/dist/ui/components/dialogs/TestHookDialog.js +60 -0
  657. package/dist/ui/components/dialogs/TestHookDialog.js.map +1 -0
  658. package/dist/ui/components/dialogs/UninstallConfirmDialog.d.ts +36 -0
  659. package/dist/ui/components/dialogs/UninstallConfirmDialog.d.ts.map +1 -0
  660. package/dist/ui/components/dialogs/UninstallConfirmDialog.js +66 -0
  661. package/dist/ui/components/dialogs/UninstallConfirmDialog.js.map +1 -0
  662. package/dist/ui/components/dialogs/UserPromptDialog.d.ts +34 -0
  663. package/dist/ui/components/dialogs/UserPromptDialog.d.ts.map +1 -0
  664. package/dist/ui/components/dialogs/UserPromptDialog.js +18 -0
  665. package/dist/ui/components/dialogs/UserPromptDialog.js.map +1 -0
  666. package/dist/ui/components/dialogs/index.d.ts +33 -0
  667. package/dist/ui/components/dialogs/index.d.ts.map +1 -0
  668. package/dist/ui/components/dialogs/index.js +19 -0
  669. package/dist/ui/components/dialogs/index.js.map +1 -0
  670. package/dist/ui/components/docs/DocNav.d.ts +21 -0
  671. package/dist/ui/components/docs/DocNav.d.ts.map +1 -0
  672. package/dist/ui/components/docs/DocNav.js +16 -0
  673. package/dist/ui/components/docs/DocNav.js.map +1 -0
  674. package/dist/ui/components/docs/DocViewer.d.ts +22 -0
  675. package/dist/ui/components/docs/DocViewer.d.ts.map +1 -0
  676. package/dist/ui/components/docs/DocViewer.js +51 -0
  677. package/dist/ui/components/docs/DocViewer.js.map +1 -0
  678. package/dist/ui/components/docs/DocsPanel.d.ts +21 -0
  679. package/dist/ui/components/docs/DocsPanel.d.ts.map +1 -0
  680. package/dist/ui/components/docs/DocsPanel.js +236 -0
  681. package/dist/ui/components/docs/DocsPanel.js.map +1 -0
  682. package/dist/ui/components/docs/index.d.ts +3 -0
  683. package/dist/ui/components/docs/index.d.ts.map +1 -0
  684. package/dist/ui/components/docs/index.js +3 -0
  685. package/dist/ui/components/docs/index.js.map +1 -0
  686. package/dist/ui/components/file-explorer/ConfirmationDialog.d.ts +45 -0
  687. package/dist/ui/components/file-explorer/ConfirmationDialog.d.ts.map +1 -0
  688. package/dist/ui/components/file-explorer/ConfirmationDialog.js +87 -0
  689. package/dist/ui/components/file-explorer/ConfirmationDialog.js.map +1 -0
  690. package/dist/ui/components/file-explorer/EditorIntegration.d.ts +73 -0
  691. package/dist/ui/components/file-explorer/EditorIntegration.d.ts.map +1 -0
  692. package/dist/ui/components/file-explorer/EditorIntegration.js +156 -0
  693. package/dist/ui/components/file-explorer/EditorIntegration.js.map +1 -0
  694. package/dist/ui/components/file-explorer/EnhancedFileExplorer.d.ts +28 -0
  695. package/dist/ui/components/file-explorer/EnhancedFileExplorer.d.ts.map +1 -0
  696. package/dist/ui/components/file-explorer/EnhancedFileExplorer.js +33 -0
  697. package/dist/ui/components/file-explorer/EnhancedFileExplorer.js.map +1 -0
  698. package/dist/ui/components/file-explorer/ErrorHandler.d.ts +102 -0
  699. package/dist/ui/components/file-explorer/ErrorHandler.d.ts.map +1 -0
  700. package/dist/ui/components/file-explorer/ErrorHandler.js +220 -0
  701. package/dist/ui/components/file-explorer/ErrorHandler.js.map +1 -0
  702. package/dist/ui/components/file-explorer/ExplorerPersistence.d.ts +103 -0
  703. package/dist/ui/components/file-explorer/ExplorerPersistence.d.ts.map +1 -0
  704. package/dist/ui/components/file-explorer/ExplorerPersistence.js +182 -0
  705. package/dist/ui/components/file-explorer/ExplorerPersistence.js.map +1 -0
  706. package/dist/ui/components/file-explorer/FileExplorerComponent.d.ts +77 -0
  707. package/dist/ui/components/file-explorer/FileExplorerComponent.d.ts.map +1 -0
  708. package/dist/ui/components/file-explorer/FileExplorerComponent.js +362 -0
  709. package/dist/ui/components/file-explorer/FileExplorerComponent.js.map +1 -0
  710. package/dist/ui/components/file-explorer/FileFocusContext.d.ts +65 -0
  711. package/dist/ui/components/file-explorer/FileFocusContext.d.ts.map +1 -0
  712. package/dist/ui/components/file-explorer/FileFocusContext.js +127 -0
  713. package/dist/ui/components/file-explorer/FileFocusContext.js.map +1 -0
  714. package/dist/ui/components/file-explorer/FileOperations.d.ts +160 -0
  715. package/dist/ui/components/file-explorer/FileOperations.d.ts.map +1 -0
  716. package/dist/ui/components/file-explorer/FileOperations.js +595 -0
  717. package/dist/ui/components/file-explorer/FileOperations.js.map +1 -0
  718. package/dist/ui/components/file-explorer/FileSearchDialog.d.ts +46 -0
  719. package/dist/ui/components/file-explorer/FileSearchDialog.d.ts.map +1 -0
  720. package/dist/ui/components/file-explorer/FileSearchDialog.js +162 -0
  721. package/dist/ui/components/file-explorer/FileSearchDialog.js.map +1 -0
  722. package/dist/ui/components/file-explorer/FileTreeContext.d.ts +85 -0
  723. package/dist/ui/components/file-explorer/FileTreeContext.d.ts.map +1 -0
  724. package/dist/ui/components/file-explorer/FileTreeContext.js +252 -0
  725. package/dist/ui/components/file-explorer/FileTreeContext.js.map +1 -0
  726. package/dist/ui/components/file-explorer/FileTreeService.d.ts +270 -0
  727. package/dist/ui/components/file-explorer/FileTreeService.d.ts.map +1 -0
  728. package/dist/ui/components/file-explorer/FileTreeService.js +454 -0
  729. package/dist/ui/components/file-explorer/FileTreeService.js.map +1 -0
  730. package/dist/ui/components/file-explorer/FileTreeView.d.ts +45 -0
  731. package/dist/ui/components/file-explorer/FileTreeView.d.ts.map +1 -0
  732. package/dist/ui/components/file-explorer/FileTreeView.js +686 -0
  733. package/dist/ui/components/file-explorer/FileTreeView.js.map +1 -0
  734. package/dist/ui/components/file-explorer/FocusSystem.d.ts +130 -0
  735. package/dist/ui/components/file-explorer/FocusSystem.d.ts.map +1 -0
  736. package/dist/ui/components/file-explorer/FocusSystem.js +234 -0
  737. package/dist/ui/components/file-explorer/FocusSystem.js.map +1 -0
  738. package/dist/ui/components/file-explorer/FocusedFilesInjector.d.ts +52 -0
  739. package/dist/ui/components/file-explorer/FocusedFilesInjector.d.ts.map +1 -0
  740. package/dist/ui/components/file-explorer/FocusedFilesInjector.js +147 -0
  741. package/dist/ui/components/file-explorer/FocusedFilesInjector.js.map +1 -0
  742. package/dist/ui/components/file-explorer/FocusedFilesPanel.d.ts +32 -0
  743. package/dist/ui/components/file-explorer/FocusedFilesPanel.d.ts.map +1 -0
  744. package/dist/ui/components/file-explorer/FocusedFilesPanel.js +64 -0
  745. package/dist/ui/components/file-explorer/FocusedFilesPanel.js.map +1 -0
  746. package/dist/ui/components/file-explorer/FollowModeService.d.ts +55 -0
  747. package/dist/ui/components/file-explorer/FollowModeService.d.ts.map +1 -0
  748. package/dist/ui/components/file-explorer/FollowModeService.js +195 -0
  749. package/dist/ui/components/file-explorer/FollowModeService.js.map +1 -0
  750. package/dist/ui/components/file-explorer/GitStatusService.d.ts +82 -0
  751. package/dist/ui/components/file-explorer/GitStatusService.d.ts.map +1 -0
  752. package/dist/ui/components/file-explorer/GitStatusService.js +203 -0
  753. package/dist/ui/components/file-explorer/GitStatusService.js.map +1 -0
  754. package/dist/ui/components/file-explorer/Header.d.ts +26 -0
  755. package/dist/ui/components/file-explorer/Header.d.ts.map +1 -0
  756. package/dist/ui/components/file-explorer/Header.js +20 -0
  757. package/dist/ui/components/file-explorer/Header.js.map +1 -0
  758. package/dist/ui/components/file-explorer/HelpPanel.d.ts +25 -0
  759. package/dist/ui/components/file-explorer/HelpPanel.d.ts.map +1 -0
  760. package/dist/ui/components/file-explorer/HelpPanel.js +38 -0
  761. package/dist/ui/components/file-explorer/HelpPanel.js.map +1 -0
  762. package/dist/ui/components/file-explorer/LoadingIndicator.d.ts +56 -0
  763. package/dist/ui/components/file-explorer/LoadingIndicator.d.ts.map +1 -0
  764. package/dist/ui/components/file-explorer/LoadingIndicator.js +82 -0
  765. package/dist/ui/components/file-explorer/LoadingIndicator.js.map +1 -0
  766. package/dist/ui/components/file-explorer/PathSanitizer.d.ts +92 -0
  767. package/dist/ui/components/file-explorer/PathSanitizer.d.ts.map +1 -0
  768. package/dist/ui/components/file-explorer/PathSanitizer.js +169 -0
  769. package/dist/ui/components/file-explorer/PathSanitizer.js.map +1 -0
  770. package/dist/ui/components/file-explorer/QuickActionsMenu.d.ts +54 -0
  771. package/dist/ui/components/file-explorer/QuickActionsMenu.d.ts.map +1 -0
  772. package/dist/ui/components/file-explorer/QuickActionsMenu.js +175 -0
  773. package/dist/ui/components/file-explorer/QuickActionsMenu.js.map +1 -0
  774. package/dist/ui/components/file-explorer/QuickOpenDialog.d.ts +40 -0
  775. package/dist/ui/components/file-explorer/QuickOpenDialog.d.ts.map +1 -0
  776. package/dist/ui/components/file-explorer/QuickOpenDialog.js +231 -0
  777. package/dist/ui/components/file-explorer/QuickOpenDialog.js.map +1 -0
  778. package/dist/ui/components/file-explorer/SyntaxViewer.d.ts +37 -0
  779. package/dist/ui/components/file-explorer/SyntaxViewer.d.ts.map +1 -0
  780. package/dist/ui/components/file-explorer/SyntaxViewer.js +95 -0
  781. package/dist/ui/components/file-explorer/SyntaxViewer.js.map +1 -0
  782. package/dist/ui/components/file-explorer/VisionService.d.ts +39 -0
  783. package/dist/ui/components/file-explorer/VisionService.d.ts.map +1 -0
  784. package/dist/ui/components/file-explorer/VisionService.js +103 -0
  785. package/dist/ui/components/file-explorer/VisionService.js.map +1 -0
  786. package/dist/ui/components/file-explorer/WorkspaceContext.d.ts +68 -0
  787. package/dist/ui/components/file-explorer/WorkspaceContext.d.ts.map +1 -0
  788. package/dist/ui/components/file-explorer/WorkspaceContext.js +98 -0
  789. package/dist/ui/components/file-explorer/WorkspaceContext.js.map +1 -0
  790. package/dist/ui/components/file-explorer/WorkspaceManager.d.ts +96 -0
  791. package/dist/ui/components/file-explorer/WorkspaceManager.d.ts.map +1 -0
  792. package/dist/ui/components/file-explorer/WorkspaceManager.js +197 -0
  793. package/dist/ui/components/file-explorer/WorkspaceManager.js.map +1 -0
  794. package/dist/ui/components/file-explorer/__tests__/ExplorerPersistence.test.d.ts +7 -0
  795. package/dist/ui/components/file-explorer/__tests__/ExplorerPersistence.test.d.ts.map +1 -0
  796. package/dist/ui/components/file-explorer/__tests__/ExplorerPersistence.test.js +97 -0
  797. package/dist/ui/components/file-explorer/__tests__/ExplorerPersistence.test.js.map +1 -0
  798. package/dist/ui/components/file-explorer/__tests__/FileOperations.test.d.ts +7 -0
  799. package/dist/ui/components/file-explorer/__tests__/FileOperations.test.d.ts.map +1 -0
  800. package/dist/ui/components/file-explorer/__tests__/FileOperations.test.js +145 -0
  801. package/dist/ui/components/file-explorer/__tests__/FileOperations.test.js.map +1 -0
  802. package/dist/ui/components/file-explorer/__tests__/FileSearchDialog.test.d.ts +7 -0
  803. package/dist/ui/components/file-explorer/__tests__/FileSearchDialog.test.d.ts.map +1 -0
  804. package/dist/ui/components/file-explorer/__tests__/FileSearchDialog.test.js +45 -0
  805. package/dist/ui/components/file-explorer/__tests__/FileSearchDialog.test.js.map +1 -0
  806. package/dist/ui/components/file-explorer/__tests__/FileTreeService.test.d.ts +7 -0
  807. package/dist/ui/components/file-explorer/__tests__/FileTreeService.test.d.ts.map +1 -0
  808. package/dist/ui/components/file-explorer/__tests__/FileTreeService.test.js +108 -0
  809. package/dist/ui/components/file-explorer/__tests__/FileTreeService.test.js.map +1 -0
  810. package/dist/ui/components/file-explorer/__tests__/FocusSystem.test.d.ts +7 -0
  811. package/dist/ui/components/file-explorer/__tests__/FocusSystem.test.d.ts.map +1 -0
  812. package/dist/ui/components/file-explorer/__tests__/FocusSystem.test.js +117 -0
  813. package/dist/ui/components/file-explorer/__tests__/FocusSystem.test.js.map +1 -0
  814. package/dist/ui/components/file-explorer/__tests__/PathSanitizer.test.d.ts +7 -0
  815. package/dist/ui/components/file-explorer/__tests__/PathSanitizer.test.d.ts.map +1 -0
  816. package/dist/ui/components/file-explorer/__tests__/PathSanitizer.test.js +74 -0
  817. package/dist/ui/components/file-explorer/__tests__/PathSanitizer.test.js.map +1 -0
  818. package/dist/ui/components/file-explorer/index.d.ts +33 -0
  819. package/dist/ui/components/file-explorer/index.d.ts.map +1 -0
  820. package/dist/ui/components/file-explorer/index.js +36 -0
  821. package/dist/ui/components/file-explorer/index.js.map +1 -0
  822. package/dist/ui/components/file-explorer/types.d.ts +81 -0
  823. package/dist/ui/components/file-explorer/types.d.ts.map +1 -0
  824. package/dist/ui/components/file-explorer/types.js +9 -0
  825. package/dist/ui/components/file-explorer/types.js.map +1 -0
  826. package/dist/ui/components/forms/Button.d.ts +55 -0
  827. package/dist/ui/components/forms/Button.d.ts.map +1 -0
  828. package/dist/ui/components/forms/Button.js +58 -0
  829. package/dist/ui/components/forms/Button.js.map +1 -0
  830. package/dist/ui/components/forms/Checkbox.d.ts +39 -0
  831. package/dist/ui/components/forms/Checkbox.d.ts.map +1 -0
  832. package/dist/ui/components/forms/Checkbox.js +29 -0
  833. package/dist/ui/components/forms/Checkbox.js.map +1 -0
  834. package/dist/ui/components/forms/FormField.d.ts +24 -0
  835. package/dist/ui/components/forms/FormField.d.ts.map +1 -0
  836. package/dist/ui/components/forms/FormField.js +11 -0
  837. package/dist/ui/components/forms/FormField.js.map +1 -0
  838. package/dist/ui/components/forms/TextInput.d.ts +47 -0
  839. package/dist/ui/components/forms/TextInput.d.ts.map +1 -0
  840. package/dist/ui/components/forms/TextInput.js +74 -0
  841. package/dist/ui/components/forms/TextInput.js.map +1 -0
  842. package/dist/ui/components/forms/Tooltip.d.ts +38 -0
  843. package/dist/ui/components/forms/Tooltip.d.ts.map +1 -0
  844. package/dist/ui/components/forms/Tooltip.js +21 -0
  845. package/dist/ui/components/forms/Tooltip.js.map +1 -0
  846. package/dist/ui/components/forms/index.d.ts +22 -0
  847. package/dist/ui/components/forms/index.d.ts.map +1 -0
  848. package/dist/ui/components/forms/index.js +17 -0
  849. package/dist/ui/components/forms/index.js.map +1 -0
  850. package/dist/ui/components/github/FeatureSection.d.ts +15 -0
  851. package/dist/ui/components/github/FeatureSection.d.ts.map +1 -0
  852. package/dist/ui/components/github/FeatureSection.js +14 -0
  853. package/dist/ui/components/github/FeatureSection.js.map +1 -0
  854. package/dist/ui/components/github/PlannedFeaturesList.d.ts +15 -0
  855. package/dist/ui/components/github/PlannedFeaturesList.d.ts.map +1 -0
  856. package/dist/ui/components/github/PlannedFeaturesList.js +69 -0
  857. package/dist/ui/components/github/PlannedFeaturesList.js.map +1 -0
  858. package/dist/ui/components/hooks/HookCategory.d.ts +32 -0
  859. package/dist/ui/components/hooks/HookCategory.d.ts.map +1 -0
  860. package/dist/ui/components/hooks/HookCategory.js +34 -0
  861. package/dist/ui/components/hooks/HookCategory.js.map +1 -0
  862. package/dist/ui/components/hooks/HookItem.d.ts +48 -0
  863. package/dist/ui/components/hooks/HookItem.d.ts.map +1 -0
  864. package/dist/ui/components/hooks/HookItem.js +48 -0
  865. package/dist/ui/components/hooks/HookItem.js.map +1 -0
  866. package/dist/ui/components/hooks/index.d.ts +3 -0
  867. package/dist/ui/components/hooks/index.d.ts.map +1 -0
  868. package/dist/ui/components/hooks/index.js +3 -0
  869. package/dist/ui/components/hooks/index.js.map +1 -0
  870. package/dist/ui/components/launch/LaunchScreen.d.ts +24 -0
  871. package/dist/ui/components/launch/LaunchScreen.d.ts.map +1 -0
  872. package/dist/ui/components/launch/LaunchScreen.js +29 -0
  873. package/dist/ui/components/launch/LaunchScreen.js.map +1 -0
  874. package/dist/ui/components/launch/QuickActions.d.ts +13 -0
  875. package/dist/ui/components/launch/QuickActions.d.ts.map +1 -0
  876. package/dist/ui/components/launch/QuickActions.js +6 -0
  877. package/dist/ui/components/launch/QuickActions.js.map +1 -0
  878. package/dist/ui/components/launch/RecentSessions.d.ts +19 -0
  879. package/dist/ui/components/launch/RecentSessions.d.ts.map +1 -0
  880. package/dist/ui/components/launch/RecentSessions.js +23 -0
  881. package/dist/ui/components/launch/RecentSessions.js.map +1 -0
  882. package/dist/ui/components/launch/VersionBanner.d.ts +17 -0
  883. package/dist/ui/components/launch/VersionBanner.d.ts.map +1 -0
  884. package/dist/ui/components/launch/VersionBanner.js +71 -0
  885. package/dist/ui/components/launch/VersionBanner.js.map +1 -0
  886. package/dist/ui/components/launch/index.d.ts +5 -0
  887. package/dist/ui/components/launch/index.d.ts.map +1 -0
  888. package/dist/ui/components/launch/index.js +5 -0
  889. package/dist/ui/components/launch/index.js.map +1 -0
  890. package/dist/ui/components/layout/ActivePromptInfo.d.ts +2 -0
  891. package/dist/ui/components/layout/ActivePromptInfo.d.ts.map +1 -0
  892. package/dist/ui/components/layout/ActivePromptInfo.js +37 -0
  893. package/dist/ui/components/layout/ActivePromptInfo.js.map +1 -0
  894. package/dist/ui/components/layout/ChatInputArea.d.ts +15 -0
  895. package/dist/ui/components/layout/ChatInputArea.d.ts.map +1 -0
  896. package/dist/ui/components/layout/ChatInputArea.js +239 -0
  897. package/dist/ui/components/layout/ChatInputArea.js.map +1 -0
  898. package/dist/ui/components/layout/Clock.d.ts +6 -0
  899. package/dist/ui/components/layout/Clock.d.ts.map +1 -0
  900. package/dist/ui/components/layout/Clock.js +23 -0
  901. package/dist/ui/components/layout/Clock.js.map +1 -0
  902. package/dist/ui/components/layout/ContextSection.d.ts +2 -0
  903. package/dist/ui/components/layout/ContextSection.d.ts.map +1 -0
  904. package/dist/ui/components/layout/ContextSection.js +38 -0
  905. package/dist/ui/components/layout/ContextSection.js.map +1 -0
  906. package/dist/ui/components/layout/DotIndicator.d.ts +13 -0
  907. package/dist/ui/components/layout/DotIndicator.d.ts.map +1 -0
  908. package/dist/ui/components/layout/DotIndicator.js +15 -0
  909. package/dist/ui/components/layout/DotIndicator.js.map +1 -0
  910. package/dist/ui/components/layout/HeaderBar.d.ts +21 -0
  911. package/dist/ui/components/layout/HeaderBar.d.ts.map +1 -0
  912. package/dist/ui/components/layout/HeaderBar.js +19 -0
  913. package/dist/ui/components/layout/HeaderBar.js.map +1 -0
  914. package/dist/ui/components/layout/InputBox.d.ts +22 -0
  915. package/dist/ui/components/layout/InputBox.d.ts.map +1 -0
  916. package/dist/ui/components/layout/InputBox.js +147 -0
  917. package/dist/ui/components/layout/InputBox.js.map +1 -0
  918. package/dist/ui/components/layout/KeybindsLegend.d.ts +10 -0
  919. package/dist/ui/components/layout/KeybindsLegend.d.ts.map +1 -0
  920. package/dist/ui/components/layout/KeybindsLegend.js +9 -0
  921. package/dist/ui/components/layout/KeybindsLegend.js.map +1 -0
  922. package/dist/ui/components/layout/ModeConfidenceDisplay.d.ts +19 -0
  923. package/dist/ui/components/layout/ModeConfidenceDisplay.d.ts.map +1 -0
  924. package/dist/ui/components/layout/ModeConfidenceDisplay.js +38 -0
  925. package/dist/ui/components/layout/ModeConfidenceDisplay.js.map +1 -0
  926. package/dist/ui/components/layout/SidePanel.d.ts +9 -0
  927. package/dist/ui/components/layout/SidePanel.d.ts.map +1 -0
  928. package/dist/ui/components/layout/SidePanel.js +59 -0
  929. package/dist/ui/components/layout/SidePanel.js.map +1 -0
  930. package/dist/ui/components/layout/StaticInputArea.d.ts +13 -0
  931. package/dist/ui/components/layout/StaticInputArea.d.ts.map +1 -0
  932. package/dist/ui/components/layout/StaticInputArea.js +21 -0
  933. package/dist/ui/components/layout/StaticInputArea.js.map +1 -0
  934. package/dist/ui/components/layout/StatusBar.d.ts +16 -0
  935. package/dist/ui/components/layout/StatusBar.d.ts.map +1 -0
  936. package/dist/ui/components/layout/StatusBar.js +13 -0
  937. package/dist/ui/components/layout/StatusBar.js.map +1 -0
  938. package/dist/ui/components/layout/SystemBar.d.ts +10 -0
  939. package/dist/ui/components/layout/SystemBar.d.ts.map +1 -0
  940. package/dist/ui/components/layout/SystemBar.js +75 -0
  941. package/dist/ui/components/layout/SystemBar.js.map +1 -0
  942. package/dist/ui/components/layout/TabBar.d.ts +19 -0
  943. package/dist/ui/components/layout/TabBar.d.ts.map +1 -0
  944. package/dist/ui/components/layout/TabBar.js +53 -0
  945. package/dist/ui/components/layout/TabBar.js.map +1 -0
  946. package/dist/ui/components/layout/TabContainer.d.ts +58 -0
  947. package/dist/ui/components/layout/TabContainer.d.ts.map +1 -0
  948. package/dist/ui/components/layout/TabContainer.js +19 -0
  949. package/dist/ui/components/layout/TabContainer.js.map +1 -0
  950. package/dist/ui/components/layout/TwoColumnLayout.d.ts +54 -0
  951. package/dist/ui/components/layout/TwoColumnLayout.d.ts.map +1 -0
  952. package/dist/ui/components/layout/TwoColumnLayout.js +22 -0
  953. package/dist/ui/components/layout/TwoColumnLayout.js.map +1 -0
  954. package/dist/ui/components/layout/WorkspacePanel.d.ts +17 -0
  955. package/dist/ui/components/layout/WorkspacePanel.d.ts.map +1 -0
  956. package/dist/ui/components/layout/WorkspacePanel.js +264 -0
  957. package/dist/ui/components/layout/WorkspacePanel.js.map +1 -0
  958. package/dist/ui/components/layout/__tests__/InputBox.example.d.ts +18 -0
  959. package/dist/ui/components/layout/__tests__/InputBox.example.d.ts.map +1 -0
  960. package/dist/ui/components/layout/__tests__/InputBox.example.js +40 -0
  961. package/dist/ui/components/layout/__tests__/InputBox.example.js.map +1 -0
  962. package/dist/ui/components/layout/index.d.ts +10 -0
  963. package/dist/ui/components/layout/index.d.ts.map +1 -0
  964. package/dist/ui/components/layout/index.js +10 -0
  965. package/dist/ui/components/layout/index.js.map +1 -0
  966. package/dist/ui/components/mcp/ErrorDisplay.d.ts +32 -0
  967. package/dist/ui/components/mcp/ErrorDisplay.d.ts.map +1 -0
  968. package/dist/ui/components/mcp/ErrorDisplay.js +27 -0
  969. package/dist/ui/components/mcp/ErrorDisplay.js.map +1 -0
  970. package/dist/ui/components/mcp/FadeTransition.d.ts +75 -0
  971. package/dist/ui/components/mcp/FadeTransition.d.ts.map +1 -0
  972. package/dist/ui/components/mcp/FadeTransition.js +132 -0
  973. package/dist/ui/components/mcp/FadeTransition.js.map +1 -0
  974. package/dist/ui/components/mcp/HealthIndicator.d.ts +21 -0
  975. package/dist/ui/components/mcp/HealthIndicator.d.ts.map +1 -0
  976. package/dist/ui/components/mcp/HealthIndicator.js +75 -0
  977. package/dist/ui/components/mcp/HealthIndicator.js.map +1 -0
  978. package/dist/ui/components/mcp/InstalledServersSection.d.ts +33 -0
  979. package/dist/ui/components/mcp/InstalledServersSection.d.ts.map +1 -0
  980. package/dist/ui/components/mcp/InstalledServersSection.js +16 -0
  981. package/dist/ui/components/mcp/InstalledServersSection.js.map +1 -0
  982. package/dist/ui/components/mcp/LoadingSpinner.d.ts +29 -0
  983. package/dist/ui/components/mcp/LoadingSpinner.d.ts.map +1 -0
  984. package/dist/ui/components/mcp/LoadingSpinner.js +17 -0
  985. package/dist/ui/components/mcp/LoadingSpinner.js.map +1 -0
  986. package/dist/ui/components/mcp/MCPActions.d.ts +31 -0
  987. package/dist/ui/components/mcp/MCPActions.d.ts.map +1 -0
  988. package/dist/ui/components/mcp/MCPActions.js +25 -0
  989. package/dist/ui/components/mcp/MCPActions.js.map +1 -0
  990. package/dist/ui/components/mcp/MarketplacePreview.d.ts +25 -0
  991. package/dist/ui/components/mcp/MarketplacePreview.d.ts.map +1 -0
  992. package/dist/ui/components/mcp/MarketplacePreview.js +45 -0
  993. package/dist/ui/components/mcp/MarketplacePreview.js.map +1 -0
  994. package/dist/ui/components/mcp/Notification.d.ts +79 -0
  995. package/dist/ui/components/mcp/Notification.d.ts.map +1 -0
  996. package/dist/ui/components/mcp/Notification.js +145 -0
  997. package/dist/ui/components/mcp/Notification.js.map +1 -0
  998. package/dist/ui/components/mcp/OperationProgress.d.ts +20 -0
  999. package/dist/ui/components/mcp/OperationProgress.d.ts.map +1 -0
  1000. package/dist/ui/components/mcp/OperationProgress.js +16 -0
  1001. package/dist/ui/components/mcp/OperationProgress.js.map +1 -0
  1002. package/dist/ui/components/mcp/ProgressIndicator.d.ts +34 -0
  1003. package/dist/ui/components/mcp/ProgressIndicator.d.ts.map +1 -0
  1004. package/dist/ui/components/mcp/ProgressIndicator.js +75 -0
  1005. package/dist/ui/components/mcp/ProgressIndicator.js.map +1 -0
  1006. package/dist/ui/components/mcp/ServerDetails.d.ts +44 -0
  1007. package/dist/ui/components/mcp/ServerDetails.d.ts.map +1 -0
  1008. package/dist/ui/components/mcp/ServerDetails.js +96 -0
  1009. package/dist/ui/components/mcp/ServerDetails.js.map +1 -0
  1010. package/dist/ui/components/mcp/ServerItem.d.ts +33 -0
  1011. package/dist/ui/components/mcp/ServerItem.d.ts.map +1 -0
  1012. package/dist/ui/components/mcp/ServerItem.js +55 -0
  1013. package/dist/ui/components/mcp/ServerItem.js.map +1 -0
  1014. package/dist/ui/components/mcp/ServerListItem.d.ts +38 -0
  1015. package/dist/ui/components/mcp/ServerListItem.d.ts.map +1 -0
  1016. package/dist/ui/components/mcp/ServerListItem.js +60 -0
  1017. package/dist/ui/components/mcp/ServerListItem.js.map +1 -0
  1018. package/dist/ui/components/mcp/ServerSkeleton.d.ts +20 -0
  1019. package/dist/ui/components/mcp/ServerSkeleton.d.ts.map +1 -0
  1020. package/dist/ui/components/mcp/ServerSkeleton.js +18 -0
  1021. package/dist/ui/components/mcp/ServerSkeleton.js.map +1 -0
  1022. package/dist/ui/components/mcp/ServerStatusBanner.d.ts +21 -0
  1023. package/dist/ui/components/mcp/ServerStatusBanner.d.ts.map +1 -0
  1024. package/dist/ui/components/mcp/ServerStatusBanner.js +61 -0
  1025. package/dist/ui/components/mcp/ServerStatusBanner.js.map +1 -0
  1026. package/dist/ui/components/mcp/SystemMessages.d.ts +35 -0
  1027. package/dist/ui/components/mcp/SystemMessages.d.ts.map +1 -0
  1028. package/dist/ui/components/mcp/SystemMessages.js +44 -0
  1029. package/dist/ui/components/mcp/SystemMessages.js.map +1 -0
  1030. package/dist/ui/components/mcp/index.d.ts +34 -0
  1031. package/dist/ui/components/mcp/index.d.ts.map +1 -0
  1032. package/dist/ui/components/mcp/index.js +24 -0
  1033. package/dist/ui/components/mcp/index.js.map +1 -0
  1034. package/dist/ui/components/model/ModelLoadingIndicator.d.ts +6 -0
  1035. package/dist/ui/components/model/ModelLoadingIndicator.d.ts.map +1 -0
  1036. package/dist/ui/components/model/ModelLoadingIndicator.js +14 -0
  1037. package/dist/ui/components/model/ModelLoadingIndicator.js.map +1 -0
  1038. package/dist/ui/components/settings/ModelPicker.d.ts +24 -0
  1039. package/dist/ui/components/settings/ModelPicker.d.ts.map +1 -0
  1040. package/dist/ui/components/settings/ModelPicker.js +15 -0
  1041. package/dist/ui/components/settings/ModelPicker.js.map +1 -0
  1042. package/dist/ui/components/settings/OptionsPanel.d.ts +24 -0
  1043. package/dist/ui/components/settings/OptionsPanel.d.ts.map +1 -0
  1044. package/dist/ui/components/settings/OptionsPanel.js +12 -0
  1045. package/dist/ui/components/settings/OptionsPanel.js.map +1 -0
  1046. package/dist/ui/components/settings/ProviderSelector.d.ts +24 -0
  1047. package/dist/ui/components/settings/ProviderSelector.d.ts.map +1 -0
  1048. package/dist/ui/components/settings/ProviderSelector.js +35 -0
  1049. package/dist/ui/components/settings/ProviderSelector.js.map +1 -0
  1050. package/dist/ui/components/settings/SessionInfo.d.ts +25 -0
  1051. package/dist/ui/components/settings/SessionInfo.d.ts.map +1 -0
  1052. package/dist/ui/components/settings/SessionInfo.js +29 -0
  1053. package/dist/ui/components/settings/SessionInfo.js.map +1 -0
  1054. package/dist/ui/components/settings/SettingsPanel.d.ts +19 -0
  1055. package/dist/ui/components/settings/SettingsPanel.d.ts.map +1 -0
  1056. package/dist/ui/components/settings/SettingsPanel.js +864 -0
  1057. package/dist/ui/components/settings/SettingsPanel.js.map +1 -0
  1058. package/dist/ui/components/settings/ThemePicker.d.ts +19 -0
  1059. package/dist/ui/components/settings/ThemePicker.d.ts.map +1 -0
  1060. package/dist/ui/components/settings/ThemePicker.js +15 -0
  1061. package/dist/ui/components/settings/ThemePicker.js.map +1 -0
  1062. package/dist/ui/components/settings/index.d.ts +6 -0
  1063. package/dist/ui/components/settings/index.d.ts.map +1 -0
  1064. package/dist/ui/components/settings/index.js +6 -0
  1065. package/dist/ui/components/settings/index.js.map +1 -0
  1066. package/dist/ui/components/status/MCPStatus.d.ts +33 -0
  1067. package/dist/ui/components/status/MCPStatus.d.ts.map +1 -0
  1068. package/dist/ui/components/status/MCPStatus.js +52 -0
  1069. package/dist/ui/components/status/MCPStatus.js.map +1 -0
  1070. package/dist/ui/components/status/WorkflowStatus.d.ts +33 -0
  1071. package/dist/ui/components/status/WorkflowStatus.d.ts.map +1 -0
  1072. package/dist/ui/components/status/WorkflowStatus.js +40 -0
  1073. package/dist/ui/components/status/WorkflowStatus.js.map +1 -0
  1074. package/dist/ui/components/tabs/BugReportTab.d.ts +11 -0
  1075. package/dist/ui/components/tabs/BugReportTab.d.ts.map +1 -0
  1076. package/dist/ui/components/tabs/BugReportTab.js +104 -0
  1077. package/dist/ui/components/tabs/BugReportTab.js.map +1 -0
  1078. package/dist/ui/components/tabs/ChatTab.d.ts +55 -0
  1079. package/dist/ui/components/tabs/ChatTab.d.ts.map +1 -0
  1080. package/dist/ui/components/tabs/ChatTab.js +177 -0
  1081. package/dist/ui/components/tabs/ChatTab.js.map +1 -0
  1082. package/dist/ui/components/tabs/DocsTab.d.ts +16 -0
  1083. package/dist/ui/components/tabs/DocsTab.d.ts.map +1 -0
  1084. package/dist/ui/components/tabs/DocsTab.js +6 -0
  1085. package/dist/ui/components/tabs/DocsTab.js.map +1 -0
  1086. package/dist/ui/components/tabs/FileViewerTab.d.ts +27 -0
  1087. package/dist/ui/components/tabs/FileViewerTab.d.ts.map +1 -0
  1088. package/dist/ui/components/tabs/FileViewerTab.js +51 -0
  1089. package/dist/ui/components/tabs/FileViewerTab.js.map +1 -0
  1090. package/dist/ui/components/tabs/FilesTab.d.ts +21 -0
  1091. package/dist/ui/components/tabs/FilesTab.d.ts.map +1 -0
  1092. package/dist/ui/components/tabs/FilesTab.js +47 -0
  1093. package/dist/ui/components/tabs/FilesTab.js.map +1 -0
  1094. package/dist/ui/components/tabs/FilesTabWrapper.d.ts +12 -0
  1095. package/dist/ui/components/tabs/FilesTabWrapper.d.ts.map +1 -0
  1096. package/dist/ui/components/tabs/FilesTabWrapper.js +27 -0
  1097. package/dist/ui/components/tabs/FilesTabWrapper.js.map +1 -0
  1098. package/dist/ui/components/tabs/GitHubTab.d.ts +18 -0
  1099. package/dist/ui/components/tabs/GitHubTab.d.ts.map +1 -0
  1100. package/dist/ui/components/tabs/GitHubTab.js +38 -0
  1101. package/dist/ui/components/tabs/GitHubTab.js.map +1 -0
  1102. package/dist/ui/components/tabs/HooksTab.d.ts +21 -0
  1103. package/dist/ui/components/tabs/HooksTab.d.ts.map +1 -0
  1104. package/dist/ui/components/tabs/HooksTab.js +350 -0
  1105. package/dist/ui/components/tabs/HooksTab.js.map +1 -0
  1106. package/dist/ui/components/tabs/MCPTab.d.ts +24 -0
  1107. package/dist/ui/components/tabs/MCPTab.d.ts.map +1 -0
  1108. package/dist/ui/components/tabs/MCPTab.js +1101 -0
  1109. package/dist/ui/components/tabs/MCPTab.js.map +1 -0
  1110. package/dist/ui/components/tabs/SearchTab.d.ts +18 -0
  1111. package/dist/ui/components/tabs/SearchTab.d.ts.map +1 -0
  1112. package/dist/ui/components/tabs/SearchTab.js +56 -0
  1113. package/dist/ui/components/tabs/SearchTab.js.map +1 -0
  1114. package/dist/ui/components/tabs/SettingsTab.d.ts +14 -0
  1115. package/dist/ui/components/tabs/SettingsTab.d.ts.map +1 -0
  1116. package/dist/ui/components/tabs/SettingsTab.js +6 -0
  1117. package/dist/ui/components/tabs/SettingsTab.js.map +1 -0
  1118. package/dist/ui/components/tabs/ToolsTab.d.ts +14 -0
  1119. package/dist/ui/components/tabs/ToolsTab.d.ts.map +1 -0
  1120. package/dist/ui/components/tabs/ToolsTab.js +10 -0
  1121. package/dist/ui/components/tabs/ToolsTab.js.map +1 -0
  1122. package/dist/ui/components/tabs/index.d.ts +9 -0
  1123. package/dist/ui/components/tabs/index.d.ts.map +1 -0
  1124. package/dist/ui/components/tabs/index.js +9 -0
  1125. package/dist/ui/components/tabs/index.js.map +1 -0
  1126. package/dist/ui/components/tools/CategorySection.d.ts +22 -0
  1127. package/dist/ui/components/tools/CategorySection.d.ts.map +1 -0
  1128. package/dist/ui/components/tools/CategorySection.js +29 -0
  1129. package/dist/ui/components/tools/CategorySection.js.map +1 -0
  1130. package/dist/ui/components/tools/DiffViewer.d.ts +20 -0
  1131. package/dist/ui/components/tools/DiffViewer.d.ts.map +1 -0
  1132. package/dist/ui/components/tools/DiffViewer.js +33 -0
  1133. package/dist/ui/components/tools/DiffViewer.js.map +1 -0
  1134. package/dist/ui/components/tools/ReviewActions.d.ts +21 -0
  1135. package/dist/ui/components/tools/ReviewActions.d.ts.map +1 -0
  1136. package/dist/ui/components/tools/ReviewActions.js +12 -0
  1137. package/dist/ui/components/tools/ReviewActions.js.map +1 -0
  1138. package/dist/ui/components/tools/ToolItem.d.ts +19 -0
  1139. package/dist/ui/components/tools/ToolItem.d.ts.map +1 -0
  1140. package/dist/ui/components/tools/ToolItem.js +15 -0
  1141. package/dist/ui/components/tools/ToolItem.js.map +1 -0
  1142. package/dist/ui/components/tools/ToolModeSettings.d.ts +29 -0
  1143. package/dist/ui/components/tools/ToolModeSettings.d.ts.map +1 -0
  1144. package/dist/ui/components/tools/ToolModeSettings.js +57 -0
  1145. package/dist/ui/components/tools/ToolModeSettings.js.map +1 -0
  1146. package/dist/ui/components/tools/ToolToggle.d.ts +16 -0
  1147. package/dist/ui/components/tools/ToolToggle.d.ts.map +1 -0
  1148. package/dist/ui/components/tools/ToolToggle.js +22 -0
  1149. package/dist/ui/components/tools/ToolToggle.js.map +1 -0
  1150. package/dist/ui/components/tools/ToolsPanel.d.ts +24 -0
  1151. package/dist/ui/components/tools/ToolsPanel.d.ts.map +1 -0
  1152. package/dist/ui/components/tools/ToolsPanel.js +279 -0
  1153. package/dist/ui/components/tools/ToolsPanel.js.map +1 -0
  1154. package/dist/ui/components/tools/index.d.ts +7 -0
  1155. package/dist/ui/components/tools/index.d.ts.map +1 -0
  1156. package/dist/ui/components/tools/index.js +7 -0
  1157. package/dist/ui/components/tools/index.js.map +1 -0
  1158. package/dist/ui/contexts/DialogContext.d.ts +92 -0
  1159. package/dist/ui/contexts/DialogContext.d.ts.map +1 -0
  1160. package/dist/ui/contexts/DialogContext.js +151 -0
  1161. package/dist/ui/contexts/DialogContext.js.map +1 -0
  1162. package/dist/ui/contexts/HooksContext.d.ts +77 -0
  1163. package/dist/ui/contexts/HooksContext.d.ts.map +1 -0
  1164. package/dist/ui/contexts/HooksContext.js +261 -0
  1165. package/dist/ui/contexts/HooksContext.js.map +1 -0
  1166. package/dist/ui/contexts/InputRoutingContext.d.ts +15 -0
  1167. package/dist/ui/contexts/InputRoutingContext.d.ts.map +1 -0
  1168. package/dist/ui/contexts/InputRoutingContext.js +36 -0
  1169. package/dist/ui/contexts/InputRoutingContext.js.map +1 -0
  1170. package/dist/ui/contexts/MCPContext.d.ts +161 -0
  1171. package/dist/ui/contexts/MCPContext.d.ts.map +1 -0
  1172. package/dist/ui/contexts/MCPContext.js +904 -0
  1173. package/dist/ui/contexts/MCPContext.js.map +1 -0
  1174. package/dist/ui/contexts/Terminal2Context.d.ts +22 -0
  1175. package/dist/ui/contexts/Terminal2Context.d.ts.map +1 -0
  1176. package/dist/ui/contexts/Terminal2Context.js +154 -0
  1177. package/dist/ui/contexts/Terminal2Context.js.map +1 -0
  1178. package/dist/ui/contexts/TerminalContext.d.ts +22 -0
  1179. package/dist/ui/contexts/TerminalContext.d.ts.map +1 -0
  1180. package/dist/ui/contexts/TerminalContext.js +192 -0
  1181. package/dist/ui/contexts/TerminalContext.js.map +1 -0
  1182. package/dist/ui/contexts/ToolsContext.d.ts +87 -0
  1183. package/dist/ui/contexts/ToolsContext.d.ts.map +1 -0
  1184. package/dist/ui/contexts/ToolsContext.js +301 -0
  1185. package/dist/ui/contexts/ToolsContext.js.map +1 -0
  1186. package/dist/ui/contexts/UICallbacksContext.d.ts +80 -0
  1187. package/dist/ui/contexts/UICallbacksContext.d.ts.map +1 -0
  1188. package/dist/ui/contexts/UICallbacksContext.js +85 -0
  1189. package/dist/ui/contexts/UICallbacksContext.js.map +1 -0
  1190. package/dist/ui/contexts/WindowContext.d.ts +100 -0
  1191. package/dist/ui/contexts/WindowContext.d.ts.map +1 -0
  1192. package/dist/ui/contexts/WindowContext.js +111 -0
  1193. package/dist/ui/contexts/WindowContext.js.map +1 -0
  1194. package/dist/ui/contexts/__tests__/mcpTestUtils.d.ts +65 -0
  1195. package/dist/ui/contexts/__tests__/mcpTestUtils.d.ts.map +1 -0
  1196. package/dist/ui/contexts/__tests__/mcpTestUtils.js +180 -0
  1197. package/dist/ui/contexts/__tests__/mcpTestUtils.js.map +1 -0
  1198. package/dist/ui/hooks/index.d.ts +9 -0
  1199. package/dist/ui/hooks/index.d.ts.map +1 -0
  1200. package/dist/ui/hooks/index.js +9 -0
  1201. package/dist/ui/hooks/index.js.map +1 -0
  1202. package/dist/ui/hooks/useFocusedBorder.d.ts +19 -0
  1203. package/dist/ui/hooks/useFocusedBorder.d.ts.map +1 -0
  1204. package/dist/ui/hooks/useFocusedBorder.js +26 -0
  1205. package/dist/ui/hooks/useFocusedBorder.js.map +1 -0
  1206. package/dist/ui/hooks/useGlobalKeyboardShortcuts.d.ts +43 -0
  1207. package/dist/ui/hooks/useGlobalKeyboardShortcuts.d.ts.map +1 -0
  1208. package/dist/ui/hooks/useGlobalKeyboardShortcuts.js +196 -0
  1209. package/dist/ui/hooks/useGlobalKeyboardShortcuts.js.map +1 -0
  1210. package/dist/ui/hooks/useKeyboardShortcuts.d.ts +22 -0
  1211. package/dist/ui/hooks/useKeyboardShortcuts.d.ts.map +1 -0
  1212. package/dist/ui/hooks/useKeyboardShortcuts.js +56 -0
  1213. package/dist/ui/hooks/useKeyboardShortcuts.js.map +1 -0
  1214. package/dist/ui/hooks/useMCPNavigation.d.ts +79 -0
  1215. package/dist/ui/hooks/useMCPNavigation.d.ts.map +1 -0
  1216. package/dist/ui/hooks/useMCPNavigation.js +228 -0
  1217. package/dist/ui/hooks/useMCPNavigation.js.map +1 -0
  1218. package/dist/ui/hooks/useMouse.d.ts +19 -0
  1219. package/dist/ui/hooks/useMouse.d.ts.map +1 -0
  1220. package/dist/ui/hooks/useMouse.js +115 -0
  1221. package/dist/ui/hooks/useMouse.js.map +1 -0
  1222. package/dist/ui/hooks/useNotifications.d.ts +43 -0
  1223. package/dist/ui/hooks/useNotifications.d.ts.map +1 -0
  1224. package/dist/ui/hooks/useNotifications.js +92 -0
  1225. package/dist/ui/hooks/useNotifications.js.map +1 -0
  1226. package/dist/ui/hooks/useTabEscapeHandler.d.ts +42 -0
  1227. package/dist/ui/hooks/useTabEscapeHandler.d.ts.map +1 -0
  1228. package/dist/ui/hooks/useTabEscapeHandler.js +56 -0
  1229. package/dist/ui/hooks/useTabEscapeHandler.js.map +1 -0
  1230. package/dist/ui/hooks/useTerminal.d.ts +7 -0
  1231. package/dist/ui/hooks/useTerminal.d.ts.map +1 -0
  1232. package/dist/ui/hooks/useTerminal.js +7 -0
  1233. package/dist/ui/hooks/useTerminal.js.map +1 -0
  1234. package/dist/ui/hooks/useTerminal2.d.ts +7 -0
  1235. package/dist/ui/hooks/useTerminal2.d.ts.map +1 -0
  1236. package/dist/ui/hooks/useTerminal2.js +7 -0
  1237. package/dist/ui/hooks/useTerminal2.js.map +1 -0
  1238. package/dist/ui/services/docsService.d.ts +44 -0
  1239. package/dist/ui/services/docsService.d.ts.map +1 -0
  1240. package/dist/ui/services/docsService.js +103 -0
  1241. package/dist/ui/services/docsService.js.map +1 -0
  1242. package/dist/ui/services/index.d.ts +7 -0
  1243. package/dist/ui/services/index.d.ts.map +1 -0
  1244. package/dist/ui/services/index.js +7 -0
  1245. package/dist/ui/services/index.js.map +1 -0
  1246. package/dist/ui/services/keyboardHandler.d.ts +71 -0
  1247. package/dist/ui/services/keyboardHandler.d.ts.map +1 -0
  1248. package/dist/ui/services/keyboardHandler.js +166 -0
  1249. package/dist/ui/services/keyboardHandler.js.map +1 -0
  1250. package/dist/ui/services/themeManager.d.ts +65 -0
  1251. package/dist/ui/services/themeManager.d.ts.map +1 -0
  1252. package/dist/ui/services/themeManager.js +158 -0
  1253. package/dist/ui/services/themeManager.js.map +1 -0
  1254. package/dist/ui/test-utils/TestProviders.d.ts +6 -0
  1255. package/dist/ui/test-utils/TestProviders.d.ts.map +1 -0
  1256. package/dist/ui/test-utils/TestProviders.js +54 -0
  1257. package/dist/ui/test-utils/TestProviders.js.map +1 -0
  1258. package/dist/ui/utils/errorHandling.d.ts +65 -0
  1259. package/dist/ui/utils/errorHandling.d.ts.map +1 -0
  1260. package/dist/ui/utils/errorHandling.js +242 -0
  1261. package/dist/ui/utils/errorHandling.js.map +1 -0
  1262. package/dist/ui/utils/errorLogger.d.ts +41 -0
  1263. package/dist/ui/utils/errorLogger.d.ts.map +1 -0
  1264. package/dist/ui/utils/errorLogger.js +126 -0
  1265. package/dist/ui/utils/errorLogger.js.map +1 -0
  1266. package/dist/ui/utils/keyUtils.d.ts +16 -0
  1267. package/dist/ui/utils/keyUtils.d.ts.map +1 -0
  1268. package/dist/ui/utils/keyUtils.js +70 -0
  1269. package/dist/ui/utils/keyUtils.js.map +1 -0
  1270. package/dist/ui/utils/performanceProfiler.d.ts +83 -0
  1271. package/dist/ui/utils/performanceProfiler.d.ts.map +1 -0
  1272. package/dist/ui/utils/performanceProfiler.js +160 -0
  1273. package/dist/ui/utils/performanceProfiler.js.map +1 -0
  1274. package/dist/ui/utils/terminalSerializer.d.ts +38 -0
  1275. package/dist/ui/utils/terminalSerializer.d.ts.map +1 -0
  1276. package/dist/ui/utils/terminalSerializer.js +451 -0
  1277. package/dist/ui/utils/terminalSerializer.js.map +1 -0
  1278. package/dist/ui/utils/windowDisplayLabels.d.ts +13 -0
  1279. package/dist/ui/utils/windowDisplayLabels.d.ts.map +1 -0
  1280. package/dist/ui/utils/windowDisplayLabels.js +29 -0
  1281. package/dist/ui/utils/windowDisplayLabels.js.map +1 -0
  1282. package/dist/utils/events.d.ts +24 -0
  1283. package/dist/utils/events.d.ts.map +1 -0
  1284. package/dist/utils/events.js +19 -0
  1285. package/dist/utils/events.js.map +1 -0
  1286. package/dist/utils/stdio.d.ts +29 -0
  1287. package/dist/utils/stdio.d.ts.map +1 -0
  1288. package/dist/utils/stdio.js +200 -0
  1289. package/dist/utils/stdio.js.map +1 -0
  1290. package/dist/utils/terminal.d.ts +16 -0
  1291. package/dist/utils/terminal.d.ts.map +1 -0
  1292. package/dist/utils/terminal.js +51 -0
  1293. package/dist/utils/terminal.js.map +1 -0
  1294. package/docs/Context/CheckpointFlowDiagram.md +673 -0
  1295. package/docs/Context/ContextArchitecture.md +898 -0
  1296. package/docs/Context/ContextCompression.md +1102 -0
  1297. package/docs/Context/ContextManagment.md +750 -0
  1298. package/docs/Context/Index.md +209 -0
  1299. package/docs/Context/README.md +390 -0
  1300. package/docs/DevelopmentRoadmap/Index.md +238 -0
  1301. package/docs/DevelopmentRoadmap/OLLM-CLI_Releases.md +419 -0
  1302. package/docs/DevelopmentRoadmap/PlanedFeatures.md +448 -0
  1303. package/docs/DevelopmentRoadmap/README.md +174 -0
  1304. package/docs/DevelopmentRoadmap/Roadmap.md +572 -0
  1305. package/docs/DevelopmentRoadmap/RoadmapVisual.md +372 -0
  1306. package/docs/Hooks/Architecture.md +885 -0
  1307. package/docs/Hooks/Index.md +244 -0
  1308. package/docs/Hooks/KeyboardShortcuts.md +248 -0
  1309. package/docs/Hooks/Protocol.md +817 -0
  1310. package/docs/Hooks/README.md +403 -0
  1311. package/docs/Hooks/UserGuide.md +1483 -0
  1312. package/docs/Hooks/VisualGuide.md +598 -0
  1313. package/docs/Index.md +506 -0
  1314. package/docs/Installation.md +586 -0
  1315. package/docs/Introduction.md +367 -0
  1316. package/docs/LLM Models/Index.md +239 -0
  1317. package/docs/LLM Models/LLM_GettingStarted.md +748 -0
  1318. package/docs/LLM Models/LLM_Index.md +701 -0
  1319. package/docs/LLM Models/LLM_MemorySystem.md +337 -0
  1320. package/docs/LLM Models/LLM_ModelCompatibility.md +499 -0
  1321. package/docs/LLM Models/LLM_ModelsArchitecture.md +933 -0
  1322. package/docs/LLM Models/LLM_ModelsCommands.md +839 -0
  1323. package/docs/LLM Models/LLM_ModelsConfiguration.md +1094 -0
  1324. package/docs/LLM Models/LLM_ModelsList.md +1071 -0
  1325. package/docs/LLM Models/LLM_ModelsList.md.backup +400 -0
  1326. package/docs/LLM Models/README.md +355 -0
  1327. package/docs/MCP/MCP_Architecture.md +1086 -0
  1328. package/docs/MCP/MCP_Commands.md +1111 -0
  1329. package/docs/MCP/MCP_GettingStarted.md +590 -0
  1330. package/docs/MCP/MCP_Index.md +524 -0
  1331. package/docs/MCP/MCP_Integration.md +866 -0
  1332. package/docs/MCP/MCP_Marketplace.md +160 -0
  1333. package/docs/MCP/README.md +415 -0
  1334. package/docs/Prompts System/Architecture.md +760 -0
  1335. package/docs/Prompts System/Index.md +223 -0
  1336. package/docs/Prompts System/PromptsRouting.md +1047 -0
  1337. package/docs/Prompts System/PromptsTemplates.md +1102 -0
  1338. package/docs/Prompts System/README.md +389 -0
  1339. package/docs/Prompts System/SystemPrompts.md +856 -0
  1340. package/docs/Quickstart.md +535 -0
  1341. package/docs/README.md +410 -0
  1342. package/docs/Tools/Architecture.md +884 -0
  1343. package/docs/Tools/GettingStarted.md +624 -0
  1344. package/docs/Tools/Index.md +216 -0
  1345. package/docs/Tools/ManifestReference.md +141 -0
  1346. package/docs/Tools/README.md +440 -0
  1347. package/docs/Tools/UserGuide.md +773 -0
  1348. package/docs/Troubleshooting.md +1265 -0
  1349. package/docs/UI&Settings/Architecture.md +729 -0
  1350. package/docs/UI&Settings/ColorASCII.md +34 -0
  1351. package/docs/UI&Settings/Commands.md +755 -0
  1352. package/docs/UI&Settings/Configuration.md +872 -0
  1353. package/docs/UI&Settings/Index.md +293 -0
  1354. package/docs/UI&Settings/Keybinds.md +372 -0
  1355. package/docs/UI&Settings/README.md +278 -0
  1356. package/docs/UI&Settings/Terminal.md +637 -0
  1357. package/docs/UI&Settings/Themes.md +604 -0
  1358. package/docs/UI&Settings/UIGuide.md +550 -0
  1359. package/package.json +82 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileTreeView.js","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/FileTreeView.tsx"],"names":[],"mappings":";AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAO,MAAM,KAAK,CAAC;AAE/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAqB,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAoB,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AA4BhD;;GAEG;AACH,MAAM,KAAK,GAAG;IACZ,kBAAkB;IAClB,iBAAiB,EAAE,IAAI;IACvB,kBAAkB,EAAE,IAAI;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CACP,IACA,CACJ,IACG,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,130 @@
1
+ /**
2
+ * FocusSystem - File focus management for LLM context injection
3
+ *
4
+ * This service manages the focused files list, which represents files that are
5
+ * "pinned" to the LLM context. When files are focused, their content is read,
6
+ * truncated if necessary, and injected into LLM prompts.
7
+ *
8
+ * Key responsibilities:
9
+ * - Manage focused files list
10
+ * - Read and truncate file content (8KB limit)
11
+ * - Inject focused content into LLM prompts
12
+ * - Sanitize content before injection
13
+ * - Persist focused files across sessions
14
+ *
15
+ * Requirements: 3.1, 3.2, 3.3, 3.4, 10.5
16
+ */
17
+ import { FocusedFile } from './types.js';
18
+ import type { MessageBus } from '@ollm/ollm-cli-core/hooks/messageBus.js';
19
+ /**
20
+ * FocusSystem service for managing focused files
21
+ */
22
+ export declare class FocusSystem {
23
+ private focusedFiles;
24
+ private pathSanitizer;
25
+ private messageBus?;
26
+ constructor(messageBus?: MessageBus);
27
+ /**
28
+ * Focus a file - read its content and add to focus list
29
+ *
30
+ * This method:
31
+ * 1. Validates the path for safety
32
+ * 2. Reads the file content
33
+ * 3. Truncates if exceeds 8KB
34
+ * 4. Sanitizes the content
35
+ * 5. Adds to focused files map
36
+ *
37
+ * @param filePath - Absolute path to the file to focus
38
+ * @returns The focused file with content
39
+ * @throws {Error} If file cannot be read or path is invalid
40
+ */
41
+ focusFile(filePath: string): Promise<FocusedFile>;
42
+ /**
43
+ * Unfocus a file - remove it from the focus list
44
+ *
45
+ * @param filePath - Absolute path to the file to unfocus
46
+ */
47
+ unfocusFile(filePath: string): void;
48
+ /**
49
+ * Get all focused files
50
+ *
51
+ * @returns Array of all focused files
52
+ */
53
+ getFocusedFiles(): FocusedFile[];
54
+ /**
55
+ * Get the focused files map
56
+ *
57
+ * @returns Map of file paths to FocusedFile objects
58
+ */
59
+ getFocusedFilesMap(): Map<string, FocusedFile>;
60
+ /**
61
+ * Get total size of all focused files
62
+ *
63
+ * @returns Total size in bytes
64
+ */
65
+ getTotalFocusedSize(): number;
66
+ /**
67
+ * Clear all focused files
68
+ */
69
+ clearAllFocused(): void;
70
+ /**
71
+ * Check if a file is currently focused
72
+ *
73
+ * @param filePath - Absolute path to check
74
+ * @returns true if the file is focused, false otherwise
75
+ */
76
+ isFocused(filePath: string): boolean;
77
+ /**
78
+ * Inject focused file content into an LLM prompt
79
+ *
80
+ * This method prepends all focused file content to the prompt in a
81
+ * structured format that the LLM can understand.
82
+ *
83
+ * Format:
84
+ * ```
85
+ * ## Focused Files
86
+ *
87
+ * ### File: /path/to/file1.ts
88
+ * [content]
89
+ *
90
+ * ### File: /path/to/file2.ts
91
+ * [content]
92
+ *
93
+ * ## User Prompt
94
+ * [original prompt]
95
+ * ```
96
+ *
97
+ * @param prompt - The original user prompt
98
+ * @returns The prompt with focused file content injected
99
+ */
100
+ injectIntoPrompt(prompt: string): string;
101
+ /**
102
+ * Sanitize file content before LLM injection
103
+ *
104
+ * This method prevents prompt injection attacks by:
105
+ * 1. Removing null bytes
106
+ * 2. Normalizing line endings
107
+ * 3. Escaping potential prompt injection sequences
108
+ *
109
+ * @param content - The raw file content
110
+ * @returns Sanitized content safe for LLM injection
111
+ */
112
+ private sanitizeContent;
113
+ /**
114
+ * Get total size of all focused files
115
+ *
116
+ * @returns Total size in bytes
117
+ */
118
+ getTotalSize(): number;
119
+ /**
120
+ * Clear all focused files
121
+ */
122
+ clearAll(): void;
123
+ /**
124
+ * Get the number of focused files
125
+ *
126
+ * @returns Count of focused files
127
+ */
128
+ getCount(): number;
129
+ }
130
+ //# sourceMappingURL=FocusSystem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FocusSystem.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/FocusSystem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAMH,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAO1E;;GAEG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,YAAY,CAA2B;IAC/C,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,UAAU,CAAC,CAAa;gBAEpB,UAAU,CAAC,EAAE,UAAU;IAMnC;;;;;;;;;;;;;OAaG;IACG,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAmDvD;;;;OAIG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAWnC;;;;OAIG;IACH,eAAe,IAAI,WAAW,EAAE;IAIhC;;;;OAIG;IACH,kBAAkB,IAAI,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC;IAI9C;;;;OAIG;IACH,mBAAmB,IAAI,MAAM;IAQ7B;;OAEG;IACH,eAAe,IAAI,IAAI;IAIvB;;;;;OAKG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAKpC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IAuBxC;;;;;;;;;;OAUG;IACH,OAAO,CAAC,eAAe;IAcvB;;;;OAIG;IACH,YAAY,IAAI,MAAM;IAItB;;OAEG;IACH,QAAQ,IAAI,IAAI;IAIhB;;;;OAIG;IACH,QAAQ,IAAI,MAAM;CAGnB"}
@@ -0,0 +1,234 @@
1
+ /**
2
+ * FocusSystem - File focus management for LLM context injection
3
+ *
4
+ * This service manages the focused files list, which represents files that are
5
+ * "pinned" to the LLM context. When files are focused, their content is read,
6
+ * truncated if necessary, and injected into LLM prompts.
7
+ *
8
+ * Key responsibilities:
9
+ * - Manage focused files list
10
+ * - Read and truncate file content (8KB limit)
11
+ * - Inject focused content into LLM prompts
12
+ * - Sanitize content before injection
13
+ * - Persist focused files across sessions
14
+ *
15
+ * Requirements: 3.1, 3.2, 3.3, 3.4, 10.5
16
+ */
17
+ import * as fs from 'fs/promises';
18
+ import { handleError } from './ErrorHandler.js';
19
+ import { PathSanitizer } from './PathSanitizer.js';
20
+ /**
21
+ * Maximum file size for focus (8KB)
22
+ */
23
+ const MAX_FILE_SIZE = 8 * 1024; // 8KB in bytes
24
+ /**
25
+ * FocusSystem service for managing focused files
26
+ */
27
+ export class FocusSystem {
28
+ focusedFiles;
29
+ pathSanitizer;
30
+ messageBus;
31
+ constructor(messageBus) {
32
+ this.focusedFiles = new Map();
33
+ this.pathSanitizer = new PathSanitizer();
34
+ this.messageBus = messageBus;
35
+ }
36
+ /**
37
+ * Focus a file - read its content and add to focus list
38
+ *
39
+ * This method:
40
+ * 1. Validates the path for safety
41
+ * 2. Reads the file content
42
+ * 3. Truncates if exceeds 8KB
43
+ * 4. Sanitizes the content
44
+ * 5. Adds to focused files map
45
+ *
46
+ * @param filePath - Absolute path to the file to focus
47
+ * @returns The focused file with content
48
+ * @throws {Error} If file cannot be read or path is invalid
49
+ */
50
+ async focusFile(filePath) {
51
+ // Validate and sanitize the path
52
+ const sanitizedPath = this.pathSanitizer.sanitize(filePath);
53
+ // Check if file exists and is readable
54
+ try {
55
+ const stats = await fs.stat(sanitizedPath);
56
+ if (!stats.isFile()) {
57
+ throw new Error(`Cannot focus directory: ${sanitizedPath}`);
58
+ }
59
+ // Read file content
60
+ const buffer = await fs.readFile(sanitizedPath);
61
+ const fileSize = buffer.length;
62
+ // Determine if truncation is needed
63
+ const truncated = fileSize > MAX_FILE_SIZE;
64
+ const contentBuffer = truncated ? buffer.slice(0, MAX_FILE_SIZE) : buffer;
65
+ // Convert to string and sanitize
66
+ let content = contentBuffer.toString('utf-8');
67
+ content = this.sanitizeContent(content);
68
+ // Create focused file object
69
+ const focusedFile = {
70
+ path: sanitizedPath,
71
+ content,
72
+ truncated,
73
+ size: fileSize,
74
+ };
75
+ // Add to focused files map
76
+ this.focusedFiles.set(sanitizedPath, focusedFile);
77
+ // Emit hook event (using generic event type)
78
+ if (this.messageBus) {
79
+ await this.messageBus.emit('fileEdited', { path: sanitizedPath, size: fileSize });
80
+ }
81
+ return focusedFile;
82
+ }
83
+ catch (error) {
84
+ const errorInfo = handleError(error, {
85
+ operation: 'focusFile',
86
+ filePath: sanitizedPath,
87
+ });
88
+ throw new Error(`Failed to focus file ${sanitizedPath}: ${errorInfo.message}`);
89
+ }
90
+ }
91
+ /**
92
+ * Unfocus a file - remove it from the focus list
93
+ *
94
+ * @param filePath - Absolute path to the file to unfocus
95
+ */
96
+ unfocusFile(filePath) {
97
+ // Sanitize the path to ensure we're using the same key
98
+ const sanitizedPath = this.pathSanitizer.sanitize(filePath);
99
+ this.focusedFiles.delete(sanitizedPath);
100
+ // Emit hook event (using generic event type)
101
+ if (this.messageBus) {
102
+ this.messageBus.emitSync('fileEdited', { path: sanitizedPath });
103
+ }
104
+ }
105
+ /**
106
+ * Get all focused files
107
+ *
108
+ * @returns Array of all focused files
109
+ */
110
+ getFocusedFiles() {
111
+ return Array.from(this.focusedFiles.values());
112
+ }
113
+ /**
114
+ * Get the focused files map
115
+ *
116
+ * @returns Map of file paths to FocusedFile objects
117
+ */
118
+ getFocusedFilesMap() {
119
+ return this.focusedFiles;
120
+ }
121
+ /**
122
+ * Get total size of all focused files
123
+ *
124
+ * @returns Total size in bytes
125
+ */
126
+ getTotalFocusedSize() {
127
+ let total = 0;
128
+ for (const file of this.focusedFiles.values()) {
129
+ total += file.size;
130
+ }
131
+ return total;
132
+ }
133
+ /**
134
+ * Clear all focused files
135
+ */
136
+ clearAllFocused() {
137
+ this.focusedFiles.clear();
138
+ }
139
+ /**
140
+ * Check if a file is currently focused
141
+ *
142
+ * @param filePath - Absolute path to check
143
+ * @returns true if the file is focused, false otherwise
144
+ */
145
+ isFocused(filePath) {
146
+ const sanitizedPath = this.pathSanitizer.sanitize(filePath);
147
+ return this.focusedFiles.has(sanitizedPath);
148
+ }
149
+ /**
150
+ * Inject focused file content into an LLM prompt
151
+ *
152
+ * This method prepends all focused file content to the prompt in a
153
+ * structured format that the LLM can understand.
154
+ *
155
+ * Format:
156
+ * ```
157
+ * ## Focused Files
158
+ *
159
+ * ### File: /path/to/file1.ts
160
+ * [content]
161
+ *
162
+ * ### File: /path/to/file2.ts
163
+ * [content]
164
+ *
165
+ * ## User Prompt
166
+ * [original prompt]
167
+ * ```
168
+ *
169
+ * @param prompt - The original user prompt
170
+ * @returns The prompt with focused file content injected
171
+ */
172
+ injectIntoPrompt(prompt) {
173
+ const focusedFiles = this.getFocusedFiles();
174
+ // If no focused files, return original prompt
175
+ if (focusedFiles.length === 0) {
176
+ return prompt;
177
+ }
178
+ // Build the focused files section
179
+ const focusedSection = focusedFiles
180
+ .map((file) => {
181
+ const truncationWarning = file.truncated
182
+ ? `\n*Note: File truncated at ${MAX_FILE_SIZE} bytes (original size: ${file.size} bytes)*\n`
183
+ : '';
184
+ return `### File: ${file.path}${truncationWarning}\n\`\`\`\n${file.content}\n\`\`\``;
185
+ })
186
+ .join('\n\n');
187
+ // Combine focused files with user prompt
188
+ return `## Focused Files\n\n${focusedSection}\n\n## User Prompt\n${prompt}`;
189
+ }
190
+ /**
191
+ * Sanitize file content before LLM injection
192
+ *
193
+ * This method prevents prompt injection attacks by:
194
+ * 1. Removing null bytes
195
+ * 2. Normalizing line endings
196
+ * 3. Escaping potential prompt injection sequences
197
+ *
198
+ * @param content - The raw file content
199
+ * @returns Sanitized content safe for LLM injection
200
+ */
201
+ sanitizeContent(content) {
202
+ // Remove null bytes
203
+ let sanitized = content.replace(/\0/g, '');
204
+ // Normalize line endings to \n
205
+ sanitized = sanitized.replace(/\r\n/g, '\n').replace(/\r/g, '\n');
206
+ // Note: We don't escape markdown code blocks or other formatting
207
+ // because the content is already wrapped in code blocks in injectIntoPrompt
208
+ // The LLM should be able to handle the content as-is within the structured format
209
+ return sanitized;
210
+ }
211
+ /**
212
+ * Get total size of all focused files
213
+ *
214
+ * @returns Total size in bytes
215
+ */
216
+ getTotalSize() {
217
+ return this.getFocusedFiles().reduce((total, file) => total + file.size, 0);
218
+ }
219
+ /**
220
+ * Clear all focused files
221
+ */
222
+ clearAll() {
223
+ this.focusedFiles.clear();
224
+ }
225
+ /**
226
+ * Get the number of focused files
227
+ *
228
+ * @returns Count of focused files
229
+ */
230
+ getCount() {
231
+ return this.focusedFiles.size;
232
+ }
233
+ }
234
+ //# sourceMappingURL=FocusSystem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FocusSystem.js","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/FocusSystem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,MAAM,aAAa,CAAC;AAElC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAKnD;;GAEG;AACH,MAAM,aAAa,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC,eAAe;AAE/C;;GAEG;AACH,MAAM,OAAO,WAAW;IACd,YAAY,CAA2B;IACvC,aAAa,CAAgB;IAC7B,UAAU,CAAc;IAEhC,YAAY,UAAuB;QACjC,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,EAAE,CAAC;QAC9B,IAAI,CAAC,aAAa,GAAG,IAAI,aAAa,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,SAAS,CAAC,QAAgB;QAC9B,iCAAiC;QACjC,MAAM,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAE5D,uCAAuC;QACvC,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YAE3C,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;gBACpB,MAAM,IAAI,KAAK,CAAC,2BAA2B,aAAa,EAAE,CAAC,CAAC;YAC9D,CAAC;YAED,oBAAoB;YACpB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used files into LLM prompts
3
+ *
4
+ * This module provides functions to format focused file content for LLM consumption.
5
+ * It creates a structured section that the LLM can easily parse and reference.
6
+ */
7
+ import type { FocusedFile } from './types.js';
8
+ /**
9
+ * Inject focused files into a prompt
10
+ *
11
+ * Creates a structured section with all focused file content that the LLM
12
+ * can reference when answering questions.
13
+ *
14
+ * Format:
15
+ * ```
16
+ * ## Focused Files
17
+ *
18
+ * The following files have been focused for your reference:
19
+ *
20
+ * ### File: /path/to/file1.ts
21
+ * ```typescript
22
+ * [content]
23
+ * ```
24
+ * *Note: File truncated at 8192 bytes (original size: 15000 bytes)*
25
+ *
26
+ * ### File: /path/to/file2.ts
27
+ * ```typescript
28
+ * [content]
29
+ * ```
30
+ * ```
31
+ *
32
+ * @param focusedFiles - Array of focused files
33
+ * @param basePrompt - Optional base prompt to append to (default: empty string)
34
+ * @returns Formatted prompt with focused files section
35
+ */
36
+ export declare function injectFocusedFiles(focusedFiles: FocusedFile[], basePrompt?: string): string;
37
+ /**
38
+ * Get a summary of focused files for display
39
+ *
40
+ * @param focusedFiles - Array of focused files
41
+ * @returns Summary string (e.g., "3 files (24.5 KB)")
42
+ */
43
+ export declare function getFocusedFilesSummary(focusedFiles: FocusedFile[]): string;
44
+ /**
45
+ * Check if focused files exceed a size threshold
46
+ *
47
+ * @param focusedFiles - Array of focused files
48
+ * @param thresholdBytes - Threshold in bytes (default: 32KB)
49
+ * @returns true if total size exceeds threshold
50
+ */
51
+ export declare function exceedsSizeThreshold(focusedFiles: FocusedFile[], thresholdBytes?: number): boolean;
52
+ //# sourceMappingURL=FocusedFilesInjector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FocusedFilesInjector.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/FocusedFilesInjector.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAO9C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,WAAW,EAAE,EAAE,UAAU,GAAE,MAAW,GAAG,MAAM,CAgB/F;AA6ED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,MAAM,CAW1E;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,YAAY,EAAE,WAAW,EAAE,EAC3B,cAAc,GAAE,MAAkB,GACjC,OAAO,CAGT"}
@@ -0,0 +1,147 @@
1
+ /**
2
+ * FocusedFilesInjector - Utility for injecting focused files into LLM prompts
3
+ *
4
+ * This module provides functions to format focused file content for LLM consumption.
5
+ * It creates a structured section that the LLM can easily parse and reference.
6
+ */
7
+ /**
8
+ * Maximum file size for focus (8KB)
9
+ */
10
+ const MAX_FILE_SIZE = 8 * 1024;
11
+ /**
12
+ * Inject focused files into a prompt
13
+ *
14
+ * Creates a structured section with all focused file content that the LLM
15
+ * can reference when answering questions.
16
+ *
17
+ * Format:
18
+ * ```
19
+ * ## Focused Files
20
+ *
21
+ * The following files have been focused for your reference:
22
+ *
23
+ * ### File: /path/to/file1.ts
24
+ * ```typescript
25
+ * [content]
26
+ * ```
27
+ * *Note: File truncated at 8192 bytes (original size: 15000 bytes)*
28
+ *
29
+ * ### File: /path/to/file2.ts
30
+ * ```typescript
31
+ * [content]
32
+ * ```
33
+ * ```
34
+ *
35
+ * @param focusedFiles - Array of focused files
36
+ * @param basePrompt - Optional base prompt to append to (default: empty string)
37
+ * @returns Formatted prompt with focused files section
38
+ */
39
+ export function injectFocusedFiles(focusedFiles, basePrompt = '') {
40
+ // If no focused files, return base prompt unchanged
41
+ if (focusedFiles.length === 0) {
42
+ return basePrompt;
43
+ }
44
+ // Build the focused files section
45
+ const focusedSection = buildFocusedFilesSection(focusedFiles);
46
+ // If there's a base prompt, append focused files section
47
+ if (basePrompt) {
48
+ return `${basePrompt}\n\n${focusedSection}`;
49
+ }
50
+ // Otherwise, just return the focused files section
51
+ return focusedSection;
52
+ }
53
+ /**
54
+ * Build the focused files section
55
+ *
56
+ * @param focusedFiles - Array of focused files
57
+ * @returns Formatted focused files section
58
+ */
59
+ function buildFocusedFilesSection(focusedFiles) {
60
+ const fileBlocks = focusedFiles.map((file) => {
61
+ const truncationWarning = file.truncated
62
+ ? `\n*Note: File truncated at ${MAX_FILE_SIZE} bytes (original size: ${file.size} bytes)*\n`
63
+ : '';
64
+ // Detect language from file extension for syntax highlighting hint
65
+ const language = detectLanguage(file.path);
66
+ return `### File: ${file.path}${truncationWarning}\n\`\`\`${language}\n${file.content}\n\`\`\``;
67
+ });
68
+ return `## Focused Files
69
+
70
+ The following files have been focused for your reference. You can refer to them when answering questions or making suggestions.
71
+
72
+ ${fileBlocks.join('\n\n')}`;
73
+ }
74
+ /**
75
+ * Detect programming language from file path
76
+ *
77
+ * @param filePath - Path to the file
78
+ * @returns Language identifier for syntax highlighting
79
+ */
80
+ function detectLanguage(filePath) {
81
+ const ext = filePath.split('.').pop()?.toLowerCase();
82
+ const languageMap = {
83
+ ts: 'typescript',
84
+ tsx: 'typescript',
85
+ js: 'javascript',
86
+ jsx: 'javascript',
87
+ py: 'python',
88
+ rb: 'ruby',
89
+ go: 'go',
90
+ rs: 'rust',
91
+ java: 'java',
92
+ c: 'c',
93
+ cpp: 'cpp',
94
+ cs: 'csharp',
95
+ php: 'php',
96
+ swift: 'swift',
97
+ kt: 'kotlin',
98
+ scala: 'scala',
99
+ sh: 'bash',
100
+ bash: 'bash',
101
+ zsh: 'bash',
102
+ fish: 'bash',
103
+ ps1: 'powershell',
104
+ sql: 'sql',
105
+ html: 'html',
106
+ css: 'css',
107
+ scss: 'scss',
108
+ sass: 'sass',
109
+ less: 'less',
110
+ json: 'json',
111
+ yaml: 'yaml',
112
+ yml: 'yaml',
113
+ toml: 'toml',
114
+ xml: 'xml',
115
+ md: 'markdown',
116
+ markdown: 'markdown',
117
+ txt: 'text',
118
+ };
119
+ return languageMap[ext || ''] || 'text';
120
+ }
121
+ /**
122
+ * Get a summary of focused files for display
123
+ *
124
+ * @param focusedFiles - Array of focused files
125
+ * @returns Summary string (e.g., "3 files (24.5 KB)")
126
+ */
127
+ export function getFocusedFilesSummary(focusedFiles) {
128
+ if (focusedFiles.length === 0) {
129
+ return 'No files focused';
130
+ }
131
+ const totalSize = focusedFiles.reduce((sum, file) => sum + file.size, 0);
132
+ const sizeKB = (totalSize / 1024).toFixed(1);
133
+ const fileWord = focusedFiles.length === 1 ? 'file' : 'files';
134
+ return `${focusedFiles.length} ${fileWord} (${sizeKB} KB)`;
135
+ }
136
+ /**
137
+ * Check if focused files exceed a size threshold
138
+ *
139
+ * @param focusedFiles - Array of focused files
140
+ * @param thresholdBytes - Threshold in bytes (default: 32KB)
141
+ * @returns true if total size exceeds threshold
142
+ */
143
+ export function exceedsSizeThreshold(focusedFiles, thresholdBytes = 32 * 1024) {
144
+ const totalSize = focusedFiles.reduce((sum, file) => sum + file.size, 0);
145
+ return totalSize > thresholdBytes;
146
+ }
147
+ //# sourceMappingURL=FocusedFilesInjector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FocusedFilesInjector.js","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/FocusedFilesInjector.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;GAEG;AACH,MAAM,aAAa,GAAG,CAAC,GAAG,IAAI,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,UAAU,kBAAkB,CAAC,YAA2B,EAAE,aAAqB,EAAE;IACrF,oDAAoD;IACpD,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC9B,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,kCAAkC;IAClC,MAAM,cAAc,GAAG,wBAAwB,CAAC,YAAY,CAAC,CAAC;IAE9D,yDAAyD;IACzD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,GAAG,UAAU,OAAO,cAAc,EAAE,CAAC;IAC9C,C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GAAG,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACzE,OAAO,SAAS,GAAG,cAAc,CAAC;AACpC,CAAC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * FocusedFilesPanel - Display panel for focused files
3
+ *
4
+ * Shows all files that are currently focused for LLM context injection.
5
+ * Displays file paths, sizes, truncation warnings, and total content size.
6
+ *
7
+ * Requirements: 3.5 (Display focused files in context panel)
8
+ */
9
+ /**
10
+ * Props for FocusedFilesPanel component
11
+ */
12
+ export interface FocusedFilesPanelProps {
13
+ /** Optional title for the panel */
14
+ title?: string;
15
+ /** Whether to show detailed information (sizes, warnings) */
16
+ showDetails?: boolean;
17
+ }
18
+ /**
19
+ * FocusedFilesPanel component
20
+ *
21
+ * Renders a panel showing all focused files with their metadata:
22
+ * - File paths (with focus indicator 📌)
23
+ * - File sizes
24
+ * - Truncation warnings for files exceeding 8KB
25
+ * - Total focused content size
26
+ *
27
+ * The panel is designed to be compact and informative, providing
28
+ * users with visibility into what content is being injected into
29
+ * the LLM context.
30
+ */
31
+ export declare function FocusedFilesPanel({ title, showDetails, }: FocusedFilesPanelProps): import("react/jsx-runtime").JSX.Element;
32
+ //# sourceMappingURL=FocusedFilesPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FocusedFilesPanel.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/FocusedFilesPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AA8CD;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAuB,EACvB,WAAkB,GACnB,EAAE,sBAAsB,2CAoExB"}