@surething/cockpit 1.1.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +9 -5
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/routes-manifest.json +24 -0
- package/.next-prod/server/app/_global-error/page.js +2 -2
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
- package/.next-prod/server/app/api/bots/files/route.js +1 -1
- package/.next-prod/server/app/api/bots/route.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js +1 -1
- package/.next-prod/server/app/api/chat/grok/route.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js +2 -2
- package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js +1 -1
- package/.next-prod/server/app/api/file/route.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js +1 -1
- package/.next-prod/server/app/api/files/stat/route.js +1 -1
- package/.next-prod/server/app/api/files/text/route.js +1 -1
- package/.next-prod/server/app/api/fs/dirs/route.js +1 -1
- package/.next-prod/server/app/api/git/blob/route.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
- package/.next-prod/server/app/api/glm/models/route.js +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js +1 -1
- package/.next-prod/server/app/api/global-state/route.js +2 -2
- package/.next-prod/server/app/api/grok/models/route.js +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/files/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/route.js +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/mobile-link/route.js +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/note/list/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js +1 -1
- package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/pi/thinking/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js +2 -2
- package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/edges/route.js +1 -0
- package/.next-prod/server/app/api/projectGraph/edges/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projectGraph/edges/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/maps/route.js +1 -0
- package/.next-prod/server/app/api/projectGraph/maps/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/projectGraph/maps/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/symbols/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/restart/route.js +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
- package/.next-prod/server/app/api/session/image/route.js +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
- package/.next-prod/server/app/api/session-bots/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-context/route.js +2 -2
- package/.next-prod/server/app/api/session-title/route.js +1 -1
- package/.next-prod/server/app/api/session-title/suggest/route.js +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
- package/.next-prod/server/app/api/skills/builtin/route.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js +1 -1
- package/.next-prod/server/app/api/skills/files/route.js +1 -1
- package/.next-prod/server/app/api/skills/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/mark/route.js +1 -0
- package/.next-prod/server/app/api/snapshots/mark/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/snapshots/mark/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/restore/route.js +1 -0
- package/.next-prod/server/app/api/snapshots/restore/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/snapshots/restore/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/snapshots/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/running/route.js +1 -1
- package/.next-prod/server/app/api/update/route.js +1 -1
- package/.next-prod/server/app/api/update-state/route.js +1 -1
- package/.next-prod/server/app/api/version/route.js +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js +1 -1
- package/.next-prod/server/app/m/page.js +2 -1
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js +1 -1
- package/.next-prod/server/app/page.js +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +9 -5
- package/.next-prod/server/chunks/2493.js +13 -13
- package/.next-prod/server/chunks/4949.js +1 -1
- package/.next-prod/server/chunks/6610.js +34 -34
- package/.next-prod/server/chunks/7270.js +1 -1
- package/.next-prod/server/chunks/9830.js +2 -2
- package/.next-prod/server/chunks/9998.js +1 -1
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/next-font-manifest.js +1 -1
- package/.next-prod/server/next-font-manifest.json +1 -1
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/LwAYWBEgXwTIkuj7U9BpE/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/{50189-b59a96372658a46a.js → 55541-994b26deaa23f4e6.js} +2 -2
- package/.next-prod/static/chunks/{731-fd4b8bcd1d40dfe9.js → 6837-78c0d1a8165d46f7.js} +21 -21
- package/.next-prod/static/chunks/92000-46024df89fb50e16.js +41 -0
- package/.next-prod/static/chunks/98596-4ca2d2544138aefd.js +733 -0
- package/.next-prod/static/chunks/app/_global-error/page-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/agent/test/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/[id]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/files/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/bots/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/grok/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/fs/dirs/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/grok/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/files/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mobile-link/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/note/list/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/pi/thinking/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/edges/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/maps/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/image/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-bots/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-context/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-title/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/session-title/suggest/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/search/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/status/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/builtin/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/files/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/mark/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/restore/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/running/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/{layout-f0ff0ab277c84dc6.js → layout-7107ed4eeac1f693.js} +1 -1
- package/.next-prod/static/chunks/app/m/page-0c8e79e2f753aecb.js +2 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/app/{page-d2ccfc2cb47ac4af.js → page-338a2c84319778b1.js} +1 -1
- package/.next-prod/static/chunks/app/project/{page-d2ccfc2cb47ac4af.js → page-338a2c84319778b1.js} +1 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6af5bc188af96106.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6af5bc188af96106.js +1 -0
- package/.next-prod/static/css/fa34d3b1412ca27a.css +1 -0
- package/.next-prod/trace +86 -15
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/projectGraph/edges/route.ts +353 -0
- package/.next-prod/types/app/api/projectGraph/maps/route.ts +353 -0
- package/.next-prod/types/app/api/snapshots/mark/route.ts +353 -0
- package/.next-prod/types/app/api/snapshots/restore/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +5 -1
- package/.next-prod/types/validator.ts +36 -0
- package/README.md +6 -0
- package/bin/rotateLog.mjs +6 -5
- package/desktop-checksums.json +4 -4
- package/dist/{anthropicCompat-PQWSZ3O7.mjs → anthropicCompat-4HZVLIFE.mjs} +3 -2
- package/dist/auth.mjs +19 -3
- package/dist/authAudit.mjs +79 -0
- package/dist/{chunk-6QDJ3QAX.mjs → chunk-6QHHEA3D.mjs} +11 -9
- package/dist/{chunk-2PDNZOMA.mjs → chunk-HJT5ZRYY.mjs} +2 -2
- package/dist/{chunk-S7FDWHAF.mjs → chunk-LSFNZJMR.mjs} +26825 -29730
- package/dist/{chunk-3S5JGONK.mjs → chunk-N3DTLFZE.mjs} +14 -12
- package/dist/{chunk-AKBWZB3V.mjs → chunk-QPFJKR3B.mjs} +2 -2
- package/dist/{chunk-LQISLDJ5.mjs → chunk-SI632CNY.mjs} +1 -1
- package/dist/{chunk-G747UZSS.mjs → chunk-T4M6CNFO.mjs} +132 -34
- package/dist/chunk-WSSVELJX.mjs +2920 -0
- package/dist/{chunk-2O6IH2TF.mjs → chunk-X4R5HO25.mjs} +2 -2
- package/dist/deepseek-YEPNQ2GX.mjs +13 -0
- package/dist/glm-SGT2LTOS.mjs +15 -0
- package/dist/httpApi.mjs +9 -8
- package/dist/kimi-FDXILCYU.mjs +15 -0
- package/dist/scheduledTasks.mjs +41 -15
- package/dist/{sessionStore-FF2VHKXM.mjs → sessionStore-WJGMZM4A.mjs} +2 -1
- package/dist/wsServer.mjs +63 -26
- package/package.json +3 -3
- package/public/html-lib/markdown.js +1 -1
- package/server.mjs +6 -1
- package/skills/cr/SKILL.md +184 -11
- package/skills/dl/SKILL.md +5 -0
- package/skills/rf/SKILL.md +124 -0
- package/skills/rf/axes.md +87 -0
- package/skills/rf/converge.md +50 -0
- package/skills/rf/fix.md +138 -0
- package/skills/rf/lenses.md +76 -0
- package/skills/rf/report.md +133 -0
- package/skills/rf/sources.md +129 -0
- package/.next-prod/static/AO-RPvB4uxOb6-XZ_0YXg/_buildManifest.js +0 -1
- package/.next-prod/static/chunks/17220-89a26ee102272095.js +0 -732
- package/.next-prod/static/chunks/45590-d1a8b4e539cc8dda.js +0 -42
- package/.next-prod/static/chunks/app/_global-error/page-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/agent/test/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/[id]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/files/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/bots/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/grok/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/fs/dirs/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/grok/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/files/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/instructions/config/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mobile-link/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/note/list/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/default-model/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/pi/thinking/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/image/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session/user-messages/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-bots/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-context/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-title/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/session-title/suggest/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/search/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/status/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/builtin/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/files/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/running/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/app/m/page-50e48b4ba0942454.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-42efcb4fd08c5099.js +0 -1
- package/.next-prod/static/css/74144fec62c7ff43.css +0 -1
- package/dist/deepseek-5QJ2IWS3.mjs +0 -12
- package/dist/glm-SIOUQCWL.mjs +0 -14
- package/dist/kimi-NKL4WBNS.mjs +0 -14
- /package/.next-prod/static/{AO-RPvB4uxOb6-XZ_0YXg → LwAYWBEgXwTIkuj7U9BpE}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=1618,a.ids=[1618],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},3691:(a,b,c)=>{c.d(b,{a:()=>e});var d=c(53809);function e(a,b){var c;let e,f,g=Date.now(),h=Math.min(Math.max(b.depth??10,1),20),i=b.filter?(c=b.filter,e="___DOUBLESTAR___",f=c.replace(/[.+^${}()|[\]]/g,"\\$&").replace(/\*\*/g,e).replace(/\*/g,"[^/]*").replace(RegExp(e,"g"),".*"),RegExp(`^${f}$`)):null,j=Array.from(new Set(b.files.map(a=>a.trim()).filter(Boolean))),k=new Set,l=b.includeAll?new Set:null,m=[],n=[],o=new Set,p=!1;for(let b of j){if(!a.files.get(b)){n.push(b);continue}let c=new Set([b]),e=[],f=[b];for(let b=1;b<=h&&f.length>0&&!p;b++){let g=[];for(let h of f){if(p)break;let f=a.files.get(h);if(f){for(let a of f.importedBy)if(!c.has(a)){if(c.add(a),o.add(a),o.size>1e4){p=!0;break}g.push(a),(0,d.h)(a)?i&&!i.test(a)||(e.push({filePath:a,depth:b}),k.add(a)):l&&l.add(a)}}}f=g}m.push({filePath:b,reachable:c.size-1,reachableTests:e})}let q={visited:o.size,bfsMs:Date.now()-g,truncated:p},r=j.length>0&&n.length===j.length,s=p||r,t=p?"truncated":r?"all-unresolved":void 0,u={testFiles:Array.from(k).sort(),byInput:m,unresolved:n,stats:q,degraded:s,degradedReason:t};return l&&(u.allAffected=Array.from(l).sort()),u}},4573:a=>{a.exports=require("node:buffer")},4984:a=>{a.exports=require("readline")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12629:a=>{a.exports=import("web-tree-sitter")},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29893:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{LO:()=>t,OR:()=>r,fA:()=>q,fG:()=>s});var e=c(52598),f=c(75775),g=c(89705),h=c(33265),i=c(3691),j=c(4253),k=c(72891),l=c(770),m=a([h,k]);[h,k]=m.then?(await m)():m;let q="nodejs",r="force-dynamic";function n(a){let b="number"==typeof a?a:parseInt(String(a??"10"),10)||10;return Math.min(Math.max(b,1),20)}function o(a){return"plain"===a?"plain":"json"}async function p(a){let b=await (0,h.u$)(a.cwd),c=(0,i.a)(b,{files:a.files,depth:a.depth,filter:a.filter,includeAll:a.includeAll});if("plain"===a.format){let a;return(0,e.F)(b,(a=c.testFiles.join("\n")+(c.testFiles.length?"\n":""),new Response(a,{status:200,headers:{"Content-Type":"text/plain; charset=utf-8","X-Unresolved-Count":String(c.unresolved.length),"X-Visited":String(c.stats.visited),"X-Truncated":String(c.stats.truncated),"X-Degraded":String(c.degraded),...c.degradedReason?{"X-Degraded-Reason":c.degradedReason}:{}}})))}return(0,e.I)(b,c)}let s=(0,k.RL)(a=>g.JkU(function*(){var b;let c=new URL(a.url).searchParams,d=c.get("cwd"),e=(b=c.get("files"))?b.split(",").map(a=>a.trim()).filter(Boolean):[],h=n(c.get("depth")),i=c.get("filter")||void 0,k="true"===c.get("includeAll"),m=o(c.get("format")),q=yield*g.ivC(()=>(0,j.nw)(d));return q.ok?0===e.length?yield*g.fJG(new l.yI({field:"files",reason:"missing-or-empty"})):yield*g.$mh({try:()=>p({cwd:q.abs,files:e,depth:h,filter:i,includeAll:k,format:m}),catch:a=>(0,f.xq)(a,"Affected lookup failed")}):yield*g.fJG(new l.yI({field:"cwd",reason:q.reason}))})),t=(0,k.RL)(a=>g.JkU(function*(){let b=yield*g.$mh({try:()=>a.json(),catch:()=>new l.yI({field:"body",reason:"invalid-json"})}),c="string"==typeof b.cwd?b.cwd:null,d=(Array.isArray(b.files)?b.files:[]).filter(a=>"string"==typeof a).map(a=>a.trim()).filter(Boolean),e=n(b.depth),h="string"==typeof b.filter?b.filter:void 0,i=!0===b.includeAll,k=o(b.format),m=yield*g.ivC(()=>(0,j.nw)(c));return m.ok?0===d.length?yield*g.fJG(new l.yI({field:"files",reason:"missing-or-empty"})):yield*g.$mh({try:()=>p({cwd:m.abs,files:d,depth:e,filter:h,includeAll:i,format:k}),catch:a=>(0,f.xq)(a,"Affected lookup failed")}):yield*g.fJG(new l.yI({field:"cwd",reason:m.reason}))}));d()}catch(a){d(a)}})},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},38079:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>f.fG,POST:()=>f.LO,dynamic:()=>f.OR,runtime:()=>f.fA});var e=c(64949),f=c(29893),g=a([e,f]);[e,f]=g.then?(await g)():g,(0,e.g)(),d()}catch(a){d(a)}})},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},52598:(a,b,c)=>{function d(a,b){return b.headers.set("X-Code-Index-Revision",String(a.revision??0)),b.headers.set("X-Code-Index-Incomplete",a.truncated?"1":"0"),b}function e(a,b){return d(a,new Response(JSON.stringify(b),{headers:{"content-type":"application/json"}}))}c.d(b,{F:()=>d,I:()=>e})},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},58500:a=>{a.exports=require("node:timers/promises")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},74075:a=>{a.exports=require("zlib")},75342:a=>{a.exports=require("@vscode/ripgrep")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},78877:a=>{a.exports=require("node:v8")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")},99876:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/projectGraph/affected/route",pathname:"/api/projectGraph/affected",filename:"route",bundlePath:"app/api/projectGraph/affected/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/projectGraph/affected/route.ts",nextConfigOutput:"",userland:()=>c(38079),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projectGraph/affected/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9705,2679,7347,6495,9830,2493,4949],()=>b(b.s=99876));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=1618,a.ids=[1618],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},3691:(a,b,c)=>{c.d(b,{a:()=>e});var d=c(53809);function e(a,b){var c;let e,f,g=Date.now(),h=Math.min(Math.max(b.depth??10,1),20),i=b.filter?(c=b.filter,e="___DOUBLESTAR___",f=c.replace(/[.+^${}()|[\]]/g,"\\$&").replace(/\*\*/g,e).replace(/\*/g,"[^/]*").replace(RegExp(e,"g"),".*"),RegExp(`^${f}$`)):null,j=Array.from(new Set(b.files.map(a=>a.trim()).filter(Boolean))),k=new Set,l=b.includeAll?new Set:null,m=[],n=[],o=new Set,p=!1;for(let b of j){if(!a.files.get(b)){n.push(b);continue}let c=new Set([b]),e=[],f=[b];for(let b=1;b<=h&&f.length>0&&!p;b++){let g=[];for(let h of f){if(p)break;let f=a.files.get(h);if(f){for(let a of f.importedBy)if(!c.has(a)){if(c.add(a),o.add(a),o.size>1e4){p=!0;break}g.push(a),(0,d.h)(a)?i&&!i.test(a)||(e.push({filePath:a,depth:b}),k.add(a)):l&&l.add(a)}}}f=g}m.push({filePath:b,reachable:c.size-1,reachableTests:e})}let q={visited:o.size,bfsMs:Date.now()-g,truncated:p},r=j.length>0&&n.length===j.length,s=p||r,t=p?"truncated":r?"all-unresolved":void 0,u={testFiles:Array.from(k).sort(),byInput:m,unresolved:n,stats:q,degraded:s,degradedReason:t};return l&&(u.allAffected=Array.from(l).sort()),u}},4573:a=>{a.exports=require("node:buffer")},4984:a=>{a.exports=require("readline")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12629:a=>{a.exports=import("web-tree-sitter")},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29893:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{LO:()=>t,OR:()=>r,fA:()=>q,fG:()=>s});var e=c(52598),f=c(75775),g=c(89705),h=c(33265),i=c(3691),j=c(4253),k=c(72891),l=c(770),m=a([h,k]);[h,k]=m.then?(await m)():m;let q="nodejs",r="force-dynamic";function n(a){let b="number"==typeof a?a:parseInt(String(a??"10"),10)||10;return Math.min(Math.max(b,1),20)}function o(a){return"plain"===a?"plain":"json"}async function p(a){let b=await (0,h.u$)(a.cwd),c=(0,i.a)(b,{files:a.files,depth:a.depth,filter:a.filter,includeAll:a.includeAll});if("plain"===a.format){let a;return(0,e.F)(b,(a=c.testFiles.join("\n")+(c.testFiles.length?"\n":""),new Response(a,{status:200,headers:{"Content-Type":"text/plain; charset=utf-8","X-Unresolved-Count":String(c.unresolved.length),"X-Visited":String(c.stats.visited),"X-Truncated":String(c.stats.truncated),"X-Degraded":String(c.degraded),...c.degradedReason?{"X-Degraded-Reason":c.degradedReason}:{}}})))}return(0,e.I)(b,c)}let s=(0,k.RL)(a=>g.JkU(function*(){var b;let c=new URL(a.url).searchParams,d=c.get("cwd"),e=(b=c.get("files"))?b.split(",").map(a=>a.trim()).filter(Boolean):[],h=n(c.get("depth")),i=c.get("filter")||void 0,k="true"===c.get("includeAll"),m=o(c.get("format")),q=yield*g.ivC(()=>(0,j.nw)(d));return q.ok?0===e.length?yield*g.fJG(new l.yI({field:"files",reason:"missing-or-empty"})):yield*g.$mh({try:()=>p({cwd:q.abs,files:e,depth:h,filter:i,includeAll:k,format:m}),catch:a=>(0,f.xq)(a,"Affected lookup failed")}):yield*g.fJG(new l.yI({field:"cwd",reason:q.reason}))})),t=(0,k.RL)(a=>g.JkU(function*(){let b=yield*g.$mh({try:()=>a.json(),catch:()=>new l.yI({field:"body",reason:"invalid-json"})}),c="string"==typeof b.cwd?b.cwd:null,d=(Array.isArray(b.files)?b.files:[]).filter(a=>"string"==typeof a).map(a=>a.trim()).filter(Boolean),e=n(b.depth),h="string"==typeof b.filter?b.filter:void 0,i=!0===b.includeAll,k=o(b.format),m=yield*g.ivC(()=>(0,j.nw)(c));return m.ok?0===d.length?yield*g.fJG(new l.yI({field:"files",reason:"missing-or-empty"})):yield*g.$mh({try:()=>p({cwd:m.abs,files:d,depth:e,filter:h,includeAll:i,format:k}),catch:a=>(0,f.xq)(a,"Affected lookup failed")}):yield*g.fJG(new l.yI({field:"cwd",reason:m.reason}))}));d()}catch(a){d(a)}})},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},38079:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>f.fG,POST:()=>f.LO,dynamic:()=>f.OR,runtime:()=>f.fA});var e=c(64949),f=c(29893),g=a([e,f]);[e,f]=g.then?(await g)():g,(0,e.g)(),d()}catch(a){d(a)}})},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},52598:(a,b,c)=>{function d(a,b){return b.headers.set("X-Code-Index-Revision",String(a.revision??0)),b.headers.set("X-Code-Index-Incomplete",a.truncated?"1":"0"),b}function e(a,b){return d(a,new Response(JSON.stringify(b),{headers:{"content-type":"application/json"}}))}c.d(b,{F:()=>d,I:()=>e})},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},58500:a=>{a.exports=require("node:timers/promises")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},74075:a=>{a.exports=require("zlib")},75342:a=>{a.exports=require("@vscode/ripgrep")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},78877:a=>{a.exports=require("node:v8")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{a.exports=require("net")},94238:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/projectGraph/affected/route",pathname:"/api/projectGraph/affected",filename:"route",bundlePath:"app/api/projectGraph/affected/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/projectGraph/affected/route.ts",nextConfigOutput:"",userland:()=>c(38079),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projectGraph/affected/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9705,2679,7347,6495,9830,2493,4949],()=>b(b.s=94238));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=8227,a.ids=[8227],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},4984:a=>{a.exports=require("readline")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12629:a=>{a.exports=import("web-tree-sitter")},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},21820:a=>{a.exports=require("os")},23009:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>f.fG,dynamic:()=>f.OR,runtime:()=>f.fA});var e=c(64949),f=c(26890),g=a([e,f]);[e,f]=g.then?(await g)():g,(0,e.g)(),d()}catch(a){d(a)}})},26890:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{OR:()=>n,fA:()=>m,fG:()=>o});var e=c(52598),f=c(75775),g=c(89705),h=c(33265),i=c(4253),j=c(72891),k=c(770),l=a([j,h]);[j,h]=l.then?(await l)():l;let m="nodejs",n="force-dynamic",o=(0,j.RL)(a=>g.JkU(function*(){let b=new URL(a.url).searchParams,c=b.get("cwd"),d=b.get("qname")??"",j=b.get("filePath")??void 0,l=yield*g.ivC(()=>(0,i.nw)(c));if(!l.ok)return yield*g.fJG(new k.yI({field:"cwd",reason:l.reason}));if(d.trim().length<1)return yield*g.fJG(new k.yI({field:"qname",reason:"missing"}));let m=l.abs;return yield*g.$mh({try:async()=>{let a=await (0,h.u$)(m);return(0,e.I)(a,(0,h.Mv)(a,d,j))},catch:a=>(0,f.xq)(a,"Callees lookup failed")})}));d()}catch(a){d(a)}})},27560:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/projectGraph/callees/route",pathname:"/api/projectGraph/callees",filename:"route",bundlePath:"app/api/projectGraph/callees/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/projectGraph/callees/route.ts",nextConfigOutput:"",userland:()=>c(23009),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projectGraph/callees/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},52598:(a,b,c)=>{function d(a,b){return b.headers.set("X-Code-Index-Revision",String(a.revision??0)),b.headers.set("X-Code-Index-Incomplete",a.truncated?"1":"0"),b}function e(a,b){return d(a,new Response(JSON.stringify(b),{headers:{"content-type":"application/json"}}))}c.d(b,{F:()=>d,I:()=>e})},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},58500:a=>{a.exports=require("node:timers/promises")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},74075:a=>{a.exports=require("zlib")},75342:a=>{a.exports=require("@vscode/ripgrep")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},78877:a=>{a.exports=require("node:v8")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9705,2679,7347,6495,9830,2493,4949],()=>b(b.s=27560));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=8227,a.ids=[8227],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},4984:a=>{a.exports=require("readline")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12629:a=>{a.exports=import("web-tree-sitter")},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},21820:a=>{a.exports=require("os")},23009:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>f.fG,dynamic:()=>f.OR,runtime:()=>f.fA});var e=c(64949),f=c(26890),g=a([e,f]);[e,f]=g.then?(await g)():g,(0,e.g)(),d()}catch(a){d(a)}})},26890:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{OR:()=>n,fA:()=>m,fG:()=>o});var e=c(52598),f=c(75775),g=c(89705),h=c(33265),i=c(4253),j=c(72891),k=c(770),l=a([j,h]);[j,h]=l.then?(await l)():l;let m="nodejs",n="force-dynamic",o=(0,j.RL)(a=>g.JkU(function*(){let b=new URL(a.url).searchParams,c=b.get("cwd"),d=b.get("qname")??"",j=b.get("filePath")??void 0,l=yield*g.ivC(()=>(0,i.nw)(c));if(!l.ok)return yield*g.fJG(new k.yI({field:"cwd",reason:l.reason}));if(d.trim().length<1)return yield*g.fJG(new k.yI({field:"qname",reason:"missing"}));let m=l.abs;return yield*g.$mh({try:async()=>{let a=await (0,h.u$)(m);return(0,e.I)(a,(0,h.Mv)(a,d,j))},catch:a=>(0,f.xq)(a,"Callees lookup failed")})}));d()}catch(a){d(a)}})},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},52598:(a,b,c)=>{function d(a,b){return b.headers.set("X-Code-Index-Revision",String(a.revision??0)),b.headers.set("X-Code-Index-Incomplete",a.truncated?"1":"0"),b}function e(a,b){return d(a,new Response(JSON.stringify(b),{headers:{"content-type":"application/json"}}))}c.d(b,{F:()=>d,I:()=>e})},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},58500:a=>{a.exports=require("node:timers/promises")},58837:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/projectGraph/callees/route",pathname:"/api/projectGraph/callees",filename:"route",bundlePath:"app/api/projectGraph/callees/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/projectGraph/callees/route.ts",nextConfigOutput:"",userland:()=>c(23009),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projectGraph/callees/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},74075:a=>{a.exports=require("zlib")},75342:a=>{a.exports=require("@vscode/ripgrep")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},78877:a=>{a.exports=require("node:v8")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9705,2679,7347,6495,9830,2493,4949],()=>b(b.s=58837));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=1802,a.ids=[1802],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},2621:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{OR:()=>n,fA:()=>m,fG:()=>o});var e=c(52598),f=c(75775),g=c(89705),h=c(33265),i=c(4253),j=c(72891),k=c(770),l=a([j,h]);[j,h]=l.then?(await l)():l;let m="nodejs",n="force-dynamic",o=(0,j.RL)(a=>g.JkU(function*(){let b=new URL(a.url).searchParams,c=b.get("cwd"),d=b.get("qname")??"",j=b.get("filePath")??void 0,l=yield*g.ivC(()=>(0,i.nw)(c));if(!l.ok)return yield*g.fJG(new k.yI({field:"cwd",reason:l.reason}));if(d.trim().length<1)return yield*g.fJG(new k.yI({field:"qname",reason:"missing"}));let m=l.abs;return yield*g.$mh({try:async()=>{let a=await (0,h.u$)(m);return(0,e.I)(a,(0,h.Xn)(a,d,j))},catch:a=>(0,f.xq)(a,"Callers lookup failed")})}));d()}catch(a){d(a)}})},4573:a=>{a.exports=require("node:buffer")},4984:a=>{a.exports=require("readline")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12629:a=>{a.exports=import("web-tree-sitter")},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},52598:(a,b,c)=>{function d(a,b){return b.headers.set("X-Code-Index-Revision",String(a.revision??0)),b.headers.set("X-Code-Index-Incomplete",a.truncated?"1":"0"),b}function e(a,b){return d(a,new Response(JSON.stringify(b),{headers:{"content-type":"application/json"}}))}c.d(b,{F:()=>d,I:()=>e})},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},58500:a=>{a.exports=require("node:timers/promises")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},74075:a=>{a.exports=require("zlib")},75342:a=>{a.exports=require("@vscode/ripgrep")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},78877:a=>{a.exports=require("node:v8")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},81066:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>f.fG,dynamic:()=>f.OR,runtime:()=>f.fA});var e=c(64949),f=c(2621),g=a([e,f]);[e,f]=g.then?(await g)():g,(0,e.g)(),d()}catch(a){d(a)}})},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")},96330:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/projectGraph/callers/route",pathname:"/api/projectGraph/callers",filename:"route",bundlePath:"app/api/projectGraph/callers/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/projectGraph/callers/route.ts",nextConfigOutput:"",userland:()=>c(81066),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projectGraph/callers/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9705,2679,7347,6495,9830,2493,4949],()=>b(b.s=96330));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=1802,a.ids=[1802],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},2621:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{OR:()=>n,fA:()=>m,fG:()=>o});var e=c(52598),f=c(75775),g=c(89705),h=c(33265),i=c(4253),j=c(72891),k=c(770),l=a([j,h]);[j,h]=l.then?(await l)():l;let m="nodejs",n="force-dynamic",o=(0,j.RL)(a=>g.JkU(function*(){let b=new URL(a.url).searchParams,c=b.get("cwd"),d=b.get("qname")??"",j=b.get("filePath")??void 0,l=yield*g.ivC(()=>(0,i.nw)(c));if(!l.ok)return yield*g.fJG(new k.yI({field:"cwd",reason:l.reason}));if(d.trim().length<1)return yield*g.fJG(new k.yI({field:"qname",reason:"missing"}));let m=l.abs;return yield*g.$mh({try:async()=>{let a=await (0,h.u$)(m);return(0,e.I)(a,(0,h.Xn)(a,d,j))},catch:a=>(0,f.xq)(a,"Callers lookup failed")})}));d()}catch(a){d(a)}})},4573:a=>{a.exports=require("node:buffer")},4984:a=>{a.exports=require("readline")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12629:a=>{a.exports=import("web-tree-sitter")},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},52598:(a,b,c)=>{function d(a,b){return b.headers.set("X-Code-Index-Revision",String(a.revision??0)),b.headers.set("X-Code-Index-Incomplete",a.truncated?"1":"0"),b}function e(a,b){return d(a,new Response(JSON.stringify(b),{headers:{"content-type":"application/json"}}))}c.d(b,{F:()=>d,I:()=>e})},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},58500:a=>{a.exports=require("node:timers/promises")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},69336:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/projectGraph/callers/route",pathname:"/api/projectGraph/callers",filename:"route",bundlePath:"app/api/projectGraph/callers/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/projectGraph/callers/route.ts",nextConfigOutput:"",userland:()=>c(81066),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projectGraph/callers/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},74075:a=>{a.exports=require("zlib")},75342:a=>{a.exports=require("@vscode/ripgrep")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},78877:a=>{a.exports=require("node:v8")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},81066:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>f.fG,dynamic:()=>f.OR,runtime:()=>f.fA});var e=c(64949),f=c(2621),g=a([e,f]);[e,f]=g.then?(await g)():g,(0,e.g)(),d()}catch(a){d(a)}})},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9705,2679,7347,6495,9830,2493,4949],()=>b(b.s=69336));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=3420,a.ids=[3420],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},4984:a=>{a.exports=require("readline")},8043:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{OR:()=>m,fA:()=>l,fG:()=>n});var e=c(89705),f=c(75775),g=c(13278),h=c(4253),i=c(72891),j=c(770),k=a([i]);i=(k.then?(await k)():k)[0];let l="nodejs",m="force-dynamic",n=(0,i.RL)(a=>e.JkU(function*(){let b=new URL(a.url).searchParams,c=b.get("cwd"),d=b.get("filePath")??"",k=Math.min(Math.max(parseInt(b.get("commits")??"100",10)||100,1),1e3),l=yield*e.ivC(()=>(0,h.nw)(c));if(!l.ok)return yield*e.fJG(new j.yI({field:"cwd",reason:l.reason}));if(d.trim().length<1)return yield*e.fJG(new j.yI({field:"filePath",reason:"missing"}));let m=l.abs,n=yield*e.$mh({try:async()=>(await (0,f.P3)(m),(0,g.j)(m,d,k)),catch:a=>(0,f.xq)(a,"Co-edit lookup failed")});return(0,i.ok)(n)}));d()}catch(a){d(a)}})},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12629:a=>{a.exports=import("web-tree-sitter")},13278:(a,b,c)=>{c.d(b,{c:()=>n,j:()=>m});var d=c(31421),e=c(57975),f=c(89705),g=c(69181),h=c(770);let i=(0,e.promisify)(d.execFile);async function j(a,b,c,d=!1){let e=f.$mh({try:()=>i("git",b,{cwd:a,maxBuffer:c}).then(a=>a.stdout),catch:a=>new h.uV({message:"Co-edit Git command failed",cause:a})}),k=await f.pR5(f.gPK(e.pipe(f.h9N(b=>d?f.$mh({try:()=>i("git",["rev-parse","--verify","--quiet","HEAD"],{cwd:a}),catch:a=>a}).pipe(f.tvg({onSuccess:()=>f.fJG(b),onFailure:a=>1===a.code?f.PyW(""):f.fJG(b)})):f.fJG(b)))));if(g.OC(k))throw k.left;return k.right}async function k(a,b,c,d="commit"){let e="---SEP---",f=await j(a,["log","-n",String(c),..."merge"===d?["--merges","--first-parent","--name-only"]:["--follow","--name-only"],`--pretty=format:${e}%H|%cI`,"--",b],0x3200000,!0),g=[];for(let a of f.split(e).slice(1)){let b=a.split("\n"),c=b[0],d=c.indexOf("|");if(d<0)continue;let e=c.slice(0,d),f=c.slice(d+1),h=b.slice(1).map(a=>a.trim()).filter(Boolean);e&&g.push({hash:e,date:f,files:h})}let h=new Map;for(let a of g)if(0!==a.files.length&&!(a.files.length>30))for(let c of a.files){if(c===b)continue;let d=h.get(c);d?(d.cooccurrence+=1,a.date>d.lastCoEdit&&(d.lastCoEdit=a.date)):h.set(c,{filePath:c,cooccurrence:1,lastCoEdit:a.date,probability:0})}let i=g.length;for(let a of h.values())a.probability=i>0?a.cooccurrence/i:0;return{history:Array.from(h.values()).sort((a,b)=>b.cooccurrence-a.cooccurrence||b.lastCoEdit.localeCompare(a.lastCoEdit)||a.filePath.localeCompare(b.filePath)),totalCommits:i}}async function l(a,b){let c=await j(a,["-c","core.quotePath=false","status","--porcelain"],0xa00000),d=[];for(let a of c.split("\n")){if(a.length<4)continue;let b=a[0],c=a[1];if("?"===b&&"?"===c)continue;let e=a.slice(3).trim(),f=e.indexOf(" -> ");f>=0&&(e=e.slice(f+4).trim()),e.startsWith('"')&&e.endsWith('"')&&(e=e.slice(1,-1)),d.push(e)}return d.includes(b)?d.filter(a=>a!==b).sort((a,b)=>a.localeCompare(b)):[]}async function m(a,b,c=100,d="commit"){let e=Math.min(Math.max(c,1),1e3),[f,g]=await Promise.allSettled([k(a,b,e,d),l(a,b)]);if("rejected"===f.status)throw f.reason;if("rejected"===g.status)throw g.reason;let{history:h,totalCommits:i}=f.value;return{target:b,totalCommits:i,history:h,uncommitted:g.value}}async function n(a,b,c=100){let d=await m(a,b,c,"commit");return d.history.length>0?d:await m(a,b,c,"merge")}},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55210:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>f.fG,dynamic:()=>f.OR,runtime:()=>f.fA});var e=c(64949),f=c(8043),g=a([e,f]);[e,f]=g.then?(await g)():g,(0,e.g)(),d()}catch(a){d(a)}})},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},58500:a=>{a.exports=require("node:timers/promises")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},67076:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/projectGraph/coedit/route",pathname:"/api/projectGraph/coedit",filename:"route",bundlePath:"app/api/projectGraph/coedit/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/projectGraph/coedit/route.ts",nextConfigOutput:"",userland:()=>c(55210),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projectGraph/coedit/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},74075:a=>{a.exports=require("zlib")},75342:a=>{a.exports=require("@vscode/ripgrep")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},78877:a=>{a.exports=require("node:v8")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9705,2679,7347,6495,9830,2493,4949],()=>b(b.s=67076));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=3420,a.ids=[3420],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},4984:a=>{a.exports=require("readline")},8043:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{OR:()=>m,fA:()=>l,fG:()=>n});var e=c(89705),f=c(75775),g=c(13278),h=c(4253),i=c(72891),j=c(770),k=a([i]);i=(k.then?(await k)():k)[0];let l="nodejs",m="force-dynamic",n=(0,i.RL)(a=>e.JkU(function*(){let b=new URL(a.url).searchParams,c=b.get("cwd"),d=b.get("filePath")??"",k=Math.min(Math.max(parseInt(b.get("commits")??"100",10)||100,1),1e3),l=yield*e.ivC(()=>(0,h.nw)(c));if(!l.ok)return yield*e.fJG(new j.yI({field:"cwd",reason:l.reason}));if(d.trim().length<1)return yield*e.fJG(new j.yI({field:"filePath",reason:"missing"}));let m=l.abs,n=yield*e.$mh({try:async()=>(await (0,f.P3)(m),(0,g.j)(m,d,k)),catch:a=>(0,f.xq)(a,"Co-edit lookup failed")});return(0,i.ok)(n)}));d()}catch(a){d(a)}})},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12629:a=>{a.exports=import("web-tree-sitter")},13278:(a,b,c)=>{c.d(b,{c:()=>q,j:()=>p});var d=c(31421),e=c(57975),f=c(89705),g=c(69181),h=c(770);let i=(0,e.promisify)(d.execFile);async function j(a,b,c,d=!1){let e=f.$mh({try:()=>i("git",b,{cwd:a,maxBuffer:c}).then(a=>a.stdout),catch:a=>new h.uV({message:"Co-edit Git command failed",cause:a})}),k=await f.pR5(f.gPK(e.pipe(f.h9N(b=>d?f.$mh({try:()=>i("git",["rev-parse","--verify","--quiet","HEAD"],{cwd:a}),catch:a=>a}).pipe(f.tvg({onSuccess:()=>f.fJG(b),onFailure:a=>1===a.code?f.PyW(""):f.fJG(b)})):f.fJG(b)))));if(g.OC(k))throw k.left;return k.right}let k="---SEP---",l=`--pretty=format:${k}%H|%cI`;async function m(a,b,c,d){if("merge"===d)return j(a,["log","-n",String(c),"--merges","--first-parent","--full-diff","--name-only",l,"--",b],0x3200000,!0);let e=(await j(a,["log","-n",String(c),"--follow","--format=%H","--",b],0x3200000,!0)).split("\n").map(a=>a.trim()).filter(Boolean),f="";for(let b=0;b<e.length;b+=100)f+=await j(a,["log","--no-walk=unsorted","--name-only",l,...e.slice(b,b+100)],0x3200000),f+="\n";return f}async function n(a,b,c,d="commit"){let e=await m(a,b,c,d),f=[];for(let a of e.split(k).slice(1)){let b=a.split("\n"),c=b[0],d=c.indexOf("|");if(d<0)continue;let e=c.slice(0,d),g=c.slice(d+1),h=b.slice(1).map(a=>a.trim()).filter(Boolean);e&&f.push({hash:e,date:g,files:h})}let g=new Map;for(let a of f)if(0!==a.files.length&&!(a.files.length>30))for(let c of a.files){if(c===b)continue;let d=g.get(c);d?(d.cooccurrence+=1,a.date>d.lastCoEdit&&(d.lastCoEdit=a.date)):g.set(c,{filePath:c,cooccurrence:1,lastCoEdit:a.date,probability:0})}let h=f.length;for(let a of g.values())a.probability=h>0?a.cooccurrence/h:0;return{history:Array.from(g.values()).sort((a,b)=>b.cooccurrence-a.cooccurrence||b.lastCoEdit.localeCompare(a.lastCoEdit)||a.filePath.localeCompare(b.filePath)),totalCommits:h}}async function o(a,b){let c=await j(a,["-c","core.quotePath=false","status","--porcelain"],0xa00000),d=[];for(let a of c.split("\n")){if(a.length<4)continue;let b=a[0],c=a[1];if("?"===b&&"?"===c)continue;let e=a.slice(3).trim(),f=e.indexOf(" -> ");f>=0&&(e=e.slice(f+4).trim()),e.startsWith('"')&&e.endsWith('"')&&(e=e.slice(1,-1)),d.push(e)}return d.includes(b)?d.filter(a=>a!==b).sort((a,b)=>a.localeCompare(b)):[]}async function p(a,b,c=100,d="commit"){let e=Math.min(Math.max(c,1),1e3),[f,g]=await Promise.allSettled([n(a,b,e,d),o(a,b)]);if("rejected"===f.status)throw f.reason;if("rejected"===g.status)throw g.reason;let{history:h,totalCommits:i}=f.value;return{target:b,totalCommits:i,history:h,uncommitted:g.value}}async function q(a,b,c=100){let d=await p(a,b,c,"commit");return d.history.length>0?d:await p(a,b,c,"merge")}},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},49982:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/projectGraph/coedit/route",pathname:"/api/projectGraph/coedit",filename:"route",bundlePath:"app/api/projectGraph/coedit/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/projectGraph/coedit/route.ts",nextConfigOutput:"",userland:()=>c(55210),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projectGraph/coedit/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55210:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>f.fG,dynamic:()=>f.OR,runtime:()=>f.fA});var e=c(64949),f=c(8043),g=a([e,f]);[e,f]=g.then?(await g)():g,(0,e.g)(),d()}catch(a){d(a)}})},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},58500:a=>{a.exports=require("node:timers/promises")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},74075:a=>{a.exports=require("zlib")},75342:a=>{a.exports=require("@vscode/ripgrep")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},78877:a=>{a.exports=require("node:v8")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9705,2679,7347,6495,9830,2493,4949],()=>b(b.s=49982));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(()=>{var a={};a.id=8952,a.ids=[8952],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},4984:a=>{a.exports=require("readline")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},12629:a=>{a.exports=import("web-tree-sitter")},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},20055:(a,b,c)=>{c.d(b,{e:()=>g});var d=c(76760),e=c.n(d),f=c(770);function g(a,b){let c=e().posix.normalize(a.replaceAll("\\","/"));if(c.includes("\0")||e().posix.isAbsolute(c)||/^[a-z]:/i.test(c)||".."===c||c.startsWith("../"))throw new f.yI({field:b,reason:"Must be a project-relative path within cwd"});return"."===c?"":c.replace(/\/$/,"")}},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},40967:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{OR:()=>o,fA:()=>n,fG:()=>p});var e=c(89705),f=c(770),g=c(72891),h=c(4253),i=c(33265),j=c(75775),k=c(84916),l=c(52598),m=a([g,i]);[g,i]=m.then?(await m)():m;let n="nodejs",o="force-dynamic",p=(0,g.RL)(a=>e.JkU(function*(){let b=new URL(a.url).searchParams,c=yield*e.ivC(()=>(0,h.nw)(b.get("cwd")));if(!c.ok)return yield*e.fJG(new f.yI({field:"cwd",reason:c.reason}));let d=yield*e.SvU({try:()=>(0,k.s)(b),catch:a=>(0,j.xq)(a,"Invalid edges filters")});return yield*e.$mh({try:async()=>{let a=await (0,i.u$)(c.abs);return(0,l.I)(a,(0,k.$)(a,d))},catch:a=>(0,j.xq)(a,"Edges export failed")})}));d()}catch(a){d(a)}})},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46968:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>f.fG,dynamic:()=>f.OR,runtime:()=>f.fA});var e=c(64949),f=c(40967),g=a([e,f]);[e,f]=g.then?(await g)():g,(0,e.g)(),d()}catch(a){d(a)}})},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},52598:(a,b,c)=>{function d(a,b){return b.headers.set("X-Code-Index-Revision",String(a.revision??0)),b.headers.set("X-Code-Index-Incomplete",a.truncated?"1":"0"),b}function e(a,b){return d(a,new Response(JSON.stringify(b),{headers:{"content-type":"application/json"}}))}c.d(b,{F:()=>d,I:()=>e})},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},57975:a=>{a.exports=require("node:util")},58500:a=>{a.exports=require("node:timers/promises")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},74075:a=>{a.exports=require("zlib")},75342:a=>{a.exports=require("@vscode/ripgrep")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},78877:a=>{a.exports=require("node:v8")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},80481:a=>{a.exports=require("node:readline")},83997:a=>{a.exports=require("tty")},84916:(a,b,c)=>{c.d(b,{$:()=>g,s:()=>f});var d=c(20055),e=c(53809);function f(a){return{directory:(0,d.e)(a.get("path")??".","path"),excludeTests:"false"!==a.get("excludeTests")}}function g(a,b){let c=a=>!b.directory||a===b.directory||a.startsWith(`${b.directory}/`),d=[];for(let[f,g]of a.files)c(f)&&(b.excludeTests&&(0,e.h)(f)||d.push({path:f,language:g.language,imports:[...g.importedFiles].sort(),importedFromOutside:[...g.importedBy].filter(a=>!c(a)&&!(b.excludeTests&&(0,e.h)(a))).sort(),functions:g.flatSymbols.filter(a=>"function"===a.kind||"method"===a.kind||"class"===a.kind).map(a=>({qualifiedName:a.qualifiedName,kind:a.kind,declLine:a.declLine,startLine:a.startLine,endLine:a.endLine,...void 0!==a.complexity?{complexity:a.complexity}:{}})),calls:[...g.intraCalls.map(a=>({from:a.from,toFile:f,to:a.to,lines:a.lines})),...g.outgoingCalls.map(a=>({from:a.from,toFile:a.to.filePath,to:a.to.qualifiedName,lines:a.lines}))]}));return d.sort((a,b)=>a.path.localeCompare(b.path)),{directory:b.directory||".",files:d}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},89424:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/projectGraph/edges/route",pathname:"/api/projectGraph/edges",filename:"route",bundlePath:"app/api/projectGraph/edges/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/projectGraph/edges/route.ts",nextConfigOutput:"",userland:()=>c(46968),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/projectGraph/edges/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,9705,2679,7347,6495,9830,2493,4949],()=>b(b.s=89424));module.exports=c})();
|