@mndrk/agx 2.0.45 → 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 (210) hide show
  1. package/cloud-runtime/standalone/.next/BUILD_ID +1 -1
  2. package/cloud-runtime/standalone/.next/build-manifest.json +2 -2
  3. package/cloud-runtime/standalone/.next/prerender-manifest.json +3 -3
  4. package/cloud-runtime/standalone/.next/server/app/_global-error.html +2 -2
  5. package/cloud-runtime/standalone/.next/server/app/_global-error.rsc +1 -1
  6. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  9. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  10. package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/cloud-runtime/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  12. package/cloud-runtime/standalone/.next/server/app/_not-found.html +2 -2
  13. package/cloud-runtime/standalone/.next/server/app/_not-found.rsc +2 -2
  14. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  15. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  16. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  17. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  18. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  19. package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  20. package/cloud-runtime/standalone/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
  21. package/cloud-runtime/standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
  22. package/cloud-runtime/standalone/.next/server/app/agents.html +2 -2
  23. package/cloud-runtime/standalone/.next/server/app/agents.rsc +2 -2
  24. package/cloud-runtime/standalone/.next/server/app/agents.segments/_full.segment.rsc +2 -2
  25. package/cloud-runtime/standalone/.next/server/app/agents.segments/_head.segment.rsc +1 -1
  26. package/cloud-runtime/standalone/.next/server/app/agents.segments/_index.segment.rsc +2 -2
  27. package/cloud-runtime/standalone/.next/server/app/agents.segments/_tree.segment.rsc +2 -2
  28. package/cloud-runtime/standalone/.next/server/app/agents.segments/agents/__PAGE__.segment.rsc +1 -1
  29. package/cloud-runtime/standalone/.next/server/app/agents.segments/agents.segment.rsc +1 -1
  30. package/cloud-runtime/standalone/.next/server/app/automations/page_client-reference-manifest.js +1 -1
  31. package/cloud-runtime/standalone/.next/server/app/automations.html +2 -2
  32. package/cloud-runtime/standalone/.next/server/app/automations.rsc +2 -2
  33. package/cloud-runtime/standalone/.next/server/app/automations.segments/_full.segment.rsc +2 -2
  34. package/cloud-runtime/standalone/.next/server/app/automations.segments/_head.segment.rsc +1 -1
  35. package/cloud-runtime/standalone/.next/server/app/automations.segments/_index.segment.rsc +2 -2
  36. package/cloud-runtime/standalone/.next/server/app/automations.segments/_tree.segment.rsc +2 -2
  37. package/cloud-runtime/standalone/.next/server/app/automations.segments/automations/__PAGE__.segment.rsc +1 -1
  38. package/cloud-runtime/standalone/.next/server/app/automations.segments/automations.segment.rsc +1 -1
  39. package/cloud-runtime/standalone/.next/server/app/board/page_client-reference-manifest.js +1 -1
  40. package/cloud-runtime/standalone/.next/server/app/board.html +2 -2
  41. package/cloud-runtime/standalone/.next/server/app/board.rsc +2 -2
  42. package/cloud-runtime/standalone/.next/server/app/board.segments/_full.segment.rsc +2 -2
  43. package/cloud-runtime/standalone/.next/server/app/board.segments/_head.segment.rsc +1 -1
  44. package/cloud-runtime/standalone/.next/server/app/board.segments/_index.segment.rsc +2 -2
  45. package/cloud-runtime/standalone/.next/server/app/board.segments/_tree.segment.rsc +2 -2
  46. package/cloud-runtime/standalone/.next/server/app/board.segments/board/__PAGE__.segment.rsc +1 -1
  47. package/cloud-runtime/standalone/.next/server/app/board.segments/board.segment.rsc +1 -1
  48. package/cloud-runtime/standalone/.next/server/app/execution-graph/page_client-reference-manifest.js +1 -1
  49. package/cloud-runtime/standalone/.next/server/app/execution-graph.html +2 -2
  50. package/cloud-runtime/standalone/.next/server/app/execution-graph.rsc +2 -2
  51. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_full.segment.rsc +2 -2
  52. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_head.segment.rsc +1 -1
  53. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_index.segment.rsc +2 -2
  54. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_tree.segment.rsc +2 -2
  55. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph/__PAGE__.segment.rsc +1 -1
  56. package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph.segment.rsc +1 -1
  57. package/cloud-runtime/standalone/.next/server/app/index.html +2 -2
  58. package/cloud-runtime/standalone/.next/server/app/index.rsc +2 -2
  59. package/cloud-runtime/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  60. package/cloud-runtime/standalone/.next/server/app/index.segments/_full.segment.rsc +2 -2
  61. package/cloud-runtime/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
  62. package/cloud-runtime/standalone/.next/server/app/index.segments/_index.segment.rsc +2 -2
  63. package/cloud-runtime/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  64. package/cloud-runtime/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  65. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page_client-reference-manifest.js +1 -1
  66. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page_client-reference-manifest.js +1 -1
  67. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/knowledge/page_client-reference-manifest.js +1 -1
  68. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page_client-reference-manifest.js +1 -1
  69. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
  70. package/cloud-runtime/standalone/.next/server/app/projects/[slug]/thread/[threadId]/page_client-reference-manifest.js +1 -1
  71. package/cloud-runtime/standalone/.next/server/app/projects/orphans/page_client-reference-manifest.js +1 -1
  72. package/cloud-runtime/standalone/.next/server/app/projects/orphans.html +2 -2
  73. package/cloud-runtime/standalone/.next/server/app/projects/orphans.rsc +2 -2
  74. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_full.segment.rsc +2 -2
  75. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_head.segment.rsc +1 -1
  76. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_index.segment.rsc +2 -2
  77. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_tree.segment.rsc +2 -2
  78. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans/__PAGE__.segment.rsc +1 -1
  79. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans.segment.rsc +1 -1
  80. package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects.segment.rsc +1 -1
  81. package/cloud-runtime/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
  82. package/cloud-runtime/standalone/.next/server/app/projects.html +2 -2
  83. package/cloud-runtime/standalone/.next/server/app/projects.rsc +2 -2
  84. package/cloud-runtime/standalone/.next/server/app/projects.segments/_full.segment.rsc +2 -2
  85. package/cloud-runtime/standalone/.next/server/app/projects.segments/_head.segment.rsc +1 -1
  86. package/cloud-runtime/standalone/.next/server/app/projects.segments/_index.segment.rsc +2 -2
  87. package/cloud-runtime/standalone/.next/server/app/projects.segments/_tree.segment.rsc +2 -2
  88. package/cloud-runtime/standalone/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +1 -1
  89. package/cloud-runtime/standalone/.next/server/app/projects.segments/projects.segment.rsc +1 -1
  90. package/cloud-runtime/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  91. package/cloud-runtime/standalone/.next/server/app/settings.html +2 -2
  92. package/cloud-runtime/standalone/.next/server/app/settings.rsc +2 -2
  93. package/cloud-runtime/standalone/.next/server/app/settings.segments/_full.segment.rsc +2 -2
  94. package/cloud-runtime/standalone/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  95. package/cloud-runtime/standalone/.next/server/app/settings.segments/_index.segment.rsc +2 -2
  96. package/cloud-runtime/standalone/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  97. package/cloud-runtime/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
  98. package/cloud-runtime/standalone/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  99. package/cloud-runtime/standalone/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  100. package/cloud-runtime/standalone/.next/server/app/skills.html +2 -2
  101. package/cloud-runtime/standalone/.next/server/app/skills.rsc +2 -2
  102. package/cloud-runtime/standalone/.next/server/app/skills.segments/_full.segment.rsc +2 -2
  103. package/cloud-runtime/standalone/.next/server/app/skills.segments/_head.segment.rsc +1 -1
  104. package/cloud-runtime/standalone/.next/server/app/skills.segments/_index.segment.rsc +2 -2
  105. package/cloud-runtime/standalone/.next/server/app/skills.segments/_tree.segment.rsc +2 -2
  106. package/cloud-runtime/standalone/.next/server/app/skills.segments/skills/__PAGE__.segment.rsc +1 -1
  107. package/cloud-runtime/standalone/.next/server/app/skills.segments/skills.segment.rsc +1 -1
  108. package/cloud-runtime/standalone/.next/server/app/status/page_client-reference-manifest.js +1 -1
  109. package/cloud-runtime/standalone/.next/server/app/status.html +2 -2
  110. package/cloud-runtime/standalone/.next/server/app/status.rsc +2 -2
  111. package/cloud-runtime/standalone/.next/server/app/status.segments/_full.segment.rsc +2 -2
  112. package/cloud-runtime/standalone/.next/server/app/status.segments/_head.segment.rsc +1 -1
  113. package/cloud-runtime/standalone/.next/server/app/status.segments/_index.segment.rsc +2 -2
  114. package/cloud-runtime/standalone/.next/server/app/status.segments/_tree.segment.rsc +2 -2
  115. package/cloud-runtime/standalone/.next/server/app/status.segments/status/__PAGE__.segment.rsc +1 -1
  116. package/cloud-runtime/standalone/.next/server/app/status.segments/status.segment.rsc +1 -1
  117. package/cloud-runtime/standalone/.next/server/app/thread/[id]/page_client-reference-manifest.js +1 -1
  118. package/cloud-runtime/standalone/.next/server/app/welcome/page_client-reference-manifest.js +1 -1
  119. package/cloud-runtime/standalone/.next/server/app/welcome.html +2 -2
  120. package/cloud-runtime/standalone/.next/server/app/welcome.rsc +2 -2
  121. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_full.segment.rsc +2 -2
  122. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_head.segment.rsc +1 -1
  123. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_index.segment.rsc +2 -2
  124. package/cloud-runtime/standalone/.next/server/app/welcome.segments/_tree.segment.rsc +2 -2
  125. package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome/__PAGE__.segment.rsc +1 -1
  126. package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome.segment.rsc +1 -1
  127. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3b83b657._.js +2 -2
  128. package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__748c718f._.js +1 -1
  129. package/cloud-runtime/standalone/.next/server/chunks/ssr/app_projects_[slug]_linear_page_tsx_971a6ba7._.js +2 -2
  130. package/cloud-runtime/standalone/.next/server/middleware-manifest.json +5 -5
  131. package/cloud-runtime/standalone/.next/server/pages/404.html +2 -2
  132. package/cloud-runtime/standalone/.next/server/pages/500.html +2 -2
  133. package/cloud-runtime/standalone/.next/server/server-reference-manifest.js +1 -1
  134. package/cloud-runtime/standalone/.next/server/server-reference-manifest.json +1 -1
  135. package/cloud-runtime/standalone/.next/static/chunks/37f07896b044d69f.css +1 -0
  136. package/cloud-runtime/standalone/.next/static/chunks/{00716478a3ee55a2.js → cca7c8e4ade050f0.js} +2 -2
  137. package/cloud-runtime/standalone/app/api/linear/issues/route.ts +9 -2
  138. package/cloud-runtime/standalone/components/LinearBoard.tsx +256 -10
  139. package/cloud-runtime/standalone/hooks/useLinearIssues.ts +7 -3
  140. package/cloud-runtime/standalone/lib/linear-issue-store.ts +11 -5
  141. package/cloud-runtime/standalone/state/automations/.state/24a6a5db-3b14-49c4-841f-29f10f015fbb.json +3 -3
  142. package/package.json +1 -1
  143. package/cloud-runtime/standalone/.linear-token.json +0 -4
  144. package/cloud-runtime/standalone/.next/static/chunks/3091043e8c282dce.css +0 -1
  145. package/cloud-runtime/standalone/coverage/clover.xml +0 -1208
  146. package/cloud-runtime/standalone/coverage/coverage-final.json +0 -29
  147. package/cloud-runtime/standalone/coverage/lcov-report/app/api/audit/index.html +0 -116
  148. package/cloud-runtime/standalone/coverage/lcov-report/app/api/audit/route.ts.html +0 -208
  149. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/[...nextauth]/index.html +0 -116
  150. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/[...nextauth]/route.ts.html +0 -166
  151. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/daemon-secret/index.html +0 -116
  152. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/daemon-secret/route.ts.html +0 -532
  153. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/status/index.html +0 -116
  154. package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/status/route.ts.html +0 -178
  155. package/cloud-runtime/standalone/coverage/lcov-report/app/api/learnings/index.html +0 -116
  156. package/cloud-runtime/standalone/coverage/lcov-report/app/api/learnings/route.ts.html +0 -262
  157. package/cloud-runtime/standalone/coverage/lcov-report/app/api/logs/stream/index.html +0 -116
  158. package/cloud-runtime/standalone/coverage/lcov-report/app/api/logs/stream/route.ts.html +0 -448
  159. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/complete/index.html +0 -116
  160. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/complete/route.ts.html +0 -331
  161. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/index.html +0 -116
  162. package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/route.ts.html +0 -505
  163. package/cloud-runtime/standalone/coverage/lcov-report/app/api/stage-prompts/index.html +0 -116
  164. package/cloud-runtime/standalone/coverage/lcov-report/app/api/stage-prompts/route.ts.html +0 -412
  165. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/advance/index.html +0 -116
  166. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/advance/route.ts.html +0 -304
  167. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/index.html +0 -116
  168. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/logs/index.html +0 -116
  169. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/logs/route.ts.html +0 -202
  170. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/route.ts.html +0 -373
  171. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/index.html +0 -116
  172. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/route.ts.html +0 -499
  173. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/stream/index.html +0 -116
  174. package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/stream/route.ts.html +0 -349
  175. package/cloud-runtime/standalone/coverage/lcov-report/base.css +0 -224
  176. package/cloud-runtime/standalone/coverage/lcov-report/block-navigation.js +0 -87
  177. package/cloud-runtime/standalone/coverage/lcov-report/components/AuthProvider.tsx.html +0 -259
  178. package/cloud-runtime/standalone/coverage/lcov-report/components/ChatInterface.tsx.html +0 -1228
  179. package/cloud-runtime/standalone/coverage/lcov-report/components/KanbanBoard.tsx.html +0 -1024
  180. package/cloud-runtime/standalone/coverage/lcov-report/components/Layout.tsx.html +0 -211
  181. package/cloud-runtime/standalone/coverage/lcov-report/components/LearningsPanel.tsx.html +0 -535
  182. package/cloud-runtime/standalone/coverage/lcov-report/components/LogTimeline.tsx.html +0 -415
  183. package/cloud-runtime/standalone/coverage/lcov-report/components/SortableTaskCard.tsx.html +0 -358
  184. package/cloud-runtime/standalone/coverage/lcov-report/components/StagePills.tsx.html +0 -439
  185. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskCard.tsx.html +0 -514
  186. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskCardOverlay.tsx.html +0 -256
  187. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskDetail.tsx.html +0 -622
  188. package/cloud-runtime/standalone/coverage/lcov-report/components/TaskList.tsx.html +0 -253
  189. package/cloud-runtime/standalone/coverage/lcov-report/components/index.html +0 -281
  190. package/cloud-runtime/standalone/coverage/lcov-report/favicon.png +0 -0
  191. package/cloud-runtime/standalone/coverage/lcov-report/hooks/index.html +0 -116
  192. package/cloud-runtime/standalone/coverage/lcov-report/hooks/useTasks.ts.html +0 -1042
  193. package/cloud-runtime/standalone/coverage/lcov-report/index.html +0 -341
  194. package/cloud-runtime/standalone/coverage/lcov-report/lib/auth-client.ts.html +0 -202
  195. package/cloud-runtime/standalone/coverage/lcov-report/lib/auth-server.ts.html +0 -172
  196. package/cloud-runtime/standalone/coverage/lcov-report/lib/auth.ts.html +0 -265
  197. package/cloud-runtime/standalone/coverage/lcov-report/lib/db.ts.html +0 -1252
  198. package/cloud-runtime/standalone/coverage/lcov-report/lib/index.html +0 -131
  199. package/cloud-runtime/standalone/coverage/lcov-report/lib/orchestrator.ts.html +0 -409
  200. package/cloud-runtime/standalone/coverage/lcov-report/lib/security.ts.html +0 -1165
  201. package/cloud-runtime/standalone/coverage/lcov-report/lib/supabase-server.ts.html +0 -175
  202. package/cloud-runtime/standalone/coverage/lcov-report/lib/supabase.ts.html +0 -157
  203. package/cloud-runtime/standalone/coverage/lcov-report/prettify.css +0 -1
  204. package/cloud-runtime/standalone/coverage/lcov-report/prettify.js +0 -2
  205. package/cloud-runtime/standalone/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  206. package/cloud-runtime/standalone/coverage/lcov-report/sorter.js +0 -210
  207. package/cloud-runtime/standalone/coverage/lcov.info +0 -2386
  208. /package/cloud-runtime/standalone/.next/static/{Y8QdDdLJI3yzNjkyPjuJ- → 1Q0q2lXllTpqCvmNQYtpD}/_buildManifest.js +0 -0
  209. /package/cloud-runtime/standalone/.next/static/{Y8QdDdLJI3yzNjkyPjuJ- → 1Q0q2lXllTpqCvmNQYtpD}/_clientMiddlewareManifest.json +0 -0
  210. /package/cloud-runtime/standalone/.next/static/{Y8QdDdLJI3yzNjkyPjuJ- → 1Q0q2lXllTpqCvmNQYtpD}/_ssgManifest.js +0 -0
