@surething/cockpit 1.0.253 → 1.0.254
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 +7 -4
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +18 -0
- package/.next-prod/server/app/_global-error/page.js +3 -3
- 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/_global-error.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_index.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 +2 -2
- 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/_head.segment.rsc +1 -1
- 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/_not-found.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/chat/codex/route.js +2 -2
- 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/kimi/route.js +2 -2
- 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/pty-input/route.js +1 -1
- package/.next-prod/server/app/api/chat/pty-input/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +1 -1
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +2 -2
- 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 -0
- package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/deepseek/balance/route_client-reference-manifest.js +1 -0
- 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 -0
- package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/deepseek/models/route_client-reference-manifest.js +1 -0
- 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/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/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/jupyter/load/route.js +1 -1
- package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/save/route.js +1 -1
- package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +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/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/prompts/config/route.js +1 -0
- package/.next-prod/server/app/api/prompts/config/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/prompts/config/route_client-reference-manifest.js +1 -0
- 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/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 +3 -3
- 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-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/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/route.js +1 -1
- package/.next-prod/server/app/api/sessions/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/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/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/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/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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +7 -4
- package/.next-prod/server/chunks/304.js +1 -1
- package/.next-prod/server/chunks/3863.js +2 -2
- package/.next-prod/server/chunks/{4848.js → 4338.js} +2 -2
- package/.next-prod/server/chunks/6038.js +1 -1
- package/.next-prod/server/chunks/{293.js → 7139.js} +4 -4
- package/.next-prod/server/chunks/9419.js +89 -0
- package/.next-prod/server/chunks/9658.js +12 -12
- package/.next-prod/server/chunks/9830.js +1 -1
- package/.next-prod/server/functions-config-manifest.json +1 -0
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/chunks/{4304-408f5bddd7583676.js → 2308-c6b5ed3c19252dce.js} +3 -3
- package/.next-prod/static/chunks/6260-f566ccfbd8e8809c.js +25 -0
- package/.next-prod/static/chunks/6784-d35737ae5f04a2d2.js +0 -0
- package/.next-prod/static/chunks/9530-870e97119b45f025.js +15 -0
- package/.next-prod/static/chunks/app/_global-error/{page-51252a3b116b8135.js → page-0ad1f48c09ff2c02.js} +1 -1
- package/.next-prod/static/chunks/app/api/agent/test/{route-51252a3b116b8135.js → route-0ad1f48c09ff2c02.js} +1 -1
- package/.next-prod/static/chunks/app/api/bash/{route-51252a3b116b8135.js → route-0ad1f48c09ff2c02.js} +1 -1
- package/.next-prod/static/chunks/app/api/chat/codex/{route-51252a3b116b8135.js → route-0ad1f48c09ff2c02.js} +1 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/pty-input/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/load/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/save/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/prompts/config/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/{layout-145570f39a827c0f.js → layout-d43dd702b3ee9d15.js} +1 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/app/{page-487095ac01a4c1ef.js → page-8e7a3d723260097a.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-487095ac01a4c1ef.js → page-8e7a3d723260097a.js} +1 -1
- package/.next-prod/static/chunks/app/review/[id]/page-c0136423507b7547.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-0ad1f48c09ff2c02.js +1 -0
- package/.next-prod/static/css/05889d4d244bd7d5.css +1 -0
- package/.next-prod/static/xXMzxSYQCcHCrntVXcycC/_buildManifest.js +1 -0
- package/.next-prod/trace +14 -14
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/deepseek/balance/route.ts +351 -0
- package/.next-prod/types/app/api/deepseek/models/route.ts +351 -0
- package/.next-prod/types/app/api/prompts/config/route.ts +351 -0
- package/.next-prod/types/routes.d.ts +4 -1
- package/.next-prod/types/validator.ts +27 -0
- package/dist/{chunk-BRW4ZEIC.mjs → chunk-7G4OXJJ4.mjs} +52 -7
- package/dist/{chunk-RUNUGDPP.mjs → chunk-H3JSYJCZ.mjs} +25 -29
- package/dist/{chunk-7WPYQYA6.mjs → chunk-HIW2SGCF.mjs} +4 -4
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +326 -275
- package/dist/{server-MCN5AIEU.mjs → server-O434I7QD.mjs} +2 -2
- package/dist/wsServer.mjs +7 -6
- package/package.json +1 -1
- package/.next-prod/server/chunks/7338.js +0 -89
- package/.next-prod/static/8aWX4sRFsO4Rx4DD9L9w-/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/2876-4336c42044f38302.js +0 -25
- package/.next-prod/static/chunks/6784-c9969c13c13b25af.js +0 -0
- package/.next-prod/static/chunks/9530-27352e6f8bafeb3c.js +0 -15
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/pty-input/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/load/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/save/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/app/review/[id]/page-c9716ea0049cc328.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-51252a3b116b8135.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-51252a3b116b8135.js +0 -1
- package/.next-prod/static/css/5aa1c710591e36bb.css +0 -1
- /package/.next-prod/static/{8aWX4sRFsO4Rx4DD9L9w- → xXMzxSYQCcHCrntVXcycC}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";exports.id=9419,exports.ids=[9419],exports.modules={59419:(a,b,c)=>{c.d(b,{p:()=>F,o:()=>G});var d=c(78497),e=c(55511),f=c(29021),g=c(33873),h=c(7939);function i(a,b){return(0,g.join)(a,(0,h.O0)(b))}function j(a,b,c){return(0,g.join)(i(a,b),`${c}.jsonl`)}function k(a,b,c,d){let e=i(a,b);(0,f.mkdirSync)(e,{recursive:!0});let g=j(a,b,c);(0,f.appendFileSync)(g,JSON.stringify(d)+"\n","utf-8")}function l(a,b,c,d,e){k(a,b,c,{type:"assistant",uuid:e?.uuid,sessionId:c,timestamp:e?.timestamp,message:{role:"assistant",content:d,...e?.usage?{usage:e.usage}:{}}})}function m(a,b,c,d,e,f){k(a,b,c,{type:"user",uuid:f?.uuid,sessionId:c,timestamp:f?.timestamp,message:{content:[{type:"tool_result",tool_use_id:d,content:e,is_error:!!f?.is_error}]}})}var n=c(61948),o=c(52868),p=c(79748),q=c(21820),r=c(79646),s=c(28354),t=c(63742),u=c.n(t),v=c(75342),w=c(95169);let x=(0,s.promisify)(r.exec),y=(0,s.promisify)(r.execFile),z=(0,g.join)((0,q.tmpdir)(),"cockpit-tool-outputs");async function A(a,b){try{await (0,p.mkdir)(z,{recursive:!0});try{let a=await (0,p.readdir)(z);if(a.length>=200){let b=(await Promise.all(a.map(async a=>{let b=(0,g.join)(z,a);try{return{p:b,mtime:(await (0,p.stat)(b)).mtimeMs}}catch{return null}}))).filter(a=>null!==a);b.sort((a,b)=>a.mtime-b.mtime);let c=b.slice(0,Math.max(0,b.length-200+1));await Promise.all(c.map(({p:a})=>(0,p.unlink)(a).catch(()=>void 0)))}}catch{}let c=Date.now().toString(36),d=Math.random().toString(36).slice(2,8),e=(0,g.join)(z,`${b}-${c}-${d}.log`);return await (0,p.writeFile)(e,a,"utf-8"),e}catch{return}}function B(a,b,c={}){if(a.length<=b)return a;let{label:d="output",bias:e="balanced",spillPath:f}=c,g=Math.max(0,b-520),h=Math.floor(g*("tail"===e?.2:.6)),i=g-h,j=h;if(h>0){let b=a.lastIndexOf("\n",h);b>.5*h&&(j=b)}let k=a.length-i;if(i>0&&k>0){let b=a.indexOf("\n",k);-1!==b&&b<a.length-.5*i&&(k=b+1)}let l=a.slice(0,j),m=a.slice(k),n=a.length-l.length-m.length,o=a=>(a/1024).toFixed(1)+" KB",p=f?`full output saved to ${f} — call Read({ file_path: "${f}", offset, limit }) to page through`:"narrow the query, page through (head/tail/sed), or redirect to a file";return`==== ${d.toUpperCase()} TRUNCATED ====
|
|
2
|
+
Original: ${o(a.length)} (${a.length} chars) \xb7 Kept: head ${o(l.length)} + tail ${o(m.length)} \xb7 Dropped: ${o(n)}
|
|
3
|
+
${p}
|
|
4
|
+
==========================
|
|
5
|
+
|
|
6
|
+
`+l+`
|
|
7
|
+
|
|
8
|
+
...[${d} truncated here — ${o(n)} dropped; see banner at top for full-output path]
|
|
9
|
+
|
|
10
|
+
`+m}let C=o.string().describe("PREVIOUS result assessment → THIS action reason → EXPECTED outcome"),D=' The "thought" param MUST follow this format: "PREVIOUS: [last result] → THIS: [action + why] → EXPECT: [expected result]".';async function E(a,b,c,d){let e="",f=[],g=new Map;for await(let c of a)switch(c.type){case"text-delta":e+=c.text,b(`data: ${JSON.stringify({type:"stream_event",event:{type:"content_block_delta",delta:{type:"text_delta",text:c.text}}})}
|
|
11
|
+
|
|
12
|
+
`);break;case"tool-call":{e&&(d?.onTextFlush?.(e),e="");let a=c.input||{};d?.onToolCall?.(c.toolCallId,c.toolName,a),b(`data: ${JSON.stringify({type:"assistant",message:{content:[{type:"tool_use",id:c.toolCallId,name:c.toolName,input:a}]}})}
|
|
13
|
+
|
|
14
|
+
`),g.set(c.toolCallId,{id:c.toolCallId,name:c.toolName,args:JSON.stringify(a)});break}case"tool-result":{let a=String(c.output);d?.onToolResult?.(c.toolCallId,a),b(`data: ${JSON.stringify({type:"user",message:{content:[{type:"tool_result",tool_use_id:c.toolCallId,content:a,is_error:!1}]}})}
|
|
15
|
+
|
|
16
|
+
`)}}for(let a of g.values())try{f.push({id:a.id,name:a.name,args:JSON.parse(a.args)})}catch{f.push({id:a.id,name:a.name,args:{}})}return{text:e,toolCalls:f}}function F(a){return"string"==typeof a.prompt&&a.prompt.trim()?{ok:!0}:{ok:!1,status:400,error:"The built-in agent requires a text prompt"}}async function G(a,b){var c,h,i,p;let{sessionsRoot:q}=b,r=a.cwd||process.cwd(),s=a.currentKey();a.rekey(s);let t="string"==typeof a.params.model&&a.params.model||b.defaultModel,z=a.prompt,F=b=>{if(!b.startsWith("data: [DONE]"))try{a.emit(JSON.parse(b.slice(6)))}catch{}},G=[...!0===a.params.noHistory?[]:function(a,b,c){let d=j(a,b,c);if(!(0,f.existsSync)(d))return[];let e=(0,f.readFileSync)(d,"utf-8").split("\n").filter(Boolean),g=[];for(let a of e)try{let b=JSON.parse(a);"string"==typeof b.type&&g.push(b)}catch{}let h=new Map,i=new Set,k=new Set;for(let a of g){if("assistant"===a.type&&Array.isArray(a.message?.content))for(let b of a.message.content)"tool_use"===b.type&&b.id&&(i.add(b.id),b.name&&h.set(b.id,b.name));if("user"===a.type&&Array.isArray(a.message?.content))for(let b of a.message.content)"tool_result"===b.type&&b.tool_use_id&&k.add(b.tool_use_id)}let l=[];for(let a of g){if("user"===a.type&&a.message?.role==="user"&&Array.isArray(a.message.content)){let b=a.message.content.filter(a=>"text"===a.type).map(a=>a.text||"").join("\n");l.push({role:"user",content:b});continue}if("assistant"===a.type&&Array.isArray(a.message?.content)){let b=[];for(let c of a.message.content)if("text"===c.type)b.push({type:"text",text:c.text||""});else if("tool_use"===c.type){let a=c.id||"";if(!a||!k.has(a))continue;let d=c.name||h.get(a)||"tool";b.push({type:"tool-call",toolCallId:a,toolName:d,input:c.input||{}})}1===b.length&&"text"===b[0].type?l.push({role:"assistant",content:String(b[0].text||"")}):b.length>0?l.push({role:"assistant",content:b}):l.push({role:"assistant",content:""});continue}if("user"===a.type&&Array.isArray(a.message?.content))for(let b of a.message.content.filter(a=>"tool_result"===a.type&&!!a.tool_use_id)){let a=b.tool_use_id||"";if(!a||!i.has(a))continue;let c=h.get(a)||"tool";l.push({role:"tool",content:[{type:"tool-result",toolCallId:a,toolName:c,output:b.is_error?{type:"error-text",value:b.content||""}:{type:"text",value:b.content||""}}]})}}return l}(q,r,s),{role:"user",content:z}];c={uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString()},k(q,r,s,{type:"user",uuid:c?.uuid,sessionId:s,timestamp:c?.timestamp,message:{role:"user",content:[{type:"text",text:z}]}}),F(`data: ${JSON.stringify({type:"system",subtype:"init",session_id:s})}
|
|
17
|
+
|
|
18
|
+
`);let H=await b.createModel(t),I=(0,d.gM)({model:H,system:`You are a coding agent. You help the user build and modify software using the provided tools.
|
|
19
|
+
|
|
20
|
+
CWD: ${r}
|
|
21
|
+
|
|
22
|
+
## Language
|
|
23
|
+
|
|
24
|
+
ALWAYS reply in the SAME language as the user's most recent message — whatever language they used (Chinese, English, Japanese, French, Spanish, …), mirror it. Do NOT default to English just because this system prompt is written in English. If the user switches language mid-conversation, switch with them on the next reply.
|
|
25
|
+
|
|
26
|
+
Exceptions that stay as-is regardless of reply language:
|
|
27
|
+
- Tool "thought" parameters: keep the "PREVIOUS / THIS / EXPECT" template in English.
|
|
28
|
+
- Code, identifiers, file paths, shell commands, and error messages quoted from tool output: keep original.
|
|
29
|
+
- Only your natural-language prose to the user follows the user's language.
|
|
30
|
+
|
|
31
|
+
## Workflow
|
|
32
|
+
|
|
33
|
+
1. Plan: call TodoWrite FIRST to break down the task into steps (all pending, first one in_progress).
|
|
34
|
+
2. Act: execute steps one by one. After completing each step, call TodoWrite to update progress (mark completed, set next in_progress).
|
|
35
|
+
3. Check: after each tool call, assess — did it succeed? Is the overall task done? If not, continue to the next step.
|
|
36
|
+
4. Respond: you MUST always end with a text response to the user. Summarize what was done, what was found, or what remains.
|
|
37
|
+
|
|
38
|
+
IMPORTANT: never stop in the middle of a task silently. If you cannot continue (error, missing info, blocked), respond to the user explaining why and what is needed.
|
|
39
|
+
|
|
40
|
+
NEVER repeat a tool call with the same or similar arguments. When a search finds nothing, follow this escalation:
|
|
41
|
+
1. Simplify the pattern (shorter keyword, remove qualifiers, use a single core term)
|
|
42
|
+
2. Broaden the path (search parent directory, or omit path to search entire CWD)
|
|
43
|
+
3. Switch tool (Grep → Glob for filenames, Grep → Bash with find, or Read a likely file directly)
|
|
44
|
+
4. Give up after 3 failed attempts on the same topic — tell the user what you tried and ask for guidance.
|
|
45
|
+
|
|
46
|
+
## Tools
|
|
47
|
+
|
|
48
|
+
- Read: read a file by line range.
|
|
49
|
+
- Edit: exact string replacement in an existing file (prefer over Write).
|
|
50
|
+
- Write: create new files or full rewrites only.
|
|
51
|
+
- Bash: run shell commands.
|
|
52
|
+
- Grep: ripgrep search. ALWAYS use Grep (never rg/grep via Bash).
|
|
53
|
+
- Glob: fast file listing by glob pattern.
|
|
54
|
+
- TodoWrite: plan tasks and track progress. ALWAYS call this first.
|
|
55
|
+
|
|
56
|
+
Every tool has a "thought" parameter — ALWAYS fill it using this format:
|
|
57
|
+
"PREVIOUS: [what the last tool returned and whether it achieved the goal] → THIS: [what I am doing now and why] → EXPECT: [what result I expect]"
|
|
58
|
+
Example: "PREVIOUS: Grep found 3 matches in cache.go → THIS: Read cache.go to see full implementation → EXPECT: understand the caching logic"
|
|
59
|
+
If this is the first tool call, write "PREVIOUS: n/a" for the first part.
|
|
60
|
+
|
|
61
|
+
## Rules
|
|
62
|
+
|
|
63
|
+
Tool usage:
|
|
64
|
+
- Read before modify: do NOT edit a file you haven't Read.
|
|
65
|
+
- Absolute paths only: resolve relative paths against CWD.
|
|
66
|
+
|
|
67
|
+
Accuracy:
|
|
68
|
+
- Verify before retracting: when the user questions you, use tools to verify first, then respond based on evidence. Do NOT blindly agree you were wrong.
|
|
69
|
+
- Honesty over confidence: only state what is backed by tool output. If unsure, say so and state what info is needed or propose a verification plan. Never fabricate data.
|
|
70
|
+
|
|
71
|
+
## Output
|
|
72
|
+
|
|
73
|
+
- Be concise. Lead with the action or answer.
|
|
74
|
+
- Only elaborate on decisions, blockers, or milestones.`,messages:G,tools:(h={cwd:r,todos:[]},{Read:(0,n.z6)({description:'Read a file. Params: { thought, file_path (absolute), offset (1-based line), limit (lines, default 600, max 4000) }. Returns the selected lines as text, followed by a footer like "[read lines X-Y of Z]" so you always know whether the file has more content. When the footer shows more lines remain, call Read again with a higher offset.'+D,inputSchema:(0,n.jN)(o.object({thought:C,file_path:o.string(),offset:o.number().int().min(1).default(1),limit:o.number().int().min(1).max(4e3).default(600)})),execute:async({file_path:a,offset:b,limit:c})=>{try{if(!(0,g.isAbsolute)(a))return"Error: file_path must be an absolute path.";let d=(0,f.readFileSync)(a,"utf-8").split("\n"),e=d.length,h=Math.max(0,b-1),i=Math.min(e,h+c),j=d.slice(h,i).join("\n"),k=h+1,l=e-i,m=l>0?`
|
|
75
|
+
|
|
76
|
+
[read lines ${k}-${i} of ${e} — ${l} more line(s) remain; call Read again with offset=${i+1}]`:`
|
|
77
|
+
|
|
78
|
+
[read lines ${k}-${i} of ${e} — end of file]`;return j+m}catch(a){return`Error reading file: ${a.message}`}}}),Write:(0,n.z6)({description:"Write a file to disk. Params: { thought, file_path (absolute), content }. Creates or overwrites. Prefer Edit for modifying existing files; use Write for new files or full rewrites. Do NOT create documentation (*.md/README) unless explicitly requested."+D,inputSchema:(0,n.jN)(o.object({thought:C,file_path:o.string(),content:o.string()})),execute:async({file_path:a,content:b})=>{try{if(!(0,g.isAbsolute)(a))return"Error: file_path must be an absolute path.";return(0,f.writeFileSync)(a,b,"utf-8"),`File written: ${a}`}catch(a){return`Error writing file: ${a.message}`}}}),Edit:(0,n.z6)({description:"Edit a file by exact string replacement. Params: { thought, replace_all, file_path (absolute), old_string, new_string }. If replace_all is false, replaces the first occurrence. old_string must match exactly."+D,inputSchema:(0,n.jN)(o.object({thought:C,replace_all:o.boolean().default(!1),file_path:o.string(),old_string:o.string(),new_string:o.string()})),execute:async({replace_all:a,file_path:b,old_string:c,new_string:d})=>{try{if(!(0,g.isAbsolute)(b))return"Error: file_path must be an absolute path.";let e=(0,f.readFileSync)(b,"utf-8");if(!e.includes(c))return`Error: old_string not found in ${b}. The file may have changed.`;let h=a?e.split(c).join(d):e.replace(c,d);return(0,f.writeFileSync)(b,h,"utf-8"),`File edited: ${b}`}catch(a){return`Error editing file: ${a.message}`}}}),Bash:(0,n.z6)({description:'Run a shell command. Params: { thought, command, description?, timeout? (ms) }. Output is capped at ~64KB — both head and tail are preserved with an explicit truncation marker. On failure, stderr tail is prioritized (the last lines usually carry the real error). When truncation happens the full output is automatically spilled to a temp file; the marker will include its absolute path — call Read({ file_path, offset, limit }) on that path to page through the complete output WITHOUT re-running the command (critical for expensive or side-effectful commands like builds, installs, or POST requests). IMPORTANT: an EMPTY tool_result is impossible — if the command produced no stdout, the tool returns an explicit "(exit 0 — empty stdout...)" annotation. Do NOT interpret such a result as "output was truncated"; it means the command itself produced nothing (often a bug in the command, e.g. an un-invoked arrow function, a silent failure writing to stderr, or a command that intentionally produces no stdout).'+D,inputSchema:(0,n.jN)(o.object({thought:C,command:o.string(),description:o.string().optional(),timeout:o.number().int().min(1).max(6e5).optional()})),execute:async({command:a,timeout:b})=>{try{let{stdout:c,stderr:d}=await x(a,{cwd:h.cwd,encoding:"utf-8",timeout:b??6e4,maxBuffer:0xa00000,env:(0,w.u)({FORCE_COLOR:"0",CI:"1"})});if(0===c.length){if(0===d.length)return"(exit 0 — empty stdout and empty stderr. The command produced no output at all; NOT a truncation. Common causes: (a) an arrow function was defined but not invoked — wrap as `(async()=>{...})()`; (b) the command intentionally prints nothing on success; (c) output went to a file instead of stdout.)";let a=B(d,63800,{label:"stderr",bias:"tail"});return`(exit 0 — empty stdout; stderr below is NOT an error but a side-channel message since exit code was 0)
|
|
79
|
+
|
|
80
|
+
--- stderr ---
|
|
81
|
+
${a}`}let e=c.length>64e3?await A(c,"bash"):void 0;return B(c,64e3,{label:"stdout",spillPath:e})}catch(f){let a=f.message,b=f.stderr?.toString()||"",c=`Error: ${a}
|
|
82
|
+
`,d=Math.max(0,64e3-c.length),e=b.length>d?await A(b,"bash-stderr"):void 0;return c+B(b,d,{label:"stderr",bias:"tail",spillPath:e})}}}),Glob:(0,n.z6)({description:'Find files matching a glob pattern (fast-glob style). Params: { thought, pattern }. Runs relative to cwd and returns up to 100 paths (newline-delimited). When more than 100 match, the full list is spilled to a temp file and an explicit "...[N more paths omitted — M total; full list saved to ...]" footer is appended; call Read({ file_path, offset, limit }) on that path to page through the complete list, or tighten the pattern. Supports **, {}, [], *, ?.'+D,inputSchema:(0,n.jN)(o.object({thought:C,pattern:o.string()})),execute:async({pattern:a})=>{try{let b=await u()(a,{cwd:h.cwd,onlyFiles:!0,unique:!0,dot:!0,followSymbolicLinks:!0,ignore:["**/node_modules/**","**/.git/**"]});if(0===b.length)return"(no matches)";if(b.length<=100)return b.join("\n");let c=b.length-100,d=await A(b.join("\n"),"glob"),e=d?`full list saved to ${d} — call Read({ file_path: "${d}", offset, limit }) to page through all ${b.length} paths, or tighten the pattern`:"tighten the pattern to see the rest";return b.slice(0,100).join("\n")+`
|
|
83
|
+
|
|
84
|
+
...[${c} more paths omitted — ${b.length} total; ${e}]`}catch(a){return`Error: ${a.message}`}}}),Grep:(0,n.z6)({description:'Search for a pattern using ripgrep. Params: { thought, pattern, path (absolute, optional), ignore_case (default true), output_mode, "-n" }. ALWAYS use Grep for searching (never run rg/grep via Bash). output_mode: "content" returns matching lines; "files_with_matches" returns file paths; "count" returns counts. Output is capped at ~32KB (head + tail preserved with an explicit truncation marker). ripgrep also caps matches at 1000/file as a safety net. When truncation happens the full results are spilled to a temp file and the marker gives you its path — call Read({ file_path, offset, limit }) to page through, or tighten the pattern / restrict the path for a smaller result.'+D,inputSchema:(0,n.jN)(o.object({thought:C,pattern:o.string(),path:o.string().optional(),ignore_case:o.boolean().default(!0),output_mode:o.enum(["content","files_with_matches","count"]).default("content"),"-n":o.boolean().optional()})),execute:async({pattern:a,path:b,ignore_case:c,output_mode:d,"-n":e})=>{try{if(b&&!(0,g.isAbsolute)(b))return"Error: path must be an absolute path.";let f=b||h.cwd,i=["--no-heading","--color","never","--max-columns","500"];c&&i.push("--ignore-case");let j="1000";"files_with_matches"===d?(i.push("--files-with-matches"),i.push("--max-count",j)):"count"===d?i.push("--count"):(e??!0)&&(i.push("--line-number"),i.push("--max-count",j)),i.push("--",a,f);let{stdout:k}=await y(v.rgPath,i,{encoding:"utf-8",timeout:15e3,maxBuffer:0xa00000,env:(0,w.u)({FORCE_COLOR:"0"})}),l=k.length>32e3?await A(k,"grep"):void 0;return B(k,32e3,{label:"grep results",spillPath:l})}catch(a){if(1===a.code)return"(no matches)";return`Error: ${a.message}`}}}),TodoWrite:(0,n.z6)({description:"Plan and track progress. Use this as your FIRST tool call to break down the task into steps, then update after each step completes. Params: { thought, todos: [{ content, status, activeForm? }] }. Replaces the entire list. Statuses: pending | in_progress | completed. Keep at most one in_progress."+D,inputSchema:(0,n.jN)(o.object({thought:C,todos:o.array(o.object({content:o.string(),status:o.enum(["pending","in_progress","completed"]),activeForm:o.string().optional()}))})),execute:async({todos:a})=>{h.todos=a;let b=a.map(a=>`- [${a.status}] ${a.content}`).join("\n");return`Todo list updated:
|
|
85
|
+
${b}`}})}),stopWhen:(0,d.wS)(256),temperature:0,abortSignal:a.signal}),J=new Map,K=a=>{if(0!==J.size){for(let[b]of J){try{m(q,r,s,b,a,{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString(),is_error:!0})}catch{}try{F(`data: ${JSON.stringify({type:"user",message:{content:[{type:"tool_result",tool_use_id:b,content:a,is_error:!0}]}})}
|
|
86
|
+
|
|
87
|
+
`)}catch{}}J.clear()}};try{let{text:b}=await E(I.fullStream,F,s,{onToolCall:(a,b,c)=>{try{J.set(a,{name:b,input:c}),l(q,r,s,[{type:"tool_use",id:a,name:b,input:c}],{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString()})}catch{}},onToolResult:(a,b)=>{try{J.delete(a),m(q,r,s,a,b,{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString(),is_error:!1})}catch{}},onTextFlush:a=>{try{l(q,r,s,[{type:"text",text:a}],{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString()})}catch{}}}),c=await I.usage;i=c.inputTokens||0,p=c.outputTokens||0,F(`data: ${JSON.stringify({type:"result",subtype:"success",usage:{input_tokens:i,output_tokens:p,cache_creation_input_tokens:0,cache_read_input_tokens:0},total_cost_usd:0})}
|
|
88
|
+
|
|
89
|
+
`),a.signal.aborted||l(q,r,s,b?[{type:"text",text:b}]:[],{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString(),usage:{input_tokens:c.inputTokens||0,output_tokens:c.outputTokens||0,cache_creation_input_tokens:0,cache_read_input_tokens:0}})}catch(b){if(a.signal.aborted)return void K("Tool call cancelled (request aborted).");throw K("Tool call failed (stream error)."),b}}}};
|