agent-enderun 1.1.9 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (863) hide show
  1. package/README.md +36 -20
  2. package/bin/cli.js +7 -0
  3. package/bin/enderun-dashboard.js +16 -857
  4. package/bin/validate-agent-army.js +12 -12
  5. package/dist/framework-mcp/src/index.js +14 -2
  6. package/dist/framework-mcp/src/index.js.map +1 -1
  7. package/dist/framework-mcp/src/tools/file_system/batch_surgical_edit.js +2 -1
  8. package/dist/framework-mcp/src/tools/file_system/batch_surgical_edit.js.map +1 -1
  9. package/dist/framework-mcp/src/tools/file_system/replace_text.js +2 -1
  10. package/dist/framework-mcp/src/tools/file_system/replace_text.js.map +1 -1
  11. package/dist/framework-mcp/src/tools/file_system/write_file.js +3 -3
  12. package/dist/framework-mcp/src/tools/file_system/write_file.js.map +1 -1
  13. package/dist/framework-mcp/src/utils/fs.d.ts +16 -0
  14. package/dist/framework-mcp/src/utils/fs.js +45 -0
  15. package/dist/framework-mcp/src/utils/fs.js.map +1 -0
  16. package/dist/framework-mcp/src/utils/metrics.js.map +1 -1
  17. package/dist/src/cli/adapters/core.d.ts +12 -0
  18. package/dist/src/cli/adapters/core.js +44 -0
  19. package/dist/src/cli/adapters/core.js.map +1 -0
  20. package/dist/src/cli/adapters/index.d.ts +4 -0
  21. package/dist/src/cli/adapters/index.js +5 -0
  22. package/dist/src/cli/adapters/index.js.map +1 -0
  23. package/dist/src/cli/adapters/scaffold.d.ts +2 -0
  24. package/dist/src/cli/adapters/scaffold.js +65 -0
  25. package/dist/src/cli/adapters/scaffold.js.map +1 -0
  26. package/dist/src/cli/adapters/utils.d.ts +4 -0
  27. package/dist/src/cli/adapters/utils.js +77 -0
  28. package/dist/src/cli/adapters/utils.js.map +1 -0
  29. package/dist/src/cli/commands/app.js +20 -5
  30. package/dist/src/cli/commands/app.js.map +1 -1
  31. package/dist/src/cli/commands/approve.d.ts +1 -1
  32. package/dist/src/cli/commands/approve.js +7 -7
  33. package/dist/src/cli/commands/approve.js.map +1 -1
  34. package/dist/src/cli/commands/check.d.ts +1 -1
  35. package/dist/src/cli/commands/check.js +42 -63
  36. package/dist/src/cli/commands/check.js.map +1 -1
  37. package/dist/src/cli/commands/compliance.d.ts +1 -1
  38. package/dist/src/cli/commands/compliance.js +1 -1
  39. package/dist/src/cli/commands/compliance.js.map +1 -1
  40. package/dist/src/cli/commands/contract.d.ts +2 -2
  41. package/dist/src/cli/commands/contract.js +8 -14
  42. package/dist/src/cli/commands/contract.js.map +1 -1
  43. package/dist/src/cli/commands/dashboard/data-service.d.ts +33 -0
  44. package/dist/src/cli/commands/dashboard/data-service.js +120 -0
  45. package/dist/src/cli/commands/dashboard/data-service.js.map +1 -0
  46. package/dist/src/cli/commands/dashboard/html-template.d.ts +4 -0
  47. package/dist/src/cli/commands/dashboard/html-template.js +697 -0
  48. package/dist/src/cli/commands/dashboard/html-template.js.map +1 -0
  49. package/dist/src/cli/commands/dashboard/server.d.ts +2 -0
  50. package/dist/src/cli/commands/dashboard/server.js +38 -0
  51. package/dist/src/cli/commands/dashboard/server.js.map +1 -0
  52. package/dist/src/cli/commands/dashboard.d.ts +4 -0
  53. package/dist/src/cli/commands/dashboard.js +10 -0
  54. package/dist/src/cli/commands/dashboard.js.map +1 -0
  55. package/dist/src/cli/commands/explorer.d.ts +2 -2
  56. package/dist/src/cli/commands/explorer.js +2 -2
  57. package/dist/src/cli/commands/explorer.js.map +1 -1
  58. package/dist/src/cli/commands/git.d.ts +2 -2
  59. package/dist/src/cli/commands/git.js +2 -2
  60. package/dist/src/cli/commands/git.js.map +1 -1
  61. package/dist/src/cli/commands/init/scaffold-core.d.ts +4 -0
  62. package/dist/src/cli/commands/init/scaffold-core.js +65 -0
  63. package/dist/src/cli/commands/init/scaffold-core.js.map +1 -0
  64. package/dist/src/cli/commands/init/scaffold-ops.d.ts +1 -0
  65. package/dist/src/cli/commands/init/scaffold-ops.js +83 -0
  66. package/dist/src/cli/commands/init/scaffold-ops.js.map +1 -0
  67. package/dist/src/cli/commands/init/scaffold-standards.d.ts +2 -0
  68. package/dist/src/cli/commands/init/scaffold-standards.js +58 -0
  69. package/dist/src/cli/commands/init/scaffold-standards.js.map +1 -0
  70. package/dist/src/cli/commands/init.js +14 -284
  71. package/dist/src/cli/commands/init.js.map +1 -1
  72. package/dist/src/cli/commands/knowledge.d.ts +2 -2
  73. package/dist/src/cli/commands/knowledge.js +4 -3
  74. package/dist/src/cli/commands/knowledge.js.map +1 -1
  75. package/dist/src/cli/commands/lint.d.ts +1 -1
  76. package/dist/src/cli/commands/lint.js +2 -3
  77. package/dist/src/cli/commands/lint.js.map +1 -1
  78. package/dist/src/cli/commands/log.d.ts +1 -1
  79. package/dist/src/cli/commands/log.js +3 -2
  80. package/dist/src/cli/commands/log.js.map +1 -1
  81. package/dist/src/cli/commands/memory.d.ts +1 -1
  82. package/dist/src/cli/commands/memory.js +1 -1
  83. package/dist/src/cli/commands/memory.js.map +1 -1
  84. package/dist/src/cli/commands/orchestrate.d.ts +9 -9
  85. package/dist/src/cli/commands/orchestrate.js +176 -178
  86. package/dist/src/cli/commands/orchestrate.js.map +1 -1
  87. package/dist/src/cli/commands/plan.d.ts +4 -0
  88. package/dist/src/cli/commands/plan.js +40 -0
  89. package/dist/src/cli/commands/plan.js.map +1 -0
  90. package/dist/src/cli/commands/script.d.ts +1 -1
  91. package/dist/src/cli/commands/script.js +1 -1
  92. package/dist/src/cli/commands/script.js.map +1 -1
  93. package/dist/src/cli/commands/security.d.ts +1 -1
  94. package/dist/src/cli/commands/security.js +1 -1
  95. package/dist/src/cli/commands/security.js.map +1 -1
  96. package/dist/src/cli/commands/status.d.ts +1 -1
  97. package/dist/src/cli/commands/status.js +28 -79
  98. package/dist/src/cli/commands/status.js.map +1 -1
  99. package/dist/src/cli/commands/trace.d.ts +1 -1
  100. package/dist/src/cli/commands/trace.js +19 -32
  101. package/dist/src/cli/commands/trace.js.map +1 -1
  102. package/dist/src/cli/index.js +41 -22
  103. package/dist/src/cli/index.js.map +1 -1
  104. package/dist/src/cli/shims.js +6 -6
  105. package/dist/src/cli/utils/app-backend.js +7 -0
  106. package/dist/src/cli/utils/app-backend.js.map +1 -1
  107. package/dist/src/cli/utils/app-docs.js +23 -5
  108. package/dist/src/cli/utils/app-docs.js.map +1 -1
  109. package/dist/src/cli/utils/app-frontend.js +5 -0
  110. package/dist/src/cli/utils/app-frontend.js.map +1 -1
  111. package/dist/src/cli/utils/app-inferrer.d.ts +1 -0
  112. package/dist/src/cli/utils/app-inferrer.js +12 -1
  113. package/dist/src/cli/utils/app-inferrer.js.map +1 -1
  114. package/dist/src/cli/utils/app-mobile.d.ts +2 -0
  115. package/dist/src/cli/utils/app-mobile.js +106 -0
  116. package/dist/src/cli/utils/app-mobile.js.map +1 -0
  117. package/dist/src/cli/utils/app-types.js +8 -4
  118. package/dist/src/cli/utils/app-types.js.map +1 -1
  119. package/dist/src/cli/utils/app.d.ts +1 -0
  120. package/dist/src/cli/utils/app.js +1 -0
  121. package/dist/src/cli/utils/app.js.map +1 -1
  122. package/dist/src/cli/utils/claude.js +2 -1
  123. package/dist/src/cli/utils/claude.js.map +1 -1
  124. package/dist/src/cli/utils/compliance.d.ts +7 -0
  125. package/dist/src/cli/utils/compliance.js +81 -0
  126. package/dist/src/cli/utils/compliance.js.map +1 -0
  127. package/dist/src/cli/utils/config-schema.d.ts +3 -3
  128. package/dist/src/cli/utils/config-schema.js +3 -3
  129. package/dist/src/cli/utils/config-schema.js.map +1 -1
  130. package/dist/src/cli/utils/fs.d.ts +3 -3
  131. package/dist/src/cli/utils/fs.js +10 -14
  132. package/dist/src/cli/utils/fs.js.map +1 -1
  133. package/dist/src/cli/utils/memory.d.ts +19 -4
  134. package/dist/src/cli/utils/memory.js +181 -146
  135. package/dist/src/cli/utils/memory.js.map +1 -1
  136. package/dist/src/cli/utils/pkg.js +15 -14
  137. package/dist/src/cli/utils/pkg.js.map +1 -1
  138. package/dist/src/cli/utils/schemas.d.ts +49 -0
  139. package/dist/src/cli/utils/schemas.js +20 -0
  140. package/dist/src/cli/utils/schemas.js.map +1 -0
  141. package/dist/src/cli/utils/string.d.ts +1 -0
  142. package/dist/src/cli/utils/string.js +10 -4
  143. package/dist/src/cli/utils/string.js.map +1 -1
  144. package/dist/src/cli/utils/ui.d.ts +1 -1
  145. package/dist/src/cli/utils/ui.js +8 -5
  146. package/dist/src/cli/utils/ui.js.map +1 -1
  147. package/dist/src/contracts/index.d.ts +1 -0
  148. package/dist/src/contracts/index.js +2 -0
  149. package/dist/src/contracts/index.js.map +1 -0
  150. package/dist/src/contracts/tasks.d.ts +44 -0
  151. package/dist/src/contracts/tasks.js +21 -0
  152. package/dist/src/contracts/tasks.js.map +1 -0
  153. package/dist/src/modules/adapters/definitions.d.ts +1 -1
  154. package/dist/src/modules/adapters/shared.js +16 -10
  155. package/dist/src/modules/adapters/shared.js.map +1 -1
  156. package/dist/src/modules/adapters/types.d.ts +2 -2
  157. package/dist/src/modules/agents/definitions.d.ts +14 -12
  158. package/dist/src/modules/agents/definitions.js +281 -153
  159. package/dist/src/modules/agents/definitions.js.map +1 -1
  160. package/dist/src/modules/agents/registry/analyst.d.ts +2 -0
  161. package/dist/src/modules/agents/registry/analyst.js +36 -0
  162. package/dist/src/modules/agents/registry/analyst.js.map +1 -0
  163. package/dist/src/modules/agents/registry/architect.d.ts +2 -0
  164. package/dist/src/modules/agents/registry/architect.js +42 -0
  165. package/dist/src/modules/agents/registry/architect.js.map +1 -0
  166. package/dist/src/modules/agents/registry/backend.d.ts +2 -0
  167. package/dist/src/modules/agents/registry/backend.js +43 -0
  168. package/dist/src/modules/agents/registry/backend.js.map +1 -0
  169. package/dist/src/modules/agents/registry/database.d.ts +2 -0
  170. package/dist/src/modules/agents/registry/database.js +38 -0
  171. package/dist/src/modules/agents/registry/database.js.map +1 -0
  172. package/dist/src/modules/agents/registry/devops.d.ts +2 -0
  173. package/dist/src/modules/agents/registry/devops.js +38 -0
  174. package/dist/src/modules/agents/registry/devops.js.map +1 -0
  175. package/dist/src/modules/agents/registry/explorer.d.ts +2 -0
  176. package/dist/src/modules/agents/registry/explorer.js +36 -0
  177. package/dist/src/modules/agents/registry/explorer.js.map +1 -0
  178. package/dist/src/modules/agents/registry/frontend.d.ts +2 -0
  179. package/dist/src/modules/agents/registry/frontend.js +44 -0
  180. package/dist/src/modules/agents/registry/frontend.js.map +1 -0
  181. package/dist/src/modules/agents/registry/git.d.ts +2 -0
  182. package/dist/src/modules/agents/registry/git.js +35 -0
  183. package/dist/src/modules/agents/registry/git.js.map +1 -0
  184. package/dist/src/modules/agents/registry/manager.d.ts +2 -0
  185. package/dist/src/modules/agents/registry/manager.js +49 -0
  186. package/dist/src/modules/agents/registry/manager.js.map +1 -0
  187. package/dist/src/modules/agents/registry/mobile.d.ts +2 -0
  188. package/dist/src/modules/agents/registry/mobile.js +40 -0
  189. package/dist/src/modules/agents/registry/mobile.js.map +1 -0
  190. package/dist/src/modules/agents/registry/native.d.ts +2 -0
  191. package/dist/src/modules/agents/registry/native.js +36 -0
  192. package/dist/src/modules/agents/registry/native.js.map +1 -0
  193. package/dist/src/modules/agents/registry/quality.d.ts +2 -0
  194. package/dist/src/modules/agents/registry/quality.js +41 -0
  195. package/dist/src/modules/agents/registry/quality.js.map +1 -0
  196. package/dist/src/modules/agents/registry/security.d.ts +2 -0
  197. package/dist/src/modules/agents/registry/security.js +37 -0
  198. package/dist/src/modules/agents/registry/security.js.map +1 -0
  199. package/dist/src/modules/agents/types.d.ts +31 -0
  200. package/dist/src/modules/agents/types.js +2 -0
  201. package/dist/src/modules/agents/types.js.map +1 -0
  202. package/dist/src/modules/skills/definitions.d.ts +1 -1
  203. package/dist/src/modules/skills/definitions.js +1 -1
  204. package/dist/src/shared/errors.d.ts +8 -6
  205. package/dist/src/shared/errors.js +13 -10
  206. package/dist/src/shared/errors.js.map +1 -1
  207. package/dist/src/shared/fs.d.ts +5 -0
  208. package/dist/src/shared/fs.js +24 -1
  209. package/dist/src/shared/fs.js.map +1 -1
  210. package/dist/src/shared/logger.js +3 -6
  211. package/dist/src/shared/logger.js.map +1 -1
  212. package/dist/src/shared/types.d.ts +19 -0
  213. package/dist/src/shared/types.js +13 -0
  214. package/dist/src/shared/types.js.map +1 -0
  215. package/dist/tests/adapter.test.js +1 -1
  216. package/dist/tests/adapter.test.js.map +1 -1
  217. package/dist/tests/agents-definitions.test.js +18 -8
  218. package/dist/tests/agents-definitions.test.js.map +1 -1
  219. package/dist/tests/approve.test.js +24 -58
  220. package/dist/tests/approve.test.js.map +1 -1
  221. package/dist/tests/cli/init/adapter_init.test.js +39 -0
  222. package/dist/tests/cli/init/adapter_init.test.js.map +1 -0
  223. package/dist/tests/integration/agent_flow.test.js +53 -0
  224. package/dist/tests/integration/agent_flow.test.js.map +1 -0
  225. package/dist/tests/memory-utils.test.js +28 -144
  226. package/dist/tests/memory-utils.test.js.map +1 -1
  227. package/dist/tests/modules/adapters/adapters.test.js +30 -0
  228. package/dist/tests/modules/adapters/adapters.test.js.map +1 -0
  229. package/dist/tests/orchestrate.test.js +28 -92
  230. package/dist/tests/orchestrate.test.js.map +1 -1
  231. package/dist/tests/status.test.js +27 -85
  232. package/dist/tests/status.test.js.map +1 -1
  233. package/dist/tests/time.test.js +1 -1
  234. package/dist/tests/trace.test.js +15 -48
  235. package/dist/tests/trace.test.js.map +1 -1
  236. package/package.json +5 -20
  237. package/src/cli/adapters/core.ts +53 -0
  238. package/src/cli/adapters/index.ts +4 -0
  239. package/src/cli/adapters/scaffold.ts +78 -0
  240. package/src/cli/adapters/utils.ts +87 -0
  241. package/src/cli/commands/app.ts +23 -5
  242. package/src/cli/commands/approve.ts +15 -7
  243. package/src/cli/commands/check.ts +45 -64
  244. package/src/cli/commands/compliance.ts +1 -1
  245. package/src/cli/commands/contract.ts +20 -14
  246. package/src/cli/commands/dashboard/data-service.ts +119 -0
  247. package/src/cli/commands/dashboard/html-template.ts +696 -0
  248. package/src/cli/commands/dashboard/server.ts +43 -0
  249. package/src/cli/commands/dashboard.ts +11 -0
  250. package/src/cli/commands/explorer.ts +2 -2
  251. package/src/cli/commands/git.ts +2 -2
  252. package/src/cli/commands/init/scaffold-core.ts +71 -0
  253. package/src/cli/commands/init/scaffold-ops.ts +86 -0
  254. package/src/cli/commands/init/scaffold-standards.ts +59 -0
  255. package/src/cli/commands/init.ts +22 -302
  256. package/src/cli/commands/knowledge.ts +5 -3
  257. package/src/cli/commands/lint.ts +2 -4
  258. package/src/cli/commands/log.ts +4 -2
  259. package/src/cli/commands/memory.ts +1 -1
  260. package/src/cli/commands/orchestrate.ts +186 -177
  261. package/src/cli/commands/plan.ts +47 -0
  262. package/src/cli/commands/script.ts +1 -1
  263. package/src/cli/commands/security.ts +1 -1
  264. package/src/cli/commands/status.ts +27 -75
  265. package/src/cli/commands/trace.ts +19 -34
  266. package/src/cli/index.ts +42 -22
  267. package/src/cli/shims.ts +6 -6
  268. package/src/cli/utils/app-backend.ts +8 -0
  269. package/src/cli/utils/app-docs.ts +23 -5
  270. package/src/cli/utils/app-frontend.ts +6 -0
  271. package/src/cli/utils/app-inferrer.ts +11 -1
  272. package/src/cli/utils/app-mobile.ts +113 -0
  273. package/src/cli/utils/app-types.ts +9 -4
  274. package/src/cli/utils/app.ts +1 -0
  275. package/src/cli/utils/claude.ts +2 -1
  276. package/src/cli/utils/compliance.ts +97 -0
  277. package/src/cli/utils/config-schema.ts +4 -4
  278. package/src/cli/utils/fs.ts +11 -16
  279. package/src/cli/utils/memory.ts +197 -152
  280. package/src/cli/utils/pkg.ts +15 -14
  281. package/src/cli/utils/schemas.ts +22 -0
  282. package/src/cli/utils/string.ts +11 -4
  283. package/src/cli/utils/ui.ts +8 -5
  284. package/src/contracts/index.ts +1 -0
  285. package/src/contracts/tasks.ts +26 -0
  286. package/src/modules/adapters/definitions.ts +1 -1
  287. package/src/modules/adapters/shared.ts +16 -10
  288. package/src/modules/adapters/types.ts +2 -2
  289. package/src/modules/agents/definitions.ts +320 -164
  290. package/src/modules/agents/registry/analyst.ts +40 -0
  291. package/src/modules/agents/registry/architect.ts +46 -0
  292. package/src/modules/agents/registry/backend.ts +47 -0
  293. package/src/modules/agents/registry/database.ts +42 -0
  294. package/src/modules/agents/registry/devops.ts +42 -0
  295. package/src/modules/agents/registry/explorer.ts +40 -0
  296. package/src/modules/agents/registry/frontend.ts +48 -0
  297. package/src/modules/agents/registry/git.ts +39 -0
  298. package/src/modules/agents/registry/manager.ts +53 -0
  299. package/src/modules/agents/registry/mobile.ts +44 -0
  300. package/src/modules/agents/registry/native.ts +40 -0
  301. package/src/modules/agents/registry/quality.ts +45 -0
  302. package/src/modules/agents/registry/security.ts +41 -0
  303. package/src/modules/agents/types.ts +37 -0
  304. package/src/modules/skills/definitions.ts +1 -1
  305. package/src/shared/errors.ts +13 -10
  306. package/src/shared/fs.ts +25 -1
  307. package/src/shared/logger.ts +3 -6
  308. package/src/shared/types.ts +20 -0
  309. package/.github/workflows/ci.yml +0 -40
  310. package/ENDERUN.md +0 -264
  311. package/bin/compile.js +0 -21
  312. package/bin/generate-cursor-rules.js +0 -78
  313. package/bin/hermes-sandbox.js +0 -145
  314. package/bin/run-multi-test.js +0 -77
  315. package/bin/test-init-run.js +0 -147
  316. package/bin/watch-memory.js +0 -54
  317. package/dist/init-adapters/antigravity-cli/.agents/BRAIN_DASHBOARD.md +0 -11
  318. package/dist/init-adapters/antigravity-cli/.agents/STATUS.md +0 -3
  319. package/dist/init-adapters/antigravity-cli/.agents/agents/analyst/agent.json +0 -28
  320. package/dist/init-adapters/antigravity-cli/.agents/agents/architect/agent.json +0 -30
  321. package/dist/init-adapters/antigravity-cli/.agents/agents/backend/agent.json +0 -30
  322. package/dist/init-adapters/antigravity-cli/.agents/agents/database/agent.json +0 -29
  323. package/dist/init-adapters/antigravity-cli/.agents/agents/devops/agent.json +0 -28
  324. package/dist/init-adapters/antigravity-cli/.agents/agents/explorer/agent.json +0 -29
  325. package/dist/init-adapters/antigravity-cli/.agents/agents/frontend/agent.json +0 -29
  326. package/dist/init-adapters/antigravity-cli/.agents/agents/git/agent.json +0 -28
  327. package/dist/init-adapters/antigravity-cli/.agents/agents/manager/agent.json +0 -30
  328. package/dist/init-adapters/antigravity-cli/.agents/agents/mobile/agent.json +0 -29
  329. package/dist/init-adapters/antigravity-cli/.agents/agents/native/agent.json +0 -29
  330. package/dist/init-adapters/antigravity-cli/.agents/agents/quality/agent.json +0 -29
  331. package/dist/init-adapters/antigravity-cli/.agents/agents/security/agent.json +0 -29
  332. package/dist/init-adapters/antigravity-cli/.agents/cli-commands.json +0 -32
  333. package/dist/init-adapters/antigravity-cli/.agents/config.json +0 -12
  334. package/dist/init-adapters/antigravity-cli/.agents/knowledge/agents-manifest.md +0 -79
  335. package/dist/init-adapters/antigravity-cli/.agents/knowledge/approval-flows.md +0 -61
  336. package/dist/init-adapters/antigravity-cli/.agents/knowledge/component-patterns.md +0 -91
  337. package/dist/init-adapters/antigravity-cli/.agents/knowledge/data-fetching-patterns.md +0 -13
  338. package/dist/init-adapters/antigravity-cli/.agents/knowledge/design-system.md +0 -31
  339. package/dist/init-adapters/antigravity-cli/.agents/knowledge/enterprise-architecture.md +0 -69
  340. package/dist/init-adapters/antigravity-cli/.agents/knowledge/error-handling.md +0 -74
  341. package/dist/init-adapters/antigravity-cli/.agents/knowledge/eslint-standards.md +0 -10
  342. package/dist/init-adapters/antigravity-cli/.agents/knowledge/logging.md +0 -7
  343. package/dist/init-adapters/antigravity-cli/.agents/knowledge/tech-stack.md +0 -9
  344. package/dist/init-adapters/antigravity-cli/.agents/mcp_config.json +0 -13
  345. package/dist/init-adapters/antigravity-cli/.agents/memory/DECISIONS.md +0 -10
  346. package/dist/init-adapters/antigravity-cli/.agents/memory/PROJECT_MEMORY.md +0 -8
  347. package/dist/init-adapters/antigravity-cli/.agents/observability/audit_log.md +0 -5
  348. package/dist/init-adapters/antigravity-cli/.agents/observability/telemetry.md +0 -6
  349. package/dist/init-adapters/antigravity-cli/.agents/registry/agent_registry.md +0 -18
  350. package/dist/init-adapters/antigravity-cli/.agents/router/routing_rules.md +0 -8
  351. package/dist/init-adapters/antigravity-cli/.agents/rules/analyst.md +0 -16
  352. package/dist/init-adapters/antigravity-cli/.agents/rules/architect.md +0 -16
  353. package/dist/init-adapters/antigravity-cli/.agents/rules/backend.md +0 -16
  354. package/dist/init-adapters/antigravity-cli/.agents/rules/database.md +0 -16
  355. package/dist/init-adapters/antigravity-cli/.agents/rules/devops.md +0 -16
  356. package/dist/init-adapters/antigravity-cli/.agents/rules/explorer.md +0 -16
  357. package/dist/init-adapters/antigravity-cli/.agents/rules/frontend.md +0 -16
  358. package/dist/init-adapters/antigravity-cli/.agents/rules/git.md +0 -16
  359. package/dist/init-adapters/antigravity-cli/.agents/rules/manager.md +0 -16
  360. package/dist/init-adapters/antigravity-cli/.agents/rules/mobile.md +0 -16
  361. package/dist/init-adapters/antigravity-cli/.agents/rules/native.md +0 -16
  362. package/dist/init-adapters/antigravity-cli/.agents/rules/quality.md +0 -16
  363. package/dist/init-adapters/antigravity-cli/.agents/rules/security.md +0 -16
  364. package/dist/init-adapters/antigravity-cli/.agents/skills/discovery.md +0 -3
  365. package/dist/init-adapters/antigravity-cli/.agents/skills/editing.md +0 -3
  366. package/dist/init-adapters/antigravity-cli/.agents/skills/execution.md +0 -4
  367. package/dist/init-adapters/antigravity-cli/.agents/skills/file_system.md +0 -4
  368. package/dist/init-adapters/antigravity-cli/.agents/skills/orchestration.md +0 -3
  369. package/dist/init-adapters/antigravity-cli/AGENTS.md +0 -8
  370. package/dist/init-adapters/antigravity-cli/ENDERUN.md +0 -261
  371. package/dist/init-adapters/antigravity-cli/docs/README.md +0 -6
  372. package/dist/init-adapters/antigravity-cli/docs/getting-started.md +0 -4
  373. package/dist/init-adapters/antigravity-cli/mcp.json +0 -13
  374. package/dist/init-adapters/antigravity-cli/package.json +0 -5
  375. package/dist/init-adapters/antigravity-cli/panda.config.ts +0 -2
  376. package/dist/init-adapters/claude/.claude/BRAIN_DASHBOARD.md +0 -11
  377. package/dist/init-adapters/claude/.claude/STATUS.md +0 -3
  378. package/dist/init-adapters/claude/.claude/agents/analyst.md +0 -17
  379. package/dist/init-adapters/claude/.claude/agents/architect.md +0 -17
  380. package/dist/init-adapters/claude/.claude/agents/backend.md +0 -17
  381. package/dist/init-adapters/claude/.claude/agents/database.md +0 -17
  382. package/dist/init-adapters/claude/.claude/agents/devops.md +0 -17
  383. package/dist/init-adapters/claude/.claude/agents/explorer.md +0 -17
  384. package/dist/init-adapters/claude/.claude/agents/frontend.md +0 -17
  385. package/dist/init-adapters/claude/.claude/agents/git.md +0 -17
  386. package/dist/init-adapters/claude/.claude/agents/manager.md +0 -17
  387. package/dist/init-adapters/claude/.claude/agents/mobile.md +0 -17
  388. package/dist/init-adapters/claude/.claude/agents/native.md +0 -17
  389. package/dist/init-adapters/claude/.claude/agents/quality.md +0 -17
  390. package/dist/init-adapters/claude/.claude/agents/security.md +0 -17
  391. package/dist/init-adapters/claude/.claude/cli-commands.json +0 -32
  392. package/dist/init-adapters/claude/.claude/config.json +0 -12
  393. package/dist/init-adapters/claude/.claude/knowledge/agents-manifest.md +0 -79
  394. package/dist/init-adapters/claude/.claude/knowledge/approval-flows.md +0 -61
  395. package/dist/init-adapters/claude/.claude/knowledge/component-patterns.md +0 -91
  396. package/dist/init-adapters/claude/.claude/knowledge/data-fetching-patterns.md +0 -13
  397. package/dist/init-adapters/claude/.claude/knowledge/design-system.md +0 -31
  398. package/dist/init-adapters/claude/.claude/knowledge/enterprise-architecture.md +0 -69
  399. package/dist/init-adapters/claude/.claude/knowledge/error-handling.md +0 -74
  400. package/dist/init-adapters/claude/.claude/knowledge/eslint-standards.md +0 -10
  401. package/dist/init-adapters/claude/.claude/knowledge/logging.md +0 -7
  402. package/dist/init-adapters/claude/.claude/knowledge/tech-stack.md +0 -9
  403. package/dist/init-adapters/claude/.claude/mcp_config.json +0 -13
  404. package/dist/init-adapters/claude/.claude/memory/DECISIONS.md +0 -10
  405. package/dist/init-adapters/claude/.claude/memory/PROJECT_MEMORY.md +0 -8
  406. package/dist/init-adapters/claude/.claude/observability/audit_log.md +0 -5
  407. package/dist/init-adapters/claude/.claude/observability/telemetry.md +0 -6
  408. package/dist/init-adapters/claude/.claude/registry/agent_registry.md +0 -18
  409. package/dist/init-adapters/claude/.claude/router/routing_rules.md +0 -8
  410. package/dist/init-adapters/claude/.claude/rules/analyst.md +0 -16
  411. package/dist/init-adapters/claude/.claude/rules/architect.md +0 -16
  412. package/dist/init-adapters/claude/.claude/rules/backend.md +0 -16
  413. package/dist/init-adapters/claude/.claude/rules/database.md +0 -16
  414. package/dist/init-adapters/claude/.claude/rules/devops.md +0 -16
  415. package/dist/init-adapters/claude/.claude/rules/explorer.md +0 -16
  416. package/dist/init-adapters/claude/.claude/rules/frontend.md +0 -16
  417. package/dist/init-adapters/claude/.claude/rules/git.md +0 -16
  418. package/dist/init-adapters/claude/.claude/rules/manager.md +0 -16
  419. package/dist/init-adapters/claude/.claude/rules/mobile.md +0 -16
  420. package/dist/init-adapters/claude/.claude/rules/native.md +0 -16
  421. package/dist/init-adapters/claude/.claude/rules/quality.md +0 -16
  422. package/dist/init-adapters/claude/.claude/rules/security.md +0 -16
  423. package/dist/init-adapters/claude/.claude/skills/discovery.md +0 -3
  424. package/dist/init-adapters/claude/.claude/skills/editing.md +0 -3
  425. package/dist/init-adapters/claude/.claude/skills/execution.md +0 -4
  426. package/dist/init-adapters/claude/.claude/skills/file_system.md +0 -4
  427. package/dist/init-adapters/claude/.claude/skills/orchestration.md +0 -3
  428. package/dist/init-adapters/claude/.mcp.json +0 -13
  429. package/dist/init-adapters/claude/CLAUDE.md +0 -8
  430. package/dist/init-adapters/claude/ENDERUN.md +0 -261
  431. package/dist/init-adapters/claude/docs/README.md +0 -6
  432. package/dist/init-adapters/claude/docs/getting-started.md +0 -4
  433. package/dist/init-adapters/claude/mcp.json +0 -13
  434. package/dist/init-adapters/claude/package.json +0 -5
  435. package/dist/init-adapters/claude/panda.config.ts +0 -2
  436. package/dist/init-adapters/codex/.github/BRAIN_DASHBOARD.md +0 -11
  437. package/dist/init-adapters/codex/.github/STATUS.md +0 -3
  438. package/dist/init-adapters/codex/.github/agents/analyst.md +0 -17
  439. package/dist/init-adapters/codex/.github/agents/architect.md +0 -17
  440. package/dist/init-adapters/codex/.github/agents/backend.md +0 -17
  441. package/dist/init-adapters/codex/.github/agents/database.md +0 -17
  442. package/dist/init-adapters/codex/.github/agents/devops.md +0 -17
  443. package/dist/init-adapters/codex/.github/agents/explorer.md +0 -17
  444. package/dist/init-adapters/codex/.github/agents/frontend.md +0 -17
  445. package/dist/init-adapters/codex/.github/agents/git.md +0 -17
  446. package/dist/init-adapters/codex/.github/agents/manager.md +0 -17
  447. package/dist/init-adapters/codex/.github/agents/mobile.md +0 -17
  448. package/dist/init-adapters/codex/.github/agents/native.md +0 -17
  449. package/dist/init-adapters/codex/.github/agents/quality.md +0 -17
  450. package/dist/init-adapters/codex/.github/agents/security.md +0 -17
  451. package/dist/init-adapters/codex/.github/cli-commands.json +0 -32
  452. package/dist/init-adapters/codex/.github/config.json +0 -12
  453. package/dist/init-adapters/codex/.github/instructions/agents-manifest.md +0 -79
  454. package/dist/init-adapters/codex/.github/instructions/analyst.md +0 -16
  455. package/dist/init-adapters/codex/.github/instructions/approval-flows.md +0 -61
  456. package/dist/init-adapters/codex/.github/instructions/architect.md +0 -16
  457. package/dist/init-adapters/codex/.github/instructions/backend.md +0 -16
  458. package/dist/init-adapters/codex/.github/instructions/component-patterns.md +0 -91
  459. package/dist/init-adapters/codex/.github/instructions/data-fetching-patterns.md +0 -13
  460. package/dist/init-adapters/codex/.github/instructions/database.md +0 -16
  461. package/dist/init-adapters/codex/.github/instructions/design-system.md +0 -31
  462. package/dist/init-adapters/codex/.github/instructions/devops.md +0 -16
  463. package/dist/init-adapters/codex/.github/instructions/enterprise-architecture.md +0 -69
  464. package/dist/init-adapters/codex/.github/instructions/error-handling.md +0 -74
  465. package/dist/init-adapters/codex/.github/instructions/eslint-standards.md +0 -10
  466. package/dist/init-adapters/codex/.github/instructions/explorer.md +0 -16
  467. package/dist/init-adapters/codex/.github/instructions/frontend.md +0 -16
  468. package/dist/init-adapters/codex/.github/instructions/git.md +0 -16
  469. package/dist/init-adapters/codex/.github/instructions/logging.md +0 -7
  470. package/dist/init-adapters/codex/.github/instructions/manager.md +0 -16
  471. package/dist/init-adapters/codex/.github/instructions/mobile.md +0 -16
  472. package/dist/init-adapters/codex/.github/instructions/native.md +0 -16
  473. package/dist/init-adapters/codex/.github/instructions/quality.md +0 -16
  474. package/dist/init-adapters/codex/.github/instructions/security.md +0 -16
  475. package/dist/init-adapters/codex/.github/instructions/tech-stack.md +0 -9
  476. package/dist/init-adapters/codex/.github/mcp_config.json +0 -13
  477. package/dist/init-adapters/codex/.github/memory/DECISIONS.md +0 -10
  478. package/dist/init-adapters/codex/.github/memory/PROJECT_MEMORY.md +0 -8
  479. package/dist/init-adapters/codex/.github/observability/audit_log.md +0 -5
  480. package/dist/init-adapters/codex/.github/observability/telemetry.md +0 -6
  481. package/dist/init-adapters/codex/.github/registry/agent_registry.md +0 -18
  482. package/dist/init-adapters/codex/.github/router/routing_rules.md +0 -8
  483. package/dist/init-adapters/codex/.github/skills/discovery.md +0 -3
  484. package/dist/init-adapters/codex/.github/skills/editing.md +0 -3
  485. package/dist/init-adapters/codex/.github/skills/execution.md +0 -4
  486. package/dist/init-adapters/codex/.github/skills/file_system.md +0 -4
  487. package/dist/init-adapters/codex/.github/skills/orchestration.md +0 -3
  488. package/dist/init-adapters/codex/.mcp.json +0 -13
  489. package/dist/init-adapters/codex/.vscode/mcp.json +0 -13
  490. package/dist/init-adapters/codex/ENDERUN.md +0 -261
  491. package/dist/init-adapters/codex/copilot-instructions.md +0 -7
  492. package/dist/init-adapters/codex/docs/README.md +0 -6
  493. package/dist/init-adapters/codex/docs/getting-started.md +0 -4
  494. package/dist/init-adapters/codex/mcp.json +0 -13
  495. package/dist/init-adapters/codex/package.json +0 -5
  496. package/dist/init-adapters/codex/panda.config.ts +0 -2
  497. package/dist/init-adapters/cursor/.cursor/BRAIN_DASHBOARD.md +0 -11
  498. package/dist/init-adapters/cursor/.cursor/STATUS.md +0 -3
  499. package/dist/init-adapters/cursor/.cursor/agents/analyst.md +0 -17
  500. package/dist/init-adapters/cursor/.cursor/agents/architect.md +0 -17
  501. package/dist/init-adapters/cursor/.cursor/agents/backend.md +0 -17
  502. package/dist/init-adapters/cursor/.cursor/agents/database.md +0 -17
  503. package/dist/init-adapters/cursor/.cursor/agents/devops.md +0 -17
  504. package/dist/init-adapters/cursor/.cursor/agents/explorer.md +0 -17
  505. package/dist/init-adapters/cursor/.cursor/agents/frontend.md +0 -17
  506. package/dist/init-adapters/cursor/.cursor/agents/git.md +0 -17
  507. package/dist/init-adapters/cursor/.cursor/agents/manager.md +0 -17
  508. package/dist/init-adapters/cursor/.cursor/agents/mobile.md +0 -17
  509. package/dist/init-adapters/cursor/.cursor/agents/native.md +0 -17
  510. package/dist/init-adapters/cursor/.cursor/agents/quality.md +0 -17
  511. package/dist/init-adapters/cursor/.cursor/agents/security.md +0 -17
  512. package/dist/init-adapters/cursor/.cursor/cli-commands.json +0 -32
  513. package/dist/init-adapters/cursor/.cursor/config.json +0 -12
  514. package/dist/init-adapters/cursor/.cursor/knowledge/agents-manifest.md +0 -79
  515. package/dist/init-adapters/cursor/.cursor/knowledge/approval-flows.md +0 -61
  516. package/dist/init-adapters/cursor/.cursor/knowledge/component-patterns.md +0 -91
  517. package/dist/init-adapters/cursor/.cursor/knowledge/data-fetching-patterns.md +0 -13
  518. package/dist/init-adapters/cursor/.cursor/knowledge/design-system.md +0 -31
  519. package/dist/init-adapters/cursor/.cursor/knowledge/enterprise-architecture.md +0 -69
  520. package/dist/init-adapters/cursor/.cursor/knowledge/error-handling.md +0 -74
  521. package/dist/init-adapters/cursor/.cursor/knowledge/eslint-standards.md +0 -10
  522. package/dist/init-adapters/cursor/.cursor/knowledge/logging.md +0 -7
  523. package/dist/init-adapters/cursor/.cursor/knowledge/tech-stack.md +0 -9
  524. package/dist/init-adapters/cursor/.cursor/mcp.json +0 -13
  525. package/dist/init-adapters/cursor/.cursor/memory/DECISIONS.md +0 -10
  526. package/dist/init-adapters/cursor/.cursor/memory/PROJECT_MEMORY.md +0 -8
  527. package/dist/init-adapters/cursor/.cursor/observability/audit_log.md +0 -5
  528. package/dist/init-adapters/cursor/.cursor/observability/telemetry.md +0 -6
  529. package/dist/init-adapters/cursor/.cursor/registry/agent_registry.md +0 -18
  530. package/dist/init-adapters/cursor/.cursor/router/routing_rules.md +0 -8
  531. package/dist/init-adapters/cursor/.cursor/rules/analyst.mdc +0 -22
  532. package/dist/init-adapters/cursor/.cursor/rules/architect.mdc +0 -22
  533. package/dist/init-adapters/cursor/.cursor/rules/backend.mdc +0 -22
  534. package/dist/init-adapters/cursor/.cursor/rules/database.mdc +0 -22
  535. package/dist/init-adapters/cursor/.cursor/rules/devops.mdc +0 -22
  536. package/dist/init-adapters/cursor/.cursor/rules/explorer.mdc +0 -22
  537. package/dist/init-adapters/cursor/.cursor/rules/frontend.mdc +0 -22
  538. package/dist/init-adapters/cursor/.cursor/rules/git.mdc +0 -22
  539. package/dist/init-adapters/cursor/.cursor/rules/manager.mdc +0 -22
  540. package/dist/init-adapters/cursor/.cursor/rules/mobile.mdc +0 -22
  541. package/dist/init-adapters/cursor/.cursor/rules/native.mdc +0 -22
  542. package/dist/init-adapters/cursor/.cursor/rules/quality.mdc +0 -22
  543. package/dist/init-adapters/cursor/.cursor/rules/security.mdc +0 -22
  544. package/dist/init-adapters/cursor/.cursor/skills/discovery.md +0 -3
  545. package/dist/init-adapters/cursor/.cursor/skills/editing.md +0 -3
  546. package/dist/init-adapters/cursor/.cursor/skills/execution.md +0 -4
  547. package/dist/init-adapters/cursor/.cursor/skills/file_system.md +0 -4
  548. package/dist/init-adapters/cursor/.cursor/skills/orchestration.md +0 -3
  549. package/dist/init-adapters/cursor/CURSOR.md +0 -7
  550. package/dist/init-adapters/cursor/ENDERUN.md +0 -261
  551. package/dist/init-adapters/cursor/docs/README.md +0 -6
  552. package/dist/init-adapters/cursor/docs/getting-started.md +0 -4
  553. package/dist/init-adapters/cursor/mcp.json +0 -13
  554. package/dist/init-adapters/cursor/package.json +0 -5
  555. package/dist/init-adapters/cursor/panda.config.ts +0 -2
  556. package/dist/init-adapters/gemini/.gemini/BRAIN_DASHBOARD.md +0 -11
  557. package/dist/init-adapters/gemini/.gemini/STATUS.md +0 -3
  558. package/dist/init-adapters/gemini/.gemini/agents/analyst.md +0 -17
  559. package/dist/init-adapters/gemini/.gemini/agents/architect.md +0 -17
  560. package/dist/init-adapters/gemini/.gemini/agents/backend.md +0 -17
  561. package/dist/init-adapters/gemini/.gemini/agents/database.md +0 -17
  562. package/dist/init-adapters/gemini/.gemini/agents/devops.md +0 -17
  563. package/dist/init-adapters/gemini/.gemini/agents/explorer.md +0 -17
  564. package/dist/init-adapters/gemini/.gemini/agents/frontend.md +0 -17
  565. package/dist/init-adapters/gemini/.gemini/agents/git.md +0 -17
  566. package/dist/init-adapters/gemini/.gemini/agents/manager.md +0 -17
  567. package/dist/init-adapters/gemini/.gemini/agents/mobile.md +0 -17
  568. package/dist/init-adapters/gemini/.gemini/agents/native.md +0 -17
  569. package/dist/init-adapters/gemini/.gemini/agents/quality.md +0 -17
  570. package/dist/init-adapters/gemini/.gemini/agents/security.md +0 -17
  571. package/dist/init-adapters/gemini/.gemini/cli-commands.json +0 -32
  572. package/dist/init-adapters/gemini/.gemini/config.json +0 -12
  573. package/dist/init-adapters/gemini/.gemini/knowledge/agents-manifest.md +0 -79
  574. package/dist/init-adapters/gemini/.gemini/knowledge/approval-flows.md +0 -61
  575. package/dist/init-adapters/gemini/.gemini/knowledge/component-patterns.md +0 -91
  576. package/dist/init-adapters/gemini/.gemini/knowledge/data-fetching-patterns.md +0 -13
  577. package/dist/init-adapters/gemini/.gemini/knowledge/design-system.md +0 -31
  578. package/dist/init-adapters/gemini/.gemini/knowledge/enterprise-architecture.md +0 -69
  579. package/dist/init-adapters/gemini/.gemini/knowledge/error-handling.md +0 -74
  580. package/dist/init-adapters/gemini/.gemini/knowledge/eslint-standards.md +0 -10
  581. package/dist/init-adapters/gemini/.gemini/knowledge/logging.md +0 -7
  582. package/dist/init-adapters/gemini/.gemini/knowledge/tech-stack.md +0 -9
  583. package/dist/init-adapters/gemini/.gemini/mcp.json +0 -13
  584. package/dist/init-adapters/gemini/.gemini/memory/DECISIONS.md +0 -10
  585. package/dist/init-adapters/gemini/.gemini/memory/PROJECT_MEMORY.md +0 -8
  586. package/dist/init-adapters/gemini/.gemini/observability/audit_log.md +0 -5
  587. package/dist/init-adapters/gemini/.gemini/observability/telemetry.md +0 -6
  588. package/dist/init-adapters/gemini/.gemini/registry/agent_registry.md +0 -18
  589. package/dist/init-adapters/gemini/.gemini/router/routing_rules.md +0 -8
  590. package/dist/init-adapters/gemini/.gemini/rules/analyst.md +0 -16
  591. package/dist/init-adapters/gemini/.gemini/rules/architect.md +0 -16
  592. package/dist/init-adapters/gemini/.gemini/rules/backend.md +0 -16
  593. package/dist/init-adapters/gemini/.gemini/rules/database.md +0 -16
  594. package/dist/init-adapters/gemini/.gemini/rules/devops.md +0 -16
  595. package/dist/init-adapters/gemini/.gemini/rules/explorer.md +0 -16
  596. package/dist/init-adapters/gemini/.gemini/rules/frontend.md +0 -16
  597. package/dist/init-adapters/gemini/.gemini/rules/git.md +0 -16
  598. package/dist/init-adapters/gemini/.gemini/rules/manager.md +0 -16
  599. package/dist/init-adapters/gemini/.gemini/rules/mobile.md +0 -16
  600. package/dist/init-adapters/gemini/.gemini/rules/native.md +0 -16
  601. package/dist/init-adapters/gemini/.gemini/rules/quality.md +0 -16
  602. package/dist/init-adapters/gemini/.gemini/rules/security.md +0 -16
  603. package/dist/init-adapters/gemini/.gemini/skills/discovery.md +0 -3
  604. package/dist/init-adapters/gemini/.gemini/skills/editing.md +0 -3
  605. package/dist/init-adapters/gemini/.gemini/skills/execution.md +0 -4
  606. package/dist/init-adapters/gemini/.gemini/skills/file_system.md +0 -4
  607. package/dist/init-adapters/gemini/.gemini/skills/orchestration.md +0 -3
  608. package/dist/init-adapters/gemini/ENDERUN.md +0 -261
  609. package/dist/init-adapters/gemini/GEMINI.md +0 -8
  610. package/dist/init-adapters/gemini/docs/README.md +0 -6
  611. package/dist/init-adapters/gemini/docs/getting-started.md +0 -4
  612. package/dist/init-adapters/gemini/mcp.json +0 -13
  613. package/dist/init-adapters/gemini/package.json +0 -5
  614. package/dist/init-adapters/gemini/panda.config.ts +0 -2
  615. package/dist/init-adapters/grok/.grok/BRAIN_DASHBOARD.md +0 -11
  616. package/dist/init-adapters/grok/.grok/STATUS.md +0 -3
  617. package/dist/init-adapters/grok/.grok/agents/analyst.md +0 -17
  618. package/dist/init-adapters/grok/.grok/agents/architect.md +0 -17
  619. package/dist/init-adapters/grok/.grok/agents/backend.md +0 -17
  620. package/dist/init-adapters/grok/.grok/agents/database.md +0 -17
  621. package/dist/init-adapters/grok/.grok/agents/devops.md +0 -17
  622. package/dist/init-adapters/grok/.grok/agents/explorer.md +0 -17
  623. package/dist/init-adapters/grok/.grok/agents/frontend.md +0 -17
  624. package/dist/init-adapters/grok/.grok/agents/git.md +0 -17
  625. package/dist/init-adapters/grok/.grok/agents/manager.md +0 -17
  626. package/dist/init-adapters/grok/.grok/agents/mobile.md +0 -17
  627. package/dist/init-adapters/grok/.grok/agents/native.md +0 -17
  628. package/dist/init-adapters/grok/.grok/agents/quality.md +0 -17
  629. package/dist/init-adapters/grok/.grok/agents/security.md +0 -17
  630. package/dist/init-adapters/grok/.grok/cli-commands.json +0 -32
  631. package/dist/init-adapters/grok/.grok/config.json +0 -12
  632. package/dist/init-adapters/grok/.grok/knowledge/agents-manifest.md +0 -79
  633. package/dist/init-adapters/grok/.grok/knowledge/approval-flows.md +0 -61
  634. package/dist/init-adapters/grok/.grok/knowledge/component-patterns.md +0 -91
  635. package/dist/init-adapters/grok/.grok/knowledge/data-fetching-patterns.md +0 -13
  636. package/dist/init-adapters/grok/.grok/knowledge/design-system.md +0 -31
  637. package/dist/init-adapters/grok/.grok/knowledge/enterprise-architecture.md +0 -69
  638. package/dist/init-adapters/grok/.grok/knowledge/error-handling.md +0 -74
  639. package/dist/init-adapters/grok/.grok/knowledge/eslint-standards.md +0 -10
  640. package/dist/init-adapters/grok/.grok/knowledge/logging.md +0 -7
  641. package/dist/init-adapters/grok/.grok/knowledge/tech-stack.md +0 -9
  642. package/dist/init-adapters/grok/.grok/mcp_config.json +0 -13
  643. package/dist/init-adapters/grok/.grok/memory/DECISIONS.md +0 -10
  644. package/dist/init-adapters/grok/.grok/memory/PROJECT_MEMORY.md +0 -8
  645. package/dist/init-adapters/grok/.grok/observability/audit_log.md +0 -5
  646. package/dist/init-adapters/grok/.grok/observability/telemetry.md +0 -6
  647. package/dist/init-adapters/grok/.grok/registry/agent_registry.md +0 -18
  648. package/dist/init-adapters/grok/.grok/router/routing_rules.md +0 -8
  649. package/dist/init-adapters/grok/.grok/rules/analyst.md +0 -16
  650. package/dist/init-adapters/grok/.grok/rules/architect.md +0 -16
  651. package/dist/init-adapters/grok/.grok/rules/backend.md +0 -16
  652. package/dist/init-adapters/grok/.grok/rules/database.md +0 -16
  653. package/dist/init-adapters/grok/.grok/rules/devops.md +0 -16
  654. package/dist/init-adapters/grok/.grok/rules/explorer.md +0 -16
  655. package/dist/init-adapters/grok/.grok/rules/frontend.md +0 -16
  656. package/dist/init-adapters/grok/.grok/rules/git.md +0 -16
  657. package/dist/init-adapters/grok/.grok/rules/manager.md +0 -16
  658. package/dist/init-adapters/grok/.grok/rules/mobile.md +0 -16
  659. package/dist/init-adapters/grok/.grok/rules/native.md +0 -16
  660. package/dist/init-adapters/grok/.grok/rules/quality.md +0 -16
  661. package/dist/init-adapters/grok/.grok/rules/security.md +0 -16
  662. package/dist/init-adapters/grok/.grok/skills/discovery.md +0 -3
  663. package/dist/init-adapters/grok/.grok/skills/editing.md +0 -3
  664. package/dist/init-adapters/grok/.grok/skills/execution.md +0 -4
  665. package/dist/init-adapters/grok/.grok/skills/file_system.md +0 -4
  666. package/dist/init-adapters/grok/.grok/skills/orchestration.md +0 -3
  667. package/dist/init-adapters/grok/ENDERUN.md +0 -261
  668. package/dist/init-adapters/grok/GROK.md +0 -7
  669. package/dist/init-adapters/grok/docs/README.md +0 -6
  670. package/dist/init-adapters/grok/docs/getting-started.md +0 -4
  671. package/dist/init-adapters/grok/mcp.json +0 -13
  672. package/dist/init-adapters/grok/package.json +0 -5
  673. package/dist/init-adapters/grok/panda.config.ts +0 -2
  674. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/mcp.json +0 -13
  675. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/mcp_config.json +0 -13
  676. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/analyst/agent.json +0 -28
  677. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/analyst.json +0 -28
  678. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/architect/agent.json +0 -30
  679. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/architect.json +0 -30
  680. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/backend/agent.json +0 -30
  681. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/backend.json +0 -30
  682. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/database/agent.json +0 -29
  683. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/database.json +0 -29
  684. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/devops/agent.json +0 -28
  685. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/devops.json +0 -28
  686. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/explorer/agent.json +0 -29
  687. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/explorer.json +0 -29
  688. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/frontend/agent.json +0 -29
  689. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/frontend.json +0 -29
  690. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/git/agent.json +0 -28
  691. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/git.json +0 -28
  692. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/manager/agent.json +0 -30
  693. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/manager.json +0 -30
  694. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/mobile/agent.json +0 -29
  695. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/mobile.json +0 -29
  696. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/native/agent.json +0 -29
  697. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/native.json +0 -29
  698. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/quality/agent.json +0 -29
  699. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/quality.json +0 -29
  700. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/security/agent.json +0 -29
  701. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/agents/security.json +0 -29
  702. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/hooks.json +0 -4
  703. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/mcp.json +0 -13
  704. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/mcp_config.json +0 -13
  705. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/plugin.json +0 -5
  706. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/analyst.md +0 -11
  707. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/architect.md +0 -11
  708. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/backend.md +0 -11
  709. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/database.md +0 -11
  710. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/devops.md +0 -11
  711. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/explorer.md +0 -11
  712. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/frontend.md +0 -11
  713. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/git.md +0 -11
  714. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/manager.md +0 -11
  715. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/mobile.md +0 -11
  716. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/native.md +0 -11
  717. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/quality.md +0 -11
  718. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/rules/security.md +0 -11
  719. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/skills/discovery.md +0 -3
  720. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/skills/editing.md +0 -3
  721. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/skills/execution.md +0 -4
  722. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/skills/file_system.md +0 -4
  723. package/dist/init-adapters/mock-home/.gemini/antigravity-cli/plugins/agent-enderun/skills/orchestration.md +0 -3
  724. package/dist/init-adapters/mock-home/Library/Application Support/Claude/claude_desktop_config.json +0 -13
  725. package/dist/src/cli/adapters/types.d.ts +0 -14
  726. package/dist/src/cli/adapters/types.js +0 -2
  727. package/dist/src/cli/adapters/types.js.map +0 -1
  728. package/dist/src/cli/adapters.d.ts +0 -16
  729. package/dist/src/cli/adapters.js +0 -223
  730. package/dist/src/cli/adapters.js.map +0 -1
  731. package/dist/src/modules/adapters/antigravity-cli.d.ts +0 -3
  732. package/dist/src/modules/adapters/antigravity-cli.js +0 -21
  733. package/dist/src/modules/adapters/antigravity-cli.js.map +0 -1
  734. package/dist/src/modules/adapters/claude.d.ts +0 -3
  735. package/dist/src/modules/adapters/claude.js +0 -36
  736. package/dist/src/modules/adapters/claude.js.map +0 -1
  737. package/dist/src/modules/adapters/codex.d.ts +0 -3
  738. package/dist/src/modules/adapters/codex.js +0 -20
  739. package/dist/src/modules/adapters/codex.js.map +0 -1
  740. package/dist/src/modules/adapters/cursor.d.ts +0 -3
  741. package/dist/src/modules/adapters/cursor.js +0 -20
  742. package/dist/src/modules/adapters/cursor.js.map +0 -1
  743. package/dist/src/modules/adapters/gemini.d.ts +0 -3
  744. package/dist/src/modules/adapters/gemini.js +0 -23
  745. package/dist/src/modules/adapters/gemini.js.map +0 -1
  746. package/dist/src/modules/adapters/grok.d.ts +0 -3
  747. package/dist/src/modules/adapters/grok.js +0 -18
  748. package/dist/src/modules/adapters/grok.js.map +0 -1
  749. package/dist/src/shared/config.d.ts +0 -41
  750. package/dist/src/shared/config.js +0 -61
  751. package/dist/src/shared/config.js.map +0 -1
  752. package/dist/src/shared/container.d.ts +0 -25
  753. package/dist/src/shared/container.js +0 -56
  754. package/dist/src/shared/container.js.map +0 -1
  755. package/dist/tests/config.test.js +0 -58
  756. package/dist/tests/config.test.js.map +0 -1
  757. package/dist/tests/container.runner.js +0 -68
  758. package/dist/tests/container.runner.js.map +0 -1
  759. package/dist/tests/container.test.js +0 -73
  760. package/dist/tests/container.test.js.map +0 -1
  761. package/dist/tests/mock-project/apps/web/panda.config.d.ts +0 -4
  762. package/dist/tests/mock-project/apps/web/panda.config.js +0 -3
  763. package/dist/tests/mock-project/apps/web/panda.config.js.map +0 -1
  764. package/dist/tests/shared.test.d.ts +0 -1
  765. package/dist/tests/shared.test.js +0 -80
  766. package/dist/tests/shared.test.js.map +0 -1
  767. package/docs/README.md +0 -44
  768. package/docs/getting-started.md +0 -4
  769. package/docs/user/action-plan-2026.md +0 -9
  770. package/docs/user/corporate-governance.md +0 -25
  771. package/docs/user/getting-started.md +0 -13
  772. package/docs/user/roadmap.md +0 -13
  773. package/eslint.config.js +0 -92
  774. package/framework-mcp/dist/index.js +0 -76
  775. package/framework-mcp/dist/tools/control_plane/locking.js +0 -64
  776. package/framework-mcp/dist/tools/control_plane/registry.js +0 -34
  777. package/framework-mcp/dist/tools/dashboard/start_dashboard.js +0 -29
  778. package/framework-mcp/dist/tools/definitions.js +0 -270
  779. package/framework-mcp/dist/tools/file_system/batch_surgical_edit.js +0 -50
  780. package/framework-mcp/dist/tools/file_system/patch_file.js +0 -21
  781. package/framework-mcp/dist/tools/file_system/read_file.js +0 -34
  782. package/framework-mcp/dist/tools/file_system/replace_text.js +0 -38
  783. package/framework-mcp/dist/tools/file_system/write_file.js +0 -26
  784. package/framework-mcp/dist/tools/framework/audit_deps.js +0 -41
  785. package/framework-mcp/dist/tools/framework/get_status.js +0 -5
  786. package/framework-mcp/dist/tools/framework/orchestrate.js +0 -5
  787. package/framework-mcp/dist/tools/framework/run_tests.js +0 -25
  788. package/framework-mcp/dist/tools/framework/update_contract_hash.js +0 -5
  789. package/framework-mcp/dist/tools/framework/update_memory.js +0 -8
  790. package/framework-mcp/dist/tools/index.js +0 -54
  791. package/framework-mcp/dist/tools/memory/get_insights.js +0 -34
  792. package/framework-mcp/dist/tools/memory/read_memory.js +0 -28
  793. package/framework-mcp/dist/tools/messaging/log_action.js +0 -22
  794. package/framework-mcp/dist/tools/messaging/send_message.js +0 -74
  795. package/framework-mcp/dist/tools/observability/check_ports.js +0 -26
  796. package/framework-mcp/dist/tools/observability/get_health.js +0 -19
  797. package/framework-mcp/dist/tools/search/get_gaps.js +0 -48
  798. package/framework-mcp/dist/tools/search/get_map.js +0 -43
  799. package/framework-mcp/dist/tools/search/grep_search.js +0 -59
  800. package/framework-mcp/dist/tools/search/list_dir.js +0 -28
  801. package/framework-mcp/dist/tools/types.js +0 -1
  802. package/framework-mcp/dist/utils/cli.js +0 -20
  803. package/framework-mcp/dist/utils/compliance.js +0 -29
  804. package/framework-mcp/dist/utils/metrics.js +0 -38
  805. package/framework-mcp/dist/utils/security.js +0 -57
  806. package/framework-mcp/package.json +0 -19
  807. package/framework-mcp/src/declarations.d.ts +0 -17
  808. package/framework-mcp/src/index.ts +0 -95
  809. package/framework-mcp/src/tools/control_plane/locking.ts +0 -77
  810. package/framework-mcp/src/tools/control_plane/registry.ts +0 -44
  811. package/framework-mcp/src/tools/dashboard/start_dashboard.ts +0 -33
  812. package/framework-mcp/src/tools/definitions.ts +0 -272
  813. package/framework-mcp/src/tools/file_system/batch_surgical_edit.ts +0 -70
  814. package/framework-mcp/src/tools/file_system/patch_file.ts +0 -29
  815. package/framework-mcp/src/tools/file_system/read_file.ts +0 -39
  816. package/framework-mcp/src/tools/file_system/replace_text.ts +0 -50
  817. package/framework-mcp/src/tools/file_system/write_file.ts +0 -33
  818. package/framework-mcp/src/tools/framework/audit_deps.ts +0 -49
  819. package/framework-mcp/src/tools/framework/get_status.ts +0 -7
  820. package/framework-mcp/src/tools/framework/orchestrate.ts +0 -7
  821. package/framework-mcp/src/tools/framework/run_tests.ts +0 -28
  822. package/framework-mcp/src/tools/framework/update_contract_hash.ts +0 -7
  823. package/framework-mcp/src/tools/framework/update_memory.ts +0 -10
  824. package/framework-mcp/src/tools/index.ts +0 -60
  825. package/framework-mcp/src/tools/memory/get_insights.ts +0 -41
  826. package/framework-mcp/src/tools/memory/read_memory.ts +0 -31
  827. package/framework-mcp/src/tools/messaging/log_action.ts +0 -28
  828. package/framework-mcp/src/tools/messaging/send_message.ts +0 -76
  829. package/framework-mcp/src/tools/observability/check_ports.ts +0 -30
  830. package/framework-mcp/src/tools/observability/get_health.ts +0 -24
  831. package/framework-mcp/src/tools/search/get_gaps.ts +0 -54
  832. package/framework-mcp/src/tools/search/get_map.ts +0 -48
  833. package/framework-mcp/src/tools/search/grep_search.ts +0 -65
  834. package/framework-mcp/src/tools/search/list_dir.ts +0 -34
  835. package/framework-mcp/src/tools/types.ts +0 -54
  836. package/framework-mcp/src/utils/cli.ts +0 -20
  837. package/framework-mcp/src/utils/compliance.ts +0 -37
  838. package/framework-mcp/src/utils/metrics.ts +0 -53
  839. package/framework-mcp/src/utils/security.ts +0 -64
  840. package/framework-mcp/tests/tools/file_system/file_system_tools.test.ts +0 -206
  841. package/framework-mcp/tests/tools/messaging/send_message.test.ts +0 -136
  842. package/framework-mcp/tsconfig.json +0 -14
  843. package/src/cli/adapters/types.ts +0 -16
  844. package/src/cli/adapters.ts +0 -244
  845. package/src/shared/config.ts +0 -73
  846. package/src/shared/container.ts +0 -67
  847. package/templates/prompts/bug-fix-recipe.md +0 -20
  848. package/templates/prompts/new-feature-recipe.md +0 -19
  849. package/templates/prompts/refactoring-recipe.md +0 -21
  850. package/templates/standards/architecture-standards.md +0 -23
  851. package/templates/standards/crud-governance.md +0 -21
  852. package/templates/standards/frontend-standards.md +0 -38
  853. package/templates/standards/i18n-standards.md +0 -17
  854. package/templates/standards/logging-and-secrets.md +0 -29
  855. package/templates/standards/mobile-standards.md +0 -24
  856. package/templates/standards/quality-standards.md +0 -31
  857. package/templates/standards/security-standards.md +0 -21
  858. package/templates/standards/tailwind-standards.md +0 -20
  859. package/templates/standards/testing-standards.md +0 -31
  860. package/tsconfig.json +0 -24
  861. /package/dist/tests/{config.test.d.ts → cli/init/adapter_init.test.d.ts} +0 -0
  862. /package/dist/tests/{container.runner.d.ts → integration/agent_flow.test.d.ts} +0 -0
  863. /package/dist/tests/{container.test.d.ts → modules/adapters/adapters.test.d.ts} +0 -0