@@ -139,6 +139,19 @@ interface FilterSelectProps {
139
139
  onChange: (value: string) => void;
140
140
  }
141
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
+
142
155
  function FilterSelect({ label, value, options, activeClasses, onChange }: FilterSelectProps) {
143
156
  const isActive = value.trim().length > 0;
144
157
 
@@ -168,6 +181,235 @@ function FilterSelect({ label, value, options, activeClasses, onChange }: Filter
168
181
  );
169
182
  }
170
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
+
171
413
  interface CycleOption {
172
414
  id: string;
173
415
  number: number;
@@ -763,7 +1005,7 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
763
1005
  const [debouncedSearch, setDebouncedSearch] = useState("");
764
1006
  const [assignees, setAssignees] = useState<LinearEntityOption[]>([]);
765
1007
  const [workspaces, setWorkspaces] = useState<LinearEntityOption[]>([]);
766
- const [selectedAssigneeId, setSelectedAssigneeId] = useState("");
1008
+ const [selectedAssigneeIds, setSelectedAssigneeIds] = useState<string[]>([]);
767
1009
  const [cycles, setCycles] = useState<CycleOption[]>([]);
768
1010
  const [selectedCycleId, setSelectedCycleId] = useState("");
769
1011
  const [selectedWorkspaceId, setSelectedWorkspaceId] = useState("");
@@ -817,10 +1059,13 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
817
1059
  }, [connected]);
