genaicode 0.15.0 → 2.0.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 (984) hide show
  1. package/README.md +266 -91
  2. package/dist/cli.d.ts +2 -0
  3. package/dist/cli.js +4 -0
  4. package/dist/cli.js.map +1 -0
  5. package/dist/core/client.d.ts +36 -0
  6. package/dist/core/client.js +121 -0
  7. package/dist/core/client.js.map +1 -0
  8. package/dist/core/plugins.d.ts +14 -0
  9. package/dist/core/plugins.js +31 -0
  10. package/dist/core/plugins.js.map +1 -0
  11. package/dist/core/prompt.d.ts +14 -0
  12. package/dist/core/prompt.js +47 -0
  13. package/dist/core/prompt.js.map +1 -0
  14. package/dist/core/result.d.ts +5 -0
  15. package/dist/core/result.js +23 -0
  16. package/dist/core/result.js.map +1 -0
  17. package/dist/core/types.d.ts +103 -0
  18. package/dist/core/types.js +2 -0
  19. package/dist/core/types.js.map +1 -0
  20. package/dist/index.d.ts +7 -8
  21. package/dist/index.js +5 -11
  22. package/dist/index.js.map +1 -1
  23. package/dist/pivot-notice.d.ts +1 -0
  24. package/dist/pivot-notice.js +13 -0
  25. package/dist/pivot-notice.js.map +1 -0
  26. package/dist/providers/anthropic-converter.d.ts +12 -0
  27. package/dist/providers/anthropic-converter.js +111 -0
  28. package/dist/providers/anthropic-converter.js.map +1 -0
  29. package/dist/providers/anthropic.d.ts +11 -0
  30. package/dist/providers/anthropic.js +28 -0
  31. package/dist/providers/anthropic.js.map +1 -0
  32. package/dist/providers/google-converter.d.ts +10 -0
  33. package/dist/providers/google-converter.js +142 -0
  34. package/dist/providers/google-converter.js.map +1 -0
  35. package/dist/providers/google.d.ts +22 -0
  36. package/dist/providers/google.js +35 -0
  37. package/dist/providers/google.js.map +1 -0
  38. package/dist/providers/openai-converter.d.ts +16 -0
  39. package/dist/providers/openai-converter.js +110 -0
  40. package/dist/providers/openai-converter.js.map +1 -0
  41. package/dist/providers/openai.d.ts +13 -0
  42. package/dist/providers/openai.js +29 -0
  43. package/dist/providers/openai.js.map +1 -0
  44. package/dist/providers.d.ts +11 -0
  45. package/dist/providers.js +7 -0
  46. package/dist/providers.js.map +1 -0
  47. package/docs/pivot.md +95 -0
  48. package/package.json +32 -91
  49. package/bin/genaicode-dev.js +0 -12
  50. package/bin/genaicode.cjs +0 -23
  51. package/dist/ai-service/ai-studio.d.ts +0 -6
  52. package/dist/ai-service/ai-studio.js +0 -460
  53. package/dist/ai-service/ai-studio.js.map +0 -1
  54. package/dist/ai-service/anthropic.d.ts +0 -5
  55. package/dist/ai-service/anthropic.js +0 -353
  56. package/dist/ai-service/anthropic.js.map +0 -1
  57. package/dist/ai-service/common-types.d.ts +0 -131
  58. package/dist/ai-service/common-types.js +0 -10
  59. package/dist/ai-service/common-types.js.map +0 -1
  60. package/dist/ai-service/common.d.ts +0 -23
  61. package/dist/ai-service/common.js +0 -59
  62. package/dist/ai-service/common.js.map +0 -1
  63. package/dist/ai-service/dall-e.d.ts +0 -7
  64. package/dist/ai-service/dall-e.js +0 -44
  65. package/dist/ai-service/dall-e.js.map +0 -1
  66. package/dist/ai-service/files-api.d.ts +0 -33
  67. package/dist/ai-service/files-api.js +0 -239
  68. package/dist/ai-service/files-api.js.map +0 -1
  69. package/dist/ai-service/github-models.d.ts +0 -13
  70. package/dist/ai-service/github-models.js +0 -49
  71. package/dist/ai-service/github-models.js.map +0 -1
  72. package/dist/ai-service/local-llm.d.ts +0 -6
  73. package/dist/ai-service/local-llm.js +0 -74
  74. package/dist/ai-service/local-llm.js.map +0 -1
  75. package/dist/ai-service/openai-responses.d.ts +0 -9
  76. package/dist/ai-service/openai-responses.js +0 -332
  77. package/dist/ai-service/openai-responses.js.map +0 -1
  78. package/dist/ai-service/openai.d.ts +0 -9
  79. package/dist/ai-service/openai.js +0 -395
  80. package/dist/ai-service/openai.js.map +0 -1
  81. package/dist/ai-service/service-configurations-types.d.ts +0 -79
  82. package/dist/ai-service/service-configurations-types.js +0 -6
  83. package/dist/ai-service/service-configurations-types.js.map +0 -1
  84. package/dist/ai-service/service-configurations.d.ts +0 -42
  85. package/dist/ai-service/service-configurations.js +0 -241
  86. package/dist/ai-service/service-configurations.js.map +0 -1
  87. package/dist/ai-service/unescape-function-call.d.ts +0 -7
  88. package/dist/ai-service/unescape-function-call.js +0 -59
  89. package/dist/ai-service/unescape-function-call.js.map +0 -1
  90. package/dist/ai-service/vertex-ai-claude.d.ts +0 -5
  91. package/dist/ai-service/vertex-ai-claude.js +0 -160
  92. package/dist/ai-service/vertex-ai-claude.js.map +0 -1
  93. package/dist/ai-service/vertex-ai-imagen.d.ts +0 -7
  94. package/dist/ai-service/vertex-ai-imagen.js +0 -70
  95. package/dist/ai-service/vertex-ai-imagen.js.map +0 -1
  96. package/dist/ai-service/vertex-ai.d.ts +0 -6
  97. package/dist/ai-service/vertex-ai.js +0 -18
  98. package/dist/ai-service/vertex-ai.js.map +0 -1
  99. package/dist/cli/cli-options.d.ts +0 -10
  100. package/dist/cli/cli-options.js +0 -116
  101. package/dist/cli/cli-options.js.map +0 -1
  102. package/dist/cli/cli-params.d.ts +0 -29
  103. package/dist/cli/cli-params.js +0 -118
  104. package/dist/cli/cli-params.js.map +0 -1
  105. package/dist/cli/service-autodetect.d.ts +0 -2
  106. package/dist/cli/service-autodetect.js +0 -17
  107. package/dist/cli/service-autodetect.js.map +0 -1
  108. package/dist/cli/validate-cli-params.d.ts +0 -18
  109. package/dist/cli/validate-cli-params.js +0 -146
  110. package/dist/cli/validate-cli-params.js.map +0 -1
  111. package/dist/files/cache-file.d.ts +0 -10
  112. package/dist/files/cache-file.js +0 -57
  113. package/dist/files/cache-file.js.map +0 -1
  114. package/dist/files/file-id-utils.d.ts +0 -7
  115. package/dist/files/file-id-utils.js +0 -25
  116. package/dist/files/file-id-utils.js.map +0 -1
  117. package/dist/files/file-utils.d.ts +0 -2
  118. package/dist/files/file-utils.js +0 -7
  119. package/dist/files/file-utils.js.map +0 -1
  120. package/dist/files/find-files.d.ts +0 -10
  121. package/dist/files/find-files.js +0 -87
  122. package/dist/files/find-files.js.map +0 -1
  123. package/dist/files/path-utils.d.ts +0 -1
  124. package/dist/files/path-utils.js +0 -12
  125. package/dist/files/path-utils.js.map +0 -1
  126. package/dist/files/read-files.d.ts +0 -18
  127. package/dist/files/read-files.js +0 -107
  128. package/dist/files/read-files.js.map +0 -1
  129. package/dist/files/search-files.d.ts +0 -53
  130. package/dist/files/search-files.js +0 -97
  131. package/dist/files/search-files.js.map +0 -1
  132. package/dist/files/source-code-tree.d.ts +0 -16
  133. package/dist/files/source-code-tree.js +0 -41
  134. package/dist/files/source-code-tree.js.map +0 -1
  135. package/dist/files/source-code-types.d.ts +0 -53
  136. package/dist/files/source-code-types.js +0 -2
  137. package/dist/files/source-code-types.js.map +0 -1
  138. package/dist/files/source-code-utils.d.ts +0 -31
  139. package/dist/files/source-code-utils.js +0 -126
  140. package/dist/files/source-code-utils.js.map +0 -1
  141. package/dist/files/summary-cache.d.ts +0 -25
  142. package/dist/files/summary-cache.js +0 -23
  143. package/dist/files/summary-cache.js.map +0 -1
  144. package/dist/files/temp-buffer.d.ts +0 -2
  145. package/dist/files/temp-buffer.js +0 -12
  146. package/dist/files/temp-buffer.js.map +0 -1
  147. package/dist/files/update-files.d.ts +0 -7
  148. package/dist/files/update-files.js +0 -30
  149. package/dist/files/update-files.js.map +0 -1
  150. package/dist/help-docs/genaicode-help-document.d.ts +0 -1
  151. package/dist/help-docs/genaicode-help-document.js +0 -287
  152. package/dist/help-docs/genaicode-help-document.js.map +0 -1
  153. package/dist/images/ensure-alpha.d.ts +0 -1
  154. package/dist/images/ensure-alpha.js +0 -5
  155. package/dist/images/ensure-alpha.js.map +0 -1
  156. package/dist/images/imgly-remove-background.d.ts +0 -2
  157. package/dist/images/imgly-remove-background.js +0 -21
  158. package/dist/images/imgly-remove-background.js.map +0 -1
  159. package/dist/images/resize-image.d.ts +0 -19
  160. package/dist/images/resize-image.js +0 -22
  161. package/dist/images/resize-image.js.map +0 -1
  162. package/dist/images/split-image.d.ts +0 -18
  163. package/dist/images/split-image.js +0 -25
  164. package/dist/images/split-image.js.map +0 -1
  165. package/dist/main/codegen-non-interactive.d.ts +0 -2
  166. package/dist/main/codegen-non-interactive.js +0 -20
  167. package/dist/main/codegen-non-interactive.js.map +0 -1
  168. package/dist/main/codegen-types.d.ts +0 -145
  169. package/dist/main/codegen-types.js +0 -2
  170. package/dist/main/codegen-types.js.map +0 -1
  171. package/dist/main/codegen-utils.d.ts +0 -8
  172. package/dist/main/codegen-utils.js +0 -43
  173. package/dist/main/codegen-utils.js.map +0 -1
  174. package/dist/main/codegen.d.ts +0 -7
  175. package/dist/main/codegen.js +0 -122
  176. package/dist/main/codegen.js.map +0 -1
  177. package/dist/main/codegen.test-utils.d.ts +0 -81
  178. package/dist/main/codegen.test-utils.js +0 -87
  179. package/dist/main/codegen.test-utils.js.map +0 -1
  180. package/dist/main/common/abort-controller.d.ts +0 -2
  181. package/dist/main/common/abort-controller.js +0 -5
  182. package/dist/main/common/abort-controller.js.map +0 -1
  183. package/dist/main/common/app-context-bus.d.ts +0 -11
  184. package/dist/main/common/app-context-bus.js +0 -29
  185. package/dist/main/common/app-context-bus.js.map +0 -1
  186. package/dist/main/common/console-types.d.ts +0 -23
  187. package/dist/main/common/console-types.js +0 -8
  188. package/dist/main/common/console-types.js.map +0 -1
  189. package/dist/main/common/content-bus-types.d.ts +0 -60
  190. package/dist/main/common/content-bus-types.js +0 -12
  191. package/dist/main/common/content-bus-types.js.map +0 -1
  192. package/dist/main/common/content-bus.d.ts +0 -16
  193. package/dist/main/common/content-bus.js +0 -102
  194. package/dist/main/common/content-bus.js.map +0 -1
  195. package/dist/main/common/cost-collector.d.ts +0 -12
  196. package/dist/main/common/cost-collector.js +0 -90
  197. package/dist/main/common/cost-collector.js.map +0 -1
  198. package/dist/main/common/user-actions.d.ts +0 -36
  199. package/dist/main/common/user-actions.js +0 -59
  200. package/dist/main/common/user-actions.js.map +0 -1
  201. package/dist/main/config-lib.d.ts +0 -13
  202. package/dist/main/config-lib.js +0 -90
  203. package/dist/main/config-lib.js.map +0 -1
  204. package/dist/main/config-schema.d.ts +0 -15
  205. package/dist/main/config-schema.js +0 -320
  206. package/dist/main/config-schema.js.map +0 -1
  207. package/dist/main/config-types.d.ts +0 -96
  208. package/dist/main/config-types.js +0 -4
  209. package/dist/main/config-types.js.map +0 -1
  210. package/dist/main/config.d.ts +0 -14
  211. package/dist/main/config.js +0 -110
  212. package/dist/main/config.js.map +0 -1
  213. package/dist/main/interactive/codegen-interactive.d.ts +0 -2
  214. package/dist/main/interactive/codegen-interactive.js +0 -57
  215. package/dist/main/interactive/codegen-interactive.js.map +0 -1
  216. package/dist/main/interactive/codegen-worker.d.ts +0 -2
  217. package/dist/main/interactive/codegen-worker.js +0 -55
  218. package/dist/main/interactive/codegen-worker.js.map +0 -1
  219. package/dist/main/interactive/common.d.ts +0 -5
  220. package/dist/main/interactive/common.js +0 -49
  221. package/dist/main/interactive/common.js.map +0 -1
  222. package/dist/main/interactive/configure.d.ts +0 -2
  223. package/dist/main/interactive/configure.js +0 -95
  224. package/dist/main/interactive/configure.js.map +0 -1
  225. package/dist/main/interactive/error-handling.d.ts +0 -1
  226. package/dist/main/interactive/error-handling.js +0 -43
  227. package/dist/main/interactive/error-handling.js.map +0 -1
  228. package/dist/main/interactive/help.d.ts +0 -1
  229. package/dist/main/interactive/help.js +0 -20
  230. package/dist/main/interactive/help.js.map +0 -1
  231. package/dist/main/interactive/select-ai-service.d.ts +0 -2
  232. package/dist/main/interactive/select-ai-service.js +0 -27
  233. package/dist/main/interactive/select-ai-service.js.map +0 -1
  234. package/dist/main/interactive/task-file.d.ts +0 -2
  235. package/dist/main/interactive/task-file.js +0 -35
  236. package/dist/main/interactive/task-file.js.map +0 -1
  237. package/dist/main/interactive/text-prompt.d.ts +0 -2
  238. package/dist/main/interactive/text-prompt.js +0 -18
  239. package/dist/main/interactive/text-prompt.js.map +0 -1
  240. package/dist/main/interactive/user-action-handlers.d.ts +0 -1
  241. package/dist/main/interactive/user-action-handlers.js +0 -20
  242. package/dist/main/interactive/user-action-handlers.js.map +0 -1
  243. package/dist/main/interactive/user-interrupt.d.ts +0 -1
  244. package/dist/main/interactive/user-interrupt.js +0 -36
  245. package/dist/main/interactive/user-interrupt.js.map +0 -1
  246. package/dist/main/knowledge/knowledge-store.d.ts +0 -6
  247. package/dist/main/knowledge/knowledge-store.js +0 -128
  248. package/dist/main/knowledge/knowledge-store.js.map +0 -1
  249. package/dist/main/knowledge/types.d.ts +0 -20
  250. package/dist/main/knowledge/types.js +0 -2
  251. package/dist/main/knowledge/types.js.map +0 -1
  252. package/dist/main/plugin-loader.d.ts +0 -36
  253. package/dist/main/plugin-loader.js +0 -245
  254. package/dist/main/plugin-loader.js.map +0 -1
  255. package/dist/main/ui/backend/api-handlers.d.ts +0 -6
  256. package/dist/main/ui/backend/api-handlers.js +0 -5
  257. package/dist/main/ui/backend/api-handlers.js.map +0 -1
  258. package/dist/main/ui/backend/api-utils.d.ts +0 -2
  259. package/dist/main/ui/backend/api-utils.js +0 -18
  260. package/dist/main/ui/backend/api-utils.js.map +0 -1
  261. package/dist/main/ui/backend/api.d.ts +0 -3
  262. package/dist/main/ui/backend/api.js +0 -25
  263. package/dist/main/ui/backend/api.js.map +0 -1
  264. package/dist/main/ui/backend/endpoints/compress-context-endpoint.d.ts +0 -1
  265. package/dist/main/ui/backend/endpoints/compress-context-endpoint.js +0 -18
  266. package/dist/main/ui/backend/endpoints/compress-context-endpoint.js.map +0 -1
  267. package/dist/main/ui/backend/endpoints/config-endpoint.d.ts +0 -1
  268. package/dist/main/ui/backend/endpoints/config-endpoint.js +0 -51
  269. package/dist/main/ui/backend/endpoints/config-endpoint.js.map +0 -1
  270. package/dist/main/ui/backend/endpoints/console-logs-endpoint.d.ts +0 -1
  271. package/dist/main/ui/backend/endpoints/console-logs-endpoint.js +0 -19
  272. package/dist/main/ui/backend/endpoints/console-logs-endpoint.js.map +0 -1
  273. package/dist/main/ui/backend/endpoints/content-endpoint.d.ts +0 -1
  274. package/dist/main/ui/backend/endpoints/content-endpoint.js +0 -14
  275. package/dist/main/ui/backend/endpoints/content-endpoint.js.map +0 -1
  276. package/dist/main/ui/backend/endpoints/context-endpoint.d.ts +0 -1
  277. package/dist/main/ui/backend/endpoints/context-endpoint.js +0 -169
  278. package/dist/main/ui/backend/endpoints/context-endpoint.js.map +0 -1
  279. package/dist/main/ui/backend/endpoints/edit-message-endpoint.d.ts +0 -1
  280. package/dist/main/ui/backend/endpoints/edit-message-endpoint.js +0 -37
  281. package/dist/main/ui/backend/endpoints/edit-message-endpoint.js.map +0 -1
  282. package/dist/main/ui/backend/endpoints/execute-codegen-endpoint.d.ts +0 -1
  283. package/dist/main/ui/backend/endpoints/execute-codegen-endpoint.js +0 -44
  284. package/dist/main/ui/backend/endpoints/execute-codegen-endpoint.js.map +0 -1
  285. package/dist/main/ui/backend/endpoints/execution-status-endpoint.d.ts +0 -1
  286. package/dist/main/ui/backend/endpoints/execution-status-endpoint.js +0 -37
  287. package/dist/main/ui/backend/endpoints/execution-status-endpoint.js.map +0 -1
  288. package/dist/main/ui/backend/endpoints/generate-content-endpoint.d.ts +0 -1
  289. package/dist/main/ui/backend/endpoints/generate-content-endpoint.js +0 -31
  290. package/dist/main/ui/backend/endpoints/generate-content-endpoint.js.map +0 -1
  291. package/dist/main/ui/backend/endpoints/index.d.ts +0 -13
  292. package/dist/main/ui/backend/endpoints/index.js +0 -14
  293. package/dist/main/ui/backend/endpoints/index.js.map +0 -1
  294. package/dist/main/ui/backend/endpoints/interrupt-execution-endpoint.d.ts +0 -1
  295. package/dist/main/ui/backend/endpoints/interrupt-execution-endpoint.js +0 -28
  296. package/dist/main/ui/backend/endpoints/interrupt-execution-endpoint.js.map +0 -1
  297. package/dist/main/ui/backend/endpoints/iteration-endpoint.d.ts +0 -1
  298. package/dist/main/ui/backend/endpoints/iteration-endpoint.js +0 -16
  299. package/dist/main/ui/backend/endpoints/iteration-endpoint.js.map +0 -1
  300. package/dist/main/ui/backend/endpoints/question-endpoint.d.ts +0 -1
  301. package/dist/main/ui/backend/endpoints/question-endpoint.js +0 -72
  302. package/dist/main/ui/backend/endpoints/question-endpoint.js.map +0 -1
  303. package/dist/main/ui/backend/endpoints/service-configuration-endpoint.d.ts +0 -1
  304. package/dist/main/ui/backend/endpoints/service-configuration-endpoint.js +0 -54
  305. package/dist/main/ui/backend/endpoints/service-configuration-endpoint.js.map +0 -1
  306. package/dist/main/ui/backend/endpoints/usage-endpoint.d.ts +0 -1
  307. package/dist/main/ui/backend/endpoints/usage-endpoint.js +0 -15
  308. package/dist/main/ui/backend/endpoints/usage-endpoint.js.map +0 -1
  309. package/dist/main/ui/backend/server.d.ts +0 -8
  310. package/dist/main/ui/backend/server.js +0 -84
  311. package/dist/main/ui/backend/server.js.map +0 -1
  312. package/dist/main/ui/backend/service.d.ts +0 -158
  313. package/dist/main/ui/backend/service.js +0 -622
  314. package/dist/main/ui/backend/service.js.map +0 -1
  315. package/dist/main/ui/codegen-ui.d.ts +0 -6
  316. package/dist/main/ui/codegen-ui.js +0 -22
  317. package/dist/main/ui/codegen-ui.js.map +0 -1
  318. package/dist/main/ui/common/api-types.d.ts +0 -170
  319. package/dist/main/ui/common/api-types.js +0 -13
  320. package/dist/main/ui/common/api-types.js.map +0 -1
  321. package/dist/main/ui/frontend/assets/favicon-DvroFOpS.png +0 -0
  322. package/dist/main/ui/frontend/assets/index-5QDg_0vR.css +0 -1
  323. package/dist/main/ui/frontend/assets/index-DAM_kJhM.js +0 -3445
  324. package/dist/main/ui/frontend/assets/logo-BGHkG1-J.png +0 -0
  325. package/dist/main/ui/frontend/assets/logo-dark-KAsU1C78.png +0 -0
  326. package/dist/main/ui/frontend/assets/press-start-2p-cyrillic-400-normal-oElOGqNf.woff2 +0 -0
  327. package/dist/main/ui/frontend/assets/press-start-2p-cyrillic-ext-400-normal-COIQET2s.woff2 +0 -0
  328. package/dist/main/ui/frontend/assets/press-start-2p-greek-400-normal-DUIT0YPZ.woff2 +0 -0
  329. package/dist/main/ui/frontend/assets/press-start-2p-latin-400-normal-BKfmdmKK.woff +0 -0
  330. package/dist/main/ui/frontend/assets/press-start-2p-latin-400-normal-xj9lRvVs.woff2 +0 -0
  331. package/dist/main/ui/frontend/assets/press-start-2p-latin-ext-400-normal-B18ub5-k.woff +0 -0
  332. package/dist/main/ui/frontend/assets/press-start-2p-latin-ext-400-normal-DDIa4im3.woff2 +0 -0
  333. package/dist/main/ui/frontend/assets/wolf-bark-Bl17CX4O.mp3 +0 -0
  334. package/dist/main/ui/frontend/index.html +0 -16
  335. package/dist/main/ui/user-action-handlers.d.ts +0 -2
  336. package/dist/main/ui/user-action-handlers.js +0 -34
  337. package/dist/main/ui/user-action-handlers.js.map +0 -1
  338. package/dist/operations/create-directory/create-directory-def.d.ts +0 -9
  339. package/dist/operations/create-directory/create-directory-def.js +0 -22
  340. package/dist/operations/create-directory/create-directory-def.js.map +0 -1
  341. package/dist/operations/create-directory/create-directory-executor.d.ts +0 -6
  342. package/dist/operations/create-directory/create-directory-executor.js +0 -22
  343. package/dist/operations/create-directory/create-directory-executor.js.map +0 -1
  344. package/dist/operations/create-file/create-file-def.d.ts +0 -10
  345. package/dist/operations/create-file/create-file-def.js +0 -29
  346. package/dist/operations/create-file/create-file-def.js.map +0 -1
  347. package/dist/operations/create-file/create-file-executor.d.ts +0 -6
  348. package/dist/operations/create-file/create-file-executor.js +0 -27
  349. package/dist/operations/create-file/create-file-executor.js.map +0 -1
  350. package/dist/operations/delete-file/delete-file-def.d.ts +0 -9
  351. package/dist/operations/delete-file/delete-file-def.js +0 -22
  352. package/dist/operations/delete-file/delete-file-def.js.map +0 -1
  353. package/dist/operations/delete-file/delete-file-executor.d.ts +0 -6
  354. package/dist/operations/delete-file/delete-file-executor.js +0 -23
  355. package/dist/operations/delete-file/delete-file-executor.js.map +0 -1
  356. package/dist/operations/download-file/download-file-def.d.ts +0 -10
  357. package/dist/operations/download-file/download-file-def.js +0 -26
  358. package/dist/operations/download-file/download-file-def.js.map +0 -1
  359. package/dist/operations/download-file/download-file-executor.d.ts +0 -6
  360. package/dist/operations/download-file/download-file-executor.js +0 -44
  361. package/dist/operations/download-file/download-file-executor.js.map +0 -1
  362. package/dist/operations/imgly-remove-background/imgly-remove-background-def.d.ts +0 -10
  363. package/dist/operations/imgly-remove-background/imgly-remove-background-def.js +0 -26
  364. package/dist/operations/imgly-remove-background/imgly-remove-background-def.js.map +0 -1
  365. package/dist/operations/imgly-remove-background/imgly-remove-background-executor.d.ts +0 -6
  366. package/dist/operations/imgly-remove-background/imgly-remove-background-executor.js +0 -40
  367. package/dist/operations/imgly-remove-background/imgly-remove-background-executor.js.map +0 -1
  368. package/dist/operations/move-file/move-file-def.d.ts +0 -10
  369. package/dist/operations/move-file/move-file-def.js +0 -26
  370. package/dist/operations/move-file/move-file-def.js.map +0 -1
  371. package/dist/operations/move-file/move-file-executor.d.ts +0 -6
  372. package/dist/operations/move-file/move-file-executor.js +0 -29
  373. package/dist/operations/move-file/move-file-executor.js.map +0 -1
  374. package/dist/operations/operations-index.d.ts +0 -3
  375. package/dist/operations/operations-index.js +0 -33
  376. package/dist/operations/operations-index.js.map +0 -1
  377. package/dist/operations/patch-file/patch-file-def.d.ts +0 -10
  378. package/dist/operations/patch-file/patch-file-def.js +0 -40
  379. package/dist/operations/patch-file/patch-file-def.js.map +0 -1
  380. package/dist/operations/patch-file/patch-file-executor.d.ts +0 -5
  381. package/dist/operations/patch-file/patch-file-executor.js +0 -26
  382. package/dist/operations/patch-file/patch-file-executor.js.map +0 -1
  383. package/dist/operations/resize-image/resize-image-def.d.ts +0 -13
  384. package/dist/operations/resize-image/resize-image-def.js +0 -37
  385. package/dist/operations/resize-image/resize-image-def.js.map +0 -1
  386. package/dist/operations/resize-image/resize-image-executor.d.ts +0 -5
  387. package/dist/operations/resize-image/resize-image-executor.js +0 -30
  388. package/dist/operations/resize-image/resize-image-executor.js.map +0 -1
  389. package/dist/operations/split-image/split-image-def.d.ts +0 -18
  390. package/dist/operations/split-image/split-image-def.js +0 -46
  391. package/dist/operations/split-image/split-image-def.js.map +0 -1
  392. package/dist/operations/split-image/split-image-executor.d.ts +0 -6
  393. package/dist/operations/split-image/split-image-executor.js +0 -51
  394. package/dist/operations/split-image/split-image-executor.js.map +0 -1
  395. package/dist/operations/update-file/update-file-def.d.ts +0 -10
  396. package/dist/operations/update-file/update-file-def.js +0 -27
  397. package/dist/operations/update-file/update-file-def.js.map +0 -1
  398. package/dist/operations/update-file/update-file-executor.d.ts +0 -5
  399. package/dist/operations/update-file/update-file-executor.js +0 -22
  400. package/dist/operations/update-file/update-file-executor.js.map +0 -1
  401. package/dist/project-profiles/detection.d.ts +0 -40
  402. package/dist/project-profiles/detection.js +0 -131
  403. package/dist/project-profiles/detection.js.map +0 -1
  404. package/dist/project-profiles/index.d.ts +0 -35
  405. package/dist/project-profiles/index.js +0 -72
  406. package/dist/project-profiles/index.js.map +0 -1
  407. package/dist/project-profiles/profiles/golang.d.ts +0 -65
  408. package/dist/project-profiles/profiles/golang.js +0 -208
  409. package/dist/project-profiles/profiles/golang.js.map +0 -1
  410. package/dist/project-profiles/profiles/java-maven.d.ts +0 -80
  411. package/dist/project-profiles/profiles/java-maven.js +0 -165
  412. package/dist/project-profiles/profiles/java-maven.js.map +0 -1
  413. package/dist/project-profiles/profiles/javascript-npm.d.ts +0 -40
  414. package/dist/project-profiles/profiles/javascript-npm.js +0 -118
  415. package/dist/project-profiles/profiles/javascript-npm.js.map +0 -1
  416. package/dist/project-profiles/profiles/javascript-react.d.ts +0 -46
  417. package/dist/project-profiles/profiles/javascript-react.js +0 -147
  418. package/dist/project-profiles/profiles/javascript-react.js.map +0 -1
  419. package/dist/project-profiles/profiles/python-django.d.ts +0 -58
  420. package/dist/project-profiles/profiles/python-django.js +0 -200
  421. package/dist/project-profiles/profiles/python-django.js.map +0 -1
  422. package/dist/project-profiles/types.d.ts +0 -122
  423. package/dist/project-profiles/types.js +0 -77
  424. package/dist/project-profiles/types.js.map +0 -1
  425. package/dist/prompt/ai-service-fallback.d.ts +0 -4
  426. package/dist/prompt/ai-service-fallback.js +0 -47
  427. package/dist/prompt/ai-service-fallback.js.map +0 -1
  428. package/dist/prompt/context-utils.d.ts +0 -7
  429. package/dist/prompt/context-utils.js +0 -33
  430. package/dist/prompt/context-utils.js.map +0 -1
  431. package/dist/prompt/function-calling-validate.d.ts +0 -4
  432. package/dist/prompt/function-calling-validate.js +0 -109
  433. package/dist/prompt/function-calling-validate.js.map +0 -1
  434. package/dist/prompt/function-calling.d.ts +0 -5
  435. package/dist/prompt/function-calling.js +0 -88
  436. package/dist/prompt/function-calling.js.map +0 -1
  437. package/dist/prompt/function-defs/analysis-result.d.ts +0 -7
  438. package/dist/prompt/function-defs/analysis-result.js +0 -24
  439. package/dist/prompt/function-defs/analysis-result.js.map +0 -1
  440. package/dist/prompt/function-defs/ask-question.d.ts +0 -20
  441. package/dist/prompt/function-defs/ask-question.js +0 -373
  442. package/dist/prompt/function-defs/ask-question.js.map +0 -1
  443. package/dist/prompt/function-defs/code-execution.d.ts +0 -7
  444. package/dist/prompt/function-defs/code-execution.js +0 -27
  445. package/dist/prompt/function-defs/code-execution.js.map +0 -1
  446. package/dist/prompt/function-defs/codegen-planning.d.ts +0 -8
  447. package/dist/prompt/function-defs/codegen-planning.js +0 -60
  448. package/dist/prompt/function-defs/codegen-planning.js.map +0 -1
  449. package/dist/prompt/function-defs/codegen-summary.d.ts +0 -5
  450. package/dist/prompt/function-defs/codegen-summary.js +0 -103
  451. package/dist/prompt/function-defs/codegen-summary.js.map +0 -1
  452. package/dist/prompt/function-defs/compound-action-list.d.ts +0 -7
  453. package/dist/prompt/function-defs/compound-action-list.js +0 -38
  454. package/dist/prompt/function-defs/compound-action-list.js.map +0 -1
  455. package/dist/prompt/function-defs/compound-action.d.ts +0 -2
  456. package/dist/prompt/function-defs/compound-action.js +0 -47
  457. package/dist/prompt/function-defs/compound-action.js.map +0 -1
  458. package/dist/prompt/function-defs/container-task-commands.d.ts +0 -10
  459. package/dist/prompt/function-defs/container-task-commands.js +0 -185
  460. package/dist/prompt/function-defs/container-task-commands.js.map +0 -1
  461. package/dist/prompt/function-defs/context-compression.d.ts +0 -47
  462. package/dist/prompt/function-defs/context-compression.js +0 -49
  463. package/dist/prompt/function-defs/context-compression.js.map +0 -1
  464. package/dist/prompt/function-defs/conversation-graph.d.ts +0 -33
  465. package/dist/prompt/function-defs/conversation-graph.js +0 -110
  466. package/dist/prompt/function-defs/conversation-graph.js.map +0 -1
  467. package/dist/prompt/function-defs/conversation-summary.d.ts +0 -2
  468. package/dist/prompt/function-defs/conversation-summary.js +0 -15
  469. package/dist/prompt/function-defs/conversation-summary.js.map +0 -1
  470. package/dist/prompt/function-defs/explanation.d.ts +0 -5
  471. package/dist/prompt/function-defs/explanation.js +0 -18
  472. package/dist/prompt/function-defs/explanation.js.map +0 -1
  473. package/dist/prompt/function-defs/explore-external-directories.d.ts +0 -16
  474. package/dist/prompt/function-defs/explore-external-directories.js +0 -48
  475. package/dist/prompt/function-defs/explore-external-directories.js.map +0 -1
  476. package/dist/prompt/function-defs/extract-file-fragments.d.ts +0 -27
  477. package/dist/prompt/function-defs/extract-file-fragments.js +0 -36
  478. package/dist/prompt/function-defs/extract-file-fragments.js.map +0 -1
  479. package/dist/prompt/function-defs/genaicode-help.d.ts +0 -6
  480. package/dist/prompt/function-defs/genaicode-help.js +0 -23
  481. package/dist/prompt/function-defs/genaicode-help.js.map +0 -1
  482. package/dist/prompt/function-defs/generate-image.d.ts +0 -5
  483. package/dist/prompt/function-defs/generate-image.js +0 -42
  484. package/dist/prompt/function-defs/generate-image.js.map +0 -1
  485. package/dist/prompt/function-defs/get-image-assets.d.ts +0 -5
  486. package/dist/prompt/function-defs/get-image-assets.js +0 -21
  487. package/dist/prompt/function-defs/get-image-assets.js.map +0 -1
  488. package/dist/prompt/function-defs/get-source-code.d.ts +0 -5
  489. package/dist/prompt/function-defs/get-source-code.js +0 -49
  490. package/dist/prompt/function-defs/get-source-code.js.map +0 -1
  491. package/dist/prompt/function-defs/iterate.d.ts +0 -20
  492. package/dist/prompt/function-defs/iterate.js +0 -373
  493. package/dist/prompt/function-defs/iterate.js.map +0 -1
  494. package/dist/prompt/function-defs/optimize-context.d.ts +0 -5
  495. package/dist/prompt/function-defs/optimize-context.js +0 -74
  496. package/dist/prompt/function-defs/optimize-context.js.map +0 -1
  497. package/dist/prompt/function-defs/perform-analysis.d.ts +0 -8
  498. package/dist/prompt/function-defs/perform-analysis.js +0 -28
  499. package/dist/prompt/function-defs/perform-analysis.js.map +0 -1
  500. package/dist/prompt/function-defs/pull-console-logs.d.ts +0 -2
  501. package/dist/prompt/function-defs/pull-console-logs.js +0 -29
  502. package/dist/prompt/function-defs/pull-console-logs.js.map +0 -1
  503. package/dist/prompt/function-defs/read-external-files.d.ts +0 -9
  504. package/dist/prompt/function-defs/read-external-files.js +0 -30
  505. package/dist/prompt/function-defs/read-external-files.js.map +0 -1
  506. package/dist/prompt/function-defs/read-history.d.ts +0 -2
  507. package/dist/prompt/function-defs/read-history.js +0 -14
  508. package/dist/prompt/function-defs/read-history.js.map +0 -1
  509. package/dist/prompt/function-defs/reasoning-inference.d.ts +0 -3
  510. package/dist/prompt/function-defs/reasoning-inference.js +0 -39
  511. package/dist/prompt/function-defs/reasoning-inference.js.map +0 -1
  512. package/dist/prompt/function-defs/run-bash-command.d.ts +0 -2
  513. package/dist/prompt/function-defs/run-bash-command.js +0 -29
  514. package/dist/prompt/function-defs/run-bash-command.js.map +0 -1
  515. package/dist/prompt/function-defs/run-container-task.d.ts +0 -11
  516. package/dist/prompt/function-defs/run-container-task.js +0 -41
  517. package/dist/prompt/function-defs/run-container-task.js.map +0 -1
  518. package/dist/prompt/function-defs/run-project-command.d.ts +0 -2
  519. package/dist/prompt/function-defs/run-project-command.js +0 -40
  520. package/dist/prompt/function-defs/run-project-command.js.map +0 -1
  521. package/dist/prompt/function-defs/set-summaries.d.ts +0 -5
  522. package/dist/prompt/function-defs/set-summaries.js +0 -59
  523. package/dist/prompt/function-defs/set-summaries.js.map +0 -1
  524. package/dist/prompt/function-defs/structured-question.d.ts +0 -2
  525. package/dist/prompt/function-defs/structured-question.js +0 -64
  526. package/dist/prompt/function-defs/structured-question.js.map +0 -1
  527. package/dist/prompt/function-defs/update-history.d.ts +0 -5
  528. package/dist/prompt/function-defs/update-history.js +0 -22
  529. package/dist/prompt/function-defs/update-history.js.map +0 -1
  530. package/dist/prompt/function-defs/web-search.d.ts +0 -9
  531. package/dist/prompt/function-defs/web-search.js +0 -16
  532. package/dist/prompt/function-defs/web-search.js.map +0 -1
  533. package/dist/prompt/limits.d.ts +0 -3
  534. package/dist/prompt/limits.js +0 -21
  535. package/dist/prompt/limits.js.map +0 -1
  536. package/dist/prompt/prompt-codegen.d.ts +0 -9
  537. package/dist/prompt/prompt-codegen.js +0 -45
  538. package/dist/prompt/prompt-codegen.js.map +0 -1
  539. package/dist/prompt/prompt-service.d.ts +0 -8
  540. package/dist/prompt/prompt-service.js +0 -147
  541. package/dist/prompt/prompt-service.js.map +0 -1
  542. package/dist/prompt/prompt-service.test-utils.d.ts +0 -66
  543. package/dist/prompt/prompt-service.test-utils.js +0 -171
  544. package/dist/prompt/prompt-service.test-utils.js.map +0 -1
  545. package/dist/prompt/source-code-optimize.d.ts +0 -2
  546. package/dist/prompt/source-code-optimize.js +0 -27
  547. package/dist/prompt/source-code-optimize.js.map +0 -1
  548. package/dist/prompt/static-prompts.d.ts +0 -17
  549. package/dist/prompt/static-prompts.js +0 -23
  550. package/dist/prompt/static-prompts.js.map +0 -1
  551. package/dist/prompt/steps/step-ask-question/ask-question-handler.d.ts +0 -3
  552. package/dist/prompt/steps/step-ask-question/ask-question-handler.js +0 -13
  553. package/dist/prompt/steps/step-ask-question/ask-question-handler.js.map +0 -1
  554. package/dist/prompt/steps/step-ask-question/handlers/container-task/command-execution-loop.d.ts +0 -7
  555. package/dist/prompt/steps/step-ask-question/handlers/container-task/command-execution-loop.js +0 -301
  556. package/dist/prompt/steps/step-ask-question/handlers/container-task/command-execution-loop.js.map +0 -1
  557. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/check-context.d.ts +0 -12
  558. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/check-context.js +0 -41
  559. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/check-context.js.map +0 -1
  560. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/complete-task.d.ts +0 -4
  561. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/complete-task.js +0 -49
  562. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/complete-task.js.map +0 -1
  563. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/copy-from-container.d.ts +0 -4
  564. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/copy-from-container.js +0 -190
  565. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/copy-from-container.js.map +0 -1
  566. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/copy-to-container.d.ts +0 -4
  567. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/copy-to-container.js +0 -139
  568. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/copy-to-container.js.map +0 -1
  569. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/edit-file.d.ts +0 -10
  570. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/edit-file.js +0 -93
  571. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/edit-file.js.map +0 -1
  572. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/fail-task.d.ts +0 -4
  573. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/fail-task.js +0 -72
  574. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/fail-task.js.map +0 -1
  575. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/gain-knowledge.d.ts +0 -10
  576. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/gain-knowledge.js +0 -125
  577. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/gain-knowledge.js.map +0 -1
  578. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/interrupt-controller.d.ts +0 -19
  579. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/interrupt-controller.js +0 -33
  580. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/interrupt-controller.js.map +0 -1
  581. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/query-knowledge.d.ts +0 -8
  582. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/query-knowledge.js +0 -85
  583. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/query-knowledge.js.map +0 -1
  584. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/request-secret.d.ts +0 -6
  585. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/request-secret.js +0 -122
  586. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/request-secret.js.map +0 -1
  587. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/run-command.d.ts +0 -7
  588. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/run-command.js +0 -146
  589. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/run-command.js.map +0 -1
  590. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/send-message.d.ts +0 -4
  591. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/send-message.js +0 -56
  592. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/send-message.js.map +0 -1
  593. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/set-execution-plan.d.ts +0 -4
  594. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/set-execution-plan.js +0 -56
  595. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/set-execution-plan.js.map +0 -1
  596. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/update-execution-plan.d.ts +0 -4
  597. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/update-execution-plan.js +0 -39
  598. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/update-execution-plan.js.map +0 -1
  599. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/view-file.d.ts +0 -10
  600. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/view-file.js +0 -95
  601. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/view-file.js.map +0 -1
  602. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/web-search.d.ts +0 -2
  603. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/web-search.js +0 -96
  604. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/web-search.js.map +0 -1
  605. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/wrap-context.d.ts +0 -4
  606. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/wrap-context.js +0 -123
  607. package/dist/prompt/steps/step-ask-question/handlers/container-task/commands/wrap-context.js.map +0 -1
  608. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-command-handlers.d.ts +0 -34
  609. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-command-handlers.js +0 -332
  610. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-command-handlers.js.map +0 -1
  611. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-commands-registry.d.ts +0 -11
  612. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-commands-registry.js +0 -50
  613. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-commands-registry.js.map +0 -1
  614. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-commands-types.d.ts +0 -28
  615. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-commands-types.js +0 -2
  616. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-commands-types.js.map +0 -1
  617. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-task-orchestrator.d.ts +0 -2
  618. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-task-orchestrator.js +0 -202
  619. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-task-orchestrator.js.map +0 -1
  620. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-task-types.d.ts +0 -52
  621. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-task-types.js +0 -2
  622. package/dist/prompt/steps/step-ask-question/handlers/container-task/container-task-types.js.map +0 -1
  623. package/dist/prompt/steps/step-ask-question/handlers/container-task/utils/docker-check.d.ts +0 -4
  624. package/dist/prompt/steps/step-ask-question/handlers/container-task/utils/docker-check.js +0 -15
  625. package/dist/prompt/steps/step-ask-question/handlers/container-task/utils/docker-check.js.map +0 -1
  626. package/dist/prompt/steps/step-ask-question/handlers/container-task/utils/docker-utils.d.ts +0 -50
  627. package/dist/prompt/steps/step-ask-question/handlers/container-task/utils/docker-utils.js +0 -358
  628. package/dist/prompt/steps/step-ask-question/handlers/container-task/utils/docker-utils.js.map +0 -1
  629. package/dist/prompt/steps/step-ask-question/handlers/file-request-utils.d.ts +0 -47
  630. package/dist/prompt/steps/step-ask-question/handlers/file-request-utils.js +0 -114
  631. package/dist/prompt/steps/step-ask-question/handlers/file-request-utils.js.map +0 -1
  632. package/dist/prompt/steps/step-ask-question/handlers/handle-code-generation.d.ts +0 -4
  633. package/dist/prompt/steps/step-ask-question/handlers/handle-code-generation.js +0 -177
  634. package/dist/prompt/steps/step-ask-question/handlers/handle-code-generation.js.map +0 -1
  635. package/dist/prompt/steps/step-ask-question/handlers/handle-compound-action.d.ts +0 -20
  636. package/dist/prompt/steps/step-ask-question/handlers/handle-compound-action.js +0 -305
  637. package/dist/prompt/steps/step-ask-question/handlers/handle-compound-action.js.map +0 -1
  638. package/dist/prompt/steps/step-ask-question/handlers/handle-confirm-code-generation.d.ts +0 -2
  639. package/dist/prompt/steps/step-ask-question/handlers/handle-confirm-code-generation.js +0 -40
  640. package/dist/prompt/steps/step-ask-question/handlers/handle-confirm-code-generation.js.map +0 -1
  641. package/dist/prompt/steps/step-ask-question/handlers/handle-context-compression.d.ts +0 -2
  642. package/dist/prompt/steps/step-ask-question/handlers/handle-context-compression.js +0 -35
  643. package/dist/prompt/steps/step-ask-question/handlers/handle-context-compression.js.map +0 -1
  644. package/dist/prompt/steps/step-ask-question/handlers/handle-context-optimization.d.ts +0 -2
  645. package/dist/prompt/steps/step-ask-question/handlers/handle-context-optimization.js +0 -34
  646. package/dist/prompt/steps/step-ask-question/handlers/handle-context-optimization.js.map +0 -1
  647. package/dist/prompt/steps/step-ask-question/handlers/handle-conversation-graph.d.ts +0 -11
  648. package/dist/prompt/steps/step-ask-question/handlers/handle-conversation-graph.js +0 -503
  649. package/dist/prompt/steps/step-ask-question/handlers/handle-conversation-graph.js.map +0 -1
  650. package/dist/prompt/steps/step-ask-question/handlers/handle-create-file.d.ts +0 -2
  651. package/dist/prompt/steps/step-ask-question/handlers/handle-create-file.js +0 -159
  652. package/dist/prompt/steps/step-ask-question/handlers/handle-create-file.js.map +0 -1
  653. package/dist/prompt/steps/step-ask-question/handlers/handle-end-conversation.d.ts +0 -2
  654. package/dist/prompt/steps/step-ask-question/handlers/handle-end-conversation.js +0 -30
  655. package/dist/prompt/steps/step-ask-question/handlers/handle-end-conversation.js.map +0 -1
  656. package/dist/prompt/steps/step-ask-question/handlers/handle-explore-external-directories.d.ts +0 -2
  657. package/dist/prompt/steps/step-ask-question/handlers/handle-explore-external-directories.js +0 -280
  658. package/dist/prompt/steps/step-ask-question/handlers/handle-explore-external-directories.js.map +0 -1
  659. package/dist/prompt/steps/step-ask-question/handlers/handle-genaicode-help.d.ts +0 -8
  660. package/dist/prompt/steps/step-ask-question/handlers/handle-genaicode-help.js +0 -105
  661. package/dist/prompt/steps/step-ask-question/handlers/handle-genaicode-help.js.map +0 -1
  662. package/dist/prompt/steps/step-ask-question/handlers/handle-generate-image.d.ts +0 -2
  663. package/dist/prompt/steps/step-ask-question/handlers/handle-generate-image.js +0 -110
  664. package/dist/prompt/steps/step-ask-question/handlers/handle-generate-image.js.map +0 -1
  665. package/dist/prompt/steps/step-ask-question/handlers/handle-lint.d.ts +0 -6
  666. package/dist/prompt/steps/step-ask-question/handlers/handle-lint.js +0 -60
  667. package/dist/prompt/steps/step-ask-question/handlers/handle-lint.js.map +0 -1
  668. package/dist/prompt/steps/step-ask-question/handlers/handle-perform-analysis.d.ts +0 -6
  669. package/dist/prompt/steps/step-ask-question/handlers/handle-perform-analysis.js +0 -110
  670. package/dist/prompt/steps/step-ask-question/handlers/handle-perform-analysis.js.map +0 -1
  671. package/dist/prompt/steps/step-ask-question/handlers/handle-project-command.d.ts +0 -2
  672. package/dist/prompt/steps/step-ask-question/handlers/handle-project-command.js +0 -282
  673. package/dist/prompt/steps/step-ask-question/handlers/handle-project-command.js.map +0 -1
  674. package/dist/prompt/steps/step-ask-question/handlers/handle-pull-app-context.d.ts +0 -9
  675. package/dist/prompt/steps/step-ask-question/handlers/handle-pull-app-context.js +0 -94
  676. package/dist/prompt/steps/step-ask-question/handlers/handle-pull-app-context.js.map +0 -1
  677. package/dist/prompt/steps/step-ask-question/handlers/handle-pull-console-logs.d.ts +0 -2
  678. package/dist/prompt/steps/step-ask-question/handlers/handle-pull-console-logs.js +0 -174
  679. package/dist/prompt/steps/step-ask-question/handlers/handle-pull-console-logs.js.map +0 -1
  680. package/dist/prompt/steps/step-ask-question/handlers/handle-push-app-context.d.ts +0 -9
  681. package/dist/prompt/steps/step-ask-question/handlers/handle-push-app-context.js +0 -104
  682. package/dist/prompt/steps/step-ask-question/handlers/handle-push-app-context.js.map +0 -1
  683. package/dist/prompt/steps/step-ask-question/handlers/handle-read-external-files.d.ts +0 -2
  684. package/dist/prompt/steps/step-ask-question/handlers/handle-read-external-files.js +0 -149
  685. package/dist/prompt/steps/step-ask-question/handlers/handle-read-external-files.js.map +0 -1
  686. package/dist/prompt/steps/step-ask-question/handlers/handle-reasoning-inference.d.ts +0 -7
  687. package/dist/prompt/steps/step-ask-question/handlers/handle-reasoning-inference.js +0 -119
  688. package/dist/prompt/steps/step-ask-question/handlers/handle-reasoning-inference.js.map +0 -1
  689. package/dist/prompt/steps/step-ask-question/handlers/handle-remove-files-from-context.d.ts +0 -2
  690. package/dist/prompt/steps/step-ask-question/handlers/handle-remove-files-from-context.js +0 -100
  691. package/dist/prompt/steps/step-ask-question/handlers/handle-remove-files-from-context.js.map +0 -1
  692. package/dist/prompt/steps/step-ask-question/handlers/handle-request-files-content.d.ts +0 -8
  693. package/dist/prompt/steps/step-ask-question/handlers/handle-request-files-content.js +0 -145
  694. package/dist/prompt/steps/step-ask-question/handlers/handle-request-files-content.js.map +0 -1
  695. package/dist/prompt/steps/step-ask-question/handlers/handle-request-files-fragments.d.ts +0 -8
  696. package/dist/prompt/steps/step-ask-question/handlers/handle-request-files-fragments.js +0 -197
  697. package/dist/prompt/steps/step-ask-question/handlers/handle-request-files-fragments.js.map +0 -1
  698. package/dist/prompt/steps/step-ask-question/handlers/handle-request-git-context.d.ts +0 -3
  699. package/dist/prompt/steps/step-ask-question/handlers/handle-request-git-context.js +0 -251
  700. package/dist/prompt/steps/step-ask-question/handlers/handle-request-git-context.js.map +0 -1
  701. package/dist/prompt/steps/step-ask-question/handlers/handle-request-permissions.d.ts +0 -2
  702. package/dist/prompt/steps/step-ask-question/handlers/handle-request-permissions.js +0 -83
  703. package/dist/prompt/steps/step-ask-question/handlers/handle-request-permissions.js.map +0 -1
  704. package/dist/prompt/steps/step-ask-question/handlers/handle-run-bash-command.d.ts +0 -2
  705. package/dist/prompt/steps/step-ask-question/handlers/handle-run-bash-command.js +0 -185
  706. package/dist/prompt/steps/step-ask-question/handlers/handle-run-bash-command.js.map +0 -1
  707. package/dist/prompt/steps/step-ask-question/handlers/handle-run-container-task.d.ts +0 -2
  708. package/dist/prompt/steps/step-ask-question/handlers/handle-run-container-task.js +0 -7
  709. package/dist/prompt/steps/step-ask-question/handlers/handle-run-container-task.js.map +0 -1
  710. package/dist/prompt/steps/step-ask-question/handlers/handle-search-code.d.ts +0 -2
  711. package/dist/prompt/steps/step-ask-question/handlers/handle-search-code.js +0 -96
  712. package/dist/prompt/steps/step-ask-question/handlers/handle-search-code.js.map +0 -1
  713. package/dist/prompt/steps/step-ask-question/handlers/handle-send-message.d.ts +0 -2
  714. package/dist/prompt/steps/step-ask-question/handlers/handle-send-message.js +0 -21
  715. package/dist/prompt/steps/step-ask-question/handlers/handle-send-message.js.map +0 -1
  716. package/dist/prompt/steps/step-ask-question/handlers/handle-structured-question.d.ts +0 -1
  717. package/dist/prompt/steps/step-ask-question/handlers/handle-structured-question.js +0 -72
  718. package/dist/prompt/steps/step-ask-question/handlers/handle-structured-question.js.map +0 -1
  719. package/dist/prompt/steps/step-ask-question/handlers/handle-update-file.d.ts +0 -2
  720. package/dist/prompt/steps/step-ask-question/handlers/handle-update-file.js +0 -161
  721. package/dist/prompt/steps/step-ask-question/handlers/handle-update-file.js.map +0 -1
  722. package/dist/prompt/steps/step-ask-question/handlers/handle-web-search.d.ts +0 -1
  723. package/dist/prompt/steps/step-ask-question/handlers/handle-web-search.js +0 -85
  724. package/dist/prompt/steps/step-ask-question/handlers/handle-web-search.js.map +0 -1
  725. package/dist/prompt/steps/step-ask-question/step-ask-question-handlers.d.ts +0 -3
  726. package/dist/prompt/steps/step-ask-question/step-ask-question-handlers.js +0 -5
  727. package/dist/prompt/steps/step-ask-question/step-ask-question-handlers.js.map +0 -1
  728. package/dist/prompt/steps/step-ask-question/step-ask-question-types.d.ts +0 -257
  729. package/dist/prompt/steps/step-ask-question/step-ask-question-types.js +0 -2
  730. package/dist/prompt/steps/step-ask-question/step-ask-question-types.js.map +0 -1
  731. package/dist/prompt/steps/step-ask-question/step-ask-question.d.ts +0 -37
  732. package/dist/prompt/steps/step-ask-question/step-ask-question.js +0 -132
  733. package/dist/prompt/steps/step-ask-question/step-ask-question.js.map +0 -1
  734. package/dist/prompt/steps/step-auto-context-refresh.d.ts +0 -6
  735. package/dist/prompt/steps/step-auto-context-refresh.js +0 -98
  736. package/dist/prompt/steps/step-auto-context-refresh.js.map +0 -1
  737. package/dist/prompt/steps/step-codegen-planning.d.ts +0 -11
  738. package/dist/prompt/steps/step-codegen-planning.js +0 -147
  739. package/dist/prompt/steps/step-codegen-planning.js.map +0 -1
  740. package/dist/prompt/steps/step-context-compression.d.ts +0 -8
  741. package/dist/prompt/steps/step-context-compression.js +0 -231
  742. package/dist/prompt/steps/step-context-compression.js.map +0 -1
  743. package/dist/prompt/steps/step-context-optimization.d.ts +0 -8
  744. package/dist/prompt/steps/step-context-optimization.js +0 -308
  745. package/dist/prompt/steps/step-context-optimization.js.map +0 -1
  746. package/dist/prompt/steps/step-ensure-context.d.ts +0 -8
  747. package/dist/prompt/steps/step-ensure-context.js +0 -114
  748. package/dist/prompt/steps/step-ensure-context.js.map +0 -1
  749. package/dist/prompt/steps/step-generate-codegen-summary-prompt.d.ts +0 -2
  750. package/dist/prompt/steps/step-generate-codegen-summary-prompt.js +0 -133
  751. package/dist/prompt/steps/step-generate-codegen-summary-prompt.js.map +0 -1
  752. package/dist/prompt/steps/step-generate-codegen-summary.d.ts +0 -14
  753. package/dist/prompt/steps/step-generate-codegen-summary.js +0 -68
  754. package/dist/prompt/steps/step-generate-codegen-summary.js.map +0 -1
  755. package/dist/prompt/steps/step-generate-image.d.ts +0 -10
  756. package/dist/prompt/steps/step-generate-image.js +0 -32
  757. package/dist/prompt/steps/step-generate-image.js.map +0 -1
  758. package/dist/prompt/steps/step-generate-summary.d.ts +0 -10
  759. package/dist/prompt/steps/step-generate-summary.js +0 -63
  760. package/dist/prompt/steps/step-generate-summary.js.map +0 -1
  761. package/dist/prompt/steps/step-history-update.d.ts +0 -6
  762. package/dist/prompt/steps/step-history-update.js +0 -69
  763. package/dist/prompt/steps/step-history-update.js.map +0 -1
  764. package/dist/prompt/steps/step-iterate/handlers/container-task/command-execution-loop.d.ts +0 -7
  765. package/dist/prompt/steps/step-iterate/handlers/container-task/command-execution-loop.js +0 -301
  766. package/dist/prompt/steps/step-iterate/handlers/container-task/command-execution-loop.js.map +0 -1
  767. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/complete-task.d.ts +0 -4
  768. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/complete-task.js +0 -49
  769. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/complete-task.js.map +0 -1
  770. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/copy-from-container.d.ts +0 -4
  771. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/copy-from-container.js +0 -190
  772. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/copy-from-container.js.map +0 -1
  773. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/copy-to-container.d.ts +0 -4
  774. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/copy-to-container.js +0 -139
  775. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/copy-to-container.js.map +0 -1
  776. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/edit-file.d.ts +0 -10
  777. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/edit-file.js +0 -93
  778. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/edit-file.js.map +0 -1
  779. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/fail-task.d.ts +0 -4
  780. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/fail-task.js +0 -72
  781. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/fail-task.js.map +0 -1
  782. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/gain-knowledge.d.ts +0 -10
  783. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/gain-knowledge.js +0 -125
  784. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/gain-knowledge.js.map +0 -1
  785. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/interrupt-controller.d.ts +0 -19
  786. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/interrupt-controller.js +0 -33
  787. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/interrupt-controller.js.map +0 -1
  788. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/query-knowledge.d.ts +0 -8
  789. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/query-knowledge.js +0 -85
  790. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/query-knowledge.js.map +0 -1
  791. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/request-secret.d.ts +0 -6
  792. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/request-secret.js +0 -122
  793. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/request-secret.js.map +0 -1
  794. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/run-command.d.ts +0 -7
  795. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/run-command.js +0 -146
  796. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/run-command.js.map +0 -1
  797. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/send-message.d.ts +0 -4
  798. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/send-message.js +0 -56
  799. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/send-message.js.map +0 -1
  800. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/set-execution-plan.d.ts +0 -4
  801. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/set-execution-plan.js +0 -56
  802. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/set-execution-plan.js.map +0 -1
  803. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/update-execution-plan.d.ts +0 -4
  804. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/update-execution-plan.js +0 -39
  805. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/update-execution-plan.js.map +0 -1
  806. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/view-file.d.ts +0 -10
  807. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/view-file.js +0 -95
  808. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/view-file.js.map +0 -1
  809. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/web-search.d.ts +0 -2
  810. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/web-search.js +0 -96
  811. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/web-search.js.map +0 -1
  812. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/wrap-context.d.ts +0 -4
  813. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/wrap-context.js +0 -123
  814. package/dist/prompt/steps/step-iterate/handlers/container-task/commands/wrap-context.js.map +0 -1
  815. package/dist/prompt/steps/step-iterate/handlers/container-task/container-commands-registry.d.ts +0 -11
  816. package/dist/prompt/steps/step-iterate/handlers/container-task/container-commands-registry.js +0 -50
  817. package/dist/prompt/steps/step-iterate/handlers/container-task/container-commands-registry.js.map +0 -1
  818. package/dist/prompt/steps/step-iterate/handlers/container-task/container-commands-types.d.ts +0 -28
  819. package/dist/prompt/steps/step-iterate/handlers/container-task/container-commands-types.js +0 -2
  820. package/dist/prompt/steps/step-iterate/handlers/container-task/container-commands-types.js.map +0 -1
  821. package/dist/prompt/steps/step-iterate/handlers/container-task/container-task-orchestrator.d.ts +0 -2
  822. package/dist/prompt/steps/step-iterate/handlers/container-task/container-task-orchestrator.js +0 -202
  823. package/dist/prompt/steps/step-iterate/handlers/container-task/container-task-orchestrator.js.map +0 -1
  824. package/dist/prompt/steps/step-iterate/handlers/container-task/utils/docker-check.d.ts +0 -4
  825. package/dist/prompt/steps/step-iterate/handlers/container-task/utils/docker-check.js +0 -15
  826. package/dist/prompt/steps/step-iterate/handlers/container-task/utils/docker-check.js.map +0 -1
  827. package/dist/prompt/steps/step-iterate/handlers/container-task/utils/docker-utils.d.ts +0 -50
  828. package/dist/prompt/steps/step-iterate/handlers/container-task/utils/docker-utils.js +0 -358
  829. package/dist/prompt/steps/step-iterate/handlers/container-task/utils/docker-utils.js.map +0 -1
  830. package/dist/prompt/steps/step-iterate/handlers/file-request-utils.d.ts +0 -47
  831. package/dist/prompt/steps/step-iterate/handlers/file-request-utils.js +0 -114
  832. package/dist/prompt/steps/step-iterate/handlers/file-request-utils.js.map +0 -1
  833. package/dist/prompt/steps/step-iterate/handlers/handle-code-execution.d.ts +0 -1
  834. package/dist/prompt/steps/step-iterate/handlers/handle-code-execution.js +0 -133
  835. package/dist/prompt/steps/step-iterate/handlers/handle-code-execution.js.map +0 -1
  836. package/dist/prompt/steps/step-iterate/handlers/handle-code-generation.d.ts +0 -4
  837. package/dist/prompt/steps/step-iterate/handlers/handle-code-generation.js +0 -177
  838. package/dist/prompt/steps/step-iterate/handlers/handle-code-generation.js.map +0 -1
  839. package/dist/prompt/steps/step-iterate/handlers/handle-compound-action.d.ts +0 -20
  840. package/dist/prompt/steps/step-iterate/handlers/handle-compound-action.js +0 -305
  841. package/dist/prompt/steps/step-iterate/handlers/handle-compound-action.js.map +0 -1
  842. package/dist/prompt/steps/step-iterate/handlers/handle-confirm-code-generation.d.ts +0 -2
  843. package/dist/prompt/steps/step-iterate/handlers/handle-confirm-code-generation.js +0 -40
  844. package/dist/prompt/steps/step-iterate/handlers/handle-confirm-code-generation.js.map +0 -1
  845. package/dist/prompt/steps/step-iterate/handlers/handle-context-compression.d.ts +0 -2
  846. package/dist/prompt/steps/step-iterate/handlers/handle-context-compression.js +0 -35
  847. package/dist/prompt/steps/step-iterate/handlers/handle-context-compression.js.map +0 -1
  848. package/dist/prompt/steps/step-iterate/handlers/handle-context-optimization.d.ts +0 -2
  849. package/dist/prompt/steps/step-iterate/handlers/handle-context-optimization.js +0 -34
  850. package/dist/prompt/steps/step-iterate/handlers/handle-context-optimization.js.map +0 -1
  851. package/dist/prompt/steps/step-iterate/handlers/handle-conversation-graph.d.ts +0 -11
  852. package/dist/prompt/steps/step-iterate/handlers/handle-conversation-graph.js +0 -503
  853. package/dist/prompt/steps/step-iterate/handlers/handle-conversation-graph.js.map +0 -1
  854. package/dist/prompt/steps/step-iterate/handlers/handle-create-file.d.ts +0 -2
  855. package/dist/prompt/steps/step-iterate/handlers/handle-create-file.js +0 -159
  856. package/dist/prompt/steps/step-iterate/handlers/handle-create-file.js.map +0 -1
  857. package/dist/prompt/steps/step-iterate/handlers/handle-end-conversation.d.ts +0 -2
  858. package/dist/prompt/steps/step-iterate/handlers/handle-end-conversation.js +0 -30
  859. package/dist/prompt/steps/step-iterate/handlers/handle-end-conversation.js.map +0 -1
  860. package/dist/prompt/steps/step-iterate/handlers/handle-explore-external-directories.d.ts +0 -2
  861. package/dist/prompt/steps/step-iterate/handlers/handle-explore-external-directories.js +0 -280
  862. package/dist/prompt/steps/step-iterate/handlers/handle-explore-external-directories.js.map +0 -1
  863. package/dist/prompt/steps/step-iterate/handlers/handle-genaicode-help.d.ts +0 -8
  864. package/dist/prompt/steps/step-iterate/handlers/handle-genaicode-help.js +0 -105
  865. package/dist/prompt/steps/step-iterate/handlers/handle-genaicode-help.js.map +0 -1
  866. package/dist/prompt/steps/step-iterate/handlers/handle-generate-image.d.ts +0 -2
  867. package/dist/prompt/steps/step-iterate/handlers/handle-generate-image.js +0 -110
  868. package/dist/prompt/steps/step-iterate/handlers/handle-generate-image.js.map +0 -1
  869. package/dist/prompt/steps/step-iterate/handlers/handle-perform-analysis.d.ts +0 -6
  870. package/dist/prompt/steps/step-iterate/handlers/handle-perform-analysis.js +0 -110
  871. package/dist/prompt/steps/step-iterate/handlers/handle-perform-analysis.js.map +0 -1
  872. package/dist/prompt/steps/step-iterate/handlers/handle-project-command.d.ts +0 -2
  873. package/dist/prompt/steps/step-iterate/handlers/handle-project-command.js +0 -280
  874. package/dist/prompt/steps/step-iterate/handlers/handle-project-command.js.map +0 -1
  875. package/dist/prompt/steps/step-iterate/handlers/handle-pull-app-context.d.ts +0 -9
  876. package/dist/prompt/steps/step-iterate/handlers/handle-pull-app-context.js +0 -94
  877. package/dist/prompt/steps/step-iterate/handlers/handle-pull-app-context.js.map +0 -1
  878. package/dist/prompt/steps/step-iterate/handlers/handle-pull-console-logs.d.ts +0 -2
  879. package/dist/prompt/steps/step-iterate/handlers/handle-pull-console-logs.js +0 -174
  880. package/dist/prompt/steps/step-iterate/handlers/handle-pull-console-logs.js.map +0 -1
  881. package/dist/prompt/steps/step-iterate/handlers/handle-push-app-context.d.ts +0 -9
  882. package/dist/prompt/steps/step-iterate/handlers/handle-push-app-context.js +0 -104
  883. package/dist/prompt/steps/step-iterate/handlers/handle-push-app-context.js.map +0 -1
  884. package/dist/prompt/steps/step-iterate/handlers/handle-read-external-files.d.ts +0 -2
  885. package/dist/prompt/steps/step-iterate/handlers/handle-read-external-files.js +0 -149
  886. package/dist/prompt/steps/step-iterate/handlers/handle-read-external-files.js.map +0 -1
  887. package/dist/prompt/steps/step-iterate/handlers/handle-reasoning-inference.d.ts +0 -7
  888. package/dist/prompt/steps/step-iterate/handlers/handle-reasoning-inference.js +0 -119
  889. package/dist/prompt/steps/step-iterate/handlers/handle-reasoning-inference.js.map +0 -1
  890. package/dist/prompt/steps/step-iterate/handlers/handle-remove-files-from-context.d.ts +0 -2
  891. package/dist/prompt/steps/step-iterate/handlers/handle-remove-files-from-context.js +0 -100
  892. package/dist/prompt/steps/step-iterate/handlers/handle-remove-files-from-context.js.map +0 -1
  893. package/dist/prompt/steps/step-iterate/handlers/handle-request-files-content.d.ts +0 -8
  894. package/dist/prompt/steps/step-iterate/handlers/handle-request-files-content.js +0 -146
  895. package/dist/prompt/steps/step-iterate/handlers/handle-request-files-content.js.map +0 -1
  896. package/dist/prompt/steps/step-iterate/handlers/handle-request-files-fragments.d.ts +0 -8
  897. package/dist/prompt/steps/step-iterate/handlers/handle-request-files-fragments.js +0 -197
  898. package/dist/prompt/steps/step-iterate/handlers/handle-request-files-fragments.js.map +0 -1
  899. package/dist/prompt/steps/step-iterate/handlers/handle-request-git-context.d.ts +0 -3
  900. package/dist/prompt/steps/step-iterate/handlers/handle-request-git-context.js +0 -251
  901. package/dist/prompt/steps/step-iterate/handlers/handle-request-git-context.js.map +0 -1
  902. package/dist/prompt/steps/step-iterate/handlers/handle-request-permissions.d.ts +0 -2
  903. package/dist/prompt/steps/step-iterate/handlers/handle-request-permissions.js +0 -83
  904. package/dist/prompt/steps/step-iterate/handlers/handle-request-permissions.js.map +0 -1
  905. package/dist/prompt/steps/step-iterate/handlers/handle-run-bash-command.d.ts +0 -2
  906. package/dist/prompt/steps/step-iterate/handlers/handle-run-bash-command.js +0 -185
  907. package/dist/prompt/steps/step-iterate/handlers/handle-run-bash-command.js.map +0 -1
  908. package/dist/prompt/steps/step-iterate/handlers/handle-run-container-task.d.ts +0 -2
  909. package/dist/prompt/steps/step-iterate/handlers/handle-run-container-task.js +0 -7
  910. package/dist/prompt/steps/step-iterate/handlers/handle-run-container-task.js.map +0 -1
  911. package/dist/prompt/steps/step-iterate/handlers/handle-search-code.d.ts +0 -2
  912. package/dist/prompt/steps/step-iterate/handlers/handle-search-code.js +0 -96
  913. package/dist/prompt/steps/step-iterate/handlers/handle-search-code.js.map +0 -1
  914. package/dist/prompt/steps/step-iterate/handlers/handle-send-message.d.ts +0 -2
  915. package/dist/prompt/steps/step-iterate/handlers/handle-send-message.js +0 -21
  916. package/dist/prompt/steps/step-iterate/handlers/handle-send-message.js.map +0 -1
  917. package/dist/prompt/steps/step-iterate/handlers/handle-structured-question.d.ts +0 -1
  918. package/dist/prompt/steps/step-iterate/handlers/handle-structured-question.js +0 -72
  919. package/dist/prompt/steps/step-iterate/handlers/handle-structured-question.js.map +0 -1
  920. package/dist/prompt/steps/step-iterate/handlers/handle-update-file.d.ts +0 -2
  921. package/dist/prompt/steps/step-iterate/handlers/handle-update-file.js +0 -161
  922. package/dist/prompt/steps/step-iterate/handlers/handle-update-file.js.map +0 -1
  923. package/dist/prompt/steps/step-iterate/handlers/handle-web-search.d.ts +0 -1
  924. package/dist/prompt/steps/step-iterate/handlers/handle-web-search.js +0 -85
  925. package/dist/prompt/steps/step-iterate/handlers/handle-web-search.js.map +0 -1
  926. package/dist/prompt/steps/step-iterate/iterate-handler.d.ts +0 -4
  927. package/dist/prompt/steps/step-iterate/iterate-handler.js +0 -14
  928. package/dist/prompt/steps/step-iterate/iterate-handler.js.map +0 -1
  929. package/dist/prompt/steps/step-iterate/step-iterate-handlers.d.ts +0 -3
  930. package/dist/prompt/steps/step-iterate/step-iterate-handlers.js +0 -5
  931. package/dist/prompt/steps/step-iterate/step-iterate-handlers.js.map +0 -1
  932. package/dist/prompt/steps/step-iterate/step-iterate-types.d.ts +0 -255
  933. package/dist/prompt/steps/step-iterate/step-iterate-types.js +0 -2
  934. package/dist/prompt/steps/step-iterate/step-iterate-types.js.map +0 -1
  935. package/dist/prompt/steps/step-iterate/step-iterate.d.ts +0 -37
  936. package/dist/prompt/steps/step-iterate/step-iterate.js +0 -132
  937. package/dist/prompt/steps/step-iterate/step-iterate.js.map +0 -1
  938. package/dist/prompt/steps/step-process-file-updates.d.ts +0 -12
  939. package/dist/prompt/steps/step-process-file-updates.js +0 -148
  940. package/dist/prompt/steps/step-process-file-updates.js.map +0 -1
  941. package/dist/prompt/steps/step-summarization.d.ts +0 -10
  942. package/dist/prompt/steps/step-summarization.js +0 -167
  943. package/dist/prompt/steps/step-summarization.js.map +0 -1
  944. package/dist/prompt/steps/step-validate-recover.d.ts +0 -2
  945. package/dist/prompt/steps/step-validate-recover.js +0 -71
  946. package/dist/prompt/steps/step-validate-recover.js.map +0 -1
  947. package/dist/prompt/steps/step-verify-patch.d.ts +0 -10
  948. package/dist/prompt/steps/step-verify-patch.js +0 -52
  949. package/dist/prompt/steps/step-verify-patch.js.map +0 -1
  950. package/dist/prompt/steps/steps-types.d.ts +0 -4
  951. package/dist/prompt/steps/steps-types.js +0 -6
  952. package/dist/prompt/steps/steps-types.js.map +0 -1
  953. package/dist/prompt/steps/steps-utils.d.ts +0 -7
  954. package/dist/prompt/steps/steps-utils.js +0 -11
  955. package/dist/prompt/steps/steps-utils.js.map +0 -1
  956. package/dist/prompt/systemprompt.d.ts +0 -4
  957. package/dist/prompt/systemprompt.js +0 -113
  958. package/dist/prompt/systemprompt.js.map +0 -1
  959. package/dist/prompt/token-estimator.d.ts +0 -8
  960. package/dist/prompt/token-estimator.js +0 -31
  961. package/dist/prompt/token-estimator.js.map +0 -1
  962. package/dist/prompt-debug/current-prompt-plugin.d.ts +0 -3
  963. package/dist/prompt-debug/current-prompt-plugin.js +0 -10
  964. package/dist/prompt-debug/current-prompt-plugin.js.map +0 -1
  965. package/dist/utils/docker-utils.d.ts +0 -37
  966. package/dist/utils/docker-utils.js +0 -258
  967. package/dist/utils/docker-utils.js.map +0 -1
  968. package/dist/vite-genaicode/console-interceptor.d.ts +0 -53
  969. package/dist/vite-genaicode/console-interceptor.js +0 -117
  970. package/dist/vite-genaicode/console-interceptor.js.map +0 -1
  971. package/dist/vite-genaicode/vite-genaicode-context.d.ts +0 -31
  972. package/dist/vite-genaicode/vite-genaicode-context.js +0 -120
  973. package/dist/vite-genaicode/vite-genaicode-context.js.map +0 -1
  974. package/dist/vite-genaicode/vite-genaicode-frontend.d.ts +0 -1
  975. package/dist/vite-genaicode/vite-genaicode-frontend.js +0 -329
  976. package/dist/vite-genaicode/vite-genaicode-frontend.js.map +0 -1
  977. package/dist/vite-genaicode/vite-genaicode-plugin.d.ts +0 -12
  978. package/dist/vite-genaicode/vite-genaicode-plugin.js +0 -92
  979. package/dist/vite-genaicode/vite-genaicode-plugin.js.map +0 -1
  980. package/dist/vite-genaicode/vite-genaicode-types.d.ts +0 -28
  981. package/dist/vite-genaicode/vite-genaicode-types.js +0 -11
  982. package/dist/vite-genaicode/vite-genaicode-types.js.map +0 -1
  983. package/media/logo-dark.png +0 -0
  984. package/media/logo.png +0 -0
