@mndrk/agx 2.0.44 → 2.0.46

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 (503) hide show
  1. package/cloud-runtime/standalone/.next/BUILD_ID +1 -1
  2. package/cloud-runtime/standalone/.next/app-path-routes-manifest.json +2 -0
  3. package/cloud-runtime/standalone/.next/build-manifest.json +2 -2
  4. package/cloud-runtime/standalone/.next/prerender-manifest.json +3 -3
  5. package/cloud-runtime/standalone/.next/routes-manifest.json +13 -1
  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_client-reference-manifest.js +1 -1
  14. package/cloud-runtime/standalone/.next/server/app/_not-found.html +2 -2
  15. package/cloud-runtime/standalone/.next/server/app/_not-found.rsc +2 -2
  16. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  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 +2 -2
  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 +2 -2
  22. package/cloud-runtime/standalone/.next/server/app/agents/[id]/page.js.nft.json +1 -1
  23. package/cloud-runtime/standalone/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
  24. package/cloud-runtime/standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
  25. package/cloud-runtime/standalone/.next/server/app/agents.html +2 -2
  26. package/cloud-runtime/standalone/.next/server/app/agents.rsc +2 -2
  27. package/cloud-runtime/standalone/.next/server/app/agents.segments/_full.segment.rsc +2 -2
  28. package/cloud-runtime/standalone/.next/server/app/agents.segments/_head.segment.rsc +1 -1
  29. package/cloud-runtime/standalone/.next/server/app/agents.segments/_index.segment.rsc +2 -2
  30. package/cloud-runtime/standalone/.next/server/app/agents.segments/_tree.segment.rsc +2 -2
  31. package/cloud-runtime/standalone/.next/server/app/agents.segments/agents/__PAGE__.segment.rsc +1 -1
  32. package/cloud-runtime/standalone/.next/server/app/agents.segments/agents.segment.rsc +1 -1
  33. package/cloud-runtime/standalone/.next/server/app/api/agent-specs/route.js +1 -1
  34. package/cloud-runtime/standalone/.next/server/app/api/agent-specs/route.js.nft.json +1 -1
  35. package/cloud-runtime/standalone/.next/server/app/api/agents/[id]/profile/route.js +1 -1
  36. package/cloud-runtime/standalone/.next/server/app/api/agents/[id]/profile/route.js.nft.json +1 -1
  37. package/cloud-runtime/standalone/.next/server/app/api/agents/export/route.js +1 -1
  38. package/cloud-runtime/standalone/.next/server/app/api/agents/export/route.js.nft.json +1 -1
  39. package/cloud-runtime/standalone/.next/server/app/api/automations/create/route.js +1 -1
  40. package/cloud-runtime/standalone/.next/server/app/api/automations/create/route.js.nft.json +1 -1
  41. package/cloud-runtime/standalone/.next/server/app/api/automations/route.js +1 -1
  42. package/cloud-runtime/standalone/.next/server/app/api/automations/route.js.nft.json +1 -1
  43. package/cloud-runtime/standalone/.next/server/app/api/chat/route.js +1 -1
  44. package/cloud-runtime/standalone/.next/server/app/api/chat/route.js.nft.json +1 -1
  45. package/cloud-runtime/standalone/.next/server/app/api/file-search/route.js.nft.json +1 -1
  46. package/cloud-runtime/standalone/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route.js +1 -1
  47. package/cloud-runtime/standalone/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route.js.nft.json +1 -1
  48. package/cloud-runtime/standalone/.next/server/app/api/health/route.js +1 -1
  49. package/cloud-runtime/standalone/.next/server/app/api/health/route.js.nft.json +1 -1
  50. package/cloud-runtime/standalone/.next/server/app/api/learnings/route.js +1 -1
  51. package/cloud-runtime/standalone/.next/server/app/api/learnings/route.js.nft.json +1 -1
  52. package/cloud-runtime/standalone/.next/server/app/api/linear/callback/route.js +1 -1
  53. package/cloud-runtime/standalone/.next/server/app/api/linear/callback/route.js.nft.json +1 -1
  54. package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route/app-paths-manifest.json +3 -0
  55. package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route/build-manifest.json +11 -0
  56. package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route/server-reference-manifest.json +4 -0
  57. package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route.js +10 -0
  58. package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route.js.map +5 -0
  59. package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route.js.nft.json +1 -0
  60. package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route_client-reference-manifest.js +2 -0
  61. package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route.js +5 -2
  62. package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route.js.nft.json +1 -1
  63. package/cloud-runtime/standalone/.next/server/app/api/linear/options/route/app-paths-manifest.json +3 -0
  64. package/cloud-runtime/standalone/.next/server/app/api/linear/options/route/build-manifest.json +11 -0
  65. package/cloud-runtime/standalone/.next/server/app/api/linear/options/route/server-reference-manifest.json +4 -0
  66. package/cloud-runtime/standalone/.next/server/app/api/linear/options/route.js +7 -0
  67. package/cloud-runtime/standalone/.next/server/app/api/linear/options/route.js.map +5 -0
  68. package/cloud-runtime/standalone/.next/server/app/api/linear/options/route.js.nft.json +1 -0
  69. package/cloud-runtime/standalone/.next/server/app/api/linear/options/route_client-reference-manifest.js +2 -0
  70. package/cloud-runtime/standalone/.next/server/app/api/linear/status/route.js.nft.json +1 -1
  71. package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/start/route.js +1 -1
  72. package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/start/route.js.nft.json +1 -1
  73. package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/status/route.js +1 -1
  74. package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/status/route.js.nft.json +1 -1
  75. package/cloud-runtime/standalone/.next/server/app/api/participants/route.js +1 -1
  76. package/cloud-runtime/standalone/.next/server/app/api/participants/route.js.nft.json +1 -1
  77. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/agents/route.js +1 -1
  78. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/agents/route.js.nft.json +1 -1
  79. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v1/route.js +1 -1
  80. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v1/route.js.nft.json +1 -1
  81. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v2/route.js +1 -1
  82. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v2/route.js.nft.json +1 -1
  83. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/route.js +1 -1
  84. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
  85. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/skills/route.js +1 -1
  86. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/skills/route.js.nft.json +1 -1
  87. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/threads/route.js +1 -1
  88. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/threads/route.js.nft.json +1 -1
  89. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/variables/route.js +1 -1
  90. package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/variables/route.js.nft.json +1 -1
  91. package/cloud-runtime/standalone/.next/server/app/api/projects/route.js +1 -1
  92. package/cloud-runtime/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
  93. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/cancel/route.js +1 -1
  94. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/cancel/route.js.nft.json +1 -1
  95. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/route.js +1 -1
  96. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/route.js.nft.json +1 -1
  97. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/runs/route.js +1 -1
  98. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/runs/route.js.nft.json +1 -1
  99. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/agents/route.js +1 -1
  100. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/agents/route.js.nft.json +1 -1
  101. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/poll/route.js +1 -1
  102. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/poll/route.js.nft.json +1 -1
  103. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/route.js +1 -1
  104. package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/route.js.nft.json +1 -1
  105. package/cloud-runtime/standalone/.next/server/app/api/providers/route.js.nft.json +1 -1
  106. package/cloud-runtime/standalone/.next/server/app/api/queue/complete/route.js +1 -1
  107. package/cloud-runtime/standalone/.next/server/app/api/queue/complete/route.js.nft.json +1 -1
  108. package/cloud-runtime/standalone/.next/server/app/api/queue/route.js +4 -4
  109. package/cloud-runtime/standalone/.next/server/app/api/queue/route.js.nft.json +1 -1
  110. package/cloud-runtime/standalone/.next/server/app/api/schedules/debug/route.js +4 -4
  111. package/cloud-runtime/standalone/.next/server/app/api/schedules/debug/route.js.nft.json +1 -1
  112. package/cloud-runtime/standalone/.next/server/app/api/schedules/poll/route.js +4 -4
  113. package/cloud-runtime/standalone/.next/server/app/api/schedules/poll/route.js.nft.json +1 -1
  114. package/cloud-runtime/standalone/.next/server/app/api/schedules/route.js +1 -1
  115. package/cloud-runtime/standalone/.next/server/app/api/schedules/route.js.nft.json +1 -1
  116. package/cloud-runtime/standalone/.next/server/app/api/status/route.js +1 -1
  117. package/cloud-runtime/standalone/.next/server/app/api/status/route.js.nft.json +1 -1
  118. package/cloud-runtime/standalone/.next/server/app/api/summarize/route.js +1 -1
  119. package/cloud-runtime/standalone/.next/server/app/api/summarize/route.js.nft.json +1 -1
  120. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/[commentId]/route.js +1 -1
  121. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/[commentId]/route.js.nft.json +1 -1
  122. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/route.js +1 -1
  123. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/route.js.nft.json +1 -1
  124. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/costs/route.js +1 -1
  125. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/costs/route.js.nft.json +1 -1
  126. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/dependencies/route.js +1 -1
  127. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/dependencies/route.js.nft.json +1 -1
  128. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/events/route.js +1 -1
  129. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/events/route.js.nft.json +1 -1
  130. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/history/route.js +1 -1
  131. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/history/route.js.nft.json +1 -1
  132. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/metrics/route.js +1 -1
  133. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/metrics/route.js.nft.json +1 -1
  134. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/replan/route.js +1 -1
  135. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/replan/route.js.nft.json +1 -1
  136. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/restart/route.js +1 -1
  137. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/restart/route.js.nft.json +1 -1
  138. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/resume/route.js +1 -1
  139. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/resume/route.js.nft.json +1 -1
  140. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/rollback/route.js +1 -1
  141. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/rollback/route.js.nft.json +1 -1
  142. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/route.js +1 -1
  143. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/route.js.nft.json +1 -1
  144. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/schedule/route.js +1 -1
  145. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/schedule/route.js.nft.json +1 -1
  146. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/start/route.js +1 -1
  147. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/start/route.js.nft.json +1 -1
  148. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/stop/route.js +1 -1
  149. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/stop/route.js.nft.json +1 -1
  150. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/history/route.js +1 -1
  151. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/history/route.js.nft.json +1 -1
  152. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/logs/route.js +1 -1
  153. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/logs/route.js.nft.json +1 -1
  154. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/comments/route.js +1 -1
  155. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/comments/route.js.nft.json +1 -1
  156. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/complete/route.js +1 -1
  157. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/complete/route.js.nft.json +1 -1
  158. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/fail/route.js +1 -1
  159. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/fail/route.js.nft.json +1 -1
  160. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/resume/route.js +1 -1
  161. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/resume/route.js.nft.json +1 -1
  162. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/start/route.js +1 -1
  163. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/start/route.js.nft.json +1 -1
  164. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/stop/route.js +1 -1
  165. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/stop/route.js.nft.json +1 -1
  166. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/verify/route.js +1 -1
  167. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/verify/route.js.nft.json +1 -1
  168. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/route.js +1 -1
  169. package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/route.js.nft.json +1 -1
  170. package/cloud-runtime/standalone/.next/server/app/api/tasks/assign-orphans/route.js +1 -1
  171. package/cloud-runtime/standalone/.next/server/app/api/tasks/assign-orphans/route.js.nft.json +1 -1
  172. package/cloud-runtime/standalone/.next/server/app/api/tasks/extract/route.js +1 -1
  173. package/cloud-runtime/standalone/.next/server/app/api/tasks/extract/route.js.nft.json +1 -1
  174. package/cloud-runtime/standalone/.next/server/app/api/tasks/route.js +3 -3
  175. package/cloud-runtime/standalone/.next/server/app/api/tasks/route.js.nft.json +1 -1
  176. package/cloud-runtime/standalone/.next/server/app/api/threads/knowledge/route.js +1 -1
  177. package/cloud-runtime/standalone/.next/server/app/api/threads/knowledge/route.js.nft.json +1 -1
  178. package/cloud-runtime/standalone/.next/server/app/api/threads/route.js +1 -1
  179. package/cloud-runtime/standalone/.next/server/app/api/threads/route.js.nft.json +1 -1
  180. package/cloud-runtime/standalone/.next/server/app/api/user-settings/route.js +1 -1
  181. package/cloud-runtime/standalone/.next/server/app/api/user-settings/route.js.nft.json +1 -1
  182. package/cloud-runtime/standalone/.next/server/app/automations/page/react-loadable-manifest.json +2 -2
  183. package/cloud-runtime/standalone/.next/server/app/automations/page.js.nft.json +1 -1
  184. package/cloud-runtime/standalone/.next/server/app/automations/page_client-reference-manifest.js +1 -1
  185. package/cloud-runtime/standalone/.next/server/app/automations.html +2 -2
  186. package/cloud-runtime/standalone/.next/server/app/automations.rsc +3 -3
  187. package/cloud-runtime/standalone/.next/server/app/automations.segments/_full.segment.rsc +3 -3
  188. package/cloud-runtime/standalone/.next/server/app/automations.segments/_head.segment.rsc +1 -1
  189. package/cloud-runtime/standalone/.next/server/app/automations.segments/_index.segment.rsc +2 -2
  190. package/cloud-runtime/standalone/.next/server/app/automations.segments/_tree.segment.rsc +2 -2
  191. package/cloud-runtime/standalone/.next/server/app/automations.segments/automations/__PAGE__.segment.rsc +2 -2
  192. package/cloud-runtime/standalone/.next/server/app/automations.segments/automations.segment.rsc +1 -1
  193. package/cloud-runtime/standalone/.next/server/app/board/page_client-reference-manifest.js +1 -1
  194. package/cloud-runtime/standalone/.next/server/app/board.html +2 -2
  195. package/cloud-runtime/standalone/.next/server/app/board.rsc +2 -2
  196. package/cloud-runtime/standalone/.next/server/app/board.segments/_full.segment.rsc +2 -2
  197. package/cloud-runtime/standalone/.next/server/app/board.segments/_head.segment.rsc +1 -1
  198. package/cloud-runtime/standalone/.next/server/app/board.segments/_index.segment.rsc +2 -2
  199. package/cloud-runtime/standalone/.next/server/app/board.segments/_tree.segment.rsc +2 -2
  200. package/cloud-runtime/standalone/.next/server/app/board.segments/board/__PAGE__.segment.rsc +1 -1
  201. package/cloud-runtime/standalone/.next/server/app/board.segments/board.segment.rsc +1 -1
  202. package/cloud-runtime/standalone/.next/server/app/execution-graph/page_client-reference-manifest.js +1 -1
  203. package/cloud-runtime/standalone/.next/server/app/execution-graph.html +2 -2
  204. package/cloud-runtime/standalone/.next/server/app/execution-graph.rsc +2 -2
  205. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_full.segment.rsc +2 -2
  206. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_head.segment.rsc +1 -1
  207. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_index.segment.rsc +2 -2
  208. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_tree.segment.rsc +2 -2
  209. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph/__PAGE__.segment.rsc +1 -1
  210. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph.segment.rsc +1 -1
  211. package/cloud-runtime/standalone/.next/server/app/index.html +2 -2
  212. package/cloud-runtime/standalone/.next/server/app/index.rsc +4 -4
  213. package/cloud-runtime/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  214. package/cloud-runtime/standalone/.next/server/app/index.segments/_full.segment.rsc +4 -4
  215. package/cloud-runtime/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
  216. package/cloud-runtime/standalone/.next/server/app/index.segments/_index.segment.rsc +2 -2
  217. package/cloud-runtime/standalone/.next/server/app/index.segments/_tree.segment.rsc +3 -3
  218. package/cloud-runtime/standalone/.next/server/app/page.js.nft.json +1 -1
  219. package/cloud-runtime/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  220. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page/react-loadable-manifest.json +2 -2
  221. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page.js.nft.json +1 -1
  222. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page_client-reference-manifest.js +1 -1
  223. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page_client-reference-manifest.js +1 -1
  224. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/knowledge/page_client-reference-manifest.js +1 -1
  225. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page/react-loadable-manifest.json +3 -3
  226. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page.js.nft.json +1 -1
  227. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page_client-reference-manifest.js +1 -1
  228. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
  229. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/thread/[threadId]/page.js.nft.json +1 -1
  230. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/thread/[threadId]/page_client-reference-manifest.js +1 -1
  231. package/cloud-runtime/standalone/.next/server/app/projects/orphans/page_client-reference-manifest.js +1 -1
  232. package/cloud-runtime/standalone/.next/server/app/projects/orphans.html +2 -2
  233. package/cloud-runtime/standalone/.next/server/app/projects/orphans.rsc +2 -2
  234. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_full.segment.rsc +2 -2
  235. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_head.segment.rsc +1 -1
  236. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_index.segment.rsc +2 -2
  237. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_tree.segment.rsc +2 -2
  238. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans/__PAGE__.segment.rsc +1 -1
  239. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans.segment.rsc +1 -1
  240. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects.segment.rsc +1 -1
  241. package/cloud-runtime/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
  242. package/cloud-runtime/standalone/.next/server/app/projects.html +2 -2
  243. package/cloud-runtime/standalone/.next/server/app/projects.rsc +2 -2
  244. package/cloud-runtime/standalone/.next/server/app/projects.segments/_full.segment.rsc +2 -2
  245. package/cloud-runtime/standalone/.next/server/app/projects.segments/_head.segment.rsc +1 -1
  246. package/cloud-runtime/standalone/.next/server/app/projects.segments/_index.segment.rsc +2 -2
  247. package/cloud-runtime/standalone/.next/server/app/projects.segments/_tree.segment.rsc +2 -2
  248. package/cloud-runtime/standalone/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +1 -1
  249. package/cloud-runtime/standalone/.next/server/app/projects.segments/projects.segment.rsc +1 -1
  250. package/cloud-runtime/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  251. package/cloud-runtime/standalone/.next/server/app/settings.html +2 -2
  252. package/cloud-runtime/standalone/.next/server/app/settings.rsc +2 -2
  253. package/cloud-runtime/standalone/.next/server/app/settings.segments/_full.segment.rsc +2 -2
  254. package/cloud-runtime/standalone/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  255. package/cloud-runtime/standalone/.next/server/app/settings.segments/_index.segment.rsc +2 -2
  256. package/cloud-runtime/standalone/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  257. package/cloud-runtime/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
  258. package/cloud-runtime/standalone/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  259. package/cloud-runtime/standalone/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  260. package/cloud-runtime/standalone/.next/server/app/skills.html +2 -2
  261. package/cloud-runtime/standalone/.next/server/app/skills.rsc +2 -2
  262. package/cloud-runtime/standalone/.next/server/app/skills.segments/_full.segment.rsc +2 -2
  263. package/cloud-runtime/standalone/.next/server/app/skills.segments/_head.segment.rsc +1 -1
  264. package/cloud-runtime/standalone/.next/server/app/skills.segments/_index.segment.rsc +2 -2
  265. package/cloud-runtime/standalone/.next/server/app/skills.segments/_tree.segment.rsc +2 -2
  266. package/cloud-runtime/standalone/.next/server/app/skills.segments/skills/__PAGE__.segment.rsc +1 -1
  267. package/cloud-runtime/standalone/.next/server/app/skills.segments/skills.segment.rsc +1 -1
  268. package/cloud-runtime/standalone/.next/server/app/status/page_client-reference-manifest.js +1 -1
  269. package/cloud-runtime/standalone/.next/server/app/status.html +2 -2
  270. package/cloud-runtime/standalone/.next/server/app/status.rsc +3 -3
  271. package/cloud-runtime/standalone/.next/server/app/status.segments/_full.segment.rsc +3 -3
  272. package/cloud-runtime/standalone/.next/server/app/status.segments/_head.segment.rsc +1 -1
  273. package/cloud-runtime/standalone/.next/server/app/status.segments/_index.segment.rsc +2 -2
  274. package/cloud-runtime/standalone/.next/server/app/status.segments/_tree.segment.rsc +2 -2
  275. package/cloud-runtime/standalone/.next/server/app/status.segments/status/__PAGE__.segment.rsc +2 -2
  276. package/cloud-runtime/standalone/.next/server/app/status.segments/status.segment.rsc +1 -1
  277. package/cloud-runtime/standalone/.next/server/app/thread/[id]/page.js.nft.json +1 -1
  278. package/cloud-runtime/standalone/.next/server/app/thread/[id]/page_client-reference-manifest.js +1 -1
  279. package/cloud-runtime/standalone/.next/server/app/welcome/page_client-reference-manifest.js +1 -1
  280. package/cloud-runtime/standalone/.next/server/app/welcome.html +2 -2
  281. package/cloud-runtime/standalone/.next/server/app/welcome.rsc +2 -2
  282. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_full.segment.rsc +2 -2
  283. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_head.segment.rsc +1 -1
  284. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_index.segment.rsc +2 -2
  285. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_tree.segment.rsc +2 -2
  286. package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome/__PAGE__.segment.rsc +1 -1
  287. package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome.segment.rsc +1 -1
  288. package/cloud-runtime/standalone/.next/server/app-paths-manifest.json +2 -0
  289. package/cloud-runtime/standalone/.next/server/chunks/{[externals]__29a2424c._.js → [externals]__31e26905._.js} +1 -1
  290. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__fb1f7e58._.js → [root-of-the-server]__00fd30c8._.js} +2 -2
  291. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__e4f01b5c._.js → [root-of-the-server]__0e98af48._.js} +2 -2
  292. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1154e5b3._.js +67 -0
  293. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__44ef900b._.js → [root-of-the-server]__11c1214e._.js} +2 -2
  294. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__5e5eb809._.js → [root-of-the-server]__152b2000._.js} +10 -10
  295. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__f21849ad._.js → [root-of-the-server]__15f3bb96._.js} +2 -2
  296. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__7cade6c6._.js → [root-of-the-server]__1f53e82e._.js} +2 -2
  297. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__c77efd85._.js → [root-of-the-server]__20533a2c._.js} +2 -2
  298. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__e0994be2._.js → [root-of-the-server]__3b1431b6._.js} +2 -2
  299. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3b83b657._.js +147 -0
  300. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__d3945cae._.js → [root-of-the-server]__3bf516b6._.js} +2 -2
  301. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__2d15af44._.js → [root-of-the-server]__3fd3c5b1._.js} +2 -2
  302. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__13fe776f._.js → [root-of-the-server]__42e713f5._.js} +2 -2
  303. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__1be9b30e._.js → [root-of-the-server]__4b0b5fe1._.js} +2 -2
  304. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__558389f7._.js +3 -0
  305. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__5a042505._.js → [root-of-the-server]__5aaf8c25._.js} +2 -2
  306. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__22b7bf38._.js → [root-of-the-server]__5b13e7a5._.js} +2 -2
  307. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__34efe92e._.js → [root-of-the-server]__635fe0f9._.js} +2 -2
  308. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__c9550a93._.js → [root-of-the-server]__68da2825._.js} +2 -2
  309. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__e5bad635._.js → [root-of-the-server]__6921fe3f._.js} +2 -2
  310. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__dc542063._.js → [root-of-the-server]__6988985c._.js} +2 -2
  311. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__c5025f86._.js → [root-of-the-server]__7012e83d._.js} +7 -7
  312. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__9d3a2caa._.js → [root-of-the-server]__70327010._.js} +2 -2
  313. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__748c718f._.js +147 -0
  314. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__76290829._.js +46 -8
  315. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__c0919d7d._.js → [root-of-the-server]__79fa35e4._.js} +2 -2
  316. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__ac9b93fd._.js → [root-of-the-server]__8d205f82._.js} +2 -2
  317. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__0281ad06._.js → [root-of-the-server]__9ffa67b7._.js} +2 -2
  318. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__dd1cb250._.js → [root-of-the-server]__a300f072._.js} +2 -2
  319. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__5fbc700c._.js → [root-of-the-server]__a7e0ac67._.js} +2 -2
  320. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__91b51f33._.js → [root-of-the-server]__aad349b4._.js} +2 -2
  321. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ad6d6402._.js +46 -8
  322. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__349d67e7._.js → [root-of-the-server]__b133856b._.js} +2 -2
  323. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__45a50de9._.js → [root-of-the-server]__c029daab._.js} +2 -2
  324. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__a1e62918._.js → [root-of-the-server]__c8195768._.js} +1 -1
  325. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ce2a1672._.js +67 -0
  326. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__a2e17f69._.js → [root-of-the-server]__d4f42f49._.js} +2 -2
  327. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__d9f2041b._.js +47 -9
  328. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__ad4cb055._.js → [root-of-the-server]__dca6026a._.js} +2 -2
  329. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__bacb0193._.js → [root-of-the-server]__ddb3aa76._.js} +2 -2
  330. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__de295ef3._.js +3 -0
  331. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__7d4fa0fd._.js → [root-of-the-server]__e7be56ba._.js} +2 -2
  332. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__73b17f49._.js → [root-of-the-server]__ebece93b._.js} +2 -2
  333. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ef27f8cd._.js +49 -0
  334. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__56dbe1a4._.js → [root-of-the-server]__f13c29c6._.js} +2 -2
  335. package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__98d58423._.js → [root-of-the-server]__fcdaf6d8._.js} +2 -2
  336. package/cloud-runtime/standalone/.next/server/chunks/_6e7f0ae4._.js +6 -0
  337. package/cloud-runtime/standalone/.next/server/chunks/_a93e80e8._.js +3 -0
  338. package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_issues_context_route_actions_0b2c282c.js +3 -0
  339. package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_options_route_actions_29764947.js +3 -0
  340. package/cloud-runtime/standalone/.next/server/chunks/lib_app-config_ts_7f2f30ad._.js +3 -0
  341. package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__1c4256ce._.js +3 -0
  342. package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__4c9d0778._.js +3 -0
  343. package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__69887882._.js +3 -0
  344. package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__f59f0dc7._.js +3 -0
  345. package/cloud-runtime/standalone/.next/server/chunks/ssr/{_95434d70._.js → _1d26be78._.js} +2 -2
  346. package/cloud-runtime/standalone/.next/server/chunks/ssr/_32c878b9._.js +3 -0
  347. package/cloud-runtime/standalone/.next/server/chunks/ssr/_60d0bae4._.js +3 -0
  348. package/cloud-runtime/standalone/.next/server/chunks/ssr/_77e1407a._.js +3 -0
  349. package/cloud-runtime/standalone/.next/server/chunks/ssr/_7f7a828a._.js +3 -0
  350. package/cloud-runtime/standalone/.next/server/chunks/ssr/_ba5903a7._.js +3 -0
  351. package/cloud-runtime/standalone/.next/server/chunks/ssr/_ed4fece9._.js +3 -0
  352. package/cloud-runtime/standalone/.next/server/chunks/ssr/_f51a3112._.js +3 -0
  353. package/cloud-runtime/standalone/.next/server/chunks/ssr/app_projects_[slug]_linear_page_tsx_971a6ba7._.js +3 -3
  354. package/cloud-runtime/standalone/.next/server/chunks/ssr/components_chat-ui_bfeda794._.js +7 -3
  355. package/cloud-runtime/standalone/.next/server/functions-config-manifest.json +2 -0
  356. package/cloud-runtime/standalone/.next/server/instrumentation.js +1 -1
  357. package/cloud-runtime/standalone/.next/server/middleware-manifest.json +5 -5
  358. package/cloud-runtime/standalone/.next/server/pages/404.html +2 -2
  359. package/cloud-runtime/standalone/.next/server/pages/500.html +2 -2
  360. package/cloud-runtime/standalone/.next/server/server-reference-manifest.js +1 -1
  361. package/cloud-runtime/standalone/.next/server/server-reference-manifest.json +1 -1
  362. package/cloud-runtime/standalone/.next/static/chunks/02add5a8d35c53fe.js +1 -0
  363. package/cloud-runtime/standalone/.next/static/chunks/2362d5c0dcaa5d64.js +1 -0
  364. package/cloud-runtime/standalone/.next/static/chunks/2730394502dd3664.js +1 -0
  365. package/cloud-runtime/standalone/.next/static/chunks/37f07896b044d69f.css +1 -0
  366. package/cloud-runtime/standalone/.next/static/chunks/3dc50de1c86e1ce9.js +1 -0
  367. package/cloud-runtime/standalone/.next/static/chunks/4ea8f08087116055.js +1 -0
  368. package/cloud-runtime/standalone/.next/static/chunks/5607ad702ebb8a4b.js +9 -0
  369. package/cloud-runtime/standalone/.next/static/chunks/6103b9b5538bba4d.css +2 -0
  370. package/cloud-runtime/standalone/.next/static/chunks/98c20da4973991f0.js +1 -0
  371. package/cloud-runtime/standalone/.next/static/chunks/a9da98f883ac833b.js +1 -0
  372. package/cloud-runtime/standalone/.next/static/chunks/{da12f313213a5615.js → b2127dc67c5ade9f.js} +1 -1
  373. package/cloud-runtime/standalone/.next/static/chunks/{76229fb555232113.js → b3377e39d47c71cf.js} +1 -1
  374. package/cloud-runtime/standalone/.next/static/chunks/bf2a2fafb710e63c.js +1 -0
  375. package/cloud-runtime/standalone/.next/static/chunks/c0d17e0c37ba8e7a.js +1 -0
  376. package/cloud-runtime/standalone/.next/static/chunks/cca7c8e4ade050f0.js +37 -0
  377. package/cloud-runtime/standalone/.next/static/chunks/db131a0b6350e416.js +1 -0
  378. package/cloud-runtime/standalone/.next/static/chunks/e51fddf53a6dc1e4.js +9 -0
  379. package/cloud-runtime/standalone/.next/static/chunks/{66769c2bf128027d.js → f4360c3e4089263f.js} +1 -1
  380. package/cloud-runtime/standalone/Dockerfile +5 -5
  381. package/cloud-runtime/standalone/app/api/linear/callback/route.ts +2 -1
  382. package/cloud-runtime/standalone/app/api/linear/issues/context/route.ts +26 -0
  383. package/cloud-runtime/standalone/app/api/linear/issues/route.ts +44 -42
  384. package/cloud-runtime/standalone/app/api/linear/options/route.ts +31 -0
  385. package/cloud-runtime/standalone/app/api/status/route.ts +2 -2
  386. package/cloud-runtime/standalone/components/LinearBoard.tsx +411 -117
  387. package/cloud-runtime/standalone/components/chat-ui/ChatContainer.tsx +3 -1
  388. package/cloud-runtime/standalone/components/chat-ui/Composer.tsx +54 -2
  389. package/cloud-runtime/standalone/components/chat-ui/MentionPopover.tsx +43 -2
  390. package/cloud-runtime/standalone/hooks/useLinearIssueMentions.ts +64 -0
  391. package/cloud-runtime/standalone/hooks/useLinearIssues.ts +30 -6
  392. package/cloud-runtime/standalone/hooks/useMentionAutocomplete.ts +54 -6
  393. package/cloud-runtime/standalone/instrumentation.ts +2 -1
  394. package/cloud-runtime/standalone/lib/app-config.ts +55 -0
  395. package/cloud-runtime/standalone/lib/chat/linear-issue-context.ts +79 -0
  396. package/cloud-runtime/standalone/lib/linear-client.ts +166 -15
  397. package/cloud-runtime/standalone/lib/linear-issue-store.ts +433 -0
  398. package/cloud-runtime/standalone/lib/linear-issues.ts +360 -0
  399. package/cloud-runtime/standalone/lib/security.ts +2 -2
  400. package/cloud-runtime/standalone/lib/tiptap/composer-mentions.ts +38 -0
  401. package/cloud-runtime/standalone/lib/tiptap/editor-utils.ts +11 -0
  402. package/cloud-runtime/standalone/lib/tiptap/serialize-composer.ts +10 -0
  403. package/cloud-runtime/standalone/next.config.ts +2 -1
  404. package/cloud-runtime/standalone/src/graph/internal-function-dispatcher.ts +2 -5
  405. package/cloud-runtime/standalone/state/automations/.state/24a6a5db-3b14-49c4-841f-29f10f015fbb.json +3 -3
  406. package/cloud-runtime/standalone/styles/composer-pills.css +13 -0
  407. package/package.json +1 -1
  408. package/cloud-runtime/standalone/.linear-token.json +0 -4
  409. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__05243927._.js +0 -29
  410. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1017e012._.js +0 -3
  411. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__28524c6a._.js +0 -3
  412. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c1b28690._.js +0 -49
  413. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__dffa5183._.js +0 -29
  414. package/cloud-runtime/standalone/.next/server/chunks/_110bf46e._.js +0 -6
  415. package/cloud-runtime/standalone/.next/server/chunks/_22fe5fd2._.js +0 -3
  416. package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__35f9b4a6._.js +0 -3
  417. package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__43a0398d._.js +0 -3
  418. package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__7e7d6790._.js +0 -3
  419. package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__b6598a70._.js +0 -3
  420. package/cloud-runtime/standalone/.next/server/chunks/ssr/_087a5b2b._.js +0 -3
  421. package/cloud-runtime/standalone/.next/server/chunks/ssr/_1e5aee62._.js +0 -3
  422. package/cloud-runtime/standalone/.next/server/chunks/ssr/_45f91a8f._.js +0 -3
  423. package/cloud-runtime/standalone/.next/server/chunks/ssr/_fb404ac0._.js +0 -3
  424. package/cloud-runtime/standalone/.next/static/chunks/0010f3df27ae53b8.js +0 -1
  425. package/cloud-runtime/standalone/.next/static/chunks/09c637be82a06122.js +0 -1
  426. package/cloud-runtime/standalone/.next/static/chunks/0fe219bd73492107.js +0 -5
  427. package/cloud-runtime/standalone/.next/static/chunks/2dbfd095c1e1d01f.js +0 -1
  428. package/cloud-runtime/standalone/.next/static/chunks/360fde144fd22461.js +0 -1
  429. package/cloud-runtime/standalone/.next/static/chunks/416cf5039e669b5d.js +0 -1
  430. package/cloud-runtime/standalone/.next/static/chunks/95b85b1cb6868d27.js +0 -1
  431. package/cloud-runtime/standalone/.next/static/chunks/966278eaefc0aa32.js +0 -1
  432. package/cloud-runtime/standalone/.next/static/chunks/ab74849aeb87503e.js +0 -5
  433. package/cloud-runtime/standalone/.next/static/chunks/c5661b1d4c5abd6a.css +0 -2
  434. package/cloud-runtime/standalone/.next/static/chunks/d522224ad5c8d724.css +0 -1
  435. package/cloud-runtime/standalone/.next/static/chunks/e2fa3c18dd56dc25.js +0 -1
  436. package/cloud-runtime/standalone/.next/static/chunks/e910386016ceacad.js +0 -37
  437. package/cloud-runtime/standalone/.next/static/chunks/f2fe77583374541b.js +0 -1
  438. package/cloud-runtime/standalone/coverage/clover.xml +0 -1208
  439. package/cloud-runtime/standalone/coverage/coverage-final.json +0 -29
  440. package/cloud-runtime/standalone/coverage/lcov-report/app/api/audit/index.html +0 -116
  441. package/cloud-runtime/standalone/coverage/lcov-report/app/api/audit/route.ts.html +0 -208
  442. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/[...nextauth]/index.html +0 -116
  443. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/[...nextauth]/route.ts.html +0 -166
  444. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/daemon-secret/index.html +0 -116
  445. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/daemon-secret/route.ts.html +0 -532
  446. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/status/index.html +0 -116
  447. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/status/route.ts.html +0 -178
  448. package/cloud-runtime/standalone/coverage/lcov-report/app/api/learnings/index.html +0 -116
  449. package/cloud-runtime/standalone/coverage/lcov-report/app/api/learnings/route.ts.html +0 -262
  450. package/cloud-runtime/standalone/coverage/lcov-report/app/api/logs/stream/index.html +0 -116
  451. package/cloud-runtime/standalone/coverage/lcov-report/app/api/logs/stream/route.ts.html +0 -448
  452. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/complete/index.html +0 -116
  453. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/complete/route.ts.html +0 -331
  454. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/index.html +0 -116
  455. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/route.ts.html +0 -505
  456. package/cloud-runtime/standalone/coverage/lcov-report/app/api/stage-prompts/index.html +0 -116
  457. package/cloud-runtime/standalone/coverage/lcov-report/app/api/stage-prompts/route.ts.html +0 -412
  458. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/advance/index.html +0 -116
  459. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/advance/route.ts.html +0 -304
  460. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/index.html +0 -116
  461. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/logs/index.html +0 -116
  462. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/logs/route.ts.html +0 -202
  463. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/route.ts.html +0 -373
  464. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/index.html +0 -116
  465. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/route.ts.html +0 -499
  466. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/stream/index.html +0 -116
  467. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/stream/route.ts.html +0 -349
  468. package/cloud-runtime/standalone/coverage/lcov-report/base.css +0 -224
  469. package/cloud-runtime/standalone/coverage/lcov-report/block-navigation.js +0 -87
  470. package/cloud-runtime/standalone/coverage/lcov-report/components/AuthProvider.tsx.html +0 -259
  471. package/cloud-runtime/standalone/coverage/lcov-report/components/ChatInterface.tsx.html +0 -1228
  472. package/cloud-runtime/standalone/coverage/lcov-report/components/KanbanBoard.tsx.html +0 -1024
  473. package/cloud-runtime/standalone/coverage/lcov-report/components/Layout.tsx.html +0 -211
  474. package/cloud-runtime/standalone/coverage/lcov-report/components/LearningsPanel.tsx.html +0 -535
  475. package/cloud-runtime/standalone/coverage/lcov-report/components/LogTimeline.tsx.html +0 -415
  476. package/cloud-runtime/standalone/coverage/lcov-report/components/SortableTaskCard.tsx.html +0 -358
  477. package/cloud-runtime/standalone/coverage/lcov-report/components/StagePills.tsx.html +0 -439
  478. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskCard.tsx.html +0 -514
  479. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskCardOverlay.tsx.html +0 -256
  480. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskDetail.tsx.html +0 -622
  481. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskList.tsx.html +0 -253
  482. package/cloud-runtime/standalone/coverage/lcov-report/components/index.html +0 -281
  483. package/cloud-runtime/standalone/coverage/lcov-report/favicon.png +0 -0
  484. package/cloud-runtime/standalone/coverage/lcov-report/hooks/index.html +0 -116
  485. package/cloud-runtime/standalone/coverage/lcov-report/hooks/useTasks.ts.html +0 -1042
  486. package/cloud-runtime/standalone/coverage/lcov-report/index.html +0 -341
  487. package/cloud-runtime/standalone/coverage/lcov-report/lib/auth-client.ts.html +0 -202
  488. package/cloud-runtime/standalone/coverage/lcov-report/lib/auth-server.ts.html +0 -172
  489. package/cloud-runtime/standalone/coverage/lcov-report/lib/auth.ts.html +0 -265
  490. package/cloud-runtime/standalone/coverage/lcov-report/lib/db.ts.html +0 -1252
  491. package/cloud-runtime/standalone/coverage/lcov-report/lib/index.html +0 -131
  492. package/cloud-runtime/standalone/coverage/lcov-report/lib/orchestrator.ts.html +0 -409
  493. package/cloud-runtime/standalone/coverage/lcov-report/lib/security.ts.html +0 -1165
  494. package/cloud-runtime/standalone/coverage/lcov-report/lib/supabase-server.ts.html +0 -175
  495. package/cloud-runtime/standalone/coverage/lcov-report/lib/supabase.ts.html +0 -157
  496. package/cloud-runtime/standalone/coverage/lcov-report/prettify.css +0 -1
  497. package/cloud-runtime/standalone/coverage/lcov-report/prettify.js +0 -2
  498. package/cloud-runtime/standalone/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  499. package/cloud-runtime/standalone/coverage/lcov-report/sorter.js +0 -210
  500. package/cloud-runtime/standalone/coverage/lcov.info +0 -2386
  501. /package/cloud-runtime/standalone/.next/static/{1ixi4WIJBgIPp7LJeYeKs → 1Q0q2lXllTpqCvmNQYtpD}/_buildManifest.js +0 -0
  502. /package/cloud-runtime/standalone/.next/static/{1ixi4WIJBgIPp7LJeYeKs → 1Q0q2lXllTpqCvmNQYtpD}/_clientMiddlewareManifest.json +0 -0
  503. /package/cloud-runtime/standalone/.next/static/{1ixi4WIJBgIPp7LJeYeKs → 1Q0q2lXllTpqCvmNQYtpD}/_ssgManifest.js +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
