@thoughtflow/core 0.1.2

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 (1239) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +247 -0
  3. package/dist/adapters/llm/adapter-factory.d.ts +43 -0
  4. package/dist/adapters/llm/adapter-factory.d.ts.map +1 -0
  5. package/dist/adapters/llm/adapter-factory.js +52 -0
  6. package/dist/adapters/llm/adapter-factory.js.map +1 -0
  7. package/dist/adapters/llm/anthropic.adapter.d.ts +28 -0
  8. package/dist/adapters/llm/anthropic.adapter.d.ts.map +1 -0
  9. package/dist/adapters/llm/anthropic.adapter.js +295 -0
  10. package/dist/adapters/llm/anthropic.adapter.js.map +1 -0
  11. package/dist/adapters/llm/llm-adapter.interface.d.ts +2 -0
  12. package/dist/adapters/llm/llm-adapter.interface.d.ts.map +1 -0
  13. package/dist/adapters/llm/llm-adapter.interface.js +3 -0
  14. package/dist/adapters/llm/llm-adapter.interface.js.map +1 -0
  15. package/dist/adapters/llm/mock.adapter.d.ts +60 -0
  16. package/dist/adapters/llm/mock.adapter.d.ts.map +1 -0
  17. package/dist/adapters/llm/mock.adapter.js +113 -0
  18. package/dist/adapters/llm/mock.adapter.js.map +1 -0
  19. package/dist/adapters/llm/model-profiles.d.ts +42 -0
  20. package/dist/adapters/llm/model-profiles.d.ts.map +1 -0
  21. package/dist/adapters/llm/model-profiles.js +120 -0
  22. package/dist/adapters/llm/model-profiles.js.map +1 -0
  23. package/dist/adapters/llm/ollama.adapter.d.ts +21 -0
  24. package/dist/adapters/llm/ollama.adapter.d.ts.map +1 -0
  25. package/dist/adapters/llm/ollama.adapter.js +375 -0
  26. package/dist/adapters/llm/ollama.adapter.js.map +1 -0
  27. package/dist/adapters/llm/openai.adapter.d.ts +35 -0
  28. package/dist/adapters/llm/openai.adapter.d.ts.map +1 -0
  29. package/dist/adapters/llm/openai.adapter.js +586 -0
  30. package/dist/adapters/llm/openai.adapter.js.map +1 -0
  31. package/dist/contexts/context-decomposer.d.ts +15 -0
  32. package/dist/contexts/context-decomposer.d.ts.map +1 -0
  33. package/dist/contexts/context-decomposer.js +97 -0
  34. package/dist/contexts/context-decomposer.js.map +1 -0
  35. package/dist/contexts/context-document-manager.d.ts +21 -0
  36. package/dist/contexts/context-document-manager.d.ts.map +1 -0
  37. package/dist/contexts/context-document-manager.js +69 -0
  38. package/dist/contexts/context-document-manager.js.map +1 -0
  39. package/dist/contexts/context-router.d.ts +14 -0
  40. package/dist/contexts/context-router.d.ts.map +1 -0
  41. package/dist/contexts/context-router.js +94 -0
  42. package/dist/contexts/context-router.js.map +1 -0
  43. package/dist/contracts/codebase-analysis.types.d.ts +204 -0
  44. package/dist/contracts/codebase-analysis.types.d.ts.map +1 -0
  45. package/dist/contracts/codebase-analysis.types.js +19 -0
  46. package/dist/contracts/codebase-analysis.types.js.map +1 -0
  47. package/dist/contracts/context-document.types.d.ts +82 -0
  48. package/dist/contracts/context-document.types.d.ts.map +1 -0
  49. package/dist/contracts/context-document.types.js +3 -0
  50. package/dist/contracts/context-document.types.js.map +1 -0
  51. package/dist/contracts/conversation-status.enum.d.ts +11 -0
  52. package/dist/contracts/conversation-status.enum.d.ts.map +1 -0
  53. package/dist/contracts/conversation-status.enum.js +19 -0
  54. package/dist/contracts/conversation-status.enum.js.map +1 -0
  55. package/dist/contracts/conversation.types.d.ts +245 -0
  56. package/dist/contracts/conversation.types.d.ts.map +1 -0
  57. package/dist/contracts/conversation.types.js +3 -0
  58. package/dist/contracts/conversation.types.js.map +1 -0
  59. package/dist/contracts/doc-graph.types.d.ts +220 -0
  60. package/dist/contracts/doc-graph.types.d.ts.map +1 -0
  61. package/dist/contracts/doc-graph.types.js +15 -0
  62. package/dist/contracts/doc-graph.types.js.map +1 -0
  63. package/dist/contracts/events.types.d.ts +47 -0
  64. package/dist/contracts/events.types.d.ts.map +1 -0
  65. package/dist/contracts/events.types.js +3 -0
  66. package/dist/contracts/events.types.js.map +1 -0
  67. package/dist/contracts/execution-runner.types.d.ts +13 -0
  68. package/dist/contracts/execution-runner.types.d.ts.map +1 -0
  69. package/dist/contracts/execution-runner.types.js +3 -0
  70. package/dist/contracts/execution-runner.types.js.map +1 -0
  71. package/dist/contracts/index.d.ts +25 -0
  72. package/dist/contracts/index.d.ts.map +1 -0
  73. package/dist/contracts/index.js +41 -0
  74. package/dist/contracts/index.js.map +1 -0
  75. package/dist/contracts/interrupt.types.d.ts +62 -0
  76. package/dist/contracts/interrupt.types.d.ts.map +1 -0
  77. package/dist/contracts/interrupt.types.js +5 -0
  78. package/dist/contracts/interrupt.types.js.map +1 -0
  79. package/dist/contracts/knowledge-graph.types.d.ts +112 -0
  80. package/dist/contracts/knowledge-graph.types.d.ts.map +1 -0
  81. package/dist/contracts/knowledge-graph.types.js +13 -0
  82. package/dist/contracts/knowledge-graph.types.js.map +1 -0
  83. package/dist/contracts/llm.types.d.ts +137 -0
  84. package/dist/contracts/llm.types.d.ts.map +1 -0
  85. package/dist/contracts/llm.types.js +3 -0
  86. package/dist/contracts/llm.types.js.map +1 -0
  87. package/dist/contracts/mcp.types.d.ts +330 -0
  88. package/dist/contracts/mcp.types.d.ts.map +1 -0
  89. package/dist/contracts/mcp.types.js +10 -0
  90. package/dist/contracts/mcp.types.js.map +1 -0
  91. package/dist/contracts/memory.types.d.ts +33 -0
  92. package/dist/contracts/memory.types.d.ts.map +1 -0
  93. package/dist/contracts/memory.types.js +3 -0
  94. package/dist/contracts/memory.types.js.map +1 -0
  95. package/dist/contracts/message.types.d.ts +40 -0
  96. package/dist/contracts/message.types.d.ts.map +1 -0
  97. package/dist/contracts/message.types.js +3 -0
  98. package/dist/contracts/message.types.js.map +1 -0
  99. package/dist/contracts/plugin.types.d.ts +31 -0
  100. package/dist/contracts/plugin.types.d.ts.map +1 -0
  101. package/dist/contracts/plugin.types.js +3 -0
  102. package/dist/contracts/plugin.types.js.map +1 -0
  103. package/dist/contracts/problem-tree.types.d.ts +158 -0
  104. package/dist/contracts/problem-tree.types.d.ts.map +1 -0
  105. package/dist/contracts/problem-tree.types.js +3 -0
  106. package/dist/contracts/problem-tree.types.js.map +1 -0
  107. package/dist/contracts/prompt.types.d.ts +41 -0
  108. package/dist/contracts/prompt.types.d.ts.map +1 -0
  109. package/dist/contracts/prompt.types.js +3 -0
  110. package/dist/contracts/prompt.types.js.map +1 -0
  111. package/dist/contracts/skill.types.d.ts +39 -0
  112. package/dist/contracts/skill.types.d.ts.map +1 -0
  113. package/dist/contracts/skill.types.js +3 -0
  114. package/dist/contracts/skill.types.js.map +1 -0
  115. package/dist/contracts/storage.types.d.ts +154 -0
  116. package/dist/contracts/storage.types.d.ts.map +1 -0
  117. package/dist/contracts/storage.types.js +11 -0
  118. package/dist/contracts/storage.types.js.map +1 -0
  119. package/dist/contracts/structural-decoder.types.d.ts +251 -0
  120. package/dist/contracts/structural-decoder.types.d.ts.map +1 -0
  121. package/dist/contracts/structural-decoder.types.js +14 -0
  122. package/dist/contracts/structural-decoder.types.js.map +1 -0
  123. package/dist/contracts/subagent.types.d.ts +311 -0
  124. package/dist/contracts/subagent.types.d.ts.map +1 -0
  125. package/dist/contracts/subagent.types.js +3 -0
  126. package/dist/contracts/subagent.types.js.map +1 -0
  127. package/dist/contracts/task-board.types.d.ts +178 -0
  128. package/dist/contracts/task-board.types.d.ts.map +1 -0
  129. package/dist/contracts/task-board.types.js +67 -0
  130. package/dist/contracts/task-board.types.js.map +1 -0
  131. package/dist/contracts/task-flow.types.d.ts +127 -0
  132. package/dist/contracts/task-flow.types.d.ts.map +1 -0
  133. package/dist/contracts/task-flow.types.js +32 -0
  134. package/dist/contracts/task-flow.types.js.map +1 -0
  135. package/dist/contracts/tool-capability.types.d.ts +34 -0
  136. package/dist/contracts/tool-capability.types.d.ts.map +1 -0
  137. package/dist/contracts/tool-capability.types.js +3 -0
  138. package/dist/contracts/tool-capability.types.js.map +1 -0
  139. package/dist/contracts/tool.types.d.ts +132 -0
  140. package/dist/contracts/tool.types.d.ts.map +1 -0
  141. package/dist/contracts/tool.types.js +3 -0
  142. package/dist/contracts/tool.types.js.map +1 -0
  143. package/dist/contracts/vector-store.types.d.ts +79 -0
  144. package/dist/contracts/vector-store.types.d.ts.map +1 -0
  145. package/dist/contracts/vector-store.types.js +3 -0
  146. package/dist/contracts/vector-store.types.js.map +1 -0
  147. package/dist/conversation.class.d.ts +154 -0
  148. package/dist/conversation.class.d.ts.map +1 -0
  149. package/dist/conversation.class.js +1221 -0
  150. package/dist/conversation.class.js.map +1 -0
  151. package/dist/events/conversation-events.bus.d.ts +28 -0
  152. package/dist/events/conversation-events.bus.d.ts.map +1 -0
  153. package/dist/events/conversation-events.bus.js +127 -0
  154. package/dist/events/conversation-events.bus.js.map +1 -0
  155. package/dist/index.d.ts +119 -0
  156. package/dist/index.d.ts.map +1 -0
  157. package/dist/index.js +136 -0
  158. package/dist/index.js.map +1 -0
  159. package/dist/libs/abort-controller.class.d.ts +7 -0
  160. package/dist/libs/abort-controller.class.d.ts.map +1 -0
  161. package/dist/libs/abort-controller.class.js +20 -0
  162. package/dist/libs/abort-controller.class.js.map +1 -0
  163. package/dist/libs/ac-verifier.d.ts +10 -0
  164. package/dist/libs/ac-verifier.d.ts.map +1 -0
  165. package/dist/libs/ac-verifier.js +52 -0
  166. package/dist/libs/ac-verifier.js.map +1 -0
  167. package/dist/libs/advanced-hitl-interrupts.d.ts +223 -0
  168. package/dist/libs/advanced-hitl-interrupts.d.ts.map +1 -0
  169. package/dist/libs/advanced-hitl-interrupts.js +412 -0
  170. package/dist/libs/advanced-hitl-interrupts.js.map +1 -0
  171. package/dist/libs/advanced-scheduling.d.ts +71 -0
  172. package/dist/libs/advanced-scheduling.d.ts.map +1 -0
  173. package/dist/libs/advanced-scheduling.js +208 -0
  174. package/dist/libs/advanced-scheduling.js.map +1 -0
  175. package/dist/libs/analysis-completion-gate.class.d.ts +67 -0
  176. package/dist/libs/analysis-completion-gate.class.d.ts.map +1 -0
  177. package/dist/libs/analysis-completion-gate.class.js +305 -0
  178. package/dist/libs/analysis-completion-gate.class.js.map +1 -0
  179. package/dist/libs/analysis-pipeline.class.d.ts +104 -0
  180. package/dist/libs/analysis-pipeline.class.d.ts.map +1 -0
  181. package/dist/libs/analysis-pipeline.class.js +250 -0
  182. package/dist/libs/analysis-pipeline.class.js.map +1 -0
  183. package/dist/libs/approval-workflows.d.ts +223 -0
  184. package/dist/libs/approval-workflows.d.ts.map +1 -0
  185. package/dist/libs/approval-workflows.js +459 -0
  186. package/dist/libs/approval-workflows.js.map +1 -0
  187. package/dist/libs/audit-logger.d.ts +194 -0
  188. package/dist/libs/audit-logger.d.ts.map +1 -0
  189. package/dist/libs/audit-logger.js +320 -0
  190. package/dist/libs/audit-logger.js.map +1 -0
  191. package/dist/libs/autonomous-orchestrator.class.d.ts +159 -0
  192. package/dist/libs/autonomous-orchestrator.class.d.ts.map +1 -0
  193. package/dist/libs/autonomous-orchestrator.class.js +343 -0
  194. package/dist/libs/autonomous-orchestrator.class.js.map +1 -0
  195. package/dist/libs/checkpoint-manager.d.ts +217 -0
  196. package/dist/libs/checkpoint-manager.d.ts.map +1 -0
  197. package/dist/libs/checkpoint-manager.js +320 -0
  198. package/dist/libs/checkpoint-manager.js.map +1 -0
  199. package/dist/libs/checkpointer-backends.d.ts +97 -0
  200. package/dist/libs/checkpointer-backends.d.ts.map +1 -0
  201. package/dist/libs/checkpointer-backends.js +536 -0
  202. package/dist/libs/checkpointer-backends.js.map +1 -0
  203. package/dist/libs/code-analysis-pipeline.class.d.ts +149 -0
  204. package/dist/libs/code-analysis-pipeline.class.d.ts.map +1 -0
  205. package/dist/libs/code-analysis-pipeline.class.js +946 -0
  206. package/dist/libs/code-analysis-pipeline.class.js.map +1 -0
  207. package/dist/libs/codebase/deep-analyzer.d.ts +58 -0
  208. package/dist/libs/codebase/deep-analyzer.d.ts.map +1 -0
  209. package/dist/libs/codebase/deep-analyzer.js +239 -0
  210. package/dist/libs/codebase/deep-analyzer.js.map +1 -0
  211. package/dist/libs/codebase/graph/dependency-extractor.d.ts +20 -0
  212. package/dist/libs/codebase/graph/dependency-extractor.d.ts.map +1 -0
  213. package/dist/libs/codebase/graph/dependency-extractor.js +171 -0
  214. package/dist/libs/codebase/graph/dependency-extractor.js.map +1 -0
  215. package/dist/libs/codebase/graph/graph-analysis.d.ts +42 -0
  216. package/dist/libs/codebase/graph/graph-analysis.d.ts.map +1 -0
  217. package/dist/libs/codebase/graph/graph-analysis.js +222 -0
  218. package/dist/libs/codebase/graph/graph-analysis.js.map +1 -0
  219. package/dist/libs/codebase/graph/graph-visualizer.d.ts +12 -0
  220. package/dist/libs/codebase/graph/graph-visualizer.d.ts.map +1 -0
  221. package/dist/libs/codebase/graph/graph-visualizer.js +99 -0
  222. package/dist/libs/codebase/graph/graph-visualizer.js.map +1 -0
  223. package/dist/libs/codebase/indexer/batch-processor.d.ts +18 -0
  224. package/dist/libs/codebase/indexer/batch-processor.d.ts.map +1 -0
  225. package/dist/libs/codebase/indexer/batch-processor.js +39 -0
  226. package/dist/libs/codebase/indexer/batch-processor.js.map +1 -0
  227. package/dist/libs/codebase/indexer/chunker-markdown.d.ts +19 -0
  228. package/dist/libs/codebase/indexer/chunker-markdown.d.ts.map +1 -0
  229. package/dist/libs/codebase/indexer/chunker-markdown.js +138 -0
  230. package/dist/libs/codebase/indexer/chunker-markdown.js.map +1 -0
  231. package/dist/libs/codebase/indexer/chunker.d.ts +21 -0
  232. package/dist/libs/codebase/indexer/chunker.d.ts.map +1 -0
  233. package/dist/libs/codebase/indexer/chunker.js +97 -0
  234. package/dist/libs/codebase/indexer/chunker.js.map +1 -0
  235. package/dist/libs/codebase/indexer/explorer.d.ts +29 -0
  236. package/dist/libs/codebase/indexer/explorer.d.ts.map +1 -0
  237. package/dist/libs/codebase/indexer/explorer.js +278 -0
  238. package/dist/libs/codebase/indexer/explorer.js.map +1 -0
  239. package/dist/libs/codebase/indexer/indexer.d.ts +35 -0
  240. package/dist/libs/codebase/indexer/indexer.d.ts.map +1 -0
  241. package/dist/libs/codebase/indexer/indexer.js +172 -0
  242. package/dist/libs/codebase/indexer/indexer.js.map +1 -0
  243. package/dist/libs/codebase/knowledge/cross-referencer.d.ts +32 -0
  244. package/dist/libs/codebase/knowledge/cross-referencer.d.ts.map +1 -0
  245. package/dist/libs/codebase/knowledge/cross-referencer.js +132 -0
  246. package/dist/libs/codebase/knowledge/cross-referencer.js.map +1 -0
  247. package/dist/libs/codebase/knowledge/markdown-extractor.d.ts +34 -0
  248. package/dist/libs/codebase/knowledge/markdown-extractor.d.ts.map +1 -0
  249. package/dist/libs/codebase/knowledge/markdown-extractor.js +273 -0
  250. package/dist/libs/codebase/knowledge/markdown-extractor.js.map +1 -0
  251. package/dist/libs/codebase/knowledge/summarizer.d.ts +25 -0
  252. package/dist/libs/codebase/knowledge/summarizer.d.ts.map +1 -0
  253. package/dist/libs/codebase/knowledge/summarizer.js +61 -0
  254. package/dist/libs/codebase/knowledge/summarizer.js.map +1 -0
  255. package/dist/libs/codebase/search/bm25.d.ts +23 -0
  256. package/dist/libs/codebase/search/bm25.d.ts.map +1 -0
  257. package/dist/libs/codebase/search/bm25.js +93 -0
  258. package/dist/libs/codebase/search/bm25.js.map +1 -0
  259. package/dist/libs/codebase/search/hybrid-search.d.ts +22 -0
  260. package/dist/libs/codebase/search/hybrid-search.d.ts.map +1 -0
  261. package/dist/libs/codebase/search/hybrid-search.js +80 -0
  262. package/dist/libs/codebase/search/hybrid-search.js.map +1 -0
  263. package/dist/libs/codebase-index.class.d.ts +66 -0
  264. package/dist/libs/codebase-index.class.d.ts.map +1 -0
  265. package/dist/libs/codebase-index.class.js +598 -0
  266. package/dist/libs/codebase-index.class.js.map +1 -0
  267. package/dist/libs/command-manager.d.ts +148 -0
  268. package/dist/libs/command-manager.d.ts.map +1 -0
  269. package/dist/libs/command-manager.js +306 -0
  270. package/dist/libs/command-manager.js.map +1 -0
  271. package/dist/libs/compiled-subagent.manager.d.ts +102 -0
  272. package/dist/libs/compiled-subagent.manager.d.ts.map +1 -0
  273. package/dist/libs/compiled-subagent.manager.js +224 -0
  274. package/dist/libs/compiled-subagent.manager.js.map +1 -0
  275. package/dist/libs/conditional-flow.d.ts +156 -0
  276. package/dist/libs/conditional-flow.d.ts.map +1 -0
  277. package/dist/libs/conditional-flow.js +295 -0
  278. package/dist/libs/conditional-flow.js.map +1 -0
  279. package/dist/libs/context-propagator.d.ts +184 -0
  280. package/dist/libs/context-propagator.d.ts.map +1 -0
  281. package/dist/libs/context-propagator.js +295 -0
  282. package/dist/libs/context-propagator.js.map +1 -0
  283. package/dist/libs/context-window.class.d.ts +86 -0
  284. package/dist/libs/context-window.class.d.ts.map +1 -0
  285. package/dist/libs/context-window.class.js +187 -0
  286. package/dist/libs/context-window.class.js.map +1 -0
  287. package/dist/libs/conversation-runner.class.d.ts +172 -0
  288. package/dist/libs/conversation-runner.class.d.ts.map +1 -0
  289. package/dist/libs/conversation-runner.class.js +1619 -0
  290. package/dist/libs/conversation-runner.class.js.map +1 -0
  291. package/dist/libs/cost-estimation.d.ts +104 -0
  292. package/dist/libs/cost-estimation.d.ts.map +1 -0
  293. package/dist/libs/cost-estimation.js +287 -0
  294. package/dist/libs/cost-estimation.js.map +1 -0
  295. package/dist/libs/debug-logger.class.d.ts +9 -0
  296. package/dist/libs/debug-logger.class.d.ts.map +1 -0
  297. package/dist/libs/debug-logger.class.js +28 -0
  298. package/dist/libs/debug-logger.class.js.map +1 -0
  299. package/dist/libs/decoder-registry.class.d.ts +43 -0
  300. package/dist/libs/decoder-registry.class.d.ts.map +1 -0
  301. package/dist/libs/decoder-registry.class.js +138 -0
  302. package/dist/libs/decoder-registry.class.js.map +1 -0
  303. package/dist/libs/distributed-execution.d.ts +122 -0
  304. package/dist/libs/distributed-execution.d.ts.map +1 -0
  305. package/dist/libs/distributed-execution.js +360 -0
  306. package/dist/libs/distributed-execution.js.map +1 -0
  307. package/dist/libs/divergence-detector.class.d.ts +45 -0
  308. package/dist/libs/divergence-detector.class.d.ts.map +1 -0
  309. package/dist/libs/divergence-detector.class.js +227 -0
  310. package/dist/libs/divergence-detector.class.js.map +1 -0
  311. package/dist/libs/doc-graph-builder.class.d.ts +90 -0
  312. package/dist/libs/doc-graph-builder.class.d.ts.map +1 -0
  313. package/dist/libs/doc-graph-builder.class.js +531 -0
  314. package/dist/libs/doc-graph-builder.class.js.map +1 -0
  315. package/dist/libs/durability-mode.d.ts +187 -0
  316. package/dist/libs/durability-mode.d.ts.map +1 -0
  317. package/dist/libs/durability-mode.js +385 -0
  318. package/dist/libs/durability-mode.js.map +1 -0
  319. package/dist/libs/durable-execution.d.ts +196 -0
  320. package/dist/libs/durable-execution.d.ts.map +1 -0
  321. package/dist/libs/durable-execution.js +397 -0
  322. package/dist/libs/durable-execution.js.map +1 -0
  323. package/dist/libs/dynamic-fanout.d.ts +175 -0
  324. package/dist/libs/dynamic-fanout.d.ts.map +1 -0
  325. package/dist/libs/dynamic-fanout.js +329 -0
  326. package/dist/libs/dynamic-fanout.js.map +1 -0
  327. package/dist/libs/execution-caching.d.ts +185 -0
  328. package/dist/libs/execution-caching.d.ts.map +1 -0
  329. package/dist/libs/execution-caching.js +401 -0
  330. package/dist/libs/execution-caching.js.map +1 -0
  331. package/dist/libs/fallback-decoder.class.d.ts +30 -0
  332. package/dist/libs/fallback-decoder.class.d.ts.map +1 -0
  333. package/dist/libs/fallback-decoder.class.js +302 -0
  334. package/dist/libs/fallback-decoder.class.js.map +1 -0
  335. package/dist/libs/general-purpose-subagent.d.ts +160 -0
  336. package/dist/libs/general-purpose-subagent.d.ts.map +1 -0
  337. package/dist/libs/general-purpose-subagent.js +289 -0
  338. package/dist/libs/general-purpose-subagent.js.map +1 -0
  339. package/dist/libs/graphql-federation.d.ts +84 -0
  340. package/dist/libs/graphql-federation.d.ts.map +1 -0
  341. package/dist/libs/graphql-federation.js +235 -0
  342. package/dist/libs/graphql-federation.js.map +1 -0
  343. package/dist/libs/in-memory-job-store.d.ts +14 -0
  344. package/dist/libs/in-memory-job-store.d.ts.map +1 -0
  345. package/dist/libs/in-memory-job-store.js +35 -0
  346. package/dist/libs/in-memory-job-store.js.map +1 -0
  347. package/dist/libs/incremental-analyzer.class.d.ts +151 -0
  348. package/dist/libs/incremental-analyzer.class.d.ts.map +1 -0
  349. package/dist/libs/incremental-analyzer.class.js +798 -0
  350. package/dist/libs/incremental-analyzer.class.js.map +1 -0
  351. package/dist/libs/interrupt-manager.d.ts +178 -0
  352. package/dist/libs/interrupt-manager.d.ts.map +1 -0
  353. package/dist/libs/interrupt-manager.js +246 -0
  354. package/dist/libs/interrupt-manager.js.map +1 -0
  355. package/dist/libs/knowledge-graph.class.d.ts +90 -0
  356. package/dist/libs/knowledge-graph.class.d.ts.map +1 -0
  357. package/dist/libs/knowledge-graph.class.js +406 -0
  358. package/dist/libs/knowledge-graph.class.js.map +1 -0
  359. package/dist/libs/llm-retry.d.ts +47 -0
  360. package/dist/libs/llm-retry.d.ts.map +1 -0
  361. package/dist/libs/llm-retry.js +148 -0
  362. package/dist/libs/llm-retry.js.map +1 -0
  363. package/dist/libs/local-execution.runner.d.ts +5 -0
  364. package/dist/libs/local-execution.runner.d.ts.map +1 -0
  365. package/dist/libs/local-execution.runner.js +26 -0
  366. package/dist/libs/local-execution.runner.js.map +1 -0
  367. package/dist/libs/mcp/jsonrpc.class.d.ts +24 -0
  368. package/dist/libs/mcp/jsonrpc.class.d.ts.map +1 -0
  369. package/dist/libs/mcp/jsonrpc.class.js +42 -0
  370. package/dist/libs/mcp/jsonrpc.class.js.map +1 -0
  371. package/dist/libs/mcp/mcp-server.class.d.ts +69 -0
  372. package/dist/libs/mcp/mcp-server.class.d.ts.map +1 -0
  373. package/dist/libs/mcp/mcp-server.class.js +541 -0
  374. package/dist/libs/mcp/mcp-server.class.js.map +1 -0
  375. package/dist/libs/mcp/mcp-tool-registry.class.d.ts +28 -0
  376. package/dist/libs/mcp/mcp-tool-registry.class.d.ts.map +1 -0
  377. package/dist/libs/mcp/mcp-tool-registry.class.js +229 -0
  378. package/dist/libs/mcp/mcp-tool-registry.class.js.map +1 -0
  379. package/dist/libs/memory-file.loader.d.ts +54 -0
  380. package/dist/libs/memory-file.loader.d.ts.map +1 -0
  381. package/dist/libs/memory-file.loader.js +171 -0
  382. package/dist/libs/memory-file.loader.js.map +1 -0
  383. package/dist/libs/message-history.class.d.ts +21 -0
  384. package/dist/libs/message-history.class.d.ts.map +1 -0
  385. package/dist/libs/message-history.class.js +98 -0
  386. package/dist/libs/message-history.class.js.map +1 -0
  387. package/dist/libs/message-utils.d.ts +6 -0
  388. package/dist/libs/message-utils.d.ts.map +1 -0
  389. package/dist/libs/message-utils.js +37 -0
  390. package/dist/libs/message-utils.js.map +1 -0
  391. package/dist/libs/model-ref-resolver.d.ts +25 -0
  392. package/dist/libs/model-ref-resolver.d.ts.map +1 -0
  393. package/dist/libs/model-ref-resolver.js +58 -0
  394. package/dist/libs/model-ref-resolver.js.map +1 -0
  395. package/dist/libs/multi-tenant.d.ts +69 -0
  396. package/dist/libs/multi-tenant.d.ts.map +1 -0
  397. package/dist/libs/multi-tenant.js +196 -0
  398. package/dist/libs/multi-tenant.js.map +1 -0
  399. package/dist/libs/observability.d.ts +105 -0
  400. package/dist/libs/observability.d.ts.map +1 -0
  401. package/dist/libs/observability.js +278 -0
  402. package/dist/libs/observability.js.map +1 -0
  403. package/dist/libs/payload-offload.manager.d.ts +57 -0
  404. package/dist/libs/payload-offload.manager.d.ts.map +1 -0
  405. package/dist/libs/payload-offload.manager.js +195 -0
  406. package/dist/libs/payload-offload.manager.js.map +1 -0
  407. package/dist/libs/performance-optimization.d.ts +53 -0
  408. package/dist/libs/performance-optimization.d.ts.map +1 -0
  409. package/dist/libs/performance-optimization.js +221 -0
  410. package/dist/libs/performance-optimization.js.map +1 -0
  411. package/dist/libs/pipeline-run-registry.class.d.ts +56 -0
  412. package/dist/libs/pipeline-run-registry.class.d.ts.map +1 -0
  413. package/dist/libs/pipeline-run-registry.class.js +217 -0
  414. package/dist/libs/pipeline-run-registry.class.js.map +1 -0
  415. package/dist/libs/problem-tree.class.d.ts +51 -0
  416. package/dist/libs/problem-tree.class.d.ts.map +1 -0
  417. package/dist/libs/problem-tree.class.js +305 -0
  418. package/dist/libs/problem-tree.class.js.map +1 -0
  419. package/dist/libs/production-deployment.d.ts +99 -0
  420. package/dist/libs/production-deployment.d.ts.map +1 -0
  421. package/dist/libs/production-deployment.js +249 -0
  422. package/dist/libs/production-deployment.js.map +1 -0
  423. package/dist/libs/prompt-builder.class.d.ts +14 -0
  424. package/dist/libs/prompt-builder.class.d.ts.map +1 -0
  425. package/dist/libs/prompt-builder.class.js +79 -0
  426. package/dist/libs/prompt-builder.class.js.map +1 -0
  427. package/dist/libs/prompt-loader.class.d.ts +6 -0
  428. package/dist/libs/prompt-loader.class.d.ts.map +1 -0
  429. package/dist/libs/prompt-loader.class.js +17 -0
  430. package/dist/libs/prompt-loader.class.js.map +1 -0
  431. package/dist/libs/resource-decoder.class.d.ts +22 -0
  432. package/dist/libs/resource-decoder.class.d.ts.map +1 -0
  433. package/dist/libs/resource-decoder.class.js +713 -0
  434. package/dist/libs/resource-decoder.class.js.map +1 -0
  435. package/dist/libs/router-node.class.d.ts +83 -0
  436. package/dist/libs/router-node.class.d.ts.map +1 -0
  437. package/dist/libs/router-node.class.js +208 -0
  438. package/dist/libs/router-node.class.js.map +1 -0
  439. package/dist/libs/runtime-policy-llm.adapter.d.ts +23 -0
  440. package/dist/libs/runtime-policy-llm.adapter.d.ts.map +1 -0
  441. package/dist/libs/runtime-policy-llm.adapter.js +189 -0
  442. package/dist/libs/runtime-policy-llm.adapter.js.map +1 -0
  443. package/dist/libs/saga-orchestrator.d.ts +208 -0
  444. package/dist/libs/saga-orchestrator.d.ts.map +1 -0
  445. package/dist/libs/saga-orchestrator.js +410 -0
  446. package/dist/libs/saga-orchestrator.js.map +1 -0
  447. package/dist/libs/sandbox-execution.d.ts +187 -0
  448. package/dist/libs/sandbox-execution.d.ts.map +1 -0
  449. package/dist/libs/sandbox-execution.js +354 -0
  450. package/dist/libs/sandbox-execution.js.map +1 -0
  451. package/dist/libs/security-hardening.d.ts +73 -0
  452. package/dist/libs/security-hardening.d.ts.map +1 -0
  453. package/dist/libs/security-hardening.js +243 -0
  454. package/dist/libs/security-hardening.js.map +1 -0
  455. package/dist/libs/server-concurrency-pool.d.ts +52 -0
  456. package/dist/libs/server-concurrency-pool.d.ts.map +1 -0
  457. package/dist/libs/server-concurrency-pool.js +108 -0
  458. package/dist/libs/server-concurrency-pool.js.map +1 -0
  459. package/dist/libs/service-mesh.d.ts +101 -0
  460. package/dist/libs/service-mesh.d.ts.map +1 -0
  461. package/dist/libs/service-mesh.js +261 -0
  462. package/dist/libs/service-mesh.js.map +1 -0
  463. package/dist/libs/skill-loader.class.d.ts +77 -0
  464. package/dist/libs/skill-loader.class.d.ts.map +1 -0
  465. package/dist/libs/skill-loader.class.js +292 -0
  466. package/dist/libs/skill-loader.class.js.map +1 -0
  467. package/dist/libs/smart-tool-prompt.class.d.ts +11 -0
  468. package/dist/libs/smart-tool-prompt.class.d.ts.map +1 -0
  469. package/dist/libs/smart-tool-prompt.class.js +56 -0
  470. package/dist/libs/smart-tool-prompt.class.js.map +1 -0
  471. package/dist/libs/status-machine.class.d.ts +8 -0
  472. package/dist/libs/status-machine.class.d.ts.map +1 -0
  473. package/dist/libs/status-machine.class.js +55 -0
  474. package/dist/libs/status-machine.class.js.map +1 -0
  475. package/dist/libs/stream-emitter.class.d.ts +9 -0
  476. package/dist/libs/stream-emitter.class.d.ts.map +1 -0
  477. package/dist/libs/stream-emitter.class.js +58 -0
  478. package/dist/libs/stream-emitter.class.js.map +1 -0
  479. package/dist/libs/streaming-iterator.d.ts +136 -0
  480. package/dist/libs/streaming-iterator.d.ts.map +1 -0
  481. package/dist/libs/streaming-iterator.js +248 -0
  482. package/dist/libs/streaming-iterator.js.map +1 -0
  483. package/dist/libs/structured-call.d.ts +40 -0
  484. package/dist/libs/structured-call.d.ts.map +1 -0
  485. package/dist/libs/structured-call.js +306 -0
  486. package/dist/libs/structured-call.js.map +1 -0
  487. package/dist/libs/subagent-executor.class.d.ts +127 -0
  488. package/dist/libs/subagent-executor.class.d.ts.map +1 -0
  489. package/dist/libs/subagent-executor.class.js +202 -0
  490. package/dist/libs/subagent-executor.class.js.map +1 -0
  491. package/dist/libs/subagent-job-manager.d.ts +27 -0
  492. package/dist/libs/subagent-job-manager.d.ts.map +1 -0
  493. package/dist/libs/subagent-job-manager.js +254 -0
  494. package/dist/libs/subagent-job-manager.js.map +1 -0
  495. package/dist/libs/subagent-registry.class.d.ts +90 -0
  496. package/dist/libs/subagent-registry.class.d.ts.map +1 -0
  497. package/dist/libs/subagent-registry.class.js +183 -0
  498. package/dist/libs/subagent-registry.class.js.map +1 -0
  499. package/dist/libs/subagent-router.class.d.ts +67 -0
  500. package/dist/libs/subagent-router.class.d.ts.map +1 -0
  501. package/dist/libs/subagent-router.class.js +200 -0
  502. package/dist/libs/subagent-router.class.js.map +1 -0
  503. package/dist/libs/subgraph.d.ts +246 -0
  504. package/dist/libs/subgraph.d.ts.map +1 -0
  505. package/dist/libs/subgraph.js +438 -0
  506. package/dist/libs/subgraph.js.map +1 -0
  507. package/dist/libs/task-board.class.d.ts +53 -0
  508. package/dist/libs/task-board.class.d.ts.map +1 -0
  509. package/dist/libs/task-board.class.js +245 -0
  510. package/dist/libs/task-board.class.js.map +1 -0
  511. package/dist/libs/task-flow/auto-answer-engine.class.d.ts +22 -0
  512. package/dist/libs/task-flow/auto-answer-engine.class.d.ts.map +1 -0
  513. package/dist/libs/task-flow/auto-answer-engine.class.js +56 -0
  514. package/dist/libs/task-flow/auto-answer-engine.class.js.map +1 -0
  515. package/dist/libs/task-flow/controlled-coding-engine.class.d.ts +18 -0
  516. package/dist/libs/task-flow/controlled-coding-engine.class.d.ts.map +1 -0
  517. package/dist/libs/task-flow/controlled-coding-engine.class.js +156 -0
  518. package/dist/libs/task-flow/controlled-coding-engine.class.js.map +1 -0
  519. package/dist/libs/task-flow/dependency-analyzer.class.d.ts +16 -0
  520. package/dist/libs/task-flow/dependency-analyzer.class.d.ts.map +1 -0
  521. package/dist/libs/task-flow/dependency-analyzer.class.js +173 -0
  522. package/dist/libs/task-flow/dependency-analyzer.class.js.map +1 -0
  523. package/dist/libs/task-flow/git/git-commit-push.class.d.ts +59 -0
  524. package/dist/libs/task-flow/git/git-commit-push.class.d.ts.map +1 -0
  525. package/dist/libs/task-flow/git/git-commit-push.class.js +250 -0
  526. package/dist/libs/task-flow/git/git-commit-push.class.js.map +1 -0
  527. package/dist/libs/task-flow/git/git-worktree.class.d.ts +53 -0
  528. package/dist/libs/task-flow/git/git-worktree.class.d.ts.map +1 -0
  529. package/dist/libs/task-flow/git/git-worktree.class.js +199 -0
  530. package/dist/libs/task-flow/git/git-worktree.class.js.map +1 -0
  531. package/dist/libs/task-flow/git/git.types.d.ts +115 -0
  532. package/dist/libs/task-flow/git/git.types.d.ts.map +1 -0
  533. package/dist/libs/task-flow/git/git.types.js +4 -0
  534. package/dist/libs/task-flow/git/git.types.js.map +1 -0
  535. package/dist/libs/task-flow/git/index.d.ts +4 -0
  536. package/dist/libs/task-flow/git/index.d.ts.map +1 -0
  537. package/dist/libs/task-flow/git/index.js +23 -0
  538. package/dist/libs/task-flow/git/index.js.map +1 -0
  539. package/dist/libs/task-flow/index.d.ts +10 -0
  540. package/dist/libs/task-flow/index.d.ts.map +1 -0
  541. package/dist/libs/task-flow/index.js +26 -0
  542. package/dist/libs/task-flow/index.js.map +1 -0
  543. package/dist/libs/task-flow/phase-progress-store.class.d.ts +22 -0
  544. package/dist/libs/task-flow/phase-progress-store.class.d.ts.map +1 -0
  545. package/dist/libs/task-flow/phase-progress-store.class.js +174 -0
  546. package/dist/libs/task-flow/phase-progress-store.class.js.map +1 -0
  547. package/dist/libs/task-flow/pipeline/index.d.ts +5 -0
  548. package/dist/libs/task-flow/pipeline/index.d.ts.map +1 -0
  549. package/dist/libs/task-flow/pipeline/index.js +24 -0
  550. package/dist/libs/task-flow/pipeline/index.js.map +1 -0
  551. package/dist/libs/task-flow/pipeline/pipeline-builder.class.d.ts +57 -0
  552. package/dist/libs/task-flow/pipeline/pipeline-builder.class.d.ts.map +1 -0
  553. package/dist/libs/task-flow/pipeline/pipeline-builder.class.js +95 -0
  554. package/dist/libs/task-flow/pipeline/pipeline-builder.class.js.map +1 -0
  555. package/dist/libs/task-flow/pipeline/pipeline-runner.class.d.ts +45 -0
  556. package/dist/libs/task-flow/pipeline/pipeline-runner.class.d.ts.map +1 -0
  557. package/dist/libs/task-flow/pipeline/pipeline-runner.class.js +256 -0
  558. package/dist/libs/task-flow/pipeline/pipeline-runner.class.js.map +1 -0
  559. package/dist/libs/task-flow/pipeline/pipeline.types.d.ts +113 -0
  560. package/dist/libs/task-flow/pipeline/pipeline.types.d.ts.map +1 -0
  561. package/dist/libs/task-flow/pipeline/pipeline.types.js +13 -0
  562. package/dist/libs/task-flow/pipeline/pipeline.types.js.map +1 -0
  563. package/dist/libs/task-flow/pipeline/stages/commit-push.stage.d.ts +39 -0
  564. package/dist/libs/task-flow/pipeline/stages/commit-push.stage.d.ts.map +1 -0
  565. package/dist/libs/task-flow/pipeline/stages/commit-push.stage.js +120 -0
  566. package/dist/libs/task-flow/pipeline/stages/commit-push.stage.js.map +1 -0
  567. package/dist/libs/task-flow/pipeline/stages/docker-env.stage.d.ts +56 -0
  568. package/dist/libs/task-flow/pipeline/stages/docker-env.stage.d.ts.map +1 -0
  569. package/dist/libs/task-flow/pipeline/stages/docker-env.stage.js +179 -0
  570. package/dist/libs/task-flow/pipeline/stages/docker-env.stage.js.map +1 -0
  571. package/dist/libs/task-flow/pipeline/stages/fn.stage.d.ts +29 -0
  572. package/dist/libs/task-flow/pipeline/stages/fn.stage.d.ts.map +1 -0
  573. package/dist/libs/task-flow/pipeline/stages/fn.stage.js +41 -0
  574. package/dist/libs/task-flow/pipeline/stages/fn.stage.js.map +1 -0
  575. package/dist/libs/task-flow/pipeline/stages/git-worktree.stage.d.ts +34 -0
  576. package/dist/libs/task-flow/pipeline/stages/git-worktree.stage.d.ts.map +1 -0
  577. package/dist/libs/task-flow/pipeline/stages/git-worktree.stage.js +65 -0
  578. package/dist/libs/task-flow/pipeline/stages/git-worktree.stage.js.map +1 -0
  579. package/dist/libs/task-flow/pipeline/stages/index.d.ts +5 -0
  580. package/dist/libs/task-flow/pipeline/stages/index.d.ts.map +1 -0
  581. package/dist/libs/task-flow/pipeline/stages/index.js +21 -0
  582. package/dist/libs/task-flow/pipeline/stages/index.js.map +1 -0
  583. package/dist/libs/task-flow/role-orchestrator.class.d.ts +24 -0
  584. package/dist/libs/task-flow/role-orchestrator.class.d.ts.map +1 -0
  585. package/dist/libs/task-flow/role-orchestrator.class.js +67 -0
  586. package/dist/libs/task-flow/role-orchestrator.class.js.map +1 -0
  587. package/dist/libs/task-flow/task-flow-orchestrator.class.d.ts +49 -0
  588. package/dist/libs/task-flow/task-flow-orchestrator.class.d.ts.map +1 -0
  589. package/dist/libs/task-flow/task-flow-orchestrator.class.js +140 -0
  590. package/dist/libs/task-flow/task-flow-orchestrator.class.js.map +1 -0
  591. package/dist/libs/task-flow/task-gate-engine.class.d.ts +23 -0
  592. package/dist/libs/task-flow/task-gate-engine.class.d.ts.map +1 -0
  593. package/dist/libs/task-flow/task-gate-engine.class.js +152 -0
  594. package/dist/libs/task-flow/task-gate-engine.class.js.map +1 -0
  595. package/dist/libs/thoughtflow-agent-hierarchy.d.ts +153 -0
  596. package/dist/libs/thoughtflow-agent-hierarchy.d.ts.map +1 -0
  597. package/dist/libs/thoughtflow-agent-hierarchy.js +913 -0
  598. package/dist/libs/thoughtflow-agent-hierarchy.js.map +1 -0
  599. package/dist/libs/thoughtflow-knowledge-graph.d.ts +233 -0
  600. package/dist/libs/thoughtflow-knowledge-graph.d.ts.map +1 -0
  601. package/dist/libs/thoughtflow-knowledge-graph.js +17 -0
  602. package/dist/libs/thoughtflow-knowledge-graph.js.map +1 -0
  603. package/dist/libs/thoughtflow-orchestrator-layers.d.ts +169 -0
  604. package/dist/libs/thoughtflow-orchestrator-layers.d.ts.map +1 -0
  605. package/dist/libs/thoughtflow-orchestrator-layers.js +83 -0
  606. package/dist/libs/thoughtflow-orchestrator-layers.js.map +1 -0
  607. package/dist/libs/thoughtflow-orchestrator.d.ts +123 -0
  608. package/dist/libs/thoughtflow-orchestrator.d.ts.map +1 -0
  609. package/dist/libs/thoughtflow-orchestrator.js +304 -0
  610. package/dist/libs/thoughtflow-orchestrator.js.map +1 -0
  611. package/dist/libs/thoughtflow-sdlc-phases.d.ts +67 -0
  612. package/dist/libs/thoughtflow-sdlc-phases.d.ts.map +1 -0
  613. package/dist/libs/thoughtflow-sdlc-phases.js +234 -0
  614. package/dist/libs/thoughtflow-sdlc-phases.js.map +1 -0
  615. package/dist/libs/thoughtflow-tool-skill-wiring.d.ts +120 -0
  616. package/dist/libs/thoughtflow-tool-skill-wiring.d.ts.map +1 -0
  617. package/dist/libs/thoughtflow-tool-skill-wiring.js +360 -0
  618. package/dist/libs/thoughtflow-tool-skill-wiring.js.map +1 -0
  619. package/dist/libs/time-travel-execution.d.ts +189 -0
  620. package/dist/libs/time-travel-execution.d.ts.map +1 -0
  621. package/dist/libs/time-travel-execution.js +401 -0
  622. package/dist/libs/time-travel-execution.js.map +1 -0
  623. package/dist/libs/tool-capabilities.data.d.ts +3 -0
  624. package/dist/libs/tool-capabilities.data.d.ts.map +1 -0
  625. package/dist/libs/tool-capabilities.data.js +1462 -0
  626. package/dist/libs/tool-capabilities.data.js.map +1 -0
  627. package/dist/libs/tool-discovery.class.d.ts +12 -0
  628. package/dist/libs/tool-discovery.class.d.ts.map +1 -0
  629. package/dist/libs/tool-discovery.class.js +61 -0
  630. package/dist/libs/tool-discovery.class.js.map +1 -0
  631. package/dist/libs/tool-metadata-registry.class.d.ts +19 -0
  632. package/dist/libs/tool-metadata-registry.class.d.ts.map +1 -0
  633. package/dist/libs/tool-metadata-registry.class.js +123 -0
  634. package/dist/libs/tool-metadata-registry.class.js.map +1 -0
  635. package/dist/libs/tool-router.class.d.ts +15 -0
  636. package/dist/libs/tool-router.class.d.ts.map +1 -0
  637. package/dist/libs/tool-router.class.js +50 -0
  638. package/dist/libs/tool-router.class.js.map +1 -0
  639. package/dist/libs/tool-router.d.ts +32 -0
  640. package/dist/libs/tool-router.d.ts.map +1 -0
  641. package/dist/libs/tool-router.js +155 -0
  642. package/dist/libs/tool-router.js.map +1 -0
  643. package/dist/libs/typescript-decoder.class.d.ts +36 -0
  644. package/dist/libs/typescript-decoder.class.d.ts.map +1 -0
  645. package/dist/libs/typescript-decoder.class.js +397 -0
  646. package/dist/libs/typescript-decoder.class.js.map +1 -0
  647. package/dist/libs/utils.d.ts +2 -0
  648. package/dist/libs/utils.d.ts.map +1 -0
  649. package/dist/libs/utils.js +13 -0
  650. package/dist/libs/utils.js.map +1 -0
  651. package/dist/libs/validation-engine.d.ts +197 -0
  652. package/dist/libs/validation-engine.d.ts.map +1 -0
  653. package/dist/libs/validation-engine.js +366 -0
  654. package/dist/libs/validation-engine.js.map +1 -0
  655. package/dist/patterns/vision-review.pattern.d.ts +18 -0
  656. package/dist/patterns/vision-review.pattern.d.ts.map +1 -0
  657. package/dist/patterns/vision-review.pattern.js +22 -0
  658. package/dist/patterns/vision-review.pattern.js.map +1 -0
  659. package/dist/plugins/browser.plugin.d.ts +20 -0
  660. package/dist/plugins/browser.plugin.d.ts.map +1 -0
  661. package/dist/plugins/browser.plugin.js +26 -0
  662. package/dist/plugins/browser.plugin.js.map +1 -0
  663. package/dist/plugins/codebase-intelligence.plugin.d.ts +7 -0
  664. package/dist/plugins/codebase-intelligence.plugin.d.ts.map +1 -0
  665. package/dist/plugins/codebase-intelligence.plugin.js +35 -0
  666. package/dist/plugins/codebase-intelligence.plugin.js.map +1 -0
  667. package/dist/plugins/docker.plugin.d.ts +18 -0
  668. package/dist/plugins/docker.plugin.d.ts.map +1 -0
  669. package/dist/plugins/docker.plugin.js +30 -0
  670. package/dist/plugins/docker.plugin.js.map +1 -0
  671. package/dist/plugins/index.d.ts +4 -0
  672. package/dist/plugins/index.d.ts.map +1 -0
  673. package/dist/plugins/index.js +20 -0
  674. package/dist/plugins/index.js.map +1 -0
  675. package/dist/plugins/workspace.plugin.d.ts +28 -0
  676. package/dist/plugins/workspace.plugin.d.ts.map +1 -0
  677. package/dist/plugins/workspace.plugin.js +42 -0
  678. package/dist/plugins/workspace.plugin.js.map +1 -0
  679. package/dist/protocol/types.d.ts +34 -0
  680. package/dist/protocol/types.d.ts.map +1 -0
  681. package/dist/protocol/types.js +3 -0
  682. package/dist/protocol/types.js.map +1 -0
  683. package/dist/quick/agent-kit.d.ts +93 -0
  684. package/dist/quick/agent-kit.d.ts.map +1 -0
  685. package/dist/quick/agent-kit.js +148 -0
  686. package/dist/quick/agent-kit.js.map +1 -0
  687. package/dist/quick/core-preset.d.ts +36 -0
  688. package/dist/quick/core-preset.d.ts.map +1 -0
  689. package/dist/quick/core-preset.js +38 -0
  690. package/dist/quick/core-preset.js.map +1 -0
  691. package/dist/quick/demo-runtime-config.d.ts +99 -0
  692. package/dist/quick/demo-runtime-config.d.ts.map +1 -0
  693. package/dist/quick/demo-runtime-config.js +115 -0
  694. package/dist/quick/demo-runtime-config.js.map +1 -0
  695. package/dist/skills/skill-loader.class.d.ts +10 -0
  696. package/dist/skills/skill-loader.class.d.ts.map +1 -0
  697. package/dist/skills/skill-loader.class.js +56 -0
  698. package/dist/skills/skill-loader.class.js.map +1 -0
  699. package/dist/storage/in-memory.adapter.d.ts +33 -0
  700. package/dist/storage/in-memory.adapter.d.ts.map +1 -0
  701. package/dist/storage/in-memory.adapter.js +153 -0
  702. package/dist/storage/in-memory.adapter.js.map +1 -0
  703. package/dist/storage/index.d.ts +4 -0
  704. package/dist/storage/index.d.ts.map +1 -0
  705. package/dist/storage/index.js +20 -0
  706. package/dist/storage/index.js.map +1 -0
  707. package/dist/storage/json-file.adapter.d.ts +38 -0
  708. package/dist/storage/json-file.adapter.d.ts.map +1 -0
  709. package/dist/storage/json-file.adapter.js +259 -0
  710. package/dist/storage/json-file.adapter.js.map +1 -0
  711. package/dist/storage/vector/factory.d.ts +4 -0
  712. package/dist/storage/vector/factory.d.ts.map +1 -0
  713. package/dist/storage/vector/factory.js +51 -0
  714. package/dist/storage/vector/factory.js.map +1 -0
  715. package/dist/storage/vector/index.d.ts +9 -0
  716. package/dist/storage/vector/index.d.ts.map +1 -0
  717. package/dist/storage/vector/index.js +25 -0
  718. package/dist/storage/vector/index.js.map +1 -0
  719. package/dist/storage/vector/lancedb-vector-store.d.ts +28 -0
  720. package/dist/storage/vector/lancedb-vector-store.d.ts.map +1 -0
  721. package/dist/storage/vector/lancedb-vector-store.js +189 -0
  722. package/dist/storage/vector/lancedb-vector-store.js.map +1 -0
  723. package/dist/storage/vector/memory-vector-store.d.ts +18 -0
  724. package/dist/storage/vector/memory-vector-store.d.ts.map +1 -0
  725. package/dist/storage/vector/memory-vector-store.js +101 -0
  726. package/dist/storage/vector/memory-vector-store.js.map +1 -0
  727. package/dist/storage/vector/mock-embedding.d.ts +10 -0
  728. package/dist/storage/vector/mock-embedding.d.ts.map +1 -0
  729. package/dist/storage/vector/mock-embedding.js +36 -0
  730. package/dist/storage/vector/mock-embedding.js.map +1 -0
  731. package/dist/storage/vector/ollama-embedding.d.ts +17 -0
  732. package/dist/storage/vector/ollama-embedding.d.ts.map +1 -0
  733. package/dist/storage/vector/ollama-embedding.js +38 -0
  734. package/dist/storage/vector/ollama-embedding.js.map +1 -0
  735. package/dist/storage/vector/transformers-embedding.d.ts +23 -0
  736. package/dist/storage/vector/transformers-embedding.d.ts.map +1 -0
  737. package/dist/storage/vector/transformers-embedding.js +80 -0
  738. package/dist/storage/vector/transformers-embedding.js.map +1 -0
  739. package/dist/tools/base/path-utils.d.ts +13 -0
  740. package/dist/tools/base/path-utils.d.ts.map +1 -0
  741. package/dist/tools/base/path-utils.js +96 -0
  742. package/dist/tools/base/path-utils.js.map +1 -0
  743. package/dist/tools/base/pii-guard.middleware.d.ts +45 -0
  744. package/dist/tools/base/pii-guard.middleware.d.ts.map +1 -0
  745. package/dist/tools/base/pii-guard.middleware.js +140 -0
  746. package/dist/tools/base/pii-guard.middleware.js.map +1 -0
  747. package/dist/tools/base/tool-base.class.d.ts +16 -0
  748. package/dist/tools/base/tool-base.class.d.ts.map +1 -0
  749. package/dist/tools/base/tool-base.class.js +17 -0
  750. package/dist/tools/base/tool-base.class.js.map +1 -0
  751. package/dist/tools/base/tool-result-normalizer.class.d.ts +6 -0
  752. package/dist/tools/base/tool-result-normalizer.class.d.ts.map +1 -0
  753. package/dist/tools/base/tool-result-normalizer.class.js +33 -0
  754. package/dist/tools/base/tool-result-normalizer.class.js.map +1 -0
  755. package/dist/tools/base/tool-status-tracker.class.d.ts +9 -0
  756. package/dist/tools/base/tool-status-tracker.class.d.ts.map +1 -0
  757. package/dist/tools/base/tool-status-tracker.class.js +42 -0
  758. package/dist/tools/base/tool-status-tracker.class.js.map +1 -0
  759. package/dist/tools/codebase/codebase-analyze.tool.d.ts +9 -0
  760. package/dist/tools/codebase/codebase-analyze.tool.d.ts.map +1 -0
  761. package/dist/tools/codebase/codebase-analyze.tool.js +20 -0
  762. package/dist/tools/codebase/codebase-analyze.tool.js.map +1 -0
  763. package/dist/tools/codebase/codebase-crossref.tool.d.ts +9 -0
  764. package/dist/tools/codebase/codebase-crossref.tool.d.ts.map +1 -0
  765. package/dist/tools/codebase/codebase-crossref.tool.js +20 -0
  766. package/dist/tools/codebase/codebase-crossref.tool.js.map +1 -0
  767. package/dist/tools/codebase/codebase-flow.tool.d.ts +9 -0
  768. package/dist/tools/codebase/codebase-flow.tool.d.ts.map +1 -0
  769. package/dist/tools/codebase/codebase-flow.tool.js +20 -0
  770. package/dist/tools/codebase/codebase-flow.tool.js.map +1 -0
  771. package/dist/tools/codebase/codebase-graph-circular.tool.d.ts +9 -0
  772. package/dist/tools/codebase/codebase-graph-circular.tool.d.ts.map +1 -0
  773. package/dist/tools/codebase/codebase-graph-circular.tool.js +17 -0
  774. package/dist/tools/codebase/codebase-graph-circular.tool.js.map +1 -0
  775. package/dist/tools/codebase/codebase-graph-query.tool.d.ts +9 -0
  776. package/dist/tools/codebase/codebase-graph-query.tool.d.ts.map +1 -0
  777. package/dist/tools/codebase/codebase-graph-query.tool.js +21 -0
  778. package/dist/tools/codebase/codebase-graph-query.tool.js.map +1 -0
  779. package/dist/tools/codebase/codebase-graph-stats.tool.d.ts +9 -0
  780. package/dist/tools/codebase/codebase-graph-stats.tool.d.ts.map +1 -0
  781. package/dist/tools/codebase/codebase-graph-stats.tool.js +17 -0
  782. package/dist/tools/codebase/codebase-graph-stats.tool.js.map +1 -0
  783. package/dist/tools/codebase/codebase-graph-visualize.tool.d.ts +9 -0
  784. package/dist/tools/codebase/codebase-graph-visualize.tool.d.ts.map +1 -0
  785. package/dist/tools/codebase/codebase-graph-visualize.tool.js +21 -0
  786. package/dist/tools/codebase/codebase-graph-visualize.tool.js.map +1 -0
  787. package/dist/tools/codebase/codebase-impact.tool.d.ts +9 -0
  788. package/dist/tools/codebase/codebase-impact.tool.d.ts.map +1 -0
  789. package/dist/tools/codebase/codebase-impact.tool.js +21 -0
  790. package/dist/tools/codebase/codebase-impact.tool.js.map +1 -0
  791. package/dist/tools/codebase/codebase-index.tool.d.ts +9 -0
  792. package/dist/tools/codebase/codebase-index.tool.d.ts.map +1 -0
  793. package/dist/tools/codebase/codebase-index.tool.js +21 -0
  794. package/dist/tools/codebase/codebase-index.tool.js.map +1 -0
  795. package/dist/tools/codebase/codebase-knowledge.tool.d.ts +9 -0
  796. package/dist/tools/codebase/codebase-knowledge.tool.d.ts.map +1 -0
  797. package/dist/tools/codebase/codebase-knowledge.tool.js +22 -0
  798. package/dist/tools/codebase/codebase-knowledge.tool.js.map +1 -0
  799. package/dist/tools/codebase/codebase-search.tool.d.ts +9 -0
  800. package/dist/tools/codebase/codebase-search.tool.d.ts.map +1 -0
  801. package/dist/tools/codebase/codebase-search.tool.js +24 -0
  802. package/dist/tools/codebase/codebase-search.tool.js.map +1 -0
  803. package/dist/tools/codebase/codebase-status.tool.d.ts +9 -0
  804. package/dist/tools/codebase/codebase-status.tool.d.ts.map +1 -0
  805. package/dist/tools/codebase/codebase-status.tool.js +19 -0
  806. package/dist/tools/codebase/codebase-status.tool.js.map +1 -0
  807. package/dist/tools/conversation-history.tool.d.ts +13 -0
  808. package/dist/tools/conversation-history.tool.d.ts.map +1 -0
  809. package/dist/tools/conversation-history.tool.js +66 -0
  810. package/dist/tools/conversation-history.tool.js.map +1 -0
  811. package/dist/tools/database/db-diagram.tool.d.ts +10 -0
  812. package/dist/tools/database/db-diagram.tool.d.ts.map +1 -0
  813. package/dist/tools/database/db-diagram.tool.js +78 -0
  814. package/dist/tools/database/db-diagram.tool.js.map +1 -0
  815. package/dist/tools/database/db-index-suggest.tool.d.ts +10 -0
  816. package/dist/tools/database/db-index-suggest.tool.d.ts.map +1 -0
  817. package/dist/tools/database/db-index-suggest.tool.js +94 -0
  818. package/dist/tools/database/db-index-suggest.tool.js.map +1 -0
  819. package/dist/tools/database/db-migration.tool.d.ts +10 -0
  820. package/dist/tools/database/db-migration.tool.d.ts.map +1 -0
  821. package/dist/tools/database/db-migration.tool.js +88 -0
  822. package/dist/tools/database/db-migration.tool.js.map +1 -0
  823. package/dist/tools/database/index.d.ts +4 -0
  824. package/dist/tools/database/index.d.ts.map +1 -0
  825. package/dist/tools/database/index.js +20 -0
  826. package/dist/tools/database/index.js.map +1 -0
  827. package/dist/tools/devops/ci-diagnose.tool.d.ts +10 -0
  828. package/dist/tools/devops/ci-diagnose.tool.d.ts.map +1 -0
  829. package/dist/tools/devops/ci-diagnose.tool.js +30 -0
  830. package/dist/tools/devops/ci-diagnose.tool.js.map +1 -0
  831. package/dist/tools/devops/ci-workflow.tool.d.ts +10 -0
  832. package/dist/tools/devops/ci-workflow.tool.d.ts.map +1 -0
  833. package/dist/tools/devops/ci-workflow.tool.js +28 -0
  834. package/dist/tools/devops/ci-workflow.tool.js.map +1 -0
  835. package/dist/tools/devops/deploy-check.tool.d.ts +10 -0
  836. package/dist/tools/devops/deploy-check.tool.d.ts.map +1 -0
  837. package/dist/tools/devops/deploy-check.tool.js +67 -0
  838. package/dist/tools/devops/deploy-check.tool.js.map +1 -0
  839. package/dist/tools/devops/docker-optimize.tool.d.ts +10 -0
  840. package/dist/tools/devops/docker-optimize.tool.d.ts.map +1 -0
  841. package/dist/tools/devops/docker-optimize.tool.js +68 -0
  842. package/dist/tools/devops/docker-optimize.tool.js.map +1 -0
  843. package/dist/tools/devops/env-check.tool.d.ts +10 -0
  844. package/dist/tools/devops/env-check.tool.d.ts.map +1 -0
  845. package/dist/tools/devops/env-check.tool.js +81 -0
  846. package/dist/tools/devops/env-check.tool.js.map +1 -0
  847. package/dist/tools/devops/env-generate.tool.d.ts +10 -0
  848. package/dist/tools/devops/env-generate.tool.d.ts.map +1 -0
  849. package/dist/tools/devops/env-generate.tool.js +64 -0
  850. package/dist/tools/devops/env-generate.tool.js.map +1 -0
  851. package/dist/tools/devops/index.d.ts +8 -0
  852. package/dist/tools/devops/index.d.ts.map +1 -0
  853. package/dist/tools/devops/index.js +24 -0
  854. package/dist/tools/devops/index.js.map +1 -0
  855. package/dist/tools/devops/k8s-manifests.tool.d.ts +10 -0
  856. package/dist/tools/devops/k8s-manifests.tool.d.ts.map +1 -0
  857. package/dist/tools/devops/k8s-manifests.tool.js +19 -0
  858. package/dist/tools/devops/k8s-manifests.tool.js.map +1 -0
  859. package/dist/tools/docs/api-client.tool.d.ts +10 -0
  860. package/dist/tools/docs/api-client.tool.d.ts.map +1 -0
  861. package/dist/tools/docs/api-client.tool.js +106 -0
  862. package/dist/tools/docs/api-client.tool.js.map +1 -0
  863. package/dist/tools/docs/doc-check-coverage.tool.d.ts +10 -0
  864. package/dist/tools/docs/doc-check-coverage.tool.d.ts.map +1 -0
  865. package/dist/tools/docs/doc-check-coverage.tool.js +44 -0
  866. package/dist/tools/docs/doc-check-coverage.tool.js.map +1 -0
  867. package/dist/tools/docs/doc-check-links.tool.d.ts +10 -0
  868. package/dist/tools/docs/doc-check-links.tool.d.ts.map +1 -0
  869. package/dist/tools/docs/doc-check-links.tool.js +88 -0
  870. package/dist/tools/docs/doc-check-links.tool.js.map +1 -0
  871. package/dist/tools/docs/doc-gen-adr.tool.d.ts +10 -0
  872. package/dist/tools/docs/doc-gen-adr.tool.d.ts.map +1 -0
  873. package/dist/tools/docs/doc-gen-adr.tool.js +25 -0
  874. package/dist/tools/docs/doc-gen-adr.tool.js.map +1 -0
  875. package/dist/tools/docs/doc-gen-api.tool.d.ts +10 -0
  876. package/dist/tools/docs/doc-gen-api.tool.d.ts.map +1 -0
  877. package/dist/tools/docs/doc-gen-api.tool.js +70 -0
  878. package/dist/tools/docs/doc-gen-api.tool.js.map +1 -0
  879. package/dist/tools/docs/doc-gen-diagrams.tool.d.ts +10 -0
  880. package/dist/tools/docs/doc-gen-diagrams.tool.d.ts.map +1 -0
  881. package/dist/tools/docs/doc-gen-diagrams.tool.js +31 -0
  882. package/dist/tools/docs/doc-gen-diagrams.tool.js.map +1 -0
  883. package/dist/tools/docs/doc-gen-readme.tool.d.ts +10 -0
  884. package/dist/tools/docs/doc-gen-readme.tool.d.ts.map +1 -0
  885. package/dist/tools/docs/doc-gen-readme.tool.js +71 -0
  886. package/dist/tools/docs/doc-gen-readme.tool.js.map +1 -0
  887. package/dist/tools/docs/index.d.ts +8 -0
  888. package/dist/tools/docs/index.d.ts.map +1 -0
  889. package/dist/tools/docs/index.js +24 -0
  890. package/dist/tools/docs/index.js.map +1 -0
  891. package/dist/tools/memory/index.d.ts +7 -0
  892. package/dist/tools/memory/index.d.ts.map +1 -0
  893. package/dist/tools/memory/index.js +23 -0
  894. package/dist/tools/memory/index.js.map +1 -0
  895. package/dist/tools/memory/memory-context.tool.d.ts +12 -0
  896. package/dist/tools/memory/memory-context.tool.d.ts.map +1 -0
  897. package/dist/tools/memory/memory-context.tool.js +25 -0
  898. package/dist/tools/memory/memory-context.tool.js.map +1 -0
  899. package/dist/tools/memory/memory-lessons.tool.d.ts +12 -0
  900. package/dist/tools/memory/memory-lessons.tool.d.ts.map +1 -0
  901. package/dist/tools/memory/memory-lessons.tool.js +30 -0
  902. package/dist/tools/memory/memory-lessons.tool.js.map +1 -0
  903. package/dist/tools/memory/memory-patterns.tool.d.ts +12 -0
  904. package/dist/tools/memory/memory-patterns.tool.d.ts.map +1 -0
  905. package/dist/tools/memory/memory-patterns.tool.js +31 -0
  906. package/dist/tools/memory/memory-patterns.tool.js.map +1 -0
  907. package/dist/tools/memory/memory-recall.tool.d.ts +12 -0
  908. package/dist/tools/memory/memory-recall.tool.d.ts.map +1 -0
  909. package/dist/tools/memory/memory-recall.tool.js +24 -0
  910. package/dist/tools/memory/memory-recall.tool.js.map +1 -0
  911. package/dist/tools/memory/memory-save.tool.d.ts +12 -0
  912. package/dist/tools/memory/memory-save.tool.d.ts.map +1 -0
  913. package/dist/tools/memory/memory-save.tool.js +28 -0
  914. package/dist/tools/memory/memory-save.tool.js.map +1 -0
  915. package/dist/tools/neural/comparative-analysis.tool.d.ts +38 -0
  916. package/dist/tools/neural/comparative-analysis.tool.d.ts.map +1 -0
  917. package/dist/tools/neural/comparative-analysis.tool.js +241 -0
  918. package/dist/tools/neural/comparative-analysis.tool.js.map +1 -0
  919. package/dist/tools/neural/index.d.ts +12 -0
  920. package/dist/tools/neural/index.d.ts.map +1 -0
  921. package/dist/tools/neural/index.js +28 -0
  922. package/dist/tools/neural/index.js.map +1 -0
  923. package/dist/tools/neural/neural-deadcode.tool.d.ts +11 -0
  924. package/dist/tools/neural/neural-deadcode.tool.d.ts.map +1 -0
  925. package/dist/tools/neural/neural-deadcode.tool.js +133 -0
  926. package/dist/tools/neural/neural-deadcode.tool.js.map +1 -0
  927. package/dist/tools/neural/neural-debug.tool.d.ts +12 -0
  928. package/dist/tools/neural/neural-debug.tool.d.ts.map +1 -0
  929. package/dist/tools/neural/neural-debug.tool.js +205 -0
  930. package/dist/tools/neural/neural-debug.tool.js.map +1 -0
  931. package/dist/tools/neural/neural-explain.tool.d.ts +10 -0
  932. package/dist/tools/neural/neural-explain.tool.d.ts.map +1 -0
  933. package/dist/tools/neural/neural-explain.tool.js +100 -0
  934. package/dist/tools/neural/neural-explain.tool.js.map +1 -0
  935. package/dist/tools/neural/neural-optimize.tool.d.ts +10 -0
  936. package/dist/tools/neural/neural-optimize.tool.d.ts.map +1 -0
  937. package/dist/tools/neural/neural-optimize.tool.js +117 -0
  938. package/dist/tools/neural/neural-optimize.tool.js.map +1 -0
  939. package/dist/tools/neural/neural-pattern.tool.d.ts +11 -0
  940. package/dist/tools/neural/neural-pattern.tool.d.ts.map +1 -0
  941. package/dist/tools/neural/neural-pattern.tool.js +169 -0
  942. package/dist/tools/neural/neural-pattern.tool.js.map +1 -0
  943. package/dist/tools/neural/neural-review.tool.d.ts +12 -0
  944. package/dist/tools/neural/neural-review.tool.d.ts.map +1 -0
  945. package/dist/tools/neural/neural-review.tool.js +152 -0
  946. package/dist/tools/neural/neural-review.tool.js.map +1 -0
  947. package/dist/tools/neural/neural-security.tool.d.ts +17 -0
  948. package/dist/tools/neural/neural-security.tool.d.ts.map +1 -0
  949. package/dist/tools/neural/neural-security.tool.js +256 -0
  950. package/dist/tools/neural/neural-security.tool.js.map +1 -0
  951. package/dist/tools/neural/neural-similar.tool.d.ts +10 -0
  952. package/dist/tools/neural/neural-similar.tool.d.ts.map +1 -0
  953. package/dist/tools/neural/neural-similar.tool.js +141 -0
  954. package/dist/tools/neural/neural-similar.tool.js.map +1 -0
  955. package/dist/tools/neural/neural-smells.tool.d.ts +10 -0
  956. package/dist/tools/neural/neural-smells.tool.d.ts.map +1 -0
  957. package/dist/tools/neural/neural-smells.tool.js +123 -0
  958. package/dist/tools/neural/neural-smells.tool.js.map +1 -0
  959. package/dist/tools/neural/neural-suggest.tool.d.ts +10 -0
  960. package/dist/tools/neural/neural-suggest.tool.d.ts.map +1 -0
  961. package/dist/tools/neural/neural-suggest.tool.js +64 -0
  962. package/dist/tools/neural/neural-suggest.tool.js.map +1 -0
  963. package/dist/tools/planning/adaptive-lookup.tool.d.ts +38 -0
  964. package/dist/tools/planning/adaptive-lookup.tool.d.ts.map +1 -0
  965. package/dist/tools/planning/adaptive-lookup.tool.js +279 -0
  966. package/dist/tools/planning/adaptive-lookup.tool.js.map +1 -0
  967. package/dist/tools/planning/index.d.ts +9 -0
  968. package/dist/tools/planning/index.d.ts.map +1 -0
  969. package/dist/tools/planning/index.js +25 -0
  970. package/dist/tools/planning/index.js.map +1 -0
  971. package/dist/tools/planning/pm-breakdown.tool.d.ts +10 -0
  972. package/dist/tools/planning/pm-breakdown.tool.d.ts.map +1 -0
  973. package/dist/tools/planning/pm-breakdown.tool.js +48 -0
  974. package/dist/tools/planning/pm-breakdown.tool.js.map +1 -0
  975. package/dist/tools/planning/pm-deps.tool.d.ts +10 -0
  976. package/dist/tools/planning/pm-deps.tool.d.ts.map +1 -0
  977. package/dist/tools/planning/pm-deps.tool.js +29 -0
  978. package/dist/tools/planning/pm-deps.tool.js.map +1 -0
  979. package/dist/tools/planning/pm-estimate.tool.d.ts +10 -0
  980. package/dist/tools/planning/pm-estimate.tool.d.ts.map +1 -0
  981. package/dist/tools/planning/pm-estimate.tool.js +40 -0
  982. package/dist/tools/planning/pm-estimate.tool.js.map +1 -0
  983. package/dist/tools/planning/pm-progress.tool.d.ts +10 -0
  984. package/dist/tools/planning/pm-progress.tool.d.ts.map +1 -0
  985. package/dist/tools/planning/pm-progress.tool.js +29 -0
  986. package/dist/tools/planning/pm-progress.tool.js.map +1 -0
  987. package/dist/tools/planning/pm-risks.tool.d.ts +10 -0
  988. package/dist/tools/planning/pm-risks.tool.d.ts.map +1 -0
  989. package/dist/tools/planning/pm-risks.tool.js +34 -0
  990. package/dist/tools/planning/pm-risks.tool.js.map +1 -0
  991. package/dist/tools/planning/problem-tree.tool.d.ts +24 -0
  992. package/dist/tools/planning/problem-tree.tool.d.ts.map +1 -0
  993. package/dist/tools/planning/problem-tree.tool.js +307 -0
  994. package/dist/tools/planning/problem-tree.tool.js.map +1 -0
  995. package/dist/tools/planning/solve-complex.tool.d.ts +69 -0
  996. package/dist/tools/planning/solve-complex.tool.d.ts.map +1 -0
  997. package/dist/tools/planning/solve-complex.tool.js +633 -0
  998. package/dist/tools/planning/solve-complex.tool.js.map +1 -0
  999. package/dist/tools/quality/index.d.ts +8 -0
  1000. package/dist/tools/quality/index.d.ts.map +1 -0
  1001. package/dist/tools/quality/index.js +24 -0
  1002. package/dist/tools/quality/index.js.map +1 -0
  1003. package/dist/tools/quality/quality-complexity.tool.d.ts +12 -0
  1004. package/dist/tools/quality/quality-complexity.tool.d.ts.map +1 -0
  1005. package/dist/tools/quality/quality-complexity.tool.js +152 -0
  1006. package/dist/tools/quality/quality-complexity.tool.js.map +1 -0
  1007. package/dist/tools/quality/quality-coupling.tool.d.ts +10 -0
  1008. package/dist/tools/quality/quality-coupling.tool.d.ts.map +1 -0
  1009. package/dist/tools/quality/quality-coupling.tool.js +51 -0
  1010. package/dist/tools/quality/quality-coupling.tool.js.map +1 -0
  1011. package/dist/tools/quality/quality-coverage.tool.d.ts +10 -0
  1012. package/dist/tools/quality/quality-coverage.tool.d.ts.map +1 -0
  1013. package/dist/tools/quality/quality-coverage.tool.js +104 -0
  1014. package/dist/tools/quality/quality-coverage.tool.js.map +1 -0
  1015. package/dist/tools/quality/quality-deps.tool.d.ts +12 -0
  1016. package/dist/tools/quality/quality-deps.tool.d.ts.map +1 -0
  1017. package/dist/tools/quality/quality-deps.tool.js +119 -0
  1018. package/dist/tools/quality/quality-deps.tool.js.map +1 -0
  1019. package/dist/tools/quality/quality-duplication.tool.d.ts +10 -0
  1020. package/dist/tools/quality/quality-duplication.tool.d.ts.map +1 -0
  1021. package/dist/tools/quality/quality-duplication.tool.js +100 -0
  1022. package/dist/tools/quality/quality-duplication.tool.js.map +1 -0
  1023. package/dist/tools/quality/quality-size.tool.d.ts +10 -0
  1024. package/dist/tools/quality/quality-size.tool.d.ts.map +1 -0
  1025. package/dist/tools/quality/quality-size.tool.js +94 -0
  1026. package/dist/tools/quality/quality-size.tool.js.map +1 -0
  1027. package/dist/tools/quality/quality-types.tool.d.ts +10 -0
  1028. package/dist/tools/quality/quality-types.tool.d.ts.map +1 -0
  1029. package/dist/tools/quality/quality-types.tool.js +95 -0
  1030. package/dist/tools/quality/quality-types.tool.js.map +1 -0
  1031. package/dist/tools/refactor/eslint-fix.tool.d.ts +27 -0
  1032. package/dist/tools/refactor/eslint-fix.tool.d.ts.map +1 -0
  1033. package/dist/tools/refactor/eslint-fix.tool.js +295 -0
  1034. package/dist/tools/refactor/eslint-fix.tool.js.map +1 -0
  1035. package/dist/tools/refactor/index.d.ts +10 -0
  1036. package/dist/tools/refactor/index.d.ts.map +1 -0
  1037. package/dist/tools/refactor/index.js +26 -0
  1038. package/dist/tools/refactor/index.js.map +1 -0
  1039. package/dist/tools/refactor/refactor-async.tool.d.ts +10 -0
  1040. package/dist/tools/refactor/refactor-async.tool.d.ts.map +1 -0
  1041. package/dist/tools/refactor/refactor-async.tool.js +100 -0
  1042. package/dist/tools/refactor/refactor-async.tool.js.map +1 -0
  1043. package/dist/tools/refactor/refactor-barrel.tool.d.ts +10 -0
  1044. package/dist/tools/refactor/refactor-barrel.tool.d.ts.map +1 -0
  1045. package/dist/tools/refactor/refactor-barrel.tool.js +72 -0
  1046. package/dist/tools/refactor/refactor-barrel.tool.js.map +1 -0
  1047. package/dist/tools/refactor/refactor-extract.tool.d.ts +11 -0
  1048. package/dist/tools/refactor/refactor-extract.tool.d.ts.map +1 -0
  1049. package/dist/tools/refactor/refactor-extract.tool.js +64 -0
  1050. package/dist/tools/refactor/refactor-extract.tool.js.map +1 -0
  1051. package/dist/tools/refactor/refactor-imports.tool.d.ts +10 -0
  1052. package/dist/tools/refactor/refactor-imports.tool.d.ts.map +1 -0
  1053. package/dist/tools/refactor/refactor-imports.tool.js +108 -0
  1054. package/dist/tools/refactor/refactor-imports.tool.js.map +1 -0
  1055. package/dist/tools/refactor/refactor-move.tool.d.ts +10 -0
  1056. package/dist/tools/refactor/refactor-move.tool.d.ts.map +1 -0
  1057. package/dist/tools/refactor/refactor-move.tool.js +99 -0
  1058. package/dist/tools/refactor/refactor-move.tool.js.map +1 -0
  1059. package/dist/tools/refactor/refactor-rename.tool.d.ts +10 -0
  1060. package/dist/tools/refactor/refactor-rename.tool.d.ts.map +1 -0
  1061. package/dist/tools/refactor/refactor-rename.tool.js +69 -0
  1062. package/dist/tools/refactor/refactor-rename.tool.js.map +1 -0
  1063. package/dist/tools/refactor/refactor-split.tool.d.ts +10 -0
  1064. package/dist/tools/refactor/refactor-split.tool.d.ts.map +1 -0
  1065. package/dist/tools/refactor/refactor-split.tool.js +80 -0
  1066. package/dist/tools/refactor/refactor-split.tool.js.map +1 -0
  1067. package/dist/tools/refactor/refactor-types.tool.d.ts +11 -0
  1068. package/dist/tools/refactor/refactor-types.tool.d.ts.map +1 -0
  1069. package/dist/tools/refactor/refactor-types.tool.js +123 -0
  1070. package/dist/tools/refactor/refactor-types.tool.js.map +1 -0
  1071. package/dist/tools/subagent-conversation.tool.d.ts +13 -0
  1072. package/dist/tools/subagent-conversation.tool.d.ts.map +1 -0
  1073. package/dist/tools/subagent-conversation.tool.js +31 -0
  1074. package/dist/tools/subagent-conversation.tool.js.map +1 -0
  1075. package/dist/tools/subagent-job.tool.d.ts +24 -0
  1076. package/dist/tools/subagent-job.tool.d.ts.map +1 -0
  1077. package/dist/tools/subagent-job.tool.js +146 -0
  1078. package/dist/tools/subagent-job.tool.js.map +1 -0
  1079. package/dist/tools/testing/index.d.ts +7 -0
  1080. package/dist/tools/testing/index.d.ts.map +1 -0
  1081. package/dist/tools/testing/index.js +23 -0
  1082. package/dist/tools/testing/index.js.map +1 -0
  1083. package/dist/tools/testing/test-fix.tool.d.ts +10 -0
  1084. package/dist/tools/testing/test-fix.tool.d.ts.map +1 -0
  1085. package/dist/tools/testing/test-fix.tool.js +56 -0
  1086. package/dist/tools/testing/test-fix.tool.js.map +1 -0
  1087. package/dist/tools/testing/test-fuzz.tool.d.ts +10 -0
  1088. package/dist/tools/testing/test-fuzz.tool.d.ts.map +1 -0
  1089. package/dist/tools/testing/test-fuzz.tool.js +42 -0
  1090. package/dist/tools/testing/test-fuzz.tool.js.map +1 -0
  1091. package/dist/tools/testing/test-gap.tool.d.ts +10 -0
  1092. package/dist/tools/testing/test-gap.tool.d.ts.map +1 -0
  1093. package/dist/tools/testing/test-gap.tool.js +36 -0
  1094. package/dist/tools/testing/test-gap.tool.js.map +1 -0
  1095. package/dist/tools/testing/test-gen-integration.tool.d.ts +10 -0
  1096. package/dist/tools/testing/test-gen-integration.tool.d.ts.map +1 -0
  1097. package/dist/tools/testing/test-gen-integration.tool.js +57 -0
  1098. package/dist/tools/testing/test-gen-integration.tool.js.map +1 -0
  1099. package/dist/tools/testing/test-gen-unit.tool.d.ts +10 -0
  1100. package/dist/tools/testing/test-gen-unit.tool.d.ts.map +1 -0
  1101. package/dist/tools/testing/test-gen-unit.tool.js +51 -0
  1102. package/dist/tools/testing/test-gen-unit.tool.js.map +1 -0
  1103. package/dist/tools/testing/test-snapshot.tool.d.ts +10 -0
  1104. package/dist/tools/testing/test-snapshot.tool.d.ts.map +1 -0
  1105. package/dist/tools/testing/test-snapshot.tool.js +49 -0
  1106. package/dist/tools/testing/test-snapshot.tool.js.map +1 -0
  1107. package/dist/tools/tool-name.tool.d.ts +9 -0
  1108. package/dist/tools/tool-name.tool.d.ts.map +1 -0
  1109. package/dist/tools/tool-name.tool.js +28 -0
  1110. package/dist/tools/tool-name.tool.js.map +1 -0
  1111. package/dist/tools/tool-registry.class.d.ts +57 -0
  1112. package/dist/tools/tool-registry.class.d.ts.map +1 -0
  1113. package/dist/tools/tool-registry.class.js +311 -0
  1114. package/dist/tools/tool-registry.class.js.map +1 -0
  1115. package/dist/tools/workspace/analyze-project.tool.d.ts +38 -0
  1116. package/dist/tools/workspace/analyze-project.tool.d.ts.map +1 -0
  1117. package/dist/tools/workspace/analyze-project.tool.js +455 -0
  1118. package/dist/tools/workspace/analyze-project.tool.js.map +1 -0
  1119. package/dist/tools/workspace/auto-commit.tool.d.ts +11 -0
  1120. package/dist/tools/workspace/auto-commit.tool.d.ts.map +1 -0
  1121. package/dist/tools/workspace/auto-commit.tool.js +86 -0
  1122. package/dist/tools/workspace/auto-commit.tool.js.map +1 -0
  1123. package/dist/tools/workspace/batch-write-files.tool.d.ts +11 -0
  1124. package/dist/tools/workspace/batch-write-files.tool.d.ts.map +1 -0
  1125. package/dist/tools/workspace/batch-write-files.tool.js +97 -0
  1126. package/dist/tools/workspace/batch-write-files.tool.js.map +1 -0
  1127. package/dist/tools/workspace/browser.tool.d.ts +24 -0
  1128. package/dist/tools/workspace/browser.tool.d.ts.map +1 -0
  1129. package/dist/tools/workspace/browser.tool.js +170 -0
  1130. package/dist/tools/workspace/browser.tool.js.map +1 -0
  1131. package/dist/tools/workspace/codebase-research.tool.d.ts +11 -0
  1132. package/dist/tools/workspace/codebase-research.tool.d.ts.map +1 -0
  1133. package/dist/tools/workspace/codebase-research.tool.js +90 -0
  1134. package/dist/tools/workspace/codebase-research.tool.js.map +1 -0
  1135. package/dist/tools/workspace/docker.tool.d.ts +29 -0
  1136. package/dist/tools/workspace/docker.tool.d.ts.map +1 -0
  1137. package/dist/tools/workspace/docker.tool.js +235 -0
  1138. package/dist/tools/workspace/docker.tool.js.map +1 -0
  1139. package/dist/tools/workspace/edit-file.tool.d.ts +32 -0
  1140. package/dist/tools/workspace/edit-file.tool.d.ts.map +1 -0
  1141. package/dist/tools/workspace/edit-file.tool.js +172 -0
  1142. package/dist/tools/workspace/edit-file.tool.js.map +1 -0
  1143. package/dist/tools/workspace/find-files.tool.d.ts +12 -0
  1144. package/dist/tools/workspace/find-files.tool.d.ts.map +1 -0
  1145. package/dist/tools/workspace/find-files.tool.js +120 -0
  1146. package/dist/tools/workspace/find-files.tool.js.map +1 -0
  1147. package/dist/tools/workspace/get-task.tool.d.ts +12 -0
  1148. package/dist/tools/workspace/get-task.tool.d.ts.map +1 -0
  1149. package/dist/tools/workspace/get-task.tool.js +31 -0
  1150. package/dist/tools/workspace/get-task.tool.js.map +1 -0
  1151. package/dist/tools/workspace/git.tool.d.ts +32 -0
  1152. package/dist/tools/workspace/git.tool.d.ts.map +1 -0
  1153. package/dist/tools/workspace/git.tool.js +279 -0
  1154. package/dist/tools/workspace/git.tool.js.map +1 -0
  1155. package/dist/tools/workspace/grep.tool.d.ts +16 -0
  1156. package/dist/tools/workspace/grep.tool.d.ts.map +1 -0
  1157. package/dist/tools/workspace/grep.tool.js +172 -0
  1158. package/dist/tools/workspace/grep.tool.js.map +1 -0
  1159. package/dist/tools/workspace/http-request.tool.d.ts +11 -0
  1160. package/dist/tools/workspace/http-request.tool.d.ts.map +1 -0
  1161. package/dist/tools/workspace/http-request.tool.js +102 -0
  1162. package/dist/tools/workspace/http-request.tool.js.map +1 -0
  1163. package/dist/tools/workspace/index.d.ts +29 -0
  1164. package/dist/tools/workspace/index.d.ts.map +1 -0
  1165. package/dist/tools/workspace/index.js +45 -0
  1166. package/dist/tools/workspace/index.js.map +1 -0
  1167. package/dist/tools/workspace/knowledge.tool.d.ts +25 -0
  1168. package/dist/tools/workspace/knowledge.tool.d.ts.map +1 -0
  1169. package/dist/tools/workspace/knowledge.tool.js +236 -0
  1170. package/dist/tools/workspace/knowledge.tool.js.map +1 -0
  1171. package/dist/tools/workspace/list-dir.tool.d.ts +14 -0
  1172. package/dist/tools/workspace/list-dir.tool.d.ts.map +1 -0
  1173. package/dist/tools/workspace/list-dir.tool.js +136 -0
  1174. package/dist/tools/workspace/list-dir.tool.js.map +1 -0
  1175. package/dist/tools/workspace/list-tasks.tool.d.ts +26 -0
  1176. package/dist/tools/workspace/list-tasks.tool.d.ts.map +1 -0
  1177. package/dist/tools/workspace/list-tasks.tool.js +31 -0
  1178. package/dist/tools/workspace/list-tasks.tool.js.map +1 -0
  1179. package/dist/tools/workspace/multi-file-patch.tool.d.ts +35 -0
  1180. package/dist/tools/workspace/multi-file-patch.tool.d.ts.map +1 -0
  1181. package/dist/tools/workspace/multi-file-patch.tool.js +185 -0
  1182. package/dist/tools/workspace/multi-file-patch.tool.js.map +1 -0
  1183. package/dist/tools/workspace/patch-file.tool.d.ts +30 -0
  1184. package/dist/tools/workspace/patch-file.tool.d.ts.map +1 -0
  1185. package/dist/tools/workspace/patch-file.tool.js +207 -0
  1186. package/dist/tools/workspace/patch-file.tool.js.map +1 -0
  1187. package/dist/tools/workspace/pipeline-run.tool.d.ts +11 -0
  1188. package/dist/tools/workspace/pipeline-run.tool.d.ts.map +1 -0
  1189. package/dist/tools/workspace/pipeline-run.tool.js +160 -0
  1190. package/dist/tools/workspace/pipeline-run.tool.js.map +1 -0
  1191. package/dist/tools/workspace/plan.tool.d.ts +44 -0
  1192. package/dist/tools/workspace/plan.tool.d.ts.map +1 -0
  1193. package/dist/tools/workspace/plan.tool.js +271 -0
  1194. package/dist/tools/workspace/plan.tool.js.map +1 -0
  1195. package/dist/tools/workspace/process-manager.tool.d.ts +23 -0
  1196. package/dist/tools/workspace/process-manager.tool.d.ts.map +1 -0
  1197. package/dist/tools/workspace/process-manager.tool.js +227 -0
  1198. package/dist/tools/workspace/process-manager.tool.js.map +1 -0
  1199. package/dist/tools/workspace/project-context.tool.d.ts +11 -0
  1200. package/dist/tools/workspace/project-context.tool.d.ts.map +1 -0
  1201. package/dist/tools/workspace/project-context.tool.js +124 -0
  1202. package/dist/tools/workspace/project-context.tool.js.map +1 -0
  1203. package/dist/tools/workspace/project-scanner.tool.d.ts +56 -0
  1204. package/dist/tools/workspace/project-scanner.tool.d.ts.map +1 -0
  1205. package/dist/tools/workspace/project-scanner.tool.js +979 -0
  1206. package/dist/tools/workspace/project-scanner.tool.js.map +1 -0
  1207. package/dist/tools/workspace/read-file.tool.d.ts +11 -0
  1208. package/dist/tools/workspace/read-file.tool.d.ts.map +1 -0
  1209. package/dist/tools/workspace/read-file.tool.js +84 -0
  1210. package/dist/tools/workspace/read-file.tool.js.map +1 -0
  1211. package/dist/tools/workspace/run-tsc.tool.d.ts +11 -0
  1212. package/dist/tools/workspace/run-tsc.tool.d.ts.map +1 -0
  1213. package/dist/tools/workspace/run-tsc.tool.js +94 -0
  1214. package/dist/tools/workspace/run-tsc.tool.js.map +1 -0
  1215. package/dist/tools/workspace/safe-edit-policy.tool.d.ts +12 -0
  1216. package/dist/tools/workspace/safe-edit-policy.tool.d.ts.map +1 -0
  1217. package/dist/tools/workspace/safe-edit-policy.tool.js +135 -0
  1218. package/dist/tools/workspace/safe-edit-policy.tool.js.map +1 -0
  1219. package/dist/tools/workspace/search-code.tool.d.ts +15 -0
  1220. package/dist/tools/workspace/search-code.tool.d.ts.map +1 -0
  1221. package/dist/tools/workspace/search-code.tool.js +286 -0
  1222. package/dist/tools/workspace/search-code.tool.js.map +1 -0
  1223. package/dist/tools/workspace/store.tool.d.ts +20 -0
  1224. package/dist/tools/workspace/store.tool.d.ts.map +1 -0
  1225. package/dist/tools/workspace/store.tool.js +246 -0
  1226. package/dist/tools/workspace/store.tool.js.map +1 -0
  1227. package/dist/tools/workspace/terminal-run.tool.d.ts +11 -0
  1228. package/dist/tools/workspace/terminal-run.tool.d.ts.map +1 -0
  1229. package/dist/tools/workspace/terminal-run.tool.js +122 -0
  1230. package/dist/tools/workspace/terminal-run.tool.js.map +1 -0
  1231. package/dist/tools/workspace/vision-browser.tool.d.ts +32 -0
  1232. package/dist/tools/workspace/vision-browser.tool.d.ts.map +1 -0
  1233. package/dist/tools/workspace/vision-browser.tool.js +270 -0
  1234. package/dist/tools/workspace/vision-browser.tool.js.map +1 -0
  1235. package/dist/tools/workspace/write-file.tool.d.ts +11 -0
  1236. package/dist/tools/workspace/write-file.tool.d.ts.map +1 -0
  1237. package/dist/tools/workspace/write-file.tool.js +77 -0
  1238. package/dist/tools/workspace/write-file.tool.js.map +1 -0
  1239. package/package.json +66 -0
