codehere 0.3.0 → 0.5.0-alpha.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 (389) hide show
  1. package/README.md +230 -42
  2. package/dist/application/agents/documentation-agent.d.ts +24 -0
  3. package/dist/application/agents/documentation-agent.d.ts.map +1 -0
  4. package/dist/application/agents/documentation-agent.js +399 -0
  5. package/dist/application/agents/documentation-agent.js.map +1 -0
  6. package/dist/application/agents/execution-agent.d.ts +11 -0
  7. package/dist/application/agents/execution-agent.d.ts.map +1 -1
  8. package/dist/application/agents/execution-agent.js +289 -80
  9. package/dist/application/agents/execution-agent.js.map +1 -1
  10. package/dist/application/agents/multi-agent-orchestrator.d.ts +3 -0
  11. package/dist/application/agents/multi-agent-orchestrator.d.ts.map +1 -1
  12. package/dist/application/agents/multi-agent-orchestrator.js +86 -0
  13. package/dist/application/agents/multi-agent-orchestrator.js.map +1 -1
  14. package/dist/application/agents/planning-agent.d.ts +3 -0
  15. package/dist/application/agents/planning-agent.d.ts.map +1 -1
  16. package/dist/application/agents/planning-agent.js +146 -70
  17. package/dist/application/agents/planning-agent.js.map +1 -1
  18. package/dist/application/agents/product-requirements-agent.d.ts +21 -0
  19. package/dist/application/agents/product-requirements-agent.d.ts.map +1 -0
  20. package/dist/application/agents/product-requirements-agent.js +247 -0
  21. package/dist/application/agents/product-requirements-agent.js.map +1 -0
  22. package/dist/application/agents/validation-agent.d.ts +5 -1
  23. package/dist/application/agents/validation-agent.d.ts.map +1 -1
  24. package/dist/application/agents/validation-agent.js +156 -21
  25. package/dist/application/agents/validation-agent.js.map +1 -1
  26. package/dist/application/services/dependency-container.d.ts +46 -2
  27. package/dist/application/services/dependency-container.d.ts.map +1 -1
  28. package/dist/application/services/dependency-container.js +177 -7
  29. package/dist/application/services/dependency-container.js.map +1 -1
  30. package/dist/application/services/intelligent-router.d.ts +13 -0
  31. package/dist/application/services/intelligent-router.d.ts.map +1 -1
  32. package/dist/application/services/intelligent-router.js +306 -90
  33. package/dist/application/services/intelligent-router.js.map +1 -1
  34. package/dist/application/use-cases/ask-question-use-case.d.ts +19 -0
  35. package/dist/application/use-cases/ask-question-use-case.d.ts.map +1 -1
  36. package/dist/application/use-cases/ask-question-use-case.js +125 -46
  37. package/dist/application/use-cases/ask-question-use-case.js.map +1 -1
  38. package/dist/application/use-cases/edit-file-use-case.d.ts.map +1 -1
  39. package/dist/application/use-cases/edit-file-use-case.js +16 -1
  40. package/dist/application/use-cases/edit-file-use-case.js.map +1 -1
  41. package/dist/domain/entities/documentation.d.ts +35 -0
  42. package/dist/domain/entities/documentation.d.ts.map +1 -0
  43. package/dist/domain/entities/documentation.js +6 -0
  44. package/dist/domain/entities/documentation.js.map +1 -0
  45. package/dist/domain/entities/product-requirements.d.ts +50 -0
  46. package/dist/domain/entities/product-requirements.d.ts.map +1 -0
  47. package/dist/domain/entities/product-requirements.js +6 -0
  48. package/dist/domain/entities/product-requirements.js.map +1 -0
  49. package/dist/domain/entities/task.d.ts +152 -0
  50. package/dist/domain/entities/task.d.ts.map +1 -0
  51. package/dist/domain/entities/task.js +61 -0
  52. package/dist/domain/entities/task.js.map +1 -0
  53. package/dist/domain/errors/embeddings-not-found-error.d.ts +9 -0
  54. package/dist/domain/errors/embeddings-not-found-error.d.ts.map +1 -0
  55. package/dist/domain/errors/embeddings-not-found-error.js +13 -0
  56. package/dist/domain/errors/embeddings-not-found-error.js.map +1 -0
  57. package/dist/domain/interfaces/agent.interface.d.ts +15 -0
  58. package/dist/domain/interfaces/agent.interface.d.ts.map +1 -0
  59. package/dist/domain/interfaces/agent.interface.js +6 -0
  60. package/dist/domain/interfaces/agent.interface.js.map +1 -0
  61. package/dist/domain/interfaces/embedding-repository.interface.d.ts +5 -0
  62. package/dist/domain/interfaces/embedding-repository.interface.d.ts.map +1 -1
  63. package/dist/domain/services/environment-mode-manager.d.ts +12 -0
  64. package/dist/domain/services/environment-mode-manager.d.ts.map +1 -0
  65. package/dist/domain/services/environment-mode-manager.js +22 -0
  66. package/dist/domain/services/environment-mode-manager.js.map +1 -0
  67. package/dist/domain/services/risk-tier-detector.d.ts +17 -0
  68. package/dist/domain/services/risk-tier-detector.d.ts.map +1 -0
  69. package/dist/domain/services/risk-tier-detector.js +78 -0
  70. package/dist/domain/services/risk-tier-detector.js.map +1 -0
  71. package/dist/embed.d.ts.map +1 -1
  72. package/dist/embed.js +18 -8
  73. package/dist/embed.js.map +1 -1
  74. package/dist/formatter.d.ts.map +1 -1
  75. package/dist/formatter.js +10 -3
  76. package/dist/formatter.js.map +1 -1
  77. package/dist/index.js +398 -164
  78. package/dist/index.js.map +1 -1
  79. package/dist/infrastructure/ai/cohere-ai-service.d.ts.map +1 -1
  80. package/dist/infrastructure/ai/cohere-ai-service.js +18 -5
  81. package/dist/infrastructure/ai/cohere-ai-service.js.map +1 -1
  82. package/dist/infrastructure/ai/fake-ai-service.d.ts +22 -0
  83. package/dist/infrastructure/ai/fake-ai-service.d.ts.map +1 -0
  84. package/dist/infrastructure/ai/fake-ai-service.js +59 -0
  85. package/dist/infrastructure/ai/fake-ai-service.js.map +1 -0
  86. package/dist/infrastructure/ai/provider-ai-service.d.ts +59 -0
  87. package/dist/infrastructure/ai/provider-ai-service.d.ts.map +1 -0
  88. package/dist/infrastructure/ai/provider-ai-service.js +477 -0
  89. package/dist/infrastructure/ai/provider-ai-service.js.map +1 -0
  90. package/dist/infrastructure/cache/embedding-cache.d.ts +13 -1
  91. package/dist/infrastructure/cache/embedding-cache.d.ts.map +1 -1
  92. package/dist/infrastructure/cache/embedding-cache.js +80 -9
  93. package/dist/infrastructure/cache/embedding-cache.js.map +1 -1
  94. package/dist/infrastructure/cache/query-result-cache.d.ts +14 -55
  95. package/dist/infrastructure/cache/query-result-cache.d.ts.map +1 -1
  96. package/dist/infrastructure/cache/query-result-cache.js +40 -112
  97. package/dist/infrastructure/cache/query-result-cache.js.map +1 -1
  98. package/dist/infrastructure/cache/response-cache.d.ts +18 -0
  99. package/dist/infrastructure/cache/response-cache.d.ts.map +1 -0
  100. package/dist/infrastructure/cache/response-cache.js +48 -0
  101. package/dist/infrastructure/cache/response-cache.js.map +1 -0
  102. package/dist/infrastructure/cache/security-scan-cache.d.ts +8 -49
  103. package/dist/infrastructure/cache/security-scan-cache.d.ts.map +1 -1
  104. package/dist/infrastructure/cache/security-scan-cache.js +25 -102
  105. package/dist/infrastructure/cache/security-scan-cache.js.map +1 -1
  106. package/dist/infrastructure/completion/bash-completion.d.ts +2 -3
  107. package/dist/infrastructure/completion/bash-completion.d.ts.map +1 -1
  108. package/dist/infrastructure/completion/bash-completion.js +11 -87
  109. package/dist/infrastructure/completion/bash-completion.js.map +1 -1
  110. package/dist/infrastructure/completion/fish-completion.d.ts +2 -3
  111. package/dist/infrastructure/completion/fish-completion.d.ts.map +1 -1
  112. package/dist/infrastructure/completion/fish-completion.js +15 -58
  113. package/dist/infrastructure/completion/fish-completion.js.map +1 -1
  114. package/dist/infrastructure/completion/zsh-completion.d.ts +2 -3
  115. package/dist/infrastructure/completion/zsh-completion.d.ts.map +1 -1
  116. package/dist/infrastructure/completion/zsh-completion.js +18 -73
  117. package/dist/infrastructure/completion/zsh-completion.js.map +1 -1
  118. package/dist/infrastructure/config/config-manager.js +2 -2
  119. package/dist/infrastructure/config/config-manager.js.map +1 -1
  120. package/dist/infrastructure/context/conversation-context.d.ts +54 -0
  121. package/dist/infrastructure/context/conversation-context.d.ts.map +1 -0
  122. package/dist/infrastructure/context/conversation-context.js +128 -0
  123. package/dist/infrastructure/context/conversation-context.js.map +1 -0
  124. package/dist/infrastructure/context/session-manager.d.ts +42 -0
  125. package/dist/infrastructure/context/session-manager.d.ts.map +1 -0
  126. package/dist/infrastructure/context/session-manager.js +94 -0
  127. package/dist/infrastructure/context/session-manager.js.map +1 -0
  128. package/dist/infrastructure/cost/cost-tracker.d.ts +1 -0
  129. package/dist/infrastructure/cost/cost-tracker.d.ts.map +1 -1
  130. package/dist/infrastructure/cost/cost-tracker.js +12 -5
  131. package/dist/infrastructure/cost/cost-tracker.js.map +1 -1
  132. package/dist/infrastructure/governance/nist-ai-rmf.d.ts +6 -8
  133. package/dist/infrastructure/governance/nist-ai-rmf.d.ts.map +1 -1
  134. package/dist/infrastructure/governance/nist-ai-rmf.js +6 -8
  135. package/dist/infrastructure/governance/nist-ai-rmf.js.map +1 -1
  136. package/dist/infrastructure/governance/policy-as-code.d.ts +6 -8
  137. package/dist/infrastructure/governance/policy-as-code.d.ts.map +1 -1
  138. package/dist/infrastructure/governance/policy-as-code.js +6 -8
  139. package/dist/infrastructure/governance/policy-as-code.js.map +1 -1
  140. package/dist/infrastructure/governance/prompt-to-code-lineage.d.ts +7 -9
  141. package/dist/infrastructure/governance/prompt-to-code-lineage.d.ts.map +1 -1
  142. package/dist/infrastructure/governance/prompt-to-code-lineage.js +7 -9
  143. package/dist/infrastructure/governance/prompt-to-code-lineage.js.map +1 -1
  144. package/dist/infrastructure/providers/cohere-provider.d.ts +39 -0
  145. package/dist/infrastructure/providers/cohere-provider.d.ts.map +1 -0
  146. package/dist/infrastructure/providers/cohere-provider.js +444 -0
  147. package/dist/infrastructure/providers/cohere-provider.js.map +1 -0
  148. package/dist/infrastructure/providers/fake-provider.d.ts +43 -0
  149. package/dist/infrastructure/providers/fake-provider.d.ts.map +1 -0
  150. package/dist/infrastructure/providers/fake-provider.js +130 -0
  151. package/dist/infrastructure/providers/fake-provider.js.map +1 -0
  152. package/dist/infrastructure/providers/local-llm-provider.d.ts +49 -0
  153. package/dist/infrastructure/providers/local-llm-provider.d.ts.map +1 -0
  154. package/dist/infrastructure/providers/local-llm-provider.js +330 -0
  155. package/dist/infrastructure/providers/local-llm-provider.js.map +1 -0
  156. package/dist/infrastructure/providers/model-config.types.d.ts +70 -0
  157. package/dist/infrastructure/providers/model-config.types.d.ts.map +1 -0
  158. package/dist/infrastructure/providers/model-config.types.js +9 -0
  159. package/dist/infrastructure/providers/model-config.types.js.map +1 -0
  160. package/dist/infrastructure/providers/model-provider.interface.d.ts +113 -0
  161. package/dist/infrastructure/providers/model-provider.interface.d.ts.map +1 -0
  162. package/dist/infrastructure/providers/model-provider.interface.js +8 -0
  163. package/dist/infrastructure/providers/model-provider.interface.js.map +1 -0
  164. package/dist/infrastructure/providers/openai-provider.d.ts +38 -0
  165. package/dist/infrastructure/providers/openai-provider.d.ts.map +1 -0
  166. package/dist/infrastructure/providers/openai-provider.js +413 -0
  167. package/dist/infrastructure/providers/openai-provider.js.map +1 -0
  168. package/dist/infrastructure/providers/openrouter-provider.d.ts +42 -0
  169. package/dist/infrastructure/providers/openrouter-provider.d.ts.map +1 -0
  170. package/dist/infrastructure/providers/openrouter-provider.js +399 -0
  171. package/dist/infrastructure/providers/openrouter-provider.js.map +1 -0
  172. package/dist/infrastructure/providers/operation-provider-resolver.d.ts +48 -0
  173. package/dist/infrastructure/providers/operation-provider-resolver.d.ts.map +1 -0
  174. package/dist/infrastructure/providers/operation-provider-resolver.js +105 -0
  175. package/dist/infrastructure/providers/operation-provider-resolver.js.map +1 -0
  176. package/dist/infrastructure/providers/provider-config-loader.d.ts +37 -0
  177. package/dist/infrastructure/providers/provider-config-loader.d.ts.map +1 -0
  178. package/dist/infrastructure/providers/provider-config-loader.js +120 -0
  179. package/dist/infrastructure/providers/provider-config-loader.js.map +1 -0
  180. package/dist/infrastructure/providers/provider-registry.d.ts +53 -0
  181. package/dist/infrastructure/providers/provider-registry.d.ts.map +1 -0
  182. package/dist/infrastructure/providers/provider-registry.js +88 -0
  183. package/dist/infrastructure/providers/provider-registry.js.map +1 -0
  184. package/dist/infrastructure/serialization/toon-serializer.d.ts +45 -0
  185. package/dist/infrastructure/serialization/toon-serializer.d.ts.map +1 -0
  186. package/dist/infrastructure/serialization/toon-serializer.js +119 -0
  187. package/dist/infrastructure/serialization/toon-serializer.js.map +1 -0
  188. package/dist/infrastructure/storage/embeddings-path.d.ts +18 -0
  189. package/dist/infrastructure/storage/embeddings-path.d.ts.map +1 -0
  190. package/dist/infrastructure/storage/embeddings-path.js +37 -0
  191. package/dist/infrastructure/storage/embeddings-path.js.map +1 -0
  192. package/dist/infrastructure/storage/plan-repository.d.ts +2 -0
  193. package/dist/infrastructure/storage/plan-repository.d.ts.map +1 -1
  194. package/dist/infrastructure/storage/plan-repository.js +36 -73
  195. package/dist/infrastructure/storage/plan-repository.js.map +1 -1
  196. package/dist/infrastructure/storage/sqlite-embedding-repository.d.ts +10 -1
  197. package/dist/infrastructure/storage/sqlite-embedding-repository.d.ts.map +1 -1
  198. package/dist/infrastructure/storage/sqlite-embedding-repository.js +37 -3
  199. package/dist/infrastructure/storage/sqlite-embedding-repository.js.map +1 -1
  200. package/dist/infrastructure/storage/task-helpers.d.ts +69 -0
  201. package/dist/infrastructure/storage/task-helpers.d.ts.map +1 -0
  202. package/dist/infrastructure/storage/task-helpers.js +197 -0
  203. package/dist/infrastructure/storage/task-helpers.js.map +1 -0
  204. package/dist/infrastructure/storage/task-repository.d.ts +67 -0
  205. package/dist/infrastructure/storage/task-repository.d.ts.map +1 -0
  206. package/dist/infrastructure/storage/task-repository.js +205 -0
  207. package/dist/infrastructure/storage/task-repository.js.map +1 -0
  208. package/dist/infrastructure/ux/bi-directional-learning.d.ts +22 -0
  209. package/dist/infrastructure/ux/bi-directional-learning.d.ts.map +1 -1
  210. package/dist/infrastructure/ux/bi-directional-learning.js +144 -7
  211. package/dist/infrastructure/ux/bi-directional-learning.js.map +1 -1
  212. package/dist/infrastructure/ux/capability-boundaries.d.ts +22 -0
  213. package/dist/infrastructure/ux/capability-boundaries.d.ts.map +1 -0
  214. package/dist/infrastructure/ux/capability-boundaries.js +42 -0
  215. package/dist/infrastructure/ux/capability-boundaries.js.map +1 -0
  216. package/dist/infrastructure/ux/comprehensive-formatter.d.ts +21 -0
  217. package/dist/infrastructure/ux/comprehensive-formatter.d.ts.map +1 -0
  218. package/dist/infrastructure/ux/comprehensive-formatter.js +117 -0
  219. package/dist/infrastructure/ux/comprehensive-formatter.js.map +1 -0
  220. package/dist/infrastructure/ux/contextual-feature-discovery.d.ts +5 -18
  221. package/dist/infrastructure/ux/contextual-feature-discovery.d.ts.map +1 -1
  222. package/dist/infrastructure/ux/contextual-feature-discovery.js +5 -139
  223. package/dist/infrastructure/ux/contextual-feature-discovery.js.map +1 -1
  224. package/dist/infrastructure/ux/feature-discovery.d.ts +3 -33
  225. package/dist/infrastructure/ux/feature-discovery.d.ts.map +1 -1
  226. package/dist/infrastructure/ux/feature-discovery.js +5 -181
  227. package/dist/infrastructure/ux/feature-discovery.js.map +1 -1
  228. package/dist/infrastructure/ux/feedback-prompt.d.ts +26 -0
  229. package/dist/infrastructure/ux/feedback-prompt.d.ts.map +1 -0
  230. package/dist/infrastructure/ux/feedback-prompt.js +45 -0
  231. package/dist/infrastructure/ux/feedback-prompt.js.map +1 -0
  232. package/dist/infrastructure/ux/hitl-review-portal.d.ts.map +1 -1
  233. package/dist/infrastructure/ux/hitl-review-portal.js +4 -1
  234. package/dist/infrastructure/ux/hitl-review-portal.js.map +1 -1
  235. package/dist/infrastructure/ux/hitl-validation.d.ts +35 -0
  236. package/dist/infrastructure/ux/hitl-validation.d.ts.map +1 -1
  237. package/dist/infrastructure/ux/hitl-validation.js +86 -0
  238. package/dist/infrastructure/ux/hitl-validation.js.map +1 -1
  239. package/dist/infrastructure/ux/progress-indicator.d.ts +4 -5
  240. package/dist/infrastructure/ux/progress-indicator.d.ts.map +1 -1
  241. package/dist/infrastructure/ux/progress-indicator.js +35 -40
  242. package/dist/infrastructure/ux/progress-indicator.js.map +1 -1
  243. package/dist/infrastructure/ux/proportional-friction.d.ts +73 -0
  244. package/dist/infrastructure/ux/proportional-friction.d.ts.map +1 -0
  245. package/dist/infrastructure/ux/proportional-friction.js +200 -0
  246. package/dist/infrastructure/ux/proportional-friction.js.map +1 -0
  247. package/dist/infrastructure/ux/review-checkpoint.d.ts +3 -1
  248. package/dist/infrastructure/ux/review-checkpoint.d.ts.map +1 -1
  249. package/dist/infrastructure/ux/review-checkpoint.js +33 -80
  250. package/dist/infrastructure/ux/review-checkpoint.js.map +1 -1
  251. package/dist/infrastructure/ux/staged-feature-intro.d.ts +14 -39
  252. package/dist/infrastructure/ux/staged-feature-intro.d.ts.map +1 -1
  253. package/dist/infrastructure/ux/staged-feature-intro.js +12 -132
  254. package/dist/infrastructure/ux/staged-feature-intro.js.map +1 -1
  255. package/dist/infrastructure/ux/syntax-highlighter.d.ts +1 -2
  256. package/dist/infrastructure/ux/syntax-highlighter.d.ts.map +1 -1
  257. package/dist/infrastructure/ux/syntax-highlighter.js +67 -148
  258. package/dist/infrastructure/ux/syntax-highlighter.js.map +1 -1
  259. package/dist/infrastructure/validation/agent-feedback.d.ts +51 -0
  260. package/dist/infrastructure/validation/agent-feedback.d.ts.map +1 -0
  261. package/dist/infrastructure/validation/agent-feedback.js +55 -0
  262. package/dist/infrastructure/validation/agent-feedback.js.map +1 -0
  263. package/dist/infrastructure/validation/agent-validation-helper.d.ts +75 -0
  264. package/dist/infrastructure/validation/agent-validation-helper.d.ts.map +1 -0
  265. package/dist/infrastructure/validation/agent-validation-helper.js +137 -0
  266. package/dist/infrastructure/validation/agent-validation-helper.js.map +1 -0
  267. package/dist/infrastructure/validation/feedback-stats.d.ts +99 -0
  268. package/dist/infrastructure/validation/feedback-stats.d.ts.map +1 -0
  269. package/dist/infrastructure/validation/feedback-stats.js +173 -0
  270. package/dist/infrastructure/validation/feedback-stats.js.map +1 -0
  271. package/dist/infrastructure/validation/review-handler.d.ts +26 -0
  272. package/dist/infrastructure/validation/review-handler.d.ts.map +1 -0
  273. package/dist/infrastructure/validation/review-handler.js +40 -0
  274. package/dist/infrastructure/validation/review-handler.js.map +1 -0
  275. package/dist/infrastructure/validation/summary-aggregator.d.ts +45 -0
  276. package/dist/infrastructure/validation/summary-aggregator.d.ts.map +1 -0
  277. package/dist/infrastructure/validation/summary-aggregator.js +70 -0
  278. package/dist/infrastructure/validation/summary-aggregator.js.map +1 -0
  279. package/dist/infrastructure/validation/summary-extractor.d.ts +24 -0
  280. package/dist/infrastructure/validation/summary-extractor.d.ts.map +1 -0
  281. package/dist/infrastructure/validation/summary-extractor.js +45 -0
  282. package/dist/infrastructure/validation/summary-extractor.js.map +1 -0
  283. package/dist/infrastructure/validation/trace-summary.d.ts +45 -0
  284. package/dist/infrastructure/validation/trace-summary.d.ts.map +1 -0
  285. package/dist/infrastructure/validation/trace-summary.js +52 -0
  286. package/dist/infrastructure/validation/trace-summary.js.map +1 -0
  287. package/dist/infrastructure/validation/trust-config.d.ts +27 -0
  288. package/dist/infrastructure/validation/trust-config.d.ts.map +1 -0
  289. package/dist/infrastructure/validation/trust-config.js +113 -0
  290. package/dist/infrastructure/validation/trust-config.js.map +1 -0
  291. package/dist/infrastructure/xai/attention-visualizer.d.ts +6 -8
  292. package/dist/infrastructure/xai/attention-visualizer.d.ts.map +1 -1
  293. package/dist/infrastructure/xai/attention-visualizer.js +6 -8
  294. package/dist/infrastructure/xai/attention-visualizer.js.map +1 -1
  295. package/dist/infrastructure/xai/cot-visualizer.d.ts +6 -9
  296. package/dist/infrastructure/xai/cot-visualizer.d.ts.map +1 -1
  297. package/dist/infrastructure/xai/cot-visualizer.js +6 -9
  298. package/dist/infrastructure/xai/cot-visualizer.js.map +1 -1
  299. package/dist/infrastructure/xai/decision-tree-log.d.ts +6 -10
  300. package/dist/infrastructure/xai/decision-tree-log.d.ts.map +1 -1
  301. package/dist/infrastructure/xai/decision-tree-log.js +6 -10
  302. package/dist/infrastructure/xai/decision-tree-log.js.map +1 -1
  303. package/dist/infrastructure/xai/interactive-xai.d.ts +6 -8
  304. package/dist/infrastructure/xai/interactive-xai.d.ts.map +1 -1
  305. package/dist/infrastructure/xai/interactive-xai.js +6 -8
  306. package/dist/infrastructure/xai/interactive-xai.js.map +1 -1
  307. package/dist/infrastructure/xai/uncertainty-quantifier.d.ts +6 -9
  308. package/dist/infrastructure/xai/uncertainty-quantifier.d.ts.map +1 -1
  309. package/dist/infrastructure/xai/uncertainty-quantifier.js +6 -9
  310. package/dist/infrastructure/xai/uncertainty-quantifier.js.map +1 -1
  311. package/dist/monitoring.d.ts +1 -1
  312. package/dist/monitoring.d.ts.map +1 -1
  313. package/dist/monitoring.js +12 -9
  314. package/dist/monitoring.js.map +1 -1
  315. package/dist/parallel-processor.d.ts.map +1 -1
  316. package/dist/parallel-processor.js +124 -45
  317. package/dist/parallel-processor.js.map +1 -1
  318. package/dist/presentation/cli/commands/ask-command.d.ts.map +1 -1
  319. package/dist/presentation/cli/commands/ask-command.js +225 -86
  320. package/dist/presentation/cli/commands/ask-command.js.map +1 -1
  321. package/dist/presentation/cli/commands/config-command.d.ts.map +1 -1
  322. package/dist/presentation/cli/commands/config-command.js +8 -6
  323. package/dist/presentation/cli/commands/config-command.js.map +1 -1
  324. package/dist/presentation/cli/commands/docs-command.d.ts +14 -0
  325. package/dist/presentation/cli/commands/docs-command.d.ts.map +1 -0
  326. package/dist/presentation/cli/commands/docs-command.js +25 -0
  327. package/dist/presentation/cli/commands/docs-command.js.map +1 -0
  328. package/dist/presentation/cli/commands/fix-command.d.ts +10 -0
  329. package/dist/presentation/cli/commands/fix-command.d.ts.map +1 -0
  330. package/dist/presentation/cli/commands/fix-command.js +53 -0
  331. package/dist/presentation/cli/commands/fix-command.js.map +1 -0
  332. package/dist/presentation/cli/commands/help-command.d.ts.map +1 -1
  333. package/dist/presentation/cli/commands/help-command.js +2 -0
  334. package/dist/presentation/cli/commands/help-command.js.map +1 -1
  335. package/dist/presentation/cli/commands/models-command.d.ts +13 -0
  336. package/dist/presentation/cli/commands/models-command.d.ts.map +1 -0
  337. package/dist/presentation/cli/commands/models-command.js +194 -0
  338. package/dist/presentation/cli/commands/models-command.js.map +1 -0
  339. package/dist/presentation/cli/commands/orchestrate-command.d.ts +1 -0
  340. package/dist/presentation/cli/commands/orchestrate-command.d.ts.map +1 -1
  341. package/dist/presentation/cli/commands/orchestrate-command.js +68 -7
  342. package/dist/presentation/cli/commands/orchestrate-command.js.map +1 -1
  343. package/dist/presentation/cli/commands/plan-command.d.ts +1 -0
  344. package/dist/presentation/cli/commands/plan-command.d.ts.map +1 -1
  345. package/dist/presentation/cli/commands/plan-command.js +88 -8
  346. package/dist/presentation/cli/commands/plan-command.js.map +1 -1
  347. package/dist/presentation/cli/commands/product-command.d.ts +14 -0
  348. package/dist/presentation/cli/commands/product-command.d.ts.map +1 -0
  349. package/dist/presentation/cli/commands/product-command.js +22 -0
  350. package/dist/presentation/cli/commands/product-command.js.map +1 -0
  351. package/dist/presentation/cli/commands/react-command.d.ts.map +1 -1
  352. package/dist/presentation/cli/commands/react-command.js +3 -1
  353. package/dist/presentation/cli/commands/react-command.js.map +1 -1
  354. package/dist/presentation/cli/commands/review-command.d.ts +14 -0
  355. package/dist/presentation/cli/commands/review-command.d.ts.map +1 -0
  356. package/dist/presentation/cli/commands/review-command.js +154 -0
  357. package/dist/presentation/cli/commands/review-command.js.map +1 -0
  358. package/dist/presentation/cli/commands/run-command.d.ts +13 -0
  359. package/dist/presentation/cli/commands/run-command.d.ts.map +1 -0
  360. package/dist/presentation/cli/commands/run-command.js +188 -0
  361. package/dist/presentation/cli/commands/run-command.js.map +1 -0
  362. package/dist/presentation/cli/commands/setup-command.d.ts.map +1 -1
  363. package/dist/presentation/cli/commands/setup-command.js +15 -0
  364. package/dist/presentation/cli/commands/setup-command.js.map +1 -1
  365. package/dist/presentation/cli/commands/smart-command.d.ts +3 -1
  366. package/dist/presentation/cli/commands/smart-command.d.ts.map +1 -1
  367. package/dist/presentation/cli/commands/smart-command.js +92 -6
  368. package/dist/presentation/cli/commands/smart-command.js.map +1 -1
  369. package/dist/presentation/cli/commands/status-command.d.ts +14 -0
  370. package/dist/presentation/cli/commands/status-command.d.ts.map +1 -0
  371. package/dist/presentation/cli/commands/status-command.js +167 -0
  372. package/dist/presentation/cli/commands/status-command.js.map +1 -0
  373. package/dist/presentation/cli/commands/suggest-command.d.ts +11 -0
  374. package/dist/presentation/cli/commands/suggest-command.d.ts.map +1 -0
  375. package/dist/presentation/cli/commands/suggest-command.js +138 -0
  376. package/dist/presentation/cli/commands/suggest-command.js.map +1 -0
  377. package/dist/presentation/cli/error-display.d.ts.map +1 -1
  378. package/dist/presentation/cli/error-display.js +43 -0
  379. package/dist/presentation/cli/error-display.js.map +1 -1
  380. package/dist/search.d.ts.map +1 -1
  381. package/dist/search.js +6 -1
  382. package/dist/search.js.map +1 -1
  383. package/dist/session.js +19 -2
  384. package/dist/session.js.map +1 -1
  385. package/dist/ui.d.ts +6 -0
  386. package/dist/ui.d.ts.map +1 -1
  387. package/dist/ui.js +43 -6
  388. package/dist/ui.js.map +1 -1
  389. package/package.json +16 -3
