agent-enderun 0.9.1 → 0.9.3

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 (262) hide show
  1. package/.enderun/PROJECT_MEMORY.md +6 -23
  2. package/.enderun/STATUS.md +2 -2
  3. package/.enderun/agents/backend.md +1 -0
  4. package/.enderun/agents/frontend.md +2 -1
  5. package/.enderun/agents/manager.md +1 -1
  6. package/.enderun/agents/quality.md +2 -0
  7. package/.enderun/config.json +1 -1
  8. package/README.md +51 -61
  9. package/framework-mcp/dist/index.js +58 -1
  10. package/framework-mcp/node_modules/@types/node/LICENSE +21 -0
  11. package/framework-mcp/node_modules/@types/node/README.md +15 -0
  12. package/framework-mcp/node_modules/@types/node/assert/strict.d.ts +111 -0
  13. package/framework-mcp/node_modules/@types/node/assert.d.ts +1078 -0
  14. package/framework-mcp/node_modules/@types/node/async_hooks.d.ts +603 -0
  15. package/framework-mcp/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  16. package/framework-mcp/node_modules/@types/node/buffer.d.ts +1934 -0
  17. package/framework-mcp/node_modules/@types/node/child_process.d.ts +1476 -0
  18. package/framework-mcp/node_modules/@types/node/cluster.d.ts +578 -0
  19. package/framework-mcp/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
  20. package/framework-mcp/node_modules/@types/node/compatibility/index.d.ts +9 -0
  21. package/framework-mcp/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  22. package/framework-mcp/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
  23. package/framework-mcp/node_modules/@types/node/console.d.ts +452 -0
  24. package/framework-mcp/node_modules/@types/node/constants.d.ts +21 -0
  25. package/framework-mcp/node_modules/@types/node/crypto.d.ts +4545 -0
  26. package/framework-mcp/node_modules/@types/node/dgram.d.ts +600 -0
  27. package/framework-mcp/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  28. package/framework-mcp/node_modules/@types/node/dns/promises.d.ts +503 -0
  29. package/framework-mcp/node_modules/@types/node/dns.d.ts +923 -0
  30. package/framework-mcp/node_modules/@types/node/domain.d.ts +170 -0
  31. package/framework-mcp/node_modules/@types/node/events.d.ts +976 -0
  32. package/framework-mcp/node_modules/@types/node/fs/promises.d.ts +1295 -0
  33. package/framework-mcp/node_modules/@types/node/fs.d.ts +4461 -0
  34. package/framework-mcp/node_modules/@types/node/globals.d.ts +172 -0
  35. package/framework-mcp/node_modules/@types/node/globals.typedarray.d.ts +38 -0
  36. package/framework-mcp/node_modules/@types/node/http.d.ts +2089 -0
  37. package/framework-mcp/node_modules/@types/node/http2.d.ts +2721 -0
  38. package/framework-mcp/node_modules/@types/node/https.d.ts +579 -0
  39. package/framework-mcp/node_modules/@types/node/index.d.ts +97 -0
  40. package/framework-mcp/node_modules/@types/node/inspector.d.ts +253 -0
  41. package/framework-mcp/node_modules/@types/node/inspector.generated.d.ts +4052 -0
  42. package/framework-mcp/node_modules/@types/node/module.d.ts +891 -0
  43. package/framework-mcp/node_modules/@types/node/net.d.ts +1076 -0
  44. package/framework-mcp/node_modules/@types/node/os.d.ts +506 -0
  45. package/framework-mcp/node_modules/@types/node/package.json +145 -0
  46. package/framework-mcp/node_modules/@types/node/path.d.ts +200 -0
  47. package/framework-mcp/node_modules/@types/node/perf_hooks.d.ts +968 -0
  48. package/framework-mcp/node_modules/@types/node/process.d.ts +2084 -0
  49. package/framework-mcp/node_modules/@types/node/punycode.d.ts +117 -0
  50. package/framework-mcp/node_modules/@types/node/querystring.d.ts +152 -0
  51. package/framework-mcp/node_modules/@types/node/readline/promises.d.ts +161 -0
  52. package/framework-mcp/node_modules/@types/node/readline.d.ts +594 -0
  53. package/framework-mcp/node_modules/@types/node/repl.d.ts +428 -0
  54. package/framework-mcp/node_modules/@types/node/sea.d.ts +153 -0
  55. package/framework-mcp/node_modules/@types/node/sqlite.d.ts +721 -0
  56. package/framework-mcp/node_modules/@types/node/stream/consumers.d.ts +38 -0
  57. package/framework-mcp/node_modules/@types/node/stream/promises.d.ts +90 -0
  58. package/framework-mcp/node_modules/@types/node/stream/web.d.ts +622 -0
  59. package/framework-mcp/node_modules/@types/node/stream.d.ts +1687 -0
  60. package/framework-mcp/node_modules/@types/node/string_decoder.d.ts +67 -0
  61. package/framework-mcp/node_modules/@types/node/test.d.ts +2163 -0
  62. package/framework-mcp/node_modules/@types/node/timers/promises.d.ts +108 -0
  63. package/framework-mcp/node_modules/@types/node/timers.d.ts +287 -0
  64. package/framework-mcp/node_modules/@types/node/tls.d.ts +1319 -0
  65. package/framework-mcp/node_modules/@types/node/trace_events.d.ts +197 -0
  66. package/framework-mcp/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  67. package/framework-mcp/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
  68. package/framework-mcp/node_modules/@types/node/ts5.6/index.d.ts +97 -0
  69. package/framework-mcp/node_modules/@types/node/tty.d.ts +208 -0
  70. package/framework-mcp/node_modules/@types/node/url.d.ts +984 -0
  71. package/framework-mcp/node_modules/@types/node/util.d.ts +2606 -0
  72. package/framework-mcp/node_modules/@types/node/v8.d.ts +920 -0
  73. package/framework-mcp/node_modules/@types/node/vm.d.ts +1000 -0
  74. package/framework-mcp/node_modules/@types/node/wasi.d.ts +181 -0
  75. package/framework-mcp/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  76. package/framework-mcp/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  77. package/framework-mcp/node_modules/@types/node/web-globals/events.d.ts +97 -0
  78. package/framework-mcp/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
  79. package/framework-mcp/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
  80. package/framework-mcp/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  81. package/framework-mcp/node_modules/@types/node/worker_threads.d.ts +784 -0
  82. package/framework-mcp/node_modules/@types/node/zlib.d.ts +747 -0
  83. package/framework-mcp/node_modules/typescript/LICENSE.txt +55 -0
  84. package/framework-mcp/node_modules/typescript/README.md +50 -0
  85. package/framework-mcp/node_modules/typescript/SECURITY.md +41 -0
  86. package/framework-mcp/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  87. package/framework-mcp/node_modules/typescript/bin/tsc +2 -0
  88. package/framework-mcp/node_modules/typescript/bin/tsserver +2 -0
  89. package/framework-mcp/node_modules/typescript/lib/_tsc.js +133818 -0
  90. package/framework-mcp/node_modules/typescript/lib/_tsserver.js +659 -0
  91. package/framework-mcp/node_modules/typescript/lib/_typingsInstaller.js +222 -0
  92. package/framework-mcp/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
  93. package/framework-mcp/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
  94. package/framework-mcp/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
  95. package/framework-mcp/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
  96. package/framework-mcp/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
  97. package/framework-mcp/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
  98. package/framework-mcp/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
  99. package/framework-mcp/node_modules/typescript/lib/lib.d.ts +22 -0
  100. package/framework-mcp/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
  101. package/framework-mcp/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  102. package/framework-mcp/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  103. package/framework-mcp/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
  104. package/framework-mcp/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
  105. package/framework-mcp/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  106. package/framework-mcp/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  107. package/framework-mcp/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  108. package/framework-mcp/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  109. package/framework-mcp/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
  110. package/framework-mcp/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  111. package/framework-mcp/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  112. package/framework-mcp/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  113. package/framework-mcp/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  114. package/framework-mcp/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  115. package/framework-mcp/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  116. package/framework-mcp/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  117. package/framework-mcp/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  118. package/framework-mcp/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  119. package/framework-mcp/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  120. package/framework-mcp/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
  121. package/framework-mcp/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  122. package/framework-mcp/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  123. package/framework-mcp/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  124. package/framework-mcp/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  125. package/framework-mcp/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  126. package/framework-mcp/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  127. package/framework-mcp/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  128. package/framework-mcp/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  129. package/framework-mcp/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  130. package/framework-mcp/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  131. package/framework-mcp/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  132. package/framework-mcp/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  133. package/framework-mcp/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  134. package/framework-mcp/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  135. package/framework-mcp/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  136. package/framework-mcp/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  137. package/framework-mcp/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  138. package/framework-mcp/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  139. package/framework-mcp/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  140. package/framework-mcp/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  141. package/framework-mcp/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  142. package/framework-mcp/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  143. package/framework-mcp/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  144. package/framework-mcp/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  145. package/framework-mcp/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  146. package/framework-mcp/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  147. package/framework-mcp/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  148. package/framework-mcp/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  149. package/framework-mcp/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  150. package/framework-mcp/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  151. package/framework-mcp/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  152. package/framework-mcp/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  153. package/framework-mcp/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  154. package/framework-mcp/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  155. package/framework-mcp/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  156. package/framework-mcp/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  157. package/framework-mcp/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  158. package/framework-mcp/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  159. package/framework-mcp/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  160. package/framework-mcp/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  161. package/framework-mcp/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  162. package/framework-mcp/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
  163. package/framework-mcp/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  164. package/framework-mcp/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  165. package/framework-mcp/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  166. package/framework-mcp/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  167. package/framework-mcp/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  168. package/framework-mcp/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  169. package/framework-mcp/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  170. package/framework-mcp/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  171. package/framework-mcp/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  172. package/framework-mcp/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  173. package/framework-mcp/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  174. package/framework-mcp/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  175. package/framework-mcp/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
  176. package/framework-mcp/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
  177. package/framework-mcp/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
  178. package/framework-mcp/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
  179. package/framework-mcp/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
  180. package/framework-mcp/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
  181. package/framework-mcp/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  182. package/framework-mcp/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  183. package/framework-mcp/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
  184. package/framework-mcp/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
  185. package/framework-mcp/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  186. package/framework-mcp/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  187. package/framework-mcp/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
  188. package/framework-mcp/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
  189. package/framework-mcp/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  190. package/framework-mcp/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  191. package/framework-mcp/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  192. package/framework-mcp/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  193. package/framework-mcp/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
  194. package/framework-mcp/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  195. package/framework-mcp/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  196. package/framework-mcp/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
  197. package/framework-mcp/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  198. package/framework-mcp/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
  199. package/framework-mcp/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
  200. package/framework-mcp/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
  201. package/framework-mcp/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
  202. package/framework-mcp/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
  203. package/framework-mcp/node_modules/typescript/lib/tsc.js +8 -0
  204. package/framework-mcp/node_modules/typescript/lib/tsserver.js +8 -0
  205. package/framework-mcp/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  206. package/framework-mcp/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  207. package/framework-mcp/node_modules/typescript/lib/typesMap.json +497 -0
  208. package/framework-mcp/node_modules/typescript/lib/typescript.d.ts +11437 -0
  209. package/framework-mcp/node_modules/typescript/lib/typescript.js +200276 -0
  210. package/framework-mcp/node_modules/typescript/lib/typingsInstaller.js +8 -0
  211. package/framework-mcp/node_modules/typescript/lib/watchGuard.js +53 -0
  212. package/framework-mcp/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
  213. package/framework-mcp/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
  214. package/framework-mcp/node_modules/typescript/package.json +120 -0
  215. package/framework-mcp/node_modules/undici-types/LICENSE +21 -0
  216. package/framework-mcp/node_modules/undici-types/README.md +6 -0
  217. package/framework-mcp/node_modules/undici-types/agent.d.ts +31 -0
  218. package/framework-mcp/node_modules/undici-types/api.d.ts +43 -0
  219. package/framework-mcp/node_modules/undici-types/balanced-pool.d.ts +29 -0
  220. package/framework-mcp/node_modules/undici-types/cache.d.ts +36 -0
  221. package/framework-mcp/node_modules/undici-types/client.d.ts +108 -0
  222. package/framework-mcp/node_modules/undici-types/connector.d.ts +34 -0
  223. package/framework-mcp/node_modules/undici-types/content-type.d.ts +21 -0
  224. package/framework-mcp/node_modules/undici-types/cookies.d.ts +28 -0
  225. package/framework-mcp/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  226. package/framework-mcp/node_modules/undici-types/dispatcher.d.ts +256 -0
  227. package/framework-mcp/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  228. package/framework-mcp/node_modules/undici-types/errors.d.ts +149 -0
  229. package/framework-mcp/node_modules/undici-types/eventsource.d.ts +61 -0
  230. package/framework-mcp/node_modules/undici-types/fetch.d.ts +209 -0
  231. package/framework-mcp/node_modules/undici-types/file.d.ts +39 -0
  232. package/framework-mcp/node_modules/undici-types/filereader.d.ts +54 -0
  233. package/framework-mcp/node_modules/undici-types/formdata.d.ts +108 -0
  234. package/framework-mcp/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  235. package/framework-mcp/node_modules/undici-types/global-origin.d.ts +7 -0
  236. package/framework-mcp/node_modules/undici-types/handlers.d.ts +15 -0
  237. package/framework-mcp/node_modules/undici-types/header.d.ts +4 -0
  238. package/framework-mcp/node_modules/undici-types/index.d.ts +71 -0
  239. package/framework-mcp/node_modules/undici-types/interceptors.d.ts +17 -0
  240. package/framework-mcp/node_modules/undici-types/mock-agent.d.ts +50 -0
  241. package/framework-mcp/node_modules/undici-types/mock-client.d.ts +25 -0
  242. package/framework-mcp/node_modules/undici-types/mock-errors.d.ts +12 -0
  243. package/framework-mcp/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  244. package/framework-mcp/node_modules/undici-types/mock-pool.d.ts +25 -0
  245. package/framework-mcp/node_modules/undici-types/package.json +55 -0
  246. package/framework-mcp/node_modules/undici-types/patch.d.ts +33 -0
  247. package/framework-mcp/node_modules/undici-types/pool-stats.d.ts +19 -0
  248. package/framework-mcp/node_modules/undici-types/pool.d.ts +39 -0
  249. package/framework-mcp/node_modules/undici-types/proxy-agent.d.ts +28 -0
  250. package/framework-mcp/node_modules/undici-types/readable.d.ts +65 -0
  251. package/framework-mcp/node_modules/undici-types/retry-agent.d.ts +8 -0
  252. package/framework-mcp/node_modules/undici-types/retry-handler.d.ts +116 -0
  253. package/framework-mcp/node_modules/undici-types/util.d.ts +18 -0
  254. package/framework-mcp/node_modules/undici-types/webidl.d.ts +228 -0
  255. package/framework-mcp/node_modules/undici-types/websocket.d.ts +150 -0
  256. package/framework-mcp/package.json +1 -1
  257. package/framework-mcp/src/declarations.d.ts +3 -0
  258. package/framework-mcp/src/index.ts +300 -0
  259. package/package.json +3 -3
  260. package/src/cli/adapters.ts +2 -0
  261. package/src/cli/commands/contract.ts +40 -0
  262. package/src/cli/index.ts +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-enderun",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "The Supreme AI Governance & Orchestration Framework for Enterprise Development",
