@surething/cockpit 1.0.276 → 1.0.278
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 +5 -3
- 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 +18 -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 +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/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 +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/default-model/route.js +1 -0
- package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/ollama/default-model/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/ollama/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/output-styles/config/route.js +1 -0
- package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/output-styles/config/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/pick-folder/route.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route.js +2 -2
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/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 -0
- package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/snapshots/range-diff/route_client-reference-manifest.js +1 -0
- 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/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 +5 -3
- package/.next-prod/server/chunks/2493.js +33 -27
- package/.next-prod/server/chunks/4949.js +1 -1
- package/.next-prod/server/chunks/{3354.js → 5591.js} +5 -5
- package/.next-prod/server/chunks/6495.js +1 -1
- package/.next-prod/server/chunks/6548.js +1 -1
- package/.next-prod/server/chunks/7438.js +16 -15
- package/.next-prod/server/chunks/9830.js +1 -1
- package/.next-prod/server/functions-config-manifest.json +1 -0
- 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/I8gbcTQRiRdMF09goE7WI/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/{88707-2ab6211efb1fae85.js → 15546-54f06dcff501835d.js} +2 -2
- package/.next-prod/static/chunks/{50015-b81552adf20a6a33.js → 21829-993d9bfd63c1ee9e.js} +3 -3
- package/.next-prod/static/chunks/60875-acaae14dd7ddcd91.js +35 -0
- package/.next-prod/static/chunks/95313-eb607273c688b022.js +17 -0
- package/.next-prod/static/chunks/99092-f94ee242866d22b9.js +716 -0
- package/.next-prod/static/chunks/app/_global-error/page-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/[id]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/output-styles/config/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/search/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/status/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/{layout-347ca1b3228d5b23.js → layout-589122feb9071556.js} +1 -1
- package/.next-prod/static/chunks/app/m/page-ba0be89e67f08b6d.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/{page-2ade7ecd21636624.js → page-a69072e6dbd4a059.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-2ade7ecd21636624.js → page-a69072e6dbd4a059.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/css/2abfec9d3e93011f.css +1 -0
- package/.next-prod/trace +15 -15
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/{sessions → ollama/default-model}/route.ts +3 -3
- package/.next-prod/types/app/api/output-styles/config/route.ts +353 -0
- package/.next-prod/types/app/api/snapshots/range-diff/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +4 -2
- package/.next-prod/types/validator.ts +27 -9
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/bin/cock-codegraph.mjs +58 -58
- package/bin/cock-connection.mjs +1 -1
- package/bin/cock-terminal.mjs +17 -17
- package/bin/cockpit-dev.mjs +3 -4
- package/bin/cockpit.mjs +243 -9
- package/bin/setup-dev.mjs +3 -4
- package/dist/{chunk-BCWVTDEZ.mjs → chunk-LPZXJPD6.mjs} +597 -142
- package/dist/{chunk-QY2K7YIF.mjs → chunk-W5MB7DIM.mjs} +1 -1
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +102 -15
- package/dist/wsServer.mjs +12 -3
- package/package.json +3 -4
- package/skills/bot/SKILL.md +3 -3
- package/skills/bot-run/SKILL.md +54 -117
- package/skills/bot-run/followup.md +38 -0
- package/skills/bot-run/wait.md +76 -0
- package/skills/bot-turn/SKILL.md +7 -0
- package/skills/cc/SKILL.md +0 -1
- package/skills/dl/SKILL.md +4 -1
- package/.next-prod/server/app/api/sessions/route.js +0 -1
- package/.next-prod/server/app/api/sessions/route.js.nft.json +0 -1
- package/.next-prod/server/app/api/sessions/route_client-reference-manifest.js +0 -1
- package/.next-prod/static/O8neHUIr3dQhe1jcOUsQ8/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/72539-049ac78fc767d177.js +0 -17
- package/.next-prod/static/chunks/89656-d9dd3a8559041236.js +0 -34
- package/.next-prod/static/chunks/99092-5b836813f4b1d4b3.js +0 -716
- package/.next-prod/static/chunks/app/_global-error/page-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/[id]/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/instructions/config/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/session/user-messages/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/search/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/status/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/app/m/page-8f4f88b0d67c4181.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-e2f146f38bb4df42.js +0 -1
- package/.next-prod/static/css/7a02a222d1299650.css +0 -1
- package/bin/cock.mjs +0 -239
- /package/.next-prod/static/{O8neHUIr3dQhe1jcOUsQ8 → I8gbcTQRiRdMF09goE7WI}/_ssgManifest.js +0 -0
package/dist/httpApi.mjs
CHANGED
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
unregisterBrowser,
|
|
28
28
|
unregisterTerminal,
|
|
29
29
|
writeStdinToCommand
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-W5MB7DIM.mjs";
|
|
31
31
|
import {
|
|
32
32
|
getTerminalHistoryPath
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LPZXJPD6.mjs";
|
|
34
34
|
import "./chunk-7P6ASYW6.mjs";
|
|
35
35
|
|
|
36
36
|
// src/lib/httpApi.ts
|
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-LPZXJPD6.mjs";
|
|
26
26
|
import "./chunk-7P6ASYW6.mjs";
|
|
27
27
|
|
|
28
28
|
// packages/feature/agent/src/server/scheduledTasks.ts
|
|
@@ -456,6 +456,10 @@ var en_default = {
|
|
|
456
456
|
compareMode: "Compare",
|
|
457
457
|
compareModeOff: "Close branch comparison",
|
|
458
458
|
compareModeOn: "Compare with selected branch",
|
|
459
|
+
compareScopeHead: "HEAD",
|
|
460
|
+
compareScopeWorktree: "Worktree",
|
|
461
|
+
compareScopeHeadHint: "Compare committed work only",
|
|
462
|
+
compareScopeWorktreeHint: "Include uncommitted changes (staged / unstaged / untracked)",
|
|
459
463
|
createFile: "New File",
|
|
460
464
|
createFileIn: "New File (in {{path}}/)",
|
|
461
465
|
fileName: "File name...",
|
|
@@ -480,6 +484,8 @@ var en_default = {
|
|
|
480
484
|
loadingDiff: "Loading diff...",
|
|
481
485
|
noDiffFiles: "No diff files",
|
|
482
486
|
nFilesChanged: "{{count}} files changed (vs {{branch}})",
|
|
487
|
+
nFilesChangedWorktree: "{{count}} files changed (vs {{branch}}, incl. uncommitted)",
|
|
488
|
+
noDiffFilesHeadHint: "Nothing committed on this branch yet \u2014 switch to Worktree to see uncommitted changes",
|
|
483
489
|
loadingCommits: "Loading commits...",
|
|
484
490
|
noCommits: "No commits",
|
|
485
491
|
allLoaded: "All {{count}} records loaded",
|
|
@@ -625,7 +631,7 @@ var en_default = {
|
|
|
625
631
|
deleteInstructionGroupConfirm: 'Deleting "{{name}}" also deletes the {{count}} instruction(s) inside it. Continue?',
|
|
626
632
|
editGlobalInstructions: "Edit global instructions",
|
|
627
633
|
editProjectInstructions: "Edit project instructions",
|
|
628
|
-
quickInstructionsMarkdownHint: "One top-level entry per line. Add lines beginning with \u201C- \u201D after a group name for its instructions.",
|
|
634
|
+
quickInstructionsMarkdownHint: "One top-level entry per line. Add lines beginning with \u201C- \u201D after a group name for its instructions. Write \\n for a line break inside one instruction.",
|
|
629
635
|
quickInstructionsMarkdownPlaceholder: "Continue\nDraw with text\n- Draw a login flow\n- Draw a system architecture",
|
|
630
636
|
quickInstructionsMarkdownError: "Invalid format on line {{line}}.",
|
|
631
637
|
savingQuickInstructions: "Saving...",
|
|
@@ -657,6 +663,17 @@ var en_default = {
|
|
|
657
663
|
noHistory: "No history context",
|
|
658
664
|
noHistoryDesc: "each prompt is independent",
|
|
659
665
|
noHistoryHint: "No history context: each message is sent to the model on its own, with no prior conversation. The transcript above still records everything.",
|
|
666
|
+
outputStyle: "Output style",
|
|
667
|
+
outputStyleNone: "None",
|
|
668
|
+
noOutputStyles: "No output styles yet \u2014 add one with the pencil",
|
|
669
|
+
editOutputStyles: "Edit output styles",
|
|
670
|
+
outputStylesMarkdownHint: 'Start each style with "# Name". Everything up to the next "# " is appended verbatim to the end of the system prompt (multi-line; deeper headings like ## are content).',
|
|
671
|
+
outputStylesMarkdownPlaceholder: "# Concise\nAnswer in at most three sentences, no preamble.\n\n# Teacher\nExplain why before how.",
|
|
672
|
+
outputStylesError: {
|
|
673
|
+
"content-before-heading": 'Line {{line}}: content must come after a "# Name" heading.',
|
|
674
|
+
"empty-style": "Line {{line}}: a style needs both a name and content.",
|
|
675
|
+
"duplicate-name": "Line {{line}}: duplicate style name."
|
|
676
|
+
},
|
|
660
677
|
planTitle: "Plan (awaiting your review)",
|
|
661
678
|
approvePlan: "Approve & run",
|
|
662
679
|
planApproveHint: "No approval dialog here \u2014 click to exit plan mode and execute",
|
|
@@ -1188,6 +1205,18 @@ var en_default = {
|
|
|
1188
1205
|
reconstructed: "reconstructed",
|
|
1189
1206
|
reconstructedHint: "Rebuilt from tool-call parameters \u2014 not a disk snapshot",
|
|
1190
1207
|
truncated: "Too many files \u2014 list truncated",
|
|
1208
|
+
aggregate: "Aggregate",
|
|
1209
|
+
aggregateOn: "View the net change across all calls",
|
|
1210
|
+
aggregateOff: "Back to per-call view",
|
|
1211
|
+
fileChangesAggregate: "File Changes ({{count}}) \xB7 Aggregate",
|
|
1212
|
+
aggregateSummary: "{{count}} files changed (across {{calls}} calls)",
|
|
1213
|
+
aggregateLoading: "Aggregating changes\u2026",
|
|
1214
|
+
aggregateEmpty: "No net change after aggregation",
|
|
1215
|
+
aggregateUnavailable: "No snapshots \u2014 cannot aggregate",
|
|
1216
|
+
aggregateFailed: "Aggregation failed",
|
|
1217
|
+
aggregateBaselineSkipped: "Skipped {{count}} baseline-scale call(s)",
|
|
1218
|
+
aggregateBaselineIncluded: "Including {{count}} baseline-scale call(s)",
|
|
1219
|
+
aggregateSkippedHint: "These calls touched more than {{threshold}} files \u2014 usually a branch switch or rebase rather than authored work. Click to toggle.",
|
|
1191
1220
|
imageBefore: "Before",
|
|
1192
1221
|
imageAfter: "After",
|
|
1193
1222
|
imageAdded: "Added",
|
|
@@ -1337,7 +1366,8 @@ var en_default = {
|
|
|
1337
1366
|
symbolMessage: "Explain {{name}} ({{path}}:{{lines}})",
|
|
1338
1367
|
selectionMessage: "Explain",
|
|
1339
1368
|
commitFileMessage: "Explain what git commit {{hash}} changed in {{path}}",
|
|
1340
|
-
compareFileMessage: "Explain the git changes to {{path}} in {{base}}
|
|
1369
|
+
compareFileMessage: "Explain the git changes to {{path}} in {{base}}...HEAD",
|
|
1370
|
+
compareFileWorktreeMessage: "Explain the changes to {{path}} relative to {{base}}, including uncommitted work",
|
|
1341
1371
|
stagedFileMessage: "Explain the git staged changes to {{path}}",
|
|
1342
1372
|
unstagedFileMessage: "Explain the git working tree changes to {{path}}"
|
|
1343
1373
|
},
|
|
@@ -1795,6 +1825,10 @@ var zh_default = {
|
|
|
1795
1825
|
compareMode: "\u5BF9\u6BD4",
|
|
1796
1826
|
compareModeOff: "\u5173\u95ED\u5206\u652F\u5BF9\u6BD4",
|
|
1797
1827
|
compareModeOn: "\u4E0E\u9009\u5B9A\u5206\u652F\u5BF9\u6BD4",
|
|
1828
|
+
compareScopeHead: "HEAD",
|
|
1829
|
+
compareScopeWorktree: "\u5DE5\u4F5C\u533A",
|
|
1830
|
+
compareScopeHeadHint: "\u4EC5\u5BF9\u6BD4\u5DF2\u63D0\u4EA4\u7684\u6539\u52A8",
|
|
1831
|
+
compareScopeWorktreeHint: "\u5BF9\u6BD4\u5305\u542B\u672A\u63D0\u4EA4\u7684\u6539\u52A8\uFF08\u5DF2\u6682\u5B58 / \u672A\u6682\u5B58 / \u672A\u8DDF\u8E2A\uFF09",
|
|
1798
1832
|
createFile: "\u65B0\u5EFA\u6587\u4EF6",
|
|
1799
1833
|
createFileIn: "\u65B0\u5EFA\u6587\u4EF6 (\u5728 {{path}}/)",
|
|
1800
1834
|
fileName: "\u6587\u4EF6\u540D...",
|
|
@@ -1819,6 +1853,8 @@ var zh_default = {
|
|
|
1819
1853
|
loadingDiff: "\u52A0\u8F7D\u5BF9\u6BD4\u6587\u4EF6\u4E2D...",
|
|
1820
1854
|
noDiffFiles: "\u65E0\u5DEE\u5F02\u6587\u4EF6",
|
|
1821
1855
|
nFilesChanged: "{{count}} \u4E2A\u6587\u4EF6\u53D8\u66F4\uFF08vs {{branch}}\uFF09",
|
|
1856
|
+
nFilesChangedWorktree: "{{count}} \u4E2A\u6587\u4EF6\u53D8\u66F4\uFF08vs {{branch}}\uFF0C\u542B\u672A\u63D0\u4EA4\uFF09",
|
|
1857
|
+
noDiffFilesHeadHint: "\u672C\u5206\u652F\u5C1A\u65E0\u5DF2\u63D0\u4EA4\u7684\u6539\u52A8\uFF0C\u5207\u5230\u300C\u5DE5\u4F5C\u533A\u300D\u53EF\u770B\u5230\u672A\u63D0\u4EA4\u7684\u90E8\u5206",
|
|
1822
1858
|
loadingCommits: "\u52A0\u8F7D\u63D0\u4EA4\u8BB0\u5F55\u4E2D...",
|
|
1823
1859
|
noCommits: "\u65E0\u63D0\u4EA4\u8BB0\u5F55",
|
|
1824
1860
|
allLoaded: "\u5DF2\u52A0\u8F7D\u5168\u90E8 {{count}} \u6761\u8BB0\u5F55",
|
|
@@ -1964,7 +2000,7 @@ var zh_default = {
|
|
|
1964
2000
|
deleteInstructionGroupConfirm: "\u5220\u9664\u5206\u7EC4\u300C{{name}}\u300D\u4F1A\u540C\u65F6\u5220\u9664\u7EC4\u5185 {{count}} \u6761\u6307\u4EE4\uFF0C\u786E\u5B9A\u7EE7\u7EED\uFF1F",
|
|
1965
2001
|
editGlobalInstructions: "\u7F16\u8F91\u5168\u5C40\u6307\u4EE4",
|
|
1966
2002
|
editProjectInstructions: "\u7F16\u8F91\u9879\u76EE\u6307\u4EE4",
|
|
1967
|
-
quickInstructionsMarkdownHint: "\u4E00\u7EA7\u5185\u5BB9\u6BCF\u884C\u4E00\u6761\uFF1B\u5206\u7EC4\u540D\u79F0\u540E\u7684\u300C- \u300D\u5F00\u5934\u884C\u662F\u8BE5\u5206\u7EC4\u7684\u5B50\u547D\u4EE4\u3002",
|
|
2003
|
+
quickInstructionsMarkdownHint: "\u4E00\u7EA7\u5185\u5BB9\u6BCF\u884C\u4E00\u6761\uFF1B\u5206\u7EC4\u540D\u79F0\u540E\u7684\u300C- \u300D\u5F00\u5934\u884C\u662F\u8BE5\u5206\u7EC4\u7684\u5B50\u547D\u4EE4\uFF1B\u5355\u6761\u6307\u4EE4\u5185\u7684\u6362\u884C\u7528 \\n \u8868\u793A\u3002",
|
|
1968
2004
|
quickInstructionsMarkdownPlaceholder: "\u6309\u63A8\u8350\u5B9E\u65BD\n\u7528\u6587\u672C\u753B\u56FE\n- \u753B\u4E00\u4E2A\u767B\u5F55\u6D41\u7A0B\n- \u753B\u4E00\u4E2A\u7CFB\u7EDF\u67B6\u6784",
|
|
1969
2005
|
quickInstructionsMarkdownError: "\u7B2C {{line}} \u884C\u683C\u5F0F\u4E0D\u6B63\u786E\u3002",
|
|
1970
2006
|
savingQuickInstructions: "\u4FDD\u5B58\u4E2D...",
|
|
@@ -1996,6 +2032,17 @@ var zh_default = {
|
|
|
1996
2032
|
noHistory: "\u4E0D\u5E26\u5386\u53F2\u4E0A\u4E0B\u6587",
|
|
1997
2033
|
noHistoryDesc: "\u6BCF\u6B21\u63D0\u95EE\u5747\u72EC\u7ACB",
|
|
1998
2034
|
noHistoryHint: "\u4E0D\u5E26\u5386\u53F2\u4E0A\u4E0B\u6587\uFF1A\u6BCF\u6761\u6D88\u606F\u5355\u72EC\u53D1\u7ED9\u6A21\u578B\uFF0C\u4E0D\u5E26\u4E4B\u524D\u7684\u5BF9\u8BDD\u3002\u4E0A\u65B9\u7684\u4F1A\u8BDD\u8BB0\u5F55\u7167\u5E38\u4FDD\u7559\u3002",
|
|
2035
|
+
outputStyle: "\u8F93\u51FA\u98CE\u683C",
|
|
2036
|
+
outputStyleNone: "\u65E0",
|
|
2037
|
+
noOutputStyles: "\u6682\u65E0\u8F93\u51FA\u98CE\u683C\uFF0C\u70B9\u53F3\u4E0A\u89D2\u94C5\u7B14\u6DFB\u52A0",
|
|
2038
|
+
editOutputStyles: "\u7F16\u8F91\u8F93\u51FA\u98CE\u683C",
|
|
2039
|
+
outputStylesMarkdownHint: "\u6BCF\u4E2A\u98CE\u683C\u4EE5\u300C# \u540D\u79F0\u300D\u5F00\u5934\uFF0C\u4E0B\u9762\u76F4\u5230\u4E0B\u4E00\u4E2A\u300C# \u300D\u4E4B\u95F4\u7684\u5185\u5BB9\u539F\u6837\u8FFD\u52A0\u5230 System Prompt \u672B\u5C3E\uFF08\u53EF\u591A\u884C\uFF0C## \u7B49\u66F4\u6DF1\u6807\u9898\u89C6\u4E3A\u6B63\u6587\uFF09\u3002",
|
|
2040
|
+
outputStylesMarkdownPlaceholder: "# \u7B80\u6D01\n\u56DE\u7B54\u4E0D\u8D85\u8FC7\u4E09\u53E5\u8BDD\uFF0C\u4E0D\u8981\u5F00\u573A\u767D\u3002\n\n# \u6559\u5B66\n\u5148\u8BB2\u4E3A\u4EC0\u4E48\uFF0C\u518D\u8BB2\u600E\u4E48\u505A\u3002",
|
|
2041
|
+
outputStylesError: {
|
|
2042
|
+
"content-before-heading": "\u7B2C {{line}} \u884C\uFF1A\u5185\u5BB9\u5FC5\u987B\u5199\u5728\u300C# \u540D\u79F0\u300D\u4E4B\u540E\u3002",
|
|
2043
|
+
"empty-style": "\u7B2C {{line}} \u884C\uFF1A\u98CE\u683C\u9700\u8981\u540D\u79F0\u548C\u5185\u5BB9\u3002",
|
|
2044
|
+
"duplicate-name": "\u7B2C {{line}} \u884C\uFF1A\u98CE\u683C\u540D\u79F0\u91CD\u590D\u3002"
|
|
2045
|
+
},
|
|
1999
2046
|
planTitle: "\u8BA1\u5212\uFF08\u5F85\u4F60\u786E\u8BA4\uFF09",
|
|
2000
2047
|
approvePlan: "\u6279\u51C6\u5E76\u6267\u884C",
|
|
2001
2048
|
planApproveHint: "\u672C\u73AF\u5883\u65E0\u5BA1\u6279\u5F39\u7A97\uFF0C\u70B9\u6B64\u9000\u51FA\u8BA1\u5212\u6A21\u5F0F\u5E76\u6267\u884C",
|
|
@@ -2527,6 +2574,18 @@ var zh_default = {
|
|
|
2527
2574
|
reconstructed: "\u53C2\u6570\u91CD\u5EFA",
|
|
2528
2575
|
reconstructedHint: "\u7531\u5DE5\u5177\u8C03\u7528\u53C2\u6570\u91CD\u5EFA\uFF0C\u975E\u78C1\u76D8\u5FEB\u7167",
|
|
2529
2576
|
truncated: "\u6587\u4EF6\u8FC7\u591A\uFF0C\u4EC5\u663E\u793A\u90E8\u5206",
|
|
2577
|
+
aggregate: "\u6C47\u603B",
|
|
2578
|
+
aggregateOn: "\u67E5\u770B\u5168\u90E8\u8C03\u7528\u7684\u7D2F\u8BA1\u53D8\u66F4",
|
|
2579
|
+
aggregateOff: "\u8FD4\u56DE\u9010\u6B21\u8C03\u7528",
|
|
2580
|
+
fileChangesAggregate: "\u6587\u4EF6\u53D8\u66F4 ({{count}}) \xB7 \u6C47\u603B",
|
|
2581
|
+
aggregateSummary: "{{count}} \u4E2A\u6587\u4EF6\u53D8\u66F4\uFF08{{calls}} \u6B21\u8C03\u7528\u7D2F\u8BA1\uFF09",
|
|
2582
|
+
aggregateLoading: "\u6B63\u5728\u6C47\u603B\u53D8\u66F4\u2026",
|
|
2583
|
+
aggregateEmpty: "\u7D2F\u8BA1\u540E\u65E0\u51C0\u53D8\u66F4",
|
|
2584
|
+
aggregateUnavailable: "\u65E0\u5FEB\u7167\uFF0C\u65E0\u6CD5\u6C47\u603B",
|
|
2585
|
+
aggregateFailed: "\u6C47\u603B\u5931\u8D25",
|
|
2586
|
+
aggregateBaselineSkipped: "\u5DF2\u8DF3\u8FC7 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2587
|
+
aggregateBaselineIncluded: "\u5DF2\u8BA1\u5165 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2588
|
+
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",
|
|
2530
2589
|
imageBefore: "\u53D8\u66F4\u524D",
|
|
2531
2590
|
imageAfter: "\u53D8\u66F4\u540E",
|
|
2532
2591
|
imageAdded: "\u65B0\u589E",
|
|
@@ -2676,7 +2735,8 @@ var zh_default = {
|
|
|
2676
2735
|
symbolMessage: "\u89E3\u91CA\u4E00\u4E0B {{name}} ({{path}}:{{lines}})",
|
|
2677
2736
|
selectionMessage: "\u89E3\u91CA\u4E00\u4E0B",
|
|
2678
2737
|
commitFileMessage: "\u89E3\u91CA\u4E00\u4E0B git commit {{hash}} \u5BF9 {{path}} \u7684\u6539\u52A8",
|
|
2679
|
-
compareFileMessage: "\u89E3\u91CA\u4E00\u4E0B git {{base}}
|
|
2738
|
+
compareFileMessage: "\u89E3\u91CA\u4E00\u4E0B git {{base}}...HEAD \u4E2D {{path}} \u7684\u6539\u52A8",
|
|
2739
|
+
compareFileWorktreeMessage: "\u89E3\u91CA\u4E00\u4E0B {{path}} \u76F8\u5BF9 {{base}} \u7684\u6539\u52A8\uFF08\u542B\u672A\u63D0\u4EA4\u7684\u90E8\u5206\uFF09",
|
|
2680
2740
|
stagedFileMessage: "\u89E3\u91CA\u4E00\u4E0B git \u6682\u5B58\u533A\u4E2D {{path}} \u7684\u6539\u52A8",
|
|
2681
2741
|
unstagedFileMessage: "\u89E3\u91CA\u4E00\u4E0B git \u5DE5\u4F5C\u533A\u4E2D {{path}} \u7684\u6539\u52A8"
|
|
2682
2742
|
},
|
|
@@ -2728,6 +2788,7 @@ var src_default = i18n;
|
|
|
2728
2788
|
|
|
2729
2789
|
// packages/feature/agent/src/server/scheduledTasks.ts
|
|
2730
2790
|
var MAX_CONSECUTIVE_FAILURES = 3;
|
|
2791
|
+
var RUN_DEADLINE_MS = 60 * 60 * 1e3;
|
|
2731
2792
|
var MISSED_ONCE_GRACE_MS = 60 * 60 * 1e3;
|
|
2732
2793
|
function buildTaskPrompt(task) {
|
|
2733
2794
|
if (!task.taskFile) return task.message;
|
|
@@ -2781,6 +2842,15 @@ function getNextCronTime(cronExpr, after = /* @__PURE__ */ new Date()) {
|
|
|
2781
2842
|
}
|
|
2782
2843
|
return after.getTime() + 864e5;
|
|
2783
2844
|
}
|
|
2845
|
+
async function rebindTaskSession(task, key) {
|
|
2846
|
+
const newSessionId = getRunSessionId(key);
|
|
2847
|
+
if (!newSessionId) return false;
|
|
2848
|
+
if (newSessionId === task.sessionId) return true;
|
|
2849
|
+
console.warn(`[ScheduledTask] task ${task.id}: rebound session ${task.sessionId} \u2192 ${newSessionId}`);
|
|
2850
|
+
task.sessionId = newSessionId;
|
|
2851
|
+
await scheduledTaskManager.persistSessionRebind(task.id, newSessionId);
|
|
2852
|
+
return true;
|
|
2853
|
+
}
|
|
2784
2854
|
var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryPromise({
|
|
2785
2855
|
try: async () => {
|
|
2786
2856
|
const spec = getEngineSpec(engine);
|
|
@@ -2788,6 +2858,7 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
|
|
|
2788
2858
|
throw new Error(`no engine spec for ${engine}`);
|
|
2789
2859
|
}
|
|
2790
2860
|
const noHistory = await readSessionNoHistory(task, engine);
|
|
2861
|
+
const outputStyleId = await readSessionOutputStyleId(task);
|
|
2791
2862
|
const outcome = await dispatchChat(spec, {
|
|
2792
2863
|
prompt: buildTaskPrompt(task),
|
|
2793
2864
|
// Omit sessionId to start a brand-new session when the resume target is gone;
|
|
@@ -2796,31 +2867,28 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
|
|
|
2796
2867
|
cwd: task.cwd,
|
|
2797
2868
|
engine,
|
|
2798
2869
|
...task.model && { model: task.model },
|
|
2799
|
-
...noHistory && { noHistory: true }
|
|
2870
|
+
...noHistory && { noHistory: true },
|
|
2871
|
+
...outputStyleId && { outputStyleId }
|
|
2800
2872
|
});
|
|
2801
2873
|
if (!outcome.ok) {
|
|
2802
2874
|
throw new Error(`${engine} dispatch rejected (${outcome.status}): ${outcome.error}`);
|
|
2803
2875
|
}
|
|
2804
2876
|
const key = outcome.runKey;
|
|
2805
|
-
|
|
2877
|
+
let rebound = !startFresh;
|
|
2878
|
+
const deadline = Date.now() + RUN_DEADLINE_MS;
|
|
2806
2879
|
while (isRunActive(key) && Date.now() < deadline) {
|
|
2880
|
+
if (!rebound) rebound = await rebindTaskSession(task, key);
|
|
2807
2881
|
await new Promise((r) => setTimeout(r, 500));
|
|
2808
2882
|
}
|
|
2883
|
+
if (!rebound) await rebindTaskSession(task, key);
|
|
2809
2884
|
if (isRunActive(key)) {
|
|
2810
2885
|
requestStop(key);
|
|
2811
|
-
throw new Error(`${engine} run timed out after
|
|
2886
|
+
throw new Error(`${engine} run timed out after ${RUN_DEADLINE_MS / 6e4}m (session ${task.sessionId})`);
|
|
2812
2887
|
}
|
|
2813
2888
|
const snap = getRunSnapshot(key);
|
|
2814
2889
|
if (!snap || snap.status === "error") {
|
|
2815
2890
|
throw new Error(`${engine} run failed (session ${task.sessionId})`);
|
|
2816
2891
|
}
|
|
2817
|
-
if (startFresh) {
|
|
2818
|
-
const newSessionId = getRunSessionId(key);
|
|
2819
|
-
if (newSessionId && newSessionId !== task.sessionId) {
|
|
2820
|
-
console.warn(`[ScheduledTask] task ${task.id}: rebound session ${task.sessionId} \u2192 ${newSessionId}`);
|
|
2821
|
-
task.sessionId = newSessionId;
|
|
2822
|
-
}
|
|
2823
|
-
}
|
|
2824
2892
|
return true;
|
|
2825
2893
|
},
|
|
2826
2894
|
catch: (cause) => new AgentError({
|
|
@@ -2840,6 +2908,11 @@ async function readSessionNoHistory(task, engine) {
|
|
|
2840
2908
|
const state = await readJsonFile(getSessionFilePath(task.cwd), {});
|
|
2841
2909
|
return state.noHistories?.[task.sessionId] === true;
|
|
2842
2910
|
}
|
|
2911
|
+
async function readSessionOutputStyleId(task) {
|
|
2912
|
+
const state = await readJsonFile(getSessionFilePath(task.cwd), {});
|
|
2913
|
+
const id = state.outputStyles?.[task.sessionId];
|
|
2914
|
+
return typeof id === "string" && id ? id : void 0;
|
|
2915
|
+
}
|
|
2843
2916
|
function sessionPathFor(engine, task) {
|
|
2844
2917
|
const builtinPath = BUILTIN_LOOP_PATHS[engine];
|
|
2845
2918
|
if (builtinPath) return builtinPath(task.cwd, task.sessionId);
|
|
@@ -3108,6 +3181,19 @@ var ScheduledTaskManager = class {
|
|
|
3108
3181
|
this.firing.delete(id);
|
|
3109
3182
|
}
|
|
3110
3183
|
}
|
|
3184
|
+
/**
|
|
3185
|
+
* Persist a mid-run session rebind (see rebindTaskSession) without waiting for the run
|
|
3186
|
+
* to end. The in-memory entry and the `task` object the dispatcher mutated are the same
|
|
3187
|
+
* reference in the normal path; the assignment here is what makes this correct for any
|
|
3188
|
+
* other caller too.
|
|
3189
|
+
*/
|
|
3190
|
+
async persistSessionRebind(id, sessionId) {
|
|
3191
|
+
const t = this.tasks.find((x) => x.id === id);
|
|
3192
|
+
if (!t) return;
|
|
3193
|
+
t.sessionId = sessionId;
|
|
3194
|
+
await this.saveToDisk();
|
|
3195
|
+
this.onTaskFired?.(t);
|
|
3196
|
+
}
|
|
3111
3197
|
/**
|
|
3112
3198
|
* Mark a task as read.
|
|
3113
3199
|
*
|
|
@@ -3288,6 +3374,7 @@ export {
|
|
|
3288
3374
|
buildTaskPrompt,
|
|
3289
3375
|
getNextCronTime,
|
|
3290
3376
|
readSessionNoHistory,
|
|
3377
|
+
readSessionOutputStyleId,
|
|
3291
3378
|
scheduledTaskManager,
|
|
3292
3379
|
sendChatMessageEff
|
|
3293
3380
|
};
|
package/dist/wsServer.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolvePendingRequest,
|
|
14
14
|
unregisterBrowser,
|
|
15
15
|
writeStdinToCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-W5MB7DIM.mjs";
|
|
17
17
|
import {
|
|
18
18
|
Effect_exports,
|
|
19
19
|
FSError,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
recoverStashedCodexRollouts,
|
|
34
34
|
recoverStashedTranscripts,
|
|
35
35
|
sanitizedSpawnEnv
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-LPZXJPD6.mjs";
|
|
37
37
|
import {
|
|
38
38
|
registerWatcherSubscriber,
|
|
39
39
|
subscribeBuildProgress
|
|
@@ -209,6 +209,14 @@ function resolveGitDir(cwd) {
|
|
|
209
209
|
}
|
|
210
210
|
return dotGit;
|
|
211
211
|
}
|
|
212
|
+
function resolveCommonDir(gitDir) {
|
|
213
|
+
try {
|
|
214
|
+
const rel = readFileSync(join(gitDir, "commondir"), "utf-8").trim();
|
|
215
|
+
if (rel) return resolve(gitDir, rel);
|
|
216
|
+
} catch {
|
|
217
|
+
}
|
|
218
|
+
return gitDir;
|
|
219
|
+
}
|
|
212
220
|
var FileWatcherManager = class {
|
|
213
221
|
constructor() {
|
|
214
222
|
this.watchers = /* @__PURE__ */ new Map();
|
|
@@ -332,10 +340,11 @@ var FileWatcherManager = class {
|
|
|
332
340
|
const filename = gitFile.replace(".git/", "");
|
|
333
341
|
watchGitFile(join(gitDir, filename));
|
|
334
342
|
}
|
|
343
|
+
const commonDir = resolveCommonDir(gitDir);
|
|
335
344
|
for (const gitDirName of GIT_WATCH_DIRS) {
|
|
336
345
|
const dirName = gitDirName.replace(".git/", "");
|
|
337
346
|
try {
|
|
338
|
-
const w = watch2(join(
|
|
347
|
+
const w = watch2(join(commonDir, dirName), { recursive: true }, () => {
|
|
339
348
|
pushEvent({ type: "git" });
|
|
340
349
|
});
|
|
341
350
|
w.on("error", () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surething/cockpit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.278",
|
|
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",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
],
|
|
62
62
|
"bin": {
|
|
63
63
|
"cockpit": "./bin/cockpit.mjs",
|
|
64
|
-
"cock": "./bin/cock.mjs",
|
|
65
64
|
"cockpit-dev": "./bin/cockpit-dev.mjs"
|
|
66
65
|
},
|
|
67
66
|
"files": [
|
|
@@ -105,9 +104,9 @@
|
|
|
105
104
|
},
|
|
106
105
|
"dependencies": {
|
|
107
106
|
"@ai-sdk/openai": "^3.0.52",
|
|
108
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
107
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.280",
|
|
109
108
|
"@dagrejs/dagre": "^3.0.0",
|
|
110
|
-
"@openai/codex": "0.
|
|
109
|
+
"@openai/codex": "0.156.1",
|
|
111
110
|
"@tanstack/react-virtual": "^3.13.18",
|
|
112
111
|
"@tiptap/extension-link": "^3.19.0",
|
|
113
112
|
"@tiptap/extension-placeholder": "^3.19.0",
|
package/skills/bot/SKILL.md
CHANGED
|
@@ -131,9 +131,9 @@ not have it, say so rather than inventing a protocol — especially the write lo
|
|
|
131
131
|
|
|
132
132
|
## Updating
|
|
133
133
|
|
|
134
|
-
Only when the task explicitly asks to remember, update, correct or forget something (`bot-turn`
|
|
135
|
-
|
|
136
|
-
this Bot:
|
|
134
|
+
Only when the task explicitly asks to remember, update, correct or forget something (`bot-turn`'s
|
|
135
|
+
`writing.md` covers the rest: entry metadata, what never gets recorded, the write lock). Where
|
|
136
|
+
things go in this Bot:
|
|
137
137
|
|
|
138
138
|
- a confirmed fact or a correction → memory/facts.md (mark the old entry `status: superseded` or replace it; never leave a contradiction)
|
|
139
139
|
- a decision and its reason → memory/facts.md under `## Decisions`, dated
|
package/skills/bot-run/SKILL.md
CHANGED
|
@@ -7,12 +7,42 @@ hidden: true
|
|
|
7
7
|
# Running an @bot line
|
|
8
8
|
|
|
9
9
|
Every `[subagent·@name]` line in the message is that Bot's work, not yours. Hand it to a session of
|
|
10
|
-
its own and wait for the answer — you are the dispatcher for these lines, not the executor.
|
|
10
|
+
its own and wait for the answer — you are the dispatcher for these lines, not the executor. The
|
|
11
|
+
turn is: write a brief (§1), POST it (§2), wait (`wait.md`), report (§3).
|
|
11
12
|
|
|
12
|
-
Do **not** read the
|
|
13
|
-
message under "pass the path along; do not open them yourself" — that is the only
|
|
14
|
-
those paths. The child reads them and works from them; keeping them out of this
|
|
15
|
-
point.
|
|
13
|
+
Do **not** read the `BOT.md` or `bot-turn` of a Bot you are delegating to. They are listed at the
|
|
14
|
+
end of the message under "pass the path along; do not open them yourself" — that is the only
|
|
15
|
+
reason you have those paths. The child reads them and works from them; keeping them out of this
|
|
16
|
+
session is the point.
|
|
17
|
+
|
|
18
|
+
## `[main·@name]` is the opposite instruction
|
|
19
|
+
|
|
20
|
+
A line tagged `[main·@name]` means that Bot's directory **is this
|
|
21
|
+
session's own working directory**. There is nothing to delegate — you are already sitting in the
|
|
22
|
+
files a child would have been started to reach. Read the `bot-turn` path, then that Bot's
|
|
23
|
+
`BOT.md` — both are in the "read these skill files first" list rather than the handoff list,
|
|
24
|
+
because you are their reader this time — and do the task yourself, in the voice its identity files
|
|
25
|
+
define. Nothing else in this file applies to such a line: no brief, no delegate call, no polling.
|
|
26
|
+
|
|
27
|
+
A message may carry both tags. When it does, the order matters: **POST every `[subagent·@name]`
|
|
28
|
+
brief first, then do your own `[main·@name]` work, then poll.** The children run while you
|
|
29
|
+
work; doing your own part first only makes them start late. In that message `bot-turn` is listed
|
|
30
|
+
in both blocks on purpose — you read it for your own line and hand the same path over for theirs.
|
|
31
|
+
|
|
32
|
+
## What else to open, and when
|
|
33
|
+
|
|
34
|
+
Two files live next to this one and are opened only when the turn reaches them — **check this
|
|
35
|
+
table before you act, not after**:
|
|
36
|
+
|
|
37
|
+
| Open | When | Why it is not here |
|
|
38
|
+
|---|---|---|
|
|
39
|
+
| `{{COCKPIT_DIR}}/skills/bot-run/wait.md` | **The moment a delegate POST has returned** — before any status call | The poll loop, the budget rule, and what each status means. Every delegation needs it and no `[main·@name]` line does, so it stays one read away rather than in front of a session that never delegates |
|
|
40
|
+
| `{{COCKPIT_DIR}}/skills/bot-run/followup.md` | The Bot asked something back, or the user answers your report | Continuing a session that already exists. Usually a later turn, and the turn that delegates does not need it in hand |
|
|
41
|
+
|
|
42
|
+
**Never poll from memory of how this works.** If a POST has returned and you have not opened
|
|
43
|
+
`wait.md` this turn, stop and open it. Hand-rolled status checks fail in one direction only —
|
|
44
|
+
they exit at once and you report a result the child never produced — and that failure is invisible
|
|
45
|
+
from here, because a confident summary of a run that never finished reads exactly like a real one.
|
|
16
46
|
|
|
17
47
|
## 1. Write a self-contained brief
|
|
18
48
|
|
|
@@ -78,122 +108,23 @@ The body is `{ cwd, engine?, model?, title?, prompt? | briefPath? }`:
|
|
|
78
108
|
session list — which is what happened when a session working inside a subdirectory delegated a
|
|
79
109
|
child at the repository root instead. It is also not `pwd`: `pwd` follows any `cd` this turn has
|
|
80
110
|
made, which is why the fallback is only there for a Cockpit too old to export the variable.
|
|
81
|
-
- Leave `engine`
|
|
82
|
-
|
|
111
|
+
- **Leave `engine` unset unless the user named one.** Omitted, the child inherits the engine this
|
|
112
|
+
session is running on — the `x-cockpit-run-id` header is what tells the server which that is, so
|
|
113
|
+
send the header exactly as written above. Set it only when the `@name` line says which engine to
|
|
114
|
+
use ("用 codex 跑一下", "run this one on glm"); one of `claude`, `codex`, `deepseek`, `kimi`,
|
|
115
|
+
`glm`, `ollama`. Never open `BOT.md` to invent a preference — a Bot manifest has only `name` and
|
|
116
|
+
`description`, and it is not where this decision lives.
|
|
117
|
+
- Leave `model` unset. It is not inherited: the engine picks its own default, and a model chosen
|
|
118
|
+
for this conversation would otherwise be multiplied across every child you start.
|
|
83
119
|
- `title` is optional but always worth setting — it is how the session is listed later.
|
|
84
120
|
- For a one-line task you may send `"prompt": "..."` instead of `briefPath` (escape `"` and `\`).
|
|
85
121
|
A Bot task rarely is one: the brief carries the accumulated context, which is the whole point.
|
|
86
122
|
- The receipt comes back at once: `{ cwd, engine, model?, sessionId, link, title, createdAt,
|
|
87
|
-
parent? }`. Post every Bot's brief first, then wait.
|
|
123
|
+
parent? }`. Post every Bot's brief first, **then open `wait.md`** — one wait covers them all.
|
|
88
124
|
- A 400 names the problem — cwd missing, relative, or not a directory; a brief file that does not
|
|
89
125
|
exist; too many delegated sessions already running. Report what it says; do not retry blindly.
|
|
90
126
|
|
|
91
|
-
## 3.
|
|
92
|
-
|
|
93
|
-
A Bot turn routinely outlasts a single bash call's tool timeout — a working-tree code review
|
|
94
|
-
measured 11 minutes against a 10-minute ceiling — so the wait has to survive that. Two ways, in
|
|
95
|
-
order of preference:
|
|
96
|
-
|
|
97
|
-
**Run it in the background if your Bash tool can** (`run_in_background`, a job that notifies you
|
|
98
|
-
on exit, or equivalent). Set `BUDGET` high (3600) and launch once: the tool timeout stops applying,
|
|
99
|
-
you get woken when it finishes, and you are free in the meantime. This is what to reach for first.
|
|
100
|
-
|
|
101
|
-
**Otherwise wait in chunks.** Foreground, `BUDGET` about 10% under your Bash timeout (600s max →
|
|
102
|
-
`BUDGET=540`; can't raise it → assume 120s and use `BUDGET=100`). Each call prints where things
|
|
103
|
-
stand and exits; if anything is still running, run the same block again with the remaining ids.
|
|
104
|
-
That is the normal path, not a failure.
|
|
105
|
-
|
|
106
|
-
```bash
|
|
107
|
-
CWD='<the receipt's cwd, verbatim>'
|
|
108
|
-
SIDS='<sessionId>
|
|
109
|
-
<sessionId>' # still-running ids, ONE PER LINE
|
|
110
|
-
BUDGET=540 # seconds THIS call may spend
|
|
111
|
-
|
|
112
|
-
started=$(date +%s)
|
|
113
|
-
deadline=$(( started + BUDGET ))
|
|
114
|
-
while :; do
|
|
115
|
-
pending=''
|
|
116
|
-
for sid in $(printf '%s\n' "$SIDS"); do
|
|
117
|
-
body=$(curl -sS --fail-with-body --get "{{BASE_URL}}/api/sessions/status" \
|
|
118
|
-
--data-urlencode "cwd=$CWD" --data-urlencode "sessionId=$sid") || body='{}'
|
|
119
|
-
state=$(printf '%s' "$body" | python3 -c 'import json,sys
|
|
120
|
-
try: print(json.load(sys.stdin).get("status","?"))
|
|
121
|
-
except Exception: print("?")')
|
|
122
|
-
echo "+$(( $(date +%s) - started ))s $sid -> $state"
|
|
123
|
-
# `?` = the status call failed, NOT a terminal state. Keep it pending so a
|
|
124
|
-
# blip retries and a real mistake shows up as a stall, never as "finished".
|
|
125
|
-
if [ "$state" = running ] || [ "$state" = '?' ]; then pending="$pending
|
|
126
|
-
$sid"; fi
|
|
127
|
-
done
|
|
128
|
-
SIDS=$(printf '%s\n' "$pending" | grep -v '^$')
|
|
129
|
-
[ -z "$SIDS" ] && break
|
|
130
|
-
[ "$(date +%s)" -ge "$deadline" ] && break
|
|
131
|
-
if [ "$(( $(date +%s) - started ))" -lt 30 ]; then sleep 5; else sleep 15; fi
|
|
132
|
-
done
|
|
133
|
-
echo "still running: ${SIDS:-none}"
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
- **`still running: <ids>`** → the budget ran out first. Run the block again with `SIDS` set to
|
|
137
|
-
exactly those ids. Nothing is wrong.
|
|
138
|
-
- **`still running: none`** → every Bot reached a terminal status. The last `+Ns <sid> -> <state>`
|
|
139
|
-
line for each is that status; read it before writing the report.
|
|
140
|
-
- **Any `-> ?` line** → that status call failed and the id stays pending. If it repeats, the call
|
|
141
|
-
is wrong, not the session — see below.
|
|
142
|
-
- One loop covers every Bot, so they run in parallel and each drops out as it finishes.
|
|
143
|
-
- Keep the ids newline-separated and keep `$(printf '%s\n' "$SIDS")` — a plain `for sid in $SIDS`
|
|
144
|
-
reads as a single id under zsh, which does not word-split parameters.
|
|
145
|
-
|
|
146
|
-
**There is no fixed cap.** Keep waiting while the user is waiting on the answer. For scale: two
|
|
147
|
-
measured working-tree code reviews took 7 and 11 minutes; a Bot review sweep reads a whole
|
|
148
|
-
directory and takes longer. Once it has run past roughly half an hour, stop waiting silently — say
|
|
149
|
-
it is still going, hand over the links, and let the user decide.
|
|
150
|
-
|
|
151
|
-
**Never state an outcome you have not seen a non-`running` status for.** Hand-rolled variants of
|
|
152
|
-
this check go wrong in one direction only: they exit immediately and you report a result the child
|
|
153
|
-
never produced.
|
|
154
|
-
|
|
155
|
-
`done` = the last turn finished normally; `failed` = the engine recorded an error;
|
|
156
|
-
`incomplete` = stopped or interrupted, and the user can open it and carry on.
|
|
157
|
-
|
|
158
|
-
**`?` is not a status.** It means the status call itself failed — wrong `cwd`, wrong id, server
|
|
159
|
-
gone. The loop keeps such an id pending rather than counting it finished, so a transient blip
|
|
160
|
-
just retries; an id stuck on `?` for a whole budget means the call is wrong. Re-run the bare curl
|
|
161
|
-
without `|| body='{}'`, read the error body, and fix it. Never report `?` as an outcome.
|
|
162
|
-
|
|
163
|
-
## 4. Follow up in the same session — do not delegate twice
|
|
164
|
-
|
|
165
|
-
A Bot's answer often needs one more exchange: it asks which of two directories you meant, or the
|
|
166
|
-
user reads the result and wants a change. **That is a message to the session that already exists,
|
|
167
|
-
not a new delegation.**
|
|
168
|
-
|
|
169
|
-
```bash
|
|
170
|
-
curl -sS --fail-with-body -X POST "{{BASE_URL}}/api/chat" \
|
|
171
|
-
-H "Content-Type: application/json" \
|
|
172
|
-
--data-binary @- <<EOF_JSON
|
|
173
|
-
{"cwd": "<the receipt's cwd, verbatim>", "sessionId": "<the receipt's sessionId>", "prompt": "<the follow-up>"}
|
|
174
|
-
EOF_JSON
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
- No `x-cockpit-run-id` here, unlike §2: only the delegate endpoint reads that header, to record
|
|
178
|
-
which session started the child. This one continues a session that already has a parent.
|
|
179
|
-
- **Match the route to the engine** the receipt reported: `/api/chat` is claude; codex, ollama,
|
|
180
|
-
kimi, deepseek and glm each have `/api/chat/<engine>`. Sending to the wrong one starts a
|
|
181
|
-
different engine on that transcript.
|
|
182
|
-
- It returns `{ runKey, sessionId }` immediately, exactly like a delegation. **Wait for it the same
|
|
183
|
-
way** — §3, with the same `cwd` and that `sessionId`.
|
|
184
|
-
- **`409 session is already running`** means the child has not finished. That is not an error to
|
|
185
|
-
route around; wait for a non-`running` status first and send it then.
|
|
186
|
-
- Long or multi-part follow-ups go in a brief file exactly as in §1 — this body takes `prompt`
|
|
187
|
-
only, so write the file and reference it in the text if it is too big to inline comfortably.
|
|
188
|
-
|
|
189
|
-
Delegating again instead is the tempting mistake, and it is expensive in a way that does not look
|
|
190
|
-
expensive: the new session starts from nothing, re-reads the Bot's files, and knows only what your
|
|
191
|
-
brief happens to restate. Everything the last turn established — what it checked, what it ruled
|
|
192
|
-
out, what the user already answered — is in *that* transcript, and a summary of it is not the same
|
|
193
|
-
thing. It has happened: a dispatcher decided Cockpit had no way to continue a session, re-delegated
|
|
194
|
-
with a paragraph of context, and paid for the whole task twice.
|
|
195
|
-
|
|
196
|
-
## 5. Report
|
|
127
|
+
## 3. Report
|
|
197
128
|
|
|
198
129
|
One short section per Bot: its conclusion in a few lines, then `[open session](<link>)`. The full
|
|
199
130
|
answer lives in that session — do not paste it wholesale, and do not restate it as your own.
|
|
@@ -201,14 +132,20 @@ answer lives in that session — do not paste it wholesale, and do not restate i
|
|
|
201
132
|
repeat the status call with `--data-urlencode "full=1"`. Use the receipt's `link` exactly as
|
|
202
133
|
returned — it is the only record of the delegation, and tool output is not searchable later.
|
|
203
134
|
|
|
135
|
+
**A `[main·@name]` line has no link**, because it happened here. Give it its own section
|
|
136
|
+
alongside the delegated ones and close it the way `bot-turn` §2 requires — the answer, then the
|
|
137
|
+
list of Bot files you read and changed. That list is the only record of what the answer stood on,
|
|
138
|
+
and this is the one line in the message that may have edited those files directly.
|
|
139
|
+
|
|
204
140
|
**A numbered list is a special case.** Some Bot tasks (a review sweep, for instance) end in a list
|
|
205
141
|
of findings the user picks from. Relay it whole with its numbering intact, and keep whatever path
|
|
206
142
|
the child saved it to — the user answers either in that session or by naming that file in a new
|
|
207
143
|
one, and dropping either detail strands the work.
|
|
208
144
|
|
|
209
145
|
Pressing stop here does not stop a delegated session — it is a separate run. Say so if the user
|
|
210
|
-
expects otherwise.
|
|
146
|
+
expects otherwise. A `[main·@name]` line is the exception: it runs in this session, so
|
|
147
|
+
stop really does stop it.
|
|
211
148
|
|
|
212
149
|
When the user answers your report — a correction, a pick from a numbered list, an answer to a
|
|
213
|
-
question the Bot asked — that reply belongs in the session it came from.
|
|
214
|
-
start a second one.
|
|
150
|
+
question the Bot asked — that reply belongs in the session it came from. Open `followup.md`; do
|
|
151
|
+
not start a second one.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Following up in a session that already exists
|
|
2
|
+
|
|
3
|
+
Opened from `bot-run` when a delegated Bot asked something back, or when the user answers your
|
|
4
|
+
report — a correction, a pick from a numbered list, an answer to the Bot's question.
|
|
5
|
+
|
|
6
|
+
**That is a message to the session that already exists, not a new delegation.**
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
curl -sS --fail-with-body -X POST "{{BASE_URL}}/api/chat" \
|
|
10
|
+
-H "Content-Type: application/json" \
|
|
11
|
+
--data-binary @- <<EOF_JSON
|
|
12
|
+
{"cwd": "<the receipt's cwd, verbatim>", "sessionId": "<the receipt's sessionId>", "prompt": "<the follow-up>"}
|
|
13
|
+
EOF_JSON
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
- No `x-cockpit-run-id` here, unlike the delegate call: only that endpoint reads the header, to
|
|
17
|
+
record which session started the child. This one continues a session that already has a parent.
|
|
18
|
+
- **Match the route to the engine** the receipt reported: `/api/chat` is claude; codex, ollama,
|
|
19
|
+
kimi, deepseek and glm each have `/api/chat/<engine>`. Sending to the wrong one starts a
|
|
20
|
+
different engine on that transcript.
|
|
21
|
+
- It returns `{ runKey, sessionId }` immediately, exactly like a delegation. **Wait for it the same
|
|
22
|
+
way** — `wait.md`, with the same `cwd` and that `sessionId`.
|
|
23
|
+
- **`409 session is already running`** means the child has not finished. That is not an error to
|
|
24
|
+
route around; wait for a non-`running` status first and send it then.
|
|
25
|
+
- Long or multi-part follow-ups go in a brief file exactly as a first brief does — this body takes
|
|
26
|
+
`prompt` only, so write the file and reference it in the text if it is too big to inline
|
|
27
|
+
comfortably.
|
|
28
|
+
|
|
29
|
+
Delegating again instead is the tempting mistake, and it is expensive in a way that does not look
|
|
30
|
+
expensive: the new session starts from nothing, re-reads the Bot's files, and knows only what your
|
|
31
|
+
brief happens to restate. Everything the last turn established — what it checked, what it ruled
|
|
32
|
+
out, what the user already answered — is in *that* transcript, and a summary of it is not the same
|
|
33
|
+
thing. It has happened: a dispatcher decided Cockpit had no way to continue a session, re-delegated
|
|
34
|
+
with a paragraph of context, and paid for the whole task twice.
|
|
35
|
+
|
|
36
|
+
**A `[main·@name]` line is not this case.** It ran here, in this transcript, so its
|
|
37
|
+
follow-up is simply the next thing you do — no curl, no session id. Answering it through this
|
|
38
|
+
endpoint would start a second, parallel turn on a session that is already yours.
|