@surething/cockpit 1.0.277 → 1.0.278
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +6 -5
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +6 -0
- package/.next-prod/server/app/_global-error/page.js +2 -2
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next-prod/server/app/api/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/route.js +1 -1
- package/.next-prod/server/app/api/bots/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +2 -2
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/export/route.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/query/route.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/extension/version/route.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/file/route.js +1 -1
- package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/blame/route.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/copy/route.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/delete/route.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/index/route.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/paste/route.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/read/route.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/save/route.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/search/route.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/stat/route.js +1 -1
- package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/text/route.js +1 -1
- package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/blob/route.js +1 -1
- package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branches/route.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commits/route.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/diff/route.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/discard/route.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/stage/route.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/status/route.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/models/route.js +1 -1
- package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/global-state/route.js +1 -1
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -1
- package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/default-model/route.js +1 -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 -0
- package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/output-styles/config/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/pick-folder/route.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route.js +2 -2
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/restart/route.js +1 -1
- package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/identify/route.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/order/route.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/route.js +1 -1
- package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/users/route.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/content/route.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/route.js +1 -1
- package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -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/update/route.js +1 -1
- package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/update-state/route.js +1 -1
- package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/version/route.js +1 -1
- package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
- package/.next-prod/server/app/favicon.ico/route.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next-prod/server/app/m/page.js +1 -1
- package/.next-prod/server/app/m/page.js.nft.json +1 -1
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
- package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next-prod/server/app/page.js +1 -1
- package/.next-prod/server/app/page.js.nft.json +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +1 -1
- package/.next-prod/server/app/project/page.js.nft.json +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +6 -5
- package/.next-prod/server/chunks/2493.js +23 -17
- package/.next-prod/server/chunks/4949.js +1 -1
- package/.next-prod/server/chunks/{8131.js → 5591.js} +4 -4
- package/.next-prod/server/chunks/6495.js +1 -1
- package/.next-prod/server/chunks/6548.js +1 -1
- package/.next-prod/server/chunks/7438.js +12 -11
- package/.next-prod/server/functions-config-manifest.json +1 -0
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/I8gbcTQRiRdMF09goE7WI/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/{99365-c697e983b9728d08.js → 21829-993d9bfd63c1ee9e.js} +2 -2
- package/.next-prod/static/chunks/60875-acaae14dd7ddcd91.js +35 -0
- package/.next-prod/static/chunks/95313-eb607273c688b022.js +17 -0
- package/.next-prod/static/chunks/99092-f94ee242866d22b9.js +716 -0
- package/.next-prod/static/chunks/app/_global-error/{page-6ac899b2cd280c12.js → page-b3c86dd8f06140fe.js} +1 -1
- package/.next-prod/static/chunks/app/api/agent/test/{route-6ac899b2cd280c12.js → route-b3c86dd8f06140fe.js} +1 -1
- package/.next-prod/static/chunks/app/api/bash/{route-6ac899b2cd280c12.js → route-b3c86dd8f06140fe.js} +1 -1
- package/.next-prod/static/chunks/app/api/bots/[id]/{route-6ac899b2cd280c12.js → route-b3c86dd8f06140fe.js} +1 -1
- package/.next-prod/static/chunks/app/api/bots/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/output-styles/config/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/search/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/status/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/{layout-f3f9426dccb507b2.js → layout-589122feb9071556.js} +1 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/app/{page-d97e5df9486f39cb.js → page-a69072e6dbd4a059.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-d97e5df9486f39cb.js → page-a69072e6dbd4a059.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b3c86dd8f06140fe.js +1 -0
- package/.next-prod/static/css/2abfec9d3e93011f.css +1 -0
- package/.next-prod/trace +15 -15
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/output-styles/config/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +2 -1
- package/.next-prod/types/validator.ts +9 -0
- package/dist/{chunk-SGVT4QFB.mjs → chunk-LPZXJPD6.mjs} +231 -53
- package/dist/{chunk-5ZXPIG4Z.mjs → chunk-W5MB7DIM.mjs} +1 -1
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +32 -2
- package/dist/wsServer.mjs +12 -3
- package/package.json +3 -3
- package/skills/bot-run/SKILL.md +6 -6
- package/skills/bot-run/followup.md +1 -1
- package/skills/bot-run/wait.md +1 -1
- package/.next-prod/static/chunks/89656-1b5bae337f6b6892.js +0 -34
- package/.next-prod/static/chunks/95313-96a541e7ce6f76c4.js +0 -17
- package/.next-prod/static/chunks/99092-7b5fa4560a398020.js +0 -716
- package/.next-prod/static/chunks/app/api/bots/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/instructions/config/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/session/user-messages/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/search/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/status/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6ac899b2cd280c12.js +0 -1
- package/.next-prod/static/css/e6181fb6c73884b4.css +0 -1
- package/.next-prod/static/yEJ9Z5Bjv9ti4WeYINfCs/_buildManifest.js +0 -1
- /package/.next-prod/static/{yEJ9Z5Bjv9ti4WeYINfCs → I8gbcTQRiRdMF09goE7WI}/_ssgManifest.js +0 -0
|
@@ -23391,9 +23391,9 @@ var txnCounter = {
|
|
|
23391
23391
|
ref: 0
|
|
23392
23392
|
};
|
|
23393
23393
|
var make49 = () => {
|
|
23394
|
-
const
|
|
23395
|
-
txnCounter.ref =
|
|
23396
|
-
return
|
|
23394
|
+
const newId2 = txnCounter.ref + 1;
|
|
23395
|
+
txnCounter.ref = newId2;
|
|
23396
|
+
return newId2;
|
|
23397
23397
|
};
|
|
23398
23398
|
|
|
23399
23399
|
// node_modules/effect/dist/esm/internal/stm/core.js
|
|
@@ -28706,6 +28706,9 @@ function getTerminalHistoryPath(cwd, tabId) {
|
|
|
28706
28706
|
function getTerminalOutputPath(cwd, commandId) {
|
|
28707
28707
|
return join4(getCockpitProjectDir(cwd), `terminal-output-${commandId}.txt`);
|
|
28708
28708
|
}
|
|
28709
|
+
function getGlobalOutputStylesConfigPath() {
|
|
28710
|
+
return join4(COCKPIT_DIR, "output-styles.json");
|
|
28711
|
+
}
|
|
28709
28712
|
function getBubbleOrderPath(cwd, tabId) {
|
|
28710
28713
|
return join4(getCockpitProjectDir(cwd), `terminal-bubble-order-${tabId}.json`);
|
|
28711
28714
|
}
|
|
@@ -29064,13 +29067,13 @@ function appendRun(key, message) {
|
|
|
29064
29067
|
r.updatedAt = Date.now();
|
|
29065
29068
|
fanout(r, { seq: r.seq, message });
|
|
29066
29069
|
}
|
|
29067
|
-
function rekeyRun(oldId,
|
|
29070
|
+
function rekeyRun(oldId, newId2) {
|
|
29068
29071
|
const r = registry.get(oldId);
|
|
29069
29072
|
if (!r) return;
|
|
29070
|
-
r.sessionId =
|
|
29071
|
-
if (oldId !==
|
|
29072
|
-
r.keys.add(
|
|
29073
|
-
registry.set(
|
|
29073
|
+
r.sessionId = newId2;
|
|
29074
|
+
if (oldId !== newId2) {
|
|
29075
|
+
r.keys.add(newId2);
|
|
29076
|
+
registry.set(newId2, r);
|
|
29074
29077
|
}
|
|
29075
29078
|
}
|
|
29076
29079
|
function markRunIdle(key, status3 = "idle") {
|
|
@@ -33651,12 +33654,11 @@ function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
|
|
|
33651
33654
|
var PLAN_EDIT_TOOLS = /* @__PURE__ */ new Set(["Write", "Edit", "MultiEdit", "NotebookEdit"]);
|
|
33652
33655
|
var isPlanFilePath = (p) => /(^|\/)\.claude\/plans\//.test(p);
|
|
33653
33656
|
var CLAUDE_SDK_EFFORTS = /* @__PURE__ */ new Set(["low", "medium", "high", "xhigh", "max"]);
|
|
33654
|
-
var CLAUDE_ULTRACODE_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8"]);
|
|
33655
|
-
var CLAUDE_XHIGH_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-sonnet-5"]);
|
|
33657
|
+
var CLAUDE_ULTRACODE_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8"]);
|
|
33658
|
+
var CLAUDE_XHIGH_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8", "claude-sonnet-5"]);
|
|
33656
33659
|
function resolveClaudeModel(ctx) {
|
|
33657
33660
|
const model = typeof ctx.params.model === "string" && ctx.params.model.trim() ? ctx.params.model.trim() : void 0;
|
|
33658
|
-
|
|
33659
|
-
return ctx.params.claudeContextWindow === "1m" ? `${model}[1m]` : model;
|
|
33661
|
+
return model || void 0;
|
|
33660
33662
|
}
|
|
33661
33663
|
function resolveClaudeEffort(ctx) {
|
|
33662
33664
|
const model = typeof ctx.params.model === "string" ? ctx.params.model.trim() : "";
|
|
@@ -33706,6 +33708,7 @@ function planPermission(toolName, input, opts) {
|
|
|
33706
33708
|
}
|
|
33707
33709
|
return { behavior: "allow", updatedInput: input };
|
|
33708
33710
|
}
|
|
33711
|
+
var SYSTEM_PROMPT_SNAPSHOT = false;
|
|
33709
33712
|
var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
33710
33713
|
function buildClaudeOptions(ctx, independent) {
|
|
33711
33714
|
const { permissionMode } = ctx.params;
|
|
@@ -33724,6 +33727,25 @@ function buildClaudeOptions(ctx, independent) {
|
|
|
33724
33727
|
...model ? { model } : {},
|
|
33725
33728
|
...effort ? { effort } : {},
|
|
33726
33729
|
...settings ? { settings } : {},
|
|
33730
|
+
// System prompt: Claude Code's own preset, always. Omitting `systemPrompt` does NOT mean
|
|
33731
|
+
// "Claude Code's default" — the Agent SDK then sends an EMPTY custom prompt (sdk.mjs:
|
|
33732
|
+
// `systemPrompt === undefined → ""`), which is how sessions here ran without Claude Code's
|
|
33733
|
+
// instructions for a long time unnoticed.
|
|
33734
|
+
//
|
|
33735
|
+
// Output style rides on it as `append`, so selecting one adds a little text after the
|
|
33736
|
+
// preset instead of changing the base.
|
|
33737
|
+
//
|
|
33738
|
+
// `snapshot: false`: where system-prompt recording is enabled (a per-account rollout) the
|
|
33739
|
+
// SDK records the prompt on a session's first request and replays it on every resume. That
|
|
33740
|
+
// would ignore a style switched mid-session, and keep sessions recorded before this fix on
|
|
33741
|
+
// their empty prompt until compaction. Rendering per request behaves the same on every
|
|
33742
|
+
// account; an unchanged prompt renders byte-identical, so the prompt cache still hits.
|
|
33743
|
+
systemPrompt: {
|
|
33744
|
+
type: "preset",
|
|
33745
|
+
preset: "claude_code",
|
|
33746
|
+
...ctx.outputStyle ? { append: ctx.outputStyle } : {},
|
|
33747
|
+
snapshot: SYSTEM_PROMPT_SNAPSHOT
|
|
33748
|
+
},
|
|
33727
33749
|
settingSources: ["user", "project", "local"],
|
|
33728
33750
|
// Permission mode: 'plan' (read-only) when requested, else skip all permission checks.
|
|
33729
33751
|
permissionMode: isPlan ? "plan" : "bypassPermissions",
|
|
@@ -33788,7 +33810,15 @@ import { streamText as streamText2, stepCountIs } from "ai";
|
|
|
33788
33810
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
33789
33811
|
|
|
33790
33812
|
// packages/feature/agent/src/server/engines/builtinAgent/prompt.ts
|
|
33791
|
-
function buildSystemPrompt(cwd) {
|
|
33813
|
+
function buildSystemPrompt(cwd, outputStyle) {
|
|
33814
|
+
const base = buildBasePrompt(cwd);
|
|
33815
|
+
return outputStyle ? `${base}
|
|
33816
|
+
|
|
33817
|
+
## Output style
|
|
33818
|
+
|
|
33819
|
+
${outputStyle}` : base;
|
|
33820
|
+
}
|
|
33821
|
+
function buildBasePrompt(cwd) {
|
|
33792
33822
|
return `You are a coding agent. You help the user build and modify software using the provided tools.
|
|
33793
33823
|
|
|
33794
33824
|
CWD: ${cwd}
|
|
@@ -48357,7 +48387,7 @@ async function runBuiltinAgent(ctx, config3) {
|
|
|
48357
48387
|
const languageModel = await config3.createModel(model);
|
|
48358
48388
|
const result = streamText2({
|
|
48359
48389
|
model: languageModel,
|
|
48360
|
-
system: buildSystemPrompt(cwd),
|
|
48390
|
+
system: buildSystemPrompt(cwd, ctx.outputStyle),
|
|
48361
48391
|
messages,
|
|
48362
48392
|
tools: createTools(context7),
|
|
48363
48393
|
stopWhen: stepCountIs(256),
|
|
@@ -49159,7 +49189,7 @@ var CodexEventShim = class {
|
|
|
49159
49189
|
|
|
49160
49190
|
// packages/feature/agent/src/server/engines/codex.ts
|
|
49161
49191
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
49162
|
-
import { writeFileSync as
|
|
49192
|
+
import { writeFileSync as writeFileSync6, unlinkSync as unlinkSync4, mkdirSync as mkdirSync5, existsSync as existsSync6, statSync as statSync4, openSync as openSync2, readSync as readSync2, closeSync as closeSync2 } from "fs";
|
|
49163
49193
|
import { StringDecoder as StringDecoder2 } from "string_decoder";
|
|
49164
49194
|
import { join as join13 } from "path";
|
|
49165
49195
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -49266,6 +49296,102 @@ function recoverStashedCodexRollouts(root = CODEX_SESSIONS_DIR) {
|
|
|
49266
49296
|
return repaired;
|
|
49267
49297
|
}
|
|
49268
49298
|
|
|
49299
|
+
// packages/feature/agent/src/server/engines/shared/codexOutputStyle.ts
|
|
49300
|
+
import * as fs4 from "fs";
|
|
49301
|
+
var OPEN = "<cockpit_output_style>";
|
|
49302
|
+
var CLOSE = "</cockpit_output_style>";
|
|
49303
|
+
function wrapCodexOutputStyle(style) {
|
|
49304
|
+
return `${OPEN}
|
|
49305
|
+
${style}
|
|
49306
|
+
${CLOSE}`;
|
|
49307
|
+
}
|
|
49308
|
+
var isOurs = (item) => typeof item?.text === "string" && item.text.startsWith(OPEN);
|
|
49309
|
+
function rewriteContent(content, desired) {
|
|
49310
|
+
let found = false;
|
|
49311
|
+
let changed = false;
|
|
49312
|
+
const next4 = [];
|
|
49313
|
+
for (const item of content) {
|
|
49314
|
+
if (!isOurs(item)) {
|
|
49315
|
+
next4.push(item);
|
|
49316
|
+
continue;
|
|
49317
|
+
}
|
|
49318
|
+
found = true;
|
|
49319
|
+
if (desired === void 0) {
|
|
49320
|
+
changed = true;
|
|
49321
|
+
continue;
|
|
49322
|
+
}
|
|
49323
|
+
if (item.text !== desired) changed = true;
|
|
49324
|
+
next4.push({ ...item, text: desired });
|
|
49325
|
+
}
|
|
49326
|
+
return [next4, changed, found];
|
|
49327
|
+
}
|
|
49328
|
+
function eachDeveloperContent(value, visit) {
|
|
49329
|
+
if (!value || typeof value !== "object") return;
|
|
49330
|
+
if (Array.isArray(value)) {
|
|
49331
|
+
for (const v of value) eachDeveloperContent(v, visit);
|
|
49332
|
+
return;
|
|
49333
|
+
}
|
|
49334
|
+
const obj = value;
|
|
49335
|
+
if (obj.type === "message" && obj.role === "developer" && Array.isArray(obj.content)) {
|
|
49336
|
+
visit(obj);
|
|
49337
|
+
return;
|
|
49338
|
+
}
|
|
49339
|
+
for (const v of Object.values(obj)) eachDeveloperContent(v, visit);
|
|
49340
|
+
}
|
|
49341
|
+
var isFirstDeveloperMessage = (entry) => entry.type === "response_item" && entry.payload?.type === "message" && entry.payload?.role === "developer" && Array.isArray(entry.payload?.content);
|
|
49342
|
+
function syncCodexOutputStyle(sessionPath, style) {
|
|
49343
|
+
const desired = style ? wrapCodexOutputStyle(style) : void 0;
|
|
49344
|
+
const raw = fs4.readFileSync(sessionPath, "utf-8");
|
|
49345
|
+
const lines = raw.split("\n");
|
|
49346
|
+
let found = false;
|
|
49347
|
+
let changed = false;
|
|
49348
|
+
let firstDeveloperLine = -1;
|
|
49349
|
+
for (let i = 0; i < lines.length; i++) {
|
|
49350
|
+
const line = lines[i];
|
|
49351
|
+
const marked = line.includes(OPEN);
|
|
49352
|
+
if (!marked && (firstDeveloperLine >= 0 || !line.includes('"developer"'))) continue;
|
|
49353
|
+
let entry;
|
|
49354
|
+
try {
|
|
49355
|
+
entry = JSON.parse(line);
|
|
49356
|
+
} catch {
|
|
49357
|
+
continue;
|
|
49358
|
+
}
|
|
49359
|
+
if (firstDeveloperLine < 0 && isFirstDeveloperMessage(entry)) firstDeveloperLine = i;
|
|
49360
|
+
if (!marked) continue;
|
|
49361
|
+
let lineChanged = false;
|
|
49362
|
+
eachDeveloperContent(entry, (msg) => {
|
|
49363
|
+
const [next4, c, f] = rewriteContent(msg.content, desired);
|
|
49364
|
+
if (f) found = true;
|
|
49365
|
+
if (c) {
|
|
49366
|
+
msg.content = next4;
|
|
49367
|
+
lineChanged = true;
|
|
49368
|
+
}
|
|
49369
|
+
});
|
|
49370
|
+
if (lineChanged) {
|
|
49371
|
+
lines[i] = JSON.stringify(entry);
|
|
49372
|
+
changed = true;
|
|
49373
|
+
}
|
|
49374
|
+
}
|
|
49375
|
+
let result;
|
|
49376
|
+
if (found) {
|
|
49377
|
+
result = !changed ? "unchanged" : desired === void 0 ? "removed" : "updated";
|
|
49378
|
+
} else if (desired === void 0) {
|
|
49379
|
+
return "unchanged";
|
|
49380
|
+
} else if (firstDeveloperLine < 0) {
|
|
49381
|
+
return "no-anchor";
|
|
49382
|
+
} else {
|
|
49383
|
+
const entry = JSON.parse(lines[firstDeveloperLine]);
|
|
49384
|
+
entry.payload.content = [{ type: "input_text", text: desired }, ...entry.payload.content];
|
|
49385
|
+
lines[firstDeveloperLine] = JSON.stringify(entry);
|
|
49386
|
+
result = "inserted";
|
|
49387
|
+
}
|
|
49388
|
+
if (result === "unchanged") return result;
|
|
49389
|
+
const tmp = `${sessionPath}.output-style.tmp`;
|
|
49390
|
+
fs4.writeFileSync(tmp, lines.join("\n"), "utf-8");
|
|
49391
|
+
fs4.renameSync(tmp, sessionPath);
|
|
49392
|
+
return result;
|
|
49393
|
+
}
|
|
49394
|
+
|
|
49269
49395
|
// packages/feature/agent/src/server/engines/codex.ts
|
|
49270
49396
|
var MEDIA_EXT = {
|
|
49271
49397
|
"image/png": ".png",
|
|
@@ -49279,7 +49405,7 @@ function writeImagesToTemp(images) {
|
|
|
49279
49405
|
return images.map((img, i) => {
|
|
49280
49406
|
const ext = MEDIA_EXT[img.media_type] || ".png";
|
|
49281
49407
|
const filePath = join13(dir, `img-${Date.now()}-${i}${ext}`);
|
|
49282
|
-
|
|
49408
|
+
writeFileSync6(filePath, Buffer.from(img.data, "base64"));
|
|
49283
49409
|
return filePath;
|
|
49284
49410
|
});
|
|
49285
49411
|
}
|
|
@@ -49620,12 +49746,17 @@ function codexThreadParams(ctx) {
|
|
|
49620
49746
|
...effort ? { effort } : {},
|
|
49621
49747
|
...ctx.cwd ? { cwd: ctx.cwd } : {},
|
|
49622
49748
|
sandbox: "danger-full-access",
|
|
49623
|
-
approvalPolicy: "never"
|
|
49749
|
+
approvalPolicy: "never",
|
|
49750
|
+
// Output style. `developerInstructions` is appended to Codex's own instructions
|
|
49751
|
+
// (`baseInstructions` would REPLACE them), but only on `thread/start` — resume ignores
|
|
49752
|
+
// it. Mid-session switches are applied to the rollout instead (codexSpec.run →
|
|
49753
|
+
// syncCodexOutputStyle). Wrapped in a marker so that sync can find it again. Still sent
|
|
49754
|
+
// on resume: harmless, and the resume-failure fallback's thread/start reuses these params.
|
|
49755
|
+
...ctx.outputStyle ? { developerInstructions: wrapCodexOutputStyle(ctx.outputStyle) } : {}
|
|
49624
49756
|
};
|
|
49625
49757
|
}
|
|
49626
49758
|
function resolveCodexReasoningEffort(value) {
|
|
49627
49759
|
switch (value) {
|
|
49628
|
-
case "minimal":
|
|
49629
49760
|
case "low":
|
|
49630
49761
|
case "medium":
|
|
49631
49762
|
case "high":
|
|
@@ -49767,11 +49898,18 @@ var codexSpec = {
|
|
|
49767
49898
|
// No preflight: the orchestrator's own "prompt or images" check is sufficient.
|
|
49768
49899
|
runner: {
|
|
49769
49900
|
async run(ctx) {
|
|
49901
|
+
const sessionPath = ctx.sessionId ? findCodexSessionPath(ctx.sessionId) : null;
|
|
49902
|
+
if (sessionPath) {
|
|
49903
|
+
try {
|
|
49904
|
+
syncCodexOutputStyle(sessionPath, ctx.outputStyle);
|
|
49905
|
+
} catch (err) {
|
|
49906
|
+
console.warn(`[codex] output style sync failed for ${sessionPath}: ${String(err)}`);
|
|
49907
|
+
}
|
|
49908
|
+
}
|
|
49770
49909
|
if (ctx.params.noHistory !== true || !ctx.sessionId) {
|
|
49771
49910
|
await runCodexAppServer(ctx);
|
|
49772
49911
|
return;
|
|
49773
49912
|
}
|
|
49774
|
-
const sessionPath = findCodexSessionPath(ctx.sessionId);
|
|
49775
49913
|
const stashed = sessionPath ? stashCodexRollout(sessionPath) : false;
|
|
49776
49914
|
try {
|
|
49777
49915
|
await runCodexAppServer(ctx);
|
|
@@ -49797,22 +49935,22 @@ function getEngineSpec(engine) {
|
|
|
49797
49935
|
}
|
|
49798
49936
|
|
|
49799
49937
|
// packages/feature/agent/src/server/api/session/sessionStore.ts
|
|
49800
|
-
import * as
|
|
49938
|
+
import * as fs5 from "fs";
|
|
49801
49939
|
function resolveSessionPath(cwd, sessionId) {
|
|
49802
49940
|
const sessionPath = getClaudeSessionPath(cwd, sessionId);
|
|
49803
|
-
if (
|
|
49941
|
+
if (fs5.existsSync(sessionPath)) {
|
|
49804
49942
|
return { sessionPath, engine: "claude" };
|
|
49805
49943
|
}
|
|
49806
49944
|
const deepseekPath = getDeepseekBuiltinSessionPath(cwd, sessionId);
|
|
49807
|
-
if (
|
|
49945
|
+
if (fs5.existsSync(deepseekPath)) {
|
|
49808
49946
|
return { sessionPath: deepseekPath, engine: "deepseek" };
|
|
49809
49947
|
}
|
|
49810
49948
|
const kimiPath = getKimiBuiltinSessionPath(cwd, sessionId);
|
|
49811
|
-
if (
|
|
49949
|
+
if (fs5.existsSync(kimiPath)) {
|
|
49812
49950
|
return { sessionPath: kimiPath, engine: "kimi" };
|
|
49813
49951
|
}
|
|
49814
49952
|
const glmPath = getGlmBuiltinSessionPath(cwd, sessionId);
|
|
49815
|
-
if (
|
|
49953
|
+
if (fs5.existsSync(glmPath)) {
|
|
49816
49954
|
return { sessionPath: glmPath, engine: "glm" };
|
|
49817
49955
|
}
|
|
49818
49956
|
const codexPath = findCodexSessionPath(sessionId);
|
|
@@ -49820,7 +49958,7 @@ function resolveSessionPath(cwd, sessionId) {
|
|
|
49820
49958
|
return { sessionPath: codexPath, engine: "codex" };
|
|
49821
49959
|
}
|
|
49822
49960
|
const ollamaPath = getOllamaSessionPath(cwd, sessionId);
|
|
49823
|
-
if (
|
|
49961
|
+
if (fs5.existsSync(ollamaPath)) {
|
|
49824
49962
|
return { sessionPath: ollamaPath, engine: "ollama" };
|
|
49825
49963
|
}
|
|
49826
49964
|
return null;
|
|
@@ -50104,7 +50242,7 @@ var DelegationServiceLive = Layer_exports.effect(
|
|
|
50104
50242
|
|
|
50105
50243
|
// packages/feature/agent/src/effect/botRegistryLive.ts
|
|
50106
50244
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
50107
|
-
import { readFileSync as
|
|
50245
|
+
import { readFileSync as readFileSync8, realpathSync as realpathSync3 } from "fs";
|
|
50108
50246
|
import path3 from "path";
|
|
50109
50247
|
|
|
50110
50248
|
// packages/feature/agent/src/shared/bots.ts
|
|
@@ -50157,14 +50295,14 @@ import {
|
|
|
50157
50295
|
cpSync,
|
|
50158
50296
|
existsSync as existsSync8,
|
|
50159
50297
|
mkdirSync as mkdirSync6,
|
|
50160
|
-
readFileSync as
|
|
50298
|
+
readFileSync as readFileSync7,
|
|
50161
50299
|
readdirSync as readdirSync4,
|
|
50162
50300
|
realpathSync as realpathSync2,
|
|
50163
|
-
renameSync as
|
|
50301
|
+
renameSync as renameSync5,
|
|
50164
50302
|
rmdirSync,
|
|
50165
50303
|
rmSync,
|
|
50166
50304
|
statSync as statSync5,
|
|
50167
|
-
writeFileSync as
|
|
50305
|
+
writeFileSync as writeFileSync7
|
|
50168
50306
|
} from "fs";
|
|
50169
50307
|
import path2, { join as join14 } from "path";
|
|
50170
50308
|
var BUILTIN_BOT_ID_PREFIX = "builtin:";
|
|
@@ -50182,7 +50320,7 @@ var hasManifest = (dir) => {
|
|
|
50182
50320
|
var INSTALL_STATE_FILE = join14(BOTS_DIR, ".builtin-installs.json");
|
|
50183
50321
|
var readInstallState = () => {
|
|
50184
50322
|
try {
|
|
50185
|
-
const raw = JSON.parse(
|
|
50323
|
+
const raw = JSON.parse(readFileSync7(INSTALL_STATE_FILE, "utf-8"));
|
|
50186
50324
|
return raw && typeof raw === "object" && !Array.isArray(raw) ? raw : {};
|
|
50187
50325
|
} catch {
|
|
50188
50326
|
return {};
|
|
@@ -50192,14 +50330,14 @@ var writeInstallState = (state) => {
|
|
|
50192
50330
|
try {
|
|
50193
50331
|
mkdirSync6(BOTS_DIR, { recursive: true });
|
|
50194
50332
|
const tmp = `${INSTALL_STATE_FILE}.${process.pid}.tmp`;
|
|
50195
|
-
|
|
50333
|
+
writeFileSync7(tmp, `${JSON.stringify(state, null, 2)}
|
|
50196
50334
|
`);
|
|
50197
|
-
|
|
50335
|
+
renameSync5(tmp, INSTALL_STATE_FILE);
|
|
50198
50336
|
} catch (err) {
|
|
50199
50337
|
console.error(`[bots] cannot record builtin Bot installs in ${INSTALL_STATE_FILE}:`, err);
|
|
50200
50338
|
}
|
|
50201
50339
|
};
|
|
50202
|
-
var hashFile = (file2) => createHash2("sha256").update(
|
|
50340
|
+
var hashFile = (file2) => createHash2("sha256").update(readFileSync7(file2)).digest("hex");
|
|
50203
50341
|
function fileHashes(dir) {
|
|
50204
50342
|
const out = /* @__PURE__ */ new Map();
|
|
50205
50343
|
const walk = (rel) => {
|
|
@@ -50222,15 +50360,15 @@ function swapIn(staging, dest) {
|
|
|
50222
50360
|
let moved = false;
|
|
50223
50361
|
try {
|
|
50224
50362
|
try {
|
|
50225
|
-
|
|
50363
|
+
renameSync5(dest, retired);
|
|
50226
50364
|
moved = true;
|
|
50227
50365
|
} catch (err) {
|
|
50228
50366
|
if (err?.code !== "ENOENT") throw err;
|
|
50229
50367
|
}
|
|
50230
|
-
|
|
50368
|
+
renameSync5(staging, dest);
|
|
50231
50369
|
if (moved) rmSync(retired, { recursive: true, force: true });
|
|
50232
50370
|
} catch (err) {
|
|
50233
|
-
if (moved && !existsSync8(dest))
|
|
50371
|
+
if (moved && !existsSync8(dest)) renameSync5(retired, dest);
|
|
50234
50372
|
throw err;
|
|
50235
50373
|
} finally {
|
|
50236
50374
|
rmSync(staging, { recursive: true, force: true });
|
|
@@ -50324,7 +50462,7 @@ function syncBuiltinBot(name, state) {
|
|
|
50324
50462
|
var messageOf2 = (cause3) => cause3 instanceof Error ? cause3.message : String(cause3);
|
|
50325
50463
|
function parseManifestIn(dir) {
|
|
50326
50464
|
try {
|
|
50327
|
-
const content =
|
|
50465
|
+
const content = readFileSync7(join14(dir, BOT_MANIFEST_FILE), "utf-8");
|
|
50328
50466
|
return { ok: true, ...parseBotDocument(path2, content, dir) };
|
|
50329
50467
|
} catch (err) {
|
|
50330
50468
|
return { ok: false, error: messageOf2(err) };
|
|
@@ -50401,7 +50539,7 @@ function findBuiltinBotByPath(dir) {
|
|
|
50401
50539
|
// packages/feature/agent/src/effect/botRegistryLive.ts
|
|
50402
50540
|
var EMPTY_REGISTRY = { bots: [] };
|
|
50403
50541
|
var readRegistry = () => readJsonFileForUpdate(BOTS_FILE, EMPTY_REGISTRY);
|
|
50404
|
-
var readManifest = (manifestPath) =>
|
|
50542
|
+
var readManifest = (manifestPath) => readFileSync8(manifestPath, "utf8");
|
|
50405
50543
|
var resolveRegisteredBots = (registry3) => registry3.bots.map((record2) => resolveBot(path3, record2, readManifest));
|
|
50406
50544
|
var invalidPath = (reason) => new ValidationError({ field: "path", reason });
|
|
50407
50545
|
var fsReason = (what, target, cause3) => {
|
|
@@ -50622,11 +50760,11 @@ function snapshotOnRunEvent(cwd, sessionKey, provider, event) {
|
|
|
50622
50760
|
}
|
|
50623
50761
|
|
|
50624
50762
|
// packages/feature/agent/src/server/lib/slashCommands.ts
|
|
50625
|
-
import { mkdirSync as mkdirSync7, writeFileSync as
|
|
50763
|
+
import { mkdirSync as mkdirSync7, writeFileSync as writeFileSync8, readFileSync as readFileSync10 } from "fs";
|
|
50626
50764
|
import path4, { join as join16 } from "path";
|
|
50627
50765
|
|
|
50628
50766
|
// packages/feature/agent/src/server/lib/builtinSkills.ts
|
|
50629
|
-
import { readFileSync as
|
|
50767
|
+
import { readFileSync as readFileSync9, readdirSync as readdirSync5, statSync as statSync6 } from "fs";
|
|
50630
50768
|
import { join as join15 } from "path";
|
|
50631
50769
|
function listBuiltinSkillNames() {
|
|
50632
50770
|
let entries2;
|
|
@@ -50659,14 +50797,14 @@ function listBuiltinSkillExtras(name) {
|
|
|
50659
50797
|
}
|
|
50660
50798
|
function readBuiltinSkillExtra(name, file2) {
|
|
50661
50799
|
try {
|
|
50662
|
-
return
|
|
50800
|
+
return readFileSync9(join15(BUILTIN_SKILLS_SRC_DIR, name, file2), "utf-8");
|
|
50663
50801
|
} catch {
|
|
50664
50802
|
return null;
|
|
50665
50803
|
}
|
|
50666
50804
|
}
|
|
50667
50805
|
function readBuiltinSkill(name) {
|
|
50668
50806
|
try {
|
|
50669
|
-
return
|
|
50807
|
+
return readFileSync9(builtinSkillPath(name), "utf-8");
|
|
50670
50808
|
} catch {
|
|
50671
50809
|
return null;
|
|
50672
50810
|
}
|
|
@@ -50800,16 +50938,15 @@ ${unresolved.map((u) => `- ${u}`).join("\n")}`;
|
|
|
50800
50938
|
}
|
|
50801
50939
|
function renderCommandLine(mainSession, ref, body, lang, showLocus) {
|
|
50802
50940
|
if (ref.path) {
|
|
50803
|
-
const tag = showLocus ? `[${locusWord(mainSession
|
|
50941
|
+
const tag = showLocus ? `[${locusWord(mainSession)}\xB7${ref.name}]` : `[${ref.name}]`;
|
|
50804
50942
|
return body ? `${tag} ${body}` : tag;
|
|
50805
50943
|
}
|
|
50806
|
-
const locus = showLocus ? `[${locusWord(mainSession
|
|
50944
|
+
const locus = showLocus ? `[${locusWord(mainSession)}] ` : "";
|
|
50807
50945
|
const then = body ? lang === "zh" ? `\uFF0C\u7136\u540E\uFF1A${body}` : `, then: ${body}` : "";
|
|
50808
50946
|
return `${locus}${ref.content ?? ""}${then}`;
|
|
50809
50947
|
}
|
|
50810
|
-
function locusWord(mainSession
|
|
50811
|
-
|
|
50812
|
-
return lang === "zh" ? "\u4E3B\u4F1A\u8BDD" : "main session";
|
|
50948
|
+
function locusWord(mainSession) {
|
|
50949
|
+
return mainSession ? "main" : "subagent";
|
|
50813
50950
|
}
|
|
50814
50951
|
function isLocalBotDir(cwd, manifestPath) {
|
|
50815
50952
|
if (!cwd || !path4.isAbsolute(cwd)) return false;
|
|
@@ -50830,7 +50967,7 @@ function resolveSkillRef(cmd, baseUrl, userSkills) {
|
|
|
50830
50967
|
}
|
|
50831
50968
|
function listUserSkills() {
|
|
50832
50969
|
try {
|
|
50833
|
-
const data = JSON.parse(
|
|
50970
|
+
const data = JSON.parse(readFileSync10(SKILLS_FILE, "utf-8"));
|
|
50834
50971
|
const out = [];
|
|
50835
50972
|
for (const s of data.skills ?? []) {
|
|
50836
50973
|
const name = readSkillName(s.path);
|
|
@@ -50846,13 +50983,13 @@ function listRegisteredBots() {
|
|
|
50846
50983
|
const withBuiltins = (registered) => mentionableBots(path4, [...builtins, ...registered]);
|
|
50847
50984
|
let raw;
|
|
50848
50985
|
try {
|
|
50849
|
-
raw =
|
|
50986
|
+
raw = readFileSync10(BOTS_FILE, "utf-8");
|
|
50850
50987
|
} catch {
|
|
50851
50988
|
return { bots: withBuiltins([]), corrupt: false };
|
|
50852
50989
|
}
|
|
50853
50990
|
try {
|
|
50854
50991
|
const data = JSON.parse(raw);
|
|
50855
|
-
const read = (manifest) =>
|
|
50992
|
+
const read = (manifest) => readFileSync10(manifest, "utf-8");
|
|
50856
50993
|
return { bots: withBuiltins((data.bots ?? []).map((r) => resolveBot(path4, r, read))), corrupt: false };
|
|
50857
50994
|
} catch (err) {
|
|
50858
50995
|
console.error(`[skills] ${BOTS_FILE} does not parse \u2014 every registered @bot line is left as plain text:`, err);
|
|
@@ -50861,7 +50998,7 @@ function listRegisteredBots() {
|
|
|
50861
50998
|
}
|
|
50862
50999
|
function readSkillName(path5) {
|
|
50863
51000
|
try {
|
|
50864
|
-
return readFrontmatterField(
|
|
51001
|
+
return readFrontmatterField(readFileSync10(path5, "utf-8"), "name");
|
|
50865
51002
|
} catch {
|
|
50866
51003
|
return null;
|
|
50867
51004
|
}
|
|
@@ -50871,13 +51008,13 @@ function writeBuiltinSkill(cmd, content, baseUrl) {
|
|
|
50871
51008
|
const dir = join16(BUILTIN_SKILLS_OUT_DIR, cmd);
|
|
50872
51009
|
mkdirSync7(dir, { recursive: true });
|
|
50873
51010
|
const filePath = join16(dir, "SKILL.md");
|
|
50874
|
-
|
|
51011
|
+
writeFileSync8(filePath, content.endsWith("\n") ? content : `${content}
|
|
50875
51012
|
`, "utf-8");
|
|
50876
51013
|
for (const file2 of listBuiltinSkillExtras(cmd)) {
|
|
50877
51014
|
const extra = readBuiltinSkillExtra(cmd, file2);
|
|
50878
51015
|
if (extra === null) continue;
|
|
50879
51016
|
try {
|
|
50880
|
-
|
|
51017
|
+
writeFileSync8(join16(dir, file2), substitute(extra, baseUrl), "utf-8");
|
|
50881
51018
|
} catch (err) {
|
|
50882
51019
|
console.error(`[skills] builtin "${cmd}": cannot write reference file ${file2}:`, err);
|
|
50883
51020
|
}
|
|
@@ -50893,6 +51030,45 @@ function substitute(text, baseUrl) {
|
|
|
50893
51030
|
|
|
50894
51031
|
// packages/feature/agent/src/server/engines/orchestrator.ts
|
|
50895
51032
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
51033
|
+
|
|
51034
|
+
// packages/feature/agent/src/server/lib/outputStyles.ts
|
|
51035
|
+
var MAX_OUTPUT_STYLE_LENGTH = 8e3;
|
|
51036
|
+
var MAX_OUTPUT_STYLE_NAME_LENGTH = 60;
|
|
51037
|
+
var newId = () => Math.random().toString(36).slice(2, 10);
|
|
51038
|
+
function normalizeOutputStyles(raw) {
|
|
51039
|
+
if (!Array.isArray(raw)) return [];
|
|
51040
|
+
const usedIds = /* @__PURE__ */ new Set();
|
|
51041
|
+
const seenNames = /* @__PURE__ */ new Set();
|
|
51042
|
+
const out = [];
|
|
51043
|
+
for (const entry of raw) {
|
|
51044
|
+
if (!entry || typeof entry !== "object") continue;
|
|
51045
|
+
const e = entry;
|
|
51046
|
+
const name = typeof e.name === "string" ? e.name.trim().slice(0, MAX_OUTPUT_STYLE_NAME_LENGTH) : "";
|
|
51047
|
+
const content = typeof e.content === "string" ? e.content.trim().slice(0, MAX_OUTPUT_STYLE_LENGTH) : "";
|
|
51048
|
+
if (!name || !content || seenNames.has(name)) continue;
|
|
51049
|
+
seenNames.add(name);
|
|
51050
|
+
let id3 = typeof e.id === "string" ? e.id : "";
|
|
51051
|
+
while (!id3 || usedIds.has(id3)) id3 = newId();
|
|
51052
|
+
usedIds.add(id3);
|
|
51053
|
+
out.push({ id: id3, name, content });
|
|
51054
|
+
}
|
|
51055
|
+
return out;
|
|
51056
|
+
}
|
|
51057
|
+
async function readOutputStyles() {
|
|
51058
|
+
const data = await readJsonFile(getGlobalOutputStylesConfigPath(), {});
|
|
51059
|
+
return normalizeOutputStyles(data.styles);
|
|
51060
|
+
}
|
|
51061
|
+
async function resolveOutputStyleText(id3) {
|
|
51062
|
+
if (typeof id3 !== "string" || !id3) return void 0;
|
|
51063
|
+
try {
|
|
51064
|
+
return (await readOutputStyles()).find((s) => s.id === id3)?.content;
|
|
51065
|
+
} catch (err) {
|
|
51066
|
+
console.warn(`[output-styles] failed to read styles, running without one: ${String(err)}`);
|
|
51067
|
+
return void 0;
|
|
51068
|
+
}
|
|
51069
|
+
}
|
|
51070
|
+
|
|
51071
|
+
// packages/feature/agent/src/server/engines/orchestrator.ts
|
|
50896
51072
|
async function dispatchChat2(spec, body, request2) {
|
|
50897
51073
|
const { sessionId, images, cwd, language } = body;
|
|
50898
51074
|
if (sessionId && isRunActive(sessionId)) {
|
|
@@ -50909,6 +51085,7 @@ async function dispatchChat2(spec, body, request2) {
|
|
|
50909
51085
|
if (!pre.ok) return pre;
|
|
50910
51086
|
}
|
|
50911
51087
|
const promptText = typeof prompt === "string" ? prompt : void 0;
|
|
51088
|
+
const outputStyle = await resolveOutputStyleText(body.outputStyleId);
|
|
50912
51089
|
const abort = new AbortController();
|
|
50913
51090
|
const runId = typeof body.runId === "string" && body.runId || randomUUID6();
|
|
50914
51091
|
let currentKey = sessionId || runId;
|
|
@@ -50932,6 +51109,7 @@ async function dispatchChat2(spec, body, request2) {
|
|
|
50932
51109
|
cwd: cwd || "",
|
|
50933
51110
|
sessionId,
|
|
50934
51111
|
params: body,
|
|
51112
|
+
outputStyle,
|
|
50935
51113
|
signal: abort.signal,
|
|
50936
51114
|
emit(event) {
|
|
50937
51115
|
if (isClosed) return;
|
package/dist/httpApi.mjs
CHANGED
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
unregisterBrowser,
|
|
28
28
|
unregisterTerminal,
|
|
29
29
|
writeStdinToCommand
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-W5MB7DIM.mjs";
|
|
31
31
|
import {
|
|
32
32
|
getTerminalHistoryPath
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LPZXJPD6.mjs";
|
|
34
34
|
import "./chunk-7P6ASYW6.mjs";
|
|
35
35
|
|
|
36
36
|
// src/lib/httpApi.ts
|
package/dist/scheduledTasks.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
updateGlobalState,
|
|
23
23
|
withFileLock,
|
|
24
24
|
writeJsonFile
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LPZXJPD6.mjs";
|
|
26
26
|
import "./chunk-7P6ASYW6.mjs";
|
|
27
27
|
|
|
28
28
|
// packages/feature/agent/src/server/scheduledTasks.ts
|
|
@@ -663,6 +663,17 @@ var en_default = {
|
|
|
663
663
|
noHistory: "No history context",
|
|
664
664
|
noHistoryDesc: "each prompt is independent",
|
|
665
665
|
noHistoryHint: "No history context: each message is sent to the model on its own, with no prior conversation. The transcript above still records everything.",
|
|
666
|
+
outputStyle: "Output style",
|
|
667
|
+
outputStyleNone: "None",
|
|
668
|
+
noOutputStyles: "No output styles yet \u2014 add one with the pencil",
|
|
669
|
+
editOutputStyles: "Edit output styles",
|
|
670
|
+
outputStylesMarkdownHint: 'Start each style with "# Name". Everything up to the next "# " is appended verbatim to the end of the system prompt (multi-line; deeper headings like ## are content).',
|
|
671
|
+
outputStylesMarkdownPlaceholder: "# Concise\nAnswer in at most three sentences, no preamble.\n\n# Teacher\nExplain why before how.",
|
|
672
|
+
outputStylesError: {
|
|
673
|
+
"content-before-heading": 'Line {{line}}: content must come after a "# Name" heading.',
|
|
674
|
+
"empty-style": "Line {{line}}: a style needs both a name and content.",
|
|
675
|
+
"duplicate-name": "Line {{line}}: duplicate style name."
|
|
676
|
+
},
|
|
666
677
|
planTitle: "Plan (awaiting your review)",
|
|
667
678
|
approvePlan: "Approve & run",
|
|
668
679
|
planApproveHint: "No approval dialog here \u2014 click to exit plan mode and execute",
|
|
@@ -2021,6 +2032,17 @@ var zh_default = {
|
|
|
2021
2032
|
noHistory: "\u4E0D\u5E26\u5386\u53F2\u4E0A\u4E0B\u6587",
|
|
2022
2033
|
noHistoryDesc: "\u6BCF\u6B21\u63D0\u95EE\u5747\u72EC\u7ACB",
|
|
2023
2034
|
noHistoryHint: "\u4E0D\u5E26\u5386\u53F2\u4E0A\u4E0B\u6587\uFF1A\u6BCF\u6761\u6D88\u606F\u5355\u72EC\u53D1\u7ED9\u6A21\u578B\uFF0C\u4E0D\u5E26\u4E4B\u524D\u7684\u5BF9\u8BDD\u3002\u4E0A\u65B9\u7684\u4F1A\u8BDD\u8BB0\u5F55\u7167\u5E38\u4FDD\u7559\u3002",
|
|
2035
|
+
outputStyle: "\u8F93\u51FA\u98CE\u683C",
|
|
2036
|
+
outputStyleNone: "\u65E0",
|
|
2037
|
+
noOutputStyles: "\u6682\u65E0\u8F93\u51FA\u98CE\u683C\uFF0C\u70B9\u53F3\u4E0A\u89D2\u94C5\u7B14\u6DFB\u52A0",
|
|
2038
|
+
editOutputStyles: "\u7F16\u8F91\u8F93\u51FA\u98CE\u683C",
|
|
2039
|
+
outputStylesMarkdownHint: "\u6BCF\u4E2A\u98CE\u683C\u4EE5\u300C# \u540D\u79F0\u300D\u5F00\u5934\uFF0C\u4E0B\u9762\u76F4\u5230\u4E0B\u4E00\u4E2A\u300C# \u300D\u4E4B\u95F4\u7684\u5185\u5BB9\u539F\u6837\u8FFD\u52A0\u5230 System Prompt \u672B\u5C3E\uFF08\u53EF\u591A\u884C\uFF0C## \u7B49\u66F4\u6DF1\u6807\u9898\u89C6\u4E3A\u6B63\u6587\uFF09\u3002",
|
|
2040
|
+
outputStylesMarkdownPlaceholder: "# \u7B80\u6D01\n\u56DE\u7B54\u4E0D\u8D85\u8FC7\u4E09\u53E5\u8BDD\uFF0C\u4E0D\u8981\u5F00\u573A\u767D\u3002\n\n# \u6559\u5B66\n\u5148\u8BB2\u4E3A\u4EC0\u4E48\uFF0C\u518D\u8BB2\u600E\u4E48\u505A\u3002",
|
|
2041
|
+
outputStylesError: {
|
|
2042
|
+
"content-before-heading": "\u7B2C {{line}} \u884C\uFF1A\u5185\u5BB9\u5FC5\u987B\u5199\u5728\u300C# \u540D\u79F0\u300D\u4E4B\u540E\u3002",
|
|
2043
|
+
"empty-style": "\u7B2C {{line}} \u884C\uFF1A\u98CE\u683C\u9700\u8981\u540D\u79F0\u548C\u5185\u5BB9\u3002",
|
|
2044
|
+
"duplicate-name": "\u7B2C {{line}} \u884C\uFF1A\u98CE\u683C\u540D\u79F0\u91CD\u590D\u3002"
|
|
2045
|
+
},
|
|
2024
2046
|
planTitle: "\u8BA1\u5212\uFF08\u5F85\u4F60\u786E\u8BA4\uFF09",
|
|
2025
2047
|
approvePlan: "\u6279\u51C6\u5E76\u6267\u884C",
|
|
2026
2048
|
planApproveHint: "\u672C\u73AF\u5883\u65E0\u5BA1\u6279\u5F39\u7A97\uFF0C\u70B9\u6B64\u9000\u51FA\u8BA1\u5212\u6A21\u5F0F\u5E76\u6267\u884C",
|
|
@@ -2836,6 +2858,7 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
|
|
|
2836
2858
|
throw new Error(`no engine spec for ${engine}`);
|
|
2837
2859
|
}
|
|
2838
2860
|
const noHistory = await readSessionNoHistory(task, engine);
|
|
2861
|
+
const outputStyleId = await readSessionOutputStyleId(task);
|
|
2839
2862
|
const outcome = await dispatchChat(spec, {
|
|
2840
2863
|
prompt: buildTaskPrompt(task),
|
|
2841
2864
|
// Omit sessionId to start a brand-new session when the resume target is gone;
|
|
@@ -2844,7 +2867,8 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
|
|
|
2844
2867
|
cwd: task.cwd,
|
|
2845
2868
|
engine,
|
|
2846
2869
|
...task.model && { model: task.model },
|
|
2847
|
-
...noHistory && { noHistory: true }
|
|
2870
|
+
...noHistory && { noHistory: true },
|
|
2871
|
+
...outputStyleId && { outputStyleId }
|
|
2848
2872
|
});
|
|
2849
2873
|
if (!outcome.ok) {
|
|
2850
2874
|
throw new Error(`${engine} dispatch rejected (${outcome.status}): ${outcome.error}`);
|
|
@@ -2884,6 +2908,11 @@ async function readSessionNoHistory(task, engine) {
|
|
|
2884
2908
|
const state = await readJsonFile(getSessionFilePath(task.cwd), {});
|
|
2885
2909
|
return state.noHistories?.[task.sessionId] === true;
|
|
2886
2910
|
}
|
|
2911
|
+
async function readSessionOutputStyleId(task) {
|
|
2912
|
+
const state = await readJsonFile(getSessionFilePath(task.cwd), {});
|
|
2913
|
+
const id = state.outputStyles?.[task.sessionId];
|
|
2914
|
+
return typeof id === "string" && id ? id : void 0;
|
|
2915
|
+
}
|
|
2887
2916
|
function sessionPathFor(engine, task) {
|
|
2888
2917
|
const builtinPath = BUILTIN_LOOP_PATHS[engine];
|
|
2889
2918
|
if (builtinPath) return builtinPath(task.cwd, task.sessionId);
|
|
@@ -3345,6 +3374,7 @@ export {
|
|
|
3345
3374
|
buildTaskPrompt,
|
|
3346
3375
|
getNextCronTime,
|
|
3347
3376
|
readSessionNoHistory,
|
|
3377
|
+
readSessionOutputStyleId,
|
|
3348
3378
|
scheduledTaskManager,
|
|
3349
3379
|
sendChatMessageEff
|
|
3350
3380
|
};
|