@jlongo78/agent-spaces 0.7.5 → 0.7.6
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/.next/standalone/.claude/settings.local.json +55 -0
- package/.next/standalone/.claude/spaces-env.json +1 -0
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-path-routes-manifest.json +2 -1
- package/.next/standalone/.next/build-manifest.json +5 -5
- package/.next/standalone/.next/prerender-manifest.json +27 -3
- package/.next/standalone/.next/required-server-files.json +19 -19
- package/.next/standalone/.next/routes-manifest.json +6 -0
- package/.next/standalone/.next/server/app/(desktop)/admin/analytics/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/admin/analytics/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/admin/users/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/admin/users/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/analytics/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/analytics/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/cortex/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/cortex/page/react-loadable-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/cortex/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(desktop)/cortex/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/network/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/network/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/projects/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/sessions/[id]/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/sessions/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/sessions/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/sessions/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/settings/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/terminal/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/terminal/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(desktop)/terminal/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/terminal/pane/[id]/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/terminal/pane/[id]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(desktop)/terminal/pane/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/terminal/remote/[nodeId]/[workspaceId]/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/terminal/remote/[nodeId]/[workspaceId]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/(desktop)/terminal/remote/[nodeId]/[workspaceId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/(desktop)/workspaces/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/(desktop)/workspaces/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_global-error/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/analytics.html +1 -1
- package/.next/standalone/.next/server/app/admin/analytics.rsc +7 -6
- package/.next/standalone/.next/server/app/admin/analytics.segments/!KGRlc2t0b3Ap/admin/analytics/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/analytics.segments/!KGRlc2t0b3Ap/admin/analytics.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/analytics.segments/!KGRlc2t0b3Ap/admin.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/analytics.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/analytics.segments/_full.segment.rsc +7 -6
- package/.next/standalone/.next/server/app/admin/analytics.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/analytics.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/analytics.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/users.html +1 -1
- package/.next/standalone/.next/server/app/admin/users.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/users.segments/!KGRlc2t0b3Ap/admin/users/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/users.segments/!KGRlc2t0b3Ap/admin/users.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/users.segments/!KGRlc2t0b3Ap/admin.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/users.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/users.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/users.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/admin/users.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/admin/users.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/analytics.html +1 -1
- package/.next/standalone/.next/server/app/analytics.rsc +3 -3
- package/.next/standalone/.next/server/app/analytics.segments/!KGRlc2t0b3Ap/analytics/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/analytics.segments/!KGRlc2t0b3Ap/analytics.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/analytics.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/analytics.segments/_full.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/analytics.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/analytics.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/analytics.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/api/analytics/overview/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/bulk/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/context/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/curation/assess/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/curation/publish/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/curation/refine/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/curation/review/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/curation/seed/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/export/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/federation/pending/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/federation/resolve/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/federation/search/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/federation/teach/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/graph/edges/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/graph/entities/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/graph/entities/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/graph/populate/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/import/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/import/status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/ingest/bootstrap/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/ingest/status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/knowledge/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/knowledge/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/lobes/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/lobes/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/lobes/share/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/marketplace/browse/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/marketplace/preview/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/mcp/call/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/mcp/tools/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/search/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/settings/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/timeline/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/usage/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/cortex/workspace/[id]/context/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/folders/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/handshake/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/projects/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/search/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/sessions/[id]/messages/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/sessions/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/sessions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/workspaces/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/network/workspaces/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/panes/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/panes/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/search/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/chat/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/messages/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/sessions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/sync/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tags/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/tier/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/workspaces/[id]/context/[key]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/workspaces/[id]/context/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/workspaces/[id]/messages/[msgId]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/workspaces/[id]/messages/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/workspaces/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/workspaces/[id]/sessions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/workspaces/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/cortex.html +1 -1
- package/.next/standalone/.next/server/app/cortex.rsc +3 -3
- package/.next/standalone/.next/server/app/cortex.segments/!KGRlc2t0b3Ap/cortex/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/cortex.segments/!KGRlc2t0b3Ap/cortex.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/cortex.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/cortex.segments/_full.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/cortex.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/cortex.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/cortex.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/login/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login.html +1 -1
- package/.next/standalone/.next/server/app/login.rsc +2 -2
- package/.next/standalone/.next/server/app/login.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/login.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/login.segments/login/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/login.segments/login.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/m/projects/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/m/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/m/projects.html +1 -1
- package/.next/standalone/.next/server/app/m/projects.rsc +2 -2
- package/.next/standalone/.next/server/app/m/projects.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/projects.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/projects.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/projects.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/projects.segments/m/projects/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/projects.segments/m/projects.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/projects.segments/m.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/sessions/[id]/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/m/sessions/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/m/sessions/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/m/sessions/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/m/sessions.html +1 -1
- package/.next/standalone/.next/server/app/m/sessions.rsc +2 -2
- package/.next/standalone/.next/server/app/m/sessions.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/sessions.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/sessions.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/sessions.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/sessions.segments/m/sessions/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/sessions.segments/m/sessions.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/sessions.segments/m.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/settings/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/m/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/m/settings.html +1 -1
- package/.next/standalone/.next/server/app/m/settings.rsc +2 -2
- package/.next/standalone/.next/server/app/m/settings.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/settings.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/settings.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/settings.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/settings.segments/m/settings/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/settings.segments/m/settings.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/settings.segments/m.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/terminal/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/m/terminal/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/m/terminal.html +1 -1
- package/.next/standalone/.next/server/app/m/terminal.rsc +2 -2
- package/.next/standalone/.next/server/app/m/terminal.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/terminal.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/terminal.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/terminal.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m/terminal.segments/m/terminal/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/terminal.segments/m/terminal.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m/terminal.segments/m.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m.html +1 -1
- package/.next/standalone/.next/server/app/m.rsc +2 -2
- package/.next/standalone/.next/server/app/m.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/m.segments/m/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/m.segments/m.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/network.html +1 -1
- package/.next/standalone/.next/server/app/network.rsc +2 -2
- package/.next/standalone/.next/server/app/network.segments/!KGRlc2t0b3Ap/network/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/network.segments/!KGRlc2t0b3Ap/network.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/network.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/network.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/network.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/network.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/network.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/projects.html +1 -1
- package/.next/standalone/.next/server/app/projects.rsc +2 -2
- package/.next/standalone/.next/server/app/projects.segments/!KGRlc2t0b3Ap/projects/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/projects.segments/!KGRlc2t0b3Ap/projects.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/projects.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/projects.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/projects.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/projects.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/projects.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/sessions.html +1 -1
- package/.next/standalone/.next/server/app/sessions.rsc +2 -2
- package/.next/standalone/.next/server/app/sessions.segments/!KGRlc2t0b3Ap/sessions/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/sessions.segments/!KGRlc2t0b3Ap/sessions.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/sessions.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/sessions.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/sessions.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/sessions.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/sessions.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/settings.html +1 -1
- package/.next/standalone/.next/server/app/settings.rsc +2 -2
- package/.next/standalone/.next/server/app/settings.segments/!KGRlc2t0b3Ap/settings/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/settings.segments/!KGRlc2t0b3Ap/settings.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/settings.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/settings.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/settings.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/terminal.html +1 -1
- package/.next/standalone/.next/server/app/terminal.rsc +3 -3
- package/.next/standalone/.next/server/app/terminal.segments/!KGRlc2t0b3Ap/terminal/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/terminal.segments/!KGRlc2t0b3Ap/terminal.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/terminal.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/terminal.segments/_full.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/terminal.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/terminal.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/terminal.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/vr/page/app-paths-manifest.json +3 -0
- package/.next/standalone/.next/server/app/vr/page/build-manifest.json +18 -0
- package/.next/standalone/.next/server/app/vr/page/next-font-manifest.json +11 -0
- package/.next/standalone/.next/server/app/vr/page/react-loadable-manifest.json +11 -0
- package/.next/standalone/.next/server/app/vr/page/server-reference-manifest.json +4 -0
- package/.next/standalone/.next/server/app/vr/page.js +17 -0
- package/.next/standalone/.next/server/app/vr/page.js.map +5 -0
- package/.next/standalone/.next/server/app/vr/page.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/vr/page_client-reference-manifest.js +2 -0
- package/.next/standalone/.next/server/app/vr.html +1 -0
- package/.next/standalone/.next/server/app/vr.meta +15 -0
- package/.next/standalone/.next/server/app/vr.rsc +21 -0
- package/.next/standalone/.next/server/app/vr.segments/_full.segment.rsc +21 -0
- package/.next/standalone/.next/server/app/vr.segments/_head.segment.rsc +6 -0
- package/.next/standalone/.next/server/app/vr.segments/_index.segment.rsc +6 -0
- package/.next/standalone/.next/server/app/vr.segments/_tree.segment.rsc +4 -0
- package/.next/standalone/.next/server/app/vr.segments/vr/__PAGE__.segment.rsc +9 -0
- package/.next/standalone/.next/server/app/vr.segments/vr.segment.rsc +4 -0
- package/.next/standalone/.next/server/app/workspaces.html +1 -1
- package/.next/standalone/.next/server/app/workspaces.rsc +2 -2
- package/.next/standalone/.next/server/app/workspaces.segments/!KGRlc2t0b3Ap/workspaces/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/workspaces.segments/!KGRlc2t0b3Ap/workspaces.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/workspaces.segments/!KGRlc2t0b3Ap.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/workspaces.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/workspaces.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/workspaces.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/workspaces.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app-paths-manifest.json +2 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0041efe4._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__00bf0ace._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__08a68343._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0add852f._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0c113ed0._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0e1a27e0._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0e71d908._.js +3 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0e9142f3._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__10e47926._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1194f2c1._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1665dc78._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__175cbabf._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__19c2d094._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1adae357._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1d359752._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1e8fabeb._.js +3 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1f8deca0._.js +8 -8
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__253fdda1._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__28e6434f._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__2a386564._.js +3 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__2acbd703._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__2acefabb._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__2c20fb38._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__309132cd._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__33fec964._.js +3 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__3786d8ae._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__3ae92407._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__3beda9fe._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__3e3f25a1._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4619e9bd._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4a051043._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__50208a5f._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__508002e4._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__5086c373._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__5913e097._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__5b5f68d2._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__5c1f2459._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__5ec8c977._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__5f8c694a._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__63cebc6c._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__64d30d4d._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6c54fc2e._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6dc1fb7e._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6e568102._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6faa04c0._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__727d05f1._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__74a34dc3._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__75d12b32._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__7e7250a4._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8309e0a4._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__86cc0e2b._.js +6 -6
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8915603e._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__89c2565a._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__8d178ad9._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__93ee06f3._.js +3 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__9e4c154a._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__a1fbc199._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__a9d2e1d3._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__ae53d343._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__b3a04cef._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__b4270b77._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__b6b6ce60._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__b9545dd9._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__c200e21a._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__c3c74ca4._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__c88b63f7._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__cba5f007._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__cbf4ceb0._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__cefdba2f._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__cf9e82bb._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d15515e3._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d2897392._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d3b2d856._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d73273ca._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d8417eb6._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__db4726bc._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__dc2a55de._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__dc6e2e5f._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__e0d4690b._.js +3 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__e3ecfd17._.js +3 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__e678dd53._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__e9223f55._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__ea630076._.js +3 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__eb8acb65._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__f26ca49d._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__f33e1101._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__f3a4c668._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__f515f865._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__fceb5d60._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__fed41403._.js +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__ff2e98c2._.js +2 -2
- package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_339169c8.js +1 -1
- package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_97dac613.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0d8d81ca._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1425c64f._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1d2ce8f1._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__31137509._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3633a587._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__3c79441b._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__4ca0f26b._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__5b90d3ad._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__62a0b363._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__66aca5d4._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__68205a46._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__69fd2efa._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__85dcf0f7._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__8c53a5da._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__aecb1873._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__b02cd143._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__b9bcde11._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__cac90169._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__d25de2f0._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__e2f86be8._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__ee626b5b._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__f39a9e98._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__f3c566cd._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__f76aa221._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_149d7fd4._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_2e0dd6a7._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_3cd2355c._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_3d206597._.js +4 -0
- package/.next/standalone/.next/server/chunks/ssr/_47cc9af0._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_5cf334fd._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_7082788b._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_7154d8ae._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_75bb1b9a._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{_aeeff784._.js → _81abf587._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_8acf81e2._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_8c36feb8._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_91e9bb86._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_ac4c1838._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_ad8515fc._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_b1f49e81._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_c0fe7614._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_d4825f5a._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_da10a9f4._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_db0abd0a._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_dee5d4a1._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_ef482c0c._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_efe43d2f._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_f4a4e116._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_f4d525d2._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_f4e57187._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_next-internal_server_app_vr_page_actions_3fb70d92.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/node_modules_32f9d62f._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_02f39477.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_40fa36ce._.js +7 -0
- package/.next/standalone/.next/server/chunks/ssr/src_app_(desktop)_cortex_page_tsx_0f33d8b3._.js +3 -0
- package/.next/standalone/.next/server/edge/chunks/[root-of-the-server]__32a0045c._.js +1 -1
- package/.next/standalone/.next/server/edge/chunks/_d73df637._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/.next/server/middleware-manifest.json +5 -5
- package/.next/standalone/.next/server/next-font-manifest.js +1 -1
- package/.next/standalone/.next/server/next-font-manifest.json +4 -0
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +2 -2
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/chunks/045c83caa4d15373.js +1 -0
- package/.next/standalone/.next/static/chunks/07ea09e6024a523b.js +1 -0
- package/.next/standalone/.next/static/chunks/232d8aae4fefab70.js +1 -0
- package/.next/standalone/.next/static/chunks/2ad22562bb37ecad.js +1011 -0
- package/.next/standalone/.next/static/chunks/396eac60f496f178.js +1 -0
- package/.next/standalone/.next/static/chunks/{a4e5c700421eaa46.js → 412140a02893327a.js} +1 -1
- package/.next/standalone/.next/static/chunks/481cc11ae80b08b1.js +1 -0
- package/.next/standalone/.next/static/chunks/5325351ef49cb65f.js +1 -0
- package/.next/standalone/.next/static/chunks/559735e598ca3cbb.js +1 -0
- package/.next/standalone/.next/static/chunks/59c63d5af5cf3daf.js +1 -0
- package/.next/standalone/.next/static/chunks/5d5d7b0095dd52ae.js +1 -0
- package/.next/standalone/.next/static/chunks/6ae575967d091df4.js +1 -0
- package/.next/standalone/.next/static/chunks/7a7c0d9d875332a3.js +1 -0
- package/.next/standalone/.next/static/chunks/7f8455bb855a6c84.js +1 -0
- package/.next/standalone/.next/static/chunks/898f380eba90427a.js +1 -0
- package/.next/standalone/.next/static/chunks/95339e55722bb4ca.js +5 -0
- package/.next/standalone/.next/static/chunks/9cd594813c539df9.js +1 -0
- package/.next/standalone/.next/static/chunks/ad1423eed05d129b.js +1 -0
- package/.next/standalone/.next/static/chunks/ae7b146884c67d2a.js +1 -0
- package/.next/standalone/.next/static/chunks/b84072d72aa86417.js +1 -0
- package/.next/standalone/.next/static/chunks/c1a95aebf6725f64.css +3 -0
- package/.next/standalone/.next/static/chunks/c515eb77d9410aa0.js +5 -0
- package/.next/standalone/.next/static/chunks/{9899cf4c2bdbe61d.js → d9ae203a7f123546.js} +2 -2
- package/.next/standalone/.next/static/chunks/e23f20b51a75a5bb.js +757 -0
- package/.next/standalone/.next/static/chunks/fdc09bd135846960.js +1 -0
- package/.next/standalone/.next/static/chunks/ff0196911449e745.js +1 -0
- package/.next/standalone/.next/static/chunks/{turbopack-4c21186b79fb4c10.js → turbopack-e1a0994ed4af988c.js} +1 -1
- package/.next/standalone/.spaces/cortex-context.md +70 -0
- package/.next/standalone/bin/cortex-hook.sh +62 -62
- package/.next/standalone/bin/cortex-mcp.js +60 -60
- package/.next/standalone/docs/superpowers/plans/2026-03-13-cortex-wiring.md +1387 -1387
- package/.next/standalone/docs/superpowers/plans/2026-03-14-cortex-v2-entity-graph.md +1923 -1923
- package/.next/standalone/docs/superpowers/plans/2026-03-14-cortex-v2-knowledge-evolution.md +1113 -1113
- package/.next/standalone/docs/superpowers/plans/2026-03-15-cortex-v2-boundary-engine.md +853 -853
- package/.next/standalone/docs/superpowers/plans/2026-03-15-cortex-v2-context-engine.md +1274 -1274
- package/.next/standalone/docs/superpowers/plans/2026-03-15-cortex-v2-signal-ingestion.md +933 -933
- package/.next/standalone/docs/superpowers/plans/2026-03-16-cortex-lobes.md +1080 -1080
- package/.next/standalone/docs/superpowers/plans/2026-03-16-cortex-v2-gravity-system.md +768 -768
- package/.next/standalone/docs/superpowers/plans/2026-03-16-cortex-v2-ui.md +1108 -1108
- package/.next/standalone/docs/superpowers/plans/2026-03-18-cortex-ui-integration.md +1846 -1846
- package/.next/standalone/docs/superpowers/specs/2026-03-13-cortex-wiring-design.md +268 -268
- package/.next/standalone/docs/superpowers/specs/2026-03-14-cortex-v2-design.md +623 -623
- package/.next/standalone/docs/superpowers/specs/2026-03-16-cortex-lobes-design.md +263 -263
- package/.next/standalone/docs/superpowers/specs/2026-03-16-cortex-v2-ui-design.md +240 -240
- package/.next/standalone/docs/superpowers/specs/2026-03-18-cortex-ui-integration-design.md +341 -341
- package/.next/standalone/node_modules/@img/sharp-win32-x64/lib/sharp-win32-x64.node +0 -0
- package/.next/standalone/node_modules/@img/{sharp-linux-x64 → sharp-win32-x64}/package.json +39 -46
- package/.next/standalone/package.json +103 -102
- package/.next/standalone/server.js +1 -1
- package/.next/standalone/src/app/(desktop)/cortex/page.tsx +78 -78
- package/.next/standalone/src/app/api/cortex/context/route.ts +78 -78
- package/.next/standalone/src/app/api/cortex/curation/assess/route.ts +27 -27
- package/.next/standalone/src/app/api/cortex/curation/publish/route.ts +23 -23
- package/.next/standalone/src/app/api/cortex/curation/refine/route.ts +23 -23
- package/.next/standalone/src/app/api/cortex/curation/review/route.ts +29 -29
- package/.next/standalone/src/app/api/cortex/curation/seed/route.ts +23 -23
- package/.next/standalone/src/app/api/cortex/export/route.ts +40 -40
- package/.next/standalone/src/app/api/cortex/federation/pending/route.ts +20 -20
- package/.next/standalone/src/app/api/cortex/federation/resolve/route.ts +43 -43
- package/.next/standalone/src/app/api/cortex/federation/search/route.ts +35 -35
- package/.next/standalone/src/app/api/cortex/federation/teach/route.ts +76 -76
- package/.next/standalone/src/app/api/cortex/graph/edges/route.ts +112 -112
- package/.next/standalone/src/app/api/cortex/graph/entities/[id]/route.ts +73 -73
- package/.next/standalone/src/app/api/cortex/graph/entities/route.ts +75 -75
- package/.next/standalone/src/app/api/cortex/graph/populate/route.ts +203 -203
- package/.next/standalone/src/app/api/cortex/import/route.ts +75 -75
- package/.next/standalone/src/app/api/cortex/import/status/route.ts +15 -15
- package/.next/standalone/src/app/api/cortex/ingest/bootstrap/route.ts +29 -29
- package/.next/standalone/src/app/api/cortex/ingest/status/route.ts +15 -15
- package/.next/standalone/src/app/api/cortex/knowledge/[id]/route.ts +91 -91
- package/.next/standalone/src/app/api/cortex/knowledge/route.ts +93 -93
- package/.next/standalone/src/app/api/cortex/lobes/[id]/route.ts +67 -67
- package/.next/standalone/src/app/api/cortex/lobes/route.ts +22 -22
- package/.next/standalone/src/app/api/cortex/lobes/share/route.ts +80 -80
- package/.next/standalone/src/app/api/cortex/marketplace/browse/route.ts +43 -43
- package/.next/standalone/src/app/api/cortex/marketplace/preview/route.ts +46 -46
- package/.next/standalone/src/app/api/cortex/mcp/call/route.ts +11 -11
- package/.next/standalone/src/app/api/cortex/mcp/tools/route.ts +6 -6
- package/.next/standalone/src/app/api/cortex/search/route.ts +43 -43
- package/.next/standalone/src/app/api/cortex/settings/route.ts +33 -33
- package/.next/standalone/src/app/api/cortex/status/route.ts +169 -169
- package/.next/standalone/src/app/api/cortex/timeline/route.ts +42 -42
- package/.next/standalone/src/app/api/cortex/usage/route.ts +31 -31
- package/.next/standalone/src/app/api/cortex/workspace/[id]/context/route.ts +41 -41
- package/.next/standalone/src/components/cortex/constants.ts +29 -29
- package/.next/standalone/src/components/cortex/cortex-dashboard.tsx +304 -304
- package/.next/standalone/src/components/cortex/cortex-indicator.tsx +44 -44
- package/.next/standalone/src/components/cortex/cortex-panel.tsx +140 -140
- package/.next/standalone/src/components/cortex/cortex-settings.tsx +221 -221
- package/.next/standalone/src/components/cortex/curation-tab.tsx +810 -810
- package/.next/standalone/src/components/cortex/entity-detail.tsx +101 -101
- package/.next/standalone/src/components/cortex/entity-graph.tsx +382 -382
- package/.next/standalone/src/components/cortex/import-dialog.tsx +212 -212
- package/.next/standalone/src/components/cortex/injection-badge.tsx +72 -72
- package/.next/standalone/src/components/cortex/knowledge-card.tsx +109 -109
- package/.next/standalone/src/components/cortex/knowledge-tab.tsx +158 -158
- package/.next/standalone/src/components/cortex/lobe-settings.tsx +215 -215
- package/.next/standalone/src/components/cortex/marketplace-card.tsx +126 -126
- package/.next/standalone/src/components/cortex/marketplace-tab.tsx +113 -113
- package/.next/standalone/src/lib/cortex/config.ts +40 -40
- package/.next/standalone/src/lib/cortex/debug.ts +10 -10
- package/.next/standalone/src/lib/cortex/distillation/usage-store.ts +18 -18
- package/.next/standalone/src/lib/cortex/graph/resolver.ts +10 -10
- package/.next/standalone/src/lib/cortex/graph/types.ts +22 -22
- package/.next/standalone/src/lib/cortex/index.ts +56 -56
- package/.next/standalone/src/lib/cortex/ingestion/bootstrap.ts +14 -14
- package/.next/standalone/src/lib/cortex/knowledge/compat.ts +14 -14
- package/.next/standalone/src/lib/cortex/knowledge/contradiction.ts +10 -10
- package/.next/standalone/src/lib/cortex/knowledge/types.ts +67 -67
- package/.next/standalone/src/lib/cortex/lobes/config.ts +16 -16
- package/.next/standalone/src/lib/cortex/lobes/resolver.ts +8 -8
- package/.next/standalone/src/lib/cortex/lobes/shares.ts +14 -14
- package/.next/standalone/src/lib/cortex/mcp/server.ts +8 -8
- package/.next/standalone/src/lib/cortex/portability/exporter.ts +6 -6
- package/.next/standalone/src/lib/cortex/portability/importer.ts +10 -10
- package/.next/standalone/src/lib/cortex/retrieval/context-engine.ts +10 -10
- package/.next/standalone/src/lib/cortex/types.ts +39 -39
- package/.next/standalone/tsconfig.json +34 -34
- package/LICENSE +661 -661
- package/README.md +131 -131
- package/bin/cortex-hook.sh +62 -62
- package/bin/cortex-mcp.js +60 -60
- package/bin/fix-standalone-externals.js +79 -79
- package/bin/lib/auto-setup.js +110 -110
- package/bin/mdns-service.js +171 -171
- package/bin/postinstall.js +35 -35
- package/bin/setup-admin.js +195 -195
- package/bin/spaces-dev.js +208 -208
- package/bin/spaces-install.js +599 -599
- package/bin/spaces-reset-totp.js +50 -50
- package/bin/spaces-service.js +1020 -1020
- package/bin/spaces-setup.js +253 -253
- package/bin/spaces.js +776 -776
- package/bin/ssh-auth-keys.sh +68 -68
- package/bin/terminal-server.js +1683 -1649
- package/package.json +103 -102
- package/.next/standalone/.next/server/chunks/ssr/_078dd64d._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_701606d5._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_72b1de37._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_950142a4._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/src_components_terminal_terminal-pane_tsx_803c5e2c._.js +0 -7
- package/.next/standalone/.next/static/chunks/18f168665aef1aab.js +0 -1
- package/.next/standalone/.next/static/chunks/25b7a243a404a1a7.js +0 -1
- package/.next/standalone/.next/static/chunks/4a50d2a3e9bc9b41.js +0 -1
- package/.next/standalone/.next/static/chunks/6c78a1dfa7ec2959.css +0 -3
- package/.next/standalone/.next/static/chunks/7e0091ab6c5ee8bd.js +0 -1
- package/.next/standalone/.next/static/chunks/869f562dc32e55f4.js +0 -1
- package/.next/standalone/.next/static/chunks/8b3f4572fec83caa.js +0 -5
- package/.next/standalone/.next/static/chunks/8d5419afc4b9116b.js +0 -1
- package/.next/standalone/.next/static/chunks/9b2c5451f0b67975.js +0 -1
- package/.next/standalone/.next/static/chunks/ac339e970df82fa5.js +0 -5
- package/.next/standalone/.next/static/chunks/e7772d64463868eb.js +0 -1
- package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
- package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -221
- package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
- package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 +0 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -42
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +0 -46
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -221
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -42
- package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
- package/.next/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
- package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
- package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -46
- /package/.next/standalone/.next/static/{77VYbwIoyxFNr5xevTrCu → ncDe4k4gvD0788HAnq_3G}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{77VYbwIoyxFNr5xevTrCu → ncDe4k4gvD0788HAnq_3G}/_clientMiddlewareManifest.json +0 -0
- /package/.next/standalone/.next/static/{77VYbwIoyxFNr5xevTrCu → ncDe4k4gvD0788HAnq_3G}/_ssgManifest.js +0 -0
- /package/.next/standalone/node_modules/@img/{sharp-libvips-linux-x64 → sharp-win32-x64}/versions.json +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { NextResponse } from 'next/server';
|
|
2
|
-
import type { NextRequest } from 'next/server';
|
|
3
|
-
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
-
import { getUserPaths } from '@/lib/config';
|
|
5
|
-
import { readCortexConfig, writeCortexConfig } from '@/lib/cortex/config';
|
|
6
|
-
import { resetCortex } from '@/lib/cortex';
|
|
7
|
-
|
|
8
|
-
export async function GET(request: NextRequest) {
|
|
9
|
-
const user = getAuthUser(request);
|
|
10
|
-
return withUser(user, () => {
|
|
11
|
-
const { configPath } = getUserPaths(user);
|
|
12
|
-
const config = readCortexConfig(configPath);
|
|
13
|
-
// Mask API keys — never send full keys to the browser
|
|
14
|
-
const safe = {
|
|
15
|
-
...config,
|
|
16
|
-
anthropic_api_key: config.anthropic_api_key ? `…${config.anthropic_api_key.slice(-4)}` : '',
|
|
17
|
-
openai_api_key: config.openai_api_key ? `…${config.openai_api_key.slice(-4)}` : '',
|
|
18
|
-
};
|
|
19
|
-
return NextResponse.json(safe);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export async function POST(request: NextRequest) {
|
|
24
|
-
const user = getAuthUser(request);
|
|
25
|
-
return withUser(user, async () => {
|
|
26
|
-
const { configPath } = getUserPaths(user);
|
|
27
|
-
const updates = await request.json();
|
|
28
|
-
writeCortexConfig(configPath, updates);
|
|
29
|
-
// Force Cortex to re-initialize with new settings on next use
|
|
30
|
-
resetCortex();
|
|
31
|
-
return NextResponse.json({ success: true });
|
|
32
|
-
});
|
|
33
|
-
}
|
|
1
|
+
import { NextResponse } from 'next/server';
|
|
2
|
+
import type { NextRequest } from 'next/server';
|
|
3
|
+
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
+
import { getUserPaths } from '@/lib/config';
|
|
5
|
+
import { readCortexConfig, writeCortexConfig } from '@/lib/cortex/config';
|
|
6
|
+
import { resetCortex } from '@/lib/cortex';
|
|
7
|
+
|
|
8
|
+
export async function GET(request: NextRequest) {
|
|
9
|
+
const user = getAuthUser(request);
|
|
10
|
+
return withUser(user, () => {
|
|
11
|
+
const { configPath } = getUserPaths(user);
|
|
12
|
+
const config = readCortexConfig(configPath);
|
|
13
|
+
// Mask API keys — never send full keys to the browser
|
|
14
|
+
const safe = {
|
|
15
|
+
...config,
|
|
16
|
+
anthropic_api_key: config.anthropic_api_key ? `…${config.anthropic_api_key.slice(-4)}` : '',
|
|
17
|
+
openai_api_key: config.openai_api_key ? `…${config.openai_api_key.slice(-4)}` : '',
|
|
18
|
+
};
|
|
19
|
+
return NextResponse.json(safe);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export async function POST(request: NextRequest) {
|
|
24
|
+
const user = getAuthUser(request);
|
|
25
|
+
return withUser(user, async () => {
|
|
26
|
+
const { configPath } = getUserPaths(user);
|
|
27
|
+
const updates = await request.json();
|
|
28
|
+
writeCortexConfig(configPath, updates);
|
|
29
|
+
// Force Cortex to re-initialize with new settings on next use
|
|
30
|
+
resetCortex();
|
|
31
|
+
return NextResponse.json({ success: true });
|
|
32
|
+
});
|
|
33
|
+
}
|
|
@@ -1,169 +1,169 @@
|
|
|
1
|
-
import { NextResponse } from 'next/server';
|
|
2
|
-
import type { NextRequest } from 'next/server';
|
|
3
|
-
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
-
import { isCortexAvailable, getCortex } from '@/lib/cortex';
|
|
5
|
-
import { getUserPaths } from '@/lib/config';
|
|
6
|
-
import { readCortexConfig } from '@/lib/cortex/config';
|
|
7
|
-
import fs from 'fs';
|
|
8
|
-
import path from 'path';
|
|
9
|
-
|
|
10
|
-
function dirSize(dir: string): number {
|
|
11
|
-
let total = 0;
|
|
12
|
-
try {
|
|
13
|
-
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
|
|
14
|
-
const p = path.join(dir, entry.name);
|
|
15
|
-
if (entry.isDirectory()) total += dirSize(p);
|
|
16
|
-
else try { total += fs.statSync(p).size; } catch { /* skip */ }
|
|
17
|
-
}
|
|
18
|
-
} catch { /* dir not readable */ }
|
|
19
|
-
return total;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export async function GET(request: NextRequest) {
|
|
23
|
-
const user = getAuthUser(request);
|
|
24
|
-
return withUser(user, async () => {
|
|
25
|
-
if (!isCortexAvailable()) {
|
|
26
|
-
return NextResponse.json({ error: 'Cortex unavailable' }, { status: 403 });
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const cortex = await getCortex();
|
|
30
|
-
if (!cortex) {
|
|
31
|
-
return NextResponse.json({ enabled: false, status: 'disabled' });
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const { spacesDir, configPath } = getUserPaths(user);
|
|
35
|
-
const config = readCortexConfig(configPath);
|
|
36
|
-
const cortexDir = path.join(spacesDir, 'cortex');
|
|
37
|
-
|
|
38
|
-
// Build workspace ID → name map from DB
|
|
39
|
-
const wsNames = new Map<string, string>();
|
|
40
|
-
try {
|
|
41
|
-
const db = (await import('@/lib/db/schema')).getDb();
|
|
42
|
-
if (db) {
|
|
43
|
-
const rows = db.prepare('SELECT id, name FROM workspaces').all() as { id: number; name: string }[];
|
|
44
|
-
for (const r of rows) wsNames.set(String(r.id), r.name);
|
|
45
|
-
}
|
|
46
|
-
} catch { /* DB not available */ }
|
|
47
|
-
|
|
48
|
-
// Scan all lobe directories for sizes and counts
|
|
49
|
-
const lobes: Record<string, { count: number; sizeBytes: number; label: string }> = {};
|
|
50
|
-
const layerDirs = ['personal', 'workspace', 'team'];
|
|
51
|
-
const layerLabels: Record<string, string> = {
|
|
52
|
-
personal: 'Personal',
|
|
53
|
-
workspace: 'Shared (legacy)',
|
|
54
|
-
team: 'Team',
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
for (const layer of layerDirs) {
|
|
58
|
-
const layerDir = path.join(cortexDir, layer);
|
|
59
|
-
if (!fs.existsSync(layerDir)) continue;
|
|
60
|
-
|
|
61
|
-
// Check if this directory has a knowledge.lance directly
|
|
62
|
-
const lancePath = path.join(layerDir, 'knowledge.lance');
|
|
63
|
-
if (fs.existsSync(lancePath)) {
|
|
64
|
-
try {
|
|
65
|
-
const table = await cortex.store.getTable?.(layer) ?? null;
|
|
66
|
-
const count = table ? await table.countRows() : 0;
|
|
67
|
-
lobes[layer] = { count, sizeBytes: dirSize(layerDir), label: layerLabels[layer] || layer };
|
|
68
|
-
} catch {
|
|
69
|
-
lobes[layer] = { count: 0, sizeBytes: dirSize(layerDir), label: layer };
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Check for workspace/N subdirectories
|
|
74
|
-
if (layer === 'workspace') {
|
|
75
|
-
try {
|
|
76
|
-
for (const sub of fs.readdirSync(layerDir, { withFileTypes: true })) {
|
|
77
|
-
if (sub.isDirectory() && sub.name !== 'knowledge.lance') {
|
|
78
|
-
const subDir = path.join(layerDir, sub.name);
|
|
79
|
-
const subLance = path.join(subDir, 'knowledge.lance');
|
|
80
|
-
if (fs.existsSync(subLance)) {
|
|
81
|
-
const key = `workspace/${sub.name}`;
|
|
82
|
-
try {
|
|
83
|
-
const table = await cortex.store.getTable?.(key) ?? null;
|
|
84
|
-
const count = table ? await table.countRows() : 0;
|
|
85
|
-
lobes[key] = { count, sizeBytes: dirSize(subDir), label: wsNames.get(sub.name) || `Workspace ${sub.name}` };
|
|
86
|
-
} catch {
|
|
87
|
-
lobes[key] = { count: 0, sizeBytes: dirSize(subDir), label: wsNames.get(sub.name) || `Workspace ${sub.name}` };
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
} catch { /* */ }
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Read usage stats
|
|
97
|
-
let usage = null;
|
|
98
|
-
const usagePath = path.join(cortexDir, 'usage.json');
|
|
99
|
-
try {
|
|
100
|
-
if (fs.existsSync(usagePath)) usage = JSON.parse(fs.readFileSync(usagePath, 'utf-8'));
|
|
101
|
-
} catch { /* */ }
|
|
102
|
-
|
|
103
|
-
// Total disk usage
|
|
104
|
-
const totalSizeBytes = Object.values(lobes).reduce((sum, l) => sum + l.sizeBytes, 0);
|
|
105
|
-
const totalCount = Object.values(lobes).reduce((sum, l) => sum + l.count, 0);
|
|
106
|
-
|
|
107
|
-
// Graph stats
|
|
108
|
-
let graphStats = { entities: 0, edges: 0 };
|
|
109
|
-
try {
|
|
110
|
-
if (cortex.graph) {
|
|
111
|
-
graphStats.entities = cortex.graph.listEntities({}).length;
|
|
112
|
-
graphStats.edges = cortex.graph.listEdges?.({})?.length ?? 0;
|
|
113
|
-
}
|
|
114
|
-
} catch { /* */ }
|
|
115
|
-
|
|
116
|
-
// Quality assessment (aggregate across all lobes)
|
|
117
|
-
let quality = null;
|
|
118
|
-
try {
|
|
119
|
-
// Compute type distribution and sensitivity counts from browse data
|
|
120
|
-
const allUnits: any[] = [];
|
|
121
|
-
for (const layerKey of Object.keys(lobes)) {
|
|
122
|
-
try {
|
|
123
|
-
const items = await cortex.store.browse(layerKey, 100);
|
|
124
|
-
allUnits.push(...items);
|
|
125
|
-
} catch { /* skip */ }
|
|
126
|
-
}
|
|
127
|
-
if (allUnits.length > 0) {
|
|
128
|
-
const typeDist: Record<string, number> = {};
|
|
129
|
-
const sensCounts: Record<string, number> = {};
|
|
130
|
-
let confSum = 0;
|
|
131
|
-
let staleCount = 0;
|
|
132
|
-
for (const u of allUnits) {
|
|
133
|
-
typeDist[u.type] = (typeDist[u.type] || 0) + 1;
|
|
134
|
-
const sens = u.sensitivity || 'internal';
|
|
135
|
-
sensCounts[sens] = (sensCounts[sens] || 0) + 1;
|
|
136
|
-
confSum += u.confidence ?? 0;
|
|
137
|
-
if ((u.stale_score ?? 0) > 0.5) staleCount++;
|
|
138
|
-
}
|
|
139
|
-
const distilled = (typeDist.decision || 0) + (typeDist.pattern || 0) + (typeDist.preference || 0) + (typeDist.error_fix || 0);
|
|
140
|
-
quality = {
|
|
141
|
-
coverage_score: allUnits.length > 0 ? distilled / allUnits.length : 0,
|
|
142
|
-
type_distribution: typeDist,
|
|
143
|
-
avg_confidence: allUnits.length > 0 ? confSum / allUnits.length : 0,
|
|
144
|
-
stale_count: staleCount,
|
|
145
|
-
sensitivity_counts: sensCounts,
|
|
146
|
-
top_accessed: allUnits
|
|
147
|
-
.filter(u => (u.access_count ?? 0) > 0)
|
|
148
|
-
.sort((a, b) => (b.access_count ?? 0) - (a.access_count ?? 0))
|
|
149
|
-
.slice(0, 3)
|
|
150
|
-
.map(u => ({ text: u.text?.slice(0, 120), type: u.type, access_count: u.access_count })),
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
} catch { /* quality data not available */ }
|
|
154
|
-
|
|
155
|
-
return NextResponse.json({
|
|
156
|
-
enabled: true,
|
|
157
|
-
status: 'healthy',
|
|
158
|
-
embedding_provider: cortex.embedding.name,
|
|
159
|
-
embedding_dimensions: cortex.embedding.dimensions,
|
|
160
|
-
distillation: config.ingestion?.distillation ?? false,
|
|
161
|
-
lobes,
|
|
162
|
-
totalCount,
|
|
163
|
-
totalSizeBytes,
|
|
164
|
-
usage,
|
|
165
|
-
graph: graphStats,
|
|
166
|
-
quality,
|
|
167
|
-
});
|
|
168
|
-
});
|
|
169
|
-
}
|
|
1
|
+
import { NextResponse } from 'next/server';
|
|
2
|
+
import type { NextRequest } from 'next/server';
|
|
3
|
+
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
+
import { isCortexAvailable, getCortex } from '@/lib/cortex';
|
|
5
|
+
import { getUserPaths } from '@/lib/config';
|
|
6
|
+
import { readCortexConfig } from '@/lib/cortex/config';
|
|
7
|
+
import fs from 'fs';
|
|
8
|
+
import path from 'path';
|
|
9
|
+
|
|
10
|
+
function dirSize(dir: string): number {
|
|
11
|
+
let total = 0;
|
|
12
|
+
try {
|
|
13
|
+
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
|
|
14
|
+
const p = path.join(dir, entry.name);
|
|
15
|
+
if (entry.isDirectory()) total += dirSize(p);
|
|
16
|
+
else try { total += fs.statSync(p).size; } catch { /* skip */ }
|
|
17
|
+
}
|
|
18
|
+
} catch { /* dir not readable */ }
|
|
19
|
+
return total;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export async function GET(request: NextRequest) {
|
|
23
|
+
const user = getAuthUser(request);
|
|
24
|
+
return withUser(user, async () => {
|
|
25
|
+
if (!isCortexAvailable()) {
|
|
26
|
+
return NextResponse.json({ error: 'Cortex unavailable' }, { status: 403 });
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const cortex = await getCortex();
|
|
30
|
+
if (!cortex) {
|
|
31
|
+
return NextResponse.json({ enabled: false, status: 'disabled' });
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const { spacesDir, configPath } = getUserPaths(user);
|
|
35
|
+
const config = readCortexConfig(configPath);
|
|
36
|
+
const cortexDir = path.join(spacesDir, 'cortex');
|
|
37
|
+
|
|
38
|
+
// Build workspace ID → name map from DB
|
|
39
|
+
const wsNames = new Map<string, string>();
|
|
40
|
+
try {
|
|
41
|
+
const db = (await import('@/lib/db/schema')).getDb();
|
|
42
|
+
if (db) {
|
|
43
|
+
const rows = db.prepare('SELECT id, name FROM workspaces').all() as { id: number; name: string }[];
|
|
44
|
+
for (const r of rows) wsNames.set(String(r.id), r.name);
|
|
45
|
+
}
|
|
46
|
+
} catch { /* DB not available */ }
|
|
47
|
+
|
|
48
|
+
// Scan all lobe directories for sizes and counts
|
|
49
|
+
const lobes: Record<string, { count: number; sizeBytes: number; label: string }> = {};
|
|
50
|
+
const layerDirs = ['personal', 'workspace', 'team'];
|
|
51
|
+
const layerLabels: Record<string, string> = {
|
|
52
|
+
personal: 'Personal',
|
|
53
|
+
workspace: 'Shared (legacy)',
|
|
54
|
+
team: 'Team',
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
for (const layer of layerDirs) {
|
|
58
|
+
const layerDir = path.join(cortexDir, layer);
|
|
59
|
+
if (!fs.existsSync(layerDir)) continue;
|
|
60
|
+
|
|
61
|
+
// Check if this directory has a knowledge.lance directly
|
|
62
|
+
const lancePath = path.join(layerDir, 'knowledge.lance');
|
|
63
|
+
if (fs.existsSync(lancePath)) {
|
|
64
|
+
try {
|
|
65
|
+
const table = await cortex.store.getTable?.(layer) ?? null;
|
|
66
|
+
const count = table ? await table.countRows() : 0;
|
|
67
|
+
lobes[layer] = { count, sizeBytes: dirSize(layerDir), label: layerLabels[layer] || layer };
|
|
68
|
+
} catch {
|
|
69
|
+
lobes[layer] = { count: 0, sizeBytes: dirSize(layerDir), label: layer };
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Check for workspace/N subdirectories
|
|
74
|
+
if (layer === 'workspace') {
|
|
75
|
+
try {
|
|
76
|
+
for (const sub of fs.readdirSync(layerDir, { withFileTypes: true })) {
|
|
77
|
+
if (sub.isDirectory() && sub.name !== 'knowledge.lance') {
|
|
78
|
+
const subDir = path.join(layerDir, sub.name);
|
|
79
|
+
const subLance = path.join(subDir, 'knowledge.lance');
|
|
80
|
+
if (fs.existsSync(subLance)) {
|
|
81
|
+
const key = `workspace/${sub.name}`;
|
|
82
|
+
try {
|
|
83
|
+
const table = await cortex.store.getTable?.(key) ?? null;
|
|
84
|
+
const count = table ? await table.countRows() : 0;
|
|
85
|
+
lobes[key] = { count, sizeBytes: dirSize(subDir), label: wsNames.get(sub.name) || `Workspace ${sub.name}` };
|
|
86
|
+
} catch {
|
|
87
|
+
lobes[key] = { count: 0, sizeBytes: dirSize(subDir), label: wsNames.get(sub.name) || `Workspace ${sub.name}` };
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
} catch { /* */ }
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// Read usage stats
|
|
97
|
+
let usage = null;
|
|
98
|
+
const usagePath = path.join(cortexDir, 'usage.json');
|
|
99
|
+
try {
|
|
100
|
+
if (fs.existsSync(usagePath)) usage = JSON.parse(fs.readFileSync(usagePath, 'utf-8'));
|
|
101
|
+
} catch { /* */ }
|
|
102
|
+
|
|
103
|
+
// Total disk usage
|
|
104
|
+
const totalSizeBytes = Object.values(lobes).reduce((sum, l) => sum + l.sizeBytes, 0);
|
|
105
|
+
const totalCount = Object.values(lobes).reduce((sum, l) => sum + l.count, 0);
|
|
106
|
+
|
|
107
|
+
// Graph stats
|
|
108
|
+
let graphStats = { entities: 0, edges: 0 };
|
|
109
|
+
try {
|
|
110
|
+
if (cortex.graph) {
|
|
111
|
+
graphStats.entities = cortex.graph.listEntities({}).length;
|
|
112
|
+
graphStats.edges = cortex.graph.listEdges?.({})?.length ?? 0;
|
|
113
|
+
}
|
|
114
|
+
} catch { /* */ }
|
|
115
|
+
|
|
116
|
+
// Quality assessment (aggregate across all lobes)
|
|
117
|
+
let quality = null;
|
|
118
|
+
try {
|
|
119
|
+
// Compute type distribution and sensitivity counts from browse data
|
|
120
|
+
const allUnits: any[] = [];
|
|
121
|
+
for (const layerKey of Object.keys(lobes)) {
|
|
122
|
+
try {
|
|
123
|
+
const items = await cortex.store.browse(layerKey, 100);
|
|
124
|
+
allUnits.push(...items);
|
|
125
|
+
} catch { /* skip */ }
|
|
126
|
+
}
|
|
127
|
+
if (allUnits.length > 0) {
|
|
128
|
+
const typeDist: Record<string, number> = {};
|
|
129
|
+
const sensCounts: Record<string, number> = {};
|
|
130
|
+
let confSum = 0;
|
|
131
|
+
let staleCount = 0;
|
|
132
|
+
for (const u of allUnits) {
|
|
133
|
+
typeDist[u.type] = (typeDist[u.type] || 0) + 1;
|
|
134
|
+
const sens = u.sensitivity || 'internal';
|
|
135
|
+
sensCounts[sens] = (sensCounts[sens] || 0) + 1;
|
|
136
|
+
confSum += u.confidence ?? 0;
|
|
137
|
+
if ((u.stale_score ?? 0) > 0.5) staleCount++;
|
|
138
|
+
}
|
|
139
|
+
const distilled = (typeDist.decision || 0) + (typeDist.pattern || 0) + (typeDist.preference || 0) + (typeDist.error_fix || 0);
|
|
140
|
+
quality = {
|
|
141
|
+
coverage_score: allUnits.length > 0 ? distilled / allUnits.length : 0,
|
|
142
|
+
type_distribution: typeDist,
|
|
143
|
+
avg_confidence: allUnits.length > 0 ? confSum / allUnits.length : 0,
|
|
144
|
+
stale_count: staleCount,
|
|
145
|
+
sensitivity_counts: sensCounts,
|
|
146
|
+
top_accessed: allUnits
|
|
147
|
+
.filter(u => (u.access_count ?? 0) > 0)
|
|
148
|
+
.sort((a, b) => (b.access_count ?? 0) - (a.access_count ?? 0))
|
|
149
|
+
.slice(0, 3)
|
|
150
|
+
.map(u => ({ text: u.text?.slice(0, 120), type: u.type, access_count: u.access_count })),
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
} catch { /* quality data not available */ }
|
|
154
|
+
|
|
155
|
+
return NextResponse.json({
|
|
156
|
+
enabled: true,
|
|
157
|
+
status: 'healthy',
|
|
158
|
+
embedding_provider: cortex.embedding.name,
|
|
159
|
+
embedding_dimensions: cortex.embedding.dimensions,
|
|
160
|
+
distillation: config.ingestion?.distillation ?? false,
|
|
161
|
+
lobes,
|
|
162
|
+
totalCount,
|
|
163
|
+
totalSizeBytes,
|
|
164
|
+
usage,
|
|
165
|
+
graph: graphStats,
|
|
166
|
+
quality,
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { NextResponse } from 'next/server';
|
|
2
|
-
import type { NextRequest } from 'next/server';
|
|
3
|
-
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
-
import { isCortexAvailable, getCortex } from '@/lib/cortex';
|
|
5
|
-
|
|
6
|
-
export async function GET(request: NextRequest) {
|
|
7
|
-
const user = getAuthUser(request);
|
|
8
|
-
return withUser(user, async () => {
|
|
9
|
-
if (!isCortexAvailable()) {
|
|
10
|
-
return NextResponse.json({ error: 'Cortex unavailable' }, { status: 403 });
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
const cortex = await getCortex();
|
|
14
|
-
if (!cortex) return NextResponse.json({ error: 'Cortex disabled' }, { status: 503 });
|
|
15
|
-
|
|
16
|
-
const url = new URL(request.url);
|
|
17
|
-
const workspaceId = url.searchParams.get('workspace_id');
|
|
18
|
-
const projectPath = url.searchParams.get('project_path');
|
|
19
|
-
const limit = parseInt(url.searchParams.get('limit') || '20', 10);
|
|
20
|
-
|
|
21
|
-
const layerKey = workspaceId ? `workspace/${workspaceId}` : 'personal';
|
|
22
|
-
const dummyVector = new Array(cortex.embedding.dimensions).fill(0);
|
|
23
|
-
let results = await cortex.store.search(layerKey, dummyVector, limit * 2);
|
|
24
|
-
|
|
25
|
-
results = results.filter((r: any) =>
|
|
26
|
-
['decision', 'pattern', 'error_fix', 'summary'].includes(r.type)
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
if (projectPath) {
|
|
30
|
-
results = results.filter((r: any) => r.project_path === projectPath);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
results.sort((a: any, b: any) =>
|
|
34
|
-
new Date(b.source_timestamp).getTime() - new Date(a.source_timestamp).getTime()
|
|
35
|
-
);
|
|
36
|
-
|
|
37
|
-
return NextResponse.json({
|
|
38
|
-
timeline: results.slice(0, limit),
|
|
39
|
-
count: results.length,
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
}
|
|
1
|
+
import { NextResponse } from 'next/server';
|
|
2
|
+
import type { NextRequest } from 'next/server';
|
|
3
|
+
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
+
import { isCortexAvailable, getCortex } from '@/lib/cortex';
|
|
5
|
+
|
|
6
|
+
export async function GET(request: NextRequest) {
|
|
7
|
+
const user = getAuthUser(request);
|
|
8
|
+
return withUser(user, async () => {
|
|
9
|
+
if (!isCortexAvailable()) {
|
|
10
|
+
return NextResponse.json({ error: 'Cortex unavailable' }, { status: 403 });
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const cortex = await getCortex();
|
|
14
|
+
if (!cortex) return NextResponse.json({ error: 'Cortex disabled' }, { status: 503 });
|
|
15
|
+
|
|
16
|
+
const url = new URL(request.url);
|
|
17
|
+
const workspaceId = url.searchParams.get('workspace_id');
|
|
18
|
+
const projectPath = url.searchParams.get('project_path');
|
|
19
|
+
const limit = parseInt(url.searchParams.get('limit') || '20', 10);
|
|
20
|
+
|
|
21
|
+
const layerKey = workspaceId ? `workspace/${workspaceId}` : 'personal';
|
|
22
|
+
const dummyVector = new Array(cortex.embedding.dimensions).fill(0);
|
|
23
|
+
let results = await cortex.store.search(layerKey, dummyVector, limit * 2);
|
|
24
|
+
|
|
25
|
+
results = results.filter((r: any) =>
|
|
26
|
+
['decision', 'pattern', 'error_fix', 'summary'].includes(r.type)
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
if (projectPath) {
|
|
30
|
+
results = results.filter((r: any) => r.project_path === projectPath);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
results.sort((a: any, b: any) =>
|
|
34
|
+
new Date(b.source_timestamp).getTime() - new Date(a.source_timestamp).getTime()
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
return NextResponse.json({
|
|
38
|
+
timeline: results.slice(0, limit),
|
|
39
|
+
count: results.length,
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { NextResponse } from 'next/server';
|
|
2
|
-
import type { NextRequest } from 'next/server';
|
|
3
|
-
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
-
import { getUserPaths } from '@/lib/config';
|
|
5
|
-
import { readUsage } from '@/lib/cortex/distillation/usage-store';
|
|
6
|
-
import path from 'path';
|
|
7
|
-
|
|
8
|
-
export const dynamic = 'force-dynamic';
|
|
9
|
-
|
|
10
|
-
export async function GET(request: NextRequest) {
|
|
11
|
-
const user = getAuthUser(request);
|
|
12
|
-
return withUser(user, () => {
|
|
13
|
-
const { spacesDir } = getUserPaths(user);
|
|
14
|
-
const usagePath = path.join(spacesDir, 'cortex', 'usage.json');
|
|
15
|
-
const usage = readUsage(usagePath);
|
|
16
|
-
return NextResponse.json(usage);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export async function DELETE(request: NextRequest) {
|
|
21
|
-
const user = getAuthUser(request);
|
|
22
|
-
return withUser(user, async () => {
|
|
23
|
-
const { spacesDir } = getUserPaths(user);
|
|
24
|
-
const usagePath = path.join(spacesDir, 'cortex', 'usage.json');
|
|
25
|
-
try {
|
|
26
|
-
const fs = await import('fs');
|
|
27
|
-
if (fs.existsSync(usagePath)) fs.unlinkSync(usagePath);
|
|
28
|
-
} catch { /* ignore */ }
|
|
29
|
-
return NextResponse.json({ success: true });
|
|
30
|
-
});
|
|
31
|
-
}
|
|
1
|
+
import { NextResponse } from 'next/server';
|
|
2
|
+
import type { NextRequest } from 'next/server';
|
|
3
|
+
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
+
import { getUserPaths } from '@/lib/config';
|
|
5
|
+
import { readUsage } from '@/lib/cortex/distillation/usage-store';
|
|
6
|
+
import path from 'path';
|
|
7
|
+
|
|
8
|
+
export const dynamic = 'force-dynamic';
|
|
9
|
+
|
|
10
|
+
export async function GET(request: NextRequest) {
|
|
11
|
+
const user = getAuthUser(request);
|
|
12
|
+
return withUser(user, () => {
|
|
13
|
+
const { spacesDir } = getUserPaths(user);
|
|
14
|
+
const usagePath = path.join(spacesDir, 'cortex', 'usage.json');
|
|
15
|
+
const usage = readUsage(usagePath);
|
|
16
|
+
return NextResponse.json(usage);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export async function DELETE(request: NextRequest) {
|
|
21
|
+
const user = getAuthUser(request);
|
|
22
|
+
return withUser(user, async () => {
|
|
23
|
+
const { spacesDir } = getUserPaths(user);
|
|
24
|
+
const usagePath = path.join(spacesDir, 'cortex', 'usage.json');
|
|
25
|
+
try {
|
|
26
|
+
const fs = await import('fs');
|
|
27
|
+
if (fs.existsSync(usagePath)) fs.unlinkSync(usagePath);
|
|
28
|
+
} catch { /* ignore */ }
|
|
29
|
+
return NextResponse.json({ success: true });
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { NextResponse } from 'next/server';
|
|
2
|
-
import type { NextRequest } from 'next/server';
|
|
3
|
-
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
-
import { isCortexAvailable, getCortex } from '@/lib/cortex';
|
|
5
|
-
|
|
6
|
-
export async function GET(
|
|
7
|
-
request: NextRequest,
|
|
8
|
-
{ params }: { params: Promise<{ id: string }> },
|
|
9
|
-
) {
|
|
10
|
-
const user = getAuthUser(request);
|
|
11
|
-
return withUser(user, async () => {
|
|
12
|
-
if (!isCortexAvailable()) {
|
|
13
|
-
return NextResponse.json({ error: 'Cortex unavailable' }, { status: 403 });
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const cortex = await getCortex();
|
|
17
|
-
if (!cortex) return NextResponse.json({ error: 'Cortex disabled' }, { status: 503 });
|
|
18
|
-
|
|
19
|
-
const { id } = await params;
|
|
20
|
-
const workspaceId = parseInt(id, 10);
|
|
21
|
-
const url = new URL(request.url);
|
|
22
|
-
const depth = url.searchParams.get('depth') || 'brief';
|
|
23
|
-
const limit = depth === 'brief' ? 10 : 50;
|
|
24
|
-
|
|
25
|
-
const dummyVector = new Array(cortex.embedding.dimensions).fill(0);
|
|
26
|
-
const results = await cortex.store.search(
|
|
27
|
-
`workspace/${workspaceId}`,
|
|
28
|
-
dummyVector,
|
|
29
|
-
limit,
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
results.sort((a: any, b: any) => b.confidence - a.confidence);
|
|
33
|
-
|
|
34
|
-
return NextResponse.json({
|
|
35
|
-
workspace_id: workspaceId,
|
|
36
|
-
depth,
|
|
37
|
-
units: results,
|
|
38
|
-
count: results.length,
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
}
|
|
1
|
+
import { NextResponse } from 'next/server';
|
|
2
|
+
import type { NextRequest } from 'next/server';
|
|
3
|
+
import { getAuthUser, withUser } from '@/lib/auth';
|
|
4
|
+
import { isCortexAvailable, getCortex } from '@/lib/cortex';
|
|
5
|
+
|
|
6
|
+
export async function GET(
|
|
7
|
+
request: NextRequest,
|
|
8
|
+
{ params }: { params: Promise<{ id: string }> },
|
|
9
|
+
) {
|
|
10
|
+
const user = getAuthUser(request);
|
|
11
|
+
return withUser(user, async () => {
|
|
12
|
+
if (!isCortexAvailable()) {
|
|
13
|
+
return NextResponse.json({ error: 'Cortex unavailable' }, { status: 403 });
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const cortex = await getCortex();
|
|
17
|
+
if (!cortex) return NextResponse.json({ error: 'Cortex disabled' }, { status: 503 });
|
|
18
|
+
|
|
19
|
+
const { id } = await params;
|
|
20
|
+
const workspaceId = parseInt(id, 10);
|
|
21
|
+
const url = new URL(request.url);
|
|
22
|
+
const depth = url.searchParams.get('depth') || 'brief';
|
|
23
|
+
const limit = depth === 'brief' ? 10 : 50;
|
|
24
|
+
|
|
25
|
+
const dummyVector = new Array(cortex.embedding.dimensions).fill(0);
|
|
26
|
+
const results = await cortex.store.search(
|
|
27
|
+
`workspace/${workspaceId}`,
|
|
28
|
+
dummyVector,
|
|
29
|
+
limit,
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
results.sort((a: any, b: any) => b.confidence - a.confidence);
|
|
33
|
+
|
|
34
|
+
return NextResponse.json({
|
|
35
|
+
workspace_id: workspaceId,
|
|
36
|
+
depth,
|
|
37
|
+
units: results,
|
|
38
|
+
count: results.length,
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
}
|