@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) 2026 EclipseSource GmbH.
4
3
  //
@@ -14,37 +13,35 @@
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
- exports.AIFirstPerspectiveContribution = exports.AI_FIRST_PERSPECTIVE_ID = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const core_1 = require("@theia/core");
22
- const browser_1 = require("@theia/navigator/lib/browser");
23
- const scm_contribution_1 = require("@theia/scm/lib/browser/scm-contribution");
24
- const chat_view_widget_1 = require("@theia/ai-chat-ui/lib/browser/chat-view-widget");
25
- const ai_sessions_widget_1 = require("./ai-sessions-widget");
26
- exports.AI_FIRST_PERSPECTIVE_ID = 'ai-first';
16
+ import { __decorate } from "tslib";
17
+ import { injectable } from '@theia/core/shared/inversify';
18
+ import { nls } from '@theia/core';
19
+ import { EXPLORER_VIEW_CONTAINER_ID } from '@theia/navigator/lib/browser';
20
+ import { SCM_VIEW_CONTAINER_ID } from '@theia/scm/lib/browser/scm-contribution';
21
+ import { ChatViewWidget } from '@theia/ai-chat-ui/lib/browser/chat-view-widget';
22
+ import { AISessionsWidget } from './ai-sessions-widget.js';
23
+ export const AI_FIRST_PERSPECTIVE_ID = 'ai-first';
27
24
  let AIFirstPerspectiveContribution = class AIFirstPerspectiveContribution {
28
25
  registerPerspectives(service) {
29
26
  const chromeOptions = {
30
27
  collapseAreas: ['bottom']
31
28
  };
32
29
  service.registerPerspective({
33
- id: exports.AI_FIRST_PERSPECTIVE_ID,
34
- label: core_1.nls.localize('theia/ai-ide/perspective/aiFirst', 'AI First'),
30
+ id: AI_FIRST_PERSPECTIVE_ID,
31
+ label: nls.localize('theia/ai-ide/perspective/aiFirst', 'AI First'),
35
32
  viewPlacements: new Map([
36
- [chat_view_widget_1.ChatViewWidget.ID, 'main'],
37
- [browser_1.EXPLORER_VIEW_CONTAINER_ID, 'right'],
38
- [scm_contribution_1.SCM_VIEW_CONTAINER_ID, 'right'],
39
- [ai_sessions_widget_1.AISessionsWidget.ID, 'left']
33
+ [ChatViewWidget.ID, 'main'],
34
+ [EXPLORER_VIEW_CONTAINER_ID, 'right'],
35
+ [SCM_VIEW_CONTAINER_ID, 'right'],
36
+ [AISessionsWidget.ID, 'left']
40
37
  ]),
41
- primaryViews: { right: browser_1.EXPLORER_VIEW_CONTAINER_ID },
38
+ primaryViews: { right: EXPLORER_VIEW_CONTAINER_ID },
42
39
  chromeOptions
43
40
  });
44
41
  }
45
42
  };
