@surething/cockpit 1.0.221 → 1.0.223
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 +10 -3
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/required-server-files.js +2 -1
- package/.next-prod/required-server-files.json +2 -1
- package/.next-prod/routes-manifest.json +42 -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/_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 +49 -1
- package/.next-prod/server/app/_not-found.rsc +65 -14
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +65 -14
- package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +53 -5
- 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 +16 -10
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +3 -3
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +10 -10
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +7 -7
- 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 +12 -12
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -0
- package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/chat/stop/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +1 -1
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/export/route.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/query/route.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/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 -0
- package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/current-branch/route_client-reference-manifest.js +1 -0
- 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/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 +2 -2
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route.js +2 -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/push/public-key/route.js +1 -0
- package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/push/public-key/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -0
- package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/push/subscribe/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/push/test/route.js +1 -0
- package/.next-prod/server/app/api/push/test/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/push/test/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -0
- package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/push/unsubscribe/route_client-reference-manifest.js +1 -0
- 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 +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session-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/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/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 -0
- package/.next-prod/server/app/m/page.js.nft.json +1 -0
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -0
- 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/manifest.webmanifest.body +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 +10 -3
- package/.next-prod/server/chunks/{8555.js → 2637.js} +134 -7
- package/.next-prod/server/chunks/2939.js +1 -1
- package/.next-prod/server/chunks/{3408.js → 5337.js} +3 -3
- package/.next-prod/server/chunks/6955.js +1 -1
- package/.next-prod/server/chunks/7003.js +1 -0
- package/.next-prod/server/chunks/8916.js +1 -1
- package/.next-prod/server/chunks/9658.js +10 -12
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +49 -1
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/IQwBHyZ3W2LMUZtDfCp-B/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/2032-6fcfaaa6aa730f6d.js +1 -0
- package/.next-prod/static/chunks/2576-02a6e185664e2e1a.js +25 -0
- package/.next-prod/static/chunks/471-7c4fab47613ffe5c.js +4 -0
- package/.next-prod/static/chunks/5156-2953531342c13696.js +3 -0
- package/.next-prod/static/chunks/9428-5c287b255a9831e6.js +20 -0
- package/.next-prod/static/chunks/9469-fb5c6f08ba6bab74.js +14 -0
- package/.next-prod/static/chunks/app/_global-error/page-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/pty-input/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/load/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/save/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/push/test/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/{layout-de73b7c59e956b47.js → layout-312d106fe47907df.js} +1 -1
- package/.next-prod/static/chunks/app/m/page-0be3799c1b38c991.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/app/{page-d539c7c36a32fd49.js → page-db70085227aa56aa.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-d539c7c36a32fd49.js → page-db70085227aa56aa.js} +1 -1
- package/.next-prod/static/chunks/app/review/[id]/{page-7db3a48a13f1840c.js → page-31d70fd518d4c7e6.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-422b501ed5769a87.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-422b501ed5769a87.js +1 -0
- package/.next-prod/static/css/217cb3486f7b68d7.css +1 -0
- package/.next-prod/trace +13 -13
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/chat/stop/route.ts +351 -0
- package/.next-prod/types/app/api/git/current-branch/route.ts +351 -0
- package/.next-prod/types/app/api/push/public-key/route.ts +351 -0
- package/.next-prod/types/app/api/push/subscribe/route.ts +351 -0
- package/.next-prod/types/app/api/push/test/route.ts +351 -0
- package/.next-prod/types/app/api/push/unsubscribe/route.ts +351 -0
- package/.next-prod/types/app/m/page.ts +87 -0
- package/.next-prod/types/routes.d.ts +9 -2
- package/.next-prod/types/validator.ts +63 -0
- package/dist/{chunk-6BFKFQG5.mjs → chunk-5BOGGUGT.mjs} +3 -1
- package/dist/chunk-5CRGWEWX.mjs +369 -0
- package/dist/{chunk-ICB7IS3A.mjs → chunk-BM3ZNL5S.mjs} +1 -1
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +34 -80
- package/dist/{server-Z6V4HKGV.mjs → server-DRMO2DUJ.mjs} +2 -2
- package/dist/wsServer.mjs +89 -13
- package/next.config.mjs +15 -0
- package/package.json +8 -3
- package/public/boot.js +32 -4
- package/public/push-sw.js +51 -0
- package/.next-prod/server/chunks/5616.js +0 -1
- package/.next-prod/static/QNr0r0SO5D70hTak_CnhT/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/2759-50f11ab1460db5e0.js +0 -23
- package/.next-prod/static/chunks/6345-bab6a02df39cb716.js +0 -14
- package/.next-prod/static/chunks/9403-de4673c851686913.js +0 -29
- package/.next-prod/static/chunks/app/_global-error/page-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/pty-input/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/load/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/save/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-ccd4c8b73711effa.js +0 -1
- package/.next-prod/static/css/ad6271f3f61ab845.css +0 -1
- package/dist/chunk-4S74IEU4.mjs +0 -314
- /package/.next-prod/static/{QNr0r0SO5D70hTak_CnhT → IQwBHyZ3W2LMUZtDfCp-B}/_ssgManifest.js +0 -0
package/dist/scheduledTasks.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
getRunSnapshot,
|
|
3
|
+
isRunActive,
|
|
4
|
+
requestStop,
|
|
3
5
|
updateGlobalState
|
|
4
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5CRGWEWX.mjs";
|
|
5
7
|
import {
|
|
6
8
|
AgentError,
|
|
7
9
|
AppRuntime,
|
|
8
|
-
CLAUDE2_DIR,
|
|
9
10
|
CockpitConfig,
|
|
10
11
|
Effect_exports,
|
|
11
12
|
SCHEDULED_TASKS_FILE,
|
|
@@ -17,12 +18,11 @@ import {
|
|
|
17
18
|
getOllamaSessionPath,
|
|
18
19
|
readJsonFile,
|
|
19
20
|
writeJsonFile
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5BOGGUGT.mjs";
|
|
21
22
|
import "./chunk-7P6ASYW6.mjs";
|
|
22
23
|
|
|
23
24
|
// packages/feature/agent/src/server/scheduledTasks.ts
|
|
24
25
|
import { existsSync } from "fs";
|
|
25
|
-
import { query } from "@anthropic-ai/claude-agent-sdk";
|
|
26
26
|
function parseCronField(field, min, max) {
|
|
27
27
|
const values = [];
|
|
28
28
|
for (const part of field.split(",")) {
|
|
@@ -67,96 +67,50 @@ function getNextCronTime(cronExpr, after = /* @__PURE__ */ new Date()) {
|
|
|
67
67
|
}
|
|
68
68
|
return after.getTime() + 864e5;
|
|
69
69
|
}
|
|
70
|
-
var sendClaudeMessageEff = (task) => {
|
|
71
|
-
const options = {
|
|
72
|
-
resume: task.sessionId,
|
|
73
|
-
cwd: task.cwd,
|
|
74
|
-
settingSources: ["user", "project", "local"],
|
|
75
|
-
allowedTools: [
|
|
76
|
-
"Read",
|
|
77
|
-
"Write",
|
|
78
|
-
"Edit",
|
|
79
|
-
"Bash",
|
|
80
|
-
"Glob",
|
|
81
|
-
"Grep",
|
|
82
|
-
"WebFetch",
|
|
83
|
-
"WebSearch",
|
|
84
|
-
"Task",
|
|
85
|
-
// Task management — claude-agent-sdk@0.3.142 replaced TodoWrite
|
|
86
|
-
// with per-task TaskCreate/Update/Get/List events.
|
|
87
|
-
"TaskCreate",
|
|
88
|
-
"TaskUpdate",
|
|
89
|
-
"TaskGet",
|
|
90
|
-
"TaskList",
|
|
91
|
-
"mcp__*"
|
|
92
|
-
],
|
|
93
|
-
permissionMode: "bypassPermissions",
|
|
94
|
-
allowDangerouslySkipPermissions: true,
|
|
95
|
-
// For claude2 engine, override config directory to ~/.claude2
|
|
96
|
-
...task.engine === "claude2" && {
|
|
97
|
-
env: { ...process.env, CLAUDE_CONFIG_DIR: CLAUDE2_DIR }
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
const MAX_COMPACTION_RETRIES = 1;
|
|
101
|
-
return Effect_exports.gen(function* () {
|
|
102
|
-
yield* Effect_exports.tryPromise(
|
|
103
|
-
() => updateGlobalState(task.cwd, task.sessionId, "loading", void 0, task.message)
|
|
104
|
-
).pipe(Effect_exports.orElse(() => Effect_exports.void));
|
|
105
|
-
yield* Effect_exports.tryPromise({
|
|
106
|
-
try: async () => {
|
|
107
|
-
for (let attempt = 0; attempt <= MAX_COMPACTION_RETRIES; attempt++) {
|
|
108
|
-
let receivedResult = false;
|
|
109
|
-
const response = query({
|
|
110
|
-
prompt: attempt === 0 ? task.message : "continue",
|
|
111
|
-
options
|
|
112
|
-
});
|
|
113
|
-
for await (const message of response) {
|
|
114
|
-
const msg = message;
|
|
115
|
-
if (msg.type === "result") receivedResult = true;
|
|
116
|
-
}
|
|
117
|
-
if (receivedResult) break;
|
|
118
|
-
console.log(`[ScheduledTask] Stream ended without result, resuming (attempt ${attempt + 1}/${MAX_COMPACTION_RETRIES})`);
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
catch: (cause) => (
|
|
122
|
-
// claude2 is a separate Anthropic credential set; the SDK is still claude. Classify under the 'claude' provider.
|
|
123
|
-
new AgentError({
|
|
124
|
-
provider: "claude",
|
|
125
|
-
kind: "unknown",
|
|
126
|
-
cause
|
|
127
|
-
})
|
|
128
|
-
)
|
|
129
|
-
});
|
|
130
|
-
const title = yield* Effect_exports.tryPromise(() => getSessionTitle(task.cwd, task.sessionId)).pipe(
|
|
131
|
-
Effect_exports.orElseSucceed(() => void 0)
|
|
132
|
-
);
|
|
133
|
-
yield* Effect_exports.tryPromise(
|
|
134
|
-
() => updateGlobalState(task.cwd, task.sessionId, "unread", title)
|
|
135
|
-
).pipe(Effect_exports.orElse(() => Effect_exports.void));
|
|
136
|
-
return true;
|
|
137
|
-
});
|
|
138
|
-
};
|
|
139
70
|
var sendHttpEngineMessageEff = (task, engine) => Effect_exports.tryPromise({
|
|
140
71
|
try: async () => {
|
|
141
|
-
const
|
|
72
|
+
const isClaude = engine === "claude" || engine === "claude2";
|
|
73
|
+
const url = isClaude ? `http://127.0.0.1:${task.port}/api/chat` : `http://127.0.0.1:${task.port}/api/chat/${engine}`;
|
|
74
|
+
const res = await fetch(url, {
|
|
142
75
|
method: "POST",
|
|
143
76
|
headers: { "Content-Type": "application/json" },
|
|
144
77
|
body: JSON.stringify({
|
|
145
78
|
prompt: task.message,
|
|
146
79
|
sessionId: task.sessionId,
|
|
147
80
|
cwd: task.cwd,
|
|
81
|
+
engine,
|
|
82
|
+
// route uses it for claude2's CLAUDE_CONFIG_DIR; no-op for the others
|
|
148
83
|
...task.model && { model: task.model }
|
|
149
84
|
})
|
|
150
85
|
});
|
|
151
|
-
if (!res.ok
|
|
86
|
+
if (!res.ok) {
|
|
152
87
|
throw new Error(`${engine} chat route responded ${res.status}`);
|
|
153
88
|
}
|
|
154
|
-
const
|
|
155
|
-
|
|
89
|
+
const body = await res.json().catch(() => ({}));
|
|
90
|
+
if (!body.runKey) {
|
|
91
|
+
throw new Error(`${engine} chat route returned no runKey (session ${task.sessionId})`);
|
|
92
|
+
}
|
|
93
|
+
const key = body.runKey;
|
|
94
|
+
const deadline = Date.now() + 30 * 60 * 1e3;
|
|
95
|
+
while (isRunActive(key) && Date.now() < deadline) {
|
|
96
|
+
await new Promise((r) => setTimeout(r, 500));
|
|
97
|
+
}
|
|
98
|
+
if (isRunActive(key)) {
|
|
99
|
+
requestStop(key);
|
|
100
|
+
throw new Error(`${engine} run timed out after 30m (session ${task.sessionId})`);
|
|
101
|
+
}
|
|
102
|
+
const snap = getRunSnapshot(key);
|
|
103
|
+
if (!snap || snap.status === "error") {
|
|
104
|
+
throw new Error(`${engine} run failed (session ${task.sessionId})`);
|
|
156
105
|
}
|
|
157
106
|
return true;
|
|
158
107
|
},
|
|
159
|
-
|
|
108
|
+
// claude2 shares the 'claude' provider for error classification (same SDK).
|
|
109
|
+
catch: (cause) => new AgentError({
|
|
110
|
+
provider: engine === "claude2" ? "claude" : engine,
|
|
111
|
+
kind: "unknown",
|
|
112
|
+
cause
|
|
113
|
+
})
|
|
160
114
|
});
|
|
161
115
|
function sessionPathFor(engine, task) {
|
|
162
116
|
if (engine === "claude2") return getClaude2SessionPath(task.cwd, task.sessionId);
|
|
@@ -187,7 +141,7 @@ var sendChatMessageEff = (task) => Effect_exports.gen(function* () {
|
|
|
187
141
|
})
|
|
188
142
|
);
|
|
189
143
|
}
|
|
190
|
-
return
|
|
144
|
+
return yield* sendHttpEngineMessageEff(task, engine);
|
|
191
145
|
}).pipe(
|
|
192
146
|
Effect_exports.catchAll(
|
|
193
147
|
(err) => Effect_exports.gen(function* () {
|
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
unregisterTerminal,
|
|
42
42
|
updateBrowserWs,
|
|
43
43
|
writeStdinToCommand
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-BM3ZNL5S.mjs";
|
|
45
45
|
import {
|
|
46
46
|
createNeo4jDriver,
|
|
47
47
|
runCypherWithDriver,
|
|
48
48
|
serializeValue
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-5BOGGUGT.mjs";
|
|
50
50
|
import "./chunk-7P6ASYW6.mjs";
|
|
51
51
|
export {
|
|
52
52
|
PtyRingBuffer,
|
package/dist/wsServer.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
addRunListener,
|
|
3
|
+
getRunSnapshot,
|
|
4
|
+
getSessionPreview
|
|
5
|
+
} from "./chunk-5CRGWEWX.mjs";
|
|
4
6
|
import {
|
|
5
7
|
addExitListener,
|
|
6
8
|
addOutputListener,
|
|
@@ -16,7 +18,7 @@ import {
|
|
|
16
18
|
resolvePendingRequest,
|
|
17
19
|
unregisterBrowser,
|
|
18
20
|
writeStdinToCommand
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BM3ZNL5S.mjs";
|
|
20
22
|
import {
|
|
21
23
|
AppError,
|
|
22
24
|
Effect_exports,
|
|
@@ -32,11 +34,11 @@ import {
|
|
|
32
34
|
ValidationError,
|
|
33
35
|
WSError,
|
|
34
36
|
readJsonFile
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-5BOGGUGT.mjs";
|
|
36
38
|
import "./chunk-7P6ASYW6.mjs";
|
|
37
39
|
|
|
38
40
|
// src/lib/wsServer.ts
|
|
39
|
-
import { WebSocketServer
|
|
41
|
+
import { WebSocketServer } from "ws";
|
|
40
42
|
import { parse } from "url";
|
|
41
43
|
|
|
42
44
|
// src/lib/effect/globalStateHandler.ts
|
|
@@ -123,10 +125,15 @@ var sendGlobalState = (conn) => Effect_exports.gen(function* () {
|
|
|
123
125
|
const sessions = yield* Effect_exports.forEach(
|
|
124
126
|
recent,
|
|
125
127
|
(session) => session.status === "loading" && session.lastUserMessage ? Effect_exports.succeed(session) : Effect_exports.tryPromise({
|
|
126
|
-
try: () =>
|
|
128
|
+
try: () => getSessionPreview(session.cwd, session.sessionId),
|
|
127
129
|
catch: () => void 0
|
|
128
130
|
}).pipe(
|
|
129
|
-
Effect_exports.map((
|
|
131
|
+
Effect_exports.map((preview) => ({
|
|
132
|
+
...session,
|
|
133
|
+
lastUserMessage: preview.lastUserMessage ?? session.lastUserMessage,
|
|
134
|
+
firstMessages: preview.firstMessages,
|
|
135
|
+
lastMessages: preview.lastMessages
|
|
136
|
+
})),
|
|
130
137
|
Effect_exports.orElseSucceed(() => session)
|
|
131
138
|
),
|
|
132
139
|
{ concurrency: "unbounded" }
|
|
@@ -683,7 +690,7 @@ var handleJupyter = (conn, bubbleId, cwd) => Effect_exports.gen(function* () {
|
|
|
683
690
|
Effect_exports.annotateLogs("cwd", cwd)
|
|
684
691
|
);
|
|
685
692
|
const { kernelManager } = yield* Effect_exports.tryPromise({
|
|
686
|
-
try: () => import("./server-
|
|
693
|
+
try: () => import("./server-DRMO2DUJ.mjs"),
|
|
687
694
|
catch: (cause) => new AppError({
|
|
688
695
|
message: "failed to import kernel manager",
|
|
689
696
|
cause
|
|
@@ -1172,6 +1179,69 @@ var runTerminalHandler = (ws, projectCwd) => {
|
|
|
1172
1179
|
});
|
|
1173
1180
|
};
|
|
1174
1181
|
|
|
1182
|
+
// src/lib/effect/sessionStreamHandler.ts
|
|
1183
|
+
var HEARTBEAT6 = Schedule_exports.spaced("30 seconds");
|
|
1184
|
+
var handleSessionStream = (conn, sessionId) => Effect_exports.gen(function* () {
|
|
1185
|
+
if (!sessionId) {
|
|
1186
|
+
return yield* Effect_exports.fail(
|
|
1187
|
+
new ValidationError({ field: "sessionId", reason: "missing" })
|
|
1188
|
+
);
|
|
1189
|
+
}
|
|
1190
|
+
const queue = yield* Queue_exports.unbounded();
|
|
1191
|
+
yield* Effect_exports.acquireRelease(
|
|
1192
|
+
Effect_exports.sync(
|
|
1193
|
+
() => addRunListener(sessionId, (ev) => {
|
|
1194
|
+
Effect_exports.runFork(Queue_exports.offer(queue, ev));
|
|
1195
|
+
})
|
|
1196
|
+
),
|
|
1197
|
+
(unsub) => Effect_exports.sync(unsub)
|
|
1198
|
+
);
|
|
1199
|
+
const snap = getRunSnapshot(sessionId);
|
|
1200
|
+
const snapshotSeq = snap ? snap.seq : -1;
|
|
1201
|
+
if (snap) {
|
|
1202
|
+
yield* conn.send({
|
|
1203
|
+
type: "run-snapshot",
|
|
1204
|
+
status: snap.status,
|
|
1205
|
+
seq: snap.seq,
|
|
1206
|
+
events: snap.events
|
|
1207
|
+
});
|
|
1208
|
+
} else {
|
|
1209
|
+
yield* conn.send({ type: "run-idle" });
|
|
1210
|
+
}
|
|
1211
|
+
yield* Effect_exports.forkScoped(
|
|
1212
|
+
Effect_exports.repeat(conn.send({ type: "ping" }), HEARTBEAT6)
|
|
1213
|
+
);
|
|
1214
|
+
yield* Stream_exports.fromQueue(queue).pipe(
|
|
1215
|
+
Stream_exports.filter((ev) => ev.seq > snapshotSeq),
|
|
1216
|
+
Stream_exports.mapEffect(
|
|
1217
|
+
(ev) => conn.send({ type: "run-event", seq: ev.seq, message: ev.message })
|
|
1218
|
+
),
|
|
1219
|
+
Stream_exports.runDrain
|
|
1220
|
+
);
|
|
1221
|
+
}).pipe(Effect_exports.withSpan("ws.handleSessionStream", { attributes: { sessionId } }));
|
|
1222
|
+
var runSessionStreamHandler = (ws, sessionId) => {
|
|
1223
|
+
const program = Effect_exports.scoped(
|
|
1224
|
+
Effect_exports.gen(function* () {
|
|
1225
|
+
const conn = yield* fromWebSocket(ws, "session-stream");
|
|
1226
|
+
yield* handleSessionStream(conn, sessionId);
|
|
1227
|
+
})
|
|
1228
|
+
).pipe(
|
|
1229
|
+
Effect_exports.catchTag(
|
|
1230
|
+
"ValidationError",
|
|
1231
|
+
(e) => Effect_exports.sync(() => ws.close(4400, e.reason))
|
|
1232
|
+
),
|
|
1233
|
+
Effect_exports.catchAll(
|
|
1234
|
+
(e) => Effect_exports.logError("[ws/session-stream]").pipe(
|
|
1235
|
+
Effect_exports.annotateLogs("error", JSON.stringify(e))
|
|
1236
|
+
)
|
|
1237
|
+
)
|
|
1238
|
+
);
|
|
1239
|
+
const fiber = Effect_exports.runFork(program);
|
|
1240
|
+
ws.on("close", () => {
|
|
1241
|
+
Effect_exports.runFork(fiber.interruptAsFork(fiber.id()));
|
|
1242
|
+
});
|
|
1243
|
+
};
|
|
1244
|
+
|
|
1175
1245
|
// packages/feature/explorer/src/server/codeMap/projectGraph/codeIndex.ts
|
|
1176
1246
|
import { promises as fs4 } from "fs";
|
|
1177
1247
|
import path6 from "path";
|
|
@@ -3900,10 +3970,10 @@ function wireCodeIndexToFileWatcher() {
|
|
|
3900
3970
|
});
|
|
3901
3971
|
}
|
|
3902
3972
|
|
|
3903
|
-
// src/lib/
|
|
3904
|
-
|
|
3905
|
-
var
|
|
3906
|
-
var globalStateClients =
|
|
3973
|
+
// src/lib/globalStateBroadcast.ts
|
|
3974
|
+
import { WebSocket } from "ws";
|
|
3975
|
+
var g = globalThis;
|
|
3976
|
+
var globalStateClients = g.__cockpitGlobalStateClients ?? (g.__cockpitGlobalStateClients = /* @__PURE__ */ new Set());
|
|
3907
3977
|
function broadcastToGlobalState(msg) {
|
|
3908
3978
|
const data = JSON.stringify(msg);
|
|
3909
3979
|
for (const ws of globalStateClients) {
|
|
@@ -3912,6 +3982,10 @@ function broadcastToGlobalState(msg) {
|
|
|
3912
3982
|
}
|
|
3913
3983
|
}
|
|
3914
3984
|
}
|
|
3985
|
+
|
|
3986
|
+
// src/lib/wsServer.ts
|
|
3987
|
+
wireCodeIndexToFileWatcher();
|
|
3988
|
+
var g_ws = globalThis;
|
|
3915
3989
|
var wss = g_ws.__cockpitWss ?? (() => {
|
|
3916
3990
|
const server = new WebSocketServer({ noServer: true });
|
|
3917
3991
|
g_ws.__cockpitWss = server;
|
|
@@ -3936,13 +4010,15 @@ var wss = g_ws.__cockpitWss ?? (() => {
|
|
|
3936
4010
|
runTerminalFollowHandler(ws, query.id);
|
|
3937
4011
|
} else if (pathname === "/ws/jupyter") {
|
|
3938
4012
|
runJupyterHandler(ws, query.bubbleId, query.cwd);
|
|
4013
|
+
} else if (pathname === "/ws/session-stream") {
|
|
4014
|
+
runSessionStreamHandler(ws, query.sessionId);
|
|
3939
4015
|
}
|
|
3940
4016
|
});
|
|
3941
4017
|
return server;
|
|
3942
4018
|
})();
|
|
3943
4019
|
function handleUpgrade(req, socket, head) {
|
|
3944
4020
|
const { pathname } = parse(req.url || "", true);
|
|
3945
|
-
if (pathname === "/ws/watch" || pathname === "/ws/global-state" || pathname === "/ws/terminal" || pathname === "/ws/browser" || pathname === "/ws/terminal-follow" || pathname === "/ws/jupyter") {
|
|
4021
|
+
if (pathname === "/ws/watch" || pathname === "/ws/global-state" || pathname === "/ws/terminal" || pathname === "/ws/browser" || pathname === "/ws/terminal-follow" || pathname === "/ws/jupyter" || pathname === "/ws/session-stream") {
|
|
3946
4022
|
wss.handleUpgrade(req, socket, head, (ws) => {
|
|
3947
4023
|
wss.emit("connection", ws, req);
|
|
3948
4024
|
});
|
package/next.config.mjs
CHANGED
|
@@ -11,6 +11,19 @@ const EMPTY_STUB = './src/lib/empty-stub.js';
|
|
|
11
11
|
const nextConfig = {
|
|
12
12
|
// dev 和 prod 使用不同输出目录,避免 Turbopack 热更新影响 prod
|
|
13
13
|
distDir: dev ? '.next' : '.next-prod',
|
|
14
|
+
// Allow loading dev resources (HMR, /_next/*) through tunnels — needed to test
|
|
15
|
+
// the mobile /m route on a real phone via ngrok. Dev-only; wildcards cover the
|
|
16
|
+
// rotating ngrok hostnames so we don't have to edit this each session.
|
|
17
|
+
...(dev
|
|
18
|
+
? {
|
|
19
|
+
allowedDevOrigins: [
|
|
20
|
+
'*.ngrok-free.dev',
|
|
21
|
+
'*.ngrok-free.app',
|
|
22
|
+
'*.ngrok.app',
|
|
23
|
+
'*.ngrok.io',
|
|
24
|
+
],
|
|
25
|
+
}
|
|
26
|
+
: {}),
|
|
14
27
|
// Workspace packages ship raw .ts/.tsx (their package.json `main` points
|
|
15
28
|
// straight at source). Next.js needs to compile them like local source.
|
|
16
29
|
// See MODULES.md for the modularization layout.
|
|
@@ -72,6 +85,8 @@ const nextConfig = {
|
|
|
72
85
|
'node-pty',
|
|
73
86
|
'web-tree-sitter',
|
|
74
87
|
'@vscode/ripgrep',
|
|
88
|
+
// Pure-JS but Node-only (uses node crypto/https); keep it out of any bundle.
|
|
89
|
+
'web-push',
|
|
75
90
|
],
|
|
76
91
|
// For webpack (used by `next build --webpack`), use the standard fallback
|
|
77
92
|
// mechanism. `false` = "this module is unavailable, drop the import."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surething/cockpit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.223",
|
|
4
4
|
"description": "Claude Code GUI for parallel AI coding — drive Claude (default), Codex, DeepSeek, Kimi, or local Ollama in tabs. Multi-project sessions, terminal, browser & DB bubbles, code review, slash modes. Local-first, MIT.",
|
|
5
5
|
"author": "Robert",
|
|
6
6
|
"license": "MIT",
|
|
@@ -86,13 +86,15 @@
|
|
|
86
86
|
"setup": "npm run build && npm run build:server && npm link",
|
|
87
87
|
"setup-dev": "node bin/setup-dev.mjs",
|
|
88
88
|
"lint": "eslint",
|
|
89
|
+
"test": "vitest run",
|
|
90
|
+
"test:watch": "vitest",
|
|
89
91
|
"generate-icons": "node scripts/generate-icons.js",
|
|
90
92
|
"copy-wasms": "node scripts/copy-tree-sitter-wasms.mjs",
|
|
91
93
|
"postinstall": "node bin/postinstall.mjs"
|
|
92
94
|
},
|
|
93
95
|
"dependencies": {
|
|
94
96
|
"@ai-sdk/openai": "^3.0.52",
|
|
95
|
-
"@anthropic-ai/claude-agent-sdk": "^0.3.
|
|
97
|
+
"@anthropic-ai/claude-agent-sdk": "^0.3.179",
|
|
96
98
|
"@dagrejs/dagre": "^3.0.0",
|
|
97
99
|
"@tanstack/react-virtual": "^3.13.18",
|
|
98
100
|
"@tiptap/extension-link": "^3.19.0",
|
|
@@ -139,6 +141,7 @@
|
|
|
139
141
|
"shiki": "^3.21.0",
|
|
140
142
|
"tiptap-markdown": "^0.9.0",
|
|
141
143
|
"unist-util-visit": "^5.1.0",
|
|
144
|
+
"web-push": "^3.6.7",
|
|
142
145
|
"web-tree-sitter": "^0.26.8",
|
|
143
146
|
"ws": "^8.20.1"
|
|
144
147
|
},
|
|
@@ -156,6 +159,7 @@
|
|
|
156
159
|
"@types/node": "^20",
|
|
157
160
|
"@types/react": "^19",
|
|
158
161
|
"@types/react-dom": "^19",
|
|
162
|
+
"@types/web-push": "^3.6.4",
|
|
159
163
|
"@types/ws": "^8.18.1",
|
|
160
164
|
"@vscode/tree-sitter-wasm": "^0.3.1",
|
|
161
165
|
"eslint": "^9",
|
|
@@ -164,7 +168,8 @@
|
|
|
164
168
|
"tailwindcss": "^4",
|
|
165
169
|
"tsup": "^8.5.1",
|
|
166
170
|
"tsx": "^4.21.0",
|
|
167
|
-
"typescript": "5.9.3"
|
|
171
|
+
"typescript": "5.9.3",
|
|
172
|
+
"vitest": "^4.1.9"
|
|
168
173
|
},
|
|
169
174
|
"overrides": {
|
|
170
175
|
"postcss": "^8.5.10"
|
package/public/boot.js
CHANGED
|
@@ -1,8 +1,30 @@
|
|
|
1
1
|
// Runs before React hydrates (see app/layout.tsx <Script strategy="beforeInteractive">).
|
|
2
|
-
//
|
|
3
|
-
// 1.
|
|
4
|
-
// 2.
|
|
2
|
+
// Three jobs:
|
|
3
|
+
// 1. Redirect narrow viewports to the mobile route /m (before first paint).
|
|
4
|
+
// 2. Apply the persisted theme class to <html> before first paint to avoid FOUC.
|
|
5
|
+
// 3. Unregister any leftover Service Workers from the PWA era (PWA has been removed).
|
|
5
6
|
(function () {
|
|
7
|
+
// Mobile redirect — runs first and bails out the rest on redirect.
|
|
8
|
+
// Signal is VIEWPORT WIDTH (not User-Agent): it's what actually decides whether the
|
|
9
|
+
// desktop 3-panel layout fits. Runs synchronously in <head> before the body paints,
|
|
10
|
+
// so the desktop UI never flashes. Escape hatch: the /m "use desktop" action sets
|
|
11
|
+
// `cockpit-force-desktop` in localStorage, which suppresses the redirect thereafter.
|
|
12
|
+
try {
|
|
13
|
+
var path = window.location.pathname;
|
|
14
|
+
var onMobileRoute = path === '/m' || path.indexOf('/m/') === 0;
|
|
15
|
+
var forceDesktop = false;
|
|
16
|
+
try { forceDesktop = !!localStorage.getItem('cockpit-force-desktop'); } catch (_e) {}
|
|
17
|
+
if (
|
|
18
|
+
!onMobileRoute &&
|
|
19
|
+
!forceDesktop &&
|
|
20
|
+
window.matchMedia &&
|
|
21
|
+
window.matchMedia('(max-width: 767px)').matches
|
|
22
|
+
) {
|
|
23
|
+
window.location.replace('/m' + window.location.search);
|
|
24
|
+
return; // stop further boot work; the page is navigating away
|
|
25
|
+
}
|
|
26
|
+
} catch (_e) {}
|
|
27
|
+
|
|
6
28
|
try {
|
|
7
29
|
var theme = localStorage.getItem('theme') || 'dark';
|
|
8
30
|
var resolved = theme;
|
|
@@ -12,9 +34,15 @@
|
|
|
12
34
|
document.documentElement.classList.add(resolved);
|
|
13
35
|
} catch (e) {}
|
|
14
36
|
|
|
37
|
+
// Clean up legacy Service Workers from the old PWA era, but KEEP our
|
|
38
|
+
// push-only SW (/push-sw.js) — it powers Web Push notifications and does no
|
|
39
|
+
// caching, so it doesn't reintroduce the offline behavior we removed.
|
|
15
40
|
if ('serviceWorker' in navigator) {
|
|
16
41
|
navigator.serviceWorker.getRegistrations().then(function (regs) {
|
|
17
|
-
regs.forEach(function (r) {
|
|
42
|
+
regs.forEach(function (r) {
|
|
43
|
+
var url = (r.active && r.active.scriptURL) || '';
|
|
44
|
+
if (url.indexOf('/push-sw.js') === -1) r.unregister();
|
|
45
|
+
});
|
|
18
46
|
});
|
|
19
47
|
}
|
|
20
48
|
})();
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Push-only Service Worker for the mobile (/m) Web Push feature.
|
|
2
|
+
//
|
|
3
|
+
// Deliberately has NO fetch/install caching — it does not make Cockpit work
|
|
4
|
+
// offline (which the app explicitly does not want). Its sole job is to receive
|
|
5
|
+
// background push events and route notification taps to the right session.
|
|
6
|
+
|
|
7
|
+
// Localize the action button + fallback body using the device locale (the SW
|
|
8
|
+
// runs on the user's device, so navigator.language is the right source).
|
|
9
|
+
var IS_ZH = (self.navigator && self.navigator.language || 'en').toLowerCase().indexOf('zh') === 0;
|
|
10
|
+
var VIEW_LABEL = IS_ZH ? '查看' : 'View';
|
|
11
|
+
var DONE_LABEL = IS_ZH ? '任务完成' : 'Task finished';
|
|
12
|
+
|
|
13
|
+
self.addEventListener('push', (event) => {
|
|
14
|
+
let payload = {};
|
|
15
|
+
try {
|
|
16
|
+
payload = event.data ? event.data.json() : {};
|
|
17
|
+
} catch (e) {
|
|
18
|
+
payload = { title: 'Cockpit', body: event.data ? event.data.text() : '' };
|
|
19
|
+
}
|
|
20
|
+
const title = payload.title || 'Cockpit';
|
|
21
|
+
event.waitUntil(
|
|
22
|
+
self.registration.showNotification(title, {
|
|
23
|
+
body: payload.body || DONE_LABEL,
|
|
24
|
+
data: payload.data || {},
|
|
25
|
+
icon: '/icons/icon-192x192.png',
|
|
26
|
+
badge: '/icons/icon-96x96.png',
|
|
27
|
+
tag: payload.data && payload.data.sessionId ? `session-${payload.data.sessionId}` : undefined,
|
|
28
|
+
actions: [{ action: 'open', title: VIEW_LABEL }],
|
|
29
|
+
}),
|
|
30
|
+
);
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
self.addEventListener('notificationclick', (event) => {
|
|
34
|
+
event.notification.close();
|
|
35
|
+
const data = event.notification.data || {};
|
|
36
|
+
let url = '/m';
|
|
37
|
+
if (data.cwd && data.sessionId) {
|
|
38
|
+
url = `/m?cwd=${encodeURIComponent(data.cwd)}&sessionId=${encodeURIComponent(data.sessionId)}`;
|
|
39
|
+
}
|
|
40
|
+
event.waitUntil(
|
|
41
|
+
self.clients.matchAll({ type: 'window', includeUncontrolled: true }).then((wins) => {
|
|
42
|
+
const win = wins.find(Boolean);
|
|
43
|
+
if (win) {
|
|
44
|
+
win.focus();
|
|
45
|
+
if ('navigate' in win) win.navigate(url);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
return self.clients.openWindow(url);
|
|
49
|
+
}),
|
|
50
|
+
);
|
|
51
|
+
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=5616,exports.ids=[5616],exports.modules={7939:(a,b,c)=>{c.d(b,{$A:()=>L,A0:()=>W,An:()=>Z,BF:()=>H,Ct:()=>P,Eu:()=>G,Ex:()=>t,GB:()=>q,JE:()=>Y,JY:()=>K,Ki:()=>B,Kk:()=>Q,Kv:()=>j,LN:()=>k,Mx:()=>C,O0:()=>A,Sr:()=>I,Tb:()=>r,Ux:()=>aa,Wd:()=>X,aO:()=>m,at:()=>x,ec:()=>n,eg:()=>U,h9:()=>w,i4:()=>F,iK:()=>o,im:()=>S,iy:()=>O,jp:()=>s,lT:()=>y,lq:()=>E,ls:()=>J,mT:()=>v,oK:()=>N,oZ:()=>R,of:()=>D,po:()=>M,tP:()=>p,th:()=>u,v4:()=>l,vI:()=>V,yw:()=>T});var d=c(21820),e=c(33873),f=c(79748),g=c(29021),h=c(79646);let i=(0,d.homedir)(),j=(0,e.join)(i,".cockpit"),k=(0,e.join)(j,"projects"),l=(0,e.join)(j,"state.json"),m=(0,e.join)(j,"pinned-sessions.json"),n=(0,e.join)(j,"note.md"),o=(0,e.join)(j,"scheduled-tasks.json"),p=(0,e.join)(j,"settings.json"),q=(0,e.join)(j,"skills.json"),r=(0,e.join)(j,"review"),s=(0,e.join)(r,"_signal");function t(){try{(0,g.existsSync)(r)||(0,g.mkdirSync)(r,{recursive:!0}),(0,g.writeFileSync)(s,Date.now().toString())}catch{}}let u=(0,e.join)(i,".claude"),v=(0,e.join)(u,"projects"),w=(0,e.join)(i,".claude2"),x=(0,e.join)(w,"projects"),y=(0,e.join)(j,"deepseek"),z=(0,e.join)(y,"projects");function A(a){return a.replace(/[/.]/g,"-")}function B(a){return(0,e.join)(k,A(a))}function C(a){return(0,e.join)(B(a),"session.json")}function D(a){return(0,e.join)(B(a),"recent-files.json")}function E(a){return(0,e.join)(B(a),"expanded-paths.json")}function F(a){return(0,e.join)(B(a),"comments.json")}function G(a){return(0,e.join)(B(a),"services.json")}function H(a){return(0,e.join)(B(a),"note.md")}function I(a,b){return(0,e.join)(B(a),`terminal-history-${b}.jsonl`)}function J(a,b){return(0,e.join)(B(a),`terminal-output-${b}.txt`)}function K(a,b){let c=b?`terminal-env-${b}.json`:"terminal-env-global.json";return(0,e.join)(B(a),c)}function L(){return(0,e.join)(j,"terminal-aliases.json")}function M(){return(0,e.join)(j,"services.json")}function N(a){return(0,e.join)(B(a),"project-settings.json")}function O(a,b){return(0,e.join)(B(a),`terminal-bubble-order-${b}.json`)}function P(a){return(0,e.join)(r,`${a}.json`)}function Q(a,b){return(0,e.join)((0,e.join)(v,A(a)),`${b}.jsonl`)}function R(a,b){return(0,e.join)((0,e.join)(x,A(a)),`${b}.jsonl`)}function S(a,b){return(0,e.join)((0,e.join)(z,A(a)),`${b}.jsonl`)}function T(a,b){return(0,e.join)((0,e.join)(j,"ollama-sessions",A(a)),`${b}.jsonl`)}function U(a){let b=(0,e.join)(i,".codex","sessions");if(!(0,g.existsSync)(b))return null;try{let c=(0,h.execSync)(`find ${JSON.stringify(b)} -name "*${a}.jsonl" -type f 2>/dev/null`,{encoding:"utf8",timeout:3e3}).trim();if(c)return c.split("\n")[0]}catch{}return null}function V(a){let b=(0,e.join)(i,".kimi","sessions");if(!(0,g.existsSync)(b))return null;try{for(let c of(0,g.readdirSync)(b)){let d=(0,e.join)(b,c,a,"context.jsonl");if((0,g.existsSync)(d))return d}}catch{}return null}async function W(a){(0,g.existsSync)(a)||await (0,f.mkdir)(a,{recursive:!0})}async function X(a){let b=(0,e.join)(a,"..");await W(b)}async function Y(a,b){try{let b=await (0,f.readFile)(a,"utf-8");return JSON.parse(b)}catch{return b}}async function Z(a,b){await X(a),await (0,f.writeFile)(a,JSON.stringify(b,null,2),"utf-8")}let $=globalThis,_=$.__cockpitFileLocks??($.__cockpitFileLocks=new Map);function aa(a,b){let c=(_.get(a)??Promise.resolve()).then(b),d=c.then(()=>{},()=>{});return _.set(a,d),d.then(()=>{_.get(a)===d&&_.delete(a)}),c}},72891:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{OZ:()=>o,RL:()=>n,k9:()=>p,ok:()=>l});var e=c(37625),f=c(52693),g=c(18412),h=c(89705),i=c(94506),j=c(770),k=a([i]);i=(k.then?(await k)():k)[0];let l=(a,b=200)=>new Response(JSON.stringify(a),{status:b,headers:{"content-type":"application/json"}}),m=a=>{let b=e.od(a);if(f.Ru(b)){let a=b.value,c=(0,j.Sh)(a);return new Response(JSON.stringify({error:(a=>{let b=a.message;if("string"==typeof b&&b.length>0)return b;let c=a.cause;if(c instanceof Error&&c.message.length>0)return c.message;switch(a._tag){case"ValidationError":return`Invalid ${a.field}: ${a.reason}`;case"NotFoundError":return`${a.resource} not found: ${a.id}`;case"PermissionError":return`Permission denied: ${a.action} on ${a.resource}`;case"DBError":return`${a.db} ${a.op} failed`;case"FSError":return`${a.op} ${a.path} failed`;case"WSError":return`${a.proto} ${a.kind} failed`;case"AgentError":return`${a.provider} ${a.kind} failed`;default:return a._tag}})(a),tag:a._tag}),{status:c,headers:{"content-type":"application/json"}})}return console.error("[handler] uncaught defect:\n"+e.j9(a)),new Response(JSON.stringify({error:"Internal Server Error",tag:"InternalError"}),{status:500,headers:{"content-type":"application/json"}})},n=a=>async b=>{let c=await i.s9.runPromiseExit(a(b));return g.YW(c,{onFailure:a=>m(a),onSuccess:a=>a})},o=a=>async(b,c)=>{let d=await c.params,e=await i.s9.runPromiseExit(a(b,d));return g.YW(e,{onFailure:a=>m(a),onSuccess:a=>a})},p=a=>h.$mh({try:()=>a.json(),catch:()=>new j.yI({field:"body",reason:"invalid JSON"})});d()}catch(a){d(a)}})},79830:(a,b,c)=>{c.d(b,{CS:()=>h,Pn:()=>i,r8:()=>j});var d=c(7939),e=c(29021),f=c(4984);function g(a){if(!a)return a;let b=[...a];return b.length<=50?a:b.slice(0,50).join("")+"…"}async function h(a,b,c,f,h){if((0,e.existsSync)(a))return(0,d.Ux)(d.v4,async()=>{let e=await (0,d.JE)(d.v4,{sessions:[]});for(let a of e.sessions)a.status||(a.status=a.isLoading?"loading":"normal",delete a.isLoading);let i=e.sessions.findIndex(c=>c.cwd===a&&c.sessionId===b),j=i>=0?e.sessions[i]:void 0,k={cwd:a,sessionId:b,lastActive:Date.now(),status:c,title:g(f||j?.title),lastUserMessage:g(h||j?.lastUserMessage)};i>=0?e.sessions[i]=k:e.sessions.push(k),e.sessions.sort((a,b)=>b.lastActive-a.lastActive),e.sessions=e.sessions.slice(0,15),await (0,d.An)(d.v4,e)})}async function i(a,b){let c=(0,d.Kk)(a,b);if((0,e.existsSync)(c))return m(c);let f=(0,d.oZ)(a,b);if((0,e.existsSync)(f))return m(f);let g=(0,d.yw)(a,b);if((0,e.existsSync)(g))return m(g);let h=(0,d.eg)(b);if(h&&(0,e.existsSync)(h))return await p(h)||"Untitled Session";let i=(0,d.vI)(b);return i&&(0,e.existsSync)(i)&&await r(i)||"Untitled Session"}async function j(a,b){let c=(0,d.Kk)(a,b);if((0,e.existsSync)(c))return await n(c);let f=(0,d.oZ)(a,b);if((0,e.existsSync)(f))return await n(f);let g=(0,d.yw)(a,b);if((0,e.existsSync)(g))return await n(g);let h=(0,d.eg)(b);if(h&&(0,e.existsSync)(h))return await o(h);let i=(0,d.vI)(b);if(i&&(0,e.existsSync)(i))return await q(i)}function k(a){let b=a.replace(/<command-[^>]*>[\s\S]*?<\/command-[^>]*>/g,"");return(b=b.replace(/<local-command-[^>]*>[\s\S]*?<\/local-command-[^>]*>/g,"")).trim()}function l(a){return!(a.startsWith("This session is being continued")||a.startsWith("Caveat: The messages below"))&&!!a.trim()}async function m(a){try{let d=(0,e.createReadStream)(a),g=(0,f.createInterface)({input:d,crlfDelay:1/0}),h="",i=[];for await(let a of g)if(a.trim())try{let b=JSON.parse(a);if("summary"===b.type&&b.summary&&(h=b.summary),"user"===b.type){let a=b.message;if(!a?.content)continue;if("string"==typeof a.content)i.push(a.content);else if(Array.isArray(a.content))for(let b of a.content)"text"===b.type&&b.text&&i.push(b.text)}}catch{}var b=h,c=i;if(b)return b;let j="";for(let a of c){let b=k(a);if(b){if(b.startsWith("/")&&!j){j=b;continue}if(j)return`${j} ${b}`;return b}}return j||"Untitled Session"}catch{return"Untitled Session"}}async function n(a){try{let b,c=(0,e.createReadStream)(a);for await(let a of(0,f.createInterface)({input:c,crlfDelay:1/0}))if(a.trim())try{let c=JSON.parse(a);if("user"!==c.type)continue;let d=c.message;if(!d?.content)continue;let e="";if("string"==typeof d.content)e=d.content;else if(Array.isArray(d.content)){for(let a of d.content)if("text"===a.type&&a.text){e=a.text;break}}if(!e)continue;let f=k(e);f&&l(f)&&(b=f)}catch{}return b}catch{return}}async function o(a){try{let b,c=(0,e.createReadStream)(a);for await(let a of(0,f.createInterface)({input:c,crlfDelay:1/0})){let c;if(!a.trim())continue;try{c=JSON.parse(a)}catch{continue}if("response_item"!==c.type)continue;let d=c.payload;if(!d||"message"!==d.type||"user"!==d.role)continue;let e=d.content?.filter(a=>"input_text"===a.type&&a.text).map(a=>a.text).join("")||"";if(!e||e.startsWith("<")||e.startsWith("#"))continue;let f=k(e);f&&l(f)&&(b=f)}return b}catch{return}}async function p(a){try{let b=(0,e.createReadStream)(a);for await(let a of(0,f.createInterface)({input:b,crlfDelay:1/0})){let b;if(!a.trim())continue;try{b=JSON.parse(a)}catch{continue}if("response_item"!==b.type)continue;let c=b.payload;if(!c||"message"!==c.type||"user"!==c.role)continue;let d=c.content?.filter(a=>"input_text"===a.type&&a.text).map(a=>a.text).join("")||"";if(!(!d||d.startsWith("<")||d.startsWith("#")))return d.slice(0,80)}return}catch{return}}async function q(a){try{let b,c=(0,e.createReadStream)(a);for await(let a of(0,f.createInterface)({input:c,crlfDelay:1/0})){let c;if(!a.trim())continue;try{c=JSON.parse(a)}catch{continue}if("user"!==c.role)continue;let d="string"==typeof c.content?c.content:Array.isArray(c.content)?c.content.filter(a=>("input_text"===a.type||"text"===a.type)&&a.text).map(a=>a.text).join(""):"";if(!d||d.startsWith("<system")||d.startsWith("<environment")||d.startsWith("# AGENTS.md")||d.startsWith("<permissions"))continue;let e=k(d);e&&l(e)&&(b=e)}return b}catch{return}}async function r(a){try{let b=(0,e.createReadStream)(a);for await(let a of(0,f.createInterface)({input:b,crlfDelay:1/0})){let b;if(!a.trim())continue;try{b=JSON.parse(a)}catch{continue}if("user"!==b.role)continue;let c="string"==typeof b.content?b.content:Array.isArray(b.content)?b.content.filter(a=>("input_text"===a.type||"text"===a.type)&&a.text).map(a=>a.text).join(""):"";if(!(!c||c.startsWith("<system")||c.startsWith("<environment")||c.startsWith("# AGENTS.md")||c.startsWith("<permissions")))return c.slice(0,80)}return}catch{return}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:118,errorRate:1e-4,numBits:2263,numHashes:14,bitArray:[1,1,0,1,0,1,1,1,1,0,0,1,0,1,1,0,1,0,0,1,0,0,0,0,0,1,1,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,1,0,0,1,0,0,1,0,0,1,1,1,1,1,0,0,1,1,1,0,1,0,0,1,1,1,1,1,0,0,1,0,0,1,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,0,1,1,0,0,1,1,1,0,0,1,1,0,1,1,0,0,1,0,0,1,1,1,1,0,0,0,1,0,1,1,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,0,1,1,0,0,1,1,1,0,0,0,1,1,1,1,1,0,1,1,1,1,0,0,0,0,1,1,1,0,1,0,0,1,0,1,1,0,1,0,1,1,0,0,0,0,0,1,0,1,0,1,1,1,1,1,0,1,0,0,1,0,0,1,0,0,0,0,1,0,1,0,0,0,0,1,1,1,0,0,1,0,1,0,1,1,1,0,1,1,0,1,0,0,0,0,0,0,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0,1,0,0,1,0,1,1,1,1,1,0,1,1,0,1,0,0,0,0,0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,1,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,1,1,0,0,0,1,0,1,1,0,1,0,0,1,1,1,1,0,0,0,1,1,1,1,0,1,0,0,1,0,0,1,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,0,1,0,1,0,0,0,1,1,0,1,0,1,0,1,1,0,0,1,0,0,1,1,1,1,1,0,0,1,0,0,1,0,0,0,0,0,1,0,1,0,1,1,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,1,1,0,1,0,1,0,0,0,1,0,1,0,0,0,1,1,1,1,1,0,1,1,1,0,1,1,0,1,0,1,1,0,0,0,0,1,0,0,0,1,0,1,1,0,0,1,0,0,0,1,0,1,1,1,1,0,1,1,0,0,1,0,1,1,1,1,0,1,1,1,0,1,1,0,1,0,1,1,1,0,1,0,0,1,1,0,1,0,0,1,1,1,0,0,1,1,0,1,1,0,1,0,0,1,1,0,0,1,1,1,1,1,1,1,1,0,1,0,0,0,1,1,0,0,0,0,1,0,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,0,0,1,0,1,1,1,1,1,0,1,0,0,0,1,1,0,1,1,1,1,0,1,0,1,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,0,1,0,1,1,1,0,1,0,1,0,0,1,1,1,1,1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,1,1,0,1,1,1,1,0,0,1,1,1,0,0,1,1,1,1,1,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,1,1,0,1,0,0,1,1,0,0,1,1,1,0,1,0,0,0,1,1,0,1,0,1,1,0,1,1,0,0,0,0,1,1,1,0,0,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,0,0,1,1,1,0,1,0,0,0,0,0,0,0,1,1,1,0,1,0,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,1,0,0,1,1,0,1,1,1,1,1,0,1,1,0,0,0,0,1,1,1,0,1,0,1,1,0,1,0,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,1,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,1,1,1,1,1,1,0,0,0,0,1,1,0,1,1,0,0,1,1,1,0,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,0,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,0,0,0,1,1,0,1,0,0,0,1,1,0,1,0,1,1,0,0,1,0,0,1,0,1,0,0,0,1,1,0,1,1,1,1,1,1,1,0,0,1,1,1,1,1,0,1,0,1,0,1,0,1,1,1,1,0,0,0,1,1,0,0,0,0,0,1,0,0,1,1,0,0,1,0,0,0,0,1,0,0,0,1,1,0,0,0,0,1,1,1,0,1,1,1,1,0,0,1,1,0,0,1,1,1,0,0,1,0,1,1,0,0,0,1,1,1,0,0,1,0,1,1,1,0,1,1,0,0,1,1,1,1,0,0,1,1,1,1,1,1,0,0,1,0,1,1,1,1,0,1,1,0,0,1,1,0,1,1,0,0,0,0,1,1,1,1,0,0,1,0,1,0,1,1,0,0,0,0,0,0,1,1,1,0,1,1,1,0,1,0,1,0,1,0,0,0,1,1,1,1,0,0,0,0,1,1,0,1,0,0,0,0,0,1,0,1,1,1,0,0,1,0,1,0,1,0,1,1,1,1,0,0,0,1,1,0,0,1,0,1,1,0,0,0,1,0,0,0,1,1,1,0,0,0,0,1,1,0,1,1,1,0,1,0,1,0,0,0,0,1,1,1,1,1,1,0,1,0,1,1,1,1,0,1,0,0,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0,0,1,0,0,1,1,1,0,1,0,1,0,1,1,1,0,0,0,0,1,1,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0,1,1,1,1,0,1,0,1,1,0,0,0,0,1,1,0,0,0,1,0,0,1,0,1,1,0,0,0,1,0,0,1,1,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,0,1,1,0,1,0,1,0,0,0,0,0,0,1,1,1,1,0,1,1,0,0,1,0,1,0,1,0,1,0,0,0,1,1,0,0,0,0,1,1,0,1,0,0,0,1,0,1,0,0,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,0,0,0,1,1,1,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,0,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,1,1,0,0,1,0,1,0,1,1,1,1,0,0,1,1,0,1,1,0,1,0,0,0,0,1,1,0,0,1,1,0,0,0,0,1,1,0,1,0,0,1,1,1,1,1,0,0,1,0,0,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0,0,1,1,1,1,1,1,0,1,0,1,0,1,0,0,1,1,1,0,1,0,0,0,0,0,1,1,1,1,0,1,0,1,0,0,1,0,1,1,1,0,1,0,0,0,1,0,1,0,1,1,1,1,0,0,0,0,0,1,0,1,0,1,0,0,1,1,0,1,0,1,0,1,0,1,0,1,1,0,0,0,0,0,0,1,1,1,0,0,1,0,0,0,1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,1,0,1,1,0,0,0,1,1,0,0,1,1,0,0,0,1,0,1,0,1,0,0,0,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,0,1,0,1,1,1,1,1,1,0,0,0,1,0,1,1,1,1,0,0,0,0,1,1,1,0,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,0,0,1,1,0,1,0,0,0,1,0,0,0,0,1,1,1,0,0,1,0,0,0,0,1,0,1,0,1,1,1,1,1,0,1,0,0,1,1,1,0,1,0,1,0,1,0,0,0,0,1,0,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,1,1,1,0,0,0,0,0,1,0,0,0,1,0,0,1,1,1,1,1,0,1,1,1,0,1,0,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,0,0,0,0,1,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,1,0,0,1,1,1,1,0,1,1,1,0,0,1,0,0,1,0,1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,0,1,0,1,0,0,1,1,1,1,1,0,0,0,1,1,1,0,0,0,1,0,0,0,1,0,1,0,0,0,1,1,0,0,1,1,1,1,1,0,1,1,1,1,0,1,0,0,1,1,0,0,0,1,1,0,1,1,1,0,1,0,0,1,0,1,0,1,1,1,1,1,1,0,1,1,0,1,1,0,1,1,1,1,0,1,0,0,1,0,1,0,1,1,1,1,1,0,1,1,1,1,1,0,0,1,0,0,1,0,0,0,0,1,0,1,1,1,0,0,1,1,1,1,0,0,1,0,1,0,0,1,0,1,1,1,1,0,1,0,0,1,1,1,0,1,0,1,0,0,1,1,0,1,1,0,1,0,1,0,0,0,1,1,1,1,1,1,0,1,0,0,1,0,1,0,1,0,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,0,1,1,1,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,0,0,1,0,1,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,0,1,0,1,1,0,0,0,0,0,0,1,1,1,0,0,1,1,0,1,1,0,0,1,1,1,1,0,1,0,1,0,1,1,0,0,0,0,0,0,0,1,1,0,1,1,1,0,1,1,1,1,1,1,0,1,1,0,1,0]},__routerFilterDynamic:{numItems:5,errorRate:1e-4,numBits:96,numHashes:14,bitArray:[1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,1,1,0,0,0,1,1,1,0,1,0,1,1,0,0,0,0,1,0,1,1,1,1,1,1,0,0,1,1,0,1,0,0,0,0,1,0,1,0,1,1,0,1,0,1,1,1,0,1,0,1,0,1,1,0,1,0,0,1,0,0,0,1,0,0,1,0,1,0,0,0,1,1,0,1,1,0,1,1,0]},sortedPages:["/_app"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|