commandmate 0.10.4 → 0.11.1
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 +265 -265
- package/.next/app-path-routes-manifest.json +25 -25
- package/.next/build-manifest.json +5 -5
- package/.next/prerender-manifest.json +9 -9
- package/.next/react-loadable-manifest.json +4 -4
- package/.next/required-server-files.json +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- 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/app/update/route.js +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_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/conversation/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/current-output/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/messages/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/session/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/start/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/terminal/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/assistant/tools/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/auth/status/route_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +1 -1
- package/.next/server/app/api/external-apps/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/hooks/claude-done/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/push/subscriptions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/push/vapid/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/[id]/todos/[todoId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/[id]/todos/route_client-reference-manifest.js +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_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/excluded/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/restore/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/scan/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/repositories/sync/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/sidebar/group-order/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/slash-commands/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/templates/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/templates/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/todos/route_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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]/execution-logs/[logId]/route_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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]/interrupt/route_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/messages/route_client-reference-manifest.js +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]/respond/route_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/start-polling/route_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +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_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/[id]/viewed/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -1
- package/.next/server/app/chat/page.js +1 -1
- package/.next/server/app/chat/page.js.nft.json +1 -1
- package/.next/server/app/chat/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login/page.js +1 -1
- 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_client-reference-manifest.js +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 +1 -1
- 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 +1 -1
- 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_client-reference-manifest.js +1 -1
- package/.next/server/app/repositories/page.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/worktrees/[id]/files/[...path]/page.js +1 -1
- 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 +7 -7
- 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 +1 -1
- 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 +25 -25
- package/.next/server/chunks/2119.js +1 -1
- package/.next/server/chunks/2445.js +1 -1
- package/.next/server/chunks/3644.js +13 -0
- package/.next/server/chunks/5959.js +1 -1
- package/.next/server/chunks/646.js +2 -14
- package/.next/server/chunks/9067.js +1 -1
- package/.next/server/chunks/9355.js +13 -1
- package/.next/server/chunks/{9992.js → 9968.js} +1 -1
- 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/server-reference-manifest.json +1 -1
- package/.next/static/chunks/4560-64b1461fd996127a.js +1 -0
- package/.next/static/chunks/{7347-a013a163a75030ec.js → 6488-d6e53d8da584e644.js} +1 -1
- package/.next/static/chunks/{8566-b8bbcfd837cc338b.js → 8566-9da32e46c9d3fd54.js} +1 -1
- package/.next/static/chunks/8676.c1ef7e2aac5f05a0.js +1 -0
- package/.next/static/chunks/{8965-872d8de254196cec.js → 8965-5ff40db68775eb01.js} +1 -1
- package/.next/static/chunks/app/chat/{page-5d20240f98c07cee.js → page-6f714339e12c3a16.js} +1 -1
- package/.next/static/chunks/app/layout-86574192bd3c0e6b.js +1 -0
- package/.next/static/chunks/app/more/{page-af1d2af13ea901d2.js → page-a496425bba427b48.js} +1 -1
- package/.next/static/chunks/app/{page-3bbe737ec910d1fb.js → page-15bfd76bcf65842d.js} +1 -1
- package/.next/static/chunks/app/repositories/{page-ace9134ac165a6de.js → page-d214522ab8792ce7.js} +1 -1
- package/.next/static/chunks/app/review/{page-331b80f4f58582bc.js → page-1dadf0b5d7129598.js} +1 -1
- package/.next/static/chunks/app/sessions/{page-d694149a7e8649b6.js → page-96f007d986c5f327.js} +1 -1
- package/.next/static/chunks/app/worktrees/[id]/files/[...path]/{page-9ff4d065483cdfe9.js → page-6a45f3744da50d95.js} +1 -1
- package/.next/static/chunks/app/worktrees/[id]/page-3b07e3be354aae57.js +1 -0
- package/.next/static/chunks/{webpack-4fbc38b2e3abb013.js → webpack-25d4697671930f37.js} +1 -1
- package/.next/trace +10 -10
- package/dist/cli/commands/update.d.ts.map +1 -1
- package/dist/cli/commands/update.js +178 -1
- package/dist/cli/program.d.ts.map +1 -1
- package/dist/cli/program.js +6 -0
- package/dist/cli/types/index.d.ts +7 -0
- package/dist/cli/types/index.d.ts.map +1 -1
- package/dist/cli/utils/npx-runner.d.ts +88 -0
- package/dist/cli/utils/npx-runner.d.ts.map +1 -0
- package/dist/cli/utils/npx-runner.js +165 -0
- package/dist/lib/app-update/update-lock.d.ts +39 -0
- package/dist/lib/app-update/update-lock.d.ts.map +1 -0
- package/dist/lib/app-update/update-lock.js +116 -0
- package/package.json +1 -1
- package/.next/server/chunks/1104.js +0 -13
- package/.next/static/chunks/4560-2bf9cb6504cc4425.js +0 -1
- package/.next/static/chunks/8676.cc638529497c5a1e.js +0 -1
- package/.next/static/chunks/app/layout-fe5857360dfba2b9.js +0 -1
- package/.next/static/chunks/app/worktrees/[id]/page-932a52f8d11971f7.js +0 -1
- /package/.next/static/{uBCIYS1Hth7V4unroKqGu → WzRCDS2PLtMvg0Sjwlf0S}/_buildManifest.js +0 -0
- /package/.next/static/{uBCIYS1Hth7V4unroKqGu → WzRCDS2PLtMvg0Sjwlf0S}/_ssgManifest.js +0 -0
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"/api/assistant/session/route": "/api/assistant/session",
|
|
7
7
|
"/api/assistant/start/route": "/api/assistant/start",
|
|
8
8
|
"/api/assistant/terminal/route": "/api/assistant/terminal",
|
|
9
|
+
"/api/assistant/tools/route": "/api/assistant/tools",
|
|
9
10
|
"/api/auth/login/route": "/api/auth/login",
|
|
10
11
|
"/api/auth/logout/route": "/api/auth/logout",
|
|
11
|
-
"/api/assistant/tools/route": "/api/assistant/tools",
|
|
12
12
|
"/api/daily-summary/route": "/api/daily-summary",
|
|
13
13
|
"/api/hooks/claude-done/route": "/api/hooks/claude-done",
|
|
14
14
|
"/api/ollama/models/route": "/api/ollama/models",
|
|
@@ -16,53 +16,53 @@
|
|
|
16
16
|
"/api/repositories/[id]/todos/[todoId]/route": "/api/repositories/[id]/todos/[todoId]",
|
|
17
17
|
"/api/repositories/[id]/todos/route": "/api/repositories/[id]/todos",
|
|
18
18
|
"/api/repositories/clone/[jobId]/route": "/api/repositories/clone/[jobId]",
|
|
19
|
-
"/api/repositories/clone/route": "/api/repositories/clone",
|
|
20
19
|
"/api/repositories/excluded/route": "/api/repositories/excluded",
|
|
21
|
-
"/api/repositories/
|
|
20
|
+
"/api/repositories/clone/route": "/api/repositories/clone",
|
|
22
21
|
"/api/repositories/route": "/api/repositories",
|
|
23
|
-
"/api/repositories/
|
|
22
|
+
"/api/repositories/restore/route": "/api/repositories/restore",
|
|
24
23
|
"/api/repositories/sync/route": "/api/repositories/sync",
|
|
24
|
+
"/api/repositories/scan/route": "/api/repositories/scan",
|
|
25
25
|
"/api/slash-commands/route": "/api/slash-commands",
|
|
26
|
-
"/api/templates/[id]/route": "/api/templates/[id]",
|
|
27
26
|
"/api/templates/route": "/api/templates",
|
|
27
|
+
"/api/templates/[id]/route": "/api/templates/[id]",
|
|
28
28
|
"/api/worktrees/[id]/auto-yes/route": "/api/worktrees/[id]/auto-yes",
|
|
29
29
|
"/api/worktrees/[id]/capture/route": "/api/worktrees/[id]/capture",
|
|
30
|
+
"/api/worktrees/[id]/cmate/schedules/route": "/api/worktrees/[id]/cmate/schedules",
|
|
30
31
|
"/api/worktrees/[id]/cli-tool/route": "/api/worktrees/[id]/cli-tool",
|
|
32
|
+
"/api/worktrees/[id]/execution-logs/route": "/api/worktrees/[id]/execution-logs",
|
|
31
33
|
"/api/worktrees/[id]/current-output/route": "/api/worktrees/[id]/current-output",
|
|
32
|
-
"/api/worktrees/[id]/cmate/schedules/route": "/api/worktrees/[id]/cmate/schedules",
|
|
33
34
|
"/api/worktrees/[id]/execution-logs/[logId]/route": "/api/worktrees/[id]/execution-logs/[logId]",
|
|
34
|
-
"/api/worktrees/[id]/execution-logs/route": "/api/worktrees/[id]/execution-logs",
|
|
35
|
-
"/api/worktrees/[id]/git/branch/create/route": "/api/worktrees/[id]/git/branch/create",
|
|
36
35
|
"/api/worktrees/[id]/files/[...path]/route": "/api/worktrees/[id]/files/[...path]",
|
|
37
36
|
"/api/worktrees/[id]/git/branch/delete/route": "/api/worktrees/[id]/git/branch/delete",
|
|
37
|
+
"/api/worktrees/[id]/git/branch/create/route": "/api/worktrees/[id]/git/branch/create",
|
|
38
|
+
"/api/worktrees/[id]/git/branches/route": "/api/worktrees/[id]/git/branches",
|
|
38
39
|
"/api/worktrees/[id]/git/checkout/route": "/api/worktrees/[id]/git/checkout",
|
|
39
40
|
"/api/worktrees/[id]/git/commit/route": "/api/worktrees/[id]/git/commit",
|
|
40
|
-
"/api/worktrees/[id]/git/branches/route": "/api/worktrees/[id]/git/branches",
|
|
41
41
|
"/api/worktrees/[id]/git/diff/route": "/api/worktrees/[id]/git/diff",
|
|
42
|
-
"/api/worktrees/[id]/git/log/route": "/api/worktrees/[id]/git/log",
|
|
43
42
|
"/api/worktrees/[id]/git/fetch/route": "/api/worktrees/[id]/git/fetch",
|
|
44
|
-
"/api/worktrees/[id]/git/
|
|
43
|
+
"/api/worktrees/[id]/git/log/route": "/api/worktrees/[id]/git/log",
|
|
45
44
|
"/api/worktrees/[id]/git/push/route": "/api/worktrees/[id]/git/push",
|
|
46
|
-
"/api/worktrees/[id]/git/
|
|
45
|
+
"/api/worktrees/[id]/git/pull/route": "/api/worktrees/[id]/git/pull",
|
|
47
46
|
"/api/worktrees/[id]/git/revert/route": "/api/worktrees/[id]/git/revert",
|
|
47
|
+
"/api/worktrees/[id]/git/reset/route": "/api/worktrees/[id]/git/reset",
|
|
48
48
|
"/api/worktrees/[id]/git/show/[commitHash]/route": "/api/worktrees/[id]/git/show/[commitHash]",
|
|
49
49
|
"/api/worktrees/[id]/git/stage/route": "/api/worktrees/[id]/git/stage",
|
|
50
50
|
"/api/worktrees/[id]/git/staged/route": "/api/worktrees/[id]/git/staged",
|
|
51
51
|
"/api/worktrees/[id]/git/stash/[index]/route": "/api/worktrees/[id]/git/stash/[index]",
|
|
52
|
+
"/api/worktrees/[id]/git/stash/pop/route": "/api/worktrees/[id]/git/stash/pop",
|
|
52
53
|
"/api/worktrees/[id]/git/stash/apply/route": "/api/worktrees/[id]/git/stash/apply",
|
|
53
54
|
"/api/worktrees/[id]/git/stash/push/route": "/api/worktrees/[id]/git/stash/push",
|
|
54
|
-
"/api/worktrees/[id]/git/stash/pop/route": "/api/worktrees/[id]/git/stash/pop",
|
|
55
|
-
"/api/worktrees/[id]/git/stash/route": "/api/worktrees/[id]/git/stash",
|
|
56
55
|
"/api/worktrees/[id]/git/status/route": "/api/worktrees/[id]/git/status",
|
|
57
56
|
"/api/worktrees/[id]/git/unstage/route": "/api/worktrees/[id]/git/unstage",
|
|
57
|
+
"/api/worktrees/[id]/git/stash/route": "/api/worktrees/[id]/git/stash",
|
|
58
58
|
"/api/worktrees/[id]/git/working-diff/route": "/api/worktrees/[id]/git/working-diff",
|
|
59
59
|
"/api/worktrees/[id]/interrupt/route": "/api/worktrees/[id]/interrupt",
|
|
60
60
|
"/api/worktrees/[id]/kill-session/route": "/api/worktrees/[id]/kill-session",
|
|
61
|
-
"/api/worktrees/[id]/memos/[memoId]/route": "/api/worktrees/[id]/memos/[memoId]",
|
|
62
61
|
"/api/worktrees/[id]/marp-render/route": "/api/worktrees/[id]/marp-render",
|
|
62
|
+
"/api/worktrees/[id]/memos/[memoId]/route": "/api/worktrees/[id]/memos/[memoId]",
|
|
63
63
|
"/api/worktrees/[id]/memos/route": "/api/worktrees/[id]/memos",
|
|
64
|
-
"/api/worktrees/[id]/messages/route": "/api/worktrees/[id]/messages",
|
|
65
64
|
"/api/worktrees/[id]/prompt-response/route": "/api/worktrees/[id]/prompt-response",
|
|
65
|
+
"/api/worktrees/[id]/messages/route": "/api/worktrees/[id]/messages",
|
|
66
66
|
"/api/worktrees/[id]/respond/route": "/api/worktrees/[id]/respond",
|
|
67
67
|
"/api/worktrees/[id]/route": "/api/worktrees/[id]",
|
|
68
68
|
"/api/worktrees/[id]/schedules/[scheduleId]/route": "/api/worktrees/[id]/schedules/[scheduleId]",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"/api/worktrees/[id]/schedules/route": "/api/worktrees/[id]/schedules",
|
|
71
71
|
"/api/worktrees/[id]/search/route": "/api/worktrees/[id]/search",
|
|
72
72
|
"/api/worktrees/[id]/send/route": "/api/worktrees/[id]/send",
|
|
73
|
-
"/api/worktrees/[id]/special-keys/route": "/api/worktrees/[id]/special-keys",
|
|
74
73
|
"/api/worktrees/[id]/slash-commands/route": "/api/worktrees/[id]/slash-commands",
|
|
75
74
|
"/api/worktrees/[id]/start-polling/route": "/api/worktrees/[id]/start-polling",
|
|
75
|
+
"/api/worktrees/[id]/special-keys/route": "/api/worktrees/[id]/special-keys",
|
|
76
76
|
"/api/worktrees/[id]/terminal/route": "/api/worktrees/[id]/terminal",
|
|
77
77
|
"/api/worktrees/[id]/timers/history/route": "/api/worktrees/[id]/timers/history",
|
|
78
78
|
"/api/worktrees/[id]/timers/route": "/api/worktrees/[id]/timers",
|
|
@@ -83,18 +83,18 @@
|
|
|
83
83
|
"/api/worktrees/[id]/upload/[...path]/route": "/api/worktrees/[id]/upload/[...path]",
|
|
84
84
|
"/api/worktrees/[id]/viewed/route": "/api/worktrees/[id]/viewed",
|
|
85
85
|
"/apple-icon.png/route": "/apple-icon.png",
|
|
86
|
-
"/icon1.png/route": "/icon1.png",
|
|
87
86
|
"/icon.png/route": "/icon.png",
|
|
87
|
+
"/icon1.png/route": "/icon1.png",
|
|
88
88
|
"/icon2.png/route": "/icon2.png",
|
|
89
89
|
"/manifest.webmanifest/route": "/manifest.webmanifest",
|
|
90
|
-
"/api/app/update/route": "/api/app/update",
|
|
91
90
|
"/api/app/update-check/route": "/api/app/update-check",
|
|
91
|
+
"/api/app/update/route": "/api/app/update",
|
|
92
92
|
"/api/auth/status/route": "/api/auth/status",
|
|
93
93
|
"/api/daily-summary/status/route": "/api/daily-summary/status",
|
|
94
94
|
"/api/external-apps/[id]/health/route": "/api/external-apps/[id]/health",
|
|
95
|
+
"/api/external-apps/[id]/route": "/api/external-apps/[id]",
|
|
95
96
|
"/api/external-apps/route": "/api/external-apps",
|
|
96
97
|
"/api/push/vapid/route": "/api/push/vapid",
|
|
97
|
-
"/api/external-apps/[id]/route": "/api/external-apps/[id]",
|
|
98
98
|
"/api/push/subscriptions/route": "/api/push/subscriptions",
|
|
99
99
|
"/api/sidebar/group-order/route": "/api/sidebar/group-order",
|
|
100
100
|
"/api/todos/route": "/api/todos",
|
|
@@ -102,15 +102,15 @@
|
|
|
102
102
|
"/api/worktrees/[id]/logs/[filename]/route": "/api/worktrees/[id]/logs/[filename]",
|
|
103
103
|
"/api/worktrees/route": "/api/worktrees",
|
|
104
104
|
"/proxy/[...path]/route": "/proxy/[...path]",
|
|
105
|
-
"/login/page": "/login",
|
|
106
105
|
"/chat/page": "/chat",
|
|
106
|
+
"/login/page": "/login",
|
|
107
107
|
"/more/page": "/more",
|
|
108
108
|
"/page": "/",
|
|
109
|
+
"/offline/page": "/offline",
|
|
109
110
|
"/repositories/page": "/repositories",
|
|
110
111
|
"/review/page": "/review",
|
|
111
|
-
"/offline/page": "/offline",
|
|
112
|
-
"/worktrees/[id]/files/[...path]/page": "/worktrees/[id]/files/[...path]",
|
|
113
112
|
"/sessions/page": "/sessions",
|
|
114
|
-
"/worktrees/[id]/
|
|
115
|
-
"/worktrees/[id]/page": "/worktrees/[id]"
|
|
113
|
+
"/worktrees/[id]/page": "/worktrees/[id]",
|
|
114
|
+
"/worktrees/[id]/files/[...path]/page": "/worktrees/[id]/files/[...path]",
|
|
115
|
+
"/worktrees/[id]/terminal/page": "/worktrees/[id]/terminal"
|
|
116
116
|
}
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"ampDevFiles": [],
|
|
7
7
|
"lowPriorityFiles": [
|
|
8
|
-
"static/
|
|
9
|
-
"static/
|
|
8
|
+
"static/WzRCDS2PLtMvg0Sjwlf0S/_buildManifest.js",
|
|
9
|
+
"static/WzRCDS2PLtMvg0Sjwlf0S/_ssgManifest.js"
|
|
10
10
|
],
|
|
11
11
|
"rootMainFiles": [
|
|
12
|
-
"static/chunks/webpack-
|
|
12
|
+
"static/chunks/webpack-25d4697671930f37.js",
|
|
13
13
|
"static/chunks/4bd1b696-100b9d70ed4e49c1.js",
|
|
14
14
|
"static/chunks/1255-8cb587d9170b45ed.js",
|
|
15
15
|
"static/chunks/main-app-1f21caa5553ccd7d.js"
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"rootMainFilesTree": {},
|
|
18
18
|
"pages": {
|
|
19
19
|
"/_app": [
|
|
20
|
-
"static/chunks/webpack-
|
|
20
|
+
"static/chunks/webpack-25d4697671930f37.js",
|
|
21
21
|
"static/chunks/framework-eaf13c96191cb608.js",
|
|
22
22
|
"static/chunks/main-6092074a0dc78280.js",
|
|
23
23
|
"static/chunks/pages/_app-4b3fb5e477a0267f.js"
|
|
24
24
|
],
|
|
25
25
|
"/_error": [
|
|
26
|
-
"static/chunks/webpack-
|
|
26
|
+
"static/chunks/webpack-25d4697671930f37.js",
|
|
27
27
|
"static/chunks/framework-eaf13c96191cb608.js",
|
|
28
28
|
"static/chunks/main-6092074a0dc78280.js",
|
|
29
29
|
"static/chunks/pages/_error-c970d8b55ace1b48.js"
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"x-next-revalidate-tag-token"
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
|
-
"/
|
|
33
|
+
"/icon2.png": {
|
|
34
34
|
"initialHeaders": {
|
|
35
35
|
"cache-control": "public, immutable, no-transform, max-age=31536000",
|
|
36
36
|
"content-type": "image/png",
|
|
37
|
-
"x-next-cache-tags": "_N_T_/layout,_N_T_/
|
|
37
|
+
"x-next-cache-tags": "_N_T_/layout,_N_T_/icon2.png/layout,_N_T_/icon2.png/route,_N_T_/icon2.png"
|
|
38
38
|
},
|
|
39
39
|
"experimentalBypassFor": [
|
|
40
40
|
{
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"initialRevalidateSeconds": false,
|
|
51
|
-
"srcRoute": "/
|
|
51
|
+
"srcRoute": "/icon2.png",
|
|
52
52
|
"dataRoute": null,
|
|
53
53
|
"allowHeader": [
|
|
54
54
|
"host",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"x-next-revalidate-tag-token"
|
|
60
60
|
]
|
|
61
61
|
},
|
|
62
|
-
"/
|
|
62
|
+
"/icon1.png": {
|
|
63
63
|
"initialHeaders": {
|
|
64
64
|
"cache-control": "public, immutable, no-transform, max-age=31536000",
|
|
65
65
|
"content-type": "image/png",
|
|
66
|
-
"x-next-cache-tags": "_N_T_/layout,_N_T_/
|
|
66
|
+
"x-next-cache-tags": "_N_T_/layout,_N_T_/icon1.png/layout,_N_T_/icon1.png/route,_N_T_/icon1.png"
|
|
67
67
|
},
|
|
68
68
|
"experimentalBypassFor": [
|
|
69
69
|
{
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
],
|
|
79
79
|
"initialRevalidateSeconds": false,
|
|
80
|
-
"srcRoute": "/
|
|
80
|
+
"srcRoute": "/icon1.png",
|
|
81
81
|
"dataRoute": null,
|
|
82
82
|
"allowHeader": [
|
|
83
83
|
"host",
|
|
@@ -150,8 +150,8 @@
|
|
|
150
150
|
"dynamicRoutes": {},
|
|
151
151
|
"notFoundRoutes": [],
|
|
152
152
|
"preview": {
|
|
153
|
-
"previewModeId": "
|
|
154
|
-
"previewModeSigningKey": "
|
|
155
|
-
"previewModeEncryptionKey": "
|
|
153
|
+
"previewModeId": "b49c3c0949d0d4d4907148d76e20bc09",
|
|
154
|
+
"previewModeSigningKey": "05ba66f395a066c1dcd35900ec5f6dd752fa69ddc532590c2855486711828702",
|
|
155
|
+
"previewModeEncryptionKey": "e8f1b81fa30598bc3d932519d97009ef582cce341f44163987a2596474c6061a"
|
|
156
156
|
}
|
|
157
157
|
}
|
|
@@ -273,10 +273,10 @@
|
|
|
273
273
|
"components/worktree/FilePanelContent.tsx -> @/components/worktree/MarkdownEditor": {
|
|
274
274
|
"id": 98676,
|
|
275
275
|
"files": [
|
|
276
|
-
"static/chunks/8566-
|
|
276
|
+
"static/chunks/8566-9da32e46c9d3fd54.js",
|
|
277
277
|
"static/chunks/934-a37509667baa86ee.js",
|
|
278
278
|
"static/chunks/6416.6756b7ad06dd96f7.js",
|
|
279
|
-
"static/chunks/8676.
|
|
279
|
+
"static/chunks/8676.c1ef7e2aac5f05a0.js"
|
|
280
280
|
]
|
|
281
281
|
},
|
|
282
282
|
"components/worktree/FilePanelContent.tsx -> @/components/worktree/PdfPreview": {
|
|
@@ -294,10 +294,10 @@
|
|
|
294
294
|
"components/worktree/WorktreeDetailRefactored.tsx -> @/components/worktree/MarkdownEditor": {
|
|
295
295
|
"id": 98676,
|
|
296
296
|
"files": [
|
|
297
|
-
"static/chunks/8566-
|
|
297
|
+
"static/chunks/8566-9da32e46c9d3fd54.js",
|
|
298
298
|
"static/chunks/934-a37509667baa86ee.js",
|
|
299
299
|
"static/chunks/6416.6756b7ad06dd96f7.js",
|
|
300
|
-
"static/chunks/8676.
|
|
300
|
+
"static/chunks/8676.c1ef7e2aac5f05a0.js"
|
|
301
301
|
]
|
|
302
302
|
}
|
|
303
303
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";(()=>{var a={};a.id=9492,a.ids=[9492],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")},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")},26713:a=>{a.exports=require("next/dist/shared/lib/router/utils/is-bot")},28354:a=>{a.exports=require("util")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},41025:a=>{a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},57492:(a,b,c)=>{c.r(b),c.d(b,{GlobalError:()=>E.a,__next_app__:()=>K,handler:()=>M,pages:()=>J,routeModule:()=>L,tree:()=>I});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(52574),o=c(82802),p=c(77533),q=c(45229),r=c(32822),s=c(261),t=c(26453),u=c(52474),v=c(26713),w=c(51356),x=c(62685),y=c(36225),z=c(63446),A=c(2762),B=c(45742),C=c(86439),D=c(81170),E=c.n(D),F=c(62506),G=c(91203),H={};for(let a in F)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(H[a]=()=>F[a]);c.d(b,H);let I={children:["",{children:["/_not-found",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"]}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,51472)),"/home/runner/work/CommandMate/CommandMate/src/app/layout.tsx"],loading:[()=>Promise.resolve().then(c.bind(c,48620)),"/home/runner/work/CommandMate/CommandMate/src/app/loading.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,78162))).default(a),async a=>(await Promise.resolve().then(c.bind(c,60345))).default(a),async a=>(await Promise.resolve().then(c.bind(c,57482))).default(a)],apple:[async a=>(await Promise.resolve().then(c.bind(c,94650))).default(a)],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}}]}.children,J=[],K={require:c,loadChunk:()=>Promise.resolve()},L=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:I},distDir:".next",relativeProjectDir:""});async function M(a,b,d){var D;let H="/_not-found/page";"/index"===H&&(H="/");let N=(0,h.getRequestMeta)(a,"postponed"),O=(0,h.getRequestMeta)(a,"minimalMode"),P=await L.prepare(a,b,{srcPage:H,multiZoneDraftMode:!1});if(!P)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Q,query:R,params:S,parsedUrl:T,pageIsDynamic:U,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,serverActionsManifest:Y,clientReferenceManifest:Z,subresourceIntegrityManifest:$,prerenderManifest:_,isDraftMode:aa,resolvedPathname:ab,revalidateOnlyGenerated:ac,routerServerContext:ad,nextConfig:ae,interceptionRoutePatterns:af}=P,ag=T.pathname||"/",ah=(0,s.normalizeAppPath)(H),{isOnDemandRevalidate:ai}=P,aj=L.match(ag,_),ak=!!_.routes[ab],al=!!(aj||ak||_.routes[ah]),am=a.headers["user-agent"]||"",an=(0,v.getBotType)(am),ao=(0,q.isHtmlBotRequest)(a),ap=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[u.NEXT_ROUTER_PREFETCH_HEADER],aq=(0,h.getRequestMeta)(a,"isRSCRequest")??(0,n.f)(a.headers[u.RSC_HEADER]),ar=(0,t.getIsPossibleServerAction)(a),as=(0,m.checkIsAppPPREnabled)(ae.experimental.ppr)&&(null==(D=_.routes[ah]??_.dynamicRoutes[ah])?void 0:D.renderingMode)==="PARTIALLY_STATIC",at=!1,au=!1,av=as?N:void 0,aw=as&&aq&&!ap,ax=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ay=!am||(0,q.shouldServeStreamingMetadata)(am,ae.htmlLimitedBots);ao&&as&&(al=!1,ay=!1);let az=!0===L.isDev||!al||"string"==typeof N||aw,aA=ao&&as,aB=null;aa||!al||az||ar||av||aw||(aB=ab);let aC=aB;!aC&&L.isDev&&(aC=ab),L.isDev||aa||!al||!aq||aw||(0,k.d)(a.headers);let aD={...F,tree:I,pages:J,GlobalError:E(),handler:M,routeModule:L,__next_app__:K};Y&&Z&&(0,p.setReferenceManifestsSingleton)({page:H,clientReferenceManifest:Z,serverActionsManifest:Y,serverModuleMap:(0,r.createServerModuleMap)({serverActionsManifest:Y})});let aE=a.method||"GET",aF=(0,g.getTracer)(),aG=aF.getActiveScopeSpan();try{let f=L.getVaryHeader(ab,af);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return L.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aF.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.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=`${aE} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aE} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:R,params:S,page:ah,sharedContext:{buildId:Q},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aD,Component:(0,j.T)(aD),params:S,routeModule:L,page:H,postponed:f,shouldWaitOnAllReady:aA,serveStreamingMetadata:ay,supportsDynamicResponse:"string"==typeof f||az,buildManifest:V,nextFontManifest:W,reactLoadableManifest:X,subresourceIntegrityManifest:$,serverActionsManifest:Y,clientReferenceManifest:Z,setIsrStatus:null==ad?void 0:ad.setIsrStatus,dir:c(33873).join(process.cwd(),L.relativeProjectDir),isDraftMode:aa,isRevalidate:al&&!f&&!aw,botType:an,isOnDemandRevalidate:ai,isPossibleServerAction:ar,assetPrefix:ae.assetPrefix,nextConfigOutput:ae.output,crossOrigin:ae.crossOrigin,trailingSlash:ae.trailingSlash,previewProps:_.preview,deploymentId:ae.deploymentId,enableTainting:ae.experimental.taint,htmlLimitedBots:ae.htmlLimitedBots,devtoolSegmentExplorer:ae.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ae.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ae.experimental.cacheLife,basePath:ae.basePath,serverActions:ae.experimental.serverActions,...at?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:at}:{},experimental:{isRoutePPREnabled:as,expireTime:ae.expireTime,staleTimes:ae.experimental.staleTimes,cacheComponents:!!ae.experimental.cacheComponents,clientSegmentCache:!!ae.experimental.clientSegmentCache,clientParamParsing:!!ae.experimental.clientParamParsing,dynamicOnHover:!!ae.experimental.dynamicOnHover,inlineCss:!!ae.experimental.inlineCss,authInterrupts:!!ae.experimental.authInterrupts,clientTraceMetadata:ae.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>L.onRequestError(a,b,d,ad),err:(0,h.getRequestMeta)(a,"invokeError"),dev:L.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[z.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,al&&(null==n?void 0:n.revalidate)===0&&!L.isDev&&!as){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ab}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
|
|
2
|
-
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:w.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===L.isDev,l=c||b.writableEnded;if(ai&&ac&&!f&&!O)return(null==ad?void 0:ad.render404)?await ad.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(j=(0,x.parseFallbackField)(aj.fallback)),j===x.FallbackMode.PRERENDER&&(0,v.isBot)(am)&&(!as||ao)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(j!==x.FallbackMode.NOT_FOUND||f)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),!O&&j!==x.FallbackMode.BLOCKING_STATIC_RENDER&&aC&&!l&&!aa&&U&&(k||!ak)){let b;if((k||aj)&&j===x.FallbackMode.NOT_FOUND)throw new C.NoFallbackError;if(as&&!aq){let c="string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:k?ah:null;if(b=await L.handleResponse({cacheKey:c,req:a,nextConfig:ae,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:_,isRoutePPREnabled:as,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||au?(0,o.u)(ah):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let n=ai||g||!av?void 0:av;if(at&&void 0!==n)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:w.CachedRouteKind.PAGES,html:y.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=U&&as&&((0,h.getRequestMeta)(a,"renderFallbackShell")||au)?(0,o.u)(ag):null;return m({span:i,postponed:n,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,o=await L.handleResponse({cacheKey:aB,responseGenerator:a=>n({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ae,prerenderManifest:_,waitUntil:d.waitUntil});if(aa&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!o){if(aB)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=o.value)?void 0:f.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=o.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof o.value.postponed;al&&!aw&&(!p||ap)&&(O||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":o.isMiss?"MISS":o.isStale?"STALE":"HIT"),b.setHeader(u.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=o;if(av)l={revalidate:0,expire:void 0};else if(O&&aq&&!ap&&as)l={revalidate:0,expire:void 0};else if(!L.isDev)if(aa)l={revalidate:0,expire:void 0};else if(al){if(o.cacheControl)if("number"==typeof o.cacheControl.revalidate){if(o.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${o.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:o.cacheControl.revalidate,expire:(null==(j=o.cacheControl)?void 0:j.expire)??ae.expireTime}}else l={revalidate:z.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(o.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===w.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[z.NEXT_CACHE_TAGS_HEADER];O&&al&&c&&"string"==typeof c&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(d,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.EMPTY,cacheControl:o.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...o,value:{...o.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&av)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(O&&al||delete a[z.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[z.NEXT_CACHE_TAGS_HEADER];if(O&&al&&s&&"string"==typeof s&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,s),!q.status||aq&&as||(b.statusCode=q.status),!O&&q.status&&G.RedirectStatusCode[q.status]&&aq&&(b.statusCode=200),p&&b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"1"),aq&&!aa){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:q.html,cacheControl:aw?{revalidate:0,expire:void 0}:o.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(q.rscData,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl})}let t=q.html;if(!p||O||aq)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:o.cacheControl});if(at)return t.push(new ReadableStream({start(a){a.enqueue(A.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}});let v=new TransformStream;return t.push(v.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(v.writable)}).catch(a=>{v.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}})};if(!aG)return await aF.withPropagatedContext(a.headers,()=>aF.trace(i.BaseServerSpan.handleRequest,{spanName:`${aE} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aE,"http.target":a.url}},p));await p(aG)}catch(b){throw b instanceof C.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:al,isOnDemandRevalidate:ai})},ad),b}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,
|
|
2
|
+
see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:w.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},n=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===L.isDev,l=c||b.writableEnded;if(ai&&ac&&!f&&!O)return(null==ad?void 0:ad.render404)?await ad.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(aj&&(j=(0,x.parseFallbackField)(aj.fallback)),j===x.FallbackMode.PRERENDER&&(0,v.isBot)(am)&&(!as||ao)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ai=!0),ai&&(j!==x.FallbackMode.NOT_FOUND||f)&&(j=x.FallbackMode.BLOCKING_STATIC_RENDER),!O&&j!==x.FallbackMode.BLOCKING_STATIC_RENDER&&aC&&!l&&!aa&&U&&(k||!ak)){let b;if((k||aj)&&j===x.FallbackMode.NOT_FOUND)throw new C.NoFallbackError;if(as&&!aq){let c="string"==typeof(null==aj?void 0:aj.fallback)?aj.fallback:k?ah:null;if(b=await L.handleResponse({cacheKey:c,req:a,nextConfig:ae,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:_,isRoutePPREnabled:as,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||au?(0,o.u)(ah):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let n=ai||g||!av?void 0:av;if(at&&void 0!==n)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:w.CachedRouteKind.PAGES,html:y.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=U&&as&&((0,h.getRequestMeta)(a,"renderFallbackShell")||au)?(0,o.u)(ag):null;return m({span:i,postponed:n,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,o=await L.handleResponse({cacheKey:aB,responseGenerator:a=>n({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ai,isRoutePPREnabled:as,req:a,nextConfig:ae,prerenderManifest:_,waitUntil:d.waitUntil});if(aa&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),L.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!o){if(aB)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=o.value)?void 0:f.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=o.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof o.value.postponed;al&&!aw&&(!p||ap)&&(O||b.setHeader("x-nextjs-cache",ai?"REVALIDATED":o.isMiss?"MISS":o.isStale?"STALE":"HIT"),b.setHeader(u.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=o;if(av)l={revalidate:0,expire:void 0};else if(O&&aq&&!ap&&as)l={revalidate:0,expire:void 0};else if(!L.isDev)if(aa)l={revalidate:0,expire:void 0};else if(al){if(o.cacheControl)if("number"==typeof o.cacheControl.revalidate){if(o.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${o.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:o.cacheControl.revalidate,expire:(null==(j=o.cacheControl)?void 0:j.expire)??ae.expireTime}}else l={revalidate:z.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(o.cacheControl=l,"string"==typeof ax&&(null==q?void 0:q.kind)===w.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[z.NEXT_CACHE_TAGS_HEADER];O&&al&&c&&"string"==typeof c&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(ax);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(d,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.EMPTY,cacheControl:o.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...o,value:{...o.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&av)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(O&&al||delete a[z.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[z.NEXT_CACHE_TAGS_HEADER];if(O&&al&&s&&"string"==typeof s&&b.setHeader(z.NEXT_CACHE_TAGS_HEADER,s),!q.status||aq&&as||(b.statusCode=q.status),!O&&q.status&&G.RedirectStatusCode[q.status]&&aq&&(b.statusCode=200),p&&b.setHeader(u.NEXT_DID_POSTPONE_HEADER,"1"),aq&&!aa){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:q.html,cacheControl:aw?{revalidate:0,expire:void 0}:o.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:y.default.fromStatic(q.rscData,u.RSC_CONTENT_TYPE_HEADER),cacheControl:o.cacheControl})}let t=q.html;if(!p||O||aq)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:o.cacheControl});if(at)return t.push(new ReadableStream({start(a){a.enqueue(A.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}});let v=new TransformStream;return t.push(v.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==w.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(v.writable)}).catch(a=>{v.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:ae.generateEtags,poweredByHeader:ae.poweredByHeader,result:t,cacheControl:{revalidate:0,expire:void 0}})};if(!aG)return await aF.withPropagatedContext(a.headers,()=>aF.trace(i.BaseServerSpan.handleRequest,{spanName:`${aE} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aE,"http.target":a.url}},p));await p(aG)}catch(b){throw b instanceof C.NoFallbackError||await L.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:al,isOnDemandRevalidate:ai})},ad),b}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,3644,9355],()=>b(b.s=57492));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../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/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/router/utils/html-bots.js","../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.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","../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../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/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/router/utils/html-bots.js","../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.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","../../chunks/1162.js","../../chunks/1262.js","../../chunks/1296.js","../../chunks/1331.js","../../chunks/1825.js","../../chunks/2119.js","../../chunks/2445.js","../../chunks/2534.js","../../chunks/2560.js","../../chunks/2816.js","../../chunks/2980.js","../../chunks/3346.js","../../chunks/3440.js","../../chunks/3543.js","../../chunks/3644.js","../../chunks/3722.js","../../chunks/3945.js","../../chunks/4248.js","../../chunks/450.js","../../chunks/5571.js","../../chunks/6072.js","../../chunks/6159.js","../../chunks/6285.js","../../chunks/7685.js","../../chunks/7941.js","../../chunks/8098.js","../../chunks/8356.js","../../chunks/9211.js","../../chunks/9328.js","../../chunks/9355.js","../../chunks/9358.js","../../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"5235":{"*":{"id":"96810","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"22743":{"*":{"id":"89757","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"51635":{"*":{"id":"39972","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"60426":{"*":{"id":"39654","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"79222","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"76318","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/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/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","6402","static/chunks/6402-d91e099c3f2d78f4.js","7347","static/chunks/7347-a013a163a75030ec.js","7177","static/chunks/app/layout-fe5857360dfba2b9.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","7347","static/chunks/7347-a013a163a75030ec.js","7177","static/chunks/app/layout-fe5857360dfba2b9.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","7347","static/chunks/7347-a013a163a75030ec.js","7177","static/chunks/app/layout-fe5857360dfba2b9.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","7347","static/chunks/7347-a013a163a75030ec.js","7177","static/chunks/app/layout-fe5857360dfba2b9.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-c58ba2c3f4363277.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/app/chat/page.tsx":{"id":60675,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/more/page.tsx":{"id":95775,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","3165","static/chunks/3165-87bf884f7f3d15cf.js","4974","static/chunks/4974-eaf66770bfa9dea0.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","744","static/chunks/744-d5e47fe16e7b9e06.js","7347","static/chunks/7347-a013a163a75030ec.js","4560","static/chunks/4560-2bf9cb6504cc4425.js","8974","static/chunks/app/page-3bbe737ec910d1fb.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/repositories/page.tsx":{"id":22743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":60426,"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/worktrees/[id]/files/[...path]/page.tsx":{"id":82743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":74500,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/terminal/page.tsx":{"id":51635,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":5235,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/d7e2e8d1b8d69d36.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/_not-found/page":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"5235":{"*":{"id":"7874","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}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"22743":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"51635":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"60426":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","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}},"95775":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3809":{"*":{"id":"37397","name":"*","chunks":[],"async":false}},"5235":{"*":{"id":"96810","name":"*","chunks":[],"async":false}},"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"22743":{"*":{"id":"89757","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"80776","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"67266","name":"*","chunks":[],"async":false}},"51635":{"*":{"id":"39972","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"60426":{"*":{"id":"39654","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"79222","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"26636","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"84168","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"36022","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"82743":{"*":{"id":"76318","name":"*","chunks":[],"async":false}},"95775":{"*":{"id":"22961","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/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/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","6402","static/chunks/6402-d91e099c3f2d78f4.js","6488","static/chunks/6488-d6e53d8da584e644.js","7177","static/chunks/app/layout-86574192bd3c0e6b.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","6488","static/chunks/6488-d6e53d8da584e644.js","7177","static/chunks/app/layout-86574192bd3c0e6b.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","6402","static/chunks/6402-d91e099c3f2d78f4.js","6488","static/chunks/6488-d6e53d8da584e644.js","7177","static/chunks/app/layout-86574192bd3c0e6b.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/components/providers/AppProviders.tsx":{"id":25772,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","6488","static/chunks/6488-d6e53d8da584e644.js","7177","static/chunks/app/layout-86574192bd3c0e6b.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-c58ba2c3f4363277.js"],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/chat/page.tsx":{"id":60675,"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/more/page.tsx":{"id":95775,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/page.tsx":{"id":75590,"name":"*","chunks":["6809","static/chunks/6809-c40780dcdbb38ec5.js","4909","static/chunks/4909-1f5c586e3e84e0a5.js","2770","static/chunks/2770-827a64760bab8a3a.js","3165","static/chunks/3165-87bf884f7f3d15cf.js","4974","static/chunks/4974-eaf66770bfa9dea0.js","9948","static/chunks/9948-d139e3e5dbecaf73.js","6402","static/chunks/6402-d91e099c3f2d78f4.js","744","static/chunks/744-d5e47fe16e7b9e06.js","6488","static/chunks/6488-d6e53d8da584e644.js","4560","static/chunks/4560-64b1461fd996127a.js","8974","static/chunks/app/page-15bfd76bcf65842d.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":22743,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/review/page.tsx":{"id":60426,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/sessions/page.tsx":{"id":74500,"name":"*","chunks":[],"async":false},"/home/runner/work/CommandMate/CommandMate/src/app/worktrees/[id]/page.tsx":{"id":5235,"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":51635,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/CommandMate/CommandMate/src/":[],"/home/runner/work/CommandMate/CommandMate/src/app/layout":[{"inlined":false,"path":"static/css/531c1fcb1e69d47b.css"},{"inlined":false,"path":"static/css/d7e2e8d1b8d69d36.css"}],"/home/runner/work/CommandMate/CommandMate/src/app/loading":[],"/home/runner/work/CommandMate/CommandMate/src/app/page":[],"/home/runner/work/CommandMate/CommandMate/src/app/_not-found/page":[]},"rscModuleMapping":{"3809":{"*":{"id":"53523","name":"*","chunks":[],"async":false}},"5235":{"*":{"id":"7874","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}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"22743":{"*":{"id":"1154","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25772":{"*":{"id":"58315","name":"*","chunks":[],"async":false}},"33258":{"*":{"id":"66164","name":"*","chunks":[],"async":false}},"51635":{"*":{"id":"21853","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"60426":{"*":{"id":"96494","name":"*","chunks":[],"async":false}},"60675":{"*":{"id":"22516","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70462":{"*":{"id":"15109","name":"*","chunks":[],"async":false}},"74500":{"*":{"id":"35731","name":"*","chunks":[],"async":false}},"75590":{"*":{"id":"60967","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}},"95775":{"*":{"id":"12319","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -16,4 +16,4 @@ or built-in token auth is a serious security risk.
|
|
|
16
16
|
- Tailscale
|
|
17
17
|
|
|
18
18
|
Details: ${I.kD}
|
|
19
|
-
`,K={reset:"\x1b[0m",bold:"\x1b[1m",red:"\x1b[31m",green:"\x1b[32m",yellow:"\x1b[33m",blue:"\x1b[34m",cyan:"\x1b[36m",gray:"\x1b[90m"};class L{constructor(a={}){this.verbose=a.verbose??!1}info(a){console.log(`${K.blue}[INFO]${K.reset} ${a}`)}success(a){console.log(`${K.green}[✓]${K.reset} ${a}`)}warn(a){console.log(`${K.yellow}[WARN]${K.reset} ${a}`)}error(a){console.error(`${K.red}[ERROR]${K.reset} ${a}`)}debug(a){this.verbose&&console.log(`${K.gray}[DEBUG]${K.reset} ${a}`)}blank(){console.log("")}header(a){let b="=".repeat(a.length+4);console.log(`${K.bold}${K.cyan}${b}${K.reset}`),console.log(`${K.bold}${K.cyan} ${a} ${K.reset}`),console.log(`${K.bold}${K.cyan}${b}${K.reset}`)}static formatDuration(a){if(a<60)return`${a}s`;let b=Math.floor(a/86400),c=Math.floor(a%86400/3600),d=Math.floor(a%3600/60);return b>0?`${b}d ${c}h`:c>0?`${c}h ${d}m`:`${d}m ${a%60}s`}}class M{constructor(a,b){this.pidManager=new E(a),this.logger=new L,this.envPath=b}getEffectiveEnv(){return this.effectiveEnv??=function(a){let b=H(),c=(0,A.config)({path:b}).parsed||{},d=void 0===a||a===b?{}:(0,A.config)({path:a}).parsed||{};return{...process.env,...c,...d}}(this.envPath),this.effectiveEnv}async start(a){if(this.pidManager.isProcessRunning()){let a=this.pidManager.readPid();throw Error(`Server is already running (PID: ${a})`)}this.pidManager.removePid();let b=a.dev?"dev":"start",c=F(),d=H(),e=(0,A.config)({path:d});e.error&&(this.logger.warn(`Failed to load .env file at ${d}: ${e.error.message}`),this.logger.info("Continuing with existing environment variables"));let f={...process.env,...e.parsed||{}};for(let b of(delete f.CLAUDECODE,a.port&&(f.CM_PORT=String(a.port)),a.dbPath&&(f.CM_DB_PATH=a.dbPath),["CM_AUTH_TOKEN_HASH","CM_AUTH_EXPIRE","CM_HTTPS_CERT","CM_HTTPS_KEY","CM_ALLOW_HTTP","CM_ALLOWED_IPS","CM_TRUST_PROXY"]))process.env[b]&&(f[b]=process.env[b]);let g=f.CM_BIND||"127.0.0.1",h=f.CM_PORT||"3000",i=f.CM_HTTPS_CERT&&f.CM_HTTPS_KEY?"https":"http";"0.0.0.0"!==g||f.CM_AUTH_TOKEN_HASH||f.CM_ALLOWED_IPS||console.log(J),this.logger.info(`Starting server at ${i}://${g}:${h}`);let j=(0,u.spawn)("npm",["run",b],{cwd:c,env:f,detached:!0,stdio:"ignore"});j.unref();let k=j.pid,l={pid:k,version:function(){try{let a=JSON.parse((0,v.readFileSync)((0,w.join)(F(),"package.json"),"utf-8"));return"string"==typeof a.version&&a.version.length>0?a.version:void 0}catch{return}}(),port:parseInt(h,10),bind:g,protocol:i,auth:!!f.CM_AUTH_TOKEN_HASH,startedAt:new Date().toISOString(),startTime:this.pidManager.getStartTime(k)??void 0};if(!this.pidManager.writeState(l)){try{process.kill(k,"SIGTERM")}catch{}throw Error("Failed to write PID file - server may already be running")}return k}async stop(a=!1){let b=this.pidManager.readPid();if(null===b)return!1;if(!this.pidManager.isProcessRunning())return this.pidManager.removePid(),!0;try{return process.kill(b,a?"SIGKILL":"SIGTERM"),await this.waitForExit(b,1e4),this.pidManager.removePid(),!0}catch{return!1}}async getStatus(){let a,b,c=this.pidManager.readState();if(null===c)return null;if(!this.pidManager.isProcessRunning())return{running:!1};if(void 0!==c.port){a=c.port;let d=c.protocol??"http",e=c.bind??"127.0.0.1";b=`${d}://${"0.0.0.0"===e?"127.0.0.1":e}:${a}`}else{let c=function(a){let b=parseInt(a.CM_PORT||"3000",10),c=a.CM_BIND||"127.0.0.1",d=a.CM_HTTPS_CERT&&a.CM_HTTPS_KEY?"https":"http";return{port:b,bind:c,protocol:d,url:`${d}://${"0.0.0.0"===c?"127.0.0.1":c}:${b}`}}(this.getEffectiveEnv());a=c.port,b=c.url}return{running:!0,pid:c.pid,port:a,url:b,version:c.version,protocol:c.protocol,auth:c.auth}}async isRunning(){return this.pidManager.isProcessRunning()}async waitForExit(a,b){let c=Date.now();for(;Date.now()-c<b;)try{process.kill(a,0),await new Promise(a=>setTimeout(a,100))}catch{return}}}class N{constructor(a,b){this.innerManager=a,this.config=b}async start(a){return void 0!==this.config.issueNo&&(process.env.CM_DB_PATH=this.config.dbPath,process.env.CM_ISSUE_NO=String(this.config.issueNo)),this.innerManager.start(a)}async stop(a=!1){return this.innerManager.stop(a)}async getStatus(){return this.innerManager.getStatus()}getEffectiveEnv(){return this.innerManager.getEffectiveEnv()}async isRunning(){return this.innerManager.isRunning()}getConfig(){return{...this.config}}}class O{constructor(){this.pidResolver=new C,this.dbResolver=new B}create(a){let b=this.pidResolver.resolve(a),c=H(a),d=this.dbResolver.resolve(a);return new N(new M(b,c),{pidPath:b,envPath:c,dbPath:d,issueNo:a})}}let P=null;function Q(){return(0,w.join)((0,z.GQ)(),"update.lock")}function R(a,b){let c;try{c=(0,v.openSync)(a,v.constants.O_CREAT|v.constants.O_EXCL|v.constants.O_WRONLY,384)}catch{return!1}try{let a={startedAt:b,pid:process.pid};return(0,v.writeSync)(c,JSON.stringify(a)),!0}finally{(0,v.closeSync)(c)}}let S="force-dynamic";async function T(){try{return await (!P&&(P=new O),P).create().isRunning()}catch{return!1}}async function U(){let a,b;if(!function(){try{return(0,z.TJ)()}catch{return!1}}())return y.NextResponse.json({error:"CommandMate is not installed globally and cannot update itself.",code:"not_global"},{status:400});if(!function(a=Date.now()){let b=Q();if(R(b,a))return!0;if(!function(a,b){try{let c=JSON.parse((0,v.readFileSync)(a,"utf-8")).startedAt;if("number"!=typeof c||!Number.isFinite(c))return!0;return b-c>6e5}catch{return!0}}(b,a))return!1;try{(0,v.unlinkSync)(b)}catch{return!1}return R(b,a)}())return y.NextResponse.json({error:"An update is already in progress.",code:"in_progress"},{status:409});try{a=await T();var c=b=(0,w.join)((0,z.GQ)(),"update.log");let d=(0,v.openSync)(c,"a");try{(0,u.spawn)(process.execPath,[(0,w.join)(process.cwd(),"bin","commandmate.js"),"update","--yes"],{detached:!0,stdio:["ignore",d,d],cwd:process.cwd()}).unref()}finally{(0,v.closeSync)(d)}}catch(a){try{(0,v.unlinkSync)(Q())}catch{}return y.NextResponse.json({error:`Failed to start the update process: ${a instanceof Error?a.message:"unknown error"}`,code:"spawn_failed"},{status:500})}return y.NextResponse.json({status:"started",willRestart:a,logPath:b},{status:202})}let V=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/app/update/route",pathname:"/api/app/update",filename:"route",bundlePath:"app/api/app/update/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/app/update/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:W,workUnitAsyncStorage:X,serverHooks:Y}=V;function Z(){return(0,g.patchFetch)({workAsyncStorage:W,workUnitAsyncStorage:X})}async function $(a,b,c){var d;let e="/api/app/update/route";"/index"===e&&(e="/");let g=await V.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||V.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===V.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)=>V.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=>V.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 V.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await V.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 V.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}}},48870:(a,b,c)=>{"use strict";c.d(b,{GQ:()=>i,TJ:()=>g,WI:()=>h});var d=c(29021),e=c(33873),f=c(21820);function g(){let a=(0,e.dirname)(__dirname);return a.includes("/lib/node_modules/")||a.includes("\\node_modules\\")||a.includes("/node_modules/commandmate")}function h(){if(g()){let a=(0,e.join)((0,f.homedir)(),".commandmate");if((0,d.existsSync)(a)){let b=(0,d.realpathSync)(a),c=(0,d.realpathSync)((0,f.homedir)());if(!b.startsWith(c))throw Error(`Security error: Config directory ${a} is outside home directory`);return b}return a}let a=process.cwd();return(0,d.realpathSync)(a)}function i(){let a=g()?(0,e.join)((0,f.homedir)(),".commandmate"):process.cwd();return(0,d.existsSync)(a)||(0,d.mkdirSync)(a,{recursive:!0,mode:448}),h()}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67412:(a,b,c)=>{let d=c(29021),e=c(33873),f=c(21820),g=c(55511),h=c(77336).version,i=["\uD83D\uDD10 encrypt with Dotenvx: https://dotenvx.com","\uD83D\uDD10 prevent committing .env to code: https://dotenvx.com/precommit","\uD83D\uDD10 prevent building .env in docker: https://dotenvx.com/prebuild","\uD83E\uDD16 agentic secret storage: https://dotenvx.com/as2","⚡️ secrets for agents: https://dotenvx.com/as2","\uD83D\uDEE1️ auth for agents: https://vestauth.com","\uD83D\uDEE0️ run anywhere with `dotenvx run -- yourcommand`","⚙️ specify custom .env file path with { path: '/custom/path/.env' }","⚙️ enable debug logging with { debug: true }","⚙️ override existing env vars with { override: true }","⚙️ suppress all logs with { quiet: true }","⚙️ write to custom object with { processEnv: myObject }","⚙️ load multiple .env files with { path: ['.env.local', '.env'] }"];function j(a){return"string"==typeof a?!["false","0","no","off",""].includes(a.toLowerCase()):!!a}let k=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function l(a){console.log(`[dotenv@${h}][DEBUG] ${a}`)}function m(a){console.log(`[dotenv@${h}] ${a}`)}function n(a){return a&&a.DOTENV_KEY&&a.DOTENV_KEY.length>0?a.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function o(a){let b=null;if(a&&a.path&&a.path.length>0)if(Array.isArray(a.path))for(let c of a.path)d.existsSync(c)&&(b=c.endsWith(".vault")?c:`${c}.vault`);else b=a.path.endsWith(".vault")?a.path:`${a.path}.vault`;else b=e.resolve(process.cwd(),".env.vault");return d.existsSync(b)?b:null}function p(a){return"~"===a[0]?e.join(f.homedir(),a.slice(1)):a}let q={configDotenv:function(a){let b,c=e.resolve(process.cwd(),".env"),f="utf8",g=process.env;a&&null!=a.processEnv&&(g=a.processEnv);let h=j(g.DOTENV_CONFIG_DEBUG||a&&a.debug),k=j(g.DOTENV_CONFIG_QUIET||a&&a.quiet);a&&a.encoding?f=a.encoding:h&&l("No encoding is specified. UTF-8 is used by default");let n=[c];if(a&&a.path)if(Array.isArray(a.path))for(let b of(n=[],a.path))n.push(p(b));else n=[p(a.path)];let o={};for(let c of n)try{let b=q.parse(d.readFileSync(c,{encoding:f}));q.populate(o,b,a)}catch(a){h&&l(`Failed to load ${c} ${a.message}`),b=a}let r=q.populate(g,o,a);if(h=j(g.DOTENV_CONFIG_DEBUG||h),k=j(g.DOTENV_CONFIG_QUIET||k),h||!k){var s;let a=Object.keys(r).length,c=[];for(let a of n)try{let b=e.relative(process.cwd(),a);c.push(b)}catch(c){h&&l(`Failed to load ${a} ${c.message}`),b=c}m(`injecting env (${a}) from ${c.join(",")} ${(s=`-- tip: ${i[Math.floor(Math.random()*i.length)]}`,process.stdout.isTTY?`\x1b[2m${s}\x1b[0m`:s)}`)}return b?{parsed:o,error:b}:{parsed:o}},_configVault:function(a){let b=j(process.env.DOTENV_CONFIG_DEBUG||a&&a.debug),c=j(process.env.DOTENV_CONFIG_QUIET||a&&a.quiet);(b||!c)&&m("Loading env from encrypted .env.vault");let d=q._parseVault(a),e=process.env;return a&&null!=a.processEnv&&(e=a.processEnv),q.populate(e,d,a),{parsed:d}},_parseVault:function(a){let b,c=o(a=a||{});a.path=c;let d=q.configDotenv(a);if(!d.parsed){let a=Error(`MISSING_DATA: Cannot parse ${c} for an unknown reason`);throw a.code="MISSING_DATA",a}let e=n(a).split(","),f=e.length;for(let a=0;a<f;a++)try{let c=e[a].trim(),f=function(a,b){let c;try{c=new URL(b)}catch(a){if("ERR_INVALID_URL"===a.code){let a=Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw a.code="INVALID_DOTENV_KEY",a}throw a}let d=c.password;if(!d){let a=Error("INVALID_DOTENV_KEY: Missing key part");throw a.code="INVALID_DOTENV_KEY",a}let e=c.searchParams.get("environment");if(!e){let a=Error("INVALID_DOTENV_KEY: Missing environment part");throw a.code="INVALID_DOTENV_KEY",a}let f=`DOTENV_VAULT_${e.toUpperCase()}`,g=a.parsed[f];if(!g){let a=Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${f} in your .env.vault file.`);throw a.code="NOT_FOUND_DOTENV_ENVIRONMENT",a}return{ciphertext:g,key:d}}(d,c);b=q.decrypt(f.ciphertext,f.key);break}catch(b){if(a+1>=f)throw b}return q.parse(b)},config:function(a){if(0===n(a).length)return q.configDotenv(a);let b=o(a);if(!b){var c;return c=`You set DOTENV_KEY but you are missing a .env.vault file at ${b}. Did you forget to build it?`,console.error(`[dotenv@${h}][WARN] ${c}`),q.configDotenv(a)}return q._configVault(a)},decrypt:function(a,b){let c=Buffer.from(b.slice(-64),"hex"),d=Buffer.from(a,"base64"),e=d.subarray(0,12),f=d.subarray(-16);d=d.subarray(12,-16);try{let a=g.createDecipheriv("aes-256-gcm",c,e);return a.setAuthTag(f),`${a.update(d)}${a.final()}`}catch(d){let a=d instanceof RangeError,b="Invalid key length"===d.message,c="Unsupported state or unable to authenticate data"===d.message;if(a||b){let a=Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw a.code="INVALID_DOTENV_KEY",a}if(c){let a=Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw a.code="DECRYPTION_FAILED",a}throw d}},parse:function(a){let b,c={},d=a.toString();for(d=d.replace(/\r\n?/mg,"\n");null!=(b=k.exec(d));){let a=b[1],d=b[2]||"",e=(d=d.trim())[0];d=d.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),'"'===e&&(d=(d=d.replace(/\\n/g,"\n")).replace(/\\r/g,"\r")),c[a]=d}return c},populate:function(a,b,c={}){let d=!!(c&&c.debug),e=!!(c&&c.override),f={};if("object"!=typeof b){let a=Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw a.code="OBJECT_REQUIRED",a}for(let c of Object.keys(b))Object.prototype.hasOwnProperty.call(a,c)?(!0===e&&(a[c]=b[c],f[c]=b[c]),d&&(!0===e?l(`"${c}" is already defined and WAS overwritten`):l(`"${c}" is already defined and was NOT overwritten`))):(a[c]=b[c],f[c]=b[c]);return f}};a.exports.configDotenv=q.configDotenv,a.exports._configVault=q._configVault,a.exports._parseVault=q._parseVault,a.exports.config=q.config,a.exports.decrypt=q.decrypt,a.exports.parse=q.parse,a.exports.populate=q.populate,a.exports=q},77336:a=>{"use strict";a.exports=JSON.parse('{"name":"dotenv","version":"17.3.1","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run tests/**/*.js --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run tests/**/*.js --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},90164:(a,b,c)=>{"use strict";c.d(b,{Dk:()=>e,kD:()=>f});let d="https://github.com/Kewton/CommandMate",e=`${d}/releases/`,f=`${d}/blob/main/docs/security-guide.md`},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,1692],()=>b(b.s=46738));module.exports=c})();
|
|
19
|
+
`,K={reset:"\x1b[0m",bold:"\x1b[1m",red:"\x1b[31m",green:"\x1b[32m",yellow:"\x1b[33m",blue:"\x1b[34m",cyan:"\x1b[36m",gray:"\x1b[90m"};class L{constructor(a={}){this.verbose=a.verbose??!1}info(a){console.log(`${K.blue}[INFO]${K.reset} ${a}`)}success(a){console.log(`${K.green}[✓]${K.reset} ${a}`)}warn(a){console.log(`${K.yellow}[WARN]${K.reset} ${a}`)}error(a){console.error(`${K.red}[ERROR]${K.reset} ${a}`)}debug(a){this.verbose&&console.log(`${K.gray}[DEBUG]${K.reset} ${a}`)}blank(){console.log("")}header(a){let b="=".repeat(a.length+4);console.log(`${K.bold}${K.cyan}${b}${K.reset}`),console.log(`${K.bold}${K.cyan} ${a} ${K.reset}`),console.log(`${K.bold}${K.cyan}${b}${K.reset}`)}static formatDuration(a){if(a<60)return`${a}s`;let b=Math.floor(a/86400),c=Math.floor(a%86400/3600),d=Math.floor(a%3600/60);return b>0?`${b}d ${c}h`:c>0?`${c}h ${d}m`:`${d}m ${a%60}s`}}class M{constructor(a,b){this.pidManager=new E(a),this.logger=new L,this.envPath=b}getEffectiveEnv(){return this.effectiveEnv??=function(a){let b=H(),c=(0,A.config)({path:b}).parsed||{},d=void 0===a||a===b?{}:(0,A.config)({path:a}).parsed||{};return{...process.env,...c,...d}}(this.envPath),this.effectiveEnv}async start(a){if(this.pidManager.isProcessRunning()){let a=this.pidManager.readPid();throw Error(`Server is already running (PID: ${a})`)}this.pidManager.removePid();let b=a.dev?"dev":"start",c=F(),d=H(),e=(0,A.config)({path:d});e.error&&(this.logger.warn(`Failed to load .env file at ${d}: ${e.error.message}`),this.logger.info("Continuing with existing environment variables"));let f={...process.env,...e.parsed||{}};for(let b of(delete f.CLAUDECODE,a.port&&(f.CM_PORT=String(a.port)),a.dbPath&&(f.CM_DB_PATH=a.dbPath),["CM_AUTH_TOKEN_HASH","CM_AUTH_EXPIRE","CM_HTTPS_CERT","CM_HTTPS_KEY","CM_ALLOW_HTTP","CM_ALLOWED_IPS","CM_TRUST_PROXY"]))process.env[b]&&(f[b]=process.env[b]);let g=f.CM_BIND||"127.0.0.1",h=f.CM_PORT||"3000",i=f.CM_HTTPS_CERT&&f.CM_HTTPS_KEY?"https":"http";"0.0.0.0"!==g||f.CM_AUTH_TOKEN_HASH||f.CM_ALLOWED_IPS||console.log(J),this.logger.info(`Starting server at ${i}://${g}:${h}`);let j=(0,u.spawn)("npm",["run",b],{cwd:c,env:f,detached:!0,stdio:"ignore"});j.unref();let k=j.pid,l={pid:k,version:function(){try{let a=JSON.parse((0,v.readFileSync)((0,w.join)(F(),"package.json"),"utf-8"));return"string"==typeof a.version&&a.version.length>0?a.version:void 0}catch{return}}(),port:parseInt(h,10),bind:g,protocol:i,auth:!!f.CM_AUTH_TOKEN_HASH,startedAt:new Date().toISOString(),startTime:this.pidManager.getStartTime(k)??void 0};if(!this.pidManager.writeState(l)){try{process.kill(k,"SIGTERM")}catch{}throw Error("Failed to write PID file - server may already be running")}return k}async stop(a=!1){let b=this.pidManager.readPid();if(null===b)return!1;if(!this.pidManager.isProcessRunning())return this.pidManager.removePid(),!0;try{return process.kill(b,a?"SIGKILL":"SIGTERM"),await this.waitForExit(b,1e4),this.pidManager.removePid(),!0}catch{return!1}}async getStatus(){let a,b,c=this.pidManager.readState();if(null===c)return null;if(!this.pidManager.isProcessRunning())return{running:!1};if(void 0!==c.port){a=c.port;let d=c.protocol??"http",e=c.bind??"127.0.0.1";b=`${d}://${"0.0.0.0"===e?"127.0.0.1":e}:${a}`}else{let c=function(a){let b=parseInt(a.CM_PORT||"3000",10),c=a.CM_BIND||"127.0.0.1",d=a.CM_HTTPS_CERT&&a.CM_HTTPS_KEY?"https":"http";return{port:b,bind:c,protocol:d,url:`${d}://${"0.0.0.0"===c?"127.0.0.1":c}:${b}`}}(this.getEffectiveEnv());a=c.port,b=c.url}return{running:!0,pid:c.pid,port:a,url:b,version:c.version,protocol:c.protocol,auth:c.auth}}async isRunning(){return this.pidManager.isProcessRunning()}async waitForExit(a,b){let c=Date.now();for(;Date.now()-c<b;)try{process.kill(a,0),await new Promise(a=>setTimeout(a,100))}catch{return}}}class N{constructor(a,b){this.innerManager=a,this.config=b}async start(a){return void 0!==this.config.issueNo&&(process.env.CM_DB_PATH=this.config.dbPath,process.env.CM_ISSUE_NO=String(this.config.issueNo)),this.innerManager.start(a)}async stop(a=!1){return this.innerManager.stop(a)}async getStatus(){return this.innerManager.getStatus()}getEffectiveEnv(){return this.innerManager.getEffectiveEnv()}async isRunning(){return this.innerManager.isRunning()}getConfig(){return{...this.config}}}class O{constructor(){this.pidResolver=new C,this.dbResolver=new B}create(a){let b=this.pidResolver.resolve(a),c=H(a),d=this.dbResolver.resolve(a);return new N(new M(b,c),{pidPath:b,envPath:c,dbPath:d,issueNo:a})}}let P=null;function Q(){return(0,w.join)((0,z.GQ)(),"update.lock")}function R(a,b){let c;try{c=(0,v.openSync)(a,v.constants.O_CREAT|v.constants.O_EXCL|v.constants.O_WRONLY,384)}catch{return!1}try{let a={startedAt:b,pid:process.pid};return(0,v.writeSync)(c,JSON.stringify(a)),!0}finally{(0,v.closeSync)(c)}}let S="force-dynamic";async function T(){try{return await (!P&&(P=new O),P).create().isRunning()}catch{return!1}}async function U(){let a,b,c=function(){try{return(0,z.Tf)()}catch{return!1}}();if(!c&&!function(){try{return(0,z.TJ)()}catch{return!1}}())return y.NextResponse.json({error:"CommandMate is not installed globally and cannot update itself.",code:"not_global"},{status:400});if(!function(a=Date.now()){let b=Q();if(R(b,a))return!0;if(!function(a,b){try{let c=JSON.parse((0,v.readFileSync)(a,"utf-8")).startedAt;if("number"!=typeof c||!Number.isFinite(c))return!0;return b-c>6e5}catch{return!0}}(b,a))return!1;try{(0,v.unlinkSync)(b)}catch{return!1}return R(b,a)}())return y.NextResponse.json({error:"An update is already in progress.",code:"in_progress"},{status:409});try{a=await T();var d=b=(0,w.join)((0,z.GQ)(),"update.log");let e=(0,v.openSync)(d,"a");try{(0,u.spawn)(process.execPath,[(0,w.join)(process.cwd(),"bin","commandmate.js"),...c?["update","--yes","--relaunch-npx"]:["update","--yes"]],{detached:!0,stdio:["ignore",e,e],cwd:process.cwd()}).unref()}finally{(0,v.closeSync)(e)}}catch(a){try{(0,v.unlinkSync)(Q())}catch{}return y.NextResponse.json({error:`Failed to start the update process: ${a instanceof Error?a.message:"unknown error"}`,code:"spawn_failed"},{status:500})}return y.NextResponse.json({status:"started",willRestart:a,logPath:b},{status:202})}let V=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/app/update/route",pathname:"/api/app/update",filename:"route",bundlePath:"app/api/app/update/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/app/update/route.ts",nextConfigOutput:"",userland:d}),{workAsyncStorage:W,workUnitAsyncStorage:X,serverHooks:Y}=V;function Z(){return(0,g.patchFetch)({workAsyncStorage:W,workUnitAsyncStorage:X})}async function $(a,b,c){var d;let e="/api/app/update/route";"/index"===e&&(e="/");let g=await V.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||V.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===V.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)=>V.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=>V.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 V.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:H,isOnDemandRevalidate:A})},z),b}},l=await V.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 V.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}}},48870:(a,b,c)=>{"use strict";c.d(b,{GQ:()=>j,TJ:()=>g,Tf:()=>h,WI:()=>i});var d=c(29021),e=c(33873),f=c(21820);function g(){let a=(0,e.dirname)(__dirname);return a.includes("/lib/node_modules/")||a.includes("\\node_modules\\")||a.includes("/node_modules/commandmate")}function h(){let a=(0,e.dirname)(__dirname);return a.includes("/_npx/")||a.includes("\\_npx\\")}function i(){if(g()){let a=(0,e.join)((0,f.homedir)(),".commandmate");if((0,d.existsSync)(a)){let b=(0,d.realpathSync)(a),c=(0,d.realpathSync)((0,f.homedir)());if(!b.startsWith(c))throw Error(`Security error: Config directory ${a} is outside home directory`);return b}return a}let a=process.cwd();return(0,d.realpathSync)(a)}function j(){let a=g()?(0,e.join)((0,f.homedir)(),".commandmate"):process.cwd();return(0,d.existsSync)(a)||(0,d.mkdirSync)(a,{recursive:!0,mode:448}),i()}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67412:(a,b,c)=>{let d=c(29021),e=c(33873),f=c(21820),g=c(55511),h=c(77336).version,i=["\uD83D\uDD10 encrypt with Dotenvx: https://dotenvx.com","\uD83D\uDD10 prevent committing .env to code: https://dotenvx.com/precommit","\uD83D\uDD10 prevent building .env in docker: https://dotenvx.com/prebuild","\uD83E\uDD16 agentic secret storage: https://dotenvx.com/as2","⚡️ secrets for agents: https://dotenvx.com/as2","\uD83D\uDEE1️ auth for agents: https://vestauth.com","\uD83D\uDEE0️ run anywhere with `dotenvx run -- yourcommand`","⚙️ specify custom .env file path with { path: '/custom/path/.env' }","⚙️ enable debug logging with { debug: true }","⚙️ override existing env vars with { override: true }","⚙️ suppress all logs with { quiet: true }","⚙️ write to custom object with { processEnv: myObject }","⚙️ load multiple .env files with { path: ['.env.local', '.env'] }"];function j(a){return"string"==typeof a?!["false","0","no","off",""].includes(a.toLowerCase()):!!a}let k=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function l(a){console.log(`[dotenv@${h}][DEBUG] ${a}`)}function m(a){console.log(`[dotenv@${h}] ${a}`)}function n(a){return a&&a.DOTENV_KEY&&a.DOTENV_KEY.length>0?a.DOTENV_KEY:process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0?process.env.DOTENV_KEY:""}function o(a){let b=null;if(a&&a.path&&a.path.length>0)if(Array.isArray(a.path))for(let c of a.path)d.existsSync(c)&&(b=c.endsWith(".vault")?c:`${c}.vault`);else b=a.path.endsWith(".vault")?a.path:`${a.path}.vault`;else b=e.resolve(process.cwd(),".env.vault");return d.existsSync(b)?b:null}function p(a){return"~"===a[0]?e.join(f.homedir(),a.slice(1)):a}let q={configDotenv:function(a){let b,c=e.resolve(process.cwd(),".env"),f="utf8",g=process.env;a&&null!=a.processEnv&&(g=a.processEnv);let h=j(g.DOTENV_CONFIG_DEBUG||a&&a.debug),k=j(g.DOTENV_CONFIG_QUIET||a&&a.quiet);a&&a.encoding?f=a.encoding:h&&l("No encoding is specified. UTF-8 is used by default");let n=[c];if(a&&a.path)if(Array.isArray(a.path))for(let b of(n=[],a.path))n.push(p(b));else n=[p(a.path)];let o={};for(let c of n)try{let b=q.parse(d.readFileSync(c,{encoding:f}));q.populate(o,b,a)}catch(a){h&&l(`Failed to load ${c} ${a.message}`),b=a}let r=q.populate(g,o,a);if(h=j(g.DOTENV_CONFIG_DEBUG||h),k=j(g.DOTENV_CONFIG_QUIET||k),h||!k){var s;let a=Object.keys(r).length,c=[];for(let a of n)try{let b=e.relative(process.cwd(),a);c.push(b)}catch(c){h&&l(`Failed to load ${a} ${c.message}`),b=c}m(`injecting env (${a}) from ${c.join(",")} ${(s=`-- tip: ${i[Math.floor(Math.random()*i.length)]}`,process.stdout.isTTY?`\x1b[2m${s}\x1b[0m`:s)}`)}return b?{parsed:o,error:b}:{parsed:o}},_configVault:function(a){let b=j(process.env.DOTENV_CONFIG_DEBUG||a&&a.debug),c=j(process.env.DOTENV_CONFIG_QUIET||a&&a.quiet);(b||!c)&&m("Loading env from encrypted .env.vault");let d=q._parseVault(a),e=process.env;return a&&null!=a.processEnv&&(e=a.processEnv),q.populate(e,d,a),{parsed:d}},_parseVault:function(a){let b,c=o(a=a||{});a.path=c;let d=q.configDotenv(a);if(!d.parsed){let a=Error(`MISSING_DATA: Cannot parse ${c} for an unknown reason`);throw a.code="MISSING_DATA",a}let e=n(a).split(","),f=e.length;for(let a=0;a<f;a++)try{let c=e[a].trim(),f=function(a,b){let c;try{c=new URL(b)}catch(a){if("ERR_INVALID_URL"===a.code){let a=Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw a.code="INVALID_DOTENV_KEY",a}throw a}let d=c.password;if(!d){let a=Error("INVALID_DOTENV_KEY: Missing key part");throw a.code="INVALID_DOTENV_KEY",a}let e=c.searchParams.get("environment");if(!e){let a=Error("INVALID_DOTENV_KEY: Missing environment part");throw a.code="INVALID_DOTENV_KEY",a}let f=`DOTENV_VAULT_${e.toUpperCase()}`,g=a.parsed[f];if(!g){let a=Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${f} in your .env.vault file.`);throw a.code="NOT_FOUND_DOTENV_ENVIRONMENT",a}return{ciphertext:g,key:d}}(d,c);b=q.decrypt(f.ciphertext,f.key);break}catch(b){if(a+1>=f)throw b}return q.parse(b)},config:function(a){if(0===n(a).length)return q.configDotenv(a);let b=o(a);if(!b){var c;return c=`You set DOTENV_KEY but you are missing a .env.vault file at ${b}. Did you forget to build it?`,console.error(`[dotenv@${h}][WARN] ${c}`),q.configDotenv(a)}return q._configVault(a)},decrypt:function(a,b){let c=Buffer.from(b.slice(-64),"hex"),d=Buffer.from(a,"base64"),e=d.subarray(0,12),f=d.subarray(-16);d=d.subarray(12,-16);try{let a=g.createDecipheriv("aes-256-gcm",c,e);return a.setAuthTag(f),`${a.update(d)}${a.final()}`}catch(d){let a=d instanceof RangeError,b="Invalid key length"===d.message,c="Unsupported state or unable to authenticate data"===d.message;if(a||b){let a=Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw a.code="INVALID_DOTENV_KEY",a}if(c){let a=Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw a.code="DECRYPTION_FAILED",a}throw d}},parse:function(a){let b,c={},d=a.toString();for(d=d.replace(/\r\n?/mg,"\n");null!=(b=k.exec(d));){let a=b[1],d=b[2]||"",e=(d=d.trim())[0];d=d.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),'"'===e&&(d=(d=d.replace(/\\n/g,"\n")).replace(/\\r/g,"\r")),c[a]=d}return c},populate:function(a,b,c={}){let d=!!(c&&c.debug),e=!!(c&&c.override),f={};if("object"!=typeof b){let a=Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw a.code="OBJECT_REQUIRED",a}for(let c of Object.keys(b))Object.prototype.hasOwnProperty.call(a,c)?(!0===e&&(a[c]=b[c],f[c]=b[c]),d&&(!0===e?l(`"${c}" is already defined and WAS overwritten`):l(`"${c}" is already defined and was NOT overwritten`))):(a[c]=b[c],f[c]=b[c]);return f}};a.exports.configDotenv=q.configDotenv,a.exports._configVault=q._configVault,a.exports._parseVault=q._parseVault,a.exports.config=q.config,a.exports.decrypt=q.decrypt,a.exports.parse=q.parse,a.exports.populate=q.populate,a.exports=q},77336:a=>{"use strict";a.exports=JSON.parse('{"name":"dotenv","version":"17.3.1","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run tests/**/*.js --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run tests/**/*.js --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}')},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},90164:(a,b,c)=>{"use strict";c.d(b,{Dk:()=>e,kD:()=>f});let d="https://github.com/Kewton/CommandMate",e=`${d}/releases/`,f=`${d}/blob/main/docs/security-guide.md`},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1331,1692],()=>b(b.s=46738));module.exports=c})();
|