@@ -0,0 +1,1462 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ALL_TOOL_CAPABILITIES = void 0;
4
+ exports.ALL_TOOL_CAPABILITIES = [
5
+ {
6
+ toolName: "codebase_index",
7
+ domain: "codebase",
8
+ intents: ["index codebase", "build search index", "analyze repository from scratch", "rebuild embeddings"],
9
+ capabilities: ["file discovery", "AST chunking", "embedding generation", "vector storage"],
10
+ requires: ["file system access", "embedding model", "vector DB"],
11
+ inputExample: "Index the current project",
12
+ outputExample: '{ totalFiles: 342, totalChunks: 1847, timeMs: 115200 }',
13
+ isDestructive: false,
14
+ isReadOnly: false,
15
+ llmCostEstimate: "medium",
16
+ triggers: ["index", "analyze from scratch", "first time", "rebuild index", "reindex", "scan project", "ingest"],
17
+ workflow: "Discover all source files, chunk code at function and class boundaries, generate embeddings for each chunk, and store them in the vector database for semantic search.",
18
+ },
19
+ {
20
+ toolName: "codebase_search",
21
+ domain: "codebase",
22
+ intents: ["search codebase semantically", "find relevant code", "query code knowledge base", "locate implementation"],
23
+ capabilities: ["semantic search", "vector similarity", "relevance ranking", "cross-file retrieval"],
24
+ requires: ["codebase index", "vector DB"],
25
+ inputExample: "Find where authentication logic is implemented",
26
+ outputExample: '{ results: [{ file: "src/auth/login.ts", line: 42, score: 0.94, snippet: "async function authenticate..." }] }',
27
+ isDestructive: false,
28
+ isReadOnly: true,
29
+ llmCostEstimate: "low",
30
+ triggers: ["search", "find", "where is", "locate", "look up", "semantic search", "discover", "retrieve"],
31
+ workflow: "Accept a natural language query, convert to embedding vector, perform nearest-neighbor search against the codebase index, and return ranked results with file paths and snippets.",
32
+ },
33
+ {
34
+ toolName: "codebase_status",
35
+ domain: "codebase",
36
+ intents: ["check index status", "view codebase health", "inspect indexing progress", "diagnose indexing issues"],
37
+ capabilities: ["index metrics", "health reporting", "progress tracking", "error diagnostics"],
38
+ requires: ["codebase index"],
39
+ inputExample: "Show codebase index status",
40
+ outputExample: '{ indexed: true, totalFiles: 342, staleFiles: 3, lastIndexed: "2026-05-01T10:00:00Z" }',
41
+ isDestructive: false,
42
+ isReadOnly: true,
43
+ llmCostEstimate: "none",
44
+ triggers: ["status", "health", "progress", "index state", "is indexed", "check indexing", "diagnose index"],
45
+ workflow: "Query the index database for current metrics, check for stale files that have been modified since last indexing, and report overall health.",
46
+ },
47
+ {
48
+ toolName: "codebase_graph_query",
49
+ domain: "codebase",
50
+ intents: ["query dependency graph", "traverse code relationships", "find dependents", "explore imports"],
51
+ capabilities: ["graph traversal", "Cypher-style queries", "relationship mapping", "path finding"],
52
+ requires: ["knowledge graph", "codebase index"],
53
+ inputExample: "Find all files that import from src/utils/helpers.ts",
54
+ outputExample: '{ nodes: [{ file: "src/components/Header.tsx" }, { file: "src/pages/Home.tsx" }], edges: [{ from: "...", to: "...", type: "imports" }] }',
55
+ isDestructive: false,
56
+ isReadOnly: true,
57
+ llmCostEstimate: "low",
58
+ triggers: ["graph query", "dependencies", "imports of", "dependents", "callers of", "relationship", "traverse"],
59
+ workflow: "Parse the user's graph query, traverse the knowledge graph along edges representing imports, calls, and type references, and return matching subgraph.",
60
+ },
61
+ {
62
+ toolName: "codebase_graph_visualize",
63
+ domain: "codebase",
64
+ intents: ["visualize dependency graph", "render architecture diagram", "show module relationships", "display file dependencies"],
65
+ capabilities: ["graph rendering", "layout algorithms", "interactive zoom", "export formats"],
66
+ requires: ["knowledge graph"],
67
+ inputExample: "Show the dependency graph for the auth module",
68
+ outputExample: '{ mermaidCode: "graph TD\\n A[login.ts] --> B[token.ts]\\n A --> C[validator.ts]", svgUrl: "..." }',
69
+ isDestructive: false,
70
+ isReadOnly: true,
71
+ llmCostEstimate: "none",
72
+ triggers: ["visualize", "diagram", "graph view", "show dependencies", "render graph", "architecture map", "module map"],
73
+ workflow: "Extract relevant subgraph from the knowledge graph, apply a directed layout algorithm, and generate a Mermaid or Graphviz representation for rendering.",
74
+ },
75
+ {
76
+ toolName: "codebase_graph_circular",
77
+ domain: "codebase",
78
+ intents: ["detect circular dependencies", "find import cycles", "identify dependency loops", "check acyclic property"],
79
+ capabilities: ["cycle detection", "Tarjan's algorithm", "severity classification", "fix suggestions"],
80
+ requires: ["knowledge graph"],
81
+ inputExample: "Check for circular dependencies in the project",
82
+ outputExample: '{ cycles: [{ files: ["A.ts", "B.ts", "C.ts", "A.ts"], length: 3, severity: "warning" }] }',
83
+ isDestructive: false,
84
+ isReadOnly: true,
85
+ llmCostEstimate: "none",
86
+ triggers: ["circular", "cycles", "dependency loop", "import cycle", "cyclic", "deadlock potential", "circular deps"],
87
+ workflow: "Run cycle detection algorithms on the dependency graph, identify all strongly connected components, and report each cycle with severity and suggested fixes.",
88
+ },
89
+ {
90
+ toolName: "codebase_graph_stats",
91
+ domain: "codebase",
92
+ intents: ["view graph statistics", "analyze codebase structure", "measure coupling", "inspect topology"],
93
+ capabilities: ["graph metrics", "centrality analysis", "degree distribution", "module cohesion"],
94
+ requires: ["knowledge graph"],
95
+ inputExample: "Show codebase graph statistics",
96
+ outputExample: '{ totalNodes: 342, totalEdges: 2103, avgDegree: 6.15, mostCoupled: "src/core/engine.ts", maxDepth: 12 }',
97
+ isDestructive: false,
98
+ isReadOnly: true,
99
+ llmCostEstimate: "none",
100
+ triggers: ["stats", "statistics", "metrics", "coupling", "topology", "graph analysis", "structure analysis"],
101
+ workflow: "Compute degree centrality, betweenness, and clustering coefficients across the dependency graph to surface highly coupled or architecturally significant modules.",
102
+ },
103
+ {
104
+ toolName: "codebase_impact",
105
+ domain: "codebase",
106
+ intents: ["analyze change impact", "predict refactor blast radius", "assess modification risk", "trace change propagation"],
107
+ capabilities: ["impact analysis", "transitive dependency tracing", "risk scoring", "affected test detection"],
108
+ requires: ["knowledge graph", "codebase index"],
109
+ inputExample: "What is the impact of changing the User type definition?",
110
+ outputExample: '{ affectedFiles: 23, affectedTests: 8, riskLevel: "high", propagationPaths: [[...], [...]] }',
111
+ isDestructive: false,
112
+ isReadOnly: true,
113
+ llmCostEstimate: "low",
114
+ triggers: ["impact", "what if I change", "blast radius", "affected by", "consequences of", "change risk", "ripple effect"],
115
+ workflow: "Starting from the target file or symbol, traverse forward along all dependency edges to compute the full transitive closure of affected modules and tests.",
116
+ },
117
+ {
118
+ toolName: "codebase_flow",
119
+ domain: "codebase",
120
+ intents: ["trace data flow", "follow execution path", "analyze control flow", "map call chains"],
121
+ capabilities: ["data flow analysis", "call chain reconstruction", "control flow graphing", "variable taint tracking"],
122
+ requires: ["knowledge graph", "AST parser"],
123
+ inputExample: "Trace the flow from user input in the login handler to the database call",
124
+ outputExample: '{ path: ["handler.ts:login()", "service.ts:authenticate()", "db.ts:findUser()"], latencyBreakdown: {...} }',
125
+ isDestructive: false,
126
+ isReadOnly: true,
127
+ llmCostEstimate: "medium",
128
+ triggers: ["flow", "trace", "data path", "execution path", "call chain", "how does data move", "propagation"],
129
+ workflow: "Perform interprocedural data flow analysis starting from a source symbol, following variable assignments and function calls until reaching a sink.",
130
+ },
131
+ {
132
+ toolName: "codebase_knowledge",
133
+ domain: "codebase",
134
+ intents: ["query codebase knowledge", "ask architectural questions", "understand design decisions", "learn codebase patterns"],
135
+ capabilities: ["RAG over codebase", "architectural Q&A", "pattern recognition", "design rationale extraction"],
136
+ requires: ["codebase index", "LLM access"],
137
+ inputExample: "Why does the auth module use JWT instead of session tokens?",
138
+ outputExample: '{ answer: "Based on code comments and ADRs, JWT was chosen for stateless scaling across microservices.", sources: ["docs/adr/003-auth.md", "src/auth/jwt.ts:15"] }',
139
+ isDestructive: false,
140
+ isReadOnly: true,
141
+ llmCostEstimate: "medium",
142
+ triggers: ["why", "how does", "explain architecture", "design rationale", "what pattern", "understanding", "codebase knowledge"],
143
+ workflow: "Retrieve relevant code and documentation chunks via semantic search, feed them as context to an LLM, and return a synthesized answer with source citations.",
144
+ },
145
+ {
146
+ toolName: "codebase_crossref",
147
+ domain: "codebase",
148
+ intents: ["find cross-references", "locate all usages", "trace symbol references", "find implementations of interface"],
149
+ capabilities: ["symbol indexing", "cross-reference resolution", "interface implementation mapping", "call-site enumeration"],
150
+ requires: ["codebase index", "AST parser"],
151
+ inputExample: "Find all usages of the validateEmail function",
152
+ outputExample: '{ references: [{ file: "src/forms/signup.ts", line: 88, context: "if (validateEmail(input))" }, ...], totalCount: 12 }',
153
+ isDestructive: false,
154
+ isReadOnly: true,
155
+ llmCostEstimate: "low",
156
+ triggers: ["references", "usages", "where used", "cross reference", "call sites", "implementations of", "who calls"],
157
+ workflow: "Query the symbol index for all references to a given identifier across the codebase, resolving overloaded names and returning contextual snippets at each call site.",
158
+ },
159
+ {
160
+ toolName: "codebase_analyze",
161
+ domain: "codebase",
162
+ intents: ["analyze codebase deeply", "comprehensive code audit", "generate architecture report", "assess codebase maturity"],
163
+ capabilities: ["multi-faceted analysis", "trend detection", "report generation", "comparative benchmarking"],
164
+ requires: ["codebase index", "knowledge graph", "LLM access"],
165
+ inputExample: "Generate a comprehensive analysis of the entire codebase",
166
+ outputExample: '{ architecture: { layers: [...], violations: 3 }, quality: { score: 78 }, health: { techDebt: "moderate" }, recommendations: [...] }',
167
+ isDestructive: false,
168
+ isReadOnly: true,
169
+ llmCostEstimate: "high",
170
+ triggers: ["analyze", "comprehensive", "audit", "codebase report", "assessment", "full analysis", "deep dive"],
171
+ workflow: "Orchestrate multiple analysis tools (complexity, coverage, coupling, graph stats) and synthesize results into a comprehensive report with prioritized recommendations.",
172
+ },
173
+ {
174
+ toolName: "neural_explain",
175
+ domain: "neural",
176
+ intents: ["explain code", "understand complex logic", "get plain-English description", "demystify algorithm"],
177
+ capabilities: ["LLM reasoning", "code summarization", "concept mapping", "difficulty-adaptive explanation"],
178
+ requires: ["LLM access", "file access"],
179
+ inputExample: "Explain what the debounce function in utils/timing.ts does",
180
+ outputExample: '{ summary: "This function limits how often a callback can fire by waiting until calls pause for a given delay.", complexity: "intermediate", keyConcepts: ["closure", "timer", "leading/trailing edge"] }',
181
+ isDestructive: false,
182
+ isReadOnly: true,
183
+ llmCostEstimate: "medium",
184
+ triggers: ["explain", "what does this do", "how does this work", "describe", "clarify", "understand this", "walk me through"],
185
+ workflow: "Read the target code, parse its structure, and use an LLM to generate a plain-English explanation with identified concepts and complexity level.",
186
+ },
187
+ {
188
+ toolName: "neural_suggest",
189
+ domain: "neural",
190
+ intents: ["suggest improvements", "propose optimizations", "recommend refactors", "offer alternative approaches"],
191
+ capabilities: ["LLM suggestion generation", "pattern matching", "best-practice knowledge", "context-aware proposals"],
192
+ requires: ["LLM access", "file access"],
193
+ inputExample: "Suggest improvements for the payment processing pipeline",
194
+ outputExample: '{ suggestions: [{ title: "Batch inserts", impact: "high", effort: "low", description: "Use bulk INSERT instead of N individual queries" }], totalCount: 5 }',
195
+ isDestructive: false,
196
+ isReadOnly: true,
197
+ llmCostEstimate: "medium",
198
+ triggers: ["suggest", "improve", "recommend", "better way", "optimize", "proposal", "alternatives", "ideas for"],
199
+ workflow: "Analyze the target code for common anti-patterns and performance bottlenecks, then use LLM reasoning to generate ranked improvement suggestions with effort/impact estimates.",
200
+ },
201
+ {
202
+ toolName: "neural_review",
203
+ domain: "neural",
204
+ intents: ["review code", "find bugs", "check quality", "code audit"],
205
+ capabilities: ["LLM reasoning", "pattern matching", "severity classification", "fix suggestion"],
206
+ requires: ["LLM access", "file access"],
207
+ inputExample: "Review src/auth/login.ts for security and bugs",
208
+ outputExample: '{ issues: [{ severity: "critical", category: "security", line: 42, message: "Hardcoded secret", suggestion: "Use env var" }] }',
209
+ isDestructive: false,
210
+ isReadOnly: true,
211
+ llmCostEstimate: "high",
212
+ triggers: ["review", "audit", "check code", "find bugs", "code quality", "security scan", "inspect", "examine"],
213
+ workflow: "Read target files, apply static analysis patterns, then perform LLM deep analysis to surface bugs, security issues, and quality concerns with severity-ranked fix suggestions.",
214
+ },
215
+ {
216
+ toolName: "neural_debug",
217
+ domain: "neural",
218
+ intents: ["debug errors", "diagnose failures", "trace bugs", "analyze stack traces"],
219
+ capabilities: ["error analysis", "stack trace interpretation", "root cause reasoning", "fix generation"],
220
+ requires: ["LLM access", "codebase index"],
221
+ inputExample: "Debug the TypeError in src/api/users.ts line 142",
222
+ outputExample: '{ rootCause: "usersService.findById returns null when user not found, but caller does not guard", suggestedFix: "Add null check before accessing .email", confidence: 0.92 }',
223
+ isDestructive: false,
224
+ isReadOnly: true,
225
+ llmCostEstimate: "medium",
226
+ triggers: ["debug", "fix error", "what's wrong", "bug", "crash", "stack trace", "failing", "broken", "exception"],
227
+ workflow: "Parse the error and stack trace, retrieve relevant source code, trace the logical flow that leads to the failure, and produce a root cause analysis with a concrete fix.",
228
+ },
229
+ {
230
+ toolName: "neural_security",
231
+ domain: "neural",
232
+ intents: ["scan for vulnerabilities", "security audit", "detect insecure patterns", "check OWASP compliance"],
233
+ capabilities: ["vulnerability detection", "OWASP top-10 mapping", "taint analysis", "CVE correlation"],
234
+ requires: ["LLM access", "codebase index", "CVE database"],
235
+ inputExample: "Run a security scan on the entire project",
236
+ outputExample: '{ findings: [{ severity: "critical", cwe: "CWE-89", location: "src/db/queries.ts:78", description: "SQL injection via unsanitized user input" }], riskScore: 65 }',
237
+ isDestructive: false,
238
+ isReadOnly: true,
239
+ llmCostEstimate: "high",
240
+ triggers: ["security", "vulnerability", "injection", "XSS", "CSRF", "OWASP", "CVE", "exploit", "secure code"],
241
+ workflow: "Scan codebase for OWASP top-10 vulnerability patterns, perform taint analysis on user-controlled data flows, and correlate findings with known CVE entries.",
242
+ },
243
+ {
244
+ toolName: "neural_smells",
245
+ domain: "neural",
246
+ intents: ["detect code smells", "identify anti-patterns", "find technical debt", "spot design issues"],
247
+ capabilities: ["smell catalog matching", "LLM pattern recognition", "debt quantification", "refactor targeting"],
248
+ requires: ["LLM access", "codebase index"],
249
+ inputExample: "Find code smells in the order processing module",
250
+ outputExample: '{ smells: [{ type: "God Class", location: "src/orders/OrderManager.ts", lines: 1847, suggestedAction: "Split into OrderValidator, OrderProcessor, OrderNotifier" }] }',
251
+ isDestructive: false,
252
+ isReadOnly: true,
253
+ llmCostEstimate: "medium",
254
+ triggers: ["code smell", "anti-pattern", "technical debt", "bad practice", "design issue", "refactor candidate", "smelly code"],
255
+ workflow: "Apply a catalog of known code smells (God Class, Long Method, Feature Envy, etc.) against the codebase, using LLM to validate matches and suggest specific refactors.",
256
+ },
257
+ {
258
+ toolName: "neural_deadcode",
259
+ domain: "neural",
260
+ intents: ["find dead code", "detect unused exports", "identify unreachable code", "clean up codebase"],
261
+ capabilities: ["dead code detection", "export usage analysis", "unreachable path detection", "safe removal suggestions"],
262
+ requires: ["codebase index", "knowledge graph", "LLM access"],
263
+ inputExample: "Find all dead code in the project",
264
+ outputExample: '{ deadFiles: ["src/legacy/oldParser.ts"], deadFunctions: [{ name: "deprecatedInit", file: "src/init.ts", line: 200 }], deadExports: 15, estimatedBytesSaved: 43000 }',
265
+ isDestructive: false,
266
+ isReadOnly: true,
267
+ llmCostEstimate: "medium",
268
+ triggers: ["dead code", "unused", "unreachable", "zombie code", "remove unused", "clean up", "stale code", "orphaned"],
269
+ workflow: "Cross-reference all exports against all imports in the knowledge graph, detect functions with no callers, and flag unreachable code paths with safe deletion confidence.",
270
+ },
271
+ {
272
+ toolName: "neural_similar",
273
+ domain: "neural",
274
+ intents: ["find duplicate code", "detect copy-paste", "identify similar implementations", "discover near-miss clones"],
275
+ capabilities: ["semantic similarity", "AST fingerprinting", "clone detection", "abstraction suggestion"],
276
+ requires: ["codebase index", "LLM access"],
277
+ inputExample: "Find similar code blocks that might be duplicated",
278
+ outputExample: '{ duplicates: [{ files: ["src/payment/stripe.ts:42-78", "src/payment/paypal.ts:35-71"], similarity: 0.94, suggestedAbstraction: "Extract shared payment validation logic" }] }',
279
+ isDestructive: false,
280
+ isReadOnly: true,
281
+ llmCostEstimate: "medium",
282
+ triggers: ["similar", "duplicate", "copy paste", "clone", "DRY", "repeated code", "near identical", "redundant"],
283
+ workflow: "Compute AST fingerprints and semantic embeddings for all code blocks, cluster by similarity, and report near-duplicate pairs with suggested abstractions.",
284
+ },
285
+ {
286
+ toolName: "neural_pattern",
287
+ domain: "neural",
288
+ intents: ["detect design patterns", "identify architectural patterns", "recognize applied patterns", "suggest missing patterns"],
289
+ capabilities: ["GoF pattern recognition", "architectural pattern matching", "pattern conformance checking", "pattern recommendation"],
290
+ requires: ["LLM access", "codebase index"],
291
+ inputExample: "What design patterns are used in the notification system?",
292
+ outputExample: '{ detected: [{ pattern: "Observer", confidence: 0.87, location: "src/notifications/bus.ts" }, { pattern: "Strategy", confidence: 0.92, location: "src/notifications/channels/" }] }',
293
+ isDestructive: false,
294
+ isReadOnly: true,
295
+ llmCostEstimate: "medium",
296
+ triggers: ["design pattern", "GoF", "architecture pattern", "factory", "singleton", "observer", "pattern used", "what pattern"],
297
+ workflow: "Analyze code structure against the Gang of Four and enterprise integration pattern catalogs, identifying both applied patterns and opportunities where patterns could improve the design.",
298
+ },
299
+ {
300
+ toolName: "neural_optimize",
301
+ domain: "neural",
302
+ intents: ["optimize code", "improve performance", "reduce complexity", "speed up execution"],
303
+ capabilities: ["performance bottleneck detection", "algorithmic optimization", "complexity reduction", "benchmark-aware suggestions"],
304
+ requires: ["LLM access", "codebase index", "profiling data"],
305
+ inputExample: "Optimize the search indexing pipeline for speed",
306
+ outputExample: '{ bottlenecks: [{ location: "src/index/builder.ts:234", issue: "O(n²) nested loop", suggestion: "Use hash map for lookup", estimatedSpeedup: "12x" }], totalEstimatedGain: "45% faster" }',
307
+ isDestructive: false,
308
+ isReadOnly: true,
309
+ llmCostEstimate: "high",
310
+ triggers: ["optimize", "faster", "performance", "speed up", "bottleneck", "slow", "accelerate", "improve latency"],
311
+ workflow: "Identify algorithmic inefficiencies and hotspots via static analysis and profiling data, then use LLM reasoning to propose optimizations with estimated performance gains.",
312
+ },
313
+ {
314
+ toolName: "quality_complexity",
315
+ domain: "quality",
316
+ intents: ["measure code complexity", "assess cognitive load", "find complex functions", "enforce complexity thresholds"],
317
+ capabilities: ["cyclomatic complexity", "cognitive complexity", "Halstead metrics", "threshold enforcement"],
318
+ requires: ["AST parser", "codebase index"],
319
+ inputExample: "Find the most complex functions in the project",
320
+ outputExample: '{ topComplexFunctions: [{ name: "processTransaction", file: "src/billing/engine.ts", cyclomatic: 47, cognitive: 62, status: "critical" }], avgComplexity: 8.3 }',
321
+ isDestructive: false,
322
+ isReadOnly: true,
323
+ llmCostEstimate: "none",
324
+ triggers: ["complexity", "cognitive load", "cyclomatic", "complicated", "hard to understand", "nesting", "branching"],
325
+ workflow: "Parse AST to compute cyclomatic and cognitive complexity for every function, rank results, and flag those exceeding configured thresholds.",
326
+ },
327
+ {
328
+ toolName: "quality_coupling",
329
+ domain: "quality",
330
+ intents: ["measure module coupling", "assess cohesion", "find tightly coupled modules", "analyze dependency health"],
331
+ capabilities: ["afferent/efferent coupling", "instability metrics", "abstractness ratio", "distance from main sequence"],
332
+ requires: ["knowledge graph"],
333
+ inputExample: "Measure coupling across all modules",
334
+ outputExample: '{ modules: [{ name: "src/auth", afferent: 23, efferent: 5, instability: 0.18, status: "zone of pain" }], warnings: 3 }',
335
+ isDestructive: false,
336
+ isReadOnly: true,
337
+ llmCostEstimate: "none",
338
+ triggers: ["coupling", "cohesion", "tightly coupled", "dependency health", "instability", "modularity", "loose coupling"],
339
+ workflow: "Compute Robert Martin's coupling metrics (afferent/efferent coupling, instability, abstractness) for each module and plot on the main sequence distance chart.",
340
+ },
341
+ {
342
+ toolName: "quality_coverage",
343
+ domain: "quality",
344
+ intents: ["check test coverage", "measure code covered by tests", "find untested code", "generate coverage report"],
345
+ capabilities: ["line/branch/function coverage", "coverage gap analysis", "threshold enforcement", "historical trending"],
346
+ requires: ["test runner", "coverage instrumentation"],
347
+ inputExample: "Show test coverage for the src/core module",
348
+ outputExample: '{ lineCoverage: 0.72, branchCoverage: 0.58, functionCoverage: 0.81, uncoveredFiles: ["src/core/edge-cases.ts"], gapSeverity: "moderate" }',
349
+ isDestructive: false,
350
+ isReadOnly: true,
351
+ llmCostEstimate: "none",
352
+ triggers: ["coverage", "tested", "untested", "code coverage", "how much is tested", "coverage gap"],
353
+ workflow: "Run the test suite with coverage instrumentation, aggregate line, branch, and function coverage by module, and highlight the most critical untested code paths.",
354
+ },
355
+ {
356
+ toolName: "quality_deps",
357
+ domain: "quality",
358
+ intents: ["audit external dependencies", "check dependency freshness", "find vulnerable packages", "review dependency graph"],
359
+ capabilities: ["dependency version checking", "vulnerability scanning", "license compliance", "transitive dependency audit"],
360
+ requires: ["package manager", "vulnerability database"],
361
+ inputExample: "Audit all npm dependencies for vulnerabilities and outdated packages",
362
+ outputExample: '{ outdated: 12, vulnerable: 3, licenses: { compliant: 47, warning: 2, prohibited: 0 }, recommendations: ["Update lodash to 4.17.21+"] }',
363
+ isDestructive: false,
364
+ isReadOnly: true,
365
+ llmCostEstimate: "none",
366
+ triggers: ["dependencies", "packages", "npm audit", "outdated", "vulnerable", "license check", "dependency audit"],
367
+ workflow: "Enumerate all direct and transitive dependencies, check against vulnerability databases and latest version registries, and flag license compliance issues.",
368
+ },
369
+ {
370
+ toolName: "quality_size",
371
+ domain: "quality",
372
+ intents: ["measure code size", "find oversized files", "track codebase growth", "enforce size limits"],
373
+ capabilities: ["LOC counting", "file size distribution", "growth trending", "size gate enforcement"],
374
+ requires: ["file system access"],
375
+ inputExample: "Find all files exceeding 500 lines",
376
+ outputExample: '{ oversizedFiles: [{ path: "src/engine/pipeline.ts", lines: 1247, recommendation: "Split into separate pipeline stages" }], sizeDistribution: { small: 230, medium: 98, large: 14 } }',
377
+ isDestructive: false,
378
+ isReadOnly: true,
379
+ llmCostEstimate: "none",
380
+ triggers: ["file size", "too large", "lines of code", "oversized", "growth", "size gate", "LOC", "max lines"],
381
+ workflow: "Count logical lines of code per file, compute distribution statistics, and flag files exceeding size thresholds with refactoring suggestions.",
382
+ },
383
+ {
384
+ toolName: "quality_types",
385
+ domain: "quality",
386
+ intents: ["check type safety", "audit type coverage", "find any types", "enforce strict typing"],
387
+ capabilities: ["strict type enforcement", "any-type detection", "type coverage ratio", "type widening analysis"],
388
+ requires: ["TypeScript compiler"],
389
+ inputExample: "Check type safety across the project",
390
+ outputExample: '{ strictTypeCoverage: 0.86, anyCount: 143, implicitAnyCount: 23, filesWithLowCoverage: ["src/utils/legacy.ts"], overall: "good" }',
391
+ isDestructive: false,
392
+ isReadOnly: true,
393
+ llmCostEstimate: "none",
394
+ triggers: ["types", "type safety", "any type", "strict typing", "type coverage", "implicit any", "TypeScript strict"],
395
+ workflow: "Analyze TypeScript compilation output to find uses of any, implicit any, and type assertions, computing a strict type coverage ratio per file and overall.",
396
+ },
397
+ {
398
+ toolName: "quality_duplication",
399
+ domain: "quality",
400
+ intents: ["find duplicated code", "measure DRY compliance", "detect copy-paste", "identify repeated logic"],
401
+ capabilities: ["token-based clone detection", "duplication ratio", "clone visualization", "extraction suggestion"],
402
+ requires: ["codebase index"],
403
+ inputExample: "Find duplicated code blocks across the project",
404
+ outputExample: '{ duplicationRatio: 0.08, cloneGroups: [{ blockCount: 3, totalLines: 134, files: ["src/a.ts", "src/b.ts", "src/c.ts"], suggestion: "Extract to shared helper" }] }',
405
+ isDestructive: false,
406
+ isReadOnly: true,
407
+ llmCostEstimate: "low",
408
+ triggers: ["duplication", "copy paste", "DRY", "repeated", "deduplicate", "identical code", "clone detection"],
409
+ workflow: "Run token-based clone detection on the codebase to find identical or near-identical code blocks, group them, compute duplication ratios, and suggest extractions.",
410
+ },
411
+ {
412
+ toolName: "test_gen_unit",
413
+ domain: "testing",
414
+ intents: ["generate unit tests", "create test cases", "write Jest tests", "add missing test coverage"],
415
+ capabilities: ["test scaffold generation", "edge case inference", "mock setup", "assertion generation"],
416
+ requires: ["LLM access", "codebase index"],
417
+ inputExample: "Generate unit tests for the calculateDiscount function in src/pricing.ts",
418
+ outputExample: 'Generated file: src/pricing.test.ts with 8 test cases covering happy path, edge cases (zero, negative, max), and error conditions.',
419
+ isDestructive: false,
420
+ isReadOnly: false,
421
+ llmCostEstimate: "high",
422
+ triggers: ["generate tests", "create unit test", "write test", "add test", "test coverage", "missing tests", "unit test"],
423
+ workflow: "Analyze the target function's signature, branches, and dependencies, then generate a complete test file with mocks, edge cases, and assertions following the project's test conventions.",
424
+ },
425
+ {
426
+ toolName: "test_gen_integration",
427
+ domain: "testing",
428
+ intents: ["generate integration tests", "create API tests", "write end-to-end test", "test service interactions"],
429
+ capabilities: ["integration test scaffolding", "fixture generation", "service mock setup", "HTTP assertion generation"],
430
+ requires: ["LLM access", "codebase index", "API schema"],
431
+ inputExample: "Generate integration tests for the user registration endpoint",
432
+ outputExample: 'Generated: src/__tests__/integration/register.test.ts with tests for valid registration, duplicate email, missing fields, and rate limiting.',
433
+ isDestructive: false,
434
+ isReadOnly: false,
435
+ llmCostEstimate: "high",
436
+ triggers: ["integration test", "e2e test", "API test", "endpoint test", "service test", "HTTP test", "request test"],
437
+ workflow: "Parse the API endpoint schema and handler logic, generate integration test scaffolding with realistic fixtures, and create assertions covering success and failure scenarios.",
438
+ },
439
+ {
440
+ toolName: "test_fix",
441
+ domain: "testing",
442
+ intents: ["fix broken tests", "update outdated tests", "repair test assertions", "align tests with code changes"],
443
+ capabilities: ["test failure analysis", "assertion repair", "mock strategy updates", "regression detection"],
444
+ requires: ["LLM access", "test runner output", "codebase index"],
445
+ inputExample: "Fix the failing tests in src/services/payment.test.ts",
446
+ outputExample: '{ fixedTests: 3, changes: [{ test: "should validate amount", issue: "Expected negative to throw", fix: "Added expect().rejects" }], remainingFailures: 0 }',
447
+ isDestructive: false,
448
+ isReadOnly: false,
449
+ llmCostEstimate: "medium",
450
+ triggers: ["fix tests", "broken test", "failing test", "update test", "test broke", "repair test", "test failure"],
451
+ workflow: "Parse test failure output, compare test expectations against current implementation behavior, and update assertions or mocks to correctly reflect the intended behavior.",
452
+ },
453
+ {
454
+ toolName: "test_gap",
455
+ domain: "testing",
456
+ intents: ["find test gaps", "discover uncovered paths", "identify missing test scenarios", "analyze test completeness"],
457
+ capabilities: ["branch coverage gap analysis", "edge case detection", "risk-based gap scoring", "prioritized test queue"],
458
+ requires: ["codebase index", "coverage data"],
459
+ inputExample: "Find gaps in test coverage for the checkout flow",
460
+ outputExample: '{ gaps: [{ file: "src/checkout/processor.ts", function: "applyCoupon", missedBranches: 4, scenarios: ["expired coupon", "minimum order not met"] }], totalGaps: 7 }',
461
+ isDestructive: false,
462
+ isReadOnly: true,
463
+ llmCostEstimate: "medium",
464
+ triggers: ["test gaps", "missing tests", "uncovered", "test completeness", "coverage gap", "what's not tested", "untested paths"],
465
+ workflow: "Correlate code branches against existing test coverage to identify execution paths that lack test coverage, scoring gaps by risk and prioritizing them for test creation.",
466
+ },
467
+ {
468
+ toolName: "test_fuzz",
469
+ domain: "testing",
470
+ intents: ["generate fuzz tests", "find edge cases via randomization", "test input boundaries", "discover crashes via fuzzing"],
471
+ capabilities: ["fuzz input generation", "property-based testing", "invariant definition", "crash reproduction"],
472
+ requires: ["LLM access", "codebase index"],
473
+ inputExample: "Generate fuzz tests for the parseUserInput function",
474
+ outputExample: '{ strategy: "property-based", invariants: ["never throws on string input", "output is always valid User object or null"], testFile: "src/utils/__fuzz__/parseUserInput.fuzz.ts" }',
475
+ isDestructive: false,
476
+ isReadOnly: false,
477
+ llmCostEstimate: "medium",
478
+ triggers: ["fuzz", "fuzzing", "property-based", "random test", "edge case generation", "input boundaries", "crash test"],
479
+ workflow: "Analyze function signature and constraints, define invariants that must hold, and generate property-based fuzz tests that validate behavior across randomized input ranges.",
480
+ },
481
+ {
482
+ toolName: "test_snapshot",
483
+ domain: "testing",
484
+ intents: ["generate snapshot tests", "create visual regression tests", "capture output snapshots", "detect unintended changes"],
485
+ capabilities: ["snapshot capture", "diff detection", "snapshot update workflows", "serialization helpers"],
486
+ requires: ["LLM access", "codebase index"],
487
+ inputExample: "Add snapshot tests for the UserProfile React component",
488
+ outputExample: '{ generatedSnapshots: ["UserProfile default state", "UserProfile with avatar", "UserProfile loading"], testFile: "src/components/UserProfile.snapshot.test.tsx" }',
489
+ isDestructive: false,
490
+ isReadOnly: false,
491
+ llmCostEstimate: "medium",
492
+ triggers: ["snapshot", "visual test", "output capture", "regression test", "snapshot test", "render test", "UI test"],
493
+ workflow: "Analyze the component's props and states, render each meaningful state variant, and generate snapshot assertions that will catch unintended visual or structural changes.",
494
+ },
495
+ {
496
+ toolName: "refactor_extract",
497
+ domain: "refactor",
498
+ intents: ["extract code to function", "extract component", "extract module", "break up large blocks"],
499
+ capabilities: ["extract method", "extract component", "extract variable", "scope analysis"],
500
+ requires: ["AST parser", "LLM access"],
501
+ inputExample: "Extract the validation logic from src/forms/signup.ts into a separate function",
502
+ outputExample: 'Extracted function validateSignupInput() to src/forms/validation.ts. Updated 3 call sites in signup.ts. All existing tests pass.',
503
+ isDestructive: true,
504
+ isReadOnly: false,
505
+ llmCostEstimate: "medium",
506
+ triggers: ["extract", "pull out", "separate", "break out", "extract function", "extract component", "extract module"],
507
+ workflow: "Identify the selected code block, analyze its dependencies and scope, extract it into a new function/module, and update all references while preserving behavior.",
508
+ },
509
+ {
510
+ toolName: "refactor_rename",
511
+ domain: "refactor",
512
+ intents: ["rename symbol", "rename file", "rename variable", "rename across codebase"],
513
+ capabilities: ["cross-file rename", "symbol resolution", "string/non-code reference update", "safe rename validation"],
514
+ requires: ["codebase index", "knowledge graph"],
515
+ inputExample: "Rename the getCwd function to getCurrentWorkingDirectory across the entire project",
516
+ outputExample: '{ renamed: 34, filesModified: 12, conflicts: 0, testStatus: "all passing", warnings: ["String reference in docs/guide.md may need manual update"] }',
517
+ isDestructive: true,
518
+ isReadOnly: false,
519
+ llmCostEstimate: "low",
520
+ triggers: ["rename", "change name", "rename symbol", "rename variable", "rename function", "rename file", "rename class"],
521
+ workflow: "Resolve the symbol across the entire codebase using the knowledge graph, perform the rename in all source files, and flag any string references in docs or comments.",
522
+ },
523
+ {
524
+ toolName: "refactor_move",
525
+ domain: "refactor",
526
+ intents: ["move file", "move module", "reorganize directory", "relocate code"],
527
+ capabilities: ["move with import update", "barrel file regeneration", "path remapping", "test relocation"],
528
+ requires: ["codebase index", "knowledge graph"],
529
+ inputExample: "Move src/utils/helpers.ts to src/common/helpers.ts and update all imports",
530
+ outputExample: '{ movedFiles: 2, updatedImports: 18, updatedFiles: 15, barrelFilesRegenerated: 2, testPassed: true }',
531
+ isDestructive: true,
532
+ isReadOnly: false,
533
+ llmCostEstimate: "low",
534
+ triggers: ["move", "relocate", "reorganize", "move file", "move module", "move to", "change directory"],
535
+ workflow: "Move the target file, traverse the knowledge graph to find all import statements referencing it, update each import path, and regenerate affected barrel files.",
536
+ },
537
+ {
538
+ toolName: "refactor_types",
539
+ domain: "refactor",
540
+ intents: ["improve type definitions", "extract shared types", "narrow types", "add type guards"],
541
+ capabilities: ["type extraction", "interface consolidation", "type narrowing", "discriminated union generation"],
542
+ requires: ["TypeScript compiler", "LLM access"],
543
+ inputExample: "Improve the type definitions in src/models/order.ts",
544
+ outputExample: '{ changes: [{ description: "Replaced 4 duplicate status string unions with OrderStatus enum" }, { description: "Added discriminated union for Order type" }], typeCoverageImproved: 0.08 }',
545
+ isDestructive: true,
546
+ isReadOnly: false,
547
+ llmCostEstimate: "medium",
548
+ triggers: ["improve types", "type refactor", "better types", "type definitions", "shared types", "type guard", "discriminated union"],
549
+ workflow: "Analyze type usage across the module, identify opportunities for extraction, narrowing, and discriminated unions, then refactor types while ensuring full type compatibility.",
550
+ },
551
+ {
552
+ toolName: "refactor_barrel",
553
+ domain: "refactor",
554
+ intents: ["generate barrel files", "manage index.ts exports", "organize module exports", "clean up export structure"],
555
+ capabilities: ["barrel generation", "export deduplication", "wildcard expansion", "barrel audit"],
556
+ requires: ["file system access", "AST parser"],
557
+ inputExample: "Generate barrel files for all directories in src/components",
558
+ outputExample: '{ generatedBarrels: 14, totalExports: 230, warnings: [{ file: "src/components/icons/index.ts", issue: "2 name conflicts resolved" }] }',
559
+ isDestructive: false,
560
+ isReadOnly: false,
561
+ llmCostEstimate: "none",
562
+ triggers: ["barrel", "index.ts", "re-export", "export *", "barrel file", "organize exports", "module exports"],
563
+ workflow: "Walk the directory tree, discover all exported symbols in each directory, generate or update index.ts barrel files with explicit re-exports, and resolve naming conflicts.",
564
+ },
565
+ {
566
+ toolName: "refactor_imports",
567
+ domain: "refactor",
568
+ intents: ["organize imports", "sort imports", "merge duplicate imports", "remove unused imports"],
569
+ capabilities: ["import sorting", "import merging", "unused import removal", "import path normalization"],
570
+ requires: ["AST parser", "TypeScript compiler"],
571
+ inputExample: "Organize and clean up all imports in src/pages",
572
+ outputExample: '{ filesModified: 24, unusedRemoved: 47, importsMerged: 18, importsSorted: 24, errors: 0 }',
573
+ isDestructive: true,
574
+ isReadOnly: false,
575
+ llmCostEstimate: "none",
576
+ triggers: ["organize imports", "sort imports", "clean imports", "unused imports", "import order", "fix imports"],
577
+ workflow: "Parse each file's imports, remove unused ones, merge duplicate specifiers from the same module, sort by convention (external, internal, relative), and normalize paths.",
578
+ },
579
+ {
580
+ toolName: "refactor_async",
581
+ domain: "refactor",
582
+ intents: ["convert to async/await", "modernize promise handling", "remove callback patterns", "fix promise chains"],
583
+ capabilities: ["callback-to-promise conversion", ".then() to async/await", "Promise.all optimization", "error handling improvement"],
584
+ requires: ["AST parser", "LLM access"],
585
+ inputExample: "Convert all callback-based code in src/data to async/await",
586
+ outputExample: '{ functionsConverted: 8, thenChainsRefactored: 5, errorHandlingAdded: 3, warnings: [{ file: "src/data/stream.ts", note: "EventEmitter retained for streaming" }] }',
587
+ isDestructive: true,
588
+ isReadOnly: false,
589
+ llmCostEstimate: "medium",
590
+ triggers: ["async", "await", "promisify", "callback hell", "then chain", "promise refactor", "modern async"],
591
+ workflow: "Detect callback patterns and then() chains, convert them to async/await with proper try/catch error handling, and identify opportunities for Promise.all parallelization.",
592
+ },
593
+ {
594
+ toolName: "refactor_split",
595
+ domain: "refactor",
596
+ intents: ["split large file", "break up monolith", "separate concerns", "divide module by responsibility"],
597
+ capabilities: ["responsibility analysis", "cohesion scoring", "split strategy generation", "safe file division"],
598
+ requires: ["AST parser", "LLM access"],
599
+ inputExample: "Split src/services/OrderService.ts into focused modules by responsibility",
600
+ outputExample: '{ newFiles: ["OrderValidator.ts", "OrderProcessor.ts", "OrderNotifier.ts"], originalLines: 1847, averageNewSize: 615, testStatus: "18 tests pass after split" }',
601
+ isDestructive: true,
602
+ isReadOnly: false,
603
+ llmCostEstimate: "high",
604
+ triggers: ["split", "break up", "divide", "separate concerns", "too big", "monolith", "split file", "decompose"],
605
+ workflow: "Analyze the file's contents to identify distinct responsibilities, propose a split strategy with cohesion scoring, and safely divide into focused modules with updated imports.",
606
+ },
607
+ {
608
+ toolName: "doc_gen_readme",
609
+ domain: "docs",
610
+ intents: ["generate README", "create project documentation", "write getting started guide", "build setup instructions"],
611
+ capabilities: ["README scaffolding", "project introspection", "badge generation", "API overview extraction"],
612
+ requires: ["LLM access", "codebase index"],
613
+ inputExample: "Generate a README for the payment-service package",
614
+ outputExample: 'Generated README.md with sections: Overview, Installation, Quick Start, API Reference, Configuration, Contributing.',
615
+ isDestructive: false,
616
+ isReadOnly: false,
617
+ llmCostEstimate: "medium",
618
+ triggers: ["readme", "README", "project docs", "getting started", "setup guide", "document project", "overview doc"],
619
+ workflow: "Introspect the package structure, dependencies, and entry points, then generate a comprehensive README with badges, installation steps, usage examples, and API overview.",
620
+ },
621
+ {
622
+ toolName: "doc_gen_api",
623
+ domain: "docs",
624
+ intents: ["generate API documentation", "create endpoint reference", "document REST API", "build SDK docs"],
625
+ capabilities: ["JSDoc/TSDoc extraction", "OpenAPI generation", "endpoint documentation", "parameter/response typing"],
626
+ requires: ["AST parser", "LLM access", "API schema"],
627
+ inputExample: "Generate API documentation for the /api/v2/users endpoints",
628
+ outputExample: '{ documentedEndpoints: 8, generatedFiles: ["docs/api/users.md", "openapi/users.yaml"], coverage: 1.0 }',
629
+ isDestructive: false,
630
+ isReadOnly: false,
631
+ llmCostEstimate: "medium",
632
+ triggers: ["API docs", "document API", "endpoint docs", "OpenAPI", "Swagger", "route docs", "REST docs"],
633
+ workflow: "Parse route handlers and type definitions to extract endpoint signatures, parameters, request/response schemas, and generate formatted API documentation or OpenAPI specs.",
634
+ },
635
+ {
636
+ toolName: "doc_gen_adr",
637
+ domain: "docs",
638
+ intents: ["generate ADR", "write architecture decision record", "document design decision", "create decision log"],
639
+ capabilities: ["ADR template generation", "context gathering", "trade-off analysis", "decision traceability"],
640
+ requires: ["LLM access", "codebase index"],
641
+ inputExample: "Generate an ADR for the decision to use PostgreSQL over MongoDB",
642
+ outputExample: '{ adrFile: "docs/adr/012-postgresql-choice.md", sections: ["Status: accepted", "Context", "Decision", "Consequences", "Alternatives considered"] }',
643
+ isDestructive: false,
644
+ isReadOnly: false,
645
+ llmCostEstimate: "medium",
646
+ triggers: ["ADR", "architecture decision", "design decision", "decision record", "why did we", "tech choice doc", "decision log"],
647
+ workflow: "Gather context about the decision from code and existing docs, apply the ADR template, and generate a structured record with context, decision rationale, trade-offs, and consequences.",
648
+ },
649
+ {
650
+ toolName: "doc_gen_diagrams",
651
+ domain: "docs",
652
+ intents: ["generate architecture diagrams", "create sequence diagrams", "draw component diagrams", "visualize system design"],
653
+ capabilities: ["Mermaid generation", "PlantUML generation", "architecture diagram extraction", "sequence diagram from code flow"],
654
+ requires: ["LLM access", "knowledge graph"],
655
+ inputExample: "Generate an architecture diagram for the microservices setup",
656
+ outputExample: '{ diagrams: [{ type: "C4 Container", mermaidCode: "graph TD\\n Gateway --> Auth\\n Gateway --> Orders", outputFile: "docs/diagrams/architecture.md" }] }',
657
+ isDestructive: false,
658
+ isReadOnly: false,
659
+ llmCostEstimate: "medium",
660
+ triggers: ["diagram", "architecture diagram", "sequence diagram", "C4", "Mermaid", "UML", "visualize architecture"],
661
+ workflow: "Analyze the system's architecture from code structure and configs, generate appropriate diagram types (C4, sequence, class), and output as Mermaid or PlantUML markdown.",
662
+ },
663
+ {
664
+ toolName: "doc_check_links",
665
+ domain: "docs",
666
+ intents: ["check documentation links", "find broken links", "validate internal references", "verify external URLs"],
667
+ capabilities: ["link extraction", "dead link detection", "relative path resolution", "external URL validation"],
668
+ requires: ["file system access", "HTTP client"],
669
+ inputExample: "Check all documentation for broken links",
670
+ outputExample: '{ totalLinks: 234, broken: 7, redirected: 3, results: [{ file: "docs/guide.md:42", link: "./old-setup.md", issue: "File not found" }] }',
671
+ isDestructive: false,
672
+ isReadOnly: true,
673
+ llmCostEstimate: "low",
674
+ triggers: ["broken links", "check links", "dead links", "validate links", "link check", "documentation links", "verify URLs"],
675
+ workflow: "Parse all markdown files for hyperlinks, resolve relative paths to check existence, HEAD-request external URLs, and report all broken or redirected links.",
676
+ },
677
+ {
678
+ toolName: "doc_check_coverage",
679
+ domain: "docs",
680
+ intents: ["check documentation coverage", "find undocumented code", "assess doc completeness", "audit JSDoc presence"],
681
+ capabilities: ["JSDoc coverage analysis", "undocumented export detection", "coverage scoring", "prioritized doc queue"],
682
+ requires: ["AST parser", "codebase index"],
683
+ inputExample: "Check which exported functions are missing documentation",
684
+ outputExample: '{ overallCoverage: 0.64, undocumentedExports: 143, priorityList: [{ symbol: "processPayment", file: "src/billing/processor.ts:42", impact: "critical" }] }',
685
+ isDestructive: false,
686
+ isReadOnly: true,
687
+ llmCostEstimate: "none",
688
+ triggers: ["doc coverage", "undocumented", "JSDoc coverage", "missing docs", "documentation gap", "docs needed"],
689
+ workflow: "Enumerate all exported symbols, check for JSDoc/TSDoc presence, compute coverage ratios per module, and prioritize undocumented public APIs by usage frequency.",
690
+ },
691
+ {
692
+ toolName: "api_client",
693
+ domain: "docs",
694
+ intents: ["generate API client", "create SDK", "build typed HTTP client", "generate fetch wrappers"],
695
+ capabilities: ["client code generation", "type-safe request/response", "error handling boilerplate", "multi-language output"],
696
+ requires: ["API schema", "LLM access"],
697
+ inputExample: "Generate a TypeScript API client for the REST API",
698
+ outputExample: '{ generatedFiles: ["src/api-client/index.ts", "src/api-client/users.ts", "src/api-client/orders.ts"], languages: ["typescript"], totalEndpoints: 24 }',
699
+ isDestructive: false,
700
+ isReadOnly: false,
701
+ llmCostEstimate: "medium",
702
+ triggers: ["API client", "generate client", "SDK", "typed client", "HTTP client", "fetch wrapper", "API wrapper"],
703
+ workflow: "Parse the API schema (OpenAPI or route definitions), generate type-safe request functions with proper error handling, and output as a consumable client library.",
704
+ },
705
+ {
706
+ toolName: "db_diagram",
707
+ domain: "database",
708
+ intents: ["generate database diagram", "visualize schema", "create ERD", "show table relationships"],
709
+ capabilities: ["ERD generation", "schema introspection", "relationship mapping", "Mermaid/PlantUML output"],
710
+ requires: ["database connection", "schema access"],
711
+ inputExample: "Generate an ERD diagram from the current database schema",
712
+ outputExample: '{ mermaidCode: "erDiagram\\n USER ||--o{ ORDER : places\\n ORDER ||--|{ ORDER_ITEM : contains", tables: 12, relationships: 18 }',
713
+ isDestructive: false,
714
+ isReadOnly: true,
715
+ llmCostEstimate: "none",
716
+ triggers: ["ERD", "database diagram", "schema diagram", "table relationships", "DB diagram", "visualize schema", "entity relationship"],
717
+ workflow: "Introspect the database schema to discover tables, columns, and foreign keys, then generate an entity-relationship diagram in Mermaid or PlantUML format.",
718
+ },
719
+ {
720
+ toolName: "db_migration",
721
+ domain: "database",
722
+ intents: ["generate database migration", "create schema change script", "write migration file", "produce up/down migration"],
723
+ capabilities: ["migration generation", "schema diffing", "up/down script generation", "rollback support"],
724
+ requires: ["database connection", "LLM access"],
725
+ inputExample: "Generate a migration to add an email_verified column to the users table",
726
+ outputExample: '{ migrationFile: "migrations/20260501_add_email_verified.ts", up: "ALTER TABLE users ADD COLUMN email_verified BOOLEAN DEFAULT FALSE", down: "ALTER TABLE users DROP COLUMN email_verified" }',
727
+ isDestructive: false,
728
+ isReadOnly: false,
729
+ llmCostEstimate: "low",
730
+ triggers: ["migration", "schema change", "alter table", "add column", "DB migration", "up/down", "database change"],
731
+ workflow: "Compare the desired schema against the current state, generate a reversible migration script with up and down logic, and validate against common migration pitfalls.",
732
+ },
733
+ {
734
+ toolName: "db_index_suggest",
735
+ domain: "database",
736
+ intents: ["suggest database indexes", "recommend index improvements", "analyze query performance", "find missing indexes"],
737
+ capabilities: ["query analysis", "index recommendation", "covering index detection", "performance impact estimation"],
738
+ requires: ["database connection", "query logs"],
739
+ inputExample: "Analyze slow queries and suggest missing indexes",
740
+ outputExample: '{ suggestions: [{ table: "orders", columns: ["user_id", "created_at"], type: "btree", estimatedImprovement: "12x faster", slowQuery: "SELECT * FROM orders WHERE user_id = ? ORDER BY created_at" }] }',
741
+ isDestructive: false,
742
+ isReadOnly: true,
743
+ llmCostEstimate: "low",
744
+ triggers: ["index", "slow query", "query performance", "missing index", "DB optimization", "index suggestion", "database tuning"],
745
+ workflow: "Analyze slow query logs, identify table scans and missing indexes, and generate index creation suggestions with estimated performance improvements.",
746
+ },
747
+ {
748
+ toolName: "ci_workflow",
749
+ domain: "devops",
750
+ intents: ["generate CI workflow", "create GitHub Actions", "setup CI pipeline", "configure automated builds"],
751
+ capabilities: ["CI template generation", "platform-adaptive workflows", "matrix build generation", "caching strategies"],
752
+ requires: ["project configuration"],
753
+ inputExample: "Set up a CI workflow for this TypeScript monorepo",
754
+ outputExample: '{ generatedFiles: [".github/workflows/ci.yml"], jobs: ["lint", "typecheck", "test", "build"], platforms: ["ubuntu-latest"] }',
755
+ isDestructive: false,
756
+ isReadOnly: false,
757
+ llmCostEstimate: "low",
758
+ triggers: ["CI", "GitHub Actions", "pipeline", "workflow", "automated build", "CI/CD setup", "GitLab CI"],
759
+ workflow: "Detect project type, test framework, and deployment targets, then generate a tailored CI workflow with appropriate jobs, caching strategies, and matrix builds.",
760
+ },
761
+ {
762
+ toolName: "ci_diagnose",
763
+ domain: "devops",
764
+ intents: ["diagnose CI failures", "debug pipeline errors", "analyze build failures", "troubleshoot CI issues"],
765
+ capabilities: ["CI log analysis", "failure pattern recognition", "root cause identification", "fix recommendation"],
766
+ requires: ["CI log access", "LLM access"],
767
+ inputExample: "Diagnose why the test job is failing in CI",
768
+ outputExample: '{ rootCause: "Node version mismatch: CI uses 18.x but project needs 20.x for String.replaceAll polyfill", fix: "Update .nvmrc and CI matrix to use node 20.x" }',
769
+ isDestructive: false,
770
+ isReadOnly: true,
771
+ llmCostEstimate: "medium",
772
+ triggers: ["CI failure", "pipeline broken", "build fail", "CI error", "workflow failed", "GitHub Actions error", "deploy failed"],
773
+ workflow: "Parse CI logs to extract error messages and stack traces, correlate with known failure patterns, and produce a root cause diagnosis with a concrete fix recommendation.",
774
+ },
775
+ {
776
+ toolName: "docker_optimize",
777
+ domain: "devops",
778
+ intents: ["optimize Dockerfile", "reduce image size", "improve build caching", "harden container"],
779
+ capabilities: ["layer optimization", "multi-stage build suggestion", "cache analysis", "security hardening"],
780
+ requires: ["LLM access"],
781
+ inputExample: "Optimize the Dockerfile for the API service to reduce image size",
782
+ outputExample: '{ changes: [{ file: "Dockerfile", suggestion: "Use multi-stage build to exclude devDependencies", estimatedSizeReduction: "340MB -> 95MB" }], totalReduction: "72%" }',
783
+ isDestructive: false,
784
+ isReadOnly: false,
785
+ llmCostEstimate: "medium",
786
+ triggers: ["Docker", "container", "Dockerfile", "image size", "optimize container", "docker build", "layer caching"],
787
+ workflow: "Analyze the Dockerfile for optimization opportunities, reorder layers for better caching, suggest multi-stage builds, and identify unnecessary dependencies to trim image size.",
788
+ },
789
+ {
790
+ toolName: "env_generate",
791
+ domain: "devops",
792
+ intents: ["generate .env file", "create environment template", "build env.example", "document required variables"],
793
+ capabilities: ["env variable discovery", "template generation", "default value suggestion", "secret detection"],
794
+ requires: ["codebase index"],
795
+ inputExample: "Generate an .env.example file from the codebase",
796
+ outputExample: '{ generatedFile: ".env.example", variables: [{ key: "DATABASE_URL", defaultValue: "postgresql://localhost:5432/db", source: "src/config/database.ts:12" }], hasSecrets: true }',
797
+ isDestructive: false,
798
+ isReadOnly: false,
799
+ llmCostEstimate: "none",
800
+ triggers: ["env", "environment", ".env", "config template", "environment variables", "env.example", "secrets template"],
801
+ workflow: "Scan the codebase for process.env references and config files, extract all required environment variables with their source locations, and generate a documented .env.example template.",
802
+ },
803
+ {
804
+ toolName: "env_check",
805
+ domain: "devops",
806
+ intents: ["validate environment config", "check env variables", "verify required settings", "audit environment setup"],
807
+ capabilities: ["env diff checking", "missing variable detection", "type validation", "config drift detection"],
808
+ requires: ["file system access"],
809
+ inputExample: "Check if all required environment variables are set",
810
+ outputExample: '{ status: "incomplete", missing: ["SMTP_PASSWORD", "REDIS_URL"], invalid: [{ key: "PORT", value: "not-a-number", expected: "number" }], ok: 14 }',
811
+ isDestructive: false,
812
+ isReadOnly: true,
813
+ llmCostEstimate: "none",
814
+ triggers: ["env check", "validate config", "check environment", "verify .env", "missing env", "config audit"],
815
+ workflow: "Compare the current .env file against the .env.example template, detect missing or differently typed variables, and report configuration drift or incompleteness.",
816
+ },
817
+ {
818
+ toolName: "deploy_check",
819
+ domain: "devops",
820
+ intents: ["run deployment readiness check", "pre-deploy validation", "verify deploy safety", "check production readiness"],
821
+ capabilities: ["pre-deploy checklist", "infrastructure validation", "rollback plan verification", "health check simulation"],
822
+ requires: ["CI/CD integration", "infrastructure access"],
823
+ inputExample: "Run deployment readiness checks before releasing to production",
824
+ outputExample: '{ ready: false, checks: [{ name: "Tests passing", status: "pass" }, { name: "Database backups recent", status: "fail", detail: "Last backup 48h ago" }], blockingIssues: 1 }',
825
+ isDestructive: false,
826
+ isReadOnly: true,
827
+ llmCostEstimate: "low",
828
+ triggers: ["deploy check", "ready to deploy", "pre-deploy", "deployment readiness", "before release", "can I deploy", "go/no-go"],
829
+ workflow: "Execute a series of pre-deployment checks (tests passing, DB backups, migration safety, monitoring configured) and return a go/no-go decision with blocking issues highlighted.",
830
+ },
831
+ {
832
+ toolName: "k8s_manifests",
833
+ domain: "devops",
834
+ intents: ["generate Kubernetes manifests", "create K8s YAML", "write deployment config", "generate Helm charts"],
835
+ capabilities: ["K8s manifest generation", "Helm chart scaffolding", "resource sizing", "health probe configuration"],
836
+ requires: ["LLM access", "project configuration"],
837
+ inputExample: "Generate Kubernetes deployment manifests for the API service",
838
+ outputExample: '{ generatedFiles: ["k8s/deployment.yaml", "k8s/service.yaml", "k8s/configmap.yaml"], resources: { cpu: "500m", memory: "512Mi", replicas: 3 } }',
839
+ isDestructive: false,
840
+ isReadOnly: false,
841
+ llmCostEstimate: "medium",
842
+ triggers: ["Kubernetes", "K8s", "deployment yaml", "Helm chart", "container orchestration", "kubectl", "pod config"],
843
+ workflow: "Generate production-ready Kubernetes manifests including Deployment, Service, ConfigMap, and health probes, with resource sizing based on the application's profile.",
844
+ },
845
+ {
846
+ toolName: "memory_save",
847
+ domain: "memory",
848
+ intents: ["save information to memory", "store context for later", "persist knowledge", "record important fact"],
849
+ capabilities: ["key-value persistence", "semantic indexing", "TTL management", "namespace isolation"],
850
+ requires: ["vector DB", "persistent storage"],
851
+ inputExample: "Remember that the project uses PostgreSQL with Prisma ORM",
852
+ outputExample: '{ saved: true, memoryId: "mem_abc123", namespace: "project-facts", ttl: null }',
853
+ isDestructive: false,
854
+ isReadOnly: false,
855
+ llmCostEstimate: "low",
856
+ triggers: ["remember", "save", "store", "keep", "note this", "don't forget", "memorize", "retain"],
857
+ workflow: "Accept a fact or piece of context, generate an embedding, and persist it to the memory store with optional namespace and TTL for scoped retrieval.",
858
+ },
859
+ {
860
+ toolName: "memory_recall",
861
+ domain: "memory",
862
+ intents: ["recall saved information", "retrieve memory", "search past context", "remember stored facts"],
863
+ capabilities: ["semantic memory retrieval", "namespace-scoped search", "relevance ranking", "temporal filtering"],
864
+ requires: ["vector DB", "persistent storage"],
865
+ inputExample: "What do we know about the authentication system?",
866
+ outputExample: '{ memories: [{ content: "Auth uses JWT with RS256, stored in httpOnly cookies", savedAt: "2026-04-15T08:00:00Z", relevance: 0.93 }], totalMatches: 5 }',
867
+ isDestructive: false,
868
+ isReadOnly: true,
869
+ llmCostEstimate: "low",
870
+ triggers: ["recall", "remember", "retrieve", "what do we know", "past context", "saved info", "look up memory", "recollect"],
871
+ workflow: "Convert the query to an embedding, search the memory store for semantically similar entries within the relevant namespace, and return ranked results.",
872
+ },
873
+ {
874
+ toolName: "memory_lessons",
875
+ domain: "memory",
876
+ intents: ["save lessons learned", "record project insights", "document gotchas", "capture troubleshooting knowledge"],
877
+ capabilities: ["lesson extraction", "issue-to-lesson mapping", "seasonal relevance tagging", "resolution tracking"],
878
+ requires: ["vector DB", "LLM access"],
879
+ inputExample: "Document the lesson learned from the production outage on May 1st",
880
+ outputExample: '{ lessonId: "les_def456", extractedInsights: ["Connection pool exhaustion under load spike"], relatedSystems: ["database", "connection pooling"], severity: "critical" }',
881
+ isDestructive: false,
882
+ isReadOnly: false,
883
+ llmCostEstimate: "medium",
884
+ triggers: ["lesson learned", "gotcha", "troubleshooting knowledge", "post-mortem", "what we learned", "incident insight", "tribal knowledge"],
885
+ workflow: "Accept a description of a lesson learned, use LLM to extract structured insights and affected systems, and store for future recall during similar troubleshooting.",
886
+ },
887
+ {
888
+ toolName: "memory_patterns",
889
+ domain: "memory",
890
+ intents: ["detect recurring patterns in memory", "find repeated issues", "identify common solutions", "analyze memory trends"],
891
+ capabilities: ["temporal pattern detection", "issue clustering", "solution frequency analysis", "trend visualization"],
892
+ requires: ["vector DB", "LLM access"],
893
+ inputExample: "Are there recurring patterns in the bugs we've encountered?",
894
+ outputExample: '{ patterns: [{ description: "Null reference errors in form handlers", frequency: 14, trend: "increasing", suggestedFix: "Add zod validation at form boundaries" }] }',
895
+ isDestructive: false,
896
+ isReadOnly: true,
897
+ llmCostEstimate: "medium",
898
+ triggers: ["patterns", "recurring", "trend", "common issues", "repeated problems", "memory analysis", "frequent bugs"],
899
+ workflow: "Cluster saved memories by semantic similarity, detect temporal trends in issue frequency, and surface recurring patterns with suggested systemic fixes.",
900
+ },
901
+ {
902
+ toolName: "memory_context",
903
+ domain: "memory",
904
+ intents: ["load context from memory", "build situational awareness", "assemble working context", "prep conversation context"],
905
+ capabilities: ["context assembly", "relevance scoring", "pruning strategies", "token budget management"],
906
+ requires: ["vector DB", "LLM access"],
907
+ inputExample: "Load all relevant context about the billing module before working on it",
908
+ outputExample: '{ contextDocuments: [{ type: "lesson", content: "Billing rounding errors fixed in March by using decimal.js" }, { type: "fact", content: "Stripe webhooks need idempotency keys" }], tokenCount: 1200 }',
909
+ isDestructive: false,
910
+ isReadOnly: true,
911
+ llmCostEstimate: "medium",
912
+ triggers: ["context", "what's relevant", "what should I know", "background", "summarize history", "working context", "situational"],
913
+ workflow: "Query memory across all relevant namespaces for the current task, assemble a context packet within token budget, and present situational awareness for the next operation.",
914
+ },
915
+ {
916
+ toolName: "pm_breakdown",
917
+ domain: "planning",
918
+ intents: ["break down task", "decompose feature", "create subtasks", "split work into steps"],
919
+ capabilities: ["task decomposition", "dependency ordering", "effort estimation", "deliverable definition"],
920
+ requires: ["LLM access"],
921
+ inputExample: "Break down the user authentication feature into implementable tasks",
922
+ outputExample: '{ tasks: [{ id: "1", title: "Design DB schema for users", effort: "S", dependsOn: [] }, { id: "2", title: "Implement password hashing", effort: "S", dependsOn: ["1"] }], totalEffort: "M" }',
923
+ isDestructive: false,
924
+ isReadOnly: true,
925
+ llmCostEstimate: "medium",
926
+ triggers: ["break down", "decompose", "split into tasks", "subtasks", "task breakdown", "steps for", "plan this"],
927
+ workflow: "Accept a high-level feature description, decompose it into ordered, dependency-aware subtasks with effort estimates, and output a structured task hierarchy.",
928
+ },
929
+ {
930
+ toolName: "pm_estimate",
931
+ domain: "planning",
932
+ intents: ["estimate task effort", "size work items", "forecast delivery", "calculate story points"],
933
+ capabilities: ["effort estimation", "complexity scoring", "uncertainty quantification", "historical calibration"],
934
+ requires: ["LLM access", "historical data"],
935
+ inputExample: "Estimate the effort for implementing the search indexing pipeline",
936
+ outputExample: '{ estimate: { bestCase: "5 days", worstCase: "12 days", expected: "8 days", confidence: 0.7, assumptions: ["AST parser library stable"] } }',
937
+ isDestructive: false,
938
+ isReadOnly: true,
939
+ llmCostEstimate: "medium",
940
+ triggers: ["estimate", "how long", "effort", "story points", "sizing", "how many days", "forecast", "timeline"],
941
+ workflow: "Analyze the task description against historical completion data, apply estimation heuristics, and produce a three-point estimate with confidence level and explicit assumptions.",
942
+ },
943
+ {
944
+ toolName: "pm_risks",
945
+ domain: "planning",
946
+ intents: ["identify project risks", "assess risk exposure", "create risk register", "plan mitigations"],
947
+ capabilities: ["risk identification", "probability/impact scoring", "mitigation planning", "risk heatmap generation"],
948
+ requires: ["LLM access"],
949
+ inputExample: "Identify risks for the payment integration project",
950
+ outputExample: '{ risks: [{ id: "R1", description: "Third-party API rate limits may block peak traffic", probability: "medium", impact: "high", mitigation: "Implement local queue with retry" }], riskScore: 42 }',
951
+ isDestructive: false,
952
+ isReadOnly: true,
953
+ llmCostEstimate: "medium",
954
+ triggers: ["risks", "risk assessment", "what could go wrong", "risk register", "mitigation", "project risk", "risk analysis"],
955
+ workflow: "Analyze the project scope and constraints, identify potential risks across technical, schedule, and resource dimensions, score probability and impact, and propose mitigations.",
956
+ },
957
+ {
958
+ toolName: "pm_deps",
959
+ domain: "planning",
960
+ intents: ["map task dependencies", "create dependency graph", "find blockers", "analyze task ordering"],
961
+ capabilities: ["dependency mapping", "critical path analysis", "blocker detection", "schedule optimization"],
962
+ requires: ["LLM access"],
963
+ inputExample: "Map the dependencies between all tasks in the onboarding project",
964
+ outputExample: '{ criticalPath: ["T1", "T4", "T7", "T9"], totalDuration: "14 days", blockers: [{ task: "T7", blockedBy: "External API docs not yet published" }], parallelizable: ["T2", "T3"] }',
965
+ isDestructive: false,
966
+ isReadOnly: true,
967
+ llmCostEstimate: "low",
968
+ triggers: ["dependencies", "depends on", "blockers", "critical path", "task order", "what blocks what", "dependency graph"],
969
+ workflow: "Build a directed graph of tasks and their dependencies, compute the critical path and float, and identify external blockers that may delay delivery.",
970
+ },
971
+ {
972
+ toolName: "pm_progress",
973
+ domain: "planning",
974
+ intents: ["track project progress", "generate status report", "measure completion", "update stakeholders"],
975
+ capabilities: ["progress tracking", "burndown chart generation", "status report assembly", "variance analysis"],
976
+ requires: ["task board integration"],
977
+ inputExample: "Generate a progress report for the current sprint",
978
+ outputExample: '{ sprintProgress: 0.72, completed: 18, remaining: 7, atRisk: [{ task: "Payment integration", reason: "Behind schedule by 3 days" }], burndown: "on-track" }',
979
+ isDestructive: false,
980
+ isReadOnly: true,
981
+ llmCostEstimate: "low",
982
+ triggers: ["progress", "status", "how far along", "sprint report", "completion", "update", "where are we"],
983
+ workflow: "Query the task management system for current completion status, compute velocity and burndown metrics, and generate a structured progress report with at-risk items.",
984
+ },
985
+ {
986
+ toolName: "analyze_project",
987
+ domain: "workspace",
988
+ intents: ["analyze project structure", "understand repository layout", "inspect codebase organization", "map project topology"],
989
+ capabilities: ["file tree analysis", "dependency mapping", "framework detection", "project type identification"],
990
+ requires: ["file system access"],
991
+ inputExample: "Analyze the current project structure and identify the tech stack",
992
+ outputExample: '{ type: "TypeScript monorepo", framework: "NestJS + React", packageManager: "pnpm", monorepoTool: "Nx", totalPackages: 15, services: 3, frontends: 2 }',
993
+ isDestructive: false,
994
+ isReadOnly: true,
995
+ llmCostEstimate: "low",
996
+ triggers: ["analyze project", "project structure", "what is this", "repo overview", "tech stack", "layout", "monorepo analysis"],
997
+ workflow: "Scan the repository root and key config files to detect the project type, frameworks, package manager, and organizational structure, returning a concise topology summary.",
998
+ },
999
+ {
1000
+ toolName: "batch_write_files",
1001
+ domain: "workspace",
1002
+ intents: ["write multiple files at once", "batch create files", "scaffold project structure", "create many files simultaneously"],
1003
+ capabilities: ["atomic file writes", "parallel file creation", "directory auto-creation", "validation before write"],
1004
+ requires: ["file system access"],
1005
+ inputExample: "Create the following files: src/index.ts, src/types.ts, src/utils.ts",
1006
+ outputExample: '{ created: 3, failed: 0, files: ["src/index.ts", "src/types.ts", "src/utils.ts"] }',
1007
+ isDestructive: false,
1008
+ isReadOnly: false,
1009
+ llmCostEstimate: "none",
1010
+ triggers: ["create multiple files", "batch write", "scaffold", "write all", "create files", "generate files", "batch create"],
1011
+ workflow: "Accept an array of file paths with contents, validate each before writing, create necessary directories, and write all files in a single operation with rollback on failure.",
1012
+ },
1013
+ {
1014
+ toolName: "browser",
1015
+ domain: "workspace",
1016
+ intents: ["browse web", "open URL", "navigate to page", "web automation"],
1017
+ capabilities: ["page navigation", "DOM interaction", "screenshot capture", "JavaScript evaluation"],
1018
+ requires: ["headless browser", "playwright/puppeteer"],
1019
+ inputExample: "Open https://example.com and take a screenshot",
1020
+ outputExample: '{ url: "https://example.com", title: "Example Domain", screenshotPath: "/tmp/screenshot-20260501.png", statusCode: 200 }',
1021
+ isDestructive: false,
1022
+ isReadOnly: true,
1023
+ llmCostEstimate: "low",
1024
+ triggers: ["browse", "open URL", "go to", "navigate", "web page", "screenshot", "visit"],
1025
+ workflow: "Launch a headless browser instance, navigate to the URL, optionally interact with the page, and return the rendered content or screenshot.",
1026
+ },
1027
+ {
1028
+ toolName: "codebase_research",
1029
+ domain: "workspace",
1030
+ intents: ["research codebase question", "investigate code patterns", "explore implementation details", "deep-dive into code"],
1031
+ capabilities: ["multi-step code exploration", "hypothesis-driven search", "evidence collection", "structured findings report"],
1032
+ requires: ["codebase index", "LLM access"],
1033
+ inputExample: "Research how error handling is implemented across all API routes",
1034
+ outputExample: '{ findings: { approaches: ["global exception filter (73% of routes)", "try-catch per route (22%)", "none (5%)"], inconsistency: "moderate", recommendation: "Standardize on exception filter" } }',
1035
+ isDestructive: false,
1036
+ isReadOnly: true,
1037
+ llmCostEstimate: "high",
1038
+ triggers: ["research", "investigate", "deep dive", "explore codebase", "how is X done", "codebase research", "study"],
1039
+ workflow: "Formulate a research plan from the question, execute multi-step searches across the codebase, collect evidence, and synthesize findings into a structured report.",
1040
+ },
1041
+ {
1042
+ toolName: "docker",
1043
+ domain: "workspace",
1044
+ intents: ["run docker commands", "manage containers", "build images", "orchestrate compose services"],
1045
+ capabilities: ["container lifecycle", "image building", "compose orchestration", "log streaming"],
1046
+ requires: ["Docker daemon"],
1047
+ inputExample: "Build and start the development containers",
1048
+ outputExample: '{ command: "docker compose up -d", status: "success", containers: [{ name: "api-dev", status: "running", port: 3000 }] }',
1049
+ isDestructive: false,
1050
+ isReadOnly: false,
1051
+ llmCostEstimate: "none",
1052
+ triggers: ["docker", "container", "compose", "docker build", "docker run", "containerize"],
1053
+ workflow: "Execute the specified Docker or Docker Compose command, monitor container startup, and return status with port mappings and log tails.",
1054
+ },
1055
+ {
1056
+ toolName: "edit_file",
1057
+ domain: "workspace",
1058
+ intents: ["edit source file", "modify code", "update file content", "apply code change"],
1059
+ capabilities: ["safe file editing", "diff-based modifications", "syntax validation", "undo support"],
1060
+ requires: ["file system access"],
1061
+ inputExample: "Edit src/auth/login.ts to add rate limiting",
1062
+ outputExample: '{ filePath: "src/auth/login.ts", changed: true, diff: "+ if (attempts > 5) throw new RateLimitError()", backupCreated: true }',
1063
+ isDestructive: true,
1064
+ isReadOnly: false,
1065
+ llmCostEstimate: "none",
1066
+ triggers: ["edit", "modify", "change", "update file", "patch", "fix code", "implement"],
1067
+ workflow: "Apply the specified edit to the target file using diff-based patching, validate syntax post-edit, create a backup, and return the applied changes.",
1068
+ },
1069
+ {
1070
+ toolName: "find_files",
1071
+ domain: "workspace",
1072
+ intents: ["find files by pattern", "search for filename", "glob search", "locate file by name"],
1073
+ capabilities: ["glob pattern matching", "recursive directory search", "ignore pattern support", "filtered results"],
1074
+ requires: ["file system access"],
1075
+ inputExample: "Find all TypeScript files containing 'service' in the name",
1076
+ outputExample: '{ matches: ["src/services/AuthService.ts", "src/services/UserService.ts", "src/services/PaymentService.ts"], totalCount: 3 }',
1077
+ isDestructive: false,
1078
+ isReadOnly: true,
1079
+ llmCostEstimate: "none",
1080
+ triggers: ["find files", "locate file", "search filename", "glob", "where is file", "file pattern", "which file"],
1081
+ workflow: "Execute a glob pattern match across the project directory tree, respecting .gitignore patterns, and return matching file paths sorted by modification time.",
1082
+ },
1083
+ {
1084
+ toolName: "get_task",
1085
+ domain: "workspace",
1086
+ intents: ["get task details", "view task information", "fetch work item", "load task by ID"],
1087
+ capabilities: ["task retrieval", "full detail expansion", "subtask enumeration", "status history"],
1088
+ requires: ["task management system"],
1089
+ inputExample: "Show details for task TASK-42",
1090
+ outputExample: '{ id: "TASK-42", title: "Implement JWT refresh", status: "in-progress", assignee: "dev-1", subtasks: [...], linkedPRs: ["#231"] }',
1091
+ isDestructive: false,
1092
+ isReadOnly: true,
1093
+ llmCostEstimate: "none",
1094
+ triggers: ["get task", "task details", "show task", "view task", "fetch task", "load task"],
1095
+ workflow: "Query the task management system by task ID, retrieve full details including subtasks, linked code changes, and status history, and return a structured representation.",
1096
+ },
1097
+ {
1098
+ toolName: "git",
1099
+ domain: "workspace",
1100
+ intents: ["run git commands", "manage version control", "commit changes", "view git history"],
1101
+ capabilities: ["branch management", "commit creation", "diff viewing", "merge/conflict handling"],
1102
+ requires: ["git CLI"],
1103
+ inputExample: "Show the git diff for the current branch",
1104
+ outputExample: '{ command: "git diff", output: "diff --git a/src/index.ts b/src/index.ts\\n+console.log(\'...\')", branch: "feat/rate-limit" }',
1105
+ isDestructive: true,
1106
+ isReadOnly: false,
1107
+ llmCostEstimate: "none",
1108
+ triggers: ["git", "commit", "branch", "merge", "diff", "pull", "push", "stash", "log"],
1109
+ workflow: "Execute the specified git command, capture output, handle authentication, and return structured results including branch state and any conflicts detected.",
1110
+ },
1111
+ {
1112
+ toolName: "grep",
1113
+ domain: "workspace",
1114
+ intents: ["search file contents", "find text patterns", "regex search code", "locate string in files"],
1115
+ capabilities: ["regex pattern matching", "multi-file search", "context line output", "file type filtering"],
1116
+ requires: ["file system access"],
1117
+ inputExample: "Search for all uses of 'useState' in .tsx files",
1118
+ outputExample: '{ pattern: "useState", matches: [{ file: "src/components/App.tsx", line: 12, content: "const [count, setCount] = useState(0)" }], totalMatches: 47 }',
1119
+ isDestructive: false,
1120
+ isReadOnly: true,
1121
+ llmCostEstimate: "none",
1122
+ triggers: ["grep", "search for", "find in files", "regex", "text search", "pattern match", "search content"],
1123
+ workflow: "Execute a regex search across the specified file set, return matching lines with surrounding context, file paths, and line numbers.",
1124
+ },
1125
+ {
1126
+ toolName: "http_request",
1127
+ domain: "workspace",
1128
+ intents: ["make HTTP request", "call API endpoint", "test REST endpoint", "fetch URL"],
1129
+ capabilities: ["full HTTP method support", "header customization", "body serialization", "response parsing"],
1130
+ requires: ["outbound network access"],
1131
+ inputExample: "POST to https://api.example.com/users with JSON body",
1132
+ outputExample: '{ status: 201, headers: { "content-type": "application/json" }, body: { id: "user_123", created: true } }',
1133
+ isDestructive: false,
1134
+ isReadOnly: false,
1135
+ llmCostEstimate: "none",
1136
+ triggers: ["HTTP", "fetch", "API call", "curl", "request", "POST", "GET endpoint", "call API"],
1137
+ workflow: "Execute the specified HTTP request with configurable method, headers, and body, capture and parse the response, and return status, headers, and body.",
1138
+ },
1139
+ {
1140
+ toolName: "knowledge",
1141
+ domain: "workspace",
1142
+ intents: ["query knowledge base", "search documentation", "retrieve reference info", "look up concept"],
1143
+ capabilities: ["RAG retrieval", "document chunk search", "source attribution", "concept linking"],
1144
+ requires: ["vector DB", "documentation index"],
1145
+ inputExample: "How do I configure the rate limiter in this project?",
1146
+ outputExample: '{ answer: "Set RATE_LIMIT_MAX and RATE_LIMIT_WINDOW_MS env vars. See src/config/rate-limiter.ts.", sources: ["docs/configuration.md", "src/config/rate-limiter.ts:12"] }',
1147
+ isDestructive: false,
1148
+ isReadOnly: true,
1149
+ llmCostEstimate: "medium",
1150
+ triggers: ["knowledge", "documentation", "how to", "reference", "look up", "wiki", "docs search"],
1151
+ workflow: "Perform RAG retrieval against the project's knowledge base, return the most relevant document chunks with source attribution and a synthesized answer.",
1152
+ },
1153
+ {
1154
+ toolName: "list_dir",
1155
+ domain: "workspace",
1156
+ intents: ["list directory contents", "view folder structure", "browse file system", "inspect directory"],
1157
+ capabilities: ["directory enumeration", "file metadata display", "recursive listing", "filtering and sorting"],
1158
+ requires: ["file system access"],
1159
+ inputExample: "List the contents of the src/components directory",
1160
+ outputExample: '{ path: "src/components", entries: [{ name: "Header.tsx", type: "file", size: 2048 }, { name: "icons/", type: "directory" }], totalCount: 14 }',
1161
+ isDestructive: false,
1162
+ isReadOnly: true,
1163
+ llmCostEstimate: "none",
1164
+ triggers: ["list", "ls", "directory", "folder contents", "show dir", "browse", "what's in"],
1165
+ workflow: "Enumerate the contents of the specified directory, returning each entry's name, type, size, and modification time, with optional recursive depth.",
1166
+ },
1167
+ {
1168
+ toolName: "list_tasks",
1169
+ domain: "workspace",
1170
+ intents: ["list project tasks", "view task board", "show work items", "enumerate open tasks"],
1171
+ capabilities: ["task board querying", "filtering by status/assignee", "priority sorting", "pagination"],
1172
+ requires: ["task management system"],
1173
+ inputExample: "List all open tasks assigned to me in the current sprint",
1174
+ outputExample: '{ tasks: [{ id: "TASK-42", title: "Implement JWT refresh", priority: "high" }, { id: "TASK-43", title: "Update API docs", priority: "low" }], totalCount: 2 }',
1175
+ isDestructive: false,
1176
+ isReadOnly: true,
1177
+ llmCostEstimate: "none",
1178
+ triggers: ["list tasks", "show tasks", "my tasks", "task board", "open tasks", "sprint tasks", "what's assigned"],
1179
+ workflow: "Query the task management system with optional filters (status, assignee, sprint), sort by priority or due date, and return a paginated list of matching work items.",
1180
+ },
1181
+ {
1182
+ toolName: "multi_file_patch",
1183
+ domain: "workspace",
1184
+ intents: ["apply patch across multiple files", "batch code modifications", "multi-file edit", "bulk apply changes"],
1185
+ capabilities: ["unified diff parsing", "multi-file patch application", "conflict detection", "atomic rollback"],
1186
+ requires: ["file system access"],
1187
+ inputExample: "Apply this patch that updates types across 5 files",
1188
+ outputExample: '{ applied: 5, failed: 0, filesModified: ["src/types/user.ts", "src/services/user.ts", "src/controllers/user.ts"], snapshotCreated: true }',
1189
+ isDestructive: true,
1190
+ isReadOnly: false,
1191
+ llmCostEstimate: "none",
1192
+ triggers: ["multi-file patch", "batch edit", "apply patch", "bulk change", "patch multiple", "across files"],
1193
+ workflow: "Parse a unified diff containing changes to multiple files, validate each hunk against current file state, apply changes atomically, and roll back on any conflict.",
1194
+ },
1195
+ {
1196
+ toolName: "patch_file",
1197
+ domain: "workspace",
1198
+ intents: ["apply patch to file", "patch single file", "apply diff hunk", "surgically edit file"],
1199
+ capabilities: ["unified diff application", "hunk matching", "offset adjustment", "rejection reporting"],
1200
+ requires: ["file system access"],
1201
+ inputExample: "Apply this diff to src/utils/helpers.ts",
1202
+ outputExample: '{ filePath: "src/utils/helpers.ts", hunksApplied: 2, hunksFailed: 0, changes: "+12 lines, -3 lines" }',
1203
+ isDestructive: true,
1204
+ isReadOnly: false,
1205
+ llmCostEstimate: "none",
1206
+ triggers: ["patch", "apply diff", "apply hunk", "patch file", "surgical edit"],
1207
+ workflow: "Parse a unified diff, locate matching hunks in the target file with fuzzy offset adjustment, apply the changes, and report which hunks were applied or rejected.",
1208
+ },
1209
+ {
1210
+ toolName: "pipeline_run",
1211
+ domain: "workspace",
1212
+ intents: ["run CI pipeline", "trigger workflow", "execute build pipeline", "start automated job"],
1213
+ capabilities: ["pipeline triggering", "parameter pass-through", "status polling", "log streaming"],
1214
+ requires: ["CI/CD integration"],
1215
+ inputExample: "Run the deploy pipeline for staging environment",
1216
+ outputExample: '{ pipelineId: "run-4829", status: "started", url: "https://ci.example.com/runs/4829", estimatedDuration: "8m" }',
1217
+ isDestructive: false,
1218
+ isReadOnly: false,
1219
+ llmCostEstimate: "none",
1220
+ triggers: ["run pipeline", "trigger CI", "execute workflow", "start build", "run deploy", "trigger job"],
1221
+ workflow: "Trigger the specified CI/CD pipeline with optional parameters, return a run identifier and tracking URL, and optionally poll for completion status.",
1222
+ },
1223
+ {
1224
+ toolName: "plan",
1225
+ domain: "workspace",
1226
+ intents: ["create execution plan", "devise strategy", "plan approach", "outline solution steps"],
1227
+ capabilities: ["task sequencing", "risk-aware planning", "resource estimation", "milestone definition"],
1228
+ requires: ["LLM access"],
1229
+ inputExample: "Create a plan for migrating the database from MySQL to PostgreSQL",
1230
+ outputExample: '{ phases: [{ name: "Schema migration", steps: 4, duration: "2 days" }, { name: "Data transfer", steps: 3, duration: "1 day" }], totalDuration: "5 days", risks: 3 }',
1231
+ isDestructive: false,
1232
+ isReadOnly: true,
1233
+ llmCostEstimate: "medium",
1234
+ triggers: ["plan", "strategy", "approach", "how should I", "steps to", "roadmap", "execution plan"],
1235
+ workflow: "Analyze the objective, decompose it into sequential phases with clear milestones, identify risks and dependencies, and output a structured execution plan.",
1236
+ },
1237
+ {
1238
+ toolName: "process_manager",
1239
+ domain: "workspace",
1240
+ intents: ["manage running processes", "spawn background tasks", "monitor subprocesses", "kill/restart processes"],
1241
+ capabilities: ["process spawning", "stdout/stderr streaming", "signal handling", "process lifecycle management"],
1242
+ requires: ["OS process management"],
1243
+ inputExample: "Start the development server in the background and stream logs",
1244
+ outputExample: '{ pid: 28491, command: "npm run dev", status: "running", port: 3000, logStreamId: "stream_abc" }',
1245
+ isDestructive: false,
1246
+ isReadOnly: false,
1247
+ llmCostEstimate: "none",
1248
+ triggers: ["spawn", "background process", "run in background", "start server", "process manager", "daemon"],
1249
+ workflow: "Spawn a subprocess with the specified command, capture stdout and stderr streams, and provide lifecycle management (status check, signal, terminate).",
1250
+ },
1251
+ {
1252
+ toolName: "project_context",
1253
+ domain: "workspace",
1254
+ intents: ["load project context", "get situational awareness", "gather project metadata", "assemble working context"],
1255
+ capabilities: ["context aggregation", "conversation history parsing", "relevant file detection", "token budget management"],
1256
+ requires: ["codebase index", "conversation history"],
1257
+ inputExample: "Load full project context before starting work",
1258
+ outputExample: '{ projectType: "NestJS monorepo", recentFiles: ["src/auth/login.ts"], activeBranch: "feat/rate-limit", relevantDocs: ["ARCHITECTURE.md"] }',
1259
+ isDestructive: false,
1260
+ isReadOnly: true,
1261
+ llmCostEstimate: "medium",
1262
+ triggers: ["context", "project context", "what's going on", "current state", "situational awareness", "catch me up"],
1263
+ workflow: "Aggregate project metadata, recent file changes, active conversation context, and relevant documentation into a focused context packet for the next operation.",
1264
+ },
1265
+ {
1266
+ toolName: "project_scanner",
1267
+ domain: "workspace",
1268
+ intents: ["scan project", "inspect repository", "audit project files", "crawl codebase structure"],
1269
+ capabilities: ["recursive file scanning", "tech stack detection", "config file parsing", "anomaly detection"],
1270
+ requires: ["file system access"],
1271
+ inputExample: "Scan the project and report its structure and configuration",
1272
+ outputExample: '{ packageJson: true, tsconfig: true, eslintConfig: "eslint.config.mjs", framework: "NestJS", linterConfigured: true, formatter: "prettier" }',
1273
+ isDestructive: false,
1274
+ isReadOnly: true,
1275
+ llmCostEstimate: "none",
1276
+ triggers: ["scan project", "inspect repo", "project scan", "audit files", "what's configured", "detect stack"],
1277
+ workflow: "Recursively walk the project tree, parse key configuration files, detect frameworks and tools, and return a comprehensive project configuration summary.",
1278
+ },
1279
+ {
1280
+ toolName: "read_file",
1281
+ domain: "workspace",
1282
+ intents: ["read file contents", "view source code", "open file", "inspect file"],
1283
+ capabilities: ["file reading", "encoding detection", "offset/limit reading", "large file handling"],
1284
+ requires: ["file system access"],
1285
+ inputExample: "Read the contents of src/auth/login.ts",
1286
+ outputExample: '{ filePath: "src/auth/login.ts", lines: 142, content: "import { ... }\\n\\nexport async function login(...", encoding: "utf-8" }',
1287
+ isDestructive: false,
1288
+ isReadOnly: true,
1289
+ llmCostEstimate: "none",
1290
+ triggers: ["read", "open", "view", "show file", "cat", "inspect", "look at"],
1291
+ workflow: "Read the specified file with potential offset and line limit, detect encoding, and return the file contents with metadata.",
1292
+ },
1293
+ {
1294
+ toolName: "run_tsc",
1295
+ domain: "workspace",
1296
+ intents: ["run TypeScript compiler", "check types", "type-check project", "validate TypeScript code"],
1297
+ capabilities: ["type checking", "error reporting", "project reference resolution", "incremental compilation"],
1298
+ requires: ["TypeScript compiler", "tsconfig.json"],
1299
+ inputExample: "Run type checking on the entire project",
1300
+ outputExample: '{ success: false, errors: [{ file: "src/utils.ts:42", message: "Type \'string\' is not assignable to type \'number\'" }], totalErrors: 3, durationMs: 4200 }',
1301
+ isDestructive: false,
1302
+ isReadOnly: true,
1303
+ llmCostEstimate: "none",
1304
+ triggers: ["typecheck", "tsc", "TypeScript check", "run tsc", "type errors", "check types", "compile check"],
1305
+ workflow: "Execute the TypeScript compiler in noEmit mode, capture type errors, and return a structured error report with file locations and messages.",
1306
+ },
1307
+ {
1308
+ toolName: "safe_edit_policy",
1309
+ domain: "workspace",
1310
+ intents: ["enforce safe editing rules", "validate edit constraints", "check edit preconditions", "apply editing guardrails"],
1311
+ capabilities: ["edit policy enforcement", "pre-edit validation", "post-edit verification", "destructive operation guarding"],
1312
+ requires: ["workspace configuration"],
1313
+ inputExample: "Check if this edit is allowed by the project's safety policy",
1314
+ outputExample: '{ allowed: true, warnings: ["Editing a file with 23 dependents, changes may cascade"], requiresConfirmation: false }',
1315
+ isDestructive: false,
1316
+ isReadOnly: true,
1317
+ llmCostEstimate: "none",
1318
+ triggers: ["safe edit", "edit policy", "is this safe", "guardrails", "edit validation", "safety check"],
1319
+ workflow: "Evaluate the proposed edit against configured safety policies (destructive operations, critical files, dependent count), and return allow/deny with warnings.",
1320
+ },
1321
+ {
1322
+ toolName: "search_codebase",
1323
+ domain: "workspace",
1324
+ intents: ["search codebase contents", "find code by keyword", "locate implementation", "text search in source"],
1325
+ capabilities: ["full-text search", "regex matching", "file type filtering", "result ranking"],
1326
+ requires: ["codebase index", "file system access"],
1327
+ inputExample: "Search for all error handling patterns in the codebase",
1328
+ outputExample: '{ query: "catch \\(.*error\\)", matches: [{ file: "src/api/handler.ts:234", snippet: "catch (error) { logger.error(error)" }], totalMatches: 156 }',
1329
+ isDestructive: false,
1330
+ isReadOnly: true,
1331
+ llmCostEstimate: "low",
1332
+ triggers: ["search codebase", "find in project", "look for", "search all files", "where in code", "find implementation"],
1333
+ workflow: "Execute a full-text or regex search across the indexed codebase, rank results by relevance, and return matching snippets with file paths and line numbers.",
1334
+ },
1335
+ {
1336
+ toolName: "store",
1337
+ domain: "workspace",
1338
+ intents: ["persist data", "save to storage", "store key-value pair", "cache data"],
1339
+ capabilities: ["key-value storage", "TTL support", "serialization", "namespace partitioning"],
1340
+ requires: ["persistent storage backend"],
1341
+ inputExample: "Store the API response cache for the users endpoint",
1342
+ outputExample: '{ stored: true, key: "cache:api:users:list", namespace: "http-cache", ttl: 300 }',
1343
+ isDestructive: false,
1344
+ isReadOnly: false,
1345
+ llmCostEstimate: "none",
1346
+ triggers: ["store", "save", "cache", "persist", "put", "set key", "write cache"],
1347
+ workflow: "Serialize and persist a value under the given key in the specified namespace, with optional TTL for automatic expiration.",
1348
+ },
1349
+ {
1350
+ toolName: "terminal_run",
1351
+ domain: "workspace",
1352
+ intents: ["execute terminal command", "run shell script", "invoke CLI tool", "execute system command"],
1353
+ capabilities: ["command execution", "stdout/stderr capture", "timeout enforcement", "shell interpretation"],
1354
+ requires: ["shell access"],
1355
+ inputExample: "Run npm install in the project root",
1356
+ outputExample: '{ exitCode: 0, stdout: "added 247 packages in 12s", stderr: "", durationMs: 12500 }',
1357
+ isDestructive: true,
1358
+ isReadOnly: false,
1359
+ llmCostEstimate: "none",
1360
+ triggers: ["run", "execute", "terminal", "shell", "command", "bash", "cli", "npm", "yarn", "pnpm"],
1361
+ workflow: "Execute the specified command in a shell, capture stdout and stderr, enforce a timeout, and return exit code with output streams.",
1362
+ },
1363
+ {
1364
+ toolName: "vision_browser",
1365
+ domain: "workspace",
1366
+ intents: ["browse with visual analysis", "take and analyze screenshots", "visually inspect page", "OCR from screenshots"],
1367
+ capabilities: ["page rendering", "screenshot capture", "vision model analysis", "element detection from image"],
1368
+ requires: ["headless browser", "vision LLM"],
1369
+ inputExample: "Visit the login page and describe what you see visually",
1370
+ outputExample: '{ url: "https://app.example.com/login", visualDescription: "Page has a centered card with email and password fields, a blue \'Sign In\' button, and a \'Forgot password?\' link", elementsDetected: 8 }',
1371
+ isDestructive: false,
1372
+ isReadOnly: true,
1373
+ llmCostEstimate: "high",
1374
+ triggers: ["vision", "screenshot analyze", "visual inspect", "see page", "look at UI", "OCR", "image analysis"],
1375
+ workflow: "Navigate to the URL with a headless browser, capture a screenshot, analyze it with a vision-capable LLM, and return a natural language description of the visual content.",
1376
+ },
1377
+ {
1378
+ toolName: "write_file",
1379
+ domain: "workspace",
1380
+ intents: ["write new file", "create file", "save content to file", "generate new source file"],
1381
+ capabilities: ["file creation", "directory auto-creation", "encoding specification", "overwrite protection"],
1382
+ requires: ["file system access"],
1383
+ inputExample: "Create src/services/NotificationService.ts with the provided content",
1384
+ outputExample: '{ filePath: "src/services/NotificationService.ts", written: true, size: 2048, backupCreated: false }',
1385
+ isDestructive: false,
1386
+ isReadOnly: false,
1387
+ llmCostEstimate: "none",
1388
+ triggers: ["write", "create", "new file", "generate file", "save as", "scaffold file"],
1389
+ workflow: "Create a new file at the specified path (with auto-created directories), write the content with proper encoding, and return confirmation with file metadata.",
1390
+ },
1391
+ {
1392
+ toolName: "subagent_conversation",
1393
+ domain: "subagent",
1394
+ intents: ["delegate conversation to subagent", "offload complex discussion", "run parallel agent conversation", "spawn conversational assistant"],
1395
+ capabilities: ["subagent spawning", "context isolation", "parallel execution", "result aggregation"],
1396
+ requires: ["LLM access", "agent runtime", "tool registry"],
1397
+ inputExample: "Have a subagent discuss the database schema changes with me",
1398
+ outputExample: '{ subagentId: "sub_abc123", status: "running", contextSummary: "Discussing migration strategy for users table" }',
1399
+ isDestructive: false,
1400
+ isReadOnly: false,
1401
+ llmCostEstimate: "high",
1402
+ triggers: ["subagent", "delegate", "offload", "parallel agent", "spawn agent", "conversation agent", "assistant agent"],
1403
+ workflow: "Spawn a subagent with an isolated context window, provide the task description, and manage its conversation loop until completion or handoff.",
1404
+ },
1405
+ {
1406
+ toolName: "subagent_job",
1407
+ domain: "subagent",
1408
+ intents: ["delegate background job to subagent", "offload long-running task", "run async agent task", "spawn job worker"],
1409
+ capabilities: ["background job execution", "progress reporting", "result persistence", "timeout management"],
1410
+ requires: ["LLM access", "agent runtime", "job queue"],
1411
+ inputExample: "Have a subagent run the database migration in the background",
1412
+ outputExample: '{ jobId: "job_def456", status: "queued", estimatedCompletion: "2026-05-01T14:30:00Z", pollingUrl: "/jobs/def456/status" }',
1413
+ isDestructive: true,
1414
+ isReadOnly: false,
1415
+ llmCostEstimate: "high",
1416
+ triggers: ["background job", "async task", "subagent job", "offload task", "run in background", "job worker", "delegate task"],
1417
+ workflow: "Enqueue a background job for a subagent, provide the task specification and tool access, and return a job ID for polling status and retrieving results.",
1418
+ },
1419
+ {
1420
+ toolName: "tool_name",
1421
+ domain: "infra",
1422
+ intents: ["resolve tool by name", "get tool metadata", "discover tool attributes", "introspect tool capabilities"],
1423
+ capabilities: ["tool registration lookup", "schema retrieval", "capability matching", "tool discovery"],
1424
+ requires: ["tool registry"],
1425
+ inputExample: "Get metadata for the codebase_search tool",
1426
+ outputExample: '{ toolName: "codebase_search", domain: "codebase", intents: ["search codebase semantically", ...], isReadOnly: true }',
1427
+ isDestructive: false,
1428
+ isReadOnly: true,
1429
+ llmCostEstimate: "none",
1430
+ triggers: ["tool info", "tool metadata", "what does tool do", "tool schema", "tool capability", "describe tool"],
1431
+ workflow: "Look up the tool in the registry by name, return its full capability metadata including domain, intents, requirements, and input/output schemas.",
1432
+ },
1433
+ {
1434
+ toolName: "conversation_history",
1435
+ domain: "infra",
1436
+ intents: ["retrieve conversation history", "summarize past messages", "recall previous context", "search message log"],
1437
+ capabilities: ["message retrieval", "semantic search over history", "summarization", "temporal filtering"],
1438
+ requires: ["conversation store"],
1439
+ inputExample: "Summarize the last 50 messages about the authentication feature",
1440
+ outputExample: '{ summary: "Discussed JWT implementation, decided on RS256, created migration, resolved cookie domain issue", messageCount: 50, timespan: "last 2 hours" }',
1441
+ isDestructive: false,
1442
+ isReadOnly: true,
1443
+ llmCostEstimate: "low",
1444
+ triggers: ["history", "conversation history", "past messages", "what did we discuss", "recap", "previous context", "message log"],
1445
+ workflow: "Query the conversation store for matching messages, optionally summarize using an LLM, and return the filtered or summarized conversation segment.",
1446
+ },
1447
+ {
1448
+ toolName: "pii_guard",
1449
+ domain: "infra",
1450
+ intents: ["detect PII in content", "redact sensitive data", "scan for secrets", "prevent data leakage"],
1451
+ capabilities: ["PII pattern recognition", "secret detection", "automatic redaction", "compliance policy enforcement"],
1452
+ requires: ["PII detection rules", "secret scanning patterns"],
1453
+ inputExample: "Scan this conversation output for PII before sending to the client",
1454
+ outputExample: '{ piiDetected: true, findings: [{ type: "email", location: "output.text:42", action: "redacted" }, { type: "credit_card", location: "output.text:78", action: "blocked" }], safe: false }',
1455
+ isDestructive: false,
1456
+ isReadOnly: true,
1457
+ llmCostEstimate: "low",
1458
+ triggers: ["PII", "personal data", "secrets", "redact", "sensitive", "GDPR", "data leakage", "sanitize"],
1459
+ workflow: "Scan the content against PII and secret detection patterns, redact or flag findings based on configured policies, and return a safety assessment.",
1460
+ },
1461
+ ];
1462
+ //# sourceMappingURL=tool-capabilities.data.js.map