prime-dev-cli 1.0.7 → 1.0.8

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.
Files changed (43) hide show
  1. package/dist/server/.next/BUILD_ID +1 -1
  2. package/dist/server/.next/app-build-manifest.json +39 -39
  3. package/dist/server/.next/app-path-routes-manifest.json +12 -12
  4. package/dist/server/.next/build-manifest.json +2 -2
  5. package/dist/server/.next/cache/.rscinfo +1 -1
  6. package/dist/server/.next/cache/.tsbuildinfo +1 -1
  7. package/dist/server/.next/cache/eslint/.cache_1qa5vxt +1 -1
  8. package/dist/server/.next/cache/webpack/client-production/0.pack +0 -0
  9. package/dist/server/.next/cache/webpack/client-production/1.pack +0 -0
  10. package/dist/server/.next/cache/webpack/client-production/2.pack +0 -0
  11. package/dist/server/.next/cache/webpack/client-production/index.pack +0 -0
  12. package/dist/server/.next/cache/webpack/client-production/index.pack.old +0 -0
  13. package/dist/server/.next/cache/webpack/edge-server-production/index.pack +0 -0
  14. package/dist/server/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
  15. package/dist/server/.next/cache/webpack/server-production/0.pack +0 -0
  16. package/dist/server/.next/cache/webpack/server-production/1.pack +0 -0
  17. package/dist/server/.next/cache/webpack/server-production/index.pack +0 -0
  18. package/dist/server/.next/cache/webpack/server-production/index.pack.old +0 -0
  19. package/dist/server/.next/next-minimal-server.js.nft.json +1 -1
  20. package/dist/server/.next/next-server.js.nft.json +1 -1
  21. package/dist/server/.next/prerender-manifest.json +12 -12
  22. package/dist/server/.next/server/app/_not-found.html +1 -1
  23. package/dist/server/.next/server/app/_not-found.rsc +1 -1
  24. package/dist/server/.next/server/app/api/check-workspace/route.js +4 -4
  25. package/dist/server/.next/server/app/api/initialize-workspace/route.js +8 -8
  26. package/dist/server/.next/server/app/api/open-project/route.js +1 -1
  27. package/dist/server/.next/server/app/api/retry-project/route.js +1 -1
  28. package/dist/server/.next/server/app/configuration.html +1 -1
  29. package/dist/server/.next/server/app/configuration.rsc +1 -1
  30. package/dist/server/.next/server/app/index.html +1 -1
  31. package/dist/server/.next/server/app/index.rsc +1 -1
  32. package/dist/server/.next/server/app/initialization.html +1 -1
  33. package/dist/server/.next/server/app/initialization.rsc +1 -1
  34. package/dist/server/.next/server/app-paths-manifest.json +12 -12
  35. package/dist/server/.next/server/pages/404.html +1 -1
  36. package/dist/server/.next/server/pages/500.html +1 -1
  37. package/dist/server/.next/server/server-reference-manifest.json +1 -1
  38. package/dist/server/.next/static/0L93NbbowsMpjl-fJPWIj/_buildManifest.js +1 -0
  39. package/dist/server/.next/static/0L93NbbowsMpjl-fJPWIj/_ssgManifest.js +1 -0
  40. package/dist/server/.next/static/Vj8TOfdXSkRSgi8JoSCLF/_buildManifest.js +1 -0
  41. package/dist/server/.next/static/Vj8TOfdXSkRSgi8JoSCLF/_ssgManifest.js +1 -0
  42. package/dist/server/.next/trace +4 -4
  43. package/package.json +1 -1
@@ -30,7 +30,7 @@
30
30
  "x-next-revalidate-tag-token"
31
31
  ]
32
32
  },
