@surething/cockpit 1.0.186 → 1.0.188
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-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +26 -26
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +2 -2
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +2 -2
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next-prod/server/app/api/bash/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/route.js +3 -3
- package/.next-prod/server/app/api/chat/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/columns/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/export/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/query/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/extension/version/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/file/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/blame/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/copy/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/delete/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/index/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/paste/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/read/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/save/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/search/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/branches/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/commits/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/diff/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/discard/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/stage/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/status/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/global-state/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/jupyter/load/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/jupyter/save/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/columns/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js +1 -1
- package/.next-prod/server/app/api/project-state/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/command/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/get/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/set/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js +1 -1
- package/.next-prod/server/app/api/review/identify/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js +1 -1
- package/.next-prod/server/app/api/review/order/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js +1 -1
- package/.next-prod/server/app/api/review/users/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/sessions/route.js +1 -1
- package/.next-prod/server/app/api/sessions/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/settings/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/version/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/page.js +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +4 -4
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +26 -26
- package/.next-prod/server/chunks/4098.js +1 -1
- package/.next-prod/server/chunks/5394.js +1 -1
- package/.next-prod/server/chunks/6062.js +1 -1
- package/.next-prod/server/chunks/7284.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +2 -2
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/chunks/{1593-7902218f5b10761f.js → 1593-d845ec6e5c8de67e.js} +1 -1
- package/.next-prod/static/chunks/{5493-482fc2bbb049e7a4.js → 5493-83d6a5ec42d6cbb3.js} +1 -1
- package/.next-prod/static/chunks/app/page-cc2b332242bc2c93.js +1 -0
- package/.next-prod/static/chunks/app/project/page-b867dec5473dadac.js +25 -0
- package/.next-prod/static/css/bbd65867698c479b.css +3 -0
- package/.next-prod/trace +12 -12
- package/.next-prod/trace-build +1 -1
- package/dist/{chunk-VV5VMA4B.mjs → chunk-KLV3PBIZ.mjs} +17 -0
- package/dist/scheduledTasks.mjs +7 -2
- package/dist/wsServer.mjs +1 -1
- package/package.json +2 -2
- package/.next-prod/static/chunks/app/page-cc2bf3ca4c337090.js +0 -1
- package/.next-prod/static/chunks/app/project/page-62d5a8ed458279b8.js +0 -25
- package/.next-prod/static/css/1573b510894a4234.css +0 -3
- /package/.next-prod/static/{0mBqfZkcLM2Y1ikI9uxKG → _gYuZ_hBlVHw7RvEBSdgN}/_buildManifest.js +0 -0
- /package/.next-prod/static/{0mBqfZkcLM2Y1ikI9uxKG → _gYuZ_hBlVHw7RvEBSdgN}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/chat/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"89010","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/chat/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"89010","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectItem.tsx":{"id":65438,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectSidebar.tsx":{"id":80475,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/Workspace.tsx":{"id":4189,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/review/ReviewPage.tsx":{"id":97899,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/components/project/TabManager.tsx":{"id":97484,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/bbd65867698c479b.css"}],"/home/runner/work/cockpit/cockpit/src/app/page":[],"/home/runner/work/cockpit/cockpit/src/app/api/chat/route":[]},"rscModuleMapping":{"1874":{"*":{"id":"41824","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"51675","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"49090","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"43647","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"87020","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"38476","name":"*","chunks":[],"async":false}},"97899":{"*":{"id":"79436","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=8250,a.ids=[8250],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},4984:a=>{"use strict";a.exports=require("readline")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},25813:(a,b,c)=>{"use strict";c.d(b,{$A:()=>G,A0:()=>P,An:()=>S,BF:()=>C,Ct:()=>K,Eu:()=>B,Ex:()=>s,JE:()=>R,JY:()=>F,Ki:()=>w,Kk:()=>L,Kv:()=>j,LN:()=>k,Mx:()=>x,O0:()=>v,Sr:()=>D,Tb:()=>q,Ux:()=>U,Wd:()=>Q,aO:()=>m,ec:()=>n,eg:()=>N,i4:()=>A,iK:()=>o,iy:()=>J,lq:()=>z,ls:()=>E,mT:()=>u,oK:()=>I,of:()=>y,po:()=>H,tP:()=>p,th:()=>t,v4:()=>l,vI:()=>O,yw:()=>M});var d=c(21820),e=c(33873),f=c(79748),g=c(29021),h=c(79646);let i=(0,d.homedir)(),j=(0,e.join)(i,".cockpit"),k=(0,e.join)(j,"projects"),l=(0,e.join)(j,"state.json"),m=(0,e.join)(j,"pinned-sessions.json"),n=(0,e.join)(j,"note.md"),o=(0,e.join)(j,"scheduled-tasks.json"),p=(0,e.join)(j,"settings.json"),q=(0,e.join)(j,"review"),r=(0,e.join)(q,"_signal");function s(){try{(0,g.existsSync)(q)||(0,g.mkdirSync)(q,{recursive:!0}),(0,g.writeFileSync)(r,Date.now().toString())}catch{}}let t=(0,e.join)(i,".claude"),u=(0,e.join)(t,"projects");function v(a){return a.replace(/[/.]/g,"-")}function w(a){return(0,e.join)(k,v(a))}function x(a){return(0,e.join)(w(a),"session.json")}function y(a){return(0,e.join)(w(a),"recent-files.json")}function z(a){return(0,e.join)(w(a),"expanded-paths.json")}function A(a){return(0,e.join)(w(a),"comments.json")}function B(a){return(0,e.join)(w(a),"services.json")}function C(a){return(0,e.join)(w(a),"note.md")}function D(a,b){return(0,e.join)(w(a),`terminal-history-${b}.jsonl`)}function E(a,b){return(0,e.join)(w(a),`terminal-output-${b}.txt`)}function F(a,b){let c=b?`terminal-env-${b}.json`:"terminal-env-global.json";return(0,e.join)(w(a),c)}function G(){return(0,e.join)(j,"terminal-aliases.json")}function H(){return(0,e.join)(j,"services.json")}function I(a){return(0,e.join)(w(a),"project-settings.json")}function J(a,b){return(0,e.join)(w(a),`terminal-bubble-order-${b}.json`)}function K(a){return(0,e.join)(q,`${a}.json`)}function L(a,b){return(0,e.join)((0,e.join)(u,v(a)),`${b}.jsonl`)}function M(a,b){return(0,e.join)((0,e.join)(j,"ollama-sessions",v(a)),`${b}.jsonl`)}function N(a){let b=(0,e.join)(i,".codex","sessions");if(!(0,g.existsSync)(b))return null;try{let c=(0,h.execSync)(`find ${JSON.stringify(b)} -name "*${a}.jsonl" -type f 2>/dev/null`,{encoding:"utf8",timeout:3e3}).trim();if(c)return c.split("\n")[0]}catch{}return null}function O(a){let b=(0,e.join)(i,".kimi","sessions");if(!(0,g.existsSync)(b))return null;try{for(let c of(0,g.readdirSync)(b)){let d=(0,e.join)(b,c,a,"context.jsonl");if((0,g.existsSync)(d))return d}}catch{}return null}async function P(a){(0,g.existsSync)(a)||await (0,f.mkdir)(a,{recursive:!0})}async function Q(a){let b=(0,e.join)(a,"..");await P(b)}async function R(a,b){try{let b=await (0,f.readFile)(a,"utf-8");return JSON.parse(b)}catch{return b}}async function S(a,b){await Q(a),await (0,f.writeFile)(a,JSON.stringify(b,null,2),"utf-8")}let T=new Map;function U(a,b){let c=(T.get(a)??Promise.resolve()).then(b),d=c.then(()=>{},()=>{});return T.set(a,d),d.then(()=>{T.get(a)===d&&T.delete(a)}),c}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94072:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>O,patchFetch:()=>N,routeModule:()=>J,serverHooks:()=>M,workAsyncStorage:()=>K,workUnitAsyncStorage:()=>L});var d={};c.r(d),c.d(d,{GET:()=>I,dynamic:()=>B,runtime:()=>A});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(79748),w=c(33873),x=c(29021),y=c(4984),z=c(25813);let A="nodejs",B="force-dynamic",C=(0,w.join)(z.th,"projects"),D=(0,w.join)(z.Kv,"stats-cache.json");async function E(){let a,b={},c=new Map,d=new Map,e={},f=0,g=0,h="",i=new Set,j=new Map;try{a=await (0,v.readdir)(C)}catch{return null}for(let g of a){let a,k=(0,w.join)(C,g);try{a=await (0,v.readdir)(k)}catch{continue}for(let g of a){if(!g.endsWith(".jsonl"))continue;let a=(0,w.join)(k,g);try{await F(a,{modelUsage:b,dailyMap:c,dailyTokenMap:d,hourCounts:e,sessionIds:i,sessionTimes:j,onMessage:()=>{f++},onFirstDate:a=>{(!h||a<h)&&(h=a)}})}catch{}}}g=i.size;let k=0,l="";for(let[a,b]of j){let c=b.end-b.start;c>k&&(k=c,l=a)}return{modelUsage:b,dailyActivity:Array.from(c.entries()).map(([a,b])=>({date:a,messageCount:b.messages,sessionCount:b.sessions.size,toolCallCount:b.toolCalls})).sort((a,b)=>a.date.localeCompare(b.date)),dailyModelTokens:Array.from(d.entries()).map(([a,b])=>({date:a,tokensByModel:b})).sort((a,b)=>a.date.localeCompare(b.date)),hourCounts:e,totalSessions:g,totalMessages:f,longestSession:k>0?{sessionId:l,duration:k}:void 0,firstSessionDate:h||void 0}}async function F(a,b){for await(let c of(0,y.createInterface)({input:(0,x.createReadStream)(a,{encoding:"utf-8"}),crlfDelay:1/0})){let a;if(!c)continue;try{a=JSON.parse(c)}catch{continue}let d=a.type,e=a.sessionId,f=a.timestamp;if(e&&b.sessionIds.add(e),e&&f){let a=new Date(f).getTime();if(!isNaN(a)){let c=b.sessionTimes.get(e);c?(a<c.start&&(c.start=a),a>c.end&&(c.end=a)):b.sessionTimes.set(e,{start:a,end:a})}}let g=f?.slice(0,10);if(g&&b.onFirstDate(g),f&&"user"===d){let a=new Date(f).getHours();isNaN(a)||(b.hourCounts[String(a)]=(b.hourCounts[String(a)]||0)+1)}if("user"===d&&(b.onMessage(),g&&e)){b.dailyMap.has(g)||b.dailyMap.set(g,{messages:0,sessions:new Set,toolCalls:0});let a=b.dailyMap.get(g);a.messages++,a.sessions.add(e)}if("assistant"===d){b.onMessage();let c=a.message;if(!c)continue;let d=c.model,e=c.usage;if(d&&e){b.modelUsage[d]||(b.modelUsage[d]={inputTokens:0,outputTokens:0,cacheReadInputTokens:0,cacheCreationInputTokens:0,webSearchRequests:0});let a=b.modelUsage[d];a.inputTokens+=e.input_tokens||0,a.outputTokens+=e.output_tokens||0,a.cacheReadInputTokens+=e.cache_read_input_tokens||0,a.cacheCreationInputTokens+=e.cache_creation_input_tokens||0;let c=(e.input_tokens||0)+(e.output_tokens||0)+(e.cache_read_input_tokens||0)+(e.cache_creation_input_tokens||0);if(g){b.dailyTokenMap.has(g)||b.dailyTokenMap.set(g,{});let a=b.dailyTokenMap.get(g);a[d]=(a[d]||0)+c}}let f=c.content;if(Array.isArray(f)&&g){let a=f.filter(a=>"tool_use"===a.type).length;a>0&&(b.dailyMap.has(g)||b.dailyMap.set(g,{messages:0,sessions:new Set,toolCalls:0}),b.dailyMap.get(g).toolCalls+=a)}}}}async function G(){try{let a=await (0,v.stat)(D);if(Date.now()-a.mtimeMs<3e5){let a=await (0,v.readFile)(D,"utf-8");return JSON.parse(a)}}catch{}return null}async function H(a){try{await (0,z.A0)(z.Kv),await (0,v.writeFile)(D,JSON.stringify(a),"utf-8")}catch{}}async function I(){try{let a=await G();if(a)return Response.json(a);let b=await E();if(!b)return Response.json({error:"Projects directory not found"},{status:404});return await H(b),Response.json(b)}catch(a){return Response.json({error:String(a)},{status:500})}}let J=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/claude-stats/route",pathname:"/api/claude-stats",filename:"route",bundlePath:"app/api/claude-stats/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/claude-stats/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:K,workUnitAsyncStorage:L,serverHooks:M}=J;function N(){return(0,g.patchFetch)({workAsyncStorage:K,workUnitAsyncStorage:L})}async function O(a,b,c){J.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/claude-stats/route";"/index"===d&&(d="/");let e=await J.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D,clientReferenceManifest:E,serverActionsManifest:F}=e,G=(0,k.normalizeAppPath)(d),H=!!(z.dynamicRoutes[G]||z.routes[D]),I=async()=>((null==A?void 0:A.render404)?await A.render404(a,b,x,!1):b.end("This page could not be found"),null);if(H&&!y){let a=!!z.routes[D],b=z.dynamicRoutes[G];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await I();throw new t.NoFallbackError}}let K=null;!H||J.isDev||y||(K="/index"===(K=D)?"/":K);let L=!0===J.isDev||!H,M=H&&!L;F&&E&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:E,serverActionsManifest:F});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>J.onRequestError(a,b,d,e,A)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>J.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!H)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await J.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),b}},l=await J.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!H)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&H||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await J.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),H)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741],()=>b(b.s=94072));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=8250,a.ids=[8250],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},4984:a=>{"use strict";a.exports=require("readline")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},25813:(a,b,c)=>{"use strict";c.d(b,{$A:()=>I,A0:()=>S,An:()=>V,BF:()=>E,Ct:()=>M,Eu:()=>D,Ex:()=>s,JE:()=>U,JY:()=>H,Ki:()=>y,Kk:()=>N,Kv:()=>j,LN:()=>k,Mx:()=>z,O0:()=>x,Sr:()=>F,Tb:()=>q,Ux:()=>X,Wd:()=>T,aO:()=>m,at:()=>w,ec:()=>n,eg:()=>Q,h9:()=>v,i4:()=>C,iK:()=>o,iy:()=>L,lq:()=>B,ls:()=>G,mT:()=>u,oK:()=>K,oZ:()=>O,of:()=>A,po:()=>J,tP:()=>p,th:()=>t,v4:()=>l,vI:()=>R,yw:()=>P});var d=c(21820),e=c(33873),f=c(79748),g=c(29021),h=c(79646);let i=(0,d.homedir)(),j=(0,e.join)(i,".cockpit"),k=(0,e.join)(j,"projects"),l=(0,e.join)(j,"state.json"),m=(0,e.join)(j,"pinned-sessions.json"),n=(0,e.join)(j,"note.md"),o=(0,e.join)(j,"scheduled-tasks.json"),p=(0,e.join)(j,"settings.json"),q=(0,e.join)(j,"review"),r=(0,e.join)(q,"_signal");function s(){try{(0,g.existsSync)(q)||(0,g.mkdirSync)(q,{recursive:!0}),(0,g.writeFileSync)(r,Date.now().toString())}catch{}}let t=(0,e.join)(i,".claude"),u=(0,e.join)(t,"projects"),v=(0,e.join)(i,".claude2"),w=(0,e.join)(v,"projects");function x(a){return a.replace(/[/.]/g,"-")}function y(a){return(0,e.join)(k,x(a))}function z(a){return(0,e.join)(y(a),"session.json")}function A(a){return(0,e.join)(y(a),"recent-files.json")}function B(a){return(0,e.join)(y(a),"expanded-paths.json")}function C(a){return(0,e.join)(y(a),"comments.json")}function D(a){return(0,e.join)(y(a),"services.json")}function E(a){return(0,e.join)(y(a),"note.md")}function F(a,b){return(0,e.join)(y(a),`terminal-history-${b}.jsonl`)}function G(a,b){return(0,e.join)(y(a),`terminal-output-${b}.txt`)}function H(a,b){let c=b?`terminal-env-${b}.json`:"terminal-env-global.json";return(0,e.join)(y(a),c)}function I(){return(0,e.join)(j,"terminal-aliases.json")}function J(){return(0,e.join)(j,"services.json")}function K(a){return(0,e.join)(y(a),"project-settings.json")}function L(a,b){return(0,e.join)(y(a),`terminal-bubble-order-${b}.json`)}function M(a){return(0,e.join)(q,`${a}.json`)}function N(a,b){return(0,e.join)((0,e.join)(u,x(a)),`${b}.jsonl`)}function O(a,b){return(0,e.join)((0,e.join)(w,x(a)),`${b}.jsonl`)}function P(a,b){return(0,e.join)((0,e.join)(j,"ollama-sessions",x(a)),`${b}.jsonl`)}function Q(a){let b=(0,e.join)(i,".codex","sessions");if(!(0,g.existsSync)(b))return null;try{let c=(0,h.execSync)(`find ${JSON.stringify(b)} -name "*${a}.jsonl" -type f 2>/dev/null`,{encoding:"utf8",timeout:3e3}).trim();if(c)return c.split("\n")[0]}catch{}return null}function R(a){let b=(0,e.join)(i,".kimi","sessions");if(!(0,g.existsSync)(b))return null;try{for(let c of(0,g.readdirSync)(b)){let d=(0,e.join)(b,c,a,"context.jsonl");if((0,g.existsSync)(d))return d}}catch{}return null}async function S(a){(0,g.existsSync)(a)||await (0,f.mkdir)(a,{recursive:!0})}async function T(a){let b=(0,e.join)(a,"..");await S(b)}async function U(a,b){try{let b=await (0,f.readFile)(a,"utf-8");return JSON.parse(b)}catch{return b}}async function V(a,b){await T(a),await (0,f.writeFile)(a,JSON.stringify(b,null,2),"utf-8")}let W=new Map;function X(a,b){let c=(W.get(a)??Promise.resolve()).then(b),d=c.then(()=>{},()=>{});return W.set(a,d),d.then(()=>{W.get(a)===d&&W.delete(a)}),c}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94072:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>M,patchFetch:()=>L,routeModule:()=>H,serverHooks:()=>K,workAsyncStorage:()=>I,workUnitAsyncStorage:()=>J});var d={};c.r(d),c.d(d,{GET:()=>G,dynamic:()=>B,runtime:()=>A});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(79748),w=c(33873),x=c(29021),y=c(4984),z=c(25813);let A="nodejs",B="force-dynamic";async function C(a){let b,c={},d=new Map,e=new Map,f={},g=0,h=0,i="",j=new Set,k=new Map;try{b=await (0,v.readdir)(a)}catch{return null}for(let h of b){let b,l=(0,w.join)(a,h);try{b=await (0,v.readdir)(l)}catch{continue}for(let a of b){if(!a.endsWith(".jsonl"))continue;let b=(0,w.join)(l,a);try{await D(b,{modelUsage:c,dailyMap:d,dailyTokenMap:e,hourCounts:f,sessionIds:j,sessionTimes:k,onMessage:()=>{g++},onFirstDate:a=>{(!i||a<i)&&(i=a)}})}catch{}}}h=j.size;let l=0,m="";for(let[a,b]of k){let c=b.end-b.start;c>l&&(l=c,m=a)}return{modelUsage:c,dailyActivity:Array.from(d.entries()).map(([a,b])=>({date:a,messageCount:b.messages,sessionCount:b.sessions.size,toolCallCount:b.toolCalls})).sort((a,b)=>a.date.localeCompare(b.date)),dailyModelTokens:Array.from(e.entries()).map(([a,b])=>({date:a,tokensByModel:b})).sort((a,b)=>a.date.localeCompare(b.date)),hourCounts:f,totalSessions:h,totalMessages:g,longestSession:l>0?{sessionId:m,duration:l}:void 0,firstSessionDate:i||void 0}}async function D(a,b){for await(let c of(0,y.createInterface)({input:(0,x.createReadStream)(a,{encoding:"utf-8"}),crlfDelay:1/0})){let a;if(!c)continue;try{a=JSON.parse(c)}catch{continue}let d=a.type,e=a.sessionId,f=a.timestamp;if(e&&b.sessionIds.add(e),e&&f){let a=new Date(f).getTime();if(!isNaN(a)){let c=b.sessionTimes.get(e);c?(a<c.start&&(c.start=a),a>c.end&&(c.end=a)):b.sessionTimes.set(e,{start:a,end:a})}}let g=f?.slice(0,10);if(g&&b.onFirstDate(g),f&&"user"===d){let a=new Date(f).getHours();isNaN(a)||(b.hourCounts[String(a)]=(b.hourCounts[String(a)]||0)+1)}if("user"===d&&(b.onMessage(),g&&e)){b.dailyMap.has(g)||b.dailyMap.set(g,{messages:0,sessions:new Set,toolCalls:0});let a=b.dailyMap.get(g);a.messages++,a.sessions.add(e)}if("assistant"===d){b.onMessage();let c=a.message;if(!c)continue;let d=c.model,e=c.usage;if(d&&e){b.modelUsage[d]||(b.modelUsage[d]={inputTokens:0,outputTokens:0,cacheReadInputTokens:0,cacheCreationInputTokens:0,webSearchRequests:0});let a=b.modelUsage[d];a.inputTokens+=e.input_tokens||0,a.outputTokens+=e.output_tokens||0,a.cacheReadInputTokens+=e.cache_read_input_tokens||0,a.cacheCreationInputTokens+=e.cache_creation_input_tokens||0;let c=(e.input_tokens||0)+(e.output_tokens||0)+(e.cache_read_input_tokens||0)+(e.cache_creation_input_tokens||0);if(g){b.dailyTokenMap.has(g)||b.dailyTokenMap.set(g,{});let a=b.dailyTokenMap.get(g);a[d]=(a[d]||0)+c}}let f=c.content;if(Array.isArray(f)&&g){let a=f.filter(a=>"tool_use"===a.type).length;a>0&&(b.dailyMap.has(g)||b.dailyMap.set(g,{messages:0,sessions:new Set,toolCalls:0}),b.dailyMap.get(g).toolCalls+=a)}}}}async function E(a){try{let b=await (0,v.stat)(a);if(Date.now()-b.mtimeMs<3e5){let b=await (0,v.readFile)(a,"utf-8");return JSON.parse(b)}}catch{}return null}async function F(a,b){try{await (0,z.A0)(z.Kv),await (0,v.writeFile)(a,JSON.stringify(b),"utf-8")}catch{}}async function G(a){try{let{searchParams:b}=new URL(a.url),c=b.get("engine")||"claude",d="claude2"===c?(0,w.join)(z.h9,"projects"):(0,w.join)(z.th,"projects"),e="claude2"===c?(0,w.join)(z.Kv,"stats-cache-claude2.json"):(0,w.join)(z.Kv,"stats-cache.json"),f=await E(e);if(f)return Response.json(f);let g=await C(d);if(!g)return Response.json({error:"Projects directory not found"},{status:404});return await F(e,g),Response.json(g)}catch(a){return Response.json({error:String(a)},{status:500})}}let H=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/claude-stats/route",pathname:"/api/claude-stats",filename:"route",bundlePath:"app/api/claude-stats/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/claude-stats/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:I,workUnitAsyncStorage:J,serverHooks:K}=H;function L(){return(0,g.patchFetch)({workAsyncStorage:I,workUnitAsyncStorage:J})}async function M(a,b,c){H.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/claude-stats/route";"/index"===d&&(d="/");let e=await H.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D,clientReferenceManifest:E,serverActionsManifest:F}=e,G=(0,k.normalizeAppPath)(d),I=!!(z.dynamicRoutes[G]||z.routes[D]),J=async()=>((null==A?void 0:A.render404)?await A.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!z.routes[D],b=z.dynamicRoutes[G];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||H.isDev||y||(K="/index"===(K=D)?"/":K);let L=!0===H.isDev||!I,M=I&&!L;F&&E&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:E,serverActionsManifest:F});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>H.onRequestError(a,b,d,e,A)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>H.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await H.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),b}},l=await H.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await H.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741],()=>b(b.s=94072));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/claude-stats/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"89010","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/claude-stats/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"89010","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectItem.tsx":{"id":65438,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectSidebar.tsx":{"id":80475,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/Workspace.tsx":{"id":4189,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/review/ReviewPage.tsx":{"id":97899,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/components/project/TabManager.tsx":{"id":97484,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/bbd65867698c479b.css"}],"/home/runner/work/cockpit/cockpit/src/app/page":[],"/home/runner/work/cockpit/cockpit/src/app/api/claude-stats/route":[]},"rscModuleMapping":{"1874":{"*":{"id":"41824","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"51675","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"49090","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"43647","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"87020","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"38476","name":"*","chunks":[],"async":false}},"97899":{"*":{"id":"79436","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=2316,a.ids=[2316],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},25813:(a,b,c)=>{"use strict";c.d(b,{$A:()=>G,A0:()=>P,An:()=>S,BF:()=>C,Ct:()=>K,Eu:()=>B,Ex:()=>s,JE:()=>R,JY:()=>F,Ki:()=>w,Kk:()=>L,Kv:()=>j,LN:()=>k,Mx:()=>x,O0:()=>v,Sr:()=>D,Tb:()=>q,Ux:()=>U,Wd:()=>Q,aO:()=>m,ec:()=>n,eg:()=>N,i4:()=>A,iK:()=>o,iy:()=>J,lq:()=>z,ls:()=>E,mT:()=>u,oK:()=>I,of:()=>y,po:()=>H,tP:()=>p,th:()=>t,v4:()=>l,vI:()=>O,yw:()=>M});var d=c(21820),e=c(33873),f=c(79748),g=c(29021),h=c(79646);let i=(0,d.homedir)(),j=(0,e.join)(i,".cockpit"),k=(0,e.join)(j,"projects"),l=(0,e.join)(j,"state.json"),m=(0,e.join)(j,"pinned-sessions.json"),n=(0,e.join)(j,"note.md"),o=(0,e.join)(j,"scheduled-tasks.json"),p=(0,e.join)(j,"settings.json"),q=(0,e.join)(j,"review"),r=(0,e.join)(q,"_signal");function s(){try{(0,g.existsSync)(q)||(0,g.mkdirSync)(q,{recursive:!0}),(0,g.writeFileSync)(r,Date.now().toString())}catch{}}let t=(0,e.join)(i,".claude"),u=(0,e.join)(t,"projects");function v(a){return a.replace(/[/.]/g,"-")}function w(a){return(0,e.join)(k,v(a))}function x(a){return(0,e.join)(w(a),"session.json")}function y(a){return(0,e.join)(w(a),"recent-files.json")}function z(a){return(0,e.join)(w(a),"expanded-paths.json")}function A(a){return(0,e.join)(w(a),"comments.json")}function B(a){return(0,e.join)(w(a),"services.json")}function C(a){return(0,e.join)(w(a),"note.md")}function D(a,b){return(0,e.join)(w(a),`terminal-history-${b}.jsonl`)}function E(a,b){return(0,e.join)(w(a),`terminal-output-${b}.txt`)}function F(a,b){let c=b?`terminal-env-${b}.json`:"terminal-env-global.json";return(0,e.join)(w(a),c)}function G(){return(0,e.join)(j,"terminal-aliases.json")}function H(){return(0,e.join)(j,"services.json")}function I(a){return(0,e.join)(w(a),"project-settings.json")}function J(a,b){return(0,e.join)(w(a),`terminal-bubble-order-${b}.json`)}function K(a){return(0,e.join)(q,`${a}.json`)}function L(a,b){return(0,e.join)((0,e.join)(u,v(a)),`${b}.jsonl`)}function M(a,b){return(0,e.join)((0,e.join)(j,"ollama-sessions",v(a)),`${b}.jsonl`)}function N(a){let b=(0,e.join)(i,".codex","sessions");if(!(0,g.existsSync)(b))return null;try{let c=(0,h.execSync)(`find ${JSON.stringify(b)} -name "*${a}.jsonl" -type f 2>/dev/null`,{encoding:"utf8",timeout:3e3}).trim();if(c)return c.split("\n")[0]}catch{}return null}function O(a){let b=(0,e.join)(i,".kimi","sessions");if(!(0,g.existsSync)(b))return null;try{for(let c of(0,g.readdirSync)(b)){let d=(0,e.join)(b,c,a,"context.jsonl");if((0,g.existsSync)(d))return d}}catch{}return null}async function P(a){(0,g.existsSync)(a)||await (0,f.mkdir)(a,{recursive:!0})}async function Q(a){let b=(0,e.join)(a,"..");await P(b)}async function R(a,b){try{let b=await (0,f.readFile)(a,"utf-8");return JSON.parse(b)}catch{return b}}async function S(a,b){await Q(a),await (0,f.writeFile)(a,JSON.stringify(b,null,2),"utf-8")}let T=new Map;function U(a,b){let c=(T.get(a)??Promise.resolve()).then(b),d=c.then(()=>{},()=>{});return T.set(a,d),d.then(()=>{T.get(a)===d&&T.delete(a)}),c}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},57584:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>I,patchFetch:()=>H,routeModule:()=>D,serverHooks:()=>G,workAsyncStorage:()=>E,workUnitAsyncStorage:()=>F});var d={};c.r(d),c.d(d,{GET:()=>C,dynamic:()=>z,runtime:()=>y});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(29021),w=c(33873),x=c(25813);let y="nodejs",z="force-dynamic",A=[{name:"/qa",description:"Enter requirements clarification mode",source:"builtin"},{name:"/commit",description:"Commit code changes",source:"builtin"},{name:"/review",description:"Code review",source:"builtin"},{name:"/test",description:"Run tests",source:"builtin"},{name:"/fix",description:"Fix issues",source:"builtin"},{name:"/explain",description:"Explain code",source:"builtin"},{name:"/refactor",description:"Refactor code",source:"builtin"}];function B(a,b,c=""){let d=[];if(!v.existsSync(a))return d;try{for(let e of v.readdirSync(a,{withFileTypes:!0})){let f=w.join(a,e.name);if(e.isDirectory()){let a=c?`${c}:${e.name}`:e.name;d.push(...B(f,b,a))}else if(e.name.endsWith(".md")){let a=e.name.replace(".md",""),g=c?`/${c}:${a}`:`/${a}`,h=function(a){try{for(let b of v.readFileSync(a,"utf-8").split("\n")){let a=b.trim();if(a&&!a.startsWith("#"))return a.slice(0,50)}}catch{}return""}(f);d.push({name:g,description:h||`Custom command: ${g}`,source:b})}}}catch{}return d}async function C(a){try{let{searchParams:b}=new URL(a.url),c=b.get("cwd"),d=[];d.push(...A);let e=w.join(x.th,"commands");if(d.push(...B(e,"global")),c){let a=w.join(c,".claude","commands");d.push(...B(a,"project"))}let f=new Map;for(let a of d){let b=f.get(a.name);if(b){let c={project:3,global:2,builtin:1};c[a.source]>c[b.source]&&f.set(a.name,a)}else f.set(a.name,a)}let g=Array.from(f.values()).sort((a,b)=>a.name.localeCompare(b.name));return new Response(JSON.stringify(g),{status:200,headers:{"Content-Type":"application/json"}})}catch(a){return console.error("Commands API error:",a),new Response(JSON.stringify({error:"Internal server error"}),{status:500,headers:{"Content-Type":"application/json"}})}}let D=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/commands/route",pathname:"/api/commands",filename:"route",bundlePath:"app/api/commands/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/commands/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:E,workUnitAsyncStorage:F,serverHooks:G}=D;function H(){return(0,g.patchFetch)({workAsyncStorage:E,workUnitAsyncStorage:F})}async function I(a,b,c){D.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/commands/route";"/index"===d&&(d="/");let e=await D.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(z.dynamicRoutes[H]||z.routes[E]),J=async()=>((null==A?void 0:A.render404)?await A.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!z.routes[E],b=z.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||D.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===D.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>D.onRequestError(a,b,d,e,A)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>D.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await D.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),b}},l=await D.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await D.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741],()=>b(b.s=57584));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=2316,a.ids=[2316],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},21820:a=>{"use strict";a.exports=require("os")},25813:(a,b,c)=>{"use strict";c.d(b,{$A:()=>I,A0:()=>S,An:()=>V,BF:()=>E,Ct:()=>M,Eu:()=>D,Ex:()=>s,JE:()=>U,JY:()=>H,Ki:()=>y,Kk:()=>N,Kv:()=>j,LN:()=>k,Mx:()=>z,O0:()=>x,Sr:()=>F,Tb:()=>q,Ux:()=>X,Wd:()=>T,aO:()=>m,at:()=>w,ec:()=>n,eg:()=>Q,h9:()=>v,i4:()=>C,iK:()=>o,iy:()=>L,lq:()=>B,ls:()=>G,mT:()=>u,oK:()=>K,oZ:()=>O,of:()=>A,po:()=>J,tP:()=>p,th:()=>t,v4:()=>l,vI:()=>R,yw:()=>P});var d=c(21820),e=c(33873),f=c(79748),g=c(29021),h=c(79646);let i=(0,d.homedir)(),j=(0,e.join)(i,".cockpit"),k=(0,e.join)(j,"projects"),l=(0,e.join)(j,"state.json"),m=(0,e.join)(j,"pinned-sessions.json"),n=(0,e.join)(j,"note.md"),o=(0,e.join)(j,"scheduled-tasks.json"),p=(0,e.join)(j,"settings.json"),q=(0,e.join)(j,"review"),r=(0,e.join)(q,"_signal");function s(){try{(0,g.existsSync)(q)||(0,g.mkdirSync)(q,{recursive:!0}),(0,g.writeFileSync)(r,Date.now().toString())}catch{}}let t=(0,e.join)(i,".claude"),u=(0,e.join)(t,"projects"),v=(0,e.join)(i,".claude2"),w=(0,e.join)(v,"projects");function x(a){return a.replace(/[/.]/g,"-")}function y(a){return(0,e.join)(k,x(a))}function z(a){return(0,e.join)(y(a),"session.json")}function A(a){return(0,e.join)(y(a),"recent-files.json")}function B(a){return(0,e.join)(y(a),"expanded-paths.json")}function C(a){return(0,e.join)(y(a),"comments.json")}function D(a){return(0,e.join)(y(a),"services.json")}function E(a){return(0,e.join)(y(a),"note.md")}function F(a,b){return(0,e.join)(y(a),`terminal-history-${b}.jsonl`)}function G(a,b){return(0,e.join)(y(a),`terminal-output-${b}.txt`)}function H(a,b){let c=b?`terminal-env-${b}.json`:"terminal-env-global.json";return(0,e.join)(y(a),c)}function I(){return(0,e.join)(j,"terminal-aliases.json")}function J(){return(0,e.join)(j,"services.json")}function K(a){return(0,e.join)(y(a),"project-settings.json")}function L(a,b){return(0,e.join)(y(a),`terminal-bubble-order-${b}.json`)}function M(a){return(0,e.join)(q,`${a}.json`)}function N(a,b){return(0,e.join)((0,e.join)(u,x(a)),`${b}.jsonl`)}function O(a,b){return(0,e.join)((0,e.join)(w,x(a)),`${b}.jsonl`)}function P(a,b){return(0,e.join)((0,e.join)(j,"ollama-sessions",x(a)),`${b}.jsonl`)}function Q(a){let b=(0,e.join)(i,".codex","sessions");if(!(0,g.existsSync)(b))return null;try{let c=(0,h.execSync)(`find ${JSON.stringify(b)} -name "*${a}.jsonl" -type f 2>/dev/null`,{encoding:"utf8",timeout:3e3}).trim();if(c)return c.split("\n")[0]}catch{}return null}function R(a){let b=(0,e.join)(i,".kimi","sessions");if(!(0,g.existsSync)(b))return null;try{for(let c of(0,g.readdirSync)(b)){let d=(0,e.join)(b,c,a,"context.jsonl");if((0,g.existsSync)(d))return d}}catch{}return null}async function S(a){(0,g.existsSync)(a)||await (0,f.mkdir)(a,{recursive:!0})}async function T(a){let b=(0,e.join)(a,"..");await S(b)}async function U(a,b){try{let b=await (0,f.readFile)(a,"utf-8");return JSON.parse(b)}catch{return b}}async function V(a,b){await T(a),await (0,f.writeFile)(a,JSON.stringify(b,null,2),"utf-8")}let W=new Map;function X(a,b){let c=(W.get(a)??Promise.resolve()).then(b),d=c.then(()=>{},()=>{});return W.set(a,d),d.then(()=>{W.get(a)===d&&W.delete(a)}),c}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},57584:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>I,patchFetch:()=>H,routeModule:()=>D,serverHooks:()=>G,workAsyncStorage:()=>E,workUnitAsyncStorage:()=>F});var d={};c.r(d),c.d(d,{GET:()=>C,dynamic:()=>z,runtime:()=>y});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(29021),w=c(33873),x=c(25813);let y="nodejs",z="force-dynamic",A=[{name:"/qa",description:"Enter requirements clarification mode",source:"builtin"},{name:"/commit",description:"Commit code changes",source:"builtin"},{name:"/review",description:"Code review",source:"builtin"},{name:"/test",description:"Run tests",source:"builtin"},{name:"/fix",description:"Fix issues",source:"builtin"},{name:"/explain",description:"Explain code",source:"builtin"},{name:"/refactor",description:"Refactor code",source:"builtin"}];function B(a,b,c=""){let d=[];if(!v.existsSync(a))return d;try{for(let e of v.readdirSync(a,{withFileTypes:!0})){let f=w.join(a,e.name);if(e.isDirectory()){let a=c?`${c}:${e.name}`:e.name;d.push(...B(f,b,a))}else if(e.name.endsWith(".md")){let a=e.name.replace(".md",""),g=c?`/${c}:${a}`:`/${a}`,h=function(a){try{for(let b of v.readFileSync(a,"utf-8").split("\n")){let a=b.trim();if(a&&!a.startsWith("#"))return a.slice(0,50)}}catch{}return""}(f);d.push({name:g,description:h||`Custom command: ${g}`,source:b})}}}catch{}return d}async function C(a){try{let{searchParams:b}=new URL(a.url),c=b.get("cwd"),d=[];d.push(...A);let e=w.join(x.th,"commands");d.push(...B(e,"global"));let f=w.join(x.h9,"commands");if(d.push(...B(f,"global")),c){let a=w.join(c,".claude","commands");d.push(...B(a,"project"))}let g=new Map;for(let a of d){let b=g.get(a.name);if(b){let c={project:3,global:2,builtin:1};c[a.source]>c[b.source]&&g.set(a.name,a)}else g.set(a.name,a)}let h=Array.from(g.values()).sort((a,b)=>a.name.localeCompare(b.name));return new Response(JSON.stringify(h),{status:200,headers:{"Content-Type":"application/json"}})}catch(a){return console.error("Commands API error:",a),new Response(JSON.stringify({error:"Internal server error"}),{status:500,headers:{"Content-Type":"application/json"}})}}let D=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/commands/route",pathname:"/api/commands",filename:"route",bundlePath:"app/api/commands/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/commands/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:E,workUnitAsyncStorage:F,serverHooks:G}=D;function H(){return(0,g.patchFetch)({workAsyncStorage:E,workUnitAsyncStorage:F})}async function I(a,b,c){D.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/commands/route";"/index"===d&&(d="/");let e=await D.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(z.dynamicRoutes[H]||z.routes[E]),J=async()=>((null==A?void 0:A.render404)?await A.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!z.routes[E],b=z.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||D.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===D.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>D.onRequestError(a,b,d,e,A)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>D.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await D.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),b}},l=await D.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await D.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741],()=>b(b.s=57584));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/commands/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"89010","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/commands/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"89010","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectItem.tsx":{"id":65438,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectSidebar.tsx":{"id":80475,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/Workspace.tsx":{"id":4189,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/review/ReviewPage.tsx":{"id":97899,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/components/project/TabManager.tsx":{"id":97484,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/bbd65867698c479b.css"}],"/home/runner/work/cockpit/cockpit/src/app/page":[],"/home/runner/work/cockpit/cockpit/src/app/api/commands/route":[]},"rscModuleMapping":{"1874":{"*":{"id":"41824","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"51675","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"49090","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"43647","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"87020","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"38476","name":"*","chunks":[],"async":false}},"97899":{"*":{"id":"79436","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=7128,a.ids=[7128],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{"use strict";a.exports=require("os")},25813:(a,b,c)=>{"use strict";c.d(b,{$A:()=>G,A0:()=>P,An:()=>S,BF:()=>C,Ct:()=>K,Eu:()=>B,Ex:()=>s,JE:()=>R,JY:()=>F,Ki:()=>w,Kk:()=>L,Kv:()=>j,LN:()=>k,Mx:()=>x,O0:()=>v,Sr:()=>D,Tb:()=>q,Ux:()=>U,Wd:()=>Q,aO:()=>m,ec:()=>n,eg:()=>N,i4:()=>A,iK:()=>o,iy:()=>J,lq:()=>z,ls:()=>E,mT:()=>u,oK:()=>I,of:()=>y,po:()=>H,tP:()=>p,th:()=>t,v4:()=>l,vI:()=>O,yw:()=>M});var d=c(21820),e=c(33873),f=c(79748),g=c(29021),h=c(79646);let i=(0,d.homedir)(),j=(0,e.join)(i,".cockpit"),k=(0,e.join)(j,"projects"),l=(0,e.join)(j,"state.json"),m=(0,e.join)(j,"pinned-sessions.json"),n=(0,e.join)(j,"note.md"),o=(0,e.join)(j,"scheduled-tasks.json"),p=(0,e.join)(j,"settings.json"),q=(0,e.join)(j,"review"),r=(0,e.join)(q,"_signal");function s(){try{(0,g.existsSync)(q)||(0,g.mkdirSync)(q,{recursive:!0}),(0,g.writeFileSync)(r,Date.now().toString())}catch{}}let t=(0,e.join)(i,".claude"),u=(0,e.join)(t,"projects");function v(a){return a.replace(/[/.]/g,"-")}function w(a){return(0,e.join)(k,v(a))}function x(a){return(0,e.join)(w(a),"session.json")}function y(a){return(0,e.join)(w(a),"recent-files.json")}function z(a){return(0,e.join)(w(a),"expanded-paths.json")}function A(a){return(0,e.join)(w(a),"comments.json")}function B(a){return(0,e.join)(w(a),"services.json")}function C(a){return(0,e.join)(w(a),"note.md")}function D(a,b){return(0,e.join)(w(a),`terminal-history-${b}.jsonl`)}function E(a,b){return(0,e.join)(w(a),`terminal-output-${b}.txt`)}function F(a,b){let c=b?`terminal-env-${b}.json`:"terminal-env-global.json";return(0,e.join)(w(a),c)}function G(){return(0,e.join)(j,"terminal-aliases.json")}function H(){return(0,e.join)(j,"services.json")}function I(a){return(0,e.join)(w(a),"project-settings.json")}function J(a,b){return(0,e.join)(w(a),`terminal-bubble-order-${b}.json`)}function K(a){return(0,e.join)(q,`${a}.json`)}function L(a,b){return(0,e.join)((0,e.join)(u,v(a)),`${b}.jsonl`)}function M(a,b){return(0,e.join)((0,e.join)(j,"ollama-sessions",v(a)),`${b}.jsonl`)}function N(a){let b=(0,e.join)(i,".codex","sessions");if(!(0,g.existsSync)(b))return null;try{let c=(0,h.execSync)(`find ${JSON.stringify(b)} -name "*${a}.jsonl" -type f 2>/dev/null`,{encoding:"utf8",timeout:3e3}).trim();if(c)return c.split("\n")[0]}catch{}return null}function O(a){let b=(0,e.join)(i,".kimi","sessions");if(!(0,g.existsSync)(b))return null;try{for(let c of(0,g.readdirSync)(b)){let d=(0,e.join)(b,c,a,"context.jsonl");if((0,g.existsSync)(d))return d}}catch{}return null}async function P(a){(0,g.existsSync)(a)||await (0,f.mkdir)(a,{recursive:!0})}async function Q(a){let b=(0,e.join)(a,"..");await P(b)}async function R(a,b){try{let b=await (0,f.readFile)(a,"utf-8");return JSON.parse(b)}catch{return b}}async function S(a,b){await Q(a),await (0,f.writeFile)(a,JSON.stringify(b,null,2),"utf-8")}let T=new Map;function U(a,b){let c=(T.get(a)??Promise.resolve()).then(b),d=c.then(()=>{},()=>{});return T.set(a,d),d.then(()=>{T.get(a)===d&&T.delete(a)}),c}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},90265:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{DELETE:()=>A,GET:()=>x,POST:()=>y,PUT:()=>z});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(45592),w=c(25813);async function x(a){let b=a.nextUrl.searchParams.get("cwd"),c=a.nextUrl.searchParams.get("filePath");if(!b)return v.NextResponse.json({error:"cwd is required"},{status:400});try{let a=(0,w.i4)(b),d=await (0,w.JE)(a,{comments:[]});if(c){let a=d.comments.filter(a=>a.filePath===c);return v.NextResponse.json({comments:a})}return v.NextResponse.json(d)}catch(a){return console.error("Error reading comments:",a),v.NextResponse.json({error:"Failed to read comments"},{status:500})}}async function y(a){try{let{cwd:b,filePath:c,startLine:d,endLine:e,content:f,selectedText:g}=await a.json();if(!b||!c||void 0===d||void 0===e||void 0===f)return v.NextResponse.json({error:"cwd, filePath, startLine, endLine, and content are required"},{status:400});let h=(0,w.i4)(b),i=await (0,w.JE)(h,{comments:[]}),j={id:`comment-${Date.now()}-${Math.random().toString(36).slice(2,9)}`,filePath:c,startLine:d,endLine:e,content:f,...g?{selectedText:g}:{},createdAt:Date.now()};return i.comments.push(j),await (0,w.An)(h,i),v.NextResponse.json({comment:j})}catch(a){return console.error("Error adding comment:",a),v.NextResponse.json({error:"Failed to add comment"},{status:500})}}async function z(a){try{let{cwd:b,id:c,content:d}=await a.json();if(!b||!c||void 0===d)return v.NextResponse.json({error:"cwd, id, and content are required"},{status:400});let e=(0,w.i4)(b),f=await (0,w.JE)(e,{comments:[]}),g=f.comments.findIndex(a=>a.id===c);if(-1===g)return v.NextResponse.json({error:"Comment not found"},{status:404});return f.comments[g]={...f.comments[g],content:d,updatedAt:Date.now()},await (0,w.An)(e,f),v.NextResponse.json({comment:f.comments[g]})}catch(a){return console.error("Error updating comment:",a),v.NextResponse.json({error:"Failed to update comment"},{status:500})}}async function A(a){let b=a.nextUrl.searchParams.get("cwd"),c=a.nextUrl.searchParams.get("id"),d=a.nextUrl.searchParams.get("all");if(!b)return v.NextResponse.json({error:"cwd is required"},{status:400});try{let a=(0,w.i4)(b);if("true"===d)return await (0,w.An)(a,{comments:[]}),v.NextResponse.json({success:!0});if(!c)return v.NextResponse.json({error:"id is required"},{status:400});let e=await (0,w.JE)(a,{comments:[]}),f=e.comments.findIndex(a=>a.id===c);if(-1===f)return v.NextResponse.json({error:"Comment not found"},{status:404});return e.comments.splice(f,1),await (0,w.An)(a,e),v.NextResponse.json({success:!0})}catch(a){return console.error("Error deleting comment:",a),v.NextResponse.json({error:"Failed to delete comment"},{status:500})}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/comments/route",pathname:"/api/comments",filename:"route",bundlePath:"app/api/comments/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/comments/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){B.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/comments/route";"/index"===d&&(d="/");let e=await B.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(z.dynamicRoutes[H]||z.routes[E]),J=async()=>((null==A?void 0:A.render404)?await A.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!z.routes[E],b=z.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||B.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===B.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>B.onRequestError(a,b,d,e,A)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>B.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813],()=>b(b.s=90265));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=7128,a.ids=[7128],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{"use strict";a.exports=require("os")},25813:(a,b,c)=>{"use strict";c.d(b,{$A:()=>I,A0:()=>S,An:()=>V,BF:()=>E,Ct:()=>M,Eu:()=>D,Ex:()=>s,JE:()=>U,JY:()=>H,Ki:()=>y,Kk:()=>N,Kv:()=>j,LN:()=>k,Mx:()=>z,O0:()=>x,Sr:()=>F,Tb:()=>q,Ux:()=>X,Wd:()=>T,aO:()=>m,at:()=>w,ec:()=>n,eg:()=>Q,h9:()=>v,i4:()=>C,iK:()=>o,iy:()=>L,lq:()=>B,ls:()=>G,mT:()=>u,oK:()=>K,oZ:()=>O,of:()=>A,po:()=>J,tP:()=>p,th:()=>t,v4:()=>l,vI:()=>R,yw:()=>P});var d=c(21820),e=c(33873),f=c(79748),g=c(29021),h=c(79646);let i=(0,d.homedir)(),j=(0,e.join)(i,".cockpit"),k=(0,e.join)(j,"projects"),l=(0,e.join)(j,"state.json"),m=(0,e.join)(j,"pinned-sessions.json"),n=(0,e.join)(j,"note.md"),o=(0,e.join)(j,"scheduled-tasks.json"),p=(0,e.join)(j,"settings.json"),q=(0,e.join)(j,"review"),r=(0,e.join)(q,"_signal");function s(){try{(0,g.existsSync)(q)||(0,g.mkdirSync)(q,{recursive:!0}),(0,g.writeFileSync)(r,Date.now().toString())}catch{}}let t=(0,e.join)(i,".claude"),u=(0,e.join)(t,"projects"),v=(0,e.join)(i,".claude2"),w=(0,e.join)(v,"projects");function x(a){return a.replace(/[/.]/g,"-")}function y(a){return(0,e.join)(k,x(a))}function z(a){return(0,e.join)(y(a),"session.json")}function A(a){return(0,e.join)(y(a),"recent-files.json")}function B(a){return(0,e.join)(y(a),"expanded-paths.json")}function C(a){return(0,e.join)(y(a),"comments.json")}function D(a){return(0,e.join)(y(a),"services.json")}function E(a){return(0,e.join)(y(a),"note.md")}function F(a,b){return(0,e.join)(y(a),`terminal-history-${b}.jsonl`)}function G(a,b){return(0,e.join)(y(a),`terminal-output-${b}.txt`)}function H(a,b){let c=b?`terminal-env-${b}.json`:"terminal-env-global.json";return(0,e.join)(y(a),c)}function I(){return(0,e.join)(j,"terminal-aliases.json")}function J(){return(0,e.join)(j,"services.json")}function K(a){return(0,e.join)(y(a),"project-settings.json")}function L(a,b){return(0,e.join)(y(a),`terminal-bubble-order-${b}.json`)}function M(a){return(0,e.join)(q,`${a}.json`)}function N(a,b){return(0,e.join)((0,e.join)(u,x(a)),`${b}.jsonl`)}function O(a,b){return(0,e.join)((0,e.join)(w,x(a)),`${b}.jsonl`)}function P(a,b){return(0,e.join)((0,e.join)(j,"ollama-sessions",x(a)),`${b}.jsonl`)}function Q(a){let b=(0,e.join)(i,".codex","sessions");if(!(0,g.existsSync)(b))return null;try{let c=(0,h.execSync)(`find ${JSON.stringify(b)} -name "*${a}.jsonl" -type f 2>/dev/null`,{encoding:"utf8",timeout:3e3}).trim();if(c)return c.split("\n")[0]}catch{}return null}function R(a){let b=(0,e.join)(i,".kimi","sessions");if(!(0,g.existsSync)(b))return null;try{for(let c of(0,g.readdirSync)(b)){let d=(0,e.join)(b,c,a,"context.jsonl");if((0,g.existsSync)(d))return d}}catch{}return null}async function S(a){(0,g.existsSync)(a)||await (0,f.mkdir)(a,{recursive:!0})}async function T(a){let b=(0,e.join)(a,"..");await S(b)}async function U(a,b){try{let b=await (0,f.readFile)(a,"utf-8");return JSON.parse(b)}catch{return b}}async function V(a,b){await T(a),await (0,f.writeFile)(a,JSON.stringify(b,null,2),"utf-8")}let W=new Map;function X(a,b){let c=(W.get(a)??Promise.resolve()).then(b),d=c.then(()=>{},()=>{});return W.set(a,d),d.then(()=>{W.get(a)===d&&W.delete(a)}),c}},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},90265:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{DELETE:()=>A,GET:()=>x,POST:()=>y,PUT:()=>z});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(45592),w=c(25813);async function x(a){let b=a.nextUrl.searchParams.get("cwd"),c=a.nextUrl.searchParams.get("filePath");if(!b)return v.NextResponse.json({error:"cwd is required"},{status:400});try{let a=(0,w.i4)(b),d=await (0,w.JE)(a,{comments:[]});if(c){let a=d.comments.filter(a=>a.filePath===c);return v.NextResponse.json({comments:a})}return v.NextResponse.json(d)}catch(a){return console.error("Error reading comments:",a),v.NextResponse.json({error:"Failed to read comments"},{status:500})}}async function y(a){try{let{cwd:b,filePath:c,startLine:d,endLine:e,content:f,selectedText:g}=await a.json();if(!b||!c||void 0===d||void 0===e||void 0===f)return v.NextResponse.json({error:"cwd, filePath, startLine, endLine, and content are required"},{status:400});let h=(0,w.i4)(b),i=await (0,w.JE)(h,{comments:[]}),j={id:`comment-${Date.now()}-${Math.random().toString(36).slice(2,9)}`,filePath:c,startLine:d,endLine:e,content:f,...g?{selectedText:g}:{},createdAt:Date.now()};return i.comments.push(j),await (0,w.An)(h,i),v.NextResponse.json({comment:j})}catch(a){return console.error("Error adding comment:",a),v.NextResponse.json({error:"Failed to add comment"},{status:500})}}async function z(a){try{let{cwd:b,id:c,content:d}=await a.json();if(!b||!c||void 0===d)return v.NextResponse.json({error:"cwd, id, and content are required"},{status:400});let e=(0,w.i4)(b),f=await (0,w.JE)(e,{comments:[]}),g=f.comments.findIndex(a=>a.id===c);if(-1===g)return v.NextResponse.json({error:"Comment not found"},{status:404});return f.comments[g]={...f.comments[g],content:d,updatedAt:Date.now()},await (0,w.An)(e,f),v.NextResponse.json({comment:f.comments[g]})}catch(a){return console.error("Error updating comment:",a),v.NextResponse.json({error:"Failed to update comment"},{status:500})}}async function A(a){let b=a.nextUrl.searchParams.get("cwd"),c=a.nextUrl.searchParams.get("id"),d=a.nextUrl.searchParams.get("all");if(!b)return v.NextResponse.json({error:"cwd is required"},{status:400});try{let a=(0,w.i4)(b);if("true"===d)return await (0,w.An)(a,{comments:[]}),v.NextResponse.json({success:!0});if(!c)return v.NextResponse.json({error:"id is required"},{status:400});let e=await (0,w.JE)(a,{comments:[]}),f=e.comments.findIndex(a=>a.id===c);if(-1===f)return v.NextResponse.json({error:"Comment not found"},{status:404});return e.comments.splice(f,1),await (0,w.An)(a,e),v.NextResponse.json({success:!0})}catch(a){return console.error("Error deleting comment:",a),v.NextResponse.json({error:"Failed to delete comment"},{status:500})}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/comments/route",pathname:"/api/comments",filename:"route",bundlePath:"app/api/comments/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/comments/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){B.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/comments/route";"/index"===d&&(d="/");let e=await B.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(z.dynamicRoutes[H]||z.routes[E]),J=async()=>((null==A?void 0:A.render404)?await A.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!z.routes[E],b=z.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||B.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===B.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>B.onRequestError(a,b,d,e,A)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>B.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,A),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813],()=>b(b.s=90265));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/comments/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"89010","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/comments/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1874":{"*":{"id":"1482","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"89010","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"33932","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"14024","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"76646","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"54338","name":"*","chunks":[],"async":true}},"97899":{"*":{"id":"81729","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["4219","static/chunks/app/global-error-3c48d7d42c672863.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/shared/Providers.tsx":{"id":83599,"name":"*","chunks":["9114","static/chunks/9114-abef8471519b7dee.js","3530","static/chunks/3530-6d8abfd0e950d439.js","7177","static/chunks/app/layout-44210aade5d56585.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/EmptyState.tsx":{"id":1874,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectItem.tsx":{"id":65438,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/ProjectSidebar.tsx":{"id":80475,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/workspace/Workspace.tsx":{"id":4189,"name":"*","chunks":["5004","static/chunks/70e0d97a-6903b8594c742784.js","277","static/chunks/54a60aa6-f60235f3d6b54466.js","9114","static/chunks/9114-abef8471519b7dee.js","3695","static/chunks/3695-f14fb3e48483755c.js","3530","static/chunks/3530-6d8abfd0e950d439.js","5493","static/chunks/5493-83d6a5ec42d6cbb3.js","8974","static/chunks/app/page-cc2b332242bc2c93.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/components/review/ReviewPage.tsx":{"id":97899,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/src/components/project/TabManager.tsx":{"id":97484,"name":"*","chunks":[],"async":true}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/bbd65867698c479b.css"}],"/home/runner/work/cockpit/cockpit/src/app/page":[],"/home/runner/work/cockpit/cockpit/src/app/api/comments/route":[]},"rscModuleMapping":{"1874":{"*":{"id":"41824","name":"*","chunks":[],"async":false}},"4189":{"*":{"id":"51675","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65438":{"*":{"id":"49090","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80475":{"*":{"id":"43647","name":"*","chunks":[],"async":false}},"83599":{"*":{"id":"87020","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"97484":{"*":{"id":"38476","name":"*","chunks":[],"async":false}},"97899":{"*":{"id":"79436","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|