@@ -0,0 +1,399 @@
1
+ /**
2
+ * Application Agent: Documentation Agent
3
+ * Generates and maintains documentation (README, API docs)
4
+ */
5
+ import { parseFile } from '../../ast-parser.js';
6
+ import { readFileSync, writeFileSync, existsSync, mkdirSync, readdirSync } from 'fs';
7
+ import { join, relative, resolve } from 'path';
8
+ import { createFile } from '../../tools/edit.js';
9
+ export class DocumentationAgent {
10
+ aiService;
11
+ memoryStream;
12
+ cwd;
13
+ name = 'documentation-agent';
14
+ type = 'non-engineering';
15
+ constructor(aiService, memoryStream, cwd = process.cwd()) {
16
+ this.aiService = aiService;
17
+ this.memoryStream = memoryStream;
18
+ this.cwd = cwd;
19
+ }
20
+ async execute(request) {
21
+ const errors = [];
22
+ const documents = [];
23
+ let filesAnalyzed = 0;
24
+ let symbolsDocumented = 0;
25
+ let linesGenerated = 0;
26
+ try {
27
+ if (request.type === 'readme' || request.type === 'all') {
28
+ const readmeResult = await this.generateREADME(request);
29
+ if (readmeResult.success) {
30
+ documents.push(...readmeResult.documents);
31
+ filesAnalyzed += readmeResult.stats?.filesAnalyzed || 0;
32
+ linesGenerated += readmeResult.stats?.linesGenerated || 0;
33
+ }
34
+ else {
35
+ errors.push(...(readmeResult.errors || []));
36
+ }
37
+ }
38
+ if (request.type === 'api' || request.type === 'all') {
39
+ const apiResult = await this.generateAPIDocs(request);
40
+ if (apiResult.success) {
41
+ documents.push(...apiResult.documents);
42
+ filesAnalyzed += apiResult.stats?.filesAnalyzed || 0;
43
+ symbolsDocumented += apiResult.stats?.symbolsDocumented || 0;
44
+ linesGenerated += apiResult.stats?.linesGenerated || 0;
45
+ }
46
+ else {
47
+ errors.push(...(apiResult.errors || []));
48
+ }
49
+ }
50
+ return {
51
+ success: errors.length === 0,
52
+ documents,
53
+ stats: {
54
+ filesAnalyzed,
55
+ symbolsDocumented,
56
+ linesGenerated,
57
+ },
58
+ errors: errors.length > 0 ? errors : undefined,
59
+ };
60
+ }
61
+ catch (error) {
62
+ return {
63
+ success: false,
64
+ documents,
65
+ stats: {
66
+ filesAnalyzed,
67
+ symbolsDocumented,
68
+ linesGenerated,
69
+ },
70
+ errors: [error instanceof Error ? error.message : String(error)],
71
+ };
72
+ }
73
+ }
74
+ async generateREADME(request) {
75
+ const errors = [];
76
+ const outputPath = request.options?.outputPath || 'README.md';
77
+ const fullPath = resolve(this.cwd, outputPath);
78
+ const updateExisting = request.options?.updateExisting || false;
79
+ // Check if README exists and updateExisting is false
80
+ if (existsSync(fullPath) && !updateExisting) {
81
+ errors.push(`README.md already exists at ${outputPath}. Use updateExisting option to update.`);
82
+ return {
83
+ success: false,
84
+ documents: [],
85
+ errors,
86
+ };
87
+ }
88
+ try {
89
+ // Read package.json if exists
90
+ const packageJsonPath = join(this.cwd, 'package.json');
91
+ let packageInfo = null;
92
+ if (existsSync(packageJsonPath)) {
93
+ try {
94
+ packageInfo = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
95
+ }
96
+ catch (e) {
97
+ errors.push(`Failed to parse package.json: ${e instanceof Error ? e.message : String(e)}`);
98
+ }
99
+ }
100
+ // Analyze folder structure
101
+ const folderStructure = this.analyzeFolderStructure(this.cwd);
102
+ // Generate README content using AI
103
+ const context = [];
104
+ if (packageInfo) {
105
+ context.push({
106
+ filepath: 'package.json',
107
+ content: JSON.stringify(packageInfo, null, 2),
108
+ lineStart: 1,
109
+ lineEnd: Object.keys(packageInfo).length,
110
+ score: 1.0,
111
+ metadata: {
112
+ language: 'json',
113
+ },
114
+ });
115
+ }
116
+ const readmePrompt = this.buildReadmePrompt(packageInfo, folderStructure);
117
+ const readmeContent = await this.aiService.chat(readmePrompt, context);
118
+ // Write README - use writeFileSync directly when updating, createFile for new files
119
+ try {
120
+ if (updateExisting && existsSync(fullPath)) {
121
+ // Overwrite existing file directly
122
+ writeFileSync(fullPath, readmeContent, 'utf-8');
123
+ }
124
+ else {
125
+ // Create new file using createFile (which handles directory creation)
126
+ const writeResult = createFile(outputPath, readmeContent, {
127
+ cwd: this.cwd,
128
+ createIfNotExists: true, // Allow overwrite if file exists
129
+ });
130
+ if (!writeResult.success) {
131
+ errors.push(writeResult.error || 'Failed to write README.md');
132
+ return {
133
+ success: false,
134
+ documents: [],
135
+ errors,
136
+ };
137
+ }
138
+ }
139
+ }
140
+ catch (writeError) {
141
+ errors.push(`Failed to write README.md: ${writeError instanceof Error ? writeError.message : String(writeError)}`);
142
+ return {
143
+ success: false,
144
+ documents: [],
145
+ errors,
146
+ };
147
+ }
148
+ const lines = readmeContent.split('\n').length;
149
+ return {
150
+ success: true,
151
+ documents: [
152
+ {
153
+ path: outputPath,
154
+ type: 'readme',
155
+ contentPreview: readmeContent.substring(0, 200),
156
+ },
157
+ ],
158
+ stats: {
159
+ filesAnalyzed: 1, // package.json
160
+ symbolsDocumented: 0,
161
+ linesGenerated: lines,
162
+ },
163
+ };
164
+ }
165
+ catch (error) {
166
+ errors.push(error instanceof Error ? error.message : String(error));
167
+ return {
168
+ success: false,
169
+ documents: [],
170
+ errors,
171
+ };
172
+ }
173
+ }
174
+ async generateAPIDocs(request) {
175
+ const errors = [];
176
+ const targetDir = request.target || 'src';
177
+ const targetPath = resolve(this.cwd, targetDir);
178
+ if (!existsSync(targetPath)) {
179
+ errors.push(`Target directory not found: ${targetDir}`);
180
+ return {
181
+ success: false,
182
+ documents: [],
183
+ errors,
184
+ };
185
+ }
186
+ try {
187
+ // Find all TypeScript/JavaScript files
188
+ const sourceFiles = this.findSourceFiles(targetPath);
189
+ let filesAnalyzed = sourceFiles.length;
190
+ // Extract exported symbols from each file
191
+ const exportedSymbols = [];
192
+ for (const file of sourceFiles) {
193
+ const analysis = parseFile(file);
194
+ if (analysis) {
195
+ const exported = analysis.symbols.filter((s) => s.isExported);
196
+ exportedSymbols.push(...exported.map((s) => ({
197
+ ...s,
198
+ filepath: relative(this.cwd, file),
199
+ })));
200
+ }
201
+ }
202
+ let symbolsDocumented = exportedSymbols.length;
203
+ if (exportedSymbols.length === 0) {
204
+ errors.push('No exported symbols found in target directory');
205
+ return {
206
+ success: false,
207
+ documents: [],
208
+ stats: {
209
+ filesAnalyzed,
210
+ symbolsDocumented: 0,
211
+ linesGenerated: 0,
212
+ },
213
+ errors,
214
+ };
215
+ }
216
+ // Generate API documentation content
217
+ const apiContent = await this.buildAPIDocsContent(exportedSymbols);
218
+ // Write API docs
219
+ const outputDir = join(this.cwd, 'docs');
220
+ if (!existsSync(outputDir)) {
221
+ mkdirSync(outputDir, { recursive: true });
222
+ }
223
+ const outputPath = join(outputDir, 'api.md');
224
+ writeFileSync(outputPath, apiContent, 'utf-8');
225
+ const lines = apiContent.split('\n').length;
226
+ return {
227
+ success: true,
228
+ documents: [
229
+ {
230
+ path: relative(this.cwd, outputPath),
231
+ type: 'api',
232
+ contentPreview: apiContent.substring(0, 200),
233
+ },
234
+ ],
235
+ stats: {
236
+ filesAnalyzed,
237
+ symbolsDocumented,
238
+ linesGenerated: lines,
239
+ },
240
+ };
241
+ }
242
+ catch (error) {
243
+ errors.push(error instanceof Error ? error.message : String(error));
244
+ return {
245
+ success: false,
246
+ documents: [],
247
+ stats: {
248
+ filesAnalyzed: 0,
249
+ symbolsDocumented: 0,
250
+ linesGenerated: 0,
251
+ },
252
+ errors,
253
+ };
254
+ }
255
+ }
256
+ analyzeFolderStructure(root, maxDepth = 3) {
257
+ const structure = [];
258
+ const ignoreDirs = new Set([
259
+ 'node_modules',
260
+ '.git',
261
+ 'dist',
262
+ 'build',
263
+ '.next',
264
+ '.cache',
265
+ 'coverage',
266
+ '.vscode',
267
+ '.idea',
268
+ ]);
269
+ function walkDir(dir, depth, prefix = '') {
270
+ if (depth > maxDepth)
271
+ return;
272
+ try {
273
+ const entries = readdirSync(dir, { withFileTypes: true })
274
+ .filter((entry) => !ignoreDirs.has(entry.name) && !entry.name.startsWith('.'))
275
+ .slice(0, 20); // Limit to first 20 entries per directory
276
+ for (const entry of entries) {
277
+ const fullPath = join(dir, entry.name);
278
+ const relPath = relative(root, fullPath);
279
+ structure.push(relPath);
280
+ if (entry.isDirectory() && depth < maxDepth) {
281
+ walkDir(fullPath, depth + 1, prefix + ' ');
282
+ }
283
+ }
284
+ }
285
+ catch (error) {
286
+ // Ignore permission errors
287
+ }
288
+ }
289
+ walkDir(root, 0);
290
+ return structure.slice(0, 50); // Limit total entries
291
+ }
292
+ findSourceFiles(dir) {
293
+ const files = [];
294
+ const ignoreDirs = new Set(['node_modules', '.git', 'dist', 'build', '.next', '.cache']);
295
+ function walkDir(currentDir) {
296
+ try {
297
+ const entries = readdirSync(currentDir, { withFileTypes: true });
298
+ for (const entry of entries) {
299
+ const fullPath = join(currentDir, entry.name);
300
+ if (entry.isDirectory()) {
301
+ if (!ignoreDirs.has(entry.name) && !entry.name.startsWith('.')) {
302
+ walkDir(fullPath);
303
+ }
304
+ }
305
+ else if (['.ts', '.tsx', '.js', '.jsx'].some((ext) => entry.name.endsWith(ext))) {
306
+ files.push(fullPath);
307
+ }
308
+ }
309
+ }
310
+ catch (error) {
311
+ // Ignore permission errors
312
+ }
313
+ }
314
+ walkDir(dir);
315
+ return files;
316
+ }
317
+ buildReadmePrompt(packageInfo, folderStructure) {
318
+ const projectName = packageInfo?.name || 'Project';
319
+ const description = packageInfo?.description || '';
320
+ const scripts = packageInfo?.scripts ? Object.keys(packageInfo.scripts) : [];
321
+ return `Generate a professional README.md for this project:
322
+
323
+ Project Name: ${projectName}
324
+ ${description ? `Description: ${description}` : ''}
325
+
326
+ ${scripts.length > 0 ? `Available Scripts: ${scripts.join(', ')}` : ''}
327
+
328
+ Project Structure:
329
+ ${folderStructure.slice(0, 30).map((f) => `- ${f}`).join('\n')}
330
+
331
+ Create a comprehensive README with:
332
+ 1. Project title and description
333
+ 2. Features (if applicable)
334
+ 3. Installation instructions
335
+ 4. Usage examples
336
+ 5. Project structure overview
337
+ 6. Contributing guidelines (if applicable)
338
+ 7. License information (if applicable)
339
+
340
+ Format as markdown. Make it professional and helpful for new users.`;
341
+ }
342
+ async buildAPIDocsContent(symbols) {
343
+ // Group symbols by file
344
+ const symbolsByFile = new Map();
345
+ for (const symbol of symbols) {
346
+ if (!symbolsByFile.has(symbol.filepath)) {
347
+ symbolsByFile.set(symbol.filepath, []);
348
+ }
349
+ symbolsByFile.get(symbol.filepath).push(symbol);
350
+ }
351
+ // Build structured content for AI generation
352
+ const symbolDescriptions = Array.from(symbolsByFile.entries())
353
+ .map(([filepath, fileSymbols]) => {
354
+ return `## ${filepath}\n\n${fileSymbols
355
+ .map((s) => {
356
+ const sig = s.signature || s.name;
357
+ const params = s.parameters
358
+ ? `(${s.parameters.map((p) => `${p.name}: ${p.type}`).join(', ')})`
359
+ : '';
360
+ const ret = s.returnType ? `: ${s.returnType}` : '';
361
+ return `- **${s.name}** (${s.kind})\n - Signature: \`${sig}${params}${ret}\`\n - Location: Line ${s.line}${s.docComment ? `\n - Doc: ${s.docComment.substring(0, 100)}` : ''}`;
362
+ })
363
+ .join('\n\n')}`;
364
+ })
365
+ .join('\n\n');
366
+ const prompt = `Generate comprehensive API documentation in Markdown format for the following exported symbols:
367
+
368
+ ${symbolDescriptions}
369
+
370
+ For each symbol, provide:
371
+ 1. Function/class/type name
372
+ 2. Description (generate based on name and signature)
373
+ 3. Parameters (if function)
374
+ 4. Return type
375
+ 5. Usage example (if applicable)
376
+
377
+ Format as a well-structured Markdown document with clear sections for each file.`;
378
+ // Create minimal context chunks for AI
379
+ const context = symbols.slice(0, 10).map((s) => ({
380
+ filepath: s.filepath,
381
+ content: `${s.name}${s.signature || ''}`,
382
+ lineStart: s.line,
383
+ lineEnd: s.line,
384
+ score: 1.0,
385
+ metadata: {
386
+ language: 'typescript',
387
+ },
388
+ }));
389
+ const apiDocs = await this.aiService.chat(prompt, context);
390
+ // Add header
391
+ return `# API Documentation
392
+
393
+ Generated automatically from exported symbols.
394
+
395
+ ${apiDocs}
396
+ `;
397
+ }
398
+ }
399
+ //# sourceMappingURL=documentation-agent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"documentation-agent.js","sourceRoot":"","sources":["../../../src/application/agents/documentation-agent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,SAAS,EAAmB,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AACrF,OAAO,EAAE,IAAI,EAAW,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,MAAM,OAAO,kBAAkB;IAKnB;IACA;IACA;IANV,IAAI,GAAG,qBAAqB,CAAC;IAC7B,IAAI,GAAG,iBAA0B,CAAC;IAElC,YACU,SAAqB,EACrB,YAAkC,EAClC,MAAc,OAAO,CAAC,GAAG,EAAE;QAF3B,cAAS,GAAT,SAAS,CAAY;QACrB,iBAAY,GAAZ,YAAY,CAAsB;QAClC,QAAG,GAAH,GAAG,CAAwB;IAClC,CAAC;IAEJ,KAAK,CAAC,OAAO,CAAC,OAA6B;QACzC,MAAM,MAAM,GAAa,EAAE,CAAC;QAC5B,MAAM,SAAS,GAAuC,EAAE,CAAC;QACzD,IAAI,aAAa,GAAG,CAAC,CAAC;QACtB,IAAI,iBAAiB,GAAG,CAAC,CAAC;QAC1B,IAAI,cAAc,GAAG,CAAC,CAAC;QAEvB,IAAI,CAAC;YACH,I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AAC,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;YACpL,CAAC,CAAC;iBACD,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACpB,CAAC,CAAC;aACD,IAAI,CAAC,MAAM,CAAC,CAAC;QAEhB,MAAM,MAAM,GAAG;;EAEjB,kBAAkB;;;;;;;;;iFAS6D,CAAC;QAE9E,uCAAuC;QACvC,MAAM,OAAO,GAAgB,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YAC5D,QAAQ,EAAE,CAAC,CAAC,QAAQ;YACpB,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,SAAS,IAAI,EAAE,EAAE;YACxC,SAAS,EAAE,CAAC,CAAC,IAAI;YACjB,OAAO,EAAE,CAAC,CAAC,IAAI;YACf,KAAK,EAAE,GAAG;YACV,QAAQ,EAAE;gBACR,QAAQ,EAAE,YAAY;aACvB;SACF,CAAC,CAAC,CAAC;QAEJ,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAE3D,aAAa;QACb,OAAO;;;;EAIT,OAAO;CACR,CAAC;IACA,CAAC;CACF"}
@@ -28,6 +28,9 @@ export interface ExecutionResponse {
28
28
  overallSuccess: boolean;
29
29
  completedSubPlans: number;
30
30
  totalSubPlans: number;
31
+ validationSummary?: any;
32
+ feedbackId?: string;
33
+ runId?: string;
31
34
  }
32
35
  export declare class ExecutionAgent {
33
36
  private aiService;
@@ -64,5 +67,13 @@ export declare class ExecutionAgent {
64
67
  * Extract action parameters from sub-plan description
65
68
  */
66
69
  private extractParameters;
70
+ /**
71
+ * Extract files from execution results
72
+ */
73
+ private extractFilesFromResults;
74
+ /**
75
+ * Extract file changes from tool result
76
+ */
77
+ private extractFilesFromToolResult;
67
78
  }
68
79
  //# sourceMappingURL=execution-agent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"execution-agent.d.ts","sourceRoot":"","sources":["../../../src/application/agents/execution-agent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAU,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAG/E,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,cAAc;IAIvB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,GAAG;IALb,OAAO,CAAC,OAAO,CAAU;gBAGf,SAAS,EAAE,UAAU,EACrB,YAAY,EAAE,mBAAmB,EACjC,GAAG,GAAE,MAAsB;IAKrC;;OAEG;IACG,OAAO,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IA2GpE;;;OAGG;YACW,uBAAuB;IA+BrC;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAoB3B;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAY7B;;OAEG;YACW,cAAc;IA2E5B;;OAEG;IACH,OAAO,CAAC,uBAAuB;IA4B/B;;OAEG;IACH,OAAO,CAAC,iBAAiB;CAsD1B"}
1
+ {"version":3,"file":"execution-agent.d.ts","sourceRoot":"","sources":["../../../src/application/agents/execution-agent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAClF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAU,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAK/E,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IAEtB,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB,UAAU,CAAC,E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