agent-enderun 1.0.7 → 1.0.9

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 (312) hide show
  1. package/.enderun/ARCHITECTURE.md +1 -0
  2. package/.enderun/BRAIN_DASHBOARD.md +1 -1
  3. package/.enderun/ENDERUN.md +2 -2
  4. package/.enderun/SECURITY.md +1 -0
  5. package/.enderun/STATUS.md +5 -6
  6. package/.enderun/agents/agent_army_schema.json +71 -77
  7. package/.enderun/agents/analyst.json +32 -0
  8. package/.enderun/agents/backend.json +32 -0
  9. package/.enderun/agents/database.json +32 -0
  10. package/.enderun/agents/devops.json +32 -0
  11. package/.enderun/agents/explorer.json +32 -0
  12. package/.enderun/agents/frontend.json +32 -0
  13. package/.enderun/agents/git.json +32 -0
  14. package/.enderun/agents/manager.json +32 -0
  15. package/.enderun/agents/mobile.json +32 -0
  16. package/.enderun/agents/native.json +32 -0
  17. package/.enderun/agents/quality.json +32 -0
  18. package/.enderun/agents/schema/agent-lifecycle-schema.json +35 -80
  19. package/.enderun/agents/security.json +32 -0
  20. package/.enderun/cli-commands.json +7 -5
  21. package/.enderun/config.json +1 -1
  22. package/.enderun/knowledge/ARCHITECTURE.md +1 -0
  23. package/.enderun/knowledge/SECURITY.md +1 -0
  24. package/.enderun/knowledge/SHIM_TEMPLATE.md +12 -1
  25. package/.enderun/knowledge/evaluation_engine.md +11 -0
  26. package/.enderun/knowledge/legacy_onboarding.md +11 -0
  27. package/.enderun/knowledge/project_scaffold_guidelines.md +11 -0
  28. package/.enderun/knowledge/reference_application_guidelines.md +11 -0
  29. package/.enderun/logs/manager.json +52 -23
  30. package/.enderun/memory/PROJECT_MEMORY.md +14 -12
  31. package/.enderun/observability/README.md +19 -0
  32. package/README.md +38 -101
  33. package/agent.md +1 -1
  34. package/bin/hermes-sandbox.js +9 -0
  35. package/bin/init-check.js +9 -0
  36. package/bin/validate-agent-army.js +34 -92
  37. package/dist/apps/backend/src/types/index.d.ts +9 -0
  38. package/dist/apps/backend/src/types/index.js +5 -0
  39. package/dist/apps/backend/src/types/index.js.map +1 -0
  40. package/dist/apps/web/src/main.d.ts +1 -0
  41. package/dist/apps/web/src/main.js +9 -0
  42. package/dist/apps/web/src/main.js.map +1 -0
  43. package/dist/apps/web/vite.config.d.ts +2 -0
  44. package/dist/apps/web/vite.config.js +6 -0
  45. package/dist/apps/web/vite.config.js.map +1 -0
  46. package/dist/framework-mcp/src/index.d.ts +1 -0
  47. package/dist/framework-mcp/src/index.js +71 -0
  48. package/dist/framework-mcp/src/index.js.map +1 -0
  49. package/dist/framework-mcp/src/tools/definitions.d.ts +2 -0
  50. package/dist/framework-mcp/src/tools/definitions.js +111 -0
  51. package/dist/framework-mcp/src/tools/definitions.js.map +1 -0
  52. package/dist/framework-mcp/src/tools/file_system/patch_file.d.ts +2 -0
  53. package/dist/framework-mcp/src/tools/file_system/patch_file.js +19 -0
  54. package/dist/framework-mcp/src/tools/file_system/patch_file.js.map +1 -0
  55. package/dist/framework-mcp/src/tools/file_system/read_file.d.ts +2 -0
  56. package/dist/framework-mcp/src/tools/file_system/read_file.js +8 -0
  57. package/dist/framework-mcp/src/tools/file_system/read_file.js.map +1 -0
  58. package/dist/framework-mcp/src/tools/file_system/replace_text.d.ts +2 -0
  59. package/dist/framework-mcp/src/tools/file_system/replace_text.js +32 -0
  60. package/dist/framework-mcp/src/tools/file_system/replace_text.js.map +1 -0
  61. package/dist/framework-mcp/src/tools/file_system/write_file.d.ts +2 -0
  62. package/dist/framework-mcp/src/tools/file_system/write_file.js +10 -0
  63. package/dist/framework-mcp/src/tools/file_system/write_file.js.map +1 -0
  64. package/dist/framework-mcp/src/tools/framework/get_status.d.ts +2 -0
  65. package/dist/framework-mcp/src/tools/framework/get_status.js +6 -0
  66. package/dist/framework-mcp/src/tools/framework/get_status.js.map +1 -0
  67. package/dist/framework-mcp/src/tools/framework/orchestrate.d.ts +2 -0
  68. package/dist/framework-mcp/src/tools/framework/orchestrate.js +6 -0
  69. package/dist/framework-mcp/src/tools/framework/orchestrate.js.map +1 -0
  70. package/dist/framework-mcp/src/tools/framework/update_contract_hash.d.ts +2 -0
  71. package/dist/framework-mcp/src/tools/framework/update_contract_hash.js +6 -0
  72. package/dist/framework-mcp/src/tools/framework/update_contract_hash.js.map +1 -0
  73. package/dist/framework-mcp/src/tools/framework/update_memory.d.ts +2 -0
  74. package/dist/framework-mcp/src/tools/framework/update_memory.js +9 -0
  75. package/dist/framework-mcp/src/tools/framework/update_memory.js.map +1 -0
  76. package/dist/framework-mcp/src/tools/index.d.ts +5 -0
  77. package/dist/framework-mcp/src/tools/index.js +26 -0
  78. package/dist/framework-mcp/src/tools/index.js.map +1 -0
  79. package/dist/framework-mcp/src/tools/messaging/log_action.d.ts +2 -0
  80. package/dist/framework-mcp/src/tools/messaging/log_action.js +23 -0
  81. package/dist/framework-mcp/src/tools/messaging/log_action.js.map +1 -0
  82. package/dist/framework-mcp/src/tools/messaging/send_message.d.ts +2 -0
  83. package/dist/framework-mcp/src/tools/messaging/send_message.js +24 -0
  84. package/dist/framework-mcp/src/tools/messaging/send_message.js.map +1 -0
  85. package/dist/framework-mcp/src/tools/types.d.ts +47 -0
  86. package/dist/framework-mcp/src/tools/types.js +2 -0
  87. package/dist/framework-mcp/src/tools/types.js.map +1 -0
  88. package/dist/framework-mcp/src/utils/cli.d.ts +5 -0
  89. package/dist/framework-mcp/src/utils/cli.js +21 -0
  90. package/dist/framework-mcp/src/utils/cli.js.map +1 -0
  91. package/dist/framework-mcp/src/utils/security.d.ts +12 -0
  92. package/dist/framework-mcp/src/utils/security.js +54 -0
  93. package/dist/framework-mcp/src/utils/security.js.map +1 -0
  94. package/dist/src/cli/adapters.d.ts +32 -0
  95. package/dist/src/cli/adapters.js +264 -0
  96. package/dist/src/cli/adapters.js.map +1 -0
  97. package/dist/src/cli/commands/app.d.ts +4 -0
  98. package/dist/src/cli/commands/app.js +32 -0
  99. package/dist/src/cli/commands/app.js.map +1 -0
  100. package/dist/src/cli/commands/check.d.ts +6 -0
  101. package/dist/src/cli/commands/check.js +110 -0
  102. package/dist/src/cli/commands/check.js.map +1 -0
  103. package/dist/src/cli/commands/compliance.d.ts +1 -0
  104. package/dist/src/cli/commands/compliance.js +51 -0
  105. package/dist/src/cli/commands/compliance.js.map +1 -0
  106. package/dist/src/cli/commands/contract.d.ts +8 -0
  107. package/dist/src/cli/commands/contract.js +73 -0
  108. package/dist/src/cli/commands/contract.js.map +1 -0
  109. package/dist/src/cli/commands/explorer.d.ts +2 -0
  110. package/dist/src/cli/commands/explorer.js +43 -0
  111. package/dist/src/cli/commands/explorer.js.map +1 -0
  112. package/dist/src/cli/commands/git.d.ts +2 -0
  113. package/dist/src/cli/commands/git.js +41 -0
  114. package/dist/src/cli/commands/git.js.map +1 -0
  115. package/dist/src/cli/commands/init.d.ts +1 -0
  116. package/dist/src/cli/commands/init.js +338 -0
  117. package/dist/src/cli/commands/init.js.map +1 -0
  118. package/dist/src/cli/commands/knowledge.d.ts +2 -0
  119. package/dist/src/cli/commands/knowledge.js +43 -0
  120. package/dist/src/cli/commands/knowledge.js.map +1 -0
  121. package/dist/src/cli/commands/lint.d.ts +4 -0
  122. package/dist/src/cli/commands/lint.js +24 -0
  123. package/dist/src/cli/commands/lint.js.map +1 -0
  124. package/dist/src/cli/commands/log.d.ts +9 -0
  125. package/dist/src/cli/commands/log.js +33 -0
  126. package/dist/src/cli/commands/log.js.map +1 -0
  127. package/dist/src/cli/commands/memory.d.ts +1 -0
  128. package/dist/src/cli/commands/memory.js +72 -0
  129. package/dist/src/cli/commands/memory.js.map +1 -0
  130. package/dist/src/cli/commands/orchestrate.d.ts +1 -0
  131. package/dist/src/cli/commands/orchestrate.js +111 -0
  132. package/dist/src/cli/commands/orchestrate.js.map +1 -0
  133. package/dist/src/cli/commands/script.d.ts +1 -0
  134. package/dist/src/cli/commands/script.js +20 -0
  135. package/dist/src/cli/commands/script.js.map +1 -0
  136. package/dist/src/cli/commands/security.d.ts +1 -0
  137. package/dist/src/cli/commands/security.js +37 -0
  138. package/dist/src/cli/commands/security.js.map +1 -0
  139. package/dist/src/cli/commands/status.d.ts +4 -0
  140. package/dist/src/cli/commands/status.js +56 -0
  141. package/dist/src/cli/commands/status.js.map +1 -0
  142. package/dist/src/cli/commands/trace.d.ts +4 -0
  143. package/dist/src/cli/commands/trace.js +42 -0
  144. package/dist/src/cli/commands/trace.js.map +1 -0
  145. package/dist/src/cli/index.d.ts +2 -0
  146. package/dist/src/cli/index.js +117 -0
  147. package/dist/src/cli/index.js.map +1 -0
  148. package/dist/src/cli/utils/app.d.ts +33 -0
  149. package/dist/src/cli/utils/app.js +710 -0
  150. package/dist/src/cli/utils/app.js.map +1 -0
  151. package/dist/src/cli/utils/claude.d.ts +8 -0
  152. package/dist/src/cli/utils/claude.js +56 -0
  153. package/dist/src/cli/utils/claude.js.map +1 -0
  154. package/dist/src/cli/utils/fs.d.ts +11 -0
  155. package/dist/src/cli/utils/fs.js +144 -0
  156. package/dist/src/cli/utils/fs.js.map +1 -0
  157. package/dist/src/cli/utils/memory.d.ts +14 -0
  158. package/dist/src/cli/utils/memory.js +173 -0
  159. package/dist/src/cli/utils/memory.js.map +1 -0
  160. package/dist/src/cli/utils/pkg.d.ts +24 -0
  161. package/dist/src/cli/utils/pkg.js +254 -0
  162. package/dist/src/cli/utils/pkg.js.map +1 -0
  163. package/dist/src/cli/utils/string.d.ts +6 -0
  164. package/dist/src/cli/utils/string.js +44 -0
  165. package/dist/src/cli/utils/string.js.map +1 -0
  166. package/dist/src/cli/utils/time.d.ts +2 -0
  167. package/dist/src/cli/utils/time.js +28 -0
  168. package/dist/src/cli/utils/time.js.map +1 -0
  169. package/dist/tests/adapter.test.d.ts +1 -0
  170. package/dist/tests/adapter.test.js +80 -0
  171. package/dist/tests/adapter.test.js.map +1 -0
  172. package/dist/tests/framework-init-test/framework-mcp/src/index.d.ts +1 -0
  173. package/dist/tests/framework-init-test/framework-mcp/src/index.js +71 -0
  174. package/dist/tests/framework-init-test/framework-mcp/src/index.js.map +1 -0
  175. package/dist/tests/framework-init-test/framework-mcp/src/tools/definitions.d.ts +2 -0
  176. package/dist/tests/framework-init-test/framework-mcp/src/tools/definitions.js +111 -0
  177. package/dist/tests/framework-init-test/framework-mcp/src/tools/definitions.js.map +1 -0
  178. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/patch_file.d.ts +2 -0
  179. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/patch_file.js +19 -0
  180. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/patch_file.js.map +1 -0
  181. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/read_file.d.ts +2 -0
  182. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/read_file.js +8 -0
  183. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/read_file.js.map +1 -0
  184. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/replace_text.d.ts +2 -0
  185. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/replace_text.js +32 -0
  186. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/replace_text.js.map +1 -0
  187. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/write_file.d.ts +2 -0
  188. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/write_file.js +10 -0
  189. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/write_file.js.map +1 -0
  190. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/get_status.d.ts +2 -0
  191. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/get_status.js +6 -0
  192. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/get_status.js.map +1 -0
  193. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/orchestrate.d.ts +2 -0
  194. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/orchestrate.js +6 -0
  195. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/orchestrate.js.map +1 -0
  196. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_contract_hash.d.ts +2 -0
  197. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_contract_hash.js +6 -0
  198. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_contract_hash.js.map +1 -0
  199. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_memory.d.ts +2 -0
  200. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_memory.js +9 -0
  201. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_memory.js.map +1 -0
  202. package/dist/tests/framework-init-test/framework-mcp/src/tools/index.d.ts +5 -0
  203. package/dist/tests/framework-init-test/framework-mcp/src/tools/index.js +26 -0
  204. package/dist/tests/framework-init-test/framework-mcp/src/tools/index.js.map +1 -0
  205. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/log_action.d.ts +2 -0
  206. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/log_action.js +23 -0
  207. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/log_action.js.map +1 -0
  208. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/send_message.d.ts +2 -0
  209. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/send_message.js +24 -0
  210. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/send_message.js.map +1 -0
  211. package/dist/tests/framework-init-test/framework-mcp/src/tools/types.d.ts +47 -0
  212. package/dist/tests/framework-init-test/framework-mcp/src/tools/types.js +2 -0
  213. package/dist/tests/framework-init-test/framework-mcp/src/tools/types.js.map +1 -0
  214. package/dist/tests/framework-init-test/framework-mcp/src/utils/cli.d.ts +5 -0
  215. package/dist/tests/framework-init-test/framework-mcp/src/utils/cli.js +21 -0
  216. package/dist/tests/framework-init-test/framework-mcp/src/utils/cli.js.map +1 -0
  217. package/dist/tests/framework-init-test/framework-mcp/src/utils/security.d.ts +12 -0
  218. package/dist/tests/framework-init-test/framework-mcp/src/utils/security.js +54 -0
  219. package/dist/tests/framework-init-test/framework-mcp/src/utils/security.js.map +1 -0
  220. package/dist/tests/framework-init-test/framework-mcp/tests/tools/file_system/replace_text.test.d.ts +1 -0
  221. package/dist/tests/framework-init-test/framework-mcp/tests/tools/file_system/replace_text.test.js +69 -0
  222. package/dist/tests/framework-init-test/framework-mcp/tests/tools/file_system/replace_text.test.js.map +1 -0
  223. package/dist/tests/framework-init-test/panda.config.d.ts +4 -0
  224. package/dist/tests/framework-init-test/panda.config.js +95 -0
  225. package/dist/tests/framework-init-test/panda.config.js.map +1 -0
  226. package/dist/tests/framework-init-test/vitest.config.d.ts +2 -0
  227. package/dist/tests/framework-init-test/vitest.config.js +19 -0
  228. package/dist/tests/framework-init-test/vitest.config.js.map +1 -0
  229. package/dist/tests/gemini.test.d.ts +1 -0
  230. package/dist/tests/gemini.test.js +38 -0
  231. package/dist/tests/gemini.test.js.map +1 -0
  232. package/dist/tests/initial.test.d.ts +1 -0
  233. package/dist/tests/initial.test.js +7 -0
  234. package/dist/tests/initial.test.js.map +1 -0
  235. package/dist/vitest.config.d.ts +2 -0
  236. package/dist/vitest.config.js +19 -0
  237. package/dist/vitest.config.js.map +1 -0
  238. package/docs/getting-started.md +4 -4
  239. package/eslint.config.js +1 -1
  240. package/framework-mcp/dist/index.js +2 -2
  241. package/framework-mcp/dist/src/index.js +70 -0
  242. package/framework-mcp/dist/src/tools/definitions.js +110 -0
  243. package/framework-mcp/dist/src/tools/file_system/patch_file.js +18 -0
  244. package/framework-mcp/dist/src/tools/file_system/read_file.js +7 -0
  245. package/framework-mcp/dist/src/tools/file_system/replace_text.js +31 -0
  246. package/framework-mcp/dist/src/tools/file_system/write_file.js +9 -0
  247. package/framework-mcp/dist/src/tools/framework/get_status.js +5 -0
  248. package/framework-mcp/dist/src/tools/framework/orchestrate.js +5 -0
  249. package/framework-mcp/dist/src/tools/framework/update_contract_hash.js +5 -0
  250. package/framework-mcp/dist/src/tools/framework/update_memory.js +8 -0
  251. package/framework-mcp/dist/src/tools/index.js +25 -0
  252. package/framework-mcp/dist/src/tools/messaging/log_action.js +22 -0
  253. package/framework-mcp/dist/src/tools/messaging/send_message.js +23 -0
  254. package/framework-mcp/dist/src/tools/types.js +1 -0
  255. package/framework-mcp/dist/src/utils/cli.js +20 -0
  256. package/framework-mcp/dist/src/utils/security.js +53 -0
  257. package/framework-mcp/dist/tests/tools/file_system/replace_text.test.js +68 -0
  258. package/framework-mcp/dist/tools/definitions.js +1 -0
  259. package/framework-mcp/dist/tools/file_system/replace_text.js +18 -1
  260. package/framework-mcp/dist/tools/framework/get_status.js +2 -2
  261. package/framework-mcp/dist/tools/framework/orchestrate.js +2 -2
  262. package/framework-mcp/dist/tools/framework/update_contract_hash.js +2 -2
  263. package/framework-mcp/dist/tools/framework/update_memory.js +1 -1
  264. package/framework-mcp/dist/tools/messaging/send_message.js +4 -2
  265. package/framework-mcp/dist/utils/cli.js +2 -2
  266. package/framework-mcp/dist/utils/security.js +23 -5
  267. package/framework-mcp/package.json +3 -3
  268. package/framework-mcp/src/index.ts +2 -2
  269. package/framework-mcp/src/tools/definitions.ts +1 -0
  270. package/framework-mcp/src/tools/file_system/replace_text.ts +21 -1
  271. package/framework-mcp/src/tools/framework/get_status.ts +3 -3
  272. package/framework-mcp/src/tools/framework/orchestrate.ts +3 -3
  273. package/framework-mcp/src/tools/framework/update_contract_hash.ts +3 -3
  274. package/framework-mcp/src/tools/framework/update_memory.ts +1 -1
  275. package/framework-mcp/src/tools/messaging/send_message.ts +5 -2
  276. package/framework-mcp/src/tools/types.ts +3 -0
  277. package/framework-mcp/src/utils/cli.ts +2 -2
  278. package/framework-mcp/src/utils/security.ts +23 -5
  279. package/framework-mcp/tests/tools/file_system/replace_text.test.js +68 -0
  280. package/framework-mcp/tests/tools/file_system/replace_text.test.ts +77 -0
  281. package/framework-mcp/tsconfig.json +1 -2
  282. package/mcp.json +4 -4
  283. package/package.json +4 -3
  284. package/src/cli/adapters.ts +16 -9
  285. package/src/cli/commands/check.ts +8 -5
  286. package/src/cli/commands/contract.ts +2 -2
  287. package/src/cli/commands/init.ts +213 -433
  288. package/src/cli/commands/memory.ts +5 -0
  289. package/src/cli/index.ts +12 -9
  290. package/src/cli/utils/app.ts +19 -16
  291. package/src/cli/utils/claude.ts +2 -1
  292. package/src/cli/utils/fs.ts +2 -1
  293. package/src/cli/utils/memory.ts +2 -2
  294. package/src/cli/utils/pkg.ts +72 -5
  295. package/.enderun/agents/analyst.md +0 -32
  296. package/.enderun/agents/backend.md +0 -49
  297. package/.enderun/agents/database.md +0 -41
  298. package/.enderun/agents/devops.md +0 -41
  299. package/.enderun/agents/explorer.md +0 -40
  300. package/.enderun/agents/frontend.md +0 -48
  301. package/.enderun/agents/git.md +0 -41
  302. package/.enderun/agents/manager.md +0 -43
  303. package/.enderun/agents/mobile.md +0 -42
  304. package/.enderun/agents/native.md +0 -41
  305. package/.enderun/agents/quality.md +0 -40
  306. package/.enderun/agents/security.md +0 -32
  307. package/docs/api-referans.md +0 -1137
  308. package/docs/is_akislari.md +0 -902
  309. package/docs/mimari.md +0 -926
  310. package/docs/moduller.md +0 -294
  311. package/docs/proje.md +0 -521
  312. package/docs/yap/304/261.md +0 -2150
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # 🏛️ Agent Enderun — Enterprise AI Governance & Autonomous Orchestration Framework
2
2
 
