@surething/cockpit 1.0.273 → 1.0.274
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 +5 -4
- package/.next-prod/build-manifest.json +3 -3
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +4 -4
- package/.next-prod/react-loadable-manifest.json +0 -12
- package/.next-prod/routes-manifest.json +14 -6
- package/.next-prod/server/app/_global-error/page.js +1 -1
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next-prod/server/app/api/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/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/instructions/config/route.js +1 -0
- package/.next-prod/server/app/api/{prompts → instructions}/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/instructions/config/route_client-reference-manifest.js +1 -0
- 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 +2 -2
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/restart/route.js +1 -1
- package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/identify/route.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/order/route.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/route.js +1 -1
- package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/users/route.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -0
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/session/[sessionId]/turn/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/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 +5 -4
- package/.next-prod/server/chunks/2493.js +3 -3
- package/.next-prod/server/chunks/3286.js +1 -1
- package/.next-prod/server/chunks/516.js +1 -1
- package/.next-prod/server/chunks/5750.js +19 -19
- package/.next-prod/server/chunks/6495.js +1 -1
- package/.next-prod/server/chunks/6548.js +1 -1
- package/.next-prod/server/chunks/{5433.js → 7956.js} +9 -10
- package/.next-prod/server/chunks/8616.js +1 -1
- package/.next-prod/server/chunks/9830.js +1 -1
- package/.next-prod/server/chunks/9891.js +7 -0
- package/.next-prod/server/functions-config-manifest.json +1 -1
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/middleware-react-loadable-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/{qoIca6xp2OKAJtDEvMaXC → Ltfbusd381Du6etTab1ug}/_buildManifest.js +1 -1
- package/.next-prod/static/chunks/{4137-7d6f2498d03b184d.js → 103-1788abe4fb625136.js} +7 -7
- package/.next-prod/static/chunks/{1332-e26fddaef359ce51.js → 1332-e51496c0bf36be06.js} +5 -5
- package/.next-prod/static/chunks/{2032-8326efdf5830d58c.js → 2032-c4d080bb65101d4c.js} +1 -1
- package/.next-prod/static/chunks/2539-52ea8019220fc163.js +17 -0
- package/.next-prod/static/chunks/{7570-ebe01cce6f28a79f.js → 8707-60c93d98f9ca9be7.js} +2 -2
- package/.next-prod/static/chunks/9092-9c01b3ae176018c5.js +716 -0
- package/.next-prod/static/chunks/9656-da407fc0921ddc52.js +32 -0
- package/.next-prod/static/chunks/96c8525a-b50f9758924ea57d.js +1 -0
- package/.next-prod/static/chunks/app/_global-error/page-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/{layout-915635f208cba4b3.js → layout-c78a23d9fb720698.js} +1 -1
- package/.next-prod/static/chunks/app/m/page-54ed2c27ba82b757.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/app/{page-48dc2d6146301fd7.js → page-7219de792c309861.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-48dc2d6146301fd7.js → page-7219de792c309861.js} +1 -1
- package/.next-prod/static/chunks/app/review/[id]/{page-1fe42d46b22c6482.js → page-70fc17b48dfdf8d3.js} +1 -1
- package/.next-prod/static/chunks/bc21e3dd-86c39ec41fe6001c.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-dd925381ab99e37b.js +1 -0
- package/.next-prod/static/chunks/{webpack-82f9e372d672c6bc.js → webpack-9a02cd12ee150c50.js} +1 -1
- package/.next-prod/static/css/08c892de6d5e2335.css +1 -0
- package/.next-prod/trace +14 -14
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/{prompts → instructions}/config/route.ts +3 -3
- package/.next-prod/types/app/api/session/[sessionId]/turn/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +3 -2
- package/.next-prod/types/validator.ts +18 -9
- package/dist/{chunk-TOA52B2X.mjs → chunk-OFFSCRWY.mjs} +18 -13
- package/dist/{chunk-PB4GBZQO.mjs → chunk-OO4ODUAC.mjs} +1 -1
- package/dist/{chunk-4EU4KZIO.mjs → chunk-SJ7VM26B.mjs} +4 -14
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +834 -508
- package/dist/wsServer.mjs +3 -3
- package/package.json +3 -3
- package/.next-prod/server/app/api/prompts/config/route.js +0 -1
- package/.next-prod/server/app/api/prompts/config/route_client-reference-manifest.js +0 -1
- package/.next-prod/server/chunks/2728.js +0 -1
- package/.next-prod/server/chunks/3718.js +0 -1
- package/.next-prod/server/chunks/9312.js +0 -1
- package/.next-prod/server/chunks/9352.js +0 -6
- package/.next-prod/static/chunks/5390-e2c2386e8288a254.js +0 -32
- package/.next-prod/static/chunks/7184-8b7ad4ccea8b15a3.js +0 -17
- package/.next-prod/static/chunks/7562.8fdc3abdd45c77ab.js +0 -1
- package/.next-prod/static/chunks/9012.6ed079104670001d.js +0 -1
- package/.next-prod/static/chunks/9092-a942df8114966b59.js +0 -716
- package/.next-prod/static/chunks/96c8525a-f1e0653013503d49.js +0 -2
- package/.next-prod/static/chunks/app/_global-error/page-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/prompts/config/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/session/user-messages/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/app/m/page-8442a2605d0feb3f.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/bc21e3dd-a78364524623b9b0.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-0bc5d188dc4650ab.js +0 -1
- package/.next-prod/static/css/ec2765469545dfce.css +0 -1
- /package/.next-prod/static/{qoIca6xp2OKAJtDEvMaXC → Ltfbusd381Du6etTab1ug}/_ssgManifest.js +0 -0
package/.next-prod/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-webpack","duration":
|
|
1
|
+
[{"name":"run-webpack","duration":14675771,"timestamp":153361850,"id":14,"parentId":1,"tags":{},"startTime":1789210757805,"traceId":"3306ffae055f5923"},{"name":"run-typescript","duration":4363204,"timestamp":168041581,"id":1479,"parentId":1,"tags":{},"startTime":1789210772485,"traceId":"3306ffae055f5923"},{"name":"static-check","duration":1213628,"timestamp":172434423,"id":1482,"parentId":1,"tags":{},"startTime":1789210776878,"traceId":"3306ffae055f5923"},{"name":"static-generation","duration":4617931,"timestamp":173754304,"id":1796,"parentId":1,"tags":{},"startTime":1789210778198,"traceId":"3306ffae055f5923"},{"name":"collect-build-traces","duration":21222021,"timestamp":173648705,"id":1793,"parentId":1,"tags":{},"startTime":1789210778092,"traceId":"3306ffae055f5923"},{"name":"telemetry-flush","duration":52,"timestamp":194874335,"id":1805,"parentId":1,"tags":{},"startTime":1789210799318,"traceId":"3306ffae055f5923"},{"name":"next-build","duration":41638622,"timestamp":153235776,"id":1,"tags":{"buildMode":"default","version":"16.3.0","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1789210757679,"traceId":"3306ffae055f5923"}]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// File: /home/runner/work/cockpit/cockpit/src/app/api/
|
|
2
|
-
import * as entry from '../../../../../../src/app/api/
|
|
1
|
+
// File: /home/runner/work/cockpit/cockpit/src/app/api/instructions/config/route.ts
|
|
2
|
+
import * as entry from '../../../../../../src/app/api/instructions/config/route.js'
|
|
3
3
|
import type { NextRequest } from 'next/server.js'
|
|
4
4
|
|
|
5
5
|
import type { InstantConfigForTypeCheckInternal, Prefetch } from 'next/dist/build/segment-config/app/app-segment-config.js'
|
|
6
6
|
|
|
7
|
-
type TEntry = typeof import('../../../../../../src/app/api/
|
|
7
|
+
type TEntry = typeof import('../../../../../../src/app/api/instructions/config/route.js')
|
|
8
8
|
|
|
9
9
|
type SegmentParams<T extends Object = any> = T extends Record<string, any>
|
|
10
10
|
? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
// File: /home/runner/work/cockpit/cockpit/src/app/api/session/[sessionId]/turn/route.ts
|
|
2
|
+
import * as entry from '../../../../../../../src/app/api/session/[sessionId]/turn/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/[sessionId]/turn/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/
|
|
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/instructions/config" | "/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/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/[sessionId]/turn" | "/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
|
|
@@ -70,6 +70,7 @@ interface ParamMap {
|
|
|
70
70
|
"/api/health": {}
|
|
71
71
|
"/api/html-apps": {}
|
|
72
72
|
"/api/html-apps/[id]": { "id": string; }
|
|
73
|
+
"/api/instructions/config": {}
|
|
73
74
|
"/api/kimi/credentials": {}
|
|
74
75
|
"/api/kimi/models": {}
|
|
75
76
|
"/api/kimi/usage": {}
|
|
@@ -110,7 +111,6 @@ interface ParamMap {
|
|
|
110
111
|
"/api/projectGraph/risk": {}
|
|
111
112
|
"/api/projectGraph/search": {}
|
|
112
113
|
"/api/projects": {}
|
|
113
|
-
"/api/prompts/config": {}
|
|
114
114
|
"/api/push/public-key": {}
|
|
115
115
|
"/api/push/subscribe": {}
|
|
116
116
|
"/api/push/unsubscribe": {}
|
|
@@ -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/[sessionId]/turn": { "sessionId": string; }
|
|
139
140
|
"/api/session/user-messages": {}
|
|
140
141
|
"/api/sessions": {}
|
|
141
142
|
"/api/sessions/projects": {}
|
|
@@ -605,6 +605,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
|
|
605
605
|
type __Unused = __Check
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
+
// Validate ../../src/app/api/instructions/config/route.ts
|
|
609
|
+
{
|
|
610
|
+
type __IsExpected<Specific extends RouteHandlerConfig<"/api/instructions/config">> = Specific
|
|
611
|
+
const handler = {} as typeof import("../../src/app/api/instructions/config/route.js")
|
|
612
|
+
type __Check = __IsExpected<typeof handler>
|
|
613
|
+
// @ts-ignore
|
|
614
|
+
type __Unused = __Check
|
|
615
|
+
}
|
|
616
|
+
|
|
608
617
|
// Validate ../../src/app/api/kimi/credentials/route.ts
|
|
609
618
|
{
|
|
610
619
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/kimi/credentials">> = Specific
|
|
@@ -965,15 +974,6 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
|
|
|
965
974
|
type __Unused = __Check
|
|
966
975
|
}
|
|
967
976
|
|
|
968
|
-
// Validate ../../src/app/api/prompts/config/route.ts
|
|
969
|
-
{
|
|
970
|
-
type __IsExpected<Specific extends RouteHandlerConfig<"/api/prompts/config">> = Specific
|
|
971
|
-
const handler = {} as typeof import("../../src/app/api/prompts/config/route.js")
|
|
972
|
-
type __Check = __IsExpected<typeof handler>
|
|
973
|
-
// @ts-ignore
|
|
974
|
-
type __Unused = __Check
|
|
975
|
-
}
|
|
976
|
-
|
|
977
977
|
// Validate ../../src/app/api/push/public-key/route.ts
|
|
978
978
|
{
|
|
979
979
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/push/public-key">> = Specific
|
|
@@ -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/[sessionId]/turn/route.ts
|
|
1203
|
+
{
|
|
1204
|
+
type __IsExpected<Specific extends RouteHandlerConfig<"/api/session/[sessionId]/turn">> = Specific
|
|
1205
|
+
const handler = {} as typeof import("../../src/app/api/session/[sessionId]/turn/route.js")
|
|
1206
|
+
type __Check = __IsExpected<typeof handler>
|
|
1207
|
+
// @ts-ignore
|
|
1208
|
+
type __Unused = __Check
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1202
1211
|
// Validate ../../src/app/api/session/user-messages/route.ts
|
|
1203
1212
|
{
|
|
1204
1213
|
type __IsExpected<Specific extends RouteHandlerConfig<"/api/session/user-messages">> = Specific
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
readJsonFile,
|
|
15
15
|
withFileLock,
|
|
16
16
|
writeJsonFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SJ7VM26B.mjs";
|
|
18
18
|
|
|
19
19
|
// packages/feature/agent/src/server/sessionRunHub.ts
|
|
20
20
|
var GRACE_MS = 6e4;
|
|
@@ -334,6 +334,21 @@ var MAX_SESSIONS = 100;
|
|
|
334
334
|
var MIN_SESSIONS = 15;
|
|
335
335
|
var RETENTION_WINDOW_MS = 7 * 24 * 60 * 60 * 1e3;
|
|
336
336
|
var MAX_TEXT_LEN = 50;
|
|
337
|
+
function migrateLegacyStatuses(sessions) {
|
|
338
|
+
for (const session of sessions) {
|
|
339
|
+
if (session.status) continue;
|
|
340
|
+
const legacy = session;
|
|
341
|
+
session.status = legacy.isLoading ? "loading" : "normal";
|
|
342
|
+
delete legacy.isLoading;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
function retainRecentSessions(state) {
|
|
346
|
+
state.sessions.sort((a, b) => b.lastActive - a.lastActive);
|
|
347
|
+
const cutoff = Date.now() - RETENTION_WINDOW_MS;
|
|
348
|
+
const withinWeek = state.sessions.filter((session) => session.lastActive >= cutoff).length;
|
|
349
|
+
const keep = Math.min(MAX_SESSIONS, Math.max(MIN_SESSIONS, withinWeek));
|
|
350
|
+
state.sessions = state.sessions.slice(0, keep);
|
|
351
|
+
}
|
|
337
352
|
function truncate(s) {
|
|
338
353
|
if (!s) return s;
|
|
339
354
|
const chars = [...s];
|
|
@@ -345,13 +360,7 @@ async function updateGlobalState(cwd, sessionId, status, title, lastUserMessage,
|
|
|
345
360
|
}
|
|
346
361
|
return withFileLock(GLOBAL_STATE_FILE, async () => {
|
|
347
362
|
const state = await readJsonFile(GLOBAL_STATE_FILE, { sessions: [] });
|
|
348
|
-
|
|
349
|
-
if (!s.status) {
|
|
350
|
-
const legacy = s;
|
|
351
|
-
s.status = legacy.isLoading ? "loading" : "normal";
|
|
352
|
-
delete legacy.isLoading;
|
|
353
|
-
}
|
|
354
|
-
}
|
|
363
|
+
migrateLegacyStatuses(state.sessions);
|
|
355
364
|
const existingIndex = state.sessions.findIndex(
|
|
356
365
|
(s) => s.cwd === cwd && s.sessionId === sessionId
|
|
357
366
|
);
|
|
@@ -373,11 +382,7 @@ async function updateGlobalState(cwd, sessionId, status, title, lastUserMessage,
|
|
|
373
382
|
} else {
|
|
374
383
|
state.sessions.push(newSession);
|
|
375
384
|
}
|
|
376
|
-
state
|
|
377
|
-
const cutoff = Date.now() - RETENTION_WINDOW_MS;
|
|
378
|
-
const withinWeek = state.sessions.filter((s) => s.lastActive >= cutoff).length;
|
|
379
|
-
const keep = Math.min(MAX_SESSIONS, Math.max(MIN_SESSIONS, withinWeek));
|
|
380
|
-
state.sessions = state.sessions.slice(0, keep);
|
|
385
|
+
retainRecentSessions(state);
|
|
381
386
|
await writeJsonFile(GLOBAL_STATE_FILE, state);
|
|
382
387
|
if (status === "unread" && existing?.status !== "unread") {
|
|
383
388
|
void (async () => {
|
|
@@ -30065,7 +30065,6 @@ var commitFromLogRecord = (record) => {
|
|
|
30065
30065
|
timestamp: Number(ts) || 0,
|
|
30066
30066
|
subject: body.split("\n")[0] ?? "",
|
|
30067
30067
|
sessionKey: trailers["Session"] ?? null,
|
|
30068
|
-
runId: trailers["Run-Id"] ?? null,
|
|
30069
30068
|
toolId: trailers["Tool-Id"] ?? null,
|
|
30070
30069
|
toolName: trailers["Tool"] ?? null,
|
|
30071
30070
|
toolFiles,
|
|
@@ -30241,17 +30240,12 @@ Cockpit-Kind: baseline`
|
|
|
30241
30240
|
yield* runGitOk(repoDir, cwd, ["symbolic-ref", "HEAD", branch]);
|
|
30242
30241
|
});
|
|
30243
30242
|
var sanitizeSubject = (s) => s.replace(/[\u0000-\u001f\u007f]+/g, " ").replace(/\s+/g, " ").trim().slice(0, 80);
|
|
30244
|
-
var sanitizeTrailerValue = (s) => s.replace(/[\u0000-\u001f\u007f]+/g, " ").trim().slice(0, 128);
|
|
30245
30243
|
var buildCommitMessage = (trigger, relFiles, kind) => {
|
|
30246
30244
|
const detail = relFiles.length > 0 ? relFiles.length === 1 ? relFiles[0] : `${relFiles[0]} +${relFiles.length - 1}` : trigger.toolDetail ?? "";
|
|
30247
30245
|
const subject = kind === "baseline" ? "baseline" : sanitizeSubject(`[${trigger.toolName ?? "tool"}] ${detail}`);
|
|
30248
30246
|
const trailers = [
|
|
30249
30247
|
`Cockpit-Kind: ${kind}`,
|
|
30250
30248
|
`Cockpit-Session: ${trigger.sessionKey}`,
|
|
30251
|
-
// Scopes the tool id to ONE dispatch. Required because codex restarts its
|
|
30252
|
-
// live `item_N` counter every turn, so the tool id alone (and even
|
|
30253
|
-
// tool id + session) matches earlier turns of the same session.
|
|
30254
|
-
...trigger.runId ? [`Cockpit-Run-Id: ${sanitizeTrailerValue(trigger.runId)}`] : [],
|
|
30255
30249
|
`Cockpit-Provider: ${trigger.provider}`,
|
|
30256
30250
|
...trigger.toolId ? [`Cockpit-Tool-Id: ${trigger.toolId}`] : [],
|
|
30257
30251
|
...trigger.toolName ? [`Cockpit-Tool: ${trigger.toolName}`] : [],
|
|
@@ -30382,7 +30376,7 @@ var snapshotOnce = (snapshotsRoot, maxFileBytes, trigger, kind) => Effect_export
|
|
|
30382
30376
|
attributes: { cwd: trigger.cwd, tool: trigger.toolName ?? kind }
|
|
30383
30377
|
})
|
|
30384
30378
|
);
|
|
30385
|
-
var listByToolIdsImpl = (snapshotsRoot, cwd, toolIds, sessionKey
|
|
30379
|
+
var listByToolIdsImpl = (snapshotsRoot, cwd, toolIds, sessionKey) => Effect_exports.gen(function* () {
|
|
30386
30380
|
if (toolIds.length === 0) return [];
|
|
30387
30381
|
const repoDir = yield* resolveRepoDir(snapshotsRoot, cwd);
|
|
30388
30382
|
const headExists = yield* fsTry(
|
|
@@ -30400,11 +30394,7 @@ var listByToolIdsImpl = (snapshotsRoot, cwd, toolIds, sessionKey, runId) => Effe
|
|
|
30400
30394
|
if (log3.code !== 0) return [];
|
|
30401
30395
|
const wanted = new Set(toolIds);
|
|
30402
30396
|
return log3.stdout.split("").filter(Boolean).map(commitFromLogRecord).filter(
|
|
30403
|
-
(c) => !!c && !!c.toolId && wanted.has(c.toolId) && (!sessionKey || c.sessionKey === sessionKey)
|
|
30404
|
-
// Cockpit-Run-Id predates run-scoping, and dropping it would make
|
|
30405
|
-
// existing history disappear from the diff viewer. Only a commit
|
|
30406
|
-
// that names a DIFFERENT run is a proven foreign match.
|
|
30407
|
-
(!runId || !c.runId || c.runId === runId)
|
|
30397
|
+
(c) => !!c && !!c.toolId && wanted.has(c.toolId) && (!sessionKey || c.sessionKey === sessionKey)
|
|
30408
30398
|
);
|
|
30409
30399
|
}).pipe(Effect_exports.withSpan("snapshot.listByToolIds", { attributes: { cwd } }));
|
|
30410
30400
|
var showFile = (repoDir, cwd, rev, path2) => runGit(repoDir, cwd, ["show", `${rev}:${path2}`]).pipe(
|
|
@@ -30663,8 +30653,8 @@ var SnapshotServiceLive = Layer_exports.scoped(
|
|
|
30663
30653
|
);
|
|
30664
30654
|
return SnapshotService.of({
|
|
30665
30655
|
record: (trigger) => snapshotOnce(snapshotsRoot, maxFileBytes, trigger, "tool"),
|
|
30666
|
-
baseline: (cwd, sessionKey, provider
|
|
30667
|
-
listByToolIds: (cwd, toolIds, sessionKey
|
|
30656
|
+
baseline: (cwd, sessionKey, provider) => snapshotOnce(snapshotsRoot, maxFileBytes, { cwd, sessionKey, provider }, "baseline"),
|
|
30657
|
+
listByToolIds: (cwd, toolIds, sessionKey) => listByToolIdsImpl(snapshotsRoot, cwd, toolIds, sessionKey),
|
|
30668
30658
|
diff: (cwd, commitHash) => diffImpl(snapshotsRoot, cwd, commitHash),
|
|
30669
30659
|
blob: (cwd, rev, file) => blobImpl(snapshotsRoot, cwd, rev, file),
|
|
30670
30660
|
cleanup
|
package/dist/httpApi.mjs
CHANGED
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
unregisterBrowser,
|
|
28
28
|
unregisterTerminal,
|
|
29
29
|
writeStdinToCommand
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OO4ODUAC.mjs";
|
|
31
31
|
import {
|
|
32
32
|
getTerminalHistoryPath
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-SJ7VM26B.mjs";
|
|
34
34
|
import "./chunk-7P6ASYW6.mjs";
|
|
35
35
|
|
|
36
36
|
// src/lib/httpApi.ts
|