@theia/ai-ide 1.77.0-next.99 → 1.77.0

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 (558) hide show
  1. package/lib/browser/address-pr-review-command-contribution.js +15 -19
  2. package/lib/browser/address-pr-review-command-contribution.js.map +1 -1
  3. package/lib/browser/agent-mode-confirmation-service.js +20 -24
  4. package/lib/browser/agent-mode-confirmation-service.js.map +1 -1
  5. package/lib/browser/agents-md-agent.js +15 -19
  6. package/lib/browser/agents-md-agent.js.map +1 -1
  7. package/lib/browser/ai-allow-all-mode-chat-banner.js +32 -39
  8. package/lib/browser/ai-allow-all-mode-chat-banner.js.map +1 -1
  9. package/lib/browser/ai-allow-all-mode-chat-banner.spec.js +49 -51
  10. package/lib/browser/ai-allow-all-mode-chat-banner.spec.js.map +1 -1
  11. package/lib/browser/ai-aware-scm-commit-widget.d.ts +1 -1
  12. package/lib/browser/ai-aware-scm-commit-widget.d.ts.map +1 -1
  13. package/lib/browser/ai-aware-scm-commit-widget.js +36 -47
  14. package/lib/browser/ai-aware-scm-commit-widget.js.map +1 -1
  15. package/lib/browser/ai-configuration/agent-icon.js +5 -9
  16. package/lib/browser/ai-configuration/agent-icon.js.map +1 -1
  17. package/lib/browser/ai-configuration/ai-configuration-breadcrumbs-contribution.js +28 -37
  18. package/lib/browser/ai-configuration/ai-configuration-breadcrumbs-contribution.js.map +1 -1
  19. package/lib/browser/ai-configuration/ai-configuration-detail-widget.js +29 -39
  20. package/lib/browser/ai-configuration/ai-configuration-detail-widget.js.map +1 -1
  21. package/lib/browser/ai-configuration/ai-configuration-detail-widget.spec.js +22 -24
  22. package/lib/browser/ai-configuration/ai-configuration-detail-widget.spec.js.map +1 -1
  23. package/lib/browser/ai-configuration/ai-configuration-label-provider-contribution.js +12 -15
  24. package/lib/browser/ai-configuration/ai-configuration-label-provider-contribution.js.map +1 -1
  25. package/lib/browser/ai-configuration/ai-configuration-open-preference-renderer.js +20 -24
  26. package/lib/browser/ai-configuration/ai-configuration-open-preference-renderer.js.map +1 -1
  27. package/lib/browser/ai-configuration/ai-configuration-preference-ownership.spec.js +37 -39
  28. package/lib/browser/ai-configuration/ai-configuration-preference-ownership.spec.js.map +1 -1
  29. package/lib/browser/ai-configuration/ai-configuration-resource.js +3 -7
  30. package/lib/browser/ai-configuration/ai-configuration-resource.js.map +1 -1
  31. package/lib/browser/ai-configuration/ai-configuration-search-widget.js +20 -26
  32. package/lib/browser/ai-configuration/ai-configuration-search-widget.js.map +1 -1
  33. package/lib/browser/ai-configuration/ai-configuration-search.js +2 -5
  34. package/lib/browser/ai-configuration/ai-configuration-search.js.map +1 -1
  35. package/lib/browser/ai-configuration/ai-configuration-search.spec.js +15 -17
  36. package/lib/browser/ai-configuration/ai-configuration-search.spec.js.map +1 -1
  37. package/lib/browser/ai-configuration/ai-configuration-service.js +9 -12
  38. package/lib/browser/ai-configuration/ai-configuration-service.js.map +1 -1
  39. package/lib/browser/ai-configuration/ai-configuration-tree-model.js +7 -10
  40. package/lib/browser/ai-configuration/ai-configuration-tree-model.js.map +1 -1
  41. package/lib/browser/ai-configuration/ai-configuration-tree-nodes.js +14 -17
  42. package/lib/browser/ai-configuration/ai-configuration-tree-nodes.js.map +1 -1
  43. package/lib/browser/ai-configuration/ai-configuration-tree-nodes.spec.js +47 -49
  44. package/lib/browser/ai-configuration/ai-configuration-tree-nodes.spec.js.map +1 -1
  45. package/lib/browser/ai-configuration/ai-configuration-tree-widget.d.ts +1 -1
  46. package/lib/browser/ai-configuration/ai-configuration-tree-widget.d.ts.map +1 -1
  47. package/lib/browser/ai-configuration/ai-configuration-tree-widget.js +68 -79
  48. package/lib/browser/ai-configuration/ai-configuration-tree-widget.js.map +1 -1
  49. package/lib/browser/ai-configuration/ai-configuration-view-contribution.d.ts +2 -2
  50. package/lib/browser/ai-configuration/ai-configuration-view-contribution.d.ts.map +1 -1
  51. package/lib/browser/ai-configuration/ai-configuration-view-contribution.js +47 -54
  52. package/lib/browser/ai-configuration/ai-configuration-view-contribution.js.map +1 -1
  53. package/lib/browser/ai-configuration/ai-configuration-widget.d.ts +4 -4
  54. package/lib/browser/ai-configuration/ai-configuration-widget.d.ts.map +1 -1
  55. package/lib/browser/ai-configuration/ai-configuration-widget.js +45 -57
  56. package/lib/browser/ai-configuration/ai-configuration-widget.js.map +1 -1
  57. package/lib/browser/ai-configuration/categories/agent-capabilities-settings.d.ts +3 -0
  58. package/lib/browser/ai-configuration/categories/agent-capabilities-settings.d.ts.map +1 -1
  59. package/lib/browser/ai-configuration/categories/agent-capabilities-settings.js +34 -40
  60. package/lib/browser/ai-configuration/categories/agent-capabilities-settings.js.map +1 -1
  61. package/lib/browser/ai-configuration/categories/agent-capabilities-settings.spec.js +135 -140
  62. package/lib/browser/ai-configuration/categories/agent-capabilities-settings.spec.js.map +1 -1
  63. package/lib/browser/ai-configuration/categories/agent-chips.js +8 -13
  64. package/lib/browser/ai-configuration/categories/agent-chips.js.map +1 -1
  65. package/lib/browser/ai-configuration/categories/agent-detail-model.js +7 -10
  66. package/lib/browser/ai-configuration/categories/agent-detail-model.js.map +1 -1
  67. package/lib/browser/ai-configuration/categories/agent-detail-model.spec.js +13 -15
  68. package/lib/browser/ai-configuration/categories/agent-detail-model.spec.js.map +1 -1
  69. package/lib/browser/ai-configuration/categories/agent-detail-view.d.ts +1 -1
  70. package/lib/browser/ai-configuration/categories/agent-detail-view.d.ts.map +1 -1
  71. package/lib/browser/ai-configuration/categories/agent-detail-view.js +29 -34
  72. package/lib/browser/ai-configuration/categories/agent-detail-view.js.map +1 -1
  73. package/lib/browser/ai-configuration/categories/agents-configuration-category.d.ts +1 -1
  74. package/lib/browser/ai-configuration/categories/agents-configuration-category.d.ts.map +1 -1
  75. package/lib/browser/ai-configuration/categories/agents-configuration-category.js +106 -128
  76. package/lib/browser/ai-configuration/categories/agents-configuration-category.js.map +1 -1
  77. package/lib/browser/ai-configuration/categories/agents-configuration-category.spec.js +32 -34
  78. package/lib/browser/ai-configuration/categories/agents-configuration-category.spec.js.map +1 -1
  79. package/lib/browser/ai-configuration/categories/general-configuration-category.js +91 -101
  80. package/lib/browser/ai-configuration/categories/general-configuration-category.js.map +1 -1
  81. package/lib/browser/ai-configuration/categories/general-configuration-category.spec.js +38 -40
  82. package/lib/browser/ai-configuration/categories/general-configuration-category.spec.js.map +1 -1
  83. package/lib/browser/ai-configuration/categories/model-aliases-configuration-category.js +53 -63
  84. package/lib/browser/ai-configuration/categories/model-aliases-configuration-category.js.map +1 -1
  85. package/lib/browser/ai-configuration/categories/model-aliases-configuration-category.spec.js +25 -27
  86. package/lib/browser/ai-configuration/categories/model-aliases-configuration-category.spec.js.map +1 -1
  87. package/lib/browser/ai-configuration/categories/models-configuration-category.js +45 -56
  88. package/lib/browser/ai-configuration/categories/models-configuration-category.js.map +1 -1
  89. package/lib/browser/ai-configuration/categories/models-configuration-category.spec.js +31 -33
  90. package/lib/browser/ai-configuration/categories/models-configuration-category.spec.js.map +1 -1
  91. package/lib/browser/ai-configuration/categories/prompt-snippets-configuration-category.js +68 -76
  92. package/lib/browser/ai-configuration/categories/prompt-snippets-configuration-category.js.map +1 -1
  93. package/lib/browser/ai-configuration/categories/prompt-snippets-configuration-category.spec.js +55 -57
  94. package/lib/browser/ai-configuration/categories/prompt-snippets-configuration-category.spec.js.map +1 -1
  95. package/lib/browser/ai-configuration/categories/prompts-and-skills-configuration-category.js +85 -100
  96. package/lib/browser/ai-configuration/categories/prompts-and-skills-configuration-category.js.map +1 -1
  97. package/lib/browser/ai-configuration/categories/prompts-and-skills-configuration-category.spec.js +39 -41
  98. package/lib/browser/ai-configuration/categories/prompts-and-skills-configuration-category.spec.js.map +1 -1
  99. package/lib/browser/ai-configuration/categories/provider-model-discovery-section.js +44 -49
  100. package/lib/browser/ai-configuration/categories/provider-model-discovery-section.js.map +1 -1
  101. package/lib/browser/ai-configuration/categories/provider-model-discovery-section.spec.js +71 -74
  102. package/lib/browser/ai-configuration/categories/provider-model-discovery-section.spec.js.map +1 -1
  103. package/lib/browser/ai-configuration/categories/token-usage-configuration-category.js +34 -42
  104. package/lib/browser/ai-configuration/categories/token-usage-configuration-category.js.map +1 -1
  105. package/lib/browser/ai-configuration/categories/token-usage-configuration-category.spec.js +16 -18
  106. package/lib/browser/ai-configuration/categories/token-usage-configuration-category.spec.js.map +1 -1
  107. package/lib/browser/ai-configuration/categories/tools-configuration-category.js +101 -112
  108. package/lib/browser/ai-configuration/categories/tools-configuration-category.js.map +1 -1
  109. package/lib/browser/ai-configuration/categories/tools-configuration-category.spec.js +46 -48
  110. package/lib/browser/ai-configuration/categories/tools-configuration-category.spec.js.map +1 -1
  111. package/lib/browser/ai-configuration/categories/variables-configuration-category.js +54 -63
  112. package/lib/browser/ai-configuration/categories/variables-configuration-category.js.map +1 -1
  113. package/lib/browser/ai-configuration/categories/variables-configuration-category.spec.js +27 -29
  114. package/lib/browser/ai-configuration/categories/variables-configuration-category.spec.js.map +1 -1
  115. package/lib/browser/ai-configuration/components/agent-notification-settings.js +12 -16
  116. package/lib/browser/ai-configuration/components/agent-notification-settings.js.map +1 -1
  117. package/lib/browser/ai-configuration/language-model-renderer.js +25 -31
  118. package/lib/browser/ai-configuration/language-model-renderer.js.map +1 -1
  119. package/lib/browser/ai-configuration/language-model-renderer.spec.js +29 -32
  120. package/lib/browser/ai-configuration/language-model-renderer.spec.js.map +1 -1
  121. package/lib/browser/ai-first-perspective-contribution.js +18 -21
  122. package/lib/browser/ai-first-perspective-contribution.js.map +1 -1
  123. package/lib/browser/ai-getting-started-commands.js +3 -6
  124. package/lib/browser/ai-getting-started-commands.js.map +1 -1
  125. package/lib/browser/ai-getting-started-contribution.js +24 -30
  126. package/lib/browser/ai-getting-started-contribution.js.map +1 -1
  127. package/lib/browser/ai-getting-started-walkthrough.js +54 -58
  128. package/lib/browser/ai-getting-started-walkthrough.js.map +1 -1
  129. package/lib/browser/ai-getting-started-walkthrough.spec.js +32 -34
  130. package/lib/browser/ai-getting-started-walkthrough.spec.js.map +1 -1
  131. package/lib/browser/ai-ide-activation-service.js +25 -34
  132. package/lib/browser/ai-ide-activation-service.js.map +1 -1
  133. package/lib/browser/ai-sessions-view-contribution.d.ts +1 -1
  134. package/lib/browser/ai-sessions-view-contribution.d.ts.map +1 -1
  135. package/lib/browser/ai-sessions-view-contribution.js +28 -33
  136. package/lib/browser/ai-sessions-view-contribution.js.map +1 -1
  137. package/lib/browser/ai-sessions-widget.d.ts +3 -3
  138. package/lib/browser/ai-sessions-widget.d.ts.map +1 -1
  139. package/lib/browser/ai-sessions-widget.js +42 -55
  140. package/lib/browser/ai-sessions-widget.js.map +1 -1
  141. package/lib/browser/ai-terminal-functions.js +18 -24
  142. package/lib/browser/ai-terminal-functions.js.map +1 -1
  143. package/lib/browser/ai-walkthrough-context-keys.js +35 -45
  144. package/lib/browser/ai-walkthrough-context-keys.js.map +1 -1
  145. package/lib/browser/ai-walkthrough-context-keys.spec.js +34 -36
  146. package/lib/browser/ai-walkthrough-context-keys.spec.js.map +1 -1
  147. package/lib/browser/ai-workspace-restriction-contribution.js +11 -15
  148. package/lib/browser/ai-workspace-restriction-contribution.js.map +1 -1
  149. package/lib/browser/analyze-gh-ticket-command-contribution.js +19 -23
  150. package/lib/browser/analyze-gh-ticket-command-contribution.js.map +1 -1
  151. package/lib/browser/app-tester-chat-agent.js +45 -51
  152. package/lib/browser/app-tester-chat-agent.js.map +1 -1
  153. package/lib/browser/app-tester-chat-functions.d.ts +1 -1
  154. package/lib/browser/app-tester-chat-functions.d.ts.map +1 -1
  155. package/lib/browser/app-tester-chat-functions.js +29 -34
  156. package/lib/browser/app-tester-chat-functions.js.map +1 -1
  157. package/lib/browser/app-tester-prompt-template.js +42 -45
  158. package/lib/browser/app-tester-prompt-template.js.map +1 -1
  159. package/lib/browser/apptester-capability-contribution.js +13 -17
  160. package/lib/browser/apptester-capability-contribution.js.map +1 -1
  161. package/lib/browser/architect-agent.d.ts +2 -2
  162. package/lib/browser/architect-agent.d.ts.map +1 -1
  163. package/lib/browser/architect-agent.js +38 -44
  164. package/lib/browser/architect-agent.js.map +1 -1
  165. package/lib/browser/architect-prompt-template.js +84 -87
  166. package/lib/browser/architect-prompt-template.js.map +1 -1
  167. package/lib/browser/chat-session-item-action-contribution.js +15 -18
  168. package/lib/browser/chat-session-item-action-contribution.js.map +1 -1
  169. package/lib/browser/chat-session-item.d.ts +1 -1
  170. package/lib/browser/chat-session-item.d.ts.map +1 -1
  171. package/lib/browser/chat-session-item.js +25 -29
  172. package/lib/browser/chat-session-item.js.map +1 -1
  173. package/lib/browser/chat-session-list-components.js +9 -14
  174. package/lib/browser/chat-session-list-components.js.map +1 -1
  175. package/lib/browser/chat-session-list-service.d.ts +2 -2
  176. package/lib/browser/chat-session-list-service.d.ts.map +1 -1
  177. package/lib/browser/chat-session-list-service.js +33 -43
  178. package/lib/browser/chat-session-list-service.js.map +1 -1
  179. package/lib/browser/chat-session-list-service.spec.js +56 -58
  180. package/lib/browser/chat-session-list-service.spec.js.map +1 -1
  181. package/lib/browser/chat-session-tooltip.js +31 -35
  182. package/lib/browser/chat-session-tooltip.js.map +1 -1
  183. package/lib/browser/chat-sessions-welcome-message-provider.d.ts +3 -3
  184. package/lib/browser/chat-sessions-welcome-message-provider.d.ts.map +1 -1
  185. package/lib/browser/chat-sessions-welcome-message-provider.js +54 -70
  186. package/lib/browser/chat-sessions-welcome-message-provider.js.map +1 -1
  187. package/lib/browser/code-review-capability-contribution.js +13 -17
  188. package/lib/browser/code-review-capability-contribution.js.map +1 -1
  189. package/lib/browser/code-reviewer-agent.js +17 -21
  190. package/lib/browser/code-reviewer-agent.js.map +1 -1
  191. package/lib/browser/code-reviewer-prompt-template.js +5 -8
  192. package/lib/browser/code-reviewer-prompt-template.js.map +1 -1
  193. package/lib/browser/coder-agent.d.ts +2 -2
  194. package/lib/browser/coder-agent.d.ts.map +1 -1
  195. package/lib/browser/coder-agent.js +44 -50
  196. package/lib/browser/coder-agent.js.map +1 -1
  197. package/lib/browser/commit-message-agent.js +26 -32
  198. package/lib/browser/commit-message-agent.js.map +1 -1
  199. package/lib/browser/commit-message-agent.spec.js +25 -28
  200. package/lib/browser/commit-message-agent.spec.js.map +1 -1
  201. package/lib/browser/commit-message-command-contribution.d.ts +1 -1
  202. package/lib/browser/commit-message-command-contribution.d.ts.map +1 -1
  203. package/lib/browser/commit-message-command-contribution.js +21 -28
  204. package/lib/browser/commit-message-command-contribution.js.map +1 -1
  205. package/lib/browser/commit-message-commands.js +4 -7
  206. package/lib/browser/commit-message-commands.js.map +1 -1
  207. package/lib/browser/commit-message-prompt-template.js +9 -12
  208. package/lib/browser/commit-message-prompt-template.js.map +1 -1
  209. package/lib/browser/commit-message-runner.d.ts +2 -2
  210. package/lib/browser/commit-message-runner.d.ts.map +1 -1
  211. package/lib/browser/commit-message-runner.js +33 -41
  212. package/lib/browser/commit-message-runner.js.map +1 -1
  213. package/lib/browser/commit-message-runner.spec.js +65 -68
  214. package/lib/browser/commit-message-runner.spec.js.map +1 -1
  215. package/lib/browser/context-file-validation-service-impl.d.ts +1 -1
  216. package/lib/browser/context-file-validation-service-impl.d.ts.map +1 -1
  217. package/lib/browser/context-file-validation-service-impl.js +20 -26
  218. package/lib/browser/context-file-validation-service-impl.js.map +1 -1
  219. package/lib/browser/context-file-validation-service-impl.spec.js +77 -79
  220. package/lib/browser/context-file-validation-service-impl.spec.js.map +1 -1
  221. package/lib/browser/context-functions.js +27 -31
  222. package/lib/browser/context-functions.js.map +1 -1
  223. package/lib/browser/context-functions.spec.js +64 -66
  224. package/lib/browser/context-functions.spec.js.map +1 -1
  225. package/lib/browser/create-skill-agent.d.ts +1 -1
  226. package/lib/browser/create-skill-agent.d.ts.map +1 -1
  227. package/lib/browser/create-skill-agent.js +19 -23
  228. package/lib/browser/create-skill-agent.js.map +1 -1
  229. package/lib/browser/default-chat-agent-recommendation-service.js +16 -19
  230. package/lib/browser/default-chat-agent-recommendation-service.js.map +1 -1
  231. package/lib/browser/explore-agent.d.ts +1 -1
  232. package/lib/browser/explore-agent.d.ts.map +1 -1
  233. package/lib/browser/explore-agent.js +18 -22
  234. package/lib/browser/explore-agent.js.map +1 -1
  235. package/lib/browser/explore-prompt-template.js +5 -8
  236. package/lib/browser/explore-prompt-template.js.map +1 -1
  237. package/lib/browser/file-changeset-function.spec.js +12 -14
  238. package/lib/browser/file-changeset-function.spec.js.map +1 -1
  239. package/lib/browser/file-changeset-functions.d.ts +1 -1
  240. package/lib/browser/file-changeset-functions.d.ts.map +1 -1
  241. package/lib/browser/file-changeset-functions.js +134 -164
  242. package/lib/browser/file-changeset-functions.js.map +1 -1
  243. package/lib/browser/file-changeset-functions.spec.js +136 -138
  244. package/lib/browser/file-changeset-functions.spec.js.map +1 -1
  245. package/lib/browser/frontend-module.js +293 -295
  246. package/lib/browser/frontend-module.js.map +1 -1
  247. package/lib/browser/git-changes-tool.js +22 -26
  248. package/lib/browser/git-changes-tool.js.map +1 -1
  249. package/lib/browser/git-changes-tool.spec.js +52 -55
  250. package/lib/browser/git-changes-tool.spec.js.map +1 -1
  251. package/lib/browser/github-capability-contribution.js +14 -18
  252. package/lib/browser/github-capability-contribution.js.map +1 -1
  253. package/lib/browser/github-chat-agent.js +58 -67
  254. package/lib/browser/github-chat-agent.js.map +1 -1
  255. package/lib/browser/github-prompt-template.js +6 -9
  256. package/lib/browser/github-prompt-template.js.map +1 -1
  257. package/lib/browser/github-repo-variable-contribution.d.ts +1 -1
  258. package/lib/browser/github-repo-variable-contribution.d.ts.map +1 -1
  259. package/lib/browser/github-repo-variable-contribution.js +23 -30
  260. package/lib/browser/github-repo-variable-contribution.js.map +1 -1
  261. package/lib/browser/ide-chat-welcome-message-provider.js +59 -71
  262. package/lib/browser/ide-chat-welcome-message-provider.js.map +1 -1
  263. package/lib/browser/implement-gh-ticket-command-contribution.js +15 -19
  264. package/lib/browser/implement-gh-ticket-command-contribution.js.map +1 -1
  265. package/lib/browser/memory-capability-contribution.d.ts.map +1 -1
  266. package/lib/browser/memory-capability-contribution.js +21 -25
  267. package/lib/browser/memory-capability-contribution.js.map +1 -1
  268. package/lib/browser/memory-capability-contribution.spec.js +30 -32
  269. package/lib/browser/memory-capability-contribution.spec.js.map +1 -1
  270. package/lib/browser/memory-directory-variable-contribution.d.ts +1 -1
  271. package/lib/browser/memory-directory-variable-contribution.d.ts.map +1 -1
  272. package/lib/browser/memory-directory-variable-contribution.js +19 -24
  273. package/lib/browser/memory-directory-variable-contribution.js.map +1 -1
  274. package/lib/browser/memory-directory-variable-contribution.spec.js +28 -30
  275. package/lib/browser/memory-directory-variable-contribution.spec.js.map +1 -1
  276. package/lib/browser/mode-aware-chat-agent.js +9 -12
  277. package/lib/browser/mode-aware-chat-agent.js.map +1 -1
  278. package/lib/browser/multi-root-paths.spec.js +86 -88
  279. package/lib/browser/multi-root-paths.spec.js.map +1 -1
  280. package/lib/browser/open-editors-hint-contribution.js +10 -14
  281. package/lib/browser/open-editors-hint-contribution.js.map +1 -1
  282. package/lib/browser/remember-command-contribution.js +17 -21
  283. package/lib/browser/remember-command-contribution.js.map +1 -1
  284. package/lib/browser/review/pr-review-agent.js +17 -21
  285. package/lib/browser/review/pr-review-agent.js.map +1 -1
  286. package/lib/browser/review/pr-review-capability-contribution.js +41 -45
  287. package/lib/browser/review/pr-review-capability-contribution.js.map +1 -1
  288. package/lib/browser/review/pr-review-prompt-template.js +48 -51
  289. package/lib/browser/review/pr-review-prompt-template.js.map +1 -1
  290. package/lib/browser/shell-execution-capability-contribution.js +17 -21
  291. package/lib/browser/shell-execution-capability-contribution.js.map +1 -1
  292. package/lib/browser/skill-file-functions.js +27 -33
  293. package/lib/browser/skill-file-functions.js.map +1 -1
  294. package/lib/browser/skill-file-functions.spec.js +19 -21
  295. package/lib/browser/skill-file-functions.spec.js.map +1 -1
  296. package/lib/browser/summarize-session-command-contribution.d.ts +1 -1
  297. package/lib/browser/summarize-session-command-contribution.d.ts.map +1 -1
  298. package/lib/browser/summarize-session-command-contribution.js +38 -50
  299. package/lib/browser/summarize-session-command-contribution.js.map +1 -1
  300. package/lib/browser/task-background-summary-variable.js +17 -20
  301. package/lib/browser/task-background-summary-variable.js.map +1 -1
  302. package/lib/browser/task-context-file-storage-service.js +39 -51
  303. package/lib/browser/task-context-file-storage-service.js.map +1 -1
  304. package/lib/browser/task-context-file-storage-service.spec.js +41 -43
  305. package/lib/browser/task-context-file-storage-service.spec.js.map +1 -1
  306. package/lib/browser/task-context-functions.js +44 -52
  307. package/lib/browser/task-context-functions.js.map +1 -1
  308. package/lib/browser/template-preference-contribution.js +30 -37
  309. package/lib/browser/template-preference-contribution.js.map +1 -1
  310. package/lib/browser/test/tool-provider-cancellation-test-util.spec.js +8 -10
  311. package/lib/browser/test/tool-provider-cancellation-test-util.spec.js.map +1 -1
  312. package/lib/browser/todo-tool-renderer.d.ts +1 -1
  313. package/lib/browser/todo-tool-renderer.d.ts.map +1 -1
  314. package/lib/browser/todo-tool-renderer.js +42 -51
  315. package/lib/browser/todo-tool-renderer.js.map +1 -1
  316. package/lib/browser/todo-tool.js +8 -11
  317. package/lib/browser/todo-tool.js.map +1 -1
  318. package/lib/browser/todo-tool.spec.js +14 -16
  319. package/lib/browser/todo-tool.spec.js.map +1 -1
  320. package/lib/browser/user-interaction-tool-renderer.d.ts +1 -1
  321. package/lib/browser/user-interaction-tool-renderer.d.ts.map +1 -1
  322. package/lib/browser/user-interaction-tool-renderer.js +81 -95
  323. package/lib/browser/user-interaction-tool-renderer.js.map +1 -1
  324. package/lib/browser/user-interaction-tool.d.ts +2 -2
  325. package/lib/browser/user-interaction-tool.d.ts.map +1 -1
  326. package/lib/browser/user-interaction-tool.js +56 -65
  327. package/lib/browser/user-interaction-tool.js.map +1 -1
  328. package/lib/browser/user-interaction-tool.spec.js +118 -121
  329. package/lib/browser/user-interaction-tool.spec.js.map +1 -1
  330. package/lib/browser/workspace-functions.d.ts +1 -1
  331. package/lib/browser/workspace-functions.d.ts.map +1 -1
  332. package/lib/browser/workspace-functions.js +126 -155
  333. package/lib/browser/workspace-functions.js.map +1 -1
  334. package/lib/browser/workspace-functions.spec.js +607 -600
  335. package/lib/browser/workspace-functions.spec.js.map +1 -1
  336. package/lib/browser/workspace-launch-provider.d.ts +1 -1
  337. package/lib/browser/workspace-launch-provider.d.ts.map +1 -1
  338. package/lib/browser/workspace-launch-provider.js +46 -57
  339. package/lib/browser/workspace-launch-provider.js.map +1 -1
  340. package/lib/browser/workspace-launch-provider.spec.js +119 -122
  341. package/lib/browser/workspace-launch-provider.spec.js.map +1 -1
  342. package/lib/browser/workspace-search-provider.d.ts +1 -1
  343. package/lib/browser/workspace-search-provider.d.ts.map +1 -1
  344. package/lib/browser/workspace-search-provider.js +25 -32
  345. package/lib/browser/workspace-search-provider.js.map +1 -1
  346. package/lib/browser/workspace-search-provider.spec.js +35 -38
  347. package/lib/browser/workspace-search-provider.spec.js.map +1 -1
  348. package/lib/browser/workspace-task-provider.d.ts +1 -1
  349. package/lib/browser/workspace-task-provider.d.ts.map +1 -1
  350. package/lib/browser/workspace-task-provider.js +42 -51
  351. package/lib/browser/workspace-task-provider.js.map +1 -1
  352. package/lib/browser/workspace-task-provider.spec.js +102 -105
  353. package/lib/browser/workspace-task-provider.spec.js.map +1 -1
  354. package/lib/common/agent-ids.js +2 -5
  355. package/lib/common/agent-ids.js.map +1 -1
  356. package/lib/common/agents-md-prompt-template.js +38 -41
  357. package/lib/common/agents-md-prompt-template.js.map +1 -1
  358. package/lib/common/ai-configuration-preferences.js +5 -8
  359. package/lib/common/ai-configuration-preferences.js.map +1 -1
  360. package/lib/common/ai-ide-preferences.js +16 -19
  361. package/lib/common/ai-ide-preferences.js.map +1 -1
  362. package/lib/common/ai-terminal-functions.js +1 -4
  363. package/lib/common/ai-terminal-functions.js.map +1 -1
  364. package/lib/common/app-tester-chat-functions.js +4 -7
  365. package/lib/common/app-tester-chat-functions.js.map +1 -1
  366. package/lib/common/browser-automation-protocol.js +3 -6
  367. package/lib/common/browser-automation-protocol.js.map +1 -1
  368. package/lib/common/coder-replace-prompt-template.js +102 -108
  369. package/lib/common/coder-replace-prompt-template.js.map +1 -1
  370. package/lib/common/command-chat-agents.js +34 -40
  371. package/lib/common/command-chat-agents.js.map +1 -1
  372. package/lib/common/command-prompt-template.js +1 -4
  373. package/lib/common/command-prompt-template.js.map +1 -1
  374. package/lib/common/context-files-variable.js +17 -20
  375. package/lib/common/context-files-variable.js.map +1 -1
  376. package/lib/common/context-functions.js +3 -6
  377. package/lib/common/context-functions.js.map +1 -1
  378. package/lib/common/context-variables.js +2 -5
  379. package/lib/common/context-variables.js.map +1 -1
  380. package/lib/common/create-skill-prompt-template.js +22 -25
  381. package/lib/common/create-skill-prompt-template.js.map +1 -1
  382. package/lib/common/file-changeset-function-ids.js +8 -11
  383. package/lib/common/file-changeset-function-ids.js.map +1 -1
  384. package/lib/common/github-repo-protocol.js +2 -5
  385. package/lib/common/github-repo-protocol.js.map +1 -1
  386. package/lib/common/open-editors-hint-fragment-id.js +1 -4
  387. package/lib/common/open-editors-hint-fragment-id.js.map +1 -1
  388. package/lib/common/orchestrator-chat-agent.js +36 -42
  389. package/lib/common/orchestrator-chat-agent.js.map +1 -1
  390. package/lib/common/orchestrator-prompt-template.js +1 -4
  391. package/lib/common/orchestrator-prompt-template.js.map +1 -1
  392. package/lib/common/summarize-session-commands.js +2 -5
  393. package/lib/common/summarize-session-commands.js.map +1 -1
  394. package/lib/common/task-context-function-ids.js +5 -8
  395. package/lib/common/task-context-function-ids.js.map +1 -1
  396. package/lib/common/todo-tool.js +2 -6
  397. package/lib/common/todo-tool.js.map +1 -1
  398. package/lib/common/universal-chat-agent.js +17 -21
  399. package/lib/common/universal-chat-agent.js.map +1 -1
  400. package/lib/common/universal-prompt-template.js +6 -9
  401. package/lib/common/universal-prompt-template.js.map +1 -1
  402. package/lib/common/user-interaction-tool.js +11 -21
  403. package/lib/common/user-interaction-tool.js.map +1 -1
  404. package/lib/common/user-interaction-tool.spec.js +52 -54
  405. package/lib/common/user-interaction-tool.spec.js.map +1 -1
  406. package/lib/common/workspace-functions.js +13 -16
  407. package/lib/common/workspace-functions.js.map +1 -1
  408. package/lib/common/workspace-preferences.js +41 -44
  409. package/lib/common/workspace-preferences.js.map +1 -1
  410. package/lib/common/workspace-search-provider-util.js +3 -6
  411. package/lib/common/workspace-search-provider-util.js.map +1 -1
  412. package/lib/common/workspace-search-provider-util.spec.js +13 -15
  413. package/lib/common/workspace-search-provider-util.spec.js.map +1 -1
  414. package/lib/node/app-tester-agent/browser-automation-impl.d.ts +1 -1
  415. package/lib/node/app-tester-agent/browser-automation-impl.d.ts.map +1 -1
  416. package/lib/node/app-tester-agent/browser-automation-impl.js +7 -10
  417. package/lib/node/app-tester-agent/browser-automation-impl.js.map +1 -1
  418. package/lib/node/backend-module.js +21 -23
  419. package/lib/node/backend-module.js.map +1 -1
  420. package/lib/node/github-repo-service-impl.d.ts +1 -1
  421. package/lib/node/github-repo-service-impl.d.ts.map +1 -1
  422. package/lib/node/github-repo-service-impl.js +11 -15
  423. package/lib/node/github-repo-service-impl.js.map +1 -1
  424. package/lib/package.spec.d.ts +1 -0
  425. package/lib/package.spec.js +1 -1
  426. package/lib/package.spec.js.map +1 -1
  427. package/package.json +33 -25
  428. package/src/browser/address-pr-review-command-contribution.ts +1 -1
  429. package/src/browser/agent-mode-confirmation-service.ts +1 -1
  430. package/src/browser/agents-md-agent.ts +1 -1
  431. package/src/browser/ai-allow-all-mode-chat-banner.spec.ts +1 -1
  432. package/src/browser/ai-aware-scm-commit-widget.tsx +3 -3
  433. package/src/browser/ai-configuration/ai-configuration-breadcrumbs-contribution.ts +2 -2
  434. package/src/browser/ai-configuration/ai-configuration-detail-widget.spec.ts +1 -1
  435. package/src/browser/ai-configuration/ai-configuration-label-provider-contribution.ts +1 -1
  436. package/src/browser/ai-configuration/ai-configuration-open-preference-renderer.ts +1 -1
  437. package/src/browser/ai-configuration/ai-configuration-preference-ownership.spec.ts +6 -6
  438. package/src/browser/ai-configuration/ai-configuration-search.spec.ts +1 -1
  439. package/src/browser/ai-configuration/ai-configuration-tree-nodes.spec.ts +1 -1
  440. package/src/browser/ai-configuration/ai-configuration-tree-widget.tsx +3 -3
  441. package/src/browser/ai-configuration/ai-configuration-view-contribution.ts +2 -2
  442. package/src/browser/ai-configuration/ai-configuration-widget.tsx +5 -5
  443. package/src/browser/ai-configuration/categories/agent-capabilities-settings.spec.ts +9 -9
  444. package/src/browser/ai-configuration/categories/agent-capabilities-settings.tsx +5 -2
  445. package/src/browser/ai-configuration/categories/agent-chips.tsx +1 -1
  446. package/src/browser/ai-configuration/categories/agent-detail-model.spec.ts +1 -1
  447. package/src/browser/ai-configuration/categories/agent-detail-view.tsx +6 -6
  448. package/src/browser/ai-configuration/categories/agents-configuration-category.spec.ts +1 -1
  449. package/src/browser/ai-configuration/categories/agents-configuration-category.tsx +5 -5
  450. package/src/browser/ai-configuration/categories/general-configuration-category.spec.ts +2 -2
  451. package/src/browser/ai-configuration/categories/general-configuration-category.tsx +1 -1
  452. package/src/browser/ai-configuration/categories/model-aliases-configuration-category.spec.ts +1 -1
  453. package/src/browser/ai-configuration/categories/model-aliases-configuration-category.tsx +1 -1
  454. package/src/browser/ai-configuration/categories/models-configuration-category.spec.ts +1 -1
  455. package/src/browser/ai-configuration/categories/models-configuration-category.tsx +1 -1
  456. package/src/browser/ai-configuration/categories/prompt-snippets-configuration-category.spec.ts +1 -1
  457. package/src/browser/ai-configuration/categories/prompt-snippets-configuration-category.tsx +1 -1
  458. package/src/browser/ai-configuration/categories/prompts-and-skills-configuration-category.spec.ts +1 -1
  459. package/src/browser/ai-configuration/categories/prompts-and-skills-configuration-category.tsx +1 -1
  460. package/src/browser/ai-configuration/categories/provider-model-discovery-section.spec.tsx +1 -1
  461. package/src/browser/ai-configuration/categories/provider-model-discovery-section.tsx +1 -1
  462. package/src/browser/ai-configuration/categories/token-usage-configuration-category.spec.ts +1 -1
  463. package/src/browser/ai-configuration/categories/token-usage-configuration-category.tsx +1 -1
  464. package/src/browser/ai-configuration/categories/tools-configuration-category.spec.ts +1 -1
  465. package/src/browser/ai-configuration/categories/variables-configuration-category.spec.ts +1 -1
  466. package/src/browser/ai-configuration/categories/variables-configuration-category.tsx +1 -1
  467. package/src/browser/ai-configuration/language-model-renderer.spec.ts +1 -1
  468. package/src/browser/ai-first-perspective-contribution.ts +1 -1
  469. package/src/browser/ai-getting-started-contribution.ts +2 -2
  470. package/src/browser/ai-getting-started-walkthrough.spec.ts +2 -2
  471. package/src/browser/ai-getting-started-walkthrough.ts +3 -3
  472. package/src/browser/ai-ide-activation-service.ts +1 -1
  473. package/src/browser/ai-sessions-view-contribution.ts +1 -1
  474. package/src/browser/ai-sessions-widget.tsx +4 -4
  475. package/src/browser/ai-terminal-functions.ts +1 -1
  476. package/src/browser/ai-walkthrough-context-keys.spec.ts +1 -1
  477. package/src/browser/analyze-gh-ticket-command-contribution.ts +3 -3
  478. package/src/browser/app-tester-chat-agent.ts +2 -2
  479. package/src/browser/app-tester-chat-functions.ts +2 -2
  480. package/src/browser/app-tester-prompt-template.ts +2 -2
  481. package/src/browser/apptester-capability-contribution.ts +1 -1
  482. package/src/browser/architect-agent.ts +4 -4
  483. package/src/browser/architect-prompt-template.ts +6 -6
  484. package/src/browser/chat-session-item.tsx +2 -2
  485. package/src/browser/chat-session-list-service.spec.ts +2 -2
  486. package/src/browser/chat-session-list-service.ts +2 -2
  487. package/src/browser/chat-sessions-welcome-message-provider.tsx +5 -5
  488. package/src/browser/code-review-capability-contribution.ts +1 -1
  489. package/src/browser/code-reviewer-agent.ts +1 -1
  490. package/src/browser/coder-agent.ts +3 -3
  491. package/src/browser/commit-message-agent.spec.ts +2 -2
  492. package/src/browser/commit-message-agent.ts +1 -1
  493. package/src/browser/commit-message-command-contribution.ts +3 -3
  494. package/src/browser/commit-message-runner.spec.ts +3 -3
  495. package/src/browser/commit-message-runner.ts +2 -2
  496. package/src/browser/context-file-validation-service-impl.spec.ts +2 -2
  497. package/src/browser/context-file-validation-service-impl.ts +1 -1
  498. package/src/browser/context-functions.spec.ts +1 -1
  499. package/src/browser/context-functions.ts +1 -1
  500. package/src/browser/create-skill-agent.ts +2 -2
  501. package/src/browser/default-chat-agent-recommendation-service.ts +2 -2
  502. package/src/browser/explore-agent.ts +2 -2
  503. package/src/browser/file-changeset-function.spec.ts +1 -1
  504. package/src/browser/file-changeset-functions.spec.ts +3 -3
  505. package/src/browser/file-changeset-functions.ts +3 -3
  506. package/src/browser/frontend-module.ts +89 -89
  507. package/src/browser/git-changes-tool.spec.ts +1 -1
  508. package/src/browser/github-capability-contribution.ts +1 -1
  509. package/src/browser/github-chat-agent.ts +3 -3
  510. package/src/browser/github-repo-variable-contribution.ts +1 -1
  511. package/src/browser/ide-chat-welcome-message-provider.tsx +3 -3
  512. package/src/browser/implement-gh-ticket-command-contribution.ts +1 -1
  513. package/src/browser/memory-capability-contribution.spec.ts +4 -4
  514. package/src/browser/memory-capability-contribution.ts +5 -3
  515. package/src/browser/memory-directory-variable-contribution.spec.ts +1 -1
  516. package/src/browser/memory-directory-variable-contribution.ts +1 -1
  517. package/src/browser/multi-root-paths.spec.ts +2 -2
  518. package/src/browser/open-editors-hint-contribution.ts +1 -1
  519. package/src/browser/remember-command-contribution.ts +2 -2
  520. package/src/browser/review/pr-review-agent.ts +1 -1
  521. package/src/browser/review/pr-review-capability-contribution.ts +6 -6
  522. package/src/browser/review/pr-review-prompt-template.ts +4 -4
  523. package/src/browser/shell-execution-capability-contribution.ts +1 -1
  524. package/src/browser/skill-file-functions.spec.ts +1 -1
  525. package/src/browser/skill-file-functions.ts +1 -1
  526. package/src/browser/summarize-session-command-contribution.ts +2 -2
  527. package/src/browser/task-background-summary-variable.ts +1 -1
  528. package/src/browser/task-context-file-storage-service.spec.ts +1 -1
  529. package/src/browser/task-context-file-storage-service.ts +1 -1
  530. package/src/browser/task-context-functions.ts +1 -1
  531. package/src/browser/template-preference-contribution.ts +1 -1
  532. package/src/browser/todo-tool-renderer.tsx +1 -1
  533. package/src/browser/todo-tool.spec.ts +1 -1
  534. package/src/browser/todo-tool.ts +1 -1
  535. package/src/browser/user-interaction-tool-renderer.tsx +3 -3
  536. package/src/browser/user-interaction-tool.spec.ts +3 -3
  537. package/src/browser/user-interaction-tool.ts +2 -2
  538. package/src/browser/workspace-functions.spec.ts +16 -7
  539. package/src/browser/workspace-functions.ts +7 -6
  540. package/src/browser/workspace-launch-provider.spec.ts +2 -2
  541. package/src/browser/workspace-launch-provider.ts +2 -2
  542. package/src/browser/workspace-search-provider.spec.ts +2 -2
  543. package/src/browser/workspace-search-provider.ts +4 -4
  544. package/src/browser/workspace-task-provider.spec.ts +2 -2
  545. package/src/browser/workspace-task-provider.ts +2 -2
  546. package/src/common/agents-md-prompt-template.ts +4 -4
  547. package/src/common/coder-replace-prompt-template.ts +8 -8
  548. package/src/common/command-chat-agents.ts +1 -1
  549. package/src/common/context-files-variable.ts +1 -1
  550. package/src/common/create-skill-prompt-template.ts +4 -4
  551. package/src/common/orchestrator-chat-agent.ts +2 -2
  552. package/src/common/universal-chat-agent.ts +1 -1
  553. package/src/common/universal-prompt-template.ts +1 -1
  554. package/src/common/user-interaction-tool.spec.ts +1 -1
  555. package/src/common/workspace-search-provider-util.spec.ts +1 -1
  556. package/src/node/app-tester-agent/browser-automation-impl.ts +1 -1
  557. package/src/node/backend-module.ts +7 -7
  558. package/src/node/github-repo-service-impl.ts +1 -1
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2024 EclipseSource GmbH.
4
3
  //
