@chorus-aidlc/chorus 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (563) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/app-build-manifest.json +334 -335
  3. package/.next/standalone/.next/app-path-routes-manifest.json +30 -30
  4. package/.next/standalone/.next/build-manifest.json +5 -5
  5. package/.next/standalone/.next/prerender-manifest.json +21 -21
  6. package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page.js +1 -1
  7. package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page.js.nft.json +1 -1
  8. package/.next/standalone/.next/server/app/(dashboard)/project-groups/[uuid]/page_client-reference-manifest.js +1 -1
  9. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page.js +1 -1
  10. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page.js.nft.json +1 -1
  11. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/activity/page_client-reference-manifest.js +1 -1
  12. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page.js +1 -1
  13. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page.js.nft.json +1 -1
  14. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/[ideaUuid]/page_client-reference-manifest.js +1 -1
  15. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page.js +2 -2
  16. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page.js.nft.json +1 -1
  17. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/dashboard/page_client-reference-manifest.js +1 -1
  18. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page.js +2 -2
  19. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page.js.nft.json +1 -1
  20. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page_client-reference-manifest.js +1 -1
  21. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page.js +2 -2
  22. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page.js.nft.json +1 -1
  23. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/documents/page_client-reference-manifest.js +1 -1
  24. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/graph/page.js +2 -2
  25. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/graph/page.js.nft.json +1 -1
  26. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/graph/page_client-reference-manifest.js +1 -1
  27. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page.js +2 -2
  28. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page_client-reference-manifest.js +1 -1
  30. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page.js +2 -2
  31. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page.js.nft.json +1 -1
  32. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/new/page_client-reference-manifest.js +1 -1
  33. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page.js +1 -1
  34. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/proposals/page_client-reference-manifest.js +1 -1
  36. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page.js +1 -1
  37. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page.js.nft.json +1 -1
  38. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/page_client-reference-manifest.js +1 -1
  39. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page.js +1 -1
  40. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/(dashboard)/projects/[uuid]/tasks/page_client-reference-manifest.js +1 -1
  42. package/.next/standalone/.next/server/app/(dashboard)/projects/page.js +2 -2
  43. package/.next/standalone/.next/server/app/(dashboard)/projects/page.js.nft.json +1 -1
  44. package/.next/standalone/.next/server/app/(dashboard)/projects/page_client-reference-manifest.js +1 -1
  45. package/.next/standalone/.next/server/app/(dashboard)/settings/page.js +2 -2
  46. package/.next/standalone/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
  47. package/.next/standalone/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  48. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  49. package/.next/standalone/.next/server/app/_not-found.html +2 -2
  50. package/.next/standalone/.next/server/app/_not-found.rsc +2 -2
  51. package/.next/standalone/.next/server/app/admin/companies/[uuid]/page.js +1 -1
  52. package/.next/standalone/.next/server/app/admin/companies/[uuid]/page_client-reference-manifest.js +1 -1
  53. package/.next/standalone/.next/server/app/admin/companies/new/page.js +1 -1
  54. package/.next/standalone/.next/server/app/admin/companies/new/page_client-reference-manifest.js +1 -1
  55. package/.next/standalone/.next/server/app/admin/companies/new.html +2 -2
  56. package/.next/standalone/.next/server/app/admin/companies/new.rsc +3 -3
  57. package/.next/standalone/.next/server/app/admin/companies/page_client-reference-manifest.js +1 -1
  58. package/.next/standalone/.next/server/app/admin/companies.html +2 -2
  59. package/.next/standalone/.next/server/app/admin/companies.rsc +2 -2
  60. package/.next/standalone/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  61. package/.next/standalone/.next/server/app/admin.html +2 -2
  62. package/.next/standalone/.next/server/app/admin.rsc +2 -2
  63. package/.next/standalone/.next/server/app/api/admin/companies/[uuid]/route.js +1 -1
  64. package/.next/standalone/.next/server/app/api/admin/companies/[uuid]/route.js.nft.json +1 -1
  65. package/.next/standalone/.next/server/app/api/admin/companies/[uuid]/route_client-reference-manifest.js +1 -1
  66. package/.next/standalone/.next/server/app/api/admin/companies/route.js +1 -1
  67. package/.next/standalone/.next/server/app/api/admin/companies/route.js.nft.json +1 -1
  68. package/.next/standalone/.next/server/app/api/admin/companies/route_client-reference-manifest.js +1 -1
  69. package/.next/standalone/.next/server/app/api/admin/login/route_client-reference-manifest.js +1 -1
  70. package/.next/standalone/.next/server/app/api/admin/session/route_client-reference-manifest.js +1 -1
  71. package/.next/standalone/.next/server/app/api/agent-connections/route.js +1 -1
  72. package/.next/standalone/.next/server/app/api/agent-connections/route.js.nft.json +1 -1
  73. package/.next/standalone/.next/server/app/api/agent-connections/route_client-reference-manifest.js +1 -1
  74. package/.next/standalone/.next/server/app/api/agents/[uuid]/route.js +1 -1
  75. package/.next/standalone/.next/server/app/api/agents/[uuid]/route.js.nft.json +1 -1
  76. package/.next/standalone/.next/server/app/api/agents/[uuid]/route_client-reference-manifest.js +1 -1
  77. package/.next/standalone/.next/server/app/api/agents/[uuid]/sessions/route.js +1 -1
  78. package/.next/standalone/.next/server/app/api/agents/[uuid]/sessions/route.js.nft.json +1 -1
  79. package/.next/standalone/.next/server/app/api/agents/[uuid]/sessions/route_client-reference-manifest.js +1 -1
  80. package/.next/standalone/.next/server/app/api/agents/route.js +1 -1
  81. package/.next/standalone/.next/server/app/api/agents/route.js.nft.json +1 -1
  82. package/.next/standalone/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
  83. package/.next/standalone/.next/server/app/api/api-keys/[uuid]/route.js +1 -1
  84. package/.next/standalone/.next/server/app/api/api-keys/[uuid]/route.js.nft.json +1 -1
  85. package/.next/standalone/.next/server/app/api/api-keys/[uuid]/route_client-reference-manifest.js +1 -1
  86. package/.next/standalone/.next/server/app/api/api-keys/route.js +1 -1
  87. package/.next/standalone/.next/server/app/api/api-keys/route.js.nft.json +1 -1
  88. package/.next/standalone/.next/server/app/api/api-keys/route_client-reference-manifest.js +1 -1
  89. package/.next/standalone/.next/server/app/api/auth/callback/route_client-reference-manifest.js +1 -1
  90. package/.next/standalone/.next/server/app/api/auth/check-default/route_client-reference-manifest.js +1 -1
  91. package/.next/standalone/.next/server/app/api/auth/company-oidc/route_client-reference-manifest.js +1 -1
  92. package/.next/standalone/.next/server/app/api/auth/default-login/route_client-reference-manifest.js +1 -1
  93. package/.next/standalone/.next/server/app/api/auth/identify/route_client-reference-manifest.js +1 -1
  94. package/.next/standalone/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  95. package/.next/standalone/.next/server/app/api/auth/me/route_client-reference-manifest.js +1 -1
  96. package/.next/standalone/.next/server/app/api/auth/sync-token/route_client-reference-manifest.js +1 -1
  97. package/.next/standalone/.next/server/app/api/comments/route.js +1 -1
  98. package/.next/standalone/.next/server/app/api/comments/route.js.nft.json +1 -1
  99. package/.next/standalone/.next/server/app/api/comments/route_client-reference-manifest.js +1 -1
  100. package/.next/standalone/.next/server/app/api/daemon/connection-heartbeat/route.js +1 -1
  101. package/.next/standalone/.next/server/app/api/daemon/connection-heartbeat/route.js.nft.json +1 -1
  102. package/.next/standalone/.next/server/app/api/daemon/connection-heartbeat/route_client-reference-manifest.js +1 -1
  103. package/.next/standalone/.next/server/app/api/daemon/control/route.js +1 -1
  104. package/.next/standalone/.next/server/app/api/daemon/control/route.js.nft.json +1 -1
  105. package/.next/standalone/.next/server/app/api/daemon/control/route_client-reference-manifest.js +1 -1
  106. package/.next/standalone/.next/server/app/api/daemon/directory-request/report/route.js +1 -1
  107. package/.next/standalone/.next/server/app/api/daemon/directory-request/report/route.js.nft.json +1 -1
  108. package/.next/standalone/.next/server/app/api/daemon/directory-request/report/route_client-reference-manifest.js +1 -1
  109. package/.next/standalone/.next/server/app/api/daemon/execution-state/route.js +1 -1
  110. package/.next/standalone/.next/server/app/api/daemon/execution-state/route.js.nft.json +1 -1
  111. package/.next/standalone/.next/server/app/api/daemon/execution-state/route_client-reference-manifest.js +1 -1
  112. package/.next/standalone/.next/server/app/api/daemon/executions/route.js +1 -1
  113. package/.next/standalone/.next/server/app/api/daemon/executions/route.js.nft.json +1 -1
  114. package/.next/standalone/.next/server/app/api/daemon/executions/route_client-reference-manifest.js +1 -1
  115. package/.next/standalone/.next/server/app/api/daemon/pending-turns/route.js +1 -1
  116. package/.next/standalone/.next/server/app/api/daemon/pending-turns/route.js.nft.json +1 -1
  117. package/.next/standalone/.next/server/app/api/daemon/pending-turns/route_client-reference-manifest.js +1 -1
  118. package/.next/standalone/.next/server/app/api/daemon/report-interrupt/route.js +1 -1
  119. package/.next/standalone/.next/server/app/api/daemon/report-interrupt/route.js.nft.json +1 -1
  120. package/.next/standalone/.next/server/app/api/daemon/report-interrupt/route_client-reference-manifest.js +1 -1
  121. package/.next/standalone/.next/server/app/api/daemon/resume/route.js +1 -1
  122. package/.next/standalone/.next/server/app/api/daemon/resume/route.js.nft.json +1 -1
  123. package/.next/standalone/.next/server/app/api/daemon/resume/route_client-reference-manifest.js +1 -1
  124. package/.next/standalone/.next/server/app/api/daemon/transcript/route.js +1 -1
  125. package/.next/standalone/.next/server/app/api/daemon/transcript/route.js.nft.json +1 -1
  126. package/.next/standalone/.next/server/app/api/daemon/transcript/route_client-reference-manifest.js +1 -1
  127. package/.next/standalone/.next/server/app/api/daemon/turn-advance/route.js +1 -1
  128. package/.next/standalone/.next/server/app/api/daemon/turn-advance/route.js.nft.json +1 -1
  129. package/.next/standalone/.next/server/app/api/daemon/turn-advance/route_client-reference-manifest.js +1 -1
  130. package/.next/standalone/.next/server/app/api/daemon-directory-requests/[uuid]/route.js +1 -1
  131. package/.next/standalone/.next/server/app/api/daemon-directory-requests/[uuid]/route.js.nft.json +1 -1
  132. package/.next/standalone/.next/server/app/api/daemon-directory-requests/[uuid]/route_client-reference-manifest.js +1 -1
  133. package/.next/standalone/.next/server/app/api/daemon-directory-requests/route.js +1 -1
  134. package/.next/standalone/.next/server/app/api/daemon-directory-requests/route.js.nft.json +1 -1
  135. package/.next/standalone/.next/server/app/api/daemon-directory-requests/route_client-reference-manifest.js +1 -1
  136. package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/instruction/route.js +1 -1
  137. package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/instruction/route.js.nft.json +1 -1
  138. package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/instruction/route_client-reference-manifest.js +1 -1
  139. package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/repoint/route.js +1 -1
  140. package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/repoint/route.js.nft.json +1 -1
  141. package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/repoint/route_client-reference-manifest.js +1 -1
  142. package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/route.js +1 -1
  143. package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/route.js.nft.json +1 -1
  144. package/.next/standalone/.next/server/app/api/daemon-sessions/[sessionUuid]/route_client-reference-manifest.js +1 -1
  145. package/.next/standalone/.next/server/app/api/daemon-sessions/ad-hoc/route.js +1 -1
  146. package/.next/standalone/.next/server/app/api/daemon-sessions/ad-hoc/route.js.nft.json +1 -1
  147. package/.next/standalone/.next/server/app/api/daemon-sessions/ad-hoc/route_client-reference-manifest.js +1 -1
  148. package/.next/standalone/.next/server/app/api/daemon-sessions/route.js +1 -1
  149. package/.next/standalone/.next/server/app/api/daemon-sessions/route.js.nft.json +1 -1
  150. package/.next/standalone/.next/server/app/api/daemon-sessions/route_client-reference-manifest.js +1 -1
  151. package/.next/standalone/.next/server/app/api/documents/[uuid]/route.js +1 -1
  152. package/.next/standalone/.next/server/app/api/documents/[uuid]/route.js.nft.json +1 -1
  153. package/.next/standalone/.next/server/app/api/documents/[uuid]/route_client-reference-manifest.js +1 -1
  154. package/.next/standalone/.next/server/app/api/entities/[type]/[uuid]/root-idea/route.js +1 -1
  155. package/.next/standalone/.next/server/app/api/entities/[type]/[uuid]/root-idea/route.js.nft.json +1 -1
  156. package/.next/standalone/.next/server/app/api/entities/[type]/[uuid]/root-idea/route_client-reference-manifest.js +1 -1
  157. package/.next/standalone/.next/server/app/api/events/notifications/route.js +1 -1
  158. package/.next/standalone/.next/server/app/api/events/notifications/route.js.nft.json +1 -1
  159. package/.next/standalone/.next/server/app/api/events/notifications/route_client-reference-manifest.js +1 -1
  160. package/.next/standalone/.next/server/app/api/events/route.js +2 -2
  161. package/.next/standalone/.next/server/app/api/events/route.js.nft.json +1 -1
  162. package/.next/standalone/.next/server/app/api/events/route_client-reference-manifest.js +1 -1
  163. package/.next/standalone/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
  164. package/.next/standalone/.next/server/app/api/ideas/[uuid]/claim/route.js +1 -1
  165. package/.next/standalone/.next/server/app/api/ideas/[uuid]/claim/route.js.nft.json +1 -1
  166. package/.next/standalone/.next/server/app/api/ideas/[uuid]/claim/route_client-reference-manifest.js +1 -1
  167. package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/preview/route.js +1 -1
  168. package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/preview/route.js.nft.json +1 -1
  169. package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/preview/route_client-reference-manifest.js +1 -1
  170. package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/route.js +1 -1
  171. package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/route.js.nft.json +1 -1
  172. package/.next/standalone/.next/server/app/api/ideas/[uuid]/move/route_client-reference-manifest.js +1 -1
  173. package/.next/standalone/.next/server/app/api/ideas/[uuid]/parent/route.js +1 -1
  174. package/.next/standalone/.next/server/app/api/ideas/[uuid]/parent/route.js.nft.json +1 -1
  175. package/.next/standalone/.next/server/app/api/ideas/[uuid]/parent/route_client-reference-manifest.js +1 -1
  176. package/.next/standalone/.next/server/app/api/ideas/[uuid]/release/route.js +1 -1
  177. package/.next/standalone/.next/server/app/api/ideas/[uuid]/release/route.js.nft.json +1 -1
  178. package/.next/standalone/.next/server/app/api/ideas/[uuid]/release/route_client-reference-manifest.js +1 -1
  179. package/.next/standalone/.next/server/app/api/ideas/[uuid]/route.js +1 -1
  180. package/.next/standalone/.next/server/app/api/ideas/[uuid]/route.js.nft.json +1 -1
  181. package/.next/standalone/.next/server/app/api/ideas/[uuid]/route_client-reference-manifest.js +1 -1
  182. package/.next/standalone/.next/server/app/api/ideas/[uuid]/wake-preview/route.js +1 -1
  183. package/.next/standalone/.next/server/app/api/ideas/[uuid]/wake-preview/route.js.nft.json +1 -1
  184. package/.next/standalone/.next/server/app/api/ideas/[uuid]/wake-preview/route_client-reference-manifest.js +1 -1
  185. package/.next/standalone/.next/server/app/api/ideas/conversational/route.js +1 -1
  186. package/.next/standalone/.next/server/app/api/ideas/conversational/route.js.nft.json +1 -1
  187. package/.next/standalone/.next/server/app/api/ideas/conversational/route_client-reference-manifest.js +1 -1
  188. package/.next/standalone/.next/server/app/api/mcp/route.js +1 -1
  189. package/.next/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
  190. package/.next/standalone/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -1
  191. package/.next/standalone/.next/server/app/api/me/assignments/route.js +1 -1
  192. package/.next/standalone/.next/server/app/api/me/assignments/route.js.nft.json +1 -1
  193. package/.next/standalone/.next/server/app/api/me/assignments/route_client-reference-manifest.js +1 -1
  194. package/.next/standalone/.next/server/app/api/mentionables/route.js +1 -1
  195. package/.next/standalone/.next/server/app/api/mentionables/route.js.nft.json +1 -1
  196. package/.next/standalone/.next/server/app/api/mentionables/route_client-reference-manifest.js +1 -1
  197. package/.next/standalone/.next/server/app/api/notifications/[uuid]/archive/route.js +1 -1
  198. package/.next/standalone/.next/server/app/api/notifications/[uuid]/archive/route.js.nft.json +1 -1
  199. package/.next/standalone/.next/server/app/api/notifications/[uuid]/archive/route_client-reference-manifest.js +1 -1
  200. package/.next/standalone/.next/server/app/api/notifications/[uuid]/read/route.js +1 -1
  201. package/.next/standalone/.next/server/app/api/notifications/[uuid]/read/route.js.nft.json +1 -1
  202. package/.next/standalone/.next/server/app/api/notifications/[uuid]/read/route_client-reference-manifest.js +1 -1
  203. package/.next/standalone/.next/server/app/api/notifications/preferences/route.js +1 -1
  204. package/.next/standalone/.next/server/app/api/notifications/preferences/route.js.nft.json +1 -1
  205. package/.next/standalone/.next/server/app/api/notifications/preferences/route_client-reference-manifest.js +1 -1
  206. package/.next/standalone/.next/server/app/api/notifications/read-all/route.js +1 -1
  207. package/.next/standalone/.next/server/app/api/notifications/read-all/route.js.nft.json +1 -1
  208. package/.next/standalone/.next/server/app/api/notifications/read-all/route_client-reference-manifest.js +1 -1
  209. package/.next/standalone/.next/server/app/api/notifications/route.js +1 -1
  210. package/.next/standalone/.next/server/app/api/notifications/route.js.nft.json +1 -1
  211. package/.next/standalone/.next/server/app/api/notifications/route_client-reference-manifest.js +1 -1
  212. package/.next/standalone/.next/server/app/api/notifications/unread-count/route.js +1 -1
  213. package/.next/standalone/.next/server/app/api/notifications/unread-count/route.js.nft.json +1 -1
  214. package/.next/standalone/.next/server/app/api/notifications/unread-count/route_client-reference-manifest.js +1 -1
  215. package/.next/standalone/.next/server/app/api/project-groups/[uuid]/dashboard/route.js +1 -1
  216. package/.next/standalone/.next/server/app/api/project-groups/[uuid]/dashboard/route.js.nft.json +1 -1
  217. package/.next/standalone/.next/server/app/api/project-groups/[uuid]/dashboard/route_client-reference-manifest.js +1 -1
  218. package/.next/standalone/.next/server/app/api/project-groups/[uuid]/route.js +1 -1
  219. package/.next/standalone/.next/server/app/api/project-groups/[uuid]/route.js.nft.json +1 -1
  220. package/.next/standalone/.next/server/app/api/project-groups/[uuid]/route_client-reference-manifest.js +1 -1
  221. package/.next/standalone/.next/server/app/api/project-groups/route.js +1 -1
  222. package/.next/standalone/.next/server/app/api/project-groups/route.js.nft.json +1 -1
  223. package/.next/standalone/.next/server/app/api/project-groups/route_client-reference-manifest.js +1 -1
  224. package/.next/standalone/.next/server/app/api/project-visits/pin/route.js +1 -1
  225. package/.next/standalone/.next/server/app/api/project-visits/pin/route.js.nft.json +1 -1
  226. package/.next/standalone/.next/server/app/api/project-visits/pin/route_client-reference-manifest.js +1 -1
  227. package/.next/standalone/.next/server/app/api/project-visits/route.js +1 -1
  228. package/.next/standalone/.next/server/app/api/project-visits/route.js.nft.json +1 -1
  229. package/.next/standalone/.next/server/app/api/project-visits/route_client-reference-manifest.js +1 -1
  230. package/.next/standalone/.next/server/app/api/project-visits/visit/route.js +1 -1
  231. package/.next/standalone/.next/server/app/api/project-visits/visit/route.js.nft.json +1 -1
  232. package/.next/standalone/.next/server/app/api/project-visits/visit/route_client-reference-manifest.js +1 -1
  233. package/.next/standalone/.next/server/app/api/projects/[uuid]/activity/route.js +1 -1
  234. package/.next/standalone/.next/server/app/api/projects/[uuid]/activity/route.js.nft.json +1 -1
  235. package/.next/standalone/.next/server/app/api/projects/[uuid]/activity/route_client-reference-manifest.js +1 -1
  236. package/.next/standalone/.next/server/app/api/projects/[uuid]/agent-cwds/route.js +1 -1
  237. package/.next/standalone/.next/server/app/api/projects/[uuid]/agent-cwds/route.js.nft.json +1 -1
  238. package/.next/standalone/.next/server/app/api/projects/[uuid]/agent-cwds/route_client-reference-manifest.js +1 -1
  239. package/.next/standalone/.next/server/app/api/projects/[uuid]/available/route.js +1 -1
  240. package/.next/standalone/.next/server/app/api/projects/[uuid]/available/route.js.nft.json +1 -1
  241. package/.next/standalone/.next/server/app/api/projects/[uuid]/available/route_client-reference-manifest.js +1 -1
  242. package/.next/standalone/.next/server/app/api/projects/[uuid]/documents/route.js +1 -1
  243. package/.next/standalone/.next/server/app/api/projects/[uuid]/documents/route.js.nft.json +1 -1
  244. package/.next/standalone/.next/server/app/api/projects/[uuid]/documents/route_client-reference-manifest.js +1 -1
  245. package/.next/standalone/.next/server/app/api/projects/[uuid]/group/route.js +1 -1
  246. package/.next/standalone/.next/server/app/api/projects/[uuid]/group/route.js.nft.json +1 -1
  247. package/.next/standalone/.next/server/app/api/projects/[uuid]/group/route_client-reference-manifest.js +1 -1
  248. package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/route.js +1 -1
  249. package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/route.js.nft.json +1 -1
  250. package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/route_client-reference-manifest.js +1 -1
  251. package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/tracker/route.js +1 -1
  252. package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/tracker/route.js.nft.json +1 -1
  253. package/.next/standalone/.next/server/app/api/projects/[uuid]/ideas/tracker/route_client-reference-manifest.js +1 -1
  254. package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/[proposalUuid]/validate/route.js +1 -1
  255. package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/[proposalUuid]/validate/route.js.nft.json +1 -1
  256. package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/[proposalUuid]/validate/route_client-reference-manifest.js +1 -1
  257. package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/route.js +1 -1
  258. package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/route.js.nft.json +1 -1
  259. package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/route_client-reference-manifest.js +1 -1
  260. package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/summary/route.js +1 -1
  261. package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/summary/route.js.nft.json +1 -1
  262. package/.next/standalone/.next/server/app/api/projects/[uuid]/proposals/summary/route_client-reference-manifest.js +1 -1
  263. package/.next/standalone/.next/server/app/api/projects/[uuid]/resource-graph/route.js +1 -1
  264. package/.next/standalone/.next/server/app/api/projects/[uuid]/resource-graph/route.js.nft.json +1 -1
  265. package/.next/standalone/.next/server/app/api/projects/[uuid]/resource-graph/route_client-reference-manifest.js +1 -1
  266. package/.next/standalone/.next/server/app/api/projects/[uuid]/route.js +1 -1
  267. package/.next/standalone/.next/server/app/api/projects/[uuid]/route.js.nft.json +1 -1
  268. package/.next/standalone/.next/server/app/api/projects/[uuid]/route_client-reference-manifest.js +1 -1
  269. package/.next/standalone/.next/server/app/api/projects/[uuid]/stats/route.js +1 -1
  270. package/.next/standalone/.next/server/app/api/projects/[uuid]/stats/route.js.nft.json +1 -1
  271. package/.next/standalone/.next/server/app/api/projects/[uuid]/stats/route_client-reference-manifest.js +1 -1
  272. package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/dependencies/route.js +1 -1
  273. package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/dependencies/route.js.nft.json +1 -1
  274. package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/dependencies/route_client-reference-manifest.js +1 -1
  275. package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/route.js +1 -1
  276. package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/route.js.nft.json +1 -1
  277. package/.next/standalone/.next/server/app/api/projects/[uuid]/tasks/route_client-reference-manifest.js +1 -1
  278. package/.next/standalone/.next/server/app/api/projects/agent-cwd-options/route.js +1 -1
  279. package/.next/standalone/.next/server/app/api/projects/agent-cwd-options/route.js.nft.json +1 -1
  280. package/.next/standalone/.next/server/app/api/projects/agent-cwd-options/route_client-reference-manifest.js +1 -1
  281. package/.next/standalone/.next/server/app/api/projects/route.js +1 -1
  282. package/.next/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
  283. package/.next/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
  284. package/.next/standalone/.next/server/app/api/proposals/[uuid]/approve/route.js +1 -1
  285. package/.next/standalone/.next/server/app/api/proposals/[uuid]/approve/route.js.nft.json +1 -1
  286. package/.next/standalone/.next/server/app/api/proposals/[uuid]/approve/route_client-reference-manifest.js +1 -1
  287. package/.next/standalone/.next/server/app/api/proposals/[uuid]/close/route.js +1 -1
  288. package/.next/standalone/.next/server/app/api/proposals/[uuid]/close/route.js.nft.json +1 -1
  289. package/.next/standalone/.next/server/app/api/proposals/[uuid]/close/route_client-reference-manifest.js +1 -1
  290. package/.next/standalone/.next/server/app/api/proposals/[uuid]/reject/route.js +1 -1
  291. package/.next/standalone/.next/server/app/api/proposals/[uuid]/reject/route.js.nft.json +1 -1
  292. package/.next/standalone/.next/server/app/api/proposals/[uuid]/reject/route_client-reference-manifest.js +1 -1
  293. package/.next/standalone/.next/server/app/api/proposals/[uuid]/revoke/route.js +1 -1
  294. package/.next/standalone/.next/server/app/api/proposals/[uuid]/revoke/route.js.nft.json +1 -1
  295. package/.next/standalone/.next/server/app/api/proposals/[uuid]/revoke/route_client-reference-manifest.js +1 -1
  296. package/.next/standalone/.next/server/app/api/proposals/[uuid]/route.js +1 -1
  297. package/.next/standalone/.next/server/app/api/proposals/[uuid]/route.js.nft.json +1 -1
  298. package/.next/standalone/.next/server/app/api/proposals/[uuid]/route_client-reference-manifest.js +1 -1
  299. package/.next/standalone/.next/server/app/api/references/[uuid]/route.js +1 -1
  300. package/.next/standalone/.next/server/app/api/references/[uuid]/route.js.nft.json +1 -1
  301. package/.next/standalone/.next/server/app/api/references/[uuid]/route_client-reference-manifest.js +1 -1
  302. package/.next/standalone/.next/server/app/api/references/route.js +1 -1
  303. package/.next/standalone/.next/server/app/api/references/route.js.nft.json +1 -1
  304. package/.next/standalone/.next/server/app/api/references/route_client-reference-manifest.js +1 -1
  305. package/.next/standalone/.next/server/app/api/search/route.js +1 -1
  306. package/.next/standalone/.next/server/app/api/search/route.js.nft.json +1 -1
  307. package/.next/standalone/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
  308. package/.next/standalone/.next/server/app/api/session/route.js +1 -1
  309. package/.next/standalone/.next/server/app/api/session/route.js.nft.json +1 -1
  310. package/.next/standalone/.next/server/app/api/session/route_client-reference-manifest.js +1 -1
  311. package/.next/standalone/.next/server/app/api/sessions/[uuid]/route.js +1 -1
  312. package/.next/standalone/.next/server/app/api/sessions/[uuid]/route.js.nft.json +1 -1
  313. package/.next/standalone/.next/server/app/api/sessions/[uuid]/route_client-reference-manifest.js +1 -1
  314. package/.next/standalone/.next/server/app/api/tasks/[uuid]/claim/route.js +1 -1
  315. package/.next/standalone/.next/server/app/api/tasks/[uuid]/claim/route.js.nft.json +1 -1
  316. package/.next/standalone/.next/server/app/api/tasks/[uuid]/claim/route_client-reference-manifest.js +1 -1
  317. package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route.js +1 -1
  318. package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route.js.nft.json +1 -1
  319. package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/[dependsOnUuid]/route_client-reference-manifest.js +1 -1
  320. package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/route.js +1 -1
  321. package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/route.js.nft.json +1 -1
  322. package/.next/standalone/.next/server/app/api/tasks/[uuid]/dependencies/route_client-reference-manifest.js +1 -1
  323. package/.next/standalone/.next/server/app/api/tasks/[uuid]/release/route.js +1 -1
  324. package/.next/standalone/.next/server/app/api/tasks/[uuid]/release/route.js.nft.json +1 -1
  325. package/.next/standalone/.next/server/app/api/tasks/[uuid]/release/route_client-reference-manifest.js +1 -1
  326. package/.next/standalone/.next/server/app/api/tasks/[uuid]/route.js +1 -1
  327. package/.next/standalone/.next/server/app/api/tasks/[uuid]/route.js.nft.json +1 -1
  328. package/.next/standalone/.next/server/app/api/tasks/[uuid]/route_client-reference-manifest.js +1 -1
  329. package/.next/standalone/.next/server/app/api/tasks/[uuid]/sessions/route.js +1 -1
  330. package/.next/standalone/.next/server/app/api/tasks/[uuid]/sessions/route.js.nft.json +1 -1
  331. package/.next/standalone/.next/server/app/api/tasks/[uuid]/sessions/route_client-reference-manifest.js +1 -1
  332. package/.next/standalone/.next/server/app/index.html +2 -2
  333. package/.next/standalone/.next/server/app/index.rsc +2 -2
  334. package/.next/standalone/.next/server/app/login/admin/page.js +1 -1
  335. package/.next/standalone/.next/server/app/login/admin/page_client-reference-manifest.js +1 -1
  336. package/.next/standalone/.next/server/app/login/admin.html +2 -2
  337. package/.next/standalone/.next/server/app/login/admin.rsc +3 -3
  338. package/.next/standalone/.next/server/app/login/callback/page_client-reference-manifest.js +1 -1
  339. package/.next/standalone/.next/server/app/login/callback.html +2 -2
  340. package/.next/standalone/.next/server/app/login/callback.rsc +2 -2
  341. package/.next/standalone/.next/server/app/login/page.js +1 -1
  342. package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
  343. package/.next/standalone/.next/server/app/login/pick-workspace/page_client-reference-manifest.js +1 -1
  344. package/.next/standalone/.next/server/app/login/pick-workspace.html +2 -2
  345. package/.next/standalone/.next/server/app/login/pick-workspace.rsc +2 -2
  346. package/.next/standalone/.next/server/app/login.html +2 -2
  347. package/.next/standalone/.next/server/app/login.rsc +3 -3
  348. package/.next/standalone/.next/server/app/onboarding/page.js +2 -2
  349. package/.next/standalone/.next/server/app/onboarding/page.js.nft.json +1 -1
  350. package/.next/standalone/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  351. package/.next/standalone/.next/server/app/onboarding.html +2 -2
  352. package/.next/standalone/.next/server/app/onboarding.rsc +3 -3
  353. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  354. package/.next/standalone/.next/server/app/projects.html +2 -2
  355. package/.next/standalone/.next/server/app/projects.rsc +4 -4
  356. package/.next/standalone/.next/server/app/settings.html +2 -2
  357. package/.next/standalone/.next/server/app/settings.rsc +4 -4
  358. package/.next/standalone/.next/server/app-paths-manifest.json +30 -30
  359. package/.next/standalone/.next/server/chunks/1559.js +2 -2
  360. package/.next/standalone/.next/server/chunks/186.js +1 -0
  361. package/.next/standalone/.next/server/chunks/2572.js +2 -2
  362. package/.next/standalone/.next/server/chunks/2618.js +1 -1
  363. package/.next/standalone/.next/server/chunks/2961.js +1 -1
  364. package/.next/standalone/.next/server/chunks/3371.js +1 -0
  365. package/.next/standalone/.next/server/chunks/4131.js +39 -0
  366. package/.next/standalone/.next/server/chunks/4672.js +6 -0
  367. package/.next/standalone/.next/server/chunks/4827.js +1 -1
  368. package/.next/standalone/.next/server/chunks/5245.js +1 -1
  369. package/.next/standalone/.next/server/chunks/5577.js +1 -0
  370. package/.next/standalone/.next/server/chunks/5728.js +1 -0
  371. package/.next/standalone/.next/server/chunks/6113.js +1 -1
  372. package/.next/standalone/.next/server/chunks/6506.js +39 -3
  373. package/.next/standalone/.next/server/chunks/6515.js +2 -2
  374. package/.next/standalone/.next/server/chunks/{5489.js → 661.js} +44 -8
  375. package/.next/standalone/.next/server/chunks/6654.js +1 -0
  376. package/.next/standalone/.next/server/chunks/6737.js +1 -1
  377. package/.next/standalone/.next/server/chunks/6753.js +4 -4
  378. package/.next/standalone/.next/server/chunks/679.js +1 -1
  379. package/.next/standalone/.next/server/chunks/{2516.js → 7258.js} +1 -1
  380. package/.next/standalone/.next/server/chunks/7368.js +1 -1
  381. package/.next/standalone/.next/server/chunks/7530.js +1 -1
  382. package/.next/standalone/.next/server/chunks/7578.js +1 -1
  383. package/.next/standalone/.next/server/chunks/8017.js +1 -0
  384. package/.next/standalone/.next/server/chunks/8177.js +1 -0
  385. package/.next/standalone/.next/server/chunks/8437.js +1 -0
  386. package/.next/standalone/.next/server/chunks/{6449.js → 8566.js} +1 -1
  387. package/.next/standalone/.next/server/chunks/920.js +1 -1
  388. package/.next/standalone/.next/server/chunks/9213.js +1 -1
  389. package/.next/standalone/.next/server/chunks/9378.js +1 -1
  390. package/.next/standalone/.next/server/chunks/951.js +88 -1
  391. package/.next/standalone/.next/server/chunks/9670.js +1 -0
  392. package/.next/standalone/.next/server/chunks/9931.js +1 -1
  393. package/.next/standalone/.next/server/middleware-build-manifest.js +1 -1
  394. package/.next/standalone/.next/server/middleware-manifest.json +5 -5
  395. package/.next/standalone/.next/server/pages/404.html +2 -2
  396. package/.next/standalone/.next/server/pages/500.html +1 -1
  397. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  398. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  399. package/.next/standalone/.next/static/chunks/{15183-3f43af926186f7ef.js → 10488-d518e8ce8ae45724.js} +6 -6
  400. package/.next/standalone/.next/static/chunks/11595.4cebcf7499ef6a78.js +1 -0
  401. package/.next/standalone/.next/static/chunks/2069-68d93343e4ca252e.js +1 -0
  402. package/.next/standalone/.next/static/chunks/27370-0d04028ec8a339f0.js +1 -0
  403. package/.next/standalone/.next/static/chunks/27787-3566e3dd0506e241.js +1 -0
  404. package/.next/standalone/.next/static/chunks/33456.a5a9acba61ca3665.js +1 -0
  405. package/.next/standalone/.next/static/chunks/4860.61dfcdf8c4c5c703.js +1 -0
  406. package/.next/standalone/.next/static/chunks/53504-3a0f6dee12a39d5d.js +1 -0
  407. package/.next/standalone/.next/static/chunks/56863-a2cc92f9ca49f0f8.js +1 -0
  408. package/.next/standalone/.next/static/chunks/63819-c52b5bc9ee32ca9b.js +1 -0
  409. package/.next/standalone/.next/static/chunks/69398-c2f73fe154aaee76.js +1 -0
  410. package/.next/standalone/.next/static/chunks/71890-e6c13ce1debd87c2.js +1 -0
  411. package/.next/standalone/.next/static/chunks/71921-f6754331cd35fa5a.js +1 -0
  412. package/.next/standalone/.next/static/chunks/{26020-7b4756ba0aa906cf.js → 76103-5d656aebd9cd5e7f.js} +1 -1
  413. package/.next/standalone/.next/static/chunks/7777-18527b954e3c5557.js +1 -0
  414. package/.next/standalone/.next/static/chunks/78847-9f65efbac984cf70.js +1 -0
  415. package/.next/standalone/.next/static/chunks/79919-32af2c1abfc92a30.js +1 -0
  416. package/.next/standalone/.next/static/chunks/83749-f797272bf30fc2f4.js +10 -0
  417. package/.next/standalone/.next/static/chunks/91907-a4182d1a3c870d0f.js +1 -0
  418. package/.next/standalone/.next/static/chunks/91997-3592827b5a069beb.js +1 -0
  419. package/.next/standalone/.next/static/chunks/99373.747e181e4c952509.js +1 -0
  420. package/.next/standalone/.next/static/chunks/app/(dashboard)/layout-6135300353d6c6ad.js +1 -0
  421. package/.next/standalone/.next/static/chunks/app/(dashboard)/project-groups/[uuid]/page-bb9f26c107a6b113.js +1 -0
  422. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/dashboard/page-31dd9042ee36b8e5.js +1 -0
  423. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page-a6bfa3b6b6893bc4.js +1 -0
  424. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/page-01e81333c9beee2d.js +1 -0
  425. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/graph/page-795b161eb0694092.js +1 -0
  426. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page-e20e65b5df817433.js +1 -0
  427. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/new/page-fc2d02d552bbdbf0.js +1 -0
  428. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/page-0cfa38d2de9fa9d9.js +1 -0
  429. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/[taskUuid]/{page-301f21a3ae52e318.js → page-529dec4c3bcd5ba9.js} +1 -1
  430. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/tasks/{page-dd123990c14e9768.js → page-b211c29669eaa3e4.js} +1 -1
  431. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/{page-069c9738e516436b.js → page-793285a6cf214896.js} +1 -1
  432. package/.next/standalone/.next/static/chunks/app/(dashboard)/settings/page-0606d1497512e155.js +1 -0
  433. package/.next/standalone/.next/static/chunks/app/admin/companies/[uuid]/page-47e49c331996193b.js +1 -0
  434. package/.next/standalone/.next/static/chunks/app/admin/companies/new/page-c1e28205503002de.js +1 -0
  435. package/.next/standalone/.next/static/chunks/app/login/admin/page-b0d0ea2fa4102ff7.js +1 -0
  436. package/.next/standalone/.next/static/chunks/app/login/page-ee63e900cb54148c.js +1 -0
  437. package/.next/standalone/.next/static/chunks/app/onboarding/{page-5914ff3d878a3c34.js → page-1f3ab167cab58610.js} +1 -1
  438. package/.next/standalone/.next/static/chunks/{webpack-de8a36d232a91d6b.js → webpack-6151d196b2fab7e8.js} +1 -1
  439. package/.next/standalone/.next/static/css/09ac5931fe977492.css +1 -0
  440. package/.next/standalone/package.json +1 -1
  441. package/.next/standalone/public/chorus-plugin/.claude-plugin/plugin.json +1 -1
  442. package/.next/standalone/public/chorus-plugin/bin/chorus-api.sh +1 -1
  443. package/.next/standalone/public/chorus-plugin/skills/brainstorm/SKILL.md +5 -1
  444. package/.next/standalone/public/chorus-plugin/skills/chorus/SKILL.md +16 -1
  445. package/.next/standalone/public/chorus-plugin/skills/chorus-cli/SKILL.md +1 -1
  446. package/.next/standalone/public/chorus-plugin/skills/develop/SKILL.md +1 -1
  447. package/.next/standalone/public/chorus-plugin/skills/docs/SKILL.md +1 -1
  448. package/.next/standalone/public/chorus-plugin/skills/idea/SKILL.md +13 -1
  449. package/.next/standalone/public/chorus-plugin/skills/openspec-aware/SKILL.md +1 -1
  450. package/.next/standalone/public/chorus-plugin/skills/orchestrate/SKILL.md +1 -1
  451. package/.next/standalone/public/chorus-plugin/skills/proposal/SKILL.md +9 -1
  452. package/.next/standalone/public/chorus-plugin/skills/quick-dev/SKILL.md +1 -1
  453. package/.next/standalone/public/chorus-plugin/skills/research/SKILL.md +51 -0
  454. package/.next/standalone/public/chorus-plugin/skills/review/SKILL.md +1 -1
  455. package/.next/standalone/public/chorus-plugin/skills/spec-lite/SKILL.md +1 -1
  456. package/.next/standalone/public/chorus-plugin/skills/yolo/SKILL.md +5 -1
  457. package/.next/standalone/public/kiro-plugin/.kiro/agents/chorus.json +1 -0
  458. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-brainstorm/SKILL.md +5 -1
  459. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-cli/SKILL.md +1 -1
  460. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-develop/SKILL.md +1 -1
  461. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-docs/SKILL.md +1 -1
  462. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-idea/SKILL.md +13 -1
  463. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-openspec-aware/SKILL.md +1 -1
  464. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-orchestrate/SKILL.md +1 -1
  465. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-proposal/SKILL.md +9 -1
  466. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-quick-dev/SKILL.md +1 -1
  467. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-research/SKILL.md +51 -0
  468. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-review/SKILL.md +1 -1
  469. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-spec-lite/SKILL.md +1 -1
  470. package/.next/standalone/public/kiro-plugin/.kiro/skills/chorus-yolo/SKILL.md +5 -1
  471. package/.next/standalone/public/kiro-plugin/.kiro/steering/chorus.md +16 -1
  472. package/.next/standalone/public/kiro-plugin/bin/chorus-api.sh +1 -1
  473. package/.next/standalone/public/kiro-plugin/manifest.txt +1 -0
  474. package/.next/standalone/public/skill/brainstorm-chorus/SKILL.md +4 -0
  475. package/.next/standalone/public/skill/chorus/SKILL.md +20 -2
  476. package/.next/standalone/public/skill/idea-chorus/SKILL.md +12 -0
  477. package/.next/standalone/public/skill/package.json +1 -0
  478. package/.next/standalone/public/skill/proposal-chorus/SKILL.md +8 -0
  479. package/.next/standalone/public/skill/research-chorus/SKILL.md +51 -0
  480. package/.next/standalone/public/skill/yolo-chorus/SKILL.md +4 -0
  481. package/README.ja.md +5 -11
  482. package/README.ko.md +5 -11
  483. package/README.md +20 -11
  484. package/README.zh.md +20 -11
  485. package/chorus.mjs +7 -1
  486. package/cli/agent-cli-config.mjs +28 -2
  487. package/cli/claude-spawner.mjs +330 -18
  488. package/cli/codex-app-server-client.mjs +402 -0
  489. package/cli/codex-app-server-events.mjs +176 -0
  490. package/cli/codex-session-map.mjs +1 -1
  491. package/cli/codex-spawner.mjs +247 -241
  492. package/cli/control-handler.mjs +20 -0
  493. package/cli/daemon-rest-client.mjs +7 -4
  494. package/cli/event-router.mjs +65 -3
  495. package/cli/init/adapters.mjs +2 -2
  496. package/cli/init/file-template.mjs +11 -4
  497. package/cli/init/install-methods.mjs +3 -1
  498. package/cli/operation-contract.mjs +3 -0
  499. package/cli/operation-prompts.mjs +99 -0
  500. package/cli/operation.mjs +46 -0
  501. package/cli/pi-spawner.mjs +472 -78
  502. package/cli/process-killer.mjs +138 -13
  503. package/cli/process-stop-hooks.mjs +13 -0
  504. package/cli/prompts.mjs +7 -0
  505. package/cli/upgrade-plugins.mjs +202 -0
  506. package/cli/upgrade-process.mjs +159 -0
  507. package/cli/upgrade.mjs +125 -0
  508. package/cli/upload-hooks.mjs +2 -2
  509. package/cli/wake-queue.mjs +5 -1
  510. package/cli/waker.mjs +127 -4
  511. package/cli/windows-process-tree.mjs +154 -0
  512. package/package.json +1 -1
  513. package/prisma/migrations/20260927073000_add_daemon_operation_payload/migration.sql +1 -0
  514. package/prisma/schema.prisma +3 -2
  515. package/.next/standalone/.next/server/chunks/1318.js +0 -1
  516. package/.next/standalone/.next/server/chunks/1416.js +0 -88
  517. package/.next/standalone/.next/server/chunks/1683.js +0 -1
  518. package/.next/standalone/.next/server/chunks/3341.js +0 -1
  519. package/.next/standalone/.next/server/chunks/457.js +0 -1
  520. package/.next/standalone/.next/server/chunks/5300.js +0 -1
  521. package/.next/standalone/.next/server/chunks/6607.js +0 -1
  522. package/.next/standalone/.next/server/chunks/7400.js +0 -1
  523. package/.next/standalone/.next/server/chunks/8044.js +0 -1
  524. package/.next/standalone/.next/server/chunks/8185.js +0 -1
  525. package/.next/standalone/.next/server/chunks/8454.js +0 -1
  526. package/.next/standalone/.next/server/chunks/9848.js +0 -39
  527. package/.next/standalone/.next/static/chunks/11595.f080a1d100972212.js +0 -1
  528. package/.next/standalone/.next/static/chunks/17099-936da9caf4c119b8.js +0 -1
  529. package/.next/standalone/.next/static/chunks/17562-56f932146e9e6c94.js +0 -10
  530. package/.next/standalone/.next/static/chunks/18751-3616e33050e9611e.js +0 -1
  531. package/.next/standalone/.next/static/chunks/27370-c056dee2016c9124.js +0 -1
  532. package/.next/standalone/.next/static/chunks/31308-bb4a97b3f39c22dd.js +0 -1
  533. package/.next/standalone/.next/static/chunks/33456.20313bd67a5c41cc.js +0 -1
  534. package/.next/standalone/.next/static/chunks/35432-5c245212c7595169.js +0 -1
  535. package/.next/standalone/.next/static/chunks/44437-d13183f50281116f.js +0 -1
  536. package/.next/standalone/.next/static/chunks/45024-eb7c062d13d9fe08.js +0 -1
  537. package/.next/standalone/.next/static/chunks/4860.3b555a398cdffb19.js +0 -1
  538. package/.next/standalone/.next/static/chunks/59713-426f81b6576173d8.js +0 -1
  539. package/.next/standalone/.next/static/chunks/60351-bdef539874e5027e.js +0 -1
  540. package/.next/standalone/.next/static/chunks/67580-8733964ab2c7fc0e.js +0 -1
  541. package/.next/standalone/.next/static/chunks/7777-8b1b6681256e1534.js +0 -1
  542. package/.next/standalone/.next/static/chunks/78155-db70d9684a1e77a2.js +0 -1
  543. package/.next/standalone/.next/static/chunks/79919-1e7e294a06f2c4a0.js +0 -1
  544. package/.next/standalone/.next/static/chunks/94643-e54eff17e941a93b.js +0 -1
  545. package/.next/standalone/.next/static/chunks/99373.b8a95d1bec5ad4e7.js +0 -1
  546. package/.next/standalone/.next/static/chunks/99733-5a2e39f57fbda32d.js +0 -1
  547. package/.next/standalone/.next/static/chunks/app/(dashboard)/layout-072a6b8f0a48b1b6.js +0 -1
  548. package/.next/standalone/.next/static/chunks/app/(dashboard)/project-groups/[uuid]/page-82e90e222d6bc547.js +0 -1
  549. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/dashboard/page-198a3ff89ae871b9.js +0 -1
  550. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/[documentUuid]/page-a506de82e8997714.js +0 -1
  551. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/documents/page-dc54fafa22d21863.js +0 -1
  552. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/graph/page-6eb5d3cb036a78e0.js +0 -1
  553. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/[proposalUuid]/page-69c6f0190623e19b.js +0 -1
  554. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/new/page-2a52f747e6fac5a7.js +0 -1
  555. package/.next/standalone/.next/static/chunks/app/(dashboard)/projects/[uuid]/proposals/page-22cce567a85ea291.js +0 -1
  556. package/.next/standalone/.next/static/chunks/app/(dashboard)/settings/page-548231f8c9856489.js +0 -1
  557. package/.next/standalone/.next/static/chunks/app/admin/companies/[uuid]/page-56118c51122ad639.js +0 -1
  558. package/.next/standalone/.next/static/chunks/app/admin/companies/new/page-4e20deb41357171c.js +0 -1
  559. package/.next/standalone/.next/static/chunks/app/login/admin/page-c8e40259e5d3d9e0.js +0 -1
  560. package/.next/standalone/.next/static/chunks/app/login/page-0a16a64855b771ef.js +0 -1
  561. package/.next/standalone/.next/static/css/44f13b43a3de716d.css +0 -1
  562. /package/.next/standalone/.next/static/{Pmji9kEq8T2lM6AKQkZji → kDppeym4sfPwXjGFspZG8}/_buildManifest.js +0 -0
  563. /package/.next/standalone/.next/static/{Pmji9kEq8T2lM6AKQkZji → kDppeym4sfPwXjGFspZG8}/_ssgManifest.js +0 -0
