@theia/ai-chat 1.67.0-next.56 → 1.67.0-next.59

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 (253) hide show
  1. package/lib/browser/agent-delegation-tool.d.ts +25 -0
  2. package/lib/browser/agent-delegation-tool.d.ts.map +1 -0
  3. package/lib/browser/agent-delegation-tool.js +196 -0
  4. package/lib/browser/agent-delegation-tool.js.map +1 -0
  5. package/lib/browser/ai-chat-frontend-contribution.d.ts +11 -0
  6. package/lib/browser/ai-chat-frontend-contribution.d.ts.map +1 -0
  7. package/lib/browser/ai-chat-frontend-contribution.js +56 -0
  8. package/lib/browser/ai-chat-frontend-contribution.js.map +1 -0
  9. package/lib/browser/ai-chat-frontend-module.d.ts +4 -0
  10. package/lib/browser/ai-chat-frontend-module.d.ts.map +1 -0
  11. package/lib/browser/ai-chat-frontend-module.js +143 -0
  12. package/lib/browser/ai-chat-frontend-module.js.map +1 -0
  13. package/lib/browser/change-set-decorator-service.d.ts +24 -0
  14. package/lib/browser/change-set-decorator-service.d.ts.map +1 -0
  15. package/lib/browser/change-set-decorator-service.js +66 -0
  16. package/lib/browser/change-set-decorator-service.js.map +1 -0
  17. package/lib/browser/change-set-file-element-deserializer.d.ts +7 -0
  18. package/lib/browser/change-set-file-element-deserializer.d.ts.map +1 -0
  19. package/lib/browser/change-set-file-element-deserializer.js +61 -0
  20. package/lib/browser/change-set-file-element-deserializer.js.map +1 -0
  21. package/lib/browser/change-set-file-element.d.ts +122 -0
  22. package/lib/browser/change-set-file-element.d.ts.map +1 -0
  23. package/lib/browser/change-set-file-element.js +435 -0
  24. package/lib/browser/change-set-file-element.js.map +1 -0
  25. package/lib/browser/change-set-file-resource.d.ts +4 -0
  26. package/lib/browser/change-set-file-resource.d.ts.map +1 -0
  27. package/lib/browser/change-set-file-resource.js +24 -0
  28. package/lib/browser/change-set-file-resource.js.map +1 -0
  29. package/lib/browser/change-set-file-service.d.ts +32 -0
  30. package/lib/browser/change-set-file-service.d.ts.map +1 -0
  31. package/lib/browser/change-set-file-service.js +161 -0
  32. package/lib/browser/change-set-file-service.js.map +1 -0
  33. package/lib/browser/change-set-variable.d.ts +11 -0
  34. package/lib/browser/change-set-variable.d.ts.map +1 -0
  35. package/lib/browser/change-set-variable.js +64 -0
  36. package/lib/browser/change-set-variable.js.map +1 -0
  37. package/lib/browser/chat-session-store-impl.d.ts +36 -0
  38. package/lib/browser/chat-session-store-impl.d.ts.map +1 -0
  39. package/lib/browser/chat-session-store-impl.js +287 -0
  40. package/lib/browser/chat-session-store-impl.js.map +1 -0
  41. package/lib/browser/chat-tool-preference-bindings.d.ts +34 -0
  42. package/lib/browser/chat-tool-preference-bindings.d.ts.map +1 -0
  43. package/lib/browser/chat-tool-preference-bindings.js +122 -0
  44. package/lib/browser/chat-tool-preference-bindings.js.map +1 -0
  45. package/lib/browser/chat-tool-request-service.d.ts +21 -0
  46. package/lib/browser/chat-tool-request-service.d.ts.map +1 -0
  47. package/lib/browser/chat-tool-request-service.js +90 -0
  48. package/lib/browser/chat-tool-request-service.js.map +1 -0
  49. package/lib/browser/context-file-validation-service.d.ts +15 -0
  50. package/lib/browser/context-file-validation-service.d.ts.map +1 -0
  51. package/lib/browser/context-file-validation-service.js +26 -0
  52. package/lib/browser/context-file-validation-service.js.map +1 -0
  53. package/lib/browser/context-file-variable-label-provider.d.ts +14 -0
  54. package/lib/browser/context-file-variable-label-provider.d.ts.map +1 -0
  55. package/lib/browser/context-file-variable-label-provider.js +63 -0
  56. package/lib/browser/context-file-variable-label-provider.js.map +1 -0
  57. package/lib/browser/context-variable-label-provider.d.ts +9 -0
  58. package/lib/browser/context-variable-label-provider.d.ts.map +1 -0
  59. package/lib/browser/context-variable-label-provider.js +55 -0
  60. package/lib/browser/context-variable-label-provider.js.map +1 -0
  61. package/lib/browser/custom-agent-factory.d.ts +4 -0
  62. package/lib/browser/custom-agent-factory.d.ts.map +1 -0
  63. package/lib/browser/custom-agent-factory.js +20 -0
  64. package/lib/browser/custom-agent-factory.js.map +1 -0
  65. package/lib/browser/custom-agent-frontend-application-contribution.d.ts +13 -0
  66. package/lib/browser/custom-agent-frontend-application-contribution.d.ts.map +1 -0
  67. package/lib/browser/custom-agent-frontend-application-contribution.js +83 -0
  68. package/lib/browser/custom-agent-frontend-application-contribution.js.map +1 -0
  69. package/lib/browser/delegation-response-content.d.ts +20 -0
  70. package/lib/browser/delegation-response-content.d.ts.map +1 -0
  71. package/lib/browser/delegation-response-content.js +47 -0
  72. package/lib/browser/delegation-response-content.js.map +1 -0
  73. package/lib/browser/file-chat-variable-contribution.d.ts +32 -0
  74. package/lib/browser/file-chat-variable-contribution.d.ts.map +1 -0
  75. package/lib/browser/file-chat-variable-contribution.js +241 -0
  76. package/lib/browser/file-chat-variable-contribution.js.map +1 -0
  77. package/lib/browser/frontend-chat-service.d.ts +15 -0
  78. package/lib/browser/frontend-chat-service.d.ts.map +1 -0
  79. package/lib/browser/frontend-chat-service.js +72 -0
  80. package/lib/browser/frontend-chat-service.js.map +1 -0
  81. package/lib/browser/image-context-variable-contribution.d.ts +27 -0
  82. package/lib/browser/image-context-variable-contribution.d.ts.map +1 -0
  83. package/lib/browser/image-context-variable-contribution.js +149 -0
  84. package/lib/browser/image-context-variable-contribution.js.map +1 -0
  85. package/lib/browser/task-context-service.d.ts +46 -0
  86. package/lib/browser/task-context-service.d.ts.map +1 -0
  87. package/lib/browser/task-context-service.js +256 -0
  88. package/lib/browser/task-context-service.js.map +1 -0
  89. package/lib/browser/task-context-storage-service.d.ts +19 -0
  90. package/lib/browser/task-context-storage-service.d.ts.map +1 -0
  91. package/lib/browser/task-context-storage-service.js +80 -0
  92. package/lib/browser/task-context-storage-service.js.map +1 -0
  93. package/lib/browser/task-context-variable-contribution.d.ts +20 -0
  94. package/lib/browser/task-context-variable-contribution.d.ts.map +1 -0
  95. package/lib/browser/task-context-variable-contribution.js +101 -0
  96. package/lib/browser/task-context-variable-contribution.js.map +1 -0
  97. package/lib/browser/task-context-variable-label-provider.d.ts +21 -0
  98. package/lib/browser/task-context-variable-label-provider.d.ts.map +1 -0
  99. package/lib/browser/task-context-variable-label-provider.js +83 -0
  100. package/lib/browser/task-context-variable-label-provider.js.map +1 -0
  101. package/lib/browser/task-context-variable.d.ts +3 -0
  102. package/lib/browser/task-context-variable.d.ts.map +1 -0
  103. package/lib/browser/task-context-variable.js +33 -0
  104. package/lib/browser/task-context-variable.js.map +1 -0
  105. package/lib/common/ai-chat-preferences.d.ts +5 -0
  106. package/lib/common/ai-chat-preferences.d.ts.map +1 -0
  107. package/lib/common/ai-chat-preferences.js +40 -0
  108. package/lib/common/ai-chat-preferences.js.map +1 -0
  109. package/lib/common/change-set-element-deserializer.d.ts +30 -0
  110. package/lib/common/change-set-element-deserializer.d.ts.map +1 -0
  111. package/lib/common/change-set-element-deserializer.js +81 -0
  112. package/lib/common/change-set-element-deserializer.js.map +1 -0
  113. package/lib/common/change-set.d.ts +85 -0
  114. package/lib/common/change-set.d.ts.map +1 -0
  115. package/lib/common/change-set.js +133 -0
  116. package/lib/common/change-set.js.map +1 -0
  117. package/lib/common/chat-agent-service.d.ts +46 -0
  118. package/lib/common/chat-agent-service.d.ts.map +1 -0
  119. package/lib/common/chat-agent-service.js +79 -0
  120. package/lib/common/chat-agent-service.js.map +1 -0
  121. package/lib/common/chat-agents-variable-contribution.d.ts +17 -0
  122. package/lib/common/chat-agents-variable-contribution.d.ts.map +1 -0
  123. package/lib/common/chat-agents-variable-contribution.js +67 -0
  124. package/lib/common/chat-agents-variable-contribution.js.map +1 -0
  125. package/lib/common/chat-agents.d.ts +138 -0
  126. package/lib/common/chat-agents.d.ts.map +1 -0
  127. package/lib/common/chat-agents.js +428 -0
  128. package/lib/common/chat-agents.js.map +1 -0
  129. package/lib/common/chat-auto-save.spec.d.ts +2 -0
  130. package/lib/common/chat-auto-save.spec.d.ts.map +1 -0
  131. package/lib/common/chat-auto-save.spec.js +304 -0
  132. package/lib/common/chat-auto-save.spec.js.map +1 -0
  133. package/lib/common/chat-content-deserializer.d.ts +161 -0
  134. package/lib/common/chat-content-deserializer.d.ts.map +1 -0
  135. package/lib/common/chat-content-deserializer.js +166 -0
  136. package/lib/common/chat-content-deserializer.js.map +1 -0
  137. package/lib/common/chat-content-deserializer.spec.d.ts +2 -0
  138. package/lib/common/chat-content-deserializer.spec.d.ts.map +1 -0
  139. package/lib/common/chat-content-deserializer.spec.js +307 -0
  140. package/lib/common/chat-content-deserializer.spec.js.map +1 -0
  141. package/lib/common/chat-model-serialization.d.ts +110 -0
  142. package/lib/common/chat-model-serialization.d.ts.map +1 -0
  143. package/lib/common/chat-model-serialization.js +20 -0
  144. package/lib/common/chat-model-serialization.js.map +1 -0
  145. package/lib/common/chat-model-serialization.spec.d.ts +2 -0
  146. package/lib/common/chat-model-serialization.spec.d.ts.map +1 -0
  147. package/lib/common/chat-model-serialization.spec.js +278 -0
  148. package/lib/common/chat-model-serialization.spec.js.map +1 -0
  149. package/lib/common/chat-model-util.d.ts +7 -0
  150. package/lib/common/chat-model-util.d.ts.map +1 -0
  151. package/lib/common/chat-model-util.js +50 -0
  152. package/lib/common/chat-model-util.js.map +1 -0
  153. package/lib/common/chat-model.d.ts +923 -0
  154. package/lib/common/chat-model.d.ts.map +1 -0
  155. package/lib/common/chat-model.js +1791 -0
  156. package/lib/common/chat-model.js.map +1 -0
  157. package/lib/common/chat-request-parser.d.ts +38 -0
  158. package/lib/common/chat-request-parser.d.ts.map +1 -0
  159. package/lib/common/chat-request-parser.js +230 -0
  160. package/lib/common/chat-request-parser.js.map +1 -0
  161. package/lib/common/chat-request-parser.spec.d.ts +2 -0
  162. package/lib/common/chat-request-parser.spec.d.ts.map +1 -0
  163. package/lib/common/chat-request-parser.spec.js +235 -0
  164. package/lib/common/chat-request-parser.spec.js.map +1 -0
  165. package/lib/common/chat-service-deletion.spec.d.ts +2 -0
  166. package/lib/common/chat-service-deletion.spec.d.ts.map +1 -0
  167. package/lib/common/chat-service-deletion.spec.js +221 -0
  168. package/lib/common/chat-service-deletion.spec.js.map +1 -0
  169. package/lib/common/chat-service.d.ts +153 -0
  170. package/lib/common/chat-service.d.ts.map +1 -0
  171. package/lib/common/chat-service.js +474 -0
  172. package/lib/common/chat-service.js.map +1 -0
  173. package/lib/common/chat-session-naming-prompt-template.d.ts +3 -0
  174. package/lib/common/chat-session-naming-prompt-template.d.ts.map +1 -0
  175. package/lib/common/chat-session-naming-prompt-template.js +31 -0
  176. package/lib/common/chat-session-naming-prompt-template.js.map +1 -0
  177. package/lib/common/chat-session-naming-service.d.ts +26 -0
  178. package/lib/common/chat-session-naming-service.d.ts.map +1 -0
  179. package/lib/common/chat-session-naming-service.js +119 -0
  180. package/lib/common/chat-session-naming-service.js.map +1 -0
  181. package/lib/common/chat-session-store.d.ts +43 -0
  182. package/lib/common/chat-session-store.d.ts.map +1 -0
  183. package/lib/common/chat-session-store.js +20 -0
  184. package/lib/common/chat-session-store.js.map +1 -0
  185. package/lib/common/chat-session-summary-agent-prompt.d.ts +8 -0
  186. package/lib/common/chat-session-summary-agent-prompt.d.ts.map +1 -0
  187. package/lib/common/chat-session-summary-agent-prompt.js +33 -0
  188. package/lib/common/chat-session-summary-agent-prompt.js.map +1 -0
  189. package/lib/common/chat-session-summary-agent.d.ts +16 -0
  190. package/lib/common/chat-session-summary-agent.d.ts.map +1 -0
  191. package/lib/common/chat-session-summary-agent.js +48 -0
  192. package/lib/common/chat-session-summary-agent.js.map +1 -0
  193. package/lib/common/chat-string-utils.d.ts +3 -0
  194. package/lib/common/chat-string-utils.d.ts.map +1 -0
  195. package/lib/common/chat-string-utils.js +27 -0
  196. package/lib/common/chat-string-utils.js.map +1 -0
  197. package/lib/common/chat-tool-preferences.d.ts +23 -0
  198. package/lib/common/chat-tool-preferences.d.ts.map +1 -0
  199. package/lib/common/chat-tool-preferences.js +68 -0
  200. package/lib/common/chat-tool-preferences.js.map +1 -0
  201. package/lib/common/chat-tool-request-service.d.ts +18 -0
  202. package/lib/common/chat-tool-request-service.d.ts.map +1 -0
  203. package/lib/common/chat-tool-request-service.js +52 -0
  204. package/lib/common/chat-tool-request-service.js.map +1 -0
  205. package/lib/common/context-details-variable.d.ts +9 -0
  206. package/lib/common/context-details-variable.d.ts.map +1 -0
  207. package/lib/common/context-details-variable.js +57 -0
  208. package/lib/common/context-details-variable.js.map +1 -0
  209. package/lib/common/context-summary-variable.d.ts +9 -0
  210. package/lib/common/context-summary-variable.d.ts.map +1 -0
  211. package/lib/common/context-summary-variable.js +57 -0
  212. package/lib/common/context-summary-variable.js.map +1 -0
  213. package/lib/common/context-variables.d.ts +4 -0
  214. package/lib/common/context-variables.d.ts.map +1 -0
  215. package/lib/common/context-variables.js +22 -0
  216. package/lib/common/context-variables.js.map +1 -0
  217. package/lib/common/custom-chat-agent.d.ts +10 -0
  218. package/lib/common/custom-chat-agent.d.ts.map +1 -0
  219. package/lib/common/custom-chat-agent.js +40 -0
  220. package/lib/common/custom-chat-agent.js.map +1 -0
  221. package/lib/common/image-context-variable.d.ts +29 -0
  222. package/lib/common/image-context-variable.d.ts.map +1 -0
  223. package/lib/common/image-context-variable.js +114 -0
  224. package/lib/common/image-context-variable.js.map +1 -0
  225. package/lib/common/index.d.ts +13 -0
  226. package/lib/common/index.d.ts.map +1 -0
  227. package/lib/common/index.js +31 -0
  228. package/lib/common/index.js.map +1 -0
  229. package/lib/common/parse-contents-with-incomplete-parts.spec.d.ts +2 -0
  230. package/lib/common/parse-contents-with-incomplete-parts.spec.d.ts.map +1 -0
  231. package/lib/common/parse-contents-with-incomplete-parts.spec.js +103 -0
  232. package/lib/common/parse-contents-with-incomplete-parts.spec.js.map +1 -0
  233. package/lib/common/parse-contents.d.ts +12 -0
  234. package/lib/common/parse-contents.d.ts.map +1 -0
  235. package/lib/common/parse-contents.js +107 -0
  236. package/lib/common/parse-contents.js.map +1 -0
  237. package/lib/common/parse-contents.spec.d.ts +10 -0
  238. package/lib/common/parse-contents.spec.d.ts.map +1 -0
  239. package/lib/common/parse-contents.spec.js +146 -0
  240. package/lib/common/parse-contents.spec.js.map +1 -0
  241. package/lib/common/parsed-chat-request.d.ts +66 -0
  242. package/lib/common/parsed-chat-request.d.ts.map +1 -0
  243. package/lib/common/parsed-chat-request.js +83 -0
  244. package/lib/common/parsed-chat-request.js.map +1 -0
  245. package/lib/common/response-content-matcher.d.ts +69 -0
  246. package/lib/common/response-content-matcher.d.ts.map +1 -0
  247. package/lib/common/response-content-matcher.js +97 -0
  248. package/lib/common/response-content-matcher.js.map +1 -0
  249. package/lib/node/ai-chat-backend-module.d.ts +4 -0
  250. package/lib/node/ai-chat-backend-module.d.ts.map +1 -0
  251. package/lib/node/ai-chat-backend-module.js +26 -0
  252. package/lib/node/ai-chat-backend-module.js.map +1 -0
  253. package/package.json +9 -9
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // *****************************************************************************
3
+ // Copyright (C) 2025 STMicroelectronics and others
4
+ //
5
+ // This program and the accompanying materials are made available under the
6
+ // terms of the Eclipse Public License v. 2.0 which is available at
7
+ // http://www.eclipse.org/legal/epl-2.0.
8
+ //
9
+ // This Source Code may also be made available under the following Secondary
10
+ // Licenses when the conditions for such availability set forth in the Eclipse
11
+ // Public License v. 2.0 are satisfied: GNU General Public License, version 2
12
+ // with the GNU Classpath Exception which is available at
13
+ // https://www.gnu.org/software/classpath/license.html.
14
+ //
15
+ // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
+ // *****************************************************************************
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const core_1 = require("@theia/core");
19
+ const inversify_1 = require("@theia/core/shared/inversify");
20
+ const ai_chat_preferences_1 = require("../common/ai-chat-preferences");
21
+ const chat_tool_preferences_1 = require("../common/chat-tool-preferences");
22
+ exports.default = new inversify_1.ContainerModule(bind => {
23
+ bind(core_1.PreferenceContribution).toConstantValue({ schema: ai_chat_preferences_1.aiChatPreferences });
24
+ bind(core_1.PreferenceContribution).toConstantValue({ schema: chat_tool_preferences_1.chatToolPreferences });
25
+ });
26
+ //# sourceMappingURL=ai-chat-backend-module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-chat-backend-module.js","sourceRoot":"","sources":["../../src/node/ai-chat-backend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,mDAAmD;AACnD,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,sCAAqD;AACrD,4DAA+D;AAC/D,uEAAkE;AAClE,2EAAsE;AAEtE,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,6BAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,uCAAiB,EAAE,CAAC,CAAC;IAC5E,IAAI,CAAC,6BAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,2CAAmB,EAAE,CAAC,CAAC;AAClF,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@theia/ai-chat",
3
- "version": "1.67.0-next.56+d8f18cc386c",
3
+ "version": "1.67.0-next.59+3f14297ea",
4
4
  "description": "Theia - AI Chat Extension",
