@mndrk/agx 2.0.19 → 2.0.21
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/Projects/Agents/agx-cloud/.next/BUILD_ID +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/app-path-routes-manifest.json +15 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/build-manifest.json +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/prerender-manifest.json +27 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/routes-manifest.json +99 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.rsc +7 -7
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found.rsc +11 -11
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found.segments/_full.segment.rsc +11 -11
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found.segments/_index.segment.rsc +7 -7
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents/[id]/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents/[id]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents.segments/agents/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/agents.segments/agents.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/pull/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/pull/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/pull/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/pull/route.js +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/pull/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/pull/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/pull/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/route.js +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agent-specs/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agents/[id]/messages/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agents/[id]/messages/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agents/export/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/agents/export/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/attachments/[id]/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/attachments/[id]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/create/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/create/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/create/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/create/route.js +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/create/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/create/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/create/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/route.js +8 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/automations/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/chat/route.js +3 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/chat/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/daemon/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/daemon/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/daemon/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/daemon/route.js +7 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/daemon/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/daemon/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/daemon/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/file-search/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route.js +8 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/graphs/[graphId]/nodes/[nodeId]/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/health/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/health/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/history/route.js +2 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/history/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/history/status/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/history/status/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/history/status/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/history/status/route.js +8 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/history/status/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/history/status/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/history/status/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/learnings/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/learnings/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/logs/route.js +2 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/logs/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/logs/stream/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/logs/stream/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/memories/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/memories/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/messages/[id]/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/messages/[id]/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/messages/[id]/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/messages/[id]/route.js +8 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/messages/[id]/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/messages/[id]/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/messages/[id]/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/orchestrator/tasks/[taskId]/cancel/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/orchestrator/tasks/[taskId]/cancel/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/orchestrator/tasks/[taskId]/signal/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/orchestrator/tasks/[taskId]/signal/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/orchestrator/tasks/[taskId]/start/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/orchestrator/tasks/[taskId]/start/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/orchestrator/tasks/[taskId]/status/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/orchestrator/tasks/[taskId]/status/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/participants/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/participants/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/processes/route.js +1 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/processes/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/projects/[id]/migrate-v1/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/projects/[id]/migrate-v1/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/projects/[id]/migrate-v2/route.js +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/projects/[id]/migrate-v2/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/projects/[id]/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/projects/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/providers/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/providers/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/queue/complete/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/queue/complete/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/queue/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/queue/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/reactions/route.js +2 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/reactions/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/debug/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/debug/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/debug/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/debug/route.js +12 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/debug/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/debug/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/debug/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/poll/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/poll/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/poll/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/poll/route.js +12 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/poll/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/poll/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/poll/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/route.js +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/schedules/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/search/route.js +2 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/search/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/status/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/status/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/summarize/route.js +2 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/summarize/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/system/db-status/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/system/db-status/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/task-drafts/route.js +2 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/task-drafts/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/comments/[commentId]/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/comments/[commentId]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/comments/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/comments/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/costs/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/costs/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/dependencies/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/dependencies/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/events/route.js +5 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/events/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/history/route.js +4 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/history/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/metrics/route.js +4 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/metrics/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/pause/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/pause/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/replan/route.js +5 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/replan/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/restart/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/restart/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/resume/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/resume/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/rollback/route.js +4 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/rollback/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/route.js +6 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/schedule/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/schedule/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/schedule/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/schedule/route.js +13 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/schedule/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/schedule/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/schedule/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/start/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/start/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/stop/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/graph/stop/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/heartbeat/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/heartbeat/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/history/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/history/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/logs/route.js +2 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/logs/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/logs/stream/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/logs/stream/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/comments/route.js +2 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/comments/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/complete/route.js +4 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/complete/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/fail/route.js +4 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/fail/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/resume/route.js +6 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/resume/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/start/route.js +6 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/start/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/stop/route.js +4 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/stop/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/verify/route.js +6 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/nodes/[nodeId]/verify/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/route.js +3 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/[id]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/assign-orphans/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/assign-orphans/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/extract/route.js +2 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/extract/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/route.js +4 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/stream/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/tasks/stream/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/teams/[id]/agents/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/teams/[id]/agents/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/teams/[id]/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/teams/[id]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/teams/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/teams/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/threads/route/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/threads/route/build-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/threads/route/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/threads/route.js +7 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/threads/route.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/threads/route.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/threads/route_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/upload/[id]/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/upload/[id]/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/upload/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/upload/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/user-settings/route.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/api/user-settings/route.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations/page/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations/page/build-manifest.json +18 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations/page/next-font-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations/page/react-loadable-manifest.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations/page/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations/page.js +15 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations/page.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations/page.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations/page_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations.html +9 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations.meta +15 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations.rsc +24 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations.segments/_full.segment.rsc +24 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations.segments/_head.segment.rsc +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations.segments/_index.segment.rsc +9 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations.segments/_tree.segment.rsc +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations.segments/automations/__PAGE__.segment.rsc +10 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/automations.segments/automations.segment.rsc +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.rsc +8 -8
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/_full.segment.rsc +8 -8
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/board/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/board.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/execution-graph/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/execution-graph.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.rsc +11 -11
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.segments/__PAGE__.segment.rsc +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.segments/_full.segment.rsc +11 -11
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.segments/_tree.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/[slug]/graph/[taskId]/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/[slug]/graph/[taskId]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/[slug]/graph/[taskId]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/[slug]/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/[slug]/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.html +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/projects/orphans/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/projects/orphans.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/projects.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/projects.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/settings.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/status/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/status.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/thread/[id]/page/app-paths-manifest.json +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/thread/[id]/page/build-manifest.json +18 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/thread/[id]/page/next-font-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/thread/[id]/page/react-loadable-manifest.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/thread/[id]/page/server-reference-manifest.json +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/thread/[id]/page.js +15 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/thread/[id]/page.js.map +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/thread/[id]/page.js.nft.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/thread/[id]/page_client-reference-manifest.js +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome/page/build-manifest.json +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome/page.js.nft.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome/page_client-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/_full.segment.rsc +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/_head.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/_index.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/_tree.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/welcome/__PAGE__.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/welcome.segment.rsc +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app-paths-manifest.json +15 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/7e210_Agents_agx-cloud__next-internal_server_app_api_daemon_route_actions_460dc557.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/7e210_Agents_agx-cloud__next-internal_server_app_api_schedules_route_actions_5ed9b4c5.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/7e210_Agents_agx-cloud__next-internal_server_app_api_threads_route_actions_82db7ad6.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_3ca2bbaf._.js +59 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_5fae663d._.js +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_76882dd7._.js +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_8bc0eb01._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_952c3cd1._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_9628ce5d._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_9e819845._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_ba809539._.js +37 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_bcf18ef3._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_c36e217f._.js +57 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_da33b90d._.js +59 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_ddced906._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_lib_6041e016._.js +20 -14
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_lib_6aeccdc0._.js +28 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_lib_8c82981b._.js +20 -14
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_lib_f59cdd6b._.js +27 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_lib_history-store_ts_18a36482._.js +267 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_lib_history-store_ts_212f093e._.js +272 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_src_graph_api-route-utils_ts_a4223032._.js +1 -37
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_src_graph_d952417c._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_src_graph_executor_ts_909fb09e._.js +7 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_src_graph_executor_ts_f2046eef._.js +7 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_src_graph_state-machine_ts_f1062127._.js +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[externals]__0e7fdc18._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[externals]__95cc4c8f._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[externals]_child_process_964038fc._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[externals]_node:child_process_261e8bca._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__0186ab7b._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__046b76dd._.js +67 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__04b287a7._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__be6f07e4._.js → [root-of-the-server]__063df42f._.js} +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__0697a5e1._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__49732c7a._.js → [root-of-the-server]__0f709a1b._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__63e6c5cb._.js → [root-of-the-server]__13b504f6._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__19e44cfe._.js +51 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__1fe760fa._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__22652fab._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__24ee27b5._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__26fc9e44._.js +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__2b443447._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__ffe75a5a._.js → [root-of-the-server]__2c4bed32._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__8c335165._.js → [root-of-the-server]__33b4886e._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__b1ee8259._.js → [root-of-the-server]__340e043d._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__4964be9e._.js → [root-of-the-server]__396f05e4._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__3b0478a0._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__3ea44ed6._.js +51 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__374c51fe._.js → [root-of-the-server]__3eb0261c._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__3f9ad3f9._.js +34 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__456f63a0._.js +18 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__abc1c78f._.js → [root-of-the-server]__46bdaff4._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__45a42d30._.js → [root-of-the-server]__46d75744._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__47affa3c._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__c7021bce._.js → [root-of-the-server]__4df11656._.js} +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__5aa0850a._.js → [root-of-the-server]__5230ca51._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__9dbd4061._.js → [root-of-the-server]__5591c3ac._.js} +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__58798787._.js +34 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__5e7badb3._.js +120 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__5ef94d8f._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__60cf31d6._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__6672d8ab._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__1af3c133._.js → [root-of-the-server]__66936a48._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__b92cc388._.js → [root-of-the-server]__68eac206._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__74d2fecb._.js → [root-of-the-server]__722918b3._.js} +33 -18
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__72b71ace._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__cbc1e994._.js → [root-of-the-server]__72e5de3c._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__ede3487d._.js → [root-of-the-server]__7c2d99de._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__ab726f81._.js → [root-of-the-server]__81b6e844._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__11b52378._.js → [root-of-the-server]__85bc22cf._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__ee1d4f22._.js → [root-of-the-server]__8bb7292f._.js} +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__8d06b617._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__8dad8871._.js +38 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__be72cd19._.js → [root-of-the-server]__8e3310d8._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__8efdb4f2._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__1d6b3dc4._.js → [root-of-the-server]__91bd81f1._.js} +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__9aa68021._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__9f30fcc4._.js +18 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__14c4cd90._.js → [root-of-the-server]__a00f96fc._.js} +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__757bd844._.js → [root-of-the-server]__a085810b._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__a61762e1._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__ac063e68._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__b8bfcfcb._.js → [root-of-the-server]__ac382a0d._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__862414fb._.js → [root-of-the-server]__adbb88f2._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__f1ce0903._.js → [root-of-the-server]__b4d1f05b._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__ba50bf22._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__138cda76._.js → [root-of-the-server]__bdc09209._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__bf5839ef._.js → [root-of-the-server]__bf0cbc6e._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__b1710728._.js → [root-of-the-server]__bf5a0ce7._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__bf971f10._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__4e8944f5._.js → [root-of-the-server]__c24f04db._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__fffe72ac._.js → [root-of-the-server]__c323854f._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__c6bd42f9._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__bd492c8b._.js → [root-of-the-server]__c9709c27._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__7f3fb99b._.js → [root-of-the-server]__cd5bcc56._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__34e15c3b._.js → [root-of-the-server]__d14eb0a6._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__d2fefbd1._.js +42 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__d63bbc58._.js +18 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__b773a26b._.js → [root-of-the-server]__d6683955._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__ccad2301._.js → [root-of-the-server]__d85e343d._.js} +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__61362d2c._.js → [root-of-the-server]__dcf2eb74._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__3da4ecb4._.js → [root-of-the-server]__e9beb9cc._.js} +9 -9
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__efe9c32e._.js +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__f5c22872._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__f69579b0._.js +7 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__f6c2e399._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__fc0e10fd._.js +16 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/{[root-of-the-server]__fb7ad71b._.js → [root-of-the-server]__fd8f8587._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/a2576__next-internal_server_app_api_automations_create_route_actions_29db83ef.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/a2576__next-internal_server_app_api_tasks_[id]_graph_schedule_route_actions_89be0214.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/a7deb_server_app_api_graphs_[graphId]_nodes_[nodeId]_route_actions_c21d21fa.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ad555_agx-cloud__next-internal_server_app_api_agent-specs_pull_route_actions_70a08635.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ad555_agx-cloud__next-internal_server_app_api_agent-specs_route_actions_d0754625.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ad555_agx-cloud__next-internal_server_app_api_automations_route_actions_44d1c70b.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ad555_agx-cloud__next-internal_server_app_api_history_status_route_actions_9a73282a.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ad555_agx-cloud__next-internal_server_app_api_messages_[id]_route_actions_cb4e2f6a.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ad555_agx-cloud__next-internal_server_app_api_schedules_debug_route_actions_425c29e2.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ad555_agx-cloud__next-internal_server_app_api_schedules_poll_route_actions_233e0ae1.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ae43b_next_1b1bf56d._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ae43b_next_dist_esm_build_templates_app-route_122e31fe.js +36 -29
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ae43b_next_dist_esm_build_templates_app-route_23af234a.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ae43b_next_dist_esm_build_templates_app-route_4a3a22f0.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ae43b_next_dist_esm_build_templates_app-route_67fdd97c.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ae43b_next_dist_esm_build_templates_app-route_880e2bee.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ae43b_next_dist_esm_build_templates_app-route_e58fad7f.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ae43b_zod_v4_classic_external_a0e58526.js +39 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/7e210_Agents_agx-cloud__next-internal_server_app_automations_page_actions_a41b30ff.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/7e210_Agents_agx-cloud__next-internal_server_app_thread_[id]_page_actions_24c139ff.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_1844440c._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_215731e9._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/{Projects_Agents_agx-cloud_b5ebb745._.js → Projects_Agents_agx-cloud_2d933c87._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_57177abe._.js +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_7bc01e46._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_8feb2597._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_910bea9c._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_97e800de._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_98b0d6b5._.js +95 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_9a131af1._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_app_agents_[id]_page_tsx_8537539a._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_app_agents_page_tsx_ff7a8da5._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_app_automations_page_tsx_a436c5c3._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_app_execution-graph_page_tsx_a9c51dd9._.js +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_app_projects_[slug]_graph_[taskId]_page_tsx_e2a98e96._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_c21b20ed._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_c41b656c._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_cf9585af._.js +95 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_components_chat-ui_f59beea5._.js +8 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_components_thread_WorkspaceSidebar_tsx_d9096df7._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_d28d696e._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_d2d4c5b2._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_e4a76bb1._.js +95 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_e984344e._.js +8 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_f8008d5e._.js +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__0920e664._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__14d40aef._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__4e6f6323._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__992770bc._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__a620cb30._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__b57fab44._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__bf2094fb._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__d27edb13._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__f4c147fc._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/{ae43b_lucide-react_dist_esm_4dbe1295._.js → ae43b_lucide-react_dist_esm_09cdac5d._.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/ae43b_lucide-react_dist_esm_icons_05f9e494._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/ae43b_lucide-react_dist_esm_icons_314a7b36._.js +3 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/ae43b_next_dist_654c0925._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/functions-config-manifest.json +11 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/instrumentation.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/middleware-build-manifest.js +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/middleware-manifest.json +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/next-font-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/next-font-manifest.json +8 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/pages/404.html +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/pages/500.html +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/server-reference-manifest.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/server-reference-manifest.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/039f796d375200a8.js +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{f0f1784b1696ffba.js → 1b42fc89263c54c8.js} +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/1d5d336e1ff735e9.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/29122f5dce535a47.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/2cca48d7397079fd.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/30e06828bbe71acf.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/45a830ef386d94b7.js +30 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/4823cc26faf177cc.js +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/4b898f03243fbc75.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/5513d3b008f2a310.js +5 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{e4e1f0e19efe31cb.js → 569d7016b7ded6da.js} +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{0de28ce711b17cb2.js → 5ca34694f33670ce.js} +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/5f1799db34ac10e0.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/63937cbdeb9bfca4.css +2 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/6df9e84bb811cc2a.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/6ef37b449535a8da.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/7038e769a800fef2.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/75f9c66f924714a8.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/76122a75765b26ba.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/79b8581dc5b837d0.js +93 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/850d8982fc357563.js +93 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{cc995b38ae16ee12.js → 8d04139a9f807073.js} +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{2d8cc58676973d4c.js → 9a9b4e82f7981004.js} +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/a4539ce5f705339a.js +30 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/a6ba65533b30e424.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/a8e8ef440c4daa5a.css +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/baa141e07e9dd581.js +93 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{b24b4ec48b2cc8e8.js → d04e8e686e79ea01.js} +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/e6416bbdc034c03b.css +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{1b5be5e5fcbdc0e4.js → f23570374ba0e69b.js} +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{beaa6c9ec1984b1a.js → f6422f099417d0ed.js} +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{turbopack-00b77899bb57f964.js → turbopack-5e09743330609dd5.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/agents/[id]/page.tsx +61 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/agents/page.tsx +609 -320
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/agent-specs/pull/route.ts +38 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/agent-specs/route.ts +76 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/automations/create/route.ts +172 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/automations/route.ts +71 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/chat/route.ts +156 -13
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/daemon/route.ts +86 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/graphs/[graphId]/nodes/[nodeId]/route.ts +31 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/history/route.ts +5 -18
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/history/status/route.ts +356 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/logs/route.ts +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/messages/[id]/route.ts +14 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/processes/route.ts +31 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/reactions/route.ts +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/schedules/debug/route.ts +194 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/schedules/poll/route.ts +83 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/schedules/route.ts +260 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/tasks/[id]/graph/replan/route.ts +28 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/tasks/[id]/graph/restart/route.ts +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/tasks/[id]/graph/route.ts +31 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/tasks/[id]/graph/schedule/route.ts +216 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/threads/route.ts +172 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/automations/page.tsx +46 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/projects/[slug]/layout.tsx +1 -20
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/projects/[slug]/page.tsx +14 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/thread/[id]/page.tsx +9 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/AutomationsBoard.tsx +628 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/DaemonBar.tsx +127 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/Layout.tsx +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/NowRunningPanel.tsx +9 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/chat-ui/ChatContainer.tsx +213 -37
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/chat-ui/Composer.tsx +169 -47
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/chat-ui/Markdown.tsx +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/chat-ui/MentionPopover.tsx +37 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/chat-ui/MessageList.tsx +55 -12
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/chat-ui/ParticipantBar.tsx +237 -80
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/chat-ui/ThreadView.tsx +53 -9
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/chat-ui/TypingIndicator.tsx +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/graph/ExecutionGraphPanel.tsx +6 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/graph/FunctionNodeComponent.tsx +36 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/graph/graph-derived.ts +4 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/thread/WorkspaceSidebar.tsx +67 -378
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/db/sqlite/001_agx_board_schema.sql +4 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/hooks/useAutomations.ts +87 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/hooks/useGroupChat.ts +34 -164
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/hooks/useMentionAutocomplete.ts +36 -7
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/hooks/useProcessPolling.ts +148 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/hooks/useTasks.ts +7 -84
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/hooks/useThreadState.ts +11 -8
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/instrumentation.ts +61 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/lib/agent-process-registry.ts +184 -46
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/lib/history-store.ts +603 -68
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/lib/participants-store.ts +3 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/lib/sqlite-query-adapter.ts +46 -21
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/lib/storage/thread-adapter.ts +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/lib/stream-multiplexer.ts +143 -44
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/lib/tiptap/composer-mentions.ts +37 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/lib/tiptap/serialize-composer.ts +12 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/migrations/sqlite_schema.sql +4 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/package-lock.json +22 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/package.json +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/scripts/debug-schedule.sh +108 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/api-schemas.ts +35 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/executor.ts +195 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/function-executor.ts +154 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/nl-schedule.ts +168 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/schedule-runner.ts +357 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/schedule.ts +207 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/scheduler.ts +303 -6
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/state-machine.ts +81 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/store.ts +89 -12
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/types.ts +67 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/src/graph/work-dispatcher.ts +174 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/styles/composer-pills.css +35 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/styles/workspaceSidebar.css +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/tsconfig.tsbuildinfo +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/worker/index.js +39 -18
- package/lib/cli/runCli.js +5 -5
- package/lib/commands/chat.js +134 -0
- package/lib/commands/thread.js +47 -0
- package/lib/executor.js +4 -2
- package/lib/prompts/cloudTask.js +1 -1
- package/lib/prompts/templates.js +4 -0
- package/lib/storage/runs.js +4 -2
- package/lib/strip-markers.js +28 -0
- package/package.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_0b687838._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_34e0afb9._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_36b0cd80._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_46b6e127._.js +0 -6
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_5590d478._.js +0 -6
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_71f311d9._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_8ae140f3._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_97640a6f._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_be95cef7._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_c79639e2._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_d237c059._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_ef3cf579._.js +0 -37
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_fce6d317._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_lib_6a5d1c80._.js +0 -61
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_src_graph_09bbcfbb._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/Projects_Agents_agx-cloud_src_graph_4b26122b._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__2435226f._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__24676138._.js +0 -31
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__325b119d._.js +0 -162
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__39768bc0._.js +0 -206
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__3a60a457._.js +0 -162
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__46443bd1._.js +0 -52
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__481a7f9c._.js +0 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__541b6536._.js +0 -162
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__5ad371f3._.js +0 -197
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__950e925a._.js +0 -31
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__bde5cdeb._.js +0 -177
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__c07f5dbd._.js +0 -162
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__d339de9d._.js +0 -201
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ae43b_next_dist_esm_build_templates_app-route_3dd01f5e.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_199f4916._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_1a89ff22._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_23a74345._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_274b1253._.js +0 -100
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_484f7980._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_959504c8._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_ba18e49a._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_bc8ca750._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_d54d1b77._.js +0 -8
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_dee298a4._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__26a59070._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__6e065405._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__9602ff02._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/[root-of-the-server]__96241c2a._.js +0 -3
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/05abf1bd00d94cf8.js +0 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/083833a7779b03e4.css +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/3192d43fdf9f54f2.js +0 -30
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/3791d58026009409.js +0 -6
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/3aca89adae7e24b9.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/421f6f6f7517adad.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/4a8f67c6ca864f30.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/55c07b9b3795a4db.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/7eabb545e691cc51.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/95901ed98d4ed7b1.css +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/a25163733aaa771d.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/a5524fedec1d4539.js +0 -30
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/ab258333bc0c3968.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/ae11a9833582a364.css +0 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/b2a72731a86997f1.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/c5f5dd228f62488a.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/e085ba1d1f43e1f7.js +0 -98
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/edb4b4f3e9dd60bf.js +0 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/fe2de0dba3b74ebb.js +0 -1
- /package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/{EbONDluvy2fl8DS2zVwK6 → mki871J_uv4-_79qiPJ1I}/_buildManifest.js +0 -0
- /package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/{EbONDluvy2fl8DS2zVwK6 → mki871J_uv4-_79qiPJ1I}/_clientMiddlewareManifest.json +0 -0
- /package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/{EbONDluvy2fl8DS2zVwK6 → mki871J_uv4-_79qiPJ1I}/_ssgManifest.js +0 -0
|
@@ -1013,24 +1013,45 @@ function initSQLiteSchema(db2) {
|
|
|
1013
1013
|
db2.exec(ddl);
|
|
1014
1014
|
}
|
|
1015
1015
|
function runMigrations(db2) {
|
|
1016
|
-
const
|
|
1017
|
-
if (
|
|
1018
|
-
db2.
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1016
|
+
const tables = db2.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='teams'").all();
|
|
1017
|
+
if (tables.length > 0) {
|
|
1018
|
+
const cols = db2.pragma("table_info(teams)");
|
|
1019
|
+
if (!cols.some((c) => c.name === "is_default")) {
|
|
1020
|
+
db2.exec("ALTER TABLE teams ADD COLUMN is_default INTEGER NOT NULL DEFAULT 0");
|
|
1021
|
+
db2.exec("CREATE UNIQUE INDEX IF NOT EXISTS idx_teams_default ON teams (user_id) WHERE is_default = 1");
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
const graphTables = db2.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='execution_graphs'").all();
|
|
1025
|
+
if (graphTables.length > 0) {
|
|
1026
|
+
const columns = db2.pragma("table_info(execution_graphs)");
|
|
1027
|
+
if (!columns.some((column) => column.name === "schedule")) {
|
|
1028
|
+
db2.exec("ALTER TABLE execution_graphs ADD COLUMN schedule JSON");
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
const gnTables = db2.prepare("SELECT name FROM sqlite_master WHERE type='table' AND name='graph_nodes'").all();
|
|
1032
|
+
if (gnTables.length > 0) {
|
|
1033
|
+
const sql = db2.prepare("SELECT sql FROM sqlite_master WHERE type='table' AND name='graph_nodes'").get()?.sql ?? "";
|
|
1034
|
+
if (sql.includes("'root')") && !sql.includes("'function'")) {
|
|
1035
|
+
db2.exec(`
|
|
1036
|
+
CREATE TABLE graph_nodes_new (
|
|
1037
|
+
graph_id TEXT NOT NULL REFERENCES execution_graphs(id) ON DELETE CASCADE,
|
|
1038
|
+
node_id TEXT NOT NULL,
|
|
1039
|
+
type TEXT NOT NULL,
|
|
1040
|
+
status TEXT NOT NULL,
|
|
1041
|
+
config JSON NOT NULL DEFAULT '{}',
|
|
1042
|
+
output JSON,
|
|
1043
|
+
metrics JSON,
|
|
1044
|
+
PRIMARY KEY (graph_id, node_id),
|
|
1045
|
+
CHECK (type IN ('work', 'gate', 'fork', 'join', 'conditional', 'root', 'function')),
|
|
1046
|
+
CHECK (status IN ('pending', 'running', 'awaiting_human', 'done', 'passed', 'failed', 'blocked', 'skipped', 'stopped'))
|
|
1047
|
+
);
|
|
1048
|
+
INSERT INTO graph_nodes_new SELECT * FROM graph_nodes;
|
|
1049
|
+
DROP TABLE graph_nodes;
|
|
1050
|
+
ALTER TABLE graph_nodes_new RENAME TO graph_nodes;
|
|
1051
|
+
CREATE INDEX IF NOT EXISTS idx_graph_nodes_graph_id ON graph_nodes (graph_id);
|
|
1052
|
+
`);
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1034
1055
|
}
|
|
1035
1056
|
function toSqlValue(value) {
|
|
1036
1057
|
if (value === void 0) return null;
|
package/lib/cli/runCli.js
CHANGED
|
@@ -1827,6 +1827,10 @@ async function checkOnboarding() {
|
|
|
1827
1827
|
const { maybeHandleWorkflowCommand } = require('../commands/workflow');
|
|
1828
1828
|
const handledWorkflow = await maybeHandleWorkflowCommand({ cmd, args, ctx: { c, cloudRequest } });
|
|
1829
1829
|
if (handledWorkflow) return true;
|
|
1830
|
+
|
|
1831
|
+
const { maybeHandleThreadCommand } = require('../commands/thread');
|
|
1832
|
+
const handledThread = await maybeHandleThreadCommand({ cmd, args, ctx: { c, cloudRequest } });
|
|
1833
|
+
if (handledThread) return true;
|
|
1830
1834
|
}
|
|
1831
1835
|
|
|
1832
1836
|
{
|
|
@@ -3788,7 +3792,7 @@ async function runCli(argv = process.argv) {
|
|
|
3788
3792
|
|
|
3789
3793
|
const args = process.argv.slice(2);
|
|
3790
3794
|
let provider = args[0];
|
|
3791
|
-
telemetry.track('cli_command', { command: args[0] || 'default'
|
|
3795
|
+
telemetry.track('cli_command', { command: args[0] || 'default' });
|
|
3792
3796
|
const config = loadConfig();
|
|
3793
3797
|
|
|
3794
3798
|
// Normalize provider aliases
|
|
@@ -4376,8 +4380,6 @@ SUPPORT:
|
|
|
4376
4380
|
try { safeCwd = process.cwd(); } catch { safeCwd = os.homedir(); }
|
|
4377
4381
|
|
|
4378
4382
|
const spawnProvider = (cmd, args, spawnOpts) => {
|
|
4379
|
-
// Ack: signal that the provider process is spawning
|
|
4380
|
-
if (options.print) process.stdout.write('[agx:spawn]\n');
|
|
4381
4383
|
const childProc = execa(cmd, args, { reject: false, cwd: safeCwd, ...spawnOpts });
|
|
4382
4384
|
// Send prompt to Ollama via stdin
|
|
4383
4385
|
if (useOllamaPipe && childProc.stdin) {
|
|
@@ -4386,8 +4388,6 @@ SUPPORT:
|
|
|
4386
4388
|
}
|
|
4387
4389
|
|
|
4388
4390
|
childProc.on('exit', (code) => {
|
|
4389
|
-
// Ack: signal exit with code so callers (chat UI) know we're done
|
|
4390
|
-
if (options.print) process.stdout.write(`[agx:exit:${code || 0}]\n`);
|
|
4391
4391
|
require('../telemetry').track('agent_exit', { engine: provider, exit_code: code });
|
|
4392
4392
|
process.exit(code || 0);
|
|
4393
4393
|
});
|
package/lib/commands/chat.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const { loadCloudConfigFile, saveCloudConfigFile } = require('../config/cloudConfig');
|
|
4
|
+
const crypto = require('crypto');
|
|
4
5
|
|
|
5
6
|
function parseFlags(args) {
|
|
6
7
|
const flags = {};
|
|
@@ -10,12 +11,145 @@ function parseFlags(args) {
|
|
|
10
11
|
return flags;
|
|
11
12
|
}
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Parse args for `agx chat send "message" --thread <id> [--role user|agent] [--agent <slug>] [--max-rounds N]`
|
|
16
|
+
*/
|
|
17
|
+
function parseSendArgs(args) {
|
|
18
|
+
const opts = { message: null, thread: null, role: 'user', agent: null, maxRounds: 10 };
|
|
19
|
+
let i = 2; // skip 'chat' 'send'
|
|
20
|
+
while (i < args.length) {
|
|
21
|
+
const arg = args[i];
|
|
22
|
+
if (arg === '--thread' && args[i + 1]) { opts.thread = args[++i]; }
|
|
23
|
+
else if (arg === '--role' && args[i + 1]) { opts.role = args[++i].toLowerCase(); }
|
|
24
|
+
else if (arg === '--agent' && args[i + 1]) { opts.agent = args[++i]; }
|
|
25
|
+
else if (arg === '--max-rounds' && args[i + 1]) { opts.maxRounds = parseInt(args[++i], 10) || 10; }
|
|
26
|
+
else if (!arg.startsWith('--') && !opts.message) { opts.message = arg; }
|
|
27
|
+
i++;
|
|
28
|
+
}
|
|
29
|
+
return opts;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
async function handleChatSend(args) {
|
|
33
|
+
const opts = parseSendArgs(args);
|
|
34
|
+
|
|
35
|
+
if (!opts.message) {
|
|
36
|
+
console.error('Usage: agx chat send "message" --thread <rootMessageId> [--role user|agent] [--agent <slug>] [--max-rounds N]');
|
|
37
|
+
process.exit(1);
|
|
38
|
+
}
|
|
39
|
+
if (!opts.thread) {
|
|
40
|
+
console.error('Error: --thread <rootMessageId> is required');
|
|
41
|
+
process.exit(1);
|
|
42
|
+
}
|
|
43
|
+
if (opts.role !== 'user' && opts.role !== 'agent') {
|
|
44
|
+
console.error('Error: --role must be "user" or "agent"');
|
|
45
|
+
process.exit(1);
|
|
46
|
+
}
|
|
47
|
+
if (opts.role === 'user' && opts.agent) {
|
|
48
|
+
console.error('Error: --agent cannot be used with --role user');
|
|
49
|
+
process.exit(1);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const config = loadCloudConfigFile() || {};
|
|
53
|
+
const apiUrl = config.apiUrl || config.url || process.env.AGX_CLOUD_URL || 'http://localhost:41741';
|
|
54
|
+
|
|
55
|
+
const headers = { 'Content-Type': 'application/json' };
|
|
56
|
+
if (config.token) headers['Authorization'] = `Bearer ${config.token}`;
|
|
57
|
+
if (config.userId) headers['x-user-id'] = config.userId;
|
|
58
|
+
|
|
59
|
+
// Resolve workspace threadId from the root message ID
|
|
60
|
+
let workspaceThreadId;
|
|
61
|
+
try {
|
|
62
|
+
const metaRes = await fetch(`${apiUrl}/api/messages/${opts.thread}`, { headers });
|
|
63
|
+
if (!metaRes.ok) {
|
|
64
|
+
console.error(`Error: Could not resolve thread for root message ${opts.thread} (${metaRes.status})`);
|
|
65
|
+
process.exit(1);
|
|
66
|
+
}
|
|
67
|
+
const meta = await metaRes.json();
|
|
68
|
+
workspaceThreadId = meta.threadId;
|
|
69
|
+
if (!workspaceThreadId) {
|
|
70
|
+
console.error(`Error: No threadId found for root message ${opts.thread}`);
|
|
71
|
+
process.exit(1);
|
|
72
|
+
}
|
|
73
|
+
} catch (err) {
|
|
74
|
+
console.error(`Error: Could not connect to ${apiUrl} — is the chat server running?`);
|
|
75
|
+
process.exit(1);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const userMessageId = crypto.randomUUID();
|
|
79
|
+
const body = {
|
|
80
|
+
threadId: workspaceThreadId,
|
|
81
|
+
prompt: opts.message,
|
|
82
|
+
maxRounds: opts.maxRounds,
|
|
83
|
+
userMessageId,
|
|
84
|
+
rootMessageId: opts.thread,
|
|
85
|
+
role: opts.role || 'user',
|
|
86
|
+
agent: opts.agent || undefined,
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
// If role=agent with a specific agent, set activeParticipantIds
|
|
90
|
+
if (opts.role === 'agent' && opts.agent) {
|
|
91
|
+
body.activeParticipantIds = [opts.agent];
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
let response;
|
|
95
|
+
try {
|
|
96
|
+
response = await fetch(`${apiUrl}/api/chat`, {
|
|
97
|
+
method: 'POST',
|
|
98
|
+
headers,
|
|
99
|
+
body: JSON.stringify(body),
|
|
100
|
+
});
|
|
101
|
+
} catch (err) {
|
|
102
|
+
console.error(`Error: Could not connect to ${apiUrl} — is the chat server running?`);
|
|
103
|
+
process.exit(1);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if (!response.ok) {
|
|
107
|
+
const text = await response.text().catch(() => '');
|
|
108
|
+
console.error(`Error: ${response.status} ${response.statusText}${text ? ' — ' + text : ''}`);
|
|
109
|
+
process.exit(1);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// Stream SSE response
|
|
113
|
+
const reader = response.body.getReader();
|
|
114
|
+
const decoder = new TextDecoder();
|
|
115
|
+
let buffer = '';
|
|
116
|
+
|
|
117
|
+
while (true) {
|
|
118
|
+
const { done, value } = await reader.read();
|
|
119
|
+
if (done) break;
|
|
120
|
+
buffer += decoder.decode(value, { stream: true });
|
|
121
|
+
|
|
122
|
+
const lines = buffer.split('\n');
|
|
123
|
+
buffer = lines.pop(); // keep incomplete line
|
|
124
|
+
|
|
125
|
+
for (const line of lines) {
|
|
126
|
+
if (!line.startsWith('data: ')) continue;
|
|
127
|
+
try {
|
|
128
|
+
const event = JSON.parse(line.slice(6));
|
|
129
|
+
if (event.type === 'participant-end' && event.content) {
|
|
130
|
+
const label = event.participantId || 'Agent';
|
|
131
|
+
console.log(`[${label}] ${event.content}`);
|
|
132
|
+
} else if (event.type === 'participant-error') {
|
|
133
|
+
console.error(`[error] ${event.error || event.content || 'Unknown error'}`);
|
|
134
|
+
}
|
|
135
|
+
} catch { /* skip non-JSON lines */ }
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
return true;
|
|
140
|
+
}
|
|
141
|
+
|
|
13
142
|
async function maybeHandleChatCommand({ cmd, args, ctx }) {
|
|
14
143
|
if (cmd !== 'chat') return false;
|
|
15
144
|
|
|
16
145
|
const subcommand = (args[1] || '').toLowerCase();
|
|
17
146
|
const flags = parseFlags(args);
|
|
18
147
|
|
|
148
|
+
// Handle `agx chat send ...` before starting the server
|
|
149
|
+
if (subcommand === 'send') {
|
|
150
|
+
return handleChatSend(args);
|
|
151
|
+
}
|
|
152
|
+
|
|
19
153
|
const { ensureBoardRunning, probeBoardHealth, getBoardPort, setBoardEnsuredFalse } = ctx || {};
|
|
20
154
|
|
|
21
155
|
if (subcommand === 'stop') {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
async function maybeHandleThreadCommand({ cmd, args, ctx }) {
|
|
2
|
+
if (cmd !== 'thread') return false;
|
|
3
|
+
const { c, cloudRequest } = ctx;
|
|
4
|
+
|
|
5
|
+
const subcommand = (args[1] || '').toLowerCase();
|
|
6
|
+
|
|
7
|
+
if (subcommand !== 'status' || args.includes('--help') || args.includes('-h')) {
|
|
8
|
+
console.log(`agx thread - Manage chat threads
|
|
9
|
+
|
|
10
|
+
USAGE:
|
|
11
|
+
agx thread status <messageId> <status> Set thread status
|
|
12
|
+
|
|
13
|
+
STATUSES:
|
|
14
|
+
thinking, converged, resolved, in-review, archived`);
|
|
15
|
+
process.exit(subcommand === 'status' ? 1 : 0);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const messageId = args[2];
|
|
19
|
+
const status = args[3];
|
|
20
|
+
|
|
21
|
+
if (!messageId || !status) {
|
|
22
|
+
console.log(`${c.red}✗${c.reset} Usage: agx thread status <messageId> <status>`);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const valid = ['thinking', 'converged', 'resolved', 'in-review', 'archived'];
|
|
27
|
+
if (!valid.includes(status)) {
|
|
28
|
+
console.log(`${c.red}✗${c.reset} Invalid status "${status}". Valid: ${valid.join(', ')}`);
|
|
29
|
+
process.exit(1);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
try {
|
|
33
|
+
await cloudRequest('PATCH', '/api/history', {
|
|
34
|
+
messageId,
|
|
35
|
+
threadStatus: status,
|
|
36
|
+
});
|
|
37
|
+
console.log(`${c.green}✓${c.reset} Thread status set to ${c.cyan}${status}${c.reset}`);
|
|
38
|
+
} catch (err) {
|
|
39
|
+
console.log(`${c.red}✗${c.reset} ${err.message}`);
|
|
40
|
+
process.exit(1);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
process.exit(0);
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
module.exports = { maybeHandleThreadCommand };
|
package/lib/executor.js
CHANGED
|
@@ -474,7 +474,7 @@ async function executeTask(options) {
|
|
|
474
474
|
require('./telemetry').track('executor_completed', { engine, stage, duration_ms: Date.now() - execStart });
|
|
475
475
|
settle(resolve)({
|
|
476
476
|
success: true,
|
|
477
|
-
output,
|
|
477
|
+
output: stripMarkers(output),
|
|
478
478
|
workDir,
|
|
479
479
|
exitCode: code,
|
|
480
480
|
gateResult,
|
|
@@ -644,6 +644,8 @@ function parseMarkers(text, {
|
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
646
|
|
|
647
|
+
const { stripMarkers } = require('./strip-markers');
|
|
648
|
+
|
|
647
649
|
/**
|
|
648
650
|
* Check if all expected outputs were created
|
|
649
651
|
*/
|
|
@@ -658,4 +660,4 @@ function checkOutputs(workDir, expectedOutputs) {
|
|
|
658
660
|
return { complete: missing.length === 0, missing };
|
|
659
661
|
}
|
|
660
662
|
|
|
661
|
-
module.exports = { executeTask, ENGINES, resolveStageConfig, resolveEngineCmd };
|
|
663
|
+
module.exports = { executeTask, ENGINES, resolveStageConfig, resolveEngineCmd, stripMarkers };
|
package/lib/prompts/cloudTask.js
CHANGED
|
@@ -152,7 +152,7 @@ function buildCloudTaskPromptFromContext(task) {
|
|
|
152
152
|
|
|
153
153
|
const sections = [
|
|
154
154
|
stagePrompt ? `STAGE PROMPT\n${stagePrompt}` : null,
|
|
155
|
-
'WORK RULES\n- Do not use AGX MCP tools or AGX MCP servers for this task.\n- Complete work using local edits, shell commands, and allowed HTTP APIs only.',
|
|
155
|
+
'WORK RULES\n- Do not use AGX MCP tools or AGX MCP servers for this task.\n- Complete work using local edits, shell commands, and allowed HTTP APIs only.\n- NEVER include a "Co-Authored-By" line in commit messages.\n- NEVER include "Generated by Claude Code" or similar attribution lines in any output, including PR descriptions.',
|
|
156
156
|
`TASK META\n${metaLines.join('\n')}`,
|
|
157
157
|
`TASK\n${description || '(empty)'}`,
|
|
158
158
|
`COMMENTS\n${formatList(commentLines, '(none)')}`,
|
package/lib/prompts/templates.js
CHANGED
|
@@ -170,6 +170,8 @@ const LEGACY_INSTRUCTION_FOOTER = `## Instructions
|
|
|
170
170
|
|
|
171
171
|
Continue working on this task. Use the cloud API to sync progress.
|
|
172
172
|
Respect the Stage Completion Requirement before using [complete] or [done].
|
|
173
|
+
NEVER include a "Co-Authored-By" line in commit messages.
|
|
174
|
+
NEVER include "Generated by Claude Code" or similar attribution lines in any output, including PR descriptions.
|
|
173
175
|
|
|
174
176
|
Follow-up work policy:
|
|
175
177
|
- If you identify follow-up tasks, create them in AGX via CLI ("agx new") and include the owning project id using "--project <project_id>".
|
|
@@ -353,6 +355,8 @@ const EXECUTOR_PROMPT = `# Task: {{title}}
|
|
|
353
355
|
4. Use [done] when stage is complete
|
|
354
356
|
5. Use [blocked: reason] if you need human help
|
|
355
357
|
6. If follow-up tasks are needed, create them with "agx new --project <project_id>" instead of only writing them to local ticket files.
|
|
358
|
+
7. NEVER include a "Co-Authored-By" line in commit messages.
|
|
359
|
+
8. NEVER include "Generated by Claude Code" or similar attribution lines in any output, including PR descriptions.
|
|
356
360
|
|
|
357
361
|
Focus on this stage only. The task will automatically advance to the next stage when complete.
|
|
358
362
|
`;
|
package/lib/storage/runs.js
CHANGED
|
@@ -195,12 +195,14 @@ async function writeOutput(run, outputText) {
|
|
|
195
195
|
if (run.finalized) {
|
|
196
196
|
throw new Error('Cannot write to finalized run');
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
const { stripMarkers } = require('../strip-markers');
|
|
199
|
+
const cleaned = stripMarkers(outputText);
|
|
200
|
+
await writeFileAtomic(run.paths.output, cleaned);
|
|
199
201
|
|
|
200
202
|
// Update sizes in meta
|
|
201
203
|
const meta = await readJsonSafe(run.paths.meta);
|
|
202
204
|
if (meta) {
|
|
203
|
-
meta.sizes.output_bytes = Buffer.byteLength(
|
|
205
|
+
meta.sizes.output_bytes = Buffer.byteLength(cleaned, 'utf8');
|
|
204
206
|
await writeJsonAtomic(run.paths.meta, meta);
|
|
205
207
|
}
|
|
206
208
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Strip all agx control markers from text before persistence.
|
|
3
|
+
* Removes marker syntax while preserving surrounding content.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
const MARKER_PATTERNS = [
|
|
7
|
+
/\[checkpoint:\s*[^\]]*\]/gi,
|
|
8
|
+
/\[learn:\s*[^\]]*\]/gi,
|
|
9
|
+
/\[progress:\s*\d+%?\s*\]/gi,
|
|
10
|
+
/\[blocked:\s*[^\]]*\]/gi,
|
|
11
|
+
/\[done\]/gi,
|
|
12
|
+
/\[plan_json:\s*\{[\s\S]*?\}\s*\]/gi,
|
|
13
|
+
/\[criteria_json:\s*\{[\s\S]*?\}\s*\]/gi,
|
|
14
|
+
/\[agx:\w+[^\]]*\]/gi,
|
|
15
|
+
];
|
|
16
|
+
|
|
17
|
+
function stripMarkers(text) {
|
|
18
|
+
if (!text) return text;
|
|
19
|
+
let result = text;
|
|
20
|
+
for (const pattern of MARKER_PATTERNS) {
|
|
21
|
+
result = result.replace(pattern, '');
|
|
22
|
+
}
|
|
23
|
+
// Clean up empty lines left behind
|
|
24
|
+
result = result.replace(/\n{3,}/g, '\n\n');
|
|
25
|
+
return result;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
module.exports = { stripMarkers, MARKER_PATTERNS };
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[43217,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},"SUCCESS_NODE_STATUSES",0,["done","passed"],"TERMINAL_NODE_STATUSES",0,["done","passed","failed","skipped"]])},98901,e=>{"use strict";e.i(54799);var t=e.i(89970);let r=[/rm\s+(-rf?|--recursive)\s+[\/~]/i,/rm\s+-rf?\s+\*/i,/chmod\s+(777|a\+rwx)/i,/chown\s+.*\s+\//i,/>\s*\/dev\/sd[a-z]/i,/\.env/i,/credentials?\.json/i,/api[_-]?key/i,/secret[_-]?key/i,/private[_-]?key/i,/password/i,/curl.*\|\s*(ba)?sh/i,/wget.*\|\s*(ba)?sh/i,/nc\s+-l/i,/socat/i,/sudo\s+/i,/su\s+-/i,/mkfs\./i,/dd\s+if=/i,/eval\s*\(/i,/exec\s*\(/i,/child_process/i,/__import__/i,/base64.*>/i,/xxd/i,/tar.*-c.*\|.*curl/i];function a(e){let t=[];for(let a of r)a.test(e)&&t.push(a.source);let a="low";return/rm\s+(-rf?|--recursive)\s*[\/~\*]|sudo\s+|mkfs\.|dd\s+if=/i.test(e)?a="critical":/curl.*\|\s*(ba)?sh|wget.*\|\s*(ba)?sh|chmod\s+(777|a\+rwx)|\.env\b/i.test(e)?a="high":/password|api[_-]?key|secret[_-]?key|private[_-]?key|credentials?\.json/i.test(e)&&(a="medium"),{isDangerous:t.length>0,patterns:t,severity:a}}async function s(e){let r=(0,t.createAdminDbClient)(),{data:a,error:s}=await r.from("task_audit_log").insert({user_id:e.user_id,task_id:e.task_id,action:e.action,payload:e.payload,signature:e.signature,ip_address:e.ip_address,user_agent:e.user_agent,result:e.result||"pending"}).select("id").single();if(s)throw console.error("Failed to write audit log:",s),Error("Audit log write failed");return a.id}e.s(["detectDangerousOperations",()=>a,"writeAuditLog",()=>s])},90179,6828,e=>{"use strict";function t(e,t){if(void 0===e)return t;let r=e.trim().toLowerCase();return"1"===r||"true"===r||"yes"===r||"on"===r||"0"!==r&&"false"!==r&&"no"!==r&&"off"!==r&&t}function r(){return t(process.env.AGX_GRAPH_DUAL_WRITE,!0)}function a(){return t(process.env.AGX_GRAPH_PARITY_LOGGING,!0)}function s(){return!t(process.env.AGX_GRAPH_READ_PATH_KILL_SWITCH,!1)&&"v2"===(process.env.AGX_GRAPH_READ_PATH_MODE||"v1").trim().toLowerCase()}e.s(["isDualWriteEnabled",()=>r,"isParityLoggingEnabled",()=>a,"isV2ReadPathEnabled",()=>s],6828);let i=new Set(["done","passed","failed","skipped"]),n=new Set(["running","awaiting_human","blocked"]),o=new Set(["done","passed","skipped"]);function d(e,t){let r=String(e||"").trim().toUpperCase();return"INTAKE"===r||"PROGRESS"===r||"DONE"===r?r:t}function l(e){let t,r=Object.values(e.nodes);if(0===r.length)return"queued";let a=r.filter(e=>"gate"===e.type&&e.required).every(e=>"passed"===e.status||"skipped"===e.status);return 0!==(t=e.doneCriteria?.completionSinkNodeIds??[]).length&&t.every(t=>{let r=e.nodes[t];return!!(r&&o.has(r.status))})&&a||r.every(e=>i.has(e.status))&&a?"completed":r.some(e=>"failed"===e.status)?"failed":r.some(e=>"blocked"===e.status)?"blocked":r.some(e=>n.has(e.status))||r.filter(e=>"done"===e.status||"passed"===e.status).length>0?"in_progress":"queued"}function u(e,t="INTAKE"){let r,a,s=l(e),n="completed"===(r=l(e))?"DONE":"in_progress"===r||"blocked"===r||"failed"===r?"PROGRESS":t,o="completed"===s?100:0===(a=Object.values(e.nodes)).length?0:Math.max(0,Math.min(100,Math.round(a.filter(e=>i.has(e.status)).length/a.length*100)));return{status:s,stage:n,progressPercent:o}}function p(e){var t;let r,s,i,n,o,l=(t={taskId:e.task.id,source:e.source,legacy:{status:e.task.status,stage:e.task.stage,progressPercent:e.legacyProgressPercent??null},v2:u(e.graph,d(e.task.stage||"INTAKE","INTAKE"))},s=[],i="queued"===(r=String(t.legacy.status||"").trim().toLowerCase())||"in_progress"===r||"blocked"===r||"completed"===r||"failed"===r?r:"queued",n=d(t.legacy.stage,"INTAKE"),o=Number.isFinite(Number(t.legacy.progressPercent))?Number(t.legacy.progressPercent):null,(i!==t.v2.status&&s.push({field:"status",legacy:i,v2:t.v2.status}),n!==t.v2.stage&&s.push({field:"stage",legacy:n,v2:t.v2.stage}),null!==o&&o!==t.v2.progressPercent&&s.push({field:"progressPercent",legacy:o,v2:t.v2.progressPercent}),0===s.length)?null:{taskId:t.taskId,source:t.source,diffs:s});return l&&a()&&console.warn("[graph-parity-diff]",JSON.stringify(l)),l}e.s(["logParityDiff",()=>p,"projectLegacyCompatFromGraph",()=>u],90179)},14621,e=>{"use strict";var t=e.i(62636),r=e.i(6828),a=e.i(90179),s=e.i(99448);function i(e){if(!e)return[];if(Array.isArray(e))return Array.from(new Set(e.map(e=>String(e||"").trim()).filter(Boolean)));if("string"==typeof e){let t=e.trim();if(!t)return[];try{let e=JSON.parse(t);if(Array.isArray(e))return Array.from(new Set(e.map(e=>String(e||"").trim()).filter(Boolean)))}catch{}return Array.from(new Set(t.split(",").map(e=>e.trim()).filter(Boolean)))}return[]}function n(e){if(i(e.depends_on).length||"string"!=typeof e?.content)return e;let{frontmatter:r}=(0,t.parseFrontmatter)(e.content||""),a=i(r.depends_on);return a.length?{...e,depends_on:a}:e}function o(e){return"blocked"!==e.status||e.blocked_reason||e.stage&&"intake"!==e.stage.toLowerCase()?e.blocked_reason:"Awaiting approval"}async function d(e){if(!(0,r.isV2ReadPathEnabled)())return{...n(e),blocked_reason:o(e),read_path_source:"v1"};try{let t=await (0,s.getGraph)(e.id);if(!t)return{...n(e),read_path_source:"v1"};let r=(0,a.projectLegacyCompatFromGraph)(t,e.stage||"INTAKE"),i="queued"===r.status&&e.status&&"queued"!==e.status?e.status:r.status,d="completed"===i?"DONE":r.stage;(0,a.logParityDiff)({source:"read_path",task:e,graph:t});let l={...n(e),status:i,stage:d};return{...l,blocked_reason:o(l),read_path_source:"v2"}}catch(t){return console.error("Failed to project task from v2 graph; using v1 compatibility mode",t),{...n(e),read_path_source:"v1"}}}async function l(e){return Promise.all(e.map(e=>d(e)))}e.s(["projectTaskReadModel",()=>d,"projectTaskReadModels",()=>l])},38967,e=>{"use strict";var t=e.i(54799),r=e.i(43217);let a=/^\s*---\s*\r?\n[\s\S]*?\r?\n---\s*/,s=/^#\s+(.+?)(?:\r?\n|$)/;function i(e){return"string"==typeof e?e.trim():""}function n(e,t){let r=i(t),n=i(e);if(!n)return r;let o=n.replace(a,"").trim();if(!o)return r;let d=o.match(s);if(!d)return o;let l=o.slice(d[0].length).trim();return l||d[1].trim()||r}let o={...r.DEFAULT_EXECUTION_POLICY,replanBudgetInitial:3,replanBudgetRemaining:3,verifyBudgetInitial:5,verifyBudgetRemaining:5,maxConcurrentAutoChecks:1,maxConcurrent:1,priorityMode:"fifo"};function d(e,r){let a=new Date().toISOString(),s={type:"root",status:"pending",deps:[],title:e.title||"Untitled task",objective:function(e){let t=i(e.description);if(t)return n(t,e.title);let r=i(e.content);if(r)return n(r,e.title);let a=i(e.objective);return a?n(a,e.title):i(e.title)}(e),graphCreated:!1,criteria:[]};return{id:r?.graphId??(0,t.randomUUID)(),taskId:e.id,graphVersion:1,mode:"SIMPLE",nodes:{root:s,plan:{type:"work",status:"pending",deps:["root"],title:"Generate execution plan",description:"Analyze the task and generate a detailed execution graph with work nodes, gates, and dependencies.",attempts:0,maxAttempts:2,retryPolicy:{backoffMs:5e3,onExhaust:"escalate"}},"plan-approval":{type:"gate",status:"pending",gateType:"approval_gate",required:!0,deps:["plan"],verificationStrategy:{type:"human"}}},edges:[{from:"root",to:"plan",type:"hard",condition:"always"},{from:"plan",to:"plan-approval",type:"hard",condition:"always"}],policy:{...o},doneCriteria:{allRequiredGatesPassed:!0,noRunnableOrPendingWork:!0,completionSinkNodeIds:["plan-approval"]},versionHistory:[],runtimeEvents:[],createdAt:a,updatedAt:a}}e.s(["createRootOnlyGraph",()=>d],38967)},78529,e=>{"use strict";var t=e.i(11794),r=e.i(41852),a=e.i(19309),s=e.i(90850),i=e.i(24918),n=e.i(84604),o=e.i(37756),d=e.i(90661),l=e.i(90315),u=e.i(9168),p=e.i(12965),c=e.i(43715),g=e.i(79218),f=e.i(66263),m=e.i(15255),h=e.i(93695);e.i(65858);var v=e.i(95175),_=e.i(12244),y=e.i(7020),w=e.i(62636),R=e.i(89970),k=e.i(62367),E=e.i(98901),A=e.i(19130),b=e.i(906),T=e.i(6828),C=e.i(38967),P=e.i(90179),x=e.i(99448),S=e.i(86342);async function I(e){if(!(0,T.isDualWriteEnabled)())return{enabled:!1,result:"disabled"};try{let t=await (0,x.getGraph)(e.id);if(t)return(0,P.logParityDiff)({source:"task_create_dual_write",task:e,graph:t}),{enabled:!0,result:"existing",graphId:t.id};let r=(0,C.createRootOnlyGraph)({id:e.id,title:e.title||void 0,description:e.description||void 0,content:e.content||void 0}),a=(0,S.validateGraph)(r);if(!a.valid)return{enabled:!0,result:"failed",error:`validateGraph failed: ${JSON.stringify(a.errors)}`};let s=await (0,x.createGraph)(r);return(0,P.logParityDiff)({source:"task_create_dual_write",task:e,graph:s}),{enabled:!0,result:"created",graphId:s.id}}catch(t){if(t instanceof x.GraphTaskAlreadyBoundError){let r=await (0,x.getGraph)(e.id);return r&&(0,P.logParityDiff)({source:"task_create_dual_write",task:e,graph:r}),{enabled:!0,result:"existing",graphId:t.existingGraphId}}return{enabled:!0,result:"failed",error:t instanceof Error?t.message:String(t)}}}var N=e.i(14621);async function O(e){try{let t=k.LOCAL_USER.id,{searchParams:r}=new URL(e.url),a=r.get("project")||void 0,s="1"===r.get("orphan"),i=r.get("status"),n=r.get("slug"),o=r.get("search")||void 0;if(n){let e=await y.db.getTaskBySlug(n,t);if(!e)return _.NextResponse.json({error:"Task not found"},{status:404});let r=await (0,N.projectTaskReadModel)(e),a=await (0,A.buildTaskContext)(e),s=(0,w.resolveTaskConfig)(e,a.stage_config,a.user_settings),i={...r,...a,resolved_provider:s.provider,resolved_model:s.model??void 0,resolved_swarm:s.swarm,resolved_swarm_models:s.swarm_models};return _.NextResponse.json({task:i,stage_prompt:i.stage_prompt,stage_prompts:i.stage_prompts,stage_objective:i.stage_objective,stageObjective:i.stageObjective,stagePrompts:i.stagePrompts})}let d=await y.db.getTasks(t,{project:a,status:i||void 0,search:o,orphan:s}),l=await (0,N.projectTaskReadModels)(d);return _.NextResponse.json({tasks:l})}catch(e){return console.error("Error fetching tasks:",e),_.NextResponse.json({error:"Failed to fetch tasks"},{status:500})}}async function j(e){try{let t=k.LOCAL_USER.id,r=await e.json(),{content:a,swarm_models:s,project_id:i,title:n}=r,o=Array.isArray(r?.depends_on)?r.depends_on:"string"==typeof r?.depends_on?[r.depends_on]:void 0;if(!a)return _.NextResponse.json({error:"Content is required"},{status:400});let d=(0,E.detectDangerousOperations)(a);if(d.isDangerous&&"critical"===d.severity)return _.NextResponse.json({error:"Task contains potentially dangerous operations",dangerous:!0,severity:d.severity,patterns:d.patterns,message:"This task has been blocked. Please review and remove dangerous commands."},{status:400});let l=await y.db.createTask(a,t,{swarmModels:s,dependsOn:o,projectId:"string"==typeof i?i:void 0,title:"string"==typeof n?n:void 0});await (0,b.attemptStartTask)(l.id,t);let u=await y.db.getTask(l.id,t)||l,p=await I(u);if("failed"===p.result&&console.error("Task dual-write graph creation failed",{taskId:u.id,error:p.error}),p.graphId){let e=(0,R.createAdminDbClient)();await e.from("tasks").update({graph_id:p.graphId}).eq("id",u.id),u.graph_id=p.graphId}let c=await (0,A.buildTaskContext)(u),{comments_digest:g,stage_config:f}=c,m=(0,w.resolveTaskConfig)(u,f,c.user_settings),h=e.headers.get("x-forwarded-for")?.split(",")[0].trim()||e.headers.get("x-real-ip")||void 0,v=e.headers.get("user-agent")||void 0;await (0,E.writeAuditLog)({user_id:t,task_id:u.id,action:"dispatch",payload:{title:u.title,stage:u.stage,engine:u.engine,provider:m.provider,model:m.model??void 0,swarm:m.swarm,swarm_models:m.swarm_models,project:u.project,dangerous:d.isDangerous?{severity:d.severity,patterns:d.patterns}:null},signature:"unsigned",ip_address:h,user_agent:v,result:"pending"});let T={...u,...c,resolved_provider:m.provider,resolved_model:m.model??void 0,resolved_swarm:m.swarm,resolved_swarm_models:m.swarm_models},C={id:u.id,task:T,stage_prompt:T.stage_prompt,stage_prompts:T.stage_prompts,stage_objective:T.stage_objective,stageObjective:T.stageObjective,stagePrompts:T.stagePrompts,graph_dual_write:p};return d.isDangerous&&(C.warning={message:"Task contains potentially dangerous operations. Daemon may prompt for confirmation.",severity:d.severity,patterns:d.patterns}),_.NextResponse.json(C,{status:201})}catch(e){return console.error("Error creating task:",e),_.NextResponse.json({error:"Failed to create task"},{status:500})}}e.s(["GET",()=>O,"POST",()=>j],61749);var D=e.i(61749);let G=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/tasks/route",pathname:"/api/tasks",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/Projects/Agents/agx-cloud/app/api/tasks/route.ts",nextConfigOutput:"standalone",userland:D}),{workAsyncStorage:U,workUnitAsyncStorage:L,serverHooks:M}=G;function q(){return(0,a.patchFetch)({workAsyncStorage:U,workUnitAsyncStorage:L})}async function H(e,t,a){G.isDev&&(0,s.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let _="/api/tasks/route";_=_.replace(/\/index$/,"")||"/";let y=await G.prepare(e,t,{srcPage:_,multiZoneDraftMode:!1});if(!y)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:w,params:R,nextConfig:k,parsedUrl:E,isDraftMode:A,prerenderManifest:b,routerServerContext:T,isOnDemandRevalidate:C,revalidateOnlyGenerated:P,resolvedPathname:x,clientReferenceManifest:S,serverActionsManifest:I}=y,N=(0,o.normalizeAppPath)(_),O=!!(b.dynamicRoutes[N]||b.routes[x]),j=async()=>((null==T?void 0:T.render404)?await T.render404(e,t,E,!1):t.end("This page could not be found"),null);if(O&&!A){let e=!!b.routes[x],t=b.dynamicRoutes[N];if(t&&!1===t.fallback&&!e){if(k.experimental.adapterPath)return await j();throw new h.NoFallbackError}}let D=null;!O||G.isDev||A||(D="/index"===(D=x)?"/":D);let U=!0===G.isDev||!O,L=O&&!U;I&&S&&(0,n.setManifestsSingleton)({page:_,clientReferenceManifest:S,serverActionsManifest:I});let M=e.method||"GET",q=(0,i.getTracer)(),H=q.getActiveScopeSpan(),B={params:R,prerenderManifest:b,renderOpts:{experimental:{authInterrupts:!!k.experimental.authInterrupts},cacheComponents:!!k.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,s.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:k.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,s)=>G.onRequestError(e,t,a,s,T)},sharedContext:{buildId:w}},F=new d.NodeNextRequest(e),K=new d.NodeNextResponse(t),$=l.NextRequestAdapter.fromNodeNextRequest(F,(0,l.signalFromNodeResponse)(t));try{let n=async e=>G.handle($,B).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")!==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} ${_}`)}),o=!!(0,s.getRequestMeta)(e,"minimalMode"),d=async s=>{var i,d;let l=async({previousCacheEntry:r})=>{try{if(!o&&C&&P&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await n(s);e.fetchMetrics=B.renderOpts.fetchMetrics;let d=B.renderOpts.pendingWaitUntil;d&&a.waitUntil&&(a.waitUntil(d),d=void 0);let l=B.renderOpts.collectedTags;if(!O)return await (0,c.sendResponse)(F,K,i,B.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,g.toNodeOutgoingHttpHeaders)(i.headers);l&&(t[m.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==B.renderOpts.collectedRevalidate&&!(B.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&B.renderOpts.collectedRevalidate,a=void 0===B.renderOpts.collectedExpire||B.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:B.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await G.onRequestError(e,t,{routerKind:"App Router",routePath:_,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:L,isOnDemandRevalidate:C})},!1,T),t}},u=await G.handleResponse({req:e,nextConfig:k,cacheKey:D,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:b,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:P,responseGenerator:l,waitUntil:a.waitUntil,isMinimalMode:o});if(!O)return null;if((null==u||null==(i=u.value)?void 0:i.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(d=u.value)?void 0:d.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});o||t.setHeader("x-nextjs-cache",C?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let h=(0,g.fromNodeOutgoingHttpHeaders)(u.value.headers);return o&&O||h.delete(m.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||h.get("Cache-Control")||h.set("Cache-Control",(0,f.getCacheControlHeader)(u.cacheControl)),await (0,c.sendResponse)(F,K,new Response(u.value.body,{headers:h,status:u.value.status||200})),null};H?await d(H):await q.withPropagatedContext(e.headers,()=>q.trace(u.BaseServerSpan.handleRequest,{spanName:`${M} ${_}`,kind:i.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},d))}catch(t){if(t instanceof h.NoFallbackError||await G.onRequestError(e,t,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:L,isOnDemandRevalidate:C})},!1,T),O)throw t;return await (0,c.sendResponse)(F,K,new Response(null,{status:500})),null}}e.s(["handler",()=>H,"patchFetch",()=>q,"routeModule",()=>G,"serverHooks",()=>M,"workAsyncStorage",()=>U,"workUnitAsyncStorage",()=>L],78529)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=Projects_Agents_agx-cloud_0b687838._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[44204,e=>{"use strict";var t=e.i(12244),r=e.i(62367),a=e.i(7020);async function o(e){let o=r.LOCAL_USER.id,n=await a.db.getTask(e.taskId,o);return n?{ok:!0,actor:{actorId:o,actorType:"service"},task:n,projectId:e.requestedProjectId??n.project_id??null}:{ok:!1,response:t.NextResponse.json({error:"Task not found"},{status:404})}}e.s(["authorizeGraphMutation",()=>o])},61927,21096,e=>{"use strict";function t(){return new Date().toISOString()}function r(e,t,r){return{actorId:e.actorId,actorType:e.actorType,action:t,...r?{projectId:r}:{}}}function a(e){return{eventType:"graph_created",timestamp:e.timestamp??t(),mode:e.mode,nodeCount:e.nodeCount,edgeCount:e.edgeCount,audit:r(e.actor,"graph_create",e.projectId)}}function o(e){return{eventType:"node_status",nodeId:e.nodeId,fromStatus:e.fromStatus,toStatus:e.toStatus,timestamp:e.timestamp??t(),...e.reason?{reason:e.reason}:{},audit:r(e.actor,"node_status_transition",e.projectId)}}function n(e){return{eventType:"gate_verification",nodeId:e.nodeId,timestamp:e.timestamp??t(),result:e.result,audit:r(e.actor,"gate_verification",e.projectId)}}function i(e){return{eventType:"budget_consumed",budgetType:e.budgetType,remaining:e.remaining,triggerNodeId:e.triggerNodeId,timestamp:e.timestamp??t(),audit:r(e.actor,"budget_consumption",e.projectId)}}function s(e){return{eventType:"replan",fromVersion:e.fromVersion,toVersion:e.toVersion,timestamp:e.timestamp??t(),reason:e.reason,triggeredBy:e.triggeredBy??("user"===e.actor.actorType?"human":"agent"),triggeredAtNodeId:e.triggeredAtNodeId,changes:e.changes,audit:r(e.actor,"graph_replan",e.projectId)}}function d(e){return{eventType:"rollback",toCheckpoint:e.toCheckpoint,timestamp:e.timestamp??t(),reason:e.reason,triggeredBy:e.triggeredBy??("user"===e.actor.actorType?"human":"agent"),audit:r(e.actor,"graph_rollback",e.projectId)}}e.s(["buildBudgetConsumedEvent",()=>i,"buildGateVerificationEvent",()=>n,"buildGraphCreatedEvent",()=>a,"buildNodeStatusEvent",()=>o,"buildReplanEvent",()=>s,"buildRollbackEvent",()=>d],61927);let u={graphCreateCount:0,replanCount:0,rollbackCount:0,migrationFailureCount:0,gatePassCount:0,gateFailCount:0};function c(){u.graphCreateCount+=1}function p(){u.replanCount+=1}function l(){u.rollbackCount+=1}function g(){u.migrationFailureCount+=1}function h(e){if(e){u.gatePassCount+=1;return}u.gateFailCount+=1}e.s(["recordGateVerificationResult",()=>h,"recordGraphCreate",()=>c,"recordMigrationFailure",()=>g,"recordReplan",()=>p,"recordRollback",()=>l],21096)},43217,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},"SUCCESS_NODE_STATUSES",0,["done","passed"],"TERMINAL_NODE_STATUSES",0,["done","passed","failed","skipped"]])},84897,e=>{"use strict";var t=e.i(43779),r=e.i(61927),a=e.i(84287),o=e.i(39100),n=e.i(44204),i=e.i(21096),s=e.i(99448),d=e.i(41871);let u=t.z.object({error:t.z.string().min(1),nodeIds:t.z.array(t.z.string())});async function c(e){try{await (0,s.appendEvent)(e.graphId,(0,r.buildNodeStatusEvent)({actor:e.actor,nodeId:e.nodeId,fromStatus:e.fromStatus,toStatus:e.toStatus,reason:e.reason,projectId:e.projectId}))}catch(e){console.error("Failed to append rejected node transition event",e)}}async function p(e){let t=await (0,n.authorizeGraphMutation)({request:e.request,taskId:e.taskId,action:e.action,requestedProjectId:e.requestedProjectId});if(!t.ok)return t.response;let p=await (0,s.getGraph)(e.taskId);if(!p)return(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:"Graph not found"},{status:404});let l=p.nodes[e.nodeId];if(!l)return(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:"Node not found"},{status:404});if(e.allowedFromStatuses&&!e.allowedFromStatuses.includes(l.status))return await c({graphId:p.id,actor:t.actor,projectId:t.projectId,nodeId:e.nodeId,fromStatus:l.status,toStatus:e.targetStatus,reason:`Rejected: node must be in one of [${e.allowedFromStatuses.join(", ")}] to ${e.action}`}),(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:`Cannot ${e.action} node ${e.nodeId}: current status is ${l.status}`},{status:400});try{(0,d.assertValidNodeStatusTransition)(l.type,l.status,e.targetStatus)}catch{return await c({graphId:p.id,actor:t.actor,projectId:t.projectId,nodeId:e.nodeId,fromStatus:l.status,toStatus:e.targetStatus,reason:"Rejected invalid transition"}),(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:`Invalid node transition for ${e.nodeId}: ${l.status} -> ${e.targetStatus}`},{status:400})}if("gate"===l.type&&"pending"===l.status&&"passed"===e.targetStatus&&!function(e){if("gate"!==e.type)return!1;let t=e.verificationStrategy.checks??[];return"progress"===e.gateType&&0===t.length&&"auto"===e.verificationStrategy.type}(l))return await c({graphId:p.id,actor:t.actor,projectId:t.projectId,nodeId:e.nodeId,fromStatus:l.status,toStatus:e.targetStatus,reason:"Rejected required gate bypass"}),(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:`Required gate transition blocked for node ${e.nodeId}`},{status:400});try{let n={...e.patch??{},status:e.targetStatus};e.resetWorkAttempts&&"work"===l.type&&(n.configPatch={...n.configPatch??{},attempts:0});let d={[e.nodeId]:{...n}},u=await (0,s.updateNodeRuntime)(p.id,d,e.ifMatchGraphVersion??p.graphVersion),c=new Date().toISOString();if(await (0,s.appendEvent)(p.id,(0,r.buildNodeStatusEvent)({actor:t.actor,nodeId:e.nodeId,fromStatus:l.status,toStatus:e.targetStatus,reason:e.reason,timestamp:c,projectId:t.projectId})),("gate"===l.type||"node_verify"===e.action)&&("passed"===e.targetStatus||"failed"===e.targetStatus)){let a="passed"===e.targetStatus;(0,i.recordGateVerificationResult)(a),await (0,s.appendEvent)(p.id,(0,r.buildGateVerificationEvent)({actor:t.actor,nodeId:e.nodeId,timestamp:c,result:{passed:a,checks:e.gateChecks??[],verifiedAt:c,verifiedBy:"user"===t.actor.actorType?"human":"agent"},projectId:t.projectId}))}if(e.consumeVerifyBudget||"node_verify"===e.action){let a=Math.max(0,p.policy.verifyBudgetRemaining-1);await (0,s.appendEvent)(p.id,(0,r.buildBudgetConsumedEvent)({actor:t.actor,budgetType:"verify",remaining:a,triggerNodeId:e.nodeId,timestamp:c,projectId:t.projectId}))}return(0,o.jsonWithSchema)(a.NodeMutationResponseSchema,{graphId:p.id,nodeId:e.nodeId,graphVersion:u.graphVersion,updatedAt:u.updatedAt})}catch(e){if(e instanceof s.GraphVersionConflictError)return(0,o.graphConflictResponse)(e);if(e instanceof s.GraphNodeNotFoundError)return(0,o.jsonWithSchema)(u,{error:e.message,nodeIds:e.nodeIds},{status:404});return console.error("Error mutating node status:",e),(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:"Failed to mutate node status"},{status:500})}}e.s(["applyNodeStatusMutation",()=>p])},76986,e=>{"use strict";var t=e.i(11794),r=e.i(41852),a=e.i(19309),o=e.i(90850),n=e.i(24918),i=e.i(84604),s=e.i(37756),d=e.i(90661),u=e.i(90315),c=e.i(9168),p=e.i(12965),l=e.i(43715),g=e.i(79218),h=e.i(66263),m=e.i(15255),f=e.i(93695);e.i(65858);var I=e.i(95175),S=e.i(84287),R=e.i(39100),v=e.i(84897);async function y(e,{params:t}){let{id:r,nodeId:a}=await t,o=(0,R.normalizeTaskId)(r),n=(0,R.normalizeNodeId)(a);if(!o||!n)return(0,R.jsonWithSchema)(S.ErrorResponseSchema,{error:"Invalid taskId or nodeId"},{status:400});let i=await (0,R.parseJsonBody)(e,S.StartNodeRequestSchema);if(!i.ok)return i.response;let s=i.data;return(0,v.applyNodeStatusMutation)({request:e,taskId:o,nodeId:n,action:"node_stop",requestedProjectId:s.projectId??s.project_id,ifMatchGraphVersion:s.ifMatchGraphVersion,targetStatus:"blocked",reason:"manual node stop",allowedFromStatuses:["running"],patch:{completedAt:new Date().toISOString()}})}e.s(["POST",()=>y],77992);var E=e.i(77992);let C=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/tasks/[id]/nodes/[nodeId]/stop/route",pathname:"/api/tasks/[id]/nodes/[nodeId]/stop",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/Projects/Agents/agx-cloud/app/api/tasks/[id]/nodes/[nodeId]/stop/route.ts",nextConfigOutput:"standalone",userland:E}),{workAsyncStorage:w,workUnitAsyncStorage:T,serverHooks:j}=C;function b(){return(0,a.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:T})}async function k(e,t,a){C.isDev&&(0,o.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let S="/api/tasks/[id]/nodes/[nodeId]/stop/route";S=S.replace(/\/index$/,"")||"/";let R=await C.prepare(e,t,{srcPage:S,multiZoneDraftMode:!1});if(!R)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:v,params:y,nextConfig:E,parsedUrl:w,isDraftMode:T,prerenderManifest:j,routerServerContext:b,isOnDemandRevalidate:k,revalidateOnlyGenerated:N,resolvedPathname:A,clientReferenceManifest:_,serverActionsManifest:x}=R,P=(0,s.normalizeAppPath)(S),O=!!(j.dynamicRoutes[P]||j.routes[A]),M=async()=>((null==b?void 0:b.render404)?await b.render404(e,t,w,!1):t.end("This page could not be found"),null);if(O&&!T){let e=!!j.routes[A],t=j.dynamicRoutes[P];if(t&&!1===t.fallback&&!e){if(E.experimental.adapterPath)return await M();throw new f.NoFallbackError}}let q=null;!O||C.isDev||T||(q="/index"===(q=A)?"/":q);let U=!0===C.isDev||!O,F=O&&!U;x&&_&&(0,i.setManifestsSingleton)({page:S,clientReferenceManifest:_,serverActionsManifest:x});let V=e.method||"GET",B=(0,n.getTracer)(),D=B.getActiveScopeSpan(),G={params:y,prerenderManifest:j,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts},cacheComponents:!!E.cacheComponents,supportsDynamicResponse:U,incrementalCache:(0,o.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:E.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,o)=>C.onRequestError(e,t,a,o,b)},sharedContext:{buildId:v}},$=new d.NodeNextRequest(e),H=new d.NodeNextResponse(t),W=u.NextRequestAdapter.fromNodeNextRequest($,(0,u.signalFromNodeResponse)(t));try{let i=async e=>C.handle(W,G).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=B.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=`${V} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${V} ${S}`)}),s=!!(0,o.getRequestMeta)(e,"minimalMode"),d=async o=>{var n,d;let u=async({previousCacheEntry:r})=>{try{if(!s&&k&&N&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await i(o);e.fetchMetrics=G.renderOpts.fetchMetrics;let d=G.renderOpts.pendingWaitUntil;d&&a.waitUntil&&(a.waitUntil(d),d=void 0);let u=G.renderOpts.collectedTags;if(!O)return await (0,l.sendResponse)($,H,n,G.renderOpts.pendingWaitUntil),null;{let e=await n.blob(),t=(0,g.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!==G.renderOpts.collectedRevalidate&&!(G.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&G.renderOpts.collectedRevalidate,a=void 0===G.renderOpts.collectedExpire||G.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:G.renderOpts.collectedExpire;return{value:{kind:I.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 C.onRequestError(e,t,{routerKind:"App Router",routePath:S,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:k})},!1,b),t}},c=await C.handleResponse({req:e,nextConfig:E,cacheKey:q,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:j,isRoutePPREnabled:!1,isOnDemandRevalidate:k,revalidateOnlyGenerated:N,responseGenerator:u,waitUntil:a.waitUntil,isMinimalMode:s});if(!O)return null;if((null==c||null==(n=c.value)?void 0:n.kind)!==I.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==c||null==(d=c.value)?void 0:d.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});s||t.setHeader("x-nextjs-cache",k?"REVALIDATED":c.isMiss?"MISS":c.isStale?"STALE":"HIT"),T&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,g.fromNodeOutgoingHttpHeaders)(c.value.headers);return s&&O||f.delete(m.NEXT_CACHE_TAGS_HEADER),!c.cacheControl||t.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,h.getCacheControlHeader)(c.cacheControl)),await (0,l.sendResponse)($,H,new Response(c.value.body,{headers:f,status:c.value.status||200})),null};D?await d(D):await B.withPropagatedContext(e.headers,()=>B.trace(c.BaseServerSpan.handleRequest,{spanName:`${V} ${S}`,kind:n.SpanKind.SERVER,attributes:{"http.method":V,"http.target":e.url}},d))}catch(t){if(t instanceof f.NoFallbackError||await C.onRequestError(e,t,{routerKind:"App Router",routePath:P,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:k})},!1,b),O)throw t;return await (0,l.sendResponse)($,H,new Response(null,{status:500})),null}}e.s(["handler",()=>k,"patchFetch",()=>b,"routeModule",()=>C,"serverHooks",()=>j,"workAsyncStorage",()=>w,"workUnitAsyncStorage",()=>T],76986)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=Projects_Agents_agx-cloud_34e0afb9._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[44204,e=>{"use strict";var t=e.i(12244),r=e.i(62367),a=e.i(7020);async function n(e){let n=r.LOCAL_USER.id,o=await a.db.getTask(e.taskId,n);return o?{ok:!0,actor:{actorId:n,actorType:"service"},task:o,projectId:e.requestedProjectId??o.project_id??null}:{ok:!1,response:t.NextResponse.json({error:"Task not found"},{status:404})}}e.s(["authorizeGraphMutation",()=>n])},61927,21096,e=>{"use strict";function t(){return new Date().toISOString()}function r(e,t,r){return{actorId:e.actorId,actorType:e.actorType,action:t,...r?{projectId:r}:{}}}function a(e){return{eventType:"graph_created",timestamp:e.timestamp??t(),mode:e.mode,nodeCount:e.nodeCount,edgeCount:e.edgeCount,audit:r(e.actor,"graph_create",e.projectId)}}function n(e){return{eventType:"node_status",nodeId:e.nodeId,fromStatus:e.fromStatus,toStatus:e.toStatus,timestamp:e.timestamp??t(),...e.reason?{reason:e.reason}:{},audit:r(e.actor,"node_status_transition",e.projectId)}}function o(e){return{eventType:"gate_verification",nodeId:e.nodeId,timestamp:e.timestamp??t(),result:e.result,audit:r(e.actor,"gate_verification",e.projectId)}}function i(e){return{eventType:"budget_consumed",budgetType:e.budgetType,remaining:e.remaining,triggerNodeId:e.triggerNodeId,timestamp:e.timestamp??t(),audit:r(e.actor,"budget_consumption",e.projectId)}}function s(e){return{eventType:"replan",fromVersion:e.fromVersion,toVersion:e.toVersion,timestamp:e.timestamp??t(),reason:e.reason,triggeredBy:e.triggeredBy??("user"===e.actor.actorType?"human":"agent"),triggeredAtNodeId:e.triggeredAtNodeId,changes:e.changes,audit:r(e.actor,"graph_replan",e.projectId)}}function d(e){return{eventType:"rollback",toCheckpoint:e.toCheckpoint,timestamp:e.timestamp??t(),reason:e.reason,triggeredBy:e.triggeredBy??("user"===e.actor.actorType?"human":"agent"),audit:r(e.actor,"graph_rollback",e.projectId)}}e.s(["buildBudgetConsumedEvent",()=>i,"buildGateVerificationEvent",()=>o,"buildGraphCreatedEvent",()=>a,"buildNodeStatusEvent",()=>n,"buildReplanEvent",()=>s,"buildRollbackEvent",()=>d],61927);let u={graphCreateCount:0,replanCount:0,rollbackCount:0,migrationFailureCount:0,gatePassCount:0,gateFailCount:0};function p(){u.graphCreateCount+=1}function l(){u.replanCount+=1}function c(){u.rollbackCount+=1}function g(){u.migrationFailureCount+=1}function h(e){if(e){u.gatePassCount+=1;return}u.gateFailCount+=1}e.s(["recordGateVerificationResult",()=>h,"recordGraphCreate",()=>p,"recordMigrationFailure",()=>g,"recordReplan",()=>l,"recordRollback",()=>c],21096)},90438,e=>{"use strict";var t=e.i(11794),r=e.i(41852),a=e.i(19309),n=e.i(90850),o=e.i(24918),i=e.i(84604),s=e.i(37756),d=e.i(90661),u=e.i(90315),p=e.i(9168),l=e.i(12965),c=e.i(43715),g=e.i(79218),h=e.i(66263),m=e.i(15255),f=e.i(93695);e.i(65858);var y=e.i(95175),R=e.i(43779),v=e.i(61927),C=e.i(84287),E=e.i(39100),b=e.i(44204),w=e.i(21096),I=e.i(99448),A=e.i(86342);let S=R.z.object({graphId:R.z.string().min(1),graphVersion:R.z.number(),updatedAt:R.z.string().min(1),replanBudgetRemaining:R.z.number()});async function T(e,{params:t}){let r,{id:a}=await t,n=(0,E.normalizeTaskId)(a);if(!n)return(0,E.jsonWithSchema)(C.ErrorResponseSchema,{error:"Invalid task id"},{status:400});let o=await (0,E.parseJsonBody)(e,C.ReplanRequestSchema);if(!o.ok)return o.response;let i=o.data,s=await (0,b.authorizeGraphMutation)({request:e,taskId:n,action:"replan",requestedProjectId:i.projectId??i.project_id});if(!s.ok)return s.response;let d=await (0,I.getGraph)(n);if(!d)return(0,E.jsonWithSchema)(C.ErrorResponseSchema,{error:"Graph not found"},{status:404});if(!d.nodes[i.triggeredAtNodeId])return(0,E.jsonWithSchema)(C.ErrorResponseSchema,{error:"triggeredAtNodeId does not exist in graph"},{status:400});if(d.policy.replanBudgetRemaining<=0)return(0,E.jsonWithSchema)(C.ErrorResponseSchema,{error:"Replan budget exhausted"},{status:409});let u=i.proposedChanges??{},p={...d.nodes},l=Object.entries(u.addNodes??{});for(let[e,t]of l)p[e]=function(e,t){let r="gate"===t.type||"fork"===t.type||"join"===t.type||"conditional"===t.type?t.type:"work",a=Array.isArray(t.deps)?t.deps.filter(e=>"string"==typeof e):[],n="string"==typeof t.status?t.status:"pending";return"work"===r?{type:"work",status:n,deps:a,title:"string"==typeof t.title&&t.title.trim().length>0?t.title:e,attempts:"number"==typeof t.attempts?t.attempts:0,maxAttempts:"number"==typeof t.maxAttempts?t.maxAttempts:1,retryPolicy:{backoffMs:"number"==typeof t.retryPolicy?.backoffMs?t.retryPolicy.backoffMs:1e3,onExhaust:t.retryPolicy?.onExhaust??"escalate"}}:"gate"===r?{type:"gate",status:n,deps:a,gateType:"progress"===t.gateType||"quality_gate"===t.gateType||"design_gate"===t.gateType||"handoff_gate"===t.gateType||"approval_gate"===t.gateType?t.gateType:"progress",required:!!t.required,verificationStrategy:{type:t.verificationStrategy?.type??"auto",checks:t.verificationStrategy?.checks??[]}}:"fork"===r?{type:"fork",status:n,deps:a}:"join"===r?{type:"join",status:n,deps:a,joinStrategy:"all"===t.joinStrategy||"any"===t.joinStrategy||"n_of_m"===t.joinStrategy?t.joinStrategy:"all"}:{type:"conditional",status:n,deps:a,condition:{expression:"string"==typeof t.condition?.expression&&t.condition.expression||"true",inputFrom:"string"==typeof t.condition?.inputFrom?t.condition.inputFrom||a[0]||e:a[0]||e},thenBranch:Array.isArray(t.thenBranch)?t.thenBranch.filter(e=>"string"==typeof e):[],elseBranch:Array.isArray(t.elseBranch)?t.elseBranch.filter(e=>"string"==typeof e):[]}}(e,t);let c=(u.removeNodes??[]).filter(e=>"string"==typeof e);for(let e of c)delete p[e];for(let e of(r=Array.isArray(u.rewireEdges)?u.rewireEdges:d.edges.filter(e=>!c.includes(e.from)&&!c.includes(e.to)),Object.values(p)))e.deps=e.deps.filter(e=>e in p);let g=u.estimateDeltas??{};for(let[e,t]of Object.entries(g)){let r=p[e];if(!r||"work"!==r.type)continue;let a=(r.estimateMinutes??0)+t;r.estimateMinutes=a<0?0:a}if(!(0,A.validateGraph)({...d,nodes:p,edges:r}).valid)return(0,E.jsonWithSchema)(C.ErrorResponseSchema,{error:"Invalid replan graph"},{status:400});try{let e={...d.policy,replanBudgetRemaining:Math.max(0,d.policy.replanBudgetRemaining-1)},t=await (0,I.updateGraphStructure)(d.id,{mode:d.mode,nodes:p,edges:r,policy:e,doneCriteria:d.doneCriteria},i.ifMatchGraphVersion);return await (0,I.appendEvent)(d.id,(0,v.buildReplanEvent)({actor:s.actor,fromVersion:d.graphVersion,toVersion:t.graphVersion,reason:i.reason,triggeredAtNodeId:i.triggeredAtNodeId,changes:{addedNodes:l.map(([e])=>e),removedNodes:c,rewiredDeps:(u.rewireEdges??[]).map(e=>`${e.from}->${e.to}`),estimateDeltas:g},projectId:s.projectId})),await (0,I.appendEvent)(d.id,(0,v.buildBudgetConsumedEvent)({actor:s.actor,budgetType:"replan",remaining:e.replanBudgetRemaining,triggerNodeId:i.triggeredAtNodeId,projectId:s.projectId})),(0,w.recordReplan)(),(0,E.jsonWithSchema)(S,{graphId:d.id,graphVersion:t.graphVersion,updatedAt:t.updatedAt,replanBudgetRemaining:e.replanBudgetRemaining})}catch(e){if(e instanceof I.GraphVersionConflictError)return(0,E.graphConflictResponse)(e);return console.error("Error handling graph replan:",e),(0,E.jsonWithSchema)(C.ErrorResponseSchema,{error:"Failed to replan graph"},{status:500})}}e.s(["POST",()=>T],15553);var k=e.i(15553);let j=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/tasks/[id]/graph/replan/route",pathname:"/api/tasks/[id]/graph/replan",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/Projects/Agents/agx-cloud/app/api/tasks/[id]/graph/replan/route.ts",nextConfigOutput:"standalone",userland:k}),{workAsyncStorage:x,workUnitAsyncStorage:_,serverHooks:N}=j;function P(){return(0,a.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:_})}async function O(e,t,a){j.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let R="/api/tasks/[id]/graph/replan/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:C,params:E,nextConfig:b,parsedUrl:w,isDraftMode:I,prerenderManifest:A,routerServerContext:S,isOnDemandRevalidate:T,revalidateOnlyGenerated:k,resolvedPathname:x,clientReferenceManifest:_,serverActionsManifest:N}=v,P=(0,s.normalizeAppPath)(R),O=!!(A.dynamicRoutes[P]||A.routes[x]),B=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,w,!1):t.end("This page could not be found"),null);if(O&&!I){let e=!!A.routes[x],t=A.dynamicRoutes[P];if(t&&!1===t.fallback&&!e){if(b.experimental.adapterPath)return await B();throw new f.NoFallbackError}}let M=null;!O||j.isDev||I||(M="/index"===(M=x)?"/":M);let q=!0===j.isDev||!O,V=O&&!q;N&&_&&(0,i.setManifestsSingleton)({page:R,clientReferenceManifest:_,serverActionsManifest:N});let F=e.method||"GET",H=(0,o.getTracer)(),U=H.getActiveScopeSpan(),D={params:E,prerenderManifest:A,renderOpts:{experimental:{authInterrupts:!!b.experimental.authInterrupts},cacheComponents:!!b.cacheComponents,supportsDynamicResponse:q,incrementalCache:(0,n.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:b.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>j.onRequestError(e,t,a,n,S)},sharedContext:{buildId:C}},G=new d.NodeNextRequest(e),$=new d.NodeNextResponse(t),z=u.NextRequestAdapter.fromNodeNextRequest(G,(0,u.signalFromNodeResponse)(t));try{let i=async e=>j.handle(z,D).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=H.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==p.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=`${F} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${F} ${R}`)}),s=!!(0,n.getRequestMeta)(e,"minimalMode"),d=async n=>{var o,d;let u=async({previousCacheEntry:r})=>{try{if(!s&&T&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await i(n);e.fetchMetrics=D.renderOpts.fetchMetrics;let d=D.renderOpts.pendingWaitUntil;d&&a.waitUntil&&(a.waitUntil(d),d=void 0);let u=D.renderOpts.collectedTags;if(!O)return await (0,c.sendResponse)(G,$,o,D.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,g.toNodeOutgoingHttpHeaders)(o.headers);u&&(t[m.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==D.renderOpts.collectedRevalidate&&!(D.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&D.renderOpts.collectedRevalidate,a=void 0===D.renderOpts.collectedExpire||D.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:D.renderOpts.collectedExpire;return{value:{kind:y.CachedRouteKind.APP_ROUTE,status:o.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,l.getRevalidateReason)({isStaticGeneration:V,isOnDemandRevalidate:T})},!1,S),t}},p=await j.handleResponse({req:e,nextConfig:b,cacheKey:M,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:T,revalidateOnlyGenerated:k,responseGenerator:u,waitUntil:a.waitUntil,isMinimalMode:s});if(!O)return null;if((null==p||null==(o=p.value)?void 0:o.kind)!==y.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==p||null==(d=p.value)?void 0:d.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});s||t.setHeader("x-nextjs-cache",T?"REVALIDATED":p.isMiss?"MISS":p.isStale?"STALE":"HIT"),I&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,g.fromNodeOutgoingHttpHeaders)(p.value.headers);return s&&O||f.delete(m.NEXT_CACHE_TAGS_HEADER),!p.cacheControl||t.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,h.getCacheControlHeader)(p.cacheControl)),await (0,c.sendResponse)(G,$,new Response(p.value.body,{headers:f,status:p.value.status||200})),null};U?await d(U):await H.withPropagatedContext(e.headers,()=>H.trace(p.BaseServerSpan.handleRequest,{spanName:`${F} ${R}`,kind:o.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},d))}catch(t){if(t instanceof f.NoFallbackError||await j.onRequestError(e,t,{routerKind:"App Router",routePath:P,routeType:"route",revalidateReason:(0,l.getRevalidateReason)({isStaticGeneration:V,isOnDemandRevalidate:T})},!1,S),O)throw t;return await (0,c.sendResponse)(G,$,new Response(null,{status:500})),null}}e.s(["handler",()=>O,"patchFetch",()=>P,"routeModule",()=>j,"serverHooks",()=>N,"workAsyncStorage",()=>x,"workUnitAsyncStorage",()=>_],90438)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=Projects_Agents_agx-cloud_36b0cd80._.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
module.exports=[56073,e=>{"use strict";function t(e,t){return`---
|
|
2
|
-
${Object.entries(e).map(([e,t])=>`${e}: ${null==t?"":String(t)}`).join("\n")}
|
|
3
|
-
---
|
|
4
|
-
${t}`}e.s(["buildMarkdownWithFrontmatter",()=>t])},90860,e=>{"use strict";var t=e.i(89970),r=e.i(62636),a=e.i(7020),o=e.i(56073);async function n(e){let n=e.nowIso??new Date().toISOString(),s=(0,t.createAdminDbClient)(),i=await a.db.getTask(e.taskId,e.userId),d={status:e.status,stage:"PROGRESS",updated_at:n};if(Object.prototype.hasOwnProperty.call(e,"startedAt")&&(d.started_at=e.startedAt??null),Object.prototype.hasOwnProperty.call(e,"completedAt")&&(d.completed_at=e.completedAt??null),i){let{frontmatter:t,body:a}=(0,r.parseFrontmatter)(String(i.content||""));t.status=e.status,t.stage="PROGRESS",e.clearError&&delete t.error,d.content=(0,o.buildMarkdownWithFrontmatter)(t,a)}let u=s.from("tasks").update(d).eq("id",e.taskId);e.userId&&(u=u.eq("user_id",e.userId));let{error:c}=await u;if(c)throw c}e.s(["syncTaskProgressForGraphExecution",()=>n])},44204,e=>{"use strict";var t=e.i(12244),r=e.i(62367),a=e.i(7020);async function o(e){let o=r.LOCAL_USER.id,n=await a.db.getTask(e.taskId,o);return n?{ok:!0,actor:{actorId:o,actorType:"service"},task:n,projectId:e.requestedProjectId??n.project_id??null}:{ok:!1,response:t.NextResponse.json({error:"Task not found"},{status:404})}}e.s(["authorizeGraphMutation",()=>o])},61927,21096,e=>{"use strict";function t(){return new Date().toISOString()}function r(e,t,r){return{actorId:e.actorId,actorType:e.actorType,action:t,...r?{projectId:r}:{}}}function a(e){return{eventType:"graph_created",timestamp:e.timestamp??t(),mode:e.mode,nodeCount:e.nodeCount,edgeCount:e.edgeCount,audit:r(e.actor,"graph_create",e.projectId)}}function o(e){return{eventType:"node_status",nodeId:e.nodeId,fromStatus:e.fromStatus,toStatus:e.toStatus,timestamp:e.timestamp??t(),...e.reason?{reason:e.reason}:{},audit:r(e.actor,"node_status_transition",e.projectId)}}function n(e){return{eventType:"gate_verification",nodeId:e.nodeId,timestamp:e.timestamp??t(),result:e.result,audit:r(e.actor,"gate_verification",e.projectId)}}function s(e){return{eventType:"budget_consumed",budgetType:e.budgetType,remaining:e.remaining,triggerNodeId:e.triggerNodeId,timestamp:e.timestamp??t(),audit:r(e.actor,"budget_consumption",e.projectId)}}function i(e){return{eventType:"replan",fromVersion:e.fromVersion,toVersion:e.toVersion,timestamp:e.timestamp??t(),reason:e.reason,triggeredBy:e.triggeredBy??("user"===e.actor.actorType?"human":"agent"),triggeredAtNodeId:e.triggeredAtNodeId,changes:e.changes,audit:r(e.actor,"graph_replan",e.projectId)}}function d(e){return{eventType:"rollback",toCheckpoint:e.toCheckpoint,timestamp:e.timestamp??t(),reason:e.reason,triggeredBy:e.triggeredBy??("user"===e.actor.actorType?"human":"agent"),audit:r(e.actor,"graph_rollback",e.projectId)}}e.s(["buildBudgetConsumedEvent",()=>s,"buildGateVerificationEvent",()=>n,"buildGraphCreatedEvent",()=>a,"buildNodeStatusEvent",()=>o,"buildReplanEvent",()=>i,"buildRollbackEvent",()=>d],61927);let u={graphCreateCount:0,replanCount:0,rollbackCount:0,migrationFailureCount:0,gatePassCount:0,gateFailCount:0};function c(){u.graphCreateCount+=1}function l(){u.replanCount+=1}function p(){u.rollbackCount+=1}function g(){u.migrationFailureCount+=1}function h(e){if(e){u.gatePassCount+=1;return}u.gateFailCount+=1}e.s(["recordGateVerificationResult",()=>h,"recordGraphCreate",()=>c,"recordMigrationFailure",()=>g,"recordReplan",()=>l,"recordRollback",()=>p],21096)},43217,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},"SUCCESS_NODE_STATUSES",0,["done","passed"],"TERMINAL_NODE_STATUSES",0,["done","passed","failed","skipped"]])},84897,e=>{"use strict";var t=e.i(43779),r=e.i(61927),a=e.i(84287),o=e.i(39100),n=e.i(44204),s=e.i(21096),i=e.i(99448),d=e.i(41871);let u=t.z.object({error:t.z.string().min(1),nodeIds:t.z.array(t.z.string())});async function c(e){try{await (0,i.appendEvent)(e.graphId,(0,r.buildNodeStatusEvent)({actor:e.actor,nodeId:e.nodeId,fromStatus:e.fromStatus,toStatus:e.toStatus,reason:e.reason,projectId:e.projectId}))}catch(e){console.error("Failed to append rejected node transition event",e)}}async function l(e){let t=await (0,n.authorizeGraphMutation)({request:e.request,taskId:e.taskId,action:e.action,requestedProjectId:e.requestedProjectId});if(!t.ok)return t.response;let l=await (0,i.getGraph)(e.taskId);if(!l)return(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:"Graph not found"},{status:404});let p=l.nodes[e.nodeId];if(!p)return(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:"Node not found"},{status:404});if(e.allowedFromStatuses&&!e.allowedFromStatuses.includes(p.status))return await c({graphId:l.id,actor:t.actor,projectId:t.projectId,nodeId:e.nodeId,fromStatus:p.status,toStatus:e.targetStatus,reason:`Rejected: node must be in one of [${e.allowedFromStatuses.join(", ")}] to ${e.action}`}),(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:`Cannot ${e.action} node ${e.nodeId}: current status is ${p.status}`},{status:400});try{(0,d.assertValidNodeStatusTransition)(p.type,p.status,e.targetStatus)}catch{return await c({graphId:l.id,actor:t.actor,projectId:t.projectId,nodeId:e.nodeId,fromStatus:p.status,toStatus:e.targetStatus,reason:"Rejected invalid transition"}),(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:`Invalid node transition for ${e.nodeId}: ${p.status} -> ${e.targetStatus}`},{status:400})}if("gate"===p.type&&"pending"===p.status&&"passed"===e.targetStatus&&!function(e){if("gate"!==e.type)return!1;let t=e.verificationStrategy.checks??[];return"progress"===e.gateType&&0===t.length&&"auto"===e.verificationStrategy.type}(p))return await c({graphId:l.id,actor:t.actor,projectId:t.projectId,nodeId:e.nodeId,fromStatus:p.status,toStatus:e.targetStatus,reason:"Rejected required gate bypass"}),(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:`Required gate transition blocked for node ${e.nodeId}`},{status:400});try{let n={...e.patch??{},status:e.targetStatus};e.resetWorkAttempts&&"work"===p.type&&(n.configPatch={...n.configPatch??{},attempts:0});let d={[e.nodeId]:{...n}},u=await (0,i.updateNodeRuntime)(l.id,d,e.ifMatchGraphVersion??l.graphVersion),c=new Date().toISOString();if(await (0,i.appendEvent)(l.id,(0,r.buildNodeStatusEvent)({actor:t.actor,nodeId:e.nodeId,fromStatus:p.status,toStatus:e.targetStatus,reason:e.reason,timestamp:c,projectId:t.projectId})),("gate"===p.type||"node_verify"===e.action)&&("passed"===e.targetStatus||"failed"===e.targetStatus)){let a="passed"===e.targetStatus;(0,s.recordGateVerificationResult)(a),await (0,i.appendEvent)(l.id,(0,r.buildGateVerificationEvent)({actor:t.actor,nodeId:e.nodeId,timestamp:c,result:{passed:a,checks:e.gateChecks??[],verifiedAt:c,verifiedBy:"user"===t.actor.actorType?"human":"agent"},projectId:t.projectId}))}if(e.consumeVerifyBudget||"node_verify"===e.action){let a=Math.max(0,l.policy.verifyBudgetRemaining-1);await (0,i.appendEvent)(l.id,(0,r.buildBudgetConsumedEvent)({actor:t.actor,budgetType:"verify",remaining:a,triggerNodeId:e.nodeId,timestamp:c,projectId:t.projectId}))}return(0,o.jsonWithSchema)(a.NodeMutationResponseSchema,{graphId:l.id,nodeId:e.nodeId,graphVersion:u.graphVersion,updatedAt:u.updatedAt})}catch(e){if(e instanceof i.GraphVersionConflictError)return(0,o.graphConflictResponse)(e);if(e instanceof i.GraphNodeNotFoundError)return(0,o.jsonWithSchema)(u,{error:e.message,nodeIds:e.nodeIds},{status:404});return console.error("Error mutating node status:",e),(0,o.jsonWithSchema)(a.ErrorResponseSchema,{error:"Failed to mutate node status"},{status:500})}}e.s(["applyNodeStatusMutation",()=>l])},56304,e=>{"use strict";var t=e.i(11794),r=e.i(41852),a=e.i(19309),o=e.i(90850),n=e.i(24918),s=e.i(84604),i=e.i(37756),d=e.i(90661),u=e.i(90315),c=e.i(9168),l=e.i(12965),p=e.i(43715),g=e.i(79218),h=e.i(66263),m=e.i(15255),f=e.i(93695);e.i(65858);var I=e.i(95175),S=e.i(89970),R=e.i(84287),v=e.i(39100),y=e.i(84897),E=e.i(90860);async function C(e,{params:t}){let{id:r,nodeId:a}=await t,o=(0,v.normalizeTaskId)(r),n=(0,v.normalizeNodeId)(a);if(!o||!n)return(0,v.jsonWithSchema)(R.ErrorResponseSchema,{error:"Invalid taskId or nodeId"},{status:400});let s=await (0,v.parseJsonBody)(e,R.StartNodeRequestSchema);if(!s.ok)return s.response;let i=s.data,d=await (0,y.applyNodeStatusMutation)({request:e,taskId:o,nodeId:n,action:"node_resume",requestedProjectId:i.projectId??i.project_id,ifMatchGraphVersion:i.ifMatchGraphVersion,targetStatus:"running",reason:"manual node resume",resetWorkAttempts:!0,allowedFromStatuses:["paused","stopped"],patch:{}});if(d.status>=200&&d.status<300)try{let e=(0,S.createAdminDbClient)(),t=new Date().toISOString();await (0,E.syncTaskProgressForGraphExecution)({taskId:o,status:"queued",nowIso:t,completedAt:null,clearError:!0}),await e.from("execution_graphs").update({execution_state:"running",updated_at:t}).eq("task_id",o)}catch(e){console.error("Failed to requeue task after node resume:",e)}return d}e.s(["POST",()=>C],72980);var w=e.i(72980);let k=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/tasks/[id]/nodes/[nodeId]/resume/route",pathname:"/api/tasks/[id]/nodes/[nodeId]/resume",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/Projects/Agents/agx-cloud/app/api/tasks/[id]/nodes/[nodeId]/resume/route.ts",nextConfigOutput:"standalone",userland:w}),{workAsyncStorage:T,workUnitAsyncStorage:b,serverHooks:j}=k;function _(){return(0,a.patchFetch)({workAsyncStorage:T,workUnitAsyncStorage:b})}async function A(e,t,a){k.isDev&&(0,o.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let S="/api/tasks/[id]/nodes/[nodeId]/resume/route";S=S.replace(/\/index$/,"")||"/";let R=await k.prepare(e,t,{srcPage:S,multiZoneDraftMode:!1});if(!R)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:v,params:y,nextConfig:E,parsedUrl:C,isDraftMode:w,prerenderManifest:T,routerServerContext:b,isOnDemandRevalidate:j,revalidateOnlyGenerated:_,resolvedPathname:A,clientReferenceManifest:N,serverActionsManifest:x}=R,P=(0,i.normalizeAppPath)(S),O=!!(T.dynamicRoutes[P]||T.routes[A]),q=async()=>((null==b?void 0:b.render404)?await b.render404(e,t,C,!1):t.end("This page could not be found"),null);if(O&&!w){let e=!!T.routes[A],t=T.dynamicRoutes[P];if(t&&!1===t.fallback&&!e){if(E.experimental.adapterPath)return await q();throw new f.NoFallbackError}}let M=null;!O||k.isDev||w||(M="/index"===(M=A)?"/":M);let F=!0===k.isDev||!O,G=O&&!F;x&&N&&(0,s.setManifestsSingleton)({page:S,clientReferenceManifest:N,serverActionsManifest:x});let D=e.method||"GET",U=(0,n.getTracer)(),$=U.getActiveScopeSpan(),V={params:y,prerenderManifest:T,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts},cacheComponents:!!E.cacheComponents,supportsDynamicResponse:F,incrementalCache:(0,o.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:E.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,o)=>k.onRequestError(e,t,a,o,b)},sharedContext:{buildId:v}},B=new d.NodeNextRequest(e),H=new d.NodeNextResponse(t),W=u.NextRequestAdapter.fromNodeNextRequest(B,(0,u.signalFromNodeResponse)(t));try{let s=async e=>k.handle(W,V).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")!==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=`${D} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${D} ${S}`)}),i=!!(0,o.getRequestMeta)(e,"minimalMode"),d=async o=>{var n,d;let u=async({previousCacheEntry:r})=>{try{if(!i&&j&&_&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await s(o);e.fetchMetrics=V.renderOpts.fetchMetrics;let d=V.renderOpts.pendingWaitUntil;d&&a.waitUntil&&(a.waitUntil(d),d=void 0);let u=V.renderOpts.collectedTags;if(!O)return await (0,p.sendResponse)(B,H,n,V.renderOpts.pendingWaitUntil),null;{let e=await n.blob(),t=(0,g.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!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,a=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:V.renderOpts.collectedExpire;return{value:{kind:I.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 k.onRequestError(e,t,{routerKind:"App Router",routePath:S,routeType:"route",revalidateReason:(0,l.getRevalidateReason)({isStaticGeneration:G,isOnDemandRevalidate:j})},!1,b),t}},c=await k.handleResponse({req:e,nextConfig:E,cacheKey:M,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:T,isRoutePPREnabled:!1,isOnDemandRevalidate:j,revalidateOnlyGenerated:_,responseGenerator:u,waitUntil:a.waitUntil,isMinimalMode:i});if(!O)return null;if((null==c||null==(n=c.value)?void 0:n.kind)!==I.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==c||null==(d=c.value)?void 0:d.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",j?"REVALIDATED":c.isMiss?"MISS":c.isStale?"STALE":"HIT"),w&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,g.fromNodeOutgoingHttpHeaders)(c.value.headers);return i&&O||f.delete(m.NEXT_CACHE_TAGS_HEADER),!c.cacheControl||t.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,h.getCacheControlHeader)(c.cacheControl)),await (0,p.sendResponse)(B,H,new Response(c.value.body,{headers:f,status:c.value.status||200})),null};$?await d($):await U.withPropagatedContext(e.headers,()=>U.trace(c.BaseServerSpan.handleRequest,{spanName:`${D} ${S}`,kind:n.SpanKind.SERVER,attributes:{"http.method":D,"http.target":e.url}},d))}catch(t){if(t instanceof f.NoFallbackError||await k.onRequestError(e,t,{routerKind:"App Router",routePath:P,routeType:"route",revalidateReason:(0,l.getRevalidateReason)({isStaticGeneration:G,isOnDemandRevalidate:j})},!1,b),O)throw t;return await (0,p.sendResponse)(B,H,new Response(null,{status:500})),null}}e.s(["handler",()=>A,"patchFetch",()=>_,"routeModule",()=>k,"serverHooks",()=>j,"workAsyncStorage",()=>T,"workUnitAsyncStorage",()=>b],56304)}];
|
|
5
|
-
|
|
6
|
-
//# sourceMappingURL=Projects_Agents_agx-cloud_46b6e127._.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
module.exports=[56073,e=>{"use strict";function t(e,t){return`---
|
|
2
|
-
${Object.entries(e).map(([e,t])=>`${e}: ${null==t?"":String(t)}`).join("\n")}
|
|
3
|
-
---
|
|
4
|
-
${t}`}e.s(["buildMarkdownWithFrontmatter",()=>t])},90860,e=>{"use strict";var t=e.i(89970),r=e.i(62636),a=e.i(7020),n=e.i(56073);async function o(e){let o=e.nowIso??new Date().toISOString(),s=(0,t.createAdminDbClient)(),i=await a.db.getTask(e.taskId,e.userId),d={status:e.status,stage:"PROGRESS",updated_at:o};if(Object.prototype.hasOwnProperty.call(e,"startedAt")&&(d.started_at=e.startedAt??null),Object.prototype.hasOwnProperty.call(e,"completedAt")&&(d.completed_at=e.completedAt??null),i){let{frontmatter:t,body:a}=(0,r.parseFrontmatter)(String(i.content||""));t.status=e.status,t.stage="PROGRESS",e.clearError&&delete t.error,d.content=(0,n.buildMarkdownWithFrontmatter)(t,a)}let u=s.from("tasks").update(d).eq("id",e.taskId);e.userId&&(u=u.eq("user_id",e.userId));let{error:c}=await u;if(c)throw c}e.s(["syncTaskProgressForGraphExecution",()=>o])},44204,e=>{"use strict";var t=e.i(12244),r=e.i(62367),a=e.i(7020);async function n(e){let n=r.LOCAL_USER.id,o=await a.db.getTask(e.taskId,n);return o?{ok:!0,actor:{actorId:n,actorType:"service"},task:o,projectId:e.requestedProjectId??o.project_id??null}:{ok:!1,response:t.NextResponse.json({error:"Task not found"},{status:404})}}e.s(["authorizeGraphMutation",()=>n])},61927,21096,e=>{"use strict";function t(){return new Date().toISOString()}function r(e,t,r){return{actorId:e.actorId,actorType:e.actorType,action:t,...r?{projectId:r}:{}}}function a(e){return{eventType:"graph_created",timestamp:e.timestamp??t(),mode:e.mode,nodeCount:e.nodeCount,edgeCount:e.edgeCount,audit:r(e.actor,"graph_create",e.projectId)}}function n(e){return{eventType:"node_status",nodeId:e.nodeId,fromStatus:e.fromStatus,toStatus:e.toStatus,timestamp:e.timestamp??t(),...e.reason?{reason:e.reason}:{},audit:r(e.actor,"node_status_transition",e.projectId)}}function o(e){return{eventType:"gate_verification",nodeId:e.nodeId,timestamp:e.timestamp??t(),result:e.result,audit:r(e.actor,"gate_verification",e.projectId)}}function s(e){return{eventType:"budget_consumed",budgetType:e.budgetType,remaining:e.remaining,triggerNodeId:e.triggerNodeId,timestamp:e.timestamp??t(),audit:r(e.actor,"budget_consumption",e.projectId)}}function i(e){return{eventType:"replan",fromVersion:e.fromVersion,toVersion:e.toVersion,timestamp:e.timestamp??t(),reason:e.reason,triggeredBy:e.triggeredBy??("user"===e.actor.actorType?"human":"agent"),triggeredAtNodeId:e.triggeredAtNodeId,changes:e.changes,audit:r(e.actor,"graph_replan",e.projectId)}}function d(e){return{eventType:"rollback",toCheckpoint:e.toCheckpoint,timestamp:e.timestamp??t(),reason:e.reason,triggeredBy:e.triggeredBy??("user"===e.actor.actorType?"human":"agent"),audit:r(e.actor,"graph_rollback",e.projectId)}}e.s(["buildBudgetConsumedEvent",()=>s,"buildGateVerificationEvent",()=>o,"buildGraphCreatedEvent",()=>a,"buildNodeStatusEvent",()=>n,"buildReplanEvent",()=>i,"buildRollbackEvent",()=>d],61927);let u={graphCreateCount:0,replanCount:0,rollbackCount:0,migrationFailureCount:0,gatePassCount:0,gateFailCount:0};function c(){u.graphCreateCount+=1}function l(){u.replanCount+=1}function p(){u.rollbackCount+=1}function g(){u.migrationFailureCount+=1}function h(e){if(e){u.gatePassCount+=1;return}u.gateFailCount+=1}e.s(["recordGateVerificationResult",()=>h,"recordGraphCreate",()=>c,"recordMigrationFailure",()=>g,"recordReplan",()=>l,"recordRollback",()=>p],21096)},43217,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},"SUCCESS_NODE_STATUSES",0,["done","passed"],"TERMINAL_NODE_STATUSES",0,["done","passed","failed","skipped"]])},84897,e=>{"use strict";var t=e.i(43779),r=e.i(61927),a=e.i(84287),n=e.i(39100),o=e.i(44204),s=e.i(21096),i=e.i(99448),d=e.i(41871);let u=t.z.object({error:t.z.string().min(1),nodeIds:t.z.array(t.z.string())});async function c(e){try{await (0,i.appendEvent)(e.graphId,(0,r.buildNodeStatusEvent)({actor:e.actor,nodeId:e.nodeId,fromStatus:e.fromStatus,toStatus:e.toStatus,reason:e.reason,projectId:e.projectId}))}catch(e){console.error("Failed to append rejected node transition event",e)}}async function l(e){let t=await (0,o.authorizeGraphMutation)({request:e.request,taskId:e.taskId,action:e.action,requestedProjectId:e.requestedProjectId});if(!t.ok)return t.response;let l=await (0,i.getGraph)(e.taskId);if(!l)return(0,n.jsonWithSchema)(a.ErrorResponseSchema,{error:"Graph not found"},{status:404});let p=l.nodes[e.nodeId];if(!p)return(0,n.jsonWithSchema)(a.ErrorResponseSchema,{error:"Node not found"},{status:404});if(e.allowedFromStatuses&&!e.allowedFromStatuses.includes(p.status))return await c({graphId:l.id,actor:t.actor,projectId:t.projectId,nodeId:e.nodeId,fromStatus:p.status,toStatus:e.targetStatus,reason:`Rejected: node must be in one of [${e.allowedFromStatuses.join(", ")}] to ${e.action}`}),(0,n.jsonWithSchema)(a.ErrorResponseSchema,{error:`Cannot ${e.action} node ${e.nodeId}: current status is ${p.status}`},{status:400});try{(0,d.assertValidNodeStatusTransition)(p.type,p.status,e.targetStatus)}catch{return await c({graphId:l.id,actor:t.actor,projectId:t.projectId,nodeId:e.nodeId,fromStatus:p.status,toStatus:e.targetStatus,reason:"Rejected invalid transition"}),(0,n.jsonWithSchema)(a.ErrorResponseSchema,{error:`Invalid node transition for ${e.nodeId}: ${p.status} -> ${e.targetStatus}`},{status:400})}if("gate"===p.type&&"pending"===p.status&&"passed"===e.targetStatus&&!function(e){if("gate"!==e.type)return!1;let t=e.verificationStrategy.checks??[];return"progress"===e.gateType&&0===t.length&&"auto"===e.verificationStrategy.type}(p))return await c({graphId:l.id,actor:t.actor,projectId:t.projectId,nodeId:e.nodeId,fromStatus:p.status,toStatus:e.targetStatus,reason:"Rejected required gate bypass"}),(0,n.jsonWithSchema)(a.ErrorResponseSchema,{error:`Required gate transition blocked for node ${e.nodeId}`},{status:400});try{let o={...e.patch??{},status:e.targetStatus};e.resetWorkAttempts&&"work"===p.type&&(o.configPatch={...o.configPatch??{},attempts:0});let d={[e.nodeId]:{...o}},u=await (0,i.updateNodeRuntime)(l.id,d,e.ifMatchGraphVersion??l.graphVersion),c=new Date().toISOString();if(await (0,i.appendEvent)(l.id,(0,r.buildNodeStatusEvent)({actor:t.actor,nodeId:e.nodeId,fromStatus:p.status,toStatus:e.targetStatus,reason:e.reason,timestamp:c,projectId:t.projectId})),("gate"===p.type||"node_verify"===e.action)&&("passed"===e.targetStatus||"failed"===e.targetStatus)){let a="passed"===e.targetStatus;(0,s.recordGateVerificationResult)(a),await (0,i.appendEvent)(l.id,(0,r.buildGateVerificationEvent)({actor:t.actor,nodeId:e.nodeId,timestamp:c,result:{passed:a,checks:e.gateChecks??[],verifiedAt:c,verifiedBy:"user"===t.actor.actorType?"human":"agent"},projectId:t.projectId}))}if(e.consumeVerifyBudget||"node_verify"===e.action){let a=Math.max(0,l.policy.verifyBudgetRemaining-1);await (0,i.appendEvent)(l.id,(0,r.buildBudgetConsumedEvent)({actor:t.actor,budgetType:"verify",remaining:a,triggerNodeId:e.nodeId,timestamp:c,projectId:t.projectId}))}return(0,n.jsonWithSchema)(a.NodeMutationResponseSchema,{graphId:l.id,nodeId:e.nodeId,graphVersion:u.graphVersion,updatedAt:u.updatedAt})}catch(e){if(e instanceof i.GraphVersionConflictError)return(0,n.graphConflictResponse)(e);if(e instanceof i.GraphNodeNotFoundError)return(0,n.jsonWithSchema)(u,{error:e.message,nodeIds:e.nodeIds},{status:404});return console.error("Error mutating node status:",e),(0,n.jsonWithSchema)(a.ErrorResponseSchema,{error:"Failed to mutate node status"},{status:500})}}e.s(["applyNodeStatusMutation",()=>l])},46738,e=>{"use strict";var t=e.i(11794),r=e.i(41852),a=e.i(19309),n=e.i(90850),o=e.i(24918),s=e.i(84604),i=e.i(37756),d=e.i(90661),u=e.i(90315),c=e.i(9168),l=e.i(12965),p=e.i(43715),g=e.i(79218),h=e.i(66263),m=e.i(15255),f=e.i(93695);e.i(65858);var I=e.i(95175),S=e.i(89970),R=e.i(84287),v=e.i(39100),y=e.i(84897),E=e.i(99448),C=e.i(90860);async function w(e,{params:t}){var r;let{id:a,nodeId:n}=await t,o=(0,v.normalizeTaskId)(a),s=(0,v.normalizeNodeId)(n);if(!o||!s)return(0,v.jsonWithSchema)(R.ErrorResponseSchema,{error:"Invalid taskId or nodeId"},{status:400});let i=await (0,v.parseJsonBody)(e,R.StartNodeRequestSchema);if(!i.ok)return i.response;let d=i.data,u=await (0,E.getGraph)(o),c=u?.nodes[s],l=u?.nodes[s]?.status,p="done"===l&&c?.type==="work"&&(r=String(c.title||""),"plan"===s||/generate.*execution.*plan/i.test(r)),g="blocked"===l||p?"pending":"running",h=await (0,y.applyNodeStatusMutation)({request:e,taskId:o,nodeId:s,action:"node_start",requestedProjectId:d.projectId??d.project_id,ifMatchGraphVersion:d.ifMatchGraphVersion,targetStatus:g,reason:"blocked"===l?"manual unblock and requeue":p?"manual plan rerun and requeue":"manual node start",resetWorkAttempts:!0,patch:"running"===g?{startedAt:d.startedAt??new Date().toISOString()}:{}});if(h.status>=200&&h.status<300)try{let e=(0,S.createAdminDbClient)(),t=new Date().toISOString();await (0,C.syncTaskProgressForGraphExecution)({taskId:o,status:"queued",nowIso:t,completedAt:null,clearError:!0}),await e.from("execution_graphs").update({execution_state:"running",updated_at:t}).eq("task_id",o)}catch(e){console.error("Failed to requeue task after node start:",e)}return h}e.s(["POST",()=>w],32500);var k=e.i(32500);let b=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/tasks/[id]/nodes/[nodeId]/start/route",pathname:"/api/tasks/[id]/nodes/[nodeId]/start",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/Projects/Agents/agx-cloud/app/api/tasks/[id]/nodes/[nodeId]/start/route.ts",nextConfigOutput:"standalone",userland:k}),{workAsyncStorage:T,workUnitAsyncStorage:j,serverHooks:A}=b;function _(){return(0,a.patchFetch)({workAsyncStorage:T,workUnitAsyncStorage:j})}async function N(e,t,a){b.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let S="/api/tasks/[id]/nodes/[nodeId]/start/route";S=S.replace(/\/index$/,"")||"/";let R=await b.prepare(e,t,{srcPage:S,multiZoneDraftMode:!1});if(!R)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:v,params:y,nextConfig:E,parsedUrl:C,isDraftMode:w,prerenderManifest:k,routerServerContext:T,isOnDemandRevalidate:j,revalidateOnlyGenerated:A,resolvedPathname:_,clientReferenceManifest:N,serverActionsManifest:x}=R,P=(0,i.normalizeAppPath)(S),O=!!(k.dynamicRoutes[P]||k.routes[_]),q=async()=>((null==T?void 0:T.render404)?await T.render404(e,t,C,!1):t.end("This page could not be found"),null);if(O&&!w){let e=!!k.routes[_],t=k.dynamicRoutes[P];if(t&&!1===t.fallback&&!e){if(E.experimental.adapterPath)return await q();throw new f.NoFallbackError}}let M=null;!O||b.isDev||w||(M="/index"===(M=_)?"/":M);let F=!0===b.isDev||!O,G=O&&!F;x&&N&&(0,s.setManifestsSingleton)({page:S,clientReferenceManifest:N,serverActionsManifest:x});let D=e.method||"GET",U=(0,o.getTracer)(),$=U.getActiveScopeSpan(),V={params:y,prerenderManifest:k,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts},cacheComponents:!!E.cacheComponents,supportsDynamicResponse:F,incrementalCache:(0,n.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:E.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>b.onRequestError(e,t,a,n,T)},sharedContext:{buildId:v}},B=new d.NodeNextRequest(e),H=new d.NodeNextResponse(t),W=u.NextRequestAdapter.fromNodeNextRequest(B,(0,u.signalFromNodeResponse)(t));try{let s=async e=>b.handle(W,V).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")!==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=`${D} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t)}else e.updateName(`${D} ${S}`)}),i=!!(0,n.getRequestMeta)(e,"minimalMode"),d=async n=>{var o,d;let u=async({previousCacheEntry:r})=>{try{if(!i&&j&&A&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await s(n);e.fetchMetrics=V.renderOpts.fetchMetrics;let d=V.renderOpts.pendingWaitUntil;d&&a.waitUntil&&(a.waitUntil(d),d=void 0);let u=V.renderOpts.collectedTags;if(!O)return await (0,p.sendResponse)(B,H,o,V.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,g.toNodeOutgoingHttpHeaders)(o.headers);u&&(t[m.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,a=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:V.renderOpts.collectedExpire;return{value:{kind:I.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await b.onRequestError(e,t,{routerKind:"App Router",routePath:S,routeType:"route",revalidateReason:(0,l.getRevalidateReason)({isStaticGeneration:G,isOnDemandRevalidate:j})},!1,T),t}},c=await b.handleResponse({req:e,nextConfig:E,cacheKey:M,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:k,isRoutePPREnabled:!1,isOnDemandRevalidate:j,revalidateOnlyGenerated:A,responseGenerator:u,waitUntil:a.waitUntil,isMinimalMode:i});if(!O)return null;if((null==c||null==(o=c.value)?void 0:o.kind)!==I.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==c||null==(d=c.value)?void 0:d.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});i||t.setHeader("x-nextjs-cache",j?"REVALIDATED":c.isMiss?"MISS":c.isStale?"STALE":"HIT"),w&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,g.fromNodeOutgoingHttpHeaders)(c.value.headers);return i&&O||f.delete(m.NEXT_CACHE_TAGS_HEADER),!c.cacheControl||t.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,h.getCacheControlHeader)(c.cacheControl)),await (0,p.sendResponse)(B,H,new Response(c.value.body,{headers:f,status:c.value.status||200})),null};$?await d($):await U.withPropagatedContext(e.headers,()=>U.trace(c.BaseServerSpan.handleRequest,{spanName:`${D} ${S}`,kind:o.SpanKind.SERVER,attributes:{"http.method":D,"http.target":e.url}},d))}catch(t){if(t instanceof f.NoFallbackError||await b.onRequestError(e,t,{routerKind:"App Router",routePath:P,routeType:"route",revalidateReason:(0,l.getRevalidateReason)({isStaticGeneration:G,isOnDemandRevalidate:j})},!1,T),O)throw t;return await (0,p.sendResponse)(B,H,new Response(null,{status:500})),null}}e.s(["handler",()=>N,"patchFetch",()=>_,"routeModule",()=>b,"serverHooks",()=>A,"workAsyncStorage",()=>T,"workUnitAsyncStorage",()=>j],46738)}];
|
|
5
|
-
|
|
6
|
-
//# sourceMappingURL=Projects_Agents_agx-cloud_5590d478._.js.map
|