5
5
  "author": "Yusuf BEKAR",
6
6
  "license": "MIT",
@@ -34,8 +34,7 @@
34
34
  "bin",
35
35
  "src",
36
36
  "dist",
37
- "framework-mcp/dist",
38
- "framework-mcp/package.json",
37
+ "framework-mcp",
39
38
  ".enderun",
40
39
  "ENDERUN.md",
41
40
  "README.md",
@@ -57,6 +56,7 @@
57
56
  "enderun:status": "agent-enderun status",
58
57
  "enderun:trace": "agent-enderun trace:new",
59
58
  "enderun:verify": "agent-enderun verify-contract",
59
+ "enderun:update-contract": "agent-enderun update-contract",
60
60
  "enderun:check": "agent-enderun check",
61
61
  "enderun:lint": "eslint .",
62
62
  "lint": "eslint .",
@@ -59,6 +59,8 @@ export const ADAPTERS: Record<AdapterId, AdapterConfig> = {
59
59
  * and internal standards for Antigravity (.gemini/antigravity/).
60
60
  */
61
61
  export const FRAMEWORK_DIR_CANDIDATES = [
62
+ ".gemini/antigravity",
63
+ ".gemini/antigravity-cli",
62
64
  ".gemini",
63
65
  ".claude",
64
66
  ".agent",
@@ -43,3 +43,43 @@ export function verifyApiContractCommand() {
43
43
  process.exit(1);
44
44
  }
45
45
  }
46
+
47
+ /**
48
+ * Update and synchronize type safety between backend and frontend contracts.
49
+ */
50
+ export function updateApiContractCommand() {
51
+ const projectRoot = process.cwd();
52
+ const pathsMap = getConfiguredPaths();
53
+ const sharedDir = path.join(projectRoot, pathsMap.backend, "src/types");
54
+ const contractPath = path.join(projectRoot, pathsMap.backend, "contract.version.json");
55
+
56
+ if (!fs.existsSync(sharedDir)) {
57
+ console.error("❌ Error: API types directory missing.");
58
+ return;
59
+ }
60
+
61
+ const walk = (d: string): string[] => fs.readdirSync(d, { withFileTypes: true }).flatMap((e) => {
62
+ const fullPath = path.join(d, e.name);
63
+ return e.isDirectory() ? walk(fullPath) : (e.name.endsWith(".ts") ? [fullPath] : []);
64
+ });
65
+
66
+ const hash = crypto.createHash("sha256");
67
+ for (const filePath of walk(sharedDir).sort()) {
68
+ hash.update(path.relative(projectRoot, filePath));
69
+ hash.update("\0");
70
+ hash.update(fs.readFileSync(filePath));
71
+ hash.update("\0");
72
+ }
73
+
74
+ const currentHash = hash.digest("hex");
75
+
76
+ const contractData = {
77
+ contract_hash: currentHash,
78
+ last_updated: new Date().toISOString()
79
+ };
80
+
81
+ fs.mkdirSync(path.dirname(contractPath), { recursive: true });
82
+ fs.writeFileSync(contractPath, JSON.stringify(contractData, null, 2));
83
+ console.warn(`✅ Contract successfully synchronized. New hash: ${currentHash}`);
84
+ }
85
+
package/src/cli/index.ts CHANGED
@@ -7,7 +7,7 @@ import { statusCommand } from "./commands/status.js";
7
7
  import { traceNewCommand } from "./commands/trace.js";
8
8
  import { updateProjectMemoryCommand } from "./commands/memory.js";
9
9
  import { createAppCommand } from "./commands/app.js";
10
- import { verifyApiContractCommand } from "./commands/contract.js";
10
+ import { verifyApiContractCommand, updateApiContractCommand } from "./commands/contract.js";
11
11
  import { orchestrateCommand } from "./commands/orchestrate.js";
12
12
 
13
13
  /**
@@ -62,6 +62,10 @@ async function main() {
62
62
  verifyApiContractCommand();
63
63
  break;
64
64
 
65
+ case "update-contract":
66
+ updateApiContractCommand();
67
+ break;
68
+
65
69
  case "version":
66
70
  case "-v":
67
71
  case "--version":
@@ -86,6 +90,7 @@ Commands:
86
90
  create-app <idea> Generate a new full-stack app from natural language
87
91
  orchestrate Start the dynamic Hermes agent orchestration loop
88
92
  verify-contract Validate type alignment between backend and frontend
93
+ update-contract Generate and synchronize a new contract hash
89
94
  version Show version information
90
95
 
91
96
  Supported adapters (one init per IDE — separate folder each):