5
5
  "dependencies": {
6
- "@theia/ai-core": "1.67.0-next.56+d8f18cc386c",
7
- "@theia/core": "1.67.0-next.56+d8f18cc386c",
8
- "@theia/editor": "1.67.0-next.56+d8f18cc386c",
9
- "@theia/file-search": "1.67.0-next.56+d8f18cc386c",
10
- "@theia/filesystem": "1.67.0-next.56+d8f18cc386c",
11
- "@theia/monaco": "1.67.0-next.56+d8f18cc386c",
6
+ "@theia/ai-core": "1.67.0-next.59+3f14297ea",
7
+ "@theia/core": "1.67.0-next.59+3f14297ea",
8
+ "@theia/editor": "1.67.0-next.59+3f14297ea",
9
+ "@theia/file-search": "1.67.0-next.59+3f14297ea",
10
+ "@theia/filesystem": "1.67.0-next.59+3f14297ea",
11
+ "@theia/monaco": "1.67.0-next.59+3f14297ea",
12
12
  "@theia/monaco-editor-core": "1.96.302",
13
- "@theia/workspace": "1.67.0-next.56+d8f18cc386c",
13
+ "@theia/workspace": "1.67.0-next.59+3f14297ea",
14
14
  "js-yaml": "^4.1.0",
15
15
  "tslib": "^2.6.2"
16
16
  },
@@ -54,5 +54,5 @@
54
54
  "nyc": {
55
55
  "extends": "../../configs/nyc.json"
56
56
  },
57
- "gitHead": "d8f18cc386c45a736cd193d42eab02c8f64c6b10"
57
+ "gitHead": "3f14297ea2edcdb1fffd74afee0613e70b43e125"
58
58
  }