46
- exports.AIFirstPerspectiveContribution = AIFirstPerspectiveContribution;
47
- exports.AIFirstPerspectiveContribution = AIFirstPerspectiveContribution = tslib_1.__decorate([
48
- (0, inversify_1.injectable)()
43
+ AIFirstPerspectiveContribution = __decorate([
44
+ injectable()
49
45
  ], AIFirstPerspectiveContribution);
46
+ export { AIFirstPerspectiveContribution };
50
47
  //# sourceMappingURL=ai-first-perspective-contribution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai-first-perspective-contribution.js","sourceRoot":"","sources":["../../src/browser/ai-first-perspective-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAA0D;AAC1D,sCAAkC;AAGlC,0DAA0E;AAC1E,8EAAgF;AAChF,qFAAgF;AAChF,6DAAwD;AAE3C,QAAA,uBAAuB,GAAG,UAAU,CAAC;AAG3C,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAEvC,oBAAoB,CAAC,OAA2B;QAC5C,MAAM,aAAa,GAA6B;YAC5C,aAAa,EAAE,CAAC,QAAQ,CAAC;SAC5B,CAAC;QACF,OAAO,CAAC,mBAAmB,CAAC;YACxB,EAAE,EAAE,+BAAuB;YAC3B,KAAK,EAAE,UAAG,CAAC,QAAQ,CAAC,kCAAkC,EAAE,UAAU,CAAC;YACnE,cAAc,EAAE,IAAI,GAAG,CAAgC;gBACnD,CAAC,iCAAc,CAAC,EAAE,EAAE,MAAM,CAAC;gBAC3B,CAAC,oCAA0B,EAAE,OAAO,CAAC;gBACrC,CAAC,wCAAqB,EAAE,OAAO,CAAC;gBAChC,CAAC,qCAAgB,CAAC,EAAE,EAAE,MAAM,CAAC;aAChC,CAAC;YACF,YAAY,EAAE,EAAE,KAAK,EAAE,oCAA0B,EAAE;YACnD,aAAa;SAChB,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AAnBY,wEAA8B;yCAA9B,8BAA8B;IAD1C,IAAA,sBAAU,GAAE;GACA,8BAA8B,CAmB1C"}
1
+ {"version":3,"file":"ai-first-perspective-contribution.js","sourceRoot":"","sources":["../../src/browser/ai-first-perspective-contribution.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAGlC,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,CAAC;AAG3C,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAEvC,oBAAoB,CAAC,OAA2B;QAC5C,MAAM,aAAa,GAA6B;YAC5C,aAAa,EAAE,CAAC,QAAQ,CAAC;SAC5B,CAAC;QACF,OAAO,CAAC,mBAAmB,CAAC;YACxB,EAAE,EAAE,uBAAuB;YAC3B,KAAK,EAAE,GAAG,CAAC,QAAQ,CAAC,kCAAkC,EAAE,UAAU,CAAC;YACnE,cAAc,EAAE,IAAI,GAAG,CAAgC;gBACnD,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,CAAC;gBAC3B,CAAC,0BAA0B,EAAE,OAAO,CAAC;gBACrC,CAAC,qBAAqB,EAAE,OAAO,CAAC;gBAChC,CAAC,gBAAgB,CAAC,EAAE,EAAE,MAAM,CAAC;aAChC,CAAC;YACF,YAAY,EAAE,EAAE,KAAK,EAAE,0BAA0B,EAAE;YACnD,aAAa;SAChB,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AAnBY,8BAA8B;IAD1C,UAAU,EAAE;GACA,8BAA8B,CAmB1C"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2026 EclipseSource GmbH.
4
3
  //
@@ -14,11 +13,9 @@
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
- exports.AI_SET_DEFAULT_CHAT_AGENT = exports.AI_OPEN_GETTING_STARTED_WALKTHROUGH = void 0;
19
- const command_1 = require("@theia/core/lib/common/command");
16
+ import { Command } from '@theia/core/lib/common/command';
20
17
  /** Opens the AI getting started walkthrough, from the chat view, a menu or the command palette. */
21
- exports.AI_OPEN_GETTING_STARTED_WALKTHROUGH = command_1.Command.toLocalizedCommand({
18
+ export const AI_OPEN_GETTING_STARTED_WALKTHROUGH = Command.toLocalizedCommand({
22
19
  id: 'ai.openGettingStartedWalkthrough',
23
20
  label: 'Get Started with AI'
24
21
  }, 'theia/ai/ide/openGettingStartedWalkthrough');
@@ -27,7 +24,7 @@ exports.AI_OPEN_GETTING_STARTED_WALKTHROUGH = command_1.Command.toLocalizedComma
27
24
  * Lets the walkthrough offer the recommended agents as one click each, rather than sending the user to the
28
25
  * preference row to pick one there.
29
26
  */
30
- exports.AI_SET_DEFAULT_CHAT_AGENT = command_1.Command.toLocalizedCommand({
27
+ export const AI_SET_DEFAULT_CHAT_AGENT = Command.toLocalizedCommand({
31
28
  id: 'ai.setDefaultChatAgent',
32
29
  label: 'Set Default Chat Agent'
33
30
  }, 'theia/ai/ide/setDefaultChatAgent');
@@ -1 +1 @@
1
- {"version":3,"file":"ai-getting-started-commands.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-commands.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,4DAAyD;AAEzD,mGAAmG;AACtF,QAAA,mCAAmC,GAAG,iBAAO,CAAC,kBAAkB,CAAC;IAC1E,EAAE,EAAE,kCAAkC;IACtC,KAAK,EAAE,qBAAqB;CAC/B,EAAE,4CAA4C,CAAC,CAAC;AAEjD;;;;GAIG;AACU,QAAA,yBAAyB,GAAG,iBAAO,CAAC,kBAAkB,CAAC;IAChE,EAAE,EAAE,wBAAwB;IAC5B,KAAK,EAAE,wBAAwB;CAClC,EAAE,kCAAkC,CAAC,CAAC"}
1
+ {"version":3,"file":"ai-getting-started-commands.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-commands.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAEhF,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAEzD,mGAAmG;AACnG,MAAM,CAAC,MAAM,mCAAmC,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAC1E,EAAE,EAAE,kCAAkC;IACtC,KAAK,EAAE,qBAAqB;CAC/B,EAAE,4CAA4C,CAAC,CAAC;AAEjD;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAChE,EAAE,EAAE,wBAAwB;IAC5B,KAAK,EAAE,wBAAwB;CAClC,EAAE,kCAAkC,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2026 EclipseSource GmbH.
4
3
  //
@@ -14,18 +13,16 @@
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
- exports.AiGettingStartedContribution = void 0;
19
- const tslib_1 = require("tslib");
20
- const preferences_1 = require("@theia/core/lib/common/preferences");
21
- const message_service_1 = require("@theia/core/lib/common/message-service");
22
- const nls_1 = require("@theia/core/lib/common/nls");
23
- const common_1 = require("@theia/ai-chat/lib/common");
24
- const ai_chat_preferences_1 = require("@theia/ai-chat/lib/common/ai-chat-preferences");
25
- const walkthrough_commands_1 = require("@theia/getting-started/lib/common/walkthrough-commands");
26
- const inversify_1 = require("@theia/core/shared/inversify");
27
- const ai_getting_started_walkthrough_1 = require("./ai-getting-started-walkthrough");
28
- const ai_getting_started_commands_1 = require("./ai-getting-started-commands");
16
+ import { __decorate } from "tslib";
17
+ import { PreferenceScope, PreferenceService } from '@theia/core/lib/common/preferences';
18
+ import { MessageService } from '@theia/core/lib/common/message-service';
19
+ import { nls } from '@theia/core/lib/common/nls';
20
+ import { ChatAgentService } from '@theia/ai-chat/lib/common';
21
+ import { DEFAULT_CHAT_AGENT_PREF } from '@theia/ai-chat/lib/common/ai-chat-preferences';
22
+ import { WalkthroughCommands } from '@theia/getting-started/lib/common/walkthrough-commands';
23
+ import { inject, injectable } from '@theia/core/shared/inversify';
24
+ import { AI_GETTING_STARTED_WALKTHROUGH_ID } from './ai-getting-started-walkthrough.js';
25
+ import { AI_OPEN_GETTING_STARTED_WALKTHROUGH, AI_SET_DEFAULT_CHAT_AGENT } from './ai-getting-started-commands.js';
29
26
  /**
30
27
  * Opens the AI getting started walkthrough from anywhere - the chat view, the command palette or a menu -
31
28
  * without every caller having to know the walkthrough id.
@@ -33,10 +30,10 @@ const ai_getting_started_commands_1 = require("./ai-getting-started-commands");
33
30
  let AiGettingStartedContribution = class AiGettingStartedContribution {
34
31
  registerCommands(commands) {
35
32
  // Deliberately not gated on the AI features being enabled: this is where they get enabled.
36
- commands.registerCommand(ai_getting_started_commands_1.AI_OPEN_GETTING_STARTED_WALKTHROUGH, {
37
- execute: () => commands.executeCommand(walkthrough_commands_1.WalkthroughCommands.OPEN_WALKTHROUGH.id, ai_getting_started_walkthrough_1.AI_GETTING_STARTED_WALKTHROUGH_ID)
33
+ commands.registerCommand(AI_OPEN_GETTING_STARTED_WALKTHROUGH, {
34
+ execute: () => commands.executeCommand(WalkthroughCommands.OPEN_WALKTHROUGH.id, AI_GETTING_STARTED_WALKTHROUGH_ID)
38
35
  });
39
- commands.registerCommand(ai_getting_started_commands_1.AI_SET_DEFAULT_CHAT_AGENT, {
36
+ commands.registerCommand(AI_SET_DEFAULT_CHAT_AGENT, {
40
37
  execute: (agentId) => this.setDefaultChatAgent(agentId),
41
38
  isEnabled: (agentId) => typeof agentId === 'string' && !!agentId
42
39
  });
@@ -46,25 +43,22 @@ let AiGettingStartedContribution = class AiGettingStartedContribution {
46
43
  * without the message the only feedback would be the step ticking itself off further up the page.
47
44
  */
48
45
  async setDefaultChatAgent(agentId) {
49
- await this.preferenceService.set(ai_chat_preferences_1.DEFAULT_CHAT_AGENT_PREF, agentId, preferences_1.PreferenceScope.User);
46
+ await this.preferenceService.set(DEFAULT_CHAT_AGENT_PREF, agentId, PreferenceScope.User);
50
47
  const label = this.chatAgentService.getAgent(agentId)?.name ?? agentId;
51
- this.messageService.info(nls_1.nls.localize('theia/ai/ide/defaultChatAgentSet', 'The default chat agent is now {0}.', label));
48
+ this.messageService.info(nls.localize('theia/ai/ide/defaultChatAgentSet', 'The default chat agent is now {0}.', label));
52
49
  }
53
50
  };
54
- exports.AiGettingStartedContribution = AiGettingStartedContribution;
55
- tslib_1.__decorate([
56
- (0, inversify_1.inject)(preferences_1.PreferenceService),
57
- tslib_1.__metadata("design:type", Object)
51
+ __decorate([
52
+ inject(PreferenceService)
58
53
  ], AiGettingStartedContribution.prototype, "preferenceService", void 0);
59
- tslib_1.__decorate([
60
- (0, inversify_1.inject)(message_service_1.MessageService),
61
- tslib_1.__metadata("design:type", message_service_1.MessageService)
54
+ __decorate([
55
+ inject(MessageService)
62
56
  ], AiGettingStartedContribution.prototype, "messageService", void 0);
63
- tslib_1.__decorate([
64
- (0, inversify_1.inject)(common_1.ChatAgentService),
65
- tslib_1.__metadata("design:type", Object)
57
+ __decorate([
58
+ inject(ChatAgentService)
66
59
  ], AiGettingStartedContribution.prototype, "chatAgentService", void 0);
67
- exports.AiGettingStartedContribution = AiGettingStartedContribution = tslib_1.__decorate([
68
- (0, inversify_1.injectable)()
60
+ AiGettingStartedContribution = __decorate([
61
+ injectable()
69
62
  ], AiGettingStartedContribution);
63
+ export { AiGettingStartedContribution };
70
64
  //# sourceMappingURL=ai-getting-started-contribution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai-getting-started-contribution.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAGhF,oEAAwF;AACxF,4EAAwE;AACxE,oDAAiD;AACjD,sDAA6D;AAC7D,uFAAwF;AACxF,iGAA6F;AAC7F,4DAAkE;AAClE,qFAAqF;AACrF,+EAA+G;AAE/G;;;GAGG;AAEI,IAAM,4BAA4B,GAAlC,M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AAK,QAAQ,IAAI,CAAC,CAAC,OAAO;SAC5E,CAAC,CAAC;IACP,CAAC;IAED;;;OAGG;IACO,KAAK,CAAC,mBAAmB,CAAC,OAAe;QAC/C,MAAM,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,EAAE,eAAe,CAAC,IAAI,CAAC,CAAC;QACzF,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,IAAI,OAAO,CAAC;QACvE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,kCAAkC,EAAE,oCAAoC,EAAE,KAAK,CAAC,CAAC,CAAC;IAC5H,CAAC;CACJ,CAAA;AA5BsB;IADlB,MAAM,CAAC,iBAAiB,CAAC;uEAC8B;AAGrC;IADlB,MAAM,CAAC,cAAc,CAAC;oEAC2B;AAG/B;IADlB,MAAM,CAAC,gBAAgB,CAAC;sEAC6B;AAT7C,4BAA4B;IADxC,UAAU,EAAE;GACA,4BAA4B,CA+BxC"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2026 EclipseSource GmbH.
4
3
  //
@@ -14,27 +13,25 @@
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
- exports.AiGettingStartedWalkthroughProvider = exports.AI_GETTING_STARTED_WALKTHROUGH_ID = void 0;
19
- const tslib_1 = require("tslib");
20
- const ai_chat_ui_contribution_1 = require("@theia/ai-chat-ui/lib/browser/ai-chat-ui-contribution");
21
- const common_1 = require("@theia/ai-chat/lib/common");
22
- const ai_chat_preferences_1 = require("@theia/ai-chat/lib/common/ai-chat-preferences");
23
- const ai_activation_service_1 = require("@theia/ai-core/lib/browser/ai-activation-service");
24
- const ai_configuration_category_1 = require("@theia/ai-core-ui/lib/browser/ai-configuration/ai-configuration-category");
25
- const frontend_application_config_provider_1 = require("@theia/core/lib/browser/frontend-application-config-provider");
26
- const perspective_service_1 = require("@theia/core/lib/browser/perspective-service");
27
- const nls_1 = require("@theia/core/lib/common/nls");
28
- const inversify_1 = require("@theia/core/shared/inversify");
29
- const workspace_commands_1 = require("@theia/workspace/lib/browser/workspace-commands");
30
- const ai_getting_started_commands_1 = require("./ai-getting-started-commands");
31
- const ai_configuration_view_contribution_1 = require("./ai-configuration/ai-configuration-view-contribution");
32
- const ai_walkthrough_context_keys_1 = require("./ai-walkthrough-context-keys");
16
+ import { __decorate } from "tslib";
17
+ import { AI_CHAT_TOGGLE_COMMAND_ID } from '@theia/ai-chat-ui/lib/browser/ai-chat-ui-contribution';
18
+ import { ChatAgentRecommendationService } from '@theia/ai-chat/lib/common';
19
+ import { DEFAULT_CHAT_AGENT_PREF } from '@theia/ai-chat/lib/common/ai-chat-preferences';
20
+ import { ENABLE_AI_CONTEXT_KEY } from '@theia/ai-core/lib/browser/ai-activation-service';
21
+ import { AiConfigurationCategoryId } from '@theia/ai-core-ui/lib/browser/ai-configuration/ai-configuration-category';
22
+ import { FrontendApplicationConfigProvider } from '@theia/core/lib/browser/frontend-application-config-provider';
23
+ import { PerspectiveServiceImpl } from '@theia/core/lib/browser/perspective-service';
24
+ import { nls } from '@theia/core/lib/common/nls';
25
+ import { inject, injectable } from '@theia/core/shared/inversify';
26
+ import { WorkspaceCommands } from '@theia/workspace/lib/browser/workspace-commands';
27
+ import { AI_SET_DEFAULT_CHAT_AGENT } from './ai-getting-started-commands.js';
28
+ import { OPEN_AI_CONFIG_VIEW, OPEN_AI_CONFIG_VIEW_TOOLS } from './ai-configuration/ai-configuration-view-contribution.js';
29
+ import { AI_CHAT_USED_CONTEXT_KEY, AI_DEFAULT_AGENT_CONTEXT_KEY, AI_MODEL_READY_CONTEXT_KEY, AI_TOOL_CONFIRMATION_CONFIGURED_CONTEXT_KEY } from './ai-walkthrough-context-keys.js';
33
30
  /**
34
31
  * Id of the walkthrough that guides a new user through setting up and using the AI features.
35
32
  * Also the argument of the `walkthrough.open` command.
36
33
  */
37
- exports.AI_GETTING_STARTED_WALKTHROUGH_ID = 'ai-features.getting-started';
34
+ export const AI_GETTING_STARTED_WALKTHROUGH_ID = 'ai-features.getting-started';
38
35
  const AI_DOC_URL = 'https://theia-ide.org/docs/user_ai/';
39
36
  const THEIA_AI_DOC_URL = 'https://theia-ide.org/docs/theia_ai/';
40
37
  const FEEDBACK_URL = 'https://github.com/eclipse-theia/theia/issues/new/choose';
@@ -49,18 +46,18 @@ let AiGettingStartedWalkthroughProvider = class AiGettingStartedWalkthroughProvi
49
46
  return [this.walkthrough];
50
47
  }
51
48
  get applicationName() {
52
- return frontend_application_config_provider_1.FrontendApplicationConfigProvider.get().applicationName;
49
+ return FrontendApplicationConfigProvider.get().applicationName;
53
50
  }
54
51
  /** Deep-links into the AI Configuration view, which takes a category id or an `ai-features.*` preference id. */
55
52
  aiConfiguration(target) {
56
- return `command:${ai_configuration_view_contribution_1.OPEN_AI_CONFIG_VIEW.id}${target ? `?${target}` : ''}`;
53
+ return `command:${OPEN_AI_CONFIG_VIEW.id}${target ? `?${target}` : ''}`;
57
54
  }
58
55
  createWalkthrough() {
59
56
  return {
60
- id: exports.AI_GETTING_STARTED_WALKTHROUGH_ID,
57
+ id: AI_GETTING_STARTED_WALKTHROUGH_ID,
61
58
  icon: 'sparkle',
62
- title: nls_1.nls.localize('theia/ai/ide/walkthrough/title', 'Get started with AI'),
63
- description: nls_1.nls.localize('theia/ai/ide/walkthrough/description', 'Set up the AI features of {0} and learn how to work with them.', this.applicationName),
59
+ title: nls.localize('theia/ai/ide/walkthrough/title', 'Get started with AI'),
60
+ description: nls.localize('theia/ai/ide/walkthrough/description', 'Set up the AI features of {0} and learn how to work with them.', this.applicationName),
64
61
  steps: [
65
62
  this.createAiSupportStep(),
66
63
  this.createEnableStep(),
@@ -79,8 +76,8 @@ let AiGettingStartedWalkthroughProvider = class AiGettingStartedWalkthroughProvi
79
76
  createAiSupportStep() {
80
77
  return {
81
78
  id: 'ai-support',
82
- title: nls_1.nls.localize('theia/ai/ide/walkthrough/aiSupport/title', 'AI support in {0}', this.applicationName),
83
- description: nls_1.nls.localize('theia/ai/ide/walkthrough/aiSupport/description', `
79
+ title: nls.localize('theia/ai/ide/walkthrough/aiSupport/title', 'AI support in {0}', this.applicationName),
80
+ description: nls.localize('theia/ai/ide/walkthrough/aiSupport/description', `
84
81
  {0} comes with AI support: chat with specialized agents about your project, let them change code and run tasks, complete code as you type and get help in the terminal.
85
82
 
86
83
  These features are disabled by default, so that you can opt in at your own discretion.
@@ -94,26 +91,26 @@ We welcome your feedback, contributions and sponsorship! Visit the [GitHub proje
94
91
  All of this is built on Theia AI, the framework for AI-powered tools and IDEs, published as a stable release. [Read the framework documentation]({3}).
95
92
  `, this.applicationName, AI_DOC_URL, FEEDBACK_URL, THEIA_AI_DOC_URL).trim(),
96
93
  // Reading it is done once the user acts on it, either by following a link or by turning the features on.
97
- completionEvents: [`onContext:${ai_activation_service_1.ENABLE_AI_CONTEXT_KEY}`, `onLink:${AI_DOC_URL}`]
94
+ completionEvents: [`onContext:${ENABLE_AI_CONTEXT_KEY}`, `onLink:${AI_DOC_URL}`]
98
95
  };
99
96
  }
100
97
  createEnableStep() {
101
98
  return {
102
99
  id: 'enable-ai',
103
- title: nls_1.nls.localize('theia/ai/ide/walkthrough/enableAi/title', 'Turn on the AI features'),
104
- description: nls_1.nls.localize('theia/ai/ide/walkthrough/enableAi/description', `
100
+ title: nls.localize('theia/ai/ide/walkthrough/enableAi/title', 'Turn on the AI features'),
101
+ description: nls.localize('theia/ai/ide/walkthrough/enableAi/description', `
105
102
  Nothing is sent anywhere until you switch the AI features on, and you can switch them off again at any time.
106
103
 
107
104
  [Open the AI Configuration]({0}) and enable them there.
108
- `, this.aiConfiguration(ai_activation_service_1.ENABLE_AI_CONTEXT_KEY)).trim(),
109
- completionEvents: [`onContext:${ai_activation_service_1.ENABLE_AI_CONTEXT_KEY}`]
105
+ `, this.aiConfiguration(ENABLE_AI_CONTEXT_KEY)).trim(),
106
+ completionEvents: [`onContext:${ENABLE_AI_CONTEXT_KEY}`]
110
107
  };
111
108
  }
112
109
  createModelStep() {
113
110
  return {
114
111
  id: 'connect-model',
115
- title: nls_1.nls.localize('theia/ai/ide/walkthrough/connectModel/title', 'Connect a language model'),
116
- description: nls_1.nls.localize('theia/ai/ide/walkthrough/connectModel/description', `
112
+ title: nls.localize('theia/ai/ide/walkthrough/connectModel/title', 'Connect a language model'),
113
+ description: nls.localize('theia/ai/ide/walkthrough/connectModel/description', `
117
114
  Add an API key for a hosted provider:
118
115
 
119
116
  - [OpenAI]({0})
@@ -123,25 +120,25 @@ Add an API key for a hosted provider:
123
120
  Prefer to stay local or use another service? Ollama, llamafile and any OpenAI-compatible endpoint can be set up in the [Models]({3}) page.
124
121
 
125
122
  Some agents bring their own model, for example Claude Code, and work without a provider.
126
- `, this.aiConfiguration('ai-features.openAiOfficial.openAiApiKey'), this.aiConfiguration('ai-features.anthropic.AnthropicApiKey'), this.aiConfiguration('ai-features.google.apiKey'), this.aiConfiguration(ai_configuration_category_1.AiConfigurationCategoryId.MODELS)).trim(),
127
- completionEvents: [`onContext:${ai_walkthrough_context_keys_1.AI_MODEL_READY_CONTEXT_KEY}`]
123
+ `, this.aiConfiguration('ai-features.openAiOfficial.openAiApiKey'), this.aiConfiguration('ai-features.anthropic.AnthropicApiKey'), this.aiConfiguration('ai-features.google.apiKey'), this.aiConfiguration(AiConfigurationCategoryId.MODELS)).trim(),
124
+ completionEvents: [`onContext:${AI_MODEL_READY_CONTEXT_KEY}`]
128
125
  };
129
126
  }
130
127
  createAgentStep() {
131
- const intro = nls_1.nls.localize('theia/ai/ide/walkthrough/chooseAgent/intro', `
128
+ const intro = nls.localize('theia/ai/ide/walkthrough/chooseAgent/intro', `
132
129
  Every chat request goes to an agent, and one of them answers whenever you do not name one yourself.
133
130
 
134
131
  **Set your default agent:**
135
132
  `).trim();
136
- const outro = nls_1.nls.localize('theia/ai/ide/walkthrough/chooseAgent/outro', `
133
+ const outro = nls.localize('theia/ai/ide/walkthrough/chooseAgent/outro', `
137
134
  You can also [choose the default agent]({0}) in the settings, and address another one for a single message by starting it with *@AgentName*.
138
135
  The [Agents]({1}) page lists them all.
139
- `, this.aiConfiguration(ai_chat_preferences_1.DEFAULT_CHAT_AGENT_PREF), this.aiConfiguration(ai_configuration_category_1.AiConfigurationCategoryId.AGENTS)).trim();
136
+ `, this.aiConfiguration(DEFAULT_CHAT_AGENT_PREF), this.aiConfiguration(AiConfigurationCategoryId.AGENTS)).trim();
140
137
  return {
141
138
  id: 'choose-agent',
142
- title: nls_1.nls.localize('theia/ai/ide/walkthrough/chooseAgent/title', 'Choose your default agent'),
139
+ title: nls.localize('theia/ai/ide/walkthrough/chooseAgent/title', 'Choose your default agent'),
143
140
  description: [intro, this.renderAgentChoices(), outro].filter(part => !!part).join('\n\n'),
144
- completionEvents: [`onContext:${ai_walkthrough_context_keys_1.AI_DEFAULT_AGENT_CONTEXT_KEY}`]
141
+ completionEvents: [`onContext:${AI_DEFAULT_AGENT_CONTEXT_KEY}`]
145
142
  };
146
143
  }
147
144
  /**
@@ -154,7 +151,7 @@ The [Agents]({1}) page lists them all.
154
151
  renderAgentChoices() {
155
152
  return this.recommendationService.getRecommendedAgents()
156
153
  .map(agent => {
157
- const command = `command:${ai_getting_started_commands_1.AI_SET_DEFAULT_CHAT_AGENT.id}?${encodeURIComponent(JSON.stringify(agent.id))}`;
154
+ const command = `command:${AI_SET_DEFAULT_CHAT_AGENT.id}?${encodeURIComponent(JSON.stringify(agent.id))}`;
158
155
  // Carried as the link title, so what the agent is good at stays available as a tooltip.
159
156
  const title = agent.description ? ` "${agent.description.replace(/"/g, '')}"` : '';
160
157
  return `[@${agent.label}](${command}${title})`;
@@ -164,8 +161,8 @@ The [Agents]({1}) page lists them all.
164
161
  createFirstQuestionStep() {
165
162
  return {
166
163
  id: 'first-question',
167
- title: nls_1.nls.localize('theia/ai/ide/walkthrough/firstQuestion/title', 'Ask your first question'),
168
- description: nls_1.nls.localize('theia/ai/ide/walkthrough/firstQuestion/description', `
164
+ title: nls.localize('theia/ai/ide/walkthrough/firstQuestion/title', 'Ask your first question'),
165
+ description: nls.localize('theia/ai/ide/walkthrough/firstQuestion/description', `
169
166
  [Open the AI Chat]({0}) and ask something about your project.
170
167
 
171
168
  Two things make the answers a lot better:
@@ -174,32 +171,32 @@ Two things make the answers a lot better:
174
171
  - *#* attaches context, for example *#file* or *#selectedText*. The paperclip button next to the input does the same.
175
172
 
176
173
  The chat remembers your sessions, so you can pick a conversation up later.
177
- `, `command:${ai_chat_ui_contribution_1.AI_CHAT_TOGGLE_COMMAND_ID}`).trim(),
178
- completionEvents: [`onContext:${ai_walkthrough_context_keys_1.AI_CHAT_USED_CONTEXT_KEY}`]
174
+ `, `command:${AI_CHAT_TOGGLE_COMMAND_ID}`).trim(),
175
+ completionEvents: [`onContext:${AI_CHAT_USED_CONTEXT_KEY}`]
179
176
  };
180
177
  }
181
178
  createToolConfirmationStep() {
182
179
  return {
183
180
  id: 'tool-confirmation',
184
- title: nls_1.nls.localize('theia/ai/ide/walkthrough/toolConfirmation/title', 'Stay in control of what agents do'),
185
- description: nls_1.nls.localize('theia/ai/ide/walkthrough/toolConfirmation/description', `
181
+ title: nls.localize('theia/ai/ide/walkthrough/toolConfirmation/title', 'Stay in control of what agents do'),
182
+ description: nls.localize('theia/ai/ide/walkthrough/toolConfirmation/description', `
186
183
  Agents act on your workspace through tools: they read files, run terminal commands or edit code.
187
184
 
188
185
  Every tool call asks for your confirmation first. In the [Tools]({0}) page you can change that default or pre-approve the tools you trust.
189
186
 
190
187
  AI features stay off entirely while a workspace is not trusted. [Manage workspace trust]({1}) to decide per project.
191
- `, `command:${ai_configuration_view_contribution_1.OPEN_AI_CONFIG_VIEW_TOOLS.id}`, `command:${workspace_commands_1.WorkspaceCommands.MANAGE_WORKSPACE_TRUST.id}`).trim(),
188
+ `, `command:${OPEN_AI_CONFIG_VIEW_TOOLS.id}`, `command:${WorkspaceCommands.MANAGE_WORKSPACE_TRUST.id}`).trim(),
192
189
  completionEvents: [
193
- `onContext:${ai_walkthrough_context_keys_1.AI_TOOL_CONFIRMATION_CONFIGURED_CONTEXT_KEY}`,
194
- `onLink:command:${ai_configuration_view_contribution_1.OPEN_AI_CONFIG_VIEW_TOOLS.id}`
190
+ `onContext:${AI_TOOL_CONFIRMATION_CONFIGURED_CONTEXT_KEY}`,
191
+ `onLink:command:${OPEN_AI_CONFIG_VIEW_TOOLS.id}`
195
192
  ]
196
193
  };
197
194
  }
198
195
  createGoFurtherStep() {
199
196
  return {
200
197
  id: 'go-further',
201
- title: nls_1.nls.localize('theia/ai/ide/walkthrough/goFurther/title', 'Go further'),
202
- description: nls_1.nls.localize('theia/ai/ide/walkthrough/goFurther/description', `
198
+ title: nls.localize('theia/ai/ide/walkthrough/goFurther/title', 'Go further'),
199
+ description: nls.localize('theia/ai/ide/walkthrough/goFurther/description', `
203
200
  The chat is only the beginning. AI also completes code as you type and assists in the terminal with *Ctrl+I*.
204
201
 
205
202
  - [Prompts and skills]({0}): read and adapt the instructions the agents work with.
@@ -210,16 +207,15 @@ The chat is only the beginning. AI also completes code as you type and assists i
210
207
  The AI History view, where available, shows what was actually sent to the model.
211
208
 
212
209
  There is more in [the documentation]({4}) - and your feedback is always welcome.
213
- `, this.aiConfiguration(ai_configuration_category_1.AiConfigurationCategoryId.PROMPTS_AND_SKILLS), this.aiConfiguration(ai_configuration_category_1.AiConfigurationCategoryId.MCP_SERVERS), this.aiConfiguration(ai_configuration_category_1.AiConfigurationCategoryId.TOKEN_USAGE), this.applicationName, AI_DOC_URL, `command:${perspective_service_1.PerspectiveServiceImpl.SWITCH_PERSPECTIVE_COMMAND.id}`).trim()
210
+ `, this.aiConfiguration(AiConfigurationCategoryId.PROMPTS_AND_SKILLS), this.aiConfiguration(AiConfigurationCategoryId.MCP_SERVERS), this.aiConfiguration(AiConfigurationCategoryId.TOKEN_USAGE), this.applicationName, AI_DOC_URL, `command:${PerspectiveServiceImpl.SWITCH_PERSPECTIVE_COMMAND.id}`).trim()
214
211
  };
215
212
  }
216
213
  };
217
- exports.AiGettingStartedWalkthroughProvider = AiGettingStartedWalkthroughProvider;
218
- tslib_1.__decorate([
219
- (0, inversify_1.inject)(common_1.ChatAgentRecommendationService),
220
- tslib_1.__metadata("design:type", Object)
214
+ __decorate([
215
+ inject(ChatAgentRecommendationService)
221
216
  ], AiGettingStartedWalkthroughProvider.prototype, "recommendationService", void 0);
222
- exports.AiGettingStartedWalkthroughProvider = AiGettingStartedWalkthroughProvider = tslib_1.__decorate([
223
- (0, inversify_1.injectable)()
217
+ AiGettingStartedWalkthroughProvider = __decorate([
218
+ injectable()
224
219
  ], AiGettingStartedWalkthroughProvider);
220
+ export { AiGettingStartedWalkthroughProvider };
225
221
  //# sourceMappingURL=ai-getting-started-walkthrough.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai-getting-started-walkthrough.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-walkthrough.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,mGAAkG;AAClG,sDAA2E;AAC3E,uFAAwF;AACxF,4FAAyF;AACzF,wHAAqH;AACrH,uHAAiH;AACjH,qFAAqF;AACrF,oDAAiD;AAGjD,4DAAkE;AAClE,wFAAoF;AACpF,+EAA0E;AAC1E,8GAAuH;AACvH,+EAKuC;AAEvC;;;GAGG;AACU,QAAA,iCAAiC,GAAG,6BAA6B,CAAC;AAE/E,MAAM,UAAU,GAAG,qCAAqC,CAAC;AACzD,MAAM,gBAA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AD/C,IAAA,sBAAU,GAAE;GACA,mCAAmC,CAoM/C"}
1
+ {"version":3,"file":"ai-getting-started-walkthrough.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-walkthrough.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAC;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,0EAA0E,CAAC;AACrH,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AACjH,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,4BAA4B,CAAC;AAGjD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,0DAA0D,CAAC;AAC1H,OAAO,EACH,wBAAwB,EACxB,4BAA4B,EAC5B,0BAA0B,EAC1B,2CAA2C,EAC9C,MAAM,kCAAkC,CAAC;AAE1C;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,6BAA6B,CAAC;AAE/E,MAAM,UAAU,GAAG,qCAAqC,CAAC;AACzD,M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