@yxp934/prompt-tree 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-path-routes-manifest.json +7 -5
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/routes-manifest.json +12 -0
- package/.next/standalone/.next/server/app/_global-error/page.js +1 -1
- package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/api/agent/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent-step/route.js +5 -0
- package/.next/standalone/.next/server/app/api/agent-step/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/agent-step/route_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/api/chat/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/embeddings/route.js +1 -0
- package/.next/standalone/.next/server/app/api/embeddings/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/embeddings/route_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/api/providers/health/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/providers/models/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/providers/test/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tools/mcp/call-tool/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tools/mcp/list-tools/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tools/mcp/test/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tools/python/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/tools/search/route_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/index.html +2 -2
- package/.next/standalone/.next/server/app/index.rsc +4 -4
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/page.js +6 -4
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/page.js +5 -2
- package/.next/standalone/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings.html +1 -1
- package/.next/standalone/.next/server/app/settings.rsc +4 -4
- package/.next/standalone/.next/server/app/settings.segments/_full.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/settings.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/settings.segments/settings.segment.rsc +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +7 -5
- package/.next/standalone/.next/server/chunks/471.js +4 -4
- package/.next/standalone/.next/server/chunks/732.js +4 -4
- package/.next/standalone/.next/server/chunks/734.js +1 -1
- package/.next/standalone/.next/server/chunks/815.js +1 -0
- package/.next/standalone/.next/server/functions-config-manifest.json +2 -0
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +2 -2
- package/.next/standalone/.next/static/chunks/379-4a9ebb3f3e23a072.js +1 -0
- package/.next/standalone/.next/static/chunks/618-fe65295d23f513e9.js +30 -0
- package/.next/standalone/.next/static/chunks/app/_global-error/page-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agent/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/agent-step/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/chat/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/embeddings/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/providers/health/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/providers/models/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/providers/test/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tools/mcp/call-tool/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tools/mcp/list-tools/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tools/mcp/test/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tools/python/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/api/tools/search/route-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/app/{layout-7950581b06dcfcd2.js → layout-a6642f336c41f8a8.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/page-86696f7cf6c50ff2.js +3 -0
- package/.next/standalone/.next/static/chunks/app/settings/page-4b5b4a44edd184b3.js +4 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-0eb119f31700800c.js +1 -0
- package/.next/standalone/.next/static/css/06344f8f74fa92db.css +1 -0
- package/.next/standalone/.next/static/x3zkptkvP5NCSRahifp2M/_buildManifest.js +1 -0
- package/.next/standalone/package.json +1 -1
- package/README.md +23 -2
- package/README.zh-CN.md +23 -2
- package/package.json +1 -1
- package/.next/standalone/.next/server/chunks/689.js +0 -1
- package/.next/standalone/.next/static/bgKGmnmkLXkhuKgbJwKVn/_buildManifest.js +0 -1
- package/.next/standalone/.next/static/chunks/394-ce05579db22c8557.js +0 -30
- package/.next/standalone/.next/static/chunks/787-849e95c38cdb12c0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/_global-error/page-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/agent/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/chat/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/providers/health/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/providers/models/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/providers/test/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tools/mcp/call-tool/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tools/mcp/list-tools/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tools/mcp/test/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tools/python/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/api/tools/search/route-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/app/page-92589c153be1ab8e.js +0 -1
- package/.next/standalone/.next/static/chunks/app/settings/page-ed3f1cc8a5f36f5c.js +0 -1
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-f2489837ae5d03e0.js +0 -1
- package/.next/standalone/.next/static/css/94729c1505529f29.css +0 -1
- /package/.next/standalone/.next/static/{bgKGmnmkLXkhuKgbJwKVn → x3zkptkvP5NCSRahifp2M}/_ssgManifest.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[4151,["
|
|
2
|
+
2:I[4151,["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"default"]
|
|
3
3
|
3:I[7121,[],""]
|
|
4
4
|
4:I[4581,[],""]
|
|
5
5
|
5:I[484,[],"OutletBoundary"]
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
8:I[484,[],"ViewportBoundary"]
|
|
8
8
|
a:I[484,[],"MetadataBoundary"]
|
|
9
9
|
c:I[7123,[],""]
|
|
10
|
-
:HL["/_next/static/css/
|
|
11
|
-
0:{"P":null,"b":"
|
|
10
|
+
:HL["/_next/static/css/06344f8f74fa92db.css","style"]
|
|
11
|
+
0:{"P":null,"b":"x3zkptkvP5NCSRahifp2M","c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/06344f8f74fa92db.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"antialiased","children":[["$","$L2",null,{}],["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}]}]]}],{"children":[["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","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."}]}]]}]}]],null,["$","$L5",null,{"children":["$","$6",null,{"name":"Next.MetadataOutlet","children":"$@7"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L8",null,{"children":"$L9"}],["$","div",null,{"hidden":true,"children":["$","$La",null,{"children":["$","$6",null,{"name":"Next.Metadata","children":"$Lb"}]}]}],null]}],false]],"m":"$undefined","G":["$c",[]],"S":true}
|
|
12
12
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
13
13
|
d:I[6869,[],"IconMark"]
|
|
14
14
|
7:null
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
3:I[484,[],"MetadataBoundary"]
|
|
4
4
|
4:"$Sreact.suspense"
|
|
5
5
|
5:I[6869,[],"IconMark"]
|
|
6
|
-
0:{"buildId":"
|
|
6
|
+
0:{"buildId":"x3zkptkvP5NCSRahifp2M","rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"Prompt Tree - AI Dialogue Topology"}],["$","meta","1",{"name":"description","content":"A visual dialogue tree interface for AI conversations with context management and token optimization."}],["$","meta","2",{"name":"author","content":"Prompt Tree Team"}],["$","meta","3",{"name":"keywords","content":"AI,dialogue,chat,context,topology,tree"}],["$","link","4",{"rel":"icon","href":"/favicon.ico?603d046c9a6fdfbb","type":"image/x-icon","sizes":"16x16"}],["$","link","5",{"rel":"icon","href":"/icon.svg"}],["$","link","6",{"rel":"apple-touch-icon","href":"/icon.svg"}],["$","$L5","7",{}]]}]}]}],null]}],"loading":null,"isPartial":false}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:I[4151,["
|
|
2
|
+
2:I[4151,["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"default"]
|
|
3
3
|
3:I[7121,[],""]
|
|
4
4
|
4:I[4581,[],""]
|
|
5
|
-
:HL["/_next/static/css/
|
|
6
|
-
0:{"buildId":"
|
|
5
|
+
:HL["/_next/static/css/06344f8f74fa92db.css","style"]
|
|
6
|
+
0:{"buildId":"x3zkptkvP5NCSRahifp2M","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/06344f8f74fa92db.css","precedence":"next"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"antialiased","children":[["$","$L2",null,{}],["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}]}]]}]}]]}],"loading":null,"isPartial":false}
|
package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[484,[],"OutletBoundary"]
|
|
3
3
|
3:"$Sreact.suspense"
|
|
4
|
-
0:{"buildId":"
|
|
4
|
+
0:{"buildId":"x3zkptkvP5NCSRahifp2M","rsc":["$","$1","c",{"children":[[["$","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."}]}]]}]}]],null,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false}
|
|
5
5
|
4:null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[7121,[],""]
|
|
3
3
|
3:I[4581,[],""]
|
|
4
|
-
0:{"buildId":"
|
|
4
|
+
0:{"buildId":"x3zkptkvP5NCSRahifp2M","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
:HL["/_next/static/css/
|
|
2
|
-
0:{"buildId":"
|
|
1
|
+
:HL["/_next/static/css/06344f8f74fa92db.css","style"]
|
|
2
|
+
0:{"buildId":"x3zkptkvP5NCSRahifp2M","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"_not-found","paramType":null,"paramKey":"_not-found","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/agent/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/agent/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"5723","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1479","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"813","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"7578","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"1569","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"5032","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/globals.css":{"id":1743,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/ClientGlobals.tsx":{"id":4151,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/MainLayout.tsx":{"id":6794,"name":"*","chunks":["702","static/chunks/c37d3baf-7063ae69d30af537.js","307","static/chunks/307-62db1aea3e7e7f58.js","991","static/chunks/991-3901e4f7973e3bc4.js","618","static/chunks/618-fe65295d23f513e9.js","379","static/chunks/379-4a9ebb3f3e23a072.js","974","static/chunks/app/page-86696f7cf6c50ff2.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ModelSelector.tsx":{"id":92,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderConfig.tsx":{"id":9362,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderList.tsx":{"id":6531,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsPage.tsx":{"id":4333,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsSidebar.tsx":{"id":7977,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/yxp/Documents/new-chat/ai-chat-client/src/":[],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/layout":[{"inlined":false,"path":"static/css/06344f8f74fa92db.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/page":[{"inlined":false,"path":"static/css/886f7af331f6427c.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/api/agent/route":[]},"rscModuleMapping":{"92":{"*":{"id":"3154","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"768","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1190","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"7287","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"3114","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"2479","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"6325","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
(()=>{var a={};a.id=348,a.ids=[348],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4066:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>H,patchFetch:()=>G,routeModule:()=>C,serverHooks:()=>F,workAsyncStorage:()=>D,workUnitAsyncStorage:()=>E});var d={};c.r(d),c.d(d,{POST:()=>B,runtime:()=>w});var e=c(9225),f=c(4006),g=c(8317),h=c(9373),i=c(4775),j=c(4235),k=c(261),l=c(4365),m=c(771),n=c(3461),o=c(7798),p=c(2280),q=c(2018),r=c(5696),s=c(7929),t=c(6439),u=c(7527),v=c(5592);let w="nodejs";function x(a){return"object"==typeof a&&null!==a}function y(a){return"string"==typeof a?a:""}function z(a){return!!x(a)&&("text"===a.type?"string"==typeof a.text:"image_url"===a.type&&!!x(a.image_url)&&"string"==typeof a.image_url.url&&a.image_url.url.length>0)}async function A(a){let b,c=(b=a.baseUrl.trim().replace(/\/+$/,""))?b.endsWith("/chat/completions")?b:`${b}/chat/completions`:"https://api.openai.com/v1/chat/completions",d=new AbortController,e=setTimeout(()=>d.abort(),a.timeoutMs),f={...a.headers,"Content-Type":"application/json",Authorization:`Bearer ${a.apiKey}`},g={model:a.model,messages:a.messages,temperature:a.temperature,max_tokens:a.maxTokens,tools:a.tools.length?a.tools:void 0,tool_choice:a.tools.length?"auto":void 0,stream:a.stream};try{let b=await fetch(c,{method:"POST",headers:f,body:JSON.stringify(g),signal:d.signal});if(!b.ok){let a=await b.text().catch(()=>"");throw Error(`LLM error (${b.status}): ${a||b.statusText}`)}if(!a.stream){let a=await b.json().catch(()=>null),c=a?.choices?.[0]?.message,d=c?.content??"",e=Array.isArray(c?.tool_calls)?c.tool_calls:[];return{content:d,toolCalls:e}}if(!b.body)throw Error("LLM returned empty stream.");let e=b.body.getReader(),h=new TextDecoder("utf-8"),i="",j="",k=new Map,l=!1;for(;;){let{value:b,done:c}=await e.read();if(c)break;let d=(i+=h.decode(b,{stream:!0})).split(/\r?\n\r?\n/);for(let b of(i=d.pop()??"",d)){for(let c of b.split(/\r?\n/)){if(!c.startsWith("data:"))continue;let b=c.replace(/^data:\s*/,"").trim();if(b){if("[DONE]"===b){l=!0;break}try{let c=JSON.parse(b),d=c.choices?.[0]?.delta,e=d?.content??"";for(let b of(e&&(j+=e,a.onDelta?.(e)),d?.tool_calls??[])){let a="number"==typeof b.index?b.index:0,c=k.get(a)??{id:"",name:"",args:""},d={id:b.id??c.id,name:b.function?.name??c.name,args:`${c.args}${b.function?.arguments??""}`};k.set(a,d)}}catch{}}}if(l)break}if(l)break}let m=Array.from(k.entries()).sort(([a],[b])=>a-b).map(([,a])=>({id:a.id,type:"function",function:{name:a.name,arguments:a.args}})).filter(a=>a.id&&a.function.name);return{content:j,toolCalls:m}}finally{clearTimeout(e)}}async function B(a){var b;let c,d,e=await a.json().catch(()=>null);if(!x(e))return v.NextResponse.json({error:"Invalid JSON body."},{status:400});let f=y(e.apiKey).trim(),g=function(a){let b=y(a).trim();if(!b)return null;try{let a=new URL(b);if("http:"!==a.protocol&&"https:"!==a.protocol)return null;return a.toString()}catch{return null}}(e.baseUrl)??y(e.baseUrl).trim(),h=y(e.model).trim(),i=function(a){if(!Array.isArray(a))return null;let b=[];for(let c of a){if(!x(c))return null;let a=y(c.role);if("system"===a){if("string"!=typeof c.content)return null;b.push({role:"system",content:c.content});continue}if("assistant"===a){let a=null==c.content?null:"string"==typeof c.content?c.content:null,d=Array.isArray(c.tool_calls)?c.tool_calls.filter(a=>x(a)):void 0;b.push({role:"assistant",content:a,...d?{tool_calls:d}:{}});continue}if("user"===a){if("string"==typeof c.content||Array.isArray(c.content)&&c.content.every(z)){b.push({role:"user",content:c.content});continue}return null}if("tool"===a){let a=y(c.tool_call_id).trim(),d=y(c.content);if(!a)return null;b.push({role:"tool",tool_call_id:a,content:d});continue}return null}return b}(e.messages);if(!f||!g||!h||!i)return v.NextResponse.json({error:"Missing required fields (apiKey/baseUrl/model/messages)."},{status:400});let j="number"==typeof e.temperature?e.temperature:.7,k="number"==typeof e.maxTokens?e.maxTokens:2e3,l="number"==typeof e.timeout?e.timeout:3e4,m=function(a){if(!x(a))return{};let b={};for(let[c,d]of Object.entries(a))"string"==typeof d&&d.trim()&&(b[c]=d);return b}(e.headers),n="boolean"!=typeof e.stream||e.stream,o="boolean"==typeof e.enableMemoryTool&&e.enableMemoryTool,p=function(a){if(!Array.isArray(a))return[];let b=[],c=new Set;for(let d of a){if("string"!=typeof d)continue;let a=d.trim();if(!a)continue;let e="web_search"===a||"python"===a||"mcp"===a?a:a.startsWith("mcp:")&&a.slice(4).trim()?`mcp:${a.slice(4).trim()}`:null;e&&(c.has(e)||(c.add(e),b.push(e)))}return b.includes("mcp")?b.filter(a=>"web_search"===a||"python"===a||"mcp"===a):b}(e.toolUses),q=function(a){if(!x(a))return null;let b=x(a.search)?a.search:{},c=x(a.python)?a.python:{},d=x(a.mcp)?a.mcp:{},e=(x(d)&&Array.isArray(d.servers)?d.servers:[]).map(a=>{if(!x(a))return null;let b=y(a.id),c=y(a.name),d="stdio"===a.transport||"sse"===a.transport?a.transport:"http",e=y(a.token),f=y(a.configJson),g="number"==typeof a.createdAt?a.createdAt:Date.now(),h="number"==typeof a.updatedAt?a.updatedAt:Date.now();return b.trim()&&c.trim()?{id:b,name:c,transport:d,token:e,configJson:f,createdAt:g,updatedAt:h}:null}).filter(a=>!!a);return{search:{provider:"exa"===b.provider?"exa":"tavily",exaApiKey:y(b.exaApiKey),tavilyApiKey:y(b.tavilyApiKey),maxResults:"number"==typeof b.maxResults?b.maxResults:5,searchDepth:"advanced"===b.searchDepth?"advanced":"basic"},mcp:{servers:e},python:{timeoutMs:"number"==typeof c.timeoutMs?c.timeoutMs:15e3,maxOutputChars:"number"==typeof c.maxOutputChars?c.maxOutputChars:2e4,pythonCommand:y(c.pythonCommand)||"python3"}}}(e.toolSettings);if(!q)return v.NextResponse.json({error:"Invalid toolSettings."},{status:400});let r=(c=new Set((b={toolUses:p,toolSettings:q,enableMemoryTool:o}).toolUses),d=[],b.enableMemoryTool&&d.push({type:"function",function:{name:"search_memory",description:"Search the user's long-term memory bank and return relevant memories.",parameters:{type:"object",properties:{query:{type:"string",description:"Search query."},topK:{type:"number",minimum:1,maximum:20},scope:{type:"string",enum:["user","folder","both"]},tagsAny:{type:"array",items:{type:"string"}},folderId:{type:"string",description:"Optional folder id when scope includes folder."}},required:["query"],additionalProperties:!0}}}),c.has("web_search")&&d.push({type:"function",function:{name:"web_search",description:"Search the web for up-to-date information and sources.",parameters:{type:"object",properties:{query:{type:"string",description:"Search query."},provider:{type:"string",enum:["tavily","exa"]},maxResults:{type:"number",minimum:1,maximum:20},searchDepth:{type:"string",enum:["basic","advanced"]}},required:["query"],additionalProperties:!0}}}),c.has("python")&&d.push({type:"function",function:{name:"exec_python",description:"Execute Python code and return stdout/stderr/result metadata.",parameters:{type:"object",properties:{code:{type:"string",description:"Python code to execute."}},required:["code"],additionalProperties:!1}}}),(()=>{let a=b.toolSettings.mcp.servers.slice();if(c.has("mcp"))return a;let d=new Map(a.map(a=>[a.id,a])),e=b.toolUses.filter(a=>a.startsWith("mcp:")).map(a=>a.slice(4).trim()).filter(Boolean),f=new Set,g=[];for(let a of e){if(f.has(a))continue;f.add(a);let b=d.get(a);b&&g.push(b)}return g})().length>0&&(d.push({type:"function",function:{name:"mcp_list_tools",description:"List tools for an enabled MCP server.",parameters:{type:"object",properties:{serverId:{type:"string",description:"MCP server id."}},required:["serverId"],additionalProperties:!1}}}),d.push({type:"function",function:{name:"mcp_call",description:"Call a tool on an enabled MCP server.",parameters:{type:"object",properties:{serverId:{type:"string",description:"MCP server id."},name:{type:"string",description:"Tool name."},arguments:{description:"Tool arguments."}},required:["serverId","name"],additionalProperties:!0}}})),d),s=new TextEncoder,t=new ReadableStream({start(a){let b=b=>{a.enqueue(s.encode(`data: ${function(a){try{return JSON.stringify(a)}catch{return JSON.stringify({error:"Unserializable payload."})}}(b)}
|
|
2
|
+
|
|
3
|
+
`))},c=()=>a.enqueue(new TextEncoder().encode(`data: [DONE]
|
|
4
|
+
|
|
5
|
+
`));(async()=>{try{let d="",e=await A({apiKey:f,baseUrl:g,headers:m,timeoutMs:l,model:h,temperature:j,maxTokens:k,messages:i,tools:r,stream:n,onDelta:a=>{d+=a,b({type:"assistant_delta",delta:a})}}),o=e.toolCalls??[],p=e.content??d;for(let a of(b({type:"assistant_final",content:p}),o))b({type:"tool_call",call:{id:a.id,name:a.function.name,arguments:function(a){let b=a.trim();if(!b)return{};try{return JSON.parse(b)}catch{return{_raw:a}}}(a.function.arguments)}});c(),a.close()}catch(d){b({type:"error",message:d instanceof Error?d.message:"Agent step failed"}),c(),a.close()}})()}});return new Response(t,{headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache, no-transform",Connection:"keep-alive"}})}let C=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/agent-step/route",pathname:"/api/agent-step",filename:"route",bundlePath:"app/api/agent-step/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/api/agent-step/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:D,workUnitAsyncStorage:E,serverHooks:F}=C;function G(){return(0,g.patchFetch)({workAsyncStorage:D,workUnitAsyncStorage:E})}async function H(a,b,c){C.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/agent-step/route";"/index"===d&&(d="/");let e=await C.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(z.dynamicRoutes[H]||z.routes[E]),J=async()=>((null==A?void 0:A.render404)?await A.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!z.routes[E],b=z.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||C.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===C.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:z,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>C.onRequestError(a,b,d,e,A)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>C.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&B&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await C.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),b}},l=await C.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await C.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:B})},!1,A),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},4870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6487:()=>{},8335:()=>{},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[445,813],()=>b(b.s=4066));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/445.js","../../../chunks/813.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/agent-step/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"5723","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1479","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"813","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"7578","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"1569","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"5032","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/globals.css":{"id":1743,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/ClientGlobals.tsx":{"id":4151,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/MainLayout.tsx":{"id":6794,"name":"*","chunks":["702","static/chunks/c37d3baf-7063ae69d30af537.js","307","static/chunks/307-62db1aea3e7e7f58.js","991","static/chunks/991-3901e4f7973e3bc4.js","618","static/chunks/618-fe65295d23f513e9.js","379","static/chunks/379-4a9ebb3f3e23a072.js","974","static/chunks/app/page-86696f7cf6c50ff2.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ModelSelector.tsx":{"id":92,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderConfig.tsx":{"id":9362,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderList.tsx":{"id":6531,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsPage.tsx":{"id":4333,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsSidebar.tsx":{"id":7977,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/yxp/Documents/new-chat/ai-chat-client/src/":[],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/layout":[{"inlined":false,"path":"static/css/06344f8f74fa92db.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/page":[{"inlined":false,"path":"static/css/886f7af331f6427c.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/api/agent-step/route":[]},"rscModuleMapping":{"92":{"*":{"id":"3154","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"768","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1190","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"7287","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"3114","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"2479","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"6325","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/chat/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/chat/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"5723","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1479","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"813","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"7578","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"1569","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"5032","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/globals.css":{"id":1743,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/ClientGlobals.tsx":{"id":4151,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/MainLayout.tsx":{"id":6794,"name":"*","chunks":["702","static/chunks/c37d3baf-7063ae69d30af537.js","307","static/chunks/307-62db1aea3e7e7f58.js","991","static/chunks/991-3901e4f7973e3bc4.js","618","static/chunks/618-fe65295d23f513e9.js","379","static/chunks/379-4a9ebb3f3e23a072.js","974","static/chunks/app/page-86696f7cf6c50ff2.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ModelSelector.tsx":{"id":92,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderConfig.tsx":{"id":9362,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderList.tsx":{"id":6531,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsPage.tsx":{"id":4333,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsSidebar.tsx":{"id":7977,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/yxp/Documents/new-chat/ai-chat-client/src/":[],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/layout":[{"inlined":false,"path":"static/css/06344f8f74fa92db.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/page":[{"inlined":false,"path":"static/css/886f7af331f6427c.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/api/chat/route":[]},"rscModuleMapping":{"92":{"*":{"id":"3154","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"768","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1190","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"7287","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"3114","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"2479","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"6325","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{var a={};a.id=856,a.ids=[856],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},3033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},6439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},6487:()=>{},6798:(a,b,c)=>{"use strict";c.d(b,{GG:()=>e,rd:()=>d});let d="https://api.openai.com/v1";function e(a){return a.trim().replace(/\/+$/,"")}},7043:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{POST:()=>y,runtime:()=>x});var e=c(9225),f=c(4006),g=c(8317),h=c(9373),i=c(4775),j=c(4235),k=c(261),l=c(4365),m=c(771),n=c(3461),o=c(7798),p=c(2280),q=c(2018),r=c(5696),s=c(7929),t=c(6439),u=c(7527),v=c(5592),w=c(7826);let x="nodejs";async function y(a){var b;let c=await a.json().catch(()=>null),d=(0,w.gM)(c);if("error"in d)return v.NextResponse.json({error:d.error},{status:d.status});let e="string"==typeof c.model&&c.model.trim()?c.model.trim():"";if(!e)return v.NextResponse.json({error:"Missing embedding model."},{status:400});let f="string"==typeof c.input||Array.isArray(b=c.input)&&b.every(a=>"string"==typeof a)?c.input:null;if(null==f)return v.NextResponse.json({error:"Invalid input payload."},{status:400});let{apiKey:g,baseUrl:h,headers:i,timeout:j}=d.data,{signal:k,cancel:l}=(0,w.MZ)(j);try{let a=await fetch(`${h}/embeddings`,{method:"POST",headers:(0,w.fn)(g,i),body:JSON.stringify({model:e,input:f}),signal:k});if(!a.ok){let b=await a.text().catch(()=>"");return v.NextResponse.json({error:`Embeddings request failed (${a.status}): ${b||a.statusText}`},{status:500})}let b=await a.json().catch(()=>null),c=(b?.data??[]).map(a=>Array.isArray(a.embedding)?a.embedding:null).filter(a=>!!a);if("string"==typeof f){if(1!==c.length)return v.NextResponse.json({error:"Invalid embeddings response."},{status:500});return v.NextResponse.json({embeddings:c})}if(c.length!==f.length)return v.NextResponse.json({error:"Invalid embeddings response."},{status:500});return v.NextResponse.json({embeddings:c})}catch(b){let a=b instanceof Error&&"AbortError"===b.name?"Embeddings request timed out.":b instanceof Error?b.message:"Unknown embeddings error";return v.NextResponse.json({error:a},{status:500})}finally{l()}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/embeddings/route",pathname:"/api/embeddings",filename:"route",bundlePath:"app/api/embeddings/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/api/embeddings/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/embeddings/route";"/index"===d&&(d="/");let e=await z.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,params:v,nextConfig:w,parsedUrl:x,isDraftMode:y,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,x,!1):b.end("This page could not be found"),null);if(I&&!y){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(w.experimental.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||z.isDev||y||(K="/index"===(K=E)?"/":K);let L=!0===z.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q={params:v,prerenderManifest:A,renderOpts:{experimental:{authInterrupts:!!w.experimental.authInterrupts},cacheComponents:!!w.cacheComponents,supportsDynamicResponse:L,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:w.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>z.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g}},R=new l.NodeNextRequest(a),S=new l.NodeNextResponse(b),T=m.NextRequestAdapter.fromNodeNextRequest(R,(0,m.signalFromNodeResponse)(b));try{let e=async a=>z.handle(T,Q).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${N} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b)}else a.updateName(`${N} ${d}`)}),g=!!(0,h.getRequestMeta)(a,"minimalMode"),j=async h=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!g&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await e(h);a.fetchMetrics=Q.renderOpts.fetchMetrics;let i=Q.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=Q.renderOpts.collectedTags;if(!I)return await (0,p.I)(R,S,d,Q.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);j&&(b[s.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==Q.renderOpts.collectedRevalidate&&!(Q.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&Q.renderOpts.collectedRevalidate,e=void 0===Q.renderOpts.collectedExpire||Q.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:Q.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:k,waitUntil:c.waitUntil,isMinimalMode:g});if(!I)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});g||b.setHeader("x-nextjs-cache",C?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,q.fromNodeOutgoingHttpHeaders)(l.value.headers);return g&&I||m.delete(s.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,r.getCacheControlHeader)(l.cacheControl)),await (0,p.I)(R,S,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};P?await j(P):await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},j))}catch(b){if(b instanceof t.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(R,S,new Response(null,{status:500})),null}}},7826:(a,b,c)=>{"use strict";c.d(b,{Hr:()=>k,MZ:()=>l,Oq:()=>f,Q2:()=>e,fn:()=>i,gM:()=>h,iH:()=>j,nU:()=>g});var d=c(6798);function e(a){let b;if("string"!=typeof a)return null;let c=((b=a.trim().replace(/\/+$/,"")).endsWith("/chat/completions")&&(b=b.replace(/\/chat\/completions$/,"")),b.endsWith("/models")&&(b=b.replace(/\/models$/,"")),!b.includes("/v1")&&!b.includes("/api")&&b.includes("api.openai.com")&&(b=`${b}/v1`),b);if(!c)return null;try{let a=new URL(c);if("http:"!==a.protocol&&"https:"!==a.protocol)return null}catch{return null}return c}function f(a){if(!a||"object"!=typeof a)return{};let b=Object.entries(a),c={};for(let[a,d]of b)"string"==typeof d&&d.trim()&&(c[a]=d);return c}function g(a){return"number"==typeof a&&Number.isFinite(a)?Math.min(12e4,Math.max(3e3,Math.round(a))):3e4}function h(a){if("object"!=typeof a||null===a)return{error:"errors.invalidRequestBody",status:400};let b="string"==typeof a.apiKey&&a.apiKey.trim()?a.apiKey.trim():null;if(!b)return{error:"errors.missingApiKey",status:400};let c=e(a.baseUrl);return"string"!=typeof a.baseUrl||c?{data:{apiKey:b,baseUrl:c??d.rd,headers:f(a.headers),timeout:g(a.timeout)}}:{error:"errors.invalidBaseUrl",status:400}}function i(a,b){return{...b,Authorization:`Bearer ${a}`,"Content-Type":"application/json"}}function j(a){return`${a}/models`}function k(a){return`${a}/chat/completions`}function l(a){let b=new AbortController,c=setTimeout(()=>b.abort(),a);return{signal:b.signal,cancel:()=>clearTimeout(c)}}},8335:()=>{},9294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[445,813],()=>b(b.s=7043));module.exports=c})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/445.js","../../../chunks/813.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/embeddings/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"5723","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1479","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"813","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"7578","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"1569","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"5032","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/globals.css":{"id":1743,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/ClientGlobals.tsx":{"id":4151,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/MainLayout.tsx":{"id":6794,"name":"*","chunks":["702","static/chunks/c37d3baf-7063ae69d30af537.js","307","static/chunks/307-62db1aea3e7e7f58.js","991","static/chunks/991-3901e4f7973e3bc4.js","618","static/chunks/618-fe65295d23f513e9.js","379","static/chunks/379-4a9ebb3f3e23a072.js","974","static/chunks/app/page-86696f7cf6c50ff2.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ModelSelector.tsx":{"id":92,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderConfig.tsx":{"id":9362,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderList.tsx":{"id":6531,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsPage.tsx":{"id":4333,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsSidebar.tsx":{"id":7977,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/yxp/Documents/new-chat/ai-chat-client/src/":[],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/layout":[{"inlined":false,"path":"static/css/06344f8f74fa92db.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/page":[{"inlined":false,"path":"static/css/886f7af331f6427c.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/api/embeddings/route":[]},"rscModuleMapping":{"92":{"*":{"id":"3154","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"768","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1190","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"7287","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"3114","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"2479","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"6325","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
package/.next/standalone/.next/server/app/api/providers/health/route_client-reference-manifest.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/providers/health/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/providers/health/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"5723","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1479","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"813","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"7578","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"1569","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"5032","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/globals.css":{"id":1743,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/ClientGlobals.tsx":{"id":4151,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/MainLayout.tsx":{"id":6794,"name":"*","chunks":["702","static/chunks/c37d3baf-7063ae69d30af537.js","307","static/chunks/307-62db1aea3e7e7f58.js","991","static/chunks/991-3901e4f7973e3bc4.js","618","static/chunks/618-fe65295d23f513e9.js","379","static/chunks/379-4a9ebb3f3e23a072.js","974","static/chunks/app/page-86696f7cf6c50ff2.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ModelSelector.tsx":{"id":92,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderConfig.tsx":{"id":9362,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderList.tsx":{"id":6531,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsPage.tsx":{"id":4333,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsSidebar.tsx":{"id":7977,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/yxp/Documents/new-chat/ai-chat-client/src/":[],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/layout":[{"inlined":false,"path":"static/css/06344f8f74fa92db.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/page":[{"inlined":false,"path":"static/css/886f7af331f6427c.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/api/providers/health/route":[]},"rscModuleMapping":{"92":{"*":{"id":"3154","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"768","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1190","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"7287","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"3114","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"2479","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"6325","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|
package/.next/standalone/.next/server/app/api/providers/models/route_client-reference-manifest.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/providers/models/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/providers/models/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"92":{"*":{"id":"100","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"664","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"8059","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"5723","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1479","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"1335","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"2265","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"813","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"7578","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"4661","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"5421","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"1921","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"1569","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"4342","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"5032","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":7123,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-page.js":{"id":1304,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/client-segment.js":{"id":8616,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":4777,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7121,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":4581,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":484,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":6869,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/globals.css":{"id":1743,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/ClientGlobals.tsx":{"id":4151,"name":"*","chunks":["618","static/chunks/618-fe65295d23f513e9.js","177","static/chunks/app/layout-a6642f336c41f8a8.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/layout/MainLayout.tsx":{"id":6794,"name":"*","chunks":["702","static/chunks/c37d3baf-7063ae69d30af537.js","307","static/chunks/307-62db1aea3e7e7f58.js","991","static/chunks/991-3901e4f7973e3bc4.js","618","static/chunks/618-fe65295d23f513e9.js","379","static/chunks/379-4a9ebb3f3e23a072.js","974","static/chunks/app/page-86696f7cf6c50ff2.js"],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ModelSelector.tsx":{"id":92,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderConfig.tsx":{"id":9362,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/ProviderList.tsx":{"id":6531,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsPage.tsx":{"id":4333,"name":"*","chunks":[],"async":false},"/Users/yxp/Documents/new-chat/ai-chat-client/src/components/settings/SettingsSidebar.tsx":{"id":7977,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/yxp/Documents/new-chat/ai-chat-client/src/":[],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/layout":[{"inlined":false,"path":"static/css/06344f8f74fa92db.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/page":[{"inlined":false,"path":"static/css/886f7af331f6427c.css"}],"/Users/yxp/Documents/new-chat/ai-chat-client/src/app/api/providers/models/route":[]},"rscModuleMapping":{"92":{"*":{"id":"3154","name":"*","chunks":[],"async":false}},"484":{"*":{"id":"8562","name":"*","chunks":[],"async":false}},"1304":{"*":{"id":"5098","name":"*","chunks":[],"async":false}},"1743":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"4151":{"*":{"id":"768","name":"*","chunks":[],"async":false}},"4333":{"*":{"id":"1190","name":"*","chunks":[],"async":false}},"4581":{"*":{"id":"6237","name":"*","chunks":[],"async":false}},"4777":{"*":{"id":"3859","name":"*","chunks":[],"async":false}},"6531":{"*":{"id":"7287","name":"*","chunks":[],"async":false}},"6794":{"*":{"id":"3114","name":"*","chunks":[],"async":false}},"6869":{"*":{"id":"6675","name":"*","chunks":[],"async":false}},"7121":{"*":{"id":"8099","name":"*","chunks":[],"async":false}},"7123":{"*":{"id":"5547","name":"*","chunks":[],"async":false}},"7977":{"*":{"id":"2479","name":"*","chunks":[],"async":false}},"8616":{"*":{"id":"7644","name":"*","chunks":[],"async":false}},"9362":{"*":{"id":"6325","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
|