4
4
  import dynamic from "next/dynamic";
5
- import { Check, ChevronDown, Clock, Link2, Play, Search, Settings, User } from "lucide-react";
5
+ import { Check, ChevronDown, Clock, Link2, Play, RefreshCw, Search, Settings, User } from "lucide-react";
6
6
  import { useLinearIssues, type LinearIssue } from "@/hooks/useLinearIssues";
7
7
  import { useLinearConnection } from "@/hooks/useLinearConnection";
8
8
  import { useLinearRuns, type LinearRun } from "@/hooks/useLinearRuns";
@@ -126,6 +126,303 @@ const STATUS_DOT_COLORS: Record<LinearRun["status"], string> = {
126
126
  cancelled: "bg-zinc-400",
127
127
  };
128
128
 
129
+ interface FilterOption {
130
+ value: string;
131
+ label: string;
132
+ }
133
+
134
+ interface FilterSelectProps {
135
+ label: string;
136
+ value: string;
137
+ options: FilterOption[];
138
+ activeClasses: string;
139
+ onChange: (value: string) => void;
140
+ }
141
+
142
+ interface FilterPopdownProps extends FilterSelectProps {
143
+ emptyLabel?: string;
144
+ }
145
+
146
+ interface MultiFilterPopdownProps {
147
+ label: string;
148
+ values: string[];
149
+ options: FilterOption[];
150
+ activeClasses: string;
151
+ onChange: (value: string[]) => void;
152
+ emptyLabel?: string;
153
+ }
154
+
155
+ function FilterSelect({ label, value, options, activeClasses, onChange }: FilterSelectProps) {
156
+ const isActive = value.trim().length > 0;
157
+
158
+ return (
159
+ <div className="relative">
160
+ <select
161
+ aria-label={label}
162
+ className={`max-w-[160px] appearance-none rounded-full border bg-transparent px-2.5 py-0.5 pr-6 text-[11px] font-medium outline-none transition-colors ${
163
+ isActive
164
+ ? activeClasses
165
+ : "border-[var(--card-border)] text-[var(--muted-foreground)] hover:bg-[var(--card-bg)]"
166
+ }`}
167
+ value={value}
168
+ onChange={(event) => onChange(event.target.value)}
169
+ >
170
+ {options.map((option) => (
171
+ <option key={`${label}-${option.value || "all"}`} value={option.value}>
172
+ {option.label}
173
+ </option>
174
+ ))}
175
+ </select>
176
+ <ChevronDown
177
+ size={12}
178
+ className="pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 text-current"
179
+ />
180
+ </div>
181
+ );
182
+ }
183
+
184
+ function FilterPopdown({
185
+ label,
186
+ value,
187
+ options,
188
+ activeClasses,
189
+ onChange,
190
+ emptyLabel,
191
+ }: FilterPopdownProps) {
192
+ const [open, setOpen] = useState(false);
193
+ const wrapperRef = useRef<HTMLDivElement | null>(null);
194
+ const selectedOption = options.find((option) => option.value === value) ?? null;
195
+ const isActive = value.trim().length > 0;
196
+ const buttonLabel = selectedOption?.label ?? emptyLabel ?? label;
197
+
198
+ useEffect(() => {
199
+ if (!open) {
200
+ return;
201
+ }
202
+
203
+ const handlePointerDown = (event: MouseEvent) => {
204
+ if (wrapperRef.current && !wrapperRef.current.contains(event.target as Node)) {
205
+ setOpen(false);
206
+ }
207
+ };
208
+
209
+ document.addEventListener("mousedown", handlePointerDown);
210
+ return () => document.removeEventListener("mousedown", handlePointerDown);
211
+ }, [open]);
212
+
213
+ useEffect(() => {
214
+ setOpen(false);
215
+ }, [value]);
216
+
217
+ return (
218
+ <div className="relative" ref={wrapperRef}>
219
+ <button
220
+ type="button"
221
+ aria-label={label}
222
+ aria-haspopup="listbox"
223
+ aria-expanded={open}
224
+ className={`flex max-w-[180px] items-center gap-1 rounded-full border px-2.5 py-0.5 text-[11px] font-medium transition-colors ${
225
+ isActive
226
+ ? activeClasses
227
+ : "border-[var(--card-border)] text-[var(--muted-foreground)] hover:bg-[var(--card-bg)]"
228
+ }`}
229
+ onClick={() => setOpen((current) => !current)}
230
+ >
231
+ <span className="max-w-[132px] truncate">{buttonLabel}</span>
232
+ <ChevronDown size={12} className={`shrink-0 transition-transform ${open ? "rotate-180" : ""}`} />
233
+ </button>
234
+ {open ? (
235
+ <div
236
+ role="listbox"
237
+ aria-label={`${label} options`}
238
+ className="absolute left-0 top-full z-50 mt-1 min-w-[220px] overflow-hidden rounded-xl border border-[var(--card-border)] bg-[var(--card-bg)] p-1 shadow-lg backdrop-blur-sm"
239
+ >
240
+ {options.map((option) => {
241
+ const isSelected = option.value === value;
242
+ return (
243
+ <button
244
+ key={`${label}-${option.value || "all"}`}
245
+ type="button"
246
+ role="option"
247
+ aria-selected={isSelected}
248
+ className={`flex w-full items-center gap-2 rounded-lg px-3 py-2 text-left text-xs transition-colors ${
249
+ isSelected
250
+ ? "bg-[var(--background)] font-medium text-[var(--foreground)]"
251
+ : "text-[var(--muted-foreground)] hover:bg-[var(--background)] hover:text-[var(--foreground)]"
252
+ }`}
253
+ onClick={() => onChange(option.value)}
254
+ >
255
+ <span
256
+ className={`flex h-4 w-4 shrink-0 items-center justify-center rounded-full border ${
257
+ isSelected
258
+ ? "border-blue-500 bg-blue-500 text-white"
259
+ : "border-[var(--card-border)]"
260
+ }`}
261
+ >
262
+ {isSelected ? <Check size={10} /> : null}
263
+ </span>
264
+ <span className="min-w-0 flex-1 truncate">{option.label}</span>
265
+ </button>
266
+ );
267
+ })}
268
+ </div>
269
+ ) : null}
270
+ </div>
271
+ );
272
+ }
273
+
274
+ function MultiFilterPopdown({
275
+ label,
276
+ values,
277
+ options,
278
+ activeClasses,
279
+ onChange,
280
+ emptyLabel,
281
+ }: MultiFilterPopdownProps) {
282
+ const [open, setOpen] = useState(false);
283
+ const wrapperRef = useRef<HTMLDivElement | null>(null);
284
+ const selectedOptions = options.filter(
285
+ (option) => option.value && values.includes(option.value)
286
+ );
287
+ const isActive = selectedOptions.length > 0;
288
+ const buttonLabel = (() => {
289
+ if (selectedOptions.length === 0) {
290
+ return emptyLabel ?? label;
291
+ }
292
+ if (selectedOptions.length === 1) {
293
+ return selectedOptions[0]?.label ?? (emptyLabel ?? label);
294
+ }
295
+ return `${selectedOptions.length} assignees`;
296
+ })();
297
+
298
+ useEffect(() => {
299
+ if (!open) {
300
+ return;
301
+ }
302
+
303
+ const handlePointerDown = (event: MouseEvent) => {
304
+ if (wrapperRef.current && !wrapperRef.current.contains(event.target as Node)) {
305
+ setOpen(false);
306
+ }
307
+ };
308
+
309
+ document.addEventListener("mousedown", handlePointerDown);
310
+ return () => document.removeEventListener("mousedown", handlePointerDown);
311
+ }, [open]);
312
+
313
+ const toggleValue = useCallback(
314
+ (nextValue: string) => {
315
+ if (!nextValue) {
316
+ onChange([]);
317
+ return;
318
+ }
319
+
320
+ const nextValues = values.includes(nextValue)
321
+ ? values.filter((value) => value !== nextValue)
322
+ : [...values, nextValue];
323
+ onChange(nextValues);
324
+ },
325
+ [onChange, values]
326
+ );
327
+
328
+ return (
329
+ <div className="relative" ref={wrapperRef}>
330
+ <button
331
+ type="button"
332
+ aria-label={label}
333
+ aria-haspopup="listbox"
334
+ aria-expanded={open}
335
+ className={`flex max-w-[180px] items-center gap-1 rounded-full border px-2.5 py-0.5 text-[11px] font-medium transition-colors ${
336
+ isActive
337
+ ? activeClasses
338
+ : "border-[var(--card-border)] text-[var(--muted-foreground)] hover:bg-[var(--card-bg)]"
339
+ }`}
340
+ onClick={() => setOpen((current) => !current)}
341
+ >
342
+ <span className="max-w-[132px] truncate">{buttonLabel}</span>
343
+ <ChevronDown size={12} className={`shrink-0 transition-transform ${open ? "rotate-180" : ""}`} />
344
+ </button>
345
+ {open ? (
346
+ <div
347
+ role="listbox"
348
+ aria-label={`${label} options`}
349
+ aria-multiselectable="true"
350
+ className="absolute left-0 top-full z-50 mt-1 min-w-[240px] overflow-hidden rounded-xl border border-[var(--card-border)] bg-[var(--card-bg)] p-1 shadow-lg backdrop-blur-sm"
351
+ >
352
+ <button
353
+ type="button"
354
+ role="option"
355
+ aria-selected={!isActive}
356
+ className={`flex w-full items-center gap-2 rounded-lg px-3 py-2 text-left text-xs transition-colors ${
357
+ !isActive
358
+ ? "bg-[var(--background)] font-medium text-[var(--foreground)]"
359
+ : "text-[var(--muted-foreground)] hover:bg-[var(--background)] hover:text-[var(--foreground)]"
360
+ }`}
361
+ onClick={() => onChange([])}
362
+ >
363
+ <span
364
+ className={`flex h-4 w-4 shrink-0 items-center justify-center rounded-full border ${
365
+ !isActive
366
+ ? "border-blue-500 bg-blue-500 text-white"
367
+ : "border-[var(--card-border)]"
368
+ }`}
369
+ >
370
+ {!isActive ? <Check size={10} /> : null}
371
+ </span>
372
+ <span className="min-w-0 flex-1 truncate">{emptyLabel ?? label}</span>
373
+ </button>
374
+ {selectedOptions.length > 0 ? (
375
+ <div className="px-3 pb-1 pt-2 text-[10px] font-medium uppercase tracking-[0.12em] text-[var(--muted-foreground)]">
376
+ Selected
377
+ </div>
378
+ ) : null}
379
+ {options.filter((option) => option.value).map((option) => {
380
+ const isSelected = values.includes(option.value);
381
+ return (
382
+ <button
383
+ key={`${label}-${option.value}`}
384
+ type="button"
385
+ role="option"
386
+ aria-selected={isSelected}
387
+ className={`flex w-full items-center gap-2 rounded-lg px-3 py-2 text-left text-xs transition-colors ${
388
+ isSelected
389
+ ? "bg-[var(--background)] font-medium text-[var(--foreground)]"
390
+ : "text-[var(--muted-foreground)] hover:bg-[var(--background)] hover:text-[var(--foreground)]"
391
+ }`}
392
+ onClick={() => toggleValue(option.value)}
393
+ >
394
+ <span
395
+ className={`flex h-4 w-4 shrink-0 items-center justify-center rounded border ${
396
+ isSelected
397
+ ? "border-blue-500 bg-blue-500 text-white"
398
+ : "border-[var(--card-border)]"
399
+ }`}
400
+ >
401
+ {isSelected ? <Check size={10} /> : null}
402
+ </span>
403
+ <span className="min-w-0 flex-1 truncate">{option.label}</span>
404
+ </button>
405
+ );
406
+ })}
407
+ </div>
408
+ ) : null}
409
+ </div>
410
+ );
411
+ }
412
+
413
+ interface CycleOption {
414
+ id: string;
415
+ number: number;
416
+ name: string | null;
417
+ startsAt: string;
418
+ endsAt: string;
419
+ }
420
+
421
+ interface LinearEntityOption {
422
+ id: string;
423
+ name: string;
424
+ }
425
+
129
426
  function TicketChatStarter({
130
427
  issue,
131
428
  participants,
@@ -339,6 +636,7 @@ function TicketChatStarter({
339
636
  onSend={handleSend}
340
637
  onStop={() => {}}
341
638
  participants={participants}
639
+ projectSlug={projectSlug ?? undefined}
342
640
  loading={activityStatus !== "ready"}
343
641
  commands={[]}
344
642
  activityStatus={activityStatus}
@@ -559,6 +857,7 @@ function ThreadMessageList({
559
857
  onSend={handleSend}
560
858
  onStop={stop}
561
859
  participants={participants}
860
+ projectSlug={run.projectSlug ?? undefined}
562
861
  loading={activityStatus !== "ready"}
563
862
  commands={[]}
564
863
  activityStatus={activityStatus}
@@ -639,10 +938,10 @@ function TicketRow({
639
938
  {selected && (
640
939
  <div className="absolute left-0 top-0 bottom-0 w-[3px] rounded-r-full bg-blue-500" />
641
940
  )}
642
- <span className="w-14 shrink-0 font-mono text-xs text-[var(--muted-foreground)]">
941
+ <span className="w-24 shrink-0 whitespace-nowrap font-mono text-xs text-[var(--muted-foreground)]">
643
942
  {issue.identifier}
644
943
  </span>
645
- <span className={`flex-1 truncate text-xs ${selected ? "font-medium text-[var(--foreground)]" : "text-[var(--muted-foreground)]"}`}>
944
+ <span className={`min-w-0 flex-1 truncate text-xs ${selected ? "font-medium text-[var(--foreground)]" : "text-[var(--muted-foreground)]"}`}>
646
945
  {issue.title}
647
946
  </span>
648
947
  <span className="shrink-0 text-xs text-[var(--muted-foreground)]">
@@ -698,31 +997,24 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
698
997
  configureMcp,
699
998
  } = useLinearConnection();
700
999
 
701
- interface Cycle {
702
- id: string;
703
- number: number;
704
- name: string | null;
705
- startsAt: string;
706
- endsAt: string;
707
- }
708
-
709
1000
  const [setupDismissed, setSetupDismissed] = useState(false);
710
1001
  const [showSettings, setShowSettings] = useState(initialShowSettings ?? false);
711
1002
  const [ticketPanelWidth, setTicketPanelWidth] = useState(576);
712
1003
  const [runsPanelWidth, setRunsPanelWidth] = useState(224);
713
1004
  const [search, setSearch] = useState("");
714
1005
  const [debouncedSearch, setDebouncedSearch] = useState("");
715
- const [assignedToMe, setAssignedToMe] = useState(false);
716
- const [cycles, setCycles] = useState<Cycle[]>([]);
717
- const [selectedCycleId, setSelectedCycleId] = useState<string | undefined>(undefined);
718
- const [showCyclePicker, setShowCyclePicker] = useState(false);
1006
+ const [assignees, setAssignees] = useState<LinearEntityOption[]>([]);
1007
+ const [workspaces, setWorkspaces] = useState<LinearEntityOption[]>([]);
1008
+ const [selectedAssigneeIds, setSelectedAssigneeIds] = useState<string[]>([]);
1009
+ const [cycles, setCycles] = useState<CycleOption[]>([]);
1010
+ const [selectedCycleId, setSelectedCycleId] = useState("");
1011
+ const [selectedWorkspaceId, setSelectedWorkspaceId] = useState("");
719
1012
  const [selectedIssue, setSelectedIssue] = useState<LinearIssue | null>(null);
720
1013
  const [selectedRunId, setSelectedRunId] = useState<string | null>(null);
721
1014
  const [participants, setParticipants] = useState<Participant[]>([]);
722
1015
  const [pickerIssue, setPickerIssue] = useState<LinearIssue | null>(null);
723
1016
  const [pickerAnchor, setPickerAnchor] = useState<{ top: number; left: number } | null>(null);
724
1017
  const searchDebounceRef = useRef<ReturnType<typeof setTimeout> | null>(null);
725
- const cyclePickerRef = useRef<HTMLDivElement | null>(null);
726
1018
 
727
1019
  const handleSearchChange = useCallback((value: string) => {
728
1020
  setSearch(value);
@@ -740,40 +1032,66 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
740
1032
  };
741
1033
  }, []);
742
1034
 
743
- // Fetch cycles when connected
1035
+ // Fetch filter options when connected
744
1036
  useEffect(() => {
745
1037
  if (!connected) return;
746
1038
  let cancelled = false;
747
- fetch("/api/linear/cycles")
1039
+ fetch("/api/linear/options")
748
1040
  .then((res) => res.json())
749
1041
  .then((data) => {
750
- if (!cancelled && Array.isArray(data.cycles)) {
751
- setCycles(data.cycles);
1042
+ if (cancelled) {
1043
+ return;
752
1044
  }
1045
+ setAssignees(Array.isArray(data.assignees) ? data.assignees : []);
1046
+ setWorkspaces(Array.isArray(data.teams) ? data.teams : []);
1047
+ setCycles(Array.isArray(data.cycles) ? data.cycles : []);
753
1048
  })
754
- .catch(() => {});
755
- return () => { cancelled = true; };
1049
+ .catch(() => {
1050
+ if (!cancelled) {
1051
+ setAssignees([]);
1052
+ setWorkspaces([]);
1053
+ setCycles([]);
1054
+ }
1055
+ });
1056
+ return () => {
1057
+ cancelled = true;
1058
+ };
756
1059
  }, [connected]);
757
1060
 
758
- // Close cycle picker on outside click
759
1061
  useEffect(() => {
760
- if (!showCyclePicker) return;
761
- const handler = (e: MouseEvent) => {
762
- if (cyclePickerRef.current && !cyclePickerRef.current.contains(e.target as Node)) {
763
- setShowCyclePicker(false);
764
- }
765
- };
766
- document.addEventListener("mousedown", handler);
767
- return () => document.removeEventListener("mousedown", handler);
768
- }, [showCyclePicker]);
1062
+ const validAssigneeIds = selectedAssigneeIds.filter((assigneeId) =>
1063
+ assignees.some((assignee) => assignee.id === assigneeId)
1064
+ );
1065
+ if (validAssigneeIds.length !== selectedAssigneeIds.length) {
1066
+ setSelectedAssigneeIds(validAssigneeIds);
1067
+ }
1068
+ }, [assignees, selectedAssigneeIds]);
1069
+
1070
+ useEffect(() => {
1071
+ if (workspaces.length <= 1 && selectedWorkspaceId) {
1072
+ setSelectedWorkspaceId("");
1073
+ return;
1074
+ }
1075
+
1076
+ if (selectedWorkspaceId && !workspaces.some((workspace) => workspace.id === selectedWorkspaceId)) {
1077
+ setSelectedWorkspaceId("");
1078
+ }
1079
+ }, [selectedWorkspaceId, workspaces]);
1080
+
1081
+ useEffect(() => {
1082
+ if (selectedCycleId && !cycles.some((cycle) => cycle.id === selectedCycleId)) {
1083
+ setSelectedCycleId("");
1084
+ }
1085
+ }, [cycles, selectedCycleId]);
769
1086
 
770
1087
  const filters = useMemo(
771
1088
  () => ({
772
1089
  search: debouncedSearch || undefined,
773
- assignedToMe: assignedToMe || undefined,
774
- cycleId: selectedCycleId,
1090
+ assigneeIds: selectedAssigneeIds.length > 0 ? selectedAssigneeIds : undefined,
1091
+ teamId: selectedWorkspaceId || undefined,
1092
+ cycleId: selectedCycleId || undefined,
775
1093
  }),
776
- [debouncedSearch, assignedToMe, selectedCycleId]
1094
+ [debouncedSearch, selectedAssigneeIds, selectedCycleId, selectedWorkspaceId]
777
1095
  );
778
1096
 
779
1097
  const {
@@ -781,7 +1099,8 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
781
1099
  loading: issuesLoading,
782
1100
  hasMore,
783
1101
  loadMore,
784
- } = useLinearIssues(filters, connected);
1102
+ refresh: refreshIssues,
1103
+ } = useLinearIssues(filters, connected, { projectSlug });
785
1104
  const {
786
1105
  runs,
787
1106
  loading: runsLoading,
@@ -790,6 +1109,26 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
790
1109
  } = useLinearRuns(selectedIssue?.id, projectId ?? null);
791
1110
 
792
1111
  const selectedRun = runs.find((run) => run.id === selectedRunId) ?? null;
1112
+ const assigneeOptions = useMemo<FilterOption[]>(
1113
+ () => assignees.map((assignee) => ({ value: assignee.id, label: assignee.name })),
1114
+ [assignees]
1115
+ );
1116
+ const workspaceOptions = useMemo<FilterOption[]>(
1117
+ () => [{ value: "", label: "Workspace" }, ...workspaces.map((workspace) => ({ value: workspace.id, label: workspace.name }))],
1118
+ [workspaces]
1119
+ );
1120
+ const cycleOptions = useMemo<FilterOption[]>(
1121
+ () => [
1122
+ { value: "", label: "Cycle" },
1123
+ ...cycles.map((cycle) => ({
1124
+ value: cycle.id,
1125
+ label: cycle.name || `Cycle ${cycle.number}`,
1126
+ })),
1127
+ ],
1128
+ [cycles]
1129
+ );
1130
+ const showCycleFilter = cycleOptions.length > 1;
1131
+ const showWorkspaceFilter = workspaceOptions.length > 2;
793
1132
 
794
1133
  useEffect(() => {
795
1134
  if (issues.length === 0) {
@@ -1021,6 +1360,16 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
1021
1360
  onChange={(event) => handleSearchChange(event.target.value)}
1022
1361
  />
1023
1362
  </div>
1363
+ <button
1364
+ type="button"
1365
+ className="shrink-0 rounded p-1.5 text-[var(--muted-foreground)] transition-colors hover:bg-[var(--card-bg)] hover:text-[var(--foreground)] disabled:cursor-not-allowed disabled:opacity-50"
1366
+ onClick={() => void refreshIssues()}
1367
+ title="Refresh tickets"
1368
+ aria-label="Refresh tickets"
1369
+ disabled={issuesLoading}
1370
+ >
1371
+ <RefreshCw size={16} className={issuesLoading ? "animate-spin" : undefined} />
1372
+ </button>
1024
1373
  <button
1025
1374
  type="button"
1026
1375
  className="shrink-0 rounded p-1.5 text-[var(--muted-foreground)] transition-colors hover:bg-[var(--card-bg)] hover:text-[var(--foreground)]"
@@ -1031,87 +1380,32 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
1031
1380
  </button>
1032
1381
  </div>
1033
1382
  <div className="flex items-center gap-1.5 px-3 pb-2">
1034
- <button
1035
- type="button"
1036
- className={`rounded-full border px-2.5 py-0.5 text-[11px] font-medium transition-colors ${
1037
- assignedToMe
1038
- ? "border-blue-500/30 bg-blue-500/10 text-blue-400"
1039
- : "border-[var(--card-border)] text-[var(--muted-foreground)] hover:bg-[var(--card-bg)]"
1040
- }`}
1041
- onClick={() => setAssignedToMe((v) => !v)}
1042
- >
1043
- My Issues
1044
- </button>
1045
- <div className="relative" ref={cyclePickerRef}>
1046
- <button
1047
- type="button"
1048
- className={`flex items-center gap-1 rounded-full border px-2.5 py-0.5 text-[11px] font-medium transition-colors ${
1049
- selectedCycleId
1050
- ? "border-purple-500/30 bg-purple-500/10 text-purple-400"
1051
- : "border-[var(--card-border)] text-[var(--muted-foreground)] hover:bg-[var(--card-bg)]"
1052
- }`}
1053
- onClick={() => setShowCyclePicker((v) => !v)}
1054
- >
1055
- <span className="truncate max-w-[120px]">
1056
- {selectedCycleId
1057
- ? (() => {
1058
- const c = cycles.find((cy) => cy.id === selectedCycleId);
1059
- return c ? (c.name || `Cycle ${c.number}`) : "Cycle";
1060
- })()
1061
- : "Cycle"}
1062
- </span>
1063
- <ChevronDown size={12} />
1064
- </button>
1065
- {showCyclePicker && (
1066
- <div className="absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-[var(--card-border)] bg-[var(--card-bg)] py-1 shadow-lg">
1067
- <button
1068
- type="button"
1069
- className={`flex w-full items-center px-3 py-1.5 text-left text-xs transition-colors hover:bg-[var(--background)] ${
1070
- !selectedCycleId ? "font-medium text-[var(--foreground)]" : "text-[var(--muted-foreground)]"
1071
- }`}
1072
- onClick={() => {
1073
- setSelectedCycleId(undefined);
1074
- setShowCyclePicker(false);
1075
- }}
1076
- >
1077
- All cycles
1078
- </button>
1079
- {cycles.map((cycle) => {
1080
- const now = new Date();
1081
- const start = new Date(cycle.startsAt);
1082
- const end = new Date(cycle.endsAt);
1083
- const isCurrent = now >= start && now <= end;
1084
- const label = cycle.name || `Cycle ${cycle.number}`;
1085
- return (
1086
- <button
1087
- key={cycle.id}
1088
- type="button"
1089
- className={`flex w-full items-center justify-between px-3 py-1.5 text-left text-xs transition-colors hover:bg-[var(--background)] ${
1090
- selectedCycleId === cycle.id ? "font-medium text-[var(--foreground)]" : "text-[var(--muted-foreground)]"
1091
- }`}
1092
- onClick={() => {
1093
- setSelectedCycleId(cycle.id);
1094
- setShowCyclePicker(false);
1095
- }}
1096
- >
1097
- <span className="flex items-center gap-1.5">
1098
- {label}
1099
- {isCurrent && (
1100
- <span className="rounded bg-green-500/10 px-1 py-0.5 text-[9px] font-bold uppercase text-green-400">
1101
- current
1102
- </span>
1103
- )}
1104
- </span>
1105
- {selectedCycleId === cycle.id && <Check size={12} />}
1106
- </button>
1107
- );
1108
- })}
1109
- {cycles.length === 0 && (
1110
- <div className="px-3 py-2 text-xs text-[var(--muted-foreground)]">No cycles found</div>
1111
- )}
1112
- </div>
1113
- )}
1114
- </div>
1383
+ <MultiFilterPopdown
1384
+ label="Assignee"
1385
+ values={selectedAssigneeIds}
1386
+ options={assigneeOptions}
1387
+ activeClasses="border-blue-500/30 bg-blue-500/10 text-blue-400"
1388
+ onChange={setSelectedAssigneeIds}
1389
+ emptyLabel="All assignees"
1390
+ />
1391
+ {showWorkspaceFilter ? (
1392
+ <FilterSelect
1393
+ label="Workspace"
1394
+ value={selectedWorkspaceId}
1395
+ options={workspaceOptions}
1396
+ activeClasses="border-emerald-500/30 bg-emerald-500/10 text-emerald-400"
1397
+ onChange={setSelectedWorkspaceId}
1398
+ />
1399
+ ) : null}
1400
+ {showCycleFilter ? (
1401
+ <FilterSelect
1402
+ label="Cycle"
1403
+ value={selectedCycleId}
1404
+ options={cycleOptions}
1405
+ activeClasses="border-purple-500/30 bg-purple-500/10 text-purple-400"
1406
+ onChange={setSelectedCycleId}
1407
+ />
1408
+ ) : null}
1115
1409
  </div>
1116
1410
  </div>
1117
1411
 
@@ -1543,6 +1543,7 @@ export function ChatContainer({
1543
1543
  participants={activeParticipants}
1544
1544
  projectGroups={threadProjects}
1545
1545
  projects={projectMentions}
1546
+ projectSlug={effectiveProjectSlug}
1546
1547
  messages={messages}
1547
1548
  commands={slashCommands}
1548
1549
  placeholder="Reply — @name to mention, /search, /summarize"
@@ -1554,7 +1555,7 @@ export function ChatContainer({
1554
1555
  />
1555
1556
  );
1556
1557
  },
1557
- [handleThreadReply, handleStopThread, streaming, activeParticipants, threadProjects, projectMentions, slashCommands, messages, autoMode, handleAutoModeChange, activeProcesses, activeChatRuns, activeProjectRepos, selectedRepoIds, handleRepoSelectionChange]
1558
+ [handleThreadReply, handleStopThread, streaming, activeParticipants, threadProjects, projectMentions, effectiveProjectSlug, slashCommands, messages, autoMode, handleAutoModeChange, activeProcesses, activeChatRuns, activeProjectRepos, selectedRepoIds, handleRepoSelectionChange]
1558
1559
  );
1559
1560
 
1560
1561
  const toggleWorkspaceSidebar = useCallback(() => {
@@ -1950,6 +1951,7 @@ export function ChatContainer({
1950
1951
  participants={activeParticipants}
1951
1952
  projects={projectMentions}
1952
1953
  projectGroups={threadProjects}
1954
+ projectSlug={effectiveProjectSlug}
1953
1955
  messages={messages}
1954
1956
  commands={slashCommands}
1955
1957
  pendingThreadInsert={pendingThreadInsert}