@surething/cockpit 1.0.256 → 1.0.258
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 -4
- package/.next-prod/build-manifest.json +3 -3
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +4 -4
- package/.next-prod/react-loadable-manifest.json +2 -1
- package/.next-prod/routes-manifest.json +0 -6
- 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/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- 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/_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/_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 +1 -5
- 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/glm/route.js +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
- 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/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 +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/deepseek/balance/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/balance/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/deepseek/models/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/models/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/glm/credentials/route.js +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/models/route.js +1 -1
- package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js +1 -1
- package/.next-prod/server/app/api/glm/usage/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 -1
- package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/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/kimi/credentials/route.js +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
- package/.next-prod/server/app/api/kimi/usage/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/config/route.js +1 -1
- package/.next-prod/server/app/api/ollama/config/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/prompts/config/route.js +1 -1
- package/.next-prod/server/app/api/prompts/config/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 -6
- 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/apps/[...path]/route.js +1 -1
- package/.next-prod/server/app/apps/[...path]/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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 -4
- package/.next-prod/server/chunks/1564.js +5 -0
- package/.next-prod/server/chunks/3286.js +5 -5
- package/.next-prod/server/chunks/3863.js +1 -4
- package/.next-prod/server/chunks/5750.js +419 -0
- package/.next-prod/server/chunks/6495.js +1 -0
- package/.next-prod/server/chunks/6548.js +1 -1
- package/.next-prod/server/chunks/7270.js +3 -3
- package/.next-prod/server/chunks/8557.js +114 -0
- package/.next-prod/server/chunks/8764.js +26 -0
- package/.next-prod/server/chunks/9312.js +1 -0
- package/.next-prod/server/chunks/9352.js +6 -0
- package/.next-prod/server/chunks/9830.js +1 -1
- 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/ZFNy0XuBWptMqEQGi7GTy/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/1372-cc9afa045dc4eb5e.js +15 -0
- package/.next-prod/static/chunks/6784-500e233d3e8f6b41.js +381 -0
- package/.next-prod/static/chunks/7482-8478af06d5aa0972.js +25 -0
- package/.next-prod/static/chunks/9b0008ae.d0c8feea26186989.js +45 -0
- package/.next-prod/static/chunks/app/_global-error/page-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/load/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/save/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/prompts/config/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/{layout-f90feff7c76b0946.js → layout-bec1cf218bc88d81.js} +1 -1
- package/.next-prod/static/chunks/app/m/page-aff83d3f5f4047c5.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/app/{page-c4b0acf767168141.js → page-5e6dbc9731415743.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-c4b0acf767168141.js → page-5e6dbc9731415743.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-3c1c06e2de280418.js +1 -0
- package/.next-prod/static/chunks/webpack-ce60587570394496.js +1 -0
- package/.next-prod/static/css/2334aed02a409f57.css +1 -0
- package/.next-prod/trace +14 -14
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/routes.d.ts +1 -2
- package/.next-prod/types/validator.ts +0 -9
- package/dist/{chunk-AK47NPAX.mjs → chunk-L5TWVHYB.mjs} +128 -7
- package/dist/{chunk-BKJB2B6J.mjs → chunk-RSRPFWNL.mjs} +42 -24
- package/dist/{chunk-47FA22UG.mjs → chunk-YEZ3U3F2.mjs} +1 -1
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +716 -867
- package/dist/{server-MAWFYWEQ.mjs → server-UZPDELUK.mjs} +2 -2
- package/dist/wsServer.mjs +74 -16
- package/package.json +3 -2
- package/public/html-lib/pdf-viewer.js +12 -12
- package/public/pdfjs/pdf.worker.min.mjs +4 -4
- package/.next-prod/server/app/api/chat/pty-input/route.js +0 -1
- package/.next-prod/server/app/api/chat/pty-input/route.js.nft.json +0 -1
- package/.next-prod/server/app/api/chat/pty-input/route_client-reference-manifest.js +0 -1
- package/.next-prod/server/chunks/304.js +0 -5
- package/.next-prod/server/chunks/3630.js +0 -131
- package/.next-prod/server/chunks/3792.js +0 -9
- package/.next-prod/server/chunks/6244.js +0 -1
- package/.next-prod/server/chunks/816.js +0 -1
- package/.next-prod/server/chunks/9658.js +0 -419
- package/.next-prod/static/Czv7BvSRgbv_YxaPTAg76/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/6784-a667d5c1bad7809f.js +0 -381
- package/.next-prod/static/chunks/68-f485ff0192217706.js +0 -15
- package/.next-prod/static/chunks/8209-8bdd924515d12e09.js +0 -25
- package/.next-prod/static/chunks/9b0008ae.295c31138a16177d.js +0 -45
- package/.next-prod/static/chunks/app/_global-error/page-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/pty-input/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/load/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/save/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/prompts/config/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/app/m/page-76152d251f696ab0.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-9dac0ffeb2327967.js +0 -1
- package/.next-prod/static/chunks/webpack-2c0b747c5f1f1292.js +0 -1
- package/.next-prod/static/css/cec4dec703a9f1ee.css +0 -1
- package/.next-prod/types/app/api/chat/pty-input/route.ts +0 -353
- /package/.next-prod/static/{Czv7BvSRgbv_YxaPTAg76 → ZFNy0XuBWptMqEQGi7GTy}/_ssgManifest.js +0 -0
- /package/.next-prod/static/chunks/{e868780c-bf7462247eeab995.js → e868780c.bf7462247eeab995.js} +0 -0
package/.next-prod/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":14118537,"timestamp":210646152,"id":14,"parentId":1,"tags":{},"startTime":1786329445044,"traceId":"e26f3cd52a4bd227"},{"name":"run-typescript","duration":4968553,"timestamp":224768523,"id":1451,"parentId":1,"tags":{},"startTime":1786329459167,"traceId":"e26f3cd52a4bd227"},{"name":"static-check","duration":1250437,"timestamp":229775773,"id":1454,"parentId":1,"tags":{},"startTime":1786329464174,"traceId":"e26f3cd52a4bd227"},{"name":"static-generation","duration":5523040,"timestamp":231138100,"id":1758,"parentId":1,"tags":{},"startTime":1786329465536,"traceId":"e26f3cd52a4bd227"},{"name":"collect-build-traces","duration":21085798,"timestamp":231026750,"id":1755,"parentId":1,"tags":{},"startTime":1786329465425,"traceId":"e26f3cd52a4bd227"},{"name":"telemetry-flush","duration":58,"timestamp":252116385,"id":1767,"parentId":1,"tags":{},"startTime":1786329486514,"traceId":"e26f3cd52a4bd227"},{"name":"next-build","duration":41630225,"timestamp":210486233,"id":1,"tags":{"buildMode":"default","version":"16.3.0","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1786329444884,"traceId":"e26f3cd52a4bd227"}]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Do not edit this file manually
|
|
3
3
|
|
|
4
4
|
type AppRoutes = "/" | "/m" | "/project" | "/review/[id]"
|
|
5
|
-
type AppRouteHandlerRoutes = "/api/agent/test" | "/api/bash" | "/api/chat" | "/api/chat/codex" | "/api/chat/deepseek" | "/api/chat/glm" | "/api/chat/kimi" | "/api/chat/ollama" | "/api/chat/
|
|
5
|
+
type AppRouteHandlerRoutes = "/api/agent/test" | "/api/bash" | "/api/chat" | "/api/chat/codex" | "/api/chat/deepseek" | "/api/chat/glm" | "/api/chat/kimi" | "/api/chat/ollama" | "/api/chat/stop" | "/api/claude-stats" | "/api/commands" | "/api/comments" | "/api/db/columns" | "/api/db/connect" | "/api/db/disconnect" | "/api/db/export" | "/api/db/query" | "/api/db/schemas" | "/api/deepseek/balance" | "/api/deepseek/credentials" | "/api/deepseek/models" | "/api/dev/spans" | "/api/extension/version" | "/api/file" | "/api/files/blame" | "/api/files/clipboard" | "/api/files/copy" | "/api/files/delete" | "/api/files/expanded" | "/api/files/index" | "/api/files/init" | "/api/files/paste" | "/api/files/read" | "/api/files/readdir" | "/api/files/recent" | "/api/files/save" | "/api/files/search" | "/api/files/stat" | "/api/files/text" | "/api/git/branch-diff" | "/api/git/branches" | "/api/git/commit-diff" | "/api/git/commits" | "/api/git/current-branch" | "/api/git/diff" | "/api/git/discard" | "/api/git/stage" | "/api/git/status" | "/api/git/unstage" | "/api/git/worktree" | "/api/glm/credentials" | "/api/glm/models" | "/api/glm/usage" | "/api/global-state" | "/api/health" | "/api/html-apps" | "/api/html-apps/[id]" | "/api/jupyter/load" | "/api/jupyter/save" | "/api/jupyter/shutdown" | "/api/kimi/credentials" | "/api/kimi/models" | "/api/kimi/usage" | "/api/lsp/definition" | "/api/lsp/hover" | "/api/lsp/references" | "/api/lsp/status" | "/api/lsp/warmup" | "/api/mysql/columns" | "/api/mysql/connect" | "/api/mysql/disconnect" | "/api/mysql/export" | "/api/mysql/query" | "/api/mysql/schemas" | "/api/neo4j/connect" | "/api/neo4j/disconnect" | "/api/neo4j/query" | "/api/neo4j/schema" | "/api/note" | "/api/ollama/config" | "/api/ollama/models" | "/api/ollama/start" | "/api/open-cursor" | "/api/open-vscode" | "/api/pick-folder" | "/api/pinned-sessions" | "/api/project-settings" | "/api/project-state" | "/api/projectGraph/affected" | "/api/projectGraph/callees" | "/api/projectGraph/callers" | "/api/projectGraph/coedit" | "/api/projectGraph/context" | "/api/projectGraph/file" | "/api/projectGraph/file-functions" | "/api/projectGraph/impact" | "/api/projectGraph/related" | "/api/projectGraph/risk" | "/api/projectGraph/search" | "/api/projects" | "/api/prompts/config" | "/api/push/public-key" | "/api/push/subscribe" | "/api/push/unsubscribe" | "/api/redis/command" | "/api/redis/connect" | "/api/redis/delete" | "/api/redis/disconnect" | "/api/redis/get" | "/api/redis/keys" | "/api/redis/set" | "/api/review" | "/api/review/[id]" | "/api/review/[id]/comments" | "/api/review/[id]/replies" | "/api/review/identify" | "/api/review/order" | "/api/review/share-info" | "/api/review/users" | "/api/scheduled-tasks" | "/api/services/config" | "/api/services/scripts" | "/api/session-by-path" | "/api/session/[sessionId]/fork" | "/api/session/[sessionId]/history" | "/api/sessions" | "/api/sessions/projects" | "/api/sessions/projects/[encodedPath]" | "/api/settings" | "/api/skills" | "/api/skills/[id]" | "/api/skills/content" | "/api/snapshots" | "/api/snapshots/diff" | "/api/terminal/aliases" | "/api/terminal/autocomplete" | "/api/terminal/bubble-order" | "/api/terminal/env" | "/api/terminal/history" | "/api/version" | "/apps/[...path]"
|
|
6
6
|
type PageRoutes = never
|
|
7
7
|
type LayoutRoutes = "/"
|
|
8
8
|
type RedirectRoutes = never
|
|
@@ -20,7 +20,6 @@ interface ParamMap {
|
|
|
20
20
|
"/api/chat/glm": {}
|
|
21
21
|
"/api/chat/kimi": {}
|
|
22
22
|
"/api/chat/ollama": {}
|
|
23
|
-
"/api/chat/pty-input": {}
|
|
24
23
|
"/api/chat/stop": {}
|
|
25
24
|
"/api/claude-stats": {}
|
|
26
25
|
"/api/commands": {}
|
|
@@ -146,15 +146,6 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
|
|
146
146
|
type __Unused = __Check
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
// Validate ../../src/app/api/chat/pty-input/route.ts
|
|
150
|
-
{
|
|
151
|
-
type __IsExpected<Specific extends RouteHandlerConfig<"/api/chat/pty-input">> = Specific
|
|
152
|
-
const handler = {} as typeof import("../../src/app/api/chat/pty-input/route.js")
|
|
153
|
-
type __Check = __IsExpected<typeof handler>
|
|
154
|
-
// @ts-ignore
|
|
155
|
-
type __Unused = __Check
|
|
156
|
-
}
|
|
157
|
-
|
|
158
149
|
// Validate ../../src/app/api/chat/route.ts
|
|
159
150
|
{
|
|
160
151
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/chat">> = Specific
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
CLAUDE2_PROJECTS_DIR,
|
|
3
2
|
CLAUDE_PROJECTS_DIR,
|
|
3
|
+
CODEX_SESSIONS_DIR,
|
|
4
4
|
GLOBAL_STATE_FILE,
|
|
5
5
|
PUSH_SUBSCRIPTIONS_FILE,
|
|
6
6
|
SETTINGS_FILE,
|
|
7
7
|
findCodexSessionPath,
|
|
8
|
-
getClaude2SessionPath,
|
|
9
8
|
getClaudeSessionPath,
|
|
10
9
|
getDeepseekBuiltinSessionPath,
|
|
11
10
|
getDeepseekSessionPath,
|
|
@@ -18,7 +17,7 @@ import {
|
|
|
18
17
|
readJsonFile,
|
|
19
18
|
withFileLock,
|
|
20
19
|
writeJsonFile
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RSRPFWNL.mjs";
|
|
22
21
|
|
|
23
22
|
// packages/feature/agent/src/server/state/globalState.ts
|
|
24
23
|
import { createReadStream, existsSync, statSync } from "fs";
|
|
@@ -149,7 +148,6 @@ function generateTitle(aiTitle, summary, userMessages) {
|
|
|
149
148
|
// packages/feature/agent/src/server/state/globalState.ts
|
|
150
149
|
var CLAUDE_STYLE_PATHS = [
|
|
151
150
|
getClaudeSessionPath,
|
|
152
|
-
getClaude2SessionPath,
|
|
153
151
|
getOllamaSessionPath,
|
|
154
152
|
getDeepseekSessionPath,
|
|
155
153
|
getDeepseekBuiltinSessionPath,
|
|
@@ -699,6 +697,20 @@ function noHistoryStashPath(sessionPath) {
|
|
|
699
697
|
function readLines(filePath) {
|
|
700
698
|
return fs.readFileSync(filePath, "utf-8").split("\n").filter((line) => line.trim().length > 0);
|
|
701
699
|
}
|
|
700
|
+
function hasOnlyCompleteJsonLines(lines) {
|
|
701
|
+
for (const line of lines) {
|
|
702
|
+
try {
|
|
703
|
+
JSON.parse(line);
|
|
704
|
+
} catch {
|
|
705
|
+
return false;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
return true;
|
|
709
|
+
}
|
|
710
|
+
function replaceWithStash(stash, sessionPath) {
|
|
711
|
+
if (fs.existsSync(sessionPath)) fs.unlinkSync(sessionPath);
|
|
712
|
+
fs.renameSync(stash, sessionPath);
|
|
713
|
+
}
|
|
702
714
|
function tailUuid(lines) {
|
|
703
715
|
for (let i = lines.length - 1; i >= 0; i--) {
|
|
704
716
|
try {
|
|
@@ -737,7 +749,11 @@ function mergeStashedTranscript(sessionPath) {
|
|
|
737
749
|
const history = readLines(stash);
|
|
738
750
|
const turn = fs.existsSync(sessionPath) ? readLines(sessionPath) : [];
|
|
739
751
|
if (turn.length === 0) {
|
|
740
|
-
|
|
752
|
+
replaceWithStash(stash, sessionPath);
|
|
753
|
+
return "restored";
|
|
754
|
+
}
|
|
755
|
+
if (!hasOnlyCompleteJsonLines(turn)) {
|
|
756
|
+
replaceWithStash(stash, sessionPath);
|
|
741
757
|
return "restored";
|
|
742
758
|
}
|
|
743
759
|
const sessionId = basename2(sessionPath).replace(/\.jsonl$/, "");
|
|
@@ -747,7 +763,7 @@ function mergeStashedTranscript(sessionPath) {
|
|
|
747
763
|
fs.unlinkSync(stash);
|
|
748
764
|
return "merged";
|
|
749
765
|
}
|
|
750
|
-
function recoverStashedTranscripts(roots = [CLAUDE_PROJECTS_DIR
|
|
766
|
+
function recoverStashedTranscripts(roots = [CLAUDE_PROJECTS_DIR]) {
|
|
751
767
|
let repaired = 0;
|
|
752
768
|
for (const root of roots) {
|
|
753
769
|
if (!fs.existsSync(root)) continue;
|
|
@@ -777,6 +793,108 @@ function recoverStashedTranscripts(roots = [CLAUDE_PROJECTS_DIR, CLAUDE2_PROJECT
|
|
|
777
793
|
return repaired;
|
|
778
794
|
}
|
|
779
795
|
|
|
796
|
+
// packages/feature/agent/src/server/engines/shared/noHistoryRollout.ts
|
|
797
|
+
import * as fs2 from "fs";
|
|
798
|
+
import { dirname, join as join2 } from "path";
|
|
799
|
+
var STASH_SUFFIX = ".nohistory-backup";
|
|
800
|
+
function codexNoHistoryStashPath(sessionPath) {
|
|
801
|
+
return `${sessionPath}${STASH_SUFFIX}`;
|
|
802
|
+
}
|
|
803
|
+
function readLines2(filePath) {
|
|
804
|
+
return fs2.readFileSync(filePath, "utf-8").split("\n").filter((line) => line.trim().length > 0);
|
|
805
|
+
}
|
|
806
|
+
function isSessionMeta(line) {
|
|
807
|
+
try {
|
|
808
|
+
const entry = JSON.parse(line);
|
|
809
|
+
return entry.type === "session_meta" && typeof entry.payload?.id === "string" && typeof entry.payload?.cwd === "string";
|
|
810
|
+
} catch {
|
|
811
|
+
return false;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
function hasOnlyCompleteJsonLines2(lines) {
|
|
815
|
+
for (const line of lines) {
|
|
816
|
+
try {
|
|
817
|
+
JSON.parse(line);
|
|
818
|
+
} catch {
|
|
819
|
+
return false;
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
return true;
|
|
823
|
+
}
|
|
824
|
+
function replaceWithStash2(stash, sessionPath) {
|
|
825
|
+
if (fs2.existsSync(sessionPath)) fs2.unlinkSync(sessionPath);
|
|
826
|
+
fs2.renameSync(stash, sessionPath);
|
|
827
|
+
}
|
|
828
|
+
function stashCodexRollout(sessionPath) {
|
|
829
|
+
if (!fs2.existsSync(sessionPath)) return false;
|
|
830
|
+
const stash = codexNoHistoryStashPath(sessionPath);
|
|
831
|
+
if (fs2.existsSync(stash)) {
|
|
832
|
+
mergeStashedCodexRollout(sessionPath);
|
|
833
|
+
}
|
|
834
|
+
const lines = readLines2(sessionPath);
|
|
835
|
+
const meta = lines[0];
|
|
836
|
+
if (!meta || !isSessionMeta(meta)) {
|
|
837
|
+
throw new Error(`Cannot run Codex independent task: ${sessionPath} has no session_meta`);
|
|
838
|
+
}
|
|
839
|
+
fs2.mkdirSync(dirname(stash), { recursive: true });
|
|
840
|
+
fs2.renameSync(sessionPath, stash);
|
|
841
|
+
try {
|
|
842
|
+
fs2.writeFileSync(sessionPath, `${meta}
|
|
843
|
+
`, "utf-8");
|
|
844
|
+
} catch (error) {
|
|
845
|
+
if (fs2.existsSync(stash) && !fs2.existsSync(sessionPath)) {
|
|
846
|
+
fs2.renameSync(stash, sessionPath);
|
|
847
|
+
}
|
|
848
|
+
throw error;
|
|
849
|
+
}
|
|
850
|
+
return true;
|
|
851
|
+
}
|
|
852
|
+
function mergeStashedCodexRollout(sessionPath) {
|
|
853
|
+
const stash = codexNoHistoryStashPath(sessionPath);
|
|
854
|
+
if (!fs2.existsSync(stash)) return "none";
|
|
855
|
+
const history = readLines2(stash);
|
|
856
|
+
const turn = fs2.existsSync(sessionPath) ? readLines2(sessionPath) : [];
|
|
857
|
+
const turnLines = turn[0] && isSessionMeta(turn[0]) ? turn.slice(1) : turn;
|
|
858
|
+
if (turnLines.length === 0) {
|
|
859
|
+
replaceWithStash2(stash, sessionPath);
|
|
860
|
+
return "restored";
|
|
861
|
+
}
|
|
862
|
+
if (!hasOnlyCompleteJsonLines2(turnLines)) {
|
|
863
|
+
replaceWithStash2(stash, sessionPath);
|
|
864
|
+
return "restored";
|
|
865
|
+
}
|
|
866
|
+
fs2.writeFileSync(sessionPath, [...history, ...turnLines].join("\n") + "\n", "utf-8");
|
|
867
|
+
fs2.unlinkSync(stash);
|
|
868
|
+
return "merged";
|
|
869
|
+
}
|
|
870
|
+
function recoverStashedCodexRollouts(root = CODEX_SESSIONS_DIR) {
|
|
871
|
+
if (!fs2.existsSync(root)) return 0;
|
|
872
|
+
let repaired = 0;
|
|
873
|
+
const stack = [root];
|
|
874
|
+
while (stack.length > 0) {
|
|
875
|
+
const dir = stack.pop();
|
|
876
|
+
let entries;
|
|
877
|
+
try {
|
|
878
|
+
entries = fs2.readdirSync(dir, { withFileTypes: true });
|
|
879
|
+
} catch {
|
|
880
|
+
continue;
|
|
881
|
+
}
|
|
882
|
+
for (const entry of entries) {
|
|
883
|
+
const full = join2(dir, entry.name);
|
|
884
|
+
if (entry.isDirectory()) {
|
|
885
|
+
stack.push(full);
|
|
886
|
+
} else if (entry.isFile() && full.endsWith(STASH_SUFFIX)) {
|
|
887
|
+
const sessionPath = full.slice(0, -STASH_SUFFIX.length);
|
|
888
|
+
try {
|
|
889
|
+
if (mergeStashedCodexRollout(sessionPath) !== "none") repaired++;
|
|
890
|
+
} catch {
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
return repaired;
|
|
896
|
+
}
|
|
897
|
+
|
|
780
898
|
export {
|
|
781
899
|
updateGlobalState,
|
|
782
900
|
getSessionTitle,
|
|
@@ -793,5 +911,8 @@ export {
|
|
|
793
911
|
addRunListener,
|
|
794
912
|
stashTranscript,
|
|
795
913
|
mergeStashedTranscript,
|
|
796
|
-
recoverStashedTranscripts
|
|
914
|
+
recoverStashedTranscripts,
|
|
915
|
+
stashCodexRollout,
|
|
916
|
+
mergeStashedCodexRollout,
|
|
917
|
+
recoverStashedCodexRollouts
|
|
797
918
|
};
|
|
@@ -28622,9 +28622,9 @@ function serializeValue(val) {
|
|
|
28622
28622
|
|
|
28623
28623
|
// packages/shared/utils/src/paths.ts
|
|
28624
28624
|
import { homedir } from "os";
|
|
28625
|
-
import { join as join4, resolve } from "path";
|
|
28625
|
+
import { dirname, join as join4, resolve } from "path";
|
|
28626
28626
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
28627
|
-
import { existsSync, writeFileSync,
|
|
28627
|
+
import { closeSync, existsSync, mkdirSync, openSync, readSync, realpathSync, renameSync, statSync, unlinkSync, writeFileSync, readdirSync, readFileSync } from "fs";
|
|
28628
28628
|
import { execSync } from "child_process";
|
|
28629
28629
|
var HOME_DIR = homedir();
|
|
28630
28630
|
var COCKPIT_DIR = process.env.COCKPIT_HOME ? resolve(process.env.COCKPIT_HOME.replace(/^~(?=$|\/)/, HOME_DIR)) : join4(HOME_DIR, ".cockpit");
|
|
@@ -28636,13 +28636,12 @@ var NOTE_FILE = join4(COCKPIT_DIR, "note.md");
|
|
|
28636
28636
|
var SCHEDULED_TASKS_FILE = join4(COCKPIT_DIR, "scheduled-tasks.json");
|
|
28637
28637
|
var SETTINGS_FILE = join4(COCKPIT_DIR, "settings.json");
|
|
28638
28638
|
var SKILLS_FILE = join4(COCKPIT_DIR, "skills.json");
|
|
28639
|
+
var CODEX_SESSION_INDEX_FILE = join4(COCKPIT_DIR, "codex-session-index.json");
|
|
28639
28640
|
var HTML_APPS_FILE = join4(COCKPIT_DIR, "html.json");
|
|
28640
28641
|
var REVIEW_DIR = join4(COCKPIT_DIR, "review");
|
|
28641
28642
|
var REVIEW_SIGNAL_FILE = join4(REVIEW_DIR, "_signal");
|
|
28642
28643
|
var CLAUDE_DIR = join4(HOME_DIR, ".claude");
|
|
28643
28644
|
var CLAUDE_PROJECTS_DIR = join4(CLAUDE_DIR, "projects");
|
|
28644
|
-
var CLAUDE2_DIR = join4(HOME_DIR, ".claude2");
|
|
28645
|
-
var CLAUDE2_PROJECTS_DIR = join4(CLAUDE2_DIR, "projects");
|
|
28646
28645
|
var DEEPSEEK_DIR = join4(COCKPIT_DIR, "deepseek");
|
|
28647
28646
|
var DEEPSEEK_PROJECTS_DIR = join4(DEEPSEEK_DIR, "projects");
|
|
28648
28647
|
var DEEPSEEK_CREDENTIALS_FILE = join4(DEEPSEEK_DIR, "credentials.json");
|
|
@@ -28678,12 +28677,6 @@ function getClaudeProjectDir(cwd) {
|
|
|
28678
28677
|
function getClaudeSessionPath(cwd, sessionId) {
|
|
28679
28678
|
return join4(getClaudeProjectDir(cwd), `${sessionId}.jsonl`);
|
|
28680
28679
|
}
|
|
28681
|
-
function getClaude2ProjectDir(cwd) {
|
|
28682
|
-
return join4(CLAUDE2_PROJECTS_DIR, encodePath(cwd));
|
|
28683
|
-
}
|
|
28684
|
-
function getClaude2SessionPath(cwd, sessionId) {
|
|
28685
|
-
return join4(getClaude2ProjectDir(cwd), `${sessionId}.jsonl`);
|
|
28686
|
-
}
|
|
28687
28680
|
function getDeepseekProjectDir(cwd) {
|
|
28688
28681
|
return join4(DEEPSEEK_PROJECTS_DIR, encodePath(cwd));
|
|
28689
28682
|
}
|
|
@@ -28732,17 +28725,42 @@ function getKimiBuiltinSessionPath(cwd, sessionId) {
|
|
|
28732
28725
|
function getGlmBuiltinSessionPath(cwd, sessionId) {
|
|
28733
28726
|
return getBuiltinSessionPath("glm", cwd, sessionId);
|
|
28734
28727
|
}
|
|
28728
|
+
var CODEX_SESSIONS_DIR = join4(HOME_DIR, ".codex", "sessions");
|
|
28729
|
+
var CODEX_THREAD_ID_RE = /([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:\.jsonl)?$/i;
|
|
28730
|
+
function normalizeCodexSessionId(sessionIdOrPath) {
|
|
28731
|
+
const match21 = sessionIdOrPath.match(CODEX_THREAD_ID_RE);
|
|
28732
|
+
return match21?.[1] ?? sessionIdOrPath;
|
|
28733
|
+
}
|
|
28734
|
+
var CODEX_INDEX_VERSION = 2;
|
|
28735
|
+
var emptyCodexIndex = () => ({
|
|
28736
|
+
version: CODEX_INDEX_VERSION,
|
|
28737
|
+
updatedAt: 0,
|
|
28738
|
+
files: {}
|
|
28739
|
+
});
|
|
28740
|
+
function readCodexIndex() {
|
|
28741
|
+
try {
|
|
28742
|
+
const raw = JSON.parse(readFileSync(CODEX_SESSION_INDEX_FILE, "utf-8"));
|
|
28743
|
+
if (raw.version !== CODEX_INDEX_VERSION || !raw.files || typeof raw.files !== "object") return emptyCodexIndex();
|
|
28744
|
+
return {
|
|
28745
|
+
version: CODEX_INDEX_VERSION,
|
|
28746
|
+
updatedAt: raw.updatedAt || 0,
|
|
28747
|
+
files: raw.files
|
|
28748
|
+
};
|
|
28749
|
+
} catch {
|
|
28750
|
+
return emptyCodexIndex();
|
|
28751
|
+
}
|
|
28752
|
+
}
|
|
28735
28753
|
function findCodexSessionPath(threadId) {
|
|
28736
|
-
const
|
|
28737
|
-
|
|
28754
|
+
const normalizedThreadId = normalizeCodexSessionId(threadId);
|
|
28755
|
+
const cached4 = Object.values(readCodexIndex().files).find((entry) => entry.id === normalizedThreadId);
|
|
28756
|
+
if (cached4 && existsSync(cached4.path)) return cached4.path;
|
|
28757
|
+
if (!existsSync(CODEX_SESSIONS_DIR)) return null;
|
|
28738
28758
|
try {
|
|
28739
28759
|
const result = execSync(
|
|
28740
|
-
`find ${JSON.stringify(
|
|
28760
|
+
`find ${JSON.stringify(CODEX_SESSIONS_DIR)} -name "*${normalizedThreadId}.jsonl" -type f 2>/dev/null`,
|
|
28741
28761
|
{ encoding: "utf8", timeout: 3e3 }
|
|
28742
28762
|
).trim();
|
|
28743
|
-
if (result)
|
|
28744
|
-
return result.split("\n")[0];
|
|
28745
|
-
}
|
|
28763
|
+
if (result) return result.split("\n")[0];
|
|
28746
28764
|
} catch {
|
|
28747
28765
|
}
|
|
28748
28766
|
return null;
|
|
@@ -28823,9 +28841,9 @@ var LoggerLivePretty = Layer_exports.mergeAll(
|
|
|
28823
28841
|
);
|
|
28824
28842
|
var appendLogFile = async (line, filePath) => {
|
|
28825
28843
|
const { appendFile, mkdir: mkdir3 } = await import("fs/promises");
|
|
28826
|
-
const { dirname } = await import("path");
|
|
28844
|
+
const { dirname: dirname2 } = await import("path");
|
|
28827
28845
|
try {
|
|
28828
|
-
await mkdir3(
|
|
28846
|
+
await mkdir3(dirname2(filePath), { recursive: true });
|
|
28829
28847
|
await appendFile(filePath, line + "\n", "utf-8");
|
|
28830
28848
|
} catch {
|
|
28831
28849
|
}
|
|
@@ -30354,7 +30372,7 @@ var snapshotOnce = (snapshotsRoot, maxFileBytes, trigger, kind) => Effect_export
|
|
|
30354
30372
|
attributes: { cwd: trigger.cwd, tool: trigger.toolName ?? kind }
|
|
30355
30373
|
})
|
|
30356
30374
|
);
|
|
30357
|
-
var listByToolIdsImpl = (snapshotsRoot, cwd, toolIds) => Effect_exports.gen(function* () {
|
|
30375
|
+
var listByToolIdsImpl = (snapshotsRoot, cwd, toolIds, sessionKey) => Effect_exports.gen(function* () {
|
|
30358
30376
|
if (toolIds.length === 0) return [];
|
|
30359
30377
|
const repoDir = yield* resolveRepoDir(snapshotsRoot, cwd);
|
|
30360
30378
|
const headExists = yield* fsTry(
|
|
@@ -30371,7 +30389,9 @@ var listByToolIdsImpl = (snapshotsRoot, cwd, toolIds) => Effect_exports.gen(func
|
|
|
30371
30389
|
]);
|
|
30372
30390
|
if (log3.code !== 0) return [];
|
|
30373
30391
|
const wanted = new Set(toolIds);
|
|
30374
|
-
return log3.stdout.split("").filter(Boolean).map(commitFromLogRecord).filter(
|
|
30392
|
+
return log3.stdout.split("").filter(Boolean).map(commitFromLogRecord).filter(
|
|
30393
|
+
(c) => !!c && !!c.toolId && wanted.has(c.toolId) && (!sessionKey || c.sessionKey === sessionKey)
|
|
30394
|
+
);
|
|
30375
30395
|
}).pipe(Effect_exports.withSpan("snapshot.listByToolIds", { attributes: { cwd } }));
|
|
30376
30396
|
var showFile = (repoDir, cwd, rev, path) => runGit(repoDir, cwd, ["show", `${rev}:${path}`]).pipe(
|
|
30377
30397
|
Effect_exports.map((r) => r.code === 0 ? r.stdout : null),
|
|
@@ -30581,7 +30601,7 @@ var SnapshotServiceLive = Layer_exports.scoped(
|
|
|
30581
30601
|
return SnapshotService.of({
|
|
30582
30602
|
record: (trigger) => snapshotOnce(snapshotsRoot, maxFileBytes, trigger, "tool"),
|
|
30583
30603
|
baseline: (cwd, sessionKey, provider) => snapshotOnce(snapshotsRoot, maxFileBytes, { cwd, sessionKey, provider }, "baseline"),
|
|
30584
|
-
listByToolIds: (cwd, toolIds) => listByToolIdsImpl(snapshotsRoot, cwd, toolIds),
|
|
30604
|
+
listByToolIds: (cwd, toolIds, sessionKey) => listByToolIdsImpl(snapshotsRoot, cwd, toolIds, sessionKey),
|
|
30585
30605
|
diff: (cwd, commitHash) => diffImpl(snapshotsRoot, cwd, commitHash),
|
|
30586
30606
|
cleanup
|
|
30587
30607
|
});
|
|
@@ -30766,8 +30786,6 @@ export {
|
|
|
30766
30786
|
REVIEW_DIR,
|
|
30767
30787
|
REVIEW_SIGNAL_FILE,
|
|
30768
30788
|
CLAUDE_PROJECTS_DIR,
|
|
30769
|
-
CLAUDE2_DIR,
|
|
30770
|
-
CLAUDE2_PROJECTS_DIR,
|
|
30771
30789
|
DEEPSEEK_DIR,
|
|
30772
30790
|
DEEPSEEK_CREDENTIALS_FILE,
|
|
30773
30791
|
KIMI_DIR,
|
|
@@ -30780,7 +30798,6 @@ export {
|
|
|
30780
30798
|
getTerminalOutputPath,
|
|
30781
30799
|
getBubbleOrderPath,
|
|
30782
30800
|
getClaudeSessionPath,
|
|
30783
|
-
getClaude2SessionPath,
|
|
30784
30801
|
getDeepseekSessionPath,
|
|
30785
30802
|
getKimiSessionPath,
|
|
30786
30803
|
getGlmSessionPath,
|
|
@@ -30789,6 +30806,7 @@ export {
|
|
|
30789
30806
|
getDeepseekBuiltinSessionPath,
|
|
30790
30807
|
getKimiBuiltinSessionPath,
|
|
30791
30808
|
getGlmBuiltinSessionPath,
|
|
30809
|
+
CODEX_SESSIONS_DIR,
|
|
30792
30810
|
findCodexSessionPath,
|
|
30793
30811
|
ensureParentDir,
|
|
30794
30812
|
readJsonFile,
|
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-YEZ3U3F2.mjs";
|
|
26
26
|
import {
|
|
27
27
|
getTerminalHistoryPath
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RSRPFWNL.mjs";
|
|
29
29
|
import "./chunk-7P6ASYW6.mjs";
|
|
30
30
|
|
|
31
31
|
// src/lib/httpApi.ts
|