@surething/cockpit 1.0.225 → 1.0.227
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 +3 -3
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/react-loadable-manifest.json +1 -1
- package/.next-prod/routes-manifest.json +6 -0
- package/.next-prod/server/app/_global-error/page.js +2 -2
- 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 +3 -27
- 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 -5
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +3 -21
- 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 -91
- 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 -23
- 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 +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/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 +1 -1
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -0
- package/.next-prod/server/app/api/health/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/health/route_client-reference-manifest.js +1 -0
- 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 +1 -1
- 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 +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 +9 -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/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/{2637.js → 3633.js} +8 -8
- package/.next-prod/server/chunks/3742.js +1 -0
- package/.next-prod/server/chunks/3792.js +1 -1
- package/.next-prod/server/chunks/6955.js +1 -1
- package/.next-prod/server/chunks/7003.js +1 -1
- package/.next-prod/server/chunks/7338.js +89 -0
- package/.next-prod/server/chunks/8916.js +1 -1
- package/.next-prod/server/chunks/9658.js +14 -12
- package/.next-prod/server/chunks/9989.js +1 -0
- package/.next-prod/server/functions-config-manifest.json +1 -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/static/chunks/{1959.b9473117faf354bf.js → 1959.698f1d1accabcbe6.js} +2 -2
- package/.next-prod/static/chunks/217-259a6d7d3cac75d8.js +5 -0
- package/.next-prod/static/chunks/{2576-7459f532e98e12d6.js → 2576-26748a4d5cfa8668.js} +13 -13
- package/.next-prod/static/chunks/9469-7902249e8fbf7955.js +14 -0
- package/.next-prod/static/chunks/app/_global-error/page-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/pty-input/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/load/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/save/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/{layout-312d106fe47907df.js → layout-edef27fb2f6b346e.js} +1 -1
- package/.next-prod/static/chunks/app/m/page-50afaa8bd837e768.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/app/{page-db70085227aa56aa.js → page-49470b6c107b5dee.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-db70085227aa56aa.js → page-49470b6c107b5dee.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-d7801a0008b8d59b.js +1 -0
- package/.next-prod/static/chunks/{webpack-cb3881d9a37f80b7.js → webpack-2404d47da29b5b14.js} +1 -1
- package/.next-prod/static/css/330d330a9236397f.css +1 -0
- package/.next-prod/static/t45T3Imr0gQh7MYDeURiy/_buildManifest.js +1 -0
- package/.next-prod/trace +13 -13
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/health/route.ts +351 -0
- package/.next-prod/types/routes.d.ts +2 -1
- package/.next-prod/types/validator.ts +9 -0
- package/bin/cock-browser.mjs +7 -3
- package/bin/cock-codegraph.mjs +7 -4
- package/bin/cock-connection.mjs +5 -1
- package/bin/cock-terminal.mjs +6 -2
- package/dist/{chunk-EYFKVFTP.mjs → chunk-GFI4IHYM.mjs} +82 -78
- package/dist/{chunk-WULEYRUC.mjs → chunk-J5B4FIW5.mjs} +168 -1
- package/dist/{chunk-7T2FX6X4.mjs → chunk-R564FMS3.mjs} +162 -34
- package/dist/httpApi.mjs +4 -2
- package/dist/scheduledTasks.mjs +17000 -76
- package/dist/{server-TRLQURYS.mjs → server-J7ZUYRI6.mjs} +8 -2
- package/dist/wsServer.mjs +15 -7
- package/package.json +1 -1
- package/server.mjs +58 -9
- package/.next-prod/static/WSUa0F_X_5GfMavORSxeX/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/5156-04537ce3c95435b2.js +0 -3
- package/.next-prod/static/chunks/9469-424d7be830f93183.js +0 -14
- package/.next-prod/static/chunks/app/_global-error/page-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/pty-input/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/load/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/save/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/app/m/page-0be3799c1b38c991.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-cc849cd7b6f01cad.js +0 -1
- package/.next-prod/static/css/217cb3486f7b68d7.css +0 -1
- /package/.next-prod/static/{WSUa0F_X_5GfMavORSxeX → t45T3Imr0gQh7MYDeURiy}/_ssgManifest.js +0 -0
|
@@ -9390,18 +9390,18 @@ var parallelErrors = (self) => matchCauseEffect(self, {
|
|
|
9390
9390
|
onSuccess: succeed
|
|
9391
9391
|
});
|
|
9392
9392
|
var patchFiberRefs = (patch9) => updateFiberRefs((fiberId3, fiberRefs3) => pipe(patch9, patch6(fiberId3, fiberRefs3)));
|
|
9393
|
-
var promise = (evaluate3) => evaluate3.length >= 1 ? async_((
|
|
9393
|
+
var promise = (evaluate3) => evaluate3.length >= 1 ? async_((resolve2, signal) => {
|
|
9394
9394
|
try {
|
|
9395
|
-
evaluate3(signal).then((a) =>
|
|
9395
|
+
evaluate3(signal).then((a) => resolve2(succeed(a)), (e) => resolve2(die2(e)));
|
|
9396
9396
|
} catch (e) {
|
|
9397
|
-
|
|
9397
|
+
resolve2(die2(e));
|
|
9398
9398
|
}
|
|
9399
|
-
}) : async_((
|
|
9399
|
+
}) : async_((resolve2) => {
|
|
9400
9400
|
try {
|
|
9401
9401
|
;
|
|
9402
|
-
evaluate3().then((a) =>
|
|
9402
|
+
evaluate3().then((a) => resolve2(succeed(a)), (e) => resolve2(die2(e)));
|
|
9403
9403
|
} catch (e) {
|
|
9404
|
-
|
|
9404
|
+
resolve2(die2(e));
|
|
9405
9405
|
}
|
|
9406
9406
|
});
|
|
9407
9407
|
var provideService = /* @__PURE__ */ dual(3, (self, tag, service3) => contextWithEffect((env) => provideContext(self, add4(env, tag, service3))));
|
|
@@ -9527,19 +9527,19 @@ var tryPromise = (arg) => {
|
|
|
9527
9527
|
}
|
|
9528
9528
|
const fail20 = (e) => catcher ? failSync(() => catcher(e)) : fail2(new UnknownException(e, "An unknown error occurred in Effect.tryPromise"));
|
|
9529
9529
|
if (evaluate3.length >= 1) {
|
|
9530
|
-
return async_((
|
|
9530
|
+
return async_((resolve2, signal) => {
|
|
9531
9531
|
try {
|
|
9532
|
-
evaluate3(signal).then((a) =>
|
|
9532
|
+
evaluate3(signal).then((a) => resolve2(succeed(a)), (e) => resolve2(fail20(e)));
|
|
9533
9533
|
} catch (e) {
|
|
9534
|
-
|
|
9534
|
+
resolve2(fail20(e));
|
|
9535
9535
|
}
|
|
9536
9536
|
});
|
|
9537
9537
|
}
|
|
9538
|
-
return async_((
|
|
9538
|
+
return async_((resolve2) => {
|
|
9539
9539
|
try {
|
|
9540
|
-
evaluate3().then((a) =>
|
|
9540
|
+
evaluate3().then((a) => resolve2(succeed(a)), (e) => resolve2(fail20(e)));
|
|
9541
9541
|
} catch (e) {
|
|
9542
|
-
|
|
9542
|
+
resolve2(fail20(e));
|
|
9543
9543
|
}
|
|
9544
9544
|
});
|
|
9545
9545
|
};
|
|
@@ -15358,14 +15358,14 @@ var unsafeRunPromise = /* @__PURE__ */ makeDual((runtime4, effect4, options) =>
|
|
|
15358
15358
|
}
|
|
15359
15359
|
}
|
|
15360
15360
|
}));
|
|
15361
|
-
var unsafeRunPromiseExit = /* @__PURE__ */ makeDual((runtime4, effect4, options) => new Promise((
|
|
15361
|
+
var unsafeRunPromiseExit = /* @__PURE__ */ makeDual((runtime4, effect4, options) => new Promise((resolve2) => {
|
|
15362
15362
|
const op = fastPath(effect4);
|
|
15363
15363
|
if (op) {
|
|
15364
|
-
|
|
15364
|
+
resolve2(op);
|
|
15365
15365
|
}
|
|
15366
15366
|
const fiber = unsafeFork3(runtime4)(effect4);
|
|
15367
15367
|
fiber.addObserver((exit4) => {
|
|
15368
|
-
|
|
15368
|
+
resolve2(exit4);
|
|
15369
15369
|
});
|
|
15370
15370
|
if (options?.signal !== void 0) {
|
|
15371
15371
|
if (options.signal.aborted) {
|
|
@@ -26476,8 +26476,8 @@ var toReadableStreamRuntime = /* @__PURE__ */ dual((args2) => isStream(args2[0])
|
|
|
26476
26476
|
});
|
|
26477
26477
|
},
|
|
26478
26478
|
pull() {
|
|
26479
|
-
return new Promise((
|
|
26480
|
-
currentResolve =
|
|
26479
|
+
return new Promise((resolve2) => {
|
|
26480
|
+
currentResolve = resolve2;
|
|
26481
26481
|
runSync(latch.open);
|
|
26482
26482
|
});
|
|
26483
26483
|
},
|
|
@@ -26563,8 +26563,8 @@ var toAsyncIterableRuntime = /* @__PURE__ */ dual((args2) => isStream(args2[0]),
|
|
|
26563
26563
|
})));
|
|
26564
26564
|
});
|
|
26565
26565
|
}
|
|
26566
|
-
return new Promise((
|
|
26567
|
-
currentResolve =
|
|
26566
|
+
return new Promise((resolve2, reject) => {
|
|
26567
|
+
currentResolve = resolve2;
|
|
26568
26568
|
currentReject = reject;
|
|
26569
26569
|
latch.unsafeOpen();
|
|
26570
26570
|
});
|
|
@@ -28536,60 +28536,6 @@ var errorToStatus = (e) => {
|
|
|
28536
28536
|
}
|
|
28537
28537
|
};
|
|
28538
28538
|
|
|
28539
|
-
// packages/shared/effect-core/src/config.ts
|
|
28540
|
-
var envConfig = Config_exports.literal("dev", "prod")("COCKPIT_ENV").pipe(
|
|
28541
|
-
Config_exports.withDefault("prod")
|
|
28542
|
-
);
|
|
28543
|
-
var hostConfig = Config_exports.string("COCKPIT_HOST").pipe(
|
|
28544
|
-
Config_exports.withDefault("127.0.0.1")
|
|
28545
|
-
);
|
|
28546
|
-
var portConfig = Config_exports.integer("COCKPIT_PORT").pipe(
|
|
28547
|
-
Config_exports.orElse(() => Config_exports.integer("PORT")),
|
|
28548
|
-
Config_exports.withDefault(3457)
|
|
28549
|
-
);
|
|
28550
|
-
var openProjectConfig = Config_exports.option(
|
|
28551
|
-
Config_exports.string("COCKPIT_OPEN_PROJECT")
|
|
28552
|
-
).pipe(
|
|
28553
|
-
Config_exports.map((opt) => opt._tag === "Some" ? opt.value : void 0)
|
|
28554
|
-
);
|
|
28555
|
-
var noOpenConfig = Config_exports.boolean("COCKPIT_NO_OPEN").pipe(
|
|
28556
|
-
Config_exports.withDefault(false)
|
|
28557
|
-
);
|
|
28558
|
-
var logLevelConfig = Config_exports.string("COCKPIT_LOG_LEVEL").pipe(
|
|
28559
|
-
Config_exports.withDefault("info")
|
|
28560
|
-
);
|
|
28561
|
-
var cockpitDirConfigOpt = Config_exports.option(Config_exports.string("COCKPIT_DIR"));
|
|
28562
|
-
var CockpitConfig = Effect_exports.gen(
|
|
28563
|
-
function* () {
|
|
28564
|
-
const env = yield* envConfig;
|
|
28565
|
-
const host = yield* hostConfig;
|
|
28566
|
-
const port3 = yield* portConfig;
|
|
28567
|
-
const openProject = yield* openProjectConfig;
|
|
28568
|
-
const noOpen = yield* noOpenConfig;
|
|
28569
|
-
const logLevel3 = yield* logLevelConfig;
|
|
28570
|
-
const cockpitDirOpt = yield* cockpitDirConfigOpt;
|
|
28571
|
-
const cockpitDir = yield* Effect_exports.sync(() => {
|
|
28572
|
-
if (cockpitDirOpt._tag === "Some") return cockpitDirOpt.value;
|
|
28573
|
-
const env2 = typeof process !== "undefined" ? process.env : void 0;
|
|
28574
|
-
const home = env2?.HOME || env2?.USERPROFILE || ".";
|
|
28575
|
-
return home + "/.cockpit";
|
|
28576
|
-
});
|
|
28577
|
-
const logFile = cockpitDir + "/logs/cockpit.log";
|
|
28578
|
-
return {
|
|
28579
|
-
env,
|
|
28580
|
-
host,
|
|
28581
|
-
port: port3 === 3457 && env === "dev" ? 3456 : port3,
|
|
28582
|
-
// dev defaults to 3456
|
|
28583
|
-
cockpitDir,
|
|
28584
|
-
openProject,
|
|
28585
|
-
openBrowser: !noOpen,
|
|
28586
|
-
logLevel: logLevel3,
|
|
28587
|
-
logFile
|
|
28588
|
-
};
|
|
28589
|
-
}
|
|
28590
|
-
).pipe(Effect_exports.orDie);
|
|
28591
|
-
var ConfigLive = Layer_exports.empty;
|
|
28592
|
-
|
|
28593
28539
|
// packages/feature/console/src/server/plugins/neo4j/neo4jCore.ts
|
|
28594
28540
|
import neo4j from "neo4j-driver";
|
|
28595
28541
|
async function createNeo4jDriver(connectionString) {
|
|
@@ -28676,12 +28622,12 @@ function serializeValue(val) {
|
|
|
28676
28622
|
|
|
28677
28623
|
// packages/shared/utils/src/paths.ts
|
|
28678
28624
|
import { homedir } from "os";
|
|
28679
|
-
import { join as join4 } from "path";
|
|
28625
|
+
import { join as join4, resolve } from "path";
|
|
28680
28626
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
28681
28627
|
import { existsSync, writeFileSync, mkdirSync, readdirSync } from "fs";
|
|
28682
28628
|
import { execSync } from "child_process";
|
|
28683
28629
|
var HOME_DIR = homedir();
|
|
28684
|
-
var COCKPIT_DIR = join4(HOME_DIR, ".cockpit");
|
|
28630
|
+
var COCKPIT_DIR = process.env.COCKPIT_HOME ? resolve(process.env.COCKPIT_HOME.replace(/^~(?=$|\/)/, HOME_DIR)) : join4(HOME_DIR, ".cockpit");
|
|
28685
28631
|
var COCKPIT_PROJECTS_DIR = join4(COCKPIT_DIR, "projects");
|
|
28686
28632
|
var GLOBAL_STATE_FILE = join4(COCKPIT_DIR, "state.json");
|
|
28687
28633
|
var PINNED_SESSIONS_FILE = join4(COCKPIT_DIR, "pinned-sessions.json");
|
|
@@ -29031,6 +28977,59 @@ var TracerLivePretty = Layer_exports.succeed(
|
|
|
29031
28977
|
);
|
|
29032
28978
|
var TracerLiveNoop = Layer_exports.empty;
|
|
29033
28979
|
|
|
28980
|
+
// packages/shared/effect-core/src/config.ts
|
|
28981
|
+
var envConfig = Config_exports.literal("dev", "prod")("COCKPIT_ENV").pipe(
|
|
28982
|
+
Config_exports.withDefault("prod")
|
|
28983
|
+
);
|
|
28984
|
+
var hostConfig = Config_exports.string("COCKPIT_HOST").pipe(
|
|
28985
|
+
Config_exports.withDefault("127.0.0.1")
|
|
28986
|
+
);
|
|
28987
|
+
var portConfig = Config_exports.integer("COCKPIT_PORT").pipe(
|
|
28988
|
+
Config_exports.orElse(() => Config_exports.integer("PORT")),
|
|
28989
|
+
Config_exports.withDefault(3457)
|
|
28990
|
+
);
|
|
28991
|
+
var openProjectConfig = Config_exports.option(
|
|
28992
|
+
Config_exports.string("COCKPIT_OPEN_PROJECT")
|
|
28993
|
+
).pipe(
|
|
28994
|
+
Config_exports.map((opt) => opt._tag === "Some" ? opt.value : void 0)
|
|
28995
|
+
);
|
|
28996
|
+
var noOpenConfig = Config_exports.boolean("COCKPIT_NO_OPEN").pipe(
|
|
28997
|
+
Config_exports.withDefault(false)
|
|
28998
|
+
);
|
|
28999
|
+
var logLevelConfig = Config_exports.string("COCKPIT_LOG_LEVEL").pipe(
|
|
29000
|
+
Config_exports.withDefault("info")
|
|
29001
|
+
);
|
|
29002
|
+
var CockpitConfig = Effect_exports.gen(
|
|
29003
|
+
function* () {
|
|
29004
|
+
const env = yield* envConfig;
|
|
29005
|
+
const host = yield* hostConfig;
|
|
29006
|
+
const port3 = yield* portConfig;
|
|
29007
|
+
const openProject = yield* openProjectConfig;
|
|
29008
|
+
const noOpen = yield* noOpenConfig;
|
|
29009
|
+
const logLevel3 = yield* logLevelConfig;
|
|
29010
|
+
const cockpitDir = yield* Effect_exports.sync(() => {
|
|
29011
|
+
const env2 = typeof process !== "undefined" ? process.env : void 0;
|
|
29012
|
+
const home = env2?.HOME || env2?.USERPROFILE || ".";
|
|
29013
|
+
const homeOverride = env2?.COCKPIT_HOME;
|
|
29014
|
+
if (homeOverride) return homeOverride.replace(/^~(?=$|\/)/, home);
|
|
29015
|
+
return home + "/.cockpit";
|
|
29016
|
+
});
|
|
29017
|
+
const logFile = cockpitDir + "/logs/cockpit.log";
|
|
29018
|
+
return {
|
|
29019
|
+
env,
|
|
29020
|
+
host,
|
|
29021
|
+
port: port3 === 3457 && env === "dev" ? 3456 : port3,
|
|
29022
|
+
// dev defaults to 3456
|
|
29023
|
+
cockpitDir,
|
|
29024
|
+
openProject,
|
|
29025
|
+
openBrowser: !noOpen,
|
|
29026
|
+
logLevel: logLevel3,
|
|
29027
|
+
logFile
|
|
29028
|
+
};
|
|
29029
|
+
}
|
|
29030
|
+
).pipe(Effect_exports.orDie);
|
|
29031
|
+
var ConfigLive = Layer_exports.empty;
|
|
29032
|
+
|
|
29034
29033
|
// packages/shared/effect-core/src/schedule.ts
|
|
29035
29034
|
var wsReconnect = Schedule_exports.exponential(
|
|
29036
29035
|
Duration_exports.seconds(1),
|
|
@@ -29725,7 +29724,7 @@ var claudeStream = (req, apiKeyOverride) => Stream_exports.async((emit2) => {
|
|
|
29725
29724
|
// packages/feature/agent/src/effect/ollamaAdapter.ts
|
|
29726
29725
|
import { streamText } from "ai";
|
|
29727
29726
|
|
|
29728
|
-
// packages/feature/agent/src/server/
|
|
29727
|
+
// packages/feature/agent/src/server/engines/ollama/model.ts
|
|
29729
29728
|
import { createOpenAI } from "@ai-sdk/openai";
|
|
29730
29729
|
|
|
29731
29730
|
// packages/shared/utils/src/ollamaEnv.ts
|
|
@@ -29738,7 +29737,7 @@ function getOllamaOpenAIBaseURL() {
|
|
|
29738
29737
|
return `${getOllamaBaseURL()}/v1/`;
|
|
29739
29738
|
}
|
|
29740
29739
|
|
|
29741
|
-
// packages/feature/agent/src/server/
|
|
29740
|
+
// packages/feature/agent/src/server/engines/ollama/model.ts
|
|
29742
29741
|
var ollamaFetch = async (input, init) => {
|
|
29743
29742
|
if (init && typeof init.body === "string") {
|
|
29744
29743
|
try {
|
|
@@ -29906,16 +29905,20 @@ export {
|
|
|
29906
29905
|
ValidationError,
|
|
29907
29906
|
NotFoundError,
|
|
29908
29907
|
errorToStatus,
|
|
29909
|
-
CockpitConfig,
|
|
29910
29908
|
createNeo4jDriver,
|
|
29911
29909
|
runCypherWithDriver,
|
|
29912
29910
|
serializeValue,
|
|
29911
|
+
COCKPIT_DIR,
|
|
29913
29912
|
GLOBAL_STATE_FILE,
|
|
29914
29913
|
PUSH_SUBSCRIPTIONS_FILE,
|
|
29915
29914
|
SCHEDULED_TASKS_FILE,
|
|
29916
29915
|
SETTINGS_FILE,
|
|
29916
|
+
SKILLS_FILE,
|
|
29917
29917
|
REVIEW_DIR,
|
|
29918
29918
|
REVIEW_SIGNAL_FILE,
|
|
29919
|
+
CLAUDE2_DIR,
|
|
29920
|
+
DEEPSEEK_DIR,
|
|
29921
|
+
encodePath,
|
|
29919
29922
|
getTerminalHistoryPath,
|
|
29920
29923
|
getTerminalOutputPath,
|
|
29921
29924
|
getBubbleOrderPath,
|
|
@@ -29930,5 +29933,6 @@ export {
|
|
|
29930
29933
|
writeJsonFile,
|
|
29931
29934
|
withFileLock,
|
|
29932
29935
|
mutateJsonFile,
|
|
29936
|
+
createOllamaModel,
|
|
29933
29937
|
AppRuntime
|
|
29934
29938
|
};
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
readJsonFile,
|
|
11
11
|
withFileLock,
|
|
12
12
|
writeJsonFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GFI4IHYM.mjs";
|
|
14
14
|
|
|
15
15
|
// packages/feature/agent/src/server/state/globalState.ts
|
|
16
16
|
import { createReadStream, existsSync } from "fs";
|
|
@@ -157,6 +157,31 @@ async function updateGlobalState(cwd, sessionId, status, title, lastUserMessage)
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
+
async function getSessionTitle(cwd, sessionId) {
|
|
161
|
+
const claudePath = getClaudeSessionPath(cwd, sessionId);
|
|
162
|
+
if (existsSync(claudePath)) {
|
|
163
|
+
return getClaudeStyleTitle(claudePath);
|
|
164
|
+
}
|
|
165
|
+
const claude2Path = getClaude2SessionPath(cwd, sessionId);
|
|
166
|
+
if (existsSync(claude2Path)) {
|
|
167
|
+
return getClaudeStyleTitle(claude2Path);
|
|
168
|
+
}
|
|
169
|
+
const ollamaPath = getOllamaSessionPath(cwd, sessionId);
|
|
170
|
+
if (existsSync(ollamaPath)) {
|
|
171
|
+
return getClaudeStyleTitle(ollamaPath);
|
|
172
|
+
}
|
|
173
|
+
const codexPath = findCodexSessionPath(sessionId);
|
|
174
|
+
if (codexPath && existsSync(codexPath)) {
|
|
175
|
+
const title = await getCodexTitle(codexPath);
|
|
176
|
+
return title || "Untitled Session";
|
|
177
|
+
}
|
|
178
|
+
const kimiPath = findKimiSessionPath(sessionId);
|
|
179
|
+
if (kimiPath && existsSync(kimiPath)) {
|
|
180
|
+
const title = await getKimiTitle(kimiPath);
|
|
181
|
+
return title || "Untitled Session";
|
|
182
|
+
}
|
|
183
|
+
return "Untitled Session";
|
|
184
|
+
}
|
|
160
185
|
async function collectUserMessages(cwd, sessionId) {
|
|
161
186
|
const claudePath = getClaudeSessionPath(cwd, sessionId);
|
|
162
187
|
if (existsSync(claudePath)) {
|
|
@@ -211,6 +236,38 @@ function isValidUserMessage(text) {
|
|
|
211
236
|
if (!text.trim()) return false;
|
|
212
237
|
return true;
|
|
213
238
|
}
|
|
239
|
+
async function getClaudeStyleTitle(filePath) {
|
|
240
|
+
try {
|
|
241
|
+
const fileStream = createReadStream(filePath);
|
|
242
|
+
const rl = createInterface({ input: fileStream, crlfDelay: Infinity });
|
|
243
|
+
let summary = "";
|
|
244
|
+
const userMessages = [];
|
|
245
|
+
for await (const line of rl) {
|
|
246
|
+
if (!line.trim()) continue;
|
|
247
|
+
try {
|
|
248
|
+
const entry = JSON.parse(line);
|
|
249
|
+
if (entry.type === "summary" && entry.summary) {
|
|
250
|
+
summary = entry.summary;
|
|
251
|
+
}
|
|
252
|
+
if (entry.type === "user") {
|
|
253
|
+
const message = entry.message;
|
|
254
|
+
if (!message?.content) continue;
|
|
255
|
+
if (typeof message.content === "string") {
|
|
256
|
+
userMessages.push(message.content);
|
|
257
|
+
} else if (Array.isArray(message.content)) {
|
|
258
|
+
for (const block of message.content) {
|
|
259
|
+
if (block.type === "text" && block.text) userMessages.push(block.text);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
} catch {
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
return generateTitle(summary, userMessages);
|
|
267
|
+
} catch {
|
|
268
|
+
return "Untitled Session";
|
|
269
|
+
}
|
|
270
|
+
}
|
|
214
271
|
async function getClaudeStyleUserMessages(filePath) {
|
|
215
272
|
const messages = [];
|
|
216
273
|
try {
|
|
@@ -273,6 +330,30 @@ async function getCodexUserMessages(filePath) {
|
|
|
273
330
|
}
|
|
274
331
|
return messages;
|
|
275
332
|
}
|
|
333
|
+
async function getCodexTitle(filePath) {
|
|
334
|
+
try {
|
|
335
|
+
const fileStream = createReadStream(filePath);
|
|
336
|
+
const rl = createInterface({ input: fileStream, crlfDelay: Infinity });
|
|
337
|
+
for await (const line of rl) {
|
|
338
|
+
if (!line.trim()) continue;
|
|
339
|
+
let entry;
|
|
340
|
+
try {
|
|
341
|
+
entry = JSON.parse(line);
|
|
342
|
+
} catch {
|
|
343
|
+
continue;
|
|
344
|
+
}
|
|
345
|
+
if (entry.type !== "response_item") continue;
|
|
346
|
+
const payload = entry.payload;
|
|
347
|
+
if (!payload || payload.type !== "message" || payload.role !== "user") continue;
|
|
348
|
+
const text = payload.content?.filter((c) => c.type === "input_text" && c.text).map((c) => c.text).join("") || "";
|
|
349
|
+
if (!text || text.startsWith("<") || text.startsWith("#")) continue;
|
|
350
|
+
return text.slice(0, 80);
|
|
351
|
+
}
|
|
352
|
+
return void 0;
|
|
353
|
+
} catch {
|
|
354
|
+
return void 0;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
276
357
|
async function getKimiUserMessages(filePath) {
|
|
277
358
|
const messages = [];
|
|
278
359
|
try {
|
|
@@ -300,6 +381,48 @@ async function getKimiUserMessages(filePath) {
|
|
|
300
381
|
}
|
|
301
382
|
return messages;
|
|
302
383
|
}
|
|
384
|
+
async function getKimiTitle(filePath) {
|
|
385
|
+
try {
|
|
386
|
+
const fileStream = createReadStream(filePath);
|
|
387
|
+
const rl = createInterface({ input: fileStream, crlfDelay: Infinity });
|
|
388
|
+
for await (const line of rl) {
|
|
389
|
+
if (!line.trim()) continue;
|
|
390
|
+
let entry;
|
|
391
|
+
try {
|
|
392
|
+
entry = JSON.parse(line);
|
|
393
|
+
} catch {
|
|
394
|
+
continue;
|
|
395
|
+
}
|
|
396
|
+
if (entry.role !== "user") continue;
|
|
397
|
+
const text = typeof entry.content === "string" ? entry.content : Array.isArray(entry.content) ? entry.content.filter((c) => (c.type === "input_text" || c.type === "text") && c.text).map((c) => c.text).join("") : "";
|
|
398
|
+
if (!text || text.startsWith("<system") || text.startsWith("<environment") || text.startsWith("# AGENTS.md") || text.startsWith("<permissions")) {
|
|
399
|
+
continue;
|
|
400
|
+
}
|
|
401
|
+
return text.slice(0, 80);
|
|
402
|
+
}
|
|
403
|
+
return void 0;
|
|
404
|
+
} catch {
|
|
405
|
+
return void 0;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
function generateTitle(summary, userMessages) {
|
|
409
|
+
if (summary) return summary;
|
|
410
|
+
let commandName = "";
|
|
411
|
+
for (const msg of userMessages) {
|
|
412
|
+
const filtered = filterCommandTags(msg);
|
|
413
|
+
if (!filtered) continue;
|
|
414
|
+
if (filtered.startsWith("/") && !commandName) {
|
|
415
|
+
commandName = filtered;
|
|
416
|
+
continue;
|
|
417
|
+
}
|
|
418
|
+
if (commandName) {
|
|
419
|
+
return `${commandName} ${filtered}`;
|
|
420
|
+
}
|
|
421
|
+
return filtered;
|
|
422
|
+
}
|
|
423
|
+
if (commandName) return commandName;
|
|
424
|
+
return "Untitled Session";
|
|
425
|
+
}
|
|
303
426
|
|
|
304
427
|
// packages/feature/agent/src/server/sessionRunHub.ts
|
|
305
428
|
var GRACE_MS = 6e4;
|
|
@@ -323,6 +446,31 @@ function fanout(state, ev) {
|
|
|
323
446
|
}
|
|
324
447
|
}
|
|
325
448
|
}
|
|
449
|
+
function startRun(key, cwd, promptText) {
|
|
450
|
+
const prev = registry.get(key);
|
|
451
|
+
if (prev?.status === "running") return false;
|
|
452
|
+
const prevSeq = prev?.seq ?? seqByKey.get(key) ?? 0;
|
|
453
|
+
if (prev) {
|
|
454
|
+
if (prev.evictTimer) clearTimeout(prev.evictTimer);
|
|
455
|
+
for (const k of prev.keys) registry.delete(k);
|
|
456
|
+
}
|
|
457
|
+
registry.set(key, {
|
|
458
|
+
keys: /* @__PURE__ */ new Set([key]),
|
|
459
|
+
cwd,
|
|
460
|
+
status: "running",
|
|
461
|
+
seq: prevSeq,
|
|
462
|
+
events: [],
|
|
463
|
+
updatedAt: Date.now()
|
|
464
|
+
});
|
|
465
|
+
if (promptText) {
|
|
466
|
+
appendRun(key, {
|
|
467
|
+
type: "user",
|
|
468
|
+
_human: true,
|
|
469
|
+
message: { role: "user", content: promptText }
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
return true;
|
|
473
|
+
}
|
|
326
474
|
function appendRun(key, message) {
|
|
327
475
|
const r = registry.get(key);
|
|
328
476
|
if (!r) return;
|
|
@@ -332,6 +480,15 @@ function appendRun(key, message) {
|
|
|
332
480
|
r.updatedAt = Date.now();
|
|
333
481
|
fanout(r, { seq: r.seq, message });
|
|
334
482
|
}
|
|
483
|
+
function rekeyRun(oldId, newId) {
|
|
484
|
+
const r = registry.get(oldId);
|
|
485
|
+
if (!r) return;
|
|
486
|
+
r.sessionId = newId;
|
|
487
|
+
if (oldId !== newId) {
|
|
488
|
+
r.keys.add(newId);
|
|
489
|
+
registry.set(newId, r);
|
|
490
|
+
}
|
|
491
|
+
}
|
|
335
492
|
function markRunIdle(key, status = "idle") {
|
|
336
493
|
const r = registry.get(key);
|
|
337
494
|
if (!r) return;
|
|
@@ -362,6 +519,10 @@ function isRunActive(key) {
|
|
|
362
519
|
function getRunSessionId(key) {
|
|
363
520
|
return registry.get(key)?.sessionId ?? null;
|
|
364
521
|
}
|
|
522
|
+
function setRunAbort(key, abort) {
|
|
523
|
+
const r = registry.get(key);
|
|
524
|
+
if (r) r.abort = abort;
|
|
525
|
+
}
|
|
365
526
|
function requestStop(key) {
|
|
366
527
|
const r = registry.get(key);
|
|
367
528
|
if (!r) return false;
|
|
@@ -388,10 +549,16 @@ function addRunListener(key, cb) {
|
|
|
388
549
|
|
|
389
550
|
export {
|
|
390
551
|
updateGlobalState,
|
|
552
|
+
getSessionTitle,
|
|
391
553
|
getSessionPreview,
|
|
554
|
+
startRun,
|
|
555
|
+
appendRun,
|
|
556
|
+
rekeyRun,
|
|
557
|
+
markRunIdle,
|
|
392
558
|
getRunSnapshot,
|
|
393
559
|
isRunActive,
|
|
394
560
|
getRunSessionId,
|
|
561
|
+
setRunAbort,
|
|
395
562
|
requestStop,
|
|
396
563
|
addRunListener
|
|
397
564
|
};
|