@superinterface/server 1.5.0 → 1.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/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/cache/.previewinfo +1 -1
- package/.next/cache/.rscinfo +1 -1
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/eslint/.cache_btwyo7 +1 -1
- package/.next/fallback-build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +1 -1
- package/.next/server/chunks/[root-of-the-server]__4e536bc0._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__4e536bc0._.js.map +1 -1
- package/.next/server/chunks/[root-of-the-server]__bcdbc64b._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__bcdbc64b._.js.map +1 -1
- package/.next/server/chunks/c4f00_next_dist_esm_build_templates_app-route_828c7f3d.js +1 -1
- package/.next/server/chunks/c4f00_next_dist_esm_build_templates_app-route_828c7f3d.js.map +1 -1
- package/.next/server/chunks/supercorp_superinterface_bebd2c96._.js.map +1 -1
- package/.next/server/chunks/supercorp_superinterface_c6d586ec._.js +1 -1
- package/.next/server/chunks/supercorp_superinterface_c6d586ec._.js.map +1 -1
- package/.next/server/chunks/supercorp_superinterface_d30ea151._.js +1 -1
- package/.next/server/chunks/supercorp_superinterface_d30ea151._.js.map +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/trace +1 -1
- package/dist/app/api/assistants/[assistantId]/buildRoute.d.ts +7 -1
- package/dist/app/api/assistants/[assistantId]/buildRoute.d.ts.map +1 -1
- package/dist/app/api/assistants/[assistantId]/buildRoute.js +6 -4
- package/dist/app/api/assistants/[assistantId]/route.d.ts +7 -1
- package/dist/app/api/assistants/[assistantId]/route.d.ts.map +1 -1
- package/dist/app/api/assistants/buildRoute.d.ts +22 -4
- package/dist/app/api/assistants/buildRoute.d.ts.map +1 -1
- package/dist/app/api/assistants/buildRoute.js +6 -4
- package/dist/app/api/assistants/route.d.ts +4 -0
- package/dist/app/api/assistants/route.d.ts.map +1 -1
- package/dist/lib/assistants/assistantClientAdapter/index.d.ts.map +1 -1
- package/dist/lib/assistants/serializeApiAssistant.d.ts +2 -0
- package/dist/lib/assistants/serializeApiAssistant.d.ts.map +1 -1
- package/dist/lib/assistants/serializeApiAssistant.js +2 -0
- package/dist/lib/computerCalls/handleComputerCall/index.d.ts +8 -8
- package/dist/lib/computerCalls/handleComputerCall/index.d.ts.map +1 -1
- package/dist/lib/computerCalls/handleComputerCall/index.js +23 -11
- package/dist/lib/functions/handleFunction/index.d.ts.map +1 -1
- package/dist/lib/functions/handleFunction/index.js +20 -1
- package/dist/lib/mcpServers/getToolCallMcpServer.d.ts +1 -0
- package/dist/lib/mcpServers/getToolCallMcpServer.d.ts.map +1 -1
- package/dist/lib/mcpServers/getToolCallMcpServer.js +37 -18
- package/dist/lib/threads/managedOpenaiThreadId.d.ts.map +1 -1
- package/dist/lib/threads/managedOpenaiThreadId.js +1 -2
- package/dist/lib/threads/storageThreadId.d.ts.map +1 -1
- package/dist/lib/threads/storageThreadId.js +1 -2
- package/package.json +1 -1
- /package/.next/static/{shpAFERugM2nbzUksiKem → UBq-QQGk_XvgTNFv4eLnz}/_buildManifest.js +0 -0
- /package/.next/static/{shpAFERugM2nbzUksiKem → UBq-QQGk_XvgTNFv4eLnz}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{shpAFERugM2nbzUksiKem → UBq-QQGk_XvgTNFv4eLnz}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--UBq_QQGk_XvgTNFv4eLnz--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/76a8a50dbf44f000.js"/><script src="/_next/static/chunks/22375ab8b973caf2.js" async=""></script><script src="/_next/static/chunks/f1fd2298c8f33610.js" async=""></script><script src="/_next/static/chunks/turbopack-ecd75a8101638a7b.js" async=""></script><script src="/_next/static/chunks/03d938d038bc30e3.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/76a8a50dbf44f000.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[96352,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n3:I[17753,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n4:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"OutletBoundary\"]\n6:I[33159,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"AsyncMetadataOutlet\"]\n8:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"ViewportBoundary\"]\na:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"MetadataBoundary\"]\nb:\"$Sreact.suspense\"\nd:I[25098,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"UBq-QQGk_XvgTNFv4eLnz\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/03d938d038bc30e3.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$L5\",[\"$\",\"$L6\",null,{\"promise\":\"$@7\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],null],[\"$\",\"$La\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"fallback\":null,\"children\":\"$Lc\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,"7:{\"metadata\":[],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"c:\"$7:metadata\"\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/a6dad97d9634a72d.js"></script><script src="/_next/static/chunks/22bca0be24d1dbb3.js" defer=""></script><script src="/_next/static/chunks/3afeabcaad450e6e.js" defer=""></script><script src="/_next/static/chunks/turbopack-77830c375ad53a98.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-cf3460fb5ef0876f.js" defer=""></script><script src="/_next/static/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/a6dad97d9634a72d.js"></script><script src="/_next/static/chunks/22bca0be24d1dbb3.js" defer=""></script><script src="/_next/static/chunks/3afeabcaad450e6e.js" defer=""></script><script src="/_next/static/chunks/turbopack-77830c375ad53a98.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-cf3460fb5ef0876f.js" defer=""></script><script src="/_next/static/UBq-QQGk_XvgTNFv4eLnz/_ssgManifest.js" defer=""></script><script src="/_next/static/UBq-QQGk_XvgTNFv4eLnz/_buildManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"UBq-QQGk_XvgTNFv4eLnz","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"KFzmkFRthyRFAOCdHfwEFl6E5AsGjDJWXhy5gB+f2t0=\"\n}"
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":121,"timestamp":1607395093660,"id":4,"parentId":1,"tags":{},"startTime":1767226548388,"traceId":"d5ea82e5d44b2c76"},{"name":"load-custom-routes","duration":170,"timestamp":1607395093826,"id":5,"parentId":1,"tags":{},"startTime":1767226548388,"traceId":"d5ea82e5d44b2c76"},{"name":"create-dist-dir","duration":917,"timestamp":1607395214505,"id":6,"parentId":1,"tags":{},"startTime":1767226548509,"traceId":"d5ea82e5d44b2c76"},{"name":"create-pages-mapping","duration":205,"timestamp":1607395564454,"id":7,"parentId":1,"tags":{},"startTime":1767226548859,"traceId":"d5ea82e5d44b2c76"},{"name":"collect-app-files","duration":17541,"timestamp":1607395564723,"id":8,"parentId":1,"tags":{},"startTime":1767226548859,"traceId":"d5ea82e5d44b2c76"},{"name":"create-app-mapping","duration":3746,"timestamp":1607395582288,"id":9,"parentId":1,"tags":{},"startTime":1767226548877,"traceId":"d5ea82e5d44b2c76"},{"name":"create-app-layouts","duration":293,"timestamp":1607395586070,"id":10,"parentId":1,"tags":{},"startTime":1767226548881,"traceId":"d5ea82e5d44b2c76"},{"name":"collect-default-files","duration":1460,"timestamp":1607395588754,"id":12,"parentId":1,"tags":{},"startTime":1767226548883,"traceId":"d5ea82e5d44b2c76"},{"name":"generate-route-types","duration":26639,"timestamp":1607395587339,"id":11,"parentId":1,"tags":{},"startTime":1767226548882,"traceId":"d5ea82e5d44b2c76"},{"name":"public-dir-conflict-check","duration":1980,"timestamp":1607395614088,"id":13,"parentId":1,"tags":{},"startTime":1767226548909,"traceId":"d5ea82e5d44b2c76"},{"name":"generate-routes-manifest","duration":1595,"timestamp":1607395616466,"id":14,"parentId":1,"tags":{},"startTime":1767226548911,"traceId":"d5ea82e5d44b2c76"},{"name":"run-turbopack-compiler","duration":13735767,"timestamp":1607395630316,"id":16,"parentId":1,"tags":{},"startTime":1767226548925,"traceId":"d5ea82e5d44b2c76"},{"name":"verify-and-lint","duration":2026499,"timestamp":1607409539516,"id":19,"parentId":1,"tags":{},"startTime":1767226562834,"traceId":"d5ea82e5d44b2c76"},{"name":"verify-typescript-setup","duration":7023650,"timestamp":1607409532214,"id":18,"parentId":1,"tags":{},"startTime":1767226562827,"traceId":"d5ea82e5d44b2c76"},{"name":"check-static-error-page","duration":5607,"timestamp":1607416570133,"id":22,"parentId":21,"tags":{},"startTime":1767226569865,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":4954,"timestamp":1607416618033,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1767226569913,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":3625,"timestamp":1607416619375,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":3721,"timestamp":1607416619279,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":314126,"timestamp":1607416636848,"id":52,"parentId":42,"tags":{},"startTime":1767226569931,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":335469,"timestamp":1607416619705,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":388270,"timestamp":1607416636639,"id":50,"parentId":30,"tags":{},"startTime":1767226569931,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":405582,"timestamp":1607416619540,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":399250,"timestamp":1607416637368,"id":57,"parentId":35,"tags":{},"startTime":1767226569932,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":416987,"timestamp":1607416619664,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":459016,"timestamp":1607416636923,"id":53,"parentId":45,"tags":{},"startTime":1767226569931,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":477342,"timestamp":1607416619729,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":504671,"timestamp":1607416636814,"id":51,"parentId":33,"tags":{},"startTime":1767226569931,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":521910,"timestamp":1607416619648,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":538292,"timestamp":1607416638235,"id":60,"parentId":46,"tags":{},"startTime":1767226569933,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":556819,"timestamp":1607416619735,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":539420,"timestamp":1607416638297,"id":61,"parentId":47,"tags":{},"startTime":1767226569933,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":557997,"timestamp":1607416619740,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":549709,"timestamp":1607416638344,"id":62,"parentId":48,"tags":{},"startTime":1767226569933,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":568340,"timestamp":1607416619747,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":572370,"timestamp":1607416638376,"id":63,"parentId":26,"tags":{},"startTime":1767226569933,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":591396,"timestamp":1607416619390,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":570584,"timestamp":1607416644625,"id":65,"parentId":27,"tags":{},"startTime":1767226569939,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":595733,"timestamp":1607416619503,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":580199,"timestamp":1607416644643,"id":66,"parentId":29,"tags":{},"startTime":1767226569939,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":605358,"timestamp":1607416619532,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":584890,"timestamp":1607416644648,"id":67,"parentId":32,"tags":{},"startTime":1767226569939,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":609931,"timestamp":1607416619633,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":589625,"timestamp":1607416644650,"id":68,"parentId":34,"tags":{},"startTime":1767226569939,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":614669,"timestamp":1607416619656,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":592900,"timestamp":1607416644653,"id":69,"parentId":41,"tags":{},"startTime":1767226569939,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":617887,"timestamp":1607416619698,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":617921,"timestamp":1607416644655,"id":70,"parentId":43,"tags":{},"startTime":1767226569939,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":642894,"timestamp":1607416619710,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":624858,"timestamp":1607416645064,"id":71,"parentId":31,"tags":{},"startTime":1767226569940,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":650330,"timestamp":1607416619620,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":638157,"timestamp":1607416645125,"id":72,"parentId":28,"tags":{},"startTime":1767226569940,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":664347,"timestamp":1607416619523,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":647435,"timestamp":1607416645196,"id":73,"parentId":49,"tags":{},"startTime":1767226569940,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":672903,"timestamp":1607416619751,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":780391,"timestamp":1607416637092,"id":54,"parentId":36,"tags":{},"startTime":1767226569932,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":797907,"timestamp":1607416619670,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":831375,"timestamp":1607416637882,"id":59,"parentId":38,"tags":{},"startTime":1767226569932,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":850526,"timestamp":1607416619681,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":850847,"timestamp":1607416637116,"id":55,"parentId":39,"tags":{},"startTime":1767226569932,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":868305,"timestamp":1607416619688,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":850583,"timestamp":1607416637442,"id":58,"parentId":37,"tags":{},"startTime":1767226569932,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":868354,"timestamp":1607416619676,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":871322,"timestamp":1607416637125,"id":56,"parentId":40,"tags":{},"startTime":1767226569932,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":888812,"timestamp":1607416619693,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"is-page-static","duration":867852,"timestamp":1607416644241,"id":64,"parentId":44,"tags":{},"startTime":1767226569939,"traceId":"d5ea82e5d44b2c76"},{"name":"check-page","duration":892546,"timestamp":1607416619723,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1767226569914,"traceId":"d5ea82e5d44b2c76"},{"name":"static-check","duration":943143,"timestamp":1607416569179,"id":21,"parentId":1,"tags":{},"startTime":1767226569864,"traceId":"d5ea82e5d44b2c76"},{"name":"generate-required-server-files","duration":3053,"timestamp":1607417514908,"id":75,"parentId":1,"tags":{},"startTime":1767226570809,"traceId":"d5ea82e5d44b2c76"},{"name":"write-routes-manifest","duration":2003,"timestamp":1607417540510,"id":77,"parentId":1,"tags":{},"startTime":1767226570835,"traceId":"d5ea82e5d44b2c76"},{"name":"load-dotenv","duration":16,"timestamp":1607417574751,"id":80,"parentId":79,"tags":{},"startTime":1767226570869,"traceId":"d5ea82e5d44b2c76"},{"name":"run-export-path-map","duration":283,"timestamp":1607417780813,"id":81,"parentId":79,"tags":{},"startTime":1767226571075,"traceId":"d5ea82e5d44b2c76"},{"name":"next-export","duration":1415098,"timestamp":1607417574144,"id":79,"parentId":1,"tags":{},"startTime":1767226570869,"traceId":"d5ea82e5d44b2c76"},{"name":"move-exported-app-not-found-","duration":9584,"timestamp":1607418991491,"id":82,"parentId":78,"tags":{},"startTime":1767226572286,"traceId":"d5ea82e5d44b2c76"},{"name":"move-exported-page","duration":75288,"timestamp":1607419001217,"id":83,"parentId":78,"tags":{},"startTime":1767226572296,"traceId":"d5ea82e5d44b2c76"},{"name":"static-generation","duration":2013102,"timestamp":1607417560719,"id":78,"parentId":1,"tags":{},"startTime":1767226570855,"traceId":"d5ea82e5d44b2c76"},{"name":"write-routes-manifest","duration":24559,"timestamp":1607419574078,"id":84,"parentId":1,"tags":{},"startTime":1767226572869,"traceId":"d5ea82e5d44b2c76"},{"name":"node-file-trace-build","duration":3842902,"timestamp":1607417523451,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1767226570818,"traceId":"d5ea82e5d44b2c76"},{"name":"apply-include-excludes","duration":304,"timestamp":1607421366368,"id":85,"parentId":1,"tags":{},"startTime":1767226574661,"traceId":"d5ea82e5d44b2c76"},{"name":"print-tree-view","duration":2403,"timestamp":1607421367043,"id":86,"parentId":1,"tags":{},"startTime":1767226574662,"traceId":"d5ea82e5d44b2c76"},{"name":"telemetry-flush","duration":25,"timestamp":1607421369454,"id":87,"parentId":1,"tags":{},"startTime":1767226574664,"traceId":"d5ea82e5d44b2c76"},{"name":"next-build","duration":26724882,"timestamp":1607394644599,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.9","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1767226547939,"traceId":"d5ea82e5d44b2c76"}]
|
|
1
|
+
[{"name":"generate-buildid","duration":114,"timestamp":283346951232,"id":4,"parentId":1,"tags":{},"startTime":1770443841786,"traceId":"c3182a08fec5cea4"},{"name":"load-custom-routes","duration":169,"timestamp":283346951392,"id":5,"parentId":1,"tags":{},"startTime":1770443841786,"traceId":"c3182a08fec5cea4"},{"name":"create-dist-dir","duration":643,"timestamp":283347144820,"id":6,"parentId":1,"tags":{},"startTime":1770443841979,"traceId":"c3182a08fec5cea4"},{"name":"create-pages-mapping","duration":210,"timestamp":283347523312,"id":7,"parentId":1,"tags":{},"startTime":1770443842358,"traceId":"c3182a08fec5cea4"},{"name":"collect-app-files","duration":15223,"timestamp":283347523554,"id":8,"parentId":1,"tags":{},"startTime":1770443842358,"traceId":"c3182a08fec5cea4"},{"name":"create-app-mapping","duration":1267,"timestamp":283347538828,"id":9,"parentId":1,"tags":{},"startTime":1770443842373,"traceId":"c3182a08fec5cea4"},{"name":"create-app-layouts","duration":201,"timestamp":283347540116,"id":10,"parentId":1,"tags":{},"startTime":1770443842375,"traceId":"c3182a08fec5cea4"},{"name":"collect-default-files","duration":32486,"timestamp":283347546229,"id":12,"parentId":1,"tags":{},"startTime":1770443842381,"traceId":"c3182a08fec5cea4"},{"name":"generate-route-types","duration":135869,"timestamp":283347540650,"id":11,"parentId":1,"tags":{},"startTime":1770443842375,"traceId":"c3182a08fec5cea4"},{"name":"public-dir-conflict-check","duration":2136,"timestamp":283347676645,"id":13,"parentId":1,"tags":{},"startTime":1770443842511,"traceId":"c3182a08fec5cea4"},{"name":"generate-routes-manifest","duration":11386,"timestamp":283347679127,"id":14,"parentId":1,"tags":{},"startTime":1770443842514,"traceId":"c3182a08fec5cea4"},{"name":"run-turbopack-compiler","duration":14333243,"timestamp":283347745564,"id":16,"parentId":1,"tags":{},"startTime":1770443842580,"traceId":"c3182a08fec5cea4"},{"name":"verify-and-lint","duration":1703712,"timestamp":283362099799,"id":19,"parentId":1,"tags":{},"startTime":1770443856934,"traceId":"c3182a08fec5cea4"},{"name":"verify-typescript-setup","duration":5855275,"timestamp":283362097115,"id":18,"parentId":1,"tags":{},"startTime":1770443856932,"traceId":"c3182a08fec5cea4"},{"name":"check-static-error-page","duration":3630,"timestamp":283367964927,"id":22,"parentId":21,"tags":{},"startTime":1770443862799,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":4600,"timestamp":283367990524,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1770443862825,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":4032,"timestamp":283367991106,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":4097,"timestamp":283367991041,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":355046,"timestamp":283368007145,"id":53,"parentId":34,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":370116,"timestamp":283367992144,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":355282,"timestamp":283368007024,"id":51,"parentId":29,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":371074,"timestamp":283367991240,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":355599,"timestamp":283368006860,"id":50,"parentId":27,"tags":{},"startTime":1770443862841,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":371263,"timestamp":283367991205,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":360386,"timestamp":283368007621,"id":58,"parentId":42,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":375843,"timestamp":283367992210,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":365012,"timestamp":283368007054,"id":52,"parentId":32,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":380489,"timestamp":283367991607,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":370460,"timestamp":283368007182,"id":54,"parentId":41,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":389480,"timestamp":283367992199,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":374361,"timestamp":283368007613,"id":57,"parentId":33,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":389860,"timestamp":283367992129,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":378199,"timestamp":283368007773,"id":60,"parentId":31,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":394731,"timestamp":283367991266,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":395806,"timestamp":283368007203,"id":55,"parentId":43,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":410822,"timestamp":283367992215,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":402786,"timestamp":283368007634,"id":59,"parentId":45,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":418245,"timestamp":283367992229,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":406065,"timestamp":283368014488,"id":66,"parentId":28,"tags":{},"startTime":1770443862849,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":429349,"timestamp":283367991231,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":415408,"timestamp":283368014633,"id":67,"parentId":35,"tags":{},"startTime":1770443862849,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":438001,"timestamp":283367992157,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":422945,"timestamp":283368007600,"id":56,"parentId":30,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":439341,"timestamp":283367991248,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":449052,"timestamp":283368014722,"id":68,"parentId":26,"tags":{},"startTime":1770443862849,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":472688,"timestamp":283367991121,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":456099,"timestamp":283368016263,"id":70,"parentId":46,"tags":{},"startTime":1770443862851,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":480150,"timestamp":283367992241,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":466940,"timestamp":283368016310,"id":71,"parentId":47,"tags":{},"startTime":1770443862851,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":491030,"timestamp":283367992246,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":471446,"timestamp":283368016361,"id":72,"parentId":48,"tags":{},"startTime":1770443862851,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":495586,"timestamp":283367992254,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":476979,"timestamp":283368017489,"id":73,"parentId":49,"tags":{},"startTime":1770443862852,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":502258,"timestamp":283367992259,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":704382,"timestamp":283368007826,"id":61,"parentId":37,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":720062,"timestamp":283367992174,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":703938,"timestamp":283368013537,"id":63,"parentId":39,"tags":{},"startTime":1770443862848,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":725325,"timestamp":283367992185,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":712397,"timestamp":283368013552,"id":64,"parentId":36,"tags":{},"startTime":1770443862848,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":733837,"timestamp":283367992163,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":736070,"timestamp":283368013558,"id":65,"parentId":40,"tags":{},"startTime":1770443862848,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":757466,"timestamp":283367992194,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":754268,"timestamp":283368012789,"id":62,"parentId":38,"tags":{},"startTime":1770443862847,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":774910,"timestamp":283367992180,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":759440,"timestamp":283368016182,"id":69,"parentId":44,"tags":{},"startTime":1770443862851,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":783433,"timestamp":283367992223,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"static-check","duration":811940,"timestamp":283367963747,"id":21,"parentId":1,"tags":{},"startTime":1770443862798,"traceId":"c3182a08fec5cea4"},{"name":"generate-required-server-files","duration":306,"timestamp":283368776281,"id":75,"parentId":1,"tags":{},"startTime":1770443863611,"traceId":"c3182a08fec5cea4"},{"name":"write-routes-manifest","duration":1830,"timestamp":283368794854,"id":77,"parentId":1,"tags":{},"startTime":1770443863629,"traceId":"c3182a08fec5cea4"},{"name":"load-dotenv","duration":29,"timestamp":283368814698,"id":80,"parentId":79,"tags":{},"startTime":1770443863649,"traceId":"c3182a08fec5cea4"},{"name":"run-export-path-map","duration":397,"timestamp":283368998906,"id":81,"parentId":79,"tags":{},"startTime":1770443863833,"traceId":"c3182a08fec5cea4"},{"name":"next-export","duration":1265647,"timestamp":283368813663,"id":79,"parentId":1,"tags":{},"startTime":1770443863648,"traceId":"c3182a08fec5cea4"},{"name":"move-exported-app-not-found-","duration":7669,"timestamp":283370080550,"id":82,"parentId":78,"tags":{},"startTime":1770443864915,"traceId":"c3182a08fec5cea4"},{"name":"move-exported-page","duration":44988,"timestamp":283370088331,"id":83,"parentId":78,"tags":{},"startTime":1770443864923,"traceId":"c3182a08fec5cea4"},{"name":"static-generation","duration":1665188,"timestamp":283368809472,"id":78,"parentId":1,"tags":{},"startTime":1770443863644,"traceId":"c3182a08fec5cea4"},{"name":"write-routes-manifest","duration":23736,"timestamp":283370474890,"id":84,"parentId":1,"tags":{},"startTime":1770443865309,"traceId":"c3182a08fec5cea4"},{"name":"node-file-trace-build","duration":3477888,"timestamp":283368780470,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1770443863615,"traceId":"c3182a08fec5cea4"},{"name":"apply-include-excludes","duration":229,"timestamp":283372258371,"id":85,"parentId":1,"tags":{},"startTime":1770443867093,"traceId":"c3182a08fec5cea4"},{"name":"print-tree-view","duration":2155,"timestamp":283372258888,"id":86,"parentId":1,"tags":{},"startTime":1770443867093,"traceId":"c3182a08fec5cea4"},{"name":"telemetry-flush","duration":27,"timestamp":283372261052,"id":87,"parentId":1,"tags":{},"startTime":1770443867096,"traceId":"c3182a08fec5cea4"},{"name":"next-build","duration":26758088,"timestamp":283345502994,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.9","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1770443840337,"traceId":"c3182a08fec5cea4"}]
|
|
@@ -21,6 +21,8 @@ export declare const buildGET: ({ prisma }: {
|
|
|
21
21
|
instructions: string;
|
|
22
22
|
codeInterpreterEnabled: boolean;
|
|
23
23
|
fileSearchEnabled: boolean;
|
|
24
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
25
|
+
truncationLastMessagesCount: number | null;
|
|
24
26
|
createdAt: string;
|
|
25
27
|
updatedAt: string;
|
|
26
28
|
avatar: {
|
|
@@ -40,7 +42,7 @@ export declare const buildGET: ({ prisma }: {
|
|
|
40
42
|
description: string;
|
|
41
43
|
theme: {
|
|
42
44
|
accentColor: "gray" | "gold" | "bronze" | "brown" | "yellow" | "amber" | "orange" | "tomato" | "red" | "ruby" | "crimson" | "pink" | "plum" | "purple" | "violet" | "iris" | "indigo" | "blue" | "cyan" | "teal" | "jade" | "green" | "grass" | "lime" | "mint" | "sky";
|
|
43
|
-
grayColor: "
|
|
45
|
+
grayColor: "gray" | "auto" | "mauve" | "slate" | "sage" | "olive" | "sand";
|
|
44
46
|
appearance: "inherit" | "light" | "dark";
|
|
45
47
|
radius: "small" | "none" | "medium" | "large" | "full";
|
|
46
48
|
scaling: "90%" | "95%" | "100%" | "105%" | "110%";
|
|
@@ -73,6 +75,8 @@ export declare const buildPATCH: ({ prisma }: {
|
|
|
73
75
|
instructions: string;
|
|
74
76
|
codeInterpreterEnabled: boolean;
|
|
75
77
|
fileSearchEnabled: boolean;
|
|
78
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
79
|
+
truncationLastMessagesCount: number | null;
|
|
76
80
|
createdAt: string;
|
|
77
81
|
updatedAt: string;
|
|
78
82
|
avatar: {
|
|
@@ -102,6 +106,8 @@ export declare const buildDELETE: ({ prisma }: {
|
|
|
102
106
|
instructions: string;
|
|
103
107
|
codeInterpreterEnabled: boolean;
|
|
104
108
|
fileSearchEnabled: boolean;
|
|
109
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
110
|
+
truncationLastMessagesCount: number | null;
|
|
105
111
|
createdAt: string;
|
|
106
112
|
updatedAt: string;
|
|
107
113
|
avatar: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../src/app/api/assistants/[assistantId]/buildRoute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../src/app/api/assistants/[assistantId]/buildRoute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,gBAAgB,CAAA;AASvB,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;QACd,WAAW,EAAE,MAAM,CAAA;KACpB,CAAC,CAAA;CACH,CAAA;AAED,eAAO,MAAM,QAAQ,GAClB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2F7C,CAAA;AAEH,eAAO,MAAM,UAAU,GACpB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4L7C,CAAA;AAEH,eAAO,MAAM,WAAW,GACrB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuD9C,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NextResponse } from 'next/server';
|
|
2
|
-
import { StorageProviderType, ApiKeyType, ToolType, } from '@prisma/client';
|
|
2
|
+
import { StorageProviderType, TruncationType, ApiKeyType, ToolType, } from '@prisma/client';
|
|
3
3
|
import { cacheHeaders } from '../../../../lib/cache/cacheHeaders';
|
|
4
4
|
import { workspaceAccessWhere as getWorkspaceAccessWhere } from '../../../../lib/apiKeys/workspaceAccessWhere';
|
|
5
5
|
import { serializeAssistant } from '../../../../lib/assistants/serializeAssistant';
|
|
@@ -101,6 +101,8 @@ export const buildPATCH = ({ prisma }) => async (request, props) => {
|
|
|
101
101
|
instructions: z.string().optional(),
|
|
102
102
|
codeInterpreterEnabled: z.boolean().optional(),
|
|
103
103
|
fileSearchEnabled: z.boolean().optional(),
|
|
104
|
+
truncationType: z.nativeEnum(TruncationType).optional(),
|
|
105
|
+
truncationLastMessagesCount: z.number().int().nullable().optional(),
|
|
104
106
|
})
|
|
105
107
|
.superRefine((data, ctx) => {
|
|
106
108
|
if (!data.storageProviderType)
|
|
@@ -130,7 +132,7 @@ export const buildPATCH = ({ prisma }) => async (request, props) => {
|
|
|
130
132
|
error: 'Invalid body: ' + parseResult.error.message,
|
|
131
133
|
}, { status: 400 });
|
|
132
134
|
}
|
|
133
|
-
const { storageProviderType, storageProviderAssistantId, modelProviderId, model, name, description, instructions, codeInterpreterEnabled, fileSearchEnabled, } = parseResult.data;
|
|
135
|
+
const { storageProviderType, storageProviderAssistantId, modelProviderId, model, name, description, instructions, codeInterpreterEnabled, fileSearchEnabled, truncationType, truncationLastMessagesCount, } = parseResult.data;
|
|
134
136
|
// Fetch existing assistant to determine storage provider type if not provided in update
|
|
135
137
|
const existingAssistant = await prisma.assistant.findUnique({
|
|
136
138
|
where: {
|
|
@@ -145,7 +147,7 @@ export const buildPATCH = ({ prisma }) => async (request, props) => {
|
|
|
145
147
|
return NextResponse.json({ error: 'No assistant found' }, { status: 400 });
|
|
146
148
|
}
|
|
147
149
|
const effectiveStorageProviderType = storageProviderType !== null && storageProviderType !== void 0 ? storageProviderType : existingAssistant.storageProviderType;
|
|
148
|
-
const data = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (storageProviderType !== undefined && { storageProviderType })), (storageProviderAssistantId !== undefined &&
|
|
150
|
+
const data = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (storageProviderType !== undefined && { storageProviderType })), (storageProviderAssistantId !== undefined &&
|
|
149
151
|
(effectiveStorageProviderType === StorageProviderType.AZURE_AGENTS
|
|
150
152
|
? {
|
|
151
153
|
azureAgentsAgentId: storageProviderAssistantId,
|
|
@@ -164,7 +166,7 @@ export const buildPATCH = ({ prisma }) => async (request, props) => {
|
|
|
164
166
|
azureResponsesAgentName: null,
|
|
165
167
|
}))), (modelProviderId !== undefined && {
|
|
166
168
|
modelProvider: { connect: { id: modelProviderId } },
|
|
167
|
-
})), (model !== undefined && { modelSlug: model })), (name !== undefined && { name })), (description !== undefined && { description })), (instructions !== undefined && { instructions })), { tools: {
|
|
169
|
+
})), (model !== undefined && { modelSlug: model })), (name !== undefined && { name })), (description !== undefined && { description })), (instructions !== undefined && { instructions })), (truncationType !== undefined && { truncationType })), (truncationLastMessagesCount !== undefined && { truncationLastMessagesCount })), { tools: {
|
|
168
170
|
create: [
|
|
169
171
|
...(codeInterpreterEnabled === true
|
|
170
172
|
? [
|
|
@@ -16,6 +16,8 @@ export declare const GET: (request: import("next/server").NextRequest, props: {
|
|
|
16
16
|
instructions: string;
|
|
17
17
|
codeInterpreterEnabled: boolean;
|
|
18
18
|
fileSearchEnabled: boolean;
|
|
19
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
20
|
+
truncationLastMessagesCount: number | null;
|
|
19
21
|
createdAt: string;
|
|
20
22
|
updatedAt: string;
|
|
21
23
|
avatar: {
|
|
@@ -35,7 +37,7 @@ export declare const GET: (request: import("next/server").NextRequest, props: {
|
|
|
35
37
|
description: string;
|
|
36
38
|
theme: {
|
|
37
39
|
accentColor: "gray" | "gold" | "bronze" | "brown" | "yellow" | "amber" | "orange" | "tomato" | "red" | "ruby" | "crimson" | "pink" | "plum" | "purple" | "violet" | "iris" | "indigo" | "blue" | "cyan" | "teal" | "jade" | "green" | "grass" | "lime" | "mint" | "sky";
|
|
38
|
-
grayColor: "
|
|
40
|
+
grayColor: "gray" | "auto" | "mauve" | "slate" | "sage" | "olive" | "sand";
|
|
39
41
|
appearance: "inherit" | "light" | "dark";
|
|
40
42
|
radius: "small" | "none" | "medium" | "large" | "full";
|
|
41
43
|
scaling: "90%" | "95%" | "100%" | "105%" | "110%";
|
|
@@ -70,6 +72,8 @@ export declare const PATCH: (request: import("next/server").NextRequest, props:
|
|
|
70
72
|
instructions: string;
|
|
71
73
|
codeInterpreterEnabled: boolean;
|
|
72
74
|
fileSearchEnabled: boolean;
|
|
75
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
76
|
+
truncationLastMessagesCount: number | null;
|
|
73
77
|
createdAt: string;
|
|
74
78
|
updatedAt: string;
|
|
75
79
|
avatar: {
|
|
@@ -101,6 +105,8 @@ export declare const DELETE: (_request: import("next/server").NextRequest, props
|
|
|
101
105
|
instructions: string;
|
|
102
106
|
codeInterpreterEnabled: boolean;
|
|
103
107
|
fileSearchEnabled: boolean;
|
|
108
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
109
|
+
truncationLastMessagesCount: number | null;
|
|
104
110
|
createdAt: string;
|
|
105
111
|
updatedAt: string;
|
|
106
112
|
avatar: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../src/app/api/assistants/[assistantId]/route.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../src/app/api/assistants/[assistantId]/route.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuB,CAAA;AAEvC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyB,CAAA;AAE3C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0B,CAAA;AAE7C,eAAO,MAAM,OAAO,8CAAiB,CAAA"}
|
|
@@ -18,43 +18,57 @@ declare const createAssistantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
18
18
|
instructions: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19
19
|
codeInterpreterEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
20
20
|
fileSearchEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
21
|
+
truncationType: z.ZodOptional<z.ZodNativeEnum<{
|
|
22
|
+
AUTO: "AUTO";
|
|
23
|
+
LAST_MESSAGES: "LAST_MESSAGES";
|
|
24
|
+
DISABLED: "DISABLED";
|
|
25
|
+
}>>;
|
|
26
|
+
truncationLastMessagesCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
27
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
model: string;
|
|
23
28
|
instructions: string;
|
|
24
29
|
description: string;
|
|
25
30
|
modelProviderId: string;
|
|
26
31
|
storageProviderType: "OPENAI" | "AZURE_OPENAI" | "SUPERINTERFACE_CLOUD" | "OPENAI_RESPONSES" | "AZURE_RESPONSES" | "AZURE_AGENTS";
|
|
32
|
+
model: string;
|
|
27
33
|
codeInterpreterEnabled: boolean;
|
|
28
34
|
fileSearchEnabled: boolean;
|
|
29
35
|
name?: string | undefined;
|
|
36
|
+
truncationType?: "AUTO" | "LAST_MESSAGES" | "DISABLED" | undefined;
|
|
37
|
+
truncationLastMessagesCount?: number | null | undefined;
|
|
30
38
|
storageProviderAssistantId?: string | null | undefined;
|
|
31
39
|
}, {
|
|
32
|
-
model: string;
|
|
33
40
|
modelProviderId: string;
|
|
34
41
|
storageProviderType: "OPENAI" | "AZURE_OPENAI" | "SUPERINTERFACE_CLOUD" | "OPENAI_RESPONSES" | "AZURE_RESPONSES" | "AZURE_AGENTS";
|
|
42
|
+
model: string;
|
|
35
43
|
name?: string | undefined;
|
|
36
44
|
instructions?: string | undefined;
|
|
37
45
|
description?: string | undefined;
|
|
46
|
+
truncationType?: "AUTO" | "LAST_MESSAGES" | "DISABLED" | undefined;
|
|
47
|
+
truncationLastMessagesCount?: number | null | undefined;
|
|
38
48
|
storageProviderAssistantId?: string | null | undefined;
|
|
39
49
|
codeInterpreterEnabled?: boolean | undefined;
|
|
40
50
|
fileSearchEnabled?: boolean | undefined;
|
|
41
51
|
}>, {
|
|
42
|
-
model: string;
|
|
43
52
|
instructions: string;
|
|
44
53
|
description: string;
|
|
45
54
|
modelProviderId: string;
|
|
46
55
|
storageProviderType: "OPENAI" | "AZURE_OPENAI" | "SUPERINTERFACE_CLOUD" | "OPENAI_RESPONSES" | "AZURE_RESPONSES" | "AZURE_AGENTS";
|
|
56
|
+
model: string;
|
|
47
57
|
codeInterpreterEnabled: boolean;
|
|
48
58
|
fileSearchEnabled: boolean;
|
|
49
59
|
name?: string | undefined;
|
|
60
|
+
truncationType?: "AUTO" | "LAST_MESSAGES" | "DISABLED" | undefined;
|
|
61
|
+
truncationLastMessagesCount?: number | null | undefined;
|
|
50
62
|
storageProviderAssistantId?: string | null | undefined;
|
|
51
63
|
}, {
|
|
52
|
-
model: string;
|
|
53
64
|
modelProviderId: string;
|
|
54
65
|
storageProviderType: "OPENAI" | "AZURE_OPENAI" | "SUPERINTERFACE_CLOUD" | "OPENAI_RESPONSES" | "AZURE_RESPONSES" | "AZURE_AGENTS";
|
|
66
|
+
model: string;
|
|
55
67
|
name?: string | undefined;
|
|
56
68
|
instructions?: string | undefined;
|
|
57
69
|
description?: string | undefined;
|
|
70
|
+
truncationType?: "AUTO" | "LAST_MESSAGES" | "DISABLED" | undefined;
|
|
71
|
+
truncationLastMessagesCount?: number | null | undefined;
|
|
58
72
|
storageProviderAssistantId?: string | null | undefined;
|
|
59
73
|
codeInterpreterEnabled?: boolean | undefined;
|
|
60
74
|
fileSearchEnabled?: boolean | undefined;
|
|
@@ -75,6 +89,8 @@ export declare const buildGET: ({ prisma }: {
|
|
|
75
89
|
instructions: string;
|
|
76
90
|
codeInterpreterEnabled: boolean;
|
|
77
91
|
fileSearchEnabled: boolean;
|
|
92
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
93
|
+
truncationLastMessagesCount: number | null;
|
|
78
94
|
createdAt: string;
|
|
79
95
|
updatedAt: string;
|
|
80
96
|
avatar: {
|
|
@@ -104,6 +120,8 @@ export declare const buildPOST: ({ prisma }: {
|
|
|
104
120
|
instructions: string;
|
|
105
121
|
codeInterpreterEnabled: boolean;
|
|
106
122
|
fileSearchEnabled: boolean;
|
|
123
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
124
|
+
truncationLastMessagesCount: number | null;
|
|
107
125
|
createdAt: string;
|
|
108
126
|
updatedAt: string;
|
|
109
127
|
avatar: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../src/app/api/assistants/buildRoute.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../src/app/api/assistants/buildRoute.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,YAAY,EAClB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsCvB,CAAA;AAEJ,eAAO,MAAM,QAAQ,GAClB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CpC,CAAA;AAEH,eAAO,MAAM,SAAS,GACnB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyGtB,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA;AAEH,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { headers } from 'next/headers';
|
|
2
|
-
import { ApiKeyType, StorageProviderType, ToolType, } from '@prisma/client';
|
|
2
|
+
import { ApiKeyType, StorageProviderType, TruncationType, ToolType, } from '@prisma/client';
|
|
3
3
|
import { NextResponse } from 'next/server';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { cacheHeaders } from '../../../lib/cache/cacheHeaders';
|
|
@@ -16,6 +16,8 @@ const createAssistantSchema = z
|
|
|
16
16
|
instructions: z.string().optional().default(''),
|
|
17
17
|
codeInterpreterEnabled: z.boolean().optional().default(false),
|
|
18
18
|
fileSearchEnabled: z.boolean().optional().default(false),
|
|
19
|
+
truncationType: z.nativeEnum(TruncationType).optional(),
|
|
20
|
+
truncationLastMessagesCount: z.number().int().nullable().optional(),
|
|
19
21
|
})
|
|
20
22
|
.superRefine((data, ctx) => {
|
|
21
23
|
if (data.storageProviderType === StorageProviderType.SUPERINTERFACE_CLOUD &&
|
|
@@ -87,17 +89,17 @@ export const buildPOST = ({ prisma }) => async (request) => {
|
|
|
87
89
|
error: `Missing required fields. ${JSON.stringify(parseResult.error.format())}`,
|
|
88
90
|
}, { status: 400 });
|
|
89
91
|
}
|
|
90
|
-
const { storageProviderType, storageProviderAssistantId, modelProviderId, model, name, description, instructions, codeInterpreterEnabled, fileSearchEnabled, } = parseResult.data;
|
|
92
|
+
const { storageProviderType, storageProviderAssistantId, modelProviderId, model, name, description, instructions, codeInterpreterEnabled, fileSearchEnabled, truncationType, truncationLastMessagesCount, } = parseResult.data;
|
|
91
93
|
const workspaceId = privateApiKey.workspaceId;
|
|
92
94
|
const assistant = await prisma.assistant.create({
|
|
93
|
-
data: Object.assign(Object.assign({ workspace: { connect: { id: workspaceId } }, modelProvider: { connect: { id: modelProviderId } }, modelSlug: model, name,
|
|
95
|
+
data: Object.assign(Object.assign(Object.assign(Object.assign({ workspace: { connect: { id: workspaceId } }, modelProvider: { connect: { id: modelProviderId } }, modelSlug: model, name,
|
|
94
96
|
description,
|
|
95
97
|
instructions,
|
|
96
98
|
storageProviderType }, (storageProviderType === StorageProviderType.AZURE_AGENTS
|
|
97
99
|
? { azureAgentsAgentId: storageProviderAssistantId !== null && storageProviderAssistantId !== void 0 ? storageProviderAssistantId : null }
|
|
98
100
|
: storageProviderType === StorageProviderType.AZURE_RESPONSES
|
|
99
101
|
? { azureResponsesAgentName: storageProviderAssistantId !== null && storageProviderAssistantId !== void 0 ? storageProviderAssistantId : null }
|
|
100
|
-
: { openaiAssistantId: storageProviderAssistantId !== null && storageProviderAssistantId !== void 0 ? storageProviderAssistantId : null })), { tools: {
|
|
102
|
+
: { openaiAssistantId: storageProviderAssistantId !== null && storageProviderAssistantId !== void 0 ? storageProviderAssistantId : null })), (truncationType !== undefined && { truncationType })), (truncationLastMessagesCount !== undefined && { truncationLastMessagesCount })), { tools: {
|
|
101
103
|
create: [
|
|
102
104
|
...(fileSearchEnabled
|
|
103
105
|
? [
|
|
@@ -14,6 +14,8 @@ export declare const GET: () => Promise<import("next/server").NextResponse<{
|
|
|
14
14
|
instructions: string;
|
|
15
15
|
codeInterpreterEnabled: boolean;
|
|
16
16
|
fileSearchEnabled: boolean;
|
|
17
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
18
|
+
truncationLastMessagesCount: number | null;
|
|
17
19
|
createdAt: string;
|
|
18
20
|
updatedAt: string;
|
|
19
21
|
avatar: {
|
|
@@ -41,6 +43,8 @@ export declare const POST: (request: Request) => Promise<import("next/server").N
|
|
|
41
43
|
instructions: string;
|
|
42
44
|
codeInterpreterEnabled: boolean;
|
|
43
45
|
fileSearchEnabled: boolean;
|
|
46
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
47
|
+
truncationLastMessagesCount: number | null;
|
|
44
48
|
createdAt: string;
|
|
45
49
|
updatedAt: string;
|
|
46
50
|
avatar: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../src/app/api/assistants/route.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,qBAAqB,EACtB,MAAM,cAAc,CAAA;AAErB,OAAO,EAAE,qBAAqB,EAAE,CAAA;AAEhC,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../src/app/api/assistants/route.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,qBAAqB,EACtB,MAAM,cAAc,CAAA;AAErB,OAAO,EAAE,qBAAqB,EAAE,CAAA;AAEhC,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuB,CAAA;AAEvC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwB,CAAA;AAEzC,eAAO,MAAM,OAAO,8CAAiB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/assistants/assistantClientAdapter/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EACL,YAAY,EACZ,MAAM,EAEN,MAAM,EACP,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/assistants/assistantClientAdapter/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EACL,YAAY,EACZ,MAAM,EAEN,MAAM,EACP,MAAM,gBAAgB,CAAA;AA8JvB,eAAO,MAAM,sBAAsB,GAAI,gCAIpC;IACD,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QACpC,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,OAAO,EAAE;oBACP,cAAc,EAAE,IAAI,CAAA;oBACpB,aAAa,EAAE,IAAI,CAAA;oBACnB,mBAAmB,EAAE,IAAI,CAAA;oBACzB,mBAAmB,EAAE,IAAI,CAAA;oBACzB,eAAe,EAAE,IAAI,CAAA;iBACtB,CAAA;aACF,CAAA;YACD,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,eAAe,EAAE,IAAI,CAAA;oBACrB,cAAc,EAAE,IAAI,CAAA;oBACpB,YAAY,EAAE,IAAI,CAAA;oBAClB,aAAa,EAAE,IAAI,CAAA;iBACpB,CAAA;aACF,CAAA;YACD,SAAS,EAAE,IAAI,CAAA;YACf,aAAa,EAAE,IAAI,CAAA;SACpB,CAAA;KACF,CAAC,CAAA;IACF,MAAM,EAAE,YAAY,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB,KAAG,MAiBqB,CAAA"}
|
|
@@ -22,6 +22,8 @@ export declare const serializeApiAssistant: ({ assistant, }: {
|
|
|
22
22
|
instructions: string;
|
|
23
23
|
codeInterpreterEnabled: boolean;
|
|
24
24
|
fileSearchEnabled: boolean;
|
|
25
|
+
truncationType: import("@prisma/client").$Enums.TruncationType;
|
|
26
|
+
truncationLastMessagesCount: number | null;
|
|
25
27
|
createdAt: string;
|
|
26
28
|
updatedAt: string;
|
|
27
29
|
avatar: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializeApiAssistant.d.ts","sourceRoot":"","sources":["../../../src/lib/assistants/serializeApiAssistant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAK5C,eAAO,MAAM,qBAAqB,GAAI,gBAEnC;IACD,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QACpC,OAAO,EAAE;YACP,KAAK,EAAE,IAAI,CAAA;YACX,MAAM,EAAE;gBACN,OAAO,EAAE;oBACP,UAAU,EAAE,IAAI,CAAA;oBAChB,WAAW,EAAE,IAAI,CAAA;iBAClB,CAAA;aACF,CAAA;SACF,CAAA;KACF,CAAC,CAAA;CACH
|
|
1
|
+
{"version":3,"file":"serializeApiAssistant.d.ts","sourceRoot":"","sources":["../../../src/lib/assistants/serializeApiAssistant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAK5C,eAAO,MAAM,qBAAqB,GAAI,gBAEnC;IACD,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QACpC,OAAO,EAAE;YACP,KAAK,EAAE,IAAI,CAAA;YACX,MAAM,EAAE;gBACN,OAAO,EAAE;oBACP,UAAU,EAAE,IAAI,CAAA;oBAChB,WAAW,EAAE,IAAI,CAAA;iBAClB,CAAA;aACF,CAAA;SACF,CAAA;KACF,CAAC,CAAA;CACH;;;;;;;;;;;;;;;;;;;;;;;;CA2BC,CAAA"}
|
|
@@ -18,6 +18,8 @@ export const serializeApiAssistant = ({ assistant, }) => {
|
|
|
18
18
|
instructions: assistant.instructions,
|
|
19
19
|
codeInterpreterEnabled: assistant.tools.some((tool) => tool.type === ToolType.CODE_INTERPRETER),
|
|
20
20
|
fileSearchEnabled: assistant.tools.some((tool) => tool.type === ToolType.FILE_SEARCH),
|
|
21
|
+
truncationType: assistant.truncationType,
|
|
22
|
+
truncationLastMessagesCount: assistant.truncationLastMessagesCount,
|
|
21
23
|
createdAt: assistant.createdAt.toISOString(),
|
|
22
24
|
updatedAt: assistant.updatedAt.toISOString(),
|
|
23
25
|
avatar: serializeAvatar({
|
|
@@ -41,17 +41,17 @@ export declare const handleComputerCall: ({ assistant, toolCall, thread, prisma,
|
|
|
41
41
|
} | undefined;
|
|
42
42
|
} | {
|
|
43
43
|
[x: string]: unknown;
|
|
44
|
+
mimeType: string;
|
|
44
45
|
type: "image";
|
|
45
46
|
data: string;
|
|
46
|
-
mimeType: string;
|
|
47
47
|
_meta?: {
|
|
48
48
|
[x: string]: unknown;
|
|
49
49
|
} | undefined;
|
|
50
50
|
} | {
|
|
51
51
|
[x: string]: unknown;
|
|
52
|
+
mimeType: string;
|
|
52
53
|
type: "audio";
|
|
53
54
|
data: string;
|
|
54
|
-
mimeType: string;
|
|
55
55
|
_meta?: {
|
|
56
56
|
[x: string]: unknown;
|
|
57
57
|
} | undefined;
|
|
@@ -62,9 +62,6 @@ export declare const handleComputerCall: ({ assistant, toolCall, thread, prisma,
|
|
|
62
62
|
uri: string;
|
|
63
63
|
description?: string | undefined;
|
|
64
64
|
title?: string | undefined;
|
|
65
|
-
_meta?: {
|
|
66
|
-
[x: string]: unknown;
|
|
67
|
-
} | undefined;
|
|
68
65
|
icons?: {
|
|
69
66
|
[x: string]: unknown;
|
|
70
67
|
src: string;
|
|
@@ -72,6 +69,9 @@ export declare const handleComputerCall: ({ assistant, toolCall, thread, prisma,
|
|
|
72
69
|
sizes?: string[] | undefined;
|
|
73
70
|
}[] | undefined;
|
|
74
71
|
mimeType?: string | undefined;
|
|
72
|
+
_meta?: {
|
|
73
|
+
[x: string]: unknown;
|
|
74
|
+
} | undefined;
|
|
75
75
|
} | {
|
|
76
76
|
[x: string]: unknown;
|
|
77
77
|
type: "resource";
|
|
@@ -79,18 +79,18 @@ export declare const handleComputerCall: ({ assistant, toolCall, thread, prisma,
|
|
|
79
79
|
[x: string]: unknown;
|
|
80
80
|
text: string;
|
|
81
81
|
uri: string;
|
|
82
|
+
mimeType?: string | undefined;
|
|
82
83
|
_meta?: {
|
|
83
84
|
[x: string]: unknown;
|
|
84
85
|
} | undefined;
|
|
85
|
-
mimeType?: string | undefined;
|
|
86
86
|
} | {
|
|
87
87
|
[x: string]: unknown;
|
|
88
|
-
blob: string;
|
|
89
88
|
uri: string;
|
|
89
|
+
blob: string;
|
|
90
|
+
mimeType?: string | undefined;
|
|
90
91
|
_meta?: {
|
|
91
92
|
[x: string]: unknown;
|
|
92
93
|
} | undefined;
|
|
93
|
-
mimeType?: string | undefined;
|
|
94
94
|
};
|
|
95
95
|
_meta?: {
|
|
96
96
|
[x: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/computerCalls/handleComputerCall/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAA;AAC3B,OAAO,EAEL,MAAM,EACN,MAAM,EAKN,KAAK,YAAY,EAClB,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/computerCalls/handleComputerCall/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAA;AAC3B,OAAO,EAEL,MAAM,EACN,MAAM,EAKN,KAAK,YAAY,EAClB,MAAM,gBAAgB,CAAA;AAyDvB,eAAO,MAAM,kBAAkB,GAAU,0CAKtC;IACD,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QACpC,OAAO,EAAE;YACP,aAAa,EAAE,IAAI,CAAA;YACnB,KAAK,EAAE;gBACL,OAAO,EAAE;oBACP,eAAe,EAAE;wBACf,OAAO,EAAE;4BACP,SAAS,EAAE;gCACT,OAAO,EAAE;oCACP,cAAc,EAAE,IAAI,CAAA;oCACpB,YAAY,EAAE,IAAI,CAAA;oCAClB,aAAa,EAAE,IAAI,CAAA;iCACpB,CAAA;6BACF,CAAA;yBACF,CAAA;qBACF,CAAA;iBACF,CAAA;aACF,CAAA;SACF,CAAA;KACF,CAAC,CAAA;IACF,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,CAAA;IACjE,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,YAAY,CAAA;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiHA,CAAA"}
|