@mndrk/agx 2.0.42 → 2.0.45
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/.linear-token.json +4 -0
- package/cloud-runtime/standalone/.next/BUILD_ID +1 -1
- package/cloud-runtime/standalone/.next/app-path-routes-manifest.json +12 -2
- package/cloud-runtime/standalone/.next/build-manifest.json +8 -8
- package/cloud-runtime/standalone/.next/prerender-manifest.json +3 -3
- package/cloud-runtime/standalone/.next/routes-manifest.json +77 -17
- package/cloud-runtime/standalone/.next/server/app/_global-error/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/_global-error/page.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/_global-error.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/_global-error.rsc +7 -7
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- 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/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/_not-found/page.js +2 -2
- 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 +12 -12
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +12 -12
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +8 -8
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- 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/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/agents/[id]/page.js +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/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/agents/page.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/agents/page.js.nft.json +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 +14 -14
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_full.segment.rsc +14 -14
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/agents.segments/_index.segment.rsc +8 -8
- 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 +4 -4
- package/cloud-runtime/standalone/.next/server/app/agents.segments/agents.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/agent-specs/pull/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/agent-specs/route.js +6 -4
- 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]/messages/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/agents/[id]/profile/route.js +7 -5
- 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 +6 -4
- package/cloud-runtime/standalone/.next/server/app/api/agents/export/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/attachments/[id]/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/audit/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/automations/create/route.js +9 -6
- 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 +5 -3
- 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 +10 -7
- package/cloud-runtime/standalone/.next/server/app/api/chat/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/chat-runs/[id]/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/chat-runs/[id]/signal/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/chat-runs/[id]/signal/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/chat-runs/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/daemon/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/domains/[id]/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/file-read/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/file-search/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/file-search/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/browse/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/pick-folder/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/filesystem/pick-folder/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route.js +5 -2
- 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 +7 -5
- package/cloud-runtime/standalone/.next/server/app/api/health/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/history/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/history/status/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/knowledge-notes/route.js +6 -4
- package/cloud-runtime/standalone/.next/server/app/api/knowledge-notes/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/learnings/route.js +7 -5
- package/cloud-runtime/standalone/.next/server/app/api/learnings/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/linear/auth/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/auth/route.js +7 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/auth/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/auth/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/callback/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/callback/route.js +7 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/callback/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/callback/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/cycles/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/cycles/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/cycles/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/cycles/route.js +7 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/cycles/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/cycles/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/cycles/route_client-reference-manifest.js +2 -0
- 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/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route.js +10 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/issues/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/mcp-setup/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/mcp-setup/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/mcp-setup/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/mcp-setup/route.js +8 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/mcp-setup/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/mcp-setup/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/mcp-setup/route_client-reference-manifest.js +2 -0
- 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/runs/[id]/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/[id]/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/[id]/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/[id]/route.js +7 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/[id]/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/[id]/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/[id]/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/route.js +7 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/runs/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/status/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/status/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/status/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/status/route.js +7 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/status/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/status/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/status/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/token/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/token/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/token/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/token/route.js +7 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/token/route.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/token/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/api/linear/token/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/api/logs/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/logs/stream/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/memories/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/messages/[id]/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/migrate/teams-to-projects/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/migrate/workspaces-to-projects/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/cancel/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/cancel/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/signal/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/signal/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/orchestrator/tasks/[taskId]/start/route.js +7 -5
- 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 +7 -5
- 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 +7 -5
- package/cloud-runtime/standalone/.next/server/app/api/participants/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/processes/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/agents/route.js +7 -5
- 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 +7 -5
- 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 +7 -5
- 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 +5 -3
- 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 +7 -5
- 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 +7 -5
- 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 +7 -5
- 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 +7 -5
- 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 +7 -5
- 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 +8 -6
- 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 +7 -5
- 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 +7 -5
- 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 +9 -6
- 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 +8 -6
- 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 +3 -3
- 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 +7 -5
- 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 +10 -8
- package/cloud-runtime/standalone/.next/server/app/api/queue/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/reactions/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/schedules/debug/route.js +6 -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 +8 -6
- 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 +9 -6
- package/cloud-runtime/standalone/.next/server/app/api/schedules/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/search/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/skills/assign/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/skills/assign/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/skills/available/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/skills/available/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/skills/detail/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/skills/detail/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/skills/history/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/skills/history/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/skills/learn/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/skills/learn/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/skills/route.js +3 -3
- package/cloud-runtime/standalone/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/skills/unlearn/route.js +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/skills/unlearn/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/status/route.js +3 -3
- 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 +7 -5
- package/cloud-runtime/standalone/.next/server/app/api/summarize/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/system/db-status/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/task-drafts/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/comments/[commentId]/route.js +6 -4
- 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 +8 -6
- 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 +7 -5
- 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 +8 -6
- 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 +8 -5
- 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 +9 -6
- 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 +9 -6
- 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/pause/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/graph/replan/route.js +12 -8
- 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 +7 -5
- 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 +7 -5
- 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 +11 -7
- 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 +13 -9
- 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 +11 -8
- 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 +7 -5
- 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 +3 -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]/heartbeat/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/history/route.js +7 -5
- 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 +9 -6
- 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]/logs/stream/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/tasks/[id]/nodes/[nodeId]/comments/route.js +5 -3
- 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 +11 -8
- 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 +11 -8
- 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 +11 -8
- 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 +11 -8
- 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 +11 -8
- 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 +12 -9
- 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 +9 -6
- 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 +7 -5
- 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 +7 -5
- 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 +11 -8
- package/cloud-runtime/standalone/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/tasks/stream/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/thread-export/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/threads/knowledge/route.js +6 -5
- 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 +6 -5
- package/cloud-runtime/standalone/.next/server/app/api/threads/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/upload/[id]/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/upload/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/api/user-settings/route.js +7 -5
- package/cloud-runtime/standalone/.next/server/app/api/user-settings/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/userPreferences/route.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/automations/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/automations/page/react-loadable-manifest.json +11 -3
- package/cloud-runtime/standalone/.next/server/app/automations/page.js +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 +15 -15
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_full.segment.rsc +15 -15
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_index.segment.rsc +8 -8
- package/cloud-runtime/standalone/.next/server/app/automations.segments/_tree.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/automations.segments/automations/__PAGE__.segment.rsc +5 -5
- package/cloud-runtime/standalone/.next/server/app/automations.segments/automations.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/board/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/board/page.js +2 -2
- 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 +12 -12
- package/cloud-runtime/standalone/.next/server/app/board.segments/_full.segment.rsc +12 -12
- package/cloud-runtime/standalone/.next/server/app/board.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/board.segments/_index.segment.rsc +8 -8
- 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 +2 -2
- package/cloud-runtime/standalone/.next/server/app/board.segments/board.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/execution-graph/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/execution-graph/page.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/execution-graph/page.js.nft.json +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 +14 -14
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_full.segment.rsc +14 -14
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/_index.segment.rsc +8 -8
- 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 +4 -4
- package/cloud-runtime/standalone/.next/server/app/execution-graph.segments/execution-graph.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/index.html +2 -2
- package/cloud-runtime/standalone/.next/server/app/index.rsc +15 -15
- package/cloud-runtime/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +5 -5
- package/cloud-runtime/standalone/.next/server/app/index.segments/_full.segment.rsc +15 -15
- package/cloud-runtime/standalone/.next/server/app/index.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/index.segments/_index.segment.rsc +8 -8
- package/cloud-runtime/standalone/.next/server/app/index.segments/_tree.segment.rsc +4 -4
- package/cloud-runtime/standalone/.next/server/app/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/page.js +2 -2
- 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/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page/react-loadable-manifest.json +11 -3
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/automations/page.js +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/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/graph/[taskId]/page.js.nft.json +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/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/knowledge/page.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/knowledge/page.js.nft.json +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/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page/build-manifest.json +18 -0
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page/next-font-manifest.json +11 -0
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page/react-loadable-manifest.json +10 -0
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page.js +16 -0
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page.js.map +5 -0
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page.js.nft.json +1 -0
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/linear/page_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/page.js.nft.json +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/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/projects/[slug]/thread/[threadId]/page.js +2 -2
- 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/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/projects/orphans/page.js +2 -2
- 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 +14 -14
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_full.segment.rsc +14 -14
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/_index.segment.rsc +8 -8
- 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 +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects/orphans.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/projects/orphans.segments/projects.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/projects/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/projects/page.js +2 -2
- 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 +14 -14
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_full.segment.rsc +14 -14
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/projects.segments/_index.segment.rsc +8 -8
- 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 +4 -4
- package/cloud-runtime/standalone/.next/server/app/projects.segments/projects.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/settings/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/settings/page.js +2 -2
- 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 +14 -14
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_full.segment.rsc +14 -14
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/settings.segments/_index.segment.rsc +8 -8
- 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 +4 -4
- package/cloud-runtime/standalone/.next/server/app/settings.segments/settings.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/skills/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/skills/page.js +2 -2
- 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 +14 -14
- package/cloud-runtime/standalone/.next/server/app/skills.segments/_full.segment.rsc +14 -14
- package/cloud-runtime/standalone/.next/server/app/skills.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/skills.segments/_index.segment.rsc +8 -8
- 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 +4 -4
- package/cloud-runtime/standalone/.next/server/app/skills.segments/skills.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/status/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/status/page.js +2 -2
- 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 +14 -14
- package/cloud-runtime/standalone/.next/server/app/status.segments/_full.segment.rsc +14 -14
- package/cloud-runtime/standalone/.next/server/app/status.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/status.segments/_index.segment.rsc +8 -8
- 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 +4 -4
- package/cloud-runtime/standalone/.next/server/app/status.segments/status.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/thread/[id]/page/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/thread/[id]/page.js +2 -2
- 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/build-manifest.json +6 -6
- package/cloud-runtime/standalone/.next/server/app/welcome/page.js +2 -2
- package/cloud-runtime/standalone/.next/server/app/welcome/page.js.nft.json +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 +14 -14
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_full.segment.rsc +14 -14
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/_index.segment.rsc +8 -8
- 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 +4 -4
- package/cloud-runtime/standalone/.next/server/app/welcome.segments/welcome.segment.rsc +3 -3
- package/cloud-runtime/standalone/.next/server/app-paths-manifest.json +12 -2
- package/cloud-runtime/standalone/.next/server/chunks/[externals]__31e26905._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[externals]__64355ed1._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[externals]__d6ed3021._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[externals]_node:child_process_261e8bca._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__00fd30c8._.js +39 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__0284ea89._.js +13 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__04c806f4._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__0c3dd73b._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__0c4807d1._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__0cc3f3b7._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__0e98af48._.js +97 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__0f6532d7._.js +93 -0
- 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]__11c1214e._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__152b2000._.js +61 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__15f3bb96._.js +39 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1b96352c._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1dce6c15._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1f53e82e._.js +6 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__20533a2c._.js +8 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__255b11f2._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__26817611._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__294fceef._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__2d776aa6._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__314d5c41._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__352dad6d._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3b1431b6._.js +3 -0
- 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]__3bf516b6._.js +15 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3fd3c5b1._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__42804c1d._.js +110 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__42e713f5._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4559476d._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__46947325._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__46ad8e50._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4700e1b3._.js +80 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__49c04b15._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4a4265e0._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4b0b5fe1._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4c2d07e0._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4c5c536d._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4c89c60a._.js +93 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__509b1dd2._.js +13 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__50ddd3ce._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__529a6e1c._.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]__5650bac3._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__5a1fd688._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__5aaf8c25._.js +15 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__5b13e7a5._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__5d359afa._.js +21 -18
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__621dcb4a._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__628d686b._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__635fe0f9._.js +15 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__68da2825._.js +39 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__6921fe3f._.js +44 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__6988985c._.js +15 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__6db132e9._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__6dbe939c._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__6fe5a96f._.js +80 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__7012e83d._.js +66 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__70327010._.js +134 -0
- 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]__74a37ca4._.js +13 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__76290829._.js +67 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__76658fd6._.js +15 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__79fa35e4._.js +101 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__7c94b104._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__889996dd._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8a35d73b._.js +80 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8b5fd676._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8c7d1318._.js +13 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8d205f82._.js +48 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__92924218._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__94bd7f65._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__9746d1f5._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__9b69f93e._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__9ffa67b7._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__a300f072._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__a7e0ac67._.js +25 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__aad349b4._.js +8 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ad6d6402._.js +67 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__af7a73fd._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__b133856b._.js +61 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__b8f4e4a3._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__bd11b2ad._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c029daab._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c4ea4921._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c4ed5d83._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c695a5f2._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c8195768._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__cb5c7680._.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]__cf6082be._.js +49 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__d2ac93f2._.js +13 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__d4f42f49._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__d57e800e._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__d8b615bf._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__d9bd6334._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__d9f2041b._.js +72 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__db469f1b._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__dca6026a._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ddb3aa76._.js +7 -0
- 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]__de2a1e43._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__e20922e8._.js +13 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__e3ecfd17._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__e7be56ba._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ebece93b._.js +3 -0
- 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]__f13c29c6._.js +39 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f168c6dc._.js +14 -14
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f536cd2f._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f9f7f2df._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fcdaf6d8._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fdb21d1b._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_0a767dfe._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_2a5aeb76._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_2f3e5ac1._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_4689976f._.js +6 -0
- package/cloud-runtime/standalone/.next/server/chunks/_5462a047._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_65fd2525._.js +10 -0
- package/cloud-runtime/standalone/.next/server/chunks/_682c9d81._.js +6 -0
- package/cloud-runtime/standalone/.next/server/chunks/_6e7f0ae4._.js +6 -0
- package/cloud-runtime/standalone/.next/server/chunks/_7011db4f._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_9b10087f._.js +8 -0
- package/cloud-runtime/standalone/.next/server/chunks/_9dea7192._.js +10 -0
- package/cloud-runtime/standalone/.next/server/chunks/_a32a5cdd._.js +6 -0
- package/cloud-runtime/standalone/.next/server/chunks/_a877d34f._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_a93e80e8._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_af7bd752._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_b0524599._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_c31ca6ab._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_c3c28282._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_c965f7b3._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_d2ea7d84._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_e469c080._.js +10 -0
- package/cloud-runtime/standalone/.next/server/chunks/_ee99a36b._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_fe32a267._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_agent-specs_pull_route_actions_33fd1f01.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_agent-specs_route_actions_3c4fd7d4.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_agents_[id]_profile_route_actions_e8d70dac.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_agents_export_route_actions_cc761823.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_attachments_[id]_route_actions_28040395.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_audit_route_actions_9d92fa80.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_automations_create_route_actions_ffb767ae.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_automations_route_actions_0112e2f7.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_chat-runs_[id]_route_actions_033ac330.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_chat-runs_route_actions_0c8cd01c.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_chat_route_actions_ac0c75e3.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_daemon_route_actions_89f9619f.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_domains_[id]_route_actions_36310215.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_domains_route_actions_8d8cc0aa.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_file-read_route_actions_a562d24d.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_file-search_route_actions_8af77a20.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_filesystem_browse_route_actions_8e268170.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_filesystem_pick-folder_route_actions_162664ff.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_health_route_actions_da3433c4.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_history_route_actions_f1813cd2.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_knowledge-notes_route_actions_0ddf6109.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_learnings_route_actions_c32db009.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_auth_route_actions_6bba0ae0.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_callback_route_actions_0fc8695c.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_cycles_route_actions_9cbb85fe.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_issues_route_actions_8f12f3b7.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_mcp-setup_route_actions_a11b04f4.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/_next-internal_server_app_api_linear_runs_[id]_route_actions_5c46cc4e.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_runs_route_actions_a99753a8.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_status_route_actions_e43f376f.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_linear_token_route_actions_510583b8.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_logs_route_actions_30a87f47.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_logs_stream_route_actions_92bf6397.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_memories_route_actions_f0712914.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_messages_[id]_route_actions_3ca634d2.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_participants_route_actions_2bae2919.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_processes_route_actions_93e6bd01.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_projects_[id]_agents_route_actions_62a7e8e5.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_projects_[id]_migrate-v1_route_actions_e28a058d.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_projects_[id]_migrate-v2_route_actions_0cfff9eb.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_projects_[id]_route_actions_6fd2e5a5.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_projects_[id]_skills_route_actions_90fdd1e6.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_projects_[id]_threads_route_actions_88ac9ddb.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_projects_[id]_variables_route_actions_e646c8d9.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_prompt-jobs_[id]_cancel_route_actions_fbd5be89.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_prompt-jobs_[id]_route_actions_774a2e21.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_prompt-jobs_[id]_runs_route_actions_6e59ee83.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_prompt-jobs_agents_route_actions_399e1f19.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_prompt-jobs_poll_route_actions_23fbbfa1.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_prompt-jobs_route_actions_acf03860.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_providers_route_actions_5388b373.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_queue_complete_route_actions_1350a2ac.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_queue_route_actions_1e9c9b6f.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_reactions_route_actions_e075d50e.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_schedules_debug_route_actions_61c03e5e.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_schedules_poll_route_actions_dfc6ace4.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_schedules_route_actions_f5db3d09.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_search_route_actions_4244da48.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_skills_assign_route_actions_15267be8.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_skills_available_route_actions_24023111.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_skills_detail_route_actions_1148baef.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_skills_history_route_actions_5e5c4757.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_skills_learn_route_actions_d3a37d25.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_skills_route_actions_780e175f.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_skills_unlearn_route_actions_3dfee433.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_status_route_actions_d551bce0.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_summarize_route_actions_3e77989a.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_system_db-status_route_actions_0f864710.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_task-drafts_route_actions_3b90bec5.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_comments_route_actions_71745d03.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_costs_route_actions_e20adc3f.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_dependencies_route_actions_b85eaa7f.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_events_route_actions_3e2c7edc.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_history_route_actions_debb26dc.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_metrics_route_actions_a82052ba.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_pause_route_actions_1341b4e1.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_replan_route_actions_0d67ebea.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_restart_route_actions_bbd1883b.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_resume_route_actions_745fbaa8.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_rollback_route_actions_77968f37.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_route_actions_766df5f7.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_schedule_route_actions_943bcc22.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_start_route_actions_1d7e784a.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_graph_stop_route_actions_5f5d6ff0.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_heartbeat_route_actions_28915a39.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_history_route_actions_7ecd517e.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_logs_route_actions_e1a486bd.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_logs_stream_route_actions_ed381b79.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_[id]_route_actions_8de83605.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_extract_route_actions_2651c393.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_route_actions_84c37746.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_tasks_stream_route_actions_37a289da.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_thread-export_route_actions_26354edd.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_thread-repos_route_actions_e95d24ee.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_threads_knowledge_route_actions_c139bcf7.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_threads_route_actions_f9ea97f2.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_upload_[id]_route_actions_d9c30458.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_upload_route_actions_f15ed185.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_user-settings_route_actions_553a1208.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_userPreferences_route_actions_178deeb3.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_migrate_workspaces-to-projects_route_actions_cb1e42e0.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_orchestrator_tasks_[taskId]_cancel_route_actions_8b9cd080.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_orchestrator_tasks_[taskId]_signal_route_actions_5a3d8250.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_orchestrator_tasks_[taskId]_start_route_actions_08f1c94e.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_orchestrator_tasks_[taskId]_status_route_actions_4062630f.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_tasks_[id]_nodes_[nodeId]_complete_route_actions_c44e3cb4.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_tasks_[id]_nodes_[nodeId]_fail_route_actions_7ff931bc.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_tasks_[id]_nodes_[nodeId]_resume_route_actions_a9f01d21.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_tasks_[id]_nodes_[nodeId]_stop_route_actions_dbea30a3.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ce889_server_app_api_tasks_[id]_nodes_[nodeId]_verify_route_actions_ff371970.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/lib_2492d514._.js +11 -37
- package/cloud-runtime/standalone/.next/server/chunks/lib_3c080873._.js +34 -0
- package/cloud-runtime/standalone/.next/server/chunks/lib_70cd6b4a._.js +80 -0
- package/cloud-runtime/standalone/.next/server/chunks/lib_7f7835f1._.js +68 -0
- package/cloud-runtime/standalone/.next/server/chunks/lib_88726721._.js +79 -0
- package/cloud-runtime/standalone/.next/server/chunks/lib_98ae187c._.js +34 -0
- package/cloud-runtime/standalone/.next/server/chunks/lib_9f439b27._.js +25 -0
- package/cloud-runtime/standalone/.next/server/chunks/lib_app-config_ts_7f2f30ad._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/lib_check-node-version_ts_ef89bf83._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/lib_db_ts_e06c6085._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/lib_history-store_ts_2e721df2._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/lib_history-store_ts_74d1c060._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/lib_orchestrator_chat-processor_ts_4c335719._.js +4 -4
- package/cloud-runtime/standalone/.next/server/chunks/lib_sqlite-query-adapter_ts_3ea4d849._.js +5 -5
- package/cloud-runtime/standalone/.next/server/chunks/lib_sqlite-query-adapter_ts_b0b1a9b2._.js +5 -5
- package/cloud-runtime/standalone/.next/server/chunks/lib_vault-store_ts_3718ff79._.js +34 -0
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_18a495c8._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_4223ed10._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_ccc242ec._.js +4 -0
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_d2858615._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_1402a1da._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0f808fa3.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_19315704.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_2aaf71c8.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_2bdede98.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_371d0bff.js +15 -15
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_3d31fed0.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_57a073eb.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_63e89275.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_84e28f38.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_9aff0990.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_cc6c687d.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_dcaa7800.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_def8bfbe.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_e0cc2bbf.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_fce9bc95.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_zod_v4_classic_external_fa90cebf.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_12d46a92._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_138dc200._.js +59 -0
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_914bb19c._.js +59 -0
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_api-route-utils_ts_b7225a0e._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_executor_ts_55c06268._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_executor_ts_a8bc8d58._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_scheduler_ts_d7b7497d._.js +57 -0
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_state-machine_ts_ae1de66e._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_store_ts_d6588a77._.js +56 -0
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_validate_ts_a06b9fab._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__0497a547._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__056cdf7d._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__11e33b9b._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__139838ab._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__19cd257e._.js +1 -1
- 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]__26d669c2._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__351b2cc6._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__38071250._.js +1 -1
- 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]__4ebf5947._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__5ffa2883._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__67d5f883._.js +1 -1
- 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]__6e83bf83._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__71b6d8a9._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__7d279e62._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__8fe8b9dd._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__a0a1cb74._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__a42e4555._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__a667191a._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__aa28d46f._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__ba4308c3._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__bb149a22._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__bd4d5430._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__bde5bc78._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__cde88183._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__d36dd8bc._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__dac5ab29._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__e0c64529._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__e87ba2b0._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__f2c3b7ab._.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/[root-of-the-server]__f62d412e._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__f63d6594._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__fbd1aaff._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__febbd0b8._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__ff22a10e._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__ffbc2e98._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_02c78cac._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_05c8a494._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_0b36c9d6._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_0ff7c687._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_0ffd2660._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_11ce4c04._.js +95 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_173da79d._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_1c58ab2d._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_1d26be78._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_222af282._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_22e99a52._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_23f5fddc._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_24feb541._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_260b10ce._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_32c878b9._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_3aa32c11._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_43472af3._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_47e9a061._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_4bfdfb14._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_4d4ba84b._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_50d04b8f._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_52fe115d._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_547b6462._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_60d0bae4._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_629dc55c._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_69164b06._.js +95 -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/_84a166cb._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_93914ecd._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_a10eb951._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_a1b966f7._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_aa5b4886._.js +8 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_ae20456d._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_ba5903a7._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_cb4d8a23._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_cee3cf86._.js +95 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_dc2072e7._.js +4 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_e04b4053._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_e1769638._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_ed4fece9._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_f1465cc8._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_f2a7beb1._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_f51a3112._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_fc1aaf9e._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_fd0dda03._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_75761787.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_554ec2bf.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_agents_[id]_page_actions_45703105.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_agents_page_actions_2bceb931.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_automations_page_actions_415dbaa9.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_board_page_actions_469e0e61.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_execution-graph_page_actions_3eceb5c1.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_page_actions_39d4fc33.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_projects_[slug]_automations_page_actions_9371bc66.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_projects_[slug]_graph_[taskId]_page_actions_c1473d77.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_projects_[slug]_knowledge_page_actions_1037c40a.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_projects_[slug]_linear_page_actions_0a8dc487.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_projects_orphans_page_actions_6f398ff8.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_projects_page_actions_42ca3f3e.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_settings_page_actions_840229cd.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_status_page_actions_39bbdbbf.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_thread_[id]_page_actions_94774546.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_next-internal_server_app_welcome_page_actions_e32fb27e.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_agents_[id]_page_tsx_9c49d8c8._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_agents_layout_tsx_b9360330._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_agents_page_tsx_f5f08ed8._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_execution-graph_page_tsx_f854185a._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_global-error_tsx_9170b7a0._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_projects_[slug]_graph_[taskId]_page_tsx_d8b1d582._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_projects_[slug]_knowledge_page_tsx_e2a55cbd._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_projects_[slug]_layout_tsx_67c9550a._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_projects_[slug]_linear_page_tsx_971a6ba7._.js +39 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/ce889_server_app_projects_[slug]_thread_[threadId]_page_actions_660a8857.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/components_PromptJobBoard_tsx_f83f722f._.js +8 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/components_chat-ui_bfeda794._.js +10 -6
- package/cloud-runtime/standalone/.next/server/chunks/ssr/components_graph_graph-derived_ts_2b94148f._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/components_thread_WorkspaceSidebar_tsx_e660301b._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_@dnd-kit_core_dist_core_esm_57071f37.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_f76a24fb._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_e8bdedc5._.js +3 -0
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_03ec2107._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_174ae28d._.js +3 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_4b63a0e1._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_61a87db9._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_9774470f._.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_45780354.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_15817684.js +1 -1
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_61c49327.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js +2 -2
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_next_f2865b38._.js +2 -2
- package/cloud-runtime/standalone/.next/server/edge/chunks/[root-of-the-server]__9491d0b8._.js +2 -2
- package/cloud-runtime/standalone/.next/server/edge/chunks/_52aa5b93._.js +1 -1
- package/cloud-runtime/standalone/.next/server/edge/chunks/node_modules_next_dist_esm_build_templates_edge-wrapper_3b93bb62.js +1 -1
- package/cloud-runtime/standalone/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_405b82a5.js +1 -1
- package/cloud-runtime/standalone/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_cd32efca.js +1 -1
- package/cloud-runtime/standalone/.next/server/functions-config-manifest.json +11 -2
- package/cloud-runtime/standalone/.next/server/instrumentation.js +3 -3
- package/cloud-runtime/standalone/.next/server/middleware-build-manifest.js +6 -6
- package/cloud-runtime/standalone/.next/server/middleware-manifest.json +5 -5
- package/cloud-runtime/standalone/.next/server/next-font-manifest.js +1 -1
- package/cloud-runtime/standalone/.next/server/next-font-manifest.json +4 -0
- 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/00716478a3ee55a2.js +37 -0
- package/cloud-runtime/standalone/.next/static/chunks/012b9216c9932478.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/02add5a8d35c53fe.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/{8304e8487aa74059.css → 06003b84da346995.css} +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/081fcf3ea160ca2d.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/0c5b9fe15dda4972.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/14922fd23cdc223b.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/1d8496cecfe9a523.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/1fa91c34c99502bf.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/2362d5c0dcaa5d64.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/2375e3fd2a9b8844.js +2 -0
- package/cloud-runtime/standalone/.next/static/chunks/2618f9566e3788e4.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/2730394502dd3664.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/2a9c83f8211196e0.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/2ac8e643e539b81e.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/2e471cd7ac5cd8fb.js +6 -0
- package/cloud-runtime/standalone/.next/static/chunks/3091043e8c282dce.css +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/335f551791affdd1.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/34dd491bc4ce9561.js +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/657c261f623752de.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/68586017f55137e8.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/73e3194f06db260e.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/797fcb0710da3be2.js +4 -0
- package/cloud-runtime/standalone/.next/static/chunks/818fb0f154cee2c5.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/8b40d0636a2ba3b0.js +28 -0
- package/cloud-runtime/standalone/.next/static/chunks/8fc3ed1915e0659b.js +88 -0
- package/cloud-runtime/standalone/.next/static/chunks/961311cbebbffb6d.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/963060cf6e72339b.js +6 -0
- package/cloud-runtime/standalone/.next/static/chunks/98c20da4973991f0.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/a2a98ae5d4a3e5e3.js +2 -0
- package/cloud-runtime/standalone/.next/static/chunks/a72fbac84e32f665.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/a9da98f883ac833b.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/aa4d86855d0a3a55.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/b2127dc67c5ade9f.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/b3377e39d47c71cf.js +3 -0
- package/cloud-runtime/standalone/.next/static/chunks/b553dba1f51e709b.js +16 -0
- package/cloud-runtime/standalone/.next/static/chunks/b93f49b29a473a1d.js +6 -0
- 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/c3784233f00e1ff5.js +12 -0
- package/cloud-runtime/standalone/.next/static/chunks/c48afb0a7fd0423c.js +28 -0
- package/cloud-runtime/standalone/.next/static/chunks/cb6301624094c91e.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/{787436fad75f5bc6.js → ccaf68956da192f8.js} +2 -2
- package/cloud-runtime/standalone/.next/static/chunks/d96012bcfc98706a.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/db131a0b6350e416.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/de271f8f22d293b4.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/e51fddf53a6dc1e4.js +9 -0
- package/cloud-runtime/standalone/.next/static/chunks/f4360c3e4089263f.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/f8cfa030ea3cb3c3.js +1 -0
- package/cloud-runtime/standalone/.next/static/chunks/turbopack-0ace1f53f3e3cf46.js +4 -0
- package/cloud-runtime/standalone/Dockerfile +5 -5
- package/cloud-runtime/standalone/README.md +37 -5
- package/cloud-runtime/standalone/app/api/automations/route.ts +64 -17
- package/cloud-runtime/standalone/app/api/chat/route.ts +29 -3
- package/cloud-runtime/standalone/app/api/linear/auth/route.ts +14 -0
- package/cloud-runtime/standalone/app/api/linear/callback/route.ts +44 -0
- package/cloud-runtime/standalone/app/api/linear/cycles/route.ts +22 -0
- package/cloud-runtime/standalone/app/api/linear/issues/context/route.ts +26 -0
- package/cloud-runtime/standalone/app/api/linear/issues/route.ts +61 -0
- package/cloud-runtime/standalone/app/api/linear/mcp-setup/route.ts +181 -0
- package/cloud-runtime/standalone/app/api/linear/options/route.ts +31 -0
- package/cloud-runtime/standalone/app/api/linear/runs/[id]/route.ts +81 -0
- package/cloud-runtime/standalone/app/api/linear/runs/route.ts +91 -0
- package/cloud-runtime/standalone/app/api/linear/status/route.ts +38 -0
- package/cloud-runtime/standalone/app/api/linear/token/route.ts +59 -0
- package/cloud-runtime/standalone/app/api/prompt-jobs/route.ts +1 -1
- package/cloud-runtime/standalone/app/api/providers/route.ts +1 -14
- package/cloud-runtime/standalone/app/api/status/route.ts +8 -16
- package/cloud-runtime/standalone/app/projects/[slug]/knowledge/page.tsx +3 -181
- package/cloud-runtime/standalone/app/projects/[slug]/layout.tsx +2 -1
- package/cloud-runtime/standalone/app/projects/[slug]/linear/page.tsx +26 -0
- package/cloud-runtime/standalone/components/LinearBoard.tsx +1369 -0
- package/cloud-runtime/standalone/components/LinearSetup.tsx +239 -0
- package/cloud-runtime/standalone/components/ProjectModal.tsx +15 -3
- package/cloud-runtime/standalone/components/PromptJobBoard.tsx +367 -87
- package/cloud-runtime/standalone/components/chat-ui/ChatContainer.tsx +30 -15
- package/cloud-runtime/standalone/components/chat-ui/Composer.tsx +77 -7
- package/cloud-runtime/standalone/components/chat-ui/MentionPopover.tsx +43 -2
- package/cloud-runtime/standalone/components/thread/WorkspaceSidebar.tsx +53 -48
- package/cloud-runtime/standalone/docs/superpowers/plans/2026-04-07-linear-integration.md +1352 -0
- package/cloud-runtime/standalone/hooks/useGroupChat.ts +4 -1
- package/cloud-runtime/standalone/hooks/useLinearConnection.ts +128 -0
- package/cloud-runtime/standalone/hooks/useLinearIssueMentions.ts +64 -0
- package/cloud-runtime/standalone/hooks/useLinearIssues.ts +98 -0
- package/cloud-runtime/standalone/hooks/useLinearRuns.ts +137 -0
- package/cloud-runtime/standalone/hooks/useMentionAutocomplete.ts +54 -6
- package/cloud-runtime/standalone/hooks/useProjectResources.ts +0 -50
- package/cloud-runtime/standalone/instrumentation.ts +2 -1
- package/cloud-runtime/standalone/lib/app-config.ts +55 -0
- package/cloud-runtime/standalone/lib/chat/composer-routing.ts +128 -0
- package/cloud-runtime/standalone/lib/chat/linear-issue-context.ts +79 -0
- package/cloud-runtime/standalone/lib/cli-runner.ts +15 -15
- package/cloud-runtime/standalone/lib/db.ts +32 -46
- package/cloud-runtime/standalone/lib/knowledge-notes.ts +6 -242
- package/cloud-runtime/standalone/lib/knowledge-store.ts +8 -211
- package/cloud-runtime/standalone/lib/linear-client.ts +427 -0
- package/cloud-runtime/standalone/lib/linear-execution-prompt.ts +153 -0
- package/cloud-runtime/standalone/lib/linear-issue-store.ts +427 -0
- package/cloud-runtime/standalone/lib/linear-issues.ts +360 -0
- package/cloud-runtime/standalone/lib/linear-run-store.ts +374 -0
- package/cloud-runtime/standalone/lib/repo-knowledge.ts +46 -125
- package/cloud-runtime/standalone/lib/security.ts +2 -2
- package/cloud-runtime/standalone/lib/shell-env.ts +71 -0
- package/cloud-runtime/standalone/lib/task-context.ts +3 -13
- package/cloud-runtime/standalone/lib/thread-knowledge.ts +2 -11
- 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/lib/vault-store.ts +2067 -0
- package/cloud-runtime/standalone/mcp/README.md +22 -11
- package/cloud-runtime/standalone/next.config.ts +2 -1
- package/cloud-runtime/standalone/package-lock.json +7 -0
- package/cloud-runtime/standalone/package.json +3 -0
- package/cloud-runtime/standalone/planning/automation-frontmatter-migration-spec.md +710 -0
- package/cloud-runtime/standalone/scripts/backfill-automations-frontmatter.ts +145 -0
- package/cloud-runtime/standalone/scripts/migrate-vault.ts +13 -0
- package/cloud-runtime/standalone/src/automations/adapters.ts +219 -0
- package/cloud-runtime/standalone/src/automations/index.ts +7 -0
- package/cloud-runtime/standalone/src/automations/parser.ts +33 -0
- package/cloud-runtime/standalone/src/automations/repository.ts +440 -0
- package/cloud-runtime/standalone/src/automations/serializer.ts +94 -0
- package/cloud-runtime/standalone/src/automations/state.ts +166 -0
- package/cloud-runtime/standalone/src/automations/types.ts +134 -0
- package/cloud-runtime/standalone/src/automations/validation.ts +337 -0
- package/cloud-runtime/standalone/src/graph/internal-function-dispatcher.ts +2 -5
- package/cloud-runtime/standalone/src/graph/schedule-runner.ts +45 -7
- package/cloud-runtime/standalone/src/graph/store.ts +174 -5
- package/cloud-runtime/standalone/src/prompt-scheduler/store.ts +522 -162
- package/cloud-runtime/standalone/src/prompt-scheduler/types.ts +1 -0
- package/cloud-runtime/standalone/state/automations/.state/24a6a5db-3b14-49c4-841f-29f10f015fbb.json +8 -0
- package/cloud-runtime/standalone/state/automations/active/24a6a5db-3b14-49c4-841f-29f10f015fbb.md +17 -0
- package/cloud-runtime/standalone/styles/composer-pills.css +13 -0
- package/cloud-runtime/standalone/tsconfig.tsbuildinfo +1 -1
- package/cloud-runtime/standalone/worker/index.js +4547 -366
- package/package.json +1 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/memory/route/app-paths-manifest.json +0 -3
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/memory/route.js +0 -9
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/memory/route.js.nft.json +0 -1
- package/cloud-runtime/standalone/.next/server/app/api/projects/[id]/memory/route_client-reference-manifest.js +0 -2
- package/cloud-runtime/standalone/.next/server/app/api/repos/[id]/knowledge/route/app-paths-manifest.json +0 -3
- package/cloud-runtime/standalone/.next/server/app/api/repos/[id]/knowledge/route.js +0 -8
- package/cloud-runtime/standalone/.next/server/app/api/repos/[id]/knowledge/route.js.nft.json +0 -1
- package/cloud-runtime/standalone/.next/server/app/api/repos/[id]/knowledge/route_client-reference-manifest.js +0 -2
- package/cloud-runtime/standalone/.next/server/chunks/[externals]__bc6c7111._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__01cd082e._.js +0 -13
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__0936925d._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__09ca81e1._.js +0 -101
- 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]__1ac3236d._.js +0 -25
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1b0bb735._.js +0 -15
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__1c86bf6e._.js +0 -48
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__20c58b41._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__2126c763._.js +0 -42
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__236c35bb._.js +0 -51
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__277ed37d._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__2f06f568._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__30bd0c87._.js +0 -13
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__374cd94c._.js +0 -42
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3785024c._.js +0 -80
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__379604d4._.js +0 -13
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3c8f1de6._.js +0 -15
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__3d0df5a8._.js +0 -8
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4014ed70._.js +0 -51
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__42fcb81c._.js +0 -52
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4a3cd6ac._.js +0 -13
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__4e522535._.js +0 -6
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__50c24784._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__59d1cdd8._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__644e6285._.js +0 -112
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__65755104._.js +0 -7
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__73c20995._.js +0 -15
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8125bbc3._.js +0 -63
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__85275b88._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__89666394._.js +0 -8
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8c0fb154._.js +0 -13
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__8f5cac13._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__91b22098._.js +0 -8
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__96ae701e._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__98ce983b._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__9a9fd39f._.js +0 -44
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__9ad4e385._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__a01ddd0b._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__a099c992._.js +0 -58
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__a1e62918._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__a9b949c3._.js +0 -7
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__bd43017b._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__bf6fb108._.js +0 -80
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c0a18648._.js +0 -80
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c122c54a._.js +0 -75
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c5b8ceb7._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__c8b49077._.js +0 -79
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__dc542063._.js +0 -15
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__dec3e1b7._.js +0 -30
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f1147a4a._.js +0 -15
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f5597fea._.js +0 -13
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__f8c94cb3._.js +0 -8
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fa79d53f._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fb14cd4a._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fc27a898._.js +0 -158
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fce2cdce._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__fcf0b40a._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/[root-of-the-server]__ffb21023._.js +0 -80
- package/cloud-runtime/standalone/.next/server/chunks/_05fa3b89._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/_22fe5fd2._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/_4190f170._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/_42e9c8d5._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/_5ca51127._.js +0 -54
- package/cloud-runtime/standalone/.next/server/chunks/_5fd6af5d._.js +0 -57
- package/cloud-runtime/standalone/.next/server/chunks/_6519418b._.js +0 -59
- package/cloud-runtime/standalone/.next/server/chunks/_6bb93816._.js +0 -6
- package/cloud-runtime/standalone/.next/server/chunks/_6bc1b3e1._.js +0 -59
- package/cloud-runtime/standalone/.next/server/chunks/_862895c0._.js +0 -57
- package/cloud-runtime/standalone/.next/server/chunks/_8b9fde82._.js +0 -97
- package/cloud-runtime/standalone/.next/server/chunks/_95ac98db._.js +0 -49
- package/cloud-runtime/standalone/.next/server/chunks/_994414cd._.js +0 -54
- package/cloud-runtime/standalone/.next/server/chunks/_99b78daf._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/_affbdbb0._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/_d22934ab._.js +0 -97
- package/cloud-runtime/standalone/.next/server/chunks/_efc73784._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/_fba13a4a._.js +0 -6
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_projects_[id]_memory_route_actions_f0c255ef.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/_next-internal_server_app_api_repos_[id]_knowledge_route_actions_993fe4e5.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/lib_281e5787._.js +0 -16
- package/cloud-runtime/standalone/.next/server/chunks/lib_63067e21._.js +0 -16
- package/cloud-runtime/standalone/.next/server/chunks/lib_87c06aeb._.js +0 -25
- package/cloud-runtime/standalone/.next/server/chunks/lib_a5adca60._.js +0 -64
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_7f8022ab.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_8ec90680.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_a590fcd6.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_14067235._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/src_graph_b63e2d39._.js +0 -46
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__096c39a3._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__47caef59._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__8b4e7816._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__a37fb1c3._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__a456581d._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__d74022f1._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__ea035cd9._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/[root-of-the-server]__fca7df40._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_0c5c111f._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_23656a95._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_27a789b3._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_36b413cc._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_46e00a9b._.js +0 -95
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_478f4991._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_547f19ec._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_85ca101b._.js +0 -8
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_9e07dcac._.js +0 -95
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_a68d8f62._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_a80e12c8._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_b1e1ef71._.js +0 -95
- package/cloud-runtime/standalone/.next/server/chunks/ssr/_e1349560._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/app_welcome_page_tsx_6c79bc59._.js +0 -3
- package/cloud-runtime/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_b82e03da._.js +0 -3
- package/cloud-runtime/standalone/.next/static/chunks/01428247f94115a6.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/06cf0ed16bf8aa70.js +0 -28
- package/cloud-runtime/standalone/.next/static/chunks/0bd6498bda341889.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/0ec92a111fe969fd.css +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/19dd745b663fdffa.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/1a3298f21d1040e9.js +0 -4
- package/cloud-runtime/standalone/.next/static/chunks/1c8583feefee0765.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/1e3dede69b464364.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/238a28856e739dc9.js +0 -2
- package/cloud-runtime/standalone/.next/static/chunks/24772e179852c73e.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/2d1d138d8ea3234c.css +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/2deeba875ec50761.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/2e011469003993e9.js +0 -28
- package/cloud-runtime/standalone/.next/static/chunks/31a4164e40ca71e5.js +0 -6
- package/cloud-runtime/standalone/.next/static/chunks/3a55441b018d52e4.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/3c202e89da05d9b9.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/3c72becf6dff5597.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/44dafb5e85578e12.js +0 -16
- package/cloud-runtime/standalone/.next/static/chunks/48e332ac3e9ed56c.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/5c0819dcc4bfec85.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/5d52c79d9812d06e.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/617db51b7444f818.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/673bb6094cea9ded.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/687d09973325dcf8.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/76a50c4abceb3362.js +0 -12
- package/cloud-runtime/standalone/.next/static/chunks/8a4684388ca0f6de.js +0 -7
- package/cloud-runtime/standalone/.next/static/chunks/9f236cc9572783b9.js +0 -93
- package/cloud-runtime/standalone/.next/static/chunks/a9aaec85125f69b1.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/ac9a7d8cf17b5d75.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/b4c29a62f9255268.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/b6bbe747d2b0dddb.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/badc6258750e247d.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/bc3cad3c821b169b.js +0 -2
- package/cloud-runtime/standalone/.next/static/chunks/bf2bb1662353aff5.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/c1fb885eed94aa8c.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/c653186036e56204.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/cb5581d868e78205.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/cbdeb17a36b99000.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/d5cc62984dc4205c.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/d78cc7d749043fef.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/da2b00558cf32f37.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/ee5f1457fbc593e1.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/ff1a16fafef87110.js +0 -1
- package/cloud-runtime/standalone/.next/static/chunks/turbopack-e1d640f2fbe4fa5e.js +0 -4
- package/cloud-runtime/standalone/app/api/projects/[id]/memory/route.ts +0 -81
- package/cloud-runtime/standalone/app/api/repos/[id]/knowledge/route.ts +0 -98
- /package/cloud-runtime/standalone/.next/server/app/api/{projects/[id]/memory → linear/auth}/route/build-manifest.json +0 -0
- /package/cloud-runtime/standalone/.next/server/app/api/{projects/[id]/memory → linear/auth}/route/server-reference-manifest.json +0 -0
- /package/cloud-runtime/standalone/.next/server/app/api/{projects/[id]/memory → linear/auth}/route.js.map +0 -0
- /package/cloud-runtime/standalone/.next/server/app/api/{repos/[id]/knowledge → linear/callback}/route/build-manifest.json +0 -0
- /package/cloud-runtime/standalone/.next/server/app/api/{repos/[id]/knowledge → linear/callback}/route/server-reference-manifest.json +0 -0
- /package/cloud-runtime/standalone/.next/server/app/api/{repos/[id]/knowledge → linear/callback}/route.js.map +0 -0
- /package/cloud-runtime/standalone/.next/static/{PH4cjH9B7XiWyHWYdevbx → Y8QdDdLJI3yzNjkyPjuJ-}/_buildManifest.js +0 -0
- /package/cloud-runtime/standalone/.next/static/{PH4cjH9B7XiWyHWYdevbx → Y8QdDdLJI3yzNjkyPjuJ-}/_clientMiddlewareManifest.json +0 -0
- /package/cloud-runtime/standalone/.next/static/{PH4cjH9B7XiWyHWYdevbx → Y8QdDdLJI3yzNjkyPjuJ-}/_ssgManifest.js +0 -0
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},59833,e=>{"use strict";function t(e,t){let r=e.prepare(`PRAGMA ${t}`).get();if(!r)return;let s=Object.values(r);return s.length>0?s[0]:void 0}function r(e,t){return e.prepare(`PRAGMA ${t}`).all()}function s(e,t){e.exec(`PRAGMA ${t}`)}function o(e,t){e.exec("BEGIN");try{let r=t();return e.exec("COMMIT"),r}catch(t){throw e.exec("ROLLBACK"),t}}function n(e,t){return(...r)=>{e.exec("BEGIN");try{let s=t(...r);return e.exec("COMMIT"),s}catch(t){throw e.exec("ROLLBACK"),t}}}e.s(["pragmaAll",()=>r,"pragmaGet",()=>t,"pragmaSet",()=>s,"transaction",()=>o,"transactionFn",()=>n])},33405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},49041,e=>{"use strict";let t={id:"2c3cc1ca-956d-4b62-b295-4d2d3374103f",email:process.env.AGX_BOARD_USER_EMAIL||"local@agx.board",name:process.env.AGX_BOARD_USER_NAME||"Local Board User"};e.s(["LOCAL_USER",0,t])},21729,e=>{"use strict";e.x("node:sqlite",()=>require("node:sqlite"),!0);var t=e.i(59833);e.i(22734);var r=e.i(46786),s=e.i(14747);let o="3.35.0",n=["json1"],a=["fts5"],i=["nfs","smb","cifs","efs","fuse.sshfs"];function d(e,t){try{if("json1"===t)return e.prepare("SELECT json('{}')").get(),!0;if("fts5"===t)return e.exec("CREATE VIRTUAL TABLE IF NOT EXISTS _fts5_check USING fts5(x)"),e.exec("DROP TABLE IF EXISTS _fts5_check"),!0;return!1}catch{return!1}}function u(u,l){let c=[],p=u.prepare("SELECT sqlite_version() as v").get();for(let e of(0>function(e,t){let r=e.split(".").map(Number),s=t.split(".").map(Number);for(let e=0;e<3;e++){let t=(r[e]||0)-(s[e]||0);if(0!==t)return t}return 0}(p.v,o)&&c.push({kind:"version_mismatch",message:`SQLite version ${p.v} is below minimum ${o}`,found:p.v,required:`>= ${o}`,fix:"Ensure Node.js >= 22.16 is installed (node:sqlite is built-in)"}),n))d(u,e)||c.push({kind:"missing_extension",message:`Required SQLite extension '${e}' is not available`,required:e,fix:`Rebuild SQLite with -DSQLITE_ENABLE_${e.toUpperCase()}=1, or use a system SQLite that includes it`});for(let e of a)d(u,e)||console.warn(`[startup] Recommended SQLite extension '${e}' is not available. Full-text search will be disabled.`);let h=function(t){"linux"!==r.default.platform()&&r.default.platform();try{let o=s.default.resolve(t),{execSync:n}=e.r(33405);if("darwin"===r.default.platform()){let e=n(`df -T "${o}" 2>/dev/null || df "${o}"`,{encoding:"utf-8",timeout:3e3}).trim().split("\n");if(e.length>=2){let t=e[1].split(/\s+/),r=t[0]?.toLowerCase()||"";if(r.includes("://")||r.includes("nfs")||r.includes("smb"))return r}}}catch{}return null}(l);h&&i.some(e=>h.toLowerCase().includes(e))&&c.push({kind:"filesystem_error",message:`Database path '${l}' is on a network filesystem (${h})`,path:l,found:h,fix:"Move the database file to a local SSD. WAL mode requires local filesystem with reliable fsync."});try{(0,t.pragmaSet)(u,"journal_mode = wal"),(0,t.pragmaSet)(u,"foreign_keys = 1"),(0,t.pragmaSet)(u,"busy_timeout = 5000"),(0,t.pragmaSet)(u,"synchronous = 1"),(0,t.pragmaSet)(u,"cache_size = -64000");let e=(0,t.pragmaGet)(u,"journal_mode").toLowerCase(),r=new Set(["wal","delete"]);if(!r.has(e)){(0,t.pragmaSet)(u,"journal_mode = DELETE");let e=(0,t.pragmaGet)(u,"journal_mode").toLowerCase();r.has(e)?((0,t.pragmaSet)(u,"synchronous = FULL"),console.warn(`[startup] WAL unavailable, using journal_mode=${e} with synchronous=FULL`)):c.push({kind:"pragma_error",message:`Failed to set journal_mode (got '${e}', tried WAL then DELETE)`,found:e,required:"wal or delete",fix:"Ensure the database file is on a local filesystem and no other process holds an exclusive lock."})}}catch(e){c.push({kind:"pragma_error",message:`Failed to apply required PRAGMAs: ${e.message}`,fix:"Check file permissions and ensure the database is not read-only."})}return c}e.s(["validateSQLiteEnvironment",()=>u])},24868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},97812,e=>{"use strict";var t=e.i(60447),r=e.i(59833);let s=new Set(["replan","rollback"]);class o extends Error{expectedVersion;actualVersion;constructor(e,t){super(`Execution graph version conflict: expected ${e}, found ${t}.`),this.name="GraphVersionConflictError",this.expectedVersion=e,this.actualVersion=t}}class n extends Error{constructor(e){super(`Execution graph not found: ${e}`),this.name="GraphNotFoundError"}}class a extends Error{nodeIds;constructor(e,t){super(`Execution graph ${e} is missing node(s): ${t.join(", ")}`),this.name="GraphNodeNotFoundError",this.nodeIds=t}}class i extends Error{taskId;existingGraphId;constructor(e,t){super(`Task ${e} is already bound to execution graph ${t}.`),this.name="GraphTaskAlreadyBoundError",this.taskId=e,this.existingGraphId=t}}function d(e){return null==e?null:JSON.stringify(e)}function u(e){if(null==e)return null;if("string"==typeof e)try{return JSON.parse(e)}catch{}return e}function l(e){let t=Date.parse(e);return Number.isNaN(t)?e:new Date(t).toISOString()}function c(e){return!e||"object"!=typeof e||Array.isArray(e)?{}:e}function p(e){let{type:t,status:r,metrics:s,output:o,...n}=e;return{type:t,status:r,config:n,output:o??null,metrics:s??null}}function h(e){let t={...c(u(e.payload))};return"eventType"in t||(t.eventType=e.event_type),"timestamp"in t||(t.timestamp=l(e.timestamp)),t}function g(e){return{query(t,r){let s=e.prepare(t);return/^\s*(INSERT|UPDATE|DELETE)/i.test(t)&&!/RETURNING/i.test(t)?(s.run(...(r??[]).map(e=>e)),{rows:[]}):{rows:s.all(...(r??[]).map(e=>e))}}}}class f{getDb(){return(0,t.getSQLiteDb)()}createGraph(e,t){let s=this.getDb(),o=g(s);t?.skipTaskBinding&&(0,r.pragmaSet)(s,"foreign_keys = OFF");try{return(0,r.transaction)(s,()=>{let r=o.query("SELECT id FROM execution_graphs WHERE task_id = ? LIMIT 1",[e.taskId]).rows[0];if(r&&r.id!==e.id)throw new i(e.taskId,r.id);for(let[t,r]of(o.query(`INSERT INTO execution_graphs
|
|
2
|
-
(id, task_id, graph_version, mode, policy, done_criteria, schedule, created_at, updated_at)
|
|
3
|
-
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
4
|
-
ON CONFLICT (id) DO UPDATE SET
|
|
5
|
-
task_id = excluded.task_id,
|
|
6
|
-
graph_version = excluded.graph_version,
|
|
7
|
-
mode = excluded.mode,
|
|
8
|
-
policy = excluded.policy,
|
|
9
|
-
done_criteria = excluded.done_criteria,
|
|
10
|
-
schedule = excluded.schedule,
|
|
11
|
-
created_at = excluded.created_at,
|
|
12
|
-
updated_at = excluded.updated_at`,[e.id,e.taskId,e.graphVersion,e.mode,d(e.policy),d(e.doneCriteria),d(e.schedule??null),e.createdAt,e.updatedAt]),o.query("DELETE FROM graph_nodes WHERE graph_id = ?",[e.id]),o.query("DELETE FROM graph_edges WHERE graph_id = ?",[e.id]),Object.entries(e.nodes))){let s=p(r);o.query(`INSERT INTO graph_nodes (graph_id, node_id, type, status, config, output, metrics)
|
|
13
|
-
VALUES (?, ?, ?, ?, ?, ?, ?)`,[e.id,t,s.type,s.status,d(s.config),d(s.output),d(s.metrics)])}for(let t of e.edges)o.query(`INSERT INTO graph_edges (graph_id, from_id, to_id, type, condition, data_mapping)
|
|
14
|
-
VALUES (?, ?, ?, ?, ?, ?)`,[e.id,t.from,t.to,t.type,t.condition??null,d(t.dataMapping??null)]);for(let t of e.versionHistory)this.appendEventInternal(o,e.id,t);for(let t of e.runtimeEvents??[])this.appendEventInternal(o,e.id,t);t?.skipTaskBinding||o.query("UPDATE tasks SET graph_id = ? WHERE id = ?",[e.id,e.taskId]);let s=this.getGraphForTask(o,e.taskId);if(!s)throw new n(e.id);return s})}finally{t?.skipTaskBinding&&(0,r.pragmaSet)(s,"foreign_keys = ON")}}getGraph(e){let t=this.getDb();return this.getGraphForTask(g(t),e)}updateNodeRuntime(e,t,s){let o=this.getDb(),i=g(o);return(0,r.transaction)(o,()=>{if(!i.query("SELECT id, graph_version FROM execution_graphs WHERE id = ?",[e]).rows[0])throw new n(e);let r=Object.keys(t);if(0===r.length){let t=i.query("SELECT graph_version, updated_at FROM execution_graphs WHERE id = ?",[e]);return{graphVersion:t.rows[0].graph_version,updatedAt:l(t.rows[0].updated_at)}}let s=r.map(()=>"?").join(", "),o=i.query(`SELECT node_id, type, status, config, output, metrics
|
|
15
|
-
FROM graph_nodes WHERE graph_id = ? AND node_id IN (${s})`,[e,...r]),p=new Map;for(let e of o.rows)p.set(e.node_id,e);let h=r.filter(e=>!p.has(e));if(h.length>0)throw new a(e,h);for(let s of r){let r=t[s],o=p.get(s);if(!o||!r)continue;let n={...c(u(o.config)),...c(r.configPatch)};void 0!==r.startedAt&&(n.startedAt=r.startedAt),void 0!==r.completedAt&&(n.completedAt=r.completedAt),void 0!==r.actualMinutes&&(n.actualMinutes=r.actualMinutes),i.query(`UPDATE graph_nodes SET status = ?, metrics = ?, output = ?, config = ?
|
|
16
|
-
WHERE graph_id = ? AND node_id = ?`,[r.status??o.status,d(r.metrics??u(o.metrics)),d(r.output??u(o.output)),d(n),e,s])}let g=i.query("UPDATE execution_graphs SET updated_at = datetime('now') WHERE id = ? RETURNING graph_version, updated_at",[e]);return{graphVersion:g.rows[0].graph_version,updatedAt:l(g.rows[0].updated_at)}})}updateGraphStructure(e,t,s){let o=this.getDb(),a=g(o);return(0,r.transaction)(o,()=>{let r=a.query("SELECT id, graph_version, mode, policy, done_criteria, schedule FROM execution_graphs WHERE id = ?",[e]).rows[0];if(!r)throw new n(e);if(t.nodes)for(let[r,s]of(a.query("DELETE FROM graph_nodes WHERE graph_id = ?",[e]),Object.entries(t.nodes))){let t=p(s);a.query(`INSERT INTO graph_nodes (graph_id, node_id, type, status, config, output, metrics)
|
|
17
|
-
VALUES (?, ?, ?, ?, ?, ?, ?)`,[e,r,t.type,t.status,d(t.config),d(t.output),d(t.metrics)])}if(t.edges)for(let r of(a.query("DELETE FROM graph_edges WHERE graph_id = ?",[e]),t.edges))a.query(`INSERT INTO graph_edges (graph_id, from_id, to_id, type, condition, data_mapping)
|
|
18
|
-
VALUES (?, ?, ?, ?, ?, ?)`,[e,r.from,r.to,r.type,r.condition??null,d(r.dataMapping??null)]);let s=a.query(`UPDATE execution_graphs
|
|
19
|
-
SET mode = ?, policy = ?, done_criteria = ?, schedule = ?, updated_at = datetime('now')
|
|
20
|
-
WHERE id = ?
|
|
21
|
-
RETURNING graph_version, updated_at`,[t.mode??r.mode,d(t.policy??u(r.policy)??{}),d(t.doneCriteria??u(r.done_criteria)??{}),d(t.schedule??u(r.schedule)??null),e]);return{graphVersion:s.rows[0].graph_version,updatedAt:l(s.rows[0].updated_at)}})}appendEvent(e,t){let r=this.getDb();this.appendEventInternal(g(r),e,t)}getGraphForTask(e,t){let r=e.query(`SELECT id, task_id, graph_version, mode, policy, done_criteria, schedule, created_at, updated_at
|
|
22
|
-
FROM execution_graphs WHERE task_id = ? ORDER BY updated_at DESC LIMIT 1`,[t]).rows[0];if(!r)return null;let o=e.query(`SELECT node_id, type, status, config, output, metrics
|
|
23
|
-
FROM graph_nodes WHERE graph_id = ? ORDER BY node_id ASC`,[r.id]),n=e.query(`SELECT from_id, to_id, type, condition, data_mapping
|
|
24
|
-
FROM graph_edges WHERE graph_id = ? ORDER BY from_id ASC, to_id ASC`,[r.id]),a=e.query(`SELECT event_type, payload, timestamp
|
|
25
|
-
FROM graph_events WHERE graph_id = ? ORDER BY timestamp ASC, event_type ASC`,[r.id]),i={};for(let e of o.rows)i[e.node_id]=function(e){let t={...c(u(e.config)),type:e.type,status:e.status},r=u(e.metrics);null!==r&&(t.metrics=r);let s=u(e.output);return null!==s&&(t.output=s),t}(e);let d=n.rows.map(e=>({from:e.from_id,to:e.to_id,type:e.type,...e.condition?{condition:u(e.condition)}:{},...e.data_mapping?{dataMapping:u(e.data_mapping)}:{}})),p=[],g=[];for(let e of a.rows){let t=h(e);s.has(t.eventType)?p.push(t):g.push(t)}return{id:r.id,taskId:r.task_id,graphVersion:r.graph_version,mode:r.mode,nodes:i,edges:d,policy:u(r.policy)??{},doneCriteria:u(r.done_criteria)??{},schedule:u(r.schedule)??void 0,versionHistory:p,runtimeEvents:g,createdAt:l(r.created_at),updatedAt:l(r.updated_at)}}appendEventInternal(e,t,r){e.query(`INSERT INTO graph_events (graph_id, event_type, payload, timestamp)
|
|
26
|
-
VALUES (?, ?, ?, ?)`,[t,r.eventType,d(r),r.timestamp])}}function m(){return new f}let E=new f;function _(e,t){return E.createGraph(e,t)}function S(e){return E.getGraph(e)}function T(e,t,r){return E.updateNodeRuntime(e,t,r)}function k(e,t,r){return E.updateGraphStructure(e,t,r)}function R(e,t){return E.appendEvent(e,t)}function y(e,r={}){let s=["graph_id = ?"],o=[e];r.eventType&&(s.push("event_type = ?"),o.push(r.eventType)),r.since&&(s.push("timestamp >= ?"),o.push(r.since));let n=r.limit??1e3,a=`SELECT event_type, payload, timestamp
|
|
27
|
-
FROM graph_events
|
|
28
|
-
WHERE ${s.join(" AND ")}
|
|
29
|
-
ORDER BY timestamp ASC, event_type ASC
|
|
30
|
-
LIMIT ?`;return o.push(n),g((0,t.getSQLiteDb)()).query(a,o).rows.map(e=>h(e))}function x(e){let r=e.trim();return r?(0,t.getSQLiteDb)().prepare(`SELECT id AS graphId, task_id AS taskId
|
|
31
|
-
FROM execution_graphs
|
|
32
|
-
WHERE schedule IS NOT NULL
|
|
33
|
-
AND json_extract(schedule, '$.rootMessageId') = ?
|
|
34
|
-
AND json_extract(schedule, '$.state') = 'active'
|
|
35
|
-
ORDER BY updated_at DESC
|
|
36
|
-
LIMIT 1`).get(r)??null:null}function v(){return(0,t.getSQLiteDb)().prepare(`SELECT json_extract(schedule, '$.rootMessageId') AS rootMessageId
|
|
37
|
-
FROM execution_graphs
|
|
38
|
-
WHERE schedule IS NOT NULL
|
|
39
|
-
AND json_extract(schedule, '$.state') = 'active'`).all().map(e=>e.rootMessageId).filter(Boolean)}function I(e){let r=e.trim();return r?Number((0,t.getSQLiteDb)().prepare(`UPDATE execution_graphs
|
|
40
|
-
SET schedule = json_set(schedule, '$.state', 'stopped', '$.tickInProgress', json('false')),
|
|
41
|
-
updated_at = strftime('%Y-%m-%dT%H:%M:%fZ','now')
|
|
42
|
-
WHERE schedule IS NOT NULL
|
|
43
|
-
AND json_extract(schedule, '$.rootMessageId') = ?
|
|
44
|
-
AND json_extract(schedule, '$.state') = 'active'`).run(r).changes??0):0}e.s(["GraphNodeNotFoundError",()=>a,"GraphNotFoundError",()=>n,"GraphStore",()=>f,"GraphTaskAlreadyBoundError",()=>i,"GraphVersionConflictError",()=>o,"appendEvent",()=>R,"createGraph",()=>_,"createGraphStore",()=>m,"deactivateSchedulesByRootMessageId",()=>I,"getActiveScheduleForRootMessageId",()=>x,"getActiveScheduleRootMessageIds",()=>v,"getGraph",()=>S,"getGraphEvents",()=>y,"updateGraphStructure",()=>k,"updateNodeRuntime",()=>T])},79042,e=>{"use strict";e.s(["DEFAULT_EXECUTION_POLICY",0,{replanBudgetRemaining:3,replanBudgetInitial:3,verifyBudgetRemaining:5,verifyBudgetInitial:5,maxConcurrentAutoChecks:1,immutableRequiredGates:!0,maxConcurrent:3,priorityMode:"fifo",nodeTimeoutMs:18e5,graphTimeoutMs:864e5},"FAILURE_NODE_STATUSES",0,["failed"],"INCOMPLETE_FOR_DONE_STATUSES",0,["pending","running","awaiting_human","blocked"],"SOFT_DEP_SATISFIED_STATUSES",0,["done","passed","failed","skipped","blocked"],"SUCCESS_NODE_STATUSES",0,["done","passed"],"TERMINAL_NODE_STATUSES",0,["done","passed","failed","skipped"]])},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},36269,e=>{"use strict";var t=e.i(248);function r(e,t=Date.now()){let s=t=>({graph:e,tickFired:!1,resetNodeIds:[],skipReason:t});if(!e.schedule)return s("no_schedule");let o=e.schedule;if("active"!==o.state)return s("not_active");if(o.tickInProgress)return s("tick_in_progress");if(null!=o.maxRuns&&o.runCount>=o.maxRuns)return s("max_runs_reached");if(o.cronExpr&&"number"==typeof o.nextTickAt){if(t<o.nextTickAt)return s("not_due")}else if(t-(o.lastTickAt??0)<o.intervalMs)return s("not_due");let n=JSON.parse(JSON.stringify(e)),a=[];for(let e of o.resetNodeIds){let t=n.nodes[e];t&&("done"===t.status||"passed"===t.status||"failed"===t.status||"skipped"===t.status)&&(n.nodes[e]={...t,status:"pending",startedAt:void 0,completedAt:void 0,metrics:void 0,..."function"===t.type?{output:void 0}:{},..."conditional"===t.type?{evaluatedTo:void 0}:{}},a.push(e))}return n.schedule={...o,tickInProgress:!0,lastTickAt:t,runCount:o.runCount+1},{graph:n,tickFired:!0,resetNodeIds:a}}function s(e){if(!e.schedule||!e.schedule.tickInProgress)return e;let r=e.schedule,s=r.nextTickAt;return r.cronExpr&&(s=(0,t.computeNextTickFromCron)(r.cronExpr)),{...e,schedule:{...r,tickInProgress:!1,nextTickAt:s}}}function o(e){if(!e.schedule)return!0;let t=new Set(["done","passed","failed","skipped"]);for(let r of e.schedule.resetNodeIds){let s=e.nodes[r];if(s&&!t.has(s.status))return!1}return!0}function n(e,t=6e4,r){return{intervalMs:t,state:"active",resetNodeIds:e,maxRuns:r,runCount:0,tickInProgress:!1,createdAt:new Date().toISOString()}}e.s(["completeScheduleTick",()=>s,"createThreadMonitorSchedule",()=>n,"isScheduleTickComplete",()=>o,"scheduleTickIfDue",()=>r])},71080,e=>{"use strict";var t=e.i(60447),r=e.i(36269),s=e.i(248),o=e.i(33601),n=e.i(97812);function a(){return(0,t.getSQLiteDb)().prepare(`
|
|
45
|
-
SELECT task_id, id, schedule
|
|
46
|
-
FROM execution_graphs
|
|
47
|
-
WHERE schedule IS NOT NULL
|
|
48
|
-
AND json_extract(schedule, '$.state') = 'active'
|
|
49
|
-
`).all().map(e=>({taskId:e.task_id,graphId:e.id,schedule:JSON.parse(e.schedule)}))}async function i(e={}){let t=new n.GraphStore,d={tickedGraphIds:[],skippedGraphIds:[],errors:[],pendingWork:[]},u=a();for(let{taskId:n}of(console.log(`[schedules:poll] found ${u.length} active schedule(s)`),u))try{let a=t.getGraph(n);if(!a){d.errors.push({graphId:n,error:Error("Graph not found")});continue}let i=(0,r.scheduleTickIfDue)(a);if(!i.tickFired){console.log(`[schedules:poll] ${n} skipped (${i.skipReason??"unknown"})`),d.skippedGraphIds.push(n);continue}console.log(`[schedules:poll] ${n} tick fired — resetting nodes`),t.updateGraphStructure(i.graph.id,{nodes:i.graph.nodes,schedule:i.graph.schedule});let u=(0,s.schedulerTick)(i.graph,e);console.log(`[schedules:poll] ${n} scheduler: fn=${u.functionToRun.length} work=${u.workToRun.length}`);let l=u.graph;for(let t of u.functionToRun){let r=l.nodes[t];if(r&&"function"===r.type)try{console.log(`[schedules:poll] ${n} executing function node "${t}"`);let r=await (0,o.executeNode)(l,t,e),s=r.graph.nodes[t];console.log(`[schedules:poll] ${n} function "${t}" → ${s?.status}`,s&&"output"in s?JSON.stringify(s.output)?.slice(0,200):""),l=r.graph}catch(e){console.error(`[schedules:poll] ${n} function "${t}" error:`,e),d.errors.push({graphId:n,error:e instanceof Error?e:Error(String(e))})}}t.updateGraphStructure(l.id,{nodes:l.nodes});let c=(0,s.schedulerTick)(l,e);for(let t of(console.log(`[schedules:poll] ${n} post-fn scheduler: cond=${c.control.conditionalNodeIds.length} work=${c.workToRun.length}`),l=c.graph,c.workToRun)){let r=l.nodes[t];if(r&&"work"===r.type)try{l=(await (0,o.executeNode)(l,t,e)).graph}catch(e){d.errors.push({graphId:n,error:e instanceof Error?e:Error(String(e))})}}if(c.workToRun.length>0){d.pendingWork.push({taskId:n,nodeIds:c.workToRun,graph:l}),t.updateGraphStructure(l.id,{nodes:l.nodes});let r=(0,s.schedulerTick)(l,e);for(let t of(console.log(`[schedules:poll] ${n} post-work scheduler: fn=${r.functionToRun.length} cond=${r.control.conditionalNodeIds.length}`),l=r.graph,r.functionToRun)){let r=l.nodes[t];if(r&&"function"===r.type)try{console.log(`[schedules:poll] ${n} executing post-work function "${t}"`),l=(await (0,o.executeNode)(l,t,e)).graph}catch(e){console.error(`[schedules:poll] ${n} post-work function "${t}" error:`,e),d.errors.push({graphId:n,error:e instanceof Error?e:Error(String(e))})}}}t.updateGraphStructure(l.id,{nodes:l.nodes});let p=Object.entries(l.nodes).map(([e,t])=>`${e}:${t.status}`).join(", ");console.log(`[schedules:poll] ${n} node states: ${p}`);let h=(0,r.isScheduleTickComplete)(l);if(console.log(`[schedules:poll] ${n} tick complete? ${h}`),h){let e=(0,r.completeScheduleTick)(l),s=e.schedule?.resetNodeIds.some(t=>e.nodes[t]?.status==="failed");if(e.schedule){let t=e.schedule.consecutiveFailures??0,r=s?t+1:0;e.schedule={...e.schedule,consecutiveFailures:r};let o=e.schedule.maxConsecutiveFailures;null!=o&&r>=o&&(e.schedule={...e.schedule,state:"paused"})}let o=t.getGraph(n);o?.schedule?.state==="stopped"&&(console.log(`[schedules:poll] ${n} schedule was stopped mid-tick, preserving stopped state`),e.schedule={...e.schedule,state:"stopped"}),t.updateGraphStructure(e.id,{nodes:e.nodes,schedule:e.schedule})}d.tickedGraphIds.push(n)}catch(e){console.error(`[schedules:poll] ${n} caught error:`,e),d.errors.push({graphId:n,error:e instanceof Error?e:Error(String(e))});try{let e=t.getGraph(n);if(e?.schedule?.tickInProgress){let s=(0,r.completeScheduleTick)(e);t.updateGraphStructure(s.id,{nodes:s.nodes,schedule:s.schedule}),console.log(`[schedules:poll] ${n} force-completed stuck tick`)}}catch{}}return d}async function d(e,t={}){let a=new n.GraphStore,i=a.getGraph(e);if(!i)return{fired:!1,graph:null,error:Error("Graph not found")};if(!i.schedule)return{fired:!1,graph:i,error:Error("No schedule on graph")};let u=(0,r.scheduleTickIfDue)(i);if(!u.tickFired)return{fired:!1,graph:u.graph};a.updateGraphStructure(u.graph.id,{nodes:u.graph.nodes,schedule:u.graph.schedule});let l=u.graph,c=0;for(;;){c++;let e=Object.entries(l.nodes).map(([e,t])=>`${e}:${t.status}`).join(", ");console.log(`[schedules:tick] loop ${c} nodes before: ${e}`);let n=(0,s.schedulerTick)(l,t);for(let e of(console.log(`[schedules:tick] loop ${c} fn=${n.functionToRun.length} work=${n.workToRun.length} cond=${n.control.conditionalNodeIds.length}`),n.functionToRun)){let r=l.nodes[e];r&&"function"===r.type&&(l=(await (0,o.executeNode)(l,e,t)).graph,console.log(`[schedules:tick] fn "${e}" → ${l.nodes[e]?.status}`))}for(let e of(n.control.conditionalNodeIds.length>0&&(l=n.graph,console.log(`[schedules:tick] applied conditional results: ${n.control.conditionalNodeIds.join(", ")}`)),n.workToRun))l=(await (0,o.executeNode)(l,e,t)).graph;let a=Object.entries(l.nodes).map(([e,t])=>`${e}:${t.status}`).join(", ");if(console.log(`[schedules:tick] loop ${c} nodes after: ${a}`),(0,r.isScheduleTickComplete)(l)){console.log(`[schedules:tick] tick complete after loop ${c}`);break}if(n.complete||!(n.workToRun.length>0||n.functionToRun.length>0))break}let p=(0,r.completeScheduleTick)(l);return a.updateGraphStructure(p.id,{nodes:p.nodes,schedule:p.schedule}),{fired:!0,graph:p}}e.s(["executeScheduleTick",()=>d,"getGraphsWithActiveSchedules",()=>a,"pollSchedules",()=>i])},26057,e=>{"use strict";var t=e.i(33405);function r(e,t){let r="string"==typeof e.args?.rootMessageId?e.args.rootMessageId.trim():"";return r||(t.schedule?.rootMessageId?.trim()??"")}async function s(t){try{let{getSQLiteDb:r}=await e.A(18801),s=r(),o=s.prepare("SELECT project_id FROM project_threads WHERE thread_id = ? ORDER BY created_at ASC LIMIT 1").get(t);if(!o?.project_id)return null;let n=s.prepare("SELECT agent_id FROM project_agents WHERE project_id = ? ORDER BY routing_order ASC, created_at ASC LIMIT 1").get(o.project_id);return n?.agent_id??null}catch{return null}}async function o(t,s){let o=r(t,s);if(!o)return{status:"failure",message:"thread-status requires rootMessageId"};let{getMessageThread:n,getThreadStatusSnapshot:a,sweepStaleWorkingReactions:i}=await e.A(18760),d=await n(o);if(!d)return{status:"failure",message:`Thread not found for rootMessageId: ${o}`};await i(d.threadId);let u=await a({threadId:d.threadId,rootMessageId:o});return{status:"success",output:{activeProcessCount:u.processes.filter(e=>"working"===e.status).length,messageCount:u.messages?.length??0,threadId:d.threadId,lastUpdatedAt:u.lastUpdatedAt}}}async function n(t,o){let n=r(t,o);if(!n)return{status:"failure",message:"ship-mode-act requires rootMessageId"};let a=function(e,t){let r="string"==typeof e.args?.steerNodeId&&e.args.steerNodeId.trim()?e.args.steerNodeId.trim():"steer",s=t.nodes[r];if(!s||"work"!==s.type)return null;let o=s.output;return o&&"object"==typeof o?{isDone:!!o.isDone,message:"string"==typeof o.message?o.message:""}:null}(t,o);if(!a)return{status:"failure",message:"Unable to read steer node output"};let{getMessageThread:i,saveMessages:d,updateMessageStatus:u}=await e.A(18760),{deactivateSchedulesByRootMessageId:l}=await e.A(32025),c=await i(n);if(!c)return{status:"failure",message:`Thread not found for rootMessageId: ${n}`};if(a.isDone)return l(n),await u(c.threadId,n,"in-review",null),{status:"success",output:{done:!0,action:"stopped_and_in_review"}};let p=await s(c.threadId),h=crypto.randomUUID();return await d(c.threadId,[{id:h,role:"assistant",participantId:p,content:a.message,timestamp:Date.now(),rootMessageId:n,parentMessageId:n,depth:1}]),{status:"success",output:{done:!1,action:"sent_next_steps",sender:p,messageId:h}}}async function a(e,t){if("internal"!==e.kind)return{status:"failure",message:`Unsupported function node kind: ${e.kind}`};switch(e.command){case"thread-status":return o(e,t);case"ship-mode-act":return n(e,t);default:return{status:"failure",message:`Unsupported internal function command: ${e.command}`}}}async function i(e,r){if("bash"!==e.kind)return{status:"failure",message:`Unsupported function node kind: ${e.kind}`};let s=e.command;if(!s||""===s.trim())return{status:"failure",message:"Empty command"};let o=e.timeoutMs??3e4;return new Promise(e=>{let r="",n="",a=0,i=!1,d=!1,u=(0,t.spawn)(s,[],{shell:!0,timeout:o,killSignal:"SIGTERM"}),l=setTimeout(()=>{d=!0,u.kill("SIGTERM")},o);u.stdout.on("data",e=>{if(i)return;let t=Buffer.byteLength(e.toString(),"utf8");if(a+t>65536){i=!0;return}r+=e.toString(),a+=t}),u.stderr.on("data",e=>{n+=e.toString()}),u.on("error",t=>{clearTimeout(l),e({status:"failure",message:`Failed to spawn command: ${t.message}`,error:t})}),u.on("close",t=>{if(clearTimeout(l),d)return void e({status:"failure",message:`Command timed out after ${o}ms`});if(i)return void e({status:"failure",message:"Stdout exceeded 65536 bytes limit"});if(0!==t)return void e({status:"failure",message:`Command exited with code ${t}: ${n||"(no stderr)"}`});let s=r.trim();if(""===s)return void e({status:"success",output:{}});try{let t=JSON.parse(s);e({status:"success",output:t})}catch{e({status:"success",output:{raw:s}})}})})}function d(){return async(e,t)=>{switch(e.kind){case"bash":return i(e,t);case"internal":return a(e,t);default:return{status:"failure",message:`Unsupported function node kind: ${e.kind}`}}}}e.s(["createDispatchFunction",()=>d,"dispatchBashFunction",()=>i],26057)},97127,e=>{"use strict";var t=e.i(2157),r=e.i(50227),s=e.i(60526);let o=`You are a progress assessor. Review the conversation state below and determine:
|
|
50
|
-
1. Is the work DONE? (all objectives met, code written, tests passing)
|
|
51
|
-
2. If not done, what should the team do next?
|
|
52
|
-
|
|
53
|
-
You MUST respond with ONLY a JSON object, no markdown fences, no extra text:
|
|
54
|
-
{"isDone": true/false, "message": "your assessment"}
|
|
55
|
-
|
|
56
|
-
If done, message should confirm what was accomplished.
|
|
57
|
-
If not done, message must be exactly one message that combines:
|
|
58
|
-
- a brief assessment of what is done vs. not done
|
|
59
|
-
- the concrete next steps for the team
|
|
60
|
-
|
|
61
|
-
Do not produce separate status and instruction messages.`;function n(){return async(n,a)=>{let i=a.schedule?.rootMessageId;if(!i)return{status:"failure",message:"No rootMessageId on graph schedule"};console.log(`[work-dispatch] Dispatching steer node "${n.title}" for graph ${a.id} (root: ${i})`);try{let{getMessageThread:n,getThreadStatusSnapshot:a,sweepStaleWorkingReactions:d}=await e.A(18760),u=await n(i);if(!u)return{status:"failure",message:`Thread not found for rootMessageId: ${i}`};await d(u.threadId);let l=await a({threadId:u.threadId,rootMessageId:i}),c=l.processes.filter(e=>"working"===e.status).length,p=(l.messages??[]).slice(-10).map(e=>{let t=e.participantId??e.role??"?",r=(e.content??"").slice(0,300);return`[${t}]: ${r}`}).join("\n");console.log(`[work-dispatch] Thread: active=${c}, msgs=${l.messages?.length??0}`);let h=["--- THREAD STATE ---",`Active agents: ${c}`,`Total messages: ${l.messages?.length??0}`,"\nRecent messages:",p,"--- END THREAD STATE ---\n\nAssess the progress and respond with the JSON object."].join("\n"),{runCliResponse:g}=await e.A(31259),f=function(e){switch(e){case"claude":case"gemini":case"ollama":case"codex":case"zai":return e;default:return"claude"}}(function(){try{let e=(0,r.join)((0,s.homedir)(),".agx","config.json");return JSON.parse((0,t.readFileSync)(e,"utf8")).defaultProvider??"claude"}catch{return"claude"}}());console.log(`[work-dispatch] Calling ${f} via runCliResponse (prompt length: ${h.length})...`);let m="";await g({provider:f,model:null,prompt:h,systemContext:o,onDelta:e=>{m+=e},onLog:(e,t)=>{console.log(`[work-dispatch] [${e}] ${t}`)}}),console.log(`[work-dispatch] Raw response: ${m.slice(0,500)}`);let E=function(e){let t=e.match(/\{[\s\S]*?"isDone"\s*:\s*(true|false)[\s\S]*?\}/);if(t)try{let e=JSON.parse(t[0]);return{isDone:!!e.isDone,message:String(e.message??"")}}catch{}return e.includes("[done]")?{isDone:!0,message:e}:{isDone:!1,message:e}}(m.trim());return console.log("[work-dispatch] Parsed result:",E),{status:"success",output:E}}catch(e){return console.error("[work-dispatch] Steer dispatch failed:",e),{status:"failure",message:e instanceof Error?e.message:String(e),error:e}}}}e.s(["createDispatchWork",()=>n])},30995,e=>{"use strict";var t=e.i(47909),r=e.i(74017),s=e.i(96250),o=e.i(59756),n=e.i(61916),a=e.i(74677),i=e.i(69741),d=e.i(16795),u=e.i(87718),l=e.i(95169),c=e.i(47587),p=e.i(66012),h=e.i(70101),g=e.i(74838),f=e.i(10372),m=e.i(93695);e.i(52474);var E=e.i(220),_=e.i(94028),S=e.i(71080),T=e.i(26057),k=e.i(97127);async function R(e){try{let t=await e.json().catch(()=>({})),r=(0,T.createDispatchFunction)(),s=(0,k.createDispatchWork)();if(t.taskId){let e=await (0,S.executeScheduleTick)(t.taskId,{dispatchFunction:r,dispatchWork:s});return _.NextResponse.json({success:e.fired,taskId:t.taskId,error:e.error?.message??null})}let o=await (0,S.pollSchedules)({dispatchFunction:r,dispatchWork:s});return _.NextResponse.json({success:!0,tickedGraphIds:o.tickedGraphIds,skippedGraphIds:o.skippedGraphIds,errorCount:o.errors.length,errors:o.errors.length>0?o.errors.map(e=>({graphId:e.graphId,message:e.error.message})):void 0})}catch(e){return console.error("Schedule poll error:",e),_.NextResponse.json({error:"Failed to poll schedules",message:e instanceof Error?e.message:String(e)},{status:500})}}async function y(){try{let{getGraphsWithActiveSchedules:t}=await e.A(84511),r=t();return _.NextResponse.json({count:r.length,schedules:r.map(e=>({taskId:e.taskId,graphId:e.graphId,state:e.schedule.state,intervalMs:e.schedule.intervalMs,runCount:e.schedule.runCount,lastTickAt:e.schedule.lastTickAt,tickInProgress:e.schedule.tickInProgress}))})}catch(e){return console.error("Failed to list schedules:",e),_.NextResponse.json({error:"Failed to list schedules"},{status:500})}}e.s(["GET",()=>y,"POST",()=>R,"dynamic",0,"force-dynamic","runtime",0,"nodejs"],16548);var x=e.i(16548);let v=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/schedules/poll/route",pathname:"/api/schedules/poll",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/schedules/poll/route.ts",nextConfigOutput:"standalone",userland:x}),{workAsyncStorage:I,workUnitAsyncStorage:w,serverHooks:A}=v;function N(){return(0,s.patchFetch)({workAsyncStorage:I,workUnitAsyncStorage:w})}async function $(e,t,s){v.isDev&&(0,o.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let _="/api/schedules/poll/route";_=_.replace(/\/index$/,"")||"/";let S=await v.prepare(e,t,{srcPage:_,multiZoneDraftMode:!1});if(!S)return t.statusCode=400,t.end("Bad Request"),null==s.waitUntil||s.waitUntil.call(s,Promise.resolve()),null;let{buildId:T,params:k,nextConfig:R,parsedUrl:y,isDraftMode:x,prerenderManifest:I,routerServerContext:w,isOnDemandRevalidate:A,revalidateOnlyGenerated:N,resolvedPathname:$,clientReferenceManifest:C,serverActionsManifest:O}=S,D=(0,i.normalizeAppPath)(_),b=!!(I.dynamicRoutes[D]||I.routes[$]),L=async()=>((null==w?void 0:w.render404)?await w.render404(e,t,y,!1):t.end("This page could not be found"),null);if(b&&!x){let e=!!I.routes[$],t=I.dynamicRoutes[D];if(t&&!1===t.fallback&&!e){if(R.experimental.adapterPath)return await L();throw new m.NoFallbackError}}let M=null;!b||v.isDev||x||(M="/index"===(M=$)?"/":M);let j=!0===v.isDev||!b,G=b&&!j;O&&C&&(0,a.setManifestsSingleton)({page:_,clientReferenceManifest:C,serverActionsManifest:O});let q=e.method||"GET",F=(0,n.getTracer)(),U=F.getActiveScopeSpan(),P={params:k,prerenderManifest:I,renderOpts:{experimental:{authInterrupts:!!R.experimental.authInterrupts},cacheComponents:!!R.cacheComponents,supportsDynamicResponse:j,incrementalCache:(0,o.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:R.cacheLife,waitUntil:s.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,s,o)=>v.onRequestError(e,t,s,o,w)},sharedContext:{buildId:T}},H=new d.NodeNextRequest(e),B=new d.NodeNextResponse(t),W=u.NextRequestAdapter.fromNodeNextRequest(H,(0,u.signalFromNodeResponse)(t));try{let a=async e=>v.handle(W,P).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=F.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==l.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let s=r.get("next.route");if(s){let t=`${q} ${s}`;e.setAttributes({"next.route":s,"http.route":s,"next.span_name":t}),e.updateName(t)}else e.updateName(`${q} ${_}`)}),i=!!(0,o.getRequestMeta)(e,"minimalMode"),d=async o=>{var n,d;let u=async({previousCacheEntry:r})=>{try{if(!i&&A&&N&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await a(o);e.fetchMetrics=P.renderOpts.fetchMetrics;let d=P.renderOpts.pendingWaitUntil;d&&s.waitUntil&&(s.waitUntil(d),d=void 0);let u=P.renderOpts.collectedTags;if(!b)return await (0,p.sendResponse)(H,B,n,P.renderOpts.pendingWaitUntil),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);u&&(t[f.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==P.renderOpts.collectedRevalidate&&!(P.renderOpts.collectedRevalidate>=f.INFINITE_CACHE)&&P.renderOpts.collectedRevalidate,s=void 0===P.renderOpts.collectedExpire||P.renderOpts.collectedExpire>=f.INFINITE_CACHE?void 0:P.renderOpts.collectedExpire;return{value:{kind:E.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:s}}}}catch(t){throw(null==r?void 0:r.isStale)&&await v.onRequestError(e,t,{routerKind:"App Router",routePath:_,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:G,isOnDemandRevalidate:A})},!1,w),t}},l=await v.handleResponse({req:e,nextConfig:R,cacheKey:M,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:I,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:N,responseGenerator:u,waitUntil:s.waitUntil,isMinimalMode:i});if(!b)return null;if((null==l||null==(n=l.value)?void 0:n.kind)!==E.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(d=l.value)?void 0:d.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,h.fromNodeOutgoingHttpHeaders)(l.value.headers);return i&&b||m.delete(f.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||t.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,g.getCacheControlHeader)(l.cacheControl)),await (0,p.sendResponse)(H,B,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};U?await d(U):await F.withPropagatedContext(e.headers,()=>F.trace(l.BaseServerSpan.handleRequest,{spanName:`${q} ${_}`,kind:n.SpanKind.SERVER,attributes:{"http.method":q,"http.target":e.url}},d))}catch(t){if(t instanceof m.NoFallbackError||await v.onRequestError(e,t,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:G,isOnDemandRevalidate:A})},!1,w),b)throw t;return await (0,p.sendResponse)(H,B,new Response(null,{status:500})),null}}e.s(["handler",()=>$,"patchFetch",()=>N,"routeModule",()=>v,"serverHooks",()=>A,"workAsyncStorage",()=>I,"workUnitAsyncStorage",()=>w],30995)},82848,e=>{e.v(e=>Promise.resolve().then(()=>e(74533)))},97757,e=>{e.v(e=>Promise.resolve().then(()=>e(26057)))},18801,e=>{e.v(e=>Promise.resolve().then(()=>e(60447)))},18760,e=>{e.v(t=>Promise.all(["server/chunks/lib_history-store_ts_2e721df2._.js"].map(t=>e.l(t))).then(()=>t(42639)))},32025,e=>{e.v(e=>Promise.resolve().then(()=>e(97812)))},31259,e=>{e.v(t=>Promise.all(["server/chunks/lib_87c06aeb._.js"].map(t=>e.l(t))).then(()=>t(14350)))},84511,e=>{e.v(e=>Promise.resolve().then(()=>e(71080)))}];
|
|
62
|
-
|
|
63
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__8125bbc3._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},59833,e=>{"use strict";function t(e,t){let r=e.prepare(`PRAGMA ${t}`).get();if(!r)return;let n=Object.values(r);return n.length>0?n[0]:void 0}function r(e,t){return e.prepare(`PRAGMA ${t}`).all()}function n(e,t){e.exec(`PRAGMA ${t}`)}function s(e,t){e.exec("BEGIN");try{let r=t();return e.exec("COMMIT"),r}catch(t){throw e.exec("ROLLBACK"),t}}function o(e,t){return(...r)=>{e.exec("BEGIN");try{let n=t(...r);return e.exec("COMMIT"),n}catch(t){throw e.exec("ROLLBACK"),t}}}e.s(["pragmaAll",()=>r,"pragmaGet",()=>t,"pragmaSet",()=>n,"transaction",()=>s,"transactionFn",()=>o])},33405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},49041,e=>{"use strict";let t={id:"2c3cc1ca-956d-4b62-b295-4d2d3374103f",email:process.env.AGX_BOARD_USER_EMAIL||"local@agx.board",name:process.env.AGX_BOARD_USER_NAME||"Local Board User"};e.s(["LOCAL_USER",0,t])},21729,e=>{"use strict";e.x("node:sqlite",()=>require("node:sqlite"),!0);var t=e.i(59833);e.i(22734);var r=e.i(46786),n=e.i(14747);let s="3.35.0",o=["json1"],a=["fts5"],i=["nfs","smb","cifs","efs","fuse.sshfs"];function u(e,t){try{if("json1"===t)return e.prepare("SELECT json('{}')").get(),!0;if("fts5"===t)return e.exec("CREATE VIRTUAL TABLE IF NOT EXISTS _fts5_check USING fts5(x)"),e.exec("DROP TABLE IF EXISTS _fts5_check"),!0;return!1}catch{return!1}}function c(c,l){let d=[],g=c.prepare("SELECT sqlite_version() as v").get();for(let e of(0>function(e,t){let r=e.split(".").map(Number),n=t.split(".").map(Number);for(let e=0;e<3;e++){let t=(r[e]||0)-(n[e]||0);if(0!==t)return t}return 0}(g.v,s)&&d.push({kind:"version_mismatch",message:`SQLite version ${g.v} is below minimum ${s}`,found:g.v,required:`>= ${s}`,fix:"Ensure Node.js >= 22.16 is installed (node:sqlite is built-in)"}),o))u(c,e)||d.push({kind:"missing_extension",message:`Required SQLite extension '${e}' is not available`,required:e,fix:`Rebuild SQLite with -DSQLITE_ENABLE_${e.toUpperCase()}=1, or use a system SQLite that includes it`});for(let e of a)u(c,e)||console.warn(`[startup] Recommended SQLite extension '${e}' is not available. Full-text search will be disabled.`);let p=function(t){"linux"!==r.default.platform()&&r.default.platform();try{let s=n.default.resolve(t),{execSync:o}=e.r(33405);if("darwin"===r.default.platform()){let e=o(`df -T "${s}" 2>/dev/null || df "${s}"`,{encoding:"utf-8",timeout:3e3}).trim().split("\n");if(e.length>=2){let t=e[1].split(/\s+/),r=t[0]?.toLowerCase()||"";if(r.includes("://")||r.includes("nfs")||r.includes("smb"))return r}}}catch{}return null}(l);p&&i.some(e=>p.toLowerCase().includes(e))&&d.push({kind:"filesystem_error",message:`Database path '${l}' is on a network filesystem (${p})`,path:l,found:p,fix:"Move the database file to a local SSD. WAL mode requires local filesystem with reliable fsync."});try{(0,t.pragmaSet)(c,"journal_mode = wal"),(0,t.pragmaSet)(c,"foreign_keys = 1"),(0,t.pragmaSet)(c,"busy_timeout = 5000"),(0,t.pragmaSet)(c,"synchronous = 1"),(0,t.pragmaSet)(c,"cache_size = -64000");let e=(0,t.pragmaGet)(c,"journal_mode").toLowerCase(),r=new Set(["wal","delete"]);if(!r.has(e)){(0,t.pragmaSet)(c,"journal_mode = DELETE");let e=(0,t.pragmaGet)(c,"journal_mode").toLowerCase();r.has(e)?((0,t.pragmaSet)(c,"synchronous = FULL"),console.warn(`[startup] WAL unavailable, using journal_mode=${e} with synchronous=FULL`)):d.push({kind:"pragma_error",message:`Failed to set journal_mode (got '${e}', tried WAL then DELETE)`,found:e,required:"wal or delete",fix:"Ensure the database file is on a local filesystem and no other process holds an exclusive lock."})}}catch(e){d.push({kind:"pragma_error",message:`Failed to apply required PRAGMAs: ${e.message}`,fix:"Check file permissions and ensure the database is not read-only."})}return d}e.s(["validateSQLiteEnvironment",()=>c])},54799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},57431,e=>{"use strict";function t(){let{createAdminDbClientSQLite:t}=e.r(60447);return t()}e.i(49041),e.s(["createAdminDbClient",()=>t])},82341,e=>{"use strict";var t=e.i(62294),r=e.i(60447);class n extends Error{constraint;detail;constructor(e,t){super(e),this.name="ConflictError",this.constraint=t?.constraint,this.detail=t?.detail}}class s extends Error{code;constructor(e,t){super(e),this.name="RetryableError",this.code=t}}class o extends Error{expectedVersion;actualVersion;entityId;entityType;constructor(e,t,r,n){super(void 0!==n?`Concurrent modification on ${e} ${t}: expected version ${r}, found ${n}`:`Concurrent modification on ${e} ${t}: expected version ${r}, row not updated`),this.name="ConcurrentModificationError",this.entityType=e,this.entityId=t,this.expectedVersion=r,this.actualVersion=n}}function a(e){if(!(e instanceof Error))throw e;let t=e.code??"",r=e.message??"";if("SQLITE_CONSTRAINT_UNIQUE"===t||"SQLITE_CONSTRAINT_PRIMARYKEY"===t||"SQLITE_CONSTRAINT"===t&&(r.includes("UNIQUE")||r.includes("PRIMARY KEY"))||r.includes("UNIQUE constraint failed")||r.includes("PRIMARY KEY constraint failed")){let e=r.match(/(?:UNIQUE|PRIMARY KEY) constraint failed: (.+)/);throw new n(r,{constraint:e?.[1],detail:r})}if("SQLITE_BUSY"===t||"SQLITE_LOCKED"===t||r.includes("database is locked"))throw new s(r,t||"SQLITE_BUSY");throw e}async function i(e){try{return await e()}catch(e){if(e instanceof n||e instanceof s||e instanceof o)throw e;a(e)}}class u{async transaction(e){let t=(0,r.getSQLiteDb)();t.exec("BEGIN IMMEDIATE");try{let r=await e(t);return t.exec("COMMIT"),r}catch(e){try{t.exec("ROLLBACK")}catch{}if(e instanceof n||e instanceof s||e instanceof o)throw e;a(e)}}getTasks(e,r){return t.getTasks(e,r)}getTask(e,r){return t.getTask(e,r)}getTaskBySlug(e,r){return t.getTaskBySlug(e,r)}createTask(e,r,n){return i(()=>t.createTask(e,r,n))}async updateTask(e,n,s,a){let u=a?.expectedVersion;if(void 0!==u){let c=(0,r.getSQLiteDb)();if(0===c.prepare("UPDATE tasks SET version = version + 1 WHERE id = ? AND version = ?").run(e,u).changes){let t=c.prepare("SELECT version FROM tasks WHERE id = ?").get(e);throw new o("task",e,u,t?.version)}let{expectedVersion:l,...d}=a??{};return i(()=>t.updateTask(e,n,s,d))}return(0,r.getSQLiteDb)().prepare("UPDATE tasks SET version = version + 1 WHERE id = ?").run(e),i(()=>t.updateTask(e,n,s,a))}appendRunToIndex(e,r,n){return t.appendRunToIndex(e,r,n)}deleteTask(e,r){return i(()=>t.deleteTask(e,r))}getNextQueuedTask(e){return t.getNextQueuedTask(e)}ensureNoCircularDependency(e,r,n){return t.ensureNoCircularDependency(e,r,n)}getProjects(e){return t.getProjects(e)}getProjectBySlug(e,r){return t.getProjectBySlug(e,r)}getProjectRepos(e){return t.getProjectRepos(e)}getProjectWithRepos(e,r){return t.getProjectWithRepos(e,r)}createProject(e,r,n){return i(()=>t.createProject(e,r,n))}updateProject(e,r,n,s){return t.updateProject(e,r,n,s)}deleteProject(e,r,n){return i(()=>t.deleteProject(e,r,n))}assignOrphanTasksToProject(e,r,n){return t.assignOrphanTasksToProject(e,r,n)}getWorkflows(e){return t.getWorkflows(e)}getWorkflow(e,r){return t.getWorkflow(e,r)}updateWorkflow(e,r,n){return t.updateWorkflow(e,r,n)}getWorkflowNodes(e){return t.getWorkflowNodes(e)}updateWorkflowNodes(e,r,n){return t.updateWorkflowNodes(e,r,n)}getWorkflowNodeByName(e,r){return t.getWorkflowNodeByName(e,r)}getWorkflowTransitions(e){return t.getWorkflowTransitions(e)}getWorkflowTransitionsFromNode(e,r){return t.getWorkflowTransitionsFromNode(e,r)}getWorkflowWithGraph(e,r){return t.getWorkflowWithGraph(e,r)}getTaskLogs(e,r){return t.getTaskLogs(e,r)}addTaskLog(e,r,n,s){return i(()=>t.addTaskLog(e,r,n,s))}addTaskCostEntry(e){return i(()=>t.addTaskCostEntry(e))}getTaskCostEntries(e){return t.getTaskCostEntries(e)}getTaskCostSummary(e){return t.getTaskCostSummary(e)}getTaskComments(e){return t.getTaskComments(e)}addTaskComment(e,r,n,s){return i(()=>t.addTaskComment(e,r,n,s))}deleteTaskComment(e,r){return i(()=>t.deleteTaskComment(e,r))}getLearnings(e,r,n){return t.getLearnings(e,r,n)}addLearning(e,r,n,s){return i(()=>t.addLearning(e,r,n,s))}deleteLearning(e,r){return i(()=>t.deleteLearning(e,r))}getStagePrompts(e,r){return t.getStagePrompts(e,r)}getStagePrompt(e,r,n){return t.getStagePrompt(e,r,n)}upsertStagePrompt(e,r,n,s,o,a){return i(()=>t.upsertStagePrompt(e,r,n,s,o,a))}deleteStagePrompt(e,r){return t.deleteStagePrompt(e,r)}getAgents(e){return t.getAgents(e)}getAgent(e,r){return t.getAgent(e,r)}createAgent(e,r){return i(()=>t.createAgent(e,r))}updateAgent(e,r,n){return t.updateAgent(e,r,n)}deleteAgent(e,r){return t.deleteAgent(e,r)}getProjectAgents(e){return t.getProjectAgents(e)}addProjectAgent(e,r,n){return i(()=>t.addProjectAgent(e,r,n))}removeProjectAgent(e,r){return t.removeProjectAgent(e,r)}reorderProjectAgents(e,r){return t.reorderProjectAgents(e,r)}getProjectSkills(e){return t.getProjectSkills(e)}addProjectSkill(e,r,n){return i(()=>t.addProjectSkill(e,r,n))}removeProjectSkill(e){return t.removeProjectSkill(e)}getProjectVariables(e){return t.getProjectVariables(e)}setProjectVariable(e,r,n){return i(()=>t.setProjectVariable(e,r,n))}deleteProjectVariable(e,r){return t.deleteProjectVariable(e,r)}getProjectMemory(e,r){return t.getProjectMemory(e,r)}addProjectMemory(e,r,n,s){return i(()=>t.addProjectMemory(e,r,n,s))}deleteProjectMemory(e){return t.deleteProjectMemory(e)}getProjectThreads(e){return t.getProjectThreads(e)}addProjectThread(e,r){return i(()=>t.addProjectThread(e,r))}removeProjectThread(e,r){return t.removeProjectThread(e,r)}getProjectForThread(e){return t.getProjectForThread(e)}getUserSettings(e){return t.getUserSettings(e)}upsertUserSettings(e,r,n){return i(()=>t.upsertUserSettings(e,r,n))}async healthCheck(){let e=performance.now();try{return(0,r.getSQLiteDb)().prepare("SELECT 1").get(),{adapter:"sqlite",connected:!0,latencyMs:Math.round(performance.now()-e)}}catch{return{adapter:"sqlite",connected:!1,latencyMs:Math.round(performance.now()-e)}}}}e.s(["SQLiteAdapter",()=>u],82341)},90081,e=>{"use strict";let t=function(){let{SQLiteAdapter:t}=e.r(82341);return new t}();e.s(["db",0,t])}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__85275b88._.js.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},59833,e=>{"use strict";function t(e,t){let r=e.prepare(`PRAGMA ${t}`).get();if(!r)return;let a=Object.values(r);return a.length>0?a[0]:void 0}function r(e,t){return e.prepare(`PRAGMA ${t}`).all()}function a(e,t){e.exec(`PRAGMA ${t}`)}function n(e,t){e.exec("BEGIN");try{let r=t();return e.exec("COMMIT"),r}catch(t){throw e.exec("ROLLBACK"),t}}function s(e,t){return(...r)=>{e.exec("BEGIN");try{let a=t(...r);return e.exec("COMMIT"),a}catch(t){throw e.exec("ROLLBACK"),t}}}e.s(["pragmaAll",()=>r,"pragmaGet",()=>t,"pragmaSet",()=>a,"transaction",()=>n,"transactionFn",()=>s])},33405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},49041,e=>{"use strict";let t={id:"2c3cc1ca-956d-4b62-b295-4d2d3374103f",email:process.env.AGX_BOARD_USER_EMAIL||"local@agx.board",name:process.env.AGX_BOARD_USER_NAME||"Local Board User"};e.s(["LOCAL_USER",0,t])},21729,e=>{"use strict";e.x("node:sqlite",()=>require("node:sqlite"),!0);var t=e.i(59833);e.i(22734);var r=e.i(46786),a=e.i(14747);let n="3.35.0",s=["json1"],o=["fts5"],i=["nfs","smb","cifs","efs","fuse.sshfs"];function l(e,t){try{if("json1"===t)return e.prepare("SELECT json('{}')").get(),!0;if("fts5"===t)return e.exec("CREATE VIRTUAL TABLE IF NOT EXISTS _fts5_check USING fts5(x)"),e.exec("DROP TABLE IF EXISTS _fts5_check"),!0;return!1}catch{return!1}}function c(c,d){let p=[],u=c.prepare("SELECT sqlite_version() as v").get();for(let e of(0>function(e,t){let r=e.split(".").map(Number),a=t.split(".").map(Number);for(let e=0;e<3;e++){let t=(r[e]||0)-(a[e]||0);if(0!==t)return t}return 0}(u.v,n)&&p.push({kind:"version_mismatch",message:`SQLite version ${u.v} is below minimum ${n}`,found:u.v,required:`>= ${n}`,fix:"Ensure Node.js >= 22.16 is installed (node:sqlite is built-in)"}),s))l(c,e)||p.push({kind:"missing_extension",message:`Required SQLite extension '${e}' is not available`,required:e,fix:`Rebuild SQLite with -DSQLITE_ENABLE_${e.toUpperCase()}=1, or use a system SQLite that includes it`});for(let e of o)l(c,e)||console.warn(`[startup] Recommended SQLite extension '${e}' is not available. Full-text search will be disabled.`);let m=function(t){"linux"!==r.default.platform()&&r.default.platform();try{let n=a.default.resolve(t),{execSync:s}=e.r(33405);if("darwin"===r.default.platform()){let e=s(`df -T "${n}" 2>/dev/null || df "${n}"`,{encoding:"utf-8",timeout:3e3}).trim().split("\n");if(e.length>=2){let t=e[1].split(/\s+/),r=t[0]?.toLowerCase()||"";if(r.includes("://")||r.includes("nfs")||r.includes("smb"))return r}}}catch{}return null}(d);m&&i.some(e=>m.toLowerCase().includes(e))&&p.push({kind:"filesystem_error",message:`Database path '${d}' is on a network filesystem (${m})`,path:d,found:m,fix:"Move the database file to a local SSD. WAL mode requires local filesystem with reliable fsync."});try{(0,t.pragmaSet)(c,"journal_mode = wal"),(0,t.pragmaSet)(c,"foreign_keys = 1"),(0,t.pragmaSet)(c,"busy_timeout = 5000"),(0,t.pragmaSet)(c,"synchronous = 1"),(0,t.pragmaSet)(c,"cache_size = -64000");let e=(0,t.pragmaGet)(c,"journal_mode").toLowerCase(),r=new Set(["wal","delete"]);if(!r.has(e)){(0,t.pragmaSet)(c,"journal_mode = DELETE");let e=(0,t.pragmaGet)(c,"journal_mode").toLowerCase();r.has(e)?((0,t.pragmaSet)(c,"synchronous = FULL"),console.warn(`[startup] WAL unavailable, using journal_mode=${e} with synchronous=FULL`)):p.push({kind:"pragma_error",message:`Failed to set journal_mode (got '${e}', tried WAL then DELETE)`,found:e,required:"wal or delete",fix:"Ensure the database file is on a local filesystem and no other process holds an exclusive lock."})}}catch(e){p.push({kind:"pragma_error",message:`Failed to apply required PRAGMAs: ${e.message}`,fix:"Check file permissions and ensure the database is not read-only."})}return p}e.s(["validateSQLiteEnvironment",()=>c])},54799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},24868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},79042,e=>{"use strict";e.s(["DEFAULT_EXECUTION_POLICY",0,{replanBudgetRemaining:3,replanBudgetInitial:3,verifyBudgetRemaining:5,verifyBudgetInitial:5,maxConcurrentAutoChecks:1,immutableRequiredGates:!0,maxConcurrent:3,priorityMode:"fifo",nodeTimeoutMs:18e5,graphTimeoutMs:864e5},"FAILURE_NODE_STATUSES",0,["failed"],"INCOMPLETE_FOR_DONE_STATUSES",0,["pending","running","awaiting_human","blocked"],"SOFT_DEP_SATISFIED_STATUSES",0,["done","passed","failed","skipped","blocked"],"SUCCESS_NODE_STATUSES",0,["done","passed"],"TERMINAL_NODE_STATUSES",0,["done","passed","failed","skipped"]])},38479,e=>{"use strict";var t=e.i(54799),r=e.i(248);function a(e){return{id:e.id,name:e.name,prompt:e.prompt,agentId:e.agent_id||"",projectId:e.project_id||"",provider:e.provider||e.cli||"claude",model:e.model||"",cliArgs:e.cli_args||"",cronExpr:e.cron_expr,cadence:e.cadence,state:e.state,overlapPolicy:e.overlap_policy,catchUpPolicy:e.catch_up_policy||"fire_once",cancelCheckSec:e.cancel_check_sec,triggerType:e.trigger_type||"scheduled",condition:e.condition||"",checkEveryMs:e.check_every_ms||3e5,nextRunAt:e.next_run_at,lastRunAt:e.last_run_at,lastOutcome:e.last_outcome,createdAt:e.created_at,updatedAt:e.updated_at}}function n(e){return{id:e.id,jobId:e.job_id,status:e.status,output:e.output,error:e.error,durationMs:e.duration_ms,startedAt:e.started_at,finishedAt:e.finished_at,cancelledAt:e.cancelled_at,createdAt:e.created_at}}class s{db;constructor(e){this.db=e}createJob(e){let a,n=(0,t.randomUUID)(),s=e.cadence,o=e.cronExpr||s,i=e.triggerType??"scheduled",l=e.provider??"claude";return a="condition"===i?Date.now()+(e.checkEveryMs??3e5):(0,r.computeNextTickFromCron)(o)??null,this.db.prepare(`INSERT INTO prompt_jobs (id, name, prompt, cli, agent_id, project_id, provider, model, cli_args, cron_expr, cadence, overlap_policy, catch_up_policy, cancel_check_sec, trigger_type, condition, check_every_ms, next_run_at)
|
|
2
|
-
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`).run(n,e.name,e.prompt,l,e.agentId||null,e.projectId||null,l,e.model??"",e.cliArgs??"",o,s,e.overlapPolicy??"skip",e.catchUpPolicy??"fire_once",e.cancelCheckSec??5,i,e.condition??"",e.checkEveryMs??3e5,a),this.getJob(n)}getJob(e){let t=this.db.prepare("SELECT * FROM prompt_jobs WHERE id = ?").get(e);return t?a(t):null}listJobs(e){let t="SELECT * FROM prompt_jobs",r=[],n=[];return e?.state&&(r.push("state = ?"),n.push(e.state)),e?.projectId&&(r.push("project_id = ?"),n.push(e.projectId)),r.length>0&&(t+=" WHERE "+r.join(" AND ")),t+=" ORDER BY created_at DESC",this.db.prepare(t).all(...n).map(a)}updateJob(e,t){let a={name:"name",prompt:"prompt",cli:"cli",agentId:"agent_id",projectId:"project_id",provider:"provider",cronExpr:"cron_expr",model:"model",cliArgs:"cli_args",cadence:"cadence",state:"state",overlapPolicy:"overlap_policy",catchUpPolicy:"catch_up_policy",cancelCheckSec:"cancel_check_sec",triggerType:"trigger_type",condition:"condition",checkEveryMs:"check_every_ms",nextRunAt:"next_run_at",lastRunAt:"last_run_at",lastOutcome:"last_outcome"},n=[],s=[];for(let[e,o]of Object.entries(t)){let t=a[e];if(t&&void 0!==o&&(n.push(`${t} = ?`),s.push(o),"cadence"===e&&"string"==typeof o)){n.push("cron_expr = ?"),s.push(o);let e=(0,r.computeNextTickFromCron)(o)??null;n.push("next_run_at = ?"),s.push(e)}}return 0===n.length||(n.push("updated_at = datetime('now')"),s.push(e),this.db.prepare(`UPDATE prompt_jobs SET ${n.join(", ")} WHERE id = ?`).run(...s.map(e=>e))),this.getJob(e)}deleteJob(e){this.db.prepare("DELETE FROM prompt_jobs WHERE id = ?").run(e)}getDueJobs(e=Date.now()){return this.db.prepare(`SELECT * FROM prompt_jobs
|
|
3
|
-
WHERE state = 'active'
|
|
4
|
-
AND next_run_at IS NOT NULL
|
|
5
|
-
AND next_run_at <= ?
|
|
6
|
-
ORDER BY next_run_at ASC`).all(e).map(a)}createRun(e){let r=(0,t.randomUUID)();return this.db.prepare("INSERT INTO prompt_runs (id, job_id) VALUES (?, ?)").run(r,e),this.getRun(r)}getRun(e){let t=this.db.prepare("SELECT * FROM prompt_runs WHERE id = ?").get(e);return t?n(t):null}listRuns(e,t=50){return this.db.prepare("SELECT * FROM prompt_runs WHERE job_id = ? ORDER BY created_at DESC LIMIT ?").all(e,t).map(n)}updateRun(e,t){let r={status:"status",output:"output",error:"error",durationMs:"duration_ms",startedAt:"started_at",finishedAt:"finished_at",cancelledAt:"cancelled_at"},a=[],n=[];for(let[e,s]of Object.entries(t)){let t=r[e];t&&(a.push(`${t} = ?`),n.push(s??null))}return 0===a.length||(n.push(e),this.db.prepare(`UPDATE prompt_runs SET ${a.join(", ")} WHERE id = ?`).run(...n.map(e=>e))),this.getRun(e)}hasRunningRun(e){return void 0!==this.db.prepare("SELECT id FROM prompt_runs WHERE job_id = ? AND status IN ('queued', 'running') LIMIT 1").get(e)}isRunCancelled(e){let t=this.db.prepare("SELECT status FROM prompt_runs WHERE id = ?").get(e);return t?.status==="cancelled"}}var o=e.i(22734),i=e.i(14747),l=e.i(60447);let c=null;function d(){if(!c){let e=(0,l.getSQLiteDb)();if(e.prepare("SELECT 1 FROM sqlite_master WHERE type='table' AND name='prompt_jobs'").get()){if(!e.prepare("SELECT 1 FROM pragma_table_info('prompt_jobs') WHERE name='catch_up_policy'").get())for(let t of(0,o.readFileSync)(i.default.join(process.cwd(),"db/sqlite/003_prompt_scheduler_v2.sql"),"utf-8").replace(/^\s*--.*$/gm,"").split(";").map(e=>e.trim()).filter(Boolean))try{e.exec(t)}catch(e){if(!e.message?.includes("duplicate column"))throw e}}else{let t=(0,o.readFileSync)(i.default.join(process.cwd(),"db/sqlite/002_prompt_scheduler_schema.sql"),"utf-8");e.exec(t)}c=new s(e)}return c}e.s(["getPromptJobStore",()=>d],38479)},44506,e=>{"use strict";let t=[{regex:/^every\s+(\d+)\s*s(?:ec(?:ond)?s?)?$/i,handler:e=>({cronExpr:`*/${Math.max(1,Math.ceil(parseInt(e[1])/60))} * * * *`,intervalMs:1e3*parseInt(e[1]),cadence:`Every ${e[1]} seconds`})},{regex:/^every\s+(\d+)\s*m(?:in(?:ute)?s?)?$/i,handler:e=>({cronExpr:`*/${e[1]} * * * *`,cadence:`Every ${e[1]} minutes`})},{regex:/^every\s+(\d+)\s*h(?:(?:ou)?rs?)?$/i,handler:e=>({cronExpr:`0 */${e[1]} * * *`,cadence:`Every ${e[1]} hours`})},{regex:/^every\s+hour$/i,handler:()=>({cronExpr:"0 * * * *",cadence:"Every hour"})},{regex:/^every\s+minute$/i,handler:()=>({cronExpr:"* * * * *",cadence:"Every minute"})},{regex:/^daily\s+at\s+(\d{1,2})(?::(\d{2}))?\s*(am|pm)?$/i,handler:e=>{let t=parseInt(e[1]),r=parseInt(e[2]||"0"),a=e[3]?.toLowerCase();return"pm"===a&&t<12&&(t+=12),"am"===a&&12===t&&(t=0),{cronExpr:`${r} ${t} * * *`,cadence:`Daily at ${t}:${String(r).padStart(2,"0")}`}}},{regex:/^daily\s+at\s+midnight$/i,handler:()=>({cronExpr:"0 0 * * *",cadence:"Daily at midnight"})},{regex:/^daily\s+at\s+noon$/i,handler:()=>({cronExpr:"0 12 * * *",cadence:"Daily at noon"})},{regex:/^weekdays?\s+at\s+(\d{1,2})(?::(\d{2}))?\s*(am|pm)?$/i,handler:e=>{let t=parseInt(e[1]),r=parseInt(e[2]||"0"),a=e[3]?.toLowerCase();return"pm"===a&&t<12&&(t+=12),"am"===a&&12===t&&(t=0),{cronExpr:`${r} ${t} * * 1-5`,cadence:`Weekdays at ${t}:${String(r).padStart(2,"0")}`}}},{regex:/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday)s?\s+at\s+(\d{1,2})(?::(\d{2}))?\s*(am|pm)?$/i,handler:e=>{let t={sunday:0,monday:1,tuesday:2,wednesday:3,thursday:4,friday:5,saturday:6}[e[1].toLowerCase()],r=parseInt(e[2]),a=parseInt(e[3]||"0"),n=e[4]?.toLowerCase();"pm"===n&&r<12&&(r+=12),"am"===n&&12===r&&(r=0);let s=e[1].charAt(0).toUpperCase()+e[1].slice(1).toLowerCase();return{cronExpr:`${a} ${r} * * ${t}`,cadence:`${s}s at ${r}:${String(a).padStart(2,"0")}`}}},{regex:/^every\s+(\d+)\s*days?$/i,handler:e=>({cronExpr:`0 0 */${e[1]} * *`,cadence:`Every ${e[1]} days`})}];function r(e){let r=e.trim();if(/^[\d*\/,-]+\s+[\d*\/,-]+\s+[\d*\/,-]+\s+[\d*\/,-]+\s+[\d*\/,-]+$/.test(r))return{cronExpr:r,cadence:r};let a=function(e){let r=e.trim();for(let{regex:e,handler:a}of t){let t=r.match(e);if(t)return a(t)}}(r);if(a)return{cronExpr:a.cronExpr,cadence:a.cadence}}e.s(["toCronExpr",()=>r])},35338,e=>{"use strict";var t=e.i(44506),r=e.i(8689);function a(e){let a=e.trim();if(!a)return null;let n=(0,t.toCronExpr)(a);return n?{cronExpr:n.cronExpr,cadence:n.cadence}:!function(e){if(5!==e.split(/\s+/).length)return!1;try{return r.CronExpressionParser.parse(e),!0}catch{return!1}}(a)?null:{cronExpr:a,cadence:a}}function n(e,t){try{return r.CronExpressionParser.parse(e,{currentDate:t?new Date(t):new Date}).next().toDate().getTime()}catch{return null}}e.s(["computeNextRun",()=>n,"parseCadence",()=>a])},23291,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),s=e.i(61916),o=e.i(74677),i=e.i(69741),l=e.i(16795),c=e.i(87718),d=e.i(95169),p=e.i(47587),u=e.i(66012),m=e.i(70101),h=e.i(74838),E=e.i(10372),f=e.i(93695);e.i(52474);var g=e.i(220),x=e.i(94028),_=e.i(38479),y=e.i(35338);async function R(e){try{let t=(0,_.getPromptJobStore)(),r=e.nextUrl.searchParams.get("state"),a=e.nextUrl.searchParams.get("projectId")??void 0,n={};r&&(n.state=r),a&&(n.projectId=a);let s=t.listJobs(Object.keys(n).length>0?n:void 0);for(let e of s)if("active"===e.state&&null===e.nextRunAt){let r=e.cronExpr,a=(0,y.computeNextRun)(r);if(null===a){let n=(0,y.parseCadence)(r);n&&(r=n.cronExpr,(a=(0,y.computeNextRun)(r))&&t.updateJob(e.id,{cronExpr:r}))}null===a&&"condition"===e.triggerType&&(a=Date.now()+e.checkEveryMs),a&&(t.updateJob(e.id,{nextRunAt:a}),e.nextRunAt=a)}return x.NextResponse.json({count:s.length,jobs:s})}catch(e){return console.error("Failed to list prompt jobs:",e),x.NextResponse.json({error:"Failed to list prompt jobs",message:e instanceof Error?e.message:String(e)},{status:500})}}async function v(e){try{let{name:t,prompt:r,agentId:a,projectId:n,provider:s,model:o,cliArgs:i,cadence:l,overlapPolicy:c,catchUpPolicy:d,cancelCheckSec:p,triggerType:u,condition:m,checkEveryMs:h}=await e.json();if(!t||!r)return x.NextResponse.json({error:"Missing required fields: name, prompt"},{status:400});let E=u??"scheduled";if("scheduled"===E&&!l)return x.NextResponse.json({error:"Missing required field: cadence (required for scheduled triggers)"},{status:400});let f="",g="";if(l){let e=(0,y.parseCadence)(l);e?(f=e.cronExpr,g=e.cadence):(f=l,g=l)}let R=(0,_.getPromptJobStore)().createJob({name:t,prompt:r,agentId:a,projectId:n,provider:s??"claude",model:o,cliArgs:i,cronExpr:f||void 0,cadence:g||`every ${Math.round((h??3e5)/6e4)}m`,overlapPolicy:c,catchUpPolicy:d,cancelCheckSec:p,triggerType:E,condition:m,checkEveryMs:h});return x.NextResponse.json({job:R},{status:201})}catch(e){return console.error("Failed to create prompt job:",e),x.NextResponse.json({error:"Failed to create prompt job",message:e instanceof Error?e.message:String(e)},{status:500})}}e.s(["GET",()=>R,"POST",()=>v,"dynamic",0,"force-dynamic","runtime",0,"nodejs"],31650);var b=e.i(31650);let S=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/prompt-jobs/route",pathname:"/api/prompt-jobs",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/prompt-jobs/route.ts",nextConfigOutput:"standalone",userland:b}),{workAsyncStorage:A,workUnitAsyncStorage:C,serverHooks:T}=S;function w(){return(0,a.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:C})}async function j(e,t,a){S.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let x="/api/prompt-jobs/route";x=x.replace(/\/index$/,"")||"/";let _=await S.prepare(e,t,{srcPage:x,multiZoneDraftMode:!1});if(!_)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:y,params:R,nextConfig:v,parsedUrl:b,isDraftMode:A,prerenderManifest:C,routerServerContext:T,isOnDemandRevalidate:w,revalidateOnlyGenerated:j,resolvedPathname:I,clientReferenceManifest:L,serverActionsManifest:$}=_,N=(0,i.normalizeAppPath)(x),O=!!(C.dynamicRoutes[N]||C.routes[I]),k=async()=>((null==T?void 0:T.render404)?await T.render404(e,t,b,!1):t.end("This page could not be found"),null);if(O&&!A){let e=!!C.routes[I],t=C.dynamicRoutes[N];if(t&&!1===t.fallback&&!e){if(v.experimental.adapterPath)return await k();throw new f.NoFallbackError}}let D=null;!O||S.isDev||A||(D="/index"===(D=I)?"/":D);let M=!0===S.isDev||!O,U=O&&!M;$&&L&&(0,o.setManifestsSingleton)({page:x,clientReferenceManifest:L,serverActionsManifest:$});let P=e.method||"GET",q=(0,s.getTracer)(),F=q.getActiveScopeSpan(),H={params:R,prerenderManifest:C,renderOpts:{experimental:{authInterrupts:!!v.experimental.authInterrupts},cacheComponents:!!v.cacheComponents,supportsDynamicResponse:M,incrementalCache:(0,n.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:v.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>S.onRequestError(e,t,a,n,T)},sharedContext:{buildId:y}},B=new l.NodeNextRequest(e),W=new l.NodeNextResponse(t),G=c.NextRequestAdapter.fromNodeNextRequest(B,(0,c.signalFromNodeResponse)(t));try{let o=async e=>S.handle(G,H).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=q.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${P} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${P} ${x}`)}),i=!!(0,n.getRequestMeta)(e,"minimalMode"),l=async n=>{var s,l;let c=async({previousCacheEntry:r})=>{try{if(!i&&w&&j&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await o(n);e.fetchMetrics=H.renderOpts.fetchMetrics;let l=H.renderOpts.pendingWaitUntil;l&&a.waitUntil&&(a.waitUntil(l),l=void 0);let c=H.renderOpts.collectedTags;if(!O)return await (0,u.sendResponse)(B,W,s,H.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,m.toNodeOutgoingHttpHeaders)(s.headers);c&&(t[E.NEXT_CACHE_TAGS_HEADER]=c),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==H.renderOpts.collectedRevalidate&&!(H.renderOpts.collectedRevalidate>=E.INFINITE_CACHE)&&H.renderOpts.collectedRevalidate,a=void 0===H.renderOpts.collectedExpire||H.renderOpts.collectedExpire>=E.INFINITE_CACHE?void 0:H.renderOpts.collectedExpire;return{value:{kind:g.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await S.onRequestError(e,t,{routerKind:"App Router",routePath:x,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:w})},!1,T),t}},d=await S.handleResponse({req:e,nextConfig:v,cacheKey:D,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:w,revalidateOnlyGenerated:j,responseGenerator:c,waitUntil:a.waitUntil,isMinimalMode:i});if(!O)return null;if((null==d||null==(s=d.value)?void 0:s.kind)!==g.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(l=d.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",w?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,m.fromNodeOutgoingHttpHeaders)(d.value.headers);return i&&O||f.delete(E.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,h.getCacheControlHeader)(d.cacheControl)),await (0,u.sendResponse)(B,W,new Response(d.value.body,{headers:f,status:d.value.status||200})),null};F?await l(F):await q.withPropagatedContext(e.headers,()=>q.trace(d.BaseServerSpan.handleRequest,{spanName:`${P} ${x}`,kind:s.SpanKind.SERVER,attributes:{"http.method":P,"http.target":e.url}},l))}catch(t){if(t instanceof f.NoFallbackError||await S.onRequestError(e,t,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:w})},!1,T),O)throw t;return await (0,u.sendResponse)(B,W,new Response(null,{status:500})),null}}e.s(["handler",()=>j,"patchFetch",()=>w,"routeModule",()=>S,"serverHooks",()=>T,"workAsyncStorage",()=>A,"workUnitAsyncStorage",()=>C],23291)}];
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__89666394._.js.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},59833,e=>{"use strict";function t(e,t){let r=e.prepare(`PRAGMA ${t}`).get();if(!r)return;let a=Object.values(r);return a.length>0?a[0]:void 0}function r(e,t){return e.prepare(`PRAGMA ${t}`).all()}function a(e,t){e.exec(`PRAGMA ${t}`)}function s(e,t){e.exec("BEGIN");try{let r=t();return e.exec("COMMIT"),r}catch(t){throw e.exec("ROLLBACK"),t}}function n(e,t){return(...r)=>{e.exec("BEGIN");try{let a=t(...r);return e.exec("COMMIT"),a}catch(t){throw e.exec("ROLLBACK"),t}}}e.s(["pragmaAll",()=>r,"pragmaGet",()=>t,"pragmaSet",()=>a,"transaction",()=>s,"transactionFn",()=>n])},33405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},49041,e=>{"use strict";let t={id:"2c3cc1ca-956d-4b62-b295-4d2d3374103f",email:process.env.AGX_BOARD_USER_EMAIL||"local@agx.board",name:process.env.AGX_BOARD_USER_NAME||"Local Board User"};e.s(["LOCAL_USER",0,t])},21729,e=>{"use strict";e.x("node:sqlite",()=>require("node:sqlite"),!0);var t=e.i(59833);e.i(22734);var r=e.i(46786),a=e.i(14747);let s="3.35.0",n=["json1"],l=["fts5"],i=["nfs","smb","cifs","efs","fuse.sshfs"];function o(e,t){try{if("json1"===t)return e.prepare("SELECT json('{}')").get(),!0;if("fts5"===t)return e.exec("CREATE VIRTUAL TABLE IF NOT EXISTS _fts5_check USING fts5(x)"),e.exec("DROP TABLE IF EXISTS _fts5_check"),!0;return!1}catch{return!1}}function d(d,u){let c=[],p=d.prepare("SELECT sqlite_version() as v").get();for(let e of(0>function(e,t){let r=e.split(".").map(Number),a=t.split(".").map(Number);for(let e=0;e<3;e++){let t=(r[e]||0)-(a[e]||0);if(0!==t)return t}return 0}(p.v,s)&&c.push({kind:"version_mismatch",message:`SQLite version ${p.v} is below minimum ${s}`,found:p.v,required:`>= ${s}`,fix:"Ensure Node.js >= 22.16 is installed (node:sqlite is built-in)"}),n))o(d,e)||c.push({kind:"missing_extension",message:`Required SQLite extension '${e}' is not available`,required:e,fix:`Rebuild SQLite with -DSQLITE_ENABLE_${e.toUpperCase()}=1, or use a system SQLite that includes it`});for(let e of l)o(d,e)||console.warn(`[startup] Recommended SQLite extension '${e}' is not available. Full-text search will be disabled.`);let f=function(t){"linux"!==r.default.platform()&&r.default.platform();try{let s=a.default.resolve(t),{execSync:n}=e.r(33405);if("darwin"===r.default.platform()){let e=n(`df -T "${s}" 2>/dev/null || df "${s}"`,{encoding:"utf-8",timeout:3e3}).trim().split("\n");if(e.length>=2){let t=e[1].split(/\s+/),r=t[0]?.toLowerCase()||"";if(r.includes("://")||r.includes("nfs")||r.includes("smb"))return r}}}catch{}return null}(u);f&&i.some(e=>f.toLowerCase().includes(e))&&c.push({kind:"filesystem_error",message:`Database path '${u}' is on a network filesystem (${f})`,path:u,found:f,fix:"Move the database file to a local SSD. WAL mode requires local filesystem with reliable fsync."});try{(0,t.pragmaSet)(d,"journal_mode = wal"),(0,t.pragmaSet)(d,"foreign_keys = 1"),(0,t.pragmaSet)(d,"busy_timeout = 5000"),(0,t.pragmaSet)(d,"synchronous = 1"),(0,t.pragmaSet)(d,"cache_size = -64000");let e=(0,t.pragmaGet)(d,"journal_mode").toLowerCase(),r=new Set(["wal","delete"]);if(!r.has(e)){(0,t.pragmaSet)(d,"journal_mode = DELETE");let e=(0,t.pragmaGet)(d,"journal_mode").toLowerCase();r.has(e)?((0,t.pragmaSet)(d,"synchronous = FULL"),console.warn(`[startup] WAL unavailable, using journal_mode=${e} with synchronous=FULL`)):c.push({kind:"pragma_error",message:`Failed to set journal_mode (got '${e}', tried WAL then DELETE)`,found:e,required:"wal or delete",fix:"Ensure the database file is on a local filesystem and no other process holds an exclusive lock."})}}catch(e){c.push({kind:"pragma_error",message:`Failed to apply required PRAGMAs: ${e.message}`,fix:"Check file permissions and ensure the database is not read-only."})}return c}e.s(["validateSQLiteEnvironment",()=>d])},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},37175,e=>{"use strict";var t=e.i(2157),r=e.i(50227),a=e.i(74533),s=e.i(60447);let n=null,l=new Map;function i(e){return e.replace(/\s+/g," ").trim()}function o(e){return e.replace(/<br\s*\/?>/gi,"\n").replace(/<\/(p|h1|h2|h3|h4|h5|h6|li|tr|div)>/gi,"\n").replace(/<li[^>]*>/gi,"• ").replace(/<[^>]*>/g,"").replace(/&#x([0-9a-f]+);/gi,(e,t)=>{let r=Number.parseInt(t,16);return Number.isFinite(r)?String.fromCodePoint(r):e}).replace(/&#([0-9]+);/g,(e,t)=>{let r=Number.parseInt(t,10);return Number.isFinite(r)?String.fromCodePoint(r):e}).replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/ /g," ").replace(/\r/g,"").replace(/[ \t]+\n/g,"\n").replace(/\n{3,}/g,"\n\n").trim()}function d(e){return"claude"===e||"codex"===e||"gemini"===e||"zai"===e?e:null}function u(e){return"claude"===e?"claude-code":"codex"===e?"codex":"gemini"===e?"gemini-cli":"zai"===e?"claude-code":null}function c(e){return r.default.join(process.cwd(),".agents","skills",e,"SKILL.md")}function p(){let e=r.default.join(process.cwd(),".agents","skills");return t.default.existsSync(e)?t.default.readdirSync(e,{withFileTypes:!0}).filter(a=>a.isDirectory()&&t.default.existsSync(r.default.join(e,a.name,"SKILL.md"))).map(e=>e.name).sort((e,t)=>e.localeCompare(t)):[]}async function f(){if(n&&Date.now()-n.loadedAt<36e5)return n.data;try{let e=await fetch("https://skills.sh");if(!e.ok)return[];let t=await e.text(),r=t.indexOf("initialSkills");if(-1===r)return[];let a=t.indexOf(":[",r);if(-1===a)return[];let s=a+1,l=0,i=s;for(let e=s;e<t.length;e+=1)if("["===t[e]&&(l+=1),"]"===t[e]&&(l-=1),0===l){i=e+1;break}let o=t.slice(s,i).replace(/\\"/g,'"'),d=JSON.parse(o).map((e,t)=>({rank:t+1,name:e.name??e.skillId??"",skillId:e.skillId??e.name??"",repo:e.source??"",installs:"number"==typeof e.installs?e.installs:0}));return n={loadedAt:Date.now(),data:d},d}catch{return[]}}async function m(e,t){let r=`${e}/${t}`,a=l.get(r);if(a&&Date.now()-a.loadedAt<36e5)return a.data;try{let a=await fetch(`https://skills.sh/${e}/${t}`);if(!a.ok)return null;let s=await a.text(),n=function(e){let t=e.match(/<div class="prose[^>]*>([\s\S]*?)<\/div>\s*<\/div>\s*<\/div>\s*<\/div>\s*<div class=" lg:col-span-3">/i);if(t?.[1])return t[1];let r=e.indexOf('<div class="prose');if(-1===r)return"";let a=e.indexOf(">",r);if(-1===a)return"";let s=e.indexOf('<div class=" lg:col-span-3">',a);return -1===s?"":e.slice(a+1,s).replace(/\s*<\/div>\s*$/i,"").trim()}(s),d=n.match(/<h1[^>]*>([\s\S]*?)<\/h1>/i),u=d?i(o(d[1])):"",c=(d?n.slice((d.index??0)+d[0].length):n).match(/<p[^>]*>([\s\S]*?)<\/p>/i),p=c?i(o(c[1])):"",f=[],m=n.match(/<h2[^>]*>\s*When to Use This Skill\s*<\/h2>([\s\S]*?)(?:<h2[^>]*>|$)/i);if(m){let e=m[1].match(/<ul[^>]*>([\s\S]*?)<\/ul>/i);if(e){let t=/<li[^>]*>([\s\S]*?)<\/li>/gi,r=null;for(;null!==(r=t.exec(e[1]));){let e=i(o(r[1]));e&&f.push(e)}}}let h=s.match(/Weekly\s+Installs[\s\S]{0,240}?>([\d,.]+[KkMm]?)<\/div>/i)?.[1]??"",g=s.match(/First\s+[Ss]een[\s\S]{0,240}?>([A-Za-z]{3}\s+\d{1,2},\s+\d{4})<\/div>/i)?.[1]??"",x=s.match(/\\"command\\":\\"((?:[^"\\]|\\.)*)\\"/),_=x?x[1].replace(/\\"/g,'"').replace(/\\\\/g,"\\").trim():`npx skills add ${e} --skill ${t}`,v={title:u,description:p,whenToUse:f,weeklyInstalls:h,firstSeen:g,installCommand:_};return l.set(r,{loadedAt:Date.now(),data:v}),v}catch{return null}}function h(e){(0,s.getSQLiteDb)().prepare(`INSERT INTO skill_learning_history
|
|
2
|
-
(provider, repo, skill_id, skill_label, status, command, error, run_started_at, run_completed_at, created_at, updated_at)
|
|
3
|
-
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`).run(e.provider,e.repo,e.skill_id,e.skill_label,e.status,e.command,e.error,e.run_started_at,e.run_completed_at,e.created_at,e.updated_at)}function g(e=50,t){let r=(0,s.getSQLiteDb)(),a=[],n="",l=t?d(t):null;return l&&(n="WHERE provider = ?",a.push(l)),a.push(e),r.prepare(`SELECT id, provider, repo, skill_id, skill_label, status, command, error, run_started_at, run_completed_at, created_at, updated_at
|
|
4
|
-
FROM skill_learning_history
|
|
5
|
-
${n}
|
|
6
|
-
ORDER BY updated_at DESC, created_at DESC
|
|
7
|
-
LIMIT ?`).all(...a)}function x(e){let t=(0,s.getSQLiteDb)(),r=[],a="status = 'succeeded'",n=e?d(e):null;return n&&(a+=" AND provider = ?",r.push(n)),t.prepare(`SELECT provider, repo, skill_id, skill_label, MAX(COALESCE(run_completed_at, updated_at, created_at)) AS learned_at
|
|
8
|
-
FROM skill_learning_history
|
|
9
|
-
WHERE ${a}
|
|
10
|
-
GROUP BY provider, repo, skill_id, skill_label
|
|
11
|
-
ORDER BY learned_at DESC`).all(...r)}function _(e){let t=Array.from(new Set(e.providers.map(e=>d(e)).filter(Boolean)));if(0===t.length)return{ok:!1,command:"",stdout:"",stderr:"",results:[],error:"No supported providers selected"};let r=Date.now(),s=[],n="",l="",o="",c=new Map;for(let e of t){let t=u(e);if(!t)continue;let r=c.get(t)??[];r.push(e),c.set(t,r)}for(let[t,d]of c.entries()){let u=["--yes","skills@latest","add",e.repo,"--skill",e.skillId,"--agent",t,"--yes"];o=`npx ${u.join(" ")}`;let c=(0,a.spawnSync)("npx",u,{cwd:process.cwd(),encoding:"utf8",timeout:12e4,env:{...process.env,FORCE_COLOR:"0"}});n=String(c.stdout??""),l=String(c.stderr??"");let p=0===c.status;for(let a of d)s.push({provider:a,ok:p,agent:t}),h({provider:a,repo:e.repo,skill_id:e.skillId,skill_label:e.skillId,status:p?"succeeded":"failed",command:o,error:p?null:i(l||n).slice(0,1e3),run_started_at:r,run_completed_at:Date.now(),created_at:r,updated_at:Date.now()});if(!p)return{ok:!1,command:o,stdout:n,stderr:l,results:s,error:i(l||n)||"Installation failed"}}return{ok:!0,command:o,stdout:n,stderr:l,results:s}}function v(e){let t=Array.from(new Set(e.providers.map(e=>d(e)).filter(Boolean)));if(0===t.length)return{ok:!1,command:"",stdout:"",stderr:"",results:[],error:"No supported providers selected"};let r=Date.now(),s=[],n="",l="",o="",c=new Map;for(let e of t){let t=u(e);if(!t)continue;let r=c.get(t)??[];r.push(e),c.set(t,r)}for(let[t,d]of c.entries()){let u=["--yes","skills@latest","remove",e.skillId,"--agent",t,"--yes"];o=`npx ${u.join(" ")}`;let c=(0,a.spawnSync)("npx",u,{cwd:process.cwd(),encoding:"utf8",timeout:12e4,env:{...process.env,FORCE_COLOR:"0"}});n=String(c.stdout??""),l=String(c.stderr??"");let p=0===c.status;for(let a of d)s.push({provider:a,ok:p,agent:t}),h({provider:a,repo:"local/remove",skill_id:e.skillId,skill_label:e.skillId,status:p?"succeeded":"failed",command:o,error:p?null:i(l||n).slice(0,1e3),run_started_at:r,run_completed_at:Date.now(),created_at:r,updated_at:Date.now()});if(!p)return{ok:!1,command:o,stdout:n,stderr:l,results:s,error:i(l||n)||"Removal failed"}}return{ok:!0,command:o,stdout:n,stderr:l,results:s}}e.s(["fetchSkillDetail",()=>m,"fetchSkillsCatalog",()=>f,"installSkill",()=>_,"installedSkillPath",()=>c,"listAvailableSkills",()=>x,"listInstalledSkillIds",()=>p,"listSkillHistory",()=>g,"removeSkill",()=>v])},33413,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),s=e.i(59756),n=e.i(61916),l=e.i(74677),i=e.i(69741),o=e.i(16795),d=e.i(87718),u=e.i(95169),c=e.i(47587),p=e.i(66012),f=e.i(70101),m=e.i(74838),h=e.i(10372),g=e.i(93695);e.i(52474);var x=e.i(220),_=e.i(94028),v=e.i(37175);async function k(e){try{let{searchParams:t}=new URL(e.url),r=Number.parseInt(t.get("limit")??"50",10),a=t.get("provider")??void 0,s=(0,v.listSkillHistory)(Number.isFinite(r)?Math.min(Math.max(r,1),200):50,a);return _.NextResponse.json({ok:!0,history:s})}catch(e){return console.error("Error fetching skill history:",e),_.NextResponse.json({error:"Failed to fetch skill history"},{status:500})}}e.s(["GET",()=>k,"dynamic",0,"force-dynamic","runtime",0,"nodejs"],20377);var S=e.i(20377);let R=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/skills/history/route",pathname:"/api/skills/history",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/skills/history/route.ts",nextConfigOutput:"standalone",userland:S}),{workAsyncStorage:E,workUnitAsyncStorage:w,serverHooks:y}=R;function b(){return(0,a.patchFetch)({workAsyncStorage:E,workUnitAsyncStorage:w})}async function A(e,t,a){R.isDev&&(0,s.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let _="/api/skills/history/route";_=_.replace(/\/index$/,"")||"/";let v=await R.prepare(e,t,{srcPage:_,multiZoneDraftMode:!1});if(!v)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:k,params:S,nextConfig:E,parsedUrl:w,isDraftMode:y,prerenderManifest:b,routerServerContext:A,isOnDemandRevalidate:C,revalidateOnlyGenerated:L,resolvedPathname:O,clientReferenceManifest:I,serverActionsManifest:T}=v,N=(0,i.normalizeAppPath)(_),D=!!(b.dynamicRoutes[N]||b.routes[O]),q=async()=>((null==A?void 0:A.render404)?await A.render404(e,t,w,!1):t.end("This page could not be found"),null);if(D&&!y){let e=!!b.routes[O],t=b.dynamicRoutes[N];if(t&&!1===t.fallback&&!e){if(E.experimental.adapterPath)return await q();throw new g.NoFallbackError}}let $=null;!D||R.isDev||y||($="/index"===($=O)?"/":$);let j=!0===R.isDev||!D,M=D&&!j;T&&I&&(0,l.setManifestsSingleton)({page:_,clientReferenceManifest:I,serverActionsManifest:T});let P=e.method||"GET",U=(0,n.getTracer)(),F=U.getActiveScopeSpan(),H={params:S,prerenderManifest:b,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts},cacheComponents:!!E.cacheComponents,supportsDynamicResponse:j,incrementalCache:(0,s.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:E.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,s)=>R.onRequestError(e,t,a,s,A)},sharedContext:{buildId:k}},B=new o.NodeNextRequest(e),G=new o.NodeNextResponse(t),K=d.NextRequestAdapter.fromNodeNextRequest(B,(0,d.signalFromNodeResponse)(t));try{let l=async e=>R.handle(K,H).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=U.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${P} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${P} ${_}`)}),i=!!(0,s.getRequestMeta)(e,"minimalMode"),o=async s=>{var n,o;let d=async({previousCacheEntry:r})=>{try{if(!i&&C&&L&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await l(s);e.fetchMetrics=H.renderOpts.fetchMetrics;let o=H.renderOpts.pendingWaitUntil;o&&a.waitUntil&&(a.waitUntil(o),o=void 0);let d=H.renderOpts.collectedTags;if(!D)return await (0,p.sendResponse)(B,G,n,H.renderOpts.pendingWaitUntil),null;{let e=await n.blob(),t=(0,f.toNodeOutgoingHttpHeaders)(n.headers);d&&(t[h.NEXT_CACHE_TAGS_HEADER]=d),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==H.renderOpts.collectedRevalidate&&!(H.renderOpts.collectedRevalidate>=h.INFINITE_CACHE)&&H.renderOpts.collectedRevalidate,a=void 0===H.renderOpts.collectedExpire||H.renderOpts.collectedExpire>=h.INFINITE_CACHE?void 0:H.renderOpts.collectedExpire;return{value:{kind:x.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await R.onRequestError(e,t,{routerKind:"App Router",routePath:_,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),t}},u=await R.handleResponse({req:e,nextConfig:E,cacheKey:$,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:b,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:L,responseGenerator:d,waitUntil:a.waitUntil,isMinimalMode:i});if(!D)return null;if((null==u||null==(n=u.value)?void 0:n.kind)!==x.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(o=u.value)?void 0:o.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",C?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),y&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let g=(0,f.fromNodeOutgoingHttpHeaders)(u.value.headers);return i&&D||g.delete(h.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||g.get("Cache-Control")||g.set("Cache-Control",(0,m.getCacheControlHeader)(u.cacheControl)),await (0,p.sendResponse)(B,G,new Response(u.value.body,{headers:g,status:u.value.status||200})),null};F?await o(F):await U.withPropagatedContext(e.headers,()=>U.trace(u.BaseServerSpan.handleRequest,{spanName:`${P} ${_}`,kind:n.SpanKind.SERVER,attributes:{"http.method":P,"http.target":e.url}},o))}catch(t){if(t instanceof g.NoFallbackError||await R.onRequestError(e,t,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),D)throw t;return await (0,p.sendResponse)(B,G,new Response(null,{status:500})),null}}e.s(["handler",()=>A,"patchFetch",()=>b,"routeModule",()=>R,"serverHooks",()=>y,"workAsyncStorage",()=>E,"workUnitAsyncStorage",()=>w],33413)}];
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__8c0fb154._.js.map
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
module.exports=[22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},33405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},42969,e=>{"use strict";function t(e,t){let r=e.prepare(`PRAGMA ${t}`).get();if(!r)return;let a=Object.values(r);return a.length>0?a[0]:void 0}function r(e,t){return e.prepare(`PRAGMA ${t}`).all()}function a(e,t){e.exec(`PRAGMA ${t}`)}function i(e,t){e.exec("BEGIN");try{let r=t();return e.exec("COMMIT"),r}catch(t){throw e.exec("ROLLBACK"),t}}function n(e,t){return(...r)=>{e.exec("BEGIN");try{let a=t(...r);return e.exec("COMMIT"),a}catch(t){throw e.exec("ROLLBACK"),t}}}e.s(["pragmaAll",()=>r,"pragmaGet",()=>t,"pragmaSet",()=>a,"transaction",()=>i,"transactionFn",()=>n])},28237,e=>{"use strict";e.x("node:sqlite",()=>require("node:sqlite"),!0);var t=e.i(42969);e.i(22734);var r=e.i(46786),a=e.i(14747);let i="3.35.0",n=["json1"],s=["fts5"],o=["nfs","smb","cifs","efs","fuse.sshfs"];function d(e,t){try{if("json1"===t)return e.prepare("SELECT json('{}')").get(),!0;if("fts5"===t)return e.exec("CREATE VIRTUAL TABLE IF NOT EXISTS _fts5_check USING fts5(x)"),e.exec("DROP TABLE IF EXISTS _fts5_check"),!0;return!1}catch{return!1}}function u(u,p){let l=[],c=u.prepare("SELECT sqlite_version() as v").get();for(let e of(0>function(e,t){let r=e.split(".").map(Number),a=t.split(".").map(Number);for(let e=0;e<3;e++){let t=(r[e]||0)-(a[e]||0);if(0!==t)return t}return 0}(c.v,i)&&l.push({kind:"version_mismatch",message:`SQLite version ${c.v} is below minimum ${i}`,found:c.v,required:`>= ${i}`,fix:"Ensure Node.js >= 22.16 is installed (node:sqlite is built-in)"}),n))d(u,e)||l.push({kind:"missing_extension",message:`Required SQLite extension '${e}' is not available`,required:e,fix:`Rebuild SQLite with -DSQLITE_ENABLE_${e.toUpperCase()}=1, or use a system SQLite that includes it`});for(let e of s)d(u,e)||console.warn(`[startup] Recommended SQLite extension '${e}' is not available. Full-text search will be disabled.`);let h=function(t){"linux"!==r.default.platform()&&r.default.platform();try{let i=a.default.resolve(t),{execSync:n}=e.r(33405);if("darwin"===r.default.platform()){let e=n(`df -T "${i}" 2>/dev/null || df "${i}"`,{encoding:"utf-8",timeout:3e3}).trim().split("\n");if(e.length>=2){let t=e[1].split(/\s+/),r=t[0]?.toLowerCase()||"";if(r.includes("://")||r.includes("nfs")||r.includes("smb"))return r}}}catch{}return null}(p);h&&o.some(e=>h.toLowerCase().includes(e))&&l.push({kind:"filesystem_error",message:`Database path '${p}' is on a network filesystem (${h})`,path:p,found:h,fix:"Move the database file to a local SSD. WAL mode requires local filesystem with reliable fsync."});try{(0,t.pragmaSet)(u,"journal_mode = wal"),(0,t.pragmaSet)(u,"foreign_keys = 1"),(0,t.pragmaSet)(u,"busy_timeout = 5000"),(0,t.pragmaSet)(u,"synchronous = 1"),(0,t.pragmaSet)(u,"cache_size = -64000");let e=(0,t.pragmaGet)(u,"journal_mode").toLowerCase(),r=new Set(["wal","delete"]);if(!r.has(e)){(0,t.pragmaSet)(u,"journal_mode = DELETE");let e=(0,t.pragmaGet)(u,"journal_mode").toLowerCase();r.has(e)?((0,t.pragmaSet)(u,"synchronous = FULL"),console.warn(`[startup] WAL unavailable, using journal_mode=${e} with synchronous=FULL`)):l.push({kind:"pragma_error",message:`Failed to set journal_mode (got '${e}', tried WAL then DELETE)`,found:e,required:"wal or delete",fix:"Ensure the database file is on a local filesystem and no other process holds an exclusive lock."})}}catch(e){l.push({kind:"pragma_error",message:`Failed to apply required PRAGMAs: ${e.message}`,fix:"Check file permissions and ensure the database is not read-only."})}return l}e.s(["validateSQLiteEnvironment",()=>u])},91329,e=>{"use strict";var t=e.i(65196),r=e.i(42969);let a=new Set(["replan","rollback"]);class i extends Error{expectedVersion;actualVersion;constructor(e,t){super(`Execution graph version conflict: expected ${e}, found ${t}.`),this.name="GraphVersionConflictError",this.expectedVersion=e,this.actualVersion=t}}class n extends Error{constructor(e){super(`Execution graph not found: ${e}`),this.name="GraphNotFoundError"}}class s extends Error{nodeIds;constructor(e,t){super(`Execution graph ${e} is missing node(s): ${t.join(", ")}`),this.name="GraphNodeNotFoundError",this.nodeIds=t}}class o extends Error{taskId;existingGraphId;constructor(e,t){super(`Task ${e} is already bound to execution graph ${t}.`),this.name="GraphTaskAlreadyBoundError",this.taskId=e,this.existingGraphId=t}}function d(e){return null==e?null:JSON.stringify(e)}function u(e){if(null==e)return null;if("string"==typeof e)try{return JSON.parse(e)}catch{}return e}function p(e){let t=Date.parse(e);return Number.isNaN(t)?e:new Date(t).toISOString()}function l(e){return!e||"object"!=typeof e||Array.isArray(e)?{}:e}function c(e){let{type:t,status:r,metrics:a,output:i,...n}=e;return{type:t,status:r,config:n,output:i??null,metrics:a??null}}function h(e){let t={...l(u(e.payload))};return"eventType"in t||(t.eventType=e.event_type),"timestamp"in t||(t.timestamp=p(e.timestamp)),t}function g(e){return{query(t,r){let a=e.prepare(t);return/^\s*(INSERT|UPDATE|DELETE)/i.test(t)&&!/RETURNING/i.test(t)?(a.run(...(r??[]).map(e=>e)),{rows:[]}):{rows:a.all(...(r??[]).map(e=>e))}}}}class E{getDb(){return(0,t.getSQLiteDb)()}createGraph(e,t){let a=this.getDb(),i=g(a);t?.skipTaskBinding&&(0,r.pragmaSet)(a,"foreign_keys = OFF");try{return(0,r.transaction)(a,()=>{let r=i.query("SELECT id FROM execution_graphs WHERE task_id = ? LIMIT 1",[e.taskId]).rows[0];if(r&&r.id!==e.id)throw new o(e.taskId,r.id);for(let[t,r]of(i.query(`INSERT INTO execution_graphs
|
|
2
|
-
(id, task_id, graph_version, mode, policy, done_criteria, schedule, created_at, updated_at)
|
|
3
|
-
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
4
|
-
ON CONFLICT (id) DO UPDATE SET
|
|
5
|
-
task_id = excluded.task_id,
|
|
6
|
-
graph_version = excluded.graph_version,
|
|
7
|
-
mode = excluded.mode,
|
|
8
|
-
policy = excluded.policy,
|
|
9
|
-
done_criteria = excluded.done_criteria,
|
|
10
|
-
schedule = excluded.schedule,
|
|
11
|
-
created_at = excluded.created_at,
|
|
12
|
-
updated_at = excluded.updated_at`,[e.id,e.taskId,e.graphVersion,e.mode,d(e.policy),d(e.doneCriteria),d(e.schedule??null),e.createdAt,e.updatedAt]),i.query("DELETE FROM graph_nodes WHERE graph_id = ?",[e.id]),i.query("DELETE FROM graph_edges WHERE graph_id = ?",[e.id]),Object.entries(e.nodes))){let a=c(r);i.query(`INSERT INTO graph_nodes (graph_id, node_id, type, status, config, output, metrics)
|
|
13
|
-
VALUES (?, ?, ?, ?, ?, ?, ?)`,[e.id,t,a.type,a.status,d(a.config),d(a.output),d(a.metrics)])}for(let t of e.edges)i.query(`INSERT INTO graph_edges (graph_id, from_id, to_id, type, condition, data_mapping)
|
|
14
|
-
VALUES (?, ?, ?, ?, ?, ?)`,[e.id,t.from,t.to,t.type,t.condition??null,d(t.dataMapping??null)]);for(let t of e.versionHistory)this.appendEventInternal(i,e.id,t);for(let t of e.runtimeEvents??[])this.appendEventInternal(i,e.id,t);t?.skipTaskBinding||i.query("UPDATE tasks SET graph_id = ? WHERE id = ?",[e.id,e.taskId]);let a=this.getGraphForTask(i,e.taskId);if(!a)throw new n(e.id);return a})}finally{t?.skipTaskBinding&&(0,r.pragmaSet)(a,"foreign_keys = ON")}}getGraph(e){let t=this.getDb();return this.getGraphForTask(g(t),e)}updateNodeRuntime(e,t,a){let i=this.getDb(),o=g(i);return(0,r.transaction)(i,()=>{if(!o.query("SELECT id, graph_version FROM execution_graphs WHERE id = ?",[e]).rows[0])throw new n(e);let r=Object.keys(t);if(0===r.length){let t=o.query("SELECT graph_version, updated_at FROM execution_graphs WHERE id = ?",[e]);return{graphVersion:t.rows[0].graph_version,updatedAt:p(t.rows[0].updated_at)}}let a=r.map(()=>"?").join(", "),i=o.query(`SELECT node_id, type, status, config, output, metrics
|
|
15
|
-
FROM graph_nodes WHERE graph_id = ? AND node_id IN (${a})`,[e,...r]),c=new Map;for(let e of i.rows)c.set(e.node_id,e);let h=r.filter(e=>!c.has(e));if(h.length>0)throw new s(e,h);for(let a of r){let r=t[a],i=c.get(a);if(!i||!r)continue;let n={...l(u(i.config)),...l(r.configPatch)};void 0!==r.startedAt&&(n.startedAt=r.startedAt),void 0!==r.completedAt&&(n.completedAt=r.completedAt),void 0!==r.actualMinutes&&(n.actualMinutes=r.actualMinutes),o.query(`UPDATE graph_nodes SET status = ?, metrics = ?, output = ?, config = ?
|
|
16
|
-
WHERE graph_id = ? AND node_id = ?`,[r.status??i.status,d(r.metrics??u(i.metrics)),d(r.output??u(i.output)),d(n),e,a])}let g=o.query("UPDATE execution_graphs SET updated_at = datetime('now') WHERE id = ? RETURNING graph_version, updated_at",[e]);return{graphVersion:g.rows[0].graph_version,updatedAt:p(g.rows[0].updated_at)}})}updateGraphStructure(e,t,a){let i=this.getDb(),s=g(i);return(0,r.transaction)(i,()=>{let r=s.query("SELECT id, graph_version, mode, policy, done_criteria, schedule FROM execution_graphs WHERE id = ?",[e]).rows[0];if(!r)throw new n(e);if(t.nodes)for(let[r,a]of(s.query("DELETE FROM graph_nodes WHERE graph_id = ?",[e]),Object.entries(t.nodes))){let t=c(a);s.query(`INSERT INTO graph_nodes (graph_id, node_id, type, status, config, output, metrics)
|
|
17
|
-
VALUES (?, ?, ?, ?, ?, ?, ?)`,[e,r,t.type,t.status,d(t.config),d(t.output),d(t.metrics)])}if(t.edges)for(let r of(s.query("DELETE FROM graph_edges WHERE graph_id = ?",[e]),t.edges))s.query(`INSERT INTO graph_edges (graph_id, from_id, to_id, type, condition, data_mapping)
|
|
18
|
-
VALUES (?, ?, ?, ?, ?, ?)`,[e,r.from,r.to,r.type,r.condition??null,d(r.dataMapping??null)]);let a=s.query(`UPDATE execution_graphs
|
|
19
|
-
SET mode = ?, policy = ?, done_criteria = ?, schedule = ?, updated_at = datetime('now')
|
|
20
|
-
WHERE id = ?
|
|
21
|
-
RETURNING graph_version, updated_at`,[t.mode??r.mode,d(t.policy??u(r.policy)??{}),d(t.doneCriteria??u(r.done_criteria)??{}),d(t.schedule??u(r.schedule)??null),e]);return{graphVersion:a.rows[0].graph_version,updatedAt:p(a.rows[0].updated_at)}})}appendEvent(e,t){let r=this.getDb();this.appendEventInternal(g(r),e,t)}getGraphForTask(e,t){let r=e.query(`SELECT id, task_id, graph_version, mode, policy, done_criteria, schedule, created_at, updated_at
|
|
22
|
-
FROM execution_graphs WHERE task_id = ? ORDER BY updated_at DESC LIMIT 1`,[t]).rows[0];if(!r)return null;let i=e.query(`SELECT node_id, type, status, config, output, metrics
|
|
23
|
-
FROM graph_nodes WHERE graph_id = ? ORDER BY node_id ASC`,[r.id]),n=e.query(`SELECT from_id, to_id, type, condition, data_mapping
|
|
24
|
-
FROM graph_edges WHERE graph_id = ? ORDER BY from_id ASC, to_id ASC`,[r.id]),s=e.query(`SELECT event_type, payload, timestamp
|
|
25
|
-
FROM graph_events WHERE graph_id = ? ORDER BY timestamp ASC, event_type ASC`,[r.id]),o={};for(let e of i.rows)o[e.node_id]=function(e){let t={...l(u(e.config)),type:e.type,status:e.status},r=u(e.metrics);null!==r&&(t.metrics=r);let a=u(e.output);return null!==a&&(t.output=a),t}(e);let d=n.rows.map(e=>({from:e.from_id,to:e.to_id,type:e.type,...e.condition?{condition:u(e.condition)}:{},...e.data_mapping?{dataMapping:u(e.data_mapping)}:{}})),c=[],g=[];for(let e of s.rows){let t=h(e);a.has(t.eventType)?c.push(t):g.push(t)}return{id:r.id,taskId:r.task_id,graphVersion:r.graph_version,mode:r.mode,nodes:o,edges:d,policy:u(r.policy)??{},doneCriteria:u(r.done_criteria)??{},schedule:u(r.schedule)??void 0,versionHistory:c,runtimeEvents:g,createdAt:p(r.created_at),updatedAt:p(r.updated_at)}}appendEventInternal(e,t,r){e.query(`INSERT INTO graph_events (graph_id, event_type, payload, timestamp)
|
|
26
|
-
VALUES (?, ?, ?, ?)`,[t,r.eventType,d(r),r.timestamp])}}function _(){return new E}let f=new E;function m(e,t){return f.createGraph(e,t)}function y(e){return f.getGraph(e)}function S(e,t,r){return f.updateNodeRuntime(e,t,r)}function T(e,t,r){return f.updateGraphStructure(e,t,r)}function R(e,t){return f.appendEvent(e,t)}function v(e,r={}){let a=["graph_id = ?"],i=[e];r.eventType&&(a.push("event_type = ?"),i.push(r.eventType)),r.since&&(a.push("timestamp >= ?"),i.push(r.since));let n=r.limit??1e3,s=`SELECT event_type, payload, timestamp
|
|
27
|
-
FROM graph_events
|
|
28
|
-
WHERE ${a.join(" AND ")}
|
|
29
|
-
ORDER BY timestamp ASC, event_type ASC
|
|
30
|
-
LIMIT ?`;return i.push(n),g((0,t.getSQLiteDb)()).query(s,i).rows.map(e=>h(e))}function x(e){let r=e.trim();return r?(0,t.getSQLiteDb)().prepare(`SELECT id AS graphId, task_id AS taskId
|
|
31
|
-
FROM execution_graphs
|
|
32
|
-
WHERE schedule IS NOT NULL
|
|
33
|
-
AND json_extract(schedule, '$.rootMessageId') = ?
|
|
34
|
-
AND json_extract(schedule, '$.state') = 'active'
|
|
35
|
-
ORDER BY updated_at DESC
|
|
36
|
-
LIMIT 1`).get(r)??null:null}function A(){return(0,t.getSQLiteDb)().prepare(`SELECT json_extract(schedule, '$.rootMessageId') AS rootMessageId
|
|
37
|
-
FROM execution_graphs
|
|
38
|
-
WHERE schedule IS NOT NULL
|
|
39
|
-
AND json_extract(schedule, '$.state') = 'active'`).all().map(e=>e.rootMessageId).filter(Boolean)}function L(e){let r=e.trim();return r?Number((0,t.getSQLiteDb)().prepare(`UPDATE execution_graphs
|
|
40
|
-
SET schedule = json_set(schedule, '$.state', 'stopped', '$.tickInProgress', json('false')),
|
|
41
|
-
updated_at = strftime('%Y-%m-%dT%H:%M:%fZ','now')
|
|
42
|
-
WHERE schedule IS NOT NULL
|
|
43
|
-
AND json_extract(schedule, '$.rootMessageId') = ?
|
|
44
|
-
AND json_extract(schedule, '$.state') = 'active'`).run(r).changes??0):0}e.s(["GraphNodeNotFoundError",()=>s,"GraphNotFoundError",()=>n,"GraphStore",()=>E,"GraphTaskAlreadyBoundError",()=>o,"GraphVersionConflictError",()=>i,"appendEvent",()=>R,"createGraph",()=>m,"createGraphStore",()=>_,"deactivateSchedulesByRootMessageId",()=>L,"getActiveScheduleForRootMessageId",()=>x,"getActiveScheduleRootMessageIds",()=>A,"getGraph",()=>y,"getGraphEvents",()=>v,"updateGraphStructure",()=>T,"updateNodeRuntime",()=>S])}];
|
|
45
|
-
|
|
46
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__8f5cac13._.js.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},59833,e=>{"use strict";function t(e,t){let r=e.prepare(`PRAGMA ${t}`).get();if(!r)return;let a=Object.values(r);return a.length>0?a[0]:void 0}function r(e,t){return e.prepare(`PRAGMA ${t}`).all()}function a(e,t){e.exec(`PRAGMA ${t}`)}function n(e,t){e.exec("BEGIN");try{let r=t();return e.exec("COMMIT"),r}catch(t){throw e.exec("ROLLBACK"),t}}function s(e,t){return(...r)=>{e.exec("BEGIN");try{let a=t(...r);return e.exec("COMMIT"),a}catch(t){throw e.exec("ROLLBACK"),t}}}e.s(["pragmaAll",()=>r,"pragmaGet",()=>t,"pragmaSet",()=>a,"transaction",()=>n,"transactionFn",()=>s])},33405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},49041,e=>{"use strict";let t={id:"2c3cc1ca-956d-4b62-b295-4d2d3374103f",email:process.env.AGX_BOARD_USER_EMAIL||"local@agx.board",name:process.env.AGX_BOARD_USER_NAME||"Local Board User"};e.s(["LOCAL_USER",0,t])},21729,e=>{"use strict";e.x("node:sqlite",()=>require("node:sqlite"),!0);var t=e.i(59833);e.i(22734);var r=e.i(46786),a=e.i(14747);let n="3.35.0",s=["json1"],o=["fts5"],i=["nfs","smb","cifs","efs","fuse.sshfs"];function l(e,t){try{if("json1"===t)return e.prepare("SELECT json('{}')").get(),!0;if("fts5"===t)return e.exec("CREATE VIRTUAL TABLE IF NOT EXISTS _fts5_check USING fts5(x)"),e.exec("DROP TABLE IF EXISTS _fts5_check"),!0;return!1}catch{return!1}}function u(u,c){let p=[],d=u.prepare("SELECT sqlite_version() as v").get();for(let e of(0>function(e,t){let r=e.split(".").map(Number),a=t.split(".").map(Number);for(let e=0;e<3;e++){let t=(r[e]||0)-(a[e]||0);if(0!==t)return t}return 0}(d.v,n)&&p.push({kind:"version_mismatch",message:`SQLite version ${d.v} is below minimum ${n}`,found:d.v,required:`>= ${n}`,fix:"Ensure Node.js >= 22.16 is installed (node:sqlite is built-in)"}),s))l(u,e)||p.push({kind:"missing_extension",message:`Required SQLite extension '${e}' is not available`,required:e,fix:`Rebuild SQLite with -DSQLITE_ENABLE_${e.toUpperCase()}=1, or use a system SQLite that includes it`});for(let e of o)l(u,e)||console.warn(`[startup] Recommended SQLite extension '${e}' is not available. Full-text search will be disabled.`);let m=function(t){"linux"!==r.default.platform()&&r.default.platform();try{let n=a.default.resolve(t),{execSync:s}=e.r(33405);if("darwin"===r.default.platform()){let e=s(`df -T "${n}" 2>/dev/null || df "${n}"`,{encoding:"utf-8",timeout:3e3}).trim().split("\n");if(e.length>=2){let t=e[1].split(/\s+/),r=t[0]?.toLowerCase()||"";if(r.includes("://")||r.includes("nfs")||r.includes("smb"))return r}}}catch{}return null}(c);m&&i.some(e=>m.toLowerCase().includes(e))&&p.push({kind:"filesystem_error",message:`Database path '${c}' is on a network filesystem (${m})`,path:c,found:m,fix:"Move the database file to a local SSD. WAL mode requires local filesystem with reliable fsync."});try{(0,t.pragmaSet)(u,"journal_mode = wal"),(0,t.pragmaSet)(u,"foreign_keys = 1"),(0,t.pragmaSet)(u,"busy_timeout = 5000"),(0,t.pragmaSet)(u,"synchronous = 1"),(0,t.pragmaSet)(u,"cache_size = -64000");let e=(0,t.pragmaGet)(u,"journal_mode").toLowerCase(),r=new Set(["wal","delete"]);if(!r.has(e)){(0,t.pragmaSet)(u,"journal_mode = DELETE");let e=(0,t.pragmaGet)(u,"journal_mode").toLowerCase();r.has(e)?((0,t.pragmaSet)(u,"synchronous = FULL"),console.warn(`[startup] WAL unavailable, using journal_mode=${e} with synchronous=FULL`)):p.push({kind:"pragma_error",message:`Failed to set journal_mode (got '${e}', tried WAL then DELETE)`,found:e,required:"wal or delete",fix:"Ensure the database file is on a local filesystem and no other process holds an exclusive lock."})}}catch(e){p.push({kind:"pragma_error",message:`Failed to apply required PRAGMAs: ${e.message}`,fix:"Check file permissions and ensure the database is not read-only."})}return p}e.s(["validateSQLiteEnvironment",()=>u])},54799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},24868,(e,t,r)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},79042,e=>{"use strict";e.s(["DEFAULT_EXECUTION_POLICY",0,{replanBudgetRemaining:3,replanBudgetInitial:3,verifyBudgetRemaining:5,verifyBudgetInitial:5,maxConcurrentAutoChecks:1,immutableRequiredGates:!0,maxConcurrent:3,priorityMode:"fifo",nodeTimeoutMs:18e5,graphTimeoutMs:864e5},"FAILURE_NODE_STATUSES",0,["failed"],"INCOMPLETE_FOR_DONE_STATUSES",0,["pending","running","awaiting_human","blocked"],"SOFT_DEP_SATISFIED_STATUSES",0,["done","passed","failed","skipped","blocked"],"SUCCESS_NODE_STATUSES",0,["done","passed"],"TERMINAL_NODE_STATUSES",0,["done","passed","failed","skipped"]])},38479,e=>{"use strict";var t=e.i(54799),r=e.i(248);function a(e){return{id:e.id,name:e.name,prompt:e.prompt,agentId:e.agent_id||"",projectId:e.project_id||"",provider:e.provider||e.cli||"claude",model:e.model||"",cliArgs:e.cli_args||"",cronExpr:e.cron_expr,cadence:e.cadence,state:e.state,overlapPolicy:e.overlap_policy,catchUpPolicy:e.catch_up_policy||"fire_once",cancelCheckSec:e.cancel_check_sec,triggerType:e.trigger_type||"scheduled",condition:e.condition||"",checkEveryMs:e.check_every_ms||3e5,nextRunAt:e.next_run_at,lastRunAt:e.last_run_at,lastOutcome:e.last_outcome,createdAt:e.created_at,updatedAt:e.updated_at}}function n(e){return{id:e.id,jobId:e.job_id,status:e.status,output:e.output,error:e.error,durationMs:e.duration_ms,startedAt:e.started_at,finishedAt:e.finished_at,cancelledAt:e.cancelled_at,createdAt:e.created_at}}class s{db;constructor(e){this.db=e}createJob(e){let a,n=(0,t.randomUUID)(),s=e.cadence,o=e.cronExpr||s,i=e.triggerType??"scheduled",l=e.provider??"claude";return a="condition"===i?Date.now()+(e.checkEveryMs??3e5):(0,r.computeNextTickFromCron)(o)??null,this.db.prepare(`INSERT INTO prompt_jobs (id, name, prompt, cli, agent_id, project_id, provider, model, cli_args, cron_expr, cadence, overlap_policy, catch_up_policy, cancel_check_sec, trigger_type, condition, check_every_ms, next_run_at)
|
|
2
|
-
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`).run(n,e.name,e.prompt,l,e.agentId||null,e.projectId||null,l,e.model??"",e.cliArgs??"",o,s,e.overlapPolicy??"skip",e.catchUpPolicy??"fire_once",e.cancelCheckSec??5,i,e.condition??"",e.checkEveryMs??3e5,a),this.getJob(n)}getJob(e){let t=this.db.prepare("SELECT * FROM prompt_jobs WHERE id = ?").get(e);return t?a(t):null}listJobs(e){let t="SELECT * FROM prompt_jobs",r=[],n=[];return e?.state&&(r.push("state = ?"),n.push(e.state)),e?.projectId&&(r.push("project_id = ?"),n.push(e.projectId)),r.length>0&&(t+=" WHERE "+r.join(" AND ")),t+=" ORDER BY created_at DESC",this.db.prepare(t).all(...n).map(a)}updateJob(e,t){let a={name:"name",prompt:"prompt",cli:"cli",agentId:"agent_id",projectId:"project_id",provider:"provider",cronExpr:"cron_expr",model:"model",cliArgs:"cli_args",cadence:"cadence",state:"state",overlapPolicy:"overlap_policy",catchUpPolicy:"catch_up_policy",cancelCheckSec:"cancel_check_sec",triggerType:"trigger_type",condition:"condition",checkEveryMs:"check_every_ms",nextRunAt:"next_run_at",lastRunAt:"last_run_at",lastOutcome:"last_outcome"},n=[],s=[];for(let[e,o]of Object.entries(t)){let t=a[e];if(t&&void 0!==o&&(n.push(`${t} = ?`),s.push(o),"cadence"===e&&"string"==typeof o)){n.push("cron_expr = ?"),s.push(o);let e=(0,r.computeNextTickFromCron)(o)??null;n.push("next_run_at = ?"),s.push(e)}}return 0===n.length||(n.push("updated_at = datetime('now')"),s.push(e),this.db.prepare(`UPDATE prompt_jobs SET ${n.join(", ")} WHERE id = ?`).run(...s.map(e=>e))),this.getJob(e)}deleteJob(e){this.db.prepare("DELETE FROM prompt_jobs WHERE id = ?").run(e)}getDueJobs(e=Date.now()){return this.db.prepare(`SELECT * FROM prompt_jobs
|
|
3
|
-
WHERE state = 'active'
|
|
4
|
-
AND next_run_at IS NOT NULL
|
|
5
|
-
AND next_run_at <= ?
|
|
6
|
-
ORDER BY next_run_at ASC`).all(e).map(a)}createRun(e){let r=(0,t.randomUUID)();return this.db.prepare("INSERT INTO prompt_runs (id, job_id) VALUES (?, ?)").run(r,e),this.getRun(r)}getRun(e){let t=this.db.prepare("SELECT * FROM prompt_runs WHERE id = ?").get(e);return t?n(t):null}listRuns(e,t=50){return this.db.prepare("SELECT * FROM prompt_runs WHERE job_id = ? ORDER BY created_at DESC LIMIT ?").all(e,t).map(n)}updateRun(e,t){let r={status:"status",output:"output",error:"error",durationMs:"duration_ms",startedAt:"started_at",finishedAt:"finished_at",cancelledAt:"cancelled_at"},a=[],n=[];for(let[e,s]of Object.entries(t)){let t=r[e];t&&(a.push(`${t} = ?`),n.push(s??null))}return 0===a.length||(n.push(e),this.db.prepare(`UPDATE prompt_runs SET ${a.join(", ")} WHERE id = ?`).run(...n.map(e=>e))),this.getRun(e)}hasRunningRun(e){return void 0!==this.db.prepare("SELECT id FROM prompt_runs WHERE job_id = ? AND status IN ('queued', 'running') LIMIT 1").get(e)}isRunCancelled(e){let t=this.db.prepare("SELECT status FROM prompt_runs WHERE id = ?").get(e);return t?.status==="cancelled"}}var o=e.i(22734),i=e.i(14747),l=e.i(60447);let u=null;function c(){if(!u){let e=(0,l.getSQLiteDb)();if(e.prepare("SELECT 1 FROM sqlite_master WHERE type='table' AND name='prompt_jobs'").get()){if(!e.prepare("SELECT 1 FROM pragma_table_info('prompt_jobs') WHERE name='catch_up_policy'").get())for(let t of(0,o.readFileSync)(i.default.join(process.cwd(),"db/sqlite/003_prompt_scheduler_v2.sql"),"utf-8").replace(/^\s*--.*$/gm,"").split(";").map(e=>e.trim()).filter(Boolean))try{e.exec(t)}catch(e){if(!e.message?.includes("duplicate column"))throw e}}else{let t=(0,o.readFileSync)(i.default.join(process.cwd(),"db/sqlite/002_prompt_scheduler_schema.sql"),"utf-8");e.exec(t)}u=new s(e)}return u}e.s(["getPromptJobStore",()=>c],38479)},49965,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),s=e.i(61916),o=e.i(74677),i=e.i(69741),l=e.i(16795),u=e.i(87718),c=e.i(95169),p=e.i(47587),d=e.i(66012),m=e.i(70101),h=e.i(74838),_=e.i(10372),E=e.i(93695);e.i(52474);var f=e.i(220),g=e.i(94028),R=e.i(38479);async function x(e,{params:t}){try{let{id:e}=await t,r=(0,R.getPromptJobStore)();if(!r.getJob(e))return g.NextResponse.json({error:"Job not found"},{status:404});let a=r.listRuns(e);return g.NextResponse.json({count:a.length,runs:a})}catch(e){return console.error("Failed to list prompt runs:",e),g.NextResponse.json({error:"Failed to list prompt runs",message:e instanceof Error?e.message:String(e)},{status:500})}}e.s(["GET",()=>x,"dynamic",0,"force-dynamic","runtime",0,"nodejs"],99317);var b=e.i(99317);let v=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/prompt-jobs/[id]/runs/route",pathname:"/api/prompt-jobs/[id]/runs",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/prompt-jobs/[id]/runs/route.ts",nextConfigOutput:"standalone",userland:b}),{workAsyncStorage:S,workUnitAsyncStorage:A,serverHooks:y}=v;function T(){return(0,a.patchFetch)({workAsyncStorage:S,workUnitAsyncStorage:A})}async function C(e,t,a){v.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/prompt-jobs/[id]/runs/route";g=g.replace(/\/index$/,"")||"/";let R=await v.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!R)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:x,params:b,nextConfig:S,parsedUrl:A,isDraftMode:y,prerenderManifest:T,routerServerContext:C,isOnDemandRevalidate:w,revalidateOnlyGenerated:j,resolvedPathname:L,clientReferenceManifest:O,serverActionsManifest:I}=R,N=(0,i.normalizeAppPath)(g),k=!!(T.dynamicRoutes[N]||T.routes[L]),D=async()=>((null==C?void 0:C.render404)?await C.render404(e,t,A,!1):t.end("This page could not be found"),null);if(k&&!y){let e=!!T.routes[L],t=T.dynamicRoutes[N];if(t&&!1===t.fallback&&!e){if(S.experimental.adapterPath)return await D();throw new E.NoFallbackError}}let M=null;!k||v.isDev||y||(M="/index"===(M=L)?"/":M);let U=!0===v.isDev||!k,q=k&&!U;I&&O&&(0,o.setManifestsSingleton)({page:g,clientReferenceManifest:O,serverActionsManifest:I});let P=e.method||"GET",F=(0,s.getTracer)(),$=F.getActiveScopeSpan(),H={params:b,prerenderManifest:T,renderOpts:{experimental:{authInterrupts:!!S.experimental.authInterrupts},cacheComponents:!!S.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,n.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:S.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>v.onRequestError(e,t,a,n,C)},sharedContext:{buildId:x}},B=new l.NodeNextRequest(e),G=new l.NodeNextResponse(t),W=u.NextRequestAdapter.fromNodeNextRequest(B,(0,u.signalFromNodeResponse)(t));try{let o=async e=>v.handle(W,H).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=F.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==c.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${P} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${P} ${g}`)}),i=!!(0,n.getRequestMeta)(e,"minimalMode"),l=async n=>{var s,l;let u=async({previousCacheEntry:r})=>{try{if(!i&&w&&j&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await o(n);e.fetchMetrics=H.renderOpts.fetchMetrics;let l=H.renderOpts.pendingWaitUntil;l&&a.waitUntil&&(a.waitUntil(l),l=void 0);let u=H.renderOpts.collectedTags;if(!k)return await (0,d.sendResponse)(B,G,s,H.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,m.toNodeOutgoingHttpHeaders)(s.headers);u&&(t[_.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==H.renderOpts.collectedRevalidate&&!(H.renderOpts.collectedRevalidate>=_.INFINITE_CACHE)&&H.renderOpts.collectedRevalidate,a=void 0===H.renderOpts.collectedExpire||H.renderOpts.collectedExpire>=_.INFINITE_CACHE?void 0:H.renderOpts.collectedExpire;return{value:{kind:f.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await v.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:w})},!1,C),t}},c=await v.handleResponse({req:e,nextConfig:S,cacheKey:M,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:T,isRoutePPREnabled:!1,isOnDemandRevalidate:w,revalidateOnlyGenerated:j,responseGenerator:u,waitUntil:a.waitUntil,isMinimalMode:i});if(!k)return null;if((null==c||null==(s=c.value)?void 0:s.kind)!==f.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==c||null==(l=c.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",w?"REVALIDATED":c.isMiss?"MISS":c.isStale?"STALE":"HIT"),y&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let E=(0,m.fromNodeOutgoingHttpHeaders)(c.value.headers);return i&&k||E.delete(_.NEXT_CACHE_TAGS_HEADER),!c.cacheControl||t.getHeader("Cache-Control")||E.get("Cache-Control")||E.set("Cache-Control",(0,h.getCacheControlHeader)(c.cacheControl)),await (0,d.sendResponse)(B,G,new Response(c.value.body,{headers:E,status:c.value.status||200})),null};$?await l($):await F.withPropagatedContext(e.headers,()=>F.trace(c.BaseServerSpan.handleRequest,{spanName:`${P} ${g}`,kind:s.SpanKind.SERVER,attributes:{"http.method":P,"http.target":e.url}},l))}catch(t){if(t instanceof E.NoFallbackError||await v.onRequestError(e,t,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:w})},!1,C),k)throw t;return await (0,d.sendResponse)(B,G,new Response(null,{status:500})),null}}e.s(["handler",()=>C,"patchFetch",()=>T,"routeModule",()=>v,"serverHooks",()=>y,"workAsyncStorage",()=>S,"workUnitAsyncStorage",()=>A],49965)}];
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__91b22098._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},60526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},57126,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),s=e.i(61916),o=e.i(74677),i=e.i(69741),l=e.i(16795),d=e.i(87718),u=e.i(95169),p=e.i(47587),c=e.i(66012),h=e.i(70101),x=e.i(74838),f=e.i(10372),R=e.i(93695);e.i(52474);var v=e.i(220),g=e.i(94028),m=e.i(74533),w=e.i(60526);async function E(){w.default.platform();try{let e=null;{let t=(0,m.execSync)("osascript -e 'set folderPath to POSIX path of (choose folder with prompt \"Select a repository folder\")' 2>/dev/null",{encoding:"utf-8",timeout:12e4}).trim();t&&(e=t.replace(/\/$/,""))}if(!e)return g.NextResponse.json({cancelled:!0},{status:200});return g.NextResponse.json({path:e})}catch{return g.NextResponse.json({cancelled:!0},{status:200})}}e.s(["POST",()=>E],61963);var y=e.i(61963);let C=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/filesystem/pick-folder/route",pathname:"/api/filesystem/pick-folder",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/filesystem/pick-folder/route.ts",nextConfigOutput:"standalone",userland:y}),{workAsyncStorage:A,workUnitAsyncStorage:b,serverHooks:N}=C;function P(){return(0,a.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:b})}async function k(e,t,a){C.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/filesystem/pick-folder/route";g=g.replace(/\/index$/,"")||"/";let m=await C.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!m)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:w,params:E,nextConfig:y,parsedUrl:A,isDraftMode:b,prerenderManifest:N,routerServerContext:P,isOnDemandRevalidate:k,revalidateOnlyGenerated:T,resolvedPathname:O,clientReferenceManifest:S,serverActionsManifest:_}=m,q=(0,i.normalizeAppPath)(g),j=!!(N.dynamicRoutes[q]||N.routes[O]),H=async()=>((null==P?void 0:P.render404)?await P.render404(e,t,A,!1):t.end("This page could not be found"),null);if(j&&!b){let e=!!N.routes[O],t=N.dynamicRoutes[q];if(t&&!1===t.fallback&&!e){if(y.experimental.adapterPath)return await H();throw new R.NoFallbackError}}let I=null;!j||C.isDev||b||(I="/index"===(I=O)?"/":I);let U=!0===C.isDev||!j,D=j&&!U;_&&S&&(0,o.setManifestsSingleton)({page:g,clientReferenceManifest:S,serverActionsManifest:_});let M=e.method||"GET",$=(0,s.getTracer)(),F=$.getActiveScopeSpan(),K={params:E,prerenderManifest:N,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,n.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:y.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>C.onRequestError(e,t,a,n,P)},sharedContext:{buildId:w}},B=new l.NodeNextRequest(e),L=new l.NodeNextResponse(t),X=d.NextRequestAdapter.fromNodeNextRequest(B,(0,d.signalFromNodeResponse)(t));try{let o=async e=>C.handle(X,K).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=$.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${M} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${M} ${g}`)}),i=!!(0,n.getRequestMeta)(e,"minimalMode"),l=async n=>{var s,l;let d=async({previousCacheEntry:r})=>{try{if(!i&&k&&T&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await o(n);e.fetchMetrics=K.renderOpts.fetchMetrics;let l=K.renderOpts.pendingWaitUntil;l&&a.waitUntil&&(a.waitUntil(l),l=void 0);let d=K.renderOpts.collectedTags;if(!j)return await (0,c.sendResponse)(B,L,s,K.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(s.headers);d&&(t[f.NEXT_CACHE_TAGS_HEADER]=d),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==K.renderOpts.collectedRevalidate&&!(K.renderOpts.collectedRevalidate>=f.INFINITE_CACHE)&&K.renderOpts.collectedRevalidate,a=void 0===K.renderOpts.collectedExpire||K.renderOpts.collectedExpire>=f.INFINITE_CACHE?void 0:K.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await C.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:k})},!1,P),t}},u=await C.handleResponse({req:e,nextConfig:y,cacheKey:I,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:N,isRoutePPREnabled:!1,isOnDemandRevalidate:k,revalidateOnlyGenerated:T,responseGenerator:d,waitUntil:a.waitUntil,isMinimalMode:i});if(!j)return null;if((null==u||null==(s=u.value)?void 0:s.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(l=u.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",k?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),b&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let R=(0,h.fromNodeOutgoingHttpHeaders)(u.value.headers);return i&&j||R.delete(f.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||R.get("Cache-Control")||R.set("Cache-Control",(0,x.getCacheControlHeader)(u.cacheControl)),await (0,c.sendResponse)(B,L,new Response(u.value.body,{headers:R,status:u.value.status||200})),null};F?await l(F):await $.withPropagatedContext(e.headers,()=>$.trace(u.BaseServerSpan.handleRequest,{spanName:`${M} ${g}`,kind:s.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},l))}catch(t){if(t instanceof R.NoFallbackError||await C.onRequestError(e,t,{routerKind:"App Router",routePath:q,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:k})},!1,P),j)throw t;return await (0,c.sendResponse)(B,L,new Response(null,{status:500})),null}}e.s(["handler",()=>k,"patchFetch",()=>P,"routeModule",()=>C,"serverHooks",()=>N,"workAsyncStorage",()=>A,"workUnitAsyncStorage",()=>b],57126)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__96ae701e._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},59833,e=>{"use strict";function t(e,t){let r=e.prepare(`PRAGMA ${t}`).get();if(!r)return;let a=Object.values(r);return a.length>0?a[0]:void 0}function r(e,t){return e.prepare(`PRAGMA ${t}`).all()}function a(e,t){e.exec(`PRAGMA ${t}`)}function s(e,t){e.exec("BEGIN");try{let r=t();return e.exec("COMMIT"),r}catch(t){throw e.exec("ROLLBACK"),t}}function n(e,t){return(...r)=>{e.exec("BEGIN");try{let a=t(...r);return e.exec("COMMIT"),a}catch(t){throw e.exec("ROLLBACK"),t}}}e.s(["pragmaAll",()=>r,"pragmaGet",()=>t,"pragmaSet",()=>a,"transaction",()=>s,"transactionFn",()=>n])},33405,(e,t,r)=>{t.exports=e.x("child_process",()=>require("child_process"))},49041,e=>{"use strict";let t={id:"2c3cc1ca-956d-4b62-b295-4d2d3374103f",email:process.env.AGX_BOARD_USER_EMAIL||"local@agx.board",name:process.env.AGX_BOARD_USER_NAME||"Local Board User"};e.s(["LOCAL_USER",0,t])},21729,e=>{"use strict";e.x("node:sqlite",()=>require("node:sqlite"),!0);var t=e.i(59833);e.i(22734);var r=e.i(46786),a=e.i(14747);let s="3.35.0",n=["json1"],o=["fts5"],i=["nfs","smb","cifs","efs","fuse.sshfs"];function l(e,t){try{if("json1"===t)return e.prepare("SELECT json('{}')").get(),!0;if("fts5"===t)return e.exec("CREATE VIRTUAL TABLE IF NOT EXISTS _fts5_check USING fts5(x)"),e.exec("DROP TABLE IF EXISTS _fts5_check"),!0;return!1}catch{return!1}}function u(u,d){let c=[],p=u.prepare("SELECT sqlite_version() as v").get();for(let e of(0>function(e,t){let r=e.split(".").map(Number),a=t.split(".").map(Number);for(let e=0;e<3;e++){let t=(r[e]||0)-(a[e]||0);if(0!==t)return t}return 0}(p.v,s)&&c.push({kind:"version_mismatch",message:`SQLite version ${p.v} is below minimum ${s}`,found:p.v,required:`>= ${s}`,fix:"Ensure Node.js >= 22.16 is installed (node:sqlite is built-in)"}),n))l(u,e)||c.push({kind:"missing_extension",message:`Required SQLite extension '${e}' is not available`,required:e,fix:`Rebuild SQLite with -DSQLITE_ENABLE_${e.toUpperCase()}=1, or use a system SQLite that includes it`});for(let e of o)l(u,e)||console.warn(`[startup] Recommended SQLite extension '${e}' is not available. Full-text search will be disabled.`);let f=function(t){"linux"!==r.default.platform()&&r.default.platform();try{let s=a.default.resolve(t),{execSync:n}=e.r(33405);if("darwin"===r.default.platform()){let e=n(`df -T "${s}" 2>/dev/null || df "${s}"`,{encoding:"utf-8",timeout:3e3}).trim().split("\n");if(e.length>=2){let t=e[1].split(/\s+/),r=t[0]?.toLowerCase()||"";if(r.includes("://")||r.includes("nfs")||r.includes("smb"))return r}}}catch{}return null}(d);f&&i.some(e=>f.toLowerCase().includes(e))&&c.push({kind:"filesystem_error",message:`Database path '${d}' is on a network filesystem (${f})`,path:d,found:f,fix:"Move the database file to a local SSD. WAL mode requires local filesystem with reliable fsync."});try{(0,t.pragmaSet)(u,"journal_mode = wal"),(0,t.pragmaSet)(u,"foreign_keys = 1"),(0,t.pragmaSet)(u,"busy_timeout = 5000"),(0,t.pragmaSet)(u,"synchronous = 1"),(0,t.pragmaSet)(u,"cache_size = -64000");let e=(0,t.pragmaGet)(u,"journal_mode").toLowerCase(),r=new Set(["wal","delete"]);if(!r.has(e)){(0,t.pragmaSet)(u,"journal_mode = DELETE");let e=(0,t.pragmaGet)(u,"journal_mode").toLowerCase();r.has(e)?((0,t.pragmaSet)(u,"synchronous = FULL"),console.warn(`[startup] WAL unavailable, using journal_mode=${e} with synchronous=FULL`)):c.push({kind:"pragma_error",message:`Failed to set journal_mode (got '${e}', tried WAL then DELETE)`,found:e,required:"wal or delete",fix:"Ensure the database file is on a local filesystem and no other process holds an exclusive lock."})}}catch(e){c.push({kind:"pragma_error",message:`Failed to apply required PRAGMAs: ${e.message}`,fix:"Check file permissions and ensure the database is not read-only."})}return c}e.s(["validateSQLiteEnvironment",()=>u])},54799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},57431,e=>{"use strict";function t(){let{createAdminDbClientSQLite:t}=e.r(60447);return t()}e.i(49041),e.s(["createAdminDbClient",()=>t])},59185,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),s=e.i(59756),n=e.i(61916),o=e.i(74677),i=e.i(69741),l=e.i(16795),u=e.i(87718),d=e.i(95169),c=e.i(47587),p=e.i(66012),f=e.i(70101),h=e.i(74838),m=e.i(10372),x=e.i(93695);e.i(52474);var g=e.i(220),R=e.i(94028),v=e.i(62294);async function E(e,t){try{let{id:e}=await t.params,r=await (0,v.getProjectSkills)(e);return R.NextResponse.json({skills:r})}catch(e){return console.error("Error fetching project skills:",e),R.NextResponse.json({error:"Failed to fetch project skills"},{status:500})}}async function w(e,t){try{let{id:r}=await t.params,a=await e.json().catch(()=>({})),s="string"==typeof a.file?a.file.trim():"";if(!s)return R.NextResponse.json({error:"file is required"},{status:400});let n="string"==typeof a.condition?a.condition.trim():void 0,o=await (0,v.addProjectSkill)(r,s,n);return R.NextResponse.json({skill:o},{status:201})}catch(e){return console.error("Error adding project skill:",e),R.NextResponse.json({error:"Failed to add project skill"},{status:500})}}async function y(e,t){try{let t=new URL(e.url).searchParams.get("skillId");if(!t)return R.NextResponse.json({error:"skillId query param is required"},{status:400});return await (0,v.removeProjectSkill)(t),R.NextResponse.json({ok:!0})}catch(e){return console.error("Error removing project skill:",e),R.NextResponse.json({error:"Failed to remove project skill"},{status:500})}}e.s(["DELETE",()=>y,"GET",()=>E,"POST",()=>w,"dynamic",0,"force-dynamic","runtime",0,"nodejs"],56283);var A=e.i(56283);let j=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/projects/[id]/skills/route",pathname:"/api/projects/[id]/skills",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/projects/[id]/skills/route.ts",nextConfigOutput:"standalone",userland:A}),{workAsyncStorage:S,workUnitAsyncStorage:b,serverHooks:C}=j;function _(){return(0,a.patchFetch)({workAsyncStorage:S,workUnitAsyncStorage:b})}async function k(e,t,a){j.isDev&&(0,s.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let R="/api/projects/[id]/skills/route";R=R.replace(/\/index$/,"")||"/";let v=await j.prepare(e,t,{srcPage:R,multiZoneDraftMode:!1});if(!v)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:E,params:w,nextConfig:y,parsedUrl:A,isDraftMode:S,prerenderManifest:b,routerServerContext:C,isOnDemandRevalidate:_,revalidateOnlyGenerated:k,resolvedPathname:T,clientReferenceManifest:L,serverActionsManifest:N}=v,q=(0,i.normalizeAppPath)(R),P=!!(b.dynamicRoutes[q]||b.routes[T]),O=async()=>((null==C?void 0:C.render404)?await C.render404(e,t,A,!1):t.end("This page could not be found"),null);if(P&&!S){let e=!!b.routes[T],t=b.dynamicRoutes[q];if(t&&!1===t.fallback&&!e){if(y.experimental.adapterPath)return await O();throw new x.NoFallbackError}}let I=null;!P||j.isDev||S||(I="/index"===(I=T)?"/":I);let U=!0===j.isDev||!P,$=P&&!U;N&&L&&(0,o.setManifestsSingleton)({page:R,clientReferenceManifest:L,serverActionsManifest:N});let D=e.method||"GET",M=(0,n.getTracer)(),F=M.getActiveScopeSpan(),H={params:w,prerenderManifest:b,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,s.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:y.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,s)=>j.onRequestError(e,t,a,s,C)},sharedContext:{buildId:E}},G=new l.NodeNextRequest(e),B=new l.NodeNextResponse(t),K=u.NextRequestAdapter.fromNodeNextRequest(G,(0,u.signalFromNodeResponse)(t));try{let o=async e=>j.handle(K,H).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=M.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let t=`${D} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${D} ${R}`)}),i=!!(0,s.getRequestMeta)(e,"minimalMode"),l=async s=>{var n,l;let u=async({previousCacheEntry:r})=>{try{if(!i&&_&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await o(s);e.fetchMetrics=H.renderOpts.fetchMetrics;let l=H.renderOpts.pendingWaitUntil;l&&a.waitUntil&&(a.waitUntil(l),l=void 0);let u=H.renderOpts.collectedTags;if(!P)return await (0,p.sendResponse)(G,B,n,H.renderOpts.pendingWaitUntil),null;{let e=await n.blob(),t=(0,f.toNodeOutgoingHttpHeaders)(n.headers);u&&(t[m.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==H.renderOpts.collectedRevalidate&&!(H.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&H.renderOpts.collectedRevalidate,a=void 0===H.renderOpts.collectedExpire||H.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:H.renderOpts.collectedExpire;return{value:{kind:g.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await j.onRequestError(e,t,{routerKind:"App Router",routePath:R,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:$,isOnDemandRevalidate:_})},!1,C),t}},d=await j.handleResponse({req:e,nextConfig:y,cacheKey:I,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:b,isRoutePPREnabled:!1,isOnDemandRevalidate:_,revalidateOnlyGenerated:k,responseGenerator:u,waitUntil:a.waitUntil,isMinimalMode:i});if(!P)return null;if((null==d||null==(n=d.value)?void 0:n.kind)!==g.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(l=d.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",_?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),S&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let x=(0,f.fromNodeOutgoingHttpHeaders)(d.value.headers);return i&&P||x.delete(m.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||x.get("Cache-Control")||x.set("Cache-Control",(0,h.getCacheControlHeader)(d.cacheControl)),await (0,p.sendResponse)(G,B,new Response(d.value.body,{headers:x,status:d.value.status||200})),null};F?await l(F):await M.withPropagatedContext(e.headers,()=>M.trace(d.BaseServerSpan.handleRequest,{spanName:`${D} ${R}`,kind:n.SpanKind.SERVER,attributes:{"http.method":D,"http.target":e.url}},l))}catch(t){if(t instanceof x.NoFallbackError||await j.onRequestError(e,t,{routerKind:"App Router",routePath:q,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:$,isOnDemandRevalidate:_})},!1,C),P)throw t;return await (0,p.sendResponse)(G,B,new Response(null,{status:500})),null}}e.s(["handler",()=>k,"patchFetch",()=>_,"routeModule",()=>j,"serverHooks",()=>C,"workAsyncStorage",()=>S,"workUnitAsyncStorage",()=>b],59185)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__98ce983b._.js.map
|