818
1060
 
819
1061
  useEffect(() => {
820
- if (selectedAssigneeId && !assignees.some((assignee) => assignee.id === selectedAssigneeId)) {
821
- setSelectedAssigneeId("");
1062
+ const validAssigneeIds = selectedAssigneeIds.filter((assigneeId) =>
1063
+ assignees.some((assignee) => assignee.id === assigneeId)
1064
+ );
1065
+ if (validAssigneeIds.length !== selectedAssigneeIds.length) {
1066
+ setSelectedAssigneeIds(validAssigneeIds);
822
1067
  }
823
- }, [assignees, selectedAssigneeId]);
1068
+ }, [assignees, selectedAssigneeIds]);
824
1069
 
825
1070
  useEffect(() => {
826
1071
  if (workspaces.length <= 1 && selectedWorkspaceId) {
@@ -842,11 +1087,11 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
842
1087
  const filters = useMemo(
843
1088
  () => ({
844
1089
  search: debouncedSearch || undefined,
845
- assigneeId: selectedAssigneeId || undefined,
1090
+ assigneeIds: selectedAssigneeIds.length > 0 ? selectedAssigneeIds : undefined,
846
1091
  teamId: selectedWorkspaceId || undefined,
847
1092
  cycleId: selectedCycleId || undefined,
848
1093
  }),
849
- [debouncedSearch, selectedAssigneeId, selectedCycleId, selectedWorkspaceId]
1094
+ [debouncedSearch, selectedAssigneeIds, selectedCycleId, selectedWorkspaceId]
850
1095
  );
851
1096
 
852
1097
  const {
@@ -865,7 +1110,7 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
865
1110
 
866
1111
  const selectedRun = runs.find((run) => run.id === selectedRunId) ?? null;
867
1112
  const assigneeOptions = useMemo<FilterOption[]>(
868
- () => [{ value: "", label: "Assignee" }, ...assignees.map((assignee) => ({ value: assignee.id, label: assignee.name }))],
1113
+ () => assignees.map((assignee) => ({ value: assignee.id, label: assignee.name })),
869
1114
  [assignees]
870
1115
  );
871
1116
  const workspaceOptions = useMemo<FilterOption[]>(
@@ -1135,12 +1380,13 @@ export default function LinearBoard({ projectId, projectSlug, initialShowSetting
1135
1380
  </button>
1136
1381
  </div>
1137
1382
  <div className="flex items-center gap-1.5 px-3 pb-2">
1138
- <FilterSelect
1383
+ <MultiFilterPopdown
1139
1384
  label="Assignee"
1140
- value={selectedAssigneeId}
1385
+ values={selectedAssigneeIds}
1141
1386
  options={assigneeOptions}
1142
1387
  activeClasses="border-blue-500/30 bg-blue-500/10 text-blue-400"
1143
- onChange={setSelectedAssigneeId}
1388
+ onChange={setSelectedAssigneeIds}
1389
+ emptyLabel="All assignees"
1144
1390
  />
1145
1391
  {showWorkspaceFilter ? (
1146
1392
  <FilterSelect
@@ -14,7 +14,7 @@ interface Filters {
14
14
  teamId?: string;
15
15
  status?: string;
16
16
  search?: string;
17
- assigneeId?: string;
17
+ assigneeIds?: string[];
18
18
  assignedToMe?: boolean;
19
19
  cycleId?: string;
20
20
  }
@@ -58,7 +58,11 @@ export function useLinearIssues(
58
58
  if (filters.teamId) params.set("teamId", filters.teamId);
59
59
  if (filters.status) params.set("status", filters.status);
60
60
  if (filters.search) params.set("search", filters.search);
61
- if (filters.assigneeId) params.set("assigneeId", filters.assigneeId);
61
+ if (filters.assigneeIds?.length) {
62
+ for (const assigneeId of filters.assigneeIds) {
63
+ params.append("assigneeId", assigneeId);
64
+ }
65
+ }
62
66
  else if (filters.assignedToMe) params.set("assignedToMe", "true");
63
67
  if (filters.cycleId) params.set("cycleId", filters.cycleId);
64
68
  if (append && cursorRef.current) params.set("cursor", cursorRef.current);
@@ -80,7 +84,7 @@ export function useLinearIssues(
80
84
  setLoading(false);
81
85
  }
82
86
  },
83
- [filters.teamId, filters.status, filters.search, filters.assigneeId, filters.assignedToMe, filters.cycleId, enabled, options.projectSlug, options.limit],
87
+ [filters.teamId, filters.status, filters.search, filters.assigneeIds, filters.assignedToMe, filters.cycleId, enabled, options.projectSlug, options.limit],
84
88
  );
85
89
 
86
90
  useEffect(() => {
@@ -88,7 +88,7 @@ export interface LinearIssueSyncState {
88
88
  export interface ListCachedLinearIssuesInput {
89
89
  search?: string;
90
90
  status?: string;
91
- assigneeId?: string;
91
+ assigneeIds?: string[];
92
92
  assignedToMe?: boolean;
93
93
  teamId?: string;
94
94
  cycleId?: string;
@@ -349,10 +349,16 @@ export async function listCachedLinearIssues(
349
349
  params.push(status.toLowerCase());
350
350
  }
351
351
 
352
- const assigneeId = toOptionalString(input.assigneeId ?? null);
353
- if (assigneeId) {
354
- clauses.push("assignee_id = ?");
355
- params.push(assigneeId);
352
+ const assigneeIds = Array.from(
353
+ new Set(
354
+ (input.assigneeIds ?? [])
355
+ .map((assigneeId) => toOptionalString(assigneeId))
356
+ .filter((assigneeId): assigneeId is string => Boolean(assigneeId))
357
+ )
358
+ );
359
+ if (assigneeIds.length > 0) {
360
+ clauses.push(`assignee_id IN (${assigneeIds.map(() => "?").join(", ")})`);
361
+ params.push(...assigneeIds);
356
362
  }
357
363
 
358
364
  if (input.assignedToMe) {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "scheduleHash": "c2ceb4716d31708534c3ced330caffb304cc5e0713572bfdb0893feffd9ddb61",
3
- "nextRunAt": 1775620397853,
4
- "lastRunAt": 1775616817898,
3
+ "nextRunAt": 1775623999537,
4
+ "lastRunAt": 1775620424848,
5
5
  "lastOutcome": "success",
6
6
  "lastError": null,
7
- "updatedAt": "2026-04-08T02:53:37.898Z"
7
+ "updatedAt": "2026-04-08T03:53:44.849Z"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mndrk/agx",
3
- "version": "2.0.45",
3
+ "version": "2.0.46",
4
4
  "description": "Autonomous AI Agent Orchestrator for Claude, Gemini, and Ollama",
5
5
  "engines": {
6
6
  "node": ">=22.16.0"
@@ -1,4 +0,0 @@
1
- {
2
- "accessToken": "lin_oauth_57e29621e622de9a7e82341db1318204ad38b149f7502a3f20d972b9bb709db7",
3
- "expiresAt": 1775703197030
4
- }