3
- > **Stable Release:** v1.0.6 (AL Enterprise Compliance)
3
+ > **Stable Release:** v1.0.9 (Final Production Ready) — Build Compile: Clean | Type-Safety: 100% Verified | AL Compliance: 12/12 Agents
4
+
4
5
  > **Author:** Yusuf BEKAR
5
6
  > **Trace ID:** `01HGT8J5E2N0W0W0W0W0W0W0W5`
6
7
  > **System Status:** 🟢 All Systems Operational | Build Compile: Clean | Type-Safety: 100% Verified
@@ -11,7 +12,7 @@
11
12
 
12
13
  **Agent Enderun**, sıradan bir kod şablon üreteci veya basit bir AI asistanı değildir; karmaşık, ölçeklenebilir ve kurumsal (enterprise) düzeydeki yazılım projeleri için özel olarak tasarlanmış bir **Yapay Zeka Yönetişimi ve Otonom Ordu Komuta Sistemidir**.
13
14
 
14
- Sürüm **v1.0.6** itibarıyla sistem; kendi hafızasını yönetebilen, monorepo proje yollarını dinamik olarak haritalayan, tüm ajan seanslarını güvenli şekilde günlükleyen, farklı yapay zeka ekosistemlerini anayasal bir disiplin altında birleştiren, **Agent Lifecycle (AL) tam uyumlu init ve ordu validasyonunu** otomatikleştiren ve **macOS & Windows çapraz platform standartlarına tam uyum sağlayan** yaşayan bir mühendislik organizmasıdır.
15
+ Nihai temiz sürüm (v1.0.9) itibarıyla sistem; düşük kullanımlı referans materyalleri (knowledge, demo scriptler) düzenlenmiş, bloat temizlenmiş (KENTİM docs seti + SYSTEM_MAP.md kaldırıldı); kendi hafızasını yönetebilen, monorepo proje yollarını dinamik olarak haritalayan, tüm ajan seanslarını güvenli şekilde günlükleyen, farklı yapay zeka ekosistemlerini anayasal bir disiplin altında birleştiren, **Agent Lifecycle (AL) tam uyumlu init ve ordu validasyonunu** (npm kurulumu sonrası dahil) otomatikleştiren ve **macOS & Windows çapraz platform standartlarına tam uyum sağlayan** yaşayan bir mühendislik organizmasıdır. Karmaşık kurumsal projeler için optimize edilmiştir (corporate-governance SOP'ları ile).
15
16
 
16
17
  ---
17
18
 
@@ -20,48 +21,16 @@ Sürüm **v1.0.6** itibarıyla sistem; kendi hafızasını yönetebilen, monorep
20
21
  Yapay zeka kodlama yardımcıları (Claude Code, Gemini CLI, Grok Build vb.) geliştikçe, kurumsal projelerde kontrolü kaybetmek çok daha kolay hale gelmiştir. Agent Enderun, aşağıdaki kritik **kurumsal problemleri çözmek** amacıyla doğmuştur:
21
22
 
22
23
  1. **Kontrolsüz ve Hatalı Değişiklikler (Rogue AI):** Ajanların tüm kod dosyasını baştan yazmasını engelleyerek **milyonlarca satırlık kodları cerrahi hassasiyetle (`replace_text` / `patch_file` üzerinden)** değiştirmeye zorlar. Token tüketimini ve hata oranını %90 azaltır.
23
- 2. **Kayıp Hafıza ve Bağlam Drifti:** Ajanlar oturum değiştirdikçe projenin geçmişini ve mimari kararlarını unutur. Enderun, **`.enderun/PROJECT_MEMORY.md`** dosyasını projenin değişmez tek doğruluk kaynağı (SSOT) haline getirerek, seanslar arası bağlam kaybını tamamen engeller.
24
+ 2. **Kayıp Hafıza ve Bağlam Drifti:** Ajanlar oturum değiştirdikçe projenin geçmişini ve mimari kararlarını unutur. Enderun, **`.enderun/memory/PROJECT_MEMORY.md`** dosyasını projenin değişmez tek doğruluk kaynağı (SSOT) haline getirerek, seanslar arası bağlam kaybını tamamen engeller.
24
25
  3. **Frontend-Backend Tip Uyuşmazlığı:** Backend tip tanımlamalarında en ufak bir kayma olduğunda, otonom SHA-256 hash hesaplama ve kontrat denetleme motoru (`update-contract` / `verify-contract`) sayesinde arayüz kodları yazılmadan önce hatalar yakalanır.
25
26
  4. **Çoklu Ajan Kaosu:** **12** farklı uzman yapay zeka ajanı, olay tabanlı asenkron bir haberleşme protokolü olan **Hermes Message Broker** üzerinden koordine edilir. Ajanlar birbirine rastgele müdahale edemez; tüm görevler bir İş Dağılım Grafiği (DAG) üzerinden komuta edilir.
26
27
  5. **Sandbox ve Güvenlik Sınırlamaları:** Claude Code gibi modern araçların kernel düzeyindeki güvenlik yalıtımlarını (bubblewrap/seatbelt) ihlal etmemek adına, tüm bellek, kuyruk ve günlük mekanizmaları proje kök klasöründeki lokal adaptör yollarında (**`.enderun/`**, `.gemini/`, `.claude/`, `.grok/` vb.) saklanır; `/tmp` veya dış dizinleri kullanmayarak sıfır hata ile çalışır.
27
28
 
28
29
  ---
29
30
 
30
- ### 🚀 Sürüm v1.0.5 Universal AI Synergy Kararlı Sürüm Devrimsel Özellikleri
31
-
32
- 1. **🛸 Antigravity Custom Agent, CLI & IDE Entegrasyonu:**
33
- * `.agents/` dizini altında `skills`, `rules` ve `workflows` dizinleri ile yerel `mcp_config.json` dosyasının otonom oluşturulması sağlandı. Kök dizine global `AGENTS.md` dosyasının otomatik yazılması eklenerek Antigravity CLI (`agy`) ve IDE'sinin özel agent'ları pürüzsüz tanıması sağlandı.
34
- 2. **🚀 Cursor IDE `.cursorrules` Desteği:**
35
- * Kök dizinde `.cursorrules` dosyası otomatik oluşturularak Cursor AI asistanının (Chat & Composer) Agent Enderun anayasası ve bellek sistemlerine tam uyumlu çalışması sağlandı.
36
- 3. **🩺 Akıllı Framework Dizin Çözümlemesi:**
37
- * `.agents/` konfigürasyon dizini ile ana framework çalışma dizinlerinin (`.enderun` vb.) çakışmasını önleyen ve `check` taramasını 100% başarılı kılan dizin çözümleme düzeltmesi uygulandı.
38
-
39
- ### 🚀 Sürüm v1.0.6 AL Enterprise Compliance Kararlı Sürüm Devrimsel Özellikleri
40
-
41
- 1. **🛡️ Agent Lifecycle (AL) Tam Otomatik Init & Validasyon:**
42
- * `init` komutu artık scaffolding, build ve check adımlarından sonra **otomatik dedicated AL Army Validation** (`node bin/validate-agent-army.js`) çalıştırır. Tüm ajanlar `stateMachine` + `tags` ile AL şemasına (IDLE → BRIEFED → EXECUTING → DONE/BLOCKED vb.) zorunlu olarak uymaktadır.
43
- 2. **🔧 Yeni CLI Komutları (Validate & AL Odaklı):** `validate`, `validate-army` ve `check:al` komutları eklendi. `check` komutu artık otomatik olarak AL validation'ı içermektedir. `.enderun/cli-commands.json` ve yardım metinleri güncellendi.
44
- 3. **🔍 Cross-Adapter AL Detection İyileştirmesi:**
45
- * `getFrameworkDir` ve `bin/validate-agent-army.js` artık `agents/`, `skills/` (antigravity), `plugins/` (grok) klasörlerini akıllıca tespit eder. `init antigravity` sonrası kurulumlar da %100 AL uyumlu olarak doğrulanır.
46
- 4. **📚 Dokümantasyon ve Init Deneyimi:**
47
- * `docs/getting-started.md`'ye AL & Init Compatibility bölümü eklendi. `init` çıktısına AL uyumluluk notu ve otomatik doğrulama adımı entegre edildi.
48
-
49
- ### 🚀 Sürüm v1.0.4 Singularity Kararlı Sürüm Devrimsel Özellikleri
50
-
51
- 1. **🧠 Pürüzsüz ve Klasör Kalabalığından Arındırılmış Birleşik Beyin Mimarisi (Unified Brain):**
52
- * Ajanların ve MCP sunucusunun tek bir ortak beyin (`.enderun/`) altında çalışmasını sağlayan **Birleşik Beyin Mimarisi** hayata geçirildi. `--unified` flag'i kullanıldığında veya `package.json` üzerinden kilitlendiğinde, tüm asistan şimleri (`gemini.md`, `claude.md`, `grok.md`) ve hafıza kuyrukları tek bir klasörde birleşir; ek dosya veya klasör kalabalığı kesinlikle oluşturulmaz.
53
- * Antigravity için kullanılan `.agents` klasör üretimi sadece Antigravity adaptörlerine sınırlandırılarak, diğer asistanların kurulum alanları son derece sade ve pürüzsüz hale getirildi.
54
- 2. **🛸 Grok Build 12 Ajanlık Ordu Yeteneği ve Boş Klasör Çözümü:**
55
- * Grok adaptörünün ilklendirilmesi esnasında ajan tanımlarının ve yaşam döngüsü şemalarının eksik çıkması sorunu cerrahi müdahale ile giderildi. Ajan tanımları hem `.grok/plugins/` hem de `.grok/agents/` klasörlerine tam ve kusursuz olarak çift eşlenerek Grok asistanının da 12 ajanlık tam ordu disiplinini yüklemesi sağlandı.
56
- 3. **⚡ Kurumsal Tip Uyuşmazlığı ve Sözleşme İyileştirmesi:**
57
- * Backend tip tanımlamalarında `constants.ts` boşluğundan kaynaklanan ve `logs.ts`/`models.ts` dosyalarının derlenmesini engelleyen tip uyuşmazlığı hatası giderildi. `apps/backend/src/types/constants.ts` dosyası kurumsal sabitler (`ProjectPhase`, `ExecutionProfile`, `TaskPriority`, `TaskStatus`, `ActionType`, `ActionStatus`) ile donatıldı.
58
- * `src/cli/commands/init.ts` içerisindeki `SanitizeJsonFunction` arayüzü ile uyumlu olması için `src/cli/utils/pkg.ts` altındaki `sanitizeJson` fonksiyonunun parametre tipi `Record<string, unknown>` yerine geniş `unknown` tipine taşınarak derleme hataları tamamen arındırıldı.
59
- 4. **🏁 macOS & Windows Çapraz Platform Uyum Düzeltmeleri:**
60
- * Windows ortamında Node.js'in `spawn` ile `npx` çalıştırırken `ENOENT` fırlatmasını önlemek için sistem algılama mekanizması eklenerek `process.platform === "win32"` ise `npx.cmd` çalıştırılması sağlandı.
61
- * Windows'ta Git satır sonlarından kaynaklanan binlerce ESLint hatasını önlemek için `eslint.config.js` altındaki `linebreak-style` kuralı kapatıldı (`linebreak-style: "off"`).
62
- 5. **🔒 Claude Code & Desktop Sandbox Uyumlu MCP Mimarisi:**
63
- * Claude Desktop ve Claude Code CLI'ın güvenlik yalıtımlarına (sandbox) uyum sağlamak amacıyla, MCP sunucusunun otonom çalışacağı aktif proje dizinini dinamik çözümleyen `ENDERUN_PROJECT_ROOT` ortam değişkeni altyapısı sisteme entegre edildi.
64
- * `claude` adaptörü kurulurken, Claude Desktop ve Claude Code CLI global yapılandırmalarını (`claude_desktop_config.json`, `~/.claude.json`) otomatik tarayarak MCP sunucusunu sisteme kaydeder.
31
+ ### 📦 Güncel Sürüm / Current Release
32
+
33
+ **v1.0.9** AL Enterprise Compliance kararlı sürüm (npm ile kurulum sonrası adapter remap'leri ve validator çağrıları dahil tam destek, cerrahi düzeltmelerle). Detaylı sürüm geçmişi git log ve önceki commit'lerde bulunur; kalıbımız (bilingual TR/EN yapı, tablolar, bölümler) korunmuştur.
65
34
 
66
35
  ---
67
36
 
@@ -81,18 +50,18 @@ Tüm operasyonlar, uzmanlık alanlarına göre ayrılmış ve Hermes protokolüy
81
50
 
82
51
  | Ajan | Uzmanlık Rolü | Temel Sorumluluğu |
83
52
  | :--- | :--- | :--- |
84
- | **`@manager`** | Komuta & Strateji | Görev dağılımı (DAG), hafıza yönetimi (`PROJECT_MEMORY.md`), anayasa koruyuculuğu. |
85
- | **`@quality`** | Kalite & Test Kapısı | AST zafiyet taramaları, anayasal uyum denetimi, kod inceleme checklistleri, test standartları kapısı, CI/CD kapsam denetimi. |
86
- | **`@database`** | Veritabanı Mimarisi | Veritabanı şemaları, migration kuralları, index optimizasyonları ve veri tohumlama (seeding). |
87
- | **`@backend`** | İş Mantığı (Domain Logic) | API tasarımı, branded types, katmanlı mimari (Route -> Controller -> Service -> Repository), audit günlüğü kontrolü. |
88
- | **`@frontend`** | Akıcı Responsive UI | Panda CSS tasarımı, responsive-first arayüzler, custom React kancaları, rollback disiplini yönetimi. |
89
- | **`@devops`** | Altyapı & Canlı Dağıtım | Native Node.js deploymentları, rollback planları, telemetri ve izleme (monitoring) kurulumları. |
90
- | **`@explorer`** | Kod Analizi & Keşif | Kod tabanı analizi, bağımlılık grafikleri, legacy onboarding stratejileri. |
91
- | **`@git`** | Sürüm Kontrolü | Trace ID uyumlu commit yönetimi, sürüm etiketleme ve dal (branch) hijyeni. |
92
- | **`@mobile`** | Mobil Geliştirme | Expo ve React Native tabanlı mobil arayüz geliştirme otomasyonları. |
93
- | **`@native`** | Native Masaüstü | Tauri ve Electron tabanlı yerel masaüstü uygulama entegrasyonları. |
94
- | **`@security`** | Sistem Güvenliği | Kimlik doğrulamaları, CSP kuralları, API anahtarı rotasyonları ve RLS yetkilendirme kapısı. |
95
- | **`@analyst`** | İş Analizi & Kontrat Sağlığı | Veritabanı kontrat doğrulaması, anayasal uyum denetimi ve bağımsız kalite analizleri. |
53
+ | **`@manager`** | Orchestration & Governance | Görev dağılımı (DAG), hafıza yönetimi (`PROJECT_MEMORY.md`), anayasa koruyuculuğu. |
54
+ | **`@quality`** | Automated Testing & Quality | AST zafiyet taramaları, anayasal uyum denetimi, kod inceleme checklistleri, test standartları kapısı. |
55
+ | **`@database`** | Database Migrations & Tuning | Veritabanı şemaları, migration kuralları, index optimizasyonları ve veri tohumlama (seeding). |
56
+ | **`@backend`** | Domain Logic & Databases | API tasarımı, branded types, katmanlı mimari (Route -> Controller -> Service -> Repository). |
57
+ | **`@frontend`** | Fluid Responsive UI | Panda CSS tasarımı, responsive-first arayüzler, custom React kancaları, rollback disiplini yönetimi. |
58
+ | **`@devops`** | Infrastructure & CI/CD | Native Node.js deploymentları, rollback planları, telemetri ve izleme (monitoring) kurulumları. |
59
+ | **`@explorer`** | Codebase Discovery | Kod tabanı analizi, bağımlılık grafikleri, legacy onboarding stratejileri. |
60
+ | **`@git`** | Version Control | Trace ID uyumlu commit yönetimi, sürüm etiketleme ve dal (branch) hijyeni. |
61
+ | **`@mobile`** | Mobile App | Expo ve React Native tabanlı mobil arayüz geliştirme otomasyonları. |
62
+ | **`@native`** | Native OS Integration | Tauri ve Electron tabanlı yerel masaüstü uygulama entegrasyonları. |
63
+ | **`@security`** | Security & Cryptography | Kimlik doğrulamaları, CSP kuralları, API anahtarı rotasyonları ve RLS yetkilendirme kapısı. |
64
+ | **`@analyst`** | Contract Verification | Veritabanı kontrat doğrulaması, anayasal uyum denetimi ve bağımsız kalite analizleri. |
96
65
 
97
66
  ---
98
67
 
@@ -102,7 +71,7 @@ Agent Enderun, otonom yazılım geliştirme süreçlerinde **bağlam driftini (c
102
71
 
103
72
  #### A. Katmanlı Bellek Modeli (Tiered Memory Model)
104
73
  Sistem, projenin ortak aklını ve ajanların özel seans bağlamlarını 3 farklı katmanda saklar:
105
- 1. **Ortak Proje Hafızası (`.enderun/PROJECT_MEMORY.md`):** Aktif fazı, benzersiz Trace ID'yi, kritik mimari kararları ve ordu çapındaki aktif görevleri (DAG) tutan projenin ortak SSOT beynidir.
74
+ 1. **Ortak Proje Hafızası (`.enderun/memory/PROJECT_MEMORY.md`):** Aktif fazı, benzersiz Trace ID'yi, kritik mimari kararları ve ordu çapındaki aktif görevleri (DAG) tutan projenin ortak SSOT beynidir.
106
75
  2. **Paylaşılan Genel Gerçekler (`memory-graph/shared-facts.json`):** Teknolojik stack tercihleri, aktif kodlama politikaları ve kontrat hash adresleri gibi statik verileri barındırır.
107
76
  3. **Özel Ajan Bellekleri (`memory-graph/agent-contexts/{agent}.json`):** Her uzman ajanın kendi geçmiş seans özetlerini, üstlendiği kararları ve üzerinde çalıştığı aktif geliştirme detaylarını tutan yalıtılmış bellek hücreleridir.
108
77
 
@@ -159,7 +128,7 @@ Enderun CLI, `agent-enderun` (veya `npx agent-enderun`) komutu ile yönetilir.
159
128
  * **`init [adapter] [--unified]`**: Seçilen adaptörü kurar. `--unified` kullanılırsa tüm asistan şimleri doğrudan `.enderun` altında birleşir; klasör kalabalığı sıfırlanır. Init sonrası **otomatik AL (Agent Lifecycle) validation** çalıştırılır.
160
129
  * **`status`**: Projenin aktif fazını (Phase 0 - 4), aktif Trace ID'sini ve uzman ajanların durumlarını listeler.
161
130
  * **`check`**: Anayasal uyumluluk denetimlerini + **otomatik AL Army Validation** (stateMachine + tags) gerçekleştirir.
162
- * **`validate` / `validate-army` / `check:al`**: Bağımsız Agent Lifecycle (AL) ordu validasyonu çalıştırır (`bin/validate-agent-army.js`).
131
+ * **`validate` / `validate-army` / `check:al`**: Bağımsız Agent Lifecycle (AL) ordu validasyonu çalıştırır (paketli validator script; `node bin/...` yerine bu CLI komutlarını kullanın, npm kurulumunda da çalışır).
163
132
  * **`trace:new [description]`**: Belirli bir geliştirme zinciri için yeni bir Trace ID (ULID) tetikler.
164
133
  * **`orchestrate` / `loop`**: Hermes Message Broker asenkron event-driven ajanlar arası iletişim döngüsünü canlı olarak başlatır.
165
134
  * **`verify-contract`**: Frontend ve backend katmanları arasındaki tip bütünlüğünü denetler.
@@ -197,7 +166,7 @@ npx agent-enderun init gemini --unified
197
166
 
198
167
  **Agent Enderun** is not a generic boilerplate generator or a simple AI wrapper; it is an elite, state-of-the-art **AI Governance and Autonomous Army Command System** designed for complex, scalable, and highly auditable enterprise software projects.
199
168
 
200
- As of **v1.0.6**, the system operates as a **"Living Engineering Organism"** capable of managing its own persistent memory, dynamically mapping project directory scopes, secure-logging expert agent activities, **automatically enforcing Agent Lifecycle (AL) compliance on every init**, and **fully complying with cross-platform (macOS & Windows) scripting and standard setups**.
169
+ Nihai temiz sürüm (v1.0.9 - Final Clean Release) operates as a **"Living Engineering Organism"** capable of managing its own persistent memory, dynamically mapping project directory scopes, secure-logging expert agent activities, **automatically enforcing Agent Lifecycle (AL) compliance on every init** (including after `npm install`), and **fully complying with cross-platform (macOS & Windows) scripting and standard setups**. Low-usage reference materials arranged (knowledge files, demo scripts, observability placeholders marked). Bloat removed. Optimized for complex corporate/enterprise projects via corporate-governance knowledge and SOPs.
201
170
 
202
171
  ---
203
172
 
@@ -206,48 +175,16 @@ As of **v1.0.6**, the system operates as a **"Living Engineering Organism"** cap
206
175
  As AI coding assistants (Claude Code, Gemini CLI, Grok Build, etc.) become increasingly powerful, software projects are prone to rapid architectural drift and token wastage. Agent Enderun solves these critical **enterprise AI challenges**:
207
176
 
208
177
  1. **Rogue AI Prevention (Surgical Edits):** It strictly prohibits agents from rewriting entire files. Instead, it forces them to execute micro-targeted changes via **`replace_text` / `patch_file` tools**, reducing API token consumption by up to 90%.
209
- 2. **Context Loss Prevention (SSOT Memory):** AI agents naturally lose project history across chats. Enderun seals all project milestones, decisions, and tasks into a self-pruning **`.enderun/PROJECT_MEMORY.md`** file, ensuring absolute context continuity.
178
+ 2. **Context Loss Prevention (SSOT Memory):** AI agents naturally lose project history across chats. Enderun seals all project milestones, decisions, and tasks into a self-pruning **`.enderun/memory/PROJECT_MEMORY.md`** file, ensuring absolute context continuity.
210
179
  3. **Contract-First Safety (Frontend-Backend Drift):** Before any user interface code is written, API models and branded types are sealed. The **autonomous** contract verification engine checks SHA-256 type definitions to prevent integration drifts.
211
180
  4. **Symmetric Orchestration (Hermes Protocol):** **12** specialized expert agents communicate via an asynchronous, event-driven message broker (**Hermes**), preventing chaotic, uncoordinated AI behavior.
212
181
  5. **Sandbox & Security Compliance:** Modern CLI agents (like Claude Code) restrict filesystem access. By keeping all configurations, task logs, and queues local (inside **`.enderun/`**, `.gemini/`, `.claude/`, `.grok/`, etc.) in the project workspace, Enderun runs with **zero sandbox violations**.
213
182
 
214
183
  ---
215
184
 
216
- ### 🚀 Key Improvements in Version v1.0.5 (Universal AI Synergy) Stable Release
217
-
218
- 1. **🛸 Antigravity Custom Agent, CLI & IDE Integration:**
219
- * Autonomously scaffolds `.agents/skills`, `.agents/rules`, and `.agents/workflows` directories along with local `mcp_config.json`. Generates the root `AGENTS.md` file automatically, ensuring full cross-platform compatibility and seamless custom agent discovery in the Antigravity CLI (`agy`) and IDE.
220
- 2. **🚀 Cursor IDE `.cursorrules` Support:**
221
- * Automatically scaffolds the root `.cursorrules` file to direct Cursor's AI Chat and Composer to comply fully with the Agent Enderun Constitution (`ENDERUN.md`) and persistant memory patterns.
222
- 3. **🩺 Smart Framework Directory Resolution:**
223
- * Fixed framework resolution candidates to dynamically prevent folder name collisions between the Antigravity config `.agents` and framework directories, ensuring `check` audits are 100% green.
224
-
225
- ### 🚀 Key Improvements in Version v1.0.6 (AL Enterprise Compliance) Stable Release
226
-
227
- 1. **🛡️ Agent Lifecycle (AL) Fully Automated Init & Validation:**
228
- * The `init` command now automatically executes a **dedicated post-init AL Army Validation** (`node bin/validate-agent-army.js`) after scaffolding, build and `check`. All 12 agents strictly comply with the official lifecycle schema (`stateMachine` + `tags`): IDLE → BRIEFED → EXECUTING → DONE / BLOCKED / WAITING / ERROR.
229
- 2. **🔧 New CLI Commands (Validate & AL-Focused):** Added `validate`, `validate-army` and `check:al`. The existing `check` command now automatically includes full AL validation. Updated `cli-commands.json` and built-in help text.
230
- 3. **🔍 Cross-Adapter AL Detection Hardening:**
231
- * `getFrameworkDir` and `bin/validate-agent-army.js` now intelligently detect `agents/`, `skills/` (antigravity adapter), `plugins/` (grok adapter) folders. Setups created with `init antigravity` are now 100% AL-compliant and verifiable.
232
- 4. **📚 Documentation & Improved Init Experience:**
233
- * Added "AL & Init Compatibility" section to `docs/getting-started.md`. `init` now prints an explicit AL note and runs the validation step automatically.
234
-
235
- ### 🚀 Key Improvements in Version v1.0.4 Stable Release
236
-
237
- 1. **🧠 Clutter-Free Unified Brain Architecture:**
238
- * Designed and implemented the **Unified Brain Architecture** that dynamically targets the centralized `.enderun/` directory for all platform shims (`gemini.md`, `claude.md`, `grok.md`) and memory queues when `--unified` is active or locked in `package.json`. This eliminates redundant folder clutter.
239
- * Restricted `.agents` folder creation exclusively to Antigravity environments, keeping Gemini, Claude, and Grok folder structures completely clean.
240
- 2. **🛸 Grok Build 12-Agent Capability & Empty Directory Patch:**
241
- * Surgically resolved empty plugins/agents directory gaps in Grok. Scaffolded files are now mirrored into both `.grok/plugins/` and `.grok/agents/` directories, delivering full 12-agent MD profiles and lifecycle schemas to Grok.
242
- 3. **⚡ Enterprise Type-Safety & Contract Synchronization:**
243
- * Surgically resolved the type-safety compilation gap where `apps/backend/src/types/constants.ts` was empty but logs and models attempted to import from it. Populated `constants.ts` with all required contract types (`ProjectPhase`, `ExecutionProfile`, `TaskPriority`, `TaskStatus`, `ActionType`, `ActionStatus`).
244
- * Patched `sanitizeJson` input parameter in `src/cli/utils/pkg.ts` to `unknown` type to match `SanitizeJsonFunction` contract in `copyDir` and fully resolve CLI compilation warnings.
245
- 4. **🏁 macOS & Windows Cross-Platform Compatibility Patches:**
246
- * Resolved Windows spawn `ENOENT` crashes by conditionally spawning `npx.cmd` instead of `npx` on Windows (`process.platform === "win32"`).
247
- * Disabled the strict `linebreak-style` ESLint rule in `eslint.config.js` (`linebreak-style: "off"`) to fully support CRLF line endings on Windows without throwing lint errors.
248
- 5. **🔒 Claude Sandbox-Compliant MCP Architecture:**
249
- * Integrated the `ENDERUN_PROJECT_ROOT` environment variable mapping, allowing the Model Context Protocol (MCP) server to dynamically resolve the target workspace root even when globally spawned by Claude Desktop.
250
- * Patched path resolution to look for macOS/Windows `claude_desktop_config.json` and Claude Code CLI global configuration `~/.claude.json`.
185
+ ### 📦 Current Release / Güncel Sürüm
186
+
187
+ **v1.0.9** AL Enterprise Compliance stable (full cross-adapter & npm install support for remaps + validator resolution, with surgical fixes). Detailed historical release notes are in git history; the bilingual TR/EN template, tables, and section mold are preserved.
251
188
 
252
189
  ---
253
190
 
@@ -267,18 +204,18 @@ All workspace operations are divided among 12 specialized expert agents connecte
267
204
 
268
205
  | Agent | Specialization Role | Core Responsibility |
269
206
  | :--- | :--- | :--- |
270
- | **`@manager`** | Command & Strategy | Task dependency graphs (DAG), memory pruning (`PROJECT_MEMORY.md`), constitution compliance. |
271
- | **`@quality`** | Quality & Test Gate | AST vulnerability scanning, constitutional audits, code review checklists, test standard gates, CI/CD coverage verification. |
272
- | **`@database`** | Database Architecture | Database schemas, migration workflows, query optimization, and contract-aware seeding. |
273
- | **`@backend`** | Domain Logic Specialist | API route design, branded types, layered architecture (Route -> Controller -> Service -> Repository), audit logging scan. |
207
+ | **`@manager`** | Orchestration & Governance | Task dependency graphs (DAG), memory pruning (`PROJECT_MEMORY.md`), constitution compliance. |
208
+ | **`@quality`** | Automated Testing & Quality | AST vulnerability scanning, constitutional audits, code review checklists, test standard gates. |
209
+ | **`@database`** | Database Migrations & Tuning | Database schemas, migration workflows, query optimization, and contract-aware seeding. |
210
+ | **`@backend`** | Domain Logic & Databases | API route design, branded types, layered architecture (Route -> Controller -> Service -> Repository). |
274
211
  | **`@frontend`** | Fluid Responsive UI | Panda CSS design, responsive-first interfaces, customized React hooks, rollback discipline management. |
275
- | **`@devops`** | Infrastructure Specialist | Native Node.js deployments, rollback plans, monitoring & logging setups. |
212
+ | **`@devops`** | Infrastructure & CI/CD | Native Node.js deployments, rollback plans, monitoring & logging setups. |
276
213
  | **`@explorer`** | Codebase Intelligence | Project analysis, dependency graph generation, legacy conversion strategies. |
277
214
  | **`@git`** | Version Control | Semantic Trace-ID-aligned commits, branch hygiene. |
278
- | **`@mobile`** | Mobile Development | React Native / Expo UI automation and native builds. |
279
- | **`@native`** | Desktop Engineering | Tauri and Electron desktop app integrations. |
280
- | **`@security`** | System Security | Security credentials, CSP configurations, API key rotations, and RLS authorization gate. |
281
- | **`@analyst`** | Requirement Analysis & Contract Health | Database contract verification, constitutional compliance audits, and independent quality analysis. |
215
+ | **`@mobile`** | Mobile App | React Native / Expo UI automation and native builds. |
216
+ | **`@native`** | Native OS Integration | Tauri and Electron desktop app integrations. |
217
+ | **`@security`** | Security & Cryptography | Security credentials, CSP configurations, API key rotations, and RLS authorization gate. |
218
+ | **`@analyst`** | Contract Verification | Database contract verification, constitutional compliance audits, and independent quality analysis. |
282
219
 
283
220
  ---
284
221
 
@@ -288,7 +225,7 @@ Agent Enderun utilizes a strongly-disciplined **Tiered Memory Model** and **Toke
288
225
 
289
226
  #### A. The Tiered Memory Model
290
227
  The framework manages shared project knowledge and isolated specialist history across 3 robust layers:
291
- 1. **Shared Project Memory (`.enderun/PROJECT_MEMORY.md`):** The project's shared SSOT (Single Source of Truth) brain containing the active phase, unique Trace ID, critical architectural decisions, and the army's active DAG tasks.
228
+ 1. **Shared Project Memory (`.enderun/memory/PROJECT_MEMORY.md`):** The project's shared SSOT (Single Source of Truth) brain containing the active phase, unique Trace ID, critical architectural decisions, and the army's active DAG tasks.
292
229
  2. **Shared General Facts (`memory-graph/shared-facts.json`):** Holds static declarations including the active technology stack, core policies, and sealed contract version hashes.
293
230
  3. **Private Agent Contexts (`memory-graph/agent-contexts/{agent}.json`):** Sandboxed memory files storing the recent execution state, specific choices, and targeted tasks completed by each specialist.
294
231
 
@@ -340,7 +277,7 @@ npx agent-enderun init antigravity
340
277
 
341
278
  ### 🕹️ CLI Command Reference
342
279
 
343
- > **New in v1.0.6:** `validate`, `validate-army`, `check:al` for dedicated Agent Lifecycle (AL) validation. `check` and `init` now automatically enforce AL compliance.
280
+ > **AL commands included:** `validate`, `validate-army`, `check:al` for dedicated Agent Lifecycle (AL) validation. `check` and `init` automatically enforce AL compliance (cross-adapter, npm installs supported).
344
281
 
345
282
  Execute commands via `agent-enderun` (or `npx agent-enderun`):
346
283
 
@@ -379,4 +316,4 @@ npx agent-enderun init gemini --unified
379
316
 
380
317
  ---
381
318
 
382
- Developed with absolute discipline | Developer **Yusuf BEKAR** | Framework Version **v1.0.6**
319
+ Developed with absolute discipline | Developer **Yusuf BEKAR** | Framework Version **v1.0.9 (Final Clean)** — Low-usage items arranged as reference-only. Bloat removed. Corporate-ready.
package/agent.md CHANGED
@@ -14,7 +14,7 @@ You are operating under the Agent Enderun governance framework.
14
14
 
15
15
  At the **start of every session**, before any work:
16
16
  1. **Restore Memory:** Read `.enderun/PROJECT_MEMORY.md` to restore state, active Trace ID, and history.
17
- 2. **Load Identity:** Read the relevant agent definition under `.enderun/agents/{agent}.md` (default to `@manager`).
17
+ 2. **Load Identity:** Read the relevant agent definition under `.enderun/agents/{agent}.json` (default to `@manager`).
18
18
  3. **Internalize Knowledge:** Reference the `.enderun/knowledge/` base for architectural and coding standards.
19
19
 
20
20
  ### 🛡️ Core Mandates
@@ -1,5 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ /**
4
+ * Agent Enderun — Hermes Protocol Stateful Simulation Sandbox
5
+ *
6
+ * 📌 Low-usage demo / reference tool.
7
+ * Not part of main CLI runtime or published command set.
8
+ * Used for demonstrating protocol concepts (delegation, high-risk flows).
9
+ * Load/execute on-demand for testing or training.
10
+ */
11
+
3
12
  /**
4
13
  * Agent Enderun — Hermes Protocol Stateful Simulation Sandbox
5
14
  *
package/bin/init-check.js CHANGED
@@ -1,5 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ /**
4
+ * Agent Enderun — Init Validation Helper
5
+ *
6
+ * 📌 Low-usage dev/reference script.
7
+ * Not wired into main `agent-enderun` CLI commands.
8
+ * Use for manual post-init validation during development or testing.
9
+ * See `src/cli/commands/check.ts` and `bin/validate-agent-army.js` for primary paths.
10
+ */
11
+
3
12
  import fs from "fs";
4
13
  import path from "path";
5
14
 
@@ -8,26 +8,24 @@ import path from "path";
8
8
  * - .enderun/agents/ or .agent/skills/ or .grok/plugins/ etc.
9
9
  */
10
10
  const AGENT_FOLDER_NAMES = ["agents", "skills", "plugins"];
11
-
12
11
  const FRAMEWORK_CANDIDATES = [
12
+ ".enderun",
13
13
  ".gemini/antigravity",
14
14
  ".gemini/antigravity-cli",
15
15
  ".gemini",
16
16
  ".claude",
17
17
  ".grok",
18
18
  ".agent",
19
- ".enderun",
20
- ".agents",
21
- ".cursor",
19
+ ".agents"
22
20
  ];
23
21
 
24
22
  /**
25
23
  * Robust detection that works no matter which adapter was used with `init`.
26
- * Returns the actual location of the army .md files + the army schema.
27
24
  */
28
25
  function detectFrameworkDir() {
26
+ const projectRoot = process.cwd();
29
27
  for (const dir of FRAMEWORK_CANDIDATES) {
30
- const dirPath = path.resolve(dir);
28
+ const dirPath = path.resolve(projectRoot, dir);
31
29
  if (!fs.existsSync(dirPath)) continue;
32
30
 
33
31
  for (const folderName of AGENT_FOLDER_NAMES) {
@@ -53,33 +51,23 @@ function detectFrameworkDir() {
53
51
  return { frameworkDir: dir, agentsDir: agentsPath, schemaPath };
54
52
  }
55
53
  }
56
-
57
- // Rare: .md files directly in the framework root
58
- const directMds = fs.readdirSync(dirPath).filter(f => f.endsWith(".md") && !f.startsWith("AGENTS"));
59
- if (directMds.length > 0) {
60
- const schemaPath = path.join(dirPath, "agent_army_schema.json");
61
- if (fs.existsSync(schemaPath)) {
62
- return { frameworkDir: dir, agentsDir: dirPath, schemaPath };
63
- }
64
- }
65
54
  }
66
55
  return null;
67
56
  }
68
57
 
69
- function findSchemaRecursive(startDir) {
58
+ function findSchemaRecursive(dirPath) {
70
59
  try {
71
- const entries = fs.readdirSync(startDir, { withFileTypes: true });
60
+ const entries = fs.readdirSync(dirPath, { withFileTypes: true });
72
61
  for (const entry of entries) {
73
- const full = path.join(startDir, entry.name);
74
- if (entry.isDirectory()) {
75
- if (entry.name === "node_modules" || entry.name === "dist") continue;
62
+ const full = path.join(dirPath, entry.name);
63
+ if (entry.isDirectory() && !entry.name.startsWith(".")) {
76
64
  const found = findSchemaRecursive(full);
77
65
  if (found) return found;
78
66
  } else if (entry.name === "agent_army_schema.json") {
79
67
  return full;
80
68
  }
81
69
  }
82
- } catch {}
70
+ } catch { /* ignore: non-critical file system access issues during recursive search */ }
83
71
  return null;
84
72
  }
85
73
 
@@ -89,98 +77,52 @@ if (!detected) {
89
77
  process.exit(1);
90
78
  }
91
79
 
92
- const { frameworkDir, agentsDir, schemaPath } = detected;
93
-
94
- console.log(`🛡️ STARTING AUTOMATED AGENT ARMY VALIDATION (${frameworkDir})...`);
95
- console.log(` Agents: ${agentsDir}`);
96
- console.log(` Schema: ${schemaPath}`);
80
+ const { agentsDir, schemaPath } = detected;
97
81
 
98
82
  try {
99
- const schema = JSON.parse(fs.readFileSync(schemaPath, "utf8"));
100
- const requiredKeys = schema.required || ["name", "description"];
83
+ fs.readFileSync(schemaPath, "utf8");
101
84
  const files = fs.readdirSync(agentsDir);
85
+
102
86
  let totalFailed = 0;
103
87
 
88
+ console.log(`🛡️ STARTING AUTOMATED AGENT ARMY VALIDATION (${detected.frameworkDir})...`);
89
+ console.log(` Agents: ${agentsDir}`);
90
+ console.log(` Schema: ${schemaPath}`);
104
91
  console.log("--------------------------------------------------");
105
92
  console.log("| Agent ID | Status | Score | Category |");
106
93
  console.log("--------------------------------------------------");
107
94
 
108
95
  for (const fileName of files) {
109
- if (!fileName.endsWith(".md")) continue;
96
+ if (fileName === "agent_army_schema.json") continue;
97
+ if (!fileName.endsWith(".json")) continue;
98
+
110
99
  const filePath = path.join(agentsDir, fileName);
111
100
  const content = fs.readFileSync(filePath, "utf8");
112
101
 
113
- const match = content.match(/^---\n([\s\S]*?)\n---/);
114
- if (!match) {
115
- console.log(`| ${fileName.padEnd(9)} | ❌ NO YAML | ----- | ---------------- |`);
102
+ let agent;
103
+ try {
104
+ agent = JSON.parse(content);
105
+ } catch (e) {
106
+ console.log(`| ${fileName.padEnd(9)} | ❌ INVALID JSON | ----- | ${String(e).slice(0, 16)} |`);
116
107
  totalFailed++;
117
108
  continue;
118
109
  }
119
110
 
120
- const yamlContent = match[1];
121
- const agent = {};
122
- yamlContent.split("\n").forEach((line) => {
123
- const [key, ...valParts] = line.split(":");
124
- if (key && valParts.length > 0) {
125
- const k = key.trim();
126
- let val = valParts.join(":").trim();
127
- if (val.startsWith("[") && val.endsWith("]")) {
128
- try { val = JSON.parse(val.replace(/'/g, "\"")); } catch { /* ignore */ }
129
- } else if (val === "") {
130
- val = {};
131
- }
132
- if (typeof val === "string" && !isNaN(val) && val !== "") {
133
- agent[k] = Number(val);
134
- } else {
135
- agent[k] = val;
136
- }
137
- }
138
- });
139
-
140
- // AL fields (stateMachine + tags) – the key part of this validator
141
- if (yamlContent.includes("stateMachine:") && yamlContent.includes("schemaRef:")) {
142
- const schemaMatch = yamlContent.match(/schemaRef:\s*"(.*)"/);
143
- if (schemaMatch) {
144
- agent.stateMachine = { schemaRef: schemaMatch[1] };
145
- }
146
- }
147
-
148
- if (typeof agent.tags === "string" && agent.tags.startsWith("[")) {
149
- try { agent.tags = JSON.parse(agent.tags.replace(/'/g, "\"")); } catch { /* ignore */ }
150
- }
151
-
152
- if (agent.name === undefined) {
153
- const nameMatch = yamlContent.match(/name:\s*(.*)/);
154
- if (nameMatch) agent.name = nameMatch[1].trim().replace(/^['"]|['"]$/g, "");
155
- }
156
-
157
- // Registry cross-check (optional but nice)
158
- const registryPath = path.resolve(frameworkDir, "registry/agents.yaml");
159
- let registryApproved = true;
160
- if (fs.existsSync(registryPath)) {
161
- const registry = fs.readFileSync(registryPath, "utf8");
162
- if (!registry.includes(`name: ${agent.name}`)) {
163
- registryApproved = false;
164
- }
165
- }
166
-
167
- const missing = requiredKeys.filter((k) => agent[k] === undefined);
168
- if (!registryApproved) missing.push("Registry (not found)");
169
-
170
- if (agent.stateMachine && typeof agent.stateMachine !== "object") {
171
- missing.push("stateMachine (invalid)");
172
- }
173
- if (!agent.tags || !Array.isArray(agent.tags)) {
174
- missing.push("tags (missing)");
175
- }
111
+ // Validate basic required fields for AL compliance
112
+ const missing = [];
113
+ if (!agent.name) missing.push("name");
114
+ if (!agent.role) missing.push("role");
115
+ if (agent.capability === undefined) missing.push("capability");
116
+ if (!agent.stateMachine || !agent.stateMachine.schemaRef) missing.push("stateMachine");
117
+ if (!agent.tags || !Array.isArray(agent.tags)) missing.push("tags");
176
118
 
177
119
  if (missing.length > 0) {
178
- console.log(`| ${fileName.replace(".md", "").padEnd(9)} | ❌ FAILED | ----- | ${missing.join(",").slice(0, 16)} |`);
120
+ console.log(`| ${fileName.padEnd(9)} | ❌ FAILED | ----- | ${missing.join(",").slice(0, 15)} |`);
179
121
  totalFailed++;
180
122
  } else {
181
- const displayCap = agent.capability || "-";
182
- const displayRole = (agent.role || agent.name || "").substring(0, 14);
183
- console.log(`| ${agent.name.padEnd(9)} | ✅ PASSED | ${String(displayCap).padEnd(5)} | ${displayRole.padEnd(14)} |`);
123
+ const category = (agent.tags[0] || "core").padEnd(14);
124
+ const score = String(agent.capability || 0).padStart(5);
125
+ console.log(`| ${agent.name.padEnd(9)} | ✅ PASSED | ${score} | ${category} |`);
184
126
  }
185
127
  }
186
128
 
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Agent Enderun Shared Contracts
3
+ */
4
+ export type UserID = string & {
5
+ __brand: "UserID";
6
+ };
7
+ export type TraceID = string & {
8
+ __brand: "TraceID";
9
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Agent Enderun Shared Contracts
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../apps/backend/src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import ReactDOM from "react-dom/client";
3
+ const rootElement = document.getElementById("root");
4
+ if (rootElement) {
5
+ ReactDOM.createRoot(rootElement).render(<React.StrictMode>
6
+ <h1>Agent Enderun Web Active</h1>
7
+ </React.StrictMode>);
8
+ }
9
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.js","sourceRoot":"","sources":["../../../../apps/web/src/main.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AAExC,MAAM,WAAW,GAAG,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;AACpD,IAAI,WAAW,EAAE,CAAC;IACd,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,MAAM,CACnC,CAAC,KAAK,CAAC,UAAU,CACb;YAAA,CAAC,EAAE,CAAC,wBAAwB,EAAE,EAAE,CACpC;QAAA,EAAE,KAAK,CAAC,UAAU,CAAC,CACtB,CAAC;AACN,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { defineConfig } from "vite";
2
+ import react from "@vitejs/plugin-react";
3
+ export default defineConfig({
4
+ plugins: [react()],
5
+ });
6
+ //# sourceMappingURL=vite.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vite.config.js","sourceRoot":"","sources":["../../../apps/web/vite.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,KAAK,MAAM,sBAAsB,CAAC;AAEzC,eAAe,YAAY,CAAC;IACxB,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC;CACrB,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,71 @@
1
+ import { Server } from "@modelcontextprotocol/sdk/server/index.js";
2
+ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
3
+ import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
4
+ import { TOOLS, toolHandlers } from "./tools/index.js";
5
+ // ─── Server Setup ─────────────────────────────────────────────────
6
+ const server = new Server({
7
+ name: "@agent-enderun/mcp",
8
+ version: "1.0.9",
9
+ }, {
10
+ capabilities: {
11
+ tools: {},
12
+ },
13
+ });
14
+ server.setRequestHandler(ListToolsRequestSchema, async () => {
15
+ return { tools: TOOLS };
16
+ });
17
+ server.setRequestHandler(CallToolRequestSchema, async (request) => {
18
+ const typedRequest = request;
19
+ const { name, arguments: args } = typedRequest.params;
20
+ const projectRoot = process.env.ENDERUN_PROJECT_ROOT || process.cwd();
21
+ try {
22
+ const handler = toolHandlers[name];
23
+ if (!handler) {
24
+ return {
25
+ isError: true,
26
+ content: [{ type: "text", text: `Unknown tool: ${name}` }],
27
+ };
28
+ }
29
+ return handler(projectRoot, args || {});
30
+ }
31
+ catch (error) {
32
+ const message = error instanceof Error ? error.message : "Unknown error occurred";
33
+ return {
34
+ isError: true,
35
+ content: [{ type: "text", text: message }],
36
+ };
37
+ }
38
+ });
39
+ // ─── Graceful Startup & Shutdown ──────────────────────────────────
40
+ async function run() {
41
+ const transport = new StdioServerTransport();
42
+ // Prevent unhandled errors from crashing the MCP stream
43
+ process.on("uncaughtException", (error) => {
44
+ process.stderr.write(`[agent-enderun-mcp] Uncaught exception: ${error.message}
45
+ `);
46
+ });
47
+ process.on("unhandledRejection", (reason) => {
48
+ const message = reason instanceof Error ? reason.message : String(reason);
49
+ process.stderr.write(`[agent-enderun-mcp] Unhandled rejection: ${message}
50
+ `);
51
+ });
52
+ // Graceful shutdown on SIGINT/SIGTERM
53
+ const shutdown = async () => {
54
+ try {
55
+ await server.close();
56
+ }
57
+ catch {
58
+ // Already closed or failed — safe to ignore
59
+ }
60
+ process.exit(0);
61
+ };
62
+ process.on("SIGINT", shutdown);
63
+ process.on("SIGTERM", shutdown);
64
+ await server.connect(transport);
65
+ }
66
+ run().catch((error) => {
67
+ process.stderr.write(`[agent-enderun-mcp] Fatal startup error: ${error.message}
68
+ `);
69
+ process.exit(1);
70
+ });
71
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../framework-mcp/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACH,qBAAqB,EACrB,sBAAsB,GACzB,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGvD,qEAAqE;AAErE,MAAM,MAAM,GAAG,IAAI,MAAM,CACrB;IACI,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;CACnB,EACD;IACI,YAAY,EAAE;QACV,KAAK,EAAE,EAAE;KACZ;CACJ,CACJ,CAAC;AAEF,MAAM,CAAC,iBAAiB,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACxD,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,iBAAiB,CAAC,qBAAqB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;IAC9D,MAAM,YAAY,GAAG,OAA0B,CAAC;IAChD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,MAAM,CAAC;IACtD,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;IAEtE,IAAI,CAAC;QACD,MAAM,OAAO,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;QACnC,IAAI,CAAC,OAAO,EAAE,CAAC;YACX,OAAO;gBACH,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,iBAAiB,IAAI,EAAE,EAAE,CAAC;aACtE,CAAC;QACN,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IAC5C,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACtB,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,wBAAwB,CAAC;QAClF,OAAO;YACH,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;SACtD,CAAC;IACN,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,qEAAqE;AAErE,KAAK,UAAU,GAAG;IACd,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAE7C,wDAAwD;IACxD,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,KAAY,EAAE,EAAE;QAC7C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,2CAA2C,KAAK,CAAC,OAAO;CACpF,CAAC,CAAC;IACC,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,EAAE,CAAC,oBAAoB,EAAE,CAAC,MAAe,EAAE,EAAE;QACjD,MAAM,OAAO,GAAG,MAAM,YAAY,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC1E,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,4CAA4C,OAAO;CAC/E,CAAC,CAAC;IACC,CAAC,CAAC,CAAC;IAEH,sCAAsC;IACtC,MAAM,QAAQ,GAAG,KAAK,IAAI,EAAE;QACxB,IAAI,CAAC;YACD,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;QACzB,CAAC;QAAC,MAAM,CAAC;YACL,4CAA4C;QAChD,CAAC;QACD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC,CAAC;IACF,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;IAEhC,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AACpC,CAAC;AAED,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,KAAY,EAAE,EAAE;IACzB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,4CAA4C,KAAK,CAAC,OAAO;CACjF,CAAC,CAAC;IACC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { ToolDefinition } from "../tools/types.js";
2
+ export declare const TOOLS: ToolDefinition[];