@surething/cockpit 1.0.243 → 1.0.244
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 +3 -2
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +6 -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/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
- 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 +2 -2
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +2 -2
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/pty-input/route.js +1 -1
- package/.next-prod/server/app/api/chat/pty-input/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/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/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 +1 -1
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +2 -2
- 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/deepseek/credentials/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js +1 -1
- package/.next-prod/server/app/api/dev/spans/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/current-branch/route.js +1 -1
- package/.next-prod/server/app/api/git/current-branch/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 +2 -2
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -1
- package/.next-prod/server/app/api/health/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 +1 -1
- 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/config/route.js +1 -0
- package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/ollama/config/route_client-reference-manifest.js +1 -0
- 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/preview/[...path]/route.js +1 -1
- package/.next-prod/server/app/api/preview/[...path]/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 +2 -2
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
- 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/push/public-key/route.js +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/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 +2 -2
- 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/snapshots/diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/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/m/page.js +2 -2
- package/.next-prod/server/app/m/page.js.nft.json +1 -1
- package/.next-prod/server/app/m/page_client-reference-manifest.js +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 +2 -2
- 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 +2 -2
- 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 +3 -2
- package/.next-prod/server/chunks/2939.js +1 -1
- package/.next-prod/server/chunks/304.js +1 -1
- package/.next-prod/server/chunks/6038.js +1 -0
- package/.next-prod/server/chunks/7338.js +4 -4
- package/.next-prod/server/chunks/9658.js +4 -4
- package/.next-prod/server/chunks/9830.js +1 -1
- package/.next-prod/server/middleware-build-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/static/chunks/1871-4468d75ec99d71fc.js +25 -0
- package/.next-prod/static/chunks/{6784-a155388d7e43ef3d.js → 6784-53d80dc3b480cf9a.js} +0 -0
- package/.next-prod/static/chunks/{9530-60801ba514d5c607.js → 9530-08419cb81f88a0e6.js} +1 -1
- package/.next-prod/static/chunks/app/_global-error/page-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/pty-input/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/load/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/save/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/preview/[...path]/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6d7aa508d9d8bcc3.js +1 -0
- package/.next-prod/static/css/1d52d90207f3b441.css +1 -0
- package/.next-prod/static/sMb_F5kg6en8USwL7FYkb/_buildManifest.js +1 -0
- package/.next-prod/trace +13 -13
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/ollama/config/route.ts +351 -0
- package/.next-prod/types/routes.d.ts +2 -1
- package/.next-prod/types/validator.ts +9 -0
- package/dist/{chunk-4S76JXBU.mjs → chunk-3X4GQZL4.mjs} +1 -1
- package/dist/{chunk-NW4I3U26.mjs → chunk-BFESJMNO.mjs} +158 -17
- package/dist/{chunk-V2ZASC2X.mjs → chunk-FMJUH423.mjs} +1 -1
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +4 -3
- package/dist/{server-YK62AFE6.mjs → server-HKW65PHP.mjs} +2 -2
- package/dist/wsServer.mjs +4 -4
- package/package.json +1 -1
- package/.next-prod/server/chunks/6955.js +0 -1
- package/.next-prod/server/chunks/8916.js +0 -1
- package/.next-prod/server/chunks/9989.js +0 -1
- package/.next-prod/static/chunks/1871-560f59face6cdf95.js +0 -25
- package/.next-prod/static/chunks/app/_global-error/page-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/pty-input/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/load/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/save/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/preview/[...path]/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-382e54b2d4e69c9e.js +0 -1
- package/.next-prod/static/css/9f26a08be661160a.css +0 -1
- package/.next-prod/static/uVjxkHKsDvtbJB0cgsKxl/_buildManifest.js +0 -1
- /package/.next-prod/static/{uVjxkHKsDvtbJB0cgsKxl → sMb_F5kg6en8USwL7FYkb}/_ssgManifest.js +0 -0
|
@@ -28645,6 +28645,8 @@ var CLAUDE2_PROJECTS_DIR = join4(CLAUDE2_DIR, "projects");
|
|
|
28645
28645
|
var DEEPSEEK_DIR = join4(COCKPIT_DIR, "deepseek");
|
|
28646
28646
|
var DEEPSEEK_PROJECTS_DIR = join4(DEEPSEEK_DIR, "projects");
|
|
28647
28647
|
var DEEPSEEK_CREDENTIALS_FILE = join4(DEEPSEEK_DIR, "credentials.json");
|
|
28648
|
+
var OLLAMA_DIR = join4(COCKPIT_DIR, "ollama");
|
|
28649
|
+
var OLLAMA_CONFIG_FILE = join4(OLLAMA_DIR, "config.json");
|
|
28648
28650
|
function encodePath(path) {
|
|
28649
28651
|
return path.replace(/[/.]/g, "-");
|
|
28650
28652
|
}
|
|
@@ -29009,6 +29011,9 @@ var snapshotRepoTtlDaysConfig = Config_exports.integer(
|
|
|
29009
29011
|
var snapshotMaxFileKbConfig = Config_exports.integer(
|
|
29010
29012
|
"COCKPIT_SNAPSHOT_MAX_FILE_KB"
|
|
29011
29013
|
).pipe(Config_exports.withDefault(2048));
|
|
29014
|
+
var sessionKeepDaysConfig = Config_exports.integer("COCKPIT_SESSION_KEEP_DAYS").pipe(
|
|
29015
|
+
Config_exports.withDefault(30)
|
|
29016
|
+
);
|
|
29012
29017
|
var CockpitConfig = Effect_exports.gen(
|
|
29013
29018
|
function* () {
|
|
29014
29019
|
const env = yield* envConfig;
|
|
@@ -29020,6 +29025,7 @@ var CockpitConfig = Effect_exports.gen(
|
|
|
29020
29025
|
const snapshotKeepDays = yield* snapshotKeepDaysConfig;
|
|
29021
29026
|
const snapshotRepoTtlDays = yield* snapshotRepoTtlDaysConfig;
|
|
29022
29027
|
const snapshotMaxFileKb = yield* snapshotMaxFileKbConfig;
|
|
29028
|
+
const sessionKeepDays = yield* sessionKeepDaysConfig;
|
|
29023
29029
|
const cockpitDir = yield* Effect_exports.sync(() => {
|
|
29024
29030
|
const env2 = typeof process !== "undefined" ? process.env : void 0;
|
|
29025
29031
|
const home = env2?.HOME || env2?.USERPROFILE || ".";
|
|
@@ -29040,7 +29046,8 @@ var CockpitConfig = Effect_exports.gen(
|
|
|
29040
29046
|
logFile,
|
|
29041
29047
|
snapshotKeepDays,
|
|
29042
29048
|
snapshotRepoTtlDays,
|
|
29043
|
-
snapshotMaxFileKb
|
|
29049
|
+
snapshotMaxFileKb,
|
|
29050
|
+
sessionKeepDays
|
|
29044
29051
|
};
|
|
29045
29052
|
}
|
|
29046
29053
|
).pipe(Effect_exports.orDie);
|
|
@@ -29750,12 +29757,20 @@ import { createOpenAI } from "@ai-sdk/openai";
|
|
|
29750
29757
|
|
|
29751
29758
|
// packages/shared/utils/src/ollamaEnv.ts
|
|
29752
29759
|
var DEFAULT_BASE = "http://127.0.0.1:11434";
|
|
29753
|
-
|
|
29754
|
-
|
|
29760
|
+
var DEFAULT_API_KEY = "ollama";
|
|
29761
|
+
function normalizeBase(raw) {
|
|
29755
29762
|
return raw.replace(/\/v1\/?$/, "").replace(/\/+$/, "");
|
|
29756
29763
|
}
|
|
29757
|
-
function
|
|
29758
|
-
return
|
|
29764
|
+
async function readOllamaStoredConfig() {
|
|
29765
|
+
return readJsonFile(OLLAMA_CONFIG_FILE, {});
|
|
29766
|
+
}
|
|
29767
|
+
async function resolveOllamaConnection() {
|
|
29768
|
+
const cfg = await readOllamaStoredConfig();
|
|
29769
|
+
const baseUrl = normalizeBase(
|
|
29770
|
+
cfg.baseUrl?.trim() || process.env.OLLAMA_BASE_URL || DEFAULT_BASE
|
|
29771
|
+
);
|
|
29772
|
+
const apiKey = cfg.apiKey?.trim() || process.env.OLLAMA_API_KEY || DEFAULT_API_KEY;
|
|
29773
|
+
return { baseUrl, apiKey };
|
|
29759
29774
|
}
|
|
29760
29775
|
|
|
29761
29776
|
// packages/feature/agent/src/server/engines/ollama/model.ts
|
|
@@ -29778,13 +29793,11 @@ var ollamaFetch = async (input, init) => {
|
|
|
29778
29793
|
}
|
|
29779
29794
|
return fetch(input, init);
|
|
29780
29795
|
};
|
|
29781
|
-
function createOllamaModel(modelName) {
|
|
29796
|
+
async function createOllamaModel(modelName) {
|
|
29797
|
+
const { baseUrl, apiKey } = await resolveOllamaConnection();
|
|
29782
29798
|
const provider = createOpenAI({
|
|
29783
|
-
|
|
29784
|
-
|
|
29785
|
-
// cockpit configuration with third-party authentication).
|
|
29786
|
-
apiKey: process.env.OLLAMA_API_KEY || "ollama",
|
|
29787
|
-
baseURL: getOllamaOpenAIBaseURL(),
|
|
29799
|
+
apiKey,
|
|
29800
|
+
baseURL: `${baseUrl}/v1/`,
|
|
29788
29801
|
fetch: ollamaFetch
|
|
29789
29802
|
});
|
|
29790
29803
|
return provider.chat(modelName);
|
|
@@ -29812,7 +29825,7 @@ var ollamaStream = (req) => Stream_exports.async((emit2) => {
|
|
|
29812
29825
|
const abortController = new AbortController();
|
|
29813
29826
|
void (async () => {
|
|
29814
29827
|
try {
|
|
29815
|
-
const ollamaModel = createOllamaModel(req.model);
|
|
29828
|
+
const ollamaModel = await createOllamaModel(req.model);
|
|
29816
29829
|
const result = streamText({
|
|
29817
29830
|
model: ollamaModel,
|
|
29818
29831
|
messages: toModelMessages(req.messages),
|
|
@@ -30012,7 +30025,7 @@ var runGitOk = (repoDir, workTree, args2, input) => runGit(repoDir, workTree, ar
|
|
|
30012
30025
|
);
|
|
30013
30026
|
var SYMLINK_PATHSPEC_RE = /beyond a symbolic link/;
|
|
30014
30027
|
var stageAdds = (repoDir, cwd, paths) => Effect_exports.gen(function* () {
|
|
30015
|
-
const addArgs = ["add", "-A", "--pathspec-from-file=-", "--pathspec-file-nul"];
|
|
30028
|
+
const addArgs = ["add", "-A", "--force", "--pathspec-from-file=-", "--pathspec-file-nul"];
|
|
30016
30029
|
const batch = yield* runGit(repoDir, cwd, addArgs, paths.map((p) => `:(literal)${p}`).join("\0"));
|
|
30017
30030
|
if (batch.code === 0) return;
|
|
30018
30031
|
if (!SYMLINK_PATHSPEC_RE.test(batch.stderr)) {
|
|
@@ -30173,6 +30186,10 @@ var snapshotOnce = (snapshotsRoot, maxFileBytes, trigger, kind) => Effect_export
|
|
|
30173
30186
|
return skip;
|
|
30174
30187
|
});
|
|
30175
30188
|
const stageOnce = Effect_exports.gen(function* () {
|
|
30189
|
+
const headOk = yield* runGit(repoDir, cwd, ["rev-parse", "--quiet", "--verify", "HEAD"]);
|
|
30190
|
+
if (headOk.code === 0) {
|
|
30191
|
+
yield* runGitOk(repoDir, cwd, ["read-tree", "HEAD"]);
|
|
30192
|
+
}
|
|
30176
30193
|
const status3 = yield* runGitOk(repoDir, cwd, [
|
|
30177
30194
|
"status",
|
|
30178
30195
|
"--porcelain",
|
|
@@ -30191,14 +30208,17 @@ var snapshotOnce = (snapshotsRoot, maxFileBytes, trigger, kind) => Effect_export
|
|
|
30191
30208
|
for (const e of entries2) {
|
|
30192
30209
|
const path = e.slice(3);
|
|
30193
30210
|
if (!path) continue;
|
|
30194
|
-
if (e[1] === "D") rmPaths.push(path);
|
|
30211
|
+
if (e[0] === "D" || e[1] === "D") rmPaths.push(path);
|
|
30195
30212
|
else addPaths.push(path);
|
|
30196
30213
|
}
|
|
30197
30214
|
const sizes = yield* Effect_exports.all(
|
|
30198
30215
|
addPaths.map(
|
|
30199
30216
|
(p) => fsTry("stat", () => stat(join5(cwd, p)).then((s) => s.isFile() ? s.size : 0)).pipe(
|
|
30200
|
-
//
|
|
30201
|
-
|
|
30217
|
+
// Path gone between status and stat (concurrent session/build) or
|
|
30218
|
+
// unreadable → -1, excluded below so a vanished path never reaches
|
|
30219
|
+
// `git add`, which would abort the whole batch with "pathspec did
|
|
30220
|
+
// not match any files".
|
|
30221
|
+
Effect_exports.orElseSucceed(() => -1)
|
|
30202
30222
|
)
|
|
30203
30223
|
),
|
|
30204
30224
|
{ concurrency: 16 }
|
|
@@ -30206,6 +30226,7 @@ var snapshotOnce = (snapshotsRoot, maxFileBytes, trigger, kind) => Effect_export
|
|
|
30206
30226
|
const includedAdds = [];
|
|
30207
30227
|
let totalBytes = 0;
|
|
30208
30228
|
for (let i = 0; i < addPaths.length; i++) {
|
|
30229
|
+
if (sizes[i] < 0) continue;
|
|
30209
30230
|
if (sizes[i] > maxFileBytes) continue;
|
|
30210
30231
|
includedAdds.push(addPaths[i]);
|
|
30211
30232
|
totalBytes += sizes[i];
|
|
@@ -30503,6 +30524,124 @@ var SnapshotServiceLive = Layer_exports.scoped(
|
|
|
30503
30524
|
})
|
|
30504
30525
|
);
|
|
30505
30526
|
|
|
30527
|
+
// packages/feature/agent/src/effect/sessionCleanupLive.ts
|
|
30528
|
+
import { readdir as readdir2, readFile as readFile3, rm as rm2, rmdir, stat as stat2 } from "fs/promises";
|
|
30529
|
+
import { join as join6 } from "path";
|
|
30530
|
+
var DAY_MS = 24 * 3600 * 1e3;
|
|
30531
|
+
var fsTry2 = (op, fn2) => Effect_exports.tryPromise({
|
|
30532
|
+
try: fn2,
|
|
30533
|
+
catch: (cause3) => new AppError({ message: `session cleanup fs ${op} failed`, cause: cause3 })
|
|
30534
|
+
});
|
|
30535
|
+
var isDirectory = (p) => fsTry2("stat", () => stat2(p).then((s) => s.isDirectory())).pipe(
|
|
30536
|
+
Effect_exports.orElseSucceed(() => false)
|
|
30537
|
+
);
|
|
30538
|
+
var loadPinnedIds = (pinnedFile) => Effect_exports.tryPromise({
|
|
30539
|
+
try: async () => {
|
|
30540
|
+
let raw;
|
|
30541
|
+
try {
|
|
30542
|
+
raw = await readFile3(pinnedFile, "utf8");
|
|
30543
|
+
} catch (e) {
|
|
30544
|
+
if (e?.code === "ENOENT") {
|
|
30545
|
+
return { ok: true, ids: /* @__PURE__ */ new Set() };
|
|
30546
|
+
}
|
|
30547
|
+
throw e;
|
|
30548
|
+
}
|
|
30549
|
+
const parsed = JSON.parse(raw);
|
|
30550
|
+
const ids3 = /* @__PURE__ */ new Set();
|
|
30551
|
+
for (const p of Array.isArray(parsed) ? parsed : []) {
|
|
30552
|
+
if (p && typeof p.sessionId === "string") ids3.add(p.sessionId);
|
|
30553
|
+
}
|
|
30554
|
+
return { ok: true, ids: ids3 };
|
|
30555
|
+
},
|
|
30556
|
+
catch: () => null
|
|
30557
|
+
}).pipe(Effect_exports.orElseSucceed(() => ({ ok: false })));
|
|
30558
|
+
var cleanupSessions = (root, keepDays, pinnedFile) => Effect_exports.gen(function* () {
|
|
30559
|
+
const pins = yield* loadPinnedIds(pinnedFile);
|
|
30560
|
+
if (!pins.ok) {
|
|
30561
|
+
yield* Effect_exports.logWarning(
|
|
30562
|
+
"session cleanup: pinned-sessions.json is unreadable/corrupt -- skipping this pass (refusing to risk deleting protected sessions)"
|
|
30563
|
+
);
|
|
30564
|
+
return;
|
|
30565
|
+
}
|
|
30566
|
+
const cutoff = Date.now() - keepDays * DAY_MS;
|
|
30567
|
+
const cwdDirs = yield* fsTry2("readdir root", () => readdir2(root)).pipe(
|
|
30568
|
+
Effect_exports.orElseSucceed(() => [])
|
|
30569
|
+
);
|
|
30570
|
+
for (const cwdName of cwdDirs) {
|
|
30571
|
+
const cwdDir = join6(root, cwdName);
|
|
30572
|
+
if (!(yield* isDirectory(cwdDir))) continue;
|
|
30573
|
+
const entries2 = yield* fsTry2("readdir cwd", () => readdir2(cwdDir)).pipe(
|
|
30574
|
+
Effect_exports.orElseSucceed(() => [])
|
|
30575
|
+
);
|
|
30576
|
+
const sessions = /* @__PURE__ */ new Map();
|
|
30577
|
+
for (const name of entries2) {
|
|
30578
|
+
const full = join6(cwdDir, name);
|
|
30579
|
+
if (name.endsWith(".jsonl")) {
|
|
30580
|
+
const stem = name.slice(0, -".jsonl".length);
|
|
30581
|
+
const s = sessions.get(stem) ?? {};
|
|
30582
|
+
s.jsonl = full;
|
|
30583
|
+
sessions.set(stem, s);
|
|
30584
|
+
} else if (yield* isDirectory(full)) {
|
|
30585
|
+
const s = sessions.get(name) ?? {};
|
|
30586
|
+
s.subdir = full;
|
|
30587
|
+
sessions.set(name, s);
|
|
30588
|
+
}
|
|
30589
|
+
}
|
|
30590
|
+
for (const [stem, s] of sessions) {
|
|
30591
|
+
if (pins.ids.has(stem)) continue;
|
|
30592
|
+
const basis = s.jsonl ?? s.subdir;
|
|
30593
|
+
if (!basis) continue;
|
|
30594
|
+
const mtime = yield* fsTry2(
|
|
30595
|
+
"stat basis",
|
|
30596
|
+
() => stat2(basis).then((st) => st.mtimeMs)
|
|
30597
|
+
).pipe(Effect_exports.orElseSucceed(() => Number.POSITIVE_INFINITY));
|
|
30598
|
+
if (mtime >= cutoff) continue;
|
|
30599
|
+
if (s.jsonl) {
|
|
30600
|
+
yield* fsTry2("rm jsonl", () => rm2(s.jsonl, { force: true })).pipe(
|
|
30601
|
+
Effect_exports.orElseSucceed(() => void 0)
|
|
30602
|
+
);
|
|
30603
|
+
}
|
|
30604
|
+
if (s.subdir) {
|
|
30605
|
+
yield* fsTry2(
|
|
30606
|
+
"rm subdir",
|
|
30607
|
+
() => rm2(s.subdir, { recursive: true, force: true })
|
|
30608
|
+
).pipe(Effect_exports.orElseSucceed(() => void 0));
|
|
30609
|
+
}
|
|
30610
|
+
yield* Effect_exports.logInfo(
|
|
30611
|
+
`session cleanup: removed ollama session ${stem} under ${cwdName} (older than ${keepDays}d)`
|
|
30612
|
+
);
|
|
30613
|
+
}
|
|
30614
|
+
const rest = yield* fsTry2("readdir cwd (recount)", () => readdir2(cwdDir)).pipe(
|
|
30615
|
+
Effect_exports.orElseSucceed(() => ["keep"])
|
|
30616
|
+
);
|
|
30617
|
+
if (rest.length === 0) {
|
|
30618
|
+
yield* fsTry2("rmdir cwd", () => rmdir(cwdDir)).pipe(
|
|
30619
|
+
Effect_exports.orElseSucceed(() => void 0)
|
|
30620
|
+
);
|
|
30621
|
+
}
|
|
30622
|
+
}
|
|
30623
|
+
}).pipe(Effect_exports.withSpan("session.cleanup"));
|
|
30624
|
+
var SessionCleanupService = Context_exports.GenericTag(
|
|
30625
|
+
"@cockpit/SessionCleanupService"
|
|
30626
|
+
);
|
|
30627
|
+
var SessionCleanupLive = Layer_exports.scoped(
|
|
30628
|
+
SessionCleanupService,
|
|
30629
|
+
Effect_exports.gen(function* () {
|
|
30630
|
+
const cfg = yield* CockpitConfig;
|
|
30631
|
+
const root = join6(cfg.cockpitDir, "ollama-sessions");
|
|
30632
|
+
const pinnedFile = join6(cfg.cockpitDir, "pinned-sessions.json");
|
|
30633
|
+
const keepDays = Math.max(1, cfg.sessionKeepDays);
|
|
30634
|
+
const cleanup = cleanupSessions(root, keepDays, pinnedFile);
|
|
30635
|
+
yield* Effect_exports.forkScoped(
|
|
30636
|
+
cleanup.pipe(
|
|
30637
|
+
Effect_exports.catchAll((e) => Effect_exports.logWarning(`session cleanup failed: ${e.message}`)),
|
|
30638
|
+
Effect_exports.repeat(Schedule_exports.spaced("24 hours"))
|
|
30639
|
+
)
|
|
30640
|
+
);
|
|
30641
|
+
return SessionCleanupService.of({ cleanup });
|
|
30642
|
+
})
|
|
30643
|
+
);
|
|
30644
|
+
|
|
30506
30645
|
// packages/shared/effect-runtime/src/server/runtime.ts
|
|
30507
30646
|
var isDev = process.env.COCKPIT_ENV === "dev";
|
|
30508
30647
|
var ServerBaseLayer = Layer_exports.unwrapEffect(
|
|
@@ -30526,7 +30665,9 @@ var AppLayer = Layer_exports.mergeAll(
|
|
|
30526
30665
|
// Agent
|
|
30527
30666
|
AgentServiceLive,
|
|
30528
30667
|
// Tool-call snapshots (shadow git)
|
|
30529
|
-
SnapshotServiceLive
|
|
30668
|
+
SnapshotServiceLive,
|
|
30669
|
+
// Ollama session transcript retention (daily sweep)
|
|
30670
|
+
SessionCleanupLive
|
|
30530
30671
|
);
|
|
30531
30672
|
var AppRuntime = ManagedRuntime_exports.make(AppLayer);
|
|
30532
30673
|
|
package/dist/httpApi.mjs
CHANGED
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
unregisterBrowser,
|
|
23
23
|
unregisterTerminal,
|
|
24
24
|
writeStdinToCommand
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FMJUH423.mjs";
|
|
26
26
|
import {
|
|
27
27
|
getTerminalHistoryPath
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BFESJMNO.mjs";
|
|
29
29
|
import "./chunk-7P6ASYW6.mjs";
|
|
30
30
|
|
|
31
31
|
// src/lib/httpApi.ts
|
package/dist/scheduledTasks.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
setRunAbort,
|
|
11
11
|
startRun,
|
|
12
12
|
updateGlobalState
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3X4GQZL4.mjs";
|
|
14
14
|
import {
|
|
15
15
|
AgentError,
|
|
16
16
|
AppRuntime,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
settlePendingRecord,
|
|
38
38
|
withFileLock,
|
|
39
39
|
writeJsonFile
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-BFESJMNO.mjs";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
43
|
} from "./chunk-7P6ASYW6.mjs";
|
|
@@ -17159,8 +17159,9 @@ var ollamaSpec = {
|
|
|
17159
17159
|
|
|
17160
17160
|
`);
|
|
17161
17161
|
const context = { cwd, todos: [] };
|
|
17162
|
+
const languageModel = await createOllamaModel(model);
|
|
17162
17163
|
const result = streamText({
|
|
17163
|
-
model:
|
|
17164
|
+
model: languageModel,
|
|
17164
17165
|
system: buildSystemPrompt(cwd),
|
|
17165
17166
|
messages,
|
|
17166
17167
|
tools: createTools(context),
|
|
@@ -45,12 +45,12 @@ import {
|
|
|
45
45
|
unregisterTerminal,
|
|
46
46
|
updateBrowserWs,
|
|
47
47
|
writeStdinToCommand
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FMJUH423.mjs";
|
|
49
49
|
import {
|
|
50
50
|
createNeo4jDriver,
|
|
51
51
|
runCypherWithDriver,
|
|
52
52
|
serializeValue
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-BFESJMNO.mjs";
|
|
54
54
|
import "./chunk-7P6ASYW6.mjs";
|
|
55
55
|
export {
|
|
56
56
|
INTERRUPTED_EXIT_CODE,
|
package/dist/wsServer.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
addRunListener,
|
|
3
3
|
getGlobalSessionsSnapshot,
|
|
4
4
|
getRunSnapshot
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3X4GQZL4.mjs";
|
|
6
6
|
import {
|
|
7
7
|
addExitListener,
|
|
8
8
|
addOutputListener,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resolvePendingRequest,
|
|
19
19
|
unregisterBrowser,
|
|
20
20
|
writeStdinToCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FMJUH423.mjs";
|
|
22
22
|
import {
|
|
23
23
|
AppError,
|
|
24
24
|
Effect_exports,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
Stream_exports,
|
|
34
34
|
ValidationError,
|
|
35
35
|
WSError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-BFESJMNO.mjs";
|
|
37
37
|
import "./chunk-7P6ASYW6.mjs";
|
|
38
38
|
|
|
39
39
|
// src/lib/wsServer.ts
|
|
@@ -665,7 +665,7 @@ var handleJupyter = (conn, bubbleId, cwd) => Effect_exports.gen(function* () {
|
|
|
665
665
|
Effect_exports.annotateLogs("cwd", cwd)
|
|
666
666
|
);
|
|
667
667
|
const { kernelManager } = yield* Effect_exports.tryPromise({
|
|
668
|
-
try: () => import("./server-
|
|
668
|
+
try: () => import("./server-HKW65PHP.mjs"),
|
|
669
669
|
catch: (cause) => new AppError({
|
|
670
670
|
message: "failed to import kernel manager",
|
|
671
671
|
cause
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surething/cockpit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.244",
|
|
4
4
|
"description": "The open-source Claude Code GUI — an IDE-like workbench for parallel AI coding. Drive Claude (default), Codex, DeepSeek, Kimi, or local Ollama in tabs. Terminal, browser & DB bubbles, code review. Self-host on a shared dev box — a seat for every teammate. Local-first, MIT.",
|
|
5
5
|
"author": "Robert",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=6955,exports.ids=[6955],exports.modules={7939:(a,b,c)=>{c.d(b,{$A:()=>N,A0:()=>Y,An:()=>_,B0:()=>B,BF:()=>J,Ct:()=>R,Eu:()=>I,Ex:()=>u,GB:()=>r,JE:()=>$,JY:()=>M,Ki:()=>D,Kk:()=>S,Kv:()=>j,LN:()=>k,Mx:()=>E,N9:()=>ad,O0:()=>C,Sr:()=>K,Tb:()=>s,Ux:()=>ac,Wd:()=>Z,aO:()=>m,at:()=>y,ec:()=>o,eg:()=>W,h9:()=>x,i4:()=>H,iK:()=>p,im:()=>U,iy:()=>Q,jp:()=>t,lT:()=>z,lq:()=>G,ls:()=>L,mT:()=>w,n6:()=>n,oK:()=>P,oZ:()=>T,of:()=>F,po:()=>O,tP:()=>q,th:()=>v,v4:()=>l,vI:()=>X,yw:()=>V});var d=c(21820),e=c(33873),f=c(79748),g=c(29021),h=c(79646);let i=(0,d.homedir)(),j=process.env.COCKPIT_HOME?(0,e.resolve)(process.env.COCKPIT_HOME.replace(/^~(?=$|\/)/,i)):(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,"push-subscriptions.json"),o=(0,e.join)(j,"note.md"),p=(0,e.join)(j,"scheduled-tasks.json"),q=(0,e.join)(j,"settings.json"),r=(0,e.join)(j,"skills.json"),s=(0,e.join)(j,"review"),t=(0,e.join)(s,"_signal");function u(){try{(0,g.existsSync)(s)||(0,g.mkdirSync)(s,{recursive:!0}),(0,g.writeFileSync)(t,Date.now().toString())}catch{}}let v=(0,e.join)(i,".claude"),w=(0,e.join)(v,"projects"),x=(0,e.join)(i,".claude2"),y=(0,e.join)(x,"projects"),z=(0,e.join)(j,"deepseek"),A=(0,e.join)(z,"projects"),B=(0,e.join)(z,"credentials.json");function C(a){return a.replace(/[/.]/g,"-")}function D(a){return(0,e.join)(k,C(a))}function E(a){return(0,e.join)(D(a),"session.json")}function F(a){return(0,e.join)(D(a),"recent-files.json")}function G(a){return(0,e.join)(D(a),"expanded-paths.json")}function H(a){return(0,e.join)(D(a),"comments.json")}function I(a){return(0,e.join)(D(a),"services.json")}function J(a){return(0,e.join)(D(a),"note.md")}function K(a,b){return(0,e.join)(D(a),`terminal-history-${b}.jsonl`)}function L(a,b){return(0,e.join)(D(a),`terminal-output-${b}.txt`)}function M(a,b){let c=b?`terminal-env-${b}.json`:"terminal-env-global.json";return(0,e.join)(D(a),c)}function N(){return(0,e.join)(j,"terminal-aliases.json")}function O(){return(0,e.join)(j,"services.json")}function P(a){return(0,e.join)(D(a),"project-settings.json")}function Q(a,b){return(0,e.join)(D(a),`terminal-bubble-order-${b}.json`)}function R(a){return(0,e.join)(s,`${a}.json`)}function S(a,b){return(0,e.join)((0,e.join)(w,C(a)),`${b}.jsonl`)}function T(a,b){return(0,e.join)((0,e.join)(y,C(a)),`${b}.jsonl`)}function U(a,b){return(0,e.join)((0,e.join)(A,C(a)),`${b}.jsonl`)}function V(a,b){return(0,e.join)((0,e.join)(j,"ollama-sessions",C(a)),`${b}.jsonl`)}function W(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 X(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 Y(a){(0,g.existsSync)(a)||await (0,f.mkdir)(a,{recursive:!0})}async function Z(a){let b=(0,e.join)(a,"..");await Y(b)}async function $(a,b){try{let b=await (0,f.readFile)(a,"utf-8");return JSON.parse(b)}catch{return b}}async function _(a,b){await Z(a),await (0,f.writeFile)(a,JSON.stringify(b,null,2),"utf-8")}let aa=globalThis,ab=aa.__cockpitFileLocks??(aa.__cockpitFileLocks=new Map);function ac(a,b){let c=(ab.get(a)??Promise.resolve()).then(b),d=c.then(()=>{},()=>{});return ab.set(a,d),d.then(()=>{ab.get(a)===d&&ab.delete(a)}),c}function ad(a,b,c){return ac(a,async()=>{let d=await $(a,b),e=await c(d);return await _(a,e),e})}},23516:(a,b,c)=>{c.d(b,{c:()=>g});var d=c(79748),e=c(29021),f=c(33873);async function g(a){var b;let c;if(!a||!(0,e.existsSync)(a))return h(a);try{c=await (0,d.readFile)(a,"utf-8")}catch{return h(a)}let g=function(a){let b=a.match(/^---\s*\r?\n([\s\S]*?)\r?\n---\s*(\r?\n|$)/);if(!b)return{};let c=b[1],d={};for(let a of c.split(/\r?\n/)){let b=a.match(/^([A-Za-z_][\w-]*)\s*:\s*(.*)$/);if(!b)continue;let c=b[1].trim().toLowerCase(),e=b[2].trim();(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),d[c]=e}return d}(c),i=(0,f.basename)((0,f.dirname)(a))||(0,f.basename)(a);return{name:((b=g.name)?b.trim().replace(/\s+/g,"-").replace(/[^A-Za-z0-9\-_:.]/g,""):"")||i,description:g.description||"",icon:g.icon||void 0,argumentHint:g["argument-hint"]||g.argumenthint||g.hint||void 0,content:c,valid:!0}}function h(a){return{name:a?(0,f.basename)((0,f.dirname)(a))||(0,f.basename)(a):"unknown",description:"",icon:void 0,argumentHint:void 0,content:"",valid:!1}}},72891:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{OZ:()=>o,RL:()=>n,k9:()=>p,ok:()=>l});var e=c(37625),f=c(52693),g=c(18412),h=c(89705),i=c(94506),j=c(770),k=a([i]);i=(k.then?(await k)():k)[0];let l=(a,b=200)=>new Response(JSON.stringify(a),{status:b,headers:{"content-type":"application/json"}}),m=a=>{let b=e.od(a);if(f.Ru(b)){let a=b.value,c=(0,j.Sh)(a);return new Response(JSON.stringify({error:(a=>{let b=a.message;if("string"==typeof b&&b.length>0)return b;let c=a.cause;if(c instanceof Error&&c.message.length>0)return c.message;switch(a._tag){case"ValidationError":return`Invalid ${a.field}: ${a.reason}`;case"NotFoundError":return`${a.resource} not found: ${a.id}`;case"PermissionError":return`Permission denied: ${a.action} on ${a.resource}`;case"DBError":return`${a.db} ${a.op} failed`;case"FSError":return`${a.op} ${a.path} failed`;case"WSError":return`${a.proto} ${a.kind} failed`;case"AgentError":return`${a.provider} ${a.kind} failed`;default:return a._tag}})(a),tag:a._tag}),{status:c,headers:{"content-type":"application/json"}})}return console.error("[handler] uncaught defect:\n"+e.j9(a)),new Response(JSON.stringify({error:"Internal Server Error",tag:"InternalError"}),{status:500,headers:{"content-type":"application/json"}})},n=a=>async b=>{let c=await i.s9.runPromiseExit(a(b));return g.YW(c,{onFailure:a=>m(a),onSuccess:a=>a})},o=a=>async(b,c)=>{let d=await c.params,e=await i.s9.runPromiseExit(a(b,d));return g.YW(e,{onFailure:a=>m(a),onSuccess:a=>a})},p=a=>h.$mh({try:()=>a.json(),catch:()=>new j.yI({field:"body",reason:"invalid JSON"})});d()}catch(a){d(a)}})}};
|