@surething/cockpit 1.0.278 → 1.0.280
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 +6 -5
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +12 -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/bots/[id]/route.js +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/route.js +1 -1
- package/.next-prod/server/app/api/bots/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +1 -1
- 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 +2 -2
- 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/fs/dirs/route.js +1 -0
- package/.next-prod/server/app/api/fs/dirs/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/fs/dirs/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/blob/route.js +1 -1
- package/.next-prod/server/app/api/git/blob/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 +2 -2
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -1
- package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/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/instructions/config/route.js +1 -1
- package/.next-prod/server/app/api/instructions/config/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 +2 -2
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
- package/.next-prod/server/app/api/ollama/default-model/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/output-styles/config/route.js +1 -1
- package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/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/restart/route.js +1 -1
- package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/identify/route.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/order/route.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/route.js +1 -1
- package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/users/route.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
- package/.next-prod/server/app/api/session/user-messages/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/delegate/route.js +1 -1
- package/.next-prod/server/app/api/sessions/delegate/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/search/route.js +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js +1 -1
- package/.next-prod/server/app/api/sessions/status/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/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/shutdown/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/blob/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/blob/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/range-diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/range-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/terminal/running/route.js +1 -0
- package/.next-prod/server/app/api/terminal/running/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/terminal/running/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/update/route.js +1 -1
- package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/update-state/route.js +1 -1
- package/.next-prod/server/app/api/update-state/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 +6 -5
- package/.next-prod/server/chunks/1863.js +1 -0
- package/.next-prod/server/chunks/2493.js +9 -9
- package/.next-prod/server/chunks/411.js +1 -0
- package/.next-prod/server/chunks/5591.js +2 -2
- package/.next-prod/server/chunks/7438.js +18 -17
- package/.next-prod/server/chunks/7918.js +1 -0
- package/.next-prod/server/chunks/8022.js +1 -1
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/_195_hPNVuma2vZS7bpTW/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/81016-71999ca5bd6a6b2f.js +36 -0
- package/.next-prod/static/chunks/{95313-eb607273c688b022.js → 95313-af5cc33125d6c0ff.js} +3 -3
- package/.next-prod/static/chunks/99092-d9525c22b942b051.js +716 -0
- package/.next-prod/static/chunks/app/_global-error/page-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/[id]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/fs/dirs/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/output-styles/config/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/search/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/status/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/running/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/{layout-589122feb9071556.js → layout-0c3dcac0764d9e97.js} +1 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/page-b472e7f948959009.js +1 -0
- package/.next-prod/static/chunks/app/project/page-b472e7f948959009.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/css/e70d0cefe04f0619.css +1 -0
- package/.next-prod/trace +15 -15
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/{pick-folder → fs/dirs}/route.ts +3 -3
- package/.next-prod/types/app/api/terminal/running/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +3 -2
- package/.next-prod/types/validator.ts +18 -9
- package/bin/pty-host.mjs +423 -0
- package/dist/{chunk-LPZXJPD6.mjs → chunk-3LSLUAN6.mjs} +143 -95
- package/dist/{chunk-W5MB7DIM.mjs → chunk-N6CFCP2N.mjs} +655 -9
- package/dist/httpApi.mjs +7 -3
- package/dist/scheduledTasks.mjs +67 -11
- package/dist/wsServer.mjs +118 -141
- package/package.json +3 -3
- package/server.mjs +12 -0
- package/skills/cr/SKILL.md +306 -126
- package/skills/ex/SKILL.md +39 -59
- package/skills/fx/SKILL.md +46 -4
- package/skills/go/SKILL.md +26 -87
- package/skills/qa/SKILL.md +46 -36
- package/.next-prod/server/app/api/pick-folder/route.js +0 -1
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +0 -1
- package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +0 -1
- package/.next-prod/server/chunks/6548.js +0 -1
- package/.next-prod/static/I8gbcTQRiRdMF09goE7WI/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/60875-acaae14dd7ddcd91.js +0 -35
- package/.next-prod/static/chunks/99092-f94ee242866d22b9.js +0 -716
- package/.next-prod/static/chunks/app/_global-error/page-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/[id]/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/instructions/config/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/output-styles/config/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/session/user-messages/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/search/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/status/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/app/page-a69072e6dbd4a059.js +0 -1
- package/.next-prod/static/chunks/app/project/page-a69072e6dbd4a059.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b3c86dd8f06140fe.js +0 -1
- package/.next-prod/static/css/2abfec9d3e93011f.css +0 -1
- package/skills/ap/SKILL.md +0 -18
- /package/.next-prod/static/{I8gbcTQRiRdMF09goE7WI → _195_hPNVuma2vZS7bpTW}/_ssgManifest.js +0 -0
package/dist/httpApi.mjs
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
CONSOLE_TAB_ID,
|
|
3
3
|
addExitListener,
|
|
4
4
|
addOutputListener,
|
|
5
|
+
adoptPtyHostSessions,
|
|
5
6
|
closeBrowserBubble,
|
|
6
7
|
createPendingRequest,
|
|
7
8
|
findBrowserBubbleByShortId,
|
|
@@ -24,13 +25,14 @@ import {
|
|
|
24
25
|
resolveProjectCwd,
|
|
25
26
|
sendCommandToBrowser,
|
|
26
27
|
stripAnsi,
|
|
28
|
+
sweepOrphanTerminalOutputs,
|
|
27
29
|
unregisterBrowser,
|
|
28
30
|
unregisterTerminal,
|
|
29
31
|
writeStdinToCommand
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-N6CFCP2N.mjs";
|
|
31
33
|
import {
|
|
32
34
|
getTerminalHistoryPath
|
|
33
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-3LSLUAN6.mjs";
|
|
34
36
|
import "./chunk-7P6ASYW6.mjs";
|
|
35
37
|
|
|
36
38
|
// src/lib/httpApi.ts
|
|
@@ -609,8 +611,10 @@ async function handleConnectionApi(req, res) {
|
|
|
609
611
|
return true;
|
|
610
612
|
}
|
|
611
613
|
export {
|
|
614
|
+
adoptPtyHostSessions,
|
|
612
615
|
flushAllRunningSync,
|
|
613
616
|
handleBrowserApi,
|
|
614
617
|
handleConnectionApi,
|
|
615
|
-
handleTerminalApi
|
|
618
|
+
handleTerminalApi,
|
|
619
|
+
sweepOrphanTerminalOutputs
|
|
616
620
|
};
|
package/dist/scheduledTasks.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
updateGlobalState,
|
|
23
23
|
withFileLock,
|
|
24
24
|
writeJsonFile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3LSLUAN6.mjs";
|
|
26
26
|
import "./chunk-7P6ASYW6.mjs";
|
|
27
27
|
|
|
28
28
|
// packages/feature/agent/src/server/scheduledTasks.ts
|
|
@@ -291,7 +291,6 @@ var en_default = {
|
|
|
291
291
|
noSessionsYet: "No sessions yet",
|
|
292
292
|
projectList: "Project List",
|
|
293
293
|
openFolder: "Open Folder",
|
|
294
|
-
selectingFolder: "Selecting...",
|
|
295
294
|
loadingHistory: "Loading history..."
|
|
296
295
|
},
|
|
297
296
|
scheduledTasks: {
|
|
@@ -355,6 +354,18 @@ var en_default = {
|
|
|
355
354
|
weeklyMon9am: "Mon 09:00",
|
|
356
355
|
monthly1st9am: "1st of month 09:00"
|
|
357
356
|
},
|
|
357
|
+
runningTerminals: {
|
|
358
|
+
title: "Terminals",
|
|
359
|
+
status: "{{count}} terminal(s) \xB7 {{projects}} project(s)",
|
|
360
|
+
keys: "\u2191\u2193 select \xB7 Enter open \xB7 Del stop \xB7 Esc close",
|
|
361
|
+
empty: "No terminals running",
|
|
362
|
+
currentProject: "current project",
|
|
363
|
+
stop: "Stop",
|
|
364
|
+
confirmStop: "Stop this process?",
|
|
365
|
+
stopping: "Stopping\u2026",
|
|
366
|
+
stopFailed: "Failed to stop the terminal",
|
|
367
|
+
notFound: "Couldn't find this terminal's bubble"
|
|
368
|
+
},
|
|
358
369
|
cron: {
|
|
359
370
|
everyNMinutes: "Every {{n}} minutes",
|
|
360
371
|
everyNHours: "Every {{n}} hours",
|
|
@@ -1216,6 +1227,8 @@ var en_default = {
|
|
|
1216
1227
|
aggregateFailed: "Aggregation failed",
|
|
1217
1228
|
aggregateBaselineSkipped: "Skipped {{count}} baseline-scale call(s)",
|
|
1218
1229
|
aggregateBaselineIncluded: "Including {{count}} baseline-scale call(s)",
|
|
1230
|
+
callsBaselineHidden: "Hid {{count}} baseline-scale call(s)",
|
|
1231
|
+
callsBaselineShown: "Showing {{count}} baseline-scale call(s)",
|
|
1219
1232
|
aggregateSkippedHint: "These calls touched more than {{threshold}} files \u2014 usually a branch switch or rebase rather than authored work. Click to toggle.",
|
|
1220
1233
|
imageBefore: "Before",
|
|
1221
1234
|
imageAfter: "After",
|
|
@@ -1299,8 +1312,19 @@ var en_default = {
|
|
|
1299
1312
|
imageTooLarge: "Image too large to preview",
|
|
1300
1313
|
cannotPreviewBinary: "Cannot preview binary file",
|
|
1301
1314
|
fileTooLarge: "File too large to preview (over 10MB)",
|
|
1302
|
-
fileModifiedExternally: "File was modified externally"
|
|
1303
|
-
|
|
1315
|
+
fileModifiedExternally: "File was modified externally"
|
|
1316
|
+
},
|
|
1317
|
+
folderPicker: {
|
|
1318
|
+
title: "Open Folder",
|
|
1319
|
+
placeholder: "Type or paste a path, e.g. ~/Work/my-app",
|
|
1320
|
+
open: "Open",
|
|
1321
|
+
showHidden: "Show hidden",
|
|
1322
|
+
hint: "\u2191\u2193 select \xB7 Tab/Enter go in \xB7 \u2318/Ctrl+Enter open",
|
|
1323
|
+
empty: "No subfolders",
|
|
1324
|
+
noMatch: "No matching folders",
|
|
1325
|
+
notFound: "Folder not found",
|
|
1326
|
+
notDirectory: "Not a folder",
|
|
1327
|
+
denied: "Permission denied. On macOS, grant access in System Settings \u203A Privacy & Security."
|
|
1304
1328
|
},
|
|
1305
1329
|
confirm: {
|
|
1306
1330
|
title: "Notice",
|
|
@@ -1660,7 +1684,6 @@ var zh_default = {
|
|
|
1660
1684
|
noSessionsYet: "\u6682\u65E0\u4F1A\u8BDD",
|
|
1661
1685
|
projectList: "\u9879\u76EE\u5217\u8868",
|
|
1662
1686
|
openFolder: "\u6253\u5F00\u6587\u4EF6\u5939",
|
|
1663
|
-
selectingFolder: "\u9009\u62E9\u4E2D...",
|
|
1664
1687
|
loadingHistory: "\u52A0\u8F7D\u5386\u53F2\u6D88\u606F..."
|
|
1665
1688
|
},
|
|
1666
1689
|
scheduledTasks: {
|
|
@@ -1724,6 +1747,18 @@ var zh_default = {
|
|
|
1724
1747
|
weeklyMon9am: "\u6BCF\u5468\u4E00 09:00",
|
|
1725
1748
|
monthly1st9am: "\u6BCF\u6708 1 \u53F7 09:00"
|
|
1726
1749
|
},
|
|
1750
|
+
runningTerminals: {
|
|
1751
|
+
title: "\u7EC8\u7AEF",
|
|
1752
|
+
status: "{{count}} \u4E2A\u7EC8\u7AEF \xB7 {{projects}} \u4E2A\u9879\u76EE",
|
|
1753
|
+
keys: "\u2191\u2193 \u9009\u62E9 \xB7 Enter \u8DF3\u8F6C \xB7 Del \u505C\u6B62 \xB7 Esc \u5173\u95ED",
|
|
1754
|
+
empty: "\u6CA1\u6709\u6B63\u5728\u8FD0\u884C\u7684\u7EC8\u7AEF",
|
|
1755
|
+
currentProject: "\u5F53\u524D\u9879\u76EE",
|
|
1756
|
+
stop: "\u505C\u6B62",
|
|
1757
|
+
confirmStop: "\u505C\u6B62\u8FD9\u4E2A\u8FDB\u7A0B\uFF1F",
|
|
1758
|
+
stopping: "\u505C\u6B62\u4E2D\u2026",
|
|
1759
|
+
stopFailed: "\u505C\u6B62\u7EC8\u7AEF\u5931\u8D25",
|
|
1760
|
+
notFound: "\u6CA1\u627E\u5230\u8FD9\u4E2A\u7EC8\u7AEF\u7684\u6C14\u6CE1"
|
|
1761
|
+
},
|
|
1727
1762
|
cron: {
|
|
1728
1763
|
everyNMinutes: "\u6BCF {{n}} \u5206\u949F",
|
|
1729
1764
|
everyNHours: "\u6BCF {{n}} \u5C0F\u65F6\u6574\u70B9",
|
|
@@ -2585,6 +2620,8 @@ var zh_default = {
|
|
|
2585
2620
|
aggregateFailed: "\u6C47\u603B\u5931\u8D25",
|
|
2586
2621
|
aggregateBaselineSkipped: "\u5DF2\u8DF3\u8FC7 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2587
2622
|
aggregateBaselineIncluded: "\u5DF2\u8BA1\u5165 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2623
|
+
callsBaselineHidden: "\u5DF2\u9690\u85CF {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2624
|
+
callsBaselineShown: "\u5DF2\u663E\u793A {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2588
2625
|
aggregateSkippedHint: "\u8FD9\u4E9B\u8C03\u7528\u6539\u52A8\u7684\u6587\u4EF6\u6570\u8D85\u8FC7 {{threshold}}\uFF0C\u901A\u5E38\u662F\u5207\u6362\u5206\u652F / rebase \u800C\u975E\u7F16\u5199\u4EE3\u7801\u3002\u70B9\u51FB\u5207\u6362\u662F\u5426\u8BA1\u5165",
|
|
2589
2626
|
imageBefore: "\u53D8\u66F4\u524D",
|
|
2590
2627
|
imageAfter: "\u53D8\u66F4\u540E",
|
|
@@ -2668,8 +2705,19 @@ var zh_default = {
|
|
|
2668
2705
|
imageTooLarge: "\u56FE\u7247\u6587\u4EF6\u8FC7\u5927\uFF0C\u65E0\u6CD5\u9884\u89C8",
|
|
2669
2706
|
cannotPreviewBinary: "\u65E0\u6CD5\u9884\u89C8\u4E8C\u8FDB\u5236\u6587\u4EF6",
|
|
2670
2707
|
fileTooLarge: "\u6587\u4EF6\u8FC7\u5927\uFF0C\u65E0\u6CD5\u9884\u89C8\uFF08\u8D85\u8FC7 10MB\uFF09",
|
|
2671
|
-
fileModifiedExternally: "\u6587\u4EF6\u5DF2\u88AB\u5916\u90E8\u4FEE\u6539"
|
|
2672
|
-
|
|
2708
|
+
fileModifiedExternally: "\u6587\u4EF6\u5DF2\u88AB\u5916\u90E8\u4FEE\u6539"
|
|
2709
|
+
},
|
|
2710
|
+
folderPicker: {
|
|
2711
|
+
title: "\u6253\u5F00\u6587\u4EF6\u5939",
|
|
2712
|
+
placeholder: "\u8F93\u5165\u6216\u7C98\u8D34\u8DEF\u5F84\uFF0C\u5982 ~/Work/my-app",
|
|
2713
|
+
open: "\u6253\u5F00",
|
|
2714
|
+
showHidden: "\u663E\u793A\u9690\u85CF\u76EE\u5F55",
|
|
2715
|
+
hint: "\u2191\u2193 \u9009\u62E9 \xB7 Tab/\u56DE\u8F66 \u8FDB\u5165 \xB7 \u2318/Ctrl+\u56DE\u8F66 \u6253\u5F00",
|
|
2716
|
+
empty: "\u6CA1\u6709\u5B50\u6587\u4EF6\u5939",
|
|
2717
|
+
noMatch: "\u6CA1\u6709\u5339\u914D\u7684\u6587\u4EF6\u5939",
|
|
2718
|
+
notFound: "\u6587\u4EF6\u5939\u4E0D\u5B58\u5728",
|
|
2719
|
+
notDirectory: "\u4E0D\u662F\u6587\u4EF6\u5939",
|
|
2720
|
+
denied: "\u6CA1\u6709\u8BBF\u95EE\u6743\u9650\u3002macOS \u4E0A\u8BF7\u5728 \u7CFB\u7EDF\u8BBE\u7F6E \u203A \u9690\u79C1\u4E0E\u5B89\u5168\u6027 \u4E2D\u6388\u6743\u3002"
|
|
2673
2721
|
},
|
|
2674
2722
|
confirm: {
|
|
2675
2723
|
title: "\u63D0\u793A",
|
|
@@ -2996,7 +3044,7 @@ var ScheduledTaskManager = class {
|
|
|
2996
3044
|
if (this.initialized) return;
|
|
2997
3045
|
this.initialized = true;
|
|
2998
3046
|
try {
|
|
2999
|
-
this.tasks = await
|
|
3047
|
+
this.tasks = await this.readTasksFromDisk();
|
|
3000
3048
|
} catch (error) {
|
|
3001
3049
|
this.loadFailed = true;
|
|
3002
3050
|
this.tasks = [];
|
|
@@ -3026,9 +3074,17 @@ var ScheduledTaskManager = class {
|
|
|
3026
3074
|
}
|
|
3027
3075
|
/**
|
|
3028
3076
|
* Read tasks from disk (avoids in-memory inconsistency between dual module instances).
|
|
3077
|
+
*
|
|
3078
|
+
* Under the file lock: writeJsonFile truncates and rewrites in place (no atomic
|
|
3079
|
+
* rename), so an unlocked read racing a writer sees an empty file, and the strict
|
|
3080
|
+
* parse turns that into a thrown "not valid JSON". Never call this from inside a
|
|
3081
|
+
* withFileLock(SCHEDULED_TASKS_FILE) block — the lock does not nest.
|
|
3029
3082
|
*/
|
|
3030
3083
|
async readTasksFromDisk() {
|
|
3031
|
-
return
|
|
3084
|
+
return withFileLock(
|
|
3085
|
+
SCHEDULED_TASKS_FILE,
|
|
3086
|
+
() => readJsonFileForUpdate(SCHEDULED_TASKS_FILE, [])
|
|
3087
|
+
);
|
|
3032
3088
|
}
|
|
3033
3089
|
/**
|
|
3034
3090
|
* Return all tasks for the current instance (reads from disk each time to ensure cross-instance consistency).
|
|
@@ -3116,7 +3172,7 @@ var ScheduledTaskManager = class {
|
|
|
3116
3172
|
* Resume a task.
|
|
3117
3173
|
*/
|
|
3118
3174
|
async resumeTask(id) {
|
|
3119
|
-
const allTasks = await
|
|
3175
|
+
const allTasks = await this.readTasksFromDisk();
|
|
3120
3176
|
const task = allTasks.find((t) => t.id === id);
|
|
3121
3177
|
if (!task) return null;
|
|
3122
3178
|
const now = Date.now();
|
|
@@ -3143,7 +3199,7 @@ var ScheduledTaskManager = class {
|
|
|
3143
3199
|
*/
|
|
3144
3200
|
async triggerTask(id) {
|
|
3145
3201
|
await this.ensureInit();
|
|
3146
|
-
const allTasks = await
|
|
3202
|
+
const allTasks = await this.readTasksFromDisk();
|
|
3147
3203
|
const task = allTasks.find((t) => t.id === id);
|
|
3148
3204
|
if (!task) return false;
|
|
3149
3205
|
const memIdx = this.tasks.findIndex((t) => t.id === id);
|
package/dist/wsServer.mjs
CHANGED
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addExitListener,
|
|
3
3
|
addOutputListener,
|
|
4
|
+
adoptPtyHostSessions,
|
|
4
5
|
finalizeCommand,
|
|
5
6
|
findSafeStart,
|
|
6
7
|
getAllProjectCwds,
|
|
8
|
+
getDefaultPath,
|
|
9
|
+
getDefaultShell,
|
|
7
10
|
getRegistrySize,
|
|
8
11
|
getRunningCommand,
|
|
9
12
|
getRunningCommands,
|
|
10
13
|
getTerminalByShortId,
|
|
14
|
+
interruptPidTree,
|
|
15
|
+
isWindows,
|
|
11
16
|
registerBrowser,
|
|
12
17
|
registerCommand,
|
|
13
18
|
resolvePendingRequest,
|
|
19
|
+
spawnPipeInHost,
|
|
20
|
+
spawnPtyInHost,
|
|
14
21
|
unregisterBrowser,
|
|
15
22
|
writeStdinToCommand
|
|
16
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-N6CFCP2N.mjs";
|
|
17
24
|
import {
|
|
18
25
|
Effect_exports,
|
|
19
26
|
FSError,
|
|
@@ -33,7 +40,7 @@ import {
|
|
|
33
40
|
recoverStashedCodexRollouts,
|
|
34
41
|
recoverStashedTranscripts,
|
|
35
42
|
sanitizedSpawnEnv
|
|
36
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-3LSLUAN6.mjs";
|
|
37
44
|
import {
|
|
38
45
|
registerWatcherSubscriber,
|
|
39
46
|
subscribeBuildProgress
|
|
@@ -97,19 +104,6 @@ var fromWebSocket = (ws, proto) => Effect_exports.gen(function* () {
|
|
|
97
104
|
return { send, messages, close };
|
|
98
105
|
});
|
|
99
106
|
|
|
100
|
-
// packages/shared/utils/src/platform.ts
|
|
101
|
-
var isMac = process.platform === "darwin";
|
|
102
|
-
var isWindows = process.platform === "win32";
|
|
103
|
-
var isLinux = process.platform === "linux";
|
|
104
|
-
function getDefaultShell() {
|
|
105
|
-
if (isWindows) return process.env.COMSPEC || "powershell.exe";
|
|
106
|
-
return process.env.SHELL || "/bin/sh";
|
|
107
|
-
}
|
|
108
|
-
function getDefaultPath() {
|
|
109
|
-
if (isWindows) return process.env.PATH || "";
|
|
110
|
-
return process.env.PATH || "/usr/local/bin:/usr/bin:/bin";
|
|
111
|
-
}
|
|
112
|
-
|
|
113
107
|
// src/lib/effect/globalStateHandler.ts
|
|
114
108
|
var HEARTBEAT_INTERVAL = Schedule_exports.spaced("30 seconds");
|
|
115
109
|
var sendGlobalState = (conn) => Effect_exports.gen(function* () {
|
|
@@ -685,8 +679,7 @@ var runBrowserHandler = (ws, fullId, projectCwd, tabId) => {
|
|
|
685
679
|
};
|
|
686
680
|
|
|
687
681
|
// src/lib/effect/terminalHandler.ts
|
|
688
|
-
import {
|
|
689
|
-
import * as nodePty from "node-pty";
|
|
682
|
+
import { execSync as execSync2 } from "child_process";
|
|
690
683
|
|
|
691
684
|
// src/lib/shell.ts
|
|
692
685
|
import { existsSync as existsSync3 } from "fs";
|
|
@@ -760,6 +753,11 @@ function killProcessTree(child) {
|
|
|
760
753
|
|
|
761
754
|
// src/lib/effect/terminalHandler.ts
|
|
762
755
|
var HEARTBEAT4 = Schedule_exports.spaced("30 seconds");
|
|
756
|
+
var pendingPtySizes = /* @__PURE__ */ new Map();
|
|
757
|
+
function errorMessage(e) {
|
|
758
|
+
const cause = e.error ?? e;
|
|
759
|
+
return cause instanceof Error ? cause.message : String(cause);
|
|
760
|
+
}
|
|
763
761
|
var OPEN_PREFERRED_SHELL_COMMAND = "__cockpit_open_preferred_shell__";
|
|
764
762
|
function commandPath(command) {
|
|
765
763
|
try {
|
|
@@ -807,61 +805,6 @@ function resolveCommandShell() {
|
|
|
807
805
|
"bash not found \u2014 install Git Bash or WSL on Windows to run commands"
|
|
808
806
|
);
|
|
809
807
|
}
|
|
810
|
-
function windowsChildPidMap() {
|
|
811
|
-
const out = execSync2(
|
|
812
|
-
'powershell -NoProfile -NonInteractive -Command "Get-CimInstance Win32_Process | Select-Object ProcessId,ParentProcessId | ConvertTo-Csv -NoTypeInformation"',
|
|
813
|
-
{ encoding: "utf-8", timeout: 5e3 }
|
|
814
|
-
);
|
|
815
|
-
const byParent = /* @__PURE__ */ new Map();
|
|
816
|
-
for (const line of out.split(/\r?\n/).slice(1)) {
|
|
817
|
-
const m = line.match(/^"?(\d+)"?,"?(\d+)"?/);
|
|
818
|
-
if (!m) continue;
|
|
819
|
-
const child = Number(m[1]);
|
|
820
|
-
const parent = Number(m[2]);
|
|
821
|
-
const bucket = byParent.get(parent);
|
|
822
|
-
if (bucket) bucket.push(child);
|
|
823
|
-
else byParent.set(parent, [child]);
|
|
824
|
-
}
|
|
825
|
-
return byParent;
|
|
826
|
-
}
|
|
827
|
-
function getDescendantPids(pid) {
|
|
828
|
-
const descendants = [];
|
|
829
|
-
if (isWindows) {
|
|
830
|
-
let byParent;
|
|
831
|
-
try {
|
|
832
|
-
byParent = windowsChildPidMap();
|
|
833
|
-
} catch {
|
|
834
|
-
return descendants;
|
|
835
|
-
}
|
|
836
|
-
const seen = /* @__PURE__ */ new Set([pid]);
|
|
837
|
-
const walk = (parentPid) => {
|
|
838
|
-
for (const child of byParent.get(parentPid) ?? []) {
|
|
839
|
-
if (seen.has(child)) continue;
|
|
840
|
-
seen.add(child);
|
|
841
|
-
walk(child);
|
|
842
|
-
descendants.push(child);
|
|
843
|
-
}
|
|
844
|
-
};
|
|
845
|
-
walk(pid);
|
|
846
|
-
return descendants;
|
|
847
|
-
}
|
|
848
|
-
function collect(parentPid) {
|
|
849
|
-
try {
|
|
850
|
-
const result = execSync2(`pgrep -P ${parentPid}`, {
|
|
851
|
-
encoding: "utf-8",
|
|
852
|
-
timeout: 3e3
|
|
853
|
-
}).trim();
|
|
854
|
-
const childPids = result.split("\n").filter(Boolean).map(Number);
|
|
855
|
-
for (const cp of childPids) {
|
|
856
|
-
collect(cp);
|
|
857
|
-
descendants.push(cp);
|
|
858
|
-
}
|
|
859
|
-
} catch {
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
collect(pid);
|
|
863
|
-
return descendants;
|
|
864
|
-
}
|
|
865
808
|
var makeCleanupRegistry = () => Effect_exports.gen(function* () {
|
|
866
809
|
const map = /* @__PURE__ */ new Map();
|
|
867
810
|
yield* Effect_exports.addFinalizer(
|
|
@@ -1001,48 +944,74 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
|
|
|
1001
944
|
COCKPIT_PORT: process.env.COCKPIT_PORT,
|
|
1002
945
|
...env
|
|
1003
946
|
};
|
|
947
|
+
const definedEnv = {};
|
|
948
|
+
for (const [k, v] of Object.entries(childEnv)) {
|
|
949
|
+
if (v !== void 0) definedEnv[k] = v;
|
|
950
|
+
}
|
|
1004
951
|
try {
|
|
1005
952
|
if (usePty) {
|
|
1006
|
-
const ptyEnv = {};
|
|
1007
|
-
for (const [k, v] of Object.entries(childEnv)) {
|
|
1008
|
-
if (v !== void 0) ptyEnv[k] = v;
|
|
1009
|
-
}
|
|
1010
953
|
const ptyTarget = command === OPEN_PREFERRED_SHELL_COMMAND ? resolvePreferredPtyShell(cwd) : { file: resolveCommandShell(), args: ["--login", "-c", command], cwd, name: command };
|
|
1011
|
-
const
|
|
1012
|
-
|
|
1013
|
-
ptyTarget.args,
|
|
1014
|
-
{
|
|
1015
|
-
name: "xterm-256color",
|
|
1016
|
-
cols: cols || 120,
|
|
1017
|
-
rows: rows || 30,
|
|
1018
|
-
cwd: ptyTarget.cwd,
|
|
1019
|
-
env: ptyEnv
|
|
1020
|
-
}
|
|
1021
|
-
);
|
|
1022
|
-
registerCommand({
|
|
954
|
+
const timestamp = (/* @__PURE__ */ new Date()).toISOString();
|
|
955
|
+
const meta = {
|
|
1023
956
|
commandId,
|
|
1024
957
|
command: ptyTarget.name,
|
|
1025
958
|
cwd,
|
|
1026
959
|
projectCwd,
|
|
1027
960
|
tabId,
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
sourceId
|
|
1033
|
-
});
|
|
1034
|
-
Effect_exports.runFork(send({ type: "pid", commandId, pid: ptyProcess.pid, command: ptyTarget.name }));
|
|
961
|
+
timestamp,
|
|
962
|
+
...sourceId ? { sourceId } : {}
|
|
963
|
+
};
|
|
964
|
+
pendingPtySizes.set(commandId, null);
|
|
1035
965
|
Effect_exports.runFork(
|
|
1036
|
-
|
|
966
|
+
Effect_exports.tryPromise(
|
|
967
|
+
() => spawnPtyInHost({
|
|
968
|
+
id: commandId,
|
|
969
|
+
file: ptyTarget.file,
|
|
970
|
+
args: ptyTarget.args,
|
|
971
|
+
cwd: ptyTarget.cwd,
|
|
972
|
+
env: definedEnv,
|
|
973
|
+
cols: cols || 120,
|
|
974
|
+
rows: rows || 30,
|
|
975
|
+
meta
|
|
976
|
+
})
|
|
977
|
+
).pipe(
|
|
978
|
+
Effect_exports.flatMap(
|
|
979
|
+
(ptyProcess) => Effect_exports.sync(() => {
|
|
980
|
+
registerCommand({ ...meta, pid: ptyProcess.pid, ptyProcess, usePty: true });
|
|
981
|
+
const size = pendingPtySizes.get(commandId);
|
|
982
|
+
if (size) ptyProcess.resize(size.cols, size.rows);
|
|
983
|
+
Effect_exports.runFork(send({ type: "pid", commandId, pid: ptyProcess.pid, command: ptyTarget.name }));
|
|
984
|
+
Effect_exports.runFork(
|
|
985
|
+
attachPtyListeners(registry, send, commandId, ptyProcess)
|
|
986
|
+
);
|
|
987
|
+
})
|
|
988
|
+
),
|
|
989
|
+
Effect_exports.catchAll(
|
|
990
|
+
(e) => send({ type: "error", commandId, error: errorMessage(e) }).pipe(
|
|
991
|
+
Effect_exports.catchAll(() => Effect_exports.void)
|
|
992
|
+
)
|
|
993
|
+
),
|
|
994
|
+
Effect_exports.ensuring(Effect_exports.sync(() => pendingPtySizes.delete(commandId)))
|
|
995
|
+
)
|
|
1037
996
|
);
|
|
1038
997
|
} else {
|
|
1039
|
-
const
|
|
998
|
+
const shell = resolveCommandShell();
|
|
999
|
+
const meta = {
|
|
1000
|
+
commandId,
|
|
1001
|
+
command,
|
|
1040
1002
|
cwd,
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1003
|
+
projectCwd,
|
|
1004
|
+
tabId,
|
|
1005
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1006
|
+
...sourceId ? { sourceId } : {}
|
|
1007
|
+
};
|
|
1008
|
+
const register = (child) => {
|
|
1009
|
+
if (!child.pid) {
|
|
1010
|
+
Effect_exports.runFork(
|
|
1011
|
+
send({ type: "error", commandId, error: "Failed to spawn process" })
|
|
1012
|
+
);
|
|
1013
|
+
return;
|
|
1014
|
+
}
|
|
1046
1015
|
registerCommand({
|
|
1047
1016
|
commandId,
|
|
1048
1017
|
command,
|
|
@@ -1051,18 +1020,33 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
|
|
|
1051
1020
|
tabId,
|
|
1052
1021
|
pid: child.pid,
|
|
1053
1022
|
process: child,
|
|
1054
|
-
timestamp:
|
|
1023
|
+
timestamp: meta.timestamp,
|
|
1055
1024
|
sourceId
|
|
1056
1025
|
});
|
|
1057
1026
|
Effect_exports.runFork(send({ type: "pid", commandId, pid: child.pid, command }));
|
|
1058
1027
|
Effect_exports.runFork(
|
|
1059
1028
|
attachPipeListeners(registry, send, commandId, child)
|
|
1060
1029
|
);
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1030
|
+
};
|
|
1031
|
+
Effect_exports.runFork(
|
|
1032
|
+
Effect_exports.tryPromise(
|
|
1033
|
+
() => spawnPipeInHost({
|
|
1034
|
+
id: commandId,
|
|
1035
|
+
file: shell,
|
|
1036
|
+
args: ["--login", "-c", command],
|
|
1037
|
+
cwd,
|
|
1038
|
+
env: definedEnv,
|
|
1039
|
+
meta
|
|
1040
|
+
})
|
|
1041
|
+
).pipe(
|
|
1042
|
+
Effect_exports.flatMap((child) => Effect_exports.sync(() => register(child))),
|
|
1043
|
+
Effect_exports.catchAll(
|
|
1044
|
+
(e) => send({ type: "error", commandId, error: errorMessage(e) }).pipe(
|
|
1045
|
+
Effect_exports.catchAll(() => Effect_exports.void)
|
|
1046
|
+
)
|
|
1047
|
+
)
|
|
1048
|
+
)
|
|
1049
|
+
);
|
|
1066
1050
|
}
|
|
1067
1051
|
} catch (e) {
|
|
1068
1052
|
Effect_exports.runFork(
|
|
@@ -1112,26 +1096,12 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
|
|
|
1112
1096
|
}
|
|
1113
1097
|
} else if (type === "interrupt") {
|
|
1114
1098
|
const { pid } = msg;
|
|
1115
|
-
|
|
1116
|
-
const descendants = getDescendantPids(pid);
|
|
1117
|
-
const allPids = [...descendants, pid];
|
|
1118
|
-
for (const p of allPids) {
|
|
1119
|
-
try {
|
|
1120
|
-
process.kill(p, "SIGTERM");
|
|
1121
|
-
} catch {
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
setTimeout(() => {
|
|
1125
|
-
for (const p of allPids) {
|
|
1126
|
-
try {
|
|
1127
|
-
process.kill(p, 0);
|
|
1128
|
-
process.kill(p, "SIGKILL");
|
|
1129
|
-
} catch {
|
|
1130
|
-
}
|
|
1131
|
-
}
|
|
1132
|
-
}, 1e3);
|
|
1099
|
+
interruptPidTree(pid);
|
|
1133
1100
|
} else if (type === "resize") {
|
|
1134
1101
|
const { commandId, cols, rows } = msg;
|
|
1102
|
+
if (pendingPtySizes.has(commandId)) {
|
|
1103
|
+
pendingPtySizes.set(commandId, { cols, rows });
|
|
1104
|
+
}
|
|
1135
1105
|
const cmd = getRunningCommand(commandId);
|
|
1136
1106
|
if (cmd?.usePty && cmd.ptyProcess) {
|
|
1137
1107
|
try {
|
|
@@ -1140,19 +1110,26 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
|
|
|
1140
1110
|
}
|
|
1141
1111
|
}
|
|
1142
1112
|
} else if (type === "running") {
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1113
|
+
Effect_exports.runFork(
|
|
1114
|
+
Effect_exports.promise(adoptPtyHostSessions).pipe(
|
|
1115
|
+
Effect_exports.andThen(() => {
|
|
1116
|
+
const commands = getRunningCommands(projectCwd);
|
|
1117
|
+
if (commands.length === 0) {
|
|
1118
|
+
const size = getRegistrySize();
|
|
1119
|
+
const cwds = getAllProjectCwds();
|
|
1120
|
+
Effect_exports.runFork(
|
|
1121
|
+
Effect_exports.logWarning("[ws/terminal] running query: 0 commands").pipe(
|
|
1122
|
+
Effect_exports.annotateLogs("projectCwd", projectCwd),
|
|
1123
|
+
Effect_exports.annotateLogs("registryTotal", size),
|
|
1124
|
+
Effect_exports.annotateLogs("cwds", cwds)
|
|
1125
|
+
)
|
|
1126
|
+
);
|
|
1127
|
+
}
|
|
1128
|
+
return send({ type: "running", commands });
|
|
1129
|
+
}),
|
|
1130
|
+
Effect_exports.catchAll(() => Effect_exports.void)
|
|
1131
|
+
)
|
|
1132
|
+
);
|
|
1156
1133
|
}
|
|
1157
1134
|
});
|
|
1158
1135
|
var handleTerminal = (conn, projectCwd) => Effect_exports.gen(function* () {
|
|
@@ -1206,7 +1183,7 @@ var runTerminalHandler = (ws, projectCwd) => {
|
|
|
1206
1183
|
};
|
|
1207
1184
|
|
|
1208
1185
|
// src/lib/effect/bashStreamHandler.ts
|
|
1209
|
-
import { spawn as
|
|
1186
|
+
import { spawn as spawn2 } from "child_process";
|
|
1210
1187
|
var HEARTBEAT5 = Schedule_exports.spaced("30 seconds");
|
|
1211
1188
|
function killChild(child) {
|
|
1212
1189
|
killProcessTree(child);
|
|
@@ -1252,7 +1229,7 @@ var handleBash = (conn, defaultCwd) => Effect_exports.gen(function* () {
|
|
|
1252
1229
|
}
|
|
1253
1230
|
let child;
|
|
1254
1231
|
try {
|
|
1255
|
-
child =
|
|
1232
|
+
child = spawn2(shell, ["--login", "-c", command], {
|
|
1256
1233
|
cwd,
|
|
1257
1234
|
env: sanitizedSpawnEnv({ FORCE_COLOR: "0" }),
|
|
1258
1235
|
stdio: ["ignore", "pipe", "pipe"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surething/cockpit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.280",
|
|
4
4
|
"description": "OpenCockpit is the open-source Claude Code GUI — an IDE-like workbench for parallel AI coding. Drive Claude (default), Codex, DeepSeek, Kimi, or local Ollama in tabs. Terminal, browser & DB bubbles, code review. Self-host on a shared dev box — a seat for every teammate. Local-first, MIT.",
|
|
5
5
|
"author": "Robert",
|
|
6
6
|
"license": "MIT",
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
106
|
"@ai-sdk/openai": "^3.0.52",
|
|
107
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
107
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.285",
|
|
108
108
|
"@dagrejs/dagre": "^3.0.0",
|
|
109
|
-
"@openai/codex": "0.
|
|
109
|
+
"@openai/codex": "0.159.2",
|
|
110
110
|
"@tanstack/react-virtual": "^3.13.18",
|
|
111
111
|
"@tiptap/extension-link": "^3.19.0",
|
|
112
112
|
"@tiptap/extension-placeholder": "^3.19.0",
|
package/server.mjs
CHANGED
|
@@ -99,6 +99,11 @@ async function ensureSingleInstance() {
|
|
|
99
99
|
// `npm run dev` (Next detects "a dev server is already running" via
|
|
100
100
|
// .next/dev/logs and refuses to start). So the parent must explicitly
|
|
101
101
|
// kill all direct children before exiting.
|
|
102
|
+
//
|
|
103
|
+
// Terminal-bubble commands (PTY and pipe) are out of reach of this on
|
|
104
|
+
// purpose: they live in the pty-host (bin/pty-host.mjs), which is launched
|
|
105
|
+
// through a short-lived intermediate and so is never our child. That is what lets them survive
|
|
106
|
+
// an update or restart; only `cockpit stop` (/api/shutdown) ends them.
|
|
102
107
|
// ============================================
|
|
103
108
|
// Assigned once the server-side bundle is loaded (see app.prepare below). Lets the
|
|
104
109
|
// synchronous exit hook flush live PTY scrollback to disk so a graceful restart
|
|
@@ -276,6 +281,13 @@ app.prepare().then(async () => {
|
|
|
276
281
|
const httpApi = await import(dev ? './src/lib/httpApi.ts' : './dist/httpApi.mjs');
|
|
277
282
|
const { handleBrowserApi, handleTerminalApi, handleConnectionApi } = httpApi;
|
|
278
283
|
flushRunningSync = httpApi.flushAllRunningSync || null;
|
|
284
|
+
// Reconnect to the pty-host now rather than on the first page load, so
|
|
285
|
+
// terminals that survived the restart are back in the registry (and their
|
|
286
|
+
// `cockpit terminal` short ids resolve) as soon as we serve anything.
|
|
287
|
+
httpApi.adoptPtyHostSessions?.().catch(() => {});
|
|
288
|
+
// Reclaim terminal output files no history entry references (waits for the
|
|
289
|
+
// adoption above internally). Off the boot path — nothing waits on it.
|
|
290
|
+
httpApi.sweepOrphanTerminalOutputs?.().catch(() => {});
|
|
279
291
|
const { scheduledTaskManager } = await import(dev ? '@cockpit/feature-agent/server/scheduledTasks' : './dist/scheduledTasks.mjs');
|
|
280
292
|
|
|
281
293
|
// Initialize the scheduled-task manager
|