@surething/cockpit 1.0.279 → 1.0.280
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +4 -3
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +6 -0
- package/.next-prod/server/app/_global-error/page.js +1 -1
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next-prod/server/app/api/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/route.js +1 -1
- package/.next-prod/server/app/api/bots/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +2 -2
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/export/route.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/query/route.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js +2 -2
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/extension/version/route.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/file/route.js +1 -1
- package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/blame/route.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/copy/route.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/delete/route.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/index/route.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/paste/route.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/read/route.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/save/route.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/search/route.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/stat/route.js +1 -1
- package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/text/route.js +1 -1
- package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/fs/dirs/route.js +1 -1
- package/.next-prod/server/app/api/fs/dirs/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/blob/route.js +1 -1
- package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branches/route.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commits/route.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/diff/route.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/discard/route.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/stage/route.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/status/route.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/models/route.js +1 -1
- package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/global-state/route.js +2 -2
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -1
- package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
- package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/output-styles/config/route.js +1 -1
- package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route.js +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 +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/content/route.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/route.js +1 -1
- package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/running/route.js +1 -0
- package/.next-prod/server/app/api/terminal/running/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/terminal/running/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/update/route.js +1 -1
- package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/update-state/route.js +1 -1
- package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/version/route.js +1 -1
- package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
- package/.next-prod/server/app/favicon.ico/route.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next-prod/server/app/m/page.js +1 -1
- package/.next-prod/server/app/m/page.js.nft.json +1 -1
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
- package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next-prod/server/app/page.js +1 -1
- package/.next-prod/server/app/page.js.nft.json +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +1 -1
- package/.next-prod/server/app/project/page.js.nft.json +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +4 -3
- package/.next-prod/server/chunks/1863.js +1 -1
- package/.next-prod/server/chunks/2493.js +3 -3
- package/.next-prod/server/chunks/7438.js +15 -14
- package/.next-prod/server/chunks/7918.js +1 -0
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/_195_hPNVuma2vZS7bpTW/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/81016-71999ca5bd6a6b2f.js +36 -0
- package/.next-prod/static/chunks/{95313-eb607273c688b022.js → 95313-af5cc33125d6c0ff.js} +3 -3
- package/.next-prod/static/chunks/99092-d9525c22b942b051.js +716 -0
- package/.next-prod/static/chunks/app/_global-error/page-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/[id]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/fs/dirs/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/output-styles/config/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/search/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/status/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/running/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/{layout-3b48c268aef0cfe6.js → layout-0c3dcac0764d9e97.js} +1 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/app/page-b472e7f948959009.js +1 -0
- package/.next-prod/static/chunks/app/project/page-b472e7f948959009.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-4e18b53a1ed48d45.js +1 -0
- package/.next-prod/static/css/e70d0cefe04f0619.css +1 -0
- package/.next-prod/trace +15 -15
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/terminal/running/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +2 -1
- package/.next-prod/types/validator.ts +9 -0
- package/dist/{chunk-XMGMMEZI.mjs → chunk-3LSLUAN6.mjs} +124 -82
- package/dist/{chunk-MXOJBOL4.mjs → chunk-N6CFCP2N.mjs} +104 -5
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +41 -5
- package/dist/wsServer.mjs +13 -76
- package/package.json +3 -3
- package/skills/cr/SKILL.md +8 -4
- package/skills/ex/SKILL.md +39 -59
- package/skills/fx/SKILL.md +46 -4
- package/skills/go/SKILL.md +26 -87
- package/skills/qa/SKILL.md +46 -36
- package/.next-prod/static/4RnWG203k-Xg-suOhN3oL/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/60875-cb1ee86d8213a09f.js +0 -35
- package/.next-prod/static/chunks/99092-ef15e925df84035b.js +0 -716
- package/.next-prod/static/chunks/app/_global-error/page-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/[id]/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/fs/dirs/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/instructions/config/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/output-styles/config/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/session/user-messages/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/search/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/status/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/app/page-747c80a59d1bdd4c.js +0 -1
- package/.next-prod/static/chunks/app/project/page-747c80a59d1bdd4c.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-21b597461da15cd4.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-21b597461da15cd4.js +0 -1
- package/.next-prod/static/css/e7e2daa1e96529e6.css +0 -1
- package/skills/ap/SKILL.md +0 -18
- /package/.next-prod/static/{4RnWG203k-Xg-suOhN3oL → _195_hPNVuma2vZS7bpTW}/_ssgManifest.js +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getTerminalOutputPath,
|
|
17
17
|
readJsonFile,
|
|
18
18
|
writeJsonFile
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3LSLUAN6.mjs";
|
|
20
20
|
|
|
21
21
|
// packages/feature/console/src/server/plugins/browser/BrowserBridge.ts
|
|
22
22
|
import { WebSocket } from "ws";
|
|
@@ -351,6 +351,19 @@ function broadcastConsoleDelta(cwd, tabId, delta, sourceId) {
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
+
function broadcastRunningChanged() {
|
|
355
|
+
const set = g.__cockpitGlobalStateClients;
|
|
356
|
+
if (!set || set.size === 0) return;
|
|
357
|
+
const data = JSON.stringify({ type: "running-terminals-changed" });
|
|
358
|
+
for (const ws of set) {
|
|
359
|
+
if (ws.readyState === WS_OPEN) {
|
|
360
|
+
try {
|
|
361
|
+
ws.send(data);
|
|
362
|
+
} catch {
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
354
367
|
|
|
355
368
|
// packages/feature/console/src/server/plugins/browser/browserBubbleControl.ts
|
|
356
369
|
var CONSOLE_TAB_ID = "default";
|
|
@@ -508,9 +521,86 @@ import fs2 from "fs/promises";
|
|
|
508
521
|
import { writeFileSync, mkdirSync } from "fs";
|
|
509
522
|
import { dirname as dirname2 } from "path";
|
|
510
523
|
|
|
524
|
+
// packages/feature/console/src/server/terminal/processTree.ts
|
|
525
|
+
import { execSync } from "child_process";
|
|
526
|
+
function windowsChildPidMap() {
|
|
527
|
+
const out = execSync(
|
|
528
|
+
'powershell -NoProfile -NonInteractive -Command "Get-CimInstance Win32_Process | Select-Object ProcessId,ParentProcessId | ConvertTo-Csv -NoTypeInformation"',
|
|
529
|
+
{ encoding: "utf-8", timeout: 5e3 }
|
|
530
|
+
);
|
|
531
|
+
const byParent = /* @__PURE__ */ new Map();
|
|
532
|
+
for (const line of out.split(/\r?\n/).slice(1)) {
|
|
533
|
+
const m = line.match(/^"?(\d+)"?,"?(\d+)"?/);
|
|
534
|
+
if (!m) continue;
|
|
535
|
+
const child = Number(m[1]);
|
|
536
|
+
const parent = Number(m[2]);
|
|
537
|
+
const bucket = byParent.get(parent);
|
|
538
|
+
if (bucket) bucket.push(child);
|
|
539
|
+
else byParent.set(parent, [child]);
|
|
540
|
+
}
|
|
541
|
+
return byParent;
|
|
542
|
+
}
|
|
543
|
+
function getDescendantPids(pid) {
|
|
544
|
+
const descendants = [];
|
|
545
|
+
if (isWindows) {
|
|
546
|
+
let byParent;
|
|
547
|
+
try {
|
|
548
|
+
byParent = windowsChildPidMap();
|
|
549
|
+
} catch {
|
|
550
|
+
return descendants;
|
|
551
|
+
}
|
|
552
|
+
const seen = /* @__PURE__ */ new Set([pid]);
|
|
553
|
+
const walk = (parentPid) => {
|
|
554
|
+
for (const child of byParent.get(parentPid) ?? []) {
|
|
555
|
+
if (seen.has(child)) continue;
|
|
556
|
+
seen.add(child);
|
|
557
|
+
walk(child);
|
|
558
|
+
descendants.push(child);
|
|
559
|
+
}
|
|
560
|
+
};
|
|
561
|
+
walk(pid);
|
|
562
|
+
return descendants;
|
|
563
|
+
}
|
|
564
|
+
function collect(parentPid) {
|
|
565
|
+
try {
|
|
566
|
+
const result = execSync(`pgrep -P ${parentPid}`, {
|
|
567
|
+
encoding: "utf-8",
|
|
568
|
+
timeout: 3e3
|
|
569
|
+
}).trim();
|
|
570
|
+
const childPids = result.split("\n").filter(Boolean).map(Number);
|
|
571
|
+
for (const cp of childPids) {
|
|
572
|
+
collect(cp);
|
|
573
|
+
descendants.push(cp);
|
|
574
|
+
}
|
|
575
|
+
} catch {
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
collect(pid);
|
|
579
|
+
return descendants;
|
|
580
|
+
}
|
|
581
|
+
function interruptPidTree(pid) {
|
|
582
|
+
if (!pid) return;
|
|
583
|
+
const allPids = [...getDescendantPids(pid), pid];
|
|
584
|
+
for (const p of allPids) {
|
|
585
|
+
try {
|
|
586
|
+
process.kill(p, "SIGTERM");
|
|
587
|
+
} catch {
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
setTimeout(() => {
|
|
591
|
+
for (const p of allPids) {
|
|
592
|
+
try {
|
|
593
|
+
process.kill(p, 0);
|
|
594
|
+
process.kill(p, "SIGKILL");
|
|
595
|
+
} catch {
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}, 1e3);
|
|
599
|
+
}
|
|
600
|
+
|
|
511
601
|
// packages/feature/console/src/server/terminal/ptyHostClient.ts
|
|
512
602
|
import { spawn } from "child_process";
|
|
513
|
-
import { createHash } from "crypto";
|
|
603
|
+
import { createHash, randomUUID } from "crypto";
|
|
514
604
|
import { readFileSync } from "fs";
|
|
515
605
|
import { EventEmitter } from "events";
|
|
516
606
|
import { connect } from "net";
|
|
@@ -899,13 +989,18 @@ async function requireConnection() {
|
|
|
899
989
|
}
|
|
900
990
|
return conn;
|
|
901
991
|
}
|
|
992
|
+
function sessionIdFor(commandId) {
|
|
993
|
+
return `${commandId}~${randomUUID().slice(0, 8)}`;
|
|
994
|
+
}
|
|
902
995
|
async function spawnPtyInHost(opts) {
|
|
903
996
|
const conn = await requireConnection();
|
|
904
|
-
|
|
997
|
+
const sid = sessionIdFor(opts.id);
|
|
998
|
+
return conn.spawn("pty", new RemotePty(sid, conn, 0), { ...opts, id: sid });
|
|
905
999
|
}
|
|
906
1000
|
async function spawnPipeInHost(opts) {
|
|
907
1001
|
const conn = await requireConnection();
|
|
908
|
-
|
|
1002
|
+
const sid = sessionIdFor(opts.id);
|
|
1003
|
+
return conn.spawn("pipe", new RemotePipe(sid, conn, 0), { ...opts, id: sid });
|
|
909
1004
|
}
|
|
910
1005
|
var ADOPT_KEY = /* @__PURE__ */ Symbol.for("cockpit_pty_host_adopted");
|
|
911
1006
|
function ensurePtyHostConnected() {
|
|
@@ -1025,6 +1120,7 @@ function trackCommand(cmd, seedOutput) {
|
|
|
1025
1120
|
}
|
|
1026
1121
|
getRegistry2().set(cmd.commandId, entry);
|
|
1027
1122
|
registerTerminal(cmd.tabId, cmd.commandId, cmd.command, cmd.projectCwd);
|
|
1123
|
+
broadcastRunningChanged();
|
|
1028
1124
|
if (cmd.ptyProcess) {
|
|
1029
1125
|
const pty = cmd.ptyProcess;
|
|
1030
1126
|
pty.onData((data) => {
|
|
@@ -1071,7 +1167,7 @@ function trackCommand(cmd, seedOutput) {
|
|
|
1071
1167
|
}
|
|
1072
1168
|
async function adoptHostSessions(sessions) {
|
|
1073
1169
|
const finishing = [];
|
|
1074
|
-
for (const session of sessions) {
|
|
1170
|
+
for (const session of [...sessions].reverse()) {
|
|
1075
1171
|
const { meta, output, exitCode } = session;
|
|
1076
1172
|
const pid = session.handle.pid ?? 0;
|
|
1077
1173
|
if (!meta || getRegistry2().has(meta.commandId)) {
|
|
@@ -1231,11 +1327,13 @@ async function finalizeCommand(commandId, exitCode, pid) {
|
|
|
1231
1327
|
if (cmd.deleted) {
|
|
1232
1328
|
cmd.ptyRingBuffer = void 0;
|
|
1233
1329
|
registry2.delete(commandId);
|
|
1330
|
+
broadcastRunningChanged();
|
|
1234
1331
|
return;
|
|
1235
1332
|
}
|
|
1236
1333
|
const output = getBufferedOutput(cmd);
|
|
1237
1334
|
cmd.ptyRingBuffer = void 0;
|
|
1238
1335
|
registry2.delete(commandId);
|
|
1336
|
+
broadcastRunningChanged();
|
|
1239
1337
|
const entry = {
|
|
1240
1338
|
id: cmd.commandId,
|
|
1241
1339
|
command: cmd.command,
|
|
@@ -1674,6 +1772,7 @@ export {
|
|
|
1674
1772
|
listTerminals,
|
|
1675
1773
|
addOutputListener,
|
|
1676
1774
|
addExitListener,
|
|
1775
|
+
interruptPidTree,
|
|
1677
1776
|
spawnPtyInHost,
|
|
1678
1777
|
spawnPipeInHost,
|
|
1679
1778
|
findSafeStart,
|
package/dist/httpApi.mjs
CHANGED
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
unregisterBrowser,
|
|
30
30
|
unregisterTerminal,
|
|
31
31
|
writeStdinToCommand
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-N6CFCP2N.mjs";
|
|
33
33
|
import {
|
|
34
34
|
getTerminalHistoryPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-3LSLUAN6.mjs";
|
|
36
36
|
import "./chunk-7P6ASYW6.mjs";
|
|
37
37
|
|
|
38
38
|
// 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-3LSLUAN6.mjs";
|
|
26
26
|
import "./chunk-7P6ASYW6.mjs";
|
|
27
27
|
|
|
28
28
|
// packages/feature/agent/src/server/scheduledTasks.ts
|
|
@@ -354,6 +354,18 @@ var en_default = {
|
|
|
354
354
|
weeklyMon9am: "Mon 09:00",
|
|
355
355
|
monthly1st9am: "1st of month 09:00"
|
|
356
356
|
},
|
|
357
|
+
runningTerminals: {
|
|
358
|
+
title: "Terminals",
|
|
359
|
+
status: "{{count}} terminal(s) \xB7 {{projects}} project(s)",
|
|
360
|
+
keys: "\u2191\u2193 select \xB7 Enter open \xB7 Del stop \xB7 Esc close",
|
|
361
|
+
empty: "No terminals running",
|
|
362
|
+
currentProject: "current project",
|
|
363
|
+
stop: "Stop",
|
|
364
|
+
confirmStop: "Stop this process?",
|
|
365
|
+
stopping: "Stopping\u2026",
|
|
366
|
+
stopFailed: "Failed to stop the terminal",
|
|
367
|
+
notFound: "Couldn't find this terminal's bubble"
|
|
368
|
+
},
|
|
357
369
|
cron: {
|
|
358
370
|
everyNMinutes: "Every {{n}} minutes",
|
|
359
371
|
everyNHours: "Every {{n}} hours",
|
|
@@ -1215,6 +1227,8 @@ var en_default = {
|
|
|
1215
1227
|
aggregateFailed: "Aggregation failed",
|
|
1216
1228
|
aggregateBaselineSkipped: "Skipped {{count}} baseline-scale call(s)",
|
|
1217
1229
|
aggregateBaselineIncluded: "Including {{count}} baseline-scale call(s)",
|
|
1230
|
+
callsBaselineHidden: "Hid {{count}} baseline-scale call(s)",
|
|
1231
|
+
callsBaselineShown: "Showing {{count}} baseline-scale call(s)",
|
|
1218
1232
|
aggregateSkippedHint: "These calls touched more than {{threshold}} files \u2014 usually a branch switch or rebase rather than authored work. Click to toggle.",
|
|
1219
1233
|
imageBefore: "Before",
|
|
1220
1234
|
imageAfter: "After",
|
|
@@ -1733,6 +1747,18 @@ var zh_default = {
|
|
|
1733
1747
|
weeklyMon9am: "\u6BCF\u5468\u4E00 09:00",
|
|
1734
1748
|
monthly1st9am: "\u6BCF\u6708 1 \u53F7 09:00"
|
|
1735
1749
|
},
|
|
1750
|
+
runningTerminals: {
|
|
1751
|
+
title: "\u7EC8\u7AEF",
|
|
1752
|
+
status: "{{count}} \u4E2A\u7EC8\u7AEF \xB7 {{projects}} \u4E2A\u9879\u76EE",
|
|
1753
|
+
keys: "\u2191\u2193 \u9009\u62E9 \xB7 Enter \u8DF3\u8F6C \xB7 Del \u505C\u6B62 \xB7 Esc \u5173\u95ED",
|
|
1754
|
+
empty: "\u6CA1\u6709\u6B63\u5728\u8FD0\u884C\u7684\u7EC8\u7AEF",
|
|
1755
|
+
currentProject: "\u5F53\u524D\u9879\u76EE",
|
|
1756
|
+
stop: "\u505C\u6B62",
|
|
1757
|
+
confirmStop: "\u505C\u6B62\u8FD9\u4E2A\u8FDB\u7A0B\uFF1F",
|
|
1758
|
+
stopping: "\u505C\u6B62\u4E2D\u2026",
|
|
1759
|
+
stopFailed: "\u505C\u6B62\u7EC8\u7AEF\u5931\u8D25",
|
|
1760
|
+
notFound: "\u6CA1\u627E\u5230\u8FD9\u4E2A\u7EC8\u7AEF\u7684\u6C14\u6CE1"
|
|
1761
|
+
},
|
|
1736
1762
|
cron: {
|
|
1737
1763
|
everyNMinutes: "\u6BCF {{n}} \u5206\u949F",
|
|
1738
1764
|
everyNHours: "\u6BCF {{n}} \u5C0F\u65F6\u6574\u70B9",
|
|
@@ -2594,6 +2620,8 @@ var zh_default = {
|
|
|
2594
2620
|
aggregateFailed: "\u6C47\u603B\u5931\u8D25",
|
|
2595
2621
|
aggregateBaselineSkipped: "\u5DF2\u8DF3\u8FC7 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2596
2622
|
aggregateBaselineIncluded: "\u5DF2\u8BA1\u5165 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2623
|
+
callsBaselineHidden: "\u5DF2\u9690\u85CF {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2624
|
+
callsBaselineShown: "\u5DF2\u663E\u793A {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
|
|
2597
2625
|
aggregateSkippedHint: "\u8FD9\u4E9B\u8C03\u7528\u6539\u52A8\u7684\u6587\u4EF6\u6570\u8D85\u8FC7 {{threshold}}\uFF0C\u901A\u5E38\u662F\u5207\u6362\u5206\u652F / rebase \u800C\u975E\u7F16\u5199\u4EE3\u7801\u3002\u70B9\u51FB\u5207\u6362\u662F\u5426\u8BA1\u5165",
|
|
2598
2626
|
imageBefore: "\u53D8\u66F4\u524D",
|
|
2599
2627
|
imageAfter: "\u53D8\u66F4\u540E",
|
|
@@ -3016,7 +3044,7 @@ var ScheduledTaskManager = class {
|
|
|
3016
3044
|
if (this.initialized) return;
|
|
3017
3045
|
this.initialized = true;
|
|
3018
3046
|
try {
|
|
3019
|
-
this.tasks = await
|
|
3047
|
+
this.tasks = await this.readTasksFromDisk();
|
|
3020
3048
|
} catch (error) {
|
|
3021
3049
|
this.loadFailed = true;
|
|
3022
3050
|
this.tasks = [];
|
|
@@ -3046,9 +3074,17 @@ var ScheduledTaskManager = class {
|
|
|
3046
3074
|
}
|
|
3047
3075
|
/**
|
|
3048
3076
|
* Read tasks from disk (avoids in-memory inconsistency between dual module instances).
|
|
3077
|
+
*
|
|
3078
|
+
* Under the file lock: writeJsonFile truncates and rewrites in place (no atomic
|
|
3079
|
+
* rename), so an unlocked read racing a writer sees an empty file, and the strict
|
|
3080
|
+
* parse turns that into a thrown "not valid JSON". Never call this from inside a
|
|
3081
|
+
* withFileLock(SCHEDULED_TASKS_FILE) block — the lock does not nest.
|
|
3049
3082
|
*/
|
|
3050
3083
|
async readTasksFromDisk() {
|
|
3051
|
-
return
|
|
3084
|
+
return withFileLock(
|
|
3085
|
+
SCHEDULED_TASKS_FILE,
|
|
3086
|
+
() => readJsonFileForUpdate(SCHEDULED_TASKS_FILE, [])
|
|
3087
|
+
);
|
|
3052
3088
|
}
|
|
3053
3089
|
/**
|
|
3054
3090
|
* Return all tasks for the current instance (reads from disk each time to ensure cross-instance consistency).
|
|
@@ -3136,7 +3172,7 @@ var ScheduledTaskManager = class {
|
|
|
3136
3172
|
* Resume a task.
|
|
3137
3173
|
*/
|
|
3138
3174
|
async resumeTask(id) {
|
|
3139
|
-
const allTasks = await
|
|
3175
|
+
const allTasks = await this.readTasksFromDisk();
|
|
3140
3176
|
const task = allTasks.find((t) => t.id === id);
|
|
3141
3177
|
if (!task) return null;
|
|
3142
3178
|
const now = Date.now();
|
|
@@ -3163,7 +3199,7 @@ var ScheduledTaskManager = class {
|
|
|
3163
3199
|
*/
|
|
3164
3200
|
async triggerTask(id) {
|
|
3165
3201
|
await this.ensureInit();
|
|
3166
|
-
const allTasks = await
|
|
3202
|
+
const allTasks = await this.readTasksFromDisk();
|
|
3167
3203
|
const task = allTasks.find((t) => t.id === id);
|
|
3168
3204
|
if (!task) return false;
|
|
3169
3205
|
const memIdx = this.tasks.findIndex((t) => t.id === id);
|
package/dist/wsServer.mjs
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
getRunningCommand,
|
|
12
12
|
getRunningCommands,
|
|
13
13
|
getTerminalByShortId,
|
|
14
|
+
interruptPidTree,
|
|
14
15
|
isWindows,
|
|
15
16
|
registerBrowser,
|
|
16
17
|
registerCommand,
|
|
@@ -19,7 +20,7 @@ import {
|
|
|
19
20
|
spawnPtyInHost,
|
|
20
21
|
unregisterBrowser,
|
|
21
22
|
writeStdinToCommand
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-N6CFCP2N.mjs";
|
|
23
24
|
import {
|
|
24
25
|
Effect_exports,
|
|
25
26
|
FSError,
|
|
@@ -39,7 +40,7 @@ import {
|
|
|
39
40
|
recoverStashedCodexRollouts,
|
|
40
41
|
recoverStashedTranscripts,
|
|
41
42
|
sanitizedSpawnEnv
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-3LSLUAN6.mjs";
|
|
43
44
|
import {
|
|
44
45
|
registerWatcherSubscriber,
|
|
45
46
|
subscribeBuildProgress
|
|
@@ -752,6 +753,7 @@ function killProcessTree(child) {
|
|
|
752
753
|
|
|
753
754
|
// src/lib/effect/terminalHandler.ts
|
|
754
755
|
var HEARTBEAT4 = Schedule_exports.spaced("30 seconds");
|
|
756
|
+
var pendingPtySizes = /* @__PURE__ */ new Map();
|
|
755
757
|
function errorMessage(e) {
|
|
756
758
|
const cause = e.error ?? e;
|
|
757
759
|
return cause instanceof Error ? cause.message : String(cause);
|
|
@@ -803,61 +805,6 @@ function resolveCommandShell() {
|
|
|
803
805
|
"bash not found \u2014 install Git Bash or WSL on Windows to run commands"
|
|
804
806
|
);
|
|
805
807
|
}
|
|
806
|
-
function windowsChildPidMap() {
|
|
807
|
-
const out = execSync2(
|
|
808
|
-
'powershell -NoProfile -NonInteractive -Command "Get-CimInstance Win32_Process | Select-Object ProcessId,ParentProcessId | ConvertTo-Csv -NoTypeInformation"',
|
|
809
|
-
{ encoding: "utf-8", timeout: 5e3 }
|
|
810
|
-
);
|
|
811
|
-
const byParent = /* @__PURE__ */ new Map();
|
|
812
|
-
for (const line of out.split(/\r?\n/).slice(1)) {
|
|
813
|
-
const m = line.match(/^"?(\d+)"?,"?(\d+)"?/);
|
|
814
|
-
if (!m) continue;
|
|
815
|
-
const child = Number(m[1]);
|
|
816
|
-
const parent = Number(m[2]);
|
|
817
|
-
const bucket = byParent.get(parent);
|
|
818
|
-
if (bucket) bucket.push(child);
|
|
819
|
-
else byParent.set(parent, [child]);
|
|
820
|
-
}
|
|
821
|
-
return byParent;
|
|
822
|
-
}
|
|
823
|
-
function getDescendantPids(pid) {
|
|
824
|
-
const descendants = [];
|
|
825
|
-
if (isWindows) {
|
|
826
|
-
let byParent;
|
|
827
|
-
try {
|
|
828
|
-
byParent = windowsChildPidMap();
|
|
829
|
-
} catch {
|
|
830
|
-
return descendants;
|
|
831
|
-
}
|
|
832
|
-
const seen = /* @__PURE__ */ new Set([pid]);
|
|
833
|
-
const walk = (parentPid) => {
|
|
834
|
-
for (const child of byParent.get(parentPid) ?? []) {
|
|
835
|
-
if (seen.has(child)) continue;
|
|
836
|
-
seen.add(child);
|
|
837
|
-
walk(child);
|
|
838
|
-
descendants.push(child);
|
|
839
|
-
}
|
|
840
|
-
};
|
|
841
|
-
walk(pid);
|
|
842
|
-
return descendants;
|
|
843
|
-
}
|
|
844
|
-
function collect(parentPid) {
|
|
845
|
-
try {
|
|
846
|
-
const result = execSync2(`pgrep -P ${parentPid}`, {
|
|
847
|
-
encoding: "utf-8",
|
|
848
|
-
timeout: 3e3
|
|
849
|
-
}).trim();
|
|
850
|
-
const childPids = result.split("\n").filter(Boolean).map(Number);
|
|
851
|
-
for (const cp of childPids) {
|
|
852
|
-
collect(cp);
|
|
853
|
-
descendants.push(cp);
|
|
854
|
-
}
|
|
855
|
-
} catch {
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
collect(pid);
|
|
859
|
-
return descendants;
|
|
860
|
-
}
|
|
861
808
|
var makeCleanupRegistry = () => Effect_exports.gen(function* () {
|
|
862
809
|
const map = /* @__PURE__ */ new Map();
|
|
863
810
|
yield* Effect_exports.addFinalizer(
|
|
@@ -1014,6 +961,7 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
|
|
|
1014
961
|
timestamp,
|
|
1015
962
|
...sourceId ? { sourceId } : {}
|
|
1016
963
|
};
|
|
964
|
+
pendingPtySizes.set(commandId, null);
|
|
1017
965
|
Effect_exports.runFork(
|
|
1018
966
|
Effect_exports.tryPromise(
|
|
1019
967
|
() => spawnPtyInHost({
|
|
@@ -1030,6 +978,8 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
|
|
|
1030
978
|
Effect_exports.flatMap(
|
|
1031
979
|
(ptyProcess) => Effect_exports.sync(() => {
|
|
1032
980
|
registerCommand({ ...meta, pid: ptyProcess.pid, ptyProcess, usePty: true });
|
|
981
|
+
const size = pendingPtySizes.get(commandId);
|
|
982
|
+
if (size) ptyProcess.resize(size.cols, size.rows);
|
|
1033
983
|
Effect_exports.runFork(send({ type: "pid", commandId, pid: ptyProcess.pid, command: ptyTarget.name }));
|
|
1034
984
|
Effect_exports.runFork(
|
|
1035
985
|
attachPtyListeners(registry, send, commandId, ptyProcess)
|
|
@@ -1040,7 +990,8 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
|
|
|
1040
990
|
(e) => send({ type: "error", commandId, error: errorMessage(e) }).pipe(
|
|
1041
991
|
Effect_exports.catchAll(() => Effect_exports.void)
|
|
1042
992
|
)
|
|
1043
|
-
)
|
|
993
|
+
),
|
|
994
|
+
Effect_exports.ensuring(Effect_exports.sync(() => pendingPtySizes.delete(commandId)))
|
|
1044
995
|
)
|
|
1045
996
|
);
|
|
1046
997
|
} else {
|
|
@@ -1145,26 +1096,12 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
|
|
|
1145
1096
|
}
|
|
1146
1097
|
} else if (type === "interrupt") {
|
|
1147
1098
|
const { pid } = msg;
|
|
1148
|
-
|
|
1149
|
-
const descendants = getDescendantPids(pid);
|
|
1150
|
-
const allPids = [...descendants, pid];
|
|
1151
|
-
for (const p of allPids) {
|
|
1152
|
-
try {
|
|
1153
|
-
process.kill(p, "SIGTERM");
|
|
1154
|
-
} catch {
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
setTimeout(() => {
|
|
1158
|
-
for (const p of allPids) {
|
|
1159
|
-
try {
|
|
1160
|
-
process.kill(p, 0);
|
|
1161
|
-
process.kill(p, "SIGKILL");
|
|
1162
|
-
} catch {
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
}, 1e3);
|
|
1099
|
+
interruptPidTree(pid);
|
|
1166
1100
|
} else if (type === "resize") {
|
|
1167
1101
|
const { commandId, cols, rows } = msg;
|
|
1102
|
+
if (pendingPtySizes.has(commandId)) {
|
|
1103
|
+
pendingPtySizes.set(commandId, { cols, rows });
|
|
1104
|
+
}
|
|
1168
1105
|
const cmd = getRunningCommand(commandId);
|
|
1169
1106
|
if (cmd?.usePty && cmd.ptyProcess) {
|
|
1170
1107
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surething/cockpit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.280",
|
|
4
4
|
"description": "OpenCockpit is the open-source Claude Code GUI — an IDE-like workbench for parallel AI coding. Drive Claude (default), Codex, DeepSeek, Kimi, or local Ollama in tabs. Terminal, browser & DB bubbles, code review. Self-host on a shared dev box — a seat for every teammate. Local-first, MIT.",
|
|
5
5
|
"author": "Robert",
|
|
6
6
|
"license": "MIT",
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
106
|
"@ai-sdk/openai": "^3.0.52",
|
|
107
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
107
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.285",
|
|
108
108
|
"@dagrejs/dagre": "^3.0.0",
|
|
109
|
-
"@openai/codex": "0.
|
|
109
|
+
"@openai/codex": "0.159.2",
|
|
110
110
|
"@tanstack/react-virtual": "^3.13.18",
|
|
111
111
|
"@tiptap/extension-link": "^3.19.0",
|
|
112
112
|
"@tiptap/extension-placeholder": "^3.19.0",
|
package/skills/cr/SKILL.md
CHANGED
|
@@ -120,7 +120,8 @@ def assemble(reports):
|
|
|
120
120
|
diagram.mark_once(f.break_location, f"✗#{f.n} {f.severity} {f.break_note}")
|
|
121
121
|
# mechanical placement only — no other edit to the diagram
|
|
122
122
|
|
|
123
|
-
return render(heading_and_verdict(findings), # the ONLY text the main session writes
|
|
123
|
+
return render(heading_and_verdict(findings), # the ONLY text the main session writes
|
|
124
|
+
# (incl. the > 5 findings index, §4),
|
|
124
125
|
diagram, # together with the coverage block
|
|
125
126
|
[f.block for f in findings],
|
|
126
127
|
coverage(reports))
|
|
@@ -277,9 +278,10 @@ REPORT = [ # exactly these four parts, nothing
|
|
|
277
278
|
"findings", # one block each, sorted
|
|
278
279
|
"coverage", # ```text block
|
|
279
280
|
]
|
|
280
|
-
# > 5 findings →
|
|
281
|
+
# > 5 findings → index before the diagram, a Markdown list, one item per finding:
|
|
282
|
+
# "- #1 🔴 introduced — <Consequence>" (bare lines collapse into one paragraph)
|
|
281
283
|
# language = the user's; identifiers and file:line unchanged
|
|
282
|
-
# blank line before and after every code block
|
|
284
|
+
# blank line before the "## Review" heading and before and after every code block
|
|
283
285
|
# test runs / scratch scripts / side notes → a finding's Why, or the last coverage line
|
|
284
286
|
|
|
285
287
|
def format_gate(report) -> list[str]: # countable checks only; never judges content
|
|
@@ -336,7 +338,9 @@ Static-only reviewer → `slices: none (static only)`.
|
|
|
336
338
|
```python
|
|
337
339
|
assert every reviewer triaged and judged alone; nothing relayed between tracks # P1
|
|
338
340
|
assert every report passed format_gate, or was bounced to its own author # P2
|
|
339
|
-
assert main session wrote only heading+verdict and coverage; findings verbatim
|
|
341
|
+
assert main session wrote only heading+verdict (+ index) and coverage; findings verbatim # P2
|
|
342
|
+
assert blank line before "## Review"; index (> 5 findings) is a "- " list, one per line # §4 —
|
|
343
|
+
# main-session text never passes format_gate
|
|
340
344
|
assert every behavioural claim rests on real code / source, not a proxy # P3
|
|
341
345
|
assert diagram arrows == real control flow; each ✗#n once, right-hand column # P4
|
|
342
346
|
assert every slice ✓ / ✗#n / not-modelled; every finding has an Origin # coverage
|
package/skills/ex/SKILL.md
CHANGED
|
@@ -1,73 +1,53 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ex
|
|
3
|
-
description: "
|
|
3
|
+
description: "Deep analysis of a complex question in one pass: answer first, then cited findings, options and open points; no code changes."
|
|
4
|
+
argument-hint: "[question]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Analyze complex problems with a fixed thinking skeleton. **Output analysis only; do not modify code.**
|
|
9
|
-
|
|
10
|
-
## Entry: complexity check
|
|
11
|
-
|
|
12
|
-
When the question arrives, **first judge complexity**:
|
|
13
|
-
|
|
14
|
-
- **Simple problem** → answer directly, **do not apply the methodology** (KISS)
|
|
15
|
-
- **Complex problem** → run the full 6-step skeleton below
|
|
16
|
-
|
|
17
|
-
Treat as complex if any of these holds:
|
|
18
|
-
- Multiple candidate solutions need trade-off
|
|
19
|
-
- Multiple hypotheses need verification
|
|
20
|
-
- Spans multiple modules / systems / layers
|
|
21
|
-
- The user explicitly asks for deep discussion
|
|
22
|
-
|
|
23
|
-
## Methodology skeleton (complex problems only)
|
|
24
|
-
|
|
25
|
-
Run in order, **in one pass, without stopping to ask the user**:
|
|
7
|
+
Deep analysis mode: take a complex question to a conclusion in one pass, backed by evidence. No code changes, and do not stop to ask the user — mark what is missing and keep going.
|
|
26
8
|
|
|
27
9
|
```
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
10
|
+
if simple(question): answer directly, skip everything below
|
|
11
|
+
|
|
12
|
+
think (not emitted): what / why / how → diverge on hypotheses and candidates
|
|
13
|
+
→ converge on the top 1-3 → dig into them → verify the key claims
|
|
14
|
+
verify by: reading and searching code · official docs and web · small commands and experiments
|
|
15
|
+
|
|
16
|
+
emit, answer first, empty sections omitted:
|
|
17
|
+
## Answer the bottom line, 1-3 sentences
|
|
18
|
+
<view> only if it helps: solution skeleton (how-to) · comparison matrix (A vs B)
|
|
19
|
+
· call chain / data flow (why it works this way)
|
|
20
|
+
## Findings what supports the answer, one line each — <claim> — <file:line | link | output>
|
|
21
|
+
## Options only when there is a choice to make: decision blocks (below)
|
|
22
|
+
## Risks only when there are any
|
|
23
|
+
## Pending what is missing — and which conclusion it would change
|
|
24
|
+
|
|
25
|
+
on follow-up: dig into what was asked, then emit only the delta, never the unchanged analysis:
|
|
26
|
+
## Changed each edit as <section>: <old> → <new>; a changed Answer goes first
|
|
27
|
+
## New findings, options or risks the follow-up added
|
|
28
|
+
## Pending what is still missing
|
|
34
29
|
```
|
|
35
30
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- **What**: what is the problem / solution, what is the boundary
|
|
39
|
-
- **Why**: why does this problem exist, why pick this solution
|
|
40
|
-
- **How**: how to implement / land / verify it
|
|
31
|
+
`simple` = one clear answer, no trade-off, no hypothesis to test, one module. Anything spanning systems, needing a choice, or explicitly asked to go deep is complex.
|
|
41
32
|
|
|
42
|
-
|
|
33
|
+
Findings you inferred but did not verify are marked `(hypothesis)` with the check that would confirm them. A solution skeleton shows the parts and how they connect at the level a decision is made on; drop every line whose removal would not change that decision.
|
|
43
34
|
|
|
44
|
-
|
|
35
|
+
Written for skimming: every bullet one line, each fact stated once in the section it belongs to.
|
|
45
36
|
|
|
46
|
-
|
|
47
|
-
- When information is missing → explicitly mark **"⚠️ Pending: xxx"** and let the user follow up later
|
|
48
|
-
- Do not stop just because info is incomplete; push as far as the evidence allows
|
|
37
|
+
**Options** — a condensed MADR record: the question as a bold title, then a fenced text block with the decision drivers, the options, and the recommendation last:
|
|
49
38
|
|
|
50
|
-
|
|
39
|
+
**1. <question>**
|
|
51
40
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
- **No mandatory output template** — organize by what the problem needs
|
|
65
|
-
- **Comparison matrix is optional** — use it only when multiple options / hypotheses must sit side by side
|
|
66
|
-
- Simple questions get short answers; do not over-frame for the sake of framing
|
|
67
|
-
|
|
68
|
-
## What this skill does NOT do
|
|
41
|
+
```
|
|
42
|
+
Drivers: <criterion> · <criterion>
|
|
43
|
+
A ★ <option>
|
|
44
|
+
+ <gain>
|
|
45
|
+
- <cost>
|
|
46
|
+
B <option>
|
|
47
|
+
+ <gain>
|
|
48
|
+
- <cost>
|
|
49
|
+
|
|
50
|
+
★ A — <why, in terms of the drivers, one line>
|
|
51
|
+
```
|
|
69
52
|
|
|
70
|
-
|
|
71
|
-
- ❌ Do not interrupt the user mid-flow (one-shot)
|
|
72
|
-
- ❌ Do not force a comparison matrix on every question
|
|
73
|
-
- ❌ Do not compete with `/qa` or `/fx` — the three are siblings, triggered explicitly by the user
|
|
53
|
+
Options mutually exclusive, at most 3. ★ is always given, never "up to you", and argued from the drivers.
|
package/skills/fx/SKILL.md
CHANGED
|
@@ -1,8 +1,50 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: fx
|
|
3
|
-
description: "Trace a bug to its evidence chain; analysis only, no code changes."
|
|
3
|
+
description: "Trace a bug to its root cause through a cited evidence chain, then fix options; analysis only, no code changes."
|
|
4
|
+
argument-hint: "[symptom / error / repro]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
Bug evidence chain analysis mode: find why it breaks, prove it, and lay out the fixes. No code changes.
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
emit a lean RCA, fixed sections in this order, empty ones omitted:
|
|
11
|
+
## Symptom what the user sees, expected vs actual # ≤ 3 bullets
|
|
12
|
+
## Repro the shortest steps or input that trigger it; "not reproduced" if so
|
|
13
|
+
## Evidence the chain from symptom back to cause, one link per line:
|
|
14
|
+
<claim> — <file:line | log line | command output>
|
|
15
|
+
## Root cause one sentence; the link where a fix removes the whole chain
|
|
16
|
+
## Blast radius other callers / paths that share the cause
|
|
17
|
+
## Fix options decision blocks (below)
|
|
18
|
+
## Verify how to prove the fix: the check that fails now and passes after
|
|
19
|
+
stop # no code edits, no mutating commands
|
|
20
|
+
on reply: dig where the user points, then emit only the delta, never the unchanged RCA:
|
|
21
|
+
## New evidence links added to the chain, same cited form
|
|
22
|
+
## Changed each edit as <section>: <old> → <new>; a changed root cause goes first
|
|
23
|
+
## Open what is still unproven or undecided
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Every evidence link cites something the user can open. A link you inferred but did not observe is marked `(hypothesis)` along with the check that would confirm it — never present a guess as a finding. If the chain has a gap, say where it breaks instead of bridging it.
|
|
27
|
+
|
|
28
|
+
Root cause, not the first suspicious line: keep asking why until the next answer is outside the code (a requirement, an external system) or the fix at that link makes every symptom above it impossible.
|
|
29
|
+
|
|
30
|
+
Written for skimming: every bullet one line, each fact stated once in the section it belongs to.
|
|
31
|
+
|
|
32
|
+
**Fix options** — a condensed MADR record: the question as a bold title, then a fenced text block with the decision drivers, the options, and the recommendation last:
|
|
33
|
+
|
|
34
|
+
**1. <what to fix>**
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
Drivers: <criterion> · <criterion>
|
|
38
|
+
A ★ <option — where it cuts the chain>
|
|
39
|
+
+ <gain>
|
|
40
|
+
- <cost>
|
|
41
|
+
B <option>
|
|
42
|
+
+ <gain>
|
|
43
|
+
- <cost>
|
|
44
|
+
|
|
45
|
+
★ A — <why, in terms of the drivers, one line>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- Options mutually exclusive, at most 3. A symptom patch is allowed as an option only if labelled as one.
|
|
49
|
+
- Drivers: the 1-3 criteria this choice turns on. ★ is always given, never "up to you", and argued from them.
|
|
50
|
+
- End with: "Reply 1A, 'as recommended', or point at a link in the chain to dig further."
|