@surething/cockpit 1.0.197 → 1.0.198
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 +10 -7
- package/.next-prod/build-manifest.json +3 -3
- package/.next-prod/diagnostics/build-diagnostics.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/react-loadable-manifest.json +85 -32
- package/.next-prod/required-server-files.js +74 -1
- package/.next-prod/required-server-files.json +74 -1
- package/.next-prod/routes-manifest.json +18 -0
- package/.next-prod/server/app/_global-error/page.js +3 -3
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- 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.js +2 -2
- package/.next-prod/server/app/_not-found/page.js.nft.json +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 +3 -3
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
- 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.js +1 -1
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +13 -13
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +2 -2
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +13 -13
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +50 -36
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +2 -2
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/export/route.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/query/route.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/extension/version/route.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/file/route.js +1 -1
- package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/blame/route.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/copy/route.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/delete/route.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/index/route.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/paste/route.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/read/route.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/save/route.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/search/route.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/stat/route.js +1 -1
- package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/text/route.js +1 -1
- package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branches/route.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commits/route.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/diff/route.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/discard/route.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/stage/route.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/status/route.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/global-state/route.js +1 -1
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/load/route.js +1 -1
- package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/save/route.js +1 -1
- package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -0
- package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projectGraph/file/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -0
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projectGraph/file-functions/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -0
- package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projectGraph/search/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/identify/route.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/order/route.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/route.js +1 -1
- package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/users/route.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +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.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/route.js +1 -1
- package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/content/route.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/route.js +1 -1
- package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +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.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/version/route.js +1 -1
- package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/favicon.ico/route.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
- package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next-prod/server/app/page.js +17 -15
- package/.next-prod/server/app/page.js.nft.json +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +20 -17
- package/.next-prod/server/app/project/page.js.nft.json +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js +2 -2
- package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +10 -7
- package/.next-prod/server/chunks/2491.js +1 -0
- package/.next-prod/server/chunks/3269.js +1 -1
- package/.next-prod/server/chunks/3353.js +1 -1
- package/.next-prod/server/chunks/3863.js +1 -1
- package/.next-prod/server/chunks/4098.js +1 -1
- package/.next-prod/server/chunks/4490.js +1 -1
- package/.next-prod/server/chunks/4793.js +1 -1
- package/.next-prod/server/chunks/4796.js +4 -0
- package/.next-prod/server/chunks/5394.js +1 -1
- package/.next-prod/server/chunks/6043.js +1 -1
- package/.next-prod/server/chunks/7514.js +1 -1
- package/.next-prod/server/chunks/8491.js +2 -2
- package/.next-prod/server/chunks/9298.js +2 -2
- package/.next-prod/server/chunks/static/media/web-tree-sitter.f7f7244f.wasm +0 -0
- package/.next-prod/server/functions-config-manifest.json +3 -0
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/middleware-react-loadable-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/server/webpack-runtime.js +1 -1
- package/.next-prod/static/chunks/1142.8248bfb76c695146.js +1 -0
- package/.next-prod/static/chunks/1410.276ad7bf15452d27.js +1 -0
- package/.next-prod/static/chunks/1456.217c3832b3e76b7f.js +1 -0
- package/.next-prod/static/chunks/1705-a6a68dffe3e7737f.js +4 -0
- package/.next-prod/static/chunks/194.76dbdc07cdc2311d.js +1 -0
- package/.next-prod/static/chunks/2278.0b14de1cb2041bfd.js +1 -0
- package/.next-prod/static/chunks/2839.c9a657d5b4031a19.js +1 -0
- package/.next-prod/static/chunks/3526.2d446315a022bc48.js +1 -0
- package/.next-prod/static/chunks/3530-fc8a5ada5a6dc865.js +14 -0
- package/.next-prod/static/chunks/{3579-2dddc4a9ac5a5b31.js → 3579-51f0ad7204c67e22.js} +1 -1
- package/.next-prod/static/chunks/3633.17e30dbc99941b40.js +1 -0
- package/.next-prod/static/chunks/3643-fe2ac2f1accd0649.js +1 -0
- package/.next-prod/static/chunks/3743-1f5d8cfd9d92ad97.js +4 -0
- package/.next-prod/static/chunks/3942.085da8d58242eeab.js +1 -0
- package/.next-prod/static/chunks/4174.b6ff75dd91a2a32e.js +1 -0
- package/.next-prod/static/chunks/4186-2bbbcdf03b3c15f5.js +17 -0
- package/.next-prod/static/chunks/4357.3fe2cd657f69ff7b.js +1 -0
- package/.next-prod/static/chunks/4358.f89b14cf7a988731.js +1 -0
- package/.next-prod/static/chunks/4567.7dc81a6e1c7df565.js +1 -0
- package/.next-prod/static/chunks/4659.0b14de1cb2041bfd.js +1 -0
- package/.next-prod/static/chunks/480.60af76ef919bafc9.js +1 -0
- package/.next-prod/static/chunks/5005.73745d7fcae6989e.js +1 -0
- package/.next-prod/static/chunks/5320.50f81e2e2f74ba52.js +1 -0
- package/.next-prod/static/chunks/54a60aa6-9f9f856e5049cd65.js +82 -0
- package/.next-prod/static/chunks/5645.0b86853ae26d9ee3.js +1 -0
- package/.next-prod/static/chunks/{5922.0d75c174139a59a4.js → 5922.ce56021f8cc6ebbc.js} +1 -1
- package/.next-prod/static/chunks/6358.8c64eb45ea2b4418.js +1 -0
- package/.next-prod/static/chunks/{6729.0f91dcaaaffa2ed4.js → 6729.77a5381ac8f5c9ae.js} +1 -1
- package/.next-prod/static/chunks/{700.642136ad4fbe16ca.js → 700.b97255576133e9ca.js} +1 -1
- package/.next-prod/static/chunks/7040.0b14de1cb2041bfd.js +1 -0
- package/.next-prod/static/chunks/{70e0d97a-6903b8594c742784.js → 70e0d97a-bbb0ec05083da54f.js} +1 -1
- package/.next-prod/static/chunks/7113.39704408fef3d26e.js +1 -0
- package/.next-prod/static/chunks/7799.40b047a634f96a24.js +1 -0
- package/.next-prod/static/chunks/7884.390ae2efbbf230c4.js +1 -0
- package/.next-prod/static/chunks/816.f909c891b91aa79f.js +1 -0
- package/.next-prod/static/chunks/8243.1450514f8390977e.js +1 -0
- package/.next-prod/static/chunks/8288.9bd1d26060cb00a1.js +1 -0
- package/.next-prod/static/chunks/8318.81c7ac586fcbb728.js +1 -0
- package/.next-prod/static/chunks/862.fe3b86ecfb9c0716.js +1 -0
- package/.next-prod/static/chunks/8848.1e41678a18f85af6.js +1 -0
- package/.next-prod/static/chunks/8977.01b9c429327004e9.js +1 -0
- package/.next-prod/static/chunks/9005.33cf91e617920d4f.js +1 -0
- package/.next-prod/static/chunks/{9114-abef8471519b7dee.js → 9114-0d2717c9c2752d0f.js} +1 -1
- package/.next-prod/static/chunks/{9220.0206dd0432eca784.js → 9220.bc767ebb5adb9f49.js} +1 -1
- package/.next-prod/static/chunks/968.237f19aca13543fe.js +1 -0
- package/.next-prod/static/chunks/app/_global-error/page-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/load/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/save/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/app/page-c9a30c88afc0a0c5.js +1 -0
- package/.next-prod/static/chunks/app/project/page-cf0d2dc22fe0e7ec.js +29 -0
- package/.next-prod/static/chunks/app/review/[id]/{page-feeb4d9d472b00ab.js → page-f8bb4748e9a94a0f.js} +1 -1
- package/.next-prod/static/chunks/d3ac728e-ee038320ef1e4bdf.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-7975a2b8c7d0b214.js +1 -0
- package/.next-prod/static/chunks/webpack-189b823e597db3a4.js +1 -0
- package/.next-prod/static/css/52b314bf20332f7c.css +1 -0
- package/.next-prod/static/css/de4a1a4297dcf755.css +1 -0
- package/.next-prod/static/eqVRf-W4m2tYF1VSzMIDY/_buildManifest.js +1 -0
- package/.next-prod/static/media/web-tree-sitter.f7f7244f.wasm +0 -0
- package/.next-prod/trace +12 -12
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/projectGraph/file/route.ts +351 -0
- package/.next-prod/types/app/api/projectGraph/file-functions/route.ts +351 -0
- package/.next-prod/types/app/api/projectGraph/search/route.ts +351 -0
- package/.next-prod/types/routes.d.ts +4 -1
- package/.next-prod/types/validator.ts +27 -0
- package/bin/postinstall.mjs +11 -0
- package/dist/{chunk-J6PMXUI4.mjs → chunk-5NL2LMKP.mjs} +2 -2
- package/dist/scheduledTasks.mjs +47 -25
- package/dist/wsServer.mjs +31 -24
- package/next.config.mjs +48 -1
- package/package.json +15 -3
- package/public/tree-sitter/tree-sitter-go.wasm +0 -0
- package/public/tree-sitter/tree-sitter-javascript.wasm +0 -0
- package/public/tree-sitter/tree-sitter-python.wasm +0 -0
- package/public/tree-sitter/tree-sitter-rust.wasm +0 -0
- package/public/tree-sitter/tree-sitter-tsx.wasm +0 -0
- package/public/tree-sitter/tree-sitter-typescript.wasm +0 -0
- package/public/tree-sitter/web-tree-sitter.wasm +0 -0
- package/.next-prod/server/chunks/700.js +0 -1
- package/.next-prod/static/NaXs216rAk1OT3eFxc2qt/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/1142.17e45d200709420d.js +0 -1
- package/.next-prod/static/chunks/1456.a1f849b334fff0da.js +0 -1
- package/.next-prod/static/chunks/194.dace825a3ddbbbff.js +0 -1
- package/.next-prod/static/chunks/2839.a832cb0d77a9d298.js +0 -1
- package/.next-prod/static/chunks/3530-74191451ec2a46c4.js +0 -14
- package/.next-prod/static/chunks/3695-9503d0b646958dd4.js +0 -18
- package/.next-prod/static/chunks/3700-e32aa43691d128b2.js +0 -1
- package/.next-prod/static/chunks/3743-5e5ffaf674977450.js +0 -4
- package/.next-prod/static/chunks/3942.00e2e29e2d62b039.js +0 -1
- package/.next-prod/static/chunks/4174.9e84de8f8816fe01.js +0 -1
- package/.next-prod/static/chunks/4357.05060a5a3fea9ff1.js +0 -1
- package/.next-prod/static/chunks/4358.f15dd467571f7594.js +0 -1
- package/.next-prod/static/chunks/4567.d405b50b917bd2c2.js +0 -1
- package/.next-prod/static/chunks/4659.b8e05ba7cbf46556.js +0 -1
- package/.next-prod/static/chunks/5005.cf839e066f3d3efe.js +0 -1
- package/.next-prod/static/chunks/5320.191be461ff110fb3.js +0 -1
- package/.next-prod/static/chunks/54a60aa6-1a0e6738c5ca0c78.js +0 -79
- package/.next-prod/static/chunks/5645.9002948124d25d41.js +0 -1
- package/.next-prod/static/chunks/6148-ceb1b58ea7be6767.js +0 -1
- package/.next-prod/static/chunks/7040.b8e05ba7cbf46556.js +0 -1
- package/.next-prod/static/chunks/7113.86e40b60c804b8c5.js +0 -1
- package/.next-prod/static/chunks/7799.f90cda9aba4e0e77.js +0 -1
- package/.next-prod/static/chunks/7884.79af1a2f4511cea5.js +0 -1
- package/.next-prod/static/chunks/816.ccc7dc455fcaf7c0.js +0 -1
- package/.next-prod/static/chunks/8243.aa3ccfb41335eb1f.js +0 -1
- package/.next-prod/static/chunks/8288.8ff86c6a3bee6b7c.js +0 -1
- package/.next-prod/static/chunks/8318.a70d7a81445f8cf9.js +0 -1
- package/.next-prod/static/chunks/862.7cd3197e1ba5fd00.js +0 -1
- package/.next-prod/static/chunks/8848.b0a10ee0b0a2b91b.js +0 -1
- package/.next-prod/static/chunks/9005.473ce947d16e7f65.js +0 -1
- package/.next-prod/static/chunks/968.29d4ba7ee8bd5ccb.js +0 -1
- package/.next-prod/static/chunks/app/_global-error/page-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/load/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/save/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/app/page-95c3cb3c5c7c5ef1.js +0 -1
- package/.next-prod/static/chunks/app/project/page-3a148e22b1d92a17.js +0 -29
- package/.next-prod/static/chunks/d3ac728e-ba6c269aebe5932e.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-aa58df485295770f.js +0 -1
- package/.next-prod/static/chunks/webpack-c669c0003eb75661.js +0 -1
- package/.next-prod/static/css/18aae55f9fdae00a.css +0 -1
- package/.next-prod/static/css/2163ab5e45fedc6a.css +0 -1
- /package/.next-prod/static/{NaXs216rAk1OT3eFxc2qt → eqVRf-W4m2tYF1VSzMIDY}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
// File: /home/runner/work/cockpit/cockpit/src/app/api/projectGraph/search/route.ts
|
|
2
|
+
import * as entry from '../../../../../../src/app/api/projectGraph/search/route.js'
|
|
3
|
+
import type { NextRequest } from 'next/server.js'
|
|
4
|
+
|
|
5
|
+
import type { InstantConfigForTypeCheckInternal } from 'next/dist/build/segment-config/app/app-segment-config.js'
|
|
6
|
+
|
|
7
|
+
type TEntry = typeof import('../../../../../../src/app/api/projectGraph/search/route.js')
|
|
8
|
+
|
|
9
|
+
type SegmentParams<T extends Object = any> = T extends Record<string, any>
|
|
10
|
+
? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
|
|
11
|
+
: T
|
|
12
|
+
|
|
13
|
+
// Check that the entry is a valid entry
|
|
14
|
+
checkFields<Diff<{
|
|
15
|
+
GET?: Function
|
|
16
|
+
HEAD?: Function
|
|
17
|
+
OPTIONS?: Function
|
|
18
|
+
POST?: Function
|
|
19
|
+
PUT?: Function
|
|
20
|
+
DELETE?: Function
|
|
21
|
+
PATCH?: Function
|
|
22
|
+
config?: {}
|
|
23
|
+
generateStaticParams?: Function
|
|
24
|
+
unstable_instant?: InstantConfigForTypeCheckInternal
|
|
25
|
+
unstable_dynamicStaleTime?: number
|
|
26
|
+
revalidate?: RevalidateRange<TEntry> | false
|
|
27
|
+
dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
|
|
28
|
+
dynamicParams?: boolean
|
|
29
|
+
fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
|
|
30
|
+
preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
|
|
31
|
+
runtime?: 'nodejs' | 'experimental-edge' | 'edge'
|
|
32
|
+
maxDuration?: number
|
|
33
|
+
|
|
34
|
+
}, TEntry, ''>>()
|
|
35
|
+
|
|
36
|
+
type RouteContext = { params: Promise<SegmentParams> }
|
|
37
|
+
// Check the prop type of the entry function
|
|
38
|
+
if ('GET' in entry) {
|
|
39
|
+
checkFields<
|
|
40
|
+
Diff<
|
|
41
|
+
ParamCheck<Request | NextRequest>,
|
|
42
|
+
{
|
|
43
|
+
__tag__: 'GET'
|
|
44
|
+
__param_position__: 'first'
|
|
45
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'GET'>>
|
|
46
|
+
},
|
|
47
|
+
'GET'
|
|
48
|
+
>
|
|
49
|
+
>()
|
|
50
|
+
checkFields<
|
|
51
|
+
Diff<
|
|
52
|
+
ParamCheck<RouteContext>,
|
|
53
|
+
{
|
|
54
|
+
__tag__: 'GET'
|
|
55
|
+
__param_position__: 'second'
|
|
56
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'GET'>>
|
|
57
|
+
},
|
|
58
|
+
'GET'
|
|
59
|
+
>
|
|
60
|
+
>()
|
|
61
|
+
|
|
62
|
+
checkFields<
|
|
63
|
+
Diff<
|
|
64
|
+
{
|
|
65
|
+
__tag__: 'GET',
|
|
66
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
__tag__: 'GET',
|
|
70
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'GET'>>
|
|
71
|
+
},
|
|
72
|
+
'GET'
|
|
73
|
+
>
|
|
74
|
+
>()
|
|
75
|
+
}
|
|
76
|
+
// Check the prop type of the entry function
|
|
77
|
+
if ('HEAD' in entry) {
|
|
78
|
+
checkFields<
|
|
79
|
+
Diff<
|
|
80
|
+
ParamCheck<Request | NextRequest>,
|
|
81
|
+
{
|
|
82
|
+
__tag__: 'HEAD'
|
|
83
|
+
__param_position__: 'first'
|
|
84
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'HEAD'>>
|
|
85
|
+
},
|
|
86
|
+
'HEAD'
|
|
87
|
+
>
|
|
88
|
+
>()
|
|
89
|
+
checkFields<
|
|
90
|
+
Diff<
|
|
91
|
+
ParamCheck<RouteContext>,
|
|
92
|
+
{
|
|
93
|
+
__tag__: 'HEAD'
|
|
94
|
+
__param_position__: 'second'
|
|
95
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'HEAD'>>
|
|
96
|
+
},
|
|
97
|
+
'HEAD'
|
|
98
|
+
>
|
|
99
|
+
>()
|
|
100
|
+
|
|
101
|
+
checkFields<
|
|
102
|
+
Diff<
|
|
103
|
+
{
|
|
104
|
+
__tag__: 'HEAD',
|
|
105
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
__tag__: 'HEAD',
|
|
109
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'HEAD'>>
|
|
110
|
+
},
|
|
111
|
+
'HEAD'
|
|
112
|
+
>
|
|
113
|
+
>()
|
|
114
|
+
}
|
|
115
|
+
// Check the prop type of the entry function
|
|
116
|
+
if ('OPTIONS' in entry) {
|
|
117
|
+
checkFields<
|
|
118
|
+
Diff<
|
|
119
|
+
ParamCheck<Request | NextRequest>,
|
|
120
|
+
{
|
|
121
|
+
__tag__: 'OPTIONS'
|
|
122
|
+
__param_position__: 'first'
|
|
123
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'OPTIONS'>>
|
|
124
|
+
},
|
|
125
|
+
'OPTIONS'
|
|
126
|
+
>
|
|
127
|
+
>()
|
|
128
|
+
checkFields<
|
|
129
|
+
Diff<
|
|
130
|
+
ParamCheck<RouteContext>,
|
|
131
|
+
{
|
|
132
|
+
__tag__: 'OPTIONS'
|
|
133
|
+
__param_position__: 'second'
|
|
134
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'OPTIONS'>>
|
|
135
|
+
},
|
|
136
|
+
'OPTIONS'
|
|
137
|
+
>
|
|
138
|
+
>()
|
|
139
|
+
|
|
140
|
+
checkFields<
|
|
141
|
+
Diff<
|
|
142
|
+
{
|
|
143
|
+
__tag__: 'OPTIONS',
|
|
144
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
__tag__: 'OPTIONS',
|
|
148
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'OPTIONS'>>
|
|
149
|
+
},
|
|
150
|
+
'OPTIONS'
|
|
151
|
+
>
|
|
152
|
+
>()
|
|
153
|
+
}
|
|
154
|
+
// Check the prop type of the entry function
|
|
155
|
+
if ('POST' in entry) {
|
|
156
|
+
checkFields<
|
|
157
|
+
Diff<
|
|
158
|
+
ParamCheck<Request | NextRequest>,
|
|
159
|
+
{
|
|
160
|
+
__tag__: 'POST'
|
|
161
|
+
__param_position__: 'first'
|
|
162
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'POST'>>
|
|
163
|
+
},
|
|
164
|
+
'POST'
|
|
165
|
+
>
|
|
166
|
+
>()
|
|
167
|
+
checkFields<
|
|
168
|
+
Diff<
|
|
169
|
+
ParamCheck<RouteContext>,
|
|
170
|
+
{
|
|
171
|
+
__tag__: 'POST'
|
|
172
|
+
__param_position__: 'second'
|
|
173
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'POST'>>
|
|
174
|
+
},
|
|
175
|
+
'POST'
|
|
176
|
+
>
|
|
177
|
+
>()
|
|
178
|
+
|
|
179
|
+
checkFields<
|
|
180
|
+
Diff<
|
|
181
|
+
{
|
|
182
|
+
__tag__: 'POST',
|
|
183
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
__tag__: 'POST',
|
|
187
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'POST'>>
|
|
188
|
+
},
|
|
189
|
+
'POST'
|
|
190
|
+
>
|
|
191
|
+
>()
|
|
192
|
+
}
|
|
193
|
+
// Check the prop type of the entry function
|
|
194
|
+
if ('PUT' in entry) {
|
|
195
|
+
checkFields<
|
|
196
|
+
Diff<
|
|
197
|
+
ParamCheck<Request | NextRequest>,
|
|
198
|
+
{
|
|
199
|
+
__tag__: 'PUT'
|
|
200
|
+
__param_position__: 'first'
|
|
201
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'PUT'>>
|
|
202
|
+
},
|
|
203
|
+
'PUT'
|
|
204
|
+
>
|
|
205
|
+
>()
|
|
206
|
+
checkFields<
|
|
207
|
+
Diff<
|
|
208
|
+
ParamCheck<RouteContext>,
|
|
209
|
+
{
|
|
210
|
+
__tag__: 'PUT'
|
|
211
|
+
__param_position__: 'second'
|
|
212
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'PUT'>>
|
|
213
|
+
},
|
|
214
|
+
'PUT'
|
|
215
|
+
>
|
|
216
|
+
>()
|
|
217
|
+
|
|
218
|
+
checkFields<
|
|
219
|
+
Diff<
|
|
220
|
+
{
|
|
221
|
+
__tag__: 'PUT',
|
|
222
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
__tag__: 'PUT',
|
|
226
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'PUT'>>
|
|
227
|
+
},
|
|
228
|
+
'PUT'
|
|
229
|
+
>
|
|
230
|
+
>()
|
|
231
|
+
}
|
|
232
|
+
// Check the prop type of the entry function
|
|
233
|
+
if ('DELETE' in entry) {
|
|
234
|
+
checkFields<
|
|
235
|
+
Diff<
|
|
236
|
+
ParamCheck<Request | NextRequest>,
|
|
237
|
+
{
|
|
238
|
+
__tag__: 'DELETE'
|
|
239
|
+
__param_position__: 'first'
|
|
240
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'DELETE'>>
|
|
241
|
+
},
|
|
242
|
+
'DELETE'
|
|
243
|
+
>
|
|
244
|
+
>()
|
|
245
|
+
checkFields<
|
|
246
|
+
Diff<
|
|
247
|
+
ParamCheck<RouteContext>,
|
|
248
|
+
{
|
|
249
|
+
__tag__: 'DELETE'
|
|
250
|
+
__param_position__: 'second'
|
|
251
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'DELETE'>>
|
|
252
|
+
},
|
|
253
|
+
'DELETE'
|
|
254
|
+
>
|
|
255
|
+
>()
|
|
256
|
+
|
|
257
|
+
checkFields<
|
|
258
|
+
Diff<
|
|
259
|
+
{
|
|
260
|
+
__tag__: 'DELETE',
|
|
261
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
__tag__: 'DELETE',
|
|
265
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'DELETE'>>
|
|
266
|
+
},
|
|
267
|
+
'DELETE'
|
|
268
|
+
>
|
|
269
|
+
>()
|
|
270
|
+
}
|
|
271
|
+
// Check the prop type of the entry function
|
|
272
|
+
if ('PATCH' in entry) {
|
|
273
|
+
checkFields<
|
|
274
|
+
Diff<
|
|
275
|
+
ParamCheck<Request | NextRequest>,
|
|
276
|
+
{
|
|
277
|
+
__tag__: 'PATCH'
|
|
278
|
+
__param_position__: 'first'
|
|
279
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'PATCH'>>
|
|
280
|
+
},
|
|
281
|
+
'PATCH'
|
|
282
|
+
>
|
|
283
|
+
>()
|
|
284
|
+
checkFields<
|
|
285
|
+
Diff<
|
|
286
|
+
ParamCheck<RouteContext>,
|
|
287
|
+
{
|
|
288
|
+
__tag__: 'PATCH'
|
|
289
|
+
__param_position__: 'second'
|
|
290
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'PATCH'>>
|
|
291
|
+
},
|
|
292
|
+
'PATCH'
|
|
293
|
+
>
|
|
294
|
+
>()
|
|
295
|
+
|
|
296
|
+
checkFields<
|
|
297
|
+
Diff<
|
|
298
|
+
{
|
|
299
|
+
__tag__: 'PATCH',
|
|
300
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
__tag__: 'PATCH',
|
|
304
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'PATCH'>>
|
|
305
|
+
},
|
|
306
|
+
'PATCH'
|
|
307
|
+
>
|
|
308
|
+
>()
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// Check the arguments and return type of the generateStaticParams function
|
|
312
|
+
if ('generateStaticParams' in entry) {
|
|
313
|
+
checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
|
|
314
|
+
checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export interface PageProps {
|
|
318
|
+
params?: Promise<SegmentParams>
|
|
319
|
+
searchParams?: Promise<any>
|
|
320
|
+
}
|
|
321
|
+
export interface LayoutProps {
|
|
322
|
+
children?: React.ReactNode
|
|
323
|
+
|
|
324
|
+
params?: Promise<SegmentParams>
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// =============
|
|
328
|
+
// Utility types
|
|
329
|
+
type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
|
|
330
|
+
|
|
331
|
+
// If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
|
|
332
|
+
type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
|
|
333
|
+
type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
|
|
334
|
+
|
|
335
|
+
type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
|
|
336
|
+
type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
|
|
337
|
+
type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
|
|
338
|
+
|
|
339
|
+
type ParamCheck<T> = {
|
|
340
|
+
__tag__: string
|
|
341
|
+
__param_position__: string
|
|
342
|
+
__param_type__: T
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
function checkFields<_ extends { [k in keyof any]: never }>() {}
|
|
346
|
+
|
|
347
|
+
// https://github.com/sindresorhus/type-fest
|
|
348
|
+
type Numeric = number | bigint
|
|
349
|
+
type Zero = 0 | 0n
|
|
350
|
+
type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
|
|
351
|
+
type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Do not edit this file manually
|
|
3
3
|
|
|
4
4
|
type AppRoutes = "/" | "/project" | "/review/[id]"
|
|
5
|
-
type AppRouteHandlerRoutes = "/api/bash" | "/api/chat" | "/api/chat/codex" | "/api/chat/deepseek" | "/api/chat/kimi" | "/api/chat/ollama" | "/api/claude-stats" | "/api/commands" | "/api/comments" | "/api/db/columns" | "/api/db/connect" | "/api/db/disconnect" | "/api/db/export" | "/api/db/query" | "/api/db/schemas" | "/api/extension/version" | "/api/file" | "/api/files/blame" | "/api/files/clipboard" | "/api/files/copy" | "/api/files/delete" | "/api/files/expanded" | "/api/files/index" | "/api/files/init" | "/api/files/paste" | "/api/files/read" | "/api/files/readdir" | "/api/files/recent" | "/api/files/save" | "/api/files/search" | "/api/files/stat" | "/api/files/text" | "/api/git/branch-diff" | "/api/git/branches" | "/api/git/commit-diff" | "/api/git/commits" | "/api/git/diff" | "/api/git/discard" | "/api/git/stage" | "/api/git/status" | "/api/git/unstage" | "/api/git/worktree" | "/api/global-state" | "/api/jupyter/load" | "/api/jupyter/save" | "/api/jupyter/shutdown" | "/api/lsp/definition" | "/api/lsp/hover" | "/api/lsp/references" | "/api/lsp/status" | "/api/lsp/warmup" | "/api/mysql/columns" | "/api/mysql/connect" | "/api/mysql/disconnect" | "/api/mysql/export" | "/api/mysql/query" | "/api/mysql/schemas" | "/api/neo4j/connect" | "/api/neo4j/disconnect" | "/api/neo4j/query" | "/api/neo4j/schema" | "/api/note" | "/api/ollama/models" | "/api/ollama/start" | "/api/open-cursor" | "/api/open-vscode" | "/api/pick-folder" | "/api/pinned-sessions" | "/api/project-settings" | "/api/project-state" | "/api/projects" | "/api/redis/command" | "/api/redis/connect" | "/api/redis/delete" | "/api/redis/disconnect" | "/api/redis/get" | "/api/redis/keys" | "/api/redis/set" | "/api/review" | "/api/review/[id]" | "/api/review/[id]/comments" | "/api/review/[id]/replies" | "/api/review/identify" | "/api/review/order" | "/api/review/share-info" | "/api/review/users" | "/api/scheduled-tasks" | "/api/services/config" | "/api/services/scripts" | "/api/session-by-path" | "/api/session/[sessionId]/fork" | "/api/session/[sessionId]/history" | "/api/sessions" | "/api/sessions/projects" | "/api/sessions/projects/[encodedPath]" | "/api/settings" | "/api/skills" | "/api/skills/[id]" | "/api/skills/content" | "/api/terminal/aliases" | "/api/terminal/autocomplete" | "/api/terminal/bubble-order" | "/api/terminal/env" | "/api/terminal/history" | "/api/version"
|
|
5
|
+
type AppRouteHandlerRoutes = "/api/bash" | "/api/chat" | "/api/chat/codex" | "/api/chat/deepseek" | "/api/chat/kimi" | "/api/chat/ollama" | "/api/claude-stats" | "/api/commands" | "/api/comments" | "/api/db/columns" | "/api/db/connect" | "/api/db/disconnect" | "/api/db/export" | "/api/db/query" | "/api/db/schemas" | "/api/extension/version" | "/api/file" | "/api/files/blame" | "/api/files/clipboard" | "/api/files/copy" | "/api/files/delete" | "/api/files/expanded" | "/api/files/index" | "/api/files/init" | "/api/files/paste" | "/api/files/read" | "/api/files/readdir" | "/api/files/recent" | "/api/files/save" | "/api/files/search" | "/api/files/stat" | "/api/files/text" | "/api/git/branch-diff" | "/api/git/branches" | "/api/git/commit-diff" | "/api/git/commits" | "/api/git/diff" | "/api/git/discard" | "/api/git/stage" | "/api/git/status" | "/api/git/unstage" | "/api/git/worktree" | "/api/global-state" | "/api/jupyter/load" | "/api/jupyter/save" | "/api/jupyter/shutdown" | "/api/lsp/definition" | "/api/lsp/hover" | "/api/lsp/references" | "/api/lsp/status" | "/api/lsp/warmup" | "/api/mysql/columns" | "/api/mysql/connect" | "/api/mysql/disconnect" | "/api/mysql/export" | "/api/mysql/query" | "/api/mysql/schemas" | "/api/neo4j/connect" | "/api/neo4j/disconnect" | "/api/neo4j/query" | "/api/neo4j/schema" | "/api/note" | "/api/ollama/models" | "/api/ollama/start" | "/api/open-cursor" | "/api/open-vscode" | "/api/pick-folder" | "/api/pinned-sessions" | "/api/project-settings" | "/api/project-state" | "/api/projectGraph/file" | "/api/projectGraph/file-functions" | "/api/projectGraph/search" | "/api/projects" | "/api/redis/command" | "/api/redis/connect" | "/api/redis/delete" | "/api/redis/disconnect" | "/api/redis/get" | "/api/redis/keys" | "/api/redis/set" | "/api/review" | "/api/review/[id]" | "/api/review/[id]/comments" | "/api/review/[id]/replies" | "/api/review/identify" | "/api/review/order" | "/api/review/share-info" | "/api/review/users" | "/api/scheduled-tasks" | "/api/services/config" | "/api/services/scripts" | "/api/session-by-path" | "/api/session/[sessionId]/fork" | "/api/session/[sessionId]/history" | "/api/sessions" | "/api/sessions/projects" | "/api/sessions/projects/[encodedPath]" | "/api/settings" | "/api/skills" | "/api/skills/[id]" | "/api/skills/content" | "/api/terminal/aliases" | "/api/terminal/autocomplete" | "/api/terminal/bubble-order" | "/api/terminal/env" | "/api/terminal/history" | "/api/version"
|
|
6
6
|
type PageRoutes = never
|
|
7
7
|
type LayoutRoutes = "/"
|
|
8
8
|
type RedirectRoutes = never
|
|
@@ -82,6 +82,9 @@ interface ParamMap {
|
|
|
82
82
|
"/api/pinned-sessions": {}
|
|
83
83
|
"/api/project-settings": {}
|
|
84
84
|
"/api/project-state": {}
|
|
85
|
+
"/api/projectGraph/file": {}
|
|
86
|
+
"/api/projectGraph/file-functions": {}
|
|
87
|
+
"/api/projectGraph/search": {}
|
|
85
88
|
"/api/projects": {}
|
|
86
89
|
"/api/redis/command": {}
|
|
87
90
|
"/api/redis/connect": {}
|
|
@@ -704,6 +704,33 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
|
|
704
704
|
type __Unused = __Check
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
+
// Validate ../../src/app/api/projectGraph/file-functions/route.ts
|
|
708
|
+
{
|
|
709
|
+
type __IsExpected<Specific extends RouteHandlerConfig<"/api/projectGraph/file-functions">> = Specific
|
|
710
|
+
const handler = {} as typeof import("../../src/app/api/projectGraph/file-functions/route.js")
|
|
711
|
+
type __Check = __IsExpected<typeof handler>
|
|
712
|
+
// @ts-ignore
|
|
713
|
+
type __Unused = __Check
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
// Validate ../../src/app/api/projectGraph/file/route.ts
|
|
717
|
+
{
|
|
718
|
+
type __IsExpected<Specific extends RouteHandlerConfig<"/api/projectGraph/file">> = Specific
|
|
719
|
+
const handler = {} as typeof import("../../src/app/api/projectGraph/file/route.js")
|
|
720
|
+
type __Check = __IsExpected<typeof handler>
|
|
721
|
+
// @ts-ignore
|
|
722
|
+
type __Unused = __Check
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
// Validate ../../src/app/api/projectGraph/search/route.ts
|
|
726
|
+
{
|
|
727
|
+
type __IsExpected<Specific extends RouteHandlerConfig<"/api/projectGraph/search">> = Specific
|
|
728
|
+
const handler = {} as typeof import("../../src/app/api/projectGraph/search/route.js")
|
|
729
|
+
type __Check = __IsExpected<typeof handler>
|
|
730
|
+
// @ts-ignore
|
|
731
|
+
type __Unused = __Check
|
|
732
|
+
}
|
|
733
|
+
|
|
707
734
|
// Validate ../../src/app/api/projects/route.ts
|
|
708
735
|
{
|
|
709
736
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/projects">> = Specific
|
package/bin/postinstall.mjs
CHANGED
|
@@ -5,10 +5,21 @@ import { join, dirname } from 'path';
|
|
|
5
5
|
import { fileURLToPath } from 'url';
|
|
6
6
|
import { execSync } from 'child_process';
|
|
7
7
|
import { homedir } from 'os';
|
|
8
|
+
import { copyTreeSitterWasms } from '../scripts/copy-tree-sitter-wasms.mjs';
|
|
8
9
|
|
|
9
10
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
10
11
|
const projectRoot = join(__dirname, '..');
|
|
11
12
|
|
|
13
|
+
// Tree-sitter WASMs → public/tree-sitter/. Wrapped in try/catch so a
|
|
14
|
+
// missing source dir / permission issue doesn't break the rest of
|
|
15
|
+
// postinstall (the helper itself is already graceful, but importing
|
|
16
|
+
// it can still fail if scripts/ went missing somehow).
|
|
17
|
+
try {
|
|
18
|
+
copyTreeSitterWasms(projectRoot);
|
|
19
|
+
} catch (err) {
|
|
20
|
+
console.warn('[postinstall] tree-sitter WASM copy failed:', err?.message ?? err);
|
|
21
|
+
}
|
|
22
|
+
|
|
12
23
|
if (process.platform !== 'win32') {
|
|
13
24
|
// node-pty: spawn-helper 需要可执行权限
|
|
14
25
|
try {
|
|
@@ -54,7 +54,6 @@ function getOllamaSessionPath(cwd, sessionId) {
|
|
|
54
54
|
function findCodexSessionPath(threadId) {
|
|
55
55
|
const codexSessionsDir = join(HOME_DIR, ".codex", "sessions");
|
|
56
56
|
if (!existsSync(codexSessionsDir)) return null;
|
|
57
|
-
const suffix = `-${threadId}.jsonl`;
|
|
58
57
|
try {
|
|
59
58
|
const result = execSync(
|
|
60
59
|
`find ${JSON.stringify(codexSessionsDir)} -name "*${threadId}.jsonl" -type f 2>/dev/null`,
|
|
@@ -100,7 +99,8 @@ async function writeJsonFile(filePath, data) {
|
|
|
100
99
|
await ensureParentDir(filePath);
|
|
101
100
|
await writeFile(filePath, JSON.stringify(data, null, 2), "utf-8");
|
|
102
101
|
}
|
|
103
|
-
var
|
|
102
|
+
var g_fileLocks = globalThis;
|
|
103
|
+
var fileLocks = g_fileLocks.__cockpitFileLocks ?? (g_fileLocks.__cockpitFileLocks = /* @__PURE__ */ new Map());
|
|
104
104
|
function withFileLock(filePath, fn) {
|
|
105
105
|
const prev = fileLocks.get(filePath) ?? Promise.resolve();
|
|
106
106
|
const run = prev.then(fn);
|
package/dist/scheduledTasks.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
readJsonFile,
|
|
6
6
|
updateGlobalState,
|
|
7
7
|
writeJsonFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5NL2LMKP.mjs";
|
|
9
9
|
|
|
10
10
|
// src/lib/scheduledTasks.ts
|
|
11
11
|
import { query } from "@anthropic-ai/claude-agent-sdk";
|
|
@@ -113,6 +113,8 @@ var ScheduledTaskManager = class {
|
|
|
113
113
|
constructor() {
|
|
114
114
|
this.tasks = [];
|
|
115
115
|
this.timers = /* @__PURE__ */ new Map();
|
|
116
|
+
/** Tasks currently inside fireTask — prevents reentrant double-fire (manual trigger + cron, HMR-leaked timer, etc.) */
|
|
117
|
+
this.firing = /* @__PURE__ */ new Set();
|
|
116
118
|
this.port = 0;
|
|
117
119
|
this.initialized = false;
|
|
118
120
|
this.initPromise = null;
|
|
@@ -292,16 +294,25 @@ var ScheduledTaskManager = class {
|
|
|
292
294
|
}
|
|
293
295
|
/** Internal implementation for manual trigger; skips paused / activeRange checks. */
|
|
294
296
|
async fireTaskManual(id) {
|
|
297
|
+
if (this.firing.has(id)) {
|
|
298
|
+
console.warn(`[ScheduledTask] Skipping manual trigger of ${id}: still in flight`);
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
295
301
|
const task = this.tasks.find((t) => t.id === id);
|
|
296
302
|
if (!task) return;
|
|
297
303
|
console.log(`[ScheduledTask] Manual trigger ${id}: "${task.message}"`);
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
this.
|
|
304
|
+
this.firing.add(id);
|
|
305
|
+
try {
|
|
306
|
+
const success = await sendChatMessage(task);
|
|
307
|
+
task.lastFiredAt = Date.now();
|
|
308
|
+
task.lastResult = success ? "success" : "error";
|
|
309
|
+
task.unread = true;
|
|
310
|
+
await this.saveToDisk();
|
|
311
|
+
if (this.onTaskFired) {
|
|
312
|
+
this.onTaskFired(task);
|
|
313
|
+
}
|
|
314
|
+
} finally {
|
|
315
|
+
this.firing.delete(id);
|
|
305
316
|
}
|
|
306
317
|
}
|
|
307
318
|
/**
|
|
@@ -371,6 +382,7 @@ var ScheduledTaskManager = class {
|
|
|
371
382
|
return false;
|
|
372
383
|
}
|
|
373
384
|
}
|
|
385
|
+
this.clearTimer(task.id);
|
|
374
386
|
const delay = task.nextFireTime - now;
|
|
375
387
|
const timer = setTimeout(() => {
|
|
376
388
|
this.fireTask(task.id);
|
|
@@ -403,6 +415,10 @@ var ScheduledTaskManager = class {
|
|
|
403
415
|
}
|
|
404
416
|
}
|
|
405
417
|
async fireTask(id) {
|
|
418
|
+
if (this.firing.has(id)) {
|
|
419
|
+
console.warn(`[ScheduledTask] Skipping reentrant fire of ${id}: still in flight`);
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
406
422
|
const task = this.tasks.find((t) => t.id === id);
|
|
407
423
|
if (!task || task.paused) return;
|
|
408
424
|
if (!this.isInActiveRange(task)) {
|
|
@@ -415,22 +431,27 @@ var ScheduledTaskManager = class {
|
|
|
415
431
|
return;
|
|
416
432
|
}
|
|
417
433
|
console.log(`[ScheduledTask] Firing task ${id}: "${task.message}"`);
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
task.
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
this.
|
|
434
|
+
this.firing.add(id);
|
|
435
|
+
try {
|
|
436
|
+
const success = await sendChatMessage(task);
|
|
437
|
+
task.lastFiredAt = Date.now();
|
|
438
|
+
task.lastResult = success ? "success" : "error";
|
|
439
|
+
task.unread = true;
|
|
440
|
+
if (task.type === "once") {
|
|
441
|
+
task.completed = true;
|
|
442
|
+
} else if (task.type === "interval" && task.intervalMinutes) {
|
|
443
|
+
task.nextFireTime = Date.now() + task.intervalMinutes * 6e4;
|
|
444
|
+
this.scheduleTask(task);
|
|
445
|
+
} else if (task.type === "cron" && task.cron) {
|
|
446
|
+
task.nextFireTime = getNextCronTime(task.cron);
|
|
447
|
+
this.scheduleTask(task);
|
|
448
|
+
}
|
|
449
|
+
await this.saveToDisk();
|
|
450
|
+
if (this.onTaskFired) {
|
|
451
|
+
this.onTaskFired(task);
|
|
452
|
+
}
|
|
453
|
+
} finally {
|
|
454
|
+
this.firing.delete(id);
|
|
434
455
|
}
|
|
435
456
|
}
|
|
436
457
|
async saveToDisk() {
|
|
@@ -443,7 +464,8 @@ var ScheduledTaskManager = class {
|
|
|
443
464
|
}
|
|
444
465
|
}
|
|
445
466
|
};
|
|
446
|
-
var
|
|
467
|
+
var g = globalThis;
|
|
468
|
+
var scheduledTaskManager = g.__scheduledTaskManager ?? (g.__scheduledTaskManager = new ScheduledTaskManager());
|
|
447
469
|
export {
|
|
448
470
|
getNextCronTime,
|
|
449
471
|
scheduledTaskManager
|
package/dist/wsServer.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
getTerminalHistoryPath,
|
|
8
8
|
getTerminalOutputPath,
|
|
9
9
|
readJsonFile
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5NL2LMKP.mjs";
|
|
11
11
|
|
|
12
12
|
// src/lib/wsServer.ts
|
|
13
13
|
import { WebSocketServer, WebSocket as WebSocket2 } from "ws";
|
|
@@ -260,8 +260,9 @@ var ReviewWatcher = class {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var g_watch = globalThis;
|
|
264
|
+
var fileWatcher = g_watch.__cockpitFileWatcher ?? (g_watch.__cockpitFileWatcher = new FileWatcherManager());
|
|
265
|
+
var reviewWatcher = g_watch.__cockpitReviewWatcher ?? (g_watch.__cockpitReviewWatcher = new ReviewWatcher());
|
|
265
266
|
|
|
266
267
|
// src/lib/wsServer.ts
|
|
267
268
|
import { readFile } from "fs/promises";
|
|
@@ -643,8 +644,9 @@ async function finalizeCommand(commandId, exitCode, pid) {
|
|
|
643
644
|
|
|
644
645
|
// src/lib/bubbles/browser/BrowserBridge.ts
|
|
645
646
|
import { WebSocket } from "ws";
|
|
646
|
-
var
|
|
647
|
-
var
|
|
647
|
+
var g_browser = globalThis;
|
|
648
|
+
var registry = g_browser.__cockpitBrowserRegistry ?? (g_browser.__cockpitBrowserRegistry = /* @__PURE__ */ new Map());
|
|
649
|
+
var fullIdToShort = g_browser.__cockpitBrowserFullIdToShort ?? (g_browser.__cockpitBrowserFullIdToShort = /* @__PURE__ */ new Map());
|
|
648
650
|
function registerBrowser(fullId, ws) {
|
|
649
651
|
const shortId = toShortId(fullId);
|
|
650
652
|
registry.set(shortId, { fullId, ws, lastSeen: Date.now() });
|
|
@@ -672,7 +674,7 @@ function listBrowsers() {
|
|
|
672
674
|
}
|
|
673
675
|
return result;
|
|
674
676
|
}
|
|
675
|
-
var pendingRequests = /* @__PURE__ */ new Map();
|
|
677
|
+
var pendingRequests = g_browser.__cockpitBrowserPending ?? (g_browser.__cockpitBrowserPending = /* @__PURE__ */ new Map());
|
|
676
678
|
function createPendingRequest(reqId, timeout) {
|
|
677
679
|
return new Promise((resolve2, reject) => {
|
|
678
680
|
const timer = setTimeout(() => {
|
|
@@ -725,7 +727,8 @@ function getDefaultPath() {
|
|
|
725
727
|
|
|
726
728
|
// src/lib/wsServer.ts
|
|
727
729
|
var HEARTBEAT_INTERVAL = 3e4;
|
|
728
|
-
var
|
|
730
|
+
var g_ws = globalThis;
|
|
731
|
+
var globalStateClients = g_ws.__cockpitGlobalStateClients ?? (g_ws.__cockpitGlobalStateClients = /* @__PURE__ */ new Set());
|
|
729
732
|
function broadcastToGlobalState(msg) {
|
|
730
733
|
const data = JSON.stringify(msg);
|
|
731
734
|
for (const ws of globalStateClients) {
|
|
@@ -734,23 +737,27 @@ function broadcastToGlobalState(msg) {
|
|
|
734
737
|
}
|
|
735
738
|
}
|
|
736
739
|
}
|
|
737
|
-
var wss =
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
740
|
+
var wss = g_ws.__cockpitWss ?? (() => {
|
|
741
|
+
const server = new WebSocketServer({ noServer: true });
|
|
742
|
+
g_ws.__cockpitWss = server;
|
|
743
|
+
server.on("connection", (ws, req) => {
|
|
744
|
+
const { pathname, query } = parse(req.url || "", true);
|
|
745
|
+
if (pathname === "/ws/watch") {
|
|
746
|
+
handleFileWatch(ws, query.cwd);
|
|
747
|
+
} else if (pathname === "/ws/global-state") {
|
|
748
|
+
handleGlobalState(ws);
|
|
749
|
+
} else if (pathname === "/ws/terminal") {
|
|
750
|
+
handleTerminal(ws, query.projectCwd);
|
|
751
|
+
} else if (pathname === "/ws/browser") {
|
|
752
|
+
handleBrowser(ws, query.fullId);
|
|
753
|
+
} else if (pathname === "/ws/terminal-follow") {
|
|
754
|
+
handleTerminalFollow(ws, query.id);
|
|
755
|
+
} else if (pathname === "/ws/jupyter") {
|
|
756
|
+
handleJupyter(ws, query.bubbleId, query.cwd);
|
|
757
|
+
}
|
|
758
|
+
});
|
|
759
|
+
return server;
|
|
760
|
+
})();
|
|
754
761
|
function handleUpgrade(req, socket, head) {
|
|
755
762
|
const { pathname } = parse(req.url || "", true);
|
|
756
763
|
if (pathname === "/ws/watch" || pathname === "/ws/global-state" || pathname === "/ws/terminal" || pathname === "/ws/browser" || pathname === "/ws/terminal-follow" || pathname === "/ws/jupyter") {
|