@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.
- package/cloud-runtime/standalone/.next/BUILD_ID +1 -1
- package/cloud-runtime/standalone/.next/app-path-routes-manifest.json +2 -0
- package/cloud-runtime/standalone/.next/build-manifest.json +2 -2
- package/cloud-runtime/standalone/.next/prerender-manifest.json +3 -3
- package/cloud-runtime/standalone/.next/routes-manifest.json +13 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/_global-error.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/_not-found.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/_not-found.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/agents/[id]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/agents/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/agents.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/agents.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_full.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/agents.segments/agents/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/agents.segments/agents.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/agent-specs/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/agent-specs/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/agents/[id]/profile/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/agents/[id]/profile/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/agents/export/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/agents/export/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/automations/create/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/automations/create/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/automations/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/automations/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/chat/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/chat/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/file-search/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/health/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/health/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/learnings/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/learnings/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/linear/callback/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/linear/callback/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route.js +10 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/context/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route.js +5 -2
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/linear/options/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/options/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/options/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/options/route.js +7 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/options/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/options/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/options/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/status/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/start/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/start/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/status/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/status/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/participants/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/participants/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/agents/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/agents/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v1/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v1/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v2/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/migrate-v2/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/skills/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/skills/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/threads/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/threads/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/variables/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/variables/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/cancel/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/cancel/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/runs/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/[id]/runs/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/agents/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/agents/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/poll/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/poll/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/prompt-jobs/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/providers/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/queue/complete/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/queue/complete/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/queue/route.js +4 -4
- package/cloud-runtime/standalone/.next/server/app/api/queue/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/schedules/debug/route.js +4 -4
- package/cloud-runtime/standalone/.next/server/app/api/schedules/debug/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/schedules/poll/route.js +4 -4
- package/cloud-runtime/standalone/.next/server/app/api/schedules/poll/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/schedules/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/schedules/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/status/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/status/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/summarize/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/summarize/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/[commentId]/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/[commentId]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/costs/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/costs/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/dependencies/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/dependencies/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/events/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/events/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/history/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/history/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/metrics/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/metrics/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/replan/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/replan/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/restart/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/restart/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/resume/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/resume/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/rollback/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/rollback/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/schedule/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/schedule/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/start/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/start/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/stop/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/stop/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/history/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/history/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/logs/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/logs/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/comments/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/comments/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/complete/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/complete/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/fail/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/fail/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/resume/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/resume/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/start/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/start/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/stop/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/stop/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/verify/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/verify/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/assign-orphans/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/assign-orphans/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/extract/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/extract/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/threads/knowledge/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/threads/knowledge/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/threads/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/threads/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/user-settings/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/user-settings/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/automations/page/react-loadable-manifest.json +2 -2
- package/cloud-runtime/standalone/.next/server/app/automations/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/automations/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/automations.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/automations.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_full.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/automations.segments/automations/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/automations.segments/automations.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/board/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/board.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/board.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/board.segments/_full.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/board.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/board.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/board.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/board.segments/board/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/board.segments/board.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/execution-graph/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/execution-graph.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/execution-graph.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_full.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/index.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/index.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/index.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/index.segments/_tree.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page/react-loadable-manifest.json +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/knowledge/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page/react-loadable-manifest.json +3 -3
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/thread/[threadId]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/thread/[threadId]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/orphans/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_full.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_full.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/projects.segments/projects.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/settings.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/settings.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_full.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/settings.segments/settings.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/skills.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/skills.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/skills.segments/_full.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/skills.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/skills.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/skills.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/skills.segments/skills/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/skills.segments/skills.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/status/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/status.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/status.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/status.segments/_full.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/status.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/status.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/status.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/status.segments/status/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/status.segments/status.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/thread/[id]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/thread/[id]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/welcome/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/welcome.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/welcome.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_full.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_index.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome.segment.rsc +1 -1
- package/cloud-runtime/standalone/.next/server/app-paths-manifest.json +2 -0
- package/cloud-runtime/standalone/.next/server/chunks/{[externals]__29a2424c._.js → [externals]__31e26905._.js} +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__fb1f7e58._.js → [root-of-the-server]__00fd30c8._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__e4f01b5c._.js → [root-of-the-server]__0e98af48._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1154e5b3._.js +67 -0
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__44ef900b._.js → [root-of-the-server]__11c1214e._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__5e5eb809._.js → [root-of-the-server]__152b2000._.js} +10 -10
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__f21849ad._.js → [root-of-the-server]__15f3bb96._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__7cade6c6._.js → [root-of-the-server]__1f53e82e._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__c77efd85._.js → [root-of-the-server]__20533a2c._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__e0994be2._.js → [root-of-the-server]__3b1431b6._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3b83b657._.js +147 -0
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__d3945cae._.js → [root-of-the-server]__3bf516b6._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__2d15af44._.js → [root-of-the-server]__3fd3c5b1._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__13fe776f._.js → [root-of-the-server]__42e713f5._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__1be9b30e._.js → [root-of-the-server]__4b0b5fe1._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__558389f7._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__5a042505._.js → [root-of-the-server]__5aaf8c25._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__22b7bf38._.js → [root-of-the-server]__5b13e7a5._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__34efe92e._.js → [root-of-the-server]__635fe0f9._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__c9550a93._.js → [root-of-the-server]__68da2825._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__e5bad635._.js → [root-of-the-server]__6921fe3f._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__dc542063._.js → [root-of-the-server]__6988985c._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__c5025f86._.js → [root-of-the-server]__7012e83d._.js} +7 -7
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__9d3a2caa._.js → [root-of-the-server]__70327010._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__748c718f._.js +147 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__76290829._.js +46 -8
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__c0919d7d._.js → [root-of-the-server]__79fa35e4._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__ac9b93fd._.js → [root-of-the-server]__8d205f82._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__0281ad06._.js → [root-of-the-server]__9ffa67b7._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__dd1cb250._.js → [root-of-the-server]__a300f072._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__5fbc700c._.js → [root-of-the-server]__a7e0ac67._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__91b51f33._.js → [root-of-the-server]__aad349b4._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ad6d6402._.js +46 -8
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__349d67e7._.js → [root-of-the-server]__b133856b._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__45a50de9._.js → [root-of-the-server]__c029daab._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__a1e62918._.js → [root-of-the-server]__c8195768._.js} +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ce2a1672._.js +67 -0
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__a2e17f69._.js → [root-of-the-server]__d4f42f49._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__d9f2041b._.js +47 -9
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__ad4cb055._.js → [root-of-the-server]__dca6026a._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__bacb0193._.js → [root-of-the-server]__ddb3aa76._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__de295ef3._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__7d4fa0fd._.js → [root-of-the-server]__e7be56ba._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__73b17f49._.js → [root-of-the-server]__ebece93b._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ef27f8cd._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__56dbe1a4._.js → [root-of-the-server]__f13c29c6._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/{[root-of-the-server]__98d58423._.js → [root-of-the-server]__fcdaf6d8._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/_6e7f0ae4._.js +6 -0
- package/cloud-runtime/standalone/.next/server/chunks/_a93e80e8._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_issues_context_route_actions_0b2c282c.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_options_route_actions_29764947.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/lib_app-config_ts_7f2f30ad._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__1c4256ce._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__4c9d0778._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__69887882._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__f59f0dc7._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/{_95434d70._.js → _1d26be78._.js} +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_32c878b9._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_60d0bae4._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_77e1407a._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_7f7a828a._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_ba5903a7._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_ed4fece9._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_f51a3112._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_projects_[slug]_linear_page_tsx_971a6ba7._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/components_chat-ui_bfeda794._.js +7 -3
- package/cloud-runtime/standalone/.next/server/functions-config-manifest.json +2 -0
- package/cloud-runtime/standalone/.next/server/instrumentation.js +1 -1
- package/cloud-runtime/standalone/.next/server/middleware-manifest.json +5 -5
- package/cloud-runtime/standalone/.next/server/pages/404.html +2 -2
- package/cloud-runtime/standalone/.next/server/pages/500.html +2 -2
- package/cloud-runtime/standalone/.next/server/server-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/server-reference-manifest.json +1 -1
- package/cloud-runtime/standalone/.next/static/chunks/02add5a8d35c53fe.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/2362d5c0dcaa5d64.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/2730394502dd3664.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/37f07896b044d69f.css +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/3dc50de1c86e1ce9.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/4ea8f08087116055.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/5607ad702ebb8a4b.js +9 -0
- package/cloud-runtime/standalone/.next/static/chunks/6103b9b5538bba4d.css +2 -0
- package/cloud-runtime/standalone/.next/static/chunks/98c20da4973991f0.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/a9da98f883ac833b.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/{da12f313213a5615.js → b2127dc67c5ade9f.js} +1 -1
- package/cloud-runtime/standalone/.next/static/chunks/{76229fb555232113.js → b3377e39d47c71cf.js} +1 -1
- package/cloud-runtime/standalone/.next/static/chunks/bf2a2fafb710e63c.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/c0d17e0c37ba8e7a.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/cca7c8e4ade050f0.js +37 -0
- package/cloud-runtime/standalone/.next/static/chunks/db131a0b6350e416.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/e51fddf53a6dc1e4.js +9 -0
- package/cloud-runtime/standalone/.next/static/chunks/{66769c2bf128027d.js → f4360c3e4089263f.js} +1 -1
- package/cloud-runtime/standalone/Dockerfile +5 -5
- package/cloud-runtime/standalone/app/api/linear/callback/route.ts +2 -1
- package/cloud-runtime/standalone/app/api/linear/issues/context/route.ts +26 -0
- package/cloud-runtime/standalone/app/api/linear/issues/route.ts +44 -42
- package/cloud-runtime/standalone/app/api/linear/options/route.ts +31 -0
- package/cloud-runtime/standalone/app/api/status/route.ts +2 -2
- package/cloud-runtime/standalone/components/LinearBoard.tsx +411 -117
- package/cloud-runtime/standalone/components/chat-ui/ChatContainer.tsx +3 -1
- package/cloud-runtime/standalone/components/chat-ui/Composer.tsx +54 -2
- package/cloud-runtime/standalone/components/chat-ui/MentionPopover.tsx +43 -2
- package/cloud-runtime/standalone/hooks/useLinearIssueMentions.ts +64 -0
- package/cloud-runtime/standalone/hooks/useLinearIssues.ts +30 -6
- package/cloud-runtime/standalone/hooks/useMentionAutocomplete.ts +54 -6
- package/cloud-runtime/standalone/instrumentation.ts +2 -1
- package/cloud-runtime/standalone/lib/app-config.ts +55 -0
- package/cloud-runtime/standalone/lib/chat/linear-issue-context.ts +79 -0
- package/cloud-runtime/standalone/lib/linear-client.ts +166 -15
- package/cloud-runtime/standalone/lib/linear-issue-store.ts +433 -0
- package/cloud-runtime/standalone/lib/linear-issues.ts +360 -0
- package/cloud-runtime/standalone/lib/security.ts +2 -2
- package/cloud-runtime/standalone/lib/tiptap/composer-mentions.ts +38 -0
- package/cloud-runtime/standalone/lib/tiptap/editor-utils.ts +11 -0
- package/cloud-runtime/standalone/lib/tiptap/serialize-composer.ts +10 -0
- package/cloud-runtime/standalone/next.config.ts +2 -1
- package/cloud-runtime/standalone/src/graph/internal-function-dispatcher.ts +2 -5
- package/cloud-runtime/standalone/state/automations/.state/24a6a5db-3b14-49c4-841f-29f10f015fbb.json +3 -3
- package/cloud-runtime/standalone/styles/composer-pills.css +13 -0
- package/package.json +1 -1
- package/cloud-runtime/standalone/.linear-token.json +0 -4
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__05243927._.js +0 -29
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1017e012._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__28524c6a._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c1b28690._.js +0 -49
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__dffa5183._.js +0 -29
- package/cloud-runtime/standalone/.next/server/chunks/_110bf46e._.js +0 -6
- package/cloud-runtime/standalone/.next/server/chunks/_22fe5fd2._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__35f9b4a6._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__43a0398d._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__7e7d6790._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__b6598a70._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_087a5b2b._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_1e5aee62._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_45f91a8f._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_fb404ac0._.js +0 -3
- package/cloud-runtime/standalone/.next/static/chunks/0010f3df27ae53b8.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/09c637be82a06122.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/0fe219bd73492107.js +0 -5
- package/cloud-runtime/standalone/.next/static/chunks/2dbfd095c1e1d01f.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/360fde144fd22461.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/416cf5039e669b5d.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/95b85b1cb6868d27.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/966278eaefc0aa32.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/ab74849aeb87503e.js +0 -5
- package/cloud-runtime/standalone/.next/static/chunks/c5661b1d4c5abd6a.css +0 -2
- package/cloud-runtime/standalone/.next/static/chunks/d522224ad5c8d724.css +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/e2fa3c18dd56dc25.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/e910386016ceacad.js +0 -37
- package/cloud-runtime/standalone/.next/static/chunks/f2fe77583374541b.js +0 -1
- package/cloud-runtime/standalone/coverage/clover.xml +0 -1208
- package/cloud-runtime/standalone/coverage/coverage-final.json +0 -29
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/audit/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/audit/route.ts.html +0 -208
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/[...nextauth]/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/[...nextauth]/route.ts.html +0 -166
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/daemon-secret/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/daemon-secret/route.ts.html +0 -532
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/status/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/auth/status/route.ts.html +0 -178
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/learnings/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/learnings/route.ts.html +0 -262
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/logs/stream/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/logs/stream/route.ts.html +0 -448
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/complete/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/complete/route.ts.html +0 -331
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/queue/route.ts.html +0 -505
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/stage-prompts/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/stage-prompts/route.ts.html +0 -412
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/advance/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/advance/route.ts.html +0 -304
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/logs/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/logs/route.ts.html +0 -202
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/[id]/route.ts.html +0 -373
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/route.ts.html +0 -499
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/stream/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/app/api/tasks/stream/route.ts.html +0 -349
- package/cloud-runtime/standalone/coverage/lcov-report/base.css +0 -224
- package/cloud-runtime/standalone/coverage/lcov-report/block-navigation.js +0 -87
- package/cloud-runtime/standalone/coverage/lcov-report/components/AuthProvider.tsx.html +0 -259
- package/cloud-runtime/standalone/coverage/lcov-report/components/ChatInterface.tsx.html +0 -1228
- package/cloud-runtime/standalone/coverage/lcov-report/components/KanbanBoard.tsx.html +0 -1024
- package/cloud-runtime/standalone/coverage/lcov-report/components/Layout.tsx.html +0 -211
- package/cloud-runtime/standalone/coverage/lcov-report/components/LearningsPanel.tsx.html +0 -535
- package/cloud-runtime/standalone/coverage/lcov-report/components/LogTimeline.tsx.html +0 -415
- package/cloud-runtime/standalone/coverage/lcov-report/components/SortableTaskCard.tsx.html +0 -358
- package/cloud-runtime/standalone/coverage/lcov-report/components/StagePills.tsx.html +0 -439
- package/cloud-runtime/standalone/coverage/lcov-report/components/TaskCard.tsx.html +0 -514
- package/cloud-runtime/standalone/coverage/lcov-report/components/TaskCardOverlay.tsx.html +0 -256
- package/cloud-runtime/standalone/coverage/lcov-report/components/TaskDetail.tsx.html +0 -622
- package/cloud-runtime/standalone/coverage/lcov-report/components/TaskList.tsx.html +0 -253
- package/cloud-runtime/standalone/coverage/lcov-report/components/index.html +0 -281
- package/cloud-runtime/standalone/coverage/lcov-report/favicon.png +0 -0
- package/cloud-runtime/standalone/coverage/lcov-report/hooks/index.html +0 -116
- package/cloud-runtime/standalone/coverage/lcov-report/hooks/useTasks.ts.html +0 -1042
- package/cloud-runtime/standalone/coverage/lcov-report/index.html +0 -341
- package/cloud-runtime/standalone/coverage/lcov-report/lib/auth-client.ts.html +0 -202
- package/cloud-runtime/standalone/coverage/lcov-report/lib/auth-server.ts.html +0 -172
- package/cloud-runtime/standalone/coverage/lcov-report/lib/auth.ts.html +0 -265
- package/cloud-runtime/standalone/coverage/lcov-report/lib/db.ts.html +0 -1252
- package/cloud-runtime/standalone/coverage/lcov-report/lib/index.html +0 -131
- package/cloud-runtime/standalone/coverage/lcov-report/lib/orchestrator.ts.html +0 -409
- package/cloud-runtime/standalone/coverage/lcov-report/lib/security.ts.html +0 -1165
- package/cloud-runtime/standalone/coverage/lcov-report/lib/supabase-server.ts.html +0 -175
- package/cloud-runtime/standalone/coverage/lcov-report/lib/supabase.ts.html +0 -157
- package/cloud-runtime/standalone/coverage/lcov-report/prettify.css +0 -1
- package/cloud-runtime/standalone/coverage/lcov-report/prettify.js +0 -2
- package/cloud-runtime/standalone/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/cloud-runtime/standalone/coverage/lcov-report/sorter.js +0 -210
- package/cloud-runtime/standalone/coverage/lcov.info +0 -2386
- /package/cloud-runtime/standalone/.next/static/{1ixi4WIJBgIPp7LJeYeKs → 1Q0q2lXllTpqCvmNQYtpD}/_buildManifest.js +0 -0
- /package/cloud-runtime/standalone/.next/static/{1ixi4WIJBgIPp7LJeYeKs → 1Q0q2lXllTpqCvmNQYtpD}/_clientMiddlewareManifest.json +0 -0
- /package/cloud-runtime/standalone/.next/static/{1ixi4WIJBgIPp7LJeYeKs → 1Q0q2lXllTpqCvmNQYtpD}/_ssgManifest.js +0 -0
|
@@ -6,6 +6,7 @@ import StarterKit from "@tiptap/starter-kit";
|
|
|
6
6
|
import Placeholder from "@tiptap/extension-placeholder";
|
|
7
7
|
import {
|
|
8
8
|
useMentionAutocomplete,
|
|
9
|
+
type MentionLinearIssue,
|
|
9
10
|
type MentionProject,
|
|
10
11
|
type MentionSuggestion,
|
|
11
12
|
} from "@/hooks/useMentionAutocomplete";
|
|
@@ -15,7 +16,12 @@ import { useFileMention } from "@/hooks/useFileMention";
|
|
|
15
16
|
import { useThreadMention, type Discussion } from "@/hooks/useThreadMention";
|
|
16
17
|
import { useComposerAttachments } from "@/hooks/useComposerAttachments";
|
|
17
18
|
import { useComposerHistory } from "@/hooks/useComposerHistory";
|
|
19
|
+
import { useLinearIssueMentions } from "@/hooks/useLinearIssueMentions";
|
|
18
20
|
import { buildAgentContext } from "@/lib/chat/agentContextBuilder";
|
|
21
|
+
import {
|
|
22
|
+
buildLinearIssueContextPrefix,
|
|
23
|
+
extractMentionedLinearIssueIds,
|
|
24
|
+
} from "@/lib/chat/linear-issue-context";
|
|
19
25
|
import {
|
|
20
26
|
extractComposerRouting,
|
|
21
27
|
type ComposerRoutingMetadata,
|
|
@@ -31,6 +37,7 @@ import {
|
|
|
31
37
|
ProjectMention,
|
|
32
38
|
FileMention,
|
|
33
39
|
ThreadMention,
|
|
40
|
+
LinearIssueMention,
|
|
34
41
|
} from "@/lib/tiptap/composer-mentions";
|
|
35
42
|
import { serializeToPlainText } from "@/lib/tiptap/serialize-composer";
|
|
36
43
|
import { getCurrentParagraphText, plainTextRangeToPos } from "@/lib/tiptap/editor-utils";
|
|
@@ -76,6 +83,8 @@ interface Props {
|
|
|
76
83
|
projects?: MentionProject[];
|
|
77
84
|
/** Projects with agent rosters */
|
|
78
85
|
projectGroups?: ProjectWithAgents[];
|
|
86
|
+
/** Active project slug, used for scoping cached Linear issue pulls */
|
|
87
|
+
projectSlug?: string;
|
|
79
88
|
/** All messages in the current thread — used for @# discussion mentions */
|
|
80
89
|
messages?: GroupMessage[];
|
|
81
90
|
commands: SlashCommand[];
|
|
@@ -129,6 +138,7 @@ export function Composer({
|
|
|
129
138
|
participants,
|
|
130
139
|
projects = [],
|
|
131
140
|
projectGroups = [],
|
|
141
|
+
projectSlug,
|
|
132
142
|
messages: allMessages = [],
|
|
133
143
|
commands,
|
|
134
144
|
placeholder = "Message — @name to mention, /search, /summarize",
|
|
@@ -173,8 +183,16 @@ export function Composer({
|
|
|
173
183
|
}, []);
|
|
174
184
|
|
|
175
185
|
const [threadRefs, setThreadRefs] = useState<ThreadRef[]>([]);
|
|
176
|
-
|
|
177
|
-
const
|
|
186
|
+
const { issues: cachedLinearIssues } = useLinearIssueMentions({ projectSlug });
|
|
187
|
+
const linearIssues = cachedLinearIssues as MentionLinearIssue[];
|
|
188
|
+
|
|
189
|
+
const mention = useMentionAutocomplete({
|
|
190
|
+
participants,
|
|
191
|
+
projectGroups,
|
|
192
|
+
projects,
|
|
193
|
+
linearIssues,
|
|
194
|
+
maxSuggestions: 8,
|
|
195
|
+
});
|
|
178
196
|
const command = useCommandAutocomplete({ commands, maxSuggestions: 6 });
|
|
179
197
|
const fileMention = useFileMention({ maxSuggestions: 8 });
|
|
180
198
|
const threadMention = useThreadMention({ messages: allMessages, maxSuggestions: 8 });
|
|
@@ -235,6 +253,7 @@ export function Composer({
|
|
|
235
253
|
ProjectMention,
|
|
236
254
|
FileMention,
|
|
237
255
|
ThreadMention,
|
|
256
|
+
LinearIssueMention,
|
|
238
257
|
],
|
|
239
258
|
editorProps: {
|
|
240
259
|
attributes: {
|
|
@@ -473,6 +492,17 @@ export function Composer({
|
|
|
473
492
|
name: suggestion.project.name,
|
|
474
493
|
},
|
|
475
494
|
}
|
|
495
|
+
: suggestion.kind === "ticket"
|
|
496
|
+
? {
|
|
497
|
+
type: "linearIssueMention",
|
|
498
|
+
attrs: {
|
|
499
|
+
id: suggestion.issue.id,
|
|
500
|
+
identifier: suggestion.issue.identifier,
|
|
501
|
+
title: suggestion.issue.title,
|
|
502
|
+
status: suggestion.issue.status,
|
|
503
|
+
url: suggestion.issue.url,
|
|
504
|
+
},
|
|
505
|
+
}
|
|
476
506
|
: {
|
|
477
507
|
type: "participantMention",
|
|
478
508
|
attrs: {
|
|
@@ -628,6 +658,28 @@ export function Composer({
|
|
|
628
658
|
}
|
|
629
659
|
}
|
|
630
660
|
|
|
661
|
+
const mentionedLinearIssueIds = extractMentionedLinearIssueIds(doc);
|
|
662
|
+
if (mentionedLinearIssueIds.length > 0) {
|
|
663
|
+
try {
|
|
664
|
+
const response = await fetch("/api/linear/issues/context", {
|
|
665
|
+
method: "POST",
|
|
666
|
+
headers: { "Content-Type": "application/json" },
|
|
667
|
+
body: JSON.stringify({ issueIds: mentionedLinearIssueIds }),
|
|
668
|
+
});
|
|
669
|
+
if (!response.ok) {
|
|
670
|
+
throw new Error(`Failed to load issue context: ${response.status}`);
|
|
671
|
+
}
|
|
672
|
+
const data = await response.json().catch(() => ({}));
|
|
673
|
+
const issues = Array.isArray(data.issues) ? data.issues : [];
|
|
674
|
+
const issueContext = buildLinearIssueContextPrefix(issues);
|
|
675
|
+
if (issueContext) {
|
|
676
|
+
prefixParts.push(issueContext.trimEnd());
|
|
677
|
+
}
|
|
678
|
+
} catch (error) {
|
|
679
|
+
console.error("Failed to load Linear issue mention context:", error);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
631
683
|
const promptPrefix = prefixParts.length > 0 ? prefixParts.join("\n\n") + "\n\n" : undefined;
|
|
632
684
|
const routing = extractComposerRouting(doc, pinnedParticipantId);
|
|
633
685
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
import type { MentionSuggestion } from "@/hooks/useMentionAutocomplete";
|
|
5
|
-
import { FolderKanban, Users } from "lucide-react";
|
|
5
|
+
import { FolderKanban, Tag, Users } from "lucide-react";
|
|
6
6
|
|
|
7
7
|
interface MentionPopoverProps {
|
|
8
8
|
isOpen: boolean;
|
|
@@ -55,7 +55,9 @@ export function MentionPopover({
|
|
|
55
55
|
? `project-group-${suggestion.project.id}`
|
|
56
56
|
: suggestion.kind === "project"
|
|
57
57
|
? `project-${suggestion.project.id}`
|
|
58
|
-
: suggestion.
|
|
58
|
+
: suggestion.kind === "ticket"
|
|
59
|
+
? `ticket-${suggestion.issue.id}`
|
|
60
|
+
: suggestion.participant.id;
|
|
59
61
|
const group = suggestion.group;
|
|
60
62
|
|
|
61
63
|
// Show group header if this is a new non-empty group
|
|
@@ -131,6 +133,45 @@ export function MentionPopover({
|
|
|
131
133
|
);
|
|
132
134
|
}
|
|
133
135
|
|
|
136
|
+
if (suggestion.kind === "ticket") {
|
|
137
|
+
return (
|
|
138
|
+
<div key={id}>
|
|
139
|
+
{groupHeader}
|
|
140
|
+
<button
|
|
141
|
+
type="button"
|
|
142
|
+
role="option"
|
|
143
|
+
id={`${optionIdPrefix}-${id}`}
|
|
144
|
+
aria-selected={isActive}
|
|
145
|
+
ref={(element) => {
|
|
146
|
+
optionRefs.current[index] = element;
|
|
147
|
+
}}
|
|
148
|
+
className={`w-full px-3 py-2 text-left text-sm transition-colors ${
|
|
149
|
+
isActive ? "bg-[var(--primary-muted)] text-[var(--foreground)]" : "text-[var(--foreground)] hover:bg-[var(--app-shell-subtle)]"
|
|
150
|
+
}`}
|
|
151
|
+
onMouseDown={(e) => {
|
|
152
|
+
e.preventDefault();
|
|
153
|
+
}}
|
|
154
|
+
onClick={() => onSelect(suggestion)}
|
|
155
|
+
>
|
|
156
|
+
<span className="flex items-start gap-2">
|
|
157
|
+
<Tag className="mt-0.5 h-3.5 w-3.5 text-[var(--muted-foreground)]" aria-hidden />
|
|
158
|
+
<span className="min-w-0">
|
|
159
|
+
<span className="block font-medium">
|
|
160
|
+
{suggestion.issue.identifier}
|
|
161
|
+
<span className="ml-2 text-xs text-[var(--muted-foreground)]">
|
|
162
|
+
{suggestion.issue.status}
|
|
163
|
+
</span>
|
|
164
|
+
</span>
|
|
165
|
+
<span className="block truncate text-xs text-[var(--muted-foreground)]">
|
|
166
|
+
{suggestion.issue.title}
|
|
167
|
+
</span>
|
|
168
|
+
</span>
|
|
169
|
+
</span>
|
|
170
|
+
</button>
|
|
171
|
+
</div>
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
|
|
134
175
|
const participant = suggestion.participant;
|
|
135
176
|
return (
|
|
136
177
|
<div key={id}>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
import type { LinearIssue } from "@/hooks/useLinearIssues";
|
|
5
|
+
|
|
6
|
+
interface UseLinearIssueMentionsOptions {
|
|
7
|
+
projectSlug?: string;
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
limit?: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface UseLinearIssueMentionsReturn {
|
|
13
|
+
issues: LinearIssue[];
|
|
14
|
+
loading: boolean;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function useLinearIssueMentions({
|
|
18
|
+
projectSlug,
|
|
19
|
+
enabled = true,
|
|
20
|
+
limit = 500,
|
|
21
|
+
}: UseLinearIssueMentionsOptions = {}): UseLinearIssueMentionsReturn {
|
|
22
|
+
const [issues, setIssues] = useState<LinearIssue[]>([]);
|
|
23
|
+
const [loading, setLoading] = useState(false);
|
|
24
|
+
|
|
25
|
+
useEffect(() => {
|
|
26
|
+
if (!enabled) {
|
|
27
|
+
setIssues([]);
|
|
28
|
+
setLoading(false);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
let cancelled = false;
|
|
33
|
+
const params = new URLSearchParams();
|
|
34
|
+
params.set("limit", String(limit));
|
|
35
|
+
if (projectSlug) {
|
|
36
|
+
params.set("projectSlug", projectSlug);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
setLoading(true);
|
|
40
|
+
fetch(`/api/linear/issues?${params.toString()}`)
|
|
41
|
+
.then(async (response) => {
|
|
42
|
+
const data = await response.json().catch(() => ({}));
|
|
43
|
+
if (!cancelled) {
|
|
44
|
+
setIssues(Array.isArray(data.issues) ? data.issues : []);
|
|
45
|
+
}
|
|
46
|
+
})
|
|
47
|
+
.catch(() => {
|
|
48
|
+
if (!cancelled) {
|
|
49
|
+
setIssues([]);
|
|
50
|
+
}
|
|
51
|
+
})
|
|
52
|
+
.finally(() => {
|
|
53
|
+
if (!cancelled) {
|
|
54
|
+
setLoading(false);
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
return () => {
|
|
59
|
+
cancelled = true;
|
|
60
|
+
};
|
|
61
|
+
}, [enabled, limit, projectSlug]);
|
|
62
|
+
|
|
63
|
+
return { issues, loading };
|
|
64
|
+
}
|
|
@@ -14,10 +14,16 @@ interface Filters {
|
|
|
14
14
|
teamId?: string;
|
|
15
15
|
status?: string;
|
|
16
16
|
search?: string;
|
|
17
|
+
assigneeIds?: string[];
|
|
17
18
|
assignedToMe?: boolean;
|
|
18
19
|
cycleId?: string;
|
|
19
20
|
}
|
|
20
21
|
|
|
22
|
+
interface UseLinearIssuesOptions {
|
|
23
|
+
projectSlug?: string;
|
|
24
|
+
limit?: number;
|
|
25
|
+
}
|
|
26
|
+
|
|
21
27
|
interface UseLinearIssuesReturn {
|
|
22
28
|
issues: LinearIssue[];
|
|
23
29
|
loading: boolean;
|
|
@@ -26,16 +32,25 @@ interface UseLinearIssuesReturn {
|
|
|
26
32
|
refresh: () => Promise<void>;
|
|
27
33
|
}
|
|
28
34
|
|
|
29
|
-
export function useLinearIssues(
|
|
35
|
+
export function useLinearIssues(
|
|
36
|
+
filters: Filters,
|
|
37
|
+
enabled = true,
|
|
38
|
+
options: UseLinearIssuesOptions = {}
|
|
39
|
+
): UseLinearIssuesReturn {
|
|
30
40
|
const [issues, setIssues] = useState<LinearIssue[]>([]);
|
|
31
41
|
const [loading, setLoading] = useState(true);
|
|
32
42
|
const [cursor, setCursor] = useState<string | null>(null);
|
|
33
43
|
const [hasMore, setHasMore] = useState(false);
|
|
34
44
|
const cursorRef = useRef(cursor);
|
|
45
|
+
const hydratedRef = useRef(false);
|
|
35
46
|
cursorRef.current = cursor;
|
|
36
47
|
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
hydratedRef.current = false;
|
|
50
|
+
}, [options.projectSlug]);
|
|
51
|
+
|
|
37
52
|
const fetchPage = useCallback(
|
|
38
|
-
async (append: boolean) => {
|
|
53
|
+
async (append: boolean, refresh = false) => {
|
|
39
54
|
if (!enabled) return;
|
|
40
55
|
setLoading(true);
|
|
41
56
|
try {
|
|
@@ -43,9 +58,17 @@ export function useLinearIssues(filters: Filters, enabled = true): UseLinearIssu
|
|
|
43
58
|
if (filters.teamId) params.set("teamId", filters.teamId);
|
|
44
59
|
if (filters.status) params.set("status", filters.status);
|
|
45
60
|
if (filters.search) params.set("search", filters.search);
|
|
46
|
-
if (filters.
|
|
61
|
+
if (filters.assigneeIds?.length) {
|
|
62
|
+
for (const assigneeId of filters.assigneeIds) {
|
|
63
|
+
params.append("assigneeId", assigneeId);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
else if (filters.assignedToMe) params.set("assignedToMe", "true");
|
|
47
67
|
if (filters.cycleId) params.set("cycleId", filters.cycleId);
|
|
48
68
|
if (append && cursorRef.current) params.set("cursor", cursorRef.current);
|
|
69
|
+
if (options.projectSlug) params.set("projectSlug", options.projectSlug);
|
|
70
|
+
if (options.limit) params.set("limit", String(options.limit));
|
|
71
|
+
if (refresh) params.set("refresh", "true");
|
|
49
72
|
|
|
50
73
|
const res = await fetch(`/api/linear/issues?${params.toString()}`);
|
|
51
74
|
const data = await res.json();
|
|
@@ -54,24 +77,25 @@ export function useLinearIssues(filters: Filters, enabled = true): UseLinearIssu
|
|
|
54
77
|
setIssues((prev) => (append ? [...prev, ...newIssues] : newIssues));
|
|
55
78
|
setCursor(data.pageInfo?.endCursor ?? null);
|
|
56
79
|
setHasMore(data.pageInfo?.hasNextPage ?? false);
|
|
80
|
+
hydratedRef.current = true;
|
|
57
81
|
} catch {
|
|
58
82
|
if (!append) setIssues([]);
|
|
59
83
|
} finally {
|
|
60
84
|
setLoading(false);
|
|
61
85
|
}
|
|
62
86
|
},
|
|
63
|
-
[filters.teamId, filters.status, filters.search, filters.assignedToMe, filters.cycleId, enabled],
|
|
87
|
+
[filters.teamId, filters.status, filters.search, filters.assigneeIds, filters.assignedToMe, filters.cycleId, enabled, options.projectSlug, options.limit],
|
|
64
88
|
);
|
|
65
89
|
|
|
66
90
|
useEffect(() => {
|
|
67
91
|
setCursor(null);
|
|
68
|
-
fetchPage(false);
|
|
92
|
+
void fetchPage(false, !hydratedRef.current);
|
|
69
93
|
}, [fetchPage]);
|
|
70
94
|
|
|
71
95
|
const loadMore = useCallback(() => fetchPage(true), [fetchPage]);
|
|
72
96
|
const refresh = useCallback(() => {
|
|
73
97
|
setCursor(null);
|
|
74
|
-
return fetchPage(false);
|
|
98
|
+
return fetchPage(false, true);
|
|
75
99
|
}, [fetchPage]);
|
|
76
100
|
|
|
77
101
|
return { issues, loading, hasMore, loadMore, refresh };
|
|
@@ -25,10 +25,21 @@ export interface MentionProject {
|
|
|
25
25
|
slug: string;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
export interface MentionLinearIssue {
|
|
29
|
+
id: string;
|
|
30
|
+
identifier: string;
|
|
31
|
+
title: string;
|
|
32
|
+
status: string;
|
|
33
|
+
url: string | null;
|
|
34
|
+
assignee: string | null;
|
|
35
|
+
updatedAt: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
28
38
|
export type MentionItem =
|
|
29
39
|
| { kind: "agent"; participant: Participant; group: string }
|
|
30
40
|
| { kind: "project-group"; project: ProjectWithAgents; group: string }
|
|
31
|
-
| { kind: "project"; project: MentionProject; group: string }
|
|
41
|
+
| { kind: "project"; project: MentionProject; group: string }
|
|
42
|
+
| { kind: "ticket"; issue: MentionLinearIssue; group: string };
|
|
32
43
|
|
|
33
44
|
export type MentionSuggestion = MentionItem;
|
|
34
45
|
|
|
@@ -39,6 +50,8 @@ export interface UseMentionAutocompleteOptions {
|
|
|
39
50
|
projectGroups?: ProjectWithAgents[];
|
|
40
51
|
/** Mentionable projects */
|
|
41
52
|
projects?: MentionProject[];
|
|
53
|
+
/** Cached Linear tickets available for @ mentions */
|
|
54
|
+
linearIssues?: MentionLinearIssue[];
|
|
42
55
|
/** Maximum number of suggestions to show */
|
|
43
56
|
maxSuggestions?: number;
|
|
44
57
|
}
|
|
@@ -151,7 +164,8 @@ export function filterSuggestions(
|
|
|
151
164
|
query: string,
|
|
152
165
|
maxSuggestions: number,
|
|
153
166
|
projectGroups: ProjectWithAgents[] = [],
|
|
154
|
-
projects: MentionProject[] = []
|
|
167
|
+
projects: MentionProject[] = [],
|
|
168
|
+
linearIssues: MentionLinearIssue[] = []
|
|
155
169
|
): MentionSuggestion[] {
|
|
156
170
|
const lowerQuery = query.toLowerCase();
|
|
157
171
|
const participantById = new Map(participants.map((p) => [p.id, p]));
|
|
@@ -216,7 +230,26 @@ export function filterSuggestions(
|
|
|
216
230
|
}
|
|
217
231
|
}
|
|
218
232
|
|
|
219
|
-
// 4.
|
|
233
|
+
// 4. Linear tickets (only once the user has started typing)
|
|
234
|
+
if (lowerQuery) {
|
|
235
|
+
linearIssues
|
|
236
|
+
.map((issue) => ({
|
|
237
|
+
issue,
|
|
238
|
+
score: scoreIssueMatch(issue, lowerQuery),
|
|
239
|
+
}))
|
|
240
|
+
.filter((entry): entry is { issue: MentionLinearIssue; score: number } => entry.score !== null)
|
|
241
|
+
.sort((left, right) => {
|
|
242
|
+
if (right.score !== left.score) {
|
|
243
|
+
return right.score - left.score;
|
|
244
|
+
}
|
|
245
|
+
return left.issue.identifier.localeCompare(right.issue.identifier);
|
|
246
|
+
})
|
|
247
|
+
.forEach(({ issue }) => {
|
|
248
|
+
result.push({ kind: "ticket", issue, group: "Tickets" });
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// 5. Ungrouped agents (not in any project)
|
|
220
253
|
const ungrouped: { participant: Participant; score: number }[] = [];
|
|
221
254
|
for (const p of participants) {
|
|
222
255
|
if (projectAgentIds.has(p.id)) continue;
|
|
@@ -236,6 +269,7 @@ export function useMentionAutocomplete({
|
|
|
236
269
|
participants,
|
|
237
270
|
projectGroups = [],
|
|
238
271
|
projects = [],
|
|
272
|
+
linearIssues = [],
|
|
239
273
|
maxSuggestions = 6,
|
|
240
274
|
}: UseMentionAutocompleteOptions): UseMentionAutocompleteReturn {
|
|
241
275
|
const [token, setToken] = useState<MentionToken | null>(null);
|
|
@@ -246,8 +280,8 @@ export function useMentionAutocomplete({
|
|
|
246
280
|
const query = token?.query ?? "";
|
|
247
281
|
|
|
248
282
|
const filteredSuggestions = useMemo(() => {
|
|
249
|
-
return filterSuggestions(participants, query, maxSuggestions, projectGroups, projects);
|
|
250
|
-
}, [participants, query, maxSuggestions, projectGroups, projects]);
|
|
283
|
+
return filterSuggestions(participants, query, maxSuggestions, projectGroups, projects, linearIssues);
|
|
284
|
+
}, [participants, query, maxSuggestions, projectGroups, projects, linearIssues]);
|
|
251
285
|
|
|
252
286
|
const updateTokenFromInput = useCallback((text: string, cursorPos: number) => {
|
|
253
287
|
const newToken = detectMentionToken(text, cursorPos);
|
|
@@ -320,7 +354,9 @@ export function useMentionAutocomplete({
|
|
|
320
354
|
? suggestion.project.name
|
|
321
355
|
: suggestion.kind === "project"
|
|
322
356
|
? suggestion.project.name
|
|
323
|
-
: suggestion.
|
|
357
|
+
: suggestion.kind === "ticket"
|
|
358
|
+
? suggestion.issue.identifier
|
|
359
|
+
: suggestion.participant.name;
|
|
324
360
|
const atPrefix = token.isParallel ? "@@" : "@";
|
|
325
361
|
const replacement = `${atPrefix}${name} `;
|
|
326
362
|
|
|
@@ -362,3 +398,15 @@ export function useMentionAutocomplete({
|
|
|
362
398
|
endComposition,
|
|
363
399
|
};
|
|
364
400
|
}
|
|
401
|
+
|
|
402
|
+
function scoreIssueMatch(issue: MentionLinearIssue, lowerQuery: string): number | null {
|
|
403
|
+
const identifier = issue.identifier.toLowerCase();
|
|
404
|
+
const title = issue.title.toLowerCase();
|
|
405
|
+
|
|
406
|
+
if (identifier === lowerQuery) return 5;
|
|
407
|
+
if (identifier.startsWith(lowerQuery)) return 4;
|
|
408
|
+
if (title.startsWith(lowerQuery)) return 3;
|
|
409
|
+
if (identifier.includes(lowerQuery)) return 2;
|
|
410
|
+
if (title.includes(lowerQuery)) return 1;
|
|
411
|
+
return null;
|
|
412
|
+
}
|
|
@@ -3,6 +3,7 @@ const PROMPT_JOB_POLL_INTERVAL_MS = 15_000;
|
|
|
3
3
|
|
|
4
4
|
export async function register() {
|
|
5
5
|
if (process.env.NEXT_RUNTIME === 'nodejs') {
|
|
6
|
+
const { getConfiguredLocalServerPort } = await import("./lib/app-config");
|
|
6
7
|
await import("./lib/check-node-version");
|
|
7
8
|
const { getQueue, QUEUE_NAMES } = await import('@/lib/queue/boss');
|
|
8
9
|
const { taskProcessor } = await import('@/lib/orchestrator/processor');
|
|
@@ -22,7 +23,7 @@ export async function register() {
|
|
|
22
23
|
const { GraphStore } = await import('@/src/graph/store');
|
|
23
24
|
|
|
24
25
|
// Prompt job poller — drives recurring prompt-based scheduled tasks
|
|
25
|
-
const port =
|
|
26
|
+
const port = getConfiguredLocalServerPort();
|
|
26
27
|
const baseUrl = `http://localhost:${port}`;
|
|
27
28
|
let promptJobPollReady = false;
|
|
28
29
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
const DEFAULT_LOCAL_APP_PORT = 41741;
|
|
2
|
+
|
|
3
|
+
function normalizeBaseUrl(value: string | null | undefined): string | null {
|
|
4
|
+
const trimmed = value?.trim();
|
|
5
|
+
if (!trimmed) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
return trimmed.replace(/\/+$/, "");
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const LOCAL_APP_PORT = DEFAULT_LOCAL_APP_PORT;
|
|
13
|
+
export const LOCAL_APP_URL = `http://localhost:${LOCAL_APP_PORT}`;
|
|
14
|
+
|
|
15
|
+
export function getConfiguredAppBaseUrl(): string {
|
|
16
|
+
return (
|
|
17
|
+
normalizeBaseUrl(process.env.NEXT_PUBLIC_APP_URL) ??
|
|
18
|
+
normalizeBaseUrl(process.env.AGX_BOARD_URL) ??
|
|
19
|
+
normalizeBaseUrl(process.env.NEXT_PUBLIC_AGX_BOARD_URL) ??
|
|
20
|
+
LOCAL_APP_URL
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export function getConfiguredBoardBaseUrl(): string {
|
|
25
|
+
return (
|
|
26
|
+
normalizeBaseUrl(process.env.AGX_BOARD_URL) ??
|
|
27
|
+
normalizeBaseUrl(process.env.NEXT_PUBLIC_AGX_BOARD_URL) ??
|
|
28
|
+
normalizeBaseUrl(process.env.NEXT_PUBLIC_APP_URL) ??
|
|
29
|
+
LOCAL_APP_URL
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function getConfiguredLocalServerPort(): string {
|
|
34
|
+
return process.env.PORT?.trim() || String(LOCAL_APP_PORT);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function getAllowedOrigins(): string[] {
|
|
38
|
+
const origins = new Set<string>([
|
|
39
|
+
LOCAL_APP_URL,
|
|
40
|
+
`http://127.0.0.1:${LOCAL_APP_PORT}`,
|
|
41
|
+
]);
|
|
42
|
+
|
|
43
|
+
for (const value of [
|
|
44
|
+
process.env.NEXT_PUBLIC_APP_URL,
|
|
45
|
+
process.env.AGX_BOARD_URL,
|
|
46
|
+
process.env.NEXT_PUBLIC_AGX_BOARD_URL,
|
|
47
|
+
]) {
|
|
48
|
+
const normalized = normalizeBaseUrl(value);
|
|
49
|
+
if (normalized) {
|
|
50
|
+
origins.add(normalized);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return Array.from(origins);
|
|
55
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { JSONContent } from "@tiptap/core";
|
|
2
|
+
|
|
3
|
+
export interface MentionedLinearIssueContext {
|
|
4
|
+
id: string;
|
|
5
|
+
identifier: string;
|
|
6
|
+
title: string;
|
|
7
|
+
url: string | null;
|
|
8
|
+
status: string;
|
|
9
|
+
assignee: string | null;
|
|
10
|
+
assigneeId: string | null;
|
|
11
|
+
assigneeEmail: string | null;
|
|
12
|
+
isAssignedToMe: boolean;
|
|
13
|
+
teamId: string | null;
|
|
14
|
+
teamName: string | null;
|
|
15
|
+
teamKey: string | null;
|
|
16
|
+
cycleId: string | null;
|
|
17
|
+
cycleName: string | null;
|
|
18
|
+
cycleNumber: number | null;
|
|
19
|
+
description: string | null;
|
|
20
|
+
updatedAt: string;
|
|
21
|
+
pulledAt: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function walkNodes(
|
|
25
|
+
nodes: JSONContent[] | undefined,
|
|
26
|
+
visitor: (node: JSONContent) => void
|
|
27
|
+
): void {
|
|
28
|
+
if (!nodes) return;
|
|
29
|
+
for (const node of nodes) {
|
|
30
|
+
visitor(node);
|
|
31
|
+
walkNodes(node.content, visitor);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function escapeAttribute(value: string): string {
|
|
36
|
+
return value
|
|
37
|
+
.replace(/&/g, "&")
|
|
38
|
+
.replace(/"/g, """)
|
|
39
|
+
.replace(/</g, "<")
|
|
40
|
+
.replace(/>/g, ">");
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function extractMentionedLinearIssueIds(doc: JSONContent): string[] {
|
|
44
|
+
const issueIds = new Set<string>();
|
|
45
|
+
|
|
46
|
+
walkNodes(doc.content, (node) => {
|
|
47
|
+
if (node.type !== "linearIssueMention") return;
|
|
48
|
+
const id = typeof node.attrs?.id === "string" ? node.attrs.id.trim() : "";
|
|
49
|
+
if (id) {
|
|
50
|
+
issueIds.add(id);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
return Array.from(issueIds);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function buildLinearIssueContextPrefix(issues: MentionedLinearIssueContext[]): string {
|
|
58
|
+
if (issues.length === 0) return "";
|
|
59
|
+
|
|
60
|
+
const blocks = issues.map((issue) => {
|
|
61
|
+
const parts = [
|
|
62
|
+
`<linear-issue identifier="${escapeAttribute(issue.identifier)}" status="${escapeAttribute(issue.status)}"${issue.assignee ? ` assignee="${escapeAttribute(issue.assignee)}"` : ""}>`,
|
|
63
|
+
`Title: ${issue.title}`,
|
|
64
|
+
issue.url ? `URL: ${issue.url}` : null,
|
|
65
|
+
issue.teamName ? `Team: ${issue.teamName}` : null,
|
|
66
|
+
issue.cycleName || issue.cycleNumber != null
|
|
67
|
+
? `Cycle: ${issue.cycleName ?? `Cycle ${issue.cycleNumber}`}`
|
|
68
|
+
: null,
|
|
69
|
+
`Updated: ${issue.updatedAt}`,
|
|
70
|
+
"",
|
|
71
|
+
issue.description?.trim() || "No description provided.",
|
|
72
|
+
"</linear-issue>",
|
|
73
|
+
];
|
|
74
|
+
|
|
75
|
+
return parts.filter((part): part is string => part !== null).join("\n");
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
return `Referenced Linear tickets (only because the user explicitly @mentioned them):\n\n${blocks.join("\n\n")}\n\n`;
|
|
79
|
+
}
|