commandmate 0.47.0 → 0.47.2
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/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +501 -501
- package/.next/app-path-routes-manifest.json +36 -36
- package/.next/build-manifest.json +8 -8
- package/.next/diagnostics/framework.json +1 -1
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +15 -15
- package/.next/react-loadable-manifest.json +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/api/agents/update/route.js +2 -2
- package/.next/server/app/api/agents/update/route.js.nft.json +1 -1
- package/.next/server/app/api/agents/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/agents/versions/route.js +1 -1
- package/.next/server/app/api/agents/versions/route.js.nft.json +1 -1
- package/.next/server/app/api/agents/versions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/app/release-notes/route.js +1 -1
- package/.next/server/app/api/app/release-notes/route.js.nft.json +1 -1
- package/.next/server/app/api/app/release-notes/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/app/update/route.js +5 -5
- package/.next/server/app/api/app/update/route.js.nft.json +1 -1
- package/.next/server/app/api/app/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/app/update-check/route.js +1 -1
- package/.next/server/app/api/app/update-check/route.js.nft.json +1 -1
- package/.next/server/app/api/app/update-check/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/auth/login/route.js +1 -1
- package/.next/server/app/api/auth/login/route.js.nft.json +1 -1
- package/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/auth/logout/route.js +1 -1
- package/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/auth/status/route.js +1 -1
- package/.next/server/app/api/auth/status/route.js.nft.json +1 -1
- package/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/capabilities/route.js +1 -1
- package/.next/server/app/api/capabilities/route.js.nft.json +1 -1
- package/.next/server/app/api/capabilities/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/daily-summary/route.js +1 -1
- package/.next/server/app/api/daily-summary/route.js.nft.json +1 -1
- package/.next/server/app/api/daily-summary/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/daily-summary/status/route.js +1 -1
- package/.next/server/app/api/daily-summary/status/route.js.nft.json +1 -1
- package/.next/server/app/api/daily-summary/status/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/external-apps/[id]/health/route.js +1 -1
- package/.next/server/app/api/external-apps/[id]/health/route.js.nft.json +1 -1
- package/.next/server/app/api/external-apps/[id]/health/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/external-apps/[id]/route.js +1 -1
- package/.next/server/app/api/external-apps/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/external-apps/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/external-apps/route.js +1 -1
- package/.next/server/app/api/external-apps/route.js.nft.json +1 -1
- package/.next/server/app/api/external-apps/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/fs/browse/route.js +1 -1
- package/.next/server/app/api/fs/browse/route.js.nft.json +1 -1
- package/.next/server/app/api/fs/browse/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/fs/recent-paths/route.js +1 -1
- package/.next/server/app/api/fs/recent-paths/route.js.nft.json +1 -1
- package/.next/server/app/api/fs/recent-paths/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/hooks/agent-event/route.js +2 -2
- package/.next/server/app/api/hooks/agent-event/route.js.nft.json +1 -1
- package/.next/server/app/api/hooks/agent-event/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/hooks/claude-done/route.js +2 -2
- package/.next/server/app/api/hooks/claude-done/route.js.nft.json +1 -1
- package/.next/server/app/api/hooks/claude-done/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/hooks/permission-request/route.js +1 -1
- package/.next/server/app/api/hooks/permission-request/route.js.nft.json +1 -1
- package/.next/server/app/api/hooks/permission-request/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/metrics/vibe/route.js +2 -2
- package/.next/server/app/api/metrics/vibe/route.js.nft.json +1 -1
- package/.next/server/app/api/metrics/vibe/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/ollama/models/route.js +1 -1
- package/.next/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/push/escalation/route.js +1 -1
- package/.next/server/app/api/push/escalation/route.js.nft.json +1 -1
- package/.next/server/app/api/push/escalation/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/push/subscriptions/route.js +1 -1
- package/.next/server/app/api/push/subscriptions/route.js.nft.json +1 -1
- package/.next/server/app/api/push/subscriptions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/push/vapid/route.js +1 -1
- package/.next/server/app/api/push/vapid/route.js.nft.json +1 -1
- package/.next/server/app/api/push/vapid/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/relays/[relayId]/cancel/route.js +1 -1
- package/.next/server/app/api/relays/[relayId]/cancel/route.js.nft.json +1 -1
- package/.next/server/app/api/relays/[relayId]/cancel/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/relays/route.js +1 -1
- package/.next/server/app/api/relays/route.js.nft.json +1 -1
- package/.next/server/app/api/relays/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/remote/pair/route.js +2 -2
- package/.next/server/app/api/remote/pair/route.js.nft.json +1 -1
- package/.next/server/app/api/remote/pair/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/[id]/route.js +1 -1
- package/.next/server/app/api/repositories/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/clone/[jobId]/route.js +1 -1
- package/.next/server/app/api/repositories/clone/[jobId]/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/clone/[jobId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/clone/route.js +1 -1
- package/.next/server/app/api/repositories/clone/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/clone/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/excluded/route.js +1 -1
- package/.next/server/app/api/repositories/excluded/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/excluded/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/restore/route.js +1 -1
- package/.next/server/app/api/repositories/restore/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/restore/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/route.js +1 -1
- package/.next/server/app/api/repositories/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/scan/route.js +1 -1
- package/.next/server/app/api/repositories/scan/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/scan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/sync/route.js +1 -1
- package/.next/server/app/api/repositories/sync/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/sync/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/validate-path/route.js +1 -1
- package/.next/server/app/api/repositories/validate-path/route.js.nft.json +1 -1
- package/.next/server/app/api/repositories/validate-path/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/settings/default-agents/route.js +1 -1
- package/.next/server/app/api/settings/default-agents/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/default-agents/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/settings/default-surface-mode/route.js +1 -1
- package/.next/server/app/api/settings/default-surface-mode/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/default-surface-mode/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/sidebar/group-order/route.js +1 -1
- package/.next/server/app/api/sidebar/group-order/route.js.nft.json +1 -1
- package/.next/server/app/api/sidebar/group-order/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/[id]/route.js +1 -1
- package/.next/server/app/api/skills/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/installations/route.js +1 -1
- package/.next/server/app/api/skills/installations/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/installations/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/operations/route.js +2 -2
- package/.next/server/app/api/skills/operations/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/operations/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/reindex/route.js +1 -1
- package/.next/server/app/api/skills/reindex/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/reindex/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/skills/route.js +1 -1
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/slash-commands/route.js +1 -1
- package/.next/server/app/api/slash-commands/route.js.nft.json +1 -1
- package/.next/server/app/api/slash-commands/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/tasks/[taskId]/cancel/route.js +1 -1
- package/.next/server/app/api/tasks/[taskId]/cancel/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/[taskId]/cancel/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/tasks/[taskId]/route.js +1 -1
- package/.next/server/app/api/tasks/[taskId]/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/[taskId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/templates/[id]/route.js +1 -1
- package/.next/server/app/api/templates/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/templates/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/templates/route.js +1 -1
- package/.next/server/app/api/templates/route.js.nft.json +1 -1
- package/.next/server/app/api/templates/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/verification/runs/[runId]/route.js +1 -1
- package/.next/server/app/api/verification/runs/[runId]/route.js.nft.json +1 -1
- package/.next/server/app/api/verification/runs/[runId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/verification/runs/route.js +1 -1
- package/.next/server/app/api/verification/runs/route.js.nft.json +1 -1
- package/.next/server/app/api/verification/runs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/auto-yes/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/auto-yes/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/auto-yes/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/capture/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/capture/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/capture/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/clear-composer/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/clear-composer/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/clear-composer/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-reference/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-reference/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-reference/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-tool/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-tool/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/cli-tool/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js +7 -7
- package/.next/server/app/api/worktrees/[id]/cmate/schedules/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/cmate/schedules/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/current-output/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/current-output/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/current-output/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/direct-input/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/direct-input/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/direct-input/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/env/route.js +2 -2
- package/.next/server/app/api/worktrees/[id]/env/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/env/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/execution-logs/[logId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/execution-logs/route.js +3 -3
- package/.next/server/app/api/worktrees/[id]/execution-logs/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/execution-logs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/files/[...path]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/files/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/files/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/create/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/create/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/create/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/delete/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/delete/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branch/delete/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branches/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branches/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/branches/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/checkout/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/checkout/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/checkout/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/commit/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/commit/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/commit/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/diff/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/diff/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/diff/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/fetch/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/fetch/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/fetch/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/log/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/log/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/log/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/pull/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/pull/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/pull/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/push/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/push/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/push/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/reset/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/reset/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/reset/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/revert/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/revert/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/revert/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/show/[commitHash]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stage/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stage/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stage/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/staged/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/staged/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/staged/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/[index]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/apply/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/apply/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/apply/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/pop/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/pop/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/pop/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/push/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/push/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/push/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/stash/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/status/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/status/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/status/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/unstage/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/unstage/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/unstage/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/working-diff/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/git/working-diff/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/git/working-diff/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/notes/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/notes/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/notes/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/opencode/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/opencode/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/instances/opencode/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/interrupt/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/interrupt/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/interrupt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/kill-session/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/kill-session/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/kill-session/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/[filename]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/[filename]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/[filename]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/logs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/marp-render/route.js +3 -3
- package/.next/server/app/api/worktrees/[id]/marp-render/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/marp-render/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/[memoId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/memos/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/messages/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/messages/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/messages/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/diff/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/diff/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/diff/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/session/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/session/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/session/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/share/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/share/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/opencode/share/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/prompt-response/strict/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/resolve-target/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/resolve-target/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/resolve-target/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/respond/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/respond/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/respond/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route.js +2 -2
- package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/[scheduleId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/active/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/active/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/active/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/route.js +3 -3
- package/.next/server/app/api/worktrees/[id]/schedules/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/schedules/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/search/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/search/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/search/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/send/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/send/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/send/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js +5 -5
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/git-workflow/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/install/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/plan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/uninstall-plan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/[skillId]/update-plan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/skills/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/slash-commands/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/slash-commands/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/slash-commands/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/special-keys/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/special-keys/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/special-keys/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tasks/route.js +2 -2
- package/.next/server/app/api/worktrees/[id]/tasks/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/tasks/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/terminal/route.js +2 -2
- package/.next/server/app/api/worktrees/[id]/terminal/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/terminal/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/history/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/history/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/history/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/timers/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/[todoId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/todos/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tree/[...path]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tree/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/tree/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tree/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/tree/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/tree/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/upload/[...path]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/upload/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/upload/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/config/route.js +2 -2
- package/.next/server/app/api/worktrees/[id]/verify/config/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/config/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/cancel/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/[runId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/verify/runs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/viewed/route.js +1 -1
- package/.next/server/app/api/worktrees/[id]/viewed/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/[id]/viewed/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/apply-default-agents/route.js +1 -1
- package/.next/server/app/api/worktrees/apply-default-agents/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/apply-default-agents/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js.nft.json +1 -1
- package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -1
- package/.next/server/app/apple-icon.png/route.js +1 -1
- package/.next/server/app/apple-icon.png/route.js.nft.json +1 -1
- package/.next/server/app/apple-icon.png.meta +1 -1
- package/.next/server/app/icon.png/route.js +1 -1
- package/.next/server/app/icon.png/route.js.nft.json +1 -1
- package/.next/server/app/icon.png.meta +1 -1
- package/.next/server/app/icon1.png/route.js +1 -1
- package/.next/server/app/icon1.png/route.js.nft.json +1 -1
- package/.next/server/app/icon1.png.meta +1 -1
- package/.next/server/app/icon2.png/route.js +1 -1
- package/.next/server/app/icon2.png/route.js.nft.json +1 -1
- package/.next/server/app/icon2.png.meta +1 -1
- package/.next/server/app/login/page.js +2 -2
- package/.next/server/app/login/page.js.nft.json +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
- package/.next/server/app/manifest.webmanifest.meta +1 -1
- package/.next/server/app/more/page.js +2 -2
- package/.next/server/app/more/page.js.nft.json +1 -1
- package/.next/server/app/more/page_client-reference-manifest.js +1 -1
- package/.next/server/app/offline/page.js +2 -2
- package/.next/server/app/offline/page.js.nft.json +1 -1
- package/.next/server/app/offline/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/proxy/[...path]/route.js +1 -1
- package/.next/server/app/proxy/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/proxy/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/repositories/page.js +2 -2
- package/.next/server/app/repositories/page.js.nft.json +1 -1
- package/.next/server/app/repositories/page_client-reference-manifest.js +1 -1
- package/.next/server/app/review/page.js +2 -2
- package/.next/server/app/review/page.js.nft.json +1 -1
- package/.next/server/app/review/page_client-reference-manifest.js +1 -1
- package/.next/server/app/sessions/page.js +2 -2
- package/.next/server/app/sessions/page.js.nft.json +1 -1
- package/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
- package/.next/server/app/skills/[skillId]/page.js +2 -2
- package/.next/server/app/skills/[skillId]/page.js.nft.json +1 -1
- package/.next/server/app/skills/[skillId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/skills/installed/page.js +2 -2
- package/.next/server/app/skills/installed/page.js.nft.json +1 -1
- package/.next/server/app/skills/installed/page_client-reference-manifest.js +1 -1
- package/.next/server/app/skills/page.js +2 -2
- package/.next/server/app/skills/page.js.nft.json +1 -1
- package/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/.next/server/app/worktrees/[id]/files/[...path]/page.js +2 -2
- package/.next/server/app/worktrees/[id]/files/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/worktrees/[id]/files/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/worktrees/[id]/page.js +4 -4
- package/.next/server/app/worktrees/[id]/page.js.nft.json +1 -1
- package/.next/server/app/worktrees/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/worktrees/[id]/terminal/page.js +3 -3
- package/.next/server/app/worktrees/[id]/terminal/page.js.nft.json +1 -1
- package/.next/server/app/worktrees/[id]/terminal/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +36 -36
- package/.next/server/chunks/{5048.js → 1185.js} +1 -1
- package/.next/server/chunks/1656.js +19 -0
- package/.next/server/chunks/2460.js +1 -1
- package/.next/server/chunks/255.js +1 -0
- package/.next/server/chunks/3241.js +1 -1
- package/.next/server/chunks/3505.js +7 -0
- package/.next/server/chunks/3897.js +22 -0
- package/.next/server/chunks/4072.js +5 -5
- package/.next/server/chunks/463.js +1 -0
- package/.next/server/chunks/5209.js +1 -1
- package/.next/server/chunks/5595.js +1 -1
- package/.next/server/chunks/5611.js +1 -1
- package/.next/server/chunks/610.js +1 -0
- package/.next/server/chunks/6119.js +1 -0
- package/.next/server/chunks/6130.js +1 -1
- package/.next/server/chunks/6345.js +1 -1
- package/.next/server/chunks/6401.js +1 -1
- package/.next/server/chunks/6781.js +1 -1
- package/.next/server/chunks/6784.js +1 -0
- package/.next/server/chunks/8581.js +1 -1
- package/.next/server/chunks/8728.js +2 -2
- package/.next/server/chunks/8918.js +1 -1
- package/.next/server/chunks/9130.js +1 -1
- package/.next/server/chunks/936.js +1 -1
- package/.next/server/chunks/9390.js +1 -1
- package/.next/server/chunks/9540.js +1 -1
- package/.next/server/chunks/9627.js +1 -1
- package/.next/server/chunks/9731.js +3 -3
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-manifest.json +5 -5
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js +3 -3
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/src/middleware.js.map +1 -1
- package/.next/static/chunks/{1111.5ab4f0ffb0d944e5.js → 1111.1b653d4a9816a0a7.js} +8 -8
- package/.next/static/chunks/{1255-7e5873f06b25e129.js → 1255-a85690d352f4f8fd.js} +1 -1
- package/.next/static/chunks/{2407-b2f524f99f7fc353.js → 2407-a6533805a86d05bd.js} +1 -1
- package/.next/static/chunks/9465-b59bb255b376c813.js +1 -0
- package/.next/static/chunks/app/{layout-419eaf7de340f4ab.js → layout-538d8d2746ad1588.js} +1 -1
- package/.next/static/chunks/app/worktrees/[id]/page-46aced20b2b1c010.js +1 -0
- package/.next/static/chunks/main-37ca13e38030fe8b.js +1 -0
- package/.next/static/chunks/{webpack-468b7b33030234b3.js → webpack-838df0273b03af19.js} +1 -1
- package/.next/trace +13 -13
- package/dist/cli/commands/prompt.d.ts.map +1 -1
- package/dist/cli/commands/prompt.js +23 -11
- package/dist/cli/commands/wait.d.ts.map +1 -1
- package/dist/cli/commands/wait.js +7 -1
- package/dist/cli/types/api-responses.d.ts +15 -2
- package/dist/cli/types/api-responses.d.ts.map +1 -1
- package/dist/lib/polling/auto-yes-suppression-reason.d.ts +11 -0
- package/dist/lib/polling/auto-yes-suppression-reason.d.ts.map +1 -1
- package/dist/lib/polling/auto-yes-suppression-reason.js +4 -1
- package/dist/server/src/lib/auto-yes-poller.js +269 -554
- package/dist/server/src/lib/detection/prompt-detect-multiple-choice.js +88 -6
- package/dist/server/src/lib/detection/prompt-detector.js +1 -1
- package/dist/server/src/lib/detection/tools/antigravity/dialog.js +1 -1
- package/dist/server/src/lib/hooks/permission-adjudication.js +26 -0
- package/dist/server/src/lib/hooks/permission-decision-service.js +42 -4
- package/dist/server/src/lib/hooks/permission-request-payload.js +20 -0
- package/dist/server/src/lib/hooks/sources/antigravity/source.js +21 -0
- package/dist/server/src/lib/hooks/sources/claude/source.js +3 -0
- package/dist/server/src/lib/hooks/sources/codex/source.js +2 -0
- package/dist/server/src/lib/hooks/sources/command-code/source.js +2 -0
- package/dist/server/src/lib/hooks/sources/copilot/source.js +2 -0
- package/dist/server/src/lib/hooks/sources/gemini/source.js +2 -0
- package/dist/server/src/lib/hooks/sources/legacy-relay.js +2 -0
- package/dist/server/src/lib/hooks/sources/opencode/ingest.js +6 -0
- package/dist/server/src/lib/hooks/sources/opencode/source.js +2 -0
- package/dist/server/src/lib/hooks/sources/opencode-v2/ingest.js +6 -0
- package/dist/server/src/lib/hooks/sources/opencode-v2/source.js +2 -0
- package/dist/server/src/lib/hooks/sources/pending-decisions.js +14 -2
- package/dist/server/src/lib/polling/antigravity-permission-receipts.js +14 -3
- package/dist/server/src/lib/polling/antigravity-receipt-episodes.js +21 -1
- package/dist/server/src/lib/polling/auto-yes-confirmation-ledger-types.js +114 -0
- package/dist/server/src/lib/polling/auto-yes-confirmation-ledger.js +1060 -0
- package/dist/server/src/lib/polling/auto-yes-ledger-records.js +143 -0
- package/dist/server/src/lib/polling/auto-yes-policy.js +36 -7
- package/dist/server/src/lib/polling/auto-yes-poller-capture.js +50 -0
- package/dist/server/src/lib/polling/auto-yes-poller-enter-fallback.js +37 -0
- package/dist/server/src/lib/polling/auto-yes-poller-generation.js +151 -0
- package/dist/server/src/lib/polling/auto-yes-poller-receipt-log.js +287 -0
- package/dist/server/src/lib/polling/auto-yes-poller-state.js +75 -6
- package/dist/server/src/lib/polling/auto-yes-poller-steps.js +109 -0
- package/dist/server/src/lib/polling/auto-yes-prompt-suppression.js +11 -0
- package/dist/server/src/lib/polling/auto-yes-resolver.js +21 -1
- package/dist/server/src/lib/polling/auto-yes-suppression-reason.js +4 -1
- package/dist/server/src/lib/polling/response-checker-blank-response.js +30 -0
- package/dist/server/src/lib/polling/response-checker.js +5 -10
- package/dist/server/src/lib/prompt-observation/appearance.js +165 -0
- package/package.json +2 -2
- package/release-notes/0.47.1.json +20 -0
- package/release-notes/0.47.2.json +20 -0
- package/scripts/hooks/cmate-agent-event.sh +22 -0
- package/.next/server/chunks/1331.js +0 -22
- package/.next/server/chunks/1836.js +0 -1
- package/.next/server/chunks/1944.js +0 -1
- package/.next/server/chunks/2328.js +0 -1
- package/.next/server/chunks/5292.js +0 -7
- package/.next/server/chunks/7166.js +0 -19
- package/.next/server/chunks/9051.js +0 -1
- package/.next/server/chunks/9199.js +0 -1
- package/.next/static/chunks/9465-e5a351baa941f31b.js +0 -1
- package/.next/static/chunks/app/worktrees/[id]/page-45294052ee3032f1.js +0 -1
- package/.next/static/chunks/main-ac91ed6e71380841.js +0 -1
- /package/.next/static/{b5BiQC9F6r_XFPdA9cuSj → etorRtpxbQqqOzdUeXdw2}/_buildManifest.js +0 -0
- /package/.next/static/{b5BiQC9F6r_XFPdA9cuSj → etorRtpxbQqqOzdUeXdw2}/_ssgManifest.js +0 -0
package/.next/server/app/api/worktrees/[id]/execution-logs/route_client-reference-manifest.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/worktrees/[id]/execution-logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"3890","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"9042","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"44131","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"28393","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"64308":{"*":{"id":"42192","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"50302","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"46368","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["2407","static/chunks/2407-b2f524f99f7fc353.js","4219","static/chunks/app/global-error-49f765ecb7fd6527.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/layout/AppShellGate.tsx":{"id":28876,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":23252,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","8039","static/chunks/app/error-d9a7067074e7f460.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-db675c84e696591f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":57101,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":89957,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8974","static/chunks/app/page-1b820c421db48c2c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":24502,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":46617,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":64308,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":88201,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/743f79ff19ab91e9.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/execution-logs/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"29966","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"64308":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/worktrees/[id]/execution-logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"3890","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"9042","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"44131","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"28393","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"71885":{"*":{"id":"758","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"50302","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"46368","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["2407","static/chunks/2407-a6533805a86d05bd.js","4219","static/chunks/app/global-error-49f765ecb7fd6527.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/layout/AppShellGate.tsx":{"id":28876,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":23252,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","2407","static/chunks/2407-a6533805a86d05bd.js","8039","static/chunks/app/error-d9a7067074e7f460.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-db675c84e696591f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":89957,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8974","static/chunks/app/page-1b820c421db48c2c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":57101,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":24502,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":46617,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":71885,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":88201,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/743f79ff19ab91e9.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/execution-logs/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"29966","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"71885":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=960,a.ids=[960],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4984:a=>{a.exports=require("readline")},5007:(a,b,c)=>{c.d(b,{Sw:()=>g,nE:()=>e,of:()=>f});var d=c(10641);async function e(a){try{return{ok:!0,body:await a.json()}}catch{return{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}}}async function f(a){let b=await e(a);if(!b.ok)return b;let c=b.body;return"object"!=typeof c||null===c||Array.isArray(c)?{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}:{ok:!0,body:c}}async function g(a){let b;try{b=await a.json()}catch{return{ok:!0,body:{}}}return"object"!=typeof b||null===b||Array.isArray(b)?{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}:{ok:!0,body:b}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{a.exports=require("process")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70178:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>am,patchFetch:()=>al,routeModule:()=>ah,serverHooks:()=>ak,workAsyncStorage:()=>ai,workUnitAsyncStorage:()=>aj});var d={};c.r(d),c.d(d,{DELETE:()=>af,GET:()=>ab,HEAD:()=>ac,PATCH:()=>ag,POST:()=>ae,PUT:()=>ad});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(88807),w=c(56791),x=c(33873),y=c(66007),z=c(14842),A=c(30233),B=c(73462),C=c(39333);let D=[".mp4"],E=[{extension:".mp4",mimeType:"video/mp4",magicBytes:[102,116,121,112],magicBytesOffset:4}];function F(a){if(!a)return!1;let b=(0,C.HB)(a);return D.includes(b)}function G(a){if(!a)return;let b=(0,C.HB)(a),c=E.find(a=>a.extension===b);return c?.mimeType}function H(a,b){return b.length>0x6400000?{valid:!1,error:"File size exceeds 100MB limit",reason:"too-large"}:!function(a,b){let c=(0,C.HB)(a),d=E.find(a=>a.extension===c);if(!d?.magicBytes)return!1;let e=d.magicBytesOffset||0;return!(b.length<e+d.magicBytes.length)&&d.magicBytes.every((a,c)=>b[e+c]===a)}(a,b)?{valid:!1,error:"Invalid video magic bytes"}:{valid:!0}}var I=c(98125);let J=[".pdf"],K=[37,80,68,70,45],L="application/pdf";var M=c(79748),N=c(27910),O=c(72626);let P=/[\x00-\x1f\x7f]/g,Q=/[^\x20-\x7e]/g;function R(a){return(0,x.basename)(String(a).replace(/\\/g,"/")).replace(P,"")}var S=c(27289),T=c(5007);let U=(0,O.h)("api/files"),V={FILE_NOT_FOUND:404,WORKTREE_NOT_FOUND:404,PERMISSION_DENIED:403,NOT_EDITABLE:403,PROTECTED_DIRECTORY:403,INVALID_PATH:400,INVALID_REQUEST:400,INVALID_NAME:400,INVALID_CONTENT:400,DIRECTORY_NOT_EMPTY:400,DELETE_LIMIT_EXCEEDED:400,FILE_EXISTS:409,DISK_FULL:507,INTERNAL_ERROR:500,INVALID_EXTENSION:400,INVALID_MIME_TYPE:400,INVALID_MAGIC_BYTES:400,FILE_TOO_LARGE:413,INVALID_FILENAME:400,INVALID_FILE_CONTENT:400,MOVE_SAME_PATH:400,MOVE_INTO_SELF:400,PDF_SIZE_EXCEEDED:413,SENSITIVE_PATH:403};function W(a,b,c=500){let d=V[a]??c;return u.NextResponse.json({success:!1,error:{code:a,message:b}},{status:d})}function X(a){return`${(a/1024/1024).toFixed(1)}MB`}async function Y(a,b){let c=(0,v.getDbInstance)(),d=(0,w.getWorktreeById)(c,a);if(!d)return{error:W("WORKTREE_NOT_FOUND","Worktree not found")};let e=b.join("/"),f=(0,x.normalize)(e);return(0,y.B9)(f,d.path)?(0,y.Px)(f,d.path)?(0,z.Ew)(b)??(0,z.Ew)(f)?{error:W("SENSITIVE_PATH","This path is protected and cannot be accessed through the file API")}:{worktree:d,relativePath:f}:{error:W("INVALID_PATH","Invalid path")}:{error:W("INVALID_PATH","Invalid file path")}}function Z(a){return`File size exceeds ${a/1024/1024}MB limit`}function $(a){let b=a.error;return"too-large"===a.reason?W("FILE_TOO_LARGE",b??"File too large"):b?.includes("magic bytes")?W("INVALID_MAGIC_BYTES",b):W("INVALID_FILE_CONTENT",b||"Invalid image content")}function _(a){let b=a.error;return"too-large"===a.reason?W("FILE_TOO_LARGE",b??"File too large"):b?.includes("magic bytes")?W("INVALID_MAGIC_BYTES",b):W("INVALID_FILE_CONTENT",b||"Invalid video content")}async function aa(a,b,c){let d,e=F(c),f=(0,C.df)(c)&&".svg"!==c;if(!e&&!f)return W("INVALID_EXTENSION","raw=1 is only available for video and non-SVG image files");try{d=await (0,M.open)(b,"r")}catch(a){if("ENOENT"===a.code)return W("FILE_NOT_FOUND","File not found");throw a}let g=!1;try{let b=await d.stat();if(!b.isFile())return W("FILE_NOT_FOUND","File not found");let f=b.size,h=e?0x6400000:C.Fg;if(f>h){let a={error:Z(h),reason:"too-large"};return e?_(a):$(a)}let i=Buffer.alloc(Math.min(16,f));i.length>0&&await d.read(i,0,i.length,0);let j=e?H(c,i):(0,C.Bg)(c,i);if(!j.valid)return e?_(j):$(j);let k=e?G(c)||"video/mp4":(0,C.$Y)(c),l=new Headers({"Content-Type":k,"X-Content-Type-Options":"nosniff","Content-Disposition":"inline","Cache-Control":"no-store","Accept-Ranges":"bytes"}),m=function(a,b){if(!a)return null;let c=/^bytes=(\d*)-(\d*)$/.exec(a.trim());if(!c)return null;let[,d,e]=c;if(!d&&!e)return null;if(!d){let a=Number(e);return 0===a||0===b?"unsatisfiable":{start:Math.max(0,b-a),end:b-1}}let f=Number(d),g=e?Number(e):b-1;return e&&g<f?null:f>=b?"unsatisfiable":{start:f,end:Math.min(g,b-1)}}(a.headers.get("range"),f);if("unsatisfiable"===m)return l.set("Content-Range",`bytes */${f}`),new u.NextResponse(null,{status:416,headers:l});let{start:n,end:o}=m??{start:0,end:f-1};l.set("Content-Length",String(0===f?0:o-n+1)),m&&l.set("Content-Range",`bytes ${n}-${o}/${f}`);let p=d.createReadStream({start:n,end:o});g=!0;let q=N.Readable.toWeb(p);return new u.NextResponse(q,{status:m?206:200,headers:l})}finally{g||await d.close()}}async function ab(a,{params:b}){try{let c,{id:d,path:e}=await b,f=(0,S.z)(d),g=await Y(f,e);if("error"in g)return g.error;let{worktree:h,relativePath:i}=g,j=i.split(".").pop()||"",k=(0,x.extname)(i).toLowerCase();if("1"===a.nextUrl.searchParams.get("download")){let a=(0,x.join)(h.path,i);try{let b=await (0,M.readFile)(a);return new u.NextResponse(b,{headers:{"Content-Type":"application/octet-stream","Content-Disposition":function(a){var b;let c=R(a).replace(Q,"").replace(/["\\]/g,"_").trim()||"download",d=(b=a,encodeURIComponent(R(b).trim()).replace(/['()*]/g,a=>"%"+a.charCodeAt(0).toString(16).toUpperCase())||"download");return`attachment; filename="${c}"; filename*=UTF-8''${d}`}(i),"Cache-Control":"no-store, private"}})}catch(a){if("ENOENT"===a.code)return W("FILE_NOT_FOUND","File not found");throw a}}if("1"===a.nextUrl.searchParams.get("raw"))return aa(a,(0,x.join)(h.path,i),k);if((0,C.df)(k)){let a=(0,x.join)(h.path,i);try{let b=await (0,M.readFile)(a),c=(0,C.Bg)(k,b);if(!c.valid)return $(c);let d=(0,C.$Y)(k),e=b.toString("base64"),f=`data:${d};base64,${e}`;return u.NextResponse.json({success:!0,path:i,content:f,extension:j,worktreePath:h.path,isImage:!0,mimeType:d})}catch(a){if("ENOENT"===a.code)return W("FILE_NOT_FOUND","File not found");throw a}}if(F(k)){let a=(0,x.join)(h.path,i);try{if((await (0,M.stat)(a)).size>0x6400000)return W("FILE_TOO_LARGE",Z(0x6400000));let b=await (0,M.readFile)(a),c=H(k,b);if(!c.valid)return _(c);let d=G(k)||"video/mp4",e=b.toString("base64"),f=`data:${d};base64,${e}`;return u.NextResponse.json({success:!0,path:i,content:f,extension:j,worktreePath:h.path,isVideo:!0,mimeType:d})}catch(a){if("ENOENT"===a.code)return W("FILE_NOT_FOUND","File not found");throw a}}if(function(a){if(!a)return!1;let b=(0,C.HB)(a);return J.includes(b)}(k)){let a=(0,x.join)(h.path,i);try{let b=await (0,M.readFile)(a),c=function(a){return a.length>0x1400000?{valid:!1,error:"File size exceeds 20MB limit"}:!(a.length<K.length)&&K.every((b,c)=>a[c]===b)?{valid:!0}:{valid:!1,error:"Invalid PDF magic bytes"}}(b);if(!c.valid){if(c.error?.includes("MB"))return W("PDF_SIZE_EXCEEDED",c.error);return W("INVALID_MAGIC_BYTES",c.error||"Invalid PDF magic bytes")}let d=b.toString("base64"),e=`data:${L};base64,${d}`;return u.NextResponse.json({success:!0,path:i,content:e,extension:j,worktreePath:h.path,isPdf:!0,mimeType:L})}catch(a){if("ENOENT"===a.code)return W("FILE_NOT_FOUND","File not found");throw a}}let l=(0,x.join)(h.path,i);try{c=await (0,M.stat)(l)}catch(a){if("ENOENT"===a.code)return W("FILE_NOT_FOUND","File not found");throw a}let m=function(a,b){let c=(0,I.lk)(a)?I.j6:(0,B.Ol)(a)?B.Nu:null;return null===c||b<=c?null:{code:"FILE_TOO_LARGE",message:`Opened read-only: this file is ${X(b)}, over the ${X(c)} limit for editing. You can view it but not save changes.`,limitBytes:c,sizeBytes:b}}(k,c.size),n=m?{readOnly:!0,readOnlyReason:m}:{},{searchParams:o}=new URL(a.url),p=function(a){let b=a.get("startLine"),c=a.get("endLine");if(null===b&&null===c)return{mode:"full"};let d=Number(b),e=Number(c);return Number.isFinite(d)&&Number.isFinite(e)?{mode:"range",startLine:d,endLine:e}:{mode:"invalid"}}(o);if("invalid"===p.mode)return W("INVALID_REQUEST","startLine and endLine must be numeric");if("range"===p.mode){let a=await (0,A.QS)(h.path,i,p.startLine,p.endLine);if(!a.success)return W(a.error?.code||"INTERNAL_ERROR",a.error?.message||"Failed to read file range");return u.NextResponse.json({success:!0,path:i,content:a.content,extension:j,worktreePath:h.path,totalLines:a.totalLines,totalBytes:a.totalBytes,encoding:a.encoding,range:a.range,...n})}let q=c.mtime.toUTCString(),r=a.headers.get("If-Modified-Since");if(r){let a=new Date(r);if(!isNaN(a.getTime())&&c.mtime<=a)return new Response(null,{status:304,headers:{"Last-Modified":q,"Cache-Control":"no-store, private"}})}let s=await (0,A.AJ)(h.path,i);if(!s.success)return W(s.error?.code||"INTERNAL_ERROR",s.error?.message||"Failed to read file");let t=(0,I.lk)(k);return u.NextResponse.json({success:!0,path:i,content:s.content,extension:j,worktreePath:h.path,...t&&{isHtml:!0},totalBytes:c.size,...n},{headers:{"Last-Modified":q,"Cache-Control":"no-store, private"}})}catch(a){return U.error("error-reading-file:",{error:a instanceof Error?a.message:String(a)}),W("INTERNAL_ERROR","Failed to read file")}}async function ac(a,{params:b}){try{let{id:a,path:c}=await b,d=(0,S.z)(a),e=await Y(d,c);if("error"in e)return new u.NextResponse(null,{status:e.error.status});let{worktree:f,relativePath:g}=e;try{if(!(await (0,M.stat)((0,x.join)(f.path,g))).isFile())return new u.NextResponse(null,{status:404});return new u.NextResponse(null,{status:200,headers:{"Cache-Control":"no-store, private"}})}catch(b){let a=b.code;if("ENOENT"===a||"ENOTDIR"===a||"ENAMETOOLONG"===a)return new u.NextResponse(null,{status:404});throw b}}catch(a){return U.error("error-probing-file:",{error:a instanceof Error?a.message:String(a)}),new u.NextResponse(null,{status:500})}}async function ad(a,{params:b}){try{let{id:c,path:d}=await b,e=(0,S.z)(c),f=await Y(e,d);if("error"in f)return f.error;let{worktree:g,relativePath:h}=f;if(!(0,A.Du)(h))return W("NOT_EDITABLE","File type is not editable");let i=await (0,T.of)(a);if(!i.ok)return W("INVALID_REQUEST","Invalid request body");let{content:j}=i.body;if(void 0===j)return W("INVALID_REQUEST","Content is required");let k=(0,x.extname)(h).toLowerCase(),l=(0,B.mS)(k,j);if(!l.valid)return W("INVALID_CONTENT",l.error||"Invalid content");let m=await (0,A.ng)(g.path,h,j);if(!m.success)return W(m.error?.code||"INTERNAL_ERROR",m.error?.message||"Failed to update file");return u.NextResponse.json({success:!0,path:h})}catch(a){return U.error("error-updating-file:",{error:a instanceof Error?a.message:String(a)}),W("INTERNAL_ERROR","Failed to update file")}}async function ae(a,{params:b}){try{let{id:c,path:d}=await b,e=(0,S.z)(c),f=await Y(e,d);if("error"in f)return f.error;let{worktree:g,relativePath:h}=f,i=await (0,T.of)(a);if(!i.ok)return W("INVALID_REQUEST","Invalid request body");let{type:j,content:k}=i.body;if(!j||!["file","directory"].includes(j))return W("INVALID_REQUEST",'Type must be "file" or "directory"');if("file"===j&&void 0!==k){let a=(0,x.extname)(h).toLowerCase();if((0,B.Ol)(a)){let b=(0,B.mS)(a,k);if(!b.valid)return W("INVALID_CONTENT",b.error||"Invalid content")}}let l=await (0,A.N_)(g.path,h,j,k);if(!l.success)return W(l.error?.code||"INTERNAL_ERROR",l.error?.message||"Failed to create file/directory");return u.NextResponse.json({success:!0,path:h},{status:201})}catch(a){return U.error("error-creating-filedirectory:",{error:a instanceof Error?a.message:String(a)}),W("INTERNAL_ERROR","Failed to create file/directory")}}async function af(a,{params:b}){try{let{id:c,path:d}=await b,e=(0,S.z)(c),f=await Y(e,d);if("error"in f)return f.error;let{worktree:g,relativePath:h}=f,{searchParams:i}=new URL(a.url),j="true"===i.get("recursive"),k=await (0,A.Ky)(g.path,h,j);if(!k.success)return W(k.error?.code||"INTERNAL_ERROR",k.error?.message||"Failed to delete file/directory");return u.NextResponse.json({success:!0})}catch(a){return U.error("error-deleting-filedirectory:",{error:a instanceof Error?a.message:String(a)}),W("INTERNAL_ERROR","Failed to delete file/directory")}}async function ag(a,{params:b}){try{let{id:c,path:d}=await b,e=(0,S.z)(c),f=await Y(e,d);if("error"in f)return f.error;let{worktree:g,relativePath:h}=f,i=await (0,T.of)(a);if(!i.ok)return W("INVALID_REQUEST","Invalid request body");let{action:j,newName:k,destination:l}=i.body;switch(j){case"rename":{if(!k||"string"!=typeof k)return W("INVALID_REQUEST","newName is required");if((0,z.Ew)([k]))return W("SENSITIVE_PATH","This path is protected and cannot be accessed through the file API");let a=await (0,A.FH)(g.path,h,k);if(!a.success)return W(a.error?.code||"INTERNAL_ERROR",a.error?.message||"Failed to rename file/directory");return u.NextResponse.json({success:!0,path:a.path})}case"move":{if(!l||"string"!=typeof l)return W("INVALID_REQUEST","destination is required and must be a string");if((0,z.Ew)(l))return W("SENSITIVE_PATH","This path is protected and cannot be accessed through the file API");let a=await (0,A.Gl)(g.path,h,l);if(!a.success)return W(a.error?.code||"INTERNAL_ERROR",a.error?.message||"Failed to move file/directory");return u.NextResponse.json({success:!0,path:a.path})}default:return W("INVALID_REQUEST",'Unknown action. Supported: "rename", "move"')}}catch(a){return U.error("error-renaming-filedirectory:",{error:a instanceof Error?a.message:String(a)}),W("INTERNAL_ERROR","Failed to rename file/directory")}}let ah=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/worktrees/[id]/files/[...path]/route",pathname:"/api/worktrees/[id]/files/[...path]",filename:"route",bundlePath:"app/api/worktrees/[id]/files/[...path]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/files/[...path]/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:ai,workUnitAsyncStorage:aj,serverHooks:ak}=ah;function al(){return(0,g.patchFetch)({workAsyncStorage:ai,workUnitAsyncStorage:aj})}async function am(a,b,c){var d;let e="/api/worktrees/[id]/files/[...path]/route";"/index"===e&&(e="/");let g=await ah.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||ah.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===ah.isDev||!E,H=E&&!G,I=a.method||"GET",J=(0,i.getTracer)(),K=J.getActiveScopeSpan(),L={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:H,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>ah.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},M=new k.NodeNextRequest(a),N=new k.NodeNextResponse(b),O=l.NextRequestAdapter.fromNodeNextRequest(M,(0,l.signalFromNodeResponse)(b));try{let d=async c=>ah.handle(O,L).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=J.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${I} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${I} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=L.renderOpts.fetchMetrics;let i=L.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=L.renderOpts.collectedTags;if(!E)return await (0,o.I)(M,N,e,L.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==L.renderOpts.collectedRevalidate&&!(L.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&L.renderOpts.collectedRevalidate,d=void 0===L.renderOpts.collectedExpire||L.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:L.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await ah.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await ah.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(M,N,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};K?await g(K):await J.withPropagatedContext(a.headers,()=>J.trace(m.BaseServerSpan.handleRequest,{spanName:`${I} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":I,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await ah.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(M,N,new Response(null,{status:500})),null}}},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,641,3722,4390,9627,8807,406,5354,7506],()=>b(b.s=70178));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=960,a.ids=[960],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4984:a=>{a.exports=require("readline")},5007:(a,b,c)=>{c.d(b,{Sw:()=>g,nE:()=>e,of:()=>f});var d=c(10641);async function e(a){try{return{ok:!0,body:await a.json()}}catch{return{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}}}async function f(a){let b=await e(a);if(!b.ok)return b;let c=b.body;return"object"!=typeof c||null===c||Array.isArray(c)?{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}:{ok:!0,body:c}}async function g(a){let b;try{b=await a.json()}catch{return{ok:!0,body:{}}}return"object"!=typeof b||null===b||Array.isArray(b)?{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}:{ok:!0,body:b}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{a.exports=require("process")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70178:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>an,patchFetch:()=>am,routeModule:()=>ai,serverHooks:()=>al,workAsyncStorage:()=>aj,workUnitAsyncStorage:()=>ak});var d={};c.r(d),c.d(d,{DELETE:()=>ag,GET:()=>ac,HEAD:()=>ad,PATCH:()=>ah,POST:()=>af,PUT:()=>ae});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(34679),u=c(51356),v=c(10641),w=c(88807),x=c(56791),y=c(33873),z=c(66007),A=c(14842),B=c(30233),C=c(73462),D=c(39333);let E=[".mp4"],F=[{extension:".mp4",mimeType:"video/mp4",magicBytes:[102,116,121,112],magicBytesOffset:4}];function G(a){if(!a)return!1;let b=(0,D.HB)(a);return E.includes(b)}function H(a){if(!a)return;let b=(0,D.HB)(a),c=F.find(a=>a.extension===b);return c?.mimeType}function I(a,b){return b.length>0x6400000?{valid:!1,error:"File size exceeds 100MB limit",reason:"too-large"}:!function(a,b){let c=(0,D.HB)(a),d=F.find(a=>a.extension===c);if(!d?.magicBytes)return!1;let e=d.magicBytesOffset||0;return!(b.length<e+d.magicBytes.length)&&d.magicBytes.every((a,c)=>b[e+c]===a)}(a,b)?{valid:!1,error:"Invalid video magic bytes"}:{valid:!0}}var J=c(98125);let K=[".pdf"],L=[37,80,68,70,45],M="application/pdf";var N=c(79748),O=c(27910),P=c(72626);let Q=/[\x00-\x1f\x7f]/g,R=/[^\x20-\x7e]/g;function S(a){return(0,y.basename)(String(a).replace(/\\/g,"/")).replace(Q,"")}var T=c(27289),U=c(5007);let V=(0,P.h)("api/files"),W={FILE_NOT_FOUND:404,WORKTREE_NOT_FOUND:404,PERMISSION_DENIED:403,NOT_EDITABLE:403,PROTECTED_DIRECTORY:403,INVALID_PATH:400,INVALID_REQUEST:400,INVALID_NAME:400,INVALID_CONTENT:400,DIRECTORY_NOT_EMPTY:400,DELETE_LIMIT_EXCEEDED:400,FILE_EXISTS:409,DISK_FULL:507,INTERNAL_ERROR:500,INVALID_EXTENSION:400,INVALID_MIME_TYPE:400,INVALID_MAGIC_BYTES:400,FILE_TOO_LARGE:413,INVALID_FILENAME:400,INVALID_FILE_CONTENT:400,MOVE_SAME_PATH:400,MOVE_INTO_SELF:400,PDF_SIZE_EXCEEDED:413,SENSITIVE_PATH:403};function X(a,b,c=500){let d=W[a]??c;return v.NextResponse.json({success:!1,error:{code:a,message:b}},{status:d})}function Y(a){return`${(a/1024/1024).toFixed(1)}MB`}async function Z(a,b){let c=(0,w.getDbInstance)(),d=(0,x.getWorktreeById)(c,a);if(!d)return{error:X("WORKTREE_NOT_FOUND","Worktree not found")};let e=b.join("/"),f=(0,y.normalize)(e);return(0,z.B9)(f,d.path)?(0,z.Px)(f,d.path)?(0,A.Ew)(b)??(0,A.Ew)(f)?{error:X("SENSITIVE_PATH","This path is protected and cannot be accessed through the file API")}:{worktree:d,relativePath:f}:{error:X("INVALID_PATH","Invalid path")}:{error:X("INVALID_PATH","Invalid file path")}}function $(a){return`File size exceeds ${a/1024/1024}MB limit`}function _(a){let b=a.error;return"too-large"===a.reason?X("FILE_TOO_LARGE",b??"File too large"):b?.includes("magic bytes")?X("INVALID_MAGIC_BYTES",b):X("INVALID_FILE_CONTENT",b||"Invalid image content")}function aa(a){let b=a.error;return"too-large"===a.reason?X("FILE_TOO_LARGE",b??"File too large"):b?.includes("magic bytes")?X("INVALID_MAGIC_BYTES",b):X("INVALID_FILE_CONTENT",b||"Invalid video content")}async function ab(a,b,c){let d,e=G(c),f=(0,D.df)(c)&&".svg"!==c;if(!e&&!f)return X("INVALID_EXTENSION","raw=1 is only available for video and non-SVG image files");try{d=await (0,N.open)(b,"r")}catch(a){if("ENOENT"===a.code)return X("FILE_NOT_FOUND","File not found");throw a}let g=!1;try{let b=await d.stat();if(!b.isFile())return X("FILE_NOT_FOUND","File not found");let f=b.size,h=e?0x6400000:D.Fg;if(f>h){let a={error:$(h),reason:"too-large"};return e?aa(a):_(a)}let i=Buffer.alloc(Math.min(16,f));i.length>0&&await d.read(i,0,i.length,0);let j=e?I(c,i):(0,D.Bg)(c,i);if(!j.valid)return e?aa(j):_(j);let k=e?H(c)||"video/mp4":(0,D.$Y)(c),l=new Headers({"Content-Type":k,"X-Content-Type-Options":"nosniff","Content-Disposition":"inline","Cache-Control":"no-store","Accept-Ranges":"bytes"}),m=function(a,b){if(!a)return null;let c=/^bytes=(\d*)-(\d*)$/.exec(a.trim());if(!c)return null;let[,d,e]=c;if(!d&&!e)return null;if(!d){let a=Number(e);return 0===a||0===b?"unsatisfiable":{start:Math.max(0,b-a),end:b-1}}let f=Number(d),g=e?Number(e):b-1;return e&&g<f?null:f>=b?"unsatisfiable":{start:f,end:Math.min(g,b-1)}}(a.headers.get("range"),f);if("unsatisfiable"===m)return l.set("Content-Range",`bytes */${f}`),new v.NextResponse(null,{status:416,headers:l});let{start:n,end:o}=m??{start:0,end:f-1};l.set("Content-Length",String(0===f?0:o-n+1)),m&&l.set("Content-Range",`bytes ${n}-${o}/${f}`);let p=d.createReadStream({start:n,end:o});g=!0;let q=O.Readable.toWeb(p);return new v.NextResponse(q,{status:m?206:200,headers:l})}finally{g||await d.close()}}async function ac(a,{params:b}){try{let c,{id:d,path:e}=await b,f=(0,T.z)(d),g=await Z(f,e);if("error"in g)return g.error;let{worktree:h,relativePath:i}=g,j=i.split(".").pop()||"",k=(0,y.extname)(i).toLowerCase();if("1"===a.nextUrl.searchParams.get("download")){let a=(0,y.join)(h.path,i);try{let b=await (0,N.readFile)(a);return new v.NextResponse(b,{headers:{"Content-Type":"application/octet-stream","Content-Disposition":function(a){var b;let c=S(a).replace(R,"").replace(/["\\]/g,"_").trim()||"download",d=(b=a,encodeURIComponent(S(b).trim()).replace(/['()*]/g,a=>"%"+a.charCodeAt(0).toString(16).toUpperCase())||"download");return`attachment; filename="${c}"; filename*=UTF-8''${d}`}(i),"Cache-Control":"no-store, private"}})}catch(a){if("ENOENT"===a.code)return X("FILE_NOT_FOUND","File not found");throw a}}if("1"===a.nextUrl.searchParams.get("raw"))return ab(a,(0,y.join)(h.path,i),k);if((0,D.df)(k)){let a=(0,y.join)(h.path,i);try{let b=await (0,N.readFile)(a),c=(0,D.Bg)(k,b);if(!c.valid)return _(c);let d=(0,D.$Y)(k),e=b.toString("base64"),f=`data:${d};base64,${e}`;return v.NextResponse.json({success:!0,path:i,content:f,extension:j,worktreePath:h.path,isImage:!0,mimeType:d})}catch(a){if("ENOENT"===a.code)return X("FILE_NOT_FOUND","File not found");throw a}}if(G(k)){let a=(0,y.join)(h.path,i);try{if((await (0,N.stat)(a)).size>0x6400000)return X("FILE_TOO_LARGE",$(0x6400000));let b=await (0,N.readFile)(a),c=I(k,b);if(!c.valid)return aa(c);let d=H(k)||"video/mp4",e=b.toString("base64"),f=`data:${d};base64,${e}`;return v.NextResponse.json({success:!0,path:i,content:f,extension:j,worktreePath:h.path,isVideo:!0,mimeType:d})}catch(a){if("ENOENT"===a.code)return X("FILE_NOT_FOUND","File not found");throw a}}if(function(a){if(!a)return!1;let b=(0,D.HB)(a);return K.includes(b)}(k)){let a=(0,y.join)(h.path,i);try{let b=await (0,N.readFile)(a),c=function(a){return a.length>0x1400000?{valid:!1,error:"File size exceeds 20MB limit"}:!(a.length<L.length)&&L.every((b,c)=>a[c]===b)?{valid:!0}:{valid:!1,error:"Invalid PDF magic bytes"}}(b);if(!c.valid){if(c.error?.includes("MB"))return X("PDF_SIZE_EXCEEDED",c.error);return X("INVALID_MAGIC_BYTES",c.error||"Invalid PDF magic bytes")}let d=b.toString("base64"),e=`data:${M};base64,${d}`;return v.NextResponse.json({success:!0,path:i,content:e,extension:j,worktreePath:h.path,isPdf:!0,mimeType:M})}catch(a){if("ENOENT"===a.code)return X("FILE_NOT_FOUND","File not found");throw a}}let l=(0,y.join)(h.path,i);try{c=await (0,N.stat)(l)}catch(a){if("ENOENT"===a.code)return X("FILE_NOT_FOUND","File not found");throw a}let m=function(a,b){let c=(0,J.lk)(a)?J.j6:(0,C.Ol)(a)?C.Nu:null;return null===c||b<=c?null:{code:"FILE_TOO_LARGE",message:`Opened read-only: this file is ${Y(b)}, over the ${Y(c)} limit for editing. You can view it but not save changes.`,limitBytes:c,sizeBytes:b}}(k,c.size),n=m?{readOnly:!0,readOnlyReason:m}:{},{searchParams:o}=new URL(a.url),p=function(a){let b=a.get("startLine"),c=a.get("endLine");if(null===b&&null===c)return{mode:"full"};let d=Number(b),e=Number(c);return Number.isFinite(d)&&Number.isFinite(e)?{mode:"range",startLine:d,endLine:e}:{mode:"invalid"}}(o);if("invalid"===p.mode)return X("INVALID_REQUEST","startLine and endLine must be numeric");if("range"===p.mode){let a=await (0,B.QS)(h.path,i,p.startLine,p.endLine);if(!a.success)return X(a.error?.code||"INTERNAL_ERROR",a.error?.message||"Failed to read file range");return v.NextResponse.json({success:!0,path:i,content:a.content,extension:j,worktreePath:h.path,totalLines:a.totalLines,totalBytes:a.totalBytes,encoding:a.encoding,range:a.range,...n})}let q=c.mtime.toUTCString(),r=a.headers.get("If-Modified-Since");if(r){let a=new Date(r);if(!isNaN(a.getTime())&&c.mtime<=a)return new Response(null,{status:304,headers:{"Last-Modified":q,"Cache-Control":"no-store, private"}})}let s=await (0,B.AJ)(h.path,i);if(!s.success)return X(s.error?.code||"INTERNAL_ERROR",s.error?.message||"Failed to read file");let t=(0,J.lk)(k);return v.NextResponse.json({success:!0,path:i,content:s.content,extension:j,worktreePath:h.path,...t&&{isHtml:!0},totalBytes:c.size,...n},{headers:{"Last-Modified":q,"Cache-Control":"no-store, private"}})}catch(a){return V.error("error-reading-file:",{error:a instanceof Error?a.message:String(a)}),X("INTERNAL_ERROR","Failed to read file")}}async function ad(a,{params:b}){try{let{id:a,path:c}=await b,d=(0,T.z)(a),e=await Z(d,c);if("error"in e)return new v.NextResponse(null,{status:e.error.status});let{worktree:f,relativePath:g}=e;try{if(!(await (0,N.stat)((0,y.join)(f.path,g))).isFile())return new v.NextResponse(null,{status:404});return new v.NextResponse(null,{status:200,headers:{"Cache-Control":"no-store, private"}})}catch(b){let a=b.code;if("ENOENT"===a||"ENOTDIR"===a||"ENAMETOOLONG"===a)return new v.NextResponse(null,{status:404});throw b}}catch(a){return V.error("error-probing-file:",{error:a instanceof Error?a.message:String(a)}),new v.NextResponse(null,{status:500})}}async function ae(a,{params:b}){try{let{id:c,path:d}=await b,e=(0,T.z)(c),f=await Z(e,d);if("error"in f)return f.error;let{worktree:g,relativePath:h}=f;if(!(0,B.Du)(h))return X("NOT_EDITABLE","File type is not editable");let i=await (0,U.of)(a);if(!i.ok)return X("INVALID_REQUEST","Invalid request body");let{content:j}=i.body;if(void 0===j)return X("INVALID_REQUEST","Content is required");let k=(0,y.extname)(h).toLowerCase(),l=(0,C.mS)(k,j);if(!l.valid)return X("INVALID_CONTENT",l.error||"Invalid content");let m=await (0,B.ng)(g.path,h,j);if(!m.success)return X(m.error?.code||"INTERNAL_ERROR",m.error?.message||"Failed to update file");return v.NextResponse.json({success:!0,path:h})}catch(a){return V.error("error-updating-file:",{error:a instanceof Error?a.message:String(a)}),X("INTERNAL_ERROR","Failed to update file")}}async function af(a,{params:b}){try{let{id:c,path:d}=await b,e=(0,T.z)(c),f=await Z(e,d);if("error"in f)return f.error;let{worktree:g,relativePath:h}=f,i=await (0,U.of)(a);if(!i.ok)return X("INVALID_REQUEST","Invalid request body");let{type:j,content:k}=i.body;if(!j||!["file","directory"].includes(j))return X("INVALID_REQUEST",'Type must be "file" or "directory"');if("file"===j&&void 0!==k){let a=(0,y.extname)(h).toLowerCase();if((0,C.Ol)(a)){let b=(0,C.mS)(a,k);if(!b.valid)return X("INVALID_CONTENT",b.error||"Invalid content")}}let l=await (0,B.N_)(g.path,h,j,k);if(!l.success)return X(l.error?.code||"INTERNAL_ERROR",l.error?.message||"Failed to create file/directory");return v.NextResponse.json({success:!0,path:h},{status:201})}catch(a){return V.error("error-creating-filedirectory:",{error:a instanceof Error?a.message:String(a)}),X("INTERNAL_ERROR","Failed to create file/directory")}}async function ag(a,{params:b}){try{let{id:c,path:d}=await b,e=(0,T.z)(c),f=await Z(e,d);if("error"in f)return f.error;let{worktree:g,relativePath:h}=f,{searchParams:i}=new URL(a.url),j="true"===i.get("recursive"),k=await (0,B.Ky)(g.path,h,j);if(!k.success)return X(k.error?.code||"INTERNAL_ERROR",k.error?.message||"Failed to delete file/directory");return v.NextResponse.json({success:!0})}catch(a){return V.error("error-deleting-filedirectory:",{error:a instanceof Error?a.message:String(a)}),X("INTERNAL_ERROR","Failed to delete file/directory")}}async function ah(a,{params:b}){try{let{id:c,path:d}=await b,e=(0,T.z)(c),f=await Z(e,d);if("error"in f)return f.error;let{worktree:g,relativePath:h}=f,i=await (0,U.of)(a);if(!i.ok)return X("INVALID_REQUEST","Invalid request body");let{action:j,newName:k,destination:l}=i.body;switch(j){case"rename":{if(!k||"string"!=typeof k)return X("INVALID_REQUEST","newName is required");if((0,A.Ew)([k]))return X("SENSITIVE_PATH","This path is protected and cannot be accessed through the file API");let a=await (0,B.FH)(g.path,h,k);if(!a.success)return X(a.error?.code||"INTERNAL_ERROR",a.error?.message||"Failed to rename file/directory");return v.NextResponse.json({success:!0,path:a.path})}case"move":{if(!l||"string"!=typeof l)return X("INVALID_REQUEST","destination is required and must be a string");if((0,A.Ew)(l))return X("SENSITIVE_PATH","This path is protected and cannot be accessed through the file API");let a=await (0,B.Gl)(g.path,h,l);if(!a.success)return X(a.error?.code||"INTERNAL_ERROR",a.error?.message||"Failed to move file/directory");return v.NextResponse.json({success:!0,path:a.path})}default:return X("INVALID_REQUEST",'Unknown action. Supported: "rename", "move"')}}catch(a){return V.error("error-renaming-filedirectory:",{error:a instanceof Error?a.message:String(a)}),X("INTERNAL_ERROR","Failed to rename file/directory")}}let ai=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/worktrees/[id]/files/[...path]/route",pathname:"/api/worktrees/[id]/files/[...path]",filename:"route",bundlePath:"app/api/worktrees/[id]/files/[...path]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/files/[...path]/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:aj,workUnitAsyncStorage:ak,serverHooks:al}=ai;function am(){return(0,g.patchFetch)({workAsyncStorage:aj,workUnitAsyncStorage:ak})}async function an(a,b,c){var d;let e="/api/worktrees/[id]/files/[...path]/route";"/index"===e&&(e="/");let g=await ai.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,params:w,nextConfig:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!z.routes[D]&&(ai.isDev||(0,t.isRouteCacheOwner)(D,ai.cacheOwner,z.routes[D])),G=!!(z.dynamicRoutes[E]||F);if(G&&!y){let a=z.dynamicRoutes[E];if(a&&!1===a.fallback&&!F)throw new s.NoFallbackError}let H=null;!G||ai.isDev||y||(H="/index"===(H=D)?"/":H);let I=!0===ai.isDev||!G,J=G&&!I,K=a.method||"GET",L=(0,i.getTracer)(),M=L.getActiveScopeSpan(),N={params:w,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!x.experimental.cacheComponents,authInterrupts:!!x.experimental.authInterrupts},supportsDynamicResponse:I,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=x.experimental)?void 0:d.cacheLife,isRevalidate:J,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>ai.onRequestError(a,b,d,A)},sharedContext:{buildId:v}},O=new k.NodeNextRequest(a),P=new k.NodeNextResponse(b),Q=l.NextRequestAdapter.fromNodeNextRequest(O,(0,l.signalFromNodeResponse)(b));try{let d=async c=>ai.handle(Q,N).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=L.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${K} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${K} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=N.renderOpts.fetchMetrics;let i=N.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=N.renderOpts.collectedTags;if(!G)return await (0,o.I)(O,P,e,N.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==N.renderOpts.collectedRevalidate&&!(N.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&N.renderOpts.collectedRevalidate,d=void 0===N.renderOpts.collectedExpire||N.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:N.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await ai.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:J,isOnDemandRevalidate:B})},A),b}},l=await ai.handleResponse({req:a,nextConfig:x,cacheKey:H,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!G)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&G||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(O,P,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};M?await g(M):await L.withPropagatedContext(a.headers,()=>L.trace(m.BaseServerSpan.handleRequest,{spanName:`${K} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":K,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await ai.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:J,isOnDemandRevalidate:B})}),G)throw b;return await (0,o.I)(O,P,new Response(null,{status:500})),null}}},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[3897,641,3722,4390,9627,8807,406,5354,7506],()=>b(b.s=70178));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../../../package.json","../../../../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/256.js","../../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/package.json","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../node_modules/next/dist/server/lib/route-cache-key.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../node_modules/next/dist/server/route-kind.js","../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../node_modules/next/dist/shared/lib/utils.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../scripts/hooks/cmate-agent-event.sh","../../../../../../../package.json","../../../../../../chunks/3722.js","../../../../../../chunks/3897.js","../../../../../../chunks/406.js","../../../../../../chunks/4390.js","../../../../../../chunks/5354.js","../../../../../../chunks/641.js","../../../../../../chunks/7506.js","../../../../../../chunks/8807.js","../../../../../../chunks/9627.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
package/.next/server/app/api/worktrees/[id]/files/[...path]/route_client-reference-manifest.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/worktrees/[id]/files/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"3890","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"9042","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"44131","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"28393","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"64308":{"*":{"id":"42192","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"50302","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"46368","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["2407","static/chunks/2407-b2f524f99f7fc353.js","4219","static/chunks/app/global-error-49f765ecb7fd6527.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/layout/AppShellGate.tsx":{"id":28876,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":23252,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-419eaf7de340f4ab.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","8039","static/chunks/app/error-d9a7067074e7f460.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-db675c84e696591f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":57101,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":89957,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-b2f524f99f7fc353.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8974","static/chunks/app/page-1b820c421db48c2c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":24502,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":46617,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":64308,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":88201,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/743f79ff19ab91e9.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/files/[...path]/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"29966","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"64308":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/worktrees/[id]/files/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"55524","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"3890","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"19941","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"9042","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"44131","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"96908","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"39800","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"28393","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"71885":{"*":{"id":"758","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"21350","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"50302","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"31017","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"3425","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"46368","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"88710","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/global-error.tsx":{"id":54062,"name":"*","chunks":["2407","static/chunks/2407-a6533805a86d05bd.js","4219","static/chunks/app/global-error-49f765ecb7fd6527.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/sans.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-sans/Geist-Variable.woff2\",\"variable\":\"--font-geist-sans\",\"weight\":\"100 900\"}],\"variableName\":\"GeistSans\"}":{"id":22311,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/font/local/target.css?{\"path\":\"node_modules/geist/dist/mono.js\",\"import\":\"\",\"arguments\":[{\"src\":\"./fonts/geist-mono/GeistMono-Variable.woff2\",\"variable\":\"--font-geist-mono\",\"adjustFontFallback\":false,\"fallback\":[\"ui-monospace\",\"SFMono-Regular\",\"Roboto Mono\",\"Menlo\",\"Monaco\",\"Liberation Mono\",\"DejaVu Sans Mono\",\"Courier New\",\"monospace\"],\"weight\":\"100 900\"}],\"variableName\":\"GeistMono\"}":{"id":7183,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/globals.css":{"id":13673,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/layout/AppShellGate.tsx":{"id":28876,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":23252,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","6606","static/chunks/6606-02ddc006686a6b7d.js","7730","static/chunks/7730-011e137be64403ae.js","5927","static/chunks/5927-54315d21f323e204.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8165","static/chunks/8165-263172c17ae8e8c3.js","602","static/chunks/602-1c1488959215e140.js","5794","static/chunks/5794-80ac3f06f098ea29.js","7177","static/chunks/app/layout-538d8d2746ad1588.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/error.tsx":{"id":50960,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","2407","static/chunks/2407-a6533805a86d05bd.js","8039","static/chunks/app/error-d9a7067074e7f460.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next-intl/dist/esm/production/shared/NextIntlClientProvider.js":{"id":3809,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4209","static/chunks/app/loading-db675c84e696591f.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/login/page.tsx":{"id":70462,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/pwa/OfflineReconnectButton.tsx":{"id":33258,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":89957,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-db80aedf6384d594.js","2619","static/chunks/2619-04bc32f026a0d946.js","8407","static/chunks/8407-155f84e5ba05f1d5.js","2407","static/chunks/2407-a6533805a86d05bd.js","344","static/chunks/344-e1cefd00787060e4.js","6654","static/chunks/6654-f3534f35f16644bc.js","8606","static/chunks/8606-cf6bdbff44a764cf.js","4768","static/chunks/4768-ad6f82f034f21eae.js","8974","static/chunks/app/page-1b820c421db48c2c.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":57101,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/[skillId]/page.tsx":{"id":89675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":24502,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/installed/page.tsx":{"id":72754,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":17442,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":46617,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/skills/page.tsx":{"id":99898,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":71885,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":88201,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/global-error":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/743f79ff19ab91e9.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/error":[],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/route":[],"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/files/[...path]/route":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"13673":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17442":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"23252":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"24502":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"28876":{"*":{"id":"29966","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"46617":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"50960":{"*":{"id":"5682","name":"*","chunks":[],"async":false}},"54062":{"*":{"id":"64182","name":"*","chunks":[],"async":false}},"57101":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"71885":{"*":{"id":"7874","name":"*","chunks":[],"async":false}},"72754":{"*":{"id":"81021","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"69624","name":"*","chunks":[],"async":false}},"88201":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"89675":{"*":{"id":"1133","name":"*","chunks":[],"async":false}},"89957":{"*":{"id":"60967","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}},"99898":{"*":{"id":"74080","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=3969,a.ids=[3969],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3447:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{POST:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(79051),w=c(97399),x=c(27289),y=c(5007);async function z(a,{params:b}){try{let c,{id:d}=await b,e=(0,x.z)(d),f=(0,x.t)(e);if(f instanceof u.NextResponse)return f;let g=await (0,y.Sw)(a);if(!g.ok)return g.response;let{name:h,from:i}=g.body,j=(0,w.I6)(h);if(j instanceof u.NextResponse)return j;if(void 0!==i){let a=(0,w.I6)(i);if(a instanceof u.NextResponse)return a;c=a}return await (0,v.lY)(f.path,{name:j,from:c}),u.NextResponse.json({success:!0,branch:{name:j,isCurrent:!1,isRemote:!1,isDefault:!1,upstream:null,aheadBehind:null,checkedOutWorktreePath:null}},{status:200})}catch(a){return(0,v.x7)(a,"POST /api/worktrees/:id/git/branch/create")}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/worktrees/[id]/git/branch/create/route",pathname:"/api/worktrees/[id]/git/branch/create",filename:"route",bundlePath:"app/api/worktrees/[id]/git/branch/create/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/git/branch/create/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/worktrees/[id]/git/branch/create/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},5007:(a,b,c)=>{c.d(b,{Sw:()=>g,nE:()=>e,of:()=>f});var d=c(10641);async function e(a){try{return{ok:!0,body:await a.json()}}catch{return{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}}}async function f(a){let b=await e(a);if(!b.ok)return b;let c=b.body;return"object"!=typeof c||null===c||Array.isArray(c)?{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}:{ok:!0,body:c}}async function g(a){let b;try{b=await a.json()}catch{return{ok:!0,body:{}}}return"object"!=typeof b||null===b||Array.isArray(b)?{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}:{ok:!0,body:b}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{a.exports=require("process")},21820:a=>{a.exports=require("os")},27289:(a,b,c)=>{c.d(b,{t:()=>j,z:()=>i});var d=c(10641),e=c(88807),f=c(56791),g=c(95506),h=c(66007);function i(a){if(!a)return a;try{if(!(0,h.h6)(a))return a;let b=(0,e.getDbInstance)();return(0,g.l0)(b,a)??a}catch{return a}}function j(a){if(!(0,h.h6)(a))return d.NextResponse.json({error:"Invalid worktree ID format"},{status:400});let b=(0,e.getDbInstance)(),c=(0,f.getWorktreeById)(b,i(a));return c||d.NextResponse.json({error:"Worktree not found"},{status:404})}},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},56791:(a,b,c)=>{c.r(b),c.d(b,{ACTIVE_FILTER:()=>d.ks,ACTIVE_TASK_STATUSES:()=>d.EL,AgentInstanceLimitError:()=>d.AC,CURRENT_SCHEMA_VERSION:()=>f.FT,DEFAULT_RUN_HISTORY_LIMIT:()=>d.Tu,InvalidAgentInstanceError:()=>d.ug,MAX_DISABLED_REPOSITORIES:()=>h.nc,MAX_RUN_HISTORY_DAYS:()=>d.eP,MAX_RUN_HISTORY_LIMIT:()=>d.mg,MemoDbError:()=>d.lm,NEW_SUBSCRIPTION_DEFAULTS:()=>d.s6,PUSH_DEFAULTS_VERSION:()=>d.VP,RepositoryDbError:()=>h.j8,TASK_STATUSES:()=>d.Hi,TERMINAL_TASK_STATUSES:()=>d.sA,VERIFICATION_GATE_SOURCES:()=>d.Dx,VERIFICATION_TRIGGERS:()=>d.af,WORKTREE_TODO_STATUSES:()=>d.KG,addAgentInstance:()=>d.Uq,cancelTimer:()=>d.Ud,cancelTimersByWorktree:()=>d.$$,cleanupOldTimers:()=>d.ul,clearInProgressMessageId:()=>d.YX,clearLastUserMessage:()=>d.cf,clearTimerHistory:()=>d.jf,closeDbInstance:()=>e.closeDbInstance,countAgentInstances:()=>d.fs,countDisabledRepositories:()=>h.QJ,countPushSubscriptionsForKind:()=>d.rC,countWorktreesByRepositoryPath:()=>h.kp,createCloneJob:()=>h.tw,createGateResult:()=>d.hl,createMemo:()=>d.To,createMessage:()=>d.oH,createRepository:()=>h.vB,createTask:()=>d.UT,createTimer:()=>d.CR,createVerificationRun:()=>d.rY,createWorktreeTodo:()=>d.yy,deleteAllMessages:()=>d.pE,deleteMemo:()=>d.cP,deleteMessageById:()=>d.DF,deleteMessagesByCliTool:()=>d.lA,deleteMessagesByInstance:()=>d.Qp,deletePushSubscriptionByEndpoint:()=>d.th,deleteRepository:()=>h.oG,deleteRepositoryWorktrees:()=>d.oZ,deleteSessionState:()=>d.ZP,deleteWorktreeTodo:()=>d.vg,deleteWorktreesByIds:()=>d.Rm,disableExistingRepository:()=>h.eP,disableRepository:()=>h.l$,ensureEnvRepositoriesRegistered:()=>h.ES,filterExcludedPaths:()=>h.Ho,findMessageByRequestId:()=>d.Ow,finishGateResult:()=>d.C8,finishVerificationRun:()=>d.u$,getActiveCloneJobByUrl:()=>h.fD,getActiveTask:()=>d.__,getActiveTaskForInstance:()=>d.MH,getAgentInstance:()=>d.BN,getAgentInstances:()=>d.m0,getAliasedWorktreeIds:()=>d.r3,getAllPushSubscriptions:()=>d.Se,getAllRepositories:()=>h.Yg,getAllRepositoriesWithWorktreeCount:()=>h._D,getAllWorktreeAliases:()=>d.fX,getAllWorktreeIds:()=>d.nO,getAllWorktreePathIds:()=>d.Sj,getCloneJob:()=>h.bM,getCloneJobsByStatus:()=>h.n_,getCurrentVersion:()=>f.Mj,getDailyReport:()=>d.ap,getDbInstance:()=>e.getDbInstance,getDefaultDbPath:()=>g.$b,getExcludedRepositories:()=>h.lS,getExcludedRepositoryPaths:()=>h.pr,getInitialBranch:()=>d.p4,getIssueDbPath:()=>g.zm,getLastAssistantMessageAt:()=>d.nP,getLastMessage:()=>d.sy,getLastUserMessage:()=>d.r8,getLegacyDbPaths:()=>q,getMemoById:()=>d.DN,getMemosByWorktreeId:()=>d.pZ,getMessageById:()=>d.kA,getMessages:()=>d.VL,getMessagesByDateRange:()=>d.lr,getMigrationHistory:()=>f.PS,getPendingTimerCountByWorktree:()=>d.GF,getPendingTimers:()=>d._O,getPushSubscriptionByEndpoint:()=>d.CF,getPushSubscriptionsForKind:()=>d.gn,getRepositories:()=>d.NV,getRepositoryById:()=>h.r,getRepositoryByNormalizedUrl:()=>h.Uj,getRepositoryByPath:()=>h.Dp,getRunningVerificationRun:()=>d.WZ,getSessionState:()=>d.y1,getTask:()=>d.gg,getTimerById:()=>d.kx,getTimersByWorktree:()=>d.DP,getTodosByWorktreeId:()=>d.fr,getVerificationRun:()=>d.J6,getWorktreeAliases:()=>d.Q2,getWorktreeById:()=>d.Ui,getWorktreeIdsByRepository:()=>d.P9,getWorktreeTodoById:()=>d.eN,getWorktrees:()=>d.vi,getWorktreesByRepository:()=>d.uJ,initDatabase:()=>d.s4,isTerminalTaskStatus:()=>d.uB,isWorktreeTodoStatus:()=>d.yT,listRunningVerificationRuns:()=>d.Fi,listTaskEvents:()=>d.HB,listTasks:()=>d.Vk,listVerificationRuns:()=>d.Mt,listVerificationRunsForPeriod:()=>d.UE,markPendingPromptsAsAnswered:()=>d.PL,migrateDbIfNeeded:()=>r,migrateWorktreeIdPreservingChildren:()=>d._h,pushSubscriptionNeedsDefaultsNotice:()=>d.Zj,recomputeLastUserMessage:()=>d.jp,recordAnsweredPrompt:()=>d.pG,recordWorktreeAlias:()=>d.xJ,recoverStuckSendingTimers:()=>d.Xm,registerAndFilterRepositories:()=>h.$G,removeAgentInstance:()=>d.NU,reorderMemos:()=>d.nQ,reorderWorktreeTodos:()=>d.yb,resolveAndValidatePath:()=>p,resolveRepositoryPath:()=>h.mE,resolveWorktreeIdWithAlias:()=>d.l0,restoreRepository:()=>h.RS,rollbackMigrations:()=>f.Wy,runMigrations:()=>f.vI,saveDailyReport:()=>d.tt,saveInitialBranch:()=>d.GA,setAgentInstances:()=>d.Cs,setInProgressMessageId:()=>d.OF,setRepositoryEnabled:()=>h.iQ,updateCliToolId:()=>d.WU,updateCloneJob:()=>h.k5,updateDailyReportContent:()=>d.IF,updateFavorite:()=>d.O,updateLastUserMessage:()=>d.EU,updateLastViewedAt:()=>d.HZ,updateMemo:()=>d.UY,updateMessageContent:()=>d.e8,updatePromptData:()=>d.cw,updatePushSubscriptionPreferences:()=>d.jJ,updateRepository:()=>h.Ir,updateSelectedAgents:()=>d.DC,updateSessionState:()=>d.PP,updateStatus:()=>d.yB,updateTimerStatus:()=>d.j2,updateVibeLocalContextWindow:()=>d.s,updateVibeLocalModel:()=>d.iu,updateWorktreeDescription:()=>d.hq,updateWorktreeLink:()=>d.z1,updateWorktreeTodo:()=>d.bl,upsertPushSubscription:()=>d.jA,upsertWorktree:()=>d.ZL,validateDbPath:()=>g.Sv,validateRepositoryPath:()=>h.Ux,validateSchema:()=>f.i6});var d=c(683),e=c(88807),f=c(67469),g=c(20416),h=c(10406),i=c(29021),j=c.n(i),k=c(33873),l=c.n(k),m=c(21820),n=c(7956);let o=(0,c(72626).h)("db-migration-path");function p(a,b){try{if(!j().existsSync(a))return null;let c=j().realpathSync(a);if((0,n.fW)(c))return o.warn(`[Security] ${b} points to system directory, skipping: ${c}`),null;return c}catch{return o.warn(`[Security] Failed to resolve ${b}: ${a}`),null}}function q(){let a=[];a.push(l().join(process.cwd(),"data","db.sqlite")),a.push(l().join(process.cwd(),"data","cm.db")),a.push(l().join((0,m.homedir)(),".commandmate","data","db.sqlite"));let b=process.env.DATABASE_PATH;if(b)try{let c=l().resolve(b);(0,n.fW)(c)?o.warn(`[Security] Skipping DATABASE_PATH in system directory: ${c}`):a.push(b)}catch{o.warn(`[Security] Invalid DATABASE_PATH: ${b}`)}return a}function r(a){let b=l().resolve(a);if((0,n.fW)(b))throw Error(`Security error: Target path cannot be in system directory: ${b}`);if(j().existsSync(a)){let b=p(a,"target path");if(b)return{migrated:!1,targetPath:b}}for(let a of q()){let c=p(a,"legacy path");if(!c)continue;let d=`${c}.bak`;j().copyFileSync(c,d),j().chmodSync(d,384);let e=l().dirname(b);return j().existsSync(e)||j().mkdirSync(e,{recursive:!0,mode:448}),j().copyFileSync(c,b),o.info(`[Migration] Database migrated from ${c} to ${b}`),o.info(`[Migration] Backup created at ${d}`),{migrated:!0,sourcePath:c,targetPath:b,backupPath:d}}return{migrated:!1,targetPath:b}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},97399:(a,b,c)=>{c.d(b,{I6:()=>i,Sr:()=>g,eA:()=>k});var d=c(10641),e=c(66007),f=c(65417);function g(a,b){if(!Array.isArray(a)||0===a.length)return d.NextResponse.json({error:"files must be a non-empty array"},{status:400});if(a.length>f.Mo)return d.NextResponse.json({error:`files exceeds the maximum of ${f.Mo}`},{status:400});for(let c of a){if("string"!=typeof c||0===c.length)return d.NextResponse.json({error:"files must contain only non-empty strings"},{status:400});if(!(0,e.B9)(c,b))return d.NextResponse.json({error:"Invalid file path"},{status:400})}return a}let h=/[\x00-\x20\x7F~^:?*[\\]/;function i(a){return"string"!=typeof a||0===a.length||a.length>255||a.startsWith("-")||a.startsWith("/")||a.endsWith("/")||a.includes("//")||a.includes("..")||a.startsWith(".")||a.endsWith(".")||a.endsWith(".lock")||a.includes("@{")||h.test(a)?d.NextResponse.json({error:"Invalid branch name",reason:"invalid_branch_name"},{status:400}):a}let j=/^\d+$/;function k(a){let b,c=()=>d.NextResponse.json({error:"Invalid stash index",reason:"invalid_stash_index"},{status:400});if("number"==typeof a){if(!Number.isInteger(a))return c();b=a}else{if("string"!=typeof a||!j.test(a))return c();b=parseInt(a,10)}return b<0||b>f.Kq?c():b}}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,641,3722,4390,9627,8807,406,6065,1944,9051],()=>b(b.s=3447));module.exports=c})();
|
|
1
|
+
"use strict";(()=>{var a={};a.id=3969,a.ids=[3969],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3447:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{POST:()=>A});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(34679),u=c(51356),v=c(10641),w=c(79051),x=c(97399),y=c(27289),z=c(5007);async function A(a,{params:b}){try{let c,{id:d}=await b,e=(0,y.z)(d),f=(0,y.t)(e);if(f instanceof v.NextResponse)return f;let g=await (0,z.Sw)(a);if(!g.ok)return g.response;let{name:h,from:i}=g.body,j=(0,x.I6)(h);if(j instanceof v.NextResponse)return j;if(void 0!==i){let a=(0,x.I6)(i);if(a instanceof v.NextResponse)return a;c=a}return await (0,w.lY)(f.path,{name:j,from:c}),v.NextResponse.json({success:!0,branch:{name:j,isCurrent:!1,isRemote:!1,isDefault:!1,upstream:null,aheadBehind:null,checkedOutWorktreePath:null}},{status:200})}catch(a){return(0,w.x7)(a,"POST /api/worktrees/:id/git/branch/create")}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/worktrees/[id]/git/branch/create/route",pathname:"/api/worktrees/[id]/git/branch/create",filename:"route",bundlePath:"app/api/worktrees/[id]/git/branch/create/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/worktrees/[id]/git/branch/create/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){var d;let e="/api/worktrees/[id]/git/branch/create/route";"/index"===e&&(e="/");let g=await B.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,params:w,nextConfig:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E}=g,F=(0,j.normalizeAppPath)(e),G=!!z.routes[E]&&(B.isDev||(0,t.isRouteCacheOwner)(E,B.cacheOwner,z.routes[E])),H=!!(z.dynamicRoutes[F]||G);if(H&&!y){let a=z.dynamicRoutes[F];if(a&&!1===a.fallback&&!G)throw new s.NoFallbackError}let I=null;!H||B.isDev||y||(I="/index"===(I=E)?"/":I);let J=!0===B.isDev||!H,K=H&&!J,L=a.method||"GET",M=(0,i.getTracer)(),N=M.getActiveScopeSpan(),O={params:w,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!x.experimental.cacheComponents,authInterrupts:!!x.experimental.authInterrupts},supportsDynamicResponse:J,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=x.experimental)?void 0:d.cacheLife,isRevalidate:K,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>B.onRequestError(a,b,d,A)},sharedContext:{buildId:v}},P=new k.NodeNextRequest(a),Q=new k.NodeNextResponse(b),R=l.NextRequestAdapter.fromNodeNextRequest(P,(0,l.signalFromNodeResponse)(b));try{let d=async c=>B.handle(R,O).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=M.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${L} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${L} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=O.renderOpts.fetchMetrics;let i=O.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=O.renderOpts.collectedTags;if(!H)return await (0,o.I)(P,Q,e,O.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==O.renderOpts.collectedRevalidate&&!(O.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&O.renderOpts.collectedRevalidate,d=void 0===O.renderOpts.collectedExpire||O.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:O.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:K,isOnDemandRevalidate:C})},A),b}},l=await B.handleResponse({req:a,nextConfig:x,cacheKey:I,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil});if(!H)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&H||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(P,Q,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};N?await g(N):await M.withPropagatedContext(a.headers,()=>M.trace(m.BaseServerSpan.handleRequest,{spanName:`${L} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":L,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:F,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:K,isOnDemandRevalidate:C})}),H)throw b;return await (0,o.I)(P,Q,new Response(null,{status:500})),null}}},5007:(a,b,c)=>{c.d(b,{Sw:()=>g,nE:()=>e,of:()=>f});var d=c(10641);async function e(a){try{return{ok:!0,body:await a.json()}}catch{return{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}}}async function f(a){let b=await e(a);if(!b.ok)return b;let c=b.body;return"object"!=typeof c||null===c||Array.isArray(c)?{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}:{ok:!0,body:c}}async function g(a){let b;try{b=await a.json()}catch{return{ok:!0,body:{}}}return"object"!=typeof b||null===b||Array.isArray(b)?{ok:!1,response:d.NextResponse.json({error:"Invalid request body"},{status:400})}:{ok:!0,body:b}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19771:a=>{a.exports=require("process")},21820:a=>{a.exports=require("os")},27289:(a,b,c)=>{c.d(b,{t:()=>j,z:()=>i});var d=c(10641),e=c(88807),f=c(56791),g=c(95506),h=c(66007);function i(a){if(!a)return a;try{if(!(0,h.h6)(a))return a;let b=(0,e.getDbInstance)();return(0,g.l0)(b,a)??a}catch{return a}}function j(a){if(!(0,h.h6)(a))return d.NextResponse.json({error:"Invalid worktree ID format"},{status:400});let b=(0,e.getDbInstance)(),c=(0,f.getWorktreeById)(b,i(a));return c||d.NextResponse.json({error:"Worktree not found"},{status:404})}},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},56791:(a,b,c)=>{c.r(b),c.d(b,{ACTIVE_FILTER:()=>d.ks,ACTIVE_TASK_STATUSES:()=>d.EL,AgentInstanceLimitError:()=>d.AC,CURRENT_SCHEMA_VERSION:()=>f.FT,DEFAULT_RUN_HISTORY_LIMIT:()=>d.Tu,InvalidAgentInstanceError:()=>d.ug,MAX_DISABLED_REPOSITORIES:()=>h.nc,MAX_RUN_HISTORY_DAYS:()=>d.eP,MAX_RUN_HISTORY_LIMIT:()=>d.mg,MemoDbError:()=>d.lm,NEW_SUBSCRIPTION_DEFAULTS:()=>d.s6,PUSH_DEFAULTS_VERSION:()=>d.VP,RepositoryDbError:()=>h.j8,TASK_STATUSES:()=>d.Hi,TERMINAL_TASK_STATUSES:()=>d.sA,VERIFICATION_GATE_SOURCES:()=>d.Dx,VERIFICATION_TRIGGERS:()=>d.af,WORKTREE_TODO_STATUSES:()=>d.KG,addAgentInstance:()=>d.Uq,cancelTimer:()=>d.Ud,cancelTimersByWorktree:()=>d.$$,cleanupOldTimers:()=>d.ul,clearInProgressMessageId:()=>d.YX,clearLastUserMessage:()=>d.cf,clearTimerHistory:()=>d.jf,closeDbInstance:()=>e.closeDbInstance,countAgentInstances:()=>d.fs,countDisabledRepositories:()=>h.QJ,countPushSubscriptionsForKind:()=>d.rC,countWorktreesByRepositoryPath:()=>h.kp,createCloneJob:()=>h.tw,createGateResult:()=>d.hl,createMemo:()=>d.To,createMessage:()=>d.oH,createRepository:()=>h.vB,createTask:()=>d.UT,createTimer:()=>d.CR,createVerificationRun:()=>d.rY,createWorktreeTodo:()=>d.yy,deleteAllMessages:()=>d.pE,deleteMemo:()=>d.cP,deleteMessageById:()=>d.DF,deleteMessagesByCliTool:()=>d.lA,deleteMessagesByInstance:()=>d.Qp,deletePushSubscriptionByEndpoint:()=>d.th,deleteRepository:()=>h.oG,deleteRepositoryWorktrees:()=>d.oZ,deleteSessionState:()=>d.ZP,deleteWorktreeTodo:()=>d.vg,deleteWorktreesByIds:()=>d.Rm,disableExistingRepository:()=>h.eP,disableRepository:()=>h.l$,ensureEnvRepositoriesRegistered:()=>h.ES,filterExcludedPaths:()=>h.Ho,findMessageByRequestId:()=>d.Ow,finishGateResult:()=>d.C8,finishVerificationRun:()=>d.u$,getActiveCloneJobByUrl:()=>h.fD,getActiveTask:()=>d.__,getActiveTaskForInstance:()=>d.MH,getAgentInstance:()=>d.BN,getAgentInstances:()=>d.m0,getAliasedWorktreeIds:()=>d.r3,getAllPushSubscriptions:()=>d.Se,getAllRepositories:()=>h.Yg,getAllRepositoriesWithWorktreeCount:()=>h._D,getAllWorktreeAliases:()=>d.fX,getAllWorktreeIds:()=>d.nO,getAllWorktreePathIds:()=>d.Sj,getCloneJob:()=>h.bM,getCloneJobsByStatus:()=>h.n_,getCurrentVersion:()=>f.Mj,getDailyReport:()=>d.ap,getDbInstance:()=>e.getDbInstance,getDefaultDbPath:()=>g.$b,getExcludedRepositories:()=>h.lS,getExcludedRepositoryPaths:()=>h.pr,getInitialBranch:()=>d.p4,getIssueDbPath:()=>g.zm,getLastAssistantMessageAt:()=>d.nP,getLastMessage:()=>d.sy,getLastUserMessage:()=>d.r8,getLegacyDbPaths:()=>q,getMemoById:()=>d.DN,getMemosByWorktreeId:()=>d.pZ,getMessageById:()=>d.kA,getMessages:()=>d.VL,getMessagesByDateRange:()=>d.lr,getMigrationHistory:()=>f.PS,getPendingTimerCountByWorktree:()=>d.GF,getPendingTimers:()=>d._O,getPushSubscriptionByEndpoint:()=>d.CF,getPushSubscriptionsForKind:()=>d.gn,getRepositories:()=>d.NV,getRepositoryById:()=>h.r,getRepositoryByNormalizedUrl:()=>h.Uj,getRepositoryByPath:()=>h.Dp,getRunningVerificationRun:()=>d.WZ,getSessionState:()=>d.y1,getTask:()=>d.gg,getTimerById:()=>d.kx,getTimersByWorktree:()=>d.DP,getTodosByWorktreeId:()=>d.fr,getVerificationRun:()=>d.J6,getWorktreeAliases:()=>d.Q2,getWorktreeById:()=>d.Ui,getWorktreeIdsByRepository:()=>d.P9,getWorktreeTodoById:()=>d.eN,getWorktrees:()=>d.vi,getWorktreesByRepository:()=>d.uJ,initDatabase:()=>d.s4,isTerminalTaskStatus:()=>d.uB,isWorktreeTodoStatus:()=>d.yT,listRunningVerificationRuns:()=>d.Fi,listTaskEvents:()=>d.HB,listTasks:()=>d.Vk,listVerificationRuns:()=>d.Mt,listVerificationRunsForPeriod:()=>d.UE,markPendingPromptsAsAnswered:()=>d.PL,migrateDbIfNeeded:()=>r,migrateWorktreeIdPreservingChildren:()=>d._h,pushSubscriptionNeedsDefaultsNotice:()=>d.Zj,recomputeLastUserMessage:()=>d.jp,recordAnsweredPrompt:()=>d.pG,recordWorktreeAlias:()=>d.xJ,recoverStuckSendingTimers:()=>d.Xm,registerAndFilterRepositories:()=>h.$G,removeAgentInstance:()=>d.NU,reorderMemos:()=>d.nQ,reorderWorktreeTodos:()=>d.yb,resolveAndValidatePath:()=>p,resolveRepositoryPath:()=>h.mE,resolveWorktreeIdWithAlias:()=>d.l0,restoreRepository:()=>h.RS,rollbackMigrations:()=>f.Wy,runMigrations:()=>f.vI,saveDailyReport:()=>d.tt,saveInitialBranch:()=>d.GA,setAgentInstances:()=>d.Cs,setInProgressMessageId:()=>d.OF,setRepositoryEnabled:()=>h.iQ,updateCliToolId:()=>d.WU,updateCloneJob:()=>h.k5,updateDailyReportContent:()=>d.IF,updateFavorite:()=>d.O,updateLastUserMessage:()=>d.EU,updateLastViewedAt:()=>d.HZ,updateMemo:()=>d.UY,updateMessageContent:()=>d.e8,updatePromptData:()=>d.cw,updatePushSubscriptionPreferences:()=>d.jJ,updateRepository:()=>h.Ir,updateSelectedAgents:()=>d.DC,updateSessionState:()=>d.PP,updateStatus:()=>d.yB,updateTimerStatus:()=>d.j2,updateVibeLocalContextWindow:()=>d.s,updateVibeLocalModel:()=>d.iu,updateWorktreeDescription:()=>d.hq,updateWorktreeLink:()=>d.z1,updateWorktreeTodo:()=>d.bl,upsertPushSubscription:()=>d.jA,upsertWorktree:()=>d.ZL,validateDbPath:()=>g.Sv,validateRepositoryPath:()=>h.Ux,validateSchema:()=>f.i6});var d=c(683),e=c(88807),f=c(67469),g=c(20416),h=c(10406),i=c(29021),j=c.n(i),k=c(33873),l=c.n(k),m=c(21820),n=c(7956);let o=(0,c(72626).h)("db-migration-path");function p(a,b){try{if(!j().existsSync(a))return null;let c=j().realpathSync(a);if((0,n.fW)(c))return o.warn(`[Security] ${b} points to system directory, skipping: ${c}`),null;return c}catch{return o.warn(`[Security] Failed to resolve ${b}: ${a}`),null}}function q(){let a=[];a.push(l().join(process.cwd(),"data","db.sqlite")),a.push(l().join(process.cwd(),"data","cm.db")),a.push(l().join((0,m.homedir)(),".commandmate","data","db.sqlite"));let b=process.env.DATABASE_PATH;if(b)try{let c=l().resolve(b);(0,n.fW)(c)?o.warn(`[Security] Skipping DATABASE_PATH in system directory: ${c}`):a.push(b)}catch{o.warn(`[Security] Invalid DATABASE_PATH: ${b}`)}return a}function r(a){let b=l().resolve(a);if((0,n.fW)(b))throw Error(`Security error: Target path cannot be in system directory: ${b}`);if(j().existsSync(a)){let b=p(a,"target path");if(b)return{migrated:!1,targetPath:b}}for(let a of q()){let c=p(a,"legacy path");if(!c)continue;let d=`${c}.bak`;j().copyFileSync(c,d),j().chmodSync(d,384);let e=l().dirname(b);return j().existsSync(e)||j().mkdirSync(e,{recursive:!0,mode:448}),j().copyFileSync(c,b),o.info(`[Migration] Database migrated from ${c} to ${b}`),o.info(`[Migration] Backup created at ${d}`),{migrated:!0,sourcePath:c,targetPath:b,backupPath:d}}return{migrated:!1,targetPath:b}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},79428:a=>{a.exports=require("buffer")},79551:a=>{a.exports=require("url")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},97399:(a,b,c)=>{c.d(b,{I6:()=>i,Sr:()=>g,eA:()=>k});var d=c(10641),e=c(66007),f=c(65417);function g(a,b){if(!Array.isArray(a)||0===a.length)return d.NextResponse.json({error:"files must be a non-empty array"},{status:400});if(a.length>f.Mo)return d.NextResponse.json({error:`files exceeds the maximum of ${f.Mo}`},{status:400});for(let c of a){if("string"!=typeof c||0===c.length)return d.NextResponse.json({error:"files must contain only non-empty strings"},{status:400});if(!(0,e.B9)(c,b))return d.NextResponse.json({error:"Invalid file path"},{status:400})}return a}let h=/[\x00-\x20\x7F~^:?*[\\]/;function i(a){return"string"!=typeof a||0===a.length||a.length>255||a.startsWith("-")||a.startsWith("/")||a.endsWith("/")||a.includes("//")||a.includes("..")||a.startsWith(".")||a.endsWith(".")||a.endsWith(".lock")||a.includes("@{")||h.test(a)?d.NextResponse.json({error:"Invalid branch name",reason:"invalid_branch_name"},{status:400}):a}let j=/^\d+$/;function k(a){let b,c=()=>d.NextResponse.json({error:"Invalid stash index",reason:"invalid_stash_index"},{status:400});if("number"==typeof a){if(!Number.isInteger(a))return c();b=a}else{if("string"!=typeof a||!j.test(a))return c();b=parseInt(a,10)}return b<0||b>f.Kq?c():b}}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[3897,641,3722,4390,9627,8807,406,6065,6784],()=>b(b.s=3447));module.exports=c})();
|