@@ -14,320 +13,319 @@
14
13
  //
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- require("../../src/browser/style/index.css");
19
- const inversify_1 = require("@theia/core/shared/inversify");
20
- const common_1 = require("@theia/ai-chat/lib/common");
21
- const common_2 = require("@theia/ai-core/lib/common");
22
- const architect_agent_1 = require("./architect-agent");
23
- const coder_agent_1 = require("./coder-agent");
24
- const summarize_session_command_contribution_1 = require("./summarize-session-command-contribution");
25
- const workspace_functions_1 = require("./workspace-functions");
26
- const workspace_search_provider_1 = require("./workspace-search-provider");
27
- const memory_directory_variable_contribution_1 = require("./memory-directory-variable-contribution");
28
- const browser_1 = require("@theia/core/lib/browser");
29
- const workspace_task_provider_1 = require("./workspace-task-provider");
30
- const workspace_launch_provider_1 = require("./workspace-launch-provider");
31
- const workspace_preferences_1 = require("../common/workspace-preferences");
32
- const file_changeset_functions_1 = require("./file-changeset-functions");
33
- const orchestrator_chat_agent_1 = require("../common/orchestrator-chat-agent");
34
- const universal_chat_agent_1 = require("../common/universal-chat-agent");
35
- const app_tester_chat_agent_1 = require("./app-tester-chat-agent");
36
- const github_chat_agent_1 = require("./github-chat-agent");
37
- const command_chat_agents_1 = require("../common/command-chat-agents");
38
- const context_functions_1 = require("./context-functions");
39
- const agents_configuration_category_1 = require("./ai-configuration/categories/agents-configuration-category");
40
- const general_configuration_category_1 = require("./ai-configuration/categories/general-configuration-category");
41
- const models_configuration_category_1 = require("./ai-configuration/categories/models-configuration-category");
42
- const model_aliases_configuration_category_1 = require("./ai-configuration/categories/model-aliases-configuration-category");
43
- const variables_configuration_category_1 = require("./ai-configuration/categories/variables-configuration-category");
44
- const token_usage_configuration_category_1 = require("./ai-configuration/categories/token-usage-configuration-category");
45
- const tools_configuration_category_1 = require("./ai-configuration/categories/tools-configuration-category");
46
- const prompts_and_skills_configuration_category_1 = require("./ai-configuration/categories/prompts-and-skills-configuration-category");
47
- const prompt_snippets_configuration_category_1 = require("./ai-configuration/categories/prompt-snippets-configuration-category");
48
- const ai_configuration_open_preference_renderer_1 = require("./ai-configuration/ai-configuration-open-preference-renderer");
49
- const preference_node_renderer_creator_1 = require("@theia/preferences/lib/browser/views/components/preference-node-renderer-creator");
50
- const ai_configuration_breadcrumbs_contribution_1 = require("./ai-configuration/ai-configuration-breadcrumbs-contribution");
51
- const breadcrumbs_constants_1 = require("@theia/core/lib/browser/breadcrumbs/breadcrumbs-constants");
52
- const ai_configuration_label_provider_contribution_1 = require("./ai-configuration/ai-configuration-label-provider-contribution");
53
- const label_provider_1 = require("@theia/core/lib/browser/label-provider");
54
- const ai_configuration_category_1 = require("@theia/ai-core-ui/lib/browser/ai-configuration/ai-configuration-category");
55
- const ai_configuration_service_1 = require("./ai-configuration/ai-configuration-service");
56
- const ai_configuration_view_contribution_1 = require("./ai-configuration/ai-configuration-view-contribution");
57
- const ai_configuration_widget_1 = require("./ai-configuration/ai-configuration-widget");
58
- const ai_configuration_detail_widget_1 = require("./ai-configuration/ai-configuration-detail-widget");
59
- const ai_configuration_tree_widget_1 = require("./ai-configuration/ai-configuration-tree-widget");
60
- const ai_configuration_search_widget_1 = require("./ai-configuration/ai-configuration-search-widget");
61
- const context_files_variable_1 = require("../common/context-files-variable");
62
- const tab_bar_toolbar_1 = require("@theia/core/lib/browser/shell/tab-bar-toolbar");
63
- const template_preference_contribution_1 = require("./template-preference-contribution");
64
- const chat_tree_view_1 = require("@theia/ai-chat-ui/lib/browser/chat-tree-view");
65
- const walkthrough_provider_1 = require("@theia/getting-started/lib/common/walkthrough-provider");
66
- const ide_chat_welcome_message_provider_1 = require("./ide-chat-welcome-message-provider");
67
- const ai_getting_started_walkthrough_1 = require("./ai-getting-started-walkthrough");
68
- const ai_getting_started_contribution_1 = require("./ai-getting-started-contribution");
69
- const ai_walkthrough_context_keys_1 = require("./ai-walkthrough-context-keys");
70
- const chat_sessions_welcome_message_provider_1 = require("./chat-sessions-welcome-message-provider");
71
- const chat_session_item_action_contribution_1 = require("./chat-session-item-action-contribution");
72
- const ai_allow_all_mode_chat_banner_1 = require("./ai-allow-all-mode-chat-banner");
73
- const chat_banner_provider_1 = require("@theia/ai-chat-ui/lib/browser/chat-banner-provider");
74
- const default_chat_agent_recommendation_service_1 = require("./default-chat-agent-recommendation-service");
75
- const task_background_summary_variable_1 = require("./task-background-summary-variable");
76
- const github_repo_variable_contribution_1 = require("./github-repo-variable-contribution");
77
- const task_context_file_storage_service_1 = require("./task-context-file-storage-service");
78
- const task_context_service_1 = require("@theia/ai-chat/lib/browser/task-context-service");
79
- const core_1 = require("@theia/core");
80
- const browser_automation_protocol_1 = require("../common/browser-automation-protocol");
81
- const github_repo_protocol_1 = require("../common/github-repo-protocol");
82
- const app_tester_chat_functions_1 = require("./app-tester-chat-functions");
83
- const skill_file_functions_1 = require("./skill-file-functions");
84
- const ai_ide_preferences_1 = require("../common/ai-ide-preferences");
85
- const browser_2 = require("@theia/ai-core/lib/browser");
86
- const ai_ide_activation_service_1 = require("./ai-ide-activation-service");
87
- const ai_configuration_preferences_1 = require("../common/ai-configuration-preferences");
88
- const workspace_trust_service_1 = require("@theia/workspace/lib/browser/workspace-trust-service");
89
- const ai_workspace_restriction_contribution_1 = require("./ai-workspace-restriction-contribution");
90
- const agents_md_agent_1 = require("./agents-md-agent");
91
- const create_skill_agent_1 = require("./create-skill-agent");
92
- const ai_terminal_functions_1 = require("./ai-terminal-functions");
93
- const todo_tool_1 = require("./todo-tool");
94
- const todo_tool_renderer_1 = require("./todo-tool-renderer");
95
- const user_interaction_tool_1 = require("./user-interaction-tool");
96
- const user_interaction_tool_renderer_1 = require("./user-interaction-tool-renderer");
97
- const chat_response_part_renderer_1 = require("@theia/ai-chat-ui/lib/browser/chat-response-part-renderer");
98
- const context_file_validation_service_1 = require("@theia/ai-chat/lib/browser/context-file-validation-service");
99
- const context_file_validation_service_impl_1 = require("./context-file-validation-service-impl");
100
- const remember_command_contribution_1 = require("./remember-command-contribution");
101
- const task_context_functions_1 = require("./task-context-functions");
102
- const implement_gh_ticket_command_contribution_1 = require("./implement-gh-ticket-command-contribution");
103
- const analyze_gh_ticket_command_contribution_1 = require("./analyze-gh-ticket-command-contribution");
104
- const address_pr_review_command_contribution_1 = require("./address-pr-review-command-contribution");
105
- const apptester_capability_contribution_1 = require("./apptester-capability-contribution");
106
- const github_capability_contribution_1 = require("./github-capability-contribution");
107
- const shell_execution_capability_contribution_1 = require("./shell-execution-capability-contribution");
108
- const memory_capability_contribution_1 = require("./memory-capability-contribution");
109
- const open_editors_hint_contribution_1 = require("./open-editors-hint-contribution");
110
- const agent_mode_confirmation_service_1 = require("./agent-mode-confirmation-service");
111
- const explore_agent_1 = require("./explore-agent");
112
- const code_reviewer_agent_1 = require("./code-reviewer-agent");
113
- const code_review_capability_contribution_1 = require("./code-review-capability-contribution");
114
- const pr_review_agent_1 = require("./review/pr-review-agent");
115
- const pr_review_capability_contribution_1 = require("./review/pr-review-capability-contribution");
116
- const perspective_service_1 = require("@theia/core/lib/browser/perspective-service");
117
- const ai_first_perspective_contribution_1 = require("./ai-first-perspective-contribution");
118
- const chat_session_list_service_1 = require("./chat-session-list-service");
119
- const ai_sessions_widget_1 = require("./ai-sessions-widget");
120
- const ai_sessions_view_contribution_1 = require("./ai-sessions-view-contribution");
121
- const commit_message_agent_1 = require("./commit-message-agent");
122
- const commit_message_runner_1 = require("./commit-message-runner");
123
- const commit_message_command_contribution_1 = require("./commit-message-command-contribution");
124
- const git_changes_tool_1 = require("./git-changes-tool");
125
- const ai_aware_scm_commit_widget_1 = require("./ai-aware-scm-commit-widget");
126
- const scm_commit_widget_1 = require("@theia/scm/lib/browser/scm-commit-widget");
127
- exports.default = new inversify_1.ContainerModule((bind, _unbind, _isBound, rebind) => {
128
- bind(core_1.PreferenceContribution).toConstantValue({ schema: ai_ide_preferences_1.aiIdePreferenceSchema });
129
- bind(core_1.PreferenceContribution).toConstantValue({ schema: workspace_preferences_1.WorkspacePreferencesSchema });
130
- bind(agent_mode_confirmation_service_1.AgentModeConfirmationServiceImpl).toSelf().inSingletonScope();
131
- bind(agent_mode_confirmation_service_1.AgentModeConfirmationService).toService(agent_mode_confirmation_service_1.AgentModeConfirmationServiceImpl);
132
- bind(ai_ide_activation_service_1.AIIdeActivationServiceImpl).toSelf().inSingletonScope();
16
+ import '../../src/browser/style/index.css';
17
+ import { ContainerModule } from '@theia/core/shared/inversify';
18
+ import { ChatAgent, ChatAgentRecommendationService } from '@theia/ai-chat/lib/common';
19
+ import { Agent, AIVariableContribution, bindToolProvider } from '@theia/ai-core/lib/common';
20
+ import { ArchitectAgent } from './architect-agent.js';
21
+ import { CoderAgent } from './coder-agent.js';
22
+ import { SummarizeSessionCommandContribution } from './summarize-session-command-contribution.js';
23
+ import { AccessibleRootContribution, FileContentFunction, FileDiagnosticProvider, FindFilesByPattern, GetWorkspaceDirectoryStructure, GetWorkspaceFileList, WorkspaceFunctionScope } from './workspace-functions.js';
24
+ import { WorkspaceSearchProvider } from './workspace-search-provider.js';
25
+ import { MemoryDirectoryVariableContribution } from './memory-directory-variable-contribution.js';
26
+ import { FrontendApplicationContribution, WidgetFactory, bindViewContribution, RemoteConnectionProvider } from '@theia/core/lib/browser';
27
+ import { TaskListProvider, TaskRunnerProvider } from './workspace-task-provider.js';
28
+ import { LaunchListProvider, LaunchRunnerProvider, LaunchStopProvider, } from './workspace-launch-provider.js';
29
+ import { WorkspacePreferencesSchema } from '../common/workspace-preferences.js';
30
+ import { ClearFileChanges, GetProposedFileState, ReplaceContentInFileFunctionHelper, SuggestFileReplacements, SuggestFileReplacements_Simple, SimpleSuggestFileReplacements, SuggestFileContent, WriteFileContent, WriteFileReplacements, WriteFileReplacements_Simple, SimpleWriteFileReplacements, FileChangeSetTitleProvider, DefaultFileChangeSetTitleProvider, ReplaceContentInFileFunctionHelperV2 } from './file-changeset-functions.js';
31
+ import { OrchestratorChatAgent } from '../common/orchestrator-chat-agent.js';
32
+ import { UniversalChatAgent } from '../common/universal-chat-agent.js';
33
+ import { AppTesterChatAgent } from './app-tester-chat-agent.js';
34
+ import { GitHubChatAgent } from './github-chat-agent.js';
35
+ import { CommandChatAgent } from '../common/command-chat-agents.js';
36
+ import { ListChatContext, ResolveChatContext, AddFileToChatContext } from './context-functions.js';
37
+ import { AgentsConfigurationCategory } from './ai-configuration/categories/agents-configuration-category.js';
38
+ import { GeneralConfigurationCategory } from './ai-configuration/categories/general-configuration-category.js';
39
+ import { ModelsConfigurationCategory } from './ai-configuration/categories/models-configuration-category.js';
40
+ import { ModelAliasesConfigurationCategory } from './ai-configuration/categories/model-aliases-configuration-category.js';
41
+ import { VariablesConfigurationCategory } from './ai-configuration/categories/variables-configuration-category.js';
42
+ import { TokenUsageConfigurationCategory } from './ai-configuration/categories/token-usage-configuration-category.js';
43
+ import { ToolsConfigurationCategory } from './ai-configuration/categories/tools-configuration-category.js';
44
+ import { PromptsAndSkillsConfigurationCategory } from './ai-configuration/categories/prompts-and-skills-configuration-category.js';
45
+ import { PromptSnippetsConfigurationCategory } from './ai-configuration/categories/prompt-snippets-configuration-category.js';
46
+ import { AiConfigurationOpenPreferenceRenderer, AiConfigurationOpenPreferenceRendererContribution } from './ai-configuration/ai-configuration-open-preference-renderer.js';
47
+ import { PreferenceNodeRendererContribution } from '@theia/preferences/lib/browser/views/components/preference-node-renderer-creator';
48
+ import { AiConfigurationBreadcrumbsContribution } from './ai-configuration/ai-configuration-breadcrumbs-contribution.js';
49
+ import { BreadcrumbsContribution } from '@theia/core/lib/browser/breadcrumbs/breadcrumbs-constants';
50
+ import { AiConfigurationLabelProviderContribution } from './ai-configuration/ai-configuration-label-provider-contribution.js';
51
+ import { LabelProviderContribution } from '@theia/core/lib/browser/label-provider';
52
+ import { AiConfigurationCategory } from '@theia/ai-core-ui/lib/browser/ai-configuration/ai-configuration-category';
53
+ import { AIConfigurationSelectionService } from './ai-configuration/ai-configuration-service.js';
54
+ import { AIConfigurationViewContribution } from './ai-configuration/ai-configuration-view-contribution.js';
55
+ import { AIConfigurationContainerWidget } from './ai-configuration/ai-configuration-widget.js';
56
+ import { AiConfigurationDetailWidget } from './ai-configuration/ai-configuration-detail-widget.js';
57
+ import { AiConfigurationTreeWidget, createAiConfigurationTreeContainer } from './ai-configuration/ai-configuration-tree-widget.js';
58
+ import { AiConfigurationSearchWidget } from './ai-configuration/ai-configuration-search-widget.js';
59
+ import { ContextFilesVariableContribution } from '../common/context-files-variable.js';
60
+ import { TabBarToolbarContribution } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
61
+ import { TemplatePreferenceContribution } from './template-preference-contribution.js';
62
+ import { ChatWelcomeMessageProvider } from '@theia/ai-chat-ui/lib/browser/chat-tree-view';
63
+ import { WalkthroughProvider } from '@theia/getting-started/lib/common/walkthrough-provider';
64
+ import { IdeChatWelcomeMessageProvider } from './ide-chat-welcome-message-provider.js';
65
+ import { AiGettingStartedWalkthroughProvider } from './ai-getting-started-walkthrough.js';
66
+ import { AiGettingStartedContribution } from './ai-getting-started-contribution.js';
67
+ import { AiWalkthroughContextKeys } from './ai-walkthrough-context-keys.js';
68
+ import { ChatSessionsWelcomeMessageProvider } from './chat-sessions-welcome-message-provider.js';
69
+ import { ChatSessionItemActionContribution, DefaultChatSessionItemActionContribution } from './chat-session-item-action-contribution.js';
70
+ import { AiAllowAllModeChatBanner } from './ai-allow-all-mode-chat-banner.js';
71
+ import { ChatBannerProvider } from '@theia/ai-chat-ui/lib/browser/chat-banner-provider';
72
+ import { DefaultChatAgentRecommendationService } from './default-chat-agent-recommendation-service.js';
73
+ import { TaskContextSummaryVariableContribution } from './task-background-summary-variable.js';
74
+ import { GitHubRepoVariableContribution } from './github-repo-variable-contribution.js';
75
+ import { TaskContextFileStorageService } from './task-context-file-storage-service.js';
76
+ import { TaskContextStorageService } from '@theia/ai-chat/lib/browser/task-context-service';
77
+ import { bindRootContributionProvider, CommandContribution, PreferenceContribution } from '@theia/core';
78
+ import { BrowserAutomation, browserAutomationPath } from '../common/browser-automation-protocol.js';
79
+ import { GitHubRepoService, githubRepoServicePath } from '../common/github-repo-protocol.js';
80
+ import { CloseBrowserProvider, IsBrowserRunningProvider, LaunchBrowserProvider, QueryDomProvider } from './app-tester-chat-functions.js';
81
+ import { GetSkillFileContent, ListSkills } from './skill-file-functions.js';
82
+ import { aiIdePreferenceSchema } from '../common/ai-ide-preferences.js';
83
+ import { AIActivationService } from '@theia/ai-core/lib/browser';
84
+ import { AIIdeActivationServiceImpl } from './ai-ide-activation-service.js';
85
+ import { AiConfigurationPreferences } from '../common/ai-configuration-preferences.js';
86
+ import { WorkspaceRestrictionContribution } from '@theia/workspace/lib/browser/workspace-trust-service';
87
+ import { AIWorkspaceRestrictionContribution } from './ai-workspace-restriction-contribution.js';
88
+ import { AgentsMdAgent } from './agents-md-agent.js';
89
+ import { CreateSkillAgent } from './create-skill-agent.js';
90
+ import { SuggestTerminalCommand } from './ai-terminal-functions.js';
91
+ import { TodoWriteTool } from './todo-tool.js';
92
+ import { TodoToolRenderer } from './todo-tool-renderer.js';
93
+ import { UserInteractionTool } from './user-interaction-tool.js';
94
+ import { UserInteractionToolRenderer } from './user-interaction-tool-renderer.js';
95
+ import { ChatResponsePartRenderer } from '@theia/ai-chat-ui/lib/browser/chat-response-part-renderer';
96
+ import { ContextFileValidationService } from '@theia/ai-chat/lib/browser/context-file-validation-service';
97
+ import { ContextFileValidationServiceImpl } from './context-file-validation-service-impl.js';
98
+ import { RememberCommandContribution } from './remember-command-contribution.js';
99
+ import { CreateTaskContextFunction, GetTaskContextFunction, EditTaskContextFunction, ListTaskContextsFunction, RewriteTaskContextFunction } from './task-context-functions.js';
100
+ import { FixGitHubTicketCommandContribution } from './implement-gh-ticket-command-contribution.js';
101
+ import { AnalyzesGhTicketCommandContribution } from './analyze-gh-ticket-command-contribution.js';
102
+ import { AddressGhReviewCommandContribution } from './address-pr-review-command-contribution.js';
103
+ import { AppTesterCapabilityContribution } from './apptester-capability-contribution.js';
104
+ import { GitHubCapabilityContribution } from './github-capability-contribution.js';
105
+ import { ShellExecutionCapabilityContribution } from './shell-execution-capability-contribution.js';
106
+ import { MemoryCapabilityContribution } from './memory-capability-contribution.js';
107
+ import { OpenEditorsHintContribution } from './open-editors-hint-contribution.js';
108
+ import { AgentModeConfirmationService, AgentModeConfirmationServiceImpl } from './agent-mode-confirmation-service.js';
109
+ import { ExploreAgent } from './explore-agent.js';
110
+ import { CodeReviewerAgent } from './code-reviewer-agent.js';
111
+ import { CodeReviewCapabilityContribution } from './code-review-capability-contribution.js';
112
+ import { PRReviewAgent } from './review/pr-review-agent.js';
113
+ import { PRReviewCapabilityContribution } from './review/pr-review-capability-contribution.js';
114
+ import { PerspectiveContribution } from '@theia/core/lib/browser/perspective-service';
115
+ import { AIFirstPerspectiveContribution } from './ai-first-perspective-contribution.js';
116
+ import { ChatSessionListService } from './chat-session-list-service.js';
117
+ import { AISessionsWidget } from './ai-sessions-widget.js';
118
+ import { AISessionsViewContribution } from './ai-sessions-view-contribution.js';
119
+ import { CommitMessageAgent } from './commit-message-agent.js';
120
+ import { CommitMessageRunner } from './commit-message-runner.js';
121
+ import { CommitMessageCommandContribution } from './commit-message-command-contribution.js';
122
+ import { GetGitChangesTool } from './git-changes-tool.js';
123
+ import { AiAwareScmCommitWidget } from './ai-aware-scm-commit-widget.js';
124
+ import { ScmCommitWidget } from '@theia/scm/lib/browser/scm-commit-widget';
125
+ export default new ContainerModule((bind, _unbind, _isBound, rebind) => {
126
+ bind(PreferenceContribution).toConstantValue({ schema: aiIdePreferenceSchema });
127
+ bind(PreferenceContribution).toConstantValue({ schema: WorkspacePreferencesSchema });
128
+ bind(AgentModeConfirmationServiceImpl).toSelf().inSingletonScope();
129
+ bind(AgentModeConfirmationService).toService(AgentModeConfirmationServiceImpl);
130
+ bind(AIIdeActivationServiceImpl).toSelf().inSingletonScope();
133
131
  // rebinds the default implementation of '@theia/ai-core'
134
- rebind(browser_2.AIActivationService).toService(ai_ide_activation_service_1.AIIdeActivationServiceImpl);
135
- bind(ai_workspace_restriction_contribution_1.AIWorkspaceRestrictionContribution).toSelf().inSingletonScope();
136
- bind(workspace_trust_service_1.WorkspaceRestrictionContribution).toService(ai_workspace_restriction_contribution_1.AIWorkspaceRestrictionContribution);
137
- bind(architect_agent_1.ArchitectAgent).toSelf().inSingletonScope();
138
- bind(common_2.Agent).toService(architect_agent_1.ArchitectAgent);
139
- bind(common_1.ChatAgent).toService(architect_agent_1.ArchitectAgent);
140
- bind(coder_agent_1.CoderAgent).toSelf().inSingletonScope();
141
- bind(common_2.Agent).toService(coder_agent_1.CoderAgent);
142
- bind(common_1.ChatAgent).toService(coder_agent_1.CoderAgent);
143
- bind(agents_md_agent_1.AgentsMdAgent).toSelf().inSingletonScope();
144
- bind(common_2.Agent).toService(agents_md_agent_1.AgentsMdAgent);
145
- bind(common_1.ChatAgent).toService(agents_md_agent_1.AgentsMdAgent);
146
- bind(create_skill_agent_1.CreateSkillAgent).toSelf().inSingletonScope();
147
- bind(common_2.Agent).toService(create_skill_agent_1.CreateSkillAgent);
148
- bind(common_1.ChatAgent).toService(create_skill_agent_1.CreateSkillAgent);
149
- bind(orchestrator_chat_agent_1.OrchestratorChatAgent).toSelf().inSingletonScope();
150
- bind(common_2.Agent).toService(orchestrator_chat_agent_1.OrchestratorChatAgent);
151
- bind(common_1.ChatAgent).toService(orchestrator_chat_agent_1.OrchestratorChatAgent);
152
- bind(universal_chat_agent_1.UniversalChatAgent).toSelf().inSingletonScope();
153
- bind(common_2.Agent).toService(universal_chat_agent_1.UniversalChatAgent);
154
- bind(common_1.ChatAgent).toService(universal_chat_agent_1.UniversalChatAgent);
155
- bind(app_tester_chat_agent_1.AppTesterChatAgent).toSelf().inSingletonScope();
156
- bind(common_2.Agent).toService(app_tester_chat_agent_1.AppTesterChatAgent);
157
- bind(common_1.ChatAgent).toService(app_tester_chat_agent_1.AppTesterChatAgent);
158
- bind(github_chat_agent_1.GitHubChatAgent).toSelf().inSingletonScope();
159
- bind(common_2.Agent).toService(github_chat_agent_1.GitHubChatAgent);
160
- bind(common_1.ChatAgent).toService(github_chat_agent_1.GitHubChatAgent);
161
- bind(browser_automation_protocol_1.BrowserAutomation).toDynamicValue(ctx => {
162
- const provider = ctx.container.get(browser_1.RemoteConnectionProvider);
163
- return provider.createProxy(browser_automation_protocol_1.browserAutomationPath);
132
+ rebind(AIActivationService).toService(AIIdeActivationServiceImpl);
133
+ bind(AIWorkspaceRestrictionContribution).toSelf().inSingletonScope();
134
+ bind(WorkspaceRestrictionContribution).toService(AIWorkspaceRestrictionContribution);
135
+ bind(ArchitectAgent).toSelf().inSingletonScope();
136
+ bind(Agent).toService(ArchitectAgent);
137
+ bind(ChatAgent).toService(ArchitectAgent);
138
+ bind(CoderAgent).toSelf().inSingletonScope();
139
+ bind(Agent).toService(CoderAgent);
140
+ bind(ChatAgent).toService(CoderAgent);
141
+ bind(AgentsMdAgent).toSelf().inSingletonScope();
142
+ bind(Agent).toService(AgentsMdAgent);
143
+ bind(ChatAgent).toService(AgentsMdAgent);
144
+ bind(CreateSkillAgent).toSelf().inSingletonScope();
145
+ bind(Agent).toService(CreateSkillAgent);
146
+ bind(ChatAgent).toService(CreateSkillAgent);
147
+ bind(OrchestratorChatAgent).toSelf().inSingletonScope();
148
+ bind(Agent).toService(OrchestratorChatAgent);
149
+ bind(ChatAgent).toService(OrchestratorChatAgent);
150
+ bind(UniversalChatAgent).toSelf().inSingletonScope();
151
+ bind(Agent).toService(UniversalChatAgent);
152
+ bind(ChatAgent).toService(UniversalChatAgent);
153
+ bind(AppTesterChatAgent).toSelf().inSingletonScope();
154
+ bind(Agent).toService(AppTesterChatAgent);
155
+ bind(ChatAgent).toService(AppTesterChatAgent);
156
+ bind(GitHubChatAgent).toSelf().inSingletonScope();
157
+ bind(Agent).toService(GitHubChatAgent);
158
+ bind(ChatAgent).toService(GitHubChatAgent);
159
+ bind(BrowserAutomation).toDynamicValue(ctx => {
160
+ const provider = ctx.container.get(RemoteConnectionProvider);
161
+ return provider.createProxy(browserAutomationPath);
164
162
  }).inSingletonScope();
165
- bind(command_chat_agents_1.CommandChatAgent).toSelf().inSingletonScope();
166
- bind(common_2.Agent).toService(command_chat_agents_1.CommandChatAgent);
167
- bind(common_1.ChatAgent).toService(command_chat_agents_1.CommandChatAgent);
168
- bind(explore_agent_1.ExploreAgent).toSelf().inSingletonScope();
169
- bind(common_2.Agent).toService(explore_agent_1.ExploreAgent);
170
- bind(common_1.ChatAgent).toService(explore_agent_1.ExploreAgent);
171
- bind(code_reviewer_agent_1.CodeReviewerAgent).toSelf().inSingletonScope();
172
- bind(common_2.Agent).toService(code_reviewer_agent_1.CodeReviewerAgent);
173
- bind(common_1.ChatAgent).toService(code_reviewer_agent_1.CodeReviewerAgent);
174
- bind(pr_review_agent_1.PRReviewAgent).toSelf().inSingletonScope();
175
- bind(common_2.Agent).toService(pr_review_agent_1.PRReviewAgent);
176
- bind(common_1.ChatAgent).toService(pr_review_agent_1.PRReviewAgent);
177
- bind(chat_session_list_service_1.ChatSessionListService).toSelf().inSingletonScope();
178
- bind(walkthrough_provider_1.WalkthroughProvider).to(ai_getting_started_walkthrough_1.AiGettingStartedWalkthroughProvider).inSingletonScope();
179
- bind(core_1.CommandContribution).to(ai_getting_started_contribution_1.AiGettingStartedContribution).inSingletonScope();
180
- bind(ai_walkthrough_context_keys_1.AiWalkthroughContextKeys).toSelf().inSingletonScope();
181
- bind(browser_1.FrontendApplicationContribution).toService(ai_walkthrough_context_keys_1.AiWalkthroughContextKeys);
182
- bind(chat_tree_view_1.ChatWelcomeMessageProvider).to(ide_chat_welcome_message_provider_1.IdeChatWelcomeMessageProvider).inSingletonScope();
183
- bind(chat_tree_view_1.ChatWelcomeMessageProvider).to(chat_sessions_welcome_message_provider_1.ChatSessionsWelcomeMessageProvider).inSingletonScope();
184
- bind(chat_banner_provider_1.ChatBannerProvider).to(ai_allow_all_mode_chat_banner_1.AiAllowAllModeChatBanner).inSingletonScope();
185
- (0, core_1.bindRootContributionProvider)(bind, chat_session_item_action_contribution_1.ChatSessionItemActionContribution);
186
- bind(chat_session_item_action_contribution_1.DefaultChatSessionItemActionContribution).toSelf().inSingletonScope();
187
- bind(chat_session_item_action_contribution_1.ChatSessionItemActionContribution).toService(chat_session_item_action_contribution_1.DefaultChatSessionItemActionContribution);
188
- bind(common_1.ChatAgentRecommendationService).to(default_chat_agent_recommendation_service_1.DefaultChatAgentRecommendationService).inSingletonScope();
189
- (0, common_2.bindToolProvider)(workspace_functions_1.GetWorkspaceFileList, bind);
190
- (0, common_2.bindToolProvider)(workspace_functions_1.FileContentFunction, bind);
191
- (0, common_2.bindToolProvider)(workspace_functions_1.GetWorkspaceDirectoryStructure, bind);
192
- (0, common_2.bindToolProvider)(workspace_functions_1.FileDiagnosticProvider, bind);
193
- (0, common_2.bindToolProvider)(workspace_functions_1.FindFilesByPattern, bind);
194
- (0, common_2.bindToolProvider)(skill_file_functions_1.GetSkillFileContent, bind);
195
- (0, common_2.bindToolProvider)(skill_file_functions_1.ListSkills, bind);
196
- bind(workspace_functions_1.WorkspaceFunctionScope).toSelf().inSingletonScope();
197
- (0, common_2.bindToolProvider)(workspace_search_provider_1.WorkspaceSearchProvider, bind);
198
- (0, core_1.bindRootContributionProvider)(bind, workspace_functions_1.AccessibleRootContribution);
199
- bind(memory_directory_variable_contribution_1.MemoryDirectoryVariableContribution).toSelf().inSingletonScope();
200
- bind(common_2.AIVariableContribution).toService(memory_directory_variable_contribution_1.MemoryDirectoryVariableContribution);
201
- bind(workspace_functions_1.AccessibleRootContribution).toService(memory_directory_variable_contribution_1.MemoryDirectoryVariableContribution);
202
- (0, common_2.bindToolProvider)(file_changeset_functions_1.SuggestFileContent, bind);
203
- (0, common_2.bindToolProvider)(file_changeset_functions_1.WriteFileContent, bind);
204
- (0, common_2.bindToolProvider)(workspace_task_provider_1.TaskListProvider, bind);
205
- (0, common_2.bindToolProvider)(workspace_task_provider_1.TaskRunnerProvider, bind);
206
- (0, common_2.bindToolProvider)(workspace_launch_provider_1.LaunchListProvider, bind);
207
- (0, common_2.bindToolProvider)(workspace_launch_provider_1.LaunchRunnerProvider, bind);
208
- (0, common_2.bindToolProvider)(workspace_launch_provider_1.LaunchStopProvider, bind);
209
- bind(file_changeset_functions_1.ReplaceContentInFileFunctionHelper).toSelf().inSingletonScope();
210
- bind(file_changeset_functions_1.FileChangeSetTitleProvider).to(file_changeset_functions_1.DefaultFileChangeSetTitleProvider).inSingletonScope();
211
- bind(file_changeset_functions_1.ReplaceContentInFileFunctionHelperV2).toSelf().inSingletonScope();
212
- (0, common_2.bindToolProvider)(file_changeset_functions_1.SuggestFileReplacements, bind);
213
- (0, common_2.bindToolProvider)(file_changeset_functions_1.SuggestFileReplacements_Simple, bind);
214
- (0, common_2.bindToolProvider)(file_changeset_functions_1.WriteFileReplacements, bind);
215
- (0, common_2.bindToolProvider)(file_changeset_functions_1.WriteFileReplacements_Simple, bind);
216
- (0, common_2.bindToolProvider)(context_functions_1.ListChatContext, bind);
217
- (0, common_2.bindToolProvider)(context_functions_1.ResolveChatContext, bind);
218
- bind(ai_configuration_service_1.AIConfigurationSelectionService).toSelf().inSingletonScope();
163
+ bind(CommandChatAgent).toSelf().inSingletonScope();
164
+ bind(Agent).toService(CommandChatAgent);
165
+ bind(ChatAgent).toService(CommandChatAgent);
166
+ bind(ExploreAgent).toSelf().inSingletonScope();
167
+ bind(Agent).toService(ExploreAgent);
168
+ bind(ChatAgent).toService(ExploreAgent);
169
+ bind(CodeReviewerAgent).toSelf().inSingletonScope();
170
+ bind(Agent).toService(CodeReviewerAgent);
171
+ bind(ChatAgent).toService(CodeReviewerAgent);
172
+ bind(PRReviewAgent).toSelf().inSingletonScope();
173
+ bind(Agent).toService(PRReviewAgent);
174
+ bind(ChatAgent).toService(PRReviewAgent);
175
+ bind(ChatSessionListService).toSelf().inSingletonScope();
176
+ bind(WalkthroughProvider).to(AiGettingStartedWalkthroughProvider).inSingletonScope();
177
+ bind(CommandContribution).to(AiGettingStartedContribution).inSingletonScope();
178
+ bind(AiWalkthroughContextKeys).toSelf().inSingletonScope();
179
+ bind(FrontendApplicationContribution).toService(AiWalkthroughContextKeys);
180
+ bind(ChatWelcomeMessageProvider).to(IdeChatWelcomeMessageProvider).inSingletonScope();
181
+ bind(ChatWelcomeMessageProvider).to(ChatSessionsWelcomeMessageProvider).inSingletonScope();
182
+ bind(ChatBannerProvider).to(AiAllowAllModeChatBanner).inSingletonScope();
183
+ bindRootContributionProvider(bind, ChatSessionItemActionContribution);
184
+ bind(DefaultChatSessionItemActionContribution).toSelf().inSingletonScope();
185
+ bind(ChatSessionItemActionContribution).toService(DefaultChatSessionItemActionContribution);
186
+ bind(ChatAgentRecommendationService).to(DefaultChatAgentRecommendationService).inSingletonScope();
187
+ bindToolProvider(GetWorkspaceFileList, bind);
188
+ bindToolProvider(FileContentFunction, bind);
189
+ bindToolProvider(GetWorkspaceDirectoryStructure, bind);
190
+ bindToolProvider(FileDiagnosticProvider, bind);
191
+ bindToolProvider(FindFilesByPattern, bind);
192
+ bindToolProvider(GetSkillFileContent, bind);
193
+ bindToolProvider(ListSkills, bind);
194
+ bind(WorkspaceFunctionScope).toSelf().inSingletonScope();
195
+ bindToolProvider(WorkspaceSearchProvider, bind);
196
+ bindRootContributionProvider(bind, AccessibleRootContribution);
197
+ bind(MemoryDirectoryVariableContribution).toSelf().inSingletonScope();
198
+ bind(AIVariableContribution).toService(MemoryDirectoryVariableContribution);
199
+ bind(AccessibleRootContribution).toService(MemoryDirectoryVariableContribution);
200
+ bindToolProvider(SuggestFileContent, bind);
201
+ bindToolProvider(WriteFileContent, bind);
202
+ bindToolProvider(TaskListProvider, bind);
203
+ bindToolProvider(TaskRunnerProvider, bind);
204
+ bindToolProvider(LaunchListProvider, bind);
205
+ bindToolProvider(LaunchRunnerProvider, bind);
206
+ bindToolProvider(LaunchStopProvider, bind);
207
+ bind(ReplaceContentInFileFunctionHelper).toSelf().inSingletonScope();
208
+ bind(FileChangeSetTitleProvider).to(DefaultFileChangeSetTitleProvider).inSingletonScope();
209
+ bind(ReplaceContentInFileFunctionHelperV2).toSelf().inSingletonScope();
210
+ bindToolProvider(SuggestFileReplacements, bind);
211
+ bindToolProvider(SuggestFileReplacements_Simple, bind);
212
+ bindToolProvider(WriteFileReplacements, bind);
213
+ bindToolProvider(WriteFileReplacements_Simple, bind);
214
+ bindToolProvider(ListChatContext, bind);
215
+ bindToolProvider(ResolveChatContext, bind);
216
+ bind(AIConfigurationSelectionService).toSelf().inSingletonScope();
219
217
  // The container widget owns these children and disposes them when the view is closed. They must
220
218
  // therefore be transient: a reopened container gets fresh children instead of injecting the
221
219
  // already-disposed singletons from the previous instance (which rendered an empty view and logged
222
220
  // "node does not belong to this tree" errors on layout restore).
223
- bind(ai_configuration_search_widget_1.AiConfigurationSearchWidget).toSelf();
224
- bind(ai_configuration_detail_widget_1.AiConfigurationDetailWidget).toSelf();
225
- bind(ai_configuration_tree_widget_1.AiConfigurationTreeWidget)
226
- .toDynamicValue(({ container }) => (0, ai_configuration_tree_widget_1.createAiConfigurationTreeContainer)(container).get(ai_configuration_tree_widget_1.AiConfigurationTreeWidget));
227
- bind(ai_configuration_widget_1.AIConfigurationContainerWidget).toSelf();
228
- bind(browser_1.WidgetFactory)
221
+ bind(AiConfigurationSearchWidget).toSelf();
222
+ bind(AiConfigurationDetailWidget).toSelf();
223
+ bind(AiConfigurationTreeWidget)
224
+ .toDynamicValue(({ container }) => createAiConfigurationTreeContainer(container).get(AiConfigurationTreeWidget));
225
+ bind(AIConfigurationContainerWidget).toSelf();
226
+ bind(WidgetFactory)
229
227
  .toDynamicValue(ctx => ({
230
- id: ai_configuration_widget_1.AIConfigurationContainerWidget.ID,
231
- createWidget: () => ctx.container.get(ai_configuration_widget_1.AIConfigurationContainerWidget)
228
+ id: AIConfigurationContainerWidget.ID,
229
+ createWidget: () => ctx.container.get(AIConfigurationContainerWidget)
232
230
  }))
233
231
  .inSingletonScope();
234
- (0, common_2.bindToolProvider)(app_tester_chat_functions_1.LaunchBrowserProvider, bind);
235
- (0, common_2.bindToolProvider)(app_tester_chat_functions_1.CloseBrowserProvider, bind);
236
- (0, common_2.bindToolProvider)(app_tester_chat_functions_1.IsBrowserRunningProvider, bind);
237
- (0, common_2.bindToolProvider)(app_tester_chat_functions_1.QueryDomProvider, bind);
238
- (0, browser_1.bindViewContribution)(bind, ai_configuration_view_contribution_1.AIConfigurationViewContribution);
239
- bind(tab_bar_toolbar_1.TabBarToolbarContribution).toService(ai_configuration_view_contribution_1.AIConfigurationViewContribution);
240
- bind(agents_configuration_category_1.AgentsConfigurationCategory).toSelf().inSingletonScope();
241
- bind(ai_configuration_category_1.AiConfigurationCategory).toService(agents_configuration_category_1.AgentsConfigurationCategory);
242
- bind(general_configuration_category_1.GeneralConfigurationCategory).toSelf().inSingletonScope();
243
- bind(ai_configuration_category_1.AiConfigurationCategory).toService(general_configuration_category_1.GeneralConfigurationCategory);
244
- bind(models_configuration_category_1.ModelsConfigurationCategory).toSelf().inSingletonScope();
245
- bind(ai_configuration_category_1.AiConfigurationCategory).toService(models_configuration_category_1.ModelsConfigurationCategory);
246
- bind(model_aliases_configuration_category_1.ModelAliasesConfigurationCategory).toSelf().inSingletonScope();
247
- bind(ai_configuration_category_1.AiConfigurationCategory).toService(model_aliases_configuration_category_1.ModelAliasesConfigurationCategory);
248
- bind(variables_configuration_category_1.VariablesConfigurationCategory).toSelf().inSingletonScope();
249
- bind(ai_configuration_category_1.AiConfigurationCategory).toService(variables_configuration_category_1.VariablesConfigurationCategory);
250
- bind(token_usage_configuration_category_1.TokenUsageConfigurationCategory).toSelf().inSingletonScope();
251
- bind(ai_configuration_category_1.AiConfigurationCategory).toService(token_usage_configuration_category_1.TokenUsageConfigurationCategory);
252
- bind(tools_configuration_category_1.ToolsConfigurationCategory).toSelf().inSingletonScope();
253
- bind(ai_configuration_category_1.AiConfigurationCategory).toService(tools_configuration_category_1.ToolsConfigurationCategory);
254
- bind(prompts_and_skills_configuration_category_1.PromptsAndSkillsConfigurationCategory).toSelf().inSingletonScope();
255
- bind(ai_configuration_category_1.AiConfigurationCategory).toService(prompts_and_skills_configuration_category_1.PromptsAndSkillsConfigurationCategory);
256
- bind(prompt_snippets_configuration_category_1.PromptSnippetsConfigurationCategory).toSelf().inSingletonScope();
257
- bind(ai_configuration_category_1.AiConfigurationCategory).toService(prompt_snippets_configuration_category_1.PromptSnippetsConfigurationCategory);
232
+ bindToolProvider(LaunchBrowserProvider, bind);
233
+ bindToolProvider(CloseBrowserProvider, bind);
234
+ bindToolProvider(IsBrowserRunningProvider, bind);
235
+ bindToolProvider(QueryDomProvider, bind);
236
+ bindViewContribution(bind, AIConfigurationViewContribution);
237
+ bind(TabBarToolbarContribution).toService(AIConfigurationViewContribution);
238
+ bind(AgentsConfigurationCategory).toSelf().inSingletonScope();
239
+ bind(AiConfigurationCategory).toService(AgentsConfigurationCategory);
240
+ bind(GeneralConfigurationCategory).toSelf().inSingletonScope();
241
+ bind(AiConfigurationCategory).toService(GeneralConfigurationCategory);
242
+ bind(ModelsConfigurationCategory).toSelf().inSingletonScope();
243
+ bind(AiConfigurationCategory).toService(ModelsConfigurationCategory);
244
+ bind(ModelAliasesConfigurationCategory).toSelf().inSingletonScope();
245
+ bind(AiConfigurationCategory).toService(ModelAliasesConfigurationCategory);
246
+ bind(VariablesConfigurationCategory).toSelf().inSingletonScope();
247
+ bind(AiConfigurationCategory).toService(VariablesConfigurationCategory);
248
+ bind(TokenUsageConfigurationCategory).toSelf().inSingletonScope();
249
+ bind(AiConfigurationCategory).toService(TokenUsageConfigurationCategory);
250
+ bind(ToolsConfigurationCategory).toSelf().inSingletonScope();
251
+ bind(AiConfigurationCategory).toService(ToolsConfigurationCategory);
252
+ bind(PromptsAndSkillsConfigurationCategory).toSelf().inSingletonScope();
253
+ bind(AiConfigurationCategory).toService(PromptsAndSkillsConfigurationCategory);
254
+ bind(PromptSnippetsConfigurationCategory).toSelf().inSingletonScope();
255
+ bind(AiConfigurationCategory).toService(PromptSnippetsConfigurationCategory);
258
256
  // Renders the Settings-UI "AI Features" placeholder as a button that opens the AI Configuration view (#316).
259
- bind(ai_configuration_open_preference_renderer_1.AiConfigurationOpenPreferenceRenderer).toSelf();
260
- bind(preference_node_renderer_creator_1.PreferenceNodeRendererContribution).to(ai_configuration_open_preference_renderer_1.AiConfigurationOpenPreferenceRendererContribution).inSingletonScope();
257
+ bind(AiConfigurationOpenPreferenceRenderer).toSelf();
258
+ bind(PreferenceNodeRendererContribution).to(AiConfigurationOpenPreferenceRendererContribution).inSingletonScope();
261
259
  // Real Theia breadcrumbs for the AI Configuration view.
262
- bind(ai_configuration_breadcrumbs_contribution_1.AiConfigurationBreadcrumbsContribution).toSelf().inSingletonScope();
263
- bind(breadcrumbs_constants_1.BreadcrumbsContribution).toService(ai_configuration_breadcrumbs_contribution_1.AiConfigurationBreadcrumbsContribution);
260
+ bind(AiConfigurationBreadcrumbsContribution).toSelf().inSingletonScope();
261
+ bind(BreadcrumbsContribution).toService(AiConfigurationBreadcrumbsContribution);
264
262
  // Give the view's resource URI a readable name (window title, breadcrumbs) instead of "/".
265
- bind(ai_configuration_label_provider_contribution_1.AiConfigurationLabelProviderContribution).toSelf().inSingletonScope();
266
- bind(label_provider_1.LabelProviderContribution).toService(ai_configuration_label_provider_contribution_1.AiConfigurationLabelProviderContribution);
267
- (0, common_2.bindToolProvider)(file_changeset_functions_1.SimpleSuggestFileReplacements, bind);
268
- (0, common_2.bindToolProvider)(file_changeset_functions_1.SimpleWriteFileReplacements, bind);
269
- (0, common_2.bindToolProvider)(file_changeset_functions_1.ClearFileChanges, bind);
270
- (0, common_2.bindToolProvider)(file_changeset_functions_1.GetProposedFileState, bind);
271
- (0, common_2.bindToolProvider)(context_functions_1.AddFileToChatContext, bind);
272
- bind(common_2.AIVariableContribution).to(context_files_variable_1.ContextFilesVariableContribution).inSingletonScope();
273
- bind(core_1.PreferenceContribution).toConstantValue({ schema: ai_configuration_preferences_1.AiConfigurationPreferences });
274
- bind(browser_1.FrontendApplicationContribution).to(template_preference_contribution_1.TemplatePreferenceContribution);
275
- bind(task_background_summary_variable_1.TaskContextSummaryVariableContribution).toSelf().inSingletonScope();
276
- bind(common_2.AIVariableContribution).toService(task_background_summary_variable_1.TaskContextSummaryVariableContribution);
277
- bind(github_repo_protocol_1.GitHubRepoService).toDynamicValue(ctx => {
278
- const provider = ctx.container.get(browser_1.RemoteConnectionProvider);
279
- return provider.createProxy(github_repo_protocol_1.githubRepoServicePath);
263
+ bind(AiConfigurationLabelProviderContribution).toSelf().inSingletonScope();
264
+ bind(LabelProviderContribution).toService(AiConfigurationLabelProviderContribution);
265
+ bindToolProvider(SimpleSuggestFileReplacements, bind);
266
+ bindToolProvider(SimpleWriteFileReplacements, bind);
267
+ bindToolProvider(ClearFileChanges, bind);
268
+ bindToolProvider(GetProposedFileState, bind);
269
+ bindToolProvider(AddFileToChatContext, bind);
270
+ bind(AIVariableContribution).to(ContextFilesVariableContribution).inSingletonScope();
271
+ bind(PreferenceContribution).toConstantValue({ schema: AiConfigurationPreferences });
272
+ bind(FrontendApplicationContribution).to(TemplatePreferenceContribution);
273
+ bind(TaskContextSummaryVariableContribution).toSelf().inSingletonScope();
274
+ bind(AIVariableContribution).toService(TaskContextSummaryVariableContribution);
275
+ bind(GitHubRepoService).toDynamicValue(ctx => {
276
+ const provider = ctx.container.get(RemoteConnectionProvider);
277
+ return provider.createProxy(githubRepoServicePath);
280
278
  }).inSingletonScope();
281
- bind(github_repo_variable_contribution_1.GitHubRepoVariableContribution).toSelf().inSingletonScope();
282
- bind(common_2.AIVariableContribution).toService(github_repo_variable_contribution_1.GitHubRepoVariableContribution);
283
- bind(task_context_file_storage_service_1.TaskContextFileStorageService).toSelf().inSingletonScope();
284
- rebind(task_context_service_1.TaskContextStorageService).toService(task_context_file_storage_service_1.TaskContextFileStorageService);
285
- bind(core_1.CommandContribution).to(summarize_session_command_contribution_1.SummarizeSessionCommandContribution);
286
- (0, common_2.bindToolProvider)(ai_terminal_functions_1.SuggestTerminalCommand, bind);
279
+ bind(GitHubRepoVariableContribution).toSelf().inSingletonScope();
280
+ bind(AIVariableContribution).toService(GitHubRepoVariableContribution);
281
+ bind(TaskContextFileStorageService).toSelf().inSingletonScope();
282
+ rebind(TaskContextStorageService).toService(TaskContextFileStorageService);
283
+ bind(CommandContribution).to(SummarizeSessionCommandContribution);
284
+ bindToolProvider(SuggestTerminalCommand, bind);
287
285
  // Task context functions for Architect planning mode
288
- (0, common_2.bindToolProvider)(task_context_functions_1.CreateTaskContextFunction, bind);
289
- (0, common_2.bindToolProvider)(task_context_functions_1.GetTaskContextFunction, bind);
290
- (0, common_2.bindToolProvider)(task_context_functions_1.EditTaskContextFunction, bind);
291
- (0, common_2.bindToolProvider)(task_context_functions_1.ListTaskContextsFunction, bind);
292
- (0, common_2.bindToolProvider)(task_context_functions_1.RewriteTaskContextFunction, bind);
293
- (0, common_2.bindToolProvider)(todo_tool_1.TodoWriteTool, bind);
294
- (0, common_2.bindToolProvider)(user_interaction_tool_1.UserInteractionTool, bind);
295
- bind(chat_response_part_renderer_1.ChatResponsePartRenderer).to(todo_tool_renderer_1.TodoToolRenderer).inSingletonScope();
296
- bind(chat_response_part_renderer_1.ChatResponsePartRenderer).to(user_interaction_tool_renderer_1.UserInteractionToolRenderer).inSingletonScope();
297
- bind(context_file_validation_service_impl_1.ContextFileValidationServiceImpl).toSelf().inSingletonScope();
298
- bind(context_file_validation_service_1.ContextFileValidationService).toService(context_file_validation_service_impl_1.ContextFileValidationServiceImpl);
299
- bind(browser_1.FrontendApplicationContribution).to(remember_command_contribution_1.RememberCommandContribution);
300
- bind(browser_1.FrontendApplicationContribution).to(implement_gh_ticket_command_contribution_1.FixGitHubTicketCommandContribution);
301
- bind(browser_1.FrontendApplicationContribution).to(address_pr_review_command_contribution_1.AddressGhReviewCommandContribution);
302
- bind(browser_1.FrontendApplicationContribution).to(analyze_gh_ticket_command_contribution_1.AnalyzesGhTicketCommandContribution);
303
- bind(browser_1.FrontendApplicationContribution).to(apptester_capability_contribution_1.AppTesterCapabilityContribution);
304
- bind(browser_1.FrontendApplicationContribution).to(github_capability_contribution_1.GitHubCapabilityContribution);
305
- bind(browser_1.FrontendApplicationContribution).to(shell_execution_capability_contribution_1.ShellExecutionCapabilityContribution);
306
- bind(browser_1.FrontendApplicationContribution).to(memory_capability_contribution_1.MemoryCapabilityContribution);
307
- bind(browser_1.FrontendApplicationContribution).to(open_editors_hint_contribution_1.OpenEditorsHintContribution);
308
- bind(browser_1.FrontendApplicationContribution).to(code_review_capability_contribution_1.CodeReviewCapabilityContribution);
309
- bind(browser_1.FrontendApplicationContribution).to(pr_review_capability_contribution_1.PRReviewCapabilityContribution);
310
- bind(ai_first_perspective_contribution_1.AIFirstPerspectiveContribution).toSelf().inSingletonScope();
311
- bind(perspective_service_1.PerspectiveContribution).toService(ai_first_perspective_contribution_1.AIFirstPerspectiveContribution);
312
- bind(ai_sessions_widget_1.AISessionsWidget).toSelf();
313
- bind(browser_1.WidgetFactory)
286
+ bindToolProvider(CreateTaskContextFunction, bind);
287
+ bindToolProvider(GetTaskContextFunction, bind);
288
+ bindToolProvider(EditTaskContextFunction, bind);
289
+ bindToolProvider(ListTaskContextsFunction, bind);
290
+ bindToolProvider(RewriteTaskContextFunction, bind);
291
+ bindToolProvider(TodoWriteTool, bind);
292
+ bindToolProvider(UserInteractionTool, bind);
293
+ bind(ChatResponsePartRenderer).to(TodoToolRenderer).inSingletonScope();
294
+ bind(ChatResponsePartRenderer).to(UserInteractionToolRenderer).inSingletonScope();
295
+ bind(ContextFileValidationServiceImpl).toSelf().inSingletonScope();
296
+ bind(ContextFileValidationService).toService(ContextFileValidationServiceImpl);
297
+ bind(FrontendApplicationContribution).to(RememberCommandContribution);
298
+ bind(FrontendApplicationContribution).to(FixGitHubTicketCommandContribution);
299
+ bind(FrontendApplicationContribution).to(AddressGhReviewCommandContribution);
300
+ bind(FrontendApplicationContribution).to(AnalyzesGhTicketCommandContribution);
301
+ bind(FrontendApplicationContribution).to(AppTesterCapabilityContribution);
302
+ bind(FrontendApplicationContribution).to(GitHubCapabilityContribution);
303
+ bind(FrontendApplicationContribution).to(ShellExecutionCapabilityContribution);
304
+ bind(FrontendApplicationContribution).to(MemoryCapabilityContribution);
305
+ bind(FrontendApplicationContribution).to(OpenEditorsHintContribution);
306
+ bind(FrontendApplicationContribution).to(CodeReviewCapabilityContribution);
307
+ bind(FrontendApplicationContribution).to(PRReviewCapabilityContribution);
308
+ bind(AIFirstPerspectiveContribution).toSelf().inSingletonScope();
309
+ bind(PerspectiveContribution).toService(AIFirstPerspectiveContribution);
310
+ bind(AISessionsWidget).toSelf();
311
+ bind(WidgetFactory)
314
312
  .toDynamicValue(ctx => ({
315
- id: ai_sessions_widget_1.AISessionsWidget.ID,
316
- createWidget: () => ctx.container.get(ai_sessions_widget_1.AISessionsWidget)
313
+ id: AISessionsWidget.ID,
314
+ createWidget: () => ctx.container.get(AISessionsWidget)
317
315
  }))
318
316
  .inSingletonScope();
319
- (0, browser_1.bindViewContribution)(bind, ai_sessions_view_contribution_1.AISessionsViewContribution);
320
- bind(tab_bar_toolbar_1.TabBarToolbarContribution).toService(ai_sessions_view_contribution_1.AISessionsViewContribution);
317
+ bindViewContribution(bind, AISessionsViewContribution);
318
+ bind(TabBarToolbarContribution).toService(AISessionsViewContribution);
321
319
  // CommitMessageAgent is a plain (non-chat) `Agent`: it is driven exclusively from the SCM
322
320
  // commit widget via `CommitMessageRunner`, so it does not appear in chat `@`-mention
323
321
  // completion or the chat agent list. The `Agent` binding registers its prompt fragments
324
322
  // with the prompt service.
325
- bind(commit_message_agent_1.CommitMessageAgent).toSelf().inSingletonScope();
326
- bind(common_2.Agent).toService(commit_message_agent_1.CommitMessageAgent);
327
- (0, common_2.bindToolProvider)(git_changes_tool_1.GetGitChangesTool, bind);
328
- bind(commit_message_runner_1.CommitMessageRunner).toSelf().inSingletonScope();
329
- bind(commit_message_command_contribution_1.CommitMessageCommandContribution).toSelf().inSingletonScope();
330
- bind(core_1.CommandContribution).toService(commit_message_command_contribution_1.CommitMessageCommandContribution);
331
- rebind(scm_commit_widget_1.ScmCommitWidget).to(ai_aware_scm_commit_widget_1.AiAwareScmCommitWidget);
323
+ bind(CommitMessageAgent).toSelf().inSingletonScope();
324
+ bind(Agent).toService(CommitMessageAgent);
325
+ bindToolProvider(GetGitChangesTool, bind);
326
+ bind(CommitMessageRunner).toSelf().inSingletonScope();
327
+ bind(CommitMessageCommandContribution).toSelf().inSingletonScope();
328
+ bind(CommandContribution).toService(CommitMessageCommandContribution);
329
+ rebind(ScmCommitWidget).to(AiAwareScmCommitWidget);
332
330
  });
333
331
  //# sourceMappingURL=frontend-module.js.map