33
- "/": {
33
+ "/configuration": {
34
34
  "experimentalBypassFor": [
35
35
  {
36
36
  "type": "header",
@@ -43,8 +43,8 @@
43
43
  }
44
44
  ],
45
45
  "initialRevalidateSeconds": false,
46
- "srcRoute": "/",
47
- "dataRoute": "/index.rsc",
46
+ "srcRoute": "/configuration",
47
+ "dataRoute": "/configuration.rsc",
48
48
  "allowHeader": [
49
49
  "host",
50
50
  "x-matched-path",
@@ -54,7 +54,7 @@
54
54
  "x-next-revalidate-tag-token"
55
55
  ]
56
56
  },
57
- "/initialization": {
57
+ "/": {
58
58
  "experimentalBypassFor": [
59
59
  {
60
60
  "type": "header",
@@ -67,8 +67,8 @@
67
67
  }
68
68
  ],
69
69
  "initialRevalidateSeconds": false,
70
- "srcRoute": "/initialization",
71
- "dataRoute": "/initialization.rsc",
70
+ "srcRoute": "/",
71
+ "dataRoute": "/index.rsc",
72
72
  "allowHeader": [
73
73
  "host",
74
74
  "x-matched-path",
@@ -78,7 +78,7 @@
78
78
  "x-next-revalidate-tag-token"
79
79
  ]
80
80
  },
81
- "/configuration": {
81
+ "/initialization": {
82
82
  "experimentalBypassFor": [
83
83
  {
84
84
  "type": "header",
@@ -91,8 +91,8 @@
91
91
  }
92
92
  ],
93
93
  "initialRevalidateSeconds": false,
94
- "srcRoute": "/configuration",
95
- "dataRoute": "/configuration.rsc",
94
+ "srcRoute": "/initialization",
95
+ "dataRoute": "/initialization.rsc",
96
96
  "allowHeader": [
97
97
  "host",
98
98
  "x-matched-path",
@@ -106,8 +106,8 @@
106
106
  "dynamicRoutes": {},
107
107
  "notFoundRoutes": [],
108
108
  "preview": {
109
- "previewModeId": "a5437b75a980903a9dd6056a0ddb5f92",
110
- "previewModeSigningKey": "c3ecb76bb62c5399c0c9ebca69241a4bd389729073cd56a72c02660a39e55b23",
111
- "previewModeEncryptionKey": "c904b154fa1ee552caf86ccf536f17dfb062e4f7a87e72417cce7992a2be4fd7"
109
+ "previewModeId": "b8474770179709d0c862b236d9d970ec",
110
+ "previewModeSigningKey": "ab07d19fb62ae5f27dc62a90fd51a400a460a0736f390035cc094b6bfdbe9284",
111
+ "previewModeEncryptionKey": "9c1c19c66ba809bfe5adf960fee7b856c530fb4ae26f7ee52eccf24f267ede7a"
112
112
  }
113
113
  }
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/99c159237be93dc6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d5f30c51b0af95c2.js"/><script src="/_next/static/chunks/b8f30182-a6d2a523c696fa81.js" async=""></script><script src="/_next/static/chunks/180-8dacaec05f53f53f.js" async=""></script><script src="/_next/static/chunks/main-app-204ad1b9f48b1359.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Create Next App</title><meta name="description" content="Generated by create next app"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-d5f30c51b0af95c2.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[317,[],\"\"]\n3:I[6665,[],\"\"]\n4:I[9203,[],\"OutletBoundary\"]\n7:I[3561,[],\"AsyncMetadataOutlet\"]\n9:I[9203,[],\"ViewportBoundary\"]\nb:I[9203,[],\"MetadataBoundary\"]\nd:I[3604,[],\"\"]\n:HL[\"/_next/static/css/99c159237be93dc6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"4EggIRp7gmu3C68Fsraff\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/99c159237be93dc6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$L5\",\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$1\",\"iLw-8VFmWhAxe0yyUuXtiv\",{\"children\":[[\"$\",\"$L9\",null,{\"children\":\"$La\"}],null]}],[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"e:\"$Sreact.suspense\"\nf:I[3561,[],\"AsyncMetadata\"]\nc:[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":[\"$\",\"$Lf\",null,{\"promise\":\"$@10\"}]}]}]\n6:null\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}]],\"error\":null,\"digest\":\"$undefined\"}\n10:{\"metadata\":\"$8:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/99c159237be93dc6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d5f30c51b0af95c2.js"/><script src="/_next/static/chunks/b8f30182-a6d2a523c696fa81.js" async=""></script><script src="/_next/static/chunks/180-8dacaec05f53f53f.js" async=""></script><script src="/_next/static/chunks/main-app-204ad1b9f48b1359.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Create Next App</title><meta name="description" content="Generated by create next app"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-d5f30c51b0af95c2.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[317,[],\"\"]\n3:I[6665,[],\"\"]\n4:I[9203,[],\"OutletBoundary\"]\n7:I[3561,[],\"AsyncMetadataOutlet\"]\n9:I[9203,[],\"ViewportBoundary\"]\nb:I[9203,[],\"MetadataBoundary\"]\nd:I[3604,[],\"\"]\n:HL[\"/_next/static/css/99c159237be93dc6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Vj8TOfdXSkRSgi8JoSCLF\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/99c159237be93dc6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$L5\",\"$L6\",[\"$\",\"$L7\",null,{\"promise\":\"$@8\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$1\",\"Qft1UsqWwU58DIEEo8WN4v\",{\"children\":[[\"$\",\"$L9\",null,{\"children\":\"$La\"}],null]}],[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"e:\"$Sreact.suspense\"\nf:I[3561,[],\"AsyncMetadata\"]\nc:[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":[\"$\",\"$Lf\",null,{\"promise\":\"$@10\"}]}]}]\n6:null\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,"8:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}]],\"error\":null,\"digest\":\"$undefined\"}\n10:{\"metadata\":\"$8:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
@@ -7,7 +7,7 @@
7
7
  b:I[9203,[],"MetadataBoundary"]
8
8
  d:I[3604,[],""]
9
9
  :HL["/_next/static/css/99c159237be93dc6.css","style"]
10
- 0:{"P":null,"b":"4EggIRp7gmu3C68Fsraff","p":"","c":["","_not-found"],"i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99c159237be93dc6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["/_not-found",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$L5","$L6",["$","$L7",null,{"promise":"$@8"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$1","iLw-8VFmWhAxe0yyUuXtiv",{"children":[["$","$L9",null,{"children":"$La"}],null]}],["$","$Lb",null,{"children":"$Lc"}]]}],false]],"m":"$undefined","G":["$d","$undefined"],"s":false,"S":true}
10
+ 0:{"P":null,"b":"Vj8TOfdXSkRSgi8JoSCLF","p":"","c":["","_not-found"],"i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99c159237be93dc6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["/_not-found",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$L5","$L6",["$","$L7",null,{"promise":"$@8"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$1","Qft1UsqWwU58DIEEo8WN4v",{"children":[["$","$L9",null,{"children":"$La"}],null]}],["$","$Lb",null,{"children":"$Lc"}]]}],false]],"m":"$undefined","G":["$d","$undefined"],"s":false,"S":true}
11
11
  e:"$Sreact.suspense"
12
12
  f:I[3561,[],"AsyncMetadata"]
13
13
  c:["$","div",null,{"hidden":true,"children":["$","$e",null,{"fallback":null,"children":["$","$Lf",null,{"promise":"$@10"}]}]}]
@@ -2,13 +2,13 @@
2
2
  `),u?.(l,"stdout",`[目标目录] ${m}
3
3
  `),u?.(l,"stdout",`[仓库地址] ${t}
4
4
  `);let f=(0,r.spawn)("git",g,{cwd:s,stdio:["pipe","pipe","pipe"]}),h="",w=0;u?.(l,"stdout",`[进程启动] Git 进程 PID: ${f.pid}
5
- `);let y=setTimeout(()=>{u?.(l,"stderr",`[超时警告] Git 进程运行超过 ${n/1e3}s,即将终止
5
+ `);let E=setTimeout(()=>{u?.(l,"stderr",`[超时警告] Git 进程运行超过 ${n/1e3}s,即将终止
6
6
  `),f.kill("SIGTERM");let t={...d,status:o.Ks.FAILED,progress:w,message:"克隆操作超时",error:`克隆操作超时 (${n/1e3}s)`,endTime:Date.now()};u?.(l,"stderr",`[进程终止] 克隆操作超时
7
- `),c?.(`${l}: 克隆操作超时`),e(t)},n);f.stdout?.on("data",e=>{let t=e.toString();u?.(l,"stdout",t),w=Math.min(w+10,80),a?.(w,"正在克隆代码...")}),f.stderr?.on("data",e=>{let t=e.toString();h+=t,t.includes("remote:")||t.includes("Receiving objects")||t.includes("Resolving deltas")||t.includes("Counting objects")||t.includes("Enumerating objects")||t.includes("Compressing objects")||t.includes("upload-pack")||t.includes("POST git-")||t.includes("正克隆到")||t.includes("Cloning into")?u?.(l,"progress",t):u?.(l,"stderr",t),t.includes("Receiving objects")||t.includes("Resolving deltas")?(w=Math.min(w+5,90),a?.(w,"正在接收对象...")):t.includes("Counting objects")?(w=Math.min(w+2,70),a?.(w,"正在计算对象...")):t.includes("Enumerating objects")&&(w=Math.min(w+2,50),a?.(w,"正在枚举对象..."))}),f.on("close",t=>{clearTimeout(y);let s=Date.now(),r=s-p;if(u?.(l,"stdout",`[进程结束] Git 进程退出,代码: ${t},耗时: ${Math.round(r/1e3)}s
7
+ `),c?.(`${l}: 克隆操作超时`),e(t)},n);f.stdout?.on("data",e=>{let t=e.toString();u?.(l,"stdout",t),w=Math.min(w+10,80),a?.(w,"正在克隆代码...")}),f.stderr?.on("data",e=>{let t=e.toString();h+=t,t.includes("remote:")||t.includes("Receiving objects")||t.includes("Resolving deltas")||t.includes("Counting objects")||t.includes("Enumerating objects")||t.includes("Compressing objects")||t.includes("upload-pack")||t.includes("POST git-")||t.includes("正克隆到")||t.includes("Cloning into")?u?.(l,"progress",t):u?.(l,"stderr",t),t.includes("Receiving objects")||t.includes("Resolving deltas")?(w=Math.min(w+5,90),a?.(w,"正在接收对象...")):t.includes("Counting objects")?(w=Math.min(w+2,70),a?.(w,"正在计算对象...")):t.includes("Enumerating objects")&&(w=Math.min(w+2,50),a?.(w,"正在枚举对象..."))}),f.on("close",t=>{clearTimeout(E);let s=Date.now(),r=s-p;if(u?.(l,"stdout",`[进程结束] Git 进程退出,代码: ${t},耗时: ${Math.round(r/1e3)}s
8
8
  `),0===t){u?.(l,"stdout",`[克隆成功] 项目已成功克隆到: ${m}
9
9
  `);let t={...d,status:o.Ks.SUCCESS,progress:100,message:"克隆完成",endTime:s};a?.(100,"克隆完成"),e(t)}else{let r=function(e){let t=e.toLowerCase();return t.includes("authentication failed")||t.includes("access denied")?"身份验证失败,请检查仓库访问权限":t.includes("repository not found")||t.includes("not found")?"仓库不存在或无法访问":t.includes("network")||t.includes("connection")?"网络连接问题,请检查网络设置":t.includes("timeout")?"网络超时,请重试":t.includes("permission denied")?"权限被拒绝,请检查文件系统权限":t.includes("already exists")?"目标目录已存在":e.slice(0,200)+(e.length>200?"...":"")}(h);u?.(l,"stderr",`[克隆失败] 错误信息: ${r}
10
10
  `),u?.(l,"stderr",`[完整错误输出]
11
11
  ${h}
12
- `);let n={...d,status:o.Ks.FAILED,progress:w,message:"克隆失败",error:r||`Git 进程退出,代码: ${t}`,endTime:s};c?.(`${l}: ${n.error}`),e(n)}}),f.on("error",t=>{clearTimeout(y),u?.(l,"stderr",`[进程错误] Git 进程启动失败: ${t.message}
12
+ `);let n={...d,status:o.Ks.FAILED,progress:w,message:"克隆失败",error:r||`Git 进程退出,代码: ${t}`,endTime:s};c?.(`${l}: ${n.error}`),e(n)}}),f.on("error",t=>{clearTimeout(E),u?.(l,"stderr",`[进程错误] Git 进程启动失败: ${t.message}
13
13
  `),u?.(l,"stderr",`[错误详情] ${t.stack||"No stack trace"}
14
- `);let s={...d,status:o.Ks.FAILED,progress:w,message:"进程启动失败",error:`进程启动失败: ${t.message}`,endTime:Date.now()};c?.(`${l}: ${t.message}`),e(s)})})}function u(e){return e.replace(/[^a-zA-Z0-9\-_]/g,"")}async function l(e,t){try{let s=(0,i.join)(e,t);if(!(0,n.existsSync)(s))return{exists:!1,status:"not_exists",needsCleanup:!1};let r=(0,i.join)(s,".git");if(!(0,n.existsSync)(r))return{exists:!0,status:"incomplete",needsCleanup:!0};if(!await d(s))return console.log(`检测到不完整的Git仓库: ${s}`),{exists:!0,status:"incomplete",needsCleanup:!0};return{exists:!0,status:"complete",needsCleanup:!1}}catch(e){return console.error(`检查项目 ${t} 状态时出错:`,e),{exists:!1,status:"not_exists",needsCleanup:!1}}}async function p(e,t){return"complete"===(await l(e,t)).status}async function d(e){try{let t=(0,i.join)(e,".git");for(let e of["HEAD","config","refs"]){let s=(0,i.join)(t,e);if(!(0,n.existsSync)(s))return!1}let s=(await n.promises.readdir(e)).filter(e=>".git"!==e);if(0===s.length)return!1;let r=(0,i.join)(t,"HEAD"),o=await n.promises.readFile(r,"utf-8");if(!o.trim()||o.includes("unborn"))return!1;return!0}catch(e){return console.error("检查Git仓库完整性时出错:",e),!1}}async function m(e,t){let s={},r=t.map(async t=>{let r=await p(e,t);s[t]=r});return await Promise.all(r),s}async function g(e){return new Promise(t=>{if(!(0,n.existsSync)(e))return void t({success:!1,error:`项目路径不存在: ${e}`});let s=(0,r.spawn)("cursor",[e],{stdio:["ignore","pipe","pipe"],detached:!0}),i="",o=setTimeout(()=>{s.kill("SIGTERM"),t({success:!1,error:"Cursor 命令执行超时"})},1e4);s.stderr?.on("data",e=>{i+=e.toString()}),s.on("exit",e=>{clearTimeout(o),0===e?t({success:!0}):t({success:!1,error:`Cursor 退出代码: ${e}${i?`, 错误: ${i}`:""}`})}),s.on("error",e=>{clearTimeout(o),e.message.includes("ENOENT")?t({success:!1,error:"Cursor 命令未找到,请确保 Cursor CLI 已正确安装并在 PATH 中"}):t({success:!1,error:`启动 Cursor 失败: ${e.message}`})}),s.unref()})}},9021:e=>{"use strict";e.exports=require("fs")},9227:(e,t,s)=>{"use strict";e.exports=s(4870)},9294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9646:e=>{"use strict";e.exports=require("child_process")},9748:e=>{"use strict";e.exports=require("fs/promises")}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[131],()=>s(2329));module.exports=r})();
14
+ `);let s={...d,status:o.Ks.FAILED,progress:w,message:"进程启动失败",error:`进程启动失败: ${t.message}`,endTime:Date.now()};c?.(`${l}: ${t.message}`),e(s)})})}function u(e){return e.replace(/[^a-zA-Z0-9\-_]/g,"")}async function l(e,t){try{let s=(0,i.join)(e,t);if(!(0,n.existsSync)(s))return{exists:!1,status:"not_exists",needsCleanup:!1};let r=(0,i.join)(s,".git");if(!(0,n.existsSync)(r))return{exists:!0,status:"incomplete",needsCleanup:!0};if(!await d(s))return console.log(`检测到不完整的Git仓库: ${s}`),{exists:!0,status:"incomplete",needsCleanup:!0};return{exists:!0,status:"complete",needsCleanup:!1}}catch(e){return console.error(`检查项目 ${t} 状态时出错:`,e),{exists:!1,status:"not_exists",needsCleanup:!1}}}async function p(e,t){return"complete"===(await l(e,t)).status}async function d(e){try{let t=(0,i.join)(e,".git");for(let e of["HEAD","config","refs"]){let s=(0,i.join)(t,e);if(!(0,n.existsSync)(s))return!1}let s=(await n.promises.readdir(e)).filter(e=>".git"!==e);if(0===s.length)return!1;let r=(0,i.join)(t,"HEAD"),o=await n.promises.readFile(r,"utf-8");if(!o.trim()||o.includes("unborn"))return!1;return!0}catch(e){return console.error("检查Git仓库完整性时出错:",e),!1}}async function m(e,t){let s={},r=t.map(async t=>{let r=await p(e,t);s[t]=r});return await Promise.all(r),s}async function g(e){return new Promise(t=>{if(!(0,n.existsSync)(e))return void t({success:!1,error:`项目路径不存在: ${e}`});let s=(0,r.spawn)("cursor",[e],{stdio:["ignore","pipe","pipe"],detached:!0,env:{...process.env,NODE_ENV:"development"}}),i="",o=setTimeout(()=>{s.kill("SIGTERM"),t({success:!1,error:"Cursor 命令执行超时"})},1e4);s.stderr?.on("data",e=>{i+=e.toString()}),s.on("exit",e=>{clearTimeout(o),0===e?t({success:!0}):t({success:!1,error:`Cursor 退出代码: ${e}${i?`, 错误: ${i}`:""}`})}),s.on("error",e=>{clearTimeout(o),e.message.includes("ENOENT")?t({success:!1,error:"Cursor 命令未找到,请确保 Cursor CLI 已正确安装并在 PATH 中"}):t({success:!1,error:`启动 Cursor 失败: ${e.message}`})}),s.unref()})}},9021:e=>{"use strict";e.exports=require("fs")},9227:(e,t,s)=>{"use strict";e.exports=s(4870)},9294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9646:e=>{"use strict";e.exports=require("child_process")},9748:e=>{"use strict";e.exports=require("fs/promises")}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[131],()=>s(2329));module.exports=r})();
@@ -1,18 +1,18 @@
1
- (()=>{var e={};e.id=752,e.ids=[752],e.modules={483:()=>{},846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1820:e=>{"use strict";e.exports=require("os")},2601:(e,t,r)=>{"use strict";r.d(t,{ZR:()=>o,sF:()=>i});var s=r(9748),n=r(4946);async function o(){try{await (0,s.access)(n.lq,s.constants.F_OK)}catch{return await i({}),{}}try{let e=await (0,s.readFile)(n.lq,"utf-8");if(!e)return{};return JSON.parse(e)}catch(e){throw console.error("读取或解析项目配置文件失败:",e),Error("无法加载项目配置")}}async function i(e){let t=n.lq+".tmp";try{await (0,s.writeFile)(t,JSON.stringify(e,null,2),"utf-8"),await (0,s.rename)(t,n.lq)}catch(e){throw console.error("保存项目配置文件失败:",e),Error("无法保存项目配置")}}},3033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3873:e=>{"use strict";e.exports=require("path")},4314:(e,t,r)=>{"use strict";r.d(t,{DA:()=>i,OU:()=>o,mn:()=>c});var s=r(9021),n=r(3873);async function o(e,t,r){let o=(0,n.join)(r,e),i=[],c=[];try{let e=t.envs||{};for(let t in e){let r=e[t];if(r.envFileName&&r.proxyKey){let e=(0,n.join)(o,r.envFileName);try{await s.promises.access(e),c.push(r.envFileName)}catch{let t=r.proxyEnv[r.currentProxy]||"",n=`${r.proxyKey}=${t}`;await s.promises.writeFile(e,n,"utf-8"),i.push(r.envFileName)}}}return{success:!0,createdFiles:i,skippedFiles:c}}catch(r){let t=r instanceof Error?r.message:String(r);return console.error(`在为项目 ${e} 创建环境文件时出错:`,r),{success:!1,createdFiles:i,skippedFiles:c,error:t}}}async function i(e,t){let r=(0,n.join)(t,e),o=(0,n.join)(r,".mock"),i=[],c=[];try{try{await s.promises.access(o),c.push(".mock")}catch{await s.promises.mkdir(o,{recursive:!0}),i.push(".mock")}return{success:!0,createdDirectories:i,skippedDirectories:c}}catch(r){let t=r instanceof Error?r.message:String(r);return console.error(`在为项目 ${e} 创建Mock目录时出错:`,r),{success:!1,createdDirectories:i,skippedDirectories:c,error:t}}}async function c(e,t,r,o){try{let i=r.envs[t];if(!i)return{success:!1,error:`环境 ${t} 不存在于项目 ${e} 配置中`};if(!i.envFileName||!i.proxyKey)return{success:!1,error:`环境 ${t} 缺少 envFileName 或 proxyKey 配置`};let c=(0,n.join)(o,e),a=(0,n.join)(c,i.envFileName),u=i.proxyEnv[i.currentProxy]||i.currentProxy,l=`${i.proxyKey}=${u}`;return await s.promises.writeFile(a,l,"utf-8"),console.log(`已更新环境文件: ${a}, 内容: ${l}`),{success:!0,updatedFile:i.envFileName}}catch(s){let r=s instanceof Error?s.message:String(s);return console.error(`更新项目 ${e} 环境 ${t} 的环境文件时出错:`,s),{success:!1,error:r}}}},4870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},4907:()=>{},4946:(e,t,r)=>{"use strict";r.d(t,{Ks:()=>c,lq:()=>i,tu:()=>o});var s=r(1820),n=r(3873);let o={WORKSPACE_ROOT:(0,n.join)((0,s.homedir)(),"Documents","prime-workspace"),GIT_TIMEOUT:3e5,MAX_CONCURRENT_CLONES:Math.max(2,Math.min((0,s.cpus)().length,8)),MAX_RETRY_ATTEMPTS:3},i=(0,n.join)((0,s.homedir)(),".prime-projects.json");var c=function(e){return e.PENDING="pending",e.EXISTING="existing",e.CLONING="cloning",e.SUCCESS="success",e.FAILED="failed",e.RETRYING="retrying",e.INCOMPLETE="incomplete",e}({})},5097:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>f,routeModule:()=>g,serverHooks:()=>y,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>h});var s={};r.r(s),r.d(s,{GET:()=>d});var n=r(9227),o=r(9044),i=r(1131),c=r(4946),a=r(2601),u=r(6193),l=r(4314);class p{constructor(e){this.running=new Set,this.queue=[],this.maxConcurrent=e}async add(e){return new Promise((t,r)=>{this.queue.push(async()=>{try{let r=await e();return t(r),r}catch(e){throw r(e),e}}),this.process()})}async process(){if(this.running.size>=this.maxConcurrent||0===this.queue.length)return;let e=this.queue.shift();if(!e)return;let t=e().finally(()=>{this.running.delete(t),this.process()});this.running.add(t)}async waitForAll(){for(;this.running.size>0||this.queue.length>0;)this.running.size>0&&await Promise.race(this.running),this.process()}getStatus(){return{running:this.running.size,queued:this.queue.length,maxConcurrent:this.maxConcurrent}}}async function d(){let e=new TextEncoder,t=new ReadableStream({async start(t){try{let r=r=>{"command_log"===r.type&&"string"==typeof r.content&&r.content.length>8192&&(r.content=r.content.slice(0,8192)+"\n[...日志内容已截断...]");let s=`data: ${JSON.stringify(r)}
1
+ (()=>{var e={};e.id=752,e.ids=[752],e.modules={483:()=>{},846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},1820:e=>{"use strict";e.exports=require("os")},2601:(e,t,s)=>{"use strict";s.d(t,{ZR:()=>o,sF:()=>i});var r=s(9748),n=s(4946);async function o(){try{await (0,r.access)(n.lq,r.constants.F_OK)}catch{return await i({}),{}}try{let e=await (0,r.readFile)(n.lq,"utf-8");if(!e)return{};return JSON.parse(e)}catch(e){throw console.error("读取或解析项目配置文件失败:",e),Error("无法加载项目配置")}}async function i(e){let t=n.lq+".tmp";try{await (0,r.writeFile)(t,JSON.stringify(e,null,2),"utf-8"),await (0,r.rename)(t,n.lq)}catch(e){throw console.error("保存项目配置文件失败:",e),Error("无法保存项目配置")}}},3033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3873:e=>{"use strict";e.exports=require("path")},4314:(e,t,s)=>{"use strict";s.d(t,{DA:()=>i,OU:()=>o,mn:()=>c});var r=s(9021),n=s(3873);async function o(e,t,s){let o=(0,n.join)(s,e),i=[],c=[];try{let e=t.envs||{};for(let t in e){let s=e[t];if(s.envFileName&&s.proxyKey){let e=(0,n.join)(o,s.envFileName);try{await r.promises.access(e),c.push(s.envFileName)}catch{let t=s.proxyEnv[s.currentProxy]||"",n=`${s.proxyKey}=${t}`;await r.promises.writeFile(e,n,"utf-8"),i.push(s.envFileName)}}}return{success:!0,createdFiles:i,skippedFiles:c}}catch(s){let t=s instanceof Error?s.message:String(s);return console.error(`在为项目 ${e} 创建环境文件时出错:`,s),{success:!1,createdFiles:i,skippedFiles:c,error:t}}}async function i(e,t){let s=(0,n.join)(t,e),o=(0,n.join)(s,".mock"),i=[],c=[];try{try{await r.promises.access(o),c.push(".mock")}catch{await r.promises.mkdir(o,{recursive:!0}),i.push(".mock")}return{success:!0,createdDirectories:i,skippedDirectories:c}}catch(s){let t=s instanceof Error?s.message:String(s);return console.error(`在为项目 ${e} 创建Mock目录时出错:`,s),{success:!1,createdDirectories:i,skippedDirectories:c,error:t}}}async function c(e,t,s,o){try{let i=s.envs[t];if(!i)return{success:!1,error:`环境 ${t} 不存在于项目 ${e} 配置中`};if(!i.envFileName||!i.proxyKey)return{success:!1,error:`环境 ${t} 缺少 envFileName 或 proxyKey 配置`};let c=(0,n.join)(o,e),a=(0,n.join)(c,i.envFileName),u=i.proxyEnv[i.currentProxy]||i.currentProxy,l=`${i.proxyKey}=${u}`;return await r.promises.writeFile(a,l,"utf-8"),console.log(`已更新环境文件: ${a}, 内容: ${l}`),{success:!0,updatedFile:i.envFileName}}catch(r){let s=r instanceof Error?r.message:String(r);return console.error(`更新项目 ${e} 环境 ${t} 的环境文件时出错:`,r),{success:!1,error:s}}}},4870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},4907:()=>{},4946:(e,t,s)=>{"use strict";s.d(t,{Ks:()=>c,lq:()=>i,tu:()=>o});var r=s(1820),n=s(3873);let o={WORKSPACE_ROOT:(0,n.join)((0,r.homedir)(),"Documents","prime-workspace"),GIT_TIMEOUT:3e5,MAX_CONCURRENT_CLONES:Math.max(2,Math.min((0,r.cpus)().length,8)),MAX_RETRY_ATTEMPTS:3},i=(0,n.join)((0,r.homedir)(),".prime-projects.json");var c=function(e){return e.PENDING="pending",e.EXISTING="existing",e.CLONING="cloning",e.SUCCESS="success",e.FAILED="failed",e.RETRYING="retrying",e.INCOMPLETE="incomplete",e}({})},5097:(e,t,s)=>{"use strict";s.r(t),s.d(t,{patchFetch:()=>f,routeModule:()=>g,serverHooks:()=>y,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>h});var r={};s.r(r),s.d(r,{GET:()=>d});var n=s(9227),o=s(9044),i=s(1131),c=s(4946),a=s(2601),u=s(6193),l=s(4314);class p{constructor(e){this.running=new Set,this.queue=[],this.maxConcurrent=e}async add(e){return new Promise((t,s)=>{this.queue.push(async()=>{try{let s=await e();return t(s),s}catch(e){throw s(e),e}}),this.process()})}async process(){if(this.running.size>=this.maxConcurrent||0===this.queue.length)return;let e=this.queue.shift();if(!e)return;let t=e().finally(()=>{this.running.delete(t),this.process()});this.running.add(t)}async waitForAll(){for(;this.running.size>0||this.queue.length>0;)this.running.size>0&&await Promise.race(this.running),this.process()}getStatus(){return{running:this.running.size,queued:this.queue.length,maxConcurrent:this.maxConcurrent}}}async function d(){let e=new TextEncoder,t=new ReadableStream({async start(t){try{let s=s=>{"command_log"===s.type&&"string"==typeof s.content&&s.content.length>8192&&(s.content=s.content.slice(0,8192)+"\n[...日志内容已截断...]");let r=`data: ${JSON.stringify(s)}
2
2
 
3
- `;t.enqueue(e.encode(s))},s=async(e,t,s=25)=>{r({type:"project_env_creation",projectName:e,message:`为项目 ${e} 检查/创建环境文件...`,progress:s});let o=await (0,l.OU)(e,t,n);if(!o.success)return void r({type:"project_env_failed",projectName:e,message:`为项目 ${e} 创建环境文件失败: ${o.error}`,error:o.error,progress:s+2});{let t=`项目 ${e} 环境文件处理完成。`;o.createdFiles.length>0&&(t+=` 新建: ${o.createdFiles.join(", ")}.`),o.skippedFiles.length>0&&(t+=` 已存在,跳过: ${o.skippedFiles.join(", ")}.`),r({type:"project_env_success",projectName:e,message:t,progress:s+2})}r({type:"project_mock_creation",projectName:e,message:`为项目 ${e} 创建Mock目录结构...`,progress:s+3});let i=await (0,l.DA)(e,n);if(i.success){let t=`项目 ${e} Mock目录结构处理完成。`;i.createdDirectories.length>0&&(t+=` 新建: ${i.createdDirectories.join(", ")}.`),i.skippedDirectories.length>0&&(t+=` 已存在,跳过: ${i.skippedDirectories.join(", ")}.`),r({type:"project_mock_success",projectName:e,message:t,progress:s+5})}else r({type:"project_mock_failed",projectName:e,message:`为项目 ${e} 创建Mock目录失败: ${i.error}`,error:i.error,progress:s+5})};r({type:"initialization",message:"开始初始化工作空间...",progress:0});let n=c.tu.WORKSPACE_ROOT,o=await (0,u.DR)(n);if(!o.success){r({type:"error",message:o.error,progress:0}),t.close();return}r({type:"workspace_created",message:`工作空间已创建: ${n}`,progress:10});let i=await (0,a.ZR)(),d=Object.entries(i),g=d.length;if(0===g){r({type:"error",message:"没有找到需要克隆的项目",progress:10}),t.close();return}r({type:"projects_loaded",message:`找到 ${g} 个项目准备克隆`,projects:d.map(([e])=>e),progress:20});let m={success:!0,totalProjects:g,successCount:0,failedCount:0,failedProjects:[],workspacePath:n,duration:0},h=Date.now(),y=await (0,u.kf)(n,d.map(([e])=>e)),f=d.filter(([e])=>y[e]),$=d.filter(([e])=>!y[e]);for(let[e,t]of f)r({type:"project_existing",projectName:e,message:`项目 ${e} 已存在,跳过克隆`}),await s(e,t,25);if(m.successCount=f.length,0===$.length){r({type:"completion",message:`所有 ${g} 个项目都已存在,无需克隆`,progress:100,result:{success:!0,totalProjects:g,successCount:g,failedCount:0,failedProjects:[],workspacePath:n,duration:Date.now()-h}}),t.close();return}let w=c.tu.MAX_CONCURRENT_CLONES;r({type:"projects_filtered",message:`发现 ${f.length} 个项目已存在,${$.length} 个项目需要克隆(并发数: ${w})`,totalProjects:g,projectsToClone:$.length,existingProjects:f.length,progress:25});let C=new p(w),j=new Map,x=$.map(([e,t],o)=>C.add(async()=>{let i=25+70*o/($.length||1);r({type:"project_start",projectName:e,message:`开始克隆项目: ${e} (${o+1}/${$.length})`,progress:Math.round(i)});try{let o=await (0,u.eR)({repoUrl:t.repo,targetDir:n,timeout:c.tu.GIT_TIMEOUT,onProgress:(t,s)=>{let n=Math.round(i+50*t/(100*($.length||1)));r({type:"project_progress",projectName:e,progress:Math.min(n,85),message:s})},onError:t=>{r({type:"project_error",projectName:e,error:t,progress:Math.round(i+50/($.length||1))})},onLog:(e,t,s)=>{r({type:"command_log",projectName:e,logType:t,content:s,timestamp:Date.now()})}});o.status===c.Ks.SUCCESS?(j.set(e,{status:c.Ks.SUCCESS,result:o}),r({type:"project_success",projectName:e,message:`项目 ${e} 克隆成功`,progress:Math.round(i+55/($.length||1)),result:o}),await s(e,t,Math.round(i+60/($.length||1)))):(j.set(e,{status:c.Ks.FAILED,error:o.error,result:o}),r({type:"project_failed",projectName:e,message:`项目 ${e} 克隆失败: ${o.error}`,progress:Math.round(i+70/($.length||1)),result:o}))}catch(s){let t=s instanceof Error?s.message:String(s);j.set(e,{status:c.Ks.FAILED,error:t}),r({type:"project_failed",projectName:e,message:`项目 ${e} 克隆异常: ${t}`,error:t,progress:Math.round(i+70/($.length||1))})}}));for(let[e,t]of(await Promise.all(x),j))t.status===c.Ks.SUCCESS?m.successCount++:(m.failedCount++,m.failedProjects.push(e));m.duration=Date.now()-h,m.success=0===m.failedCount,r({type:"completion",message:m.success?`所有项目克隆完成!成功 ${m.successCount} 个,耗时 ${Math.round(m.duration/1e3)}s`:`克隆完成,部分失败。成功 ${m.successCount} 个,失败 ${m.failedCount} 个,耗时 ${Math.round(m.duration/1e3)}s`,progress:100,result:m}),t.close()}catch(n){let r=n instanceof Error?n.message:String(n);console.error("工作空间初始化失败:",n);let s=`data: ${JSON.stringify({type:"error",message:`工作空间初始化失败: ${r}`,error:r,progress:0})}
3
+ `;t.enqueue(e.encode(r))},r=async(e,t,r=25)=>{s({type:"project_env_creation",projectName:e,message:`为项目 ${e} 检查/创建环境文件...`,progress:r});let o=await (0,l.OU)(e,t,n);if(!o.success)return void s({type:"project_env_failed",projectName:e,message:`为项目 ${e} 创建环境文件失败: ${o.error}`,error:o.error,progress:r+2});{let t=`项目 ${e} 环境文件处理完成。`;o.createdFiles.length>0&&(t+=` 新建: ${o.createdFiles.join(", ")}.`),o.skippedFiles.length>0&&(t+=` 已存在,跳过: ${o.skippedFiles.join(", ")}.`),s({type:"project_env_success",projectName:e,message:t,progress:r+2})}s({type:"project_mock_creation",projectName:e,message:`为项目 ${e} 创建Mock目录结构...`,progress:r+3});let i=await (0,l.DA)(e,n);if(i.success){let t=`项目 ${e} Mock目录结构处理完成。`;i.createdDirectories.length>0&&(t+=` 新建: ${i.createdDirectories.join(", ")}.`),i.skippedDirectories.length>0&&(t+=` 已存在,跳过: ${i.skippedDirectories.join(", ")}.`),s({type:"project_mock_success",projectName:e,message:t,progress:r+5})}else s({type:"project_mock_failed",projectName:e,message:`为项目 ${e} 创建Mock目录失败: ${i.error}`,error:i.error,progress:r+5})};s({type:"initialization",message:"开始初始化工作空间...",progress:0});let n=c.tu.WORKSPACE_ROOT,o=await (0,u.DR)(n);if(!o.success){s({type:"error",message:o.error,progress:0}),t.close();return}s({type:"workspace_created",message:`工作空间已创建: ${n}`,progress:10});let i=await (0,a.ZR)(),d=Object.entries(i),g=d.length;if(0===g){s({type:"error",message:"没有找到需要克隆的项目",progress:10}),t.close();return}s({type:"projects_loaded",message:`找到 ${g} 个项目准备克隆`,projects:d.map(([e])=>e),progress:20});let m={success:!0,totalProjects:g,successCount:0,failedCount:0,failedProjects:[],workspacePath:n,duration:0},h=Date.now(),y=await (0,u.kf)(n,d.map(([e])=>e)),f=d.filter(([e])=>y[e]),$=d.filter(([e])=>!y[e]);for(let[e,t]of f)s({type:"project_existing",projectName:e,message:`项目 ${e} 已存在,跳过克隆`}),await r(e,t,25);if(m.successCount=f.length,0===$.length){s({type:"completion",message:`所有 ${g} 个项目都已存在,无需克隆`,progress:100,result:{success:!0,totalProjects:g,successCount:g,failedCount:0,failedProjects:[],workspacePath:n,duration:Date.now()-h}}),t.close();return}let w=c.tu.MAX_CONCURRENT_CLONES;s({type:"projects_filtered",message:`发现 ${f.length} 个项目已存在,${$.length} 个项目需要克隆(并发数: ${w})`,totalProjects:g,projectsToClone:$.length,existingProjects:f.length,progress:25});let C=new p(w),j=new Map,x=$.map(([e,t],o)=>C.add(async()=>{let i=25+70*o/($.length||1);s({type:"project_start",projectName:e,message:`开始克隆项目: ${e} (${o+1}/${$.length})`,progress:Math.round(i)});try{let o=await (0,u.eR)({repoUrl:t.repo,targetDir:n,timeout:c.tu.GIT_TIMEOUT,onProgress:(t,r)=>{let n=Math.round(i+50*t/(100*($.length||1)));s({type:"project_progress",projectName:e,progress:Math.min(n,85),message:r})},onError:t=>{s({type:"project_error",projectName:e,error:t,progress:Math.round(i+50/($.length||1))})},onLog:(e,t,r)=>{s({type:"command_log",projectName:e,logType:t,content:r,timestamp:Date.now()})}});o.status===c.Ks.SUCCESS?(j.set(e,{status:c.Ks.SUCCESS,result:o}),s({type:"project_success",projectName:e,message:`项目 ${e} 克隆成功`,progress:Math.round(i+55/($.length||1)),result:o}),await r(e,t,Math.round(i+60/($.length||1)))):(j.set(e,{status:c.Ks.FAILED,error:o.error,result:o}),s({type:"project_failed",projectName:e,message:`项目 ${e} 克隆失败: ${o.error}`,progress:Math.round(i+70/($.length||1)),result:o}))}catch(r){let t=r instanceof Error?r.message:String(r);j.set(e,{status:c.Ks.FAILED,error:t}),s({type:"project_failed",projectName:e,message:`项目 ${e} 克隆异常: ${t}`,error:t,progress:Math.round(i+70/($.length||1))})}}));for(let[e,t]of(await Promise.all(x),j))t.status===c.Ks.SUCCESS?m.successCount++:(m.failedCount++,m.failedProjects.push(e));m.duration=Date.now()-h,m.success=0===m.failedCount,s({type:"completion",message:m.success?`所有项目克隆完成!成功 ${m.successCount} 个,耗时 ${Math.round(m.duration/1e3)}s`:`克隆完成,部分失败。成功 ${m.successCount} 个,失败 ${m.failedCount} 个,耗时 ${Math.round(m.duration/1e3)}s`,progress:100,result:m}),t.close()}catch(n){let s=n instanceof Error?n.message:String(n);console.error("工作空间初始化失败:",n);let r=`data: ${JSON.stringify({type:"error",message:`工作空间初始化失败: ${s}`,error:s,progress:0})}
4
4
 
5
- `;t.enqueue(e.encode(s)),t.close()}}});return new Response(t,{headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","Access-Control-Allow-Origin":"*","Access-Control-Allow-Headers":"Cache-Control"}})}let g=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/initialize-workspace/route",pathname:"/api/initialize-workspace",filename:"route",bundlePath:"app/api/initialize-workspace/route"},resolvedPagePath:"/Users/edy/Documents/Coding/prime-dev-cli/packages/server/src/app/api/initialize-workspace/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:m,workUnitAsyncStorage:h,serverHooks:y}=g;function f(){return(0,i.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:h})}},6193:(e,t,r)=>{"use strict";r.d(t,{DR:()=>c,YK:()=>l,eR:()=>a,e_:()=>u,kf:()=>g,x9:()=>m});var s=r(9646),n=r(9021),o=r(3873),i=r(4946);async function c(e){try{return(0,n.existsSync)(e)||(0,n.mkdirSync)(e,{recursive:!0}),{success:!0}}catch(e){return{success:!1,error:`创建工作空间目录失败: ${e instanceof Error?e.message:String(e)}`}}}async function a(e){let{repoUrl:t,targetDir:r,timeout:n,onProgress:c,onError:a,onLog:u}=e,l=(0,o.basename)(t,".git");return new Promise(e=>{let p=Date.now(),d={projectName:l,status:i.Ks.CLONING,progress:0,message:"开始克隆项目...",startTime:p};c?.(0,"开始克隆项目...");let g=(0,o.join)(r,l),m=["clone","--progress","--verbose",t,g];u?.(l,"stdout",`[开始克隆] 执行命令: git ${m.join(" ")}
5
+ `;t.enqueue(e.encode(r)),t.close()}}});return new Response(t,{headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","Access-Control-Allow-Origin":"*","Access-Control-Allow-Headers":"Cache-Control"}})}let g=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/initialize-workspace/route",pathname:"/api/initialize-workspace",filename:"route",bundlePath:"app/api/initialize-workspace/route"},resolvedPagePath:"/Users/edy/Documents/Coding/prime-dev-cli/packages/server/src/app/api/initialize-workspace/route.ts",nextConfigOutput:"",userland:r}),{workAsyncStorage:m,workUnitAsyncStorage:h,serverHooks:y}=g;function f(){return(0,i.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:h})}},6193:(e,t,s)=>{"use strict";s.d(t,{DR:()=>c,YK:()=>l,eR:()=>a,e_:()=>u,kf:()=>g,x9:()=>m});var r=s(9646),n=s(9021),o=s(3873),i=s(4946);async function c(e){try{return(0,n.existsSync)(e)||(0,n.mkdirSync)(e,{recursive:!0}),{success:!0}}catch(e){return{success:!1,error:`创建工作空间目录失败: ${e instanceof Error?e.message:String(e)}`}}}async function a(e){let{repoUrl:t,targetDir:s,timeout:n,onProgress:c,onError:a,onLog:u}=e,l=(0,o.basename)(t,".git");return new Promise(e=>{let p=Date.now(),d={projectName:l,status:i.Ks.CLONING,progress:0,message:"开始克隆项目...",startTime:p};c?.(0,"开始克隆项目...");let g=(0,o.join)(s,l),m=["clone","--progress","--verbose",t,g];u?.(l,"stdout",`[开始克隆] 执行命令: git ${m.join(" ")}
6
6
  `),u?.(l,"stdout",`[目标目录] ${g}
7
7
  `),u?.(l,"stdout",`[仓库地址] ${t}
8
- `);let h=(0,s.spawn)("git",m,{cwd:r,stdio:["pipe","pipe","pipe"]}),y="",f=0;u?.(l,"stdout",`[进程启动] Git 进程 PID: ${h.pid}
8
+ `);let h=(0,r.spawn)("git",m,{cwd:s,stdio:["pipe","pipe","pipe"]}),y="",f=0;u?.(l,"stdout",`[进程启动] Git 进程 PID: ${h.pid}
9
9
  `);let $=setTimeout(()=>{u?.(l,"stderr",`[超时警告] Git 进程运行超过 ${n/1e3}s,即将终止
10
10
  `),h.kill("SIGTERM");let t={...d,status:i.Ks.FAILED,progress:f,message:"克隆操作超时",error:`克隆操作超时 (${n/1e3}s)`,endTime:Date.now()};u?.(l,"stderr",`[进程终止] 克隆操作超时
11
- `),a?.(`${l}: 克隆操作超时`),e(t)},n);h.stdout?.on("data",e=>{let t=e.toString();u?.(l,"stdout",t),f=Math.min(f+10,80),c?.(f,"正在克隆代码...")}),h.stderr?.on("data",e=>{let t=e.toString();y+=t,t.includes("remote:")||t.includes("Receiving objects")||t.includes("Resolving deltas")||t.includes("Counting objects")||t.includes("Enumerating objects")||t.includes("Compressing objects")||t.includes("upload-pack")||t.includes("POST git-")||t.includes("正克隆到")||t.includes("Cloning into")?u?.(l,"progress",t):u?.(l,"stderr",t),t.includes("Receiving objects")||t.includes("Resolving deltas")?(f=Math.min(f+5,90),c?.(f,"正在接收对象...")):t.includes("Counting objects")?(f=Math.min(f+2,70),c?.(f,"正在计算对象...")):t.includes("Enumerating objects")&&(f=Math.min(f+2,50),c?.(f,"正在枚举对象..."))}),h.on("close",t=>{clearTimeout($);let r=Date.now(),s=r-p;if(u?.(l,"stdout",`[进程结束] Git 进程退出,代码: ${t},耗时: ${Math.round(s/1e3)}s
11
+ `),a?.(`${l}: 克隆操作超时`),e(t)},n);h.stdout?.on("data",e=>{let t=e.toString();u?.(l,"stdout",t),f=Math.min(f+10,80),c?.(f,"正在克隆代码...")}),h.stderr?.on("data",e=>{let t=e.toString();y+=t,t.includes("remote:")||t.includes("Receiving objects")||t.includes("Resolving deltas")||t.includes("Counting objects")||t.includes("Enumerating objects")||t.includes("Compressing objects")||t.includes("upload-pack")||t.includes("POST git-")||t.includes("正克隆到")||t.includes("Cloning into")?u?.(l,"progress",t):u?.(l,"stderr",t),t.includes("Receiving objects")||t.includes("Resolving deltas")?(f=Math.min(f+5,90),c?.(f,"正在接收对象...")):t.includes("Counting objects")?(f=Math.min(f+2,70),c?.(f,"正在计算对象...")):t.includes("Enumerating objects")&&(f=Math.min(f+2,50),c?.(f,"正在枚举对象..."))}),h.on("close",t=>{clearTimeout($);let s=Date.now(),r=s-p;if(u?.(l,"stdout",`[进程结束] Git 进程退出,代码: ${t},耗时: ${Math.round(r/1e3)}s
12
12
  `),0===t){u?.(l,"stdout",`[克隆成功] 项目已成功克隆到: ${g}
13
- `);let t={...d,status:i.Ks.SUCCESS,progress:100,message:"克隆完成",endTime:r};c?.(100,"克隆完成"),e(t)}else{let s=function(e){let t=e.toLowerCase();return t.includes("authentication failed")||t.includes("access denied")?"身份验证失败,请检查仓库访问权限":t.includes("repository not found")||t.includes("not found")?"仓库不存在或无法访问":t.includes("network")||t.includes("connection")?"网络连接问题,请检查网络设置":t.includes("timeout")?"网络超时,请重试":t.includes("permission denied")?"权限被拒绝,请检查文件系统权限":t.includes("already exists")?"目标目录已存在":e.slice(0,200)+(e.length>200?"...":"")}(y);u?.(l,"stderr",`[克隆失败] 错误信息: ${s}
13
+ `);let t={...d,status:i.Ks.SUCCESS,progress:100,message:"克隆完成",endTime:s};c?.(100,"克隆完成"),e(t)}else{let r=function(e){let t=e.toLowerCase();return t.includes("authentication failed")||t.includes("access denied")?"身份验证失败,请检查仓库访问权限":t.includes("repository not found")||t.includes("not found")?"仓库不存在或无法访问":t.includes("network")||t.includes("connection")?"网络连接问题,请检查网络设置":t.includes("timeout")?"网络超时,请重试":t.includes("permission denied")?"权限被拒绝,请检查文件系统权限":t.includes("already exists")?"目标目录已存在":e.slice(0,200)+(e.length>200?"...":"")}(y);u?.(l,"stderr",`[克隆失败] 错误信息: ${r}
14
14
  `),u?.(l,"stderr",`[完整错误输出]
15
15
  ${y}
16
- `);let n={...d,status:i.Ks.FAILED,progress:f,message:"克隆失败",error:s||`Git 进程退出,代码: ${t}`,endTime:r};a?.(`${l}: ${n.error}`),e(n)}}),h.on("error",t=>{clearTimeout($),u?.(l,"stderr",`[进程错误] Git 进程启动失败: ${t.message}
16
+ `);let n={...d,status:i.Ks.FAILED,progress:f,message:"克隆失败",error:r||`Git 进程退出,代码: ${t}`,endTime:s};a?.(`${l}: ${n.error}`),e(n)}}),h.on("error",t=>{clearTimeout($),u?.(l,"stderr",`[进程错误] Git 进程启动失败: ${t.message}
17
17
  `),u?.(l,"stderr",`[错误详情] ${t.stack||"No stack trace"}
18
- `);let r={...d,status:i.Ks.FAILED,progress:f,message:"进程启动失败",error:`进程启动失败: ${t.message}`,endTime:Date.now()};a?.(`${l}: ${t.message}`),e(r)})})}function u(e){return e.replace(/[^a-zA-Z0-9\-_]/g,"")}async function l(e,t){try{let r=(0,o.join)(e,t);if(!(0,n.existsSync)(r))return{exists:!1,status:"not_exists",needsCleanup:!1};let s=(0,o.join)(r,".git");if(!(0,n.existsSync)(s))return{exists:!0,status:"incomplete",needsCleanup:!0};if(!await d(r))return console.log(`检测到不完整的Git仓库: ${r}`),{exists:!0,status:"incomplete",needsCleanup:!0};return{exists:!0,status:"complete",needsCleanup:!1}}catch(e){return console.error(`检查项目 ${t} 状态时出错:`,e),{exists:!1,status:"not_exists",needsCleanup:!1}}}async function p(e,t){return"complete"===(await l(e,t)).status}async function d(e){try{let t=(0,o.join)(e,".git");for(let e of["HEAD","config","refs"]){let r=(0,o.join)(t,e);if(!(0,n.existsSync)(r))return!1}let r=(await n.promises.readdir(e)).filter(e=>".git"!==e);if(0===r.length)return!1;let s=(0,o.join)(t,"HEAD"),i=await n.promises.readFile(s,"utf-8");if(!i.trim()||i.includes("unborn"))return!1;return!0}catch(e){return console.error("检查Git仓库完整性时出错:",e),!1}}async function g(e,t){let r={},s=t.map(async t=>{let s=await p(e,t);r[t]=s});return await Promise.all(s),r}async function m(e){return new Promise(t=>{if(!(0,n.existsSync)(e))return void t({success:!1,error:`项目路径不存在: ${e}`});let r=(0,s.spawn)("cursor",[e],{stdio:["ignore","pipe","pipe"],detached:!0}),o="",i=setTimeout(()=>{r.kill("SIGTERM"),t({success:!1,error:"Cursor 命令执行超时"})},1e4);r.stderr?.on("data",e=>{o+=e.toString()}),r.on("exit",e=>{clearTimeout(i),0===e?t({success:!0}):t({success:!1,error:`Cursor 退出代码: ${e}${o?`, 错误: ${o}`:""}`})}),r.on("error",e=>{clearTimeout(i),e.message.includes("ENOENT")?t({success:!1,error:"Cursor 命令未找到,请确保 Cursor CLI 已正确安装并在 PATH 中"}):t({success:!1,error:`启动 Cursor 失败: ${e.message}`})}),r.unref()})}},9021:e=>{"use strict";e.exports=require("fs")},9227:(e,t,r)=>{"use strict";e.exports=r(4870)},9294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9646:e=>{"use strict";e.exports=require("child_process")},9748:e=>{"use strict";e.exports=require("fs/promises")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[131],()=>r(5097));module.exports=s})();
18
+ `);let s={...d,status:i.Ks.FAILED,progress:f,message:"进程启动失败",error:`进程启动失败: ${t.message}`,endTime:Date.now()};a?.(`${l}: ${t.message}`),e(s)})})}function u(e){return e.replace(/[^a-zA-Z0-9\-_]/g,"")}async function l(e,t){try{let s=(0,o.join)(e,t);if(!(0,n.existsSync)(s))return{exists:!1,status:"not_exists",needsCleanup:!1};let r=(0,o.join)(s,".git");if(!(0,n.existsSync)(r))return{exists:!0,status:"incomplete",needsCleanup:!0};if(!await d(s))return console.log(`检测到不完整的Git仓库: ${s}`),{exists:!0,status:"incomplete",needsCleanup:!0};return{exists:!0,status:"complete",needsCleanup:!1}}catch(e){return console.error(`检查项目 ${t} 状态时出错:`,e),{exists:!1,status:"not_exists",needsCleanup:!1}}}async function p(e,t){return"complete"===(await l(e,t)).status}async function d(e){try{let t=(0,o.join)(e,".git");for(let e of["HEAD","config","refs"]){let s=(0,o.join)(t,e);if(!(0,n.existsSync)(s))return!1}let s=(await n.promises.readdir(e)).filter(e=>".git"!==e);if(0===s.length)return!1;let r=(0,o.join)(t,"HEAD"),i=await n.promises.readFile(r,"utf-8");if(!i.trim()||i.includes("unborn"))return!1;return!0}catch(e){return console.error("检查Git仓库完整性时出错:",e),!1}}async function g(e,t){let s={},r=t.map(async t=>{let r=await p(e,t);s[t]=r});return await Promise.all(r),s}async function m(e){return new Promise(t=>{if(!(0,n.existsSync)(e))return void t({success:!1,error:`项目路径不存在: ${e}`});let s=(0,r.spawn)("cursor",[e],{stdio:["ignore","pipe","pipe"],detached:!0,env:{...process.env,NODE_ENV:"development"}}),o="",i=setTimeout(()=>{s.kill("SIGTERM"),t({success:!1,error:"Cursor 命令执行超时"})},1e4);s.stderr?.on("data",e=>{o+=e.toString()}),s.on("exit",e=>{clearTimeout(i),0===e?t({success:!0}):t({success:!1,error:`Cursor 退出代码: ${e}${o?`, 错误: ${o}`:""}`})}),s.on("error",e=>{clearTimeout(i),e.message.includes("ENOENT")?t({success:!1,error:"Cursor 命令未找到,请确保 Cursor CLI 已正确安装并在 PATH 中"}):t({success:!1,error:`启动 Cursor 失败: ${e.message}`})}),s.unref()})}},9021:e=>{"use strict";e.exports=require("fs")},9227:(e,t,s)=>{"use strict";e.exports=s(4870)},9294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9646:e=>{"use strict";e.exports=require("child_process")},9748:e=>{"use strict";e.exports=require("fs/promises")}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[131],()=>s(5097));module.exports=r})();
@@ -11,4 +11,4 @@
11
11
  ${y}