@@ -8,6 +8,8 @@
8
8
  // action, resolve the root-idea key and enqueue the wake. Never throws into the
9
9
  // SSE loop.
10
10
 
11
+ import { OPERATION_ACTIONS, validateOperation } from "./operation.mjs";
12
+
11
13
  const NOOP_LOGGER = { info() {}, warn() {}, error() {} };
12
14
 
13
15
  // Map a Notification.action to its DaemonSessionTurn trigger category — the daemon-side
@@ -70,6 +72,9 @@ export class EventRouter {
70
72
  // dispatch time (before any async work) so concurrent dispatches for the
71
73
  // same uuid collapse to one wake.
72
74
  this.seen = opts.seen ?? new Set();
75
+ this.validatingOperations = new Set();
76
+ this.pendingDispatchCount = 0;
77
+ this.pendingDispatch = Promise.resolve();
73
78
  }
74
79
 
75
80
  /**
@@ -150,9 +155,9 @@ export class EventRouter {
150
155
  // (`notificationUuid` vs `turn:{uuid}`) — the double-execution bug — and would fan the
151
156
  // wake out to EVERY connection of the agent rather than the session's origin. So the
152
157
  // notification path explicitly defers `human_instruction` to the turn-keyed paths.
153
- if (n.action === "human_instruction") {
158
+ if (n.action === "human_instruction" || OPERATION_ACTIONS.has(n.action)) {
154
159
  this.logger.info(
155
- `[Chorus] human_instruction ${notificationUuid} is delivered via deliver_turn / pending-turn backfill — not the notification path; ignoring here`
160
+ `[Chorus] ${n.action} ${notificationUuid} is delivered via deliver_turn / pending-turn backfill — not the notification path; ignoring here`
156
161
  );
157
162
  return;
158
163
  }
@@ -293,6 +298,20 @@ export class EventRouter {
293
298
  * trigger?: string, promptText?: string|null }} pending
294
299
  */