@@ -1,38 +0,0 @@
1
- /**
2
- * Function definition for the internal `compoundActionList` function.
3
- * This is used by the `handleCompoundAction` handler to structure the response
4
- * from an internal inference call that generates a list of actions.
5
- */
6
- export const compoundActionListDef = {
7
- name: 'compoundActionList',
8
- description: 'Receives the list of actions generated by an internal inference call within the compoundAction handler. This function structures the output of the inference.',
9
- parameters: {
10
- type: 'object',
11
- properties: {
12
- actions: {
13
- type: 'array',
14
- description: 'An array of actions (like createFile, updateFile) to be executed as part of a compound operation.',
15
- items: {
16
- // Define the schema for CompoundActionItem here based on its definition in step-ask-question-types.ts
17
- type: 'object',
18
- properties: {
19
- actionName: {
20
- type: 'string',
21
- description: 'The name of the operation to execute (e.g., createFile, updateFile).',
22
- // Ideally, we could restrict this to known operation names, but string is safer for now.
23
- },
24
- params: {
25
- type: 'object',
26
- description: 'The parameters required by the specified actionName.',
27
- // Using a generic object type as params vary significantly between actions.
28
- // Additional properties are allowed implicitly.
29
- },
30
- },
31
- required: ['actionName', 'params'],
32
- },
33
- },
34
- },
35
- required: ['actions'],
36
- },
37
- };
38
- //# sourceMappingURL=compound-action-list.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compound-action-list.js","sourceRoot":"","sources":["../../../src/prompt/function-defs/compound-action-list.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgB;IAChD,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EACT,+JAA+J;IACjK,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,mGAAmG;gBACrG,KAAK,EAAE;oBACL,sGAAsG;oBACtG,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,UAAU,EAAE;4BACV,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,sEAAsE;4BACnF,yFAAyF;yBAC1F;wBACD,MAAM,EAAE;4BACN,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,sDAAsD;4BACnE,4EAA4E;4BAC5E,gDAAgD;yBACjD;qBACF;oBACD,QAAQ,EAAE,CAAC,YAAY,EAAE,QAAQ,CAAC;iBACnC;aACF;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- import { FunctionDef } from '../../ai-service/common-types.js';
2
- export declare const getCompoundActionDef: () => FunctionDef;
@@ -1,47 +0,0 @@
1
- import { getOperationDefs } from '../../operations/operations-index.js';
2
- export const getCompoundActionDef = () => ({
3
- name: 'compoundAction',
4
- description: 'Infers the types of actions required and a summary for user confirmation.',
5
- parameters: {
6
- type: 'object',
7
- properties: {
8
- actions: {
9
- type: 'array',
10
- description: 'An array of action names (e.g., createFile, updateFile) to be performed.',
11
- items: {
12
- type: 'object',
13
- properties: {
14
- id: {
15
- type: 'string',
16
- description: 'A unique identifier for the action.',
17
- },
18
- name: {
19
- type: 'string',
20
- description: 'The name of the action to be performed.',
21
- enum: getOperationDefs().map((op) => op.name),
22
- },
23
- dependsOn: {
24
- type: 'array',
25
- description: 'An array of action IDs that this action depends on.',
26
- items: {
27
- type: 'string',
28
- description: 'The ID of a dependent action.',
29
- },
30
- },
31
- filePath: {
32
- type: 'string',
33
- description: 'The absolute path of the file to be acted upon, if applicable.',
34
- },
35
- },
36
- required: ['id', 'name', 'filePath'],
37
- },
38
- },
39
- summary: {
40
- type: 'string',
41
- description: 'A user-facing summary of the proposed actions, asking for confirmation.',
42
- },
43
- },
44
- required: ['actions', 'summary'],
45
- },
46
- });
47
- //# sourceMappingURL=compound-action.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compound-action.js","sourceRoot":"","sources":["../../../src/prompt/function-defs/compound-action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,MAAM,CAAC,MAAM,oBAAoB,GAAsB,GAAG,EAAE,CAAC,CAAC;IAC5D,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,2EAA2E;IACxF,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,0EAA0E;gBACvF,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,EAAE,EAAE;4BACF,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,qCAAqC;yBACnD;wBACD,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,yCAAyC;4BACtD,IAAI,EAAE,gBAAgB,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;yBAC9C;wBACD,SAAS,EAAE;4BACT,IAAI,EAAE,OAAO;4BACb,WAAW,EAAE,qDAAqD;4BAClE,KAAK,EAAE;gCACL,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,+BAA+B;6BAC7C;yBACF;wBACD,QAAQ,EAAE;4BACR,IAAI,EAAE,QAAQ;4BACd,WAAW,EAAE,gEAAgE;yBAC9E;qBACF;oBACD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC;iBACrC;aACF;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yEAAyE;aACvF;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;KACjC;CACF,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- import { FunctionDef } from '../../ai-service/common-types.js';
2
- export declare const runCommandDef: FunctionDef;
3
- export declare const completeTaskDef: FunctionDef;
4
- export declare const failTaskDef: FunctionDef;
5
- export declare const wrapContextDef: FunctionDef;
6
- export declare const setExecutionPlanDef: FunctionDef;
7
- export declare const updateExecutionPlanDef: FunctionDef;
8
- export declare const getCopyToContainerDef: () => FunctionDef;
9
- export declare const getCopyFromContainerDef: () => FunctionDef;
10
- export declare const sendMessageDef: FunctionDef;
@@ -1,185 +0,0 @@
1
- import { rcConfig } from '../../main/config.js';
2
- export const runCommandDef = {
3
- name: 'runCommand',
4
- description: `Execute a shell command in the Docker container.
5
- IMPORTANT:
6
- - The command will block you until it completes, so consider using a non-blocking approach if needed.
7
- - For complex/long input you should prefer \`stdin\` over command-line arguments. For example instead of echo \`some long text\`, you can put the long text in the \`stdin\` field, and then use it in the command like this: \`cat | some_command\`.
8
- `,
9
- parameters: {
10
- type: 'object',
11
- properties: {
12
- reasoning: {
13
- type: 'string',
14
- description: 'Explanation of why this command is needed for the task.',
15
- },
16
- command: {
17
- type: 'string',
18
- description: 'The shell command to execute in the container. Command must be 256 characters or less. If there is a need for a longer command, consider using a script file, and consider using `stdin` to pass the script contents.',
19
- maxLength: 256,
20
- },
21
- stdin: {
22
- type: 'string',
23
- description: 'Input to provide to the command via stdin. Equivalent of `echo <stdin> | <command>`. Very good for long inputs, better than passing as command-line arguments in the command string parameter.',
24
- },
25
- truncMode: {
26
- type: 'string',
27
- description: 'Mode for truncating command output (e.g., "start", "end").',
28
- enum: ['start', 'end'],
29
- },
30
- workingDir: {
31
- type: 'string',
32
- description: 'Working directory inside the container to run the command in. This MUST be an absolute path.',
33
- minLength: 1,
34
- },
35
- },
36
- required: ['reasoning', 'command', 'stdin', 'workingDir', 'truncMode'],
37
- },
38
- };
39
- export const completeTaskDef = {
40
- name: 'completeTask',
41
- description: 'Mark the container task as successfully completed.',
42
- parameters: {
43
- type: 'object',
44
- properties: {
45
- summary: {
46
- type: 'string',
47
- description: 'A brief summary of what was accomplished.',
48
- },
49
- },
50
- required: ['summary'],
51
- },
52
- };
53
- export const failTaskDef = {
54
- name: 'failTask',
55
- description: 'Mark the container task as failed.',
56
- parameters: {
57
- type: 'object',
58
- properties: {
59
- reason: {
60
- type: 'string',
61
- description: 'Explanation of why the task failed.',
62
- },
63
- },
64
- required: ['reason'],
65
- },
66
- };
67
- export const wrapContextDef = {
68
- name: 'wrapContext',
69
- description: 'Replace prior conversation in the loop with a concise summary for continued processing.',
70
- parameters: {
71
- type: 'object',
72
- properties: {
73
- summary: {
74
- type: 'string',
75
- description: 'A summary of prior steps and important findings to keep for next actions.',
76
- },
77
- plan: {
78
- type: 'string',
79
- description: 'A concise plan outlining the plan of action for the task.',
80
- },
81
- progress: {
82
- type: 'string',
83
- description: 'What was achieved so far? What are the outcomes?',
84
- },
85
- importantFiles: {
86
- type: 'array',
87
- items: {
88
- type: 'string',
89
- description: `Paths to important files to keep for next actions.
90
- It is critically IMPORTANT to keep track of files which are essential for the task. For example the files that were modified or created during the task so far.`,
91
- },
92
- },
93
- nextStep: {
94
- type: 'string',
95
- description: 'The next step to take in the process.',
96
- },
97
- },
98
- required: ['summary', 'plan', 'progress', 'importantFiles', 'nextStep'],
99
- },
100
- };
101
- export const setExecutionPlanDef = {
102
- name: 'setExecutionPlan',
103
- description: 'Record a concise execution plan to follow in subsequent steps.',
104
- parameters: {
105
- type: 'object',
106
- properties: {
107
- plan: {
108
- type: 'string',
109
- description: 'Brief execution plan (high level outline).',
110
- },
111
- },
112
- required: ['plan'],
113
- },
114
- };
115
- export const updateExecutionPlanDef = {
116
- name: 'updateExecutionPlan',
117
- description: 'Update progress/status against the previously set execution plan.',
118
- parameters: {
119
- type: 'object',
120
- properties: {
121
- progress: {
122
- type: 'string',
123
- description: 'Progress update and next steps if applicable.',
124
- },
125
- },
126
- required: ['progress'],
127
- },
128
- };
129
- export const getCopyToContainerDef = () => ({
130
- name: 'copyToContainer',
131
- description: 'Copy a file or directory from the host to the container.',
132
- parameters: {
133
- type: 'object',
134
- properties: {
135
- hostPath: {
136
- type: 'string',
137
- description: `The absolute path of the file or directory on the host machine, which must be within the project root directory.
138
- The file path must start from: ${rcConfig.rootDir}`,
139
- },
140
- containerPath: {
141
- type: 'string',
142
- description: 'The absolute destination path inside the container.',
143
- },
144
- },
145
- required: ['hostPath', 'containerPath'],
146
- },
147
- });
148
- export const getCopyFromContainerDef = () => ({
149
- name: 'copyFromContainer',
150
- description: 'Copy a file or directory from the container to the host.',
151
- parameters: {
152
- type: 'object',
153
- properties: {
154
- containerPath: {
155
- type: 'string',
156
- description: 'The absolute destination path on the host machine, which must be within the project root directory.',
157
- },
158
- hostPath: {
159
- type: 'string',
160
- description: `The absolute destination path on the host machine, which must be within the project root directory.
161
- The file path must start from: ${rcConfig.rootDir}`,
162
- },
163
- },
164
- required: ['containerPath', 'hostPath'],
165
- },
166
- });
167
- export const sendMessageDef = {
168
- name: 'sendMessage',
169
- description: 'Send a message to the user. Should be used for non-interactive messages.',
170
- parameters: {
171
- type: 'object',
172
- properties: {
173
- message: {
174
- type: 'string',
175
- description: 'The message to send to the user.',
176
- },
177
- isQuestion: {
178
- type: 'boolean',
179
- description: 'Whether the message is a question, and user input is expected.',
180
- },
181
- },
182
- required: ['message', 'isQuestion'],
183
- },
184
- };
185
- //# sourceMappingURL=container-task-commands.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"container-task-commands.js","sourceRoot":"","sources":["../../../src/prompt/function-defs/container-task-commands.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,MAAM,CAAC,MAAM,aAAa,GAAgB;IACxC,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE;;;;GAIZ;IACD,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yDAAyD;aACvE;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,uNAAuN;gBACzN,SAAS,EAAE,GAAG;aACf;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,gMAAgM;aACnM;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;gBACzE,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC;aACvB;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8FAA8F;gBAC3G,SAAS,EAAE,CAAC;aACb;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC;KACvE;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAgB;IAC1C,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,oDAAoD;IACjE,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2CAA2C;aACzD;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAgB;IACtC,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,oCAAoC;IACjD,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qCAAqC;aACnD;SACF;QACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;KACrB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAgB;IACzC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,yFAAyF;IACtG,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2EAA2E;aACzF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2DAA2D;aACzE;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kDAAkD;aAChE;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE;gKACyI;iBACvJ;aACF;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;aACrD;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,EAAE,UAAU,CAAC;KACxE;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAgB;IAC9C,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,gEAAgE;IAC7E,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4CAA4C;aAC1D;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAgB;IACjD,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,mEAAmE;IAChF,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+CAA+C;aAC7D;SACF;QACD,QAAQ,EAAE,CAAC,UAAU,CAAC;KACvB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAsB,GAAG,EAAE,CAAC,CAAC;IAC7D,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,0DAA0D;IACvE,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;iCACY,QAAQ,CAAC,OAAO,EAAE;aAC5C;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qDAAqD;aACnE;SACF;QACD,QAAQ,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;KACxC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAsB,GAAG,EAAE,CAAC,CAAC;IAC/D,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,0DAA0D;IACvE,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,qGAAqG;aACxG;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;iCACY,QAAQ,CAAC,OAAO,EAAE;aAC5C;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,EAAE,UAAU,CAAC;KACxC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAgB;IACzC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,0EAA0E;IACvF,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kCAAkC;aAChD;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,gEAAgE;aAC9E;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;KACpC;CACF,CAAC"}
@@ -1,47 +0,0 @@
1
- import { FunctionCall, FunctionDef } from '../../ai-service/common-types.js';
2
- /**
3
- * Function definition for compressContext
4
- *
5
- * This function performs intelligent context compression by analyzing both conversation
6
- * history and source code dependencies. It aims to reduce token usage while maintaining
7
- * essential information required for high-quality code generation.
8
- *
9
- * The compression process:
10
- * 1. Analyzes conversation history to identify high, medium, and optional priority information
11
- * 2. Deduplicates redundant information while preserving context
12
- * 3. Identifies and includes critical file paths based on specific criteria
13
- * 4. Maintains chronological progression of important decisions
14
- * 5. Preserves technical details and implementation status
15
- */
16
- export declare const compressContext: FunctionDef;
17
- /**
18
- * Type definition for context compression arguments.
19
- * These arguments control how the conversation context and source code dependencies
20
- * are compressed and managed.
21
- */
22
- export type ContextCompressionArgs = {
23
- /**
24
- * A concise summary of the key points from the conversation history.
25
- * The summary should:
26
- * - Preserve high-priority information (requirements, decisions, analysis results)
27
- * - Include relevant medium-priority items (clarifications, preferences)
28
- * - Maintain chronological order of important events
29
- * - Keep technical accuracy and context
30
- */
31
- conversationSummary: string;
32
- /**
33
- * List of file paths that are essential for the code generation task.
34
- * The list should include:
35
- * - Files directly targeted for modification
36
- * - Files containing code being analyzed
37
- * - Critical dependencies of modified files
38
- * - Configuration files affecting the changes
39
- * But exclude:
40
- * - Files only mentioned in passing
41
- * - Files from rejected approaches
42
- * - Files outside the current task scope
43
- */
44
- filePaths?: string[];
45
- };
46
- /** Type for function calls with context compression arguments */
47
- export type ContextCompressionCall = FunctionCall<ContextCompressionArgs>;
@@ -1,49 +0,0 @@
1
- /**
2
- * Function definition for compressContext
3
- *
4
- * This function performs intelligent context compression by analyzing both conversation
5
- * history and source code dependencies. It aims to reduce token usage while maintaining
6
- * essential information required for high-quality code generation.
7
- *
8
- * The compression process:
9
- * 1. Analyzes conversation history to identify high, medium, and optional priority information
10
- * 2. Deduplicates redundant information while preserving context
11
- * 3. Identifies and includes critical file paths based on specific criteria
12
- * 4. Maintains chronological progression of important decisions
13
- * 5. Preserves technical details and implementation status
14
- */
15
- export const compressContext = {
16
- name: 'compressContext',
17
- description: 'Use this function to compress the context by analyzing both conversation history and source code dependencies. ' +
18
- 'The function returns a compressed version of the conversation that maintains essential information while reducing tokens. ' +
19
- 'It prioritizes information (High/Medium/Optional), deduplicates content, and carefully manages file path inclusion.',
20
- parameters: {
21
- type: 'object',
22
- properties: {
23
- conversationSummary: {
24
- type: 'string',
25
- description: 'A concise summary of the conversation history, preserving high-priority information ' +
26
- '(core requirements, expensive operations results, key decisions), medium-priority items ' +
27
- '(important clarifications, preferences), and optional details when relevant. ' +
28
- 'The summary should maintain chronological order and technical accuracy.',
29
- },
30
- filePaths: {
31
- type: 'array',
32
- items: {
33
- type: 'string',
34
- },
35
- description: 'List of file paths that are essential for the code generation task. Include:\n' +
36
- '- Files directly involved in code changes\n' +
37
- '- Files containing analyzed or discussed code\n' +
38
- '- Critical dependencies of modified files\n' +
39
- '- Configuration files affecting changes\n' +
40
- 'Exclude:\n' +
41
- '- Files only mentioned in passing\n' +
42
- '- Files from rejected approaches\n' +
43
- '- Files outside current task scope',
44
- },
45
- },
46
- required: ['conversationSummary', 'filePaths'],
47
- },
48
- };
49
- //# sourceMappingURL=context-compression.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"context-compression.js","sourceRoot":"","sources":["../../../src/prompt/function-defs/context-compression.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,eAAe,GAAgB;IAC1C,IAAI,EAAE,iBAAiB;IACvB,WAAW,EACT,iHAAiH;QACjH,4HAA4H;QAC5H,qHAAqH;IACvH,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,sFAAsF;oBACtF,0FAA0F;oBAC1F,+EAA+E;oBAC/E,yEAAyE;aAC5E;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;gBACD,WAAW,EACT,gFAAgF;oBAChF,6CAA6C;oBAC7C,iDAAiD;oBACjD,6CAA6C;oBAC7C,2CAA2C;oBAC3C,YAAY;oBACZ,qCAAqC;oBACrC,oCAAoC;oBACpC,oCAAoC;aACvC;SACF;QACD,QAAQ,EAAE,CAAC,qBAAqB,EAAE,WAAW,CAAC;KAC/C;CACF,CAAC"}
@@ -1,33 +0,0 @@
1
- import { FunctionCall, FunctionDef } from '../../ai-service/common-types.js';
2
- import { ActionType } from '../steps/step-iterate/step-iterate-types.js';
3
- export declare const getConversationGraph: () => FunctionDef;
4
- export type ConversationNodeId = string & {
5
- __type: 'ConversationNodeId';
6
- };
7
- export type ConversationEdge = {
8
- sourceNode: ConversationNodeId;
9
- targetNode: ConversationNodeId;
10
- instruction: string;
11
- };
12
- export type ConversationNode = {
13
- id: ConversationNodeId;
14
- actionType: ActionType;
15
- instruction: string;
16
- };
17
- export type ConversationGraphArgs = {
18
- entryNode: ConversationNodeId;
19
- nodes: ConversationNode[];
20
- edges: ConversationEdge[];
21
- };
22
- export type ConversationGraphCall = FunctionCall<ConversationGraphArgs>;
23
- export declare const evaluateEdge: FunctionDef;
24
- export type EvaluateEdgeArgs = {
25
- /** Explanation of why this edge was selected or why no edge was selected */
26
- reasoning: string;
27
- /** The selected edge to take, or null if no edge should be taken */
28
- selectedEdge: ConversationEdge | null;
29
- /** Whether the conversation should be terminated */
30
- shouldTerminate: boolean;
31
- };
32
- /** Type for function calls with edge evaluation arguments */
33
- export type EvaluateEdgeCall = FunctionCall<EvaluateEdgeArgs>;
@@ -1,110 +0,0 @@
1
- import { getActionTypeOptions } from './iterate.js';
2
- // Function definitions for conversation graph
3
- export const getConversationGraph = () => ({
4
- name: 'conversationGraph',
5
- description: 'Define and execute a series of conversation steps to achieve a specific goal. This allows for structured, multi-step conversations with clear transitions between steps.',
6
- parameters: {
7
- type: 'object',
8
- properties: {
9
- contextAnalysis: {
10
- type: 'string',
11
- description: 'A brief summary of the context analysis that led to this conversation graph.',
12
- },
13
- bigPicture: {
14
- type: 'string',
15
- description: 'A step by step guide to the conversation flow and the desired outcome.',
16
- },
17
- entryNode: {
18
- type: 'string',
19
- description: 'The ID of the node where the conversation should start. This node must be defined in the `nodes` array.',
20
- },
21
- nodes: {
22
- type: 'array',
23
- items: {
24
- type: 'object',
25
- properties: {
26
- reasoning: {
27
- type: 'string',
28
- description: 'Explanation of what this node is trying to achieve.',
29
- },
30
- id: {
31
- type: 'string',
32
- description: 'A unique identifier for this conversation step. Use short, descriptive names',
33
- },
34
- actionType: {
35
- type: 'string',
36
- enum: getActionTypeOptions(),
37
- description: 'The action to perform at this step.',
38
- },
39
- instruction: {
40
- type: 'string',
41
- description: 'Instructions for the LLM on what to achieve at this step. Focus on the desired outcome, not the specific action.',
42
- },
43
- },
44
- required: ['reasoning', 'id', 'actionType', 'instruction'],
45
- },
46
- minLength: 1,
47
- description: 'An array of conversation steps (nodes). Each node defines an action and how to achieve it. The order in the array does not dictate the flow; use `edges` to define transitions.',
48
- },
49
- edges: {
50
- type: 'array',
51
- items: {
52
- type: 'object',
53
- properties: {
54
- sourceNode: {
55
- type: 'string',
56
- description: 'The ID of the node where this transition originates.',
57
- },
58
- targetNode: {
59
- type: 'string',
60
- description: 'The ID of the node where this transition goes.',
61
- },
62
- instruction: {
63
- type: 'string',
64
- description: 'Conditions for this transition. Be specific about when to move from the source to the target node.',
65
- },
66
- },
67
- required: ['sourceNode', 'targetNode', 'instruction'],
68
- },
69
- minLength: 1,
70
- description: 'An array of transitions (edges) that define the flow between conversation steps. Each edge specifies when to move from one node to another.',
71
- },
72
- },
73
- required: ['contextAnalysis', 'bigPicture', 'entryNode', 'nodes', 'edges'],
74
- },
75
- });
76
- // Function definitions for edge evaluation
77
- export const evaluateEdge = {
78
- name: 'evaluateEdge',
79
- description: 'Evaluate a conversation edge to determine whether to take the edge, terminate the conversation, or continue evaluating other edges.',
80
- parameters: {
81
- type: 'object',
82
- properties: {
83
- reasoning: {
84
- type: 'string',
85
- description: 'Explanation of why this edge was selected or why no edge was selected',
86
- },
87
- selectedEdge: {
88
- type: 'object',
89
- description: 'The selected edge to take, or null if no edge should be taken',
90
- properties: {
91
- sourceNode: {
92
- type: 'string',
93
- description: 'The ID of the node where this transition originates.',
94
- },
95
- targetNode: {
96
- type: 'string',
97
- description: 'The ID of the node where this transition goes.',
98
- },
99
- },
100
- required: ['sourceNode', 'targetNode'],
101
- },
102
- shouldTerminate: {
103
- type: 'boolean',
104
- description: 'Whether the conversation should be terminated',
105
- },
106
- },
107
- required: ['reasoning', 'shouldTerminate'],
108
- },
109
- };
110
- //# sourceMappingURL=conversation-graph.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conversation-graph.js","sourceRoot":"","sources":["../../../src/prompt/function-defs/conversation-graph.ts"],"names":[],"mappings":"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"}
@@ -1,2 +0,0 @@
1
- import { FunctionDef } from '../../ai-service/common-types';
2
- export declare const conversationSummaryDef: FunctionDef;
@@ -1,15 +0,0 @@
1
- export const conversationSummaryDef = {
2
- name: 'conversationSummary',
3
- description: 'Summarize the conversation and provide a title.',
4
- parameters: {
5
- type: 'object',
6
- properties: {
7
- title: {
8
- type: 'string',
9
- description: 'A short title for the conversation.',
10
- },
11
- },
12
- required: ['title'],
13
- },
14
- };
15
- //# sourceMappingURL=conversation-summary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conversation-summary.js","sourceRoot":"","sources":["../../../src/prompt/function-defs/conversation-summary.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,sBAAsB,GAAgB;IACjD,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,iDAAiD;IAC9D,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qCAAqC;aACnD;SACF;QACD,QAAQ,EAAE,CAAC,OAAO,CAAC;KACpB;CACF,CAAC"}
@@ -1,5 +0,0 @@
1
- import { FunctionDef } from '../../ai-service/common-types';
2
- /**
3
- * Function definition for explanation
4
- */
5
- export declare const explanation: FunctionDef;
@@ -1,18 +0,0 @@
1
- /**
2
- * Function definition for explanation
3
- */
4
- export const explanation = {
5
- name: 'explanation',
6
- description: 'Explain the reasoning behind the suggested code changes or reasoning for lack of code changes',
7
- parameters: {
8
- type: 'object',
9
- properties: {
10
- text: {
11
- type: 'string',
12
- description: 'The explanation text',
13
- },
14
- },
15
- required: ['text'],
16
- },
17
- };
18
- //# sourceMappingURL=explanation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"explanation.js","sourceRoot":"","sources":["../../../src/prompt/function-defs/explanation.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAgB;IACtC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,+FAA+F;IAC5G,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,sBAAsB;aACpC;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;KACnB;CACF,CAAC"}
@@ -1,16 +0,0 @@
1
- import { FunctionDef } from '../../ai-service/common-types.js';
2
- /**
3
- * Function definition for exploreExternalDirectories
4
- *
5
- * Use this function to explore directories located outside the project's root directory.
6
- * User confirmation is required.
7
- */
8
- export declare const exploreExternalDirectories: FunctionDef;
9
- export type ExploreExternalDirectoriesArgs = {
10
- directories: string[];
11
- recursive?: boolean;
12
- depth: number;
13
- searchPhrases?: string[];
14
- maxResults?: number;
15
- reason: string;
16
- };