@mndrk/agx 2.0.11 → 2.0.13
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/build-manifest.json +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/prerender-manifest.json +3 -3
- 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 +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- 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_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 +10 -10
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/_not-found.segments/_full.segment.rsc +10 -10
- 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 +6 -6
- 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 +1 -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/file-search/route.js.nft.json +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/learnings/route.js.nft.json +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.nft.json +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.nft.json +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.nft.json +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/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.nft.json +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.nft.json +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.nft.json +1 -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/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.nft.json +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.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +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.nft.json +1 -1
- 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/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.nft.json +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.nft.json +1 -1
- 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.nft.json +1 -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.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +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.nft.json +1 -1
- 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.nft.json +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/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 +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/_full.segment.rsc +4 -4
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/_head.segment.rsc +1 -1
- 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 +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/board/__PAGE__.segment.rsc +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/board.segments/board.segment.rsc +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 +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/_full.segment.rsc +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/_head.segment.rsc +1 -1
- 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 +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/execution-graph/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/execution-graph.segments/execution-graph.segment.rsc +1 -1
- 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 +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.segments/_full.segment.rsc +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/index.segments/_head.segment.rsc +1 -1
- 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 +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_client-reference-manifest.js +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_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 +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/_full.segment.rsc +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/_head.segment.rsc +1 -1
- 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 +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/projects/orphans/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/projects/orphans.segment.rsc +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects/orphans.segments/projects.segment.rsc +1 -1
- 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 +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/_full.segment.rsc +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/_head.segment.rsc +1 -1
- 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 +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/projects.segments/projects.segment.rsc +1 -1
- 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 +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/_full.segment.rsc +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- 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 +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/settings.segments/settings.segment.rsc +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 +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/_full.segment.rsc +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/_head.segment.rsc +1 -1
- 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 +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/status/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/status.segments/status.segment.rsc +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 +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/_full.segment.rsc +5 -5
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/_head.segment.rsc +1 -1
- 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 +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/welcome/__PAGE__.segment.rsc +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/app/welcome.segments/welcome.segment.rsc +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__384eb9c5._.js +20 -20
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__4dc3c88e._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__ab726f81._.js +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__cac59af9._.js +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/[root-of-the-server]__e5230b89._.js +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/chunks/ssr/Projects_Agents_agx-cloud_e7142fbb._.js +1 -1
- 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/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/{688f8dd419dbf543.js → 8d0ee17a48e60c2d.js} +2 -2
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/chunks/{c5049b3131468c12.js → e805840229a797b0.js} +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/system/db-status/route.ts +33 -19
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/errors/StartupGuard.tsx +5 -7
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/lib/participants-store.ts +2 -28
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/node_modules/better-sqlite3-e930ad348bee7320/index.js +1 -0
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/node_modules/better-sqlite3-e930ad348bee7320/package.json +1 -0
- package/package.json +1 -1
- package/cloud-runtime/standalone/Projects/Agents/agx-cloud/participants.json +0 -16
- /package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/{6_WBd7-Pc14w40xaGk2p4 → XZDiIYejKYJCT3rT4mrnp}/_buildManifest.js +0 -0
- /package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/{6_WBd7-Pc14w40xaGk2p4 → XZDiIYejKYJCT3rT4mrnp}/_clientMiddlewareManifest.json +0 -0
- /package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/static/{6_WBd7-Pc14w40xaGk2p4 → XZDiIYejKYJCT3rT4mrnp}/_ssgManifest.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
2
|
-
@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/35d7a50f82ee022b.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[41222,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"default\"]\n3:I[32494,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"default\"]\n4:I[92276,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[92276,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"ViewportBoundary\"]\n9:I[92276,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"MetadataBoundary\"]\nb:I[93768,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"
|
|
1
|
+
<!DOCTYPE html><!--XZDiIYejKYJCT3rT4mrnp--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/35d7a50f82ee022b.js"/><script src="/_next/static/chunks/0de28ce711b17cb2.js" async=""></script><script src="/_next/static/chunks/4b60076b71f35de1.js" async=""></script><script src="/_next/static/chunks/31ae3b31083648d6.js" async=""></script><script src="/_next/static/chunks/1b5be5e5fcbdc0e4.js" async=""></script><script src="/_next/static/chunks/turbopack-00b77899bb57f964.js" async=""></script><script src="/_next/static/chunks/db9dc0d8607aa034.js" async=""></script><script src="/_next/static/chunks/b24b4ec48b2cc8e8.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
|
|
2
|
+
@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/35d7a50f82ee022b.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[41222,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"default\"]\n3:I[32494,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"default\"]\n4:I[92276,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[92276,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"ViewportBoundary\"]\n9:I[92276,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"MetadataBoundary\"]\nb:I[93768,[\"/_next/static/chunks/db9dc0d8607aa034.js\",\"/_next/static/chunks/b24b4ec48b2cc8e8.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"XZDiIYejKYJCT3rT4mrnp\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/db9dc0d8607aa034.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/b24b4ec48b2cc8e8.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[]\n"])</script></body></html>
|
package/cloud-runtime/standalone/Projects/Agents/agx-cloud/.next/server/server-reference-manifest.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"OAP9bzBrP8n/EuQyiGnULWDTa9B+EV6Rdri5o/kGfu8=\"\n}"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,37327,e=>{e.v({measurementId:"G-DVQQG95LNL"})},68995,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return a}};for(var n in s)Object.defineProperty(r,n,{enumerable:!0,get:s[n]});let a="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99853,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return x},handleClientScriptLoad:function(){return h},initScriptLoader:function(){return _}};for(var n in s)Object.defineProperty(r,n,{enumerable:!0,get:s[n]});let a=e.r(24262),i=e.r(42690),o=e.r(72218),l=a._(e.r(50333)),c=i._(e.r(95459)),u=e.r(33856),d=e.r(4688),p=e.r(68995),
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,37327,e=>{e.v({measurementId:"G-DVQQG95LNL"})},68995,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return a}};for(var n in s)Object.defineProperty(r,n,{enumerable:!0,get:s[n]});let a="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99853,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return x},handleClientScriptLoad:function(){return h},initScriptLoader:function(){return _}};for(var n in s)Object.defineProperty(r,n,{enumerable:!0,get:s[n]});let a=e.r(24262),i=e.r(42690),o=e.r(72218),l=a._(e.r(50333)),c=i._(e.r(95459)),u=e.r(33856),d=e.r(4688),p=e.r(68995),g=new Map,f=new Set,m=e=>{let{src:t,id:r,onLoad:s=()=>{},onReady:n=null,dangerouslySetInnerHTML:a,children:i="",strategy:o="afterInteractive",onError:c,stylesheets:u}=e,p=r||t;if(p&&f.has(p))return;if(g.has(t)){f.add(p),g.get(t).then(s,c);return}let m=()=>{n&&n(),f.add(p)},h=document.createElement("script"),_=new Promise((e,t)=>{h.addEventListener("load",function(t){e(),s&&s.call(this,t),m()}),h.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});a?(h.innerHTML=a.__html||"",m()):i?(h.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",m()):t&&(h.src=t,g.set(t,_)),(0,d.setAttributesFromProps)(h,e),"worker"===o&&h.setAttribute("type","text/partytown"),h.setAttribute("data-nscript",o),u&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(u),document.body.appendChild(h)};function h(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>m(e))}):m(e)}function _(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function y(e){let{id:t,src:r="",onLoad:s=()=>{},onReady:n=null,strategy:a="afterInteractive",onError:i,stylesheets:d,...g}=e,{updateScripts:h,scripts:_,getIsSsr:y,appDir:x,nonce:b}=(0,c.useContext)(u.HeadManagerContext);b=g.nonce||b;let v=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;v.current||(n&&e&&f.has(e)&&n(),v.current=!0)},[n,t,r]);let j=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!j.current){if("afterInteractive"===a)m(e);else"lazyOnload"===a&&("complete"===document.readyState?(0,p.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,p.requestIdleCallback)(()=>m(e))}));j.current=!0}},[e,a]),("beforeInteractive"===a||"worker"===a)&&(h?(_[a]=(_[a]||[]).concat([{id:t,src:r,onLoad:s,onReady:n,onError:i,...g,nonce:b}]),h(_)):y&&y()?f.add(t||r):y&&!y()&&m({...e,nonce:b})),x){if(d&&d.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===a)if(!r)return g.dangerouslySetInnerHTML&&(g.children=g.dangerouslySetInnerHTML.__html,delete g.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...g,id:t}])})`}});else return l.default.preload(r,g.integrity?{as:"script",integrity:g.integrity,nonce:b,crossOrigin:g.crossOrigin}:{as:"script",nonce:b,crossOrigin:g.crossOrigin}),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...g,id:t}])})`}});"afterInteractive"===a&&r&&l.default.preload(r,g.integrity?{as:"script",integrity:g.integrity,nonce:b,crossOrigin:g.crossOrigin}:{as:"script",nonce:b,crossOrigin:g.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let x=y;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},14698,(e,t,r)=>{t.exports=e.r(99853)},98919,e=>{"use strict";var t=e.i(72218),r=e.i(14698);let s=e.i(37327).default.measurementId,n=`https://www.googletagmanager.com/gtag/js?id=${s}`;function a(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{async:!0,src:n,strategy:"afterInteractive"}),(0,t.jsx)(r.default,{id:"google-analytics",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:`
|
|
2
2
|
window.dataLayer = window.dataLayer || [];
|
|
3
3
|
function gtag(){dataLayer.push(arguments);}
|
|
4
4
|
gtag('js', new Date());
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
api_host: 'https://us.i.posthog.com',
|
|
10
10
|
person_profiles: 'identified_only',
|
|
11
11
|
});
|
|
12
|
-
`}})}e.s(["PostHogAnalytics",()=>s])},56179,e=>{"use strict";var t=e.i(72218),r=e.i(95459);let s={version_mismatch:"⚠",missing_extension:"🧩",filesystem_error:"💾",pragma_error:"⚙"},n={version_mismatch:"SQLite Version Mismatch",missing_extension:"Missing SQLite Extension",filesystem_error:"Unsupported Filesystem",pragma_error:"Configuration Error"};function a({errors:e}){return 0===e.length?null:(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[var(--background)] p-4",role:"alert","aria-live":"assertive",children:(0,t.jsxs)("div",{className:"max-w-xl w-full space-y-4",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h1",{className:"text-2xl font-bold text-[var(--foreground)]",children:"Database Configuration Error"}),(0,t.jsxs)("p",{className:"text-sm text-[var(--muted-foreground)] mt-1",children:["AGX cannot start because ",1===e.length?"a required check":`${e.length} required checks`," failed. Fix the ",1===e.length?"issue":"issues"," below and restart."]})]}),e.map((e,r)=>(0,t.jsx)("div",{className:"border border-red-200 bg-red-50 rounded-lg p-4 space-y-2",children:(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)("span",{className:"text-lg","aria-hidden":"true",children:s[e.kind]}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("h2",{className:"font-semibold text-red-900 text-sm",children:n[e.kind]}),(0,t.jsx)("p",{className:"text-red-800 text-sm mt-0.5",children:e.message}),e.found&&e.required&&(0,t.jsxs)("div",{className:"mt-2 text-xs text-red-700 font-mono flex gap-4",children:[(0,t.jsxs)("span",{children:["Found: ",(0,t.jsx)("strong",{children:e.found})]}),(0,t.jsxs)("span",{children:["Required: ",(0,t.jsx)("strong",{children:e.required})]})]}),e.path&&(0,t.jsxs)("p",{className:"mt-1 text-xs text-red-700 font-mono truncate",children:["Path: ",e.path]}),e.fix&&(0,t.jsxs)("div",{className:"mt-2 bg-red-100 rounded p-2",children:[(0,t.jsx)("p",{className:"text-xs text-red-800 font-medium mb-1",children:"How to fix:"}),(0,t.jsx)("pre",{className:"text-xs text-red-900 font-mono whitespace-pre-wrap select-all",children:e.fix})]})]})]})},r)),(0,t.jsx)("div",{className:"text-center pt-2",children:(0,t.jsx)("button",{onClick:()=>window.location.reload(),className:"px-4 py-2 bg-[var(--primary)] text-white rounded-lg hover:bg-[var(--primary-dark)] transition-colors text-sm",children:"Retry"})})]})})}function i(e){return{kind:({"SQLite Version":"version_mismatch",journal_mode:"pragma_error",foreign_keys:"pragma_error",busy_timeout:"pragma_error",synchronous:"pragma_error",cache_size:"pragma_error","JSON1 Extension":"missing_extension","FTS5 Extension":"missing_extension",Filesystem:"filesystem_error"})[e.label]||"pragma_error",message:`${e.label}: expected to pass, got '${e.value}'`,found:e.value,fix:({"SQLite Version":"brew install sqlite3 && npm rebuild better-sqlite3",journal_mode:"Ensure the database is on a local filesystem with no exclusive locks",foreign_keys:"PRAGMA foreign_keys = ON","JSON1 Extension":"Rebuild SQLite with JSON1 enabled, or use a system SQLite that includes it",Filesystem:"Move the database file to a local SSD. WAL mode requires reliable fsync."})[e.label]}}function o({children:e}){let[s,n]=(0,r.useState)("loading"),[o,l]=(0,r.useState)([]);return((0,r.useEffect)(()=>{fetch("/api/system/db-status").then(e=>e.json()).then(e=>{
|
|
12
|
+
`}})}e.s(["PostHogAnalytics",()=>s])},56179,e=>{"use strict";var t=e.i(72218),r=e.i(95459);let s={version_mismatch:"⚠",missing_extension:"🧩",filesystem_error:"💾",pragma_error:"⚙"},n={version_mismatch:"SQLite Version Mismatch",missing_extension:"Missing SQLite Extension",filesystem_error:"Unsupported Filesystem",pragma_error:"Configuration Error"};function a({errors:e}){return 0===e.length?null:(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[var(--background)] p-4",role:"alert","aria-live":"assertive",children:(0,t.jsxs)("div",{className:"max-w-xl w-full space-y-4",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h1",{className:"text-2xl font-bold text-[var(--foreground)]",children:"Database Configuration Error"}),(0,t.jsxs)("p",{className:"text-sm text-[var(--muted-foreground)] mt-1",children:["AGX cannot start because ",1===e.length?"a required check":`${e.length} required checks`," failed. Fix the ",1===e.length?"issue":"issues"," below and restart."]})]}),e.map((e,r)=>(0,t.jsx)("div",{className:"border border-red-200 bg-red-50 rounded-lg p-4 space-y-2",children:(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)("span",{className:"text-lg","aria-hidden":"true",children:s[e.kind]}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("h2",{className:"font-semibold text-red-900 text-sm",children:n[e.kind]}),(0,t.jsx)("p",{className:"text-red-800 text-sm mt-0.5",children:e.message}),e.found&&e.required&&(0,t.jsxs)("div",{className:"mt-2 text-xs text-red-700 font-mono flex gap-4",children:[(0,t.jsxs)("span",{children:["Found: ",(0,t.jsx)("strong",{children:e.found})]}),(0,t.jsxs)("span",{children:["Required: ",(0,t.jsx)("strong",{children:e.required})]})]}),e.path&&(0,t.jsxs)("p",{className:"mt-1 text-xs text-red-700 font-mono truncate",children:["Path: ",e.path]}),e.fix&&(0,t.jsxs)("div",{className:"mt-2 bg-red-100 rounded p-2",children:[(0,t.jsx)("p",{className:"text-xs text-red-800 font-medium mb-1",children:"How to fix:"}),(0,t.jsx)("pre",{className:"text-xs text-red-900 font-mono whitespace-pre-wrap select-all",children:e.fix})]})]})]})},r)),(0,t.jsx)("div",{className:"text-center pt-2",children:(0,t.jsx)("button",{onClick:()=>window.location.reload(),className:"px-4 py-2 bg-[var(--primary)] text-white rounded-lg hover:bg-[var(--primary-dark)] transition-colors text-sm",children:"Retry"})})]})})}function i(e){return{kind:({"SQLite Version":"version_mismatch",journal_mode:"pragma_error",foreign_keys:"pragma_error",busy_timeout:"pragma_error",synchronous:"pragma_error",cache_size:"pragma_error","JSON1 Extension":"missing_extension","FTS5 Extension":"missing_extension",Filesystem:"filesystem_error"})[e.label]||"pragma_error",message:`${e.label}: expected to pass, got '${e.value}'`,found:e.value,fix:({"SQLite Version":"brew install sqlite3 && npm rebuild better-sqlite3",journal_mode:"Ensure the database is on a local filesystem with no exclusive locks",foreign_keys:"PRAGMA foreign_keys = ON","JSON1 Extension":"Rebuild SQLite with JSON1 enabled, or use a system SQLite that includes it",Filesystem:"Move the database file to a local SSD. WAL mode requires reliable fsync."})[e.label]}}function o({children:e}){let[s,n]=(0,r.useState)("loading"),[o,l]=(0,r.useState)([]);return((0,r.useEffect)(()=>{fetch("/api/system/db-status").then(e=>e.json()).then(e=>{let t=(e.checks||[]).filter(e=>"fail"===e.status).map(i);t.length>0?(l(t),n("error")):e.error&&!e.checks?.length?(l([{kind:"pragma_error",message:e.error}]),n("error")):n("ok")}).catch(()=>{n("ok")})},[]),"loading"===s)?(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[var(--background)]",children:(0,t.jsx)("span",{className:"spinner w-8 h-8 border-3 border-[var(--primary)] border-t-transparent rounded-full"})}):"error"===s?(0,t.jsx)(a,{errors:o}):(0,t.jsx)(t.Fragment,{children:e})}e.s(["default",()=>o],56179)}]);
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
api_host: 'https://us.i.posthog.com',
|
|
10
10
|
person_profiles: 'identified_only',
|
|
11
11
|
});
|
|
12
|
-
`}})}e.s(["PostHogAnalytics",()=>s])},56179,e=>{"use strict";var t=e.i(72218),r=e.i(95459);let s={version_mismatch:"⚠",missing_extension:"🧩",filesystem_error:"💾",pragma_error:"⚙"},n={version_mismatch:"SQLite Version Mismatch",missing_extension:"Missing SQLite Extension",filesystem_error:"Unsupported Filesystem",pragma_error:"Configuration Error"};function a({errors:e}){return 0===e.length?null:(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[var(--background)] p-4",role:"alert","aria-live":"assertive",children:(0,t.jsxs)("div",{className:"max-w-xl w-full space-y-4",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h1",{className:"text-2xl font-bold text-[var(--foreground)]",children:"Database Configuration Error"}),(0,t.jsxs)("p",{className:"text-sm text-[var(--muted-foreground)] mt-1",children:["AGX cannot start because ",1===e.length?"a required check":`${e.length} required checks`," failed. Fix the ",1===e.length?"issue":"issues"," below and restart."]})]}),e.map((e,r)=>(0,t.jsx)("div",{className:"border border-red-200 bg-red-50 rounded-lg p-4 space-y-2",children:(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)("span",{className:"text-lg","aria-hidden":"true",children:s[e.kind]}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("h2",{className:"font-semibold text-red-900 text-sm",children:n[e.kind]}),(0,t.jsx)("p",{className:"text-red-800 text-sm mt-0.5",children:e.message}),e.found&&e.required&&(0,t.jsxs)("div",{className:"mt-2 text-xs text-red-700 font-mono flex gap-4",children:[(0,t.jsxs)("span",{children:["Found: ",(0,t.jsx)("strong",{children:e.found})]}),(0,t.jsxs)("span",{children:["Required: ",(0,t.jsx)("strong",{children:e.required})]})]}),e.path&&(0,t.jsxs)("p",{className:"mt-1 text-xs text-red-700 font-mono truncate",children:["Path: ",e.path]}),e.fix&&(0,t.jsxs)("div",{className:"mt-2 bg-red-100 rounded p-2",children:[(0,t.jsx)("p",{className:"text-xs text-red-800 font-medium mb-1",children:"How to fix:"}),(0,t.jsx)("pre",{className:"text-xs text-red-900 font-mono whitespace-pre-wrap select-all",children:e.fix})]})]})]})},r)),(0,t.jsx)("div",{className:"text-center pt-2",children:(0,t.jsx)("button",{onClick:()=>window.location.reload(),className:"px-4 py-2 bg-[var(--primary)] text-white rounded-lg hover:bg-[var(--primary-dark)] transition-colors text-sm",children:"Retry"})})]})})}function i(e){return{kind:({"SQLite Version":"version_mismatch",journal_mode:"pragma_error",foreign_keys:"pragma_error",busy_timeout:"pragma_error",synchronous:"pragma_error",cache_size:"pragma_error","JSON1 Extension":"missing_extension","FTS5 Extension":"missing_extension",Filesystem:"filesystem_error"})[e.label]||"pragma_error",message:`${e.label}: expected to pass, got '${e.value}'`,found:e.value,fix:({"SQLite Version":"brew install sqlite3 && npm rebuild better-sqlite3",journal_mode:"Ensure the database is on a local filesystem with no exclusive locks",foreign_keys:"PRAGMA foreign_keys = ON","JSON1 Extension":"Rebuild SQLite with JSON1 enabled, or use a system SQLite that includes it",Filesystem:"Move the database file to a local SSD. WAL mode requires reliable fsync."})[e.label]}}function o({children:e}){let[s,n]=(0,r.useState)("loading"),[o,l]=(0,r.useState)([]);return((0,r.useEffect)(()=>{fetch("/api/system/db-status").then(e=>e.json()).then(e=>{
|
|
12
|
+
`}})}e.s(["PostHogAnalytics",()=>s])},56179,e=>{"use strict";var t=e.i(72218),r=e.i(95459);let s={version_mismatch:"⚠",missing_extension:"🧩",filesystem_error:"💾",pragma_error:"⚙"},n={version_mismatch:"SQLite Version Mismatch",missing_extension:"Missing SQLite Extension",filesystem_error:"Unsupported Filesystem",pragma_error:"Configuration Error"};function a({errors:e}){return 0===e.length?null:(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[var(--background)] p-4",role:"alert","aria-live":"assertive",children:(0,t.jsxs)("div",{className:"max-w-xl w-full space-y-4",children:[(0,t.jsxs)("div",{className:"text-center mb-6",children:[(0,t.jsx)("h1",{className:"text-2xl font-bold text-[var(--foreground)]",children:"Database Configuration Error"}),(0,t.jsxs)("p",{className:"text-sm text-[var(--muted-foreground)] mt-1",children:["AGX cannot start because ",1===e.length?"a required check":`${e.length} required checks`," failed. Fix the ",1===e.length?"issue":"issues"," below and restart."]})]}),e.map((e,r)=>(0,t.jsx)("div",{className:"border border-red-200 bg-red-50 rounded-lg p-4 space-y-2",children:(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)("span",{className:"text-lg","aria-hidden":"true",children:s[e.kind]}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("h2",{className:"font-semibold text-red-900 text-sm",children:n[e.kind]}),(0,t.jsx)("p",{className:"text-red-800 text-sm mt-0.5",children:e.message}),e.found&&e.required&&(0,t.jsxs)("div",{className:"mt-2 text-xs text-red-700 font-mono flex gap-4",children:[(0,t.jsxs)("span",{children:["Found: ",(0,t.jsx)("strong",{children:e.found})]}),(0,t.jsxs)("span",{children:["Required: ",(0,t.jsx)("strong",{children:e.required})]})]}),e.path&&(0,t.jsxs)("p",{className:"mt-1 text-xs text-red-700 font-mono truncate",children:["Path: ",e.path]}),e.fix&&(0,t.jsxs)("div",{className:"mt-2 bg-red-100 rounded p-2",children:[(0,t.jsx)("p",{className:"text-xs text-red-800 font-medium mb-1",children:"How to fix:"}),(0,t.jsx)("pre",{className:"text-xs text-red-900 font-mono whitespace-pre-wrap select-all",children:e.fix})]})]})]})},r)),(0,t.jsx)("div",{className:"text-center pt-2",children:(0,t.jsx)("button",{onClick:()=>window.location.reload(),className:"px-4 py-2 bg-[var(--primary)] text-white rounded-lg hover:bg-[var(--primary-dark)] transition-colors text-sm",children:"Retry"})})]})})}function i(e){return{kind:({"SQLite Version":"version_mismatch",journal_mode:"pragma_error",foreign_keys:"pragma_error",busy_timeout:"pragma_error",synchronous:"pragma_error",cache_size:"pragma_error","JSON1 Extension":"missing_extension","FTS5 Extension":"missing_extension",Filesystem:"filesystem_error"})[e.label]||"pragma_error",message:`${e.label}: expected to pass, got '${e.value}'`,found:e.value,fix:({"SQLite Version":"brew install sqlite3 && npm rebuild better-sqlite3",journal_mode:"Ensure the database is on a local filesystem with no exclusive locks",foreign_keys:"PRAGMA foreign_keys = ON","JSON1 Extension":"Rebuild SQLite with JSON1 enabled, or use a system SQLite that includes it",Filesystem:"Move the database file to a local SSD. WAL mode requires reliable fsync."})[e.label]}}function o({children:e}){let[s,n]=(0,r.useState)("loading"),[o,l]=(0,r.useState)([]);return((0,r.useEffect)(()=>{fetch("/api/system/db-status").then(e=>e.json()).then(e=>{let t=(e.checks||[]).filter(e=>"fail"===e.status).map(i);t.length>0?(l(t),n("error")):e.error&&!e.checks?.length?(l([{kind:"pragma_error",message:e.error}]),n("error")):n("ok")}).catch(()=>{n("ok")})},[]),"loading"===s)?(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[var(--background)]",children:(0,t.jsx)("span",{className:"spinner w-8 h-8 border-3 border-[var(--primary)] border-t-transparent rounded-full"})}):"error"===s?(0,t.jsx)(a,{errors:o}):(0,t.jsx)(t.Fragment,{children:e})}e.s(["default",()=>o],56179)}]);
|
package/cloud-runtime/standalone/Projects/Agents/agx-cloud/app/api/system/db-status/route.ts
CHANGED
|
@@ -24,26 +24,38 @@ const SYNC_MAP: Record<number, string> = {
|
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
function detectFilesystemType(dbPath: string): { fsType: string; status: StatusLevel } {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
// Note: os.platform() must be called at runtime, not hoisted to module scope,
|
|
28
|
+
// to prevent Turbopack from evaluating it at build time and dead-code-eliminating
|
|
29
|
+
// the Linux branch when building on macOS.
|
|
30
|
+
let platform: string;
|
|
30
31
|
try {
|
|
31
|
-
|
|
32
|
-
const resolvedPath = fs.realpathSync(dbPath);
|
|
33
|
-
const networkFsTypes = ["nfs", "nfs4", "cifs", "smb", "efs", "fuse.sshfs"];
|
|
34
|
-
for (const line of mounts.split("\n")) {
|
|
35
|
-
const parts = line.split(" ");
|
|
36
|
-
if (parts.length < 3) continue;
|
|
37
|
-
const mountPoint = parts[1];
|
|
38
|
-
const fsType = parts[2];
|
|
39
|
-
if (resolvedPath.startsWith(mountPoint) && networkFsTypes.includes(fsType)) {
|
|
40
|
-
return { fsType: `${fsType} (network)`, status: "fail" };
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return { fsType: "local", status: "pass" };
|
|
32
|
+
platform = os.platform();
|
|
44
33
|
} catch {
|
|
45
34
|
return { fsType: "unknown", status: "warn" };
|
|
46
35
|
}
|
|
36
|
+
|
|
37
|
+
if (platform !== "linux") {
|
|
38
|
+
return { fsType: `local (${platform})`, status: "pass" };
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Linux: check /proc/mounts for network filesystems
|
|
42
|
+
let mounts = "";
|
|
43
|
+
try { mounts = fs.readFileSync("/proc/mounts", "utf-8"); } catch { /* */ }
|
|
44
|
+
if (!mounts) return { fsType: "unknown", status: "warn" };
|
|
45
|
+
|
|
46
|
+
let resolvedPath = dbPath;
|
|
47
|
+
try { resolvedPath = fs.realpathSync(dbPath); } catch { /* */ }
|
|
48
|
+
|
|
49
|
+
const networkFsTypes = ["nfs", "nfs4", "cifs", "smb", "efs", "fuse.sshfs"];
|
|
50
|
+
const lines = mounts.split("\n");
|
|
51
|
+
for (let i = 0; i < lines.length; i++) {
|
|
52
|
+
const parts = lines[i].split(" ");
|
|
53
|
+
if (parts.length < 3) continue;
|
|
54
|
+
if (resolvedPath.startsWith(parts[1]) && networkFsTypes.includes(parts[2])) {
|
|
55
|
+
return { fsType: `${parts[2]} (network)`, status: "fail" };
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return { fsType: "local", status: "pass" };
|
|
47
59
|
}
|
|
48
60
|
|
|
49
61
|
function getBackupStatus(dbPath: string): { lastBackup: string | null; walSizeBytes: number | null } {
|
|
@@ -163,14 +175,16 @@ export async function GET() {
|
|
|
163
175
|
});
|
|
164
176
|
|
|
165
177
|
// Filesystem
|
|
166
|
-
{
|
|
178
|
+
try {
|
|
167
179
|
const fsInfo = detectFilesystemType(SQLITE_QUEUE_PATH);
|
|
168
180
|
checks.push({
|
|
169
181
|
label: "Filesystem",
|
|
170
|
-
value: fsInfo
|
|
171
|
-
status: fsInfo
|
|
182
|
+
value: fsInfo?.fsType ?? "unknown",
|
|
183
|
+
status: fsInfo?.status ?? "warn",
|
|
172
184
|
});
|
|
173
185
|
backupInfo = getBackupStatus(SQLITE_QUEUE_PATH);
|
|
186
|
+
} catch {
|
|
187
|
+
checks.push({ label: "Filesystem", value: "unknown", status: "warn" });
|
|
174
188
|
}
|
|
175
189
|
} catch (err: any) {
|
|
176
190
|
return NextResponse.json(
|
package/cloud-runtime/standalone/Projects/Agents/agx-cloud/components/errors/StartupGuard.tsx
CHANGED
|
@@ -54,19 +54,17 @@ export default function StartupGuard({ children }: { children: ReactNode }) {
|
|
|
54
54
|
fetch("/api/system/db-status")
|
|
55
55
|
.then((res) => res.json())
|
|
56
56
|
.then((data: DbStatusResponse) => {
|
|
57
|
-
|
|
58
|
-
setErrors([{ kind: "pragma_error", message: data.error }]);
|
|
59
|
-
setState("error");
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
const failures = data.checks
|
|
57
|
+
const failures = (data.checks || [])
|
|
64
58
|
.filter((c) => c.status === "fail")
|
|
65
59
|
.map(mapCheckToError);
|
|
66
60
|
|
|
67
61
|
if (failures.length > 0) {
|
|
68
62
|
setErrors(failures);
|
|
69
63
|
setState("error");
|
|
64
|
+
} else if (data.error && !data.checks?.length) {
|
|
65
|
+
// Only treat error as fatal if there are no passing checks
|
|
66
|
+
setErrors([{ kind: "pragma_error", message: data.error }]);
|
|
67
|
+
setState("error");
|
|
70
68
|
} else {
|
|
71
69
|
setState("ok");
|
|
72
70
|
}
|
|
@@ -198,38 +198,12 @@ function getDb(): Database.Database {
|
|
|
198
198
|
return db;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
db.prepare("SELECT COUNT(*) as c FROM participants").get() as { c: number }
|
|
204
|
-
).c;
|
|
205
|
-
if (count > 0) return;
|
|
206
|
-
try {
|
|
207
|
-
const filePath = path.join(process.cwd(), "participants.json");
|
|
208
|
-
const data = JSON.parse(readFileSync(filePath, "utf8")) as Participant[];
|
|
209
|
-
const stmt = db.prepare(
|
|
210
|
-
"INSERT OR IGNORE INTO participants (id, name, provider, model, identity, identity_file, skills_json, color) VALUES (?, ?, ?, ?, ?, ?, ?, ?)"
|
|
211
|
-
);
|
|
212
|
-
for (const p of data) {
|
|
213
|
-
stmt.run(
|
|
214
|
-
p.id,
|
|
215
|
-
p.name,
|
|
216
|
-
p.provider,
|
|
217
|
-
p.model,
|
|
218
|
-
p.identity ?? null,
|
|
219
|
-
p.identityFile ?? null,
|
|
220
|
-
p.skills && p.skills.length > 0 ? JSON.stringify(p.skills) : null,
|
|
221
|
-
p.color
|
|
222
|
-
);
|
|
223
|
-
}
|
|
224
|
-
} catch {
|
|
225
|
-
// no seed file, that's fine
|
|
226
|
-
}
|
|
227
|
-
}
|
|
201
|
+
// No seed logic here — the agx CLI onboarding (`agx init`) creates the
|
|
202
|
+
// default "Sage" participant directly in the SQLite DB.
|
|
228
203
|
|
|
229
204
|
export function loadParticipants(): Participant[] {
|
|
230
205
|
const db = getDb();
|
|
231
206
|
try {
|
|
232
|
-
seed(db);
|
|
233
207
|
const rows = db
|
|
234
208
|
.prepare("SELECT id, name, provider, model, identity, identity_file, skills_json, color, sort_order FROM participants ORDER BY sort_order ASC, rowid ASC")
|
|
235
209
|
.all() as Array<{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('better-sqlite3');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"better-sqlite3-e930ad348bee7320","version":"0.0.0","main":"index.js"}
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|