295
300
  dispatchPendingTurn(pending) {
301
+ // Creation identity reads are async. Keep subsequent turn deliveries behind
302
+ // them so validation cannot reorder the session's ordinary/operation FIFO.
303
+ if (OPERATION_ACTIONS.has(pending?.trigger) || this.pendingDispatchCount > 0) {
304
+ this.pendingDispatchCount++;
305
+ this.pendingDispatch = this.pendingDispatch
306
+ .then(() => this.#dispatchPendingTurnNow(pending))
307
+ .catch((err) => this.logger.warn(`[Chorus] pending-turn dispatch failed: ${err}`))
308
+ .finally(() => { this.pendingDispatchCount--; });
309
+ return this.pendingDispatch;
310
+ }
311
+ return this.#dispatchPendingTurnNow(pending);
312
+ }
313
+
314
+ #dispatchPendingTurnNow(pending) {
296
315
  const turnUuid = pending?.turnUuid;
297
316
  const sessionId = pending?.sessionId;
298
317
  if (typeof turnUuid !== "string" || !turnUuid) {
@@ -303,6 +322,9 @@ export class EventRouter {
303
322
  this.logger.warn(`[Chorus] pending-turn ${turnUuid} missing sessionId, skipping`);
304
323
  return;
305
324
  }
325
+ if (OPERATION_ACTIONS.has(pending.trigger)) {
326
+ return this.#dispatchOperation(pending);
327
+ }
306
328
  // A DIRECTED autonomous turn (mentioned / task_assigned / elaboration_verified /
307
329
  // start_development / yolo_requested) is delivered by the deliver_turn ping too (T2).
308
330
  // Its prompt must be rebuilt from the notification (promptText is null), so it takes a
@@ -377,6 +399,8 @@ export class EventRouter {
377
399
  entityType: directIdeaUuid ? "idea" : "daemon_session",
378
400
  entityUuid: directIdeaUuid ? directIdeaUuid : sessionId,
379
401
  instructionText: instruction,
402
+ // Research must retain its exact turn for admission immediately before spawn.
403
+ ...(instruction.startsWith("[Chorus Tracker Research]") ? { turnUuid, researchOnly: true } : {}),
380
404
  ...(typeof pending.runtimeCwd === "string" ? { runtimeCwd: pending.runtimeCwd } : {}),
381
405
  };
382
406
  const key = directIdeaUuid ? `idea:${directIdeaUuid}` : `entity:daemon_session:${sessionId}`;
@@ -392,7 +416,45 @@ export class EventRouter {
392
416
  // Enqueue an opaque DATA payload (add-daemon-wake-coalescing §C4), NOT a thunk: the
393
417
  // queue coalesces all same-key pending items and hands the whole batch to its runBatch
394
418
  // (wired to waker.wakeBatch in daemon.mjs). markQueued was already called per-item above.
395
- this.queue.enqueue(key, { notification: n, attribution });
419
+ this.queue.enqueue(key, {
420
+ notification: n, attribution,
421
+ ...(n.researchOnly ? { isolated: true } : {}),
422
+ });
423
+ }
424
+
425
+ async #dispatchOperation(pending) {
426
+ const seenKey = `turn:${pending.turnUuid}`;
427
+ if (this.seen.has(seenKey) || this.validatingOperations.has(seenKey)) return;
428
+ this.validatingOperations.add(seenKey);
429
+ try {
430
+ const payload = { ...validateOperation(pending.trigger, pending.operationPayload, pending) };
431
+ // Pending DTOs carry the session's Idea anchor but no authoritative project.
432
+ // Read the Idea for creation before trusting the payload's project identity.
433
+ if (payload.kind === "idea_creation") {
434
+ const idea = await this.mcp.callTool("chorus_get_idea", { ideaUuid: pending.directIdeaUuid });
435
+ if (idea?.uuid !== pending.directIdeaUuid || idea?.project?.uuid !== payload.projectUuid) {
436
+ throw new Error("Operation protocol error: creation project does not match its Idea");
437
+ }
438
+ }
439
+ const n = {
440
+ action: pending.trigger, turnUuid: pending.turnUuid,
441
+ sessionId: pending.sessionId, directIdeaUuid: pending.directIdeaUuid,
442
+ entityType: "idea", entityUuid: pending.directIdeaUuid,
443
+ operationPayload: payload, promptText: pending.promptText,
444
+ ...(payload.kind === "idea_creation" ? { projectUuid: payload.projectUuid } : {}),
445
+ ...(typeof pending.runtimeCwd === "string" ? { runtimeCwd: pending.runtimeCwd } : {}),
446
+ };
447
+ const key = `idea:${pending.directIdeaUuid}`;
448
+ const attribution = { key, rootIdeaUuid: pending.directIdeaUuid, directIdeaUuid: pending.directIdeaUuid };
449
+ this.queue.enqueue(key, { notification: n, attribution, isolated: true });
450
+ this.seen.add(seenKey); // Only accepted, valid queue entries own dedup.
451
+ try { this.waker.markQueued?.(n, key, attribution); }
452
+ catch (err) { this.logger.warn(`[Chorus] markQueued failed for ${pending.turnUuid}: ${err}`); }
453
+ } catch (err) {
454
+ this.logger.warn(`[Chorus] operation turn ${pending.turnUuid} remains pending and retryable: ${err}`);
455
+ } finally {
456
+ this.validatingOperations.delete(seenKey);
457
+ }
396
458
  }
397
459
 
398
460
  /**
@@ -64,8 +64,8 @@ function readJsonSafe(path) {
64
64
  * @param {{ home?: string, readJson?: (p: string) => any }} [deps]
65
65
  * @returns {{ marketplaceRegistered: boolean, pluginInstalled: boolean, version?: string }}
66
66
  */
67
- export function readClaudeInstallState({ home = homedir(), readJson = readJsonSafe } = {}) {
68
- const pluginsDir = join(home, ".claude", "plugins");
67
+ export function readClaudeInstallState({ env = process.env, home = env.HOME || env.USERPROFILE || homedir(), readJson = readJsonSafe } = {}) {
68
+ const pluginsDir = join(env.CLAUDE_CONFIG_DIR || join(home, ".claude"), "plugins");
69
69
  const installed = readJson(join(pluginsDir, "installed_plugins.json"));
70
70
  const markets = readJson(join(pluginsDir, "known_marketplaces.json"));
71
71
 
@@ -136,6 +136,7 @@ export function mergeChorusServer(existingText, serverObj) {
136
136
  * backup?: (path: string) => (string|null),
137
137
  * platform?: NodeJS.Platform,
138
138
  * log?: (m: string) => void,
139
+ * preserveExistingChorus?: boolean,
139
140
  * }} opts
140
141
  * @returns {Promise<{ skills: number, reviewerAgents: number, hookScripts: number, kiroDir: string, chorusBinAbs: string }>}
141
142
  */
@@ -146,6 +147,7 @@ export async function installFileTemplate({
146
147
  backup,
147
148
  platform = process.platform,
148
149
  log,
150
+ preserveExistingChorus = false,
149
151
  } = {}) {
150
152
  const assetBase = normalizeAssetBase(chorusUrl); // throws on bad/empty URL
151
153
  const doFetch = fetchImpl ?? globalThis.fetch;
@@ -216,6 +218,14 @@ export async function installFileTemplate({
216
218
  }
217
219
  serverObj.url = `${assetBase}/api/mcp`;
218
220
 
221
+ // Validate the destination before dropping any assets. Upgrade preserves an
222
+ // existing Chorus connection too; changing credentials is an agents-add action.
223
+ const mcpJsonPath = join(kiroDir, "settings", "mcp.json");
224
+ const existed = existsSync(mcpJsonPath);
225
+ const existingText = existed ? readFileSync(mcpJsonPath, "utf8") : "";
226
+ const existingServer = existingText.trim() ? JSON.parse(existingText)?.mcpServers?.chorus : undefined;
227
+ const merged = mergeChorusServer(existingText, preserveExistingChorus && existingServer ? existingServer : serverObj);
228
+
219
229
  // ---- phase 2: write to disk (every fetch already verified) ----
220
230
  for (const [dest, { text, exec }] of files) {
221
231
  mkdirSync(dirname(dest), { recursive: true });
@@ -230,12 +240,9 @@ export async function installFileTemplate({
230
240
  }
231
241
 
232
242
  // ---- merge the `chorus` MCP server into settings/mcp.json (back up first) ----
233
- const mcpJsonPath = join(kiroDir, "settings", "mcp.json");
234
243
  mkdirSync(dirname(mcpJsonPath), { recursive: true });
235
- const existed = existsSync(mcpJsonPath);
236
244
  if (existed && typeof backup === "function") backup(mcpJsonPath);
237
- const existingText = existed ? readFileSync(mcpJsonPath, "utf8") : "";
238
- writeFileSync(mcpJsonPath, mergeChorusServer(existingText, serverObj));
245
+ writeFileSync(mcpJsonPath, merged);
239
246
 
240
247
  log?.(`[chorus agents add] kiro: wrote .kiro/ template into ${kiroDir}`);
241
248
  return {
@@ -135,7 +135,7 @@ export function installCodex(ctx) {
135
135
  // (agents[0]) — that covers the interactive path where the operator typed the URL at a
136
136
  // prompt (credential-seed, order 10, already wrote it there before this step runs).
137
137
  let chorusUrl = nonEmpty(ctx.flags?.url) ?? nonEmpty(env.CHORUS_URL);
138
- if (!chorusUrl) {
138
+ if (!chorusUrl && !ctx.flags?.pluginOnly) {
139
139
  try {
140
140
  chorusUrl = nonEmpty(resolveCreds(ctx.flags ?? {}, { env }).url);
141
141
  } catch {
@@ -147,6 +147,7 @@ export function installCodex(ctx) {
147
147
  // form. Idempotent; runs on both fresh install and re-run. Never writes a secret. A missing
148
148
  // URL is a non-fatal skip (the plugin surface is still installed). Returns a note suffix.
149
149
  const ensureMcp = () => {
150
+ if (ctx.flags?.pluginOnly) return ""; // Upgrade preserves existing connection settings.
150
151
  if (!chorusUrl) {
151
152
  return " (skipped [mcp_servers.chorus]: no Chorus URL — pass --url or set CHORUS_URL)";
152
153
  }
@@ -648,6 +649,7 @@ export async function installKiro(ctx) {
648
649
  backup: ctx.backup,
649
650
  platform: ctx.platform,
650
651
  log: ctx.io?.log,
652
+ preserveExistingChorus: ctx.flags?.pluginOnly === true,
651
653
  });
652
654
  return out(
653
655
  "kiro",
@@ -0,0 +1,3 @@
1
+ // Shared wire constraints; this dependency-free module is shipped with the CLI.
2
+ export const CONVERSATIONAL_IDEA_DESCRIPTION_MAX_CHARS = 3000;
3
+ export const RESEARCH_INSTRUCTION_PREFIX = "[Chorus Tracker Research]";
@@ -0,0 +1,99 @@
1
+ // Shared by the server compatibility snapshot and payload-driven CLI execution.
2
+ // Keep historical entry prefixes: older clients use the Research prefix for isolation.
3
+ import { RESEARCH_INSTRUCTION_PREFIX } from "./operation-contract.mjs";
4
+
5
+ const PROJECT_INSTRUCTION_LABEL_MAX_CHARS = 200;
6
+
7
+ /**
8
+ * Compose the conversational-idea wake instruction (template v2 — the REVIEWED CONTRACT
9
+ * between the conversational create-idea entry and the woken daemon agent, superseding
10
+ * the client-side create→claim template of add-conversational-idea-entry).
11
+ *
12
+ * The idea is PRE-CREATED and already instance-assigned + elaborating, so both templates
13
+ * direct EDIT (never create, never claim — a claim would fail on the existing assignee).
14
+ * - `elaborate` (default): edit → optional research → elaboration → panel guidance → end turn.
15
+ * - `decompose`: edit the CONTAINER → keep isContainer → one lightweight scope-clarifying
16
+ * elaboration → propose candidate CHILDREN as a structured elaboration round (one
17
+ * single-select question per child, ≤15/round, never a multi-select) → end turn → on the
18
+ * confirm re-wake create each accepted child via chorus_pm_create_idea with
19
+ * parentUuid=<container>, children starting `open`, no auto-elaboration; the container's
20
+ * own status stays `elaborated`. The confirm re-wake rides the EXISTING
21
+ * `elaboration_answered` wake — no new wake/notification action is introduced.
22
+ *
23
+ * English (agent-facing, matching cli/prompts.mjs precedent); the user's description
24
+ * passes through VERBATIM under the delimiter. Exported for unit tests: the template's
25
+ * wording is code, and any change is a review-visible diff.
26
+ * @param {{ideaUuid: string, projectUuid: string, projectName?: string|null,
27
+ * descriptionText: string, mode?: 'elaborate'|'decompose', researchFirst?: boolean}} params
28
+ */
29
+ export function composeConversationalIdeaInstruction(params) {
30
+ // Name is display sugar; bound this user-controlled metadata independently of
31
+ // the description. The complete UUID remains the authoritative machine anchor.
32
+ const projectName = params.projectName?.trim();
33
+ const displayName = projectName && projectName.length > PROJECT_INSTRUCTION_LABEL_MAX_CHARS
34
+ ? `${projectName.slice(0, PROJECT_INSTRUCTION_LABEL_MAX_CHARS - 1)}…`
35
+ : projectName;
36
+ const projectLabel = displayName
37
+ ? `"${displayName}" (projectUuid: ${params.projectUuid})`
38
+ : `projectUuid: ${params.projectUuid}`;
39
+
40
+ const researchInstruction = [
41
+ params.researchFirst
42
+ ? "The user explicitly requested lightweight research before clarification."
43
+ : "Research is optional: use automatic judgment for a concrete, externally verifiable factual gap.",
44
+ "An explicit request to skip research in the user's instructions takes precedence.",
45
+ "Follow the shared research skill before the first formal elaboration: one bounded pass, approximately 2–5 minutes, at most 5 deeply read relevant sources; reuse existing evidence.",
46
+ "Save useful findings in the existing Idea content, preserving the user's meaning, and attach evidence with real ref:UUID citations. Do not create or claim this already-created Idea.",
47
+ "If tools are unavailable, results are empty, or the budget is exhausted, record the limitation and continue the normal steps in this turn. Do not research user preferences; ask through the elaboration panel when needed.",
48
+ "This initialization request applies once, not on every later wake or stage re-entry.",
49
+ ].join(" ");
50
+
51
+ if (params.mode === "decompose") {
52
+ return [
53
+ `[Chorus container-decompose entry] A new CONTAINER idea has been PRE-CREATED for project ${projectLabel} from the user's description below, and it is already assigned to you (status: elaborating, isContainer: true).`,
54
+ ` ideaUuid: ${params.ideaUuid}`,
55
+ ``,
56
+ `This conversation IS that container idea's root session. The user wants help DECOMPOSING it into child ideas. Do the following, in order:`,
57
+ `1. Edit the container via chorus_edit_idea: derive a concise title from the description and polish the content (keep the user's meaning). The current title is a placeholder.`,
58
+ `2. Ensure it stays a container: it was pre-created with isContainer=true — do NOT clear that flag (a container groups its child ideas and MUST NOT get a proposal of its own).`,
59
+ `Before step 3: ${researchInstruction}`,
60
+ `3. Run ONE lightweight elaboration round (chorus_pm_start_elaboration) to clarify the decomposition scope/dimension — how to slice the work into children. Keep it short; you may self-answer in headless or ask the user, then continue.`,
61
+ `4. Propose the candidate child ideas AS A STRUCTURED ELABORATION ROUND (chorus_pm_start_elaboration) for the user to review/edit/confirm — use ONE elaboration question PER proposed child (the child's title as the question text, a short rationale as its description), single-select. Elaboration questions are single-select and a round is capped at 15 questions, so propose at most 15 candidates per round and NEVER a single multi-select question; if you need more children, propose them across additional rounds. Do NOT create any child ideas yet — this round is the preview the user accepts/edits/declines per child.`,
62
+ `5. End the turn. The user's answers in the idea's elaboration panel will wake this same conversation (the existing elaboration-answered wake).`,
63
+ `6. On that re-wake, create each ACCEPTED child via chorus_pm_create_idea with parentUuid=${params.ideaUuid}. Each child starts in the "open" state — do NOT auto-elaborate them. The container's OWN status stays "elaborated"; creating children does not advance or alter it.`,
64
+ ``,
65
+ `Reference reflex: whenever an external link is evidence for this work (a precedent issue/PR, a reference implementation, official docs, a paper/blog), attach it via references — prefer the inline references[] param at creation time over a post-hoc chorus_add_reference.`,
66
+ ``,
67
+ `--- User's idea description ---`,
68
+ params.descriptionText,
69
+ ].join("\n");
70
+ }
71
+
72
+ return [
73
+ `[Chorus conversational idea entry] A new idea has been PRE-CREATED for project ${projectLabel} from the user's description below, and it is already assigned to you (status: elaborating).`,
74
+ ` ideaUuid: ${params.ideaUuid}`,
75
+ ``,
76
+ `This conversation IS that idea's root session — its elaboration and lifecycle wakes will continue here. Do the following, in order:`,
77
+ `1. Edit the idea via chorus_edit_idea: derive a concise title from the description and polish the content (keep the user's meaning; you may restructure). The current title is a placeholder.`,
78
+ `2. ${researchInstruction}`,
79
+ `3. After that optional step, start elaboration on the idea (chorus_pm_start_elaboration), following the idea skill — do NOT wait for another wake. Post a short summary of your questions in this conversation and direct the user to answer in the idea's elaboration panel.`,
80
+ `4. End the turn. The user's panel answers will wake this same conversation.`,
81
+ ``,
82
+ `Reference reflex: whenever an external link is evidence for this idea (a precedent issue/PR, a reference implementation, official docs, a paper/blog), attach it via references — prefer the inline references[] param at creation time over a post-hoc chorus_add_reference.`,
83
+ ``,
84
+ `--- User's idea description ---`,
85
+ params.descriptionText,
86
+ ].join("\n");
87
+ }
88
+
89
+ /** @param {string} ideaUuid */
90
+ export function composeResearchInstruction(ideaUuid) {
91
+ return [
92
+ `${RESEARCH_INSTRUCTION_PREFIX} Explicit, one-time research request for ideaUuid: ${ideaUuid}.`,
93
+ "This is the existing Idea's root conversation. Before research and again before saving, re-read the Idea, ALL related proposals/tasks and execution history including theme descendants. If development has begun, report that the stage changed and STOP without research or edits.",
94
+ "Invoke the shared research skill for ONE bounded pass (approximately 2–5 minutes, at most 5 deeply read sources). Reuse existing evidence. An explicit user instruction to skip research takes precedence. Tools unavailable, empty results, or exhausted budget: record the limitation and stop.",
95
+ "Attach useful sources through existing references and obtain real UUIDs. Read the latest Idea content immediately before saving and MERGE concise findings, source citations using ref:UUID, implications, unknowns, and the stopping reason; preserve user text and existing evidence.",
96
+ "Preserve all elaboration rounds, questions, answers and resolved state. Do not create or claim an Idea, start elaboration, submit or modify a Proposal, change task status, or start development. If findings affect an approved proposal, only record the impact and revision needs in the Idea.",
97
+ "Report the findings and END this turn. This menu invocation does not resume the Idea or Proposal workflow. A later explicit Research request may run another bounded pass.",
98
+ ].join("\n");
99
+ }
@@ -0,0 +1,46 @@
1
+ import { CONVERSATIONAL_IDEA_DESCRIPTION_MAX_CHARS, RESEARCH_INSTRUCTION_PREFIX } from "./operation-contract.mjs";
2
+ import { composeConversationalIdeaInstruction, composeResearchInstruction } from "./operation-prompts.mjs";
3
+
4
+ // Canonical operations are identified by their trigger, never by prompt text.
5
+ export const OPERATION_ACTIONS = new Set(["idea_creation_requested", "research_requested"]);
6
+
7
+ const identity = (value) => typeof value === "string" && value.length > 0 && value.length <= 100;
8
+
9
+ /** Validate before dedup/admission. Routing authority always comes from the session. */
10
+ export function validateOperation(trigger, payload, { sessionId, directIdeaUuid, projectUuid }) {
11
+ const creation = trigger === "idea_creation_requested";
12
+ const fields = creation
13
+ ? ["version", "kind", "ideaUuid", "projectUuid", "mode", "researchFirst", "descriptionText"]
14
+ : ["version", "kind", "ideaUuid"];
15
+ if (!OPERATION_ACTIONS.has(trigger) ||
16
+ !payload || typeof payload !== "object" || Array.isArray(payload) ||
17
+ Object.keys(payload).length !== fields.length ||
18
+ fields.some((field) => !Object.hasOwn(payload, field)) ||
19
+ payload.version !== 1 || payload.kind !== (creation ? "idea_creation" : "research") ||
20
+ !identity(payload.ideaUuid) || payload.ideaUuid !== directIdeaUuid ||
21
+ sessionId !== directIdeaUuid ||
22
+ (creation && (!identity(payload.projectUuid) ||
23
+ (projectUuid !== undefined && payload.projectUuid !== projectUuid) ||
24
+ !["elaborate", "decompose"].includes(payload.mode) ||
25
+ typeof payload.researchFirst !== "boolean" ||
26
+ typeof payload.descriptionText !== "string" || !payload.descriptionText.trim() ||
27
+ payload.descriptionText.length > CONVERSATIONAL_IDEA_DESCRIPTION_MAX_CHARS))) {
28
+ throw new Error("Operation protocol error: invalid payload or session/Idea identity mismatch");
29
+ }
30
+ return payload;
31
+ }
32
+
33
+ export function isExactOperation(n) {
34
+ return OPERATION_ACTIONS.has(n?.action) ||
35
+ (n?.action === "human_instruction" &&
36
+ n.instructionText?.startsWith(RESEARCH_INSTRUCTION_PREFIX));
37
+ }
38
+
39
+ export function buildOperationPrompt(n) {
40
+ const p = validateOperation(n.action, n.operationPayload, {
41
+ sessionId: n.sessionId, directIdeaUuid: n.directIdeaUuid, projectUuid: n.projectUuid,
42
+ });
43
+ return p.kind === "research"
44
+ ? composeResearchInstruction(p.ideaUuid)
45
+ : composeConversationalIdeaInstruction(p);
46
+ }