12
12
  `);let n={...d,status:o.Ks.FAILED,progress:x,message:"克隆失败",error:r||`Git 进程退出,代码: ${s}`,endTime:t};c?.(`${l}: ${n.error}`),e(n)}}),f.on("error",s=>{clearTimeout(C),a?.(l,"stderr",`[进程错误] Git 进程启动失败: ${s.message}
13
13
  `),a?.(l,"stderr",`[错误详情] ${s.stack||"No stack trace"}
14
- `);let t={...d,status:o.Ks.FAILED,progress:x,message:"进程启动失败",error:`进程启动失败: ${s.message}`,endTime:Date.now()};c?.(`${l}: ${s.message}`),e(t)})})}function a(e){return e.replace(/[^a-zA-Z0-9\-_]/g,"")}async function l(e,s){try{let t=(0,i.join)(e,s);if(!(0,n.existsSync)(t))return{exists:!1,status:"not_exists",needsCleanup:!1};let r=(0,i.join)(t,".git");if(!(0,n.existsSync)(r))return{exists:!0,status:"incomplete",needsCleanup:!0};if(!await d(t))return console.log(`检测到不完整的Git仓库: ${t}`),{exists:!0,status:"incomplete",needsCleanup:!0};return{exists:!0,status:"complete",needsCleanup:!1}}catch(e){return console.error(`检查项目 ${s} 状态时出错:`,e),{exists:!1,status:"not_exists",needsCleanup:!1}}}async function p(e,s){return"complete"===(await l(e,s)).status}async function d(e){try{let s=(0,i.join)(e,".git");for(let e of["HEAD","config","refs"]){let t=(0,i.join)(s,e);if(!(0,n.existsSync)(t))return!1}let t=(await n.promises.readdir(e)).filter(e=>".git"!==e);if(0===t.length)return!1;let r=(0,i.join)(s,"HEAD"),o=await n.promises.readFile(r,"utf-8");if(!o.trim()||o.includes("unborn"))return!1;return!0}catch(e){return console.error("检查Git仓库完整性时出错:",e),!1}}async function g(e,s){let t={},r=s.map(async s=>{let r=await p(e,s);t[s]=r});return await Promise.all(r),t}async function m(e){return new Promise(s=>{if(!(0,n.existsSync)(e))return void s({success:!1,error:`项目路径不存在: ${e}`});let t=(0,r.spawn)("cursor",[e],{stdio:["ignore","pipe","pipe"],detached:!0}),i="",o=setTimeout(()=>{t.kill("SIGTERM"),s({success:!1,error:"Cursor 命令执行超时"})},1e4);t.stderr?.on("data",e=>{i+=e.toString()}),t.on("exit",e=>{clearTimeout(o),0===e?s({success:!0}):s({success:!1,error:`Cursor 退出代码: ${e}${i?`, 错误: ${i}`:""}`})}),t.on("error",e=>{clearTimeout(o),e.message.includes("ENOENT")?s({success:!1,error:"Cursor 命令未找到,请确保 Cursor CLI 已正确安装并在 PATH 中"}):s({success:!1,error:`启动 Cursor 失败: ${e.message}`})}),t.unref()})}},9021:e=>{"use strict";e.exports=require("fs")},9227:(e,s,t)=>{"use strict";e.exports=t(4870)},9294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9646:e=>{"use strict";e.exports=require("child_process")}};var s=require("../../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),r=s.X(0,[131],()=>t(135));module.exports=r})();
14
+ `);let t={...d,status:o.Ks.FAILED,progress:x,message:"进程启动失败",error:`进程启动失败: ${s.message}`,endTime:Date.now()};c?.(`${l}: ${s.message}`),e(t)})})}function a(e){return e.replace(/[^a-zA-Z0-9\-_]/g,"")}async function l(e,s){try{let t=(0,i.join)(e,s);if(!(0,n.existsSync)(t))return{exists:!1,status:"not_exists",needsCleanup:!1};let r=(0,i.join)(t,".git");if(!(0,n.existsSync)(r))return{exists:!0,status:"incomplete",needsCleanup:!0};if(!await d(t))return console.log(`检测到不完整的Git仓库: ${t}`),{exists:!0,status:"incomplete",needsCleanup:!0};return{exists:!0,status:"complete",needsCleanup:!1}}catch(e){return console.error(`检查项目 ${s} 状态时出错:`,e),{exists:!1,status:"not_exists",needsCleanup:!1}}}async function p(e,s){return"complete"===(await l(e,s)).status}async function d(e){try{let s=(0,i.join)(e,".git");for(let e of["HEAD","config","refs"]){let t=(0,i.join)(s,e);if(!(0,n.existsSync)(t))return!1}let t=(await n.promises.readdir(e)).filter(e=>".git"!==e);if(0===t.length)return!1;let r=(0,i.join)(s,"HEAD"),o=await n.promises.readFile(r,"utf-8");if(!o.trim()||o.includes("unborn"))return!1;return!0}catch(e){return console.error("检查Git仓库完整性时出错:",e),!1}}async function g(e,s){let t={},r=s.map(async s=>{let r=await p(e,s);t[s]=r});return await Promise.all(r),t}async function m(e){return new Promise(s=>{if(!(0,n.existsSync)(e))return void s({success:!1,error:`项目路径不存在: ${e}`});let t=(0,r.spawn)("cursor",[e],{stdio:["ignore","pipe","pipe"],detached:!0,env:{...process.env,NODE_ENV:"development"}}),i="",o=setTimeout(()=>{t.kill("SIGTERM"),s({success:!1,error:"Cursor 命令执行超时"})},1e4);t.stderr?.on("data",e=>{i+=e.toString()}),t.on("exit",e=>{clearTimeout(o),0===e?s({success:!0}):s({success:!1,error:`Cursor 退出代码: ${e}${i?`, 错误: ${i}`:""}`})}),t.on("error",e=>{clearTimeout(o),e.message.includes("ENOENT")?s({success:!1,error:"Cursor 命令未找到,请确保 Cursor CLI 已正确安装并在 PATH 中"}):s({success:!1,error:`启动 Cursor 失败: ${e.message}`})}),t.unref()})}},9021:e=>{"use strict";e.exports=require("fs")},9227:(e,s,t)=>{"use strict";e.exports=t(4870)},9294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9646:e=>{"use strict";e.exports=require("child_process")}};var s=require("../../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),r=s.X(0,[131],()=>t(135));module.exports=r})();
@@ -11,4 +11,4 @@
11
11
  ${y}
12
12
  `);let n={...p,status:o.Ks.FAILED,progress:w,message:"克隆失败",error:r||`Git 进程退出,代码: ${t}`,endTime:s};u?.(`${l}: ${n.error}`),e(n)}}),f.on("error",t=>{clearTimeout(T),c?.(l,"stderr",`[进程错误] Git 进程启动失败: ${t.message}
13
13
  `),c?.(l,"stderr",`[错误详情] ${t.stack||"No stack trace"}
14
- `);let s={...p,status:o.Ks.FAILED,progress:w,message:"进程启动失败",error:`进程启动失败: ${t.message}`,endTime:Date.now()};u?.(`${l}: ${t.message}`),e(s)})})}function c(e){return e.replace(/[^a-zA-Z0-9\-_]/g,"")}async function l(e,t){try{let s=(0,i.join)(e,t);if(!(0,n.existsSync)(s))return{exists:!1,status:"not_exists",needsCleanup:!1};let r=(0,i.join)(s,".git");if(!(0,n.existsSync)(r))return{exists:!0,status:"incomplete",needsCleanup:!0};if(!await p(s))return console.log(`检测到不完整的Git仓库: ${s}`),{exists:!0,status:"incomplete",needsCleanup:!0};return{exists:!0,status:"complete",needsCleanup:!1}}catch(e){return console.error(`检查项目 ${t} 状态时出错:`,e),{exists:!1,status:"not_exists",needsCleanup:!1}}}async function d(e,t){return"complete"===(await l(e,t)).status}async function p(e){try{let t=(0,i.join)(e,".git");for(let e of["HEAD","config","refs"]){let s=(0,i.join)(t,e);if(!(0,n.existsSync)(s))return!1}let s=(await n.promises.readdir(e)).filter(e=>".git"!==e);if(0===s.length)return!1;let r=(0,i.join)(t,"HEAD"),o=await n.promises.readFile(r,"utf-8");if(!o.trim()||o.includes("unborn"))return!1;return!0}catch(e){return console.error("检查Git仓库完整性时出错:",e),!1}}async function g(e,t){let s={},r=t.map(async t=>{let r=await d(e,t);s[t]=r});return await Promise.all(r),s}async function m(e){return new Promise(t=>{if(!(0,n.existsSync)(e))return void t({success:!1,error:`项目路径不存在: ${e}`});let s=(0,r.spawn)("cursor",[e],{stdio:["ignore","pipe","pipe"],detached:!0}),i="",o=setTimeout(()=>{s.kill("SIGTERM"),t({success:!1,error:"Cursor 命令执行超时"})},1e4);s.stderr?.on("data",e=>{i+=e.toString()}),s.on("exit",e=>{clearTimeout(o),0===e?t({success:!0}):t({success:!1,error:`Cursor 退出代码: ${e}${i?`, 错误: ${i}`:""}`})}),s.on("error",e=>{clearTimeout(o),e.message.includes("ENOENT")?t({success:!1,error:"Cursor 命令未找到,请确保 Cursor CLI 已正确安装并在 PATH 中"}):t({success:!1,error:`启动 Cursor 失败: ${e.message}`})}),s.unref()})}},7870:(e,t,s)=>{"use strict";s.r(t),s.d(t,{patchFetch:()=>f,routeModule:()=>d,serverHooks:()=>m,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>g});var r={};s.r(r),s.d(r,{POST:()=>l});var n=s(9227),i=s(9044),o=s(1131),a=s(4946),u=s(2601),c=s(6193);async function l(e){try{let{projectName:t}=await e.json();if(!t||"string"!=typeof t)return new Response(JSON.stringify({success:!1,error:"项目名称是必需的"}),{status:400,headers:{"Content-Type":"application/json"}});let s=await (0,u.ZR)();if(!(t in s))return new Response(JSON.stringify({success:!1,error:`项目 ${t} 不存在于配置中`}),{status:404,headers:{"Content-Type":"application/json"}});let r=s[t],n=a.tu.WORKSPACE_ROOT,i=await (0,c.eR)({repoUrl:r.repo,targetDir:n,timeout:a.tu.GIT_TIMEOUT}),o={success:i.status===a.Ks.SUCCESS,projectName:t,status:i.status,message:i.message,error:i.error,progress:i.progress,duration:i.endTime&&i.startTime?i.endTime-i.startTime:0};return new Response(JSON.stringify(o),{status:200,headers:{"Content-Type":"application/json"}})}catch(t){let e=t instanceof Error?t.message:String(t);return console.error("重试项目克隆失败:",t),new Response(JSON.stringify({success:!1,error:`重试失败: ${e}`}),{status:500,headers:{"Content-Type":"application/json"}})}}let d=new n.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/retry-project/route",pathname:"/api/retry-project",filename:"route",bundlePath:"app/api/retry-project/route"},resolvedPagePath:"/Users/edy/Documents/Coding/prime-dev-cli/packages/server/src/app/api/retry-project/route.ts",nextConfigOutput:"",userland:r}),{workAsyncStorage:p,workUnitAsyncStorage:g,serverHooks:m}=d;function f(){return(0,o.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:g})}},9021:e=>{"use strict";e.exports=require("fs")},9227:(e,t,s)=>{"use strict";e.exports=s(4870)},9294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9646:e=>{"use strict";e.exports=require("child_process")},9748:e=>{"use strict";e.exports=require("fs/promises")}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[131],()=>s(7870));module.exports=r})();
14
+ `);let s={...p,status:o.Ks.FAILED,progress:w,message:"进程启动失败",error:`进程启动失败: ${t.message}`,endTime:Date.now()};u?.(`${l}: ${t.message}`),e(s)})})}function c(e){return e.replace(/[^a-zA-Z0-9\-_]/g,"")}async function l(e,t){try{let s=(0,i.join)(e,t);if(!(0,n.existsSync)(s))return{exists:!1,status:"not_exists",needsCleanup:!1};let r=(0,i.join)(s,".git");if(!(0,n.existsSync)(r))return{exists:!0,status:"incomplete",needsCleanup:!0};if(!await p(s))return console.log(`检测到不完整的Git仓库: ${s}`),{exists:!0,status:"incomplete",needsCleanup:!0};return{exists:!0,status:"complete",needsCleanup:!1}}catch(e){return console.error(`检查项目 ${t} 状态时出错:`,e),{exists:!1,status:"not_exists",needsCleanup:!1}}}async function d(e,t){return"complete"===(await l(e,t)).status}async function p(e){try{let t=(0,i.join)(e,".git");for(let e of["HEAD","config","refs"]){let s=(0,i.join)(t,e);if(!(0,n.existsSync)(s))return!1}let s=(await n.promises.readdir(e)).filter(e=>".git"!==e);if(0===s.length)return!1;let r=(0,i.join)(t,"HEAD"),o=await n.promises.readFile(r,"utf-8");if(!o.trim()||o.includes("unborn"))return!1;return!0}catch(e){return console.error("检查Git仓库完整性时出错:",e),!1}}async function g(e,t){let s={},r=t.map(async t=>{let r=await d(e,t);s[t]=r});return await Promise.all(r),s}async function m(e){return new Promise(t=>{if(!(0,n.existsSync)(e))return void t({success:!1,error:`项目路径不存在: ${e}`});let s=(0,r.spawn)("cursor",[e],{stdio:["ignore","pipe","pipe"],detached:!0,env:{...process.env,NODE_ENV:"development"}}),i="",o=setTimeout(()=>{s.kill("SIGTERM"),t({success:!1,error:"Cursor 命令执行超时"})},1e4);s.stderr?.on("data",e=>{i+=e.toString()}),s.on("exit",e=>{clearTimeout(o),0===e?t({success:!0}):t({success:!1,error:`Cursor 退出代码: ${e}${i?`, 错误: ${i}`:""}`})}),s.on("error",e=>{clearTimeout(o),e.message.includes("ENOENT")?t({success:!1,error:"Cursor 命令未找到,请确保 Cursor CLI 已正确安装并在 PATH 中"}):t({success:!1,error:`启动 Cursor 失败: ${e.message}`})}),s.unref()})}},7870:(e,t,s)=>{"use strict";s.r(t),s.d(t,{patchFetch:()=>f,routeModule:()=>d,serverHooks:()=>m,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>g});var r={};s.r(r),s.d(r,{POST:()=>l});var n=s(9227),i=s(9044),o=s(1131),a=s(4946),u=s(2601),c=s(6193);async function l(e){try{let{projectName:t}=await e.json();if(!t||"string"!=typeof t)return new Response(JSON.stringify({success:!1,error:"项目名称是必需的"}),{status:400,headers:{"Content-Type":"application/json"}});let s=await (0,u.ZR)();if(!(t in s))return new Response(JSON.stringify({success:!1,error:`项目 ${t} 不存在于配置中`}),{status:404,headers:{"Content-Type":"application/json"}});let r=s[t],n=a.tu.WORKSPACE_ROOT,i=await (0,c.eR)({repoUrl:r.repo,targetDir:n,timeout:a.tu.GIT_TIMEOUT}),o={success:i.status===a.Ks.SUCCESS,projectName:t,status:i.status,message:i.message,error:i.error,progress:i.progress,duration:i.endTime&&i.startTime?i.endTime-i.startTime:0};return new Response(JSON.stringify(o),{status:200,headers:{"Content-Type":"application/json"}})}catch(t){let e=t instanceof Error?t.message:String(t);return console.error("重试项目克隆失败:",t),new Response(JSON.stringify({success:!1,error:`重试失败: ${e}`}),{status:500,headers:{"Content-Type":"application/json"}})}}let d=new n.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/retry-project/route",pathname:"/api/retry-project",filename:"route",bundlePath:"app/api/retry-project/route"},resolvedPagePath:"/Users/edy/Documents/Coding/prime-dev-cli/packages/server/src/app/api/retry-project/route.ts",nextConfigOutput:"",userland:r}),{workAsyncStorage:p,workUnitAsyncStorage:g,serverHooks:m}=d;function f(){return(0,o.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:g})}},9021:e=>{"use strict";e.exports=require("fs")},9227:(e,t,s)=>{"use strict";e.exports=s(4870)},9294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},9646:e=>{"use strict";e.exports=require("child_process")},9748:e=>{"use strict";e.exports=require("fs/promises")}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[131],()=>s(7870));module.exports=r})();
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/99c159237be93dc6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d5f30c51b0af95c2.js"/><script src="/_next/static/chunks/b8f30182-a6d2a523c696fa81.js" async=""></script><script src="/_next/static/chunks/180-8dacaec05f53f53f.js" async=""></script><script src="/_next/static/chunks/main-app-204ad1b9f48b1359.js" async=""></script><script src="/_next/static/chunks/167-e44cb396108f68cd.js" async=""></script><script src="/_next/static/chunks/495-1a64c3075b5b8ac4.js" async=""></script><script src="/_next/static/chunks/app/configuration/page-c873f4a20842fe9f.js" async=""></script><title>Create Next App</title><meta name="description" content="Generated by create next app"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div class="min-h-screen bg-gray-50 flex items-center justify-center"><div class="text-center space-y-4"><div class="animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600 mx-auto"></div><p class="text-gray-600">正在加载配置页面...</p></div></div><!--/$--><!--$--><!--/$--><script src="/_next/static/chunks/webpack-d5f30c51b0af95c2.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[317,[],\"\"]\n3:I[6665,[],\"\"]\n4:I[3636,[],\"ClientPageRoot\"]\n5:I[6175,[\"167\",\"static/chunks/167-e44cb396108f68cd.js\",\"495\",\"static/chunks/495-1a64c3075b5b8ac4.js\",\"823\",\"static/chunks/app/configuration/page-c873f4a20842fe9f.js\"],\"default\"]\n8:I[9203,[],\"OutletBoundary\"]\nb:I[3561,[],\"AsyncMetadataOutlet\"]\nd:I[9203,[],\"ViewportBoundary\"]\nf:I[9203,[],\"MetadataBoundary\"]\n11:I[3604,[],\"\"]\n:HL[\"/_next/static/css/99c159237be93dc6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"4EggIRp7gmu3C68Fsraff\",\"p\":\"\",\"c\":[\"\",\"configuration\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"configuration\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/99c159237be93dc6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"configuration\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}],null,[\"$\",\"$L8\",null,{\"children\":[\"$L9\",\"$La\",[\"$\",\"$Lb\",null,{\"promise\":\"$@c\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"1qhKoCY1HJ3ay8_OyFP21v\",{\"children\":[[\"$\",\"$Ld\",null,{\"children\":\"$Le\"}],null]}],[\"$\",\"$Lf\",null,{\"children\":\"$L10\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$11\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"12:\"$Sreact.suspense\"\n13:I[3561,[],\"AsyncMetadata\"]\n6:{}\n7:{}\n10:[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$12\",null,{\"fallback\":null,\"children\":[\"$\",\"$L13\",null,{\"promise\":\"$@14\"}]}]}]\n"])</script><script>self.__next_f.push([1,"a:null\n"])</script><script>self.__next_f.push([1,"e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n9:null\n"])</script><script>self.__next_f.push([1,"c:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}]],\"error\":null,\"digest\":\"$undefined\"}\n14:{\"metadata\":\"$c:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/99c159237be93dc6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d5f30c51b0af95c2.js"/><script src="/_next/static/chunks/b8f30182-a6d2a523c696fa81.js" async=""></script><script src="/_next/static/chunks/180-8dacaec05f53f53f.js" async=""></script><script src="/_next/static/chunks/main-app-204ad1b9f48b1359.js" async=""></script><script src="/_next/static/chunks/167-e44cb396108f68cd.js" async=""></script><script src="/_next/static/chunks/495-1a64c3075b5b8ac4.js" async=""></script><script src="/_next/static/chunks/app/configuration/page-c873f4a20842fe9f.js" async=""></script><title>Create Next App</title><meta name="description" content="Generated by create next app"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><div class="min-h-screen bg-gray-50 flex items-center justify-center"><div class="text-center space-y-4"><div class="animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600 mx-auto"></div><p class="text-gray-600">正在加载配置页面...</p></div></div><!--/$--><!--$--><!--/$--><script src="/_next/static/chunks/webpack-d5f30c51b0af95c2.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[317,[],\"\"]\n3:I[6665,[],\"\"]\n4:I[3636,[],\"ClientPageRoot\"]\n5:I[6175,[\"167\",\"static/chunks/167-e44cb396108f68cd.js\",\"495\",\"static/chunks/495-1a64c3075b5b8ac4.js\",\"823\",\"static/chunks/app/configuration/page-c873f4a20842fe9f.js\"],\"default\"]\n8:I[9203,[],\"OutletBoundary\"]\nb:I[3561,[],\"AsyncMetadataOutlet\"]\nd:I[9203,[],\"ViewportBoundary\"]\nf:I[9203,[],\"MetadataBoundary\"]\n11:I[3604,[],\"\"]\n:HL[\"/_next/static/css/99c159237be93dc6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Vj8TOfdXSkRSgi8JoSCLF\",\"p\":\"\",\"c\":[\"\",\"configuration\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"configuration\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/99c159237be93dc6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"configuration\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}],null,[\"$\",\"$L8\",null,{\"children\":[\"$L9\",\"$La\",[\"$\",\"$Lb\",null,{\"promise\":\"$@c\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"A31KH9v3W6T8bYyQwotr-v\",{\"children\":[[\"$\",\"$Ld\",null,{\"children\":\"$Le\"}],null]}],[\"$\",\"$Lf\",null,{\"children\":\"$L10\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$11\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"12:\"$Sreact.suspense\"\n13:I[3561,[],\"AsyncMetadata\"]\n6:{}\n7:{}\n10:[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$12\",null,{\"fallback\":null,\"children\":[\"$\",\"$L13\",null,{\"promise\":\"$@14\"}]}]}]\n"])</script><script>self.__next_f.push([1,"a:null\n"])</script><script>self.__next_f.push([1,"e:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n9:null\n"])</script><script>self.__next_f.push([1,"c:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}]],\"error\":null,\"digest\":\"$undefined\"}\n14:{\"metadata\":\"$c:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
@@ -9,7 +9,7 @@ d:I[9203,[],"ViewportBoundary"]
9
9
  f:I[9203,[],"MetadataBoundary"]
10
10
  11:I[3604,[],""]
11
11
  :HL["/_next/static/css/99c159237be93dc6.css","style"]
12
- 0:{"P":null,"b":"4EggIRp7gmu3C68Fsraff","p":"","c":["","configuration"],"i":false,"f":[[["",{"children":["configuration",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99c159237be93dc6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["configuration",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","searchParams":{},"params":{},"promises":["$@6","$@7"]}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","1qhKoCY1HJ3ay8_OyFP21v",{"children":[["$","$Ld",null,{"children":"$Le"}],null]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true}
12
+ 0:{"P":null,"b":"Vj8TOfdXSkRSgi8JoSCLF","p":"","c":["","configuration"],"i":false,"f":[[["",{"children":["configuration",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99c159237be93dc6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["configuration",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","searchParams":{},"params":{},"promises":["$@6","$@7"]}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","A31KH9v3W6T8bYyQwotr-v",{"children":[["$","$Ld",null,{"children":"$Le"}],null]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true}
13
13
  12:"$Sreact.suspense"
14
14
  13:I[3561,[],"AsyncMetadata"]
15
15
  6:{}
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d5f30c51b0af95c2.js"/><script src="/_next/static/chunks/b8f30182-a6d2a523c696fa81.js" async=""></script><script src="/_next/static/chunks/180-8dacaec05f53f53f.js" async=""></script><script src="/_next/static/chunks/main-app-204ad1b9f48b1359.js" async=""></script><div hidden=""></div><title>Create Next App</title><meta name="description" content="Generated by create next app"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script src="/_next/static/chunks/webpack-d5f30c51b0af95c2.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[317,[],\"\"]\n3:I[6665,[],\"\"]\n5:I[9203,[],\"OutletBoundary\"]\n8:I[3561,[],\"AsyncMetadataOutlet\"]\na:I[9203,[],\"ViewportBoundary\"]\nc:I[9203,[],\"MetadataBoundary\"]\ne:I[3604,[],\"\"]\n:HL[\"/_next/static/css/99c159237be93dc6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"4EggIRp7gmu3C68Fsraff\",\"p\":\"\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/99c159237be93dc6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[\"$L4\",null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",\"$L7\",[\"$\",\"$L8\",null,{\"promise\":\"$@9\"}]]}]]}],{},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"ks0259j2eMC5HbsLHxoOnv\",{\"children\":[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],null]}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"4:E{\"digest\":\"NEXT_REDIRECT;replace;/initialization;307;\"}\n"])</script><script>self.__next_f.push([1,"f:\"$Sreact.suspense\"\n10:I[3561,[],\"AsyncMetadata\"]\nd:[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$f\",null,{\"fallback\":null,\"children\":[\"$\",\"$L10\",null,{\"promise\":\"$@11\"}]}]}]\n7:null\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"9:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}]],\"error\":null,\"digest\":\"$undefined\"}\n11:{\"metadata\":\"$9:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d5f30c51b0af95c2.js"/><script src="/_next/static/chunks/b8f30182-a6d2a523c696fa81.js" async=""></script><script src="/_next/static/chunks/180-8dacaec05f53f53f.js" async=""></script><script src="/_next/static/chunks/main-app-204ad1b9f48b1359.js" async=""></script><div hidden=""></div><title>Create Next App</title><meta name="description" content="Generated by create next app"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script src="/_next/static/chunks/webpack-d5f30c51b0af95c2.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[317,[],\"\"]\n3:I[6665,[],\"\"]\n5:I[9203,[],\"OutletBoundary\"]\n8:I[3561,[],\"AsyncMetadataOutlet\"]\na:I[9203,[],\"ViewportBoundary\"]\nc:I[9203,[],\"MetadataBoundary\"]\ne:I[3604,[],\"\"]\n:HL[\"/_next/static/css/99c159237be93dc6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Vj8TOfdXSkRSgi8JoSCLF\",\"p\":\"\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/99c159237be93dc6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[\"$L4\",null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",\"$L7\",[\"$\",\"$L8\",null,{\"promise\":\"$@9\"}]]}]]}],{},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"PUkj7c7q5Kx6ztnWE6WUzv\",{\"children\":[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],null]}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"4:E{\"digest\":\"NEXT_REDIRECT;replace;/initialization;307;\"}\n"])</script><script>self.__next_f.push([1,"f:\"$Sreact.suspense\"\n10:I[3561,[],\"AsyncMetadata\"]\nd:[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$f\",null,{\"fallback\":null,\"children\":[\"$\",\"$L10\",null,{\"promise\":\"$@11\"}]}]}]\n7:null\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"9:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}]],\"error\":null,\"digest\":\"$undefined\"}\n11:{\"metadata\":\"$9:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
@@ -7,7 +7,7 @@ a:I[9203,[],"ViewportBoundary"]
7
7
  c:I[9203,[],"MetadataBoundary"]
8
8
  e:I[3604,[],""]
9
9
  :HL["/_next/static/css/99c159237be93dc6.css","style"]
10
- 0:{"P":null,"b":"4EggIRp7gmu3C68Fsraff","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99c159237be93dc6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":["$L4",null,["$","$L5",null,{"children":["$L6","$L7",["$","$L8",null,{"promise":"$@9"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","ks0259j2eMC5HbsLHxoOnv",{"children":[["$","$La",null,{"children":"$Lb"}],null]}],["$","$Lc",null,{"children":"$Ld"}]]}],false]],"m":"$undefined","G":["$e","$undefined"],"s":false,"S":true}
10
+ 0:{"P":null,"b":"Vj8TOfdXSkRSgi8JoSCLF","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/99c159237be93dc6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":["$L4",null,["$","$L5",null,{"children":["$L6","$L7",["$","$L8",null,{"promise":"$@9"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","PUkj7c7q5Kx6ztnWE6WUzv",{"children":[["$","$La",null,{"children":"$Lb"}],null]}],["$","$Lc",null,{"children":"$Ld"}]]}],false]],"m":"$undefined","G":["$e","$undefined"],"s":false,"S":true}
11
11
  4:E{"digest":"NEXT_REDIRECT;replace;/initialization;307;"}
12
12
  f:"$Sreact.suspense"
13
13
  10:I[3561,[],"AsyncMetadata"]
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/99c159237be93dc6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d5f30c51b0af95c2.js"/><script src="/_next/static/chunks/b8f30182-a6d2a523c696fa81.js" async=""></script><script src="/_next/static/chunks/180-8dacaec05f53f53f.js" async=""></script><script src="/_next/static/chunks/main-app-204ad1b9f48b1359.js" async=""></script><script src="/_next/static/chunks/167-e44cb396108f68cd.js" async=""></script><script src="/_next/static/chunks/app/initialization/page-9c8eb31c4b362777.js" async=""></script><title>Create Next App</title><meta name="description" content="Generated by create next app"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div class="container mx-auto p-4 sm:p-6 md:p-8"><div class="flex justify-between items-center mb-6"><h1 class="text-2xl font-bold">项目初始化</h1><button data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&amp;_svg]:pointer-events-none [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 shrink-0 [&amp;_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 h-9 px-4 py-2 has-[&gt;svg]:px-3" disabled="">检查中...</button></div><div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4"><div class="col-span-full text-center text-gray-500 py-8">正在检查项目状态...</div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-d5f30c51b0af95c2.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[317,[],\"\"]\n3:I[6665,[],\"\"]\n4:I[7472,[\"167\",\"static/chunks/167-e44cb396108f68cd.js\",\"261\",\"static/chunks/app/initialization/page-9c8eb31c4b362777.js\"],\"default\"]\n5:I[9203,[],\"OutletBoundary\"]\n8:I[3561,[],\"AsyncMetadataOutlet\"]\na:I[9203,[],\"ViewportBoundary\"]\nc:I[9203,[],\"MetadataBoundary\"]\ne:I[3604,[],\"\"]\n:HL[\"/_next/static/css/99c159237be93dc6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"4EggIRp7gmu3C68Fsraff\",\"p\":\"\",\"c\":[\"\",\"initialization\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"initialization\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/99c159237be93dc6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"initialization\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{}],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",\"$L7\",[\"$\",\"$L8\",null,{\"promise\":\"$@9\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"2rqISWlpvDHua5Gy5daXNv\",{\"children\":[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],null]}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"f:\"$Sreact.suspense\"\n10:I[3561,[],\"AsyncMetadata\"]\nd:[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$f\",null,{\"fallback\":null,\"children\":[\"$\",\"$L10\",null,{\"promise\":\"$@11\"}]}]}]\n7:null\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"9:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}]],\"error\":null,\"digest\":\"$undefined\"}\n11:{\"metadata\":\"$9:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/99c159237be93dc6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-d5f30c51b0af95c2.js"/><script src="/_next/static/chunks/b8f30182-a6d2a523c696fa81.js" async=""></script><script src="/_next/static/chunks/180-8dacaec05f53f53f.js" async=""></script><script src="/_next/static/chunks/main-app-204ad1b9f48b1359.js" async=""></script><script src="/_next/static/chunks/167-e44cb396108f68cd.js" async=""></script><script src="/_next/static/chunks/app/initialization/page-9c8eb31c4b362777.js" async=""></script><title>Create Next App</title><meta name="description" content="Generated by create next app"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><script>document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div class="container mx-auto p-4 sm:p-6 md:p-8"><div class="flex justify-between items-center mb-6"><h1 class="text-2xl font-bold">项目初始化</h1><button data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&amp;_svg]:pointer-events-none [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 shrink-0 [&amp;_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 h-9 px-4 py-2 has-[&gt;svg]:px-3" disabled="">检查中...</button></div><div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4"><div class="col-span-full text-center text-gray-500 py-8">正在检查项目状态...</div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-d5f30c51b0af95c2.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[317,[],\"\"]\n3:I[6665,[],\"\"]\n4:I[7472,[\"167\",\"static/chunks/167-e44cb396108f68cd.js\",\"261\",\"static/chunks/app/initialization/page-9c8eb31c4b362777.js\"],\"default\"]\n5:I[9203,[],\"OutletBoundary\"]\n8:I[3561,[],\"AsyncMetadataOutlet\"]\na:I[9203,[],\"ViewportBoundary\"]\nc:I[9203,[],\"MetadataBoundary\"]\ne:I[3604,[],\"\"]\n:HL[\"/_next/static/css/99c159237be93dc6.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"Vj8TOfdXSkRSgi8JoSCLF\",\"p\":\"\",\"c\":[\"\",\"initialization\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"initialization\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/99c159237be93dc6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"initialization\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{}],null,[\"$\",\"$L5\",null,{\"children\":[\"$L6\",\"$L7\",[\"$\",\"$L8\",null,{\"promise\":\"$@9\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"77_v5t7wGkY2px4IPQmkPv\",{\"children\":[[\"$\",\"$La\",null,{\"children\":\"$Lb\"}],null]}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$e\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"f:\"$Sreact.suspense\"\n10:I[3561,[],\"AsyncMetadata\"]\nd:[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$f\",null,{\"fallback\":null,\"children\":[\"$\",\"$L10\",null,{\"promise\":\"$@11\"}]}]}]\n7:null\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n6:null\n"])</script><script>self.__next_f.push([1,"9:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}]],\"error\":null,\"digest\":\"$undefined\"}\n11:{\"metadata\":\"$9:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"])</script></body></html>