@surething/cockpit 1.0.276 → 1.0.277
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 -4
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +12 -6
- package/.next-prod/server/app/_global-error/page.js +2 -2
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next-prod/server/app/api/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/route.js +1 -1
- package/.next-prod/server/app/api/bots/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +1 -1
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +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 +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +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/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 -4
- package/.next-prod/server/chunks/2493.js +20 -20
- package/.next-prod/server/chunks/6548.js +1 -1
- package/.next-prod/server/chunks/7438.js +14 -14
- package/.next-prod/server/chunks/{3354.js → 8131.js} +2 -2
- package/.next-prod/server/chunks/9830.js +1 -1
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/chunks/{88707-2ab6211efb1fae85.js → 15546-54f06dcff501835d.js} +2 -2
- package/.next-prod/static/chunks/89656-1b5bae337f6b6892.js +34 -0
- package/.next-prod/static/chunks/95313-96a541e7ce6f76c4.js +17 -0
- package/.next-prod/static/chunks/99092-7b5fa4560a398020.js +716 -0
- package/.next-prod/static/chunks/{50015-b81552adf20a6a33.js → 99365-c697e983b9728d08.js} +2 -2
- package/.next-prod/static/chunks/app/_global-error/page-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/[id]/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/search/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/status/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/{layout-347ca1b3228d5b23.js → layout-f3f9426dccb507b2.js} +1 -1
- package/.next-prod/static/chunks/app/m/page-ba0be89e67f08b6d.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/app/{page-2ade7ecd21636624.js → page-d97e5df9486f39cb.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-2ade7ecd21636624.js → page-d97e5df9486f39cb.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6ac899b2cd280c12.js +1 -0
- package/.next-prod/static/css/e6181fb6c73884b4.css +1 -0
- package/.next-prod/static/yEJ9Z5Bjv9ti4WeYINfCs/_buildManifest.js +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/snapshots/range-diff/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +3 -2
- package/.next-prod/types/validator.ts +18 -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-QY2K7YIF.mjs → chunk-5ZXPIG4Z.mjs} +1 -1
- package/dist/{chunk-BCWVTDEZ.mjs → chunk-SGVT4QFB.mjs} +370 -93
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +71 -14
- package/dist/wsServer.mjs +2 -2
- 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 → yEJ9Z5Bjv9ti4WeYINfCs}/_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-5ZXPIG4Z.mjs";
|
|
31
31
|
import {
|
|
32
32
|
getTerminalHistoryPath
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-SGVT4QFB.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-SGVT4QFB.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...",
|
|
@@ -1188,6 +1194,18 @@ var en_default = {
|
|
|
1188
1194
|
reconstructed: "reconstructed",
|
|
1189
1195
|
reconstructedHint: "Rebuilt from tool-call parameters \u2014 not a disk snapshot",
|
|
1190
1196
|
truncated: "Too many files \u2014 list truncated",
|
|
1197
|
+
aggregate: "Aggregate",
|
|
1198
|
+
aggregateOn: "View the net change across all calls",
|
|
1199
|
+
aggregateOff: "Back to per-call view",
|
|
1200
|
+
fileChangesAggregate: "File Changes ({{count}}) \xB7 Aggregate",
|
|
1201
|
+
aggregateSummary: "{{count}} files changed (across {{calls}} calls)",
|
|
1202
|
+
aggregateLoading: "Aggregating changes\u2026",
|
|
1203
|
+
aggregateEmpty: "No net change after aggregation",
|
|
1204
|
+
aggregateUnavailable: "No snapshots \u2014 cannot aggregate",
|
|
1205
|
+
aggregateFailed: "Aggregation failed",
|
|
1206
|
+
aggregateBaselineSkipped: "Skipped {{count}} baseline-scale call(s)",
|
|
1207
|
+
aggregateBaselineIncluded: "Including {{count}} baseline-scale call(s)",
|
|
1208
|
+
aggregateSkippedHint: "These calls touched more than {{threshold}} files \u2014 usually a branch switch or rebase rather than authored work. Click to toggle.",
|
|
1191
1209
|
imageBefore: "Before",
|
|
1192
1210
|
imageAfter: "After",
|
|
1193
1211
|
imageAdded: "Added",
|
|
@@ -1337,7 +1355,8 @@ var en_default = {
|
|
|
1337
1355
|
symbolMessage: "Explain {{name}} ({{path}}:{{lines}})",
|
|
1338
1356
|
selectionMessage: "Explain",
|
|
1339
1357
|
commitFileMessage: "Explain what git commit {{hash}} changed in {{path}}",
|
|
1340
|
-
compareFileMessage: "Explain the git changes to {{path}} in {{base}}
|
|
1358
|
+
compareFileMessage: "Explain the git changes to {{path}} in {{base}}...HEAD",
|
|
1359
|
+
compareFileWorktreeMessage: "Explain the changes to {{path}} relative to {{base}}, including uncommitted work",
|
|
1341
1360
|
stagedFileMessage: "Explain the git staged changes to {{path}}",
|
|
1342
1361
|
unstagedFileMessage: "Explain the git working tree changes to {{path}}"
|
|
1343
1362
|
},
|
|
@@ -1795,6 +1814,10 @@ var zh_default = {
|
|
|
1795
1814
|
compareMode: "\u5BF9\u6BD4",
|
|
1796
1815
|
compareModeOff: "\u5173\u95ED\u5206\u652F\u5BF9\u6BD4",
|
|
1797
1816
|
compareModeOn: "\u4E0E\u9009\u5B9A\u5206\u652F\u5BF9\u6BD4",
|
|
1817
|
+
compareScopeHead: "HEAD",
|
|
1818
|
+
compareScopeWorktree: "\u5DE5\u4F5C\u533A",
|
|
1819
|
+
compareScopeHeadHint: "\u4EC5\u5BF9\u6BD4\u5DF2\u63D0\u4EA4\u7684\u6539\u52A8",
|
|
1820
|
+
compareScopeWorktreeHint: "\u5BF9\u6BD4\u5305\u542B\u672A\u63D0\u4EA4\u7684\u6539\u52A8\uFF08\u5DF2\u6682\u5B58 / \u672A\u6682\u5B58 / \u672A\u8DDF\u8E2A\uFF09",
|
|
1798
1821
|
createFile: "\u65B0\u5EFA\u6587\u4EF6",
|
|
1799
1822
|
createFileIn: "\u65B0\u5EFA\u6587\u4EF6 (\u5728 {{path}}/)",
|
|
1800
1823
|
fileName: "\u6587\u4EF6\u540D...",
|
|
@@ -1819,6 +1842,8 @@ var zh_default = {
|
|
|
1819
1842
|
loadingDiff: "\u52A0\u8F7D\u5BF9\u6BD4\u6587\u4EF6\u4E2D...",
|
|
1820
1843
|
noDiffFiles: "\u65E0\u5DEE\u5F02\u6587\u4EF6",
|
|
1821
1844
|
nFilesChanged: "{{count}} \u4E2A\u6587\u4EF6\u53D8\u66F4\uFF08vs {{branch}}\uFF09",
|
|
1845
|
+
nFilesChangedWorktree: "{{count}} \u4E2A\u6587\u4EF6\u53D8\u66F4\uFF08vs {{branch}}\uFF0C\u542B\u672A\u63D0\u4EA4\uFF09",
|
|
1846
|
+
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
1847
|
loadingCommits: "\u52A0\u8F7D\u63D0\u4EA4\u8BB0\u5F55\u4E2D...",
|
|
1823
1848
|
noCommits: "\u65E0\u63D0\u4EA4\u8BB0\u5F55",
|
|
1824
1849
|
allLoaded: "\u5DF2\u52A0\u8F7D\u5168\u90E8 {{count}} \u6761\u8BB0\u5F55",
|
|
@@ -1964,7 +1989,7 @@ var zh_default = {
|
|
|
1964
1989
|
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
1990
|
editGlobalInstructions: "\u7F16\u8F91\u5168\u5C40\u6307\u4EE4",
|
|
1966
1991
|
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",
|
|
1992
|
+
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
1993
|
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
1994
|
quickInstructionsMarkdownError: "\u7B2C {{line}} \u884C\u683C\u5F0F\u4E0D\u6B63\u786E\u3002",
|
|
1970
1995
|
savingQuickInstructions: "\u4FDD\u5B58\u4E2D...",
|
|
@@ -2527,6 +2552,18 @@ var zh_default = {
|
|
|
2527
2552
|
reconstructed: "\u53C2\u6570\u91CD\u5EFA",
|
|
2528
2553
|
reconstructedHint: "\u7531\u5DE5\u5177\u8C03\u7528\u53C2\u6570\u91CD\u5EFA\uFF0C\u975E\u78C1\u76D8\u5FEB\u7167",
|
|
2529
2554
|
truncated: "\u6587\u4EF6\u8FC7\u591A\uFF0C\u4EC5\u663E\u793A\u90E8\u5206",
|
|
2555
|
+
aggregate: "\u6C47\u603B",
|
|
2556
|
+
aggregateOn: "\u67E5\u770B\u5168\u90E8\u8C03\u7528\u7684\u7D2F\u8BA1\u53D8\u66F4",
|
|
2557
|
+
aggregateOff: "\u8FD4\u56DE\u9010\u6B21\u8C03\u7528",
|
|
2558
|
+
fileChangesAggregate: "\u6587\u4EF6\u53D8\u66F4 ({{count}}) \xB7 \u6C47\u603B",
|
|
2559
|
+
aggregateSummary: "{{count}} \u4E2A\u6587\u4EF6\u53D8\u66F4\uFF08{{calls}} \u6B21\u8C03\u7528\u7D2F\u8BA1\uFF09",
|
|
2560
|
+
aggregateLoading: "\u6B63\u5728\u6C47\u603B\u53D8\u66F4\u2026",
|
|
2561
|
+
aggregateEmpty: "\u7D2F\u8BA1\u540E\u65E0\u51C0\u53D8\u66F4",
|
|
2562
|
+
aggregateUnavailable: "\u65E0\u5FEB\u7167\uFF0C\u65E0\u6CD5\u6C47\u603B",
|
|
2563
|
+
aggregateFailed: "\u6C47\u603B\u5931\u8D25",
|
|
2564
|
+
aggregateBaselineSkipped: "\u5DF2\u8DF3\u8FC7 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2565
|
+
aggregateBaselineIncluded: "\u5DF2\u8BA1\u5165 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2566
|
+
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
2567
|
imageBefore: "\u53D8\u66F4\u524D",
|
|
2531
2568
|
imageAfter: "\u53D8\u66F4\u540E",
|
|
2532
2569
|
imageAdded: "\u65B0\u589E",
|
|
@@ -2676,7 +2713,8 @@ var zh_default = {
|
|
|
2676
2713
|
symbolMessage: "\u89E3\u91CA\u4E00\u4E0B {{name}} ({{path}}:{{lines}})",
|
|
2677
2714
|
selectionMessage: "\u89E3\u91CA\u4E00\u4E0B",
|
|
2678
2715
|
commitFileMessage: "\u89E3\u91CA\u4E00\u4E0B git commit {{hash}} \u5BF9 {{path}} \u7684\u6539\u52A8",
|
|
2679
|
-
compareFileMessage: "\u89E3\u91CA\u4E00\u4E0B git {{base}}
|
|
2716
|
+
compareFileMessage: "\u89E3\u91CA\u4E00\u4E0B git {{base}}...HEAD \u4E2D {{path}} \u7684\u6539\u52A8",
|
|
2717
|
+
compareFileWorktreeMessage: "\u89E3\u91CA\u4E00\u4E0B {{path}} \u76F8\u5BF9 {{base}} \u7684\u6539\u52A8\uFF08\u542B\u672A\u63D0\u4EA4\u7684\u90E8\u5206\uFF09",
|
|
2680
2718
|
stagedFileMessage: "\u89E3\u91CA\u4E00\u4E0B git \u6682\u5B58\u533A\u4E2D {{path}} \u7684\u6539\u52A8",
|
|
2681
2719
|
unstagedFileMessage: "\u89E3\u91CA\u4E00\u4E0B git \u5DE5\u4F5C\u533A\u4E2D {{path}} \u7684\u6539\u52A8"
|
|
2682
2720
|
},
|
|
@@ -2728,6 +2766,7 @@ var src_default = i18n;
|
|
|
2728
2766
|
|
|
2729
2767
|
// packages/feature/agent/src/server/scheduledTasks.ts
|
|
2730
2768
|
var MAX_CONSECUTIVE_FAILURES = 3;
|
|
2769
|
+
var RUN_DEADLINE_MS = 60 * 60 * 1e3;
|
|
2731
2770
|
var MISSED_ONCE_GRACE_MS = 60 * 60 * 1e3;
|
|
2732
2771
|
function buildTaskPrompt(task) {
|
|
2733
2772
|
if (!task.taskFile) return task.message;
|
|
@@ -2781,6 +2820,15 @@ function getNextCronTime(cronExpr, after = /* @__PURE__ */ new Date()) {
|
|
|
2781
2820
|
}
|
|
2782
2821
|
return after.getTime() + 864e5;
|
|
2783
2822
|
}
|
|
2823
|
+
async function rebindTaskSession(task, key) {
|
|
2824
|
+
const newSessionId = getRunSessionId(key);
|
|
2825
|
+
if (!newSessionId) return false;
|
|
2826
|
+
if (newSessionId === task.sessionId) return true;
|
|
2827
|
+
console.warn(`[ScheduledTask] task ${task.id}: rebound session ${task.sessionId} \u2192 ${newSessionId}`);
|
|
2828
|
+
task.sessionId = newSessionId;
|
|
2829
|
+
await scheduledTaskManager.persistSessionRebind(task.id, newSessionId);
|
|
2830
|
+
return true;
|
|
2831
|
+
}
|
|
2784
2832
|
var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryPromise({
|
|
2785
2833
|
try: async () => {
|
|
2786
2834
|
const spec = getEngineSpec(engine);
|
|
@@ -2802,25 +2850,21 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
|
|
|
2802
2850
|
throw new Error(`${engine} dispatch rejected (${outcome.status}): ${outcome.error}`);
|
|
2803
2851
|
}
|
|
2804
2852
|
const key = outcome.runKey;
|
|
2805
|
-
|
|
2853
|
+
let rebound = !startFresh;
|
|
2854
|
+
const deadline = Date.now() + RUN_DEADLINE_MS;
|
|
2806
2855
|
while (isRunActive(key) && Date.now() < deadline) {
|
|
2856
|
+
if (!rebound) rebound = await rebindTaskSession(task, key);
|
|
2807
2857
|
await new Promise((r) => setTimeout(r, 500));
|
|
2808
2858
|
}
|
|
2859
|
+
if (!rebound) await rebindTaskSession(task, key);
|
|
2809
2860
|
if (isRunActive(key)) {
|
|
2810
2861
|
requestStop(key);
|
|
2811
|
-
throw new Error(`${engine} run timed out after
|
|
2862
|
+
throw new Error(`${engine} run timed out after ${RUN_DEADLINE_MS / 6e4}m (session ${task.sessionId})`);
|
|
2812
2863
|
}
|
|
2813
2864
|
const snap = getRunSnapshot(key);
|
|
2814
2865
|
if (!snap || snap.status === "error") {
|
|
2815
2866
|
throw new Error(`${engine} run failed (session ${task.sessionId})`);
|
|
2816
2867
|
}
|
|
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
2868
|
return true;
|
|
2825
2869
|
},
|
|
2826
2870
|
catch: (cause) => new AgentError({
|
|
@@ -3108,6 +3152,19 @@ var ScheduledTaskManager = class {
|
|
|
3108
3152
|
this.firing.delete(id);
|
|
3109
3153
|
}
|
|
3110
3154
|
}
|
|
3155
|
+
/**
|
|
3156
|
+
* Persist a mid-run session rebind (see rebindTaskSession) without waiting for the run
|
|
3157
|
+
* to end. The in-memory entry and the `task` object the dispatcher mutated are the same
|
|
3158
|
+
* reference in the normal path; the assignment here is what makes this correct for any
|
|
3159
|
+
* other caller too.
|
|
3160
|
+
*/
|
|
3161
|
+
async persistSessionRebind(id, sessionId) {
|
|
3162
|
+
const t = this.tasks.find((x) => x.id === id);
|
|
3163
|
+
if (!t) return;
|
|
3164
|
+
t.sessionId = sessionId;
|
|
3165
|
+
await this.saveToDisk();
|
|
3166
|
+
this.onTaskFired?.(t);
|
|
3167
|
+
}
|
|
3111
3168
|
/**
|
|
3112
3169
|
* Mark a task as read.
|
|
3113
3170
|
*
|
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-5ZXPIG4Z.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-SGVT4QFB.mjs";
|
|
37
37
|
import {
|
|
38
38
|
registerWatcherSubscriber,
|
|
39
39
|
subscribeBuildProgress
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surething/cockpit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.277",
|
|
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.278",
|
|
109
108
|
"@dagrejs/dagre": "^3.0.0",
|
|
110
|
-
"@openai/codex": "0.
|
|
109
|
+
"@openai/codex": "0.155.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 session·@name]` is the opposite instruction
|
|
19
|
+
|
|
20
|
+
A line tagged `[main session·@name]` (`[主会话·@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 session·@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 session·@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 session·@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 session·@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 session·@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.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Waiting for a delegated session
|
|
2
|
+
|
|
3
|
+
Opened from `bot-run` the moment a delegate POST has returned. Everything here is about sessions
|
|
4
|
+
you started; a `[main session·@name]` line has no session to wait for.
|
|
5
|
+
|
|
6
|
+
A Bot turn routinely outlasts a single bash call's tool timeout — a working-tree code review
|
|
7
|
+
measured 11 minutes against a 10-minute ceiling — so the wait has to survive that. Two ways, in
|
|
8
|
+
order of preference:
|
|
9
|
+
|
|
10
|
+
**Run it in the background if your Bash tool can** (`run_in_background`, a job that notifies you
|
|
11
|
+
on exit, or equivalent). Set `BUDGET` high (3600) and launch once: the tool timeout stops applying,
|
|
12
|
+
you get woken when it finishes, and you are free in the meantime. This is what to reach for first.
|
|
13
|
+
|
|
14
|
+
**Otherwise wait in chunks.** Foreground, `BUDGET` about 10% under your Bash timeout (600s max →
|
|
15
|
+
`BUDGET=540`; can't raise it → assume 120s and use `BUDGET=100`). Each call prints where things
|
|
16
|
+
stand and exits; if anything is still running, run the same block again with the remaining ids.
|
|
17
|
+
That is the normal path, not a failure.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
CWD='<the receipt's cwd, verbatim>'
|
|
21
|
+
SIDS='<sessionId>
|
|
22
|
+
<sessionId>' # still-running ids, ONE PER LINE
|
|
23
|
+
BUDGET=540 # seconds THIS call may spend
|
|
24
|
+
|
|
25
|
+
started=$(date +%s)
|
|
26
|
+
deadline=$(( started + BUDGET ))
|
|
27
|
+
while :; do
|
|
28
|
+
pending=''
|
|
29
|
+
for sid in $(printf '%s\n' "$SIDS"); do
|
|
30
|
+
body=$(curl -sS --fail-with-body --get "{{BASE_URL}}/api/sessions/status" \
|
|
31
|
+
--data-urlencode "cwd=$CWD" --data-urlencode "sessionId=$sid") || body='{}'
|
|
32
|
+
state=$(printf '%s' "$body" | python3 -c 'import json,sys
|
|
33
|
+
try: print(json.load(sys.stdin).get("status","?"))
|
|
34
|
+
except Exception: print("?")')
|
|
35
|
+
echo "+$(( $(date +%s) - started ))s $sid -> $state"
|
|
36
|
+
# `?` = the status call failed, NOT a terminal state. Keep it pending so a
|
|
37
|
+
# blip retries and a real mistake shows up as a stall, never as "finished".
|
|
38
|
+
if [ "$state" = running ] || [ "$state" = '?' ]; then pending="$pending
|
|
39
|
+
$sid"; fi
|
|
40
|
+
done
|
|
41
|
+
SIDS=$(printf '%s\n' "$pending" | grep -v '^$')
|
|
42
|
+
[ -z "$SIDS" ] && break
|
|
43
|
+
[ "$(date +%s)" -ge "$deadline" ] && break
|
|
44
|
+
if [ "$(( $(date +%s) - started ))" -lt 30 ]; then sleep 5; else sleep 15; fi
|
|
45
|
+
done
|
|
46
|
+
echo "still running: ${SIDS:-none}"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
- **`still running: <ids>`** → the budget ran out first. Run the block again with `SIDS` set to
|
|
50
|
+
exactly those ids. Nothing is wrong.
|
|
51
|
+
- **`still running: none`** → every Bot reached a terminal status. The last `+Ns <sid> -> <state>`
|
|
52
|
+
line for each is that status; read it before writing the report.
|
|
53
|
+
- **Any `-> ?` line** → that status call failed and the id stays pending. If it repeats, the call
|
|
54
|
+
is wrong, not the session — see below.
|
|
55
|
+
- One loop covers every Bot, so they run in parallel and each drops out as it finishes.
|
|
56
|
+
- Keep the ids newline-separated and keep `$(printf '%s\n' "$SIDS")` — a plain `for sid in $SIDS`
|
|
57
|
+
reads as a single id under zsh, which does not word-split parameters.
|
|
58
|
+
|
|
59
|
+
**There is no fixed cap.** Keep waiting while the user is waiting on the answer. For scale: two
|
|
60
|
+
measured working-tree code reviews took 7 and 11 minutes; a Bot review sweep reads a whole
|
|
61
|
+
directory and takes longer. Once it has run past roughly half an hour, stop waiting silently — say
|
|
62
|
+
it is still going, hand over the links, and let the user decide.
|
|
63
|
+
|
|
64
|
+
**Never state an outcome you have not seen a non-`running` status for.** Hand-rolled variants of
|
|
65
|
+
this check go wrong in one direction only: they exit immediately and you report a result the child
|
|
66
|
+
never produced.
|
|
67
|
+
|
|
68
|
+
`done` = the last turn finished normally; `failed` = the engine recorded an error;
|
|
69
|
+
`incomplete` = stopped or interrupted, and the user can open it and carry on.
|
|
70
|
+
|
|
71
|
+
**`?` is not a status.** It means the status call itself failed — wrong `cwd`, wrong id, server
|
|
72
|
+
gone. The loop keeps such an id pending rather than counting it finished, so a transient blip
|
|
73
|
+
just retries; an id stuck on `?` for a whole budget means the call is wrong. Re-run the bare curl
|
|
74
|
+
without `|| body='{}'`, read the error body, and fix it. Never report `?` as an outcome.
|
|
75
|
+
|
|
76
|
+
Every terminal status reached → go back to `bot-run` and write the report.
|
package/skills/bot-turn/SKILL.md
CHANGED
|
@@ -18,6 +18,13 @@ On a **review, an attach or an export** your working directory is the Bot's own,
|
|
|
18
18
|
relative paths work there; on ordinary work it is the project instead. Either way the paths you
|
|
19
19
|
were handed are absolute and remain the authority — check where you are rather than assuming.
|
|
20
20
|
|
|
21
|
+
**You may not be in a session of your own.** When the session that received the `@name` line was
|
|
22
|
+
already sitting in the Bot's directory, the turn runs there instead of being delegated: the
|
|
23
|
+
working directory is the Bot's whatever the task is, the transcript is shared with whatever else
|
|
24
|
+
that session was doing, and stopping the session really does stop this turn. Everything below
|
|
25
|
+
holds unchanged — the write lock most of all, since a session that was already in these files is
|
|
26
|
+
the one most likely to edit them without going through it.
|
|
27
|
+
|
|
21
28
|
## What else to open, and when
|
|
22
29
|
|
|
23
30
|
Most turns need nothing beyond this file. Four things live next to it and are opened only when
|
package/skills/cc/SKILL.md
CHANGED
|
@@ -13,7 +13,6 @@ CLI entry point selection (**default = prod**):
|
|
|
13
13
|
- Switch to `cockpit-dev` (dev, port 3456) ONLY when the user explicitly signals dev mode, via one of:
|
|
14
14
|
1. They write `cockpit-dev ...` directly in the task text.
|
|
15
15
|
2. The first word after `/cc` is `dev` (e.g. `/cc dev terminal bmfb check the errors`).
|
|
16
|
-
- `cock` is the prod-only short alias of `cockpit`; behaviour is identical. There is no short alias for dev.
|
|
17
16
|
|
|
18
17
|
Examples below use `cockpit`; only swap in `cockpit-dev` when one of the two dev signals above is present.
|
|
19
18
|
|
package/skills/dl/SKILL.md
CHANGED
|
@@ -26,7 +26,10 @@ curl -sS --fail-with-body -X POST "{{BASE_URL}}/api/sessions/delegate" \
|
|
|
26
26
|
EOF_JSON
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
- `engine`
|
|
29
|
+
- `engine` is inherited from the session you are running in when omitted — that is what the
|
|
30
|
+
`x-cockpit-run-id` header above is for, so always send it. Spell `engine` out only when the
|
|
31
|
+
task should run somewhere else, which for `/dl` it often should. Claude when the calling
|
|
32
|
+
session's engine cannot be determined. `model` is optional and never inherited
|
|
30
33
|
- For a one-liner you may send `"prompt": "..."` instead of `briefPath` (escape `"` and `\`)
|
|
31
34
|
- Do not delete the brief file — the child reads it after you return
|
|
32
35
|
- A 400 names the problem (missing directory, unconfigured engine, too many delegated sessions running) — report it, do not retry blindly
|