@surething/cockpit 1.0.175
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 -0
- package/.next-prod/app-path-routes-manifest.json +99 -0
- package/.next-prod/build-manifest.json +20 -0
- package/.next-prod/diagnostics/build-diagnostics.json +6 -0
- package/.next-prod/diagnostics/framework.json +1 -0
- package/.next-prod/export-marker.json +6 -0
- package/.next-prod/images-manifest.json +67 -0
- package/.next-prod/next-minimal-server.js.nft.json +1 -0
- package/.next-prod/next-server.js.nft.json +1 -0
- package/.next-prod/package.json +1 -0
- package/.next-prod/prerender-manifest.json +119 -0
- package/.next-prod/react-loadable-manifest.json +4241 -0
- package/.next-prod/required-server-files.js +326 -0
- package/.next-prod/required-server-files.json +326 -0
- package/.next-prod/routes-manifest.json +641 -0
- package/.next-prod/server/app/_global-error/page.js +3 -0
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -0
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/_global-error.html +2 -0
- package/.next-prod/server/app/_global-error.meta +16 -0
- package/.next-prod/server/app/_global-error.rsc +12 -0
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +12 -0
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +5 -0
- package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +4 -0
- package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +5 -0
- package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +4 -0
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -0
- package/.next-prod/server/app/_not-found/page.js +2 -0
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -0
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/_not-found.html +18 -0
- package/.next-prod/server/app/_not-found.meta +16 -0
- package/.next-prod/server/app/_not-found.rsc +18 -0
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +18 -0
- package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +6 -0
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +6 -0
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
- package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +4 -0
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +5 -0
- package/.next-prod/server/app/api/bash/route.js +1 -0
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/bash/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/chat/route.js +5 -0
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/chat/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/claude-stats/route.js +1 -0
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/claude-stats/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/commands/route.js +1 -0
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/commands/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/comments/route.js +1 -0
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/comments/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/db/columns/route.js +15 -0
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/db/columns/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/db/connect/route.js +1 -0
- package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/db/connect/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -0
- package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/db/disconnect/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/db/export/route.js +1 -0
- package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/db/export/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/db/query/route.js +1 -0
- package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/db/query/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/db/schemas/route.js +8 -0
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/db/schemas/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/extension/version/route.js +1 -0
- package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/extension/version/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/file/route.js +1 -0
- package/.next-prod/server/app/api/file/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/file/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/blame/route.js +1 -0
- package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/blame/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -0
- package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/clipboard/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/copy/route.js +1 -0
- package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/copy/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/delete/route.js +1 -0
- package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/delete/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/expanded/route.js +1 -0
- package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/expanded/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/index/route.js +1 -0
- package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/index/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/init/route.js +1 -0
- package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/init/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/paste/route.js +1 -0
- package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/paste/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/read/route.js +1 -0
- package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/read/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/readdir/route.js +1 -0
- package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/readdir/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/recent/route.js +1 -0
- package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/recent/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/save/route.js +1 -0
- package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/save/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/search/route.js +1 -0
- package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/search/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -0
- package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/branch-diff/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/branches/route.js +1 -0
- package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/branches/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -0
- package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/commit-diff/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/commits/route.js +1 -0
- package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/commits/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/diff/route.js +1 -0
- package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/diff/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/discard/route.js +1 -0
- package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/discard/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/stage/route.js +1 -0
- package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/stage/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/status/route.js +1 -0
- package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/status/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/unstage/route.js +1 -0
- package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/unstage/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/worktree/route.js +1 -0
- package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/git/worktree/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/global-state/route.js +1 -0
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/global-state/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/jupyter/load/route.js +1 -0
- package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/jupyter/load/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/jupyter/save/route.js +1 -0
- package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/jupyter/save/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -0
- package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/jupyter/shutdown/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -0
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/lsp/definition/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -0
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/lsp/hover/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/lsp/references/route.js +1 -0
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/lsp/references/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/lsp/status/route.js +1 -0
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/lsp/status/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -0
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/lsp/warmup/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/mysql/columns/route.js +9 -0
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/mysql/columns/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -0
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/mysql/connect/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -0
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/mysql/disconnect/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/mysql/export/route.js +1 -0
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/mysql/export/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/mysql/query/route.js +1 -0
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/mysql/query/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/mysql/schemas/route.js +6 -0
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/mysql/schemas/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/note/route.js +1 -0
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/note/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/open-cursor/route.js +1 -0
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/open-cursor/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/open-vscode/route.js +1 -0
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/open-vscode/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/pick-folder/route.js +1 -0
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -0
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/pinned-sessions/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/project-settings/route.js +1 -0
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/project-settings/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/project-state/route.js +1 -0
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/project-state/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projects/route.js +1 -0
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projects/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/redis/command/route.js +1 -0
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/redis/command/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/redis/connect/route.js +1 -0
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/redis/connect/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/redis/delete/route.js +1 -0
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/redis/delete/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -0
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/redis/disconnect/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/redis/get/route.js +1 -0
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/redis/get/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/redis/keys/route.js +1 -0
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/redis/keys/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/redis/set/route.js +1 -0
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/redis/set/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -0
- package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/review/[id]/comments/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -0
- package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/review/[id]/replies/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/review/[id]/route.js +1 -0
- package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/review/[id]/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/review/identify/route.js +1 -0
- package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/review/identify/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/review/order/route.js +1 -0
- package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/review/order/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/review/route.js +1 -0
- package/.next-prod/server/app/api/review/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/review/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/review/share-info/route.js +1 -0
- package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/review/share-info/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/review/users/route.js +1 -0
- package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/review/users/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/scheduled-tasks/route.js +1 -0
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/scheduled-tasks/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/services/config/route.js +1 -0
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/services/config/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/services/scripts/route.js +1 -0
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/services/scripts/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -0
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/session/[sessionId]/fork/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -0
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/session/[sessionId]/history/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/session-by-path/route.js +1 -0
- package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/session-by-path/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -0
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -0
- package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/sessions/projects/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/sessions/route.js +1 -0
- package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/sessions/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/settings/route.js +1 -0
- package/.next-prod/server/app/api/settings/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/settings/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -0
- package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/terminal/aliases/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -0
- package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/terminal/autocomplete/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -0
- package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/terminal/bubble-order/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/terminal/env/route.js +1 -0
- package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/terminal/env/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/terminal/history/route.js +1 -0
- package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/terminal/history/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/version/route.js +1 -0
- package/.next-prod/server/app/api/version/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/version/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/favicon.ico/route.js +1 -0
- package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -0
- package/.next-prod/server/app/favicon.ico.body +0 -0
- package/.next-prod/server/app/favicon.ico.meta +1 -0
- package/.next-prod/server/app/manifest.webmanifest/route.js +16 -0
- package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -0
- package/.next-prod/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/manifest.webmanifest.body +1 -0
- package/.next-prod/server/app/manifest.webmanifest.meta +1 -0
- package/.next-prod/server/app/page.js +97 -0
- package/.next-prod/server/app/page.js.nft.json +1 -0
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/project/page.js +29 -0
- package/.next-prod/server/app/project/page.js.nft.json +1 -0
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/review/[id]/page.js +2 -0
- package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -0
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -0
- package/.next-prod/server/app-paths-manifest.json +99 -0
- package/.next-prod/server/chunks/1639.js +1 -0
- package/.next-prod/server/chunks/1667.js +1 -0
- package/.next-prod/server/chunks/1813.js +1 -0
- package/.next-prod/server/chunks/1912.js +1 -0
- package/.next-prod/server/chunks/2325.js +82 -0
- package/.next-prod/server/chunks/2376.js +36 -0
- package/.next-prod/server/chunks/2816.js +1 -0
- package/.next-prod/server/chunks/2840.js +62 -0
- package/.next-prod/server/chunks/3434.js +1 -0
- package/.next-prod/server/chunks/3441.js +24 -0
- package/.next-prod/server/chunks/3503.js +29 -0
- package/.next-prod/server/chunks/3863.js +1 -0
- package/.next-prod/server/chunks/3932.js +56 -0
- package/.next-prod/server/chunks/4042.js +1 -0
- package/.next-prod/server/chunks/4073.js +1 -0
- package/.next-prod/server/chunks/4097.js +136 -0
- package/.next-prod/server/chunks/4098.js +1 -0
- package/.next-prod/server/chunks/4268.js +4 -0
- package/.next-prod/server/chunks/4272.js +5 -0
- package/.next-prod/server/chunks/4309.js +141 -0
- package/.next-prod/server/chunks/4345.js +1 -0
- package/.next-prod/server/chunks/4367.js +1 -0
- package/.next-prod/server/chunks/4388.js +24 -0
- package/.next-prod/server/chunks/4442.js +1 -0
- package/.next-prod/server/chunks/4490.js +26 -0
- package/.next-prod/server/chunks/4741.js +22 -0
- package/.next-prod/server/chunks/4793.js +1 -0
- package/.next-prod/server/chunks/5152.js +1 -0
- package/.next-prod/server/chunks/5460.js +201 -0
- package/.next-prod/server/chunks/5481.js +1 -0
- package/.next-prod/server/chunks/5536.js +148 -0
- package/.next-prod/server/chunks/5733.js +5 -0
- package/.next-prod/server/chunks/582.js +1 -0
- package/.next-prod/server/chunks/5958.js +1 -0
- package/.next-prod/server/chunks/6062.js +1 -0
- package/.next-prod/server/chunks/6117.js +13 -0
- package/.next-prod/server/chunks/6142.js +287 -0
- package/.next-prod/server/chunks/6346.js +1 -0
- package/.next-prod/server/chunks/6443.js +1 -0
- package/.next-prod/server/chunks/6804.js +43 -0
- package/.next-prod/server/chunks/7265.js +93 -0
- package/.next-prod/server/chunks/7284.js +1 -0
- package/.next-prod/server/chunks/7307.js +1 -0
- package/.next-prod/server/chunks/7483.js +1 -0
- package/.next-prod/server/chunks/7484.js +64 -0
- package/.next-prod/server/chunks/7514.js +31 -0
- package/.next-prod/server/chunks/7800.js +166 -0
- package/.next-prod/server/chunks/8068.js +63 -0
- package/.next-prod/server/chunks/8351.js +23 -0
- package/.next-prod/server/chunks/8491.js +5 -0
- package/.next-prod/server/chunks/8585.js +198 -0
- package/.next-prod/server/chunks/887.js +215 -0
- package/.next-prod/server/chunks/911.js +1 -0
- package/.next-prod/server/chunks/9116.js +65 -0
- package/.next-prod/server/chunks/925.js +68 -0
- package/.next-prod/server/chunks/9298.js +139 -0
- package/.next-prod/server/chunks/9401.js +1 -0
- package/.next-prod/server/chunks/9408.js +1 -0
- package/.next-prod/server/functions-config-manifest.json +24 -0
- package/.next-prod/server/interception-route-rewrite-manifest.js +1 -0
- package/.next-prod/server/middleware-build-manifest.js +1 -0
- package/.next-prod/server/middleware-manifest.json +6 -0
- package/.next-prod/server/middleware-react-loadable-manifest.js +1 -0
- package/.next-prod/server/next-font-manifest.js +1 -0
- package/.next-prod/server/next-font-manifest.json +1 -0
- package/.next-prod/server/pages/404.html +18 -0
- package/.next-prod/server/pages/500.html +2 -0
- package/.next-prod/server/pages-manifest.json +4 -0
- package/.next-prod/server/server-reference-manifest.js +1 -0
- package/.next-prod/server/server-reference-manifest.json +1 -0
- package/.next-prod/server/webpack-runtime.js +1 -0
- package/.next-prod/static/DV3WCL3Yj_UIBxTQ3r93N/_buildManifest.js +1 -0
- package/.next-prod/static/DV3WCL3Yj_UIBxTQ3r93N/_ssgManifest.js +1 -0
- package/.next-prod/static/chunks/10.6cf001c181ce1098.js +1 -0
- package/.next-prod/static/chunks/1078.02294b2934d5bf21.js +1 -0
- package/.next-prod/static/chunks/1142.17e45d200709420d.js +1 -0
- package/.next-prod/static/chunks/1161.06b33878b495da50.js +1 -0
- package/.next-prod/static/chunks/1184.e80a999422621ed9.js +1 -0
- package/.next-prod/static/chunks/1188.1d4ce94ddc297119.js +1 -0
- package/.next-prod/static/chunks/1198.2a5c215f01a8b74d.js +1 -0
- package/.next-prod/static/chunks/1215.88ed89521e915107.js +1 -0
- package/.next-prod/static/chunks/1219.e27b0bd10b029e40.js +1 -0
- package/.next-prod/static/chunks/123.d6fe9c2353baf42b.js +1 -0
- package/.next-prod/static/chunks/1247.64e212daa5bb3925.js +1 -0
- package/.next-prod/static/chunks/1248.36af3903f037c1f5.js +1 -0
- package/.next-prod/static/chunks/1274.ce6906b1fe2e04b8.js +1 -0
- package/.next-prod/static/chunks/1280.1651bb5167170457.js +1 -0
- package/.next-prod/static/chunks/1310.c38c5fbf05820fcd.js +166 -0
- package/.next-prod/static/chunks/1335.716cc5924662708e.js +1 -0
- package/.next-prod/static/chunks/1365.d7391145ca7f8791.js +1 -0
- package/.next-prod/static/chunks/1379.03e1e0f31bdaa2cc.js +1 -0
- package/.next-prod/static/chunks/1409.9f81cd6d2cab4b67.js +1 -0
- package/.next-prod/static/chunks/1413.117c5958c59cc695.js +1 -0
- package/.next-prod/static/chunks/142.e09e154342f02da4.js +4 -0
- package/.next-prod/static/chunks/1453.3c24c777a3deca2d.js +1 -0
- package/.next-prod/static/chunks/1456.a1f849b334fff0da.js +1 -0
- package/.next-prod/static/chunks/1501.549af2c91a889a08.js +1 -0
- package/.next-prod/static/chunks/1534.918a25b2e3daab22.js +1 -0
- package/.next-prod/static/chunks/1556.96abc9ff91b0c383.js +1 -0
- package/.next-prod/static/chunks/1583.03a06dbdde85ac56.js +1 -0
- package/.next-prod/static/chunks/1590.05549e036336164c.js +65 -0
- package/.next-prod/static/chunks/1593-7902218f5b10761f.js +1 -0
- package/.next-prod/static/chunks/1595.ee61519fde230f60.js +1 -0
- package/.next-prod/static/chunks/1656.a9efc78185a5a85f.js +1 -0
- package/.next-prod/static/chunks/1664.6d5b5e3112b66906.js +1 -0
- package/.next-prod/static/chunks/1898.e07b2b1c5e789b06.js +1 -0
- package/.next-prod/static/chunks/1932.b0aea9b52cabe5e8.js +1 -0
- package/.next-prod/static/chunks/194.dace825a3ddbbbff.js +1 -0
- package/.next-prod/static/chunks/1948.bf7e0d9ede202530.js +29 -0
- package/.next-prod/static/chunks/1977.a06c8e8d2198f765.js +1 -0
- package/.next-prod/static/chunks/1987.226da043eabc8911.js +5 -0
- package/.next-prod/static/chunks/1991.d869abe5092c9011.js +1 -0
- package/.next-prod/static/chunks/1cd6e1d3.8121a74b2042bff3.js +1 -0
- package/.next-prod/static/chunks/2013.598558c40e51e107.js +1 -0
- package/.next-prod/static/chunks/2020.46a0112747939389.js +1 -0
- package/.next-prod/static/chunks/2031.3877441c49bff5cd.js +1 -0
- package/.next-prod/static/chunks/2041.00f4fa0ab26c6ba5.js +1 -0
- package/.next-prod/static/chunks/2062.4a0ab3400fea0e34.js +1 -0
- package/.next-prod/static/chunks/2072-37a80cb92f1ee2d4.js +4 -0
- package/.next-prod/static/chunks/2107.c627112b02b9e1c8.js +1 -0
- package/.next-prod/static/chunks/2130.441ae0f68863efeb.js +1 -0
- package/.next-prod/static/chunks/214.f6bba63dfa159e01.js +1 -0
- package/.next-prod/static/chunks/2160.e38d781fd5c4cde0.js +1 -0
- package/.next-prod/static/chunks/2179.1bf5fe315e6e132c.js +1 -0
- package/.next-prod/static/chunks/2215.9d2d6fbe90ffcc80.js +1 -0
- package/.next-prod/static/chunks/2235.b4453110c06e2b09.js +1 -0
- package/.next-prod/static/chunks/2349.ca15d465c4260b4b.js +1 -0
- package/.next-prod/static/chunks/2374.7560cc5c4b8ed6b0.js +1 -0
- package/.next-prod/static/chunks/2403.3dda71b6482dce3b.js +1 -0
- package/.next-prod/static/chunks/2485.3188870375e9fbee.js +1 -0
- package/.next-prod/static/chunks/2489.fcc70bd67329a70e.js +1 -0
- package/.next-prod/static/chunks/2501.4e65b56602faa956.js +1 -0
- package/.next-prod/static/chunks/2503.bb9d3528c3c7ccae.js +1 -0
- package/.next-prod/static/chunks/252.a9e22657cbf67b42.js +1 -0
- package/.next-prod/static/chunks/254.8b4308512ac955b5.js +24 -0
- package/.next-prod/static/chunks/2614.8349e4b407470a30.js +1 -0
- package/.next-prod/static/chunks/2710.fe0656d4ebae4d30.js +1 -0
- package/.next-prod/static/chunks/2728.5fed9ac13dfcd1d1.js +1 -0
- package/.next-prod/static/chunks/2729.826909b4d5229ba6.js +68 -0
- package/.next-prod/static/chunks/2735.5a3e65a580bd5af9.js +1 -0
- package/.next-prod/static/chunks/2747.1d85d388314f2904.js +1 -0
- package/.next-prod/static/chunks/2765.2c6d9772af50feed.js +1 -0
- package/.next-prod/static/chunks/2783.e8bbf2c794ef9750.js +1 -0
- package/.next-prod/static/chunks/2812.dcd8179a6b1d76c9.js +1 -0
- package/.next-prod/static/chunks/2821.fa74c6e87f6e759a.js +1 -0
- package/.next-prod/static/chunks/2839.a832cb0d77a9d298.js +1 -0
- package/.next-prod/static/chunks/2895.0339e755e79ee794.js +1 -0
- package/.next-prod/static/chunks/2921.26016c4c7eb031e8.js +1 -0
- package/.next-prod/static/chunks/2954.7d8daeae6410d4a4.js +1 -0
- package/.next-prod/static/chunks/2964.1a0e15f7327680a2.js +1 -0
- package/.next-prod/static/chunks/2ff9d716.93c18c265de76cfb.js +136 -0
- package/.next-prod/static/chunks/305-fced91c3443b6178.js +1 -0
- package/.next-prod/static/chunks/3072.b6da96c10080c967.js +1 -0
- package/.next-prod/static/chunks/3074.911584369786c26c.js +1 -0
- package/.next-prod/static/chunks/3077.bf82c0c332cc9fec.js +1 -0
- package/.next-prod/static/chunks/3082.159e4ab8f0572597.js +1 -0
- package/.next-prod/static/chunks/3095.8cd478c42cee505a.js +1 -0
- package/.next-prod/static/chunks/3111.1cf85db2faeb20cc.js +1 -0
- package/.next-prod/static/chunks/3126.c89ab7ce8e10978e.js +1 -0
- package/.next-prod/static/chunks/3175.538ce7aec634bddb.js +1 -0
- package/.next-prod/static/chunks/3186.3665756f8aae3eb7.js +1 -0
- package/.next-prod/static/chunks/3194.5a331fb5e3dc34e9.js +1 -0
- package/.next-prod/static/chunks/3229.5e91f7d0b135266b.js +1 -0
- package/.next-prod/static/chunks/327.8ecab0b86d52b597.js +1 -0
- package/.next-prod/static/chunks/3274.858f7f9216c8b074.js +1 -0
- package/.next-prod/static/chunks/3286.196c508356bb0b66.js +1 -0
- package/.next-prod/static/chunks/3288.f210cd6796271d4f.js +1 -0
- package/.next-prod/static/chunks/3290.b5ba2646ad49c9fd.js +1 -0
- package/.next-prod/static/chunks/3304.16305e84f4ff6598.js +1 -0
- package/.next-prod/static/chunks/3313.471138e5504646a9.js +1 -0
- package/.next-prod/static/chunks/3324.85e21e3313d0901c.js +1 -0
- package/.next-prod/static/chunks/3392.460f5a753531f501.js +1 -0
- package/.next-prod/static/chunks/34.ce581867cf95e24b.js +1 -0
- package/.next-prod/static/chunks/3419.78b520dab7e2f96d.js +1 -0
- package/.next-prod/static/chunks/3437.0ad1ecc8c5b8a679.js +1 -0
- package/.next-prod/static/chunks/3476.246c30b47bded3b7.js +1 -0
- package/.next-prod/static/chunks/3483.fc2a0b1185dbaa5d.js +1 -0
- package/.next-prod/static/chunks/3492.ca55498822ad7796.js +1 -0
- package/.next-prod/static/chunks/3530-6d8abfd0e950d439.js +14 -0
- package/.next-prod/static/chunks/36.b4a553bf2106f6d3.js +1 -0
- package/.next-prod/static/chunks/3613.9a37e282a0b018d7.js +1 -0
- package/.next-prod/static/chunks/3682.d8c0079db560c625.js +1 -0
- package/.next-prod/static/chunks/3695-f14fb3e48483755c.js +18 -0
- package/.next-prod/static/chunks/376.9e742ff6919b2b54.js +1 -0
- package/.next-prod/static/chunks/3782.8de9ba0149339c0c.js +1 -0
- package/.next-prod/static/chunks/3787.78ebe68a043f50ce.js +1 -0
- package/.next-prod/static/chunks/3794-337d1ca25ad99a89.js +2 -0
- package/.next-prod/static/chunks/3860.be5b243bf7d6618c.js +1 -0
- package/.next-prod/static/chunks/3873.72a9a21509f713f7.js +1 -0
- package/.next-prod/static/chunks/392.3cad93691f1b7360.js +1 -0
- package/.next-prod/static/chunks/3942.00e2e29e2d62b039.js +1 -0
- package/.next-prod/static/chunks/3979.cea8623f6e9f83ea.js +1 -0
- package/.next-prod/static/chunks/400.59979e0d3ae126e4.js +1 -0
- package/.next-prod/static/chunks/4053.90d71fcbe4ffd852.js +1 -0
- package/.next-prod/static/chunks/4080.08a21dae9e93c547.js +1 -0
- package/.next-prod/static/chunks/4163.c6ebefdd9aa5c358.js +1 -0
- package/.next-prod/static/chunks/4174.9e84de8f8816fe01.js +1 -0
- package/.next-prod/static/chunks/4223.c10556cd92fc8018.js +1 -0
- package/.next-prod/static/chunks/4240-38a224bd376cc8a0.js +1 -0
- package/.next-prod/static/chunks/4242.3a66c58375424a5b.js +1 -0
- package/.next-prod/static/chunks/425.9a3434a28926566a.js +1 -0
- package/.next-prod/static/chunks/4275.8f2e531757c2a813.js +1 -0
- package/.next-prod/static/chunks/4295.6c0f4838b0c9c69d.js +1 -0
- package/.next-prod/static/chunks/4309.a887a10e84c44f9e.js +1 -0
- package/.next-prod/static/chunks/4350.b9d80827e8eee01a.js +1 -0
- package/.next-prod/static/chunks/4357.05060a5a3fea9ff1.js +1 -0
- package/.next-prod/static/chunks/4358.f15dd467571f7594.js +1 -0
- package/.next-prod/static/chunks/4367.2610339aa03a9fb3.js +1 -0
- package/.next-prod/static/chunks/4370.ac13b62c811f7ede.js +1 -0
- package/.next-prod/static/chunks/4402d2ac.d0d1b1777a45e0b2.js +1 -0
- package/.next-prod/static/chunks/4474.053807fa34066566.js +1 -0
- package/.next-prod/static/chunks/4539.559c223da16b0282.js +1 -0
- package/.next-prod/static/chunks/4540.03df20c499bca840.js +1 -0
- package/.next-prod/static/chunks/4553.a16dba8d6d03226c.js +1 -0
- package/.next-prod/static/chunks/4567.d405b50b917bd2c2.js +1 -0
- package/.next-prod/static/chunks/4583.2a5df6eb3a6ea30b.js +1 -0
- package/.next-prod/static/chunks/4593.676ac488744e1af5.js +1 -0
- package/.next-prod/static/chunks/4608.1ff246d6b4c771f8.js +1 -0
- package/.next-prod/static/chunks/4634.0332a56fdb8e26c0.js +1 -0
- package/.next-prod/static/chunks/4650.61aec912b756287b.js +1 -0
- package/.next-prod/static/chunks/4659.b8e05ba7cbf46556.js +1 -0
- package/.next-prod/static/chunks/4678.867dfae26694be02.js +1 -0
- package/.next-prod/static/chunks/4699.8603b2742a761084.js +1 -0
- package/.next-prod/static/chunks/4823.907850963b2bcb70.js +1 -0
- package/.next-prod/static/chunks/4829.402ec60139d36417.js +1 -0
- package/.next-prod/static/chunks/4892.1674cc00200143ba.js +1 -0
- package/.next-prod/static/chunks/4900.b723a916eafdf743.js +1 -0
- package/.next-prod/static/chunks/4903.004f583a12223dac.js +1 -0
- package/.next-prod/static/chunks/4963.0f6678151a159143.js +1 -0
- package/.next-prod/static/chunks/4969.1cb10af9489ea295.js +1 -0
- package/.next-prod/static/chunks/4976.8870319ffbd1c31f.js +1 -0
- package/.next-prod/static/chunks/4bd1b696-e5d7c65570c947b7.js +1 -0
- package/.next-prod/static/chunks/4ca0cff5.07efe2bc8f09d72e.js +1 -0
- package/.next-prod/static/chunks/5005.cf839e066f3d3efe.js +1 -0
- package/.next-prod/static/chunks/5019.2906d96e77b98f68.js +198 -0
- package/.next-prod/static/chunks/5025.b597364f0cf8b85a.js +1 -0
- package/.next-prod/static/chunks/5061.025d30c3123eeaf6.js +1 -0
- package/.next-prod/static/chunks/5136.ac897c2a56ee392f.js +1 -0
- package/.next-prod/static/chunks/5139.83dc2c84aeea716b.js +63 -0
- package/.next-prod/static/chunks/5183.2e5c895a2be76262.js +1 -0
- package/.next-prod/static/chunks/5199.5faac6a2cc104a4c.js +36 -0
- package/.next-prod/static/chunks/5269.25d99df0164521ad.js +23 -0
- package/.next-prod/static/chunks/5318.d48b9096df0171df.js +1 -0
- package/.next-prod/static/chunks/5320.191be461ff110fb3.js +1 -0
- package/.next-prod/static/chunks/5325.aad15a16a5d57787.js +1 -0
- package/.next-prod/static/chunks/5331.4d5d42e5253dbee2.js +1 -0
- package/.next-prod/static/chunks/5338.76f7773c317f3142.js +1 -0
- package/.next-prod/static/chunks/5347.3192e0021174aaa8.js +1 -0
- package/.next-prod/static/chunks/5364.2e5ba480c24d7854.js +148 -0
- package/.next-prod/static/chunks/5375.ebc026e6140b52f1.js +1 -0
- package/.next-prod/static/chunks/5394.9d260f733e336357.js +287 -0
- package/.next-prod/static/chunks/53c1bd3f.2911e2bac119d910.js +1 -0
- package/.next-prod/static/chunks/541.cfa15b606745131a.js +1 -0
- package/.next-prod/static/chunks/5424.4d62f7ee887cd8b9.js +1 -0
- package/.next-prod/static/chunks/5482.0907421e6bf5eeec.js +1 -0
- package/.next-prod/static/chunks/5491.5cc285c4b84dac30.js +1 -0
- package/.next-prod/static/chunks/5493-9f80ad2c7c9cf840.js +1 -0
- package/.next-prod/static/chunks/5498.fa0a196807d6cd2f.js +1 -0
- package/.next-prod/static/chunks/54a60aa6-f60235f3d6b54466.js +79 -0
- package/.next-prod/static/chunks/5518.6c3dc9afe81a566b.js +1 -0
- package/.next-prod/static/chunks/5520.eab85d7487e77510.js +1 -0
- package/.next-prod/static/chunks/5553.75df19e3cc1246d6.js +1 -0
- package/.next-prod/static/chunks/5575.3d90c643343a1329.js +1 -0
- package/.next-prod/static/chunks/5645.9002948124d25d41.js +1 -0
- package/.next-prod/static/chunks/5670.2a1b27a6fdb7aa6b.js +1 -0
- package/.next-prod/static/chunks/5690.d30877807cf5c7eb.js +1 -0
- package/.next-prod/static/chunks/570e4624.a82467c542429379.js +1 -0
- package/.next-prod/static/chunks/5712.574fca2d5f06483a.js +1 -0
- package/.next-prod/static/chunks/5728.8ef773d61765855e.js +1 -0
- package/.next-prod/static/chunks/5750.aa57d25b74640d23.js +1 -0
- package/.next-prod/static/chunks/5755.00015c284ed6fb39.js +1 -0
- package/.next-prod/static/chunks/5788.e5d5040b65e5edf3.js +1 -0
- package/.next-prod/static/chunks/579.33fc87fb95163c6a.js +1 -0
- package/.next-prod/static/chunks/583.5061a2f9e7b7e97d.js +1 -0
- package/.next-prod/static/chunks/5920.9db223329ee9e11a.js +1 -0
- package/.next-prod/static/chunks/5922.0d75c174139a59a4.js +1 -0
- package/.next-prod/static/chunks/5937.0827b5b3eb831ff0.js +1 -0
- package/.next-prod/static/chunks/5968.63d5869783fad06f.js +1 -0
- package/.next-prod/static/chunks/5997.226c07d9e6c496e0.js +1 -0
- package/.next-prod/static/chunks/6026.4027a04696ef04db.js +1 -0
- package/.next-prod/static/chunks/6046.00d36aea7fd5b147.js +1 -0
- package/.next-prod/static/chunks/6089.2dd351186ec85cc3.js +1 -0
- package/.next-prod/static/chunks/6099.43e6595fcf24fc33.js +1 -0
- package/.next-prod/static/chunks/6110.5ce3f75fced27aaf.js +1 -0
- package/.next-prod/static/chunks/6144.f967a8228bcdf663.js +1 -0
- package/.next-prod/static/chunks/6155.e6cf0ef7c818caa9.js +1 -0
- package/.next-prod/static/chunks/6166.ecd82a9dcb484b97.js +1 -0
- package/.next-prod/static/chunks/624.2dd909fbfce98c5e.js +1 -0
- package/.next-prod/static/chunks/6290.e14cf4fc52dd4539.js +1 -0
- package/.next-prod/static/chunks/6293.5914fa73a9f7e777.js +1 -0
- package/.next-prod/static/chunks/6311.5b9c1f74df9a8f67.js +1 -0
- package/.next-prod/static/chunks/6331.758f2f66b92cada9.js +1 -0
- package/.next-prod/static/chunks/6339.bc9301cc22898be0.js +1 -0
- package/.next-prod/static/chunks/6360.ff0a9063773daeeb.js +1 -0
- package/.next-prod/static/chunks/6383.ca3e074feb80c69c.js +1 -0
- package/.next-prod/static/chunks/640.5bf1e25d0bddf875.js +1 -0
- package/.next-prod/static/chunks/6402.a0070d7688ed986b.js +1 -0
- package/.next-prod/static/chunks/6412.089ee787a294d10b.js +1 -0
- package/.next-prod/static/chunks/6455.12b78a2660d609eb.js +1 -0
- package/.next-prod/static/chunks/6460.8ce93fe47320f6c5.js +1 -0
- package/.next-prod/static/chunks/6563.5d618b608750f4dc.js +1 -0
- package/.next-prod/static/chunks/6572.ca2463823b9b01a0.js +1 -0
- package/.next-prod/static/chunks/6580.75d53830b434451f.js +1 -0
- package/.next-prod/static/chunks/6588.0fbca957af7d9e6a.js +1 -0
- package/.next-prod/static/chunks/6647.584c5d5cd8dfdb5a.js +1 -0
- package/.next-prod/static/chunks/6686.796c782c33ab8ca9.js +1 -0
- package/.next-prod/static/chunks/6701.bff0efb979f71a17.js +1 -0
- package/.next-prod/static/chunks/6704.f280f0ad0f5d8644.js +1 -0
- package/.next-prod/static/chunks/6729.0f91dcaaaffa2ed4.js +1 -0
- package/.next-prod/static/chunks/6741.06fdaf122961074e.js +1 -0
- package/.next-prod/static/chunks/6846.91283f709c40802c.js +1 -0
- package/.next-prod/static/chunks/6859.bacad166ee995fe0.js +1 -0
- package/.next-prod/static/chunks/6871.38519003bd87ac1c.js +62 -0
- package/.next-prod/static/chunks/6887.6c81234d73740fb9.js +1 -0
- package/.next-prod/static/chunks/6927.aa3914b5fb0d14d4.js +1 -0
- package/.next-prod/static/chunks/6931.3c90e9fe0f7f1e66.js +1 -0
- package/.next-prod/static/chunks/6938.0ccf683bd8aa8410.js +1 -0
- package/.next-prod/static/chunks/6948.2719ed8731963209.js +1 -0
- package/.next-prod/static/chunks/6959.5a803faf27f88e9f.js +1 -0
- package/.next-prod/static/chunks/6962.3bbd080592d4efa0.js +64 -0
- package/.next-prod/static/chunks/698.e0dda03fd303b96b.js +1 -0
- package/.next-prod/static/chunks/700.65a02f6a597083dc.js +9 -0
- package/.next-prod/static/chunks/7021.b71240b1d5f6fbe4.js +1 -0
- package/.next-prod/static/chunks/7040.b8e05ba7cbf46556.js +1 -0
- package/.next-prod/static/chunks/7041.174bf29bd837f06d.js +1 -0
- package/.next-prod/static/chunks/7082.fc816f91214026d7.js +1 -0
- package/.next-prod/static/chunks/7084.921c9737b83f55eb.js +1 -0
- package/.next-prod/static/chunks/7085.b16e7c0e24741232.js +215 -0
- package/.next-prod/static/chunks/70e0d97a-6903b8594c742784.js +1 -0
- package/.next-prod/static/chunks/7113.86e40b60c804b8c5.js +1 -0
- package/.next-prod/static/chunks/7130.8d24694735826c22.js +1 -0
- package/.next-prod/static/chunks/7142.dbd2cf8141eece5e.js +1 -0
- package/.next-prod/static/chunks/7152.c7b7f1f5e9622f21.js +1 -0
- package/.next-prod/static/chunks/7182.b747e3ef1524157a.js +1 -0
- package/.next-prod/static/chunks/7227.a6b2f01487bb3d9d.js +1 -0
- package/.next-prod/static/chunks/7258.6cbe24c3bcb63d1d.js +1 -0
- package/.next-prod/static/chunks/7425.8b47c8e398a12dd8.js +1 -0
- package/.next-prod/static/chunks/7443.124211e5abc05d3f.js +93 -0
- package/.next-prod/static/chunks/7455.71d54397710b923c.js +1 -0
- package/.next-prod/static/chunks/7465.867e8ff655666413.js +1 -0
- package/.next-prod/static/chunks/7479.433d3878625aba75.js +24 -0
- package/.next-prod/static/chunks/7524.9528295a19a5837a.js +1 -0
- package/.next-prod/static/chunks/7525.f433aaf1fe40c90a.js +1 -0
- package/.next-prod/static/chunks/7547.54b68d37b50c2f21.js +43 -0
- package/.next-prod/static/chunks/7557.bdc743175125b3d8.js +1 -0
- package/.next-prod/static/chunks/7610.b1439345dbcf285d.js +1 -0
- package/.next-prod/static/chunks/7625.ab66bd50d2fb61a4.js +1 -0
- package/.next-prod/static/chunks/7635.166d83de1d29e758.js +1 -0
- package/.next-prod/static/chunks/7636.bf91320a9ff695af.js +1 -0
- package/.next-prod/static/chunks/7650.18f74243e9325242.js +1 -0
- package/.next-prod/static/chunks/7785.1402a4110c300764.js +1 -0
- package/.next-prod/static/chunks/7799.f90cda9aba4e0e77.js +1 -0
- package/.next-prod/static/chunks/7819.3c56f48c0dc5ad5d.js +1 -0
- package/.next-prod/static/chunks/7844.2bb29faa262f313e.js +1 -0
- package/.next-prod/static/chunks/7846.c9705c044ab8f87a.js +1 -0
- package/.next-prod/static/chunks/7874.8db6929b94cdf697.js +1 -0
- package/.next-prod/static/chunks/7884.79af1a2f4511cea5.js +1 -0
- package/.next-prod/static/chunks/7889.af3e581842f34c28.js +1 -0
- package/.next-prod/static/chunks/7921.c361f794cc208e06.js +1 -0
- package/.next-prod/static/chunks/794.06b1ae4fc9cc10a9.js +1 -0
- package/.next-prod/static/chunks/7977.80e4daa080a79c39.js +1 -0
- package/.next-prod/static/chunks/799ebd4e.ccb85c56e9216a38.js +1 -0
- package/.next-prod/static/chunks/7d29de82.30ff86a90cbfd921.js +1 -0
- package/.next-prod/static/chunks/8113.907baefc7227cfb8.js +1 -0
- package/.next-prod/static/chunks/8132.74491162f08af899.js +1 -0
- package/.next-prod/static/chunks/816.ccc7dc455fcaf7c0.js +1 -0
- package/.next-prod/static/chunks/8192.5918d83ac6a0e2dc.js +1 -0
- package/.next-prod/static/chunks/8243.aa3ccfb41335eb1f.js +1 -0
- package/.next-prod/static/chunks/8257.dd8f651f1a43fee2.js +1 -0
- package/.next-prod/static/chunks/8288.8ff86c6a3bee6b7c.js +1 -0
- package/.next-prod/static/chunks/830.e49b226c07876df4.js +1 -0
- package/.next-prod/static/chunks/8317.9c6f22e0c8cd07a8.js +141 -0
- package/.next-prod/static/chunks/8318.a70d7a81445f8cf9.js +1 -0
- package/.next-prod/static/chunks/840.a9c535f8868cc4bd.js +1 -0
- package/.next-prod/static/chunks/8406.955ccfbb4b70b8c3.js +1 -0
- package/.next-prod/static/chunks/8430.b1f802dcffa41626.js +1 -0
- package/.next-prod/static/chunks/8432.bd66ac287c569996.js +1 -0
- package/.next-prod/static/chunks/8457.b61d96d8d30215fc.js +1 -0
- package/.next-prod/static/chunks/8496.046efd6301dd804f.js +1 -0
- package/.next-prod/static/chunks/8545.be0c9eea6aae5971.js +1 -0
- package/.next-prod/static/chunks/8555.ab3ee6358f1d64da.js +1 -0
- package/.next-prod/static/chunks/862.7cd3197e1ba5fd00.js +1 -0
- package/.next-prod/static/chunks/8656.2ceb4e5ff5df2fca.js +1 -0
- package/.next-prod/static/chunks/8670.90ede75068758e82.js +1 -0
- package/.next-prod/static/chunks/8704.a1003918da6654da.js +1 -0
- package/.next-prod/static/chunks/8773.614f1f4f0f845c5e.js +1 -0
- package/.next-prod/static/chunks/8776.6fb12270eca03fd3.js +149 -0
- package/.next-prod/static/chunks/8848.b0a10ee0b0a2b91b.js +1 -0
- package/.next-prod/static/chunks/8863.4a09596cf95e996a.js +82 -0
- package/.next-prod/static/chunks/893.c469257bbbbca4f5.js +1 -0
- package/.next-prod/static/chunks/8947.31d3d834d8281fd9.js +1 -0
- package/.next-prod/static/chunks/9005.473ce947d16e7f65.js +1 -0
- package/.next-prod/static/chunks/9006.11537833945ec4b8.js +1 -0
- package/.next-prod/static/chunks/9015.c4e40321a6503a1b.js +1 -0
- package/.next-prod/static/chunks/90542734.58d84d15ab7a8c98.js +1 -0
- package/.next-prod/static/chunks/9114-abef8471519b7dee.js +1 -0
- package/.next-prod/static/chunks/9136.191be42a2fee842c.js +1 -0
- package/.next-prod/static/chunks/9178.48a90097ee3f0b0c.js +1 -0
- package/.next-prod/static/chunks/9186.3af6fcd13ab752fa.js +1 -0
- package/.next-prod/static/chunks/9189.3e9d29bf275ec462.js +1 -0
- package/.next-prod/static/chunks/9220.0206dd0432eca784.js +1 -0
- package/.next-prod/static/chunks/9224.401f9320ee58570b.js +1 -0
- package/.next-prod/static/chunks/9233.124321d2f404e01c.js +1 -0
- package/.next-prod/static/chunks/9240.d38ddbe94e0bf128.js +1 -0
- package/.next-prod/static/chunks/9261.303cbbe69262a995.js +1 -0
- package/.next-prod/static/chunks/9267.fbfd65ea31e7448c.js +1 -0
- package/.next-prod/static/chunks/9294.a20485f3282321b3.js +1 -0
- package/.next-prod/static/chunks/92e53eb0.097194be4a0e7d55.js +1 -0
- package/.next-prod/static/chunks/9302.726b065f2df0323a.js +1 -0
- package/.next-prod/static/chunks/9318.ba24787a52cefe4c.js +56 -0
- package/.next-prod/static/chunks/9373.6206c440af44002a.js +1 -0
- package/.next-prod/static/chunks/9377.f9db706e76f04afe.js +1 -0
- package/.next-prod/static/chunks/9382.bc0e11ecc88dd62c.js +1 -0
- package/.next-prod/static/chunks/9421.a5c1dbcfbfdd8f52.js +1 -0
- package/.next-prod/static/chunks/9448.2668b3cd408e86de.js +1 -0
- package/.next-prod/static/chunks/9466.3dacf5969d47ba2c.js +1 -0
- package/.next-prod/static/chunks/9521.e1240eb862eb32dc.js +1 -0
- package/.next-prod/static/chunks/9547.7729788fff21926f.js +1 -0
- package/.next-prod/static/chunks/9565.8de0671f99d12abe.js +1 -0
- package/.next-prod/static/chunks/9569.2f36b2b1c2f838d7.js +1 -0
- package/.next-prod/static/chunks/9615.3b62c13af671f714.js +1 -0
- package/.next-prod/static/chunks/9648.8235b6fea7087b3a.js +1 -0
- package/.next-prod/static/chunks/966.57e4cd93c2368d34.js +1 -0
- package/.next-prod/static/chunks/9666.a515fa6d89a71f1c.js +1 -0
- package/.next-prod/static/chunks/968.29d4ba7ee8bd5ccb.js +1 -0
- package/.next-prod/static/chunks/9680.d5ceac8967e0b6a8.js +1 -0
- package/.next-prod/static/chunks/9690.7773c72f0eff6dec.js +1 -0
- package/.next-prod/static/chunks/9841.422321143547591a.js +1 -0
- package/.next-prod/static/chunks/9842.3b71b65b30d8ef2a.js +1 -0
- package/.next-prod/static/chunks/9996.18b7bca2f0ab222e.js +1 -0
- package/.next-prod/static/chunks/aaea2bcf-6b3391c26b869501.js +1 -0
- package/.next-prod/static/chunks/af7f6608.85a7e1eb0d4130b0.js +53 -0
- package/.next-prod/static/chunks/app/_global-error/page-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/_not-found/page-511b5b7e4ffc7ac9.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/load/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/save/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/global-error-3c48d7d42c672863.js +1 -0
- package/.next-prod/static/chunks/app/layout-44210aade5d56585.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/app/page-cc2bf3ca4c337090.js +1 -0
- package/.next-prod/static/chunks/app/project/page-fb1ff1d5d382977d.js +25 -0
- package/.next-prod/static/chunks/app/review/[id]/page-64f18d8d2476753c.js +1 -0
- package/.next-prod/static/chunks/ce16f5a9.5c7821b201f35593.js +1 -0
- package/.next-prod/static/chunks/cee15710.869cef5f741d40c2.js +1 -0
- package/.next-prod/static/chunks/cfdf2ac7.4506d3f72b310564.js +1 -0
- package/.next-prod/static/chunks/d1c28714.f52cffdd449a2d14.js +1 -0
- package/.next-prod/static/chunks/d3ac728e-d1ae8819b8f0be6a.js +1 -0
- package/.next-prod/static/chunks/e868780c.a081703edc1bc551.js +18 -0
- package/.next-prod/static/chunks/framework-81b2e59ffe13bb24.js +1 -0
- package/.next-prod/static/chunks/main-ac50dc1e450895a2.js +5 -0
- package/.next-prod/static/chunks/main-app-b76c0df33a946918.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-f2ae9d2d29d5fe08.js +1 -0
- package/.next-prod/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/.next-prod/static/chunks/webpack-67d02a2a41508d41.js +1 -0
- package/.next-prod/static/css/2163ab5e45fedc6a.css +1 -0
- package/.next-prod/static/css/dd86f60184ab34a9.css +3 -0
- package/.next-prod/static/media/0086f8992871c45b-s.woff2 +0 -0
- package/.next-prod/static/media/03b436aa846269de-s.woff2 +0 -0
- package/.next-prod/static/media/08aedeceaf1dcd57-s.woff2 +0 -0
- package/.next-prod/static/media/0aa834ed78bf6d07-s.woff2 +0 -0
- package/.next-prod/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
- package/.next-prod/static/media/21350d82a1f187e9-s.woff2 +0 -0
- package/.next-prod/static/media/36008747766f78c6-s.woff2 +0 -0
- package/.next-prod/static/media/5c0c2bcbaa4149ca-s.p.woff2 +0 -0
- package/.next-prod/static/media/67957d42bae0796d-s.woff2 +0 -0
- package/.next-prod/static/media/6d38f9d4e0f4772b-s.woff2 +0 -0
- package/.next-prod/static/media/886030b0b59bc5a7-s.woff2 +0 -0
- package/.next-prod/static/media/8e9860b6e62d6359-s.woff2 +0 -0
- package/.next-prod/static/media/939c4f875ee75fbb-s.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_AMS-Regular.1608a09b.woff +0 -0
- package/.next-prod/static/media/KaTeX_AMS-Regular.4aafdb68.ttf +0 -0
- package/.next-prod/static/media/KaTeX_AMS-Regular.a79f1c31.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Caligraphic-Bold.b6770918.woff +0 -0
- package/.next-prod/static/media/KaTeX_Caligraphic-Bold.cce5b8ec.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Caligraphic-Bold.ec17d132.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Caligraphic-Regular.07ef19e7.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Caligraphic-Regular.55fac258.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Caligraphic-Regular.dad44a7f.woff +0 -0
- package/.next-prod/static/media/KaTeX_Fraktur-Bold.9f256b85.woff +0 -0
- package/.next-prod/static/media/KaTeX_Fraktur-Bold.b18f59e1.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Fraktur-Bold.d42a5579.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Fraktur-Regular.7c187121.woff +0 -0
- package/.next-prod/static/media/KaTeX_Fraktur-Regular.d3c882a6.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Fraktur-Regular.ed38e79f.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Main-Bold.b74a1a8b.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Main-Bold.c3fb5ac2.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Main-Bold.d181c465.woff +0 -0
- package/.next-prod/static/media/KaTeX_Main-BoldItalic.6f2bb1df.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Main-BoldItalic.70d8b0a5.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Main-BoldItalic.e3f82f9d.woff +0 -0
- package/.next-prod/static/media/KaTeX_Main-Italic.47373d1e.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Main-Italic.8916142b.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Main-Italic.9024d815.woff +0 -0
- package/.next-prod/static/media/KaTeX_Main-Regular.0462f03b.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Main-Regular.7f51fe03.woff +0 -0
- package/.next-prod/static/media/KaTeX_Main-Regular.b7f8fe9b.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Math-BoldItalic.572d331f.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Math-BoldItalic.a879cf83.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Math-BoldItalic.f1035d8d.woff +0 -0
- package/.next-prod/static/media/KaTeX_Math-Italic.5295ba48.woff +0 -0
- package/.next-prod/static/media/KaTeX_Math-Italic.939bc644.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Math-Italic.f28c23ac.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_SansSerif-Bold.8c5b5494.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_SansSerif-Bold.94e1e8dc.ttf +0 -0
- package/.next-prod/static/media/KaTeX_SansSerif-Bold.bf59d231.woff +0 -0
- package/.next-prod/static/media/KaTeX_SansSerif-Italic.3b1e59b3.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_SansSerif-Italic.7c9bc82b.woff +0 -0
- package/.next-prod/static/media/KaTeX_SansSerif-Italic.b4c20c84.ttf +0 -0
- package/.next-prod/static/media/KaTeX_SansSerif-Regular.74048478.woff +0 -0
- package/.next-prod/static/media/KaTeX_SansSerif-Regular.ba21ed5f.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_SansSerif-Regular.d4d7ba48.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Script-Regular.03e9641d.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Script-Regular.07505710.woff +0 -0
- package/.next-prod/static/media/KaTeX_Script-Regular.fe9cbbe1.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Size1-Regular.e1e279cb.woff +0 -0
- package/.next-prod/static/media/KaTeX_Size1-Regular.eae34984.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Size1-Regular.fabc004a.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Size2-Regular.57727022.woff +0 -0
- package/.next-prod/static/media/KaTeX_Size2-Regular.5916a24f.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Size2-Regular.d6b476ec.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Size3-Regular.9acaf01c.woff +0 -0
- package/.next-prod/static/media/KaTeX_Size3-Regular.a144ef58.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Size3-Regular.b4230e7e.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Size4-Regular.10d95fd3.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Size4-Regular.7a996c9d.woff +0 -0
- package/.next-prod/static/media/KaTeX_Size4-Regular.fbccdabe.ttf +0 -0
- package/.next-prod/static/media/KaTeX_Typewriter-Regular.6258592b.woff +0 -0
- package/.next-prod/static/media/KaTeX_Typewriter-Regular.a8709e36.woff2 +0 -0
- package/.next-prod/static/media/KaTeX_Typewriter-Regular.d97aaf4a.ttf +0 -0
- package/.next-prod/static/media/ab00a911ac2adf48-s.woff2 +0 -0
- package/.next-prod/static/media/ba9851c3c22cd980-s.woff2 +0 -0
- package/.next-prod/static/media/bb3ef058b751a6ad-s.p.woff2 +0 -0
- package/.next-prod/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
- package/.next-prod/static/media/df0a9ae256c0569c-s.woff2 +0 -0
- package/.next-prod/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
- package/.next-prod/static/media/f911b923c6adde36-s.woff2 +0 -0
- package/.next-prod/trace +12 -0
- package/.next-prod/trace-build +1 -0
- package/.next-prod/types/app/api/bash/route.ts +350 -0
- package/.next-prod/types/app/api/chat/route.ts +350 -0
- package/.next-prod/types/app/api/claude-stats/route.ts +350 -0
- package/.next-prod/types/app/api/commands/route.ts +350 -0
- package/.next-prod/types/app/api/comments/route.ts +350 -0
- package/.next-prod/types/app/api/db/columns/route.ts +350 -0
- package/.next-prod/types/app/api/db/connect/route.ts +350 -0
- package/.next-prod/types/app/api/db/disconnect/route.ts +350 -0
- package/.next-prod/types/app/api/db/export/route.ts +350 -0
- package/.next-prod/types/app/api/db/query/route.ts +350 -0
- package/.next-prod/types/app/api/db/schemas/route.ts +350 -0
- package/.next-prod/types/app/api/extension/version/route.ts +350 -0
- package/.next-prod/types/app/api/file/route.ts +350 -0
- package/.next-prod/types/app/api/files/blame/route.ts +350 -0
- package/.next-prod/types/app/api/files/clipboard/route.ts +350 -0
- package/.next-prod/types/app/api/files/copy/route.ts +350 -0
- package/.next-prod/types/app/api/files/delete/route.ts +350 -0
- package/.next-prod/types/app/api/files/expanded/route.ts +350 -0
- package/.next-prod/types/app/api/files/index/route.ts +350 -0
- package/.next-prod/types/app/api/files/init/route.ts +350 -0
- package/.next-prod/types/app/api/files/paste/route.ts +350 -0
- package/.next-prod/types/app/api/files/read/route.ts +350 -0
- package/.next-prod/types/app/api/files/readdir/route.ts +350 -0
- package/.next-prod/types/app/api/files/recent/route.ts +350 -0
- package/.next-prod/types/app/api/files/save/route.ts +350 -0
- package/.next-prod/types/app/api/files/search/route.ts +350 -0
- package/.next-prod/types/app/api/git/branch-diff/route.ts +350 -0
- package/.next-prod/types/app/api/git/branches/route.ts +350 -0
- package/.next-prod/types/app/api/git/commit-diff/route.ts +350 -0
- package/.next-prod/types/app/api/git/commits/route.ts +350 -0
- package/.next-prod/types/app/api/git/diff/route.ts +350 -0
- package/.next-prod/types/app/api/git/discard/route.ts +350 -0
- package/.next-prod/types/app/api/git/stage/route.ts +350 -0
- package/.next-prod/types/app/api/git/status/route.ts +350 -0
- package/.next-prod/types/app/api/git/unstage/route.ts +350 -0
- package/.next-prod/types/app/api/git/worktree/route.ts +350 -0
- package/.next-prod/types/app/api/global-state/route.ts +350 -0
- package/.next-prod/types/app/api/jupyter/load/route.ts +350 -0
- package/.next-prod/types/app/api/jupyter/save/route.ts +350 -0
- package/.next-prod/types/app/api/jupyter/shutdown/route.ts +350 -0
- package/.next-prod/types/app/api/lsp/definition/route.ts +350 -0
- package/.next-prod/types/app/api/lsp/hover/route.ts +350 -0
- package/.next-prod/types/app/api/lsp/references/route.ts +350 -0
- package/.next-prod/types/app/api/lsp/status/route.ts +350 -0
- package/.next-prod/types/app/api/lsp/warmup/route.ts +350 -0
- package/.next-prod/types/app/api/mysql/columns/route.ts +350 -0
- package/.next-prod/types/app/api/mysql/connect/route.ts +350 -0
- package/.next-prod/types/app/api/mysql/disconnect/route.ts +350 -0
- package/.next-prod/types/app/api/mysql/export/route.ts +350 -0
- package/.next-prod/types/app/api/mysql/query/route.ts +350 -0
- package/.next-prod/types/app/api/mysql/schemas/route.ts +350 -0
- package/.next-prod/types/app/api/note/route.ts +350 -0
- package/.next-prod/types/app/api/open-cursor/route.ts +350 -0
- package/.next-prod/types/app/api/open-vscode/route.ts +350 -0
- package/.next-prod/types/app/api/pick-folder/route.ts +350 -0
- package/.next-prod/types/app/api/pinned-sessions/route.ts +350 -0
- package/.next-prod/types/app/api/project-settings/route.ts +350 -0
- package/.next-prod/types/app/api/project-state/route.ts +350 -0
- package/.next-prod/types/app/api/projects/route.ts +350 -0
- package/.next-prod/types/app/api/redis/command/route.ts +350 -0
- package/.next-prod/types/app/api/redis/connect/route.ts +350 -0
- package/.next-prod/types/app/api/redis/delete/route.ts +350 -0
- package/.next-prod/types/app/api/redis/disconnect/route.ts +350 -0
- package/.next-prod/types/app/api/redis/get/route.ts +350 -0
- package/.next-prod/types/app/api/redis/keys/route.ts +350 -0
- package/.next-prod/types/app/api/redis/set/route.ts +350 -0
- package/.next-prod/types/app/api/review/[id]/comments/route.ts +350 -0
- package/.next-prod/types/app/api/review/[id]/replies/route.ts +350 -0
- package/.next-prod/types/app/api/review/[id]/route.ts +350 -0
- package/.next-prod/types/app/api/review/identify/route.ts +350 -0
- package/.next-prod/types/app/api/review/order/route.ts +350 -0
- package/.next-prod/types/app/api/review/route.ts +350 -0
- package/.next-prod/types/app/api/review/share-info/route.ts +350 -0
- package/.next-prod/types/app/api/review/users/route.ts +350 -0
- package/.next-prod/types/app/api/scheduled-tasks/route.ts +350 -0
- package/.next-prod/types/app/api/services/config/route.ts +350 -0
- package/.next-prod/types/app/api/services/scripts/route.ts +350 -0
- package/.next-prod/types/app/api/session/[sessionId]/fork/route.ts +350 -0
- package/.next-prod/types/app/api/session/[sessionId]/history/route.ts +350 -0
- package/.next-prod/types/app/api/session-by-path/route.ts +350 -0
- package/.next-prod/types/app/api/sessions/projects/[encodedPath]/route.ts +350 -0
- package/.next-prod/types/app/api/sessions/projects/route.ts +350 -0
- package/.next-prod/types/app/api/sessions/route.ts +350 -0
- package/.next-prod/types/app/api/settings/route.ts +350 -0
- package/.next-prod/types/app/api/terminal/aliases/route.ts +350 -0
- package/.next-prod/types/app/api/terminal/autocomplete/route.ts +350 -0
- package/.next-prod/types/app/api/terminal/bubble-order/route.ts +350 -0
- package/.next-prod/types/app/api/terminal/env/route.ts +350 -0
- package/.next-prod/types/app/api/terminal/history/route.ts +350 -0
- package/.next-prod/types/app/api/version/route.ts +350 -0
- package/.next-prod/types/app/page.ts +86 -0
- package/.next-prod/types/app/project/page.ts +86 -0
- package/.next-prod/types/app/review/[id]/page.ts +86 -0
- package/.next-prod/types/package.json +1 -0
- package/.next-prod/types/routes.d.ts +164 -0
- package/.next-prod/types/validator.ts +898 -0
- package/LICENSE +21 -0
- package/README.md +94 -0
- package/README.zh.md +100 -0
- package/bin/cock-browser.mjs +435 -0
- package/bin/cock-dev.mjs +6 -0
- package/bin/cock-terminal.mjs +215 -0
- package/bin/cock.mjs +99 -0
- package/bin/postinstall.mjs +29 -0
- package/chrome-extension/automation.js +684 -0
- package/chrome-extension/background.js +364 -0
- package/chrome-extension/content.js +224 -0
- package/chrome-extension/disguise.js +14 -0
- package/chrome-extension/icons/icon128.png +0 -0
- package/chrome-extension/icons/icon16.png +0 -0
- package/chrome-extension/icons/icon48.png +0 -0
- package/chrome-extension/manifest.json +42 -0
- package/chrome-extension/network-capture.js +197 -0
- package/chrome-extension/rules.json +56 -0
- package/dist/JupyterKernelManager-475VNVA5.mjs +248 -0
- package/dist/chunk-OER3N6H7.mjs +250 -0
- package/dist/scheduledTasks.mjs +418 -0
- package/dist/wsServer.mjs +1441 -0
- package/next.config.ts +18 -0
- package/package.json +122 -0
- package/public/favicon.ico +0 -0
- package/public/icons/dev/icon-128x128.png +0 -0
- package/public/icons/dev/icon-144x144.png +0 -0
- package/public/icons/dev/icon-152x152.png +0 -0
- package/public/icons/dev/icon-192x192.png +0 -0
- package/public/icons/dev/icon-384x384.png +0 -0
- package/public/icons/dev/icon-512x512.png +0 -0
- package/public/icons/dev/icon-72x72.png +0 -0
- package/public/icons/dev/icon-96x96.png +0 -0
- package/public/icons/icon-128x128.png +0 -0
- package/public/icons/icon-144x144.png +0 -0
- package/public/icons/icon-152x152.png +0 -0
- package/public/icons/icon-192x192.png +0 -0
- package/public/icons/icon-384x384.png +0 -0
- package/public/icons/icon-512x512.png +0 -0
- package/public/icons/icon-72x72.png +0 -0
- package/public/icons/icon-96x96.png +0 -0
- package/server.mjs +135 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
// src/lib/paths.ts
|
|
2
|
+
import { homedir } from "os";
|
|
3
|
+
import { join } from "path";
|
|
4
|
+
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
5
|
+
import { existsSync, writeFileSync, mkdirSync } from "fs";
|
|
6
|
+
var HOME_DIR = homedir();
|
|
7
|
+
var COCKPIT_DIR = join(HOME_DIR, ".cockpit");
|
|
8
|
+
var COCKPIT_PROJECTS_DIR = join(COCKPIT_DIR, "projects");
|
|
9
|
+
var GLOBAL_STATE_FILE = join(COCKPIT_DIR, "state.json");
|
|
10
|
+
var PINNED_SESSIONS_FILE = join(COCKPIT_DIR, "pinned-sessions.json");
|
|
11
|
+
var NOTE_FILE = join(COCKPIT_DIR, "note.md");
|
|
12
|
+
var SCHEDULED_TASKS_FILE = join(COCKPIT_DIR, "scheduled-tasks.json");
|
|
13
|
+
var SETTINGS_FILE = join(COCKPIT_DIR, "settings.json");
|
|
14
|
+
var REVIEW_DIR = join(COCKPIT_DIR, "review");
|
|
15
|
+
var REVIEW_SIGNAL_FILE = join(REVIEW_DIR, "_signal");
|
|
16
|
+
var CLAUDE_DIR = join(HOME_DIR, ".claude");
|
|
17
|
+
var CLAUDE_PROJECTS_DIR = join(CLAUDE_DIR, "projects");
|
|
18
|
+
function encodePath(path) {
|
|
19
|
+
return path.replace(/[/.]/g, "-");
|
|
20
|
+
}
|
|
21
|
+
function getCockpitProjectDir(cwd) {
|
|
22
|
+
return join(COCKPIT_PROJECTS_DIR, encodePath(cwd));
|
|
23
|
+
}
|
|
24
|
+
function getTerminalHistoryPath(cwd, tabId) {
|
|
25
|
+
return join(getCockpitProjectDir(cwd), `terminal-history-${tabId}.jsonl`);
|
|
26
|
+
}
|
|
27
|
+
function getTerminalOutputPath(cwd, commandId) {
|
|
28
|
+
return join(getCockpitProjectDir(cwd), `terminal-output-${commandId}.txt`);
|
|
29
|
+
}
|
|
30
|
+
function getClaudeProjectDir(cwd) {
|
|
31
|
+
return join(CLAUDE_PROJECTS_DIR, encodePath(cwd));
|
|
32
|
+
}
|
|
33
|
+
function getClaudeSessionPath(cwd, sessionId) {
|
|
34
|
+
return join(getClaudeProjectDir(cwd), `${sessionId}.jsonl`);
|
|
35
|
+
}
|
|
36
|
+
async function ensureDir(dirPath) {
|
|
37
|
+
if (!existsSync(dirPath)) {
|
|
38
|
+
await mkdir(dirPath, { recursive: true });
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
async function ensureParentDir(filePath) {
|
|
42
|
+
const dir = join(filePath, "..");
|
|
43
|
+
await ensureDir(dir);
|
|
44
|
+
}
|
|
45
|
+
async function readJsonFile(filePath, defaultValue) {
|
|
46
|
+
try {
|
|
47
|
+
const content = await readFile(filePath, "utf-8");
|
|
48
|
+
return JSON.parse(content);
|
|
49
|
+
} catch {
|
|
50
|
+
return defaultValue;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
async function writeJsonFile(filePath, data) {
|
|
54
|
+
await ensureParentDir(filePath);
|
|
55
|
+
await writeFile(filePath, JSON.stringify(data, null, 2), "utf-8");
|
|
56
|
+
}
|
|
57
|
+
var fileLocks = /* @__PURE__ */ new Map();
|
|
58
|
+
function withFileLock(filePath, fn) {
|
|
59
|
+
const prev = fileLocks.get(filePath) ?? Promise.resolve();
|
|
60
|
+
const run = prev.then(fn);
|
|
61
|
+
const chain = run.then(() => {
|
|
62
|
+
}, () => {
|
|
63
|
+
});
|
|
64
|
+
fileLocks.set(filePath, chain);
|
|
65
|
+
chain.then(() => {
|
|
66
|
+
if (fileLocks.get(filePath) === chain) {
|
|
67
|
+
fileLocks.delete(filePath);
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
return run;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// src/lib/global-state.ts
|
|
74
|
+
import { createReadStream, existsSync as existsSync2 } from "fs";
|
|
75
|
+
import { createInterface } from "readline";
|
|
76
|
+
var MAX_SESSIONS = 15;
|
|
77
|
+
var MAX_TEXT_LEN = 50;
|
|
78
|
+
function truncate(s) {
|
|
79
|
+
if (!s) return s;
|
|
80
|
+
const chars = [...s];
|
|
81
|
+
return chars.length <= MAX_TEXT_LEN ? s : chars.slice(0, MAX_TEXT_LEN).join("") + "\u2026";
|
|
82
|
+
}
|
|
83
|
+
async function updateGlobalState(cwd, sessionId, status, title, lastUserMessage) {
|
|
84
|
+
if (!existsSync2(cwd)) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
return withFileLock(GLOBAL_STATE_FILE, async () => {
|
|
88
|
+
const state = await readJsonFile(GLOBAL_STATE_FILE, { sessions: [] });
|
|
89
|
+
for (const s of state.sessions) {
|
|
90
|
+
if (!s.status) {
|
|
91
|
+
const legacy = s;
|
|
92
|
+
s.status = legacy.isLoading ? "loading" : "normal";
|
|
93
|
+
delete legacy.isLoading;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
const existingIndex = state.sessions.findIndex(
|
|
97
|
+
(s) => s.cwd === cwd && s.sessionId === sessionId
|
|
98
|
+
);
|
|
99
|
+
const existing = existingIndex >= 0 ? state.sessions[existingIndex] : void 0;
|
|
100
|
+
const newSession = {
|
|
101
|
+
cwd,
|
|
102
|
+
sessionId,
|
|
103
|
+
lastActive: Date.now(),
|
|
104
|
+
status,
|
|
105
|
+
title: truncate(title || existing?.title),
|
|
106
|
+
lastUserMessage: truncate(lastUserMessage || existing?.lastUserMessage)
|
|
107
|
+
};
|
|
108
|
+
if (existingIndex >= 0) {
|
|
109
|
+
state.sessions[existingIndex] = newSession;
|
|
110
|
+
} else {
|
|
111
|
+
state.sessions.push(newSession);
|
|
112
|
+
}
|
|
113
|
+
state.sessions.sort((a, b) => b.lastActive - a.lastActive);
|
|
114
|
+
state.sessions = state.sessions.slice(0, MAX_SESSIONS);
|
|
115
|
+
await writeJsonFile(GLOBAL_STATE_FILE, state);
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
async function getSessionTitle(cwd, sessionId) {
|
|
119
|
+
const filePath = getClaudeSessionPath(cwd, sessionId);
|
|
120
|
+
if (!existsSync2(filePath)) {
|
|
121
|
+
return "Untitled Session";
|
|
122
|
+
}
|
|
123
|
+
try {
|
|
124
|
+
const fileStream = createReadStream(filePath);
|
|
125
|
+
const rl = createInterface({
|
|
126
|
+
input: fileStream,
|
|
127
|
+
crlfDelay: Infinity
|
|
128
|
+
});
|
|
129
|
+
let summary = "";
|
|
130
|
+
const userMessages = [];
|
|
131
|
+
for await (const line of rl) {
|
|
132
|
+
if (!line.trim()) continue;
|
|
133
|
+
try {
|
|
134
|
+
const entry = JSON.parse(line);
|
|
135
|
+
if (entry.type === "summary" && entry.summary) {
|
|
136
|
+
summary = entry.summary;
|
|
137
|
+
}
|
|
138
|
+
if (entry.type === "user") {
|
|
139
|
+
const message = entry.message;
|
|
140
|
+
if (message?.content) {
|
|
141
|
+
if (typeof message.content === "string") {
|
|
142
|
+
userMessages.push(message.content);
|
|
143
|
+
} else if (Array.isArray(message.content)) {
|
|
144
|
+
for (const block of message.content) {
|
|
145
|
+
if (block.type === "text" && block.text) {
|
|
146
|
+
userMessages.push(block.text);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
} catch {
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
return generateTitle(summary, userMessages);
|
|
156
|
+
} catch {
|
|
157
|
+
return "Untitled Session";
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
async function getLastUserMessage(cwd, sessionId) {
|
|
161
|
+
const filePath = getClaudeSessionPath(cwd, sessionId);
|
|
162
|
+
if (!existsSync2(filePath)) {
|
|
163
|
+
return void 0;
|
|
164
|
+
}
|
|
165
|
+
try {
|
|
166
|
+
const fileStream = createReadStream(filePath);
|
|
167
|
+
const rl = createInterface({
|
|
168
|
+
input: fileStream,
|
|
169
|
+
crlfDelay: Infinity
|
|
170
|
+
});
|
|
171
|
+
let lastUserMessage;
|
|
172
|
+
for await (const line of rl) {
|
|
173
|
+
if (!line.trim()) continue;
|
|
174
|
+
try {
|
|
175
|
+
const entry = JSON.parse(line);
|
|
176
|
+
if (entry.type === "user") {
|
|
177
|
+
const message = entry.message;
|
|
178
|
+
if (message?.content) {
|
|
179
|
+
let text = "";
|
|
180
|
+
if (typeof message.content === "string") {
|
|
181
|
+
text = message.content;
|
|
182
|
+
} else if (Array.isArray(message.content)) {
|
|
183
|
+
for (const block of message.content) {
|
|
184
|
+
if (block.type === "text" && block.text) {
|
|
185
|
+
text = block.text;
|
|
186
|
+
break;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
if (text) {
|
|
191
|
+
const filtered = filterCommandTags(text);
|
|
192
|
+
if (filtered && isValidUserMessage(filtered)) {
|
|
193
|
+
lastUserMessage = filtered;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
} catch {
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
return lastUserMessage;
|
|
202
|
+
} catch {
|
|
203
|
+
return void 0;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
function filterCommandTags(text) {
|
|
207
|
+
let filtered = text.replace(/<command-[^>]*>[\s\S]*?<\/command-[^>]*>/g, "");
|
|
208
|
+
filtered = filtered.replace(/<local-command-[^>]*>[\s\S]*?<\/local-command-[^>]*>/g, "");
|
|
209
|
+
filtered = filtered.trim();
|
|
210
|
+
return filtered;
|
|
211
|
+
}
|
|
212
|
+
function isValidUserMessage(text) {
|
|
213
|
+
if (text.startsWith("This session is being continued")) return false;
|
|
214
|
+
if (text.startsWith("Caveat: The messages below")) return false;
|
|
215
|
+
if (!text.trim()) return false;
|
|
216
|
+
return true;
|
|
217
|
+
}
|
|
218
|
+
function generateTitle(summary, userMessages) {
|
|
219
|
+
if (summary) return summary;
|
|
220
|
+
let commandName = "";
|
|
221
|
+
for (const msg of userMessages) {
|
|
222
|
+
const filtered = filterCommandTags(msg);
|
|
223
|
+
if (!filtered) continue;
|
|
224
|
+
if (filtered.startsWith("/") && !commandName) {
|
|
225
|
+
commandName = filtered;
|
|
226
|
+
continue;
|
|
227
|
+
}
|
|
228
|
+
if (commandName) {
|
|
229
|
+
return `${commandName} ${filtered}`;
|
|
230
|
+
}
|
|
231
|
+
return filtered;
|
|
232
|
+
}
|
|
233
|
+
if (commandName) return commandName;
|
|
234
|
+
return "Untitled Session";
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export {
|
|
238
|
+
GLOBAL_STATE_FILE,
|
|
239
|
+
SCHEDULED_TASKS_FILE,
|
|
240
|
+
REVIEW_DIR,
|
|
241
|
+
REVIEW_SIGNAL_FILE,
|
|
242
|
+
getTerminalHistoryPath,
|
|
243
|
+
getTerminalOutputPath,
|
|
244
|
+
ensureParentDir,
|
|
245
|
+
readJsonFile,
|
|
246
|
+
writeJsonFile,
|
|
247
|
+
updateGlobalState,
|
|
248
|
+
getSessionTitle,
|
|
249
|
+
getLastUserMessage
|
|
250
|
+
};
|
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SCHEDULED_TASKS_FILE,
|
|
3
|
+
getSessionTitle,
|
|
4
|
+
readJsonFile,
|
|
5
|
+
updateGlobalState,
|
|
6
|
+
writeJsonFile
|
|
7
|
+
} from "./chunk-OER3N6H7.mjs";
|
|
8
|
+
|
|
9
|
+
// src/lib/scheduledTasks.ts
|
|
10
|
+
import { query } from "@anthropic-ai/claude-agent-sdk";
|
|
11
|
+
function parseCronField(field, min, max) {
|
|
12
|
+
const values = [];
|
|
13
|
+
for (const part of field.split(",")) {
|
|
14
|
+
if (part === "*") {
|
|
15
|
+
for (let i = min; i <= max; i++) values.push(i);
|
|
16
|
+
} else if (part.includes("/")) {
|
|
17
|
+
const [range, stepStr] = part.split("/");
|
|
18
|
+
const step = parseInt(stepStr, 10);
|
|
19
|
+
const start = range === "*" ? min : parseInt(range, 10);
|
|
20
|
+
for (let i = start; i <= max; i += step) values.push(i);
|
|
21
|
+
} else if (part.includes("-")) {
|
|
22
|
+
const [a, b] = part.split("-").map(Number);
|
|
23
|
+
for (let i = a; i <= b; i++) values.push(i);
|
|
24
|
+
} else {
|
|
25
|
+
values.push(parseInt(part, 10));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return values;
|
|
29
|
+
}
|
|
30
|
+
function getNextCronTime(cronExpr, after = /* @__PURE__ */ new Date()) {
|
|
31
|
+
const parts = cronExpr.trim().split(/\s+/);
|
|
32
|
+
if (parts.length !== 5) return after.getTime() + 6e4;
|
|
33
|
+
const minutes = parseCronField(parts[0], 0, 59);
|
|
34
|
+
const hours = parseCronField(parts[1], 0, 23);
|
|
35
|
+
const doms = parseCronField(parts[2], 1, 31);
|
|
36
|
+
const months = parseCronField(parts[3], 1, 12);
|
|
37
|
+
const dows = parseCronField(parts[4], 0, 6);
|
|
38
|
+
const candidate = new Date(after);
|
|
39
|
+
candidate.setSeconds(0, 0);
|
|
40
|
+
candidate.setMinutes(candidate.getMinutes() + 1);
|
|
41
|
+
const limit = 366 * 24 * 60;
|
|
42
|
+
for (let i = 0; i < limit; i++) {
|
|
43
|
+
const m = candidate.getMinutes();
|
|
44
|
+
const h = candidate.getHours();
|
|
45
|
+
const d = candidate.getDate();
|
|
46
|
+
const mo = candidate.getMonth() + 1;
|
|
47
|
+
const dow = candidate.getDay();
|
|
48
|
+
if (minutes.includes(m) && hours.includes(h) && doms.includes(d) && months.includes(mo) && dows.includes(dow)) {
|
|
49
|
+
return candidate.getTime();
|
|
50
|
+
}
|
|
51
|
+
candidate.setMinutes(candidate.getMinutes() + 1);
|
|
52
|
+
}
|
|
53
|
+
return after.getTime() + 864e5;
|
|
54
|
+
}
|
|
55
|
+
async function sendChatMessage(task) {
|
|
56
|
+
try {
|
|
57
|
+
const options = {
|
|
58
|
+
resume: task.sessionId,
|
|
59
|
+
cwd: task.cwd,
|
|
60
|
+
settingSources: ["user", "project", "local"],
|
|
61
|
+
allowedTools: [
|
|
62
|
+
"Read",
|
|
63
|
+
"Write",
|
|
64
|
+
"Edit",
|
|
65
|
+
"Bash",
|
|
66
|
+
"Glob",
|
|
67
|
+
"Grep",
|
|
68
|
+
"WebFetch",
|
|
69
|
+
"WebSearch",
|
|
70
|
+
"Task",
|
|
71
|
+
"TodoWrite",
|
|
72
|
+
"mcp__*"
|
|
73
|
+
],
|
|
74
|
+
permissionMode: "bypassPermissions",
|
|
75
|
+
allowDangerouslySkipPermissions: true,
|
|
76
|
+
betas: ["context-1m-2025-08-07"]
|
|
77
|
+
};
|
|
78
|
+
await updateGlobalState(task.cwd, task.sessionId, "loading", void 0, task.message).catch(() => {
|
|
79
|
+
});
|
|
80
|
+
const response = query({
|
|
81
|
+
prompt: task.message,
|
|
82
|
+
options
|
|
83
|
+
});
|
|
84
|
+
for await (const _message of response) {
|
|
85
|
+
}
|
|
86
|
+
const title = await getSessionTitle(task.cwd, task.sessionId);
|
|
87
|
+
await updateGlobalState(task.cwd, task.sessionId, "unread", title);
|
|
88
|
+
return true;
|
|
89
|
+
} catch (error) {
|
|
90
|
+
console.error(`[ScheduledTask] Failed to send message for task ${task.id}:`, error);
|
|
91
|
+
await updateGlobalState(task.cwd, task.sessionId, "unread").catch(() => {
|
|
92
|
+
});
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
var ScheduledTaskManager = class {
|
|
97
|
+
constructor() {
|
|
98
|
+
this.tasks = [];
|
|
99
|
+
this.timers = /* @__PURE__ */ new Map();
|
|
100
|
+
this.port = 0;
|
|
101
|
+
this.initialized = false;
|
|
102
|
+
this.initPromise = null;
|
|
103
|
+
this.onTaskFired = null;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Return the current port (from explicit init or environment variables).
|
|
107
|
+
*/
|
|
108
|
+
getPort() {
|
|
109
|
+
if (this.port) return this.port;
|
|
110
|
+
const envPort = parseInt(process.env.COCKPIT_PORT || "0", 10);
|
|
111
|
+
if (envPort) {
|
|
112
|
+
this.port = envPort;
|
|
113
|
+
return this.port;
|
|
114
|
+
}
|
|
115
|
+
const isDev = process.env.COCKPIT_ENV === "dev";
|
|
116
|
+
this.port = isDev ? 3456 : 3457;
|
|
117
|
+
return this.port;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Ensure the manager is initialized (lazy init; supports calls from different module instances in API routes).
|
|
121
|
+
*/
|
|
122
|
+
async ensureInit() {
|
|
123
|
+
if (this.initialized) return;
|
|
124
|
+
if (this.initPromise) return this.initPromise;
|
|
125
|
+
const port = this.getPort();
|
|
126
|
+
if (!port) return;
|
|
127
|
+
this.initPromise = this.init(port);
|
|
128
|
+
return this.initPromise;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Initialize: load tasks from disk and rebuild timers.
|
|
132
|
+
*/
|
|
133
|
+
async init(port) {
|
|
134
|
+
if (this.initialized) return;
|
|
135
|
+
this.port = port;
|
|
136
|
+
this.initialized = true;
|
|
137
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
138
|
+
this.tasks = allTasks.filter((t) => t.port === port);
|
|
139
|
+
console.log(`[ScheduledTaskManager] Loaded ${this.tasks.length} tasks for port ${port}`);
|
|
140
|
+
for (const task of this.tasks) {
|
|
141
|
+
if (!task.paused && !task.completed) {
|
|
142
|
+
this.scheduleTask(task);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
await this.saveToDisk();
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Register a task-fired callback (used for WS broadcast).
|
|
149
|
+
*/
|
|
150
|
+
setOnTaskFired(cb) {
|
|
151
|
+
this.onTaskFired = cb;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Read tasks for the current port from disk (avoids in-memory inconsistency between dual module instances).
|
|
155
|
+
*/
|
|
156
|
+
async readTasksFromDisk() {
|
|
157
|
+
const port = this.getPort();
|
|
158
|
+
if (!port) return [];
|
|
159
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
160
|
+
return allTasks.filter((t) => t.port === port);
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Return all tasks for the current instance (reads from disk each time to ensure cross-instance consistency).
|
|
164
|
+
*/
|
|
165
|
+
async getTasks() {
|
|
166
|
+
await this.ensureInit();
|
|
167
|
+
const tasks = await this.readTasksFromDisk();
|
|
168
|
+
tasks.sort((a, b) => (a.sortIndex ?? a.createdAt) - (b.sortIndex ?? b.createdAt));
|
|
169
|
+
return tasks;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Return the count of unread tasks (reads from disk each time).
|
|
173
|
+
*/
|
|
174
|
+
async getUnreadCount() {
|
|
175
|
+
await this.ensureInit();
|
|
176
|
+
const tasks = await this.readTasksFromDisk();
|
|
177
|
+
return tasks.filter((t) => t.unread).length;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Add a task.
|
|
181
|
+
*/
|
|
182
|
+
async addTask(task) {
|
|
183
|
+
await this.ensureInit();
|
|
184
|
+
const fullTask = { ...task, port: this.getPort() };
|
|
185
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
186
|
+
allTasks.push(fullTask);
|
|
187
|
+
await writeJsonFile(SCHEDULED_TASKS_FILE, allTasks);
|
|
188
|
+
this.tasks.push(fullTask);
|
|
189
|
+
if (!fullTask.paused && !fullTask.completed) {
|
|
190
|
+
this.scheduleTask(fullTask);
|
|
191
|
+
}
|
|
192
|
+
return fullTask;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Update a task (read → modify → write to disk; avoids dual-instance issues).
|
|
196
|
+
*/
|
|
197
|
+
async updateTask(id, fields) {
|
|
198
|
+
await this.ensureInit();
|
|
199
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
200
|
+
const idx = allTasks.findIndex((t) => t.id === id);
|
|
201
|
+
if (idx === -1) return null;
|
|
202
|
+
const task = { ...allTasks[idx], ...fields };
|
|
203
|
+
allTasks[idx] = task;
|
|
204
|
+
await writeJsonFile(SCHEDULED_TASKS_FILE, allTasks);
|
|
205
|
+
const memIdx = this.tasks.findIndex((t) => t.id === id);
|
|
206
|
+
if (memIdx !== -1) {
|
|
207
|
+
this.tasks[memIdx] = task;
|
|
208
|
+
this.clearTimer(id);
|
|
209
|
+
if (!task.paused && !task.completed) {
|
|
210
|
+
this.scheduleTask(task);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return task;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Delete a task (read → modify → write to disk; avoids dual-instance issues).
|
|
217
|
+
*/
|
|
218
|
+
async deleteTask(id) {
|
|
219
|
+
await this.ensureInit();
|
|
220
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
221
|
+
const idx = allTasks.findIndex((t) => t.id === id);
|
|
222
|
+
if (idx === -1) return false;
|
|
223
|
+
allTasks.splice(idx, 1);
|
|
224
|
+
await writeJsonFile(SCHEDULED_TASKS_FILE, allTasks);
|
|
225
|
+
const memIdx = this.tasks.findIndex((t) => t.id === id);
|
|
226
|
+
if (memIdx !== -1) {
|
|
227
|
+
this.clearTimer(id);
|
|
228
|
+
this.tasks.splice(memIdx, 1);
|
|
229
|
+
}
|
|
230
|
+
return true;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Pause a task.
|
|
234
|
+
*/
|
|
235
|
+
async pauseTask(id) {
|
|
236
|
+
return this.updateTask(id, { paused: true });
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Resume a task.
|
|
240
|
+
*/
|
|
241
|
+
async resumeTask(id) {
|
|
242
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
243
|
+
const task = allTasks.find((t) => t.id === id);
|
|
244
|
+
if (!task) return null;
|
|
245
|
+
const now = Date.now();
|
|
246
|
+
let nextFireTime = task.nextFireTime;
|
|
247
|
+
if (nextFireTime <= now) {
|
|
248
|
+
if (task.type === "interval" && task.intervalMinutes) {
|
|
249
|
+
nextFireTime = now + task.intervalMinutes * 6e4;
|
|
250
|
+
} else if (task.type === "cron" && task.cron) {
|
|
251
|
+
nextFireTime = getNextCronTime(task.cron);
|
|
252
|
+
} else {
|
|
253
|
+
nextFireTime = now + 6e4;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
return this.updateTask(id, { paused: false, nextFireTime });
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Manually trigger a task (runs in the background; returns immediately; does not affect the existing schedule).
|
|
260
|
+
* Skips paused / activeRange checks and sends the message directly.
|
|
261
|
+
*/
|
|
262
|
+
async triggerTask(id) {
|
|
263
|
+
await this.ensureInit();
|
|
264
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
265
|
+
const task = allTasks.find((t) => t.id === id);
|
|
266
|
+
if (!task) return;
|
|
267
|
+
const memIdx = this.tasks.findIndex((t) => t.id === id);
|
|
268
|
+
if (memIdx !== -1) {
|
|
269
|
+
this.tasks[memIdx] = task;
|
|
270
|
+
} else {
|
|
271
|
+
this.tasks.push(task);
|
|
272
|
+
}
|
|
273
|
+
this.fireTaskManual(id).catch((err) => {
|
|
274
|
+
console.error(`[ScheduledTask] Manual trigger failed for ${id}:`, err);
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
/** Internal implementation for manual trigger; skips paused / activeRange checks. */
|
|
278
|
+
async fireTaskManual(id) {
|
|
279
|
+
const task = this.tasks.find((t) => t.id === id);
|
|
280
|
+
if (!task) return;
|
|
281
|
+
console.log(`[ScheduledTask] Manual trigger ${id}: "${task.message}"`);
|
|
282
|
+
const success = await sendChatMessage(task);
|
|
283
|
+
task.lastFiredAt = Date.now();
|
|
284
|
+
task.lastResult = success ? "success" : "error";
|
|
285
|
+
task.unread = true;
|
|
286
|
+
await this.saveToDisk();
|
|
287
|
+
if (this.onTaskFired) {
|
|
288
|
+
this.onTaskFired(task);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Mark a task as read.
|
|
293
|
+
*/
|
|
294
|
+
async markRead(id) {
|
|
295
|
+
await this.updateTask(id, { unread: false });
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Mark all tasks as read (operates directly on disk; avoids dual-instance issues).
|
|
299
|
+
*/
|
|
300
|
+
async markAllRead() {
|
|
301
|
+
await this.ensureInit();
|
|
302
|
+
const port = this.getPort();
|
|
303
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
304
|
+
let changed = false;
|
|
305
|
+
for (const task of allTasks) {
|
|
306
|
+
if (task.port === port && task.unread) {
|
|
307
|
+
task.unread = false;
|
|
308
|
+
changed = true;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
if (changed) await writeJsonFile(SCHEDULED_TASKS_FILE, allTasks);
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Reorder tasks by writing sortIndex values based on the given id array order.
|
|
315
|
+
*/
|
|
316
|
+
async reorderTasks(orderedIds) {
|
|
317
|
+
await this.ensureInit();
|
|
318
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
319
|
+
for (let i = 0; i < orderedIds.length; i++) {
|
|
320
|
+
const task = allTasks.find((t) => t.id === orderedIds[i]);
|
|
321
|
+
if (task) task.sortIndex = i;
|
|
322
|
+
}
|
|
323
|
+
await writeJsonFile(SCHEDULED_TASKS_FILE, allTasks);
|
|
324
|
+
}
|
|
325
|
+
// ---- Internal ----
|
|
326
|
+
/**
|
|
327
|
+
* Schedule a task. If nextFireTime has already passed, recalculate the next fire time instead of firing immediately.
|
|
328
|
+
* Returns true if a timer was set, or false if the task has expired and cannot be rescheduled (once type).
|
|
329
|
+
*/
|
|
330
|
+
scheduleTask(task) {
|
|
331
|
+
const now = Date.now();
|
|
332
|
+
if (task.nextFireTime <= now) {
|
|
333
|
+
if (task.type === "interval" && task.intervalMinutes) {
|
|
334
|
+
task.nextFireTime = now + task.intervalMinutes * 6e4;
|
|
335
|
+
} else if (task.type === "cron" && task.cron) {
|
|
336
|
+
task.nextFireTime = getNextCronTime(task.cron);
|
|
337
|
+
} else {
|
|
338
|
+
task.completed = true;
|
|
339
|
+
return false;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
const delay = task.nextFireTime - now;
|
|
343
|
+
const timer = setTimeout(() => {
|
|
344
|
+
this.fireTask(task.id);
|
|
345
|
+
}, delay);
|
|
346
|
+
this.timers.set(task.id, timer);
|
|
347
|
+
return true;
|
|
348
|
+
}
|
|
349
|
+
clearTimer(id) {
|
|
350
|
+
const timer = this.timers.get(id);
|
|
351
|
+
if (timer) {
|
|
352
|
+
clearTimeout(timer);
|
|
353
|
+
this.timers.delete(id);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Check whether the current time falls within the active time range for an interval task.
|
|
358
|
+
*/
|
|
359
|
+
isInActiveRange(task) {
|
|
360
|
+
if (task.type !== "interval" || !task.activeFrom || !task.activeTo) return true;
|
|
361
|
+
const now = /* @__PURE__ */ new Date();
|
|
362
|
+
const [fh, fm] = task.activeFrom.split(":").map(Number);
|
|
363
|
+
const [th, tm] = task.activeTo.split(":").map(Number);
|
|
364
|
+
const current = now.getHours() * 60 + now.getMinutes();
|
|
365
|
+
const from = fh * 60 + fm;
|
|
366
|
+
const to = th * 60 + tm;
|
|
367
|
+
if (from <= to) {
|
|
368
|
+
return current >= from && current <= to;
|
|
369
|
+
} else {
|
|
370
|
+
return current >= from || current <= to;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
async fireTask(id) {
|
|
374
|
+
const task = this.tasks.find((t) => t.id === id);
|
|
375
|
+
if (!task || task.paused) return;
|
|
376
|
+
if (!this.isInActiveRange(task)) {
|
|
377
|
+
console.log(`[ScheduledTask] Skipping task ${id}: outside active range ${task.activeFrom}-${task.activeTo}`);
|
|
378
|
+
if (task.type === "interval" && task.intervalMinutes) {
|
|
379
|
+
task.nextFireTime = Date.now() + task.intervalMinutes * 6e4;
|
|
380
|
+
this.scheduleTask(task);
|
|
381
|
+
await this.saveToDisk();
|
|
382
|
+
}
|
|
383
|
+
return;
|
|
384
|
+
}
|
|
385
|
+
console.log(`[ScheduledTask] Firing task ${id}: "${task.message}"`);
|
|
386
|
+
const success = await sendChatMessage(task);
|
|
387
|
+
task.lastFiredAt = Date.now();
|
|
388
|
+
task.lastResult = success ? "success" : "error";
|
|
389
|
+
task.unread = true;
|
|
390
|
+
if (task.type === "once") {
|
|
391
|
+
task.completed = true;
|
|
392
|
+
} else if (task.type === "interval" && task.intervalMinutes) {
|
|
393
|
+
task.nextFireTime = Date.now() + task.intervalMinutes * 6e4;
|
|
394
|
+
this.scheduleTask(task);
|
|
395
|
+
} else if (task.type === "cron" && task.cron) {
|
|
396
|
+
task.nextFireTime = getNextCronTime(task.cron);
|
|
397
|
+
this.scheduleTask(task);
|
|
398
|
+
}
|
|
399
|
+
await this.saveToDisk();
|
|
400
|
+
if (this.onTaskFired) {
|
|
401
|
+
this.onTaskFired(task);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
async saveToDisk() {
|
|
405
|
+
try {
|
|
406
|
+
const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
|
|
407
|
+
const otherTasks = allTasks.filter((t) => t.port !== this.port);
|
|
408
|
+
await writeJsonFile(SCHEDULED_TASKS_FILE, [...otherTasks, ...this.tasks]);
|
|
409
|
+
} catch (error) {
|
|
410
|
+
console.error("[ScheduledTaskManager] Failed to save:", error);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
};
|
|
414
|
+
var scheduledTaskManager = new ScheduledTaskManager();
|
|
415
|
+
export {
|
|
416
|
+
getNextCronTime,
|
|
417
|
+
scheduledTaskManager
|
|
418
|
+
};
|