@mndrk/agx 2.0.38 โ†’ 2.0.40

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 (455) hide show
  1. package/cloud-runtime/standalone/.next/BUILD_ID +1 -1
  2. package/cloud-runtime/standalone/.next/build-manifest.json +4 -4
  3. package/cloud-runtime/standalone/.next/prerender-manifest.json +3 -3
  4. package/cloud-runtime/standalone/.next/required-server-files.json +4 -4
  5. package/cloud-runtime/standalone/.next/server/app/_global-error/page/build-manifest.json +2 -2
  6. package/cloud-runtime/standalone/.next/server/app/_global-error.html +2 -2
  7. package/cloud-runtime/standalone/.next/server/app/_global-error.rsc +1 -1
  8. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  9. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  10. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  11. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  12. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  13. package/cloud-runtime/standalone/.next/server/app/_not-found/page/build-manifest.json +2 -2
  14. package/cloud-runtime/standalone/.next/server/app/_not-found.html +2 -2
  15. package/cloud-runtime/standalone/.next/server/app/_not-found.rsc +1 -1
  16. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  17. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  18. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  19. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  20. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  21. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  22. package/cloud-runtime/standalone/.next/server/app/agents/[id]/page/build-manifest.json +2 -2
  23. package/cloud-runtime/standalone/.next/server/app/agents/page/build-manifest.json +2 -2
  24. package/cloud-runtime/standalone/.next/server/app/agents.html +2 -2
  25. package/cloud-runtime/standalone/.next/server/app/agents.rsc +1 -1
  26. package/cloud-runtime/standalone/.next/server/app/agents.segments/_full.segment.rsc +1 -1
  27. package/cloud-runtime/standalone/.next/server/app/agents.segments/_head.segment.rsc +1 -1
  28. package/cloud-runtime/standalone/.next/server/app/agents.segments/_index.segment.rsc +1 -1
  29. package/cloud-runtime/standalone/.next/server/app/agents.segments/_tree.segment.rsc +1 -1
  30. package/cloud-runtime/standalone/.next/server/app/agents.segments/agents/__PAGE__.segment.rsc +1 -1
  31. package/cloud-runtime/standalone/.next/server/app/agents.segments/agents.segment.rsc +1 -1
  32. package/cloud-runtime/standalone/.next/server/app/api/agent-specs/route.js.nft.json +1 -1
  33. package/cloud-runtime/standalone/.next/server/app/api/agents/[id]/profile/route.js.nft.json +1 -1
  34. package/cloud-runtime/standalone/.next/server/app/api/agents/export/route.js.nft.json +1 -1
  35. package/cloud-runtime/standalone/.next/server/app/api/automations/create/route.js.nft.json +1 -1
  36. package/cloud-runtime/standalone/.next/server/app/api/automations/route.js.nft.json +1 -1
  37. package/cloud-runtime/standalone/.next/server/app/api/chat/route.js.nft.json +1 -1
  38. package/cloud-runtime/standalone/.next/server/app/api/chat-runs/[id]/route.js.nft.json +1 -1
  39. package/cloud-runtime/standalone/.next/server/app/api/chat-runs/[id]/signal/route.js.nft.json +1 -1
  40. package/cloud-runtime/standalone/.next/server/app/api/chat-runs/route.js.nft.json +1 -1
  41. package/cloud-runtime/standalone/.next/server/app/api/file-search/route.js.nft.json +1 -1
  42. package/cloud-runtime/standalone/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route.js.nft.json +1 -1
  43. package/cloud-runtime/standalone/.next/server/app/api/health/route.js.nft.json +1 -1
  44. package/cloud-runtime/standalone/.next/server/app/api/history/route.js.nft.json +1 -1
  45. package/cloud-runtime/standalone/.next/server/app/api/history/status/route.js.nft.json +1 -1
  46. package/cloud-runtime/standalone/.next/server/app/api/knowledge-notes/route.js.nft.json +1 -1
  47. package/cloud-runtime/standalone/.next/server/app/api/learnings/route.js.nft.json +1 -1
  48. package/cloud-runtime/standalone/.next/server/app/api/logs/route.js.nft.json +1 -1
  49. package/cloud-runtime/standalone/.next/server/app/api/logs/stream/route.js.nft.json +1 -1
  50. package/cloud-runtime/standalone/.next/server/app/api/memories/route.js.nft.json +1 -1
  51. package/cloud-runtime/standalone/.next/server/app/api/messages/[id]/route.js.nft.json +1 -1
  52. package/cloud-runtime/standalone/.next/server/app/api/migrate/teams-to-projects/route.js.nft.json +1 -1
  53. package/cloud-runtime/standalone/.next/server/app/api/migrate/workspaces-to-projects/route.js.nft.json +1 -1
  54. package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/cancel/route.js.nft.json +1 -1
  55. package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/signal/route.js.nft.json +1 -1
  56. package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/start/route.js.nft.json +1 -1
  57. package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/status/route.js.nft.json +1 -1
  58. package/cloud-runtime/standalone/.next/server/app/api/participants/route.js.nft.json +1 -1
  59. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/agents/route.js.nft.json +1 -1
  60. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/memory/route.js.nft.json +1 -1
  61. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v1/route.js.nft.json +1 -1
  62. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v2/route.js.nft.json +1 -1
  63. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
  64. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/skills/route.js.nft.json +1 -1
  65. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/threads/route.js.nft.json +1 -1
  66. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/variables/route.js.nft.json +1 -1
  67. package/cloud-runtime/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
  68. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/cancel/route.js.nft.json +1 -1
  69. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/route.js.nft.json +1 -1
  70. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/runs/route.js.nft.json +1 -1
  71. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/agents/route.js.nft.json +1 -1
  72. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/poll/route.js.nft.json +1 -1
  73. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/route.js.nft.json +1 -1
  74. package/cloud-runtime/standalone/.next/server/app/api/queue/complete/route.js.nft.json +1 -1
  75. package/cloud-runtime/standalone/.next/server/app/api/queue/route.js.nft.json +1 -1
  76. package/cloud-runtime/standalone/.next/server/app/api/reactions/route.js.nft.json +1 -1
  77. package/cloud-runtime/standalone/.next/server/app/api/repos/[id]/knowledge/route.js.nft.json +1 -1
  78. package/cloud-runtime/standalone/.next/server/app/api/schedules/debug/route.js.nft.json +1 -1
  79. package/cloud-runtime/standalone/.next/server/app/api/schedules/poll/route.js.nft.json +1 -1
  80. package/cloud-runtime/standalone/.next/server/app/api/schedules/route.js.nft.json +1 -1
  81. package/cloud-runtime/standalone/.next/server/app/api/search/route.js.nft.json +1 -1
  82. package/cloud-runtime/standalone/.next/server/app/api/skills/assign/route.js.nft.json +1 -1
  83. package/cloud-runtime/standalone/.next/server/app/api/skills/available/route.js.nft.json +1 -1
  84. package/cloud-runtime/standalone/.next/server/app/api/skills/detail/route.js.nft.json +1 -1
  85. package/cloud-runtime/standalone/.next/server/app/api/skills/history/route.js.nft.json +1 -1
  86. package/cloud-runtime/standalone/.next/server/app/api/skills/learn/route.js.nft.json +1 -1
  87. package/cloud-runtime/standalone/.next/server/app/api/skills/route.js.nft.json +1 -1
  88. package/cloud-runtime/standalone/.next/server/app/api/skills/unlearn/route.js.nft.json +1 -1
  89. package/cloud-runtime/standalone/.next/server/app/api/summarize/route.js.nft.json +1 -1
  90. package/cloud-runtime/standalone/.next/server/app/api/system/db-status/route.js.nft.json +1 -1
  91. package/cloud-runtime/standalone/.next/server/app/api/task-drafts/route.js.nft.json +1 -1
  92. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/[commentId]/route.js.nft.json +1 -1
  93. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/route.js.nft.json +1 -1
  94. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/costs/route.js.nft.json +1 -1
  95. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/dependencies/route.js.nft.json +1 -1
  96. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/events/route.js.nft.json +1 -1
  97. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/history/route.js.nft.json +1 -1
  98. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/metrics/route.js.nft.json +1 -1
  99. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/pause/route.js.nft.json +1 -1
  100. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/replan/route.js.nft.json +1 -1
  101. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/restart/route.js.nft.json +1 -1
  102. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/resume/route.js.nft.json +1 -1
  103. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/rollback/route.js.nft.json +1 -1
  104. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/route.js.nft.json +1 -1
  105. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/schedule/route.js.nft.json +1 -1
  106. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/start/route.js.nft.json +1 -1
  107. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/stop/route.js.nft.json +1 -1
  108. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/heartbeat/route.js.nft.json +1 -1
  109. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/history/route.js.nft.json +1 -1
  110. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/logs/route.js.nft.json +1 -1
  111. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/logs/stream/route.js.nft.json +1 -1
  112. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/comments/route.js.nft.json +1 -1
  113. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/complete/route.js.nft.json +1 -1
  114. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/fail/route.js.nft.json +1 -1
  115. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/resume/route.js.nft.json +1 -1
  116. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/start/route.js.nft.json +1 -1
  117. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/stop/route.js.nft.json +1 -1
  118. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/verify/route.js.nft.json +1 -1
  119. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/route.js.nft.json +1 -1
  120. package/cloud-runtime/standalone/.next/server/app/api/tasks/assign-orphans/route.js.nft.json +1 -1
  121. package/cloud-runtime/standalone/.next/server/app/api/tasks/extract/route.js.nft.json +1 -1
  122. package/cloud-runtime/standalone/.next/server/app/api/tasks/route.js.nft.json +1 -1
  123. package/cloud-runtime/standalone/.next/server/app/api/tasks/stream/route.js.nft.json +1 -1
  124. package/cloud-runtime/standalone/.next/server/app/api/thread-repos/route.js.nft.json +1 -1
  125. package/cloud-runtime/standalone/.next/server/app/api/threads/knowledge/route.js.nft.json +1 -1
  126. package/cloud-runtime/standalone/.next/server/app/api/threads/route.js.nft.json +1 -1
  127. package/cloud-runtime/standalone/.next/server/app/api/user-settings/route.js.nft.json +1 -1
  128. package/cloud-runtime/standalone/.next/server/app/automations/page/build-manifest.json +2 -2
  129. package/cloud-runtime/standalone/.next/server/app/automations.html +2 -2
  130. package/cloud-runtime/standalone/.next/server/app/automations.rsc +1 -1
  131. package/cloud-runtime/standalone/.next/server/app/automations.segments/_full.segment.rsc +1 -1
  132. package/cloud-runtime/standalone/.next/server/app/automations.segments/_head.segment.rsc +1 -1
  133. package/cloud-runtime/standalone/.next/server/app/automations.segments/_index.segment.rsc +1 -1
  134. package/cloud-runtime/standalone/.next/server/app/automations.segments/_tree.segment.rsc +1 -1
  135. package/cloud-runtime/standalone/.next/server/app/automations.segments/automations/__PAGE__.segment.rsc +1 -1
  136. package/cloud-runtime/standalone/.next/server/app/automations.segments/automations.segment.rsc +1 -1
  137. package/cloud-runtime/standalone/.next/server/app/board/page/build-manifest.json +2 -2
  138. package/cloud-runtime/standalone/.next/server/app/board.html +2 -2
  139. package/cloud-runtime/standalone/.next/server/app/board.rsc +1 -1
  140. package/cloud-runtime/standalone/.next/server/app/board.segments/_full.segment.rsc +1 -1
  141. package/cloud-runtime/standalone/.next/server/app/board.segments/_head.segment.rsc +1 -1
  142. package/cloud-runtime/standalone/.next/server/app/board.segments/_index.segment.rsc +1 -1
  143. package/cloud-runtime/standalone/.next/server/app/board.segments/_tree.segment.rsc +1 -1
  144. package/cloud-runtime/standalone/.next/server/app/board.segments/board/__PAGE__.segment.rsc +1 -1
  145. package/cloud-runtime/standalone/.next/server/app/board.segments/board.segment.rsc +1 -1
  146. package/cloud-runtime/standalone/.next/server/app/execution-graph/page/build-manifest.json +2 -2
  147. package/cloud-runtime/standalone/.next/server/app/execution-graph.html +2 -2
  148. package/cloud-runtime/standalone/.next/server/app/execution-graph.rsc +1 -1
  149. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_full.segment.rsc +1 -1
  150. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_head.segment.rsc +1 -1
  151. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_index.segment.rsc +1 -1
  152. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_tree.segment.rsc +1 -1
  153. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph/__PAGE__.segment.rsc +1 -1
  154. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph.segment.rsc +1 -1
  155. package/cloud-runtime/standalone/.next/server/app/index.html +2 -2
  156. package/cloud-runtime/standalone/.next/server/app/index.rsc +1 -1
  157. package/cloud-runtime/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  158. package/cloud-runtime/standalone/.next/server/app/index.segments/_full.segment.rsc +1 -1
  159. package/cloud-runtime/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
  160. package/cloud-runtime/standalone/.next/server/app/index.segments/_index.segment.rsc +1 -1
  161. package/cloud-runtime/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  162. package/cloud-runtime/standalone/.next/server/app/page/build-manifest.json +2 -2
  163. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page/build-manifest.json +2 -2
  164. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page/build-manifest.json +2 -2
  165. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/knowledge/page/build-manifest.json +2 -2
  166. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page/build-manifest.json +2 -2
  167. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/thread/[threadId]/page/build-manifest.json +2 -2
  168. package/cloud-runtime/standalone/.next/server/app/projects/orphans/page/build-manifest.json +2 -2
  169. package/cloud-runtime/standalone/.next/server/app/projects/orphans.html +2 -2
  170. package/cloud-runtime/standalone/.next/server/app/projects/orphans.rsc +1 -1
  171. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_full.segment.rsc +1 -1
  172. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_head.segment.rsc +1 -1
  173. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_index.segment.rsc +1 -1
  174. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_tree.segment.rsc +1 -1
  175. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans/__PAGE__.segment.rsc +1 -1
  176. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans.segment.rsc +1 -1
  177. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects.segment.rsc +1 -1
  178. package/cloud-runtime/standalone/.next/server/app/projects/page/build-manifest.json +2 -2
  179. package/cloud-runtime/standalone/.next/server/app/projects.html +2 -2
  180. package/cloud-runtime/standalone/.next/server/app/projects.rsc +1 -1
  181. package/cloud-runtime/standalone/.next/server/app/projects.segments/_full.segment.rsc +1 -1
  182. package/cloud-runtime/standalone/.next/server/app/projects.segments/_head.segment.rsc +1 -1
  183. package/cloud-runtime/standalone/.next/server/app/projects.segments/_index.segment.rsc +1 -1
  184. package/cloud-runtime/standalone/.next/server/app/projects.segments/_tree.segment.rsc +1 -1
  185. package/cloud-runtime/standalone/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +1 -1
  186. package/cloud-runtime/standalone/.next/server/app/projects.segments/projects.segment.rsc +1 -1
  187. package/cloud-runtime/standalone/.next/server/app/settings/page/build-manifest.json +2 -2
  188. package/cloud-runtime/standalone/.next/server/app/settings.html +2 -2
  189. package/cloud-runtime/standalone/.next/server/app/settings.rsc +1 -1
  190. package/cloud-runtime/standalone/.next/server/app/settings.segments/_full.segment.rsc +1 -1
  191. package/cloud-runtime/standalone/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  192. package/cloud-runtime/standalone/.next/server/app/settings.segments/_index.segment.rsc +1 -1
  193. package/cloud-runtime/standalone/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  194. package/cloud-runtime/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
  195. package/cloud-runtime/standalone/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  196. package/cloud-runtime/standalone/.next/server/app/skills/page/build-manifest.json +2 -2
  197. package/cloud-runtime/standalone/.next/server/app/skills.html +2 -2
  198. package/cloud-runtime/standalone/.next/server/app/skills.rsc +1 -1
  199. package/cloud-runtime/standalone/.next/server/app/skills.segments/_full.segment.rsc +1 -1
  200. package/cloud-runtime/standalone/.next/server/app/skills.segments/_head.segment.rsc +1 -1
  201. package/cloud-runtime/standalone/.next/server/app/skills.segments/_index.segment.rsc +1 -1
  202. package/cloud-runtime/standalone/.next/server/app/skills.segments/_tree.segment.rsc +1 -1
  203. package/cloud-runtime/standalone/.next/server/app/skills.segments/skills/__PAGE__.segment.rsc +1 -1
  204. package/cloud-runtime/standalone/.next/server/app/skills.segments/skills.segment.rsc +1 -1
  205. package/cloud-runtime/standalone/.next/server/app/status/page/build-manifest.json +2 -2
  206. package/cloud-runtime/standalone/.next/server/app/status.html +2 -2
  207. package/cloud-runtime/standalone/.next/server/app/status.rsc +1 -1
  208. package/cloud-runtime/standalone/.next/server/app/status.segments/_full.segment.rsc +1 -1
  209. package/cloud-runtime/standalone/.next/server/app/status.segments/_head.segment.rsc +1 -1
  210. package/cloud-runtime/standalone/.next/server/app/status.segments/_index.segment.rsc +1 -1
  211. package/cloud-runtime/standalone/.next/server/app/status.segments/_tree.segment.rsc +1 -1
  212. package/cloud-runtime/standalone/.next/server/app/status.segments/status/__PAGE__.segment.rsc +1 -1
  213. package/cloud-runtime/standalone/.next/server/app/status.segments/status.segment.rsc +1 -1
  214. package/cloud-runtime/standalone/.next/server/app/thread/[id]/page/build-manifest.json +2 -2
  215. package/cloud-runtime/standalone/.next/server/app/welcome/page/build-manifest.json +2 -2
  216. package/cloud-runtime/standalone/.next/server/app/welcome.html +2 -2
  217. package/cloud-runtime/standalone/.next/server/app/welcome.rsc +1 -1
  218. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_full.segment.rsc +1 -1
  219. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_head.segment.rsc +1 -1
  220. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_index.segment.rsc +1 -1
  221. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_tree.segment.rsc +1 -1
  222. package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome/__PAGE__.segment.rsc +1 -1
  223. package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome.segment.rsc +1 -1
  224. package/cloud-runtime/standalone/.next/server/chunks/{[externals]__986fcdb7._.js โ†’ [externals]__bc6c7111._.js} +1 -1
  225. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__01cd082e._.js +2 -2
  226. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__0936925d._.js +1 -1
  227. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__09ca81e1._.js +101 -0
  228. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__0c3dd73b._.js +6 -6
  229. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__f9cff4b0._.js โ†’ [root-of-the-server]__1017e012._.js} +2 -2
  230. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1ac3236d._.js +25 -0
  231. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1b0bb735._.js +2 -2
  232. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1c86bf6e._.js +5 -5
  233. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__20c58b41._.js +2 -2
  234. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__2126c763._.js +2 -2
  235. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__762ab29c._.js โ†’ [root-of-the-server]__236c35bb._.js} +4 -4
  236. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__255b11f2._.js +1 -1
  237. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__277ed37d._.js +1 -1
  238. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__2f06f568._.js +2 -2
  239. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__30bd0c87._.js +2 -2
  240. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__374cd94c._.js +2 -2
  241. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3785024c._.js +2 -2
  242. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__379604d4._.js +2 -2
  243. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3c8f1de6._.js +2 -2
  244. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3d0df5a8._.js +2 -2
  245. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4014ed70._.js +7 -7
  246. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__42fcb81c._.js +16 -16
  247. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4a3cd6ac._.js +2 -2
  248. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4e522535._.js +2 -2
  249. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__50c24784._.js +1 -1
  250. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__50ddd3ce._.js +1 -1
  251. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__529a6e1c._.js +12 -12
  252. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__59d1cdd8._.js +1 -1
  253. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__628d686b._.js +1 -1
  254. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__644e6285._.js +3 -3
  255. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__65755104._.js +2 -2
  256. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__73c20995._.js +2 -2
  257. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8125bbc3._.js +6 -6
  258. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__85275b88._.js +1 -1
  259. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__89666394._.js +3 -3
  260. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8c0fb154._.js +2 -2
  261. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8f5cac13._.js +3 -3
  262. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__91b22098._.js +2 -2
  263. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__92924218._.js +2 -2
  264. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__96ae701e._.js +1 -1
  265. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__98ce983b._.js +1 -1
  266. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__9a9fd39f._.js +6 -6
  267. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__9ad4e385._.js +1 -1
  268. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__a01ddd0b._.js +3 -3
  269. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__a099c992._.js +14 -14
  270. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__ab7343c8._.js โ†’ [root-of-the-server]__a1e62918._.js} +1 -1
  271. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__a9b949c3._.js +2 -2
  272. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__af7a73fd._.js +1 -1
  273. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__bd43017b._.js +1 -1
  274. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__bf6fb108._.js +2 -2
  275. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c122c54a._.js +2 -2
  276. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c4ea4921._.js +1 -1
  277. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__d57e800e._.js +2 -2
  278. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__db469f1b._.js +1 -1
  279. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__da3a1ce7._.js โ†’ [root-of-the-server]__dc542063._.js} +2 -2
  280. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__dec3e1b7._.js +4 -4
  281. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f1147a4a._.js +2 -2
  282. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f5597fea._.js +2 -2
  283. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f8c94cb3._.js +2 -2
  284. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f9f7f2df._.js +2 -2
  285. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fa79d53f._.js +11 -11
  286. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fb14cd4a._.js +1 -1
  287. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fcf0b40a._.js +1 -1
  288. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ffb21023._.js +2 -2
  289. package/cloud-runtime/standalone/.next/server/chunks/_22fe5fd2._.js +3 -0
  290. package/cloud-runtime/standalone/.next/server/chunks/lib_2492d514._.js +81 -0
  291. package/cloud-runtime/standalone/.next/server/chunks/lib_281e5787._.js +16 -0
  292. package/cloud-runtime/standalone/.next/server/chunks/lib_63067e21._.js +16 -0
  293. package/cloud-runtime/standalone/.next/server/chunks/lib_orchestrator_chat-processor_ts_4c335719._.js +134 -0
  294. package/cloud-runtime/standalone/.next/server/chunks/lib_sqlite-query-adapter_ts_3ea4d849._.js +82 -21
  295. package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_61a87db9._.js +1 -1
  296. package/cloud-runtime/standalone/.next/server/instrumentation.js +1 -1
  297. package/cloud-runtime/standalone/.next/server/middleware-build-manifest.js +2 -2
  298. package/cloud-runtime/standalone/.next/server/middleware-manifest.json +5 -5
  299. package/cloud-runtime/standalone/.next/server/pages/404.html +2 -2
  300. package/cloud-runtime/standalone/.next/server/pages/500.html +2 -2
  301. package/cloud-runtime/standalone/.next/server/server-reference-manifest.js +1 -1
  302. package/cloud-runtime/standalone/.next/server/server-reference-manifest.json +1 -1
  303. package/cloud-runtime/standalone/.next/static/chunks/{dfff51033c303fc7.js โ†’ ee5f1457fbc593e1.js} +1 -1
  304. package/cloud-runtime/standalone/.next/static/chunks/{turbopack-22475f0dd0c18f92.js โ†’ turbopack-e1d640f2fbe4fa5e.js} +1 -1
  305. package/cloud-runtime/standalone/coverage/clover.xml +1208 -0
  306. package/cloud-runtime/standalone/coverage/coverage-final.json +29 -0
  307. package/cloud-runtime/standalone/coverage/lcov-report/app/api/audit/index.html +116 -0
  308. package/cloud-runtime/standalone/coverage/lcov-report/app/api/audit/route.ts.html +208 -0
  309. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/[...nextauth]/index.html +116 -0
  310. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/[...nextauth]/route.ts.html +166 -0
  311. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/daemon-secret/index.html +116 -0
  312. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/daemon-secret/route.ts.html +532 -0
  313. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/status/index.html +116 -0
  314. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/status/route.ts.html +178 -0
  315. package/cloud-runtime/standalone/coverage/lcov-report/app/api/learnings/index.html +116 -0
  316. package/cloud-runtime/standalone/coverage/lcov-report/app/api/learnings/route.ts.html +262 -0
  317. package/cloud-runtime/standalone/coverage/lcov-report/app/api/logs/stream/index.html +116 -0
  318. package/cloud-runtime/standalone/coverage/lcov-report/app/api/logs/stream/route.ts.html +448 -0
  319. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/complete/index.html +116 -0
  320. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/complete/route.ts.html +331 -0
  321. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/index.html +116 -0
  322. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/route.ts.html +505 -0
  323. package/cloud-runtime/standalone/coverage/lcov-report/app/api/stage-prompts/index.html +116 -0
  324. package/cloud-runtime/standalone/coverage/lcov-report/app/api/stage-prompts/route.ts.html +412 -0
  325. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/advance/index.html +116 -0
  326. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/advance/route.ts.html +304 -0
  327. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/index.html +116 -0
  328. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/logs/index.html +116 -0
  329. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/logs/route.ts.html +202 -0
  330. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/route.ts.html +373 -0
  331. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/index.html +116 -0
  332. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/route.ts.html +499 -0
  333. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/stream/index.html +116 -0
  334. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/stream/route.ts.html +349 -0
  335. package/cloud-runtime/standalone/coverage/lcov-report/base.css +224 -0
  336. package/cloud-runtime/standalone/coverage/lcov-report/block-navigation.js +87 -0
  337. package/cloud-runtime/standalone/coverage/lcov-report/components/AuthProvider.tsx.html +259 -0
  338. package/cloud-runtime/standalone/coverage/lcov-report/components/ChatInterface.tsx.html +1228 -0
  339. package/cloud-runtime/standalone/coverage/lcov-report/components/KanbanBoard.tsx.html +1024 -0
  340. package/cloud-runtime/standalone/coverage/lcov-report/components/Layout.tsx.html +211 -0
  341. package/cloud-runtime/standalone/coverage/lcov-report/components/LearningsPanel.tsx.html +535 -0
  342. package/cloud-runtime/standalone/coverage/lcov-report/components/LogTimeline.tsx.html +415 -0
  343. package/cloud-runtime/standalone/coverage/lcov-report/components/SortableTaskCard.tsx.html +358 -0
  344. package/cloud-runtime/standalone/coverage/lcov-report/components/StagePills.tsx.html +439 -0
  345. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskCard.tsx.html +514 -0
  346. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskCardOverlay.tsx.html +256 -0
  347. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskDetail.tsx.html +622 -0
  348. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskList.tsx.html +253 -0
  349. package/cloud-runtime/standalone/coverage/lcov-report/components/index.html +281 -0
  350. package/cloud-runtime/standalone/coverage/lcov-report/favicon.png +0 -0
  351. package/cloud-runtime/standalone/coverage/lcov-report/hooks/index.html +116 -0
  352. package/cloud-runtime/standalone/coverage/lcov-report/hooks/useTasks.ts.html +1042 -0
  353. package/cloud-runtime/standalone/coverage/lcov-report/index.html +341 -0
  354. package/cloud-runtime/standalone/coverage/lcov-report/lib/auth-client.ts.html +202 -0
  355. package/cloud-runtime/standalone/coverage/lcov-report/lib/auth-server.ts.html +172 -0
  356. package/cloud-runtime/standalone/coverage/lcov-report/lib/auth.ts.html +265 -0
  357. package/cloud-runtime/standalone/coverage/lcov-report/lib/db.ts.html +1252 -0
  358. package/cloud-runtime/standalone/coverage/lcov-report/lib/index.html +131 -0
  359. package/cloud-runtime/standalone/coverage/lcov-report/lib/orchestrator.ts.html +409 -0
  360. package/cloud-runtime/standalone/coverage/lcov-report/lib/security.ts.html +1165 -0
  361. package/cloud-runtime/standalone/coverage/lcov-report/lib/supabase-server.ts.html +175 -0
  362. package/cloud-runtime/standalone/coverage/lcov-report/lib/supabase.ts.html +157 -0
  363. package/cloud-runtime/standalone/coverage/lcov-report/prettify.css +1 -0
  364. package/cloud-runtime/standalone/coverage/lcov-report/prettify.js +2 -0
  365. package/cloud-runtime/standalone/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  366. package/cloud-runtime/standalone/coverage/lcov-report/sorter.js +210 -0
  367. package/cloud-runtime/standalone/coverage/lcov.info +2386 -0
  368. package/cloud-runtime/standalone/docs/LIMITS.md +63 -0
  369. package/cloud-runtime/standalone/docs/architecture/ADR-001-hybrid-to-full-sqlite.md +345 -0
  370. package/cloud-runtime/standalone/docs/baseline/baseline-report.json +1009 -0
  371. package/cloud-runtime/standalone/docs/baseline/critical-queries.md +105 -0
  372. package/cloud-runtime/standalone/docs/baseline/lock-metrics.json +21 -0
  373. package/cloud-runtime/standalone/docs/baseline/read-latency.json +146 -0
  374. package/cloud-runtime/standalone/docs/baseline/restore-time.json +10 -0
  375. package/cloud-runtime/standalone/docs/baseline/write-metrics.json +803 -0
  376. package/cloud-runtime/standalone/docs/decisions/sqlite-migration-adr.md +327 -0
  377. package/cloud-runtime/standalone/docs/error-code-mapping.md +74 -0
  378. package/cloud-runtime/standalone/docs/migration-plan.md +120 -0
  379. package/cloud-runtime/standalone/docs/migration-spec.md +345 -0
  380. package/cloud-runtime/standalone/docs/pg-sqlite-compatibility-matrix.md +554 -0
  381. package/cloud-runtime/standalone/docs/project-agent-migration-status.md +229 -0
  382. package/cloud-runtime/standalone/docs/runbook-shadow-read.md +66 -0
  383. package/cloud-runtime/standalone/docs/runbook.md +155 -0
  384. package/cloud-runtime/standalone/docs/specs/cli-postgres-removal.md +69 -0
  385. package/cloud-runtime/standalone/docs/specs/thread-mentions.md +53 -0
  386. package/cloud-runtime/standalone/docs/superpowers/plans/2026-04-01-prompt-scheduler.md +1907 -0
  387. package/cloud-runtime/standalone/docs/superpowers/plans/2026-04-02-sqlite-migration.md +1047 -0
  388. package/cloud-runtime/standalone/docs/transcript.txt +282 -0
  389. package/cloud-runtime/standalone/docs/ux/GlobalChatFlow.storyboard +23 -0
  390. package/cloud-runtime/standalone/docs/ux/assistant-chat-cli.md +32 -0
  391. package/cloud-runtime/standalone/instrumentation.ts +34 -0
  392. package/cloud-runtime/standalone/mcp/dist/constants.js +66 -0
  393. package/cloud-runtime/standalone/mcp/dist/db.js +220 -0
  394. package/cloud-runtime/standalone/mcp/dist/index.js +7 -0
  395. package/cloud-runtime/standalone/mcp/dist/security.js +18 -0
  396. package/cloud-runtime/standalone/mcp/dist/server.js +240 -0
  397. package/cloud-runtime/standalone/mcp/dist/task-context.js +287 -0
  398. package/cloud-runtime/standalone/mcp/dist/test-client.js +82 -0
  399. package/cloud-runtime/standalone/mcp/dist/tools/audit.js +69 -0
  400. package/cloud-runtime/standalone/mcp/dist/tools/learnings.js +88 -0
  401. package/cloud-runtime/standalone/mcp/dist/tools/queue.js +312 -0
  402. package/cloud-runtime/standalone/mcp/dist/tools/tasks.js +244 -0
  403. package/cloud-runtime/standalone/mcp/dist/types.js +74 -0
  404. package/cloud-runtime/standalone/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
  405. package/cloud-runtime/standalone/node_modules/@img/{sharp-linux-x64 โ†’ sharp-darwin-arm64}/package.json +7 -13
  406. package/cloud-runtime/standalone/node_modules/@img/{sharp-libvips-linux-x64 โ†’ sharp-libvips-darwin-arm64}/README.md +2 -2
  407. package/cloud-runtime/standalone/node_modules/@img/{sharp-libvips-linuxmusl-x64 โ†’ sharp-libvips-darwin-arm64}/lib/glib-2.0/include/glibconfig.h +8 -9
  408. package/cloud-runtime/standalone/node_modules/@img/{sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 โ†’ sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib} +0 -0
  409. package/cloud-runtime/standalone/node_modules/@img/{sharp-libvips-linux-x64 โ†’ sharp-libvips-darwin-arm64}/package.json +5 -11
  410. package/cloud-runtime/standalone/notes/comments-context-demo.md +141 -0
  411. package/cloud-runtime/standalone/notes/comments-context-plan.md +119 -0
  412. package/cloud-runtime/standalone/notes/context-audit.md +21 -0
  413. package/cloud-runtime/standalone/notes/project-layer-plan.md +30 -0
  414. package/cloud-runtime/standalone/notes/project-layer.md +123 -0
  415. package/cloud-runtime/standalone/notes/temporal-migration-design.md +199 -0
  416. package/cloud-runtime/standalone/playwright-report/data/00d55996f37c1506b90144c85493dd85032c13e5.png +0 -0
  417. package/cloud-runtime/standalone/playwright-report/data/0b9d409e57237ae111d7ba258d3dfe64dc368456.png +0 -0
  418. package/cloud-runtime/standalone/playwright-report/data/b33d5e80a15bd1deda4415b9d318ef73f581c950.png +0 -0
  419. package/cloud-runtime/standalone/playwright-report/data/b55684161aa440d0614595e13c91338f0420abbb.md +131 -0
  420. package/cloud-runtime/standalone/playwright-report/data/b9913957ae07e7565c38ddd71215be79b1ceb017.png +0 -0
  421. package/cloud-runtime/standalone/playwright-report/data/c3538be8ebbebc9fe4a7df8f12f04483af4a0d91.png +0 -0
  422. package/cloud-runtime/standalone/playwright-report/data/fe638f64ff5e36f1c30325564565662d3f57da87.md +180 -0
  423. package/cloud-runtime/standalone/playwright-report/index.html +85 -0
  424. package/cloud-runtime/standalone/server.js +1 -1
  425. package/cloud-runtime/standalone/test-results/auth-Authentication-Flow-S-aff25-sion-across-page-navigation-chromium/test-failed-1.png +0 -0
  426. package/cloud-runtime/standalone/test-results/comments-Task-comments-add-4dc59-nd-persists-it-for-the-task-chromium/error-context.md +131 -0
  427. package/cloud-runtime/standalone/test-results/comments-Task-comments-add-4dc59-nd-persists-it-for-the-task-chromium/test-failed-1.png +0 -0
  428. package/cloud-runtime/standalone/test-results/kanban-Kanban-Board-Stage--4082a-er-planning-after-ideation--chromium/error-context.md +180 -0
  429. package/cloud-runtime/standalone/test-results/kanban-Kanban-Board-Stage--4082a-er-planning-after-ideation--chromium/test-failed-1.png +0 -0
  430. package/cloud-runtime/standalone/test-results/kanban-Kanban-Board-Stage-Columns-displays-all-9-SDLC-stages-chromium/error-context.md +180 -0
  431. package/cloud-runtime/standalone/test-results/kanban-Kanban-Board-Stage-Columns-displays-all-9-SDLC-stages-chromium/test-failed-1.png +0 -0
  432. package/cloud-runtime/standalone/test-results/kanban-Kanban-Board-Task-D-b6d98-ys-tasks-in-correct-columns-chromium/error-context.md +180 -0
  433. package/cloud-runtime/standalone/test-results/kanban-Kanban-Board-Task-D-b6d98-ys-tasks-in-correct-columns-chromium/test-failed-1.png +0 -0
  434. package/cloud-runtime/standalone/test-results/kanban-Kanban-Board-Task-Display-shows-task-count-per-column-chromium/test-failed-1.png +0 -0
  435. package/cloud-runtime/standalone/test-results/kanban-Task-Lifecycle-can-advance-task-through-all-stages-chromium/test-failed-1.png +0 -0
  436. package/cloud-runtime/standalone/tsconfig.json +1 -2
  437. package/cloud-runtime/standalone/tsconfig.tsbuildinfo +1 -0
  438. package/package.json +1 -1
  439. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4bce7db7._.js +0 -101
  440. package/cloud-runtime/standalone/.next/server/chunks/_17e53c87._.js +0 -3
  441. package/cloud-runtime/standalone/.next/server/chunks/lib_ea45fe73._.js +0 -94
  442. package/cloud-runtime/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -221
  443. package/cloud-runtime/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +0 -46
  444. package/cloud-runtime/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
  445. package/cloud-runtime/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  446. package/cloud-runtime/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -42
  447. package/cloud-runtime/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
  448. package/cloud-runtime/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
  449. package/cloud-runtime/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  450. package/cloud-runtime/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -46
  451. /package/cloud-runtime/standalone/.next/static/{V5ruh627UpcC-LTWDgYk8 โ†’ tIFXRWCxPD896ykJ6O--N}/_buildManifest.js +0 -0
  452. /package/cloud-runtime/standalone/.next/static/{V5ruh627UpcC-LTWDgYk8 โ†’ tIFXRWCxPD896ykJ6O--N}/_clientMiddlewareManifest.json +0 -0
  453. /package/cloud-runtime/standalone/.next/static/{V5ruh627UpcC-LTWDgYk8 โ†’ tIFXRWCxPD896ykJ6O--N}/_ssgManifest.js +0 -0
  454. /package/cloud-runtime/standalone/node_modules/@img/{sharp-libvips-linux-x64 โ†’ sharp-libvips-darwin-arm64}/lib/index.js +0 -0
  455. /package/cloud-runtime/standalone/node_modules/@img/{sharp-libvips-linux-x64 โ†’ sharp-libvips-darwin-arm64}/versions.json +0 -0
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ import { runServer } from "./server.js";
3
+ runServer().catch((error) => {
4
+ console.error("Failed to start server:", error);
5
+ process.exit(1);
6
+ });
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,18 @@
1
+ import { createHmac } from "crypto";
2
+ export function signTask(task, secret) {
3
+ const payload = JSON.stringify({
4
+ id: task.id,
5
+ user_id: task.user_id,
6
+ content: task.content,
7
+ stage: task.stage || "ideation",
8
+ engine: task.engine || "claude",
9
+ provider: task.provider || null,
10
+ model: task.model || null,
11
+ swarm: task.swarm || false,
12
+ swarm_models: task.swarm_models || null,
13
+ comments_digest: task.comments_digest ?? null,
14
+ created_at: task.created_at,
15
+ });
16
+ return createHmac("sha256", secret).update(payload).digest("hex");
17
+ }
18
+ //# sourceMappingURL=security.js.map
@@ -0,0 +1,240 @@
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 tool handlers and schemas
5
+ import { tasksListSchema, tasksList, tasksGetSchema, tasksGet, tasksCreateSchema, tasksCreate, tasksUpdateSchema, tasksUpdate, tasksLogSchema, tasksLog, } from "./tools/tasks.js";
6
+ import { queuePullSchema, queuePull, queueCompleteSchema, queueComplete, queueFailSchema, queueFail, } from "./tools/queue.js";
7
+ import { learningsAddSchema, learningsAdd, learningsListSchema, learningsList, learningsSearchSchema, learningsSearch, } from "./tools/learnings.js";
8
+ import { auditLogSchema, auditLog, auditListSchema, auditList, } from "./tools/audit.js";
9
+ // Convert Zod schema to JSON Schema (simplified)
10
+ function zodToJsonSchema(zodSchema) {
11
+ // Get the shape from the Zod schema
12
+ let shape;
13
+ const def = zodSchema._def;
14
+ if (def.typeName === "ZodObject") {
15
+ shape = typeof def.shape === "function" ? def.shape() : def.shape;
16
+ }
17
+ else {
18
+ return { type: "object", properties: {} };
19
+ }
20
+ if (!shape)
21
+ return { type: "object", properties: {} };
22
+ const properties = {};
23
+ const required = [];
24
+ for (const [key, value] of Object.entries(shape)) {
25
+ let def = value._def;
26
+ let prop = {};
27
+ // Unwrap ZodOptional and ZodDefault
28
+ let isOptional = false;
29
+ while (def) {
30
+ if (def.typeName === "ZodOptional") {
31
+ isOptional = true;
32
+ def = def.innerType?._def;
33
+ }
34
+ else if (def.typeName === "ZodDefault") {
35
+ isOptional = true;
36
+ prop.default = typeof def.defaultValue === "function"
37
+ ? def.defaultValue()
38
+ : def.defaultValue;
39
+ def = def.innerType?._def;
40
+ }
41
+ else {
42
+ break;
43
+ }
44
+ }
45
+ if (!def) {
46
+ properties[key] = { type: "string" };
47
+ continue;
48
+ }
49
+ // Get description from the original or inner def
50
+ const origDef = value._def;
51
+ prop.description = def.description || origDef.description;
52
+ // Determine type
53
+ switch (def.typeName) {
54
+ case "ZodString":
55
+ prop.type = "string";
56
+ break;
57
+ case "ZodNumber":
58
+ prop.type = "number";
59
+ break;
60
+ case "ZodBoolean":
61
+ prop.type = "boolean";
62
+ break;
63
+ case "ZodEnum":
64
+ prop.type = "string";
65
+ prop.enum = def.values;
66
+ break;
67
+ case "ZodRecord":
68
+ prop.type = "object";
69
+ break;
70
+ case "ZodArray":
71
+ prop.type = "array";
72
+ break;
73
+ default:
74
+ prop.type = "string";
75
+ }
76
+ properties[key] = prop;
77
+ // Track required fields
78
+ if (!isOptional) {
79
+ required.push(key);
80
+ }
81
+ }
82
+ return {
83
+ type: "object",
84
+ properties,
85
+ required: required.length > 0 ? required : undefined,
86
+ };
87
+ }
88
+ // Tool definitions
89
+ const tools = [
90
+ // Tasks
91
+ {
92
+ name: "tasks/list",
93
+ description: "List tasks with optional filters (status, stage, project, user)",
94
+ inputSchema: zodToJsonSchema(tasksListSchema),
95
+ handler: tasksList,
96
+ schema: tasksListSchema,
97
+ },
98
+ {
99
+ name: "tasks/get",
100
+ description: "Get a task by ID with full context and optionally its logs",
101
+ inputSchema: zodToJsonSchema(tasksGetSchema),
102
+ handler: tasksGet,
103
+ schema: tasksGetSchema,
104
+ },
105
+ {
106
+ name: "tasks/create",
107
+ description: "Create a new task with title, description, project, and priority",
108
+ inputSchema: zodToJsonSchema(tasksCreateSchema),
109
+ handler: tasksCreate,
110
+ schema: tasksCreateSchema,
111
+ },
112
+ {
113
+ name: "tasks/update",
114
+ description: "Update task fields (status, stage, priority, project)",
115
+ inputSchema: zodToJsonSchema(tasksUpdateSchema),
116
+ handler: tasksUpdate,
117
+ schema: tasksUpdateSchema,
118
+ },
119
+ {
120
+ name: "tasks/log",
121
+ description: "Append a log entry to a task",
122
+ inputSchema: zodToJsonSchema(tasksLogSchema),
123
+ handler: tasksLog,
124
+ schema: tasksLogSchema,
125
+ },
126
+ // Queue
127
+ {
128
+ name: "queue/pull",
129
+ description: "Get the next available task from the queue for a user. Marks it as in_progress.",
130
+ inputSchema: zodToJsonSchema(queuePullSchema),
131
+ handler: queuePull,
132
+ schema: queuePullSchema,
133
+ },
134
+ {
135
+ name: "queue/complete",
136
+ description: "Mark current task stage as complete and advance to next stage",
137
+ inputSchema: zodToJsonSchema(queueCompleteSchema),
138
+ handler: queueComplete,
139
+ schema: queueCompleteSchema,
140
+ },
141
+ {
142
+ name: "queue/fail",
143
+ description: "Mark a task as failed with an error message",
144
+ inputSchema: zodToJsonSchema(queueFailSchema),
145
+ handler: queueFail,
146
+ schema: queueFailSchema,
147
+ },
148
+ // Learnings
149
+ {
150
+ name: "learnings/add",
151
+ description: "Record a learning (task-level, project-level, or global)",
152
+ inputSchema: zodToJsonSchema(learningsAddSchema),
153
+ handler: learningsAdd,
154
+ schema: learningsAddSchema,
155
+ },
156
+ {
157
+ name: "learnings/list",
158
+ description: "List learnings with optional scope and user filters",
159
+ inputSchema: zodToJsonSchema(learningsListSchema),
160
+ handler: learningsList,
161
+ schema: learningsListSchema,
162
+ },
163
+ {
164
+ name: "learnings/search",
165
+ description: "Search learnings by text query",
166
+ inputSchema: zodToJsonSchema(learningsSearchSchema),
167
+ handler: learningsSearch,
168
+ schema: learningsSearchSchema,
169
+ },
170
+ // Audit
171
+ {
172
+ name: "audit/log",
173
+ description: "Record an audit event for a task action",
174
+ inputSchema: zodToJsonSchema(auditLogSchema),
175
+ handler: auditLog,
176
+ schema: auditLogSchema,
177
+ },
178
+ {
179
+ name: "audit/list",
180
+ description: "List audit events with filters",
181
+ inputSchema: zodToJsonSchema(auditListSchema),
182
+ handler: auditList,
183
+ schema: auditListSchema,
184
+ },
185
+ ];
186
+ export async function createServer() {
187
+ const server = new Server({
188
+ name: "agx-mcp-server",
189
+ version: "1.0.0",
190
+ }, {
191
+ capabilities: {
192
+ tools: {},
193
+ },
194
+ });
195
+ // List available tools
196
+ server.setRequestHandler(ListToolsRequestSchema, async () => {
197
+ return {
198
+ tools: tools.map(t => ({
199
+ name: t.name,
200
+ description: t.description,
201
+ inputSchema: t.inputSchema,
202
+ })),
203
+ };
204
+ });
205
+ // Handle tool calls
206
+ server.setRequestHandler(CallToolRequestSchema, async (request) => {
207
+ const { name, arguments: args } = request.params;
208
+ const tool = tools.find(t => t.name === name);
209
+ if (!tool) {
210
+ return {
211
+ content: [{ type: "text", text: `Unknown tool: ${name}` }],
212
+ isError: true,
213
+ };
214
+ }
215
+ try {
216
+ // Validate input
217
+ const validated = tool.schema.parse(args || {});
218
+ // Execute handler
219
+ const result = await tool.handler(validated);
220
+ return {
221
+ content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
222
+ };
223
+ }
224
+ catch (error) {
225
+ const message = error instanceof Error ? error.message : String(error);
226
+ return {
227
+ content: [{ type: "text", text: `Error: ${message}` }],
228
+ isError: true,
229
+ };
230
+ }
231
+ });
232
+ return server;
233
+ }
234
+ export async function runServer() {
235
+ const server = await createServer();
236
+ const transport = new StdioServerTransport();
237
+ await server.connect(transport);
238
+ console.error("AGX MCP Server running on stdio");
239
+ }
240
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1,287 @@
1
+ import { createHash } from "crypto";
2
+ import { getSupabase, fetchStageConfig } from "./db.js";
3
+ import { parseFrontmatter, resolveTaskConfig, } from "./types.js";
4
+ export async function getTaskComments(taskId) {
5
+ const supabase = getSupabase();
6
+ const { data, error } = await supabase
7
+ .from("task_comments")
8
+ .select("*")
9
+ .eq("task_id", taskId)
10
+ .is("deleted_at", null)
11
+ .order("created_at", { ascending: true })
12
+ .order("id", { ascending: true });
13
+ if (error) {
14
+ const message = typeof error?.message === "string"
15
+ ? error.message
16
+ : "";
17
+ const code = error.code;
18
+ const isMissingRelation = code === "42P01" ||
19
+ code === "PGRST205" ||
20
+ message.includes('relation "task_comments" does not exist') ||
21
+ message.includes("Could not find the table 'public.task_comments'");
22
+ if (isMissingRelation) {
23
+ return [];
24
+ }
25
+ throw error;
26
+ }
27
+ return data || [];
28
+ }
29
+ export async function getTaskLearnings(task) {
30
+ const supabase = getSupabase();
31
+ const userId = task.user_id;
32
+ const taskQuery = supabase
33
+ .from("learnings")
34
+ .select("*")
35
+ .eq("scope", "task")
36
+ .eq("scope_id", task.id);
37
+ if (userId)
38
+ taskQuery.eq("user_id", userId);
39
+ const projectScopeIds = new Set();
40
+ if (task.project_id)
41
+ projectScopeIds.add(task.project_id);
42
+ if (task.project)
43
+ projectScopeIds.add(task.project);
44
+ if (!task.project_id && task.project) {
45
+ const project = await fetchProjectBySlugWithRepos(task.project, userId);
46
+ if (project?.id)
47
+ projectScopeIds.add(project.id);
48
+ }
49
+ const projectScopeIdList = Array.from(projectScopeIds);
50
+ const projectQuery = projectScopeIdList.length
51
+ ? supabase
52
+ .from("learnings")
53
+ .select("*")
54
+ .eq("scope", "project")
55
+ .in("scope_id", projectScopeIdList)
56
+ : null;
57
+ if (projectQuery && userId) {
58
+ projectQuery.eq("user_id", userId);
59
+ }
60
+ const globalQuery = supabase
61
+ .from("learnings")
62
+ .select("*")
63
+ .eq("scope", "global");
64
+ if (userId)
65
+ globalQuery.eq("user_id", userId);
66
+ const [{ data: taskLearnings, error: taskError }, { data: globalLearnings, error: globalError }, projectResult] = await Promise.all([
67
+ taskQuery,
68
+ globalQuery,
69
+ projectQuery ?? Promise.resolve({ data: [], error: null }),
70
+ ]);
71
+ if (taskError)
72
+ throw taskError;
73
+ if (globalError)
74
+ throw globalError;
75
+ if (projectResult?.error)
76
+ throw projectResult.error;
77
+ return {
78
+ task: taskLearnings || [],
79
+ project: projectResult?.data || [],
80
+ global: globalLearnings || [],
81
+ };
82
+ }
83
+ function formatList(items, emptyLabel) {
84
+ if (!items.length)
85
+ return emptyLabel;
86
+ return items.map((item) => `- ${item}`).join("\n");
87
+ }
88
+ function isMissingRelationError(error, relation) {
89
+ const message = typeof error?.message === "string"
90
+ ? error.message
91
+ : "";
92
+ const code = error.code;
93
+ return (code === "42P01" ||
94
+ code === "PGRST205" ||
95
+ message.includes(`relation "${relation}" does not exist`) ||
96
+ message.includes(`Could not find the table 'public.${relation}'`));
97
+ }
98
+ function formatProjectMetadata(project) {
99
+ const lines = [
100
+ `Name: ${project.name}`,
101
+ `Slug: ${project.slug}`,
102
+ `Description: ${project.description?.trim() || "None"}`,
103
+ ];
104
+ if (project.ci_cd_info) {
105
+ lines.push(`CI/CD: ${project.ci_cd_info}`);
106
+ }
107
+ const metadata = project.metadata;
108
+ if (metadata && typeof metadata === "object" && !Array.isArray(metadata)) {
109
+ const entries = Object.entries(metadata).filter(([key]) => key);
110
+ if (entries.length) {
111
+ lines.push("Metadata:");
112
+ entries.forEach(([key, value]) => {
113
+ lines.push(` ${key}: ${JSON.stringify(value)}`);
114
+ });
115
+ }
116
+ }
117
+ return lines.join("\n");
118
+ }
119
+ function formatRepoLines(repos) {
120
+ if (!repos.length)
121
+ return "(none)";
122
+ return repos
123
+ .map((repo) => {
124
+ const parts = [`${repo.name}`];
125
+ if (repo.path)
126
+ parts.push(`path: ${repo.path}`);
127
+ if (repo.git_url)
128
+ parts.push(`git_url: ${repo.git_url}`);
129
+ if (repo.notes)
130
+ parts.push(`notes: ${repo.notes}`);
131
+ return `- ${parts.join(" | ")}`;
132
+ })
133
+ .join("\n");
134
+ }
135
+ async function fetchProjectRepos(projectId) {
136
+ const supabase = getSupabase();
137
+ const { data, error } = await supabase
138
+ .from("project_repos")
139
+ .select("*")
140
+ .eq("project_id", projectId);
141
+ if (error) {
142
+ if (isMissingRelationError(error, "project_repos")) {
143
+ return [];
144
+ }
145
+ throw error;
146
+ }
147
+ return data || [];
148
+ }
149
+ async function fetchProjectByIdWithRepos(projectId, userId) {
150
+ const supabase = getSupabase();
151
+ let query = supabase.from("projects").select("*").eq("id", projectId);
152
+ if (userId)
153
+ query = query.eq("user_id", userId);
154
+ const { data, error } = await query.maybeSingle();
155
+ if (error) {
156
+ if (isMissingRelationError(error, "projects")) {
157
+ return null;
158
+ }
159
+ throw error;
160
+ }
161
+ if (!data)
162
+ return null;
163
+ const repos = await fetchProjectRepos(data.id);
164
+ return { ...data, repos };
165
+ }
166
+ async function fetchProjectBySlugWithRepos(slug, userId) {
167
+ const supabase = getSupabase();
168
+ let query = supabase.from("projects").select("*").eq("slug", slug);
169
+ if (userId)
170
+ query = query.eq("user_id", userId);
171
+ const { data, error } = await query.maybeSingle();
172
+ if (error) {
173
+ if (isMissingRelationError(error, "projects")) {
174
+ return null;
175
+ }
176
+ throw error;
177
+ }
178
+ if (!data)
179
+ return null;
180
+ const repos = await fetchProjectRepos(data.id);
181
+ return { ...data, repos };
182
+ }
183
+ async function resolveProjectContext(task, projectLearnings) {
184
+ const projectId = task.project_id;
185
+ const projectSlug = !projectId && task.project ? task.project : undefined;
186
+ let projectWithRepos = null;
187
+ if (projectId) {
188
+ projectWithRepos = await fetchProjectByIdWithRepos(projectId, task.user_id);
189
+ }
190
+ if (!projectWithRepos && projectSlug) {
191
+ projectWithRepos = await fetchProjectBySlugWithRepos(projectSlug, task.user_id);
192
+ }
193
+ if (!projectWithRepos) {
194
+ return null;
195
+ }
196
+ return {
197
+ project: projectWithRepos,
198
+ repos: projectWithRepos.repos ?? [],
199
+ learnings: projectLearnings.map((learning) => learning.content),
200
+ };
201
+ }
202
+ function isPromptRelevantComment(content) {
203
+ const normalized = String(content || "").trim();
204
+ if (!normalized)
205
+ return false;
206
+ if (normalized.startsWith("[execution/"))
207
+ return false;
208
+ if (normalized.startsWith("Execution result from agx"))
209
+ return false;
210
+ return true;
211
+ }
212
+ export function computeCommentsDigest(comments) {
213
+ const normalized = comments.map((comment) => ({
214
+ id: comment.id,
215
+ task_id: comment.task_id,
216
+ author_type: comment.author_type || null,
217
+ author_id: comment.author_id || null,
218
+ content: comment.content || "",
219
+ created_at: comment.created_at || null,
220
+ }));
221
+ const serialized = JSON.stringify(normalized);
222
+ return createHash("sha256").update(serialized).digest("hex");
223
+ }
224
+ export function buildTaskPrompt(args) {
225
+ const { task, comments, learnings, stage_config, project_context } = args;
226
+ const { body } = parseFrontmatter(task.content);
227
+ const description = (task.description ?? body).trim();
228
+ // Resolve configuration (Task > Stage)
229
+ const config = resolveTaskConfig(task, stage_config);
230
+ const metaLines = [
231
+ `Title: ${task.title || "Untitled"}`,
232
+ `Slug: ${task.slug || "unspecified"}`,
233
+ `Stage: ${task.stage || "ideation"}`,
234
+ `Project: ${task.project || "none"}`,
235
+ `Engine: ${task.engine || "unspecified"}`,
236
+ `Provider: ${config.provider}`,
237
+ `Model: ${config.model}`,
238
+ `Swarm: ${config.swarm ? "true" : "false"}`,
239
+ `Swarm Models: ${config.swarm_models.length ? config.swarm_models.map((m) => `${m.provider}:${m.model}`).join(", ") : "none"}`,
240
+ ];
241
+ const commentLines = comments
242
+ .filter((comment) => isPromptRelevantComment(comment.content))
243
+ .map((comment) => {
244
+ const when = comment.created_at ? new Date(comment.created_at).toISOString() : "unknown-time";
245
+ const author = comment.author_type === "agent" ? "agent" : "user";
246
+ return `[${when}] (${author}) ${comment.content}`;
247
+ });
248
+ const projectContextSections = project_context?.project
249
+ ? [
250
+ `PROJECT CONTEXT\n${formatProjectMetadata(project_context.project)}`,
251
+ `REPOSITORY MAP\n${formatRepoLines(project_context.repos)}`,
252
+ `PROJECT LEARNINGS\n${formatList(project_context.learnings, "(none)")}`,
253
+ ]
254
+ : [];
255
+ const sections = [
256
+ stage_config.prompt ? `STAGE PROMPT\n${stage_config.prompt}` : null,
257
+ "EXECUTION RULES\n- Do not use AGX MCP tools or AGX MCP servers for this task.\n- Complete work using local edits, shell commands, and allowed HTTP APIs only.",
258
+ `TASK\n${description || "(empty)"}`,
259
+ `COMMENTS\n${formatList(commentLines, "(none)")}`,
260
+ ...projectContextSections,
261
+ `LEARNINGS (task)\n${formatList(learnings.task.map((l) => l.content), "(none)")}`,
262
+ `LEARNINGS (project)\n${formatList(learnings.project.map((l) => l.content), "(none)")}`,
263
+ `LEARNINGS (global)\n${formatList(learnings.global.map((l) => l.content), "(none)")}`,
264
+ ].filter((section) => Boolean(section));
265
+ return sections.join("\n\n");
266
+ }
267
+ export async function buildTaskContext(task) {
268
+ const supabase = getSupabase();
269
+ const stageConfigPromise = task.stage ? fetchStageConfig(supabase, task.stage, task.user_id) : Promise.resolve({ prompt: null });
270
+ const [comments, learnings, stage_config] = await Promise.all([
271
+ getTaskComments(task.id),
272
+ getTaskLearnings(task),
273
+ stageConfigPromise,
274
+ ]);
275
+ const project_context = await resolveProjectContext(task, learnings.project);
276
+ const config = stage_config || { prompt: null };
277
+ const comments_digest = computeCommentsDigest(comments);
278
+ return {
279
+ comments,
280
+ learnings,
281
+ stage_config: config,
282
+ project_context,
283
+ prompt: buildTaskPrompt({ task, comments, learnings, stage_config: config, project_context }),
284
+ comments_digest,
285
+ };
286
+ }
287
+ //# sourceMappingURL=task-context.js.map
@@ -0,0 +1,82 @@
1
+ #!/usr/bin/env tsx
2
+ /**
3
+ * Test client for AGX MCP Server
4
+ *
5
+ * Usage:
6
+ * npm run test
7
+ * # or
8
+ * tsx src/test-client.ts
9
+ */
10
+ import { Client } from "@modelcontextprotocol/sdk/client/index.js";
11
+ import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
12
+ import { spawn } from "child_process";
13
+ const TEST_USER_ID = "00000000-0000-0000-0000-000000000001"; // Fake UUID for testing
14
+ async function main() {
15
+ console.log("๐Ÿงช AGX MCP Server Test Client\n");
16
+ // Spawn the MCP server
17
+ console.log("Starting MCP server...");
18
+ const serverProcess = spawn("npx", ["tsx", "src/index.ts"], {
19
+ cwd: process.cwd(),
20
+ stdio: ["pipe", "pipe", "inherit"],
21
+ });
22
+ const transport = new StdioClientTransport({
23
+ command: "npx",
24
+ args: ["tsx", "src/index.ts"],
25
+ cwd: process.cwd(),
26
+ });
27
+ const client = new Client({ name: "test-client", version: "1.0.0" }, { capabilities: {} });
28
+ try {
29
+ await client.connect(transport);
30
+ console.log("โœ… Connected to MCP server\n");
31
+ // List all tools
32
+ console.log("๐Ÿ“‹ Available Tools:");
33
+ console.log("โ”€".repeat(50));
34
+ const tools = await client.listTools();
35
+ for (const tool of tools.tools) {
36
+ console.log(` โ€ข ${tool.name}`);
37
+ console.log(` ${tool.description}\n`);
38
+ }
39
+ // Test tasks/list
40
+ console.log("\n๐Ÿ”ง Testing tasks/list...");
41
+ const listResult = await client.callTool({
42
+ name: "tasks/list",
43
+ arguments: { limit: 5 },
44
+ });
45
+ const listContent = listResult.content;
46
+ console.log("Result:", JSON.stringify(JSON.parse(listContent[0].text), null, 2));
47
+ // Test learnings/list
48
+ console.log("\n๐Ÿ”ง Testing learnings/list...");
49
+ const learningsResult = await client.callTool({
50
+ name: "learnings/list",
51
+ arguments: { scope: "global", limit: 5 },
52
+ });
53
+ const learningsContent = learningsResult.content;
54
+ console.log("Result:", JSON.stringify(JSON.parse(learningsContent[0].text), null, 2));
55
+ // Test creating a task (if you have a real user ID)
56
+ // Uncomment below to test task creation
57
+ /*
58
+ console.log("\n๐Ÿ”ง Testing tasks/create...");
59
+ const createResult = await client.callTool({
60
+ name: "tasks/create",
61
+ arguments: {
62
+ title: "Test task from MCP client",
63
+ description: "This is a test task created via the MCP server",
64
+ project: "mcp-test",
65
+ priority: 3,
66
+ },
67
+ });
68
+ console.log("Result:", JSON.stringify(JSON.parse((createResult.content[0] as any).text), null, 2));
69
+ */
70
+ console.log("\nโœ… All tests completed!");
71
+ }
72
+ catch (error) {
73
+ console.error("โŒ Test failed:", error);
74
+ process.exit(1);
75
+ }
76
+ finally {
77
+ await client.close();
78
+ serverProcess.kill();
79
+ }
80
+ }
81
+ main();
82
+ //# sourceMappingURL=test-client.js.map