@@ -1,270 +0,0 @@
1
- export const TOOLS = [
2
- {
3
- name: "read_file",
4
- description: "Read the content of a file within the project. Supports optional line range reading to prevent stream overload.",
5
- inputSchema: {
6
- type: "object",
7
- properties: {
8
- path: { type: "string", description: "Path to the file relative to project root" },
9
- startLine: { type: "number", description: "Optional starting line number (1-indexed)" },
10
- endLine: { type: "number", description: "Optional ending line number (inclusive)" },
11
- },
12
- required: ["path"],
13
- },
14
- },
15
- {
16
- name: "list_dir",
17
- description: "List the contents of a directory. Essential for codebase exploration.",
18
- inputSchema: {
19
- type: "object",
20
- properties: {
21
- path: { type: "string", description: "Path to the directory relative to project root (default: '.')" },
22
- },
23
- },
24
- },
25
- {
26
- name: "grep_search",
27
- description: "Perform a recursive regex search across the codebase to find functions, variables, or patterns.",
28
- inputSchema: {
29
- type: "object",
30
- properties: {
31
- pattern: { type: "string", description: "The regex pattern to search for" },
32
- includePattern: { type: "string", description: "Optional: Filter files by extension (e.g., '.ts')" },
33
- excludePattern: { type: "string", description: "Optional: Directory pattern to exclude (default: 'node_modules')" },
34
- },
35
- required: ["pattern"],
36
- },
37
- },
38
- {
39
- name: "write_file",
40
- description: "Write content to a file. Creates directories if missing.",
41
- inputSchema: {
42
- type: "object",
43
- properties: {
44
- path: { type: "string", description: "Path to the file relative to project root" },
45
- content: { type: "string", description: "Complete content of the file" },
46
- },
47
- required: ["path", "content"],
48
- },
49
- },
50
- {
51
- name: "replace_text",
52
- description: "Surgically replace a string in a file with another string.",
53
- inputSchema: {
54
- type: "object",
55
- properties: {
56
- path: { type: "string", description: "Path to the file" },
57
- oldText: { type: "string", description: "The exact text to find" },
58
- newText: { type: "string", description: "The text to replace it with" },
59
- allowMultiple: { type: "boolean", description: "Allow multiple replacements if oldText is not unique." }
60
- },
61
- required: ["path", "oldText", "newText"],
62
- },
63
- },
64
- {
65
- name: "batch_surgical_edit",
66
- description: "Perform multiple surgical text replacements across multiple files in a single batch request. More efficient for cross-cutting changes.",
67
- inputSchema: {
68
- type: "object",
69
- properties: {
70
- edits: {
71
- type: "array",
72
- items: {
73
- type: "object",
74
- properties: {
75
- path: { type: "string", description: "Path to the file" },
76
- oldText: { type: "string", description: "The exact text to find" },
77
- newText: { type: "string", description: "The text to replace it with" },
78
- allowMultiple: { type: "boolean", description: "Allow multiple replacements in this file." }
79
- },
80
- required: ["path", "oldText", "newText"]
81
- }
82
- }
83
- },
84
- required: ["edits"],
85
- },
86
- },
87
- {
88
- name: "patch_file",
89
- description: "Safely update a file by replacing a specific line range with new content.",
90
- inputSchema: {
91
- type: "object",
92
- properties: {
93
- path: { type: "string", description: "Path to the file" },
94
- startLine: { type: "number", description: "Starting line number (1-indexed)" },
95
- endLine: { type: "number", description: "Ending line number (inclusive)" },
96
- newContent: { type: "string", description: "The new lines to insert" },
97
- },
98
- required: ["path", "startLine", "endLine", "newContent"],
99
- },
100
- },
101
- {
102
- name: "get_project_map",
103
- description: "Generate a tree-view map of the project structure to visualize the layout. Useful for onboarding and architectural analysis.",
104
- inputSchema: {
105
- type: "object",
106
- properties: {
107
- maxDepth: { type: "number", description: "Maximum directory depth to scan (default: 3)" },
108
- includeFiles: { type: "boolean", description: "Whether to include files in the map (default: true)" }
109
- }
110
- }
111
- },
112
- {
113
- name: "get_project_gaps",
114
- description: "Scans the codebase for TODOs, FIXMEs, and empty function bodies. Helps identify what is left and where the agent might have skipped logic.",
115
- inputSchema: {
116
- type: "object",
117
- properties: {
118
- path: { type: "string", description: "Path to the source directory (default: 'src')" },
119
- },
120
- },
121
- },
122
- {
123
- name: "audit_dependencies",
124
- description: "Audits package.json for unused, redundant, or duplicate-like packages to ensure a clean dependency tree.",
125
- inputSchema: { type: "object", properties: {} },
126
- },
127
- {
128
- name: "run_tests",
129
- description: "Execute project test suites (Vitest, Playwright, etc.) and capture detailed pass/fail reports for analysis.",
130
- inputSchema: {
131
- type: "object",
132
- properties: {
133
- command: { type: "string", description: "The test command to run (default: 'npm test')" }
134
- }
135
- }
136
- },
137
- {
138
- name: "get_system_health",
139
- description: "Retrieve real-time system metrics like CPU load, RAM usage, and uptime.",
140
- inputSchema: { type: "object", properties: {} }
141
- },
142
- {
143
- name: "check_active_ports",
144
- description: "Identify which network ports are currently active and listening. Helps verify if the dev server or API is running.",
145
- inputSchema: {
146
- type: "object",
147
- properties: {
148
- filter: { type: "string", description: "Optional: Filter results by port number or service name (e.g., ':3000')" }
149
- }
150
- }
151
- },
152
- {
153
- name: "start_dashboard",
154
- description: "Start the Enderun Web Dashboard (Command Center) to visualize real-time agent status, logs, and system metrics in the browser.",
155
- inputSchema: {
156
- type: "object",
157
- properties: {
158
- port: { type: "number", description: "Optional: Port to run the dashboard on (default: 5858)" }
159
- }
160
- }
161
- },
162
- {
163
- name: "get_framework_status",
164
- description: "Get the current project phase, active traces, and agent states.",
165
- inputSchema: { type: "object", properties: {} },
166
- },
167
- {
168
- name: "read_project_memory",
169
- description: "Read the full project central memory (PROJECT_MEMORY.md). Use this at the start of a session to gain context.",
170
- inputSchema: { type: "object", properties: {} },
171
- },
172
- {
173
- name: "get_memory_insights",
174
- description: "Retrieve a summarized version of the project memory (active phase, trace, and last 5 actions) to save tokens.",
175
- inputSchema: { type: "object", properties: {} },
176
- },
177
- {
178
- name: "update_project_memory",
179
- description: "Update a specific section in PROJECT_MEMORY.md.",
180
- inputSchema: {
181
- type: "object",
182
- properties: {
183
- section: { type: "string", description: "Section name (e.g., HISTORY, ACTIVE TASKS)" },
184
- content: { type: "string", description: "Markdown content to append or set" },
185
- },
186
- required: ["section", "content"],
187
- },
188
- },
189
- {
190
- name: "orchestrate_loop",
191
- description: "Process the pending Hermes messages and trigger dynamic state transitions.",
192
- inputSchema: { type: "object", properties: {} },
193
- },
194
- {
195
- name: "send_agent_message",
196
- description: "Send a Hermes protocol message to another agent for collaboration or sub-tasking.",
197
- inputSchema: {
198
- type: "object",
199
- properties: {
200
- from: { type: "string", description: "Sender agent (e.g., @manager, @backend)." },
201
- to: { type: "string", description: "Target agent (e.g., @backend, @quality)." },
202
- category: { type: "string", enum: ["ACTION", "DELEGATION", "SUBTASK", "REPLY", "ALERT"], description: "Message type." },
203
- content: { type: "string", description: "Task description or message content." },
204
- traceId: { type: "string", description: "Active Trace ID." },
205
- parentId: { type: "string", description: "Optional parent task trace ID for hierarchical tracking." },
206
- priority: { type: "string", enum: ["HIGH", "NORMAL", "LOW"], description: "Optional priority level (HIGH, NORMAL, LOW). Defaults to HIGH for ALERT/ACTION." },
207
- },
208
- required: ["from", "to", "category", "content", "traceId"],
209
- },
210
- },
211
- {
212
- name: "acquire_lock",
213
- description: "Acquire a stateful lock on a shared resource (like PROJECT_MEMORY.md) to prevent concurrent write conflicts.",
214
- inputSchema: {
215
- type: "object",
216
- properties: {
217
- resource: { type: "string", description: "The resource name or path to lock (e.g., 'memory')." },
218
- agent: { type: "string", description: "The agent requesting the lock (e.g., '@backend')." },
219
- ttl: { type: "number", description: "Time-to-live in seconds before the lock auto-expires (default: 60)." }
220
- },
221
- required: ["resource", "agent"]
222
- }
223
- },
224
- {
225
- name: "release_lock",
226
- description: "Release a previously acquired lock on a resource.",
227
- inputSchema: {
228
- type: "object",
229
- properties: {
230
- resource: { type: "string", description: "The resource name or path." },
231
- agent: { type: "string", description: "The agent releasing the lock." }
232
- },
233
- required: ["resource", "agent"]
234
- }
235
- },
236
- {
237
- name: "register_agent",
238
- description: "Register an agent instance with the Control Plane and validate its permissions.",
239
- inputSchema: {
240
- type: "object",
241
- properties: {
242
- agent: { type: "string", description: "The agent name (e.g., '@backend')." },
243
- role: { type: "string", description: "The role of the agent." },
244
- capability: { type: "number", description: "The capability score (1-10)." }
245
- },
246
- required: ["agent", "role"]
247
- }
248
- },
249
- {
250
- name: "log_agent_action",
251
- description: "Log an agent action to the framework logs.",
252
- inputSchema: {
253
- type: "object",
254
- properties: {
255
- agent: { type: "string", description: "The agent name (e.g., @manager, @backend)" },
256
- action: { type: "string", description: "Action type or name" },
257
- traceId: { type: "string", description: "The active Trace ID" },
258
- status: { type: "string", enum: ["SUCCESS", "FAILURE"], description: "The status of the action" },
259
- summary: { type: "string", description: "Brief description of the action taken" },
260
- findings: { type: "string", description: "Optional comma-separated findings or details" }
261
- },
262
- required: ["agent", "action", "traceId", "status", "summary"]
263
- }
264
- },
265
- {
266
- name: "update_contract_hash",
267
- description: "Re-generate and synchronize the backend contract SHA-256 hash.",
268
- inputSchema: { type: "object", properties: {} }
269
- }
270
- ];
@@ -1,50 +0,0 @@
1
- import fs from "fs";
2
- import { safePath } from "../../utils/security.js";
3
- import { Metrics } from "../../utils/metrics.js";
4
- import { verifyCorporateCompliance } from "../../utils/compliance.js";
5
- /**
6
- * Performs multiple surgical text replacements across multiple files in a single batch.
7
- */
8
- export function handleBatchSurgicalEdit(projectRoot, args) {
9
- const edits = args.edits;
10
- if (!Array.isArray(edits) || edits.length === 0) {
11
- throw new Error("No edits provided in the batch request.");
12
- }
13
- const results = [];
14
- let totalTokens = 0;
15
- for (const edit of edits) {
16
- const filePath = safePath(projectRoot, edit.path);
17
- if (!fs.existsSync(filePath)) {
18
- throw new Error(`File not found: ${edit.path}`);
19
- }
20
- const content = fs.readFileSync(filePath, "utf8");
21
- const { oldText, newText, allowMultiple = false } = edit;
22
- if (!content.includes(oldText)) {
23
- throw new Error(`Text not found in file ${edit.path}: "${oldText.slice(0, 50)}..."`);
24
- }
25
- // Surgical precision guard
26
- if (!allowMultiple) {
27
- const firstIndex = content.indexOf(oldText);
28
- const lastIndex = content.lastIndexOf(oldText);
29
- if (firstIndex !== lastIndex) {
30
- throw new Error(`Ambiguous replacement in ${edit.path}: "${oldText.slice(0, 50)}..." found multiple times.`);
31
- }
32
- }
33
- const newContent = allowMultiple
34
- ? content.replace(new RegExp(oldText.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "g"), newText)
35
- : content.replace(oldText, newText);
36
- // ENFORCE CORPORATE COMPLIANCE
37
- verifyCorporateCompliance(newContent, edit.path);
38
- fs.writeFileSync(filePath, newContent);
39
- const tokens = Metrics.estimateTokens(newText);
40
- totalTokens += tokens;
41
- results.push(`✅ Edited ${edit.path}`);
42
- }
43
- Metrics.logUsage(projectRoot, "@mcp", `batch_surgical_edit: ${edits.length} files`, totalTokens);
44
- return {
45
- content: [{
46
- type: "text",
47
- text: `Successfully performed ${edits.length} edits:\n${results.join("\n")}`
48
- }]
49
- };
50
- }
@@ -1,21 +0,0 @@
1
- import fs from "fs";
2
- import { safePath } from "../../utils/security.js";
3
- import { Metrics } from "../../utils/metrics.js";
4
- export function handlePatchFile(projectRoot, args) {
5
- const filePath = safePath(projectRoot, args.path);
6
- const lines = fs.readFileSync(filePath, "utf8").split("\n");
7
- const start = args.startLine - 1;
8
- const end = args.endLine;
9
- const newContent = args.newContent.split("\n");
10
- if (start < 0 || start > lines.length) {
11
- throw new Error(`Invalid start line: ${start + 1}. File has ${lines.length} lines.`);
12
- }
13
- if (end < start + 1 || end > lines.length) {
14
- throw new Error(`Invalid end line: ${end}. Must be between ${start + 1} and ${lines.length}.`);
15
- }
16
- lines.splice(start, end - start, ...newContent);
17
- fs.writeFileSync(filePath, lines.join("\n"));
18
- const tokens = Metrics.estimateTokens(args.newContent);
19
- Metrics.logUsage(projectRoot, "@mcp", `patch_file: ${args.path}`, tokens);
20
- return { content: [{ type: "text", text: `✅ File patched successfully: ${args.path}` }] };
21
- }
@@ -1,34 +0,0 @@
1
- import fs from "fs";
2
- import { safePath } from "../../utils/security.js";
3
- import { Metrics } from "../../utils/metrics.js";
4
- export function handleReadFile(projectRoot, args) {
5
- const filePath = safePath(projectRoot, args.path);
6
- const startLine = args.startLine !== undefined ? Number(args.startLine) : undefined;
7
- const endLine = args.endLine !== undefined ? Number(args.endLine) : undefined;
8
- const content = fs.readFileSync(filePath, "utf8");
9
- const lines = content.split(/\r?\n/);
10
- if (startLine !== undefined || endLine !== undefined) {
11
- const start = startLine !== undefined ? Math.max(1, startLine) - 1 : 0;
12
- const end = endLine !== undefined ? Math.min(lines.length, endLine) : lines.length;
13
- const sliced = lines.slice(start, end).join("\n");
14
- const tokens = Metrics.estimateTokens(sliced);
15
- Metrics.logUsage(projectRoot, "@mcp", `read_file: ${args.path}`, tokens);
16
- return { content: [{ type: "text", text: sliced }] };
17
- }
18
- // Default protection limit: 1000 lines
19
- const DEFAULT_MAX_LINES = 1000;
20
- if (lines.length > DEFAULT_MAX_LINES) {
21
- const sliced = lines.slice(0, DEFAULT_MAX_LINES).join("\n");
22
- const tokens = Metrics.estimateTokens(sliced);
23
- Metrics.logUsage(projectRoot, "@mcp", `read_file: ${args.path} (truncated)`, tokens);
24
- return {
25
- content: [{
26
- type: "text",
27
- text: `${sliced}\n\n... [TRUNCATED - File is too long (${lines.length} lines). Only the first ${DEFAULT_MAX_LINES} lines are shown. Use startLine and endLine parameters to read other parts of the file.]`
28
- }]
29
- };
30
- }
31
- const tokens = Metrics.estimateTokens(content);
32
- Metrics.logUsage(projectRoot, "@mcp", `read_file: ${args.path}`, tokens);
33
- return { content: [{ type: "text", text: content }] };
34
- }
@@ -1,38 +0,0 @@
1
- import fs from "fs";
2
- import { safePath } from "../../utils/security.js";
3
- import { Metrics } from "../../utils/metrics.js";
4
- import { verifyCorporateCompliance } from "../../utils/compliance.js";
5
- export function handleReplaceText(projectRoot, args) {
6
- const filePath = safePath(projectRoot, args.path);
7
- const content = fs.readFileSync(filePath, "utf8");
8
- const oldText = args.oldText;
9
- const newText = args.newText;
10
- const allowMultiple = args.allowMultiple || false; // Default to false
11
- if (!content.includes(oldText)) {
12
- throw new Error(`Text not found in file: ${oldText.slice(0, 100)}...`);
13
- }
14
- // Surgical precision guard: reject ambiguous replacements unless allowMultiple is true.
15
- if (!allowMultiple) {
16
- const firstIndex = content.indexOf(oldText);
17
- const lastIndex = content.lastIndexOf(oldText);
18
- if (firstIndex !== lastIndex) {
19
- const count = (content.match(new RegExp(oldText.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "g")) || []).length;
20
- throw new Error(`Ambiguous replacement: "${oldText.slice(0, 80)}..." found ${count} times in ${args.path}. ` +
21
- "Provide a longer, unique context string or set 'allow_multiple' to true.");
22
- }
23
- }
24
- // Perform replacement(s)
25
- let newContent;
26
- if (allowMultiple) {
27
- newContent = content.replace(new RegExp(oldText.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "g"), newText);
28
- }
29
- else {
30
- newContent = content.replace(oldText, newText);
31
- }
32
- // ENFORCE CORPORATE COMPLIANCE
33
- verifyCorporateCompliance(newContent, args.path);
34
- fs.writeFileSync(filePath, newContent);
35
- const tokens = Metrics.estimateTokens(newText);
36
- Metrics.logUsage(projectRoot, "@mcp", `replace_text: ${args.path}`, tokens);
37
- return { content: [{ type: "text", text: `✅ Surgical edit successful in ${args.path}` }] };
38
- }
@@ -1,26 +0,0 @@
1
- import fs from "fs";
2
- import path from "path";
3
- import { safePath, resolveFrameworkDir } from "../../utils/security.js";
4
- import { Metrics } from "../../utils/metrics.js";
5
- import { verifyCorporateCompliance } from "../../utils/compliance.js";
6
- export function handleWriteFile(projectRoot, args) {
7
- const filePath = safePath(projectRoot, args.path);
8
- const content = args.content;
9
- // ENFORCE CORPORATE COMPLIANCE
10
- verifyCorporateCompliance(content, args.path);
11
- fs.mkdirSync(path.dirname(filePath), { recursive: true });
12
- fs.writeFileSync(filePath, content);
13
- // AUTO-LOGGING & METRICS
14
- const tokens = Metrics.estimateTokens(content);
15
- Metrics.logUsage(projectRoot, "@mcp", `write_file: ${args.path}`, tokens);
16
- try {
17
- const frameworkDir = resolveFrameworkDir(projectRoot);
18
- const memoryPath = path.join(projectRoot, frameworkDir, "memory/PROJECT_MEMORY.md");
19
- if (fs.existsSync(memoryPath)) {
20
- const entry = `\n### ${new Date().toISOString().split("T")[0]} — Auto-Update\n- **Action:** wrote file \`${args.path}\` (${tokens} tokens estimated).\n`;
21
- fs.appendFileSync(memoryPath, entry);
22
- }
23
- }
24
- catch { /* ignore memory logging errors */ }
25
- return { content: [{ type: "text", text: `✅ File written: ${args.path}` }] };
26
- }
@@ -1,41 +0,0 @@
1
- import fs from "fs";
2
- import path from "path";
3
- /**
4
- * Audits package.json for unused or duplicate-like packages.
5
- * Focuses on project health and cleanup.
6
- */
7
- export function handleAuditDependencies(projectRoot, _args) {
8
- const pkgPath = path.join(projectRoot, "package.json");
9
- if (!fs.existsSync(pkgPath)) {
10
- throw new Error("package.json not found.");
11
- }
12
- const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf8"));
13
- const deps = { ...pkg.dependencies, ...pkg.devDependencies };
14
- const depNames = Object.keys(deps);
15
- const results = [];
16
- // 1. Look for similar packages (potential duplicates)
17
- const similarityGroups = {
18
- "CSS/Styling": ["tailwind", "panda", "styled-components", "emotion", "sass"],
19
- "Testing": ["vitest", "jest", "mocha", "jasmine"],
20
- "Fetching": ["axios", "ky", "fetch"]
21
- };
22
- for (const [group, patterns] of Object.entries(similarityGroups)) {
23
- const found = depNames.filter(d => patterns.some(p => d.includes(p)));
24
- if (found.length > 1) {
25
- results.push(`⚠️ Potential redundancy in [${group}]: Found ${found.join(", ")}`);
26
- }
27
- }
28
- // 2. Scan for "any" usage in package names (bad practice markers)
29
- const legacyDeps = depNames.filter(d => d.includes("legacy") || d.includes("compat"));
30
- if (legacyDeps.length > 0) {
31
- results.push(`ℹ️ Legacy compatibility packages detected: ${legacyDeps.join(", ")}`);
32
- }
33
- return {
34
- content: [{
35
- type: "text",
36
- text: results.length > 0
37
- ? `Dependency Audit Results:\n\n${results.join("\n")}`
38
- : "✅ Dependencies look clean and consolidated."
39
- }]
40
- };
41
- }
@@ -1,5 +0,0 @@
1
- import { safeExec } from "../../utils/cli.js";
2
- export function handleGetFrameworkStatus(projectRoot, args) {
3
- const output = safeExec("npx", ["agent-enderun", "status"], projectRoot, args.timeout);
4
- return { content: [{ type: "text", text: output }] };
5
- }
@@ -1,5 +0,0 @@
1
- import { safeExec } from "../../utils/cli.js";
2
- export function handleOrchestrateLoop(projectRoot, args) {
3
- const output = safeExec("npx", ["agent-enderun", "orchestrate"], projectRoot, args.timeout);
4
- return { content: [{ type: "text", text: output }] };
5
- }
@@ -1,25 +0,0 @@
1
- import { execSync } from "child_process";
2
- /**
3
- * Executes project tests and returns results for agent analysis.
4
- */
5
- export function handleRunTests(projectRoot, args) {
6
- const testCommand = args.command || "npm test";
7
- try {
8
- const output = execSync(testCommand, { cwd: projectRoot, encoding: "utf8", stdio: "pipe" });
9
- return {
10
- content: [{ type: "text", text: `✅ Tests passed successfully!\n\n${output}` }]
11
- };
12
- }
13
- catch (error) {
14
- const err = error;
15
- const stderr = err.stderr?.toString() || "";
16
- const stdout = err.stdout?.toString() || "";
17
- return {
18
- isError: true,
19
- content: [{
20
- type: "text",
21
- text: `❌ Tests FAILED!\n\n--- STDOUT ---\n${stdout}\n\n--- STDERR ---\n${stderr}`
22
- }]
23
- };
24
- }
25
- }
@@ -1,5 +0,0 @@
1
- import { safeExec } from "../../utils/cli.js";
2
- export function handleUpdateContractHash(projectRoot, args) {
3
- const output = safeExec("npx", ["agent-enderun", "update-contract"], projectRoot, args.timeout);
4
- return { content: [{ type: "text", text: output }] };
5
- }
@@ -1,8 +0,0 @@
1
- import { safeExec } from "../../utils/cli.js";
2
- export function handleUpdateProjectMemory(projectRoot, args) {
3
- const section = args.section;
4
- const content = args.content;
5
- // Using execFileSync with array args prevents command injection
6
- safeExec("npx", ["agent-enderun", "update_project_memory", section, content], projectRoot, args.timeout);
7
- return { content: [{ type: "text", text: `✅ Section ${section} updated.` }] };
8
- }
@@ -1,54 +0,0 @@
1
- import { TOOLS } from "./definitions.js";
2
- import { handleReadFile } from "./file_system/read_file.js";
3
- import { handleWriteFile } from "./file_system/write_file.js";
4
- import { handleReplaceText } from "./file_system/replace_text.js";
5
- import { handleBatchSurgicalEdit } from "./file_system/batch_surgical_edit.js";
6
- import { handlePatchFile } from "./file_system/patch_file.js";
7
- import { handleGrepSearch } from "./search/grep_search.js";
8
- import { handleListDir } from "./search/list_dir.js";
9
- import { handleGetProjectGaps } from "./search/get_gaps.js";
10
- import { handleGetProjectMap } from "./search/get_map.js";
11
- import { handleGetFrameworkStatus } from "./framework/get_status.js";
12
- import { handleUpdateProjectMemory } from "./framework/update_memory.js";
13
- import { handleAuditDependencies } from "./framework/audit_deps.js";
14
- import { handleRunTests } from "./framework/run_tests.js";
15
- import { handleGetSystemHealth } from "./observability/get_health.js";
16
- import { handleCheckPorts } from "./observability/check_ports.js";
17
- import { handleStartDashboard } from "./dashboard/start_dashboard.js";
18
- import { handleOrchestrateLoop } from "./framework/orchestrate.js";
19
- import { handleUpdateContractHash } from "./framework/update_contract_hash.js";
20
- import { handleReadProjectMemory } from "./memory/read_memory.js";
21
- import { handleGetMemoryInsights } from "./memory/get_insights.js";
22
- import { handleSendAgentMessage } from "./messaging/send_message.js";
23
- import { handleLogAgentAction } from "./messaging/log_action.js";
24
- import { handleAcquireLock, handleReleaseLock } from "./control_plane/locking.js";
25
- import { handleRegisterAgent } from "./control_plane/registry.js";
26
- // Map of tool names to their handler functions
27
- export const toolHandlers = {
28
- read_file: handleReadFile,
29
- list_dir: handleListDir,
30
- grep_search: handleGrepSearch,
31
- get_project_map: handleGetProjectMap,
32
- get_project_gaps: handleGetProjectGaps,
33
- write_file: handleWriteFile,
34
- replace_text: handleReplaceText,
35
- batch_surgical_edit: handleBatchSurgicalEdit,
36
- patch_file: handlePatchFile,
37
- get_framework_status: handleGetFrameworkStatus,
38
- read_project_memory: handleReadProjectMemory,
39
- get_memory_insights: handleGetMemoryInsights,
40
- update_project_memory: handleUpdateProjectMemory,
41
- audit_dependencies: handleAuditDependencies,
42
- run_tests: handleRunTests,
43
- get_system_health: handleGetSystemHealth,
44
- check_active_ports: handleCheckPorts,
45
- start_dashboard: handleStartDashboard,
46
- orchestrate_loop: handleOrchestrateLoop,
47
- send_agent_message: handleSendAgentMessage,
48
- log_agent_action: handleLogAgentAction,
49
- update_contract_hash: handleUpdateContractHash,
50
- acquire_lock: handleAcquireLock,
51
- release_lock: handleReleaseLock,
52
- register_agent: handleRegisterAgent,
53
- };
54
- export { TOOLS };
@@ -1,34 +0,0 @@
1
- import fs from "fs";
2
- import path from "path";
3
- import { resolveFrameworkDir } from "../../utils/security.js";
4
- /**
5
- * Extracts key insights from the project memory to minimize token usage.
6
- * Returns only the active phase, trace, and the last 5 decisions/tasks.
7
- */
8
- export function handleGetMemoryInsights(projectRoot, _args) {
9
- try {
10
- const frameworkDir = resolveFrameworkDir(projectRoot);
11
- const memoryPath = path.join(projectRoot, frameworkDir, "memory/PROJECT_MEMORY.md");
12
- if (!fs.existsSync(memoryPath)) {
13
- return { content: [{ type: "text", text: "New project: No history available." }] };
14
- }
15
- const content = fs.readFileSync(memoryPath, "utf8");
16
- const lines = content.split("\n");
17
- const activePhase = lines.find(l => l.includes("Active Phase:"))?.split(":")[1]?.trim() || "Unknown";
18
- const activeTrace = lines.find(l => l.includes("Active Trace:"))?.split(":")[1]?.trim() || "None";
19
- // Find the last 5 history items (heuristic)
20
- const historyStartIndex = lines.findIndex(l => l.includes("## History"));
21
- let recentHistory = "No history found.";
22
- if (historyStartIndex !== -1) {
23
- recentHistory = lines.slice(historyStartIndex + 1, historyStartIndex + 15)
24
- .filter(l => l.trim().startsWith("-"))
25
- .slice(-5)
26
- .join("\n");
27
- }
28
- const insights = `🧠 **Memory Insights**\n- **Phase:** ${activePhase}\n- **Trace:** ${activeTrace}\n\n**Recent Actions:**\n${recentHistory}`;
29
- return { content: [{ type: "text", text: insights }] };
30
- }
31
- catch (e) {
32
- return { isError: true, content: [{ type: "text", text: `Failed to extract insights: ${String(e)}` }] };
33
- }
34
- }