@surething/cockpit 1.0.271 → 1.0.273
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +4 -3
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +6 -0
- package/.next-prod/server/app/_global-error/page.js +2 -2
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next-prod/server/app/api/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +1 -1
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +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 +2 -2
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/extension/version/route.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/file/route.js +1 -1
- package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/blame/route.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/copy/route.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/delete/route.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/index/route.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/paste/route.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/read/route.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/save/route.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/search/route.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/stat/route.js +1 -1
- package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/text/route.js +1 -1
- package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/blob/route.js +1 -1
- package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branches/route.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commits/route.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/diff/route.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/discard/route.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/stage/route.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/status/route.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/models/route.js +1 -1
- package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/global-state/route.js +1 -1
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -1
- package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/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 -1
- package/.next-prod/server/app/api/prompts/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/restart/route.js +1 -1
- package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/identify/route.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/order/route.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/route.js +1 -1
- package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/users/route.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js +1 -0
- package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/session/user-messages/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/session-by-path/route.js +1 -3
- 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/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/content/route.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/route.js +1 -1
- package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/update/route.js +1 -1
- package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/update-state/route.js +1 -1
- package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/version/route.js +1 -1
- package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
- package/.next-prod/server/app/favicon.ico/route.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next-prod/server/app/m/page.js +1 -1
- package/.next-prod/server/app/m/page.js.nft.json +1 -1
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
- package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next-prod/server/app/page.js +1 -1
- package/.next-prod/server/app/page.js.nft.json +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +1 -1
- package/.next-prod/server/app/project/page.js.nft.json +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +4 -3
- package/.next-prod/server/chunks/1237.js +1 -0
- package/.next-prod/server/chunks/4949.js +1 -1
- package/.next-prod/server/chunks/{5766.js → 5433.js} +4 -4
- package/.next-prod/server/chunks/5750.js +18 -18
- package/.next-prod/server/chunks/6548.js +1 -1
- package/.next-prod/server/chunks/8616.js +3 -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/5390-e2c2386e8288a254.js +32 -0
- package/.next-prod/static/chunks/7184-8b7ad4ccea8b15a3.js +17 -0
- package/.next-prod/static/chunks/{9200-2d063007a9a86cd2.js → 7570-ebe01cce6f28a79f.js} +2 -2
- package/.next-prod/static/chunks/9092-a942df8114966b59.js +716 -0
- package/.next-prod/static/chunks/app/_global-error/page-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/prompts/config/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/{layout-0782cd43a14c7ee2.js → layout-915635f208cba4b3.js} +1 -1
- package/.next-prod/static/chunks/app/m/{page-241cf89338a0f255.js → page-8442a2605d0feb3f.js} +1 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/app/{page-ca2a81ab87931cdb.js → page-48dc2d6146301fd7.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-ca2a81ab87931cdb.js → page-48dc2d6146301fd7.js} +1 -1
- package/.next-prod/static/chunks/app/review/[id]/{page-556db82704d074ab.js → page-1fe42d46b22c6482.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-0bc5d188dc4650ab.js +1 -0
- package/.next-prod/static/css/ec2765469545dfce.css +1 -0
- package/.next-prod/static/qoIca6xp2OKAJtDEvMaXC/_buildManifest.js +1 -0
- package/.next-prod/trace +14 -14
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/session/user-messages/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +2 -1
- package/.next-prod/types/validator.ts +9 -0
- package/bin/cock-browser.mjs +65 -2
- package/dist/{cache-GIQJA4HL.mjs → cache-VBRI47HG.mjs} +28 -0
- package/dist/{chunk-RZY32R7X.mjs → chunk-4EU4KZIO.mjs} +1 -0
- package/dist/{chunk-WLCT5LHX.mjs → chunk-PB4GBZQO.mjs} +191 -39
- package/dist/{chunk-VAOGZ6SO.mjs → chunk-TOA52B2X.mjs} +1 -1
- package/dist/chunk-UG6WUXIQ.mjs +2907 -0
- package/dist/httpApi.mjs +58 -2
- package/dist/scheduledTasks.mjs +36 -8
- package/dist/wsServer.mjs +23 -2810
- package/package.json +1 -1
- package/public/html-lib/markdown.css +114 -70
- package/public/html-lib/markdown.js +56 -56
- package/public/tree-sitter/tree-sitter-lean.wasm +0 -0
- package/scripts/copy-tree-sitter-wasms.mjs +33 -3
- package/skills/cc/SKILL.md +26 -1
- package/skills/cg/SKILL.md +140 -14
- package/.next-prod/server/chunks/2540.js +0 -1
- package/.next-prod/static/BRgWyE48IVXSuUJ4BLHQb/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/2302-5e8daad0800c3c02.js +0 -32
- package/.next-prod/static/chunks/6784-8e0e9ea22ff4a60f.js +0 -716
- package/.next-prod/static/chunks/7184-b6fb5d3287fc073c.js +0 -17
- package/.next-prod/static/chunks/app/_global-error/page-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/prompts/config/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-891e1a9c2b8144f7.js +0 -1
- package/.next-prod/static/css/ea27ccfe01ce807c.css +0 -1
- /package/.next-prod/static/{BRgWyE48IVXSuUJ4BLHQb → qoIca6xp2OKAJtDEvMaXC}/_ssgManifest.js +0 -0
package/.next-prod/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":12443812,"timestamp":165995553,"id":14,"parentId":1,"tags":{},"startTime":1788961230456,"traceId":"4fe1c82fb49ce793"},{"name":"run-typescript","duration":3311267,"timestamp":178442879,"id":1478,"parentId":1,"tags":{},"startTime":1788961242904,"traceId":"4fe1c82fb49ce793"},{"name":"static-check","duration":885145,"timestamp":181778281,"id":1481,"parentId":1,"tags":{},"startTime":1788961246239,"traceId":"4fe1c82fb49ce793"},{"name":"static-generation","duration":3822913,"timestamp":182748337,"id":1793,"parentId":1,"tags":{},"startTime":1788961247209,"traceId":"4fe1c82fb49ce793"},{"name":"collect-build-traces","duration":16744486,"timestamp":182663986,"id":1790,"parentId":1,"tags":{},"startTime":1788961247125,"traceId":"4fe1c82fb49ce793"},{"name":"telemetry-flush","duration":40,"timestamp":199411176,"id":1802,"parentId":1,"tags":{},"startTime":1788961263872,"traceId":"4fe1c82fb49ce793"},{"name":"next-build","duration":33510678,"timestamp":165900549,"id":1,"tags":{"buildMode":"default","version":"16.3.0","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1788961230361,"traceId":"4fe1c82fb49ce793"}]
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
// File: /home/runner/work/cockpit/cockpit/src/app/api/session/user-messages/route.ts
|
|
2
|
+
import * as entry from '../../../../../../src/app/api/session/user-messages/route.js'
|
|
3
|
+
import type { NextRequest } from 'next/server.js'
|
|
4
|
+
|
|
5
|
+
import type { InstantConfigForTypeCheckInternal, Prefetch } from 'next/dist/build/segment-config/app/app-segment-config.js'
|
|
6
|
+
|
|
7
|
+
type TEntry = typeof import('../../../../../../src/app/api/session/user-messages/route.js')
|
|
8
|
+
|
|
9
|
+
type SegmentParams<T extends Object = any> = T extends Record<string, any>
|
|
10
|
+
? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
|
|
11
|
+
: T
|
|
12
|
+
|
|
13
|
+
// Check that the entry is a valid entry
|
|
14
|
+
checkFields<Diff<{
|
|
15
|
+
GET?: Function
|
|
16
|
+
HEAD?: Function
|
|
17
|
+
OPTIONS?: Function
|
|
18
|
+
POST?: Function
|
|
19
|
+
PUT?: Function
|
|
20
|
+
DELETE?: Function
|
|
21
|
+
PATCH?: Function
|
|
22
|
+
config?: {}
|
|
23
|
+
generateStaticParams?: Function
|
|
24
|
+
instant?: InstantConfigForTypeCheckInternal
|
|
25
|
+
prefetch?: Prefetch
|
|
26
|
+
unstable_dynamicStaleTime?: number
|
|
27
|
+
revalidate?: RevalidateRange<TEntry> | false
|
|
28
|
+
dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
|
|
29
|
+
dynamicParams?: boolean
|
|
30
|
+
fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
|
|
31
|
+
/** @deprecated The `preferredRegion` config is deprecated. Remove this export. */
|
|
32
|
+
preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
|
|
33
|
+
runtime?: 'nodejs' | 'experimental-edge' | 'edge'
|
|
34
|
+
maxDuration?: number
|
|
35
|
+
|
|
36
|
+
}, TEntry, ''>>()
|
|
37
|
+
|
|
38
|
+
type RouteContext = { params: Promise<SegmentParams> }
|
|
39
|
+
// Check the prop type of the entry function
|
|
40
|
+
if ('GET' in entry) {
|
|
41
|
+
checkFields<
|
|
42
|
+
Diff<
|
|
43
|
+
ParamCheck<Request | NextRequest>,
|
|
44
|
+
{
|
|
45
|
+
__tag__: 'GET'
|
|
46
|
+
__param_position__: 'first'
|
|
47
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'GET'>>
|
|
48
|
+
},
|
|
49
|
+
'GET'
|
|
50
|
+
>
|
|
51
|
+
>()
|
|
52
|
+
checkFields<
|
|
53
|
+
Diff<
|
|
54
|
+
ParamCheck<RouteContext>,
|
|
55
|
+
{
|
|
56
|
+
__tag__: 'GET'
|
|
57
|
+
__param_position__: 'second'
|
|
58
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'GET'>>
|
|
59
|
+
},
|
|
60
|
+
'GET'
|
|
61
|
+
>
|
|
62
|
+
>()
|
|
63
|
+
|
|
64
|
+
checkFields<
|
|
65
|
+
Diff<
|
|
66
|
+
{
|
|
67
|
+
__tag__: 'GET',
|
|
68
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
__tag__: 'GET',
|
|
72
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'GET'>>
|
|
73
|
+
},
|
|
74
|
+
'GET'
|
|
75
|
+
>
|
|
76
|
+
>()
|
|
77
|
+
}
|
|
78
|
+
// Check the prop type of the entry function
|
|
79
|
+
if ('HEAD' in entry) {
|
|
80
|
+
checkFields<
|
|
81
|
+
Diff<
|
|
82
|
+
ParamCheck<Request | NextRequest>,
|
|
83
|
+
{
|
|
84
|
+
__tag__: 'HEAD'
|
|
85
|
+
__param_position__: 'first'
|
|
86
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'HEAD'>>
|
|
87
|
+
},
|
|
88
|
+
'HEAD'
|
|
89
|
+
>
|
|
90
|
+
>()
|
|
91
|
+
checkFields<
|
|
92
|
+
Diff<
|
|
93
|
+
ParamCheck<RouteContext>,
|
|
94
|
+
{
|
|
95
|
+
__tag__: 'HEAD'
|
|
96
|
+
__param_position__: 'second'
|
|
97
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'HEAD'>>
|
|
98
|
+
},
|
|
99
|
+
'HEAD'
|
|
100
|
+
>
|
|
101
|
+
>()
|
|
102
|
+
|
|
103
|
+
checkFields<
|
|
104
|
+
Diff<
|
|
105
|
+
{
|
|
106
|
+
__tag__: 'HEAD',
|
|
107
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
__tag__: 'HEAD',
|
|
111
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'HEAD'>>
|
|
112
|
+
},
|
|
113
|
+
'HEAD'
|
|
114
|
+
>
|
|
115
|
+
>()
|
|
116
|
+
}
|
|
117
|
+
// Check the prop type of the entry function
|
|
118
|
+
if ('OPTIONS' in entry) {
|
|
119
|
+
checkFields<
|
|
120
|
+
Diff<
|
|
121
|
+
ParamCheck<Request | NextRequest>,
|
|
122
|
+
{
|
|
123
|
+
__tag__: 'OPTIONS'
|
|
124
|
+
__param_position__: 'first'
|
|
125
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'OPTIONS'>>
|
|
126
|
+
},
|
|
127
|
+
'OPTIONS'
|
|
128
|
+
>
|
|
129
|
+
>()
|
|
130
|
+
checkFields<
|
|
131
|
+
Diff<
|
|
132
|
+
ParamCheck<RouteContext>,
|
|
133
|
+
{
|
|
134
|
+
__tag__: 'OPTIONS'
|
|
135
|
+
__param_position__: 'second'
|
|
136
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'OPTIONS'>>
|
|
137
|
+
},
|
|
138
|
+
'OPTIONS'
|
|
139
|
+
>
|
|
140
|
+
>()
|
|
141
|
+
|
|
142
|
+
checkFields<
|
|
143
|
+
Diff<
|
|
144
|
+
{
|
|
145
|
+
__tag__: 'OPTIONS',
|
|
146
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
__tag__: 'OPTIONS',
|
|
150
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'OPTIONS'>>
|
|
151
|
+
},
|
|
152
|
+
'OPTIONS'
|
|
153
|
+
>
|
|
154
|
+
>()
|
|
155
|
+
}
|
|
156
|
+
// Check the prop type of the entry function
|
|
157
|
+
if ('POST' in entry) {
|
|
158
|
+
checkFields<
|
|
159
|
+
Diff<
|
|
160
|
+
ParamCheck<Request | NextRequest>,
|
|
161
|
+
{
|
|
162
|
+
__tag__: 'POST'
|
|
163
|
+
__param_position__: 'first'
|
|
164
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'POST'>>
|
|
165
|
+
},
|
|
166
|
+
'POST'
|
|
167
|
+
>
|
|
168
|
+
>()
|
|
169
|
+
checkFields<
|
|
170
|
+
Diff<
|
|
171
|
+
ParamCheck<RouteContext>,
|
|
172
|
+
{
|
|
173
|
+
__tag__: 'POST'
|
|
174
|
+
__param_position__: 'second'
|
|
175
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'POST'>>
|
|
176
|
+
},
|
|
177
|
+
'POST'
|
|
178
|
+
>
|
|
179
|
+
>()
|
|
180
|
+
|
|
181
|
+
checkFields<
|
|
182
|
+
Diff<
|
|
183
|
+
{
|
|
184
|
+
__tag__: 'POST',
|
|
185
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
__tag__: 'POST',
|
|
189
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'POST'>>
|
|
190
|
+
},
|
|
191
|
+
'POST'
|
|
192
|
+
>
|
|
193
|
+
>()
|
|
194
|
+
}
|
|
195
|
+
// Check the prop type of the entry function
|
|
196
|
+
if ('PUT' in entry) {
|
|
197
|
+
checkFields<
|
|
198
|
+
Diff<
|
|
199
|
+
ParamCheck<Request | NextRequest>,
|
|
200
|
+
{
|
|
201
|
+
__tag__: 'PUT'
|
|
202
|
+
__param_position__: 'first'
|
|
203
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'PUT'>>
|
|
204
|
+
},
|
|
205
|
+
'PUT'
|
|
206
|
+
>
|
|
207
|
+
>()
|
|
208
|
+
checkFields<
|
|
209
|
+
Diff<
|
|
210
|
+
ParamCheck<RouteContext>,
|
|
211
|
+
{
|
|
212
|
+
__tag__: 'PUT'
|
|
213
|
+
__param_position__: 'second'
|
|
214
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'PUT'>>
|
|
215
|
+
},
|
|
216
|
+
'PUT'
|
|
217
|
+
>
|
|
218
|
+
>()
|
|
219
|
+
|
|
220
|
+
checkFields<
|
|
221
|
+
Diff<
|
|
222
|
+
{
|
|
223
|
+
__tag__: 'PUT',
|
|
224
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
__tag__: 'PUT',
|
|
228
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'PUT'>>
|
|
229
|
+
},
|
|
230
|
+
'PUT'
|
|
231
|
+
>
|
|
232
|
+
>()
|
|
233
|
+
}
|
|
234
|
+
// Check the prop type of the entry function
|
|
235
|
+
if ('DELETE' in entry) {
|
|
236
|
+
checkFields<
|
|
237
|
+
Diff<
|
|
238
|
+
ParamCheck<Request | NextRequest>,
|
|
239
|
+
{
|
|
240
|
+
__tag__: 'DELETE'
|
|
241
|
+
__param_position__: 'first'
|
|
242
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'DELETE'>>
|
|
243
|
+
},
|
|
244
|
+
'DELETE'
|
|
245
|
+
>
|
|
246
|
+
>()
|
|
247
|
+
checkFields<
|
|
248
|
+
Diff<
|
|
249
|
+
ParamCheck<RouteContext>,
|
|
250
|
+
{
|
|
251
|
+
__tag__: 'DELETE'
|
|
252
|
+
__param_position__: 'second'
|
|
253
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'DELETE'>>
|
|
254
|
+
},
|
|
255
|
+
'DELETE'
|
|
256
|
+
>
|
|
257
|
+
>()
|
|
258
|
+
|
|
259
|
+
checkFields<
|
|
260
|
+
Diff<
|
|
261
|
+
{
|
|
262
|
+
__tag__: 'DELETE',
|
|
263
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
__tag__: 'DELETE',
|
|
267
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'DELETE'>>
|
|
268
|
+
},
|
|
269
|
+
'DELETE'
|
|
270
|
+
>
|
|
271
|
+
>()
|
|
272
|
+
}
|
|
273
|
+
// Check the prop type of the entry function
|
|
274
|
+
if ('PATCH' in entry) {
|
|
275
|
+
checkFields<
|
|
276
|
+
Diff<
|
|
277
|
+
ParamCheck<Request | NextRequest>,
|
|
278
|
+
{
|
|
279
|
+
__tag__: 'PATCH'
|
|
280
|
+
__param_position__: 'first'
|
|
281
|
+
__param_type__: FirstArg<MaybeField<TEntry, 'PATCH'>>
|
|
282
|
+
},
|
|
283
|
+
'PATCH'
|
|
284
|
+
>
|
|
285
|
+
>()
|
|
286
|
+
checkFields<
|
|
287
|
+
Diff<
|
|
288
|
+
ParamCheck<RouteContext>,
|
|
289
|
+
{
|
|
290
|
+
__tag__: 'PATCH'
|
|
291
|
+
__param_position__: 'second'
|
|
292
|
+
__param_type__: SecondArg<MaybeField<TEntry, 'PATCH'>>
|
|
293
|
+
},
|
|
294
|
+
'PATCH'
|
|
295
|
+
>
|
|
296
|
+
>()
|
|
297
|
+
|
|
298
|
+
checkFields<
|
|
299
|
+
Diff<
|
|
300
|
+
{
|
|
301
|
+
__tag__: 'PATCH',
|
|
302
|
+
__return_type__: Response | void | never | Promise<Response | void | never>
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
__tag__: 'PATCH',
|
|
306
|
+
__return_type__: ReturnType<MaybeField<TEntry, 'PATCH'>>
|
|
307
|
+
},
|
|
308
|
+
'PATCH'
|
|
309
|
+
>
|
|
310
|
+
>()
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// Check the arguments and return type of the generateStaticParams function
|
|
314
|
+
if ('generateStaticParams' in entry) {
|
|
315
|
+
checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
|
|
316
|
+
checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export interface PageProps {
|
|
320
|
+
params?: Promise<SegmentParams>
|
|
321
|
+
searchParams?: Promise<any>
|
|
322
|
+
}
|
|
323
|
+
export interface LayoutProps {
|
|
324
|
+
children?: React.ReactNode
|
|
325
|
+
|
|
326
|
+
params?: Promise<SegmentParams>
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// =============
|
|
330
|
+
// Utility types
|
|
331
|
+
type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
|
|
332
|
+
|
|
333
|
+
// If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
|
|
334
|
+
type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
|
|
335
|
+
type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
|
|
336
|
+
|
|
337
|
+
type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
|
|
338
|
+
type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
|
|
339
|
+
type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
|
|
340
|
+
|
|
341
|
+
type ParamCheck<T> = {
|
|
342
|
+
__tag__: string
|
|
343
|
+
__param_position__: string
|
|
344
|
+
__param_type__: T
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
function checkFields<_ extends { [k in keyof any]: never }>() {}
|
|
348
|
+
|
|
349
|
+
// https://github.com/sindresorhus/type-fest
|
|
350
|
+
type Numeric = number | bigint
|
|
351
|
+
type Zero = 0 | 0n
|
|
352
|
+
type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
|
|
353
|
+
type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Do not edit this file manually
|
|
3
3
|
|
|
4
4
|
type AppRoutes = "/" | "/m" | "/project" | "/review/[id]"
|
|
5
|
-
type AppRouteHandlerRoutes = "/api/agent/test" | "/api/bash" | "/api/chat" | "/api/chat/codex" | "/api/chat/deepseek" | "/api/chat/glm" | "/api/chat/kimi" | "/api/chat/ollama" | "/api/chat/stop" | "/api/claude-stats" | "/api/commands" | "/api/comments" | "/api/db/columns" | "/api/db/connect" | "/api/db/disconnect" | "/api/db/export" | "/api/db/query" | "/api/db/schemas" | "/api/deepseek/balance" | "/api/deepseek/credentials" | "/api/deepseek/models" | "/api/dev/spans" | "/api/extension/version" | "/api/file" | "/api/files/blame" | "/api/files/clipboard" | "/api/files/copy" | "/api/files/delete" | "/api/files/expanded" | "/api/files/index" | "/api/files/init" | "/api/files/paste" | "/api/files/read" | "/api/files/readdir" | "/api/files/recent" | "/api/files/save" | "/api/files/search" | "/api/files/stat" | "/api/files/text" | "/api/git/blob" | "/api/git/branch-diff" | "/api/git/branches" | "/api/git/commit-diff" | "/api/git/commits" | "/api/git/current-branch" | "/api/git/diff" | "/api/git/discard" | "/api/git/stage" | "/api/git/status" | "/api/git/unstage" | "/api/git/worktree" | "/api/glm/credentials" | "/api/glm/models" | "/api/glm/usage" | "/api/global-state" | "/api/health" | "/api/html-apps" | "/api/html-apps/[id]" | "/api/kimi/credentials" | "/api/kimi/models" | "/api/kimi/usage" | "/api/lsp/definition" | "/api/lsp/hover" | "/api/lsp/references" | "/api/lsp/status" | "/api/lsp/warmup" | "/api/mysql/columns" | "/api/mysql/connect" | "/api/mysql/disconnect" | "/api/mysql/export" | "/api/mysql/query" | "/api/mysql/schemas" | "/api/neo4j/connect" | "/api/neo4j/disconnect" | "/api/neo4j/query" | "/api/neo4j/schema" | "/api/note" | "/api/ollama/config" | "/api/ollama/models" | "/api/ollama/start" | "/api/open-cursor" | "/api/open-vscode" | "/api/pick-folder" | "/api/pinned-sessions" | "/api/project-settings" | "/api/project-state" | "/api/projectGraph/affected" | "/api/projectGraph/callees" | "/api/projectGraph/callers" | "/api/projectGraph/coedit" | "/api/projectGraph/context" | "/api/projectGraph/file" | "/api/projectGraph/file-functions" | "/api/projectGraph/impact" | "/api/projectGraph/related" | "/api/projectGraph/risk" | "/api/projectGraph/search" | "/api/projects" | "/api/prompts/config" | "/api/push/public-key" | "/api/push/subscribe" | "/api/push/unsubscribe" | "/api/redis/command" | "/api/redis/connect" | "/api/redis/delete" | "/api/redis/disconnect" | "/api/redis/get" | "/api/redis/keys" | "/api/redis/set" | "/api/restart" | "/api/review" | "/api/review/[id]" | "/api/review/[id]/comments" | "/api/review/[id]/replies" | "/api/review/identify" | "/api/review/order" | "/api/review/share-info" | "/api/review/users" | "/api/scheduled-tasks" | "/api/services/config" | "/api/services/scripts" | "/api/session-by-path" | "/api/session/[sessionId]/fork" | "/api/session/[sessionId]/history" | "/api/sessions" | "/api/sessions/projects" | "/api/sessions/projects/[encodedPath]" | "/api/settings" | "/api/shutdown" | "/api/skills" | "/api/skills/[id]" | "/api/skills/content" | "/api/snapshots" | "/api/snapshots/blob" | "/api/snapshots/diff" | "/api/terminal/aliases" | "/api/terminal/autocomplete" | "/api/terminal/bubble-order" | "/api/terminal/env" | "/api/terminal/history" | "/api/update" | "/api/update-state" | "/api/version" | "/apps/[...path]"
|
|
5
|
+
type AppRouteHandlerRoutes = "/api/agent/test" | "/api/bash" | "/api/chat" | "/api/chat/codex" | "/api/chat/deepseek" | "/api/chat/glm" | "/api/chat/kimi" | "/api/chat/ollama" | "/api/chat/stop" | "/api/claude-stats" | "/api/commands" | "/api/comments" | "/api/db/columns" | "/api/db/connect" | "/api/db/disconnect" | "/api/db/export" | "/api/db/query" | "/api/db/schemas" | "/api/deepseek/balance" | "/api/deepseek/credentials" | "/api/deepseek/models" | "/api/dev/spans" | "/api/extension/version" | "/api/file" | "/api/files/blame" | "/api/files/clipboard" | "/api/files/copy" | "/api/files/delete" | "/api/files/expanded" | "/api/files/index" | "/api/files/init" | "/api/files/paste" | "/api/files/read" | "/api/files/readdir" | "/api/files/recent" | "/api/files/save" | "/api/files/search" | "/api/files/stat" | "/api/files/text" | "/api/git/blob" | "/api/git/branch-diff" | "/api/git/branches" | "/api/git/commit-diff" | "/api/git/commits" | "/api/git/current-branch" | "/api/git/diff" | "/api/git/discard" | "/api/git/stage" | "/api/git/status" | "/api/git/unstage" | "/api/git/worktree" | "/api/glm/credentials" | "/api/glm/models" | "/api/glm/usage" | "/api/global-state" | "/api/health" | "/api/html-apps" | "/api/html-apps/[id]" | "/api/kimi/credentials" | "/api/kimi/models" | "/api/kimi/usage" | "/api/lsp/definition" | "/api/lsp/hover" | "/api/lsp/references" | "/api/lsp/status" | "/api/lsp/warmup" | "/api/mysql/columns" | "/api/mysql/connect" | "/api/mysql/disconnect" | "/api/mysql/export" | "/api/mysql/query" | "/api/mysql/schemas" | "/api/neo4j/connect" | "/api/neo4j/disconnect" | "/api/neo4j/query" | "/api/neo4j/schema" | "/api/note" | "/api/ollama/config" | "/api/ollama/models" | "/api/ollama/start" | "/api/open-cursor" | "/api/open-vscode" | "/api/pick-folder" | "/api/pinned-sessions" | "/api/project-settings" | "/api/project-state" | "/api/projectGraph/affected" | "/api/projectGraph/callees" | "/api/projectGraph/callers" | "/api/projectGraph/coedit" | "/api/projectGraph/context" | "/api/projectGraph/file" | "/api/projectGraph/file-functions" | "/api/projectGraph/impact" | "/api/projectGraph/related" | "/api/projectGraph/risk" | "/api/projectGraph/search" | "/api/projects" | "/api/prompts/config" | "/api/push/public-key" | "/api/push/subscribe" | "/api/push/unsubscribe" | "/api/redis/command" | "/api/redis/connect" | "/api/redis/delete" | "/api/redis/disconnect" | "/api/redis/get" | "/api/redis/keys" | "/api/redis/set" | "/api/restart" | "/api/review" | "/api/review/[id]" | "/api/review/[id]/comments" | "/api/review/[id]/replies" | "/api/review/identify" | "/api/review/order" | "/api/review/share-info" | "/api/review/users" | "/api/scheduled-tasks" | "/api/services/config" | "/api/services/scripts" | "/api/session-by-path" | "/api/session/[sessionId]/fork" | "/api/session/[sessionId]/history" | "/api/session/user-messages" | "/api/sessions" | "/api/sessions/projects" | "/api/sessions/projects/[encodedPath]" | "/api/settings" | "/api/shutdown" | "/api/skills" | "/api/skills/[id]" | "/api/skills/content" | "/api/snapshots" | "/api/snapshots/blob" | "/api/snapshots/diff" | "/api/terminal/aliases" | "/api/terminal/autocomplete" | "/api/terminal/bubble-order" | "/api/terminal/env" | "/api/terminal/history" | "/api/update" | "/api/update-state" | "/api/version" | "/apps/[...path]"
|
|
6
6
|
type PageRoutes = never
|
|
7
7
|
type LayoutRoutes = "/"
|
|
8
8
|
type RedirectRoutes = never
|
|
@@ -136,6 +136,7 @@ interface ParamMap {
|
|
|
136
136
|
"/api/session-by-path": {}
|
|
137
137
|
"/api/session/[sessionId]/fork": { "sessionId": string; }
|
|
138
138
|
"/api/session/[sessionId]/history": { "sessionId": string; }
|
|
139
|
+
"/api/session/user-messages": {}
|
|
139
140
|
"/api/sessions": {}
|
|
140
141
|
"/api/sessions/projects": {}
|
|
141
142
|
"/api/sessions/projects/[encodedPath]": { "encodedPath": string; }
|
|
@@ -1199,6 +1199,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
|
|
1199
1199
|
type __Unused = __Check
|
|
1200
1200
|
}
|
|
1201
1201
|
|
|
1202
|
+
// Validate ../../src/app/api/session/user-messages/route.ts
|
|
1203
|
+
{
|
|
1204
|
+
type __IsExpected<Specific extends RouteHandlerConfig<"/api/session/user-messages">> = Specific
|
|
1205
|
+
const handler = {} as typeof import("../../src/app/api/session/user-messages/route.js")
|
|
1206
|
+
type __Check = __IsExpected<typeof handler>
|
|
1207
|
+
// @ts-ignore
|
|
1208
|
+
type __Unused = __Check
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1202
1211
|
// Validate ../../src/app/api/sessions/projects/[encodedPath]/route.ts
|
|
1203
1212
|
{
|
|
1204
1213
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/sessions/projects/[encodedPath]">> = Specific
|
package/bin/cock-browser.mjs
CHANGED
|
@@ -81,6 +81,16 @@ re-snapshot OR use \`click --text\` / \`click --selector\` /
|
|
|
81
81
|
|
|
82
82
|
──────────────────────────────────────────────────────
|
|
83
83
|
|
|
84
|
+
Bubbles (create / destroy — no <id> needed for open):
|
|
85
|
+
cockpit browser open <url> [--cwd PATH] [--wait-ms N]
|
|
86
|
+
Open a console browser bubble in the project that
|
|
87
|
+
owns --cwd (default: shell cwd), auto-register its
|
|
88
|
+
bridge, and print the shortId to drive it with.
|
|
89
|
+
Exit 2 if no Cockpit UI picked it up (bubble is
|
|
90
|
+
persisted, but nothing is driving it yet).
|
|
91
|
+
cockpit browser <id> close [--cwd PATH]
|
|
92
|
+
Close the bubble and remove it from the console.
|
|
93
|
+
|
|
84
94
|
Navigation:
|
|
85
95
|
navigate <url> Navigate to URL
|
|
86
96
|
reload [--noCache] Reload page
|
|
@@ -165,6 +175,13 @@ let id, action;
|
|
|
165
175
|
if (args[0] === 'list') {
|
|
166
176
|
id = null;
|
|
167
177
|
action = 'list';
|
|
178
|
+
} else if (args[0] === 'open') {
|
|
179
|
+
// `open` creates a bubble rather than addressing one, so the first token is
|
|
180
|
+
// the action, not an id. (A shortId is also four lowercase letters, so `open`
|
|
181
|
+
// and `list` are in principle collidable — the same trade-off `list` already
|
|
182
|
+
// makes; a colliding bubble is still reachable via every other action.)
|
|
183
|
+
id = null;
|
|
184
|
+
action = 'open';
|
|
168
185
|
} else {
|
|
169
186
|
id = args[0];
|
|
170
187
|
action = args[1];
|
|
@@ -213,12 +230,13 @@ function parseFlags(flagArgs) {
|
|
|
213
230
|
return params;
|
|
214
231
|
}
|
|
215
232
|
|
|
216
|
-
const params = parseFlags(args.slice(action === 'list' ? 1 : 2));
|
|
233
|
+
const params = parseFlags(args.slice(action === 'list' || action === 'open' ? 1 : 2));
|
|
217
234
|
|
|
218
235
|
// Positional argument handling: some commands treat the first positional as a special value
|
|
219
236
|
if (params._positional?.length) {
|
|
220
237
|
const pos = params._positional;
|
|
221
238
|
if (action === 'navigate' && !params.url) params.url = pos[0];
|
|
239
|
+
if (action === 'open' && !params.url) params.url = pos[0];
|
|
222
240
|
// click: positional is the ref (or text fallback for convenience if it does
|
|
223
241
|
// not look like a ref). Refs match e<N>#v<M>; anything else is treated as
|
|
224
242
|
// visible text so `click "Sign in"` Just Works.
|
|
@@ -276,6 +294,7 @@ if (params['console-no-errors']) { params.consoleNoErrors = true; delete params[
|
|
|
276
294
|
if (params['same-site']) { params.sameSite = params['same-site']; delete params['same-site']; }
|
|
277
295
|
if (params['http-only']) { params.httpOnly = true; delete params['http-only']; }
|
|
278
296
|
if (params['verify-ms'] != null) { params.verifyMs = Number(params['verify-ms']); delete params['verify-ms']; }
|
|
297
|
+
if (params['wait-ms'] != null) { params.waitMs = Number(params['wait-ms']); delete params['wait-ms']; }
|
|
279
298
|
|
|
280
299
|
// kebab → camel for flags that the extension expects camel.
|
|
281
300
|
if (params['include-hidden-text']) { params.includeHiddenText = true; delete params['include-hidden-text']; }
|
|
@@ -301,9 +320,24 @@ if (!process.env.COCKPIT_PORT) {
|
|
|
301
320
|
}
|
|
302
321
|
delete params.port;
|
|
303
322
|
const baseUrl = `http://localhost:${port}`;
|
|
304
|
-
|
|
323
|
+
// `open` blocks server-side until the bubble registers (--wait-ms); the HTTP
|
|
324
|
+
// timeout has to outlast that wait or the CLI aborts a request that was about
|
|
325
|
+
// to succeed.
|
|
326
|
+
const timeout = params.timeout
|
|
327
|
+
|| (action === 'open' && params.waitMs > 10000 ? params.waitMs + 5000 : 15000);
|
|
305
328
|
delete params.timeout;
|
|
306
329
|
|
|
330
|
+
// The CLI name to suggest in output: dev server (3456) is only reachable via
|
|
331
|
+
// `cockpit-dev`, which has no short alias.
|
|
332
|
+
const cockBin = String(port) === '3456' ? 'cockpit-dev' : 'cockpit';
|
|
333
|
+
|
|
334
|
+
// `open` / `close` address a project on disk rather than a live page, so they
|
|
335
|
+
// need a cwd. Default to where the shell is standing; the server walks up from
|
|
336
|
+
// there to the project that actually owns the console.
|
|
337
|
+
if ((action === 'open' || action === 'close') && !params.cwd) {
|
|
338
|
+
params.cwd = process.cwd();
|
|
339
|
+
}
|
|
340
|
+
|
|
307
341
|
// Quickly fetch browser url and title (2s timeout, silently return empty on failure)
|
|
308
342
|
async function fetchBrowserInfo(shortId) {
|
|
309
343
|
try {
|
|
@@ -665,6 +699,35 @@ async function formatOutput(action, data) {
|
|
|
665
699
|
|
|
666
700
|
// Special formatting
|
|
667
701
|
switch (action) {
|
|
702
|
+
case 'open':
|
|
703
|
+
console.log(
|
|
704
|
+
data.registered
|
|
705
|
+
? `${data.shortId} → registered and ready`
|
|
706
|
+
: `${data.shortId} → created, but NOT registered`
|
|
707
|
+
);
|
|
708
|
+
console.log(` url: ${data.url}`);
|
|
709
|
+
console.log(` project: ${data.projectCwd}`);
|
|
710
|
+
if (data.registered) {
|
|
711
|
+
console.log(` next: ${cockBin} browser ${data.shortId} snapshot`);
|
|
712
|
+
console.log(` close: ${cockBin} browser ${data.shortId} close`);
|
|
713
|
+
} else {
|
|
714
|
+
console.log(
|
|
715
|
+
`\n No Cockpit UI applied the bubble, so nothing is driving it.\n` +
|
|
716
|
+
` The entry is persisted — it will appear when this project is next\n` +
|
|
717
|
+
` opened in Cockpit. Open the project (or check --cwd) and retry.`
|
|
718
|
+
);
|
|
719
|
+
process.exit(2);
|
|
720
|
+
}
|
|
721
|
+
return;
|
|
722
|
+
|
|
723
|
+
case 'close':
|
|
724
|
+
console.log(
|
|
725
|
+
data.removed
|
|
726
|
+
? `closed ${data.shortId}`
|
|
727
|
+
: `closed ${data.shortId} (no persisted entry — nothing to remove)`
|
|
728
|
+
);
|
|
729
|
+
return;
|
|
730
|
+
|
|
668
731
|
case 'snapshot':
|
|
669
732
|
// a11y tree: output as plain text
|
|
670
733
|
console.log(typeof data === 'string' ? data : JSON.stringify(data, null, 2));
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
countIndexSymbols
|
|
3
|
+
} from "./chunk-UG6WUXIQ.mjs";
|
|
1
4
|
import "./chunk-7P6ASYW6.mjs";
|
|
2
5
|
|
|
3
6
|
// packages/feature/explorer/src/server/codeMap/analytics/types.ts
|
|
@@ -444,6 +447,22 @@ function cachedPPR(entry, seeds, opts = {}) {
|
|
|
444
447
|
var cache = /* @__PURE__ */ new Map();
|
|
445
448
|
var inflight = /* @__PURE__ */ new Map();
|
|
446
449
|
var versionCounter = 0;
|
|
450
|
+
var MAX_ANALYTICS_SYMBOLS = 2e5;
|
|
451
|
+
var oversizedReported = /* @__PURE__ */ new Set();
|
|
452
|
+
function isAnalyticsOversized(index) {
|
|
453
|
+
const n = countIndexSymbols(index);
|
|
454
|
+
if (n <= MAX_ANALYTICS_SYMBOLS) return false;
|
|
455
|
+
if (!oversizedReported.has(index.cwd)) {
|
|
456
|
+
oversizedReported.add(index.cwd);
|
|
457
|
+
console.warn(
|
|
458
|
+
`[analytics] skipping precompute for ${index.cwd}: ${n} symbols exceeds MAX_ANALYTICS_SYMBOLS=${MAX_ANALYTICS_SYMBOLS}. context / related / risk will report degraded results; search / file / callers / callees / impact / coedit are unaffected.`
|
|
459
|
+
);
|
|
460
|
+
}
|
|
461
|
+
return true;
|
|
462
|
+
}
|
|
463
|
+
function analyticsDegradedReason(index) {
|
|
464
|
+
return isAnalyticsOversized(index) ? "analytics-skipped-oversized" : "analytics-warming";
|
|
465
|
+
}
|
|
447
466
|
function getAnalytics(cwd) {
|
|
448
467
|
return cache.get(cwd) ?? null;
|
|
449
468
|
}
|
|
@@ -451,14 +470,19 @@ function invalidateAnalytics(cwd) {
|
|
|
451
470
|
if (!cwd) {
|
|
452
471
|
cache.clear();
|
|
453
472
|
inflight.clear();
|
|
473
|
+
oversizedReported.clear();
|
|
454
474
|
return;
|
|
455
475
|
}
|
|
456
476
|
cache.delete(cwd);
|
|
457
477
|
inflight.delete(cwd);
|
|
478
|
+
oversizedReported.delete(cwd);
|
|
458
479
|
}
|
|
459
480
|
function precomputeAnalytics(cwd, index) {
|
|
460
481
|
const pending = inflight.get(cwd);
|
|
461
482
|
if (pending) return pending;
|
|
483
|
+
if (isAnalyticsOversized(index)) {
|
|
484
|
+
return Promise.reject(new Error("analytics-skipped-oversized"));
|
|
485
|
+
}
|
|
462
486
|
const p = (async () => {
|
|
463
487
|
const t0 = Date.now();
|
|
464
488
|
versionCounter += 1;
|
|
@@ -488,15 +512,19 @@ function precomputeAnalytics(cwd, index) {
|
|
|
488
512
|
function getOrTriggerAnalytics(cwd, index) {
|
|
489
513
|
const hit = cache.get(cwd);
|
|
490
514
|
if (hit) return hit;
|
|
515
|
+
if (isAnalyticsOversized(index)) return null;
|
|
491
516
|
precomputeAnalytics(cwd, index).catch((err) => {
|
|
492
517
|
console.error("[analytics] precompute failed:", err);
|
|
493
518
|
});
|
|
494
519
|
return null;
|
|
495
520
|
}
|
|
496
521
|
export {
|
|
522
|
+
MAX_ANALYTICS_SYMBOLS,
|
|
523
|
+
analyticsDegradedReason,
|
|
497
524
|
cachedPPR,
|
|
498
525
|
getAnalytics,
|
|
499
526
|
getOrTriggerAnalytics,
|
|
500
527
|
invalidateAnalytics,
|
|
528
|
+
isAnalyticsOversized,
|
|
501
529
|
precomputeAnalytics
|
|
502
530
|
};
|
|
@@ -30851,6 +30851,7 @@ export {
|
|
|
30851
30851
|
DEEPSEEK_CREDENTIALS_FILE,
|
|
30852
30852
|
KIMI_CREDENTIALS_FILE,
|
|
30853
30853
|
GLM_CREDENTIALS_FILE,
|
|
30854
|
+
getCockpitProjectDir,
|
|
30854
30855
|
getSessionFilePath,
|
|
30855
30856
|
getTerminalHistoryPath,
|
|
30856
30857
|
getTerminalOutputPath,
|