@superinterface/server 1.0.39 → 1.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +2 -2
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/eslint/.cache_btwyo7 +1 -1
  5. package/.next/fallback-build-manifest.json +2 -2
  6. package/.next/server/app/_not-found.html +1 -1
  7. package/.next/server/app/_not-found.rsc +1 -1
  8. package/.next/server/app/index.html +1 -1
  9. package/.next/server/app/index.rsc +1 -1
  10. package/.next/server/chunks/[root-of-the-server]__441cee00._.js +1 -1
  11. package/.next/server/chunks/[root-of-the-server]__441cee00._.js.map +1 -1
  12. package/.next/server/chunks/[root-of-the-server]__eb816e13._.js +1 -1
  13. package/.next/server/chunks/[root-of-the-server]__eb816e13._.js.map +1 -1
  14. package/.next/server/chunks/supercorp_superinterface_bebd2c96._.js +1 -1
  15. package/.next/server/chunks/supercorp_superinterface_bebd2c96._.js.map +1 -1
  16. package/.next/server/pages/404.html +1 -1
  17. package/.next/server/pages/500.html +1 -1
  18. package/.next/trace +1 -1
  19. package/dist/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/buildRoute.d.ts +6 -0
  20. package/dist/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/buildRoute.d.ts.map +1 -1
  21. package/dist/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/buildRoute.js +13 -2
  22. package/dist/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/route.d.ts +6 -0
  23. package/dist/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/route.d.ts.map +1 -1
  24. package/dist/app/api/assistants/[assistantId]/mcp-servers/buildRoute.d.ts +4 -0
  25. package/dist/app/api/assistants/[assistantId]/mcp-servers/buildRoute.d.ts.map +1 -1
  26. package/dist/app/api/assistants/[assistantId]/mcp-servers/buildRoute.js +13 -2
  27. package/dist/app/api/assistants/[assistantId]/mcp-servers/route.d.ts +4 -0
  28. package/dist/app/api/assistants/[assistantId]/mcp-servers/route.d.ts.map +1 -1
  29. package/dist/lib/mcpServers/mcpServerSchema.d.ts +16 -0
  30. package/dist/lib/mcpServers/mcpServerSchema.d.ts.map +1 -1
  31. package/dist/lib/mcpServers/mcpServerSchema.js +3 -0
  32. package/dist/lib/mcpServers/serializeApiMcpServer.d.ts +2 -0
  33. package/dist/lib/mcpServers/serializeApiMcpServer.d.ts.map +1 -1
  34. package/dist/lib/mcpServers/serializeApiMcpServer.js +2 -0
  35. package/dist/lib/tools/tools/index.d.ts.map +1 -1
  36. package/dist/lib/tools/tools/index.js +10 -9
  37. package/package.json +1 -1
  38. package/prisma/McpServer.prisma +2 -0
  39. package/prisma/migrations/20251016001510_add_mcp_server_name_description/migration.sql +3 -0
  40. /package/.next/static/{KSqaVkql-hTCPJn2akzn5 → wuIqo1AC4IH0KlhrbfHcA}/_buildManifest.js +0 -0
  41. /package/.next/static/{KSqaVkql-hTCPJn2akzn5 → wuIqo1AC4IH0KlhrbfHcA}/_clientMiddlewareManifest.json +0 -0
  42. /package/.next/static/{KSqaVkql-hTCPJn2akzn5 → wuIqo1AC4IH0KlhrbfHcA}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><!--KSqaVkql_hTCPJn2akzn5--><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/079ce3572ffa07f6.js" async=""></script><script src="/_next/static/chunks/4649e58e35bcde4b.js" async=""></script><script src="/_next/static/chunks/turbopack-11882cf18a9eb231.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,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/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\":\"KSqaVkql-hTCPJn2akzn5\",\"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
+ <!DOCTYPE html><!--wuIqo1AC4IH0KlhrbfHcA--><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/079ce3572ffa07f6.js" async=""></script><script src="/_next/static/chunks/4649e58e35bcde4b.js" async=""></script><script src="/_next/static/chunks/turbopack-11882cf18a9eb231.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,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/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\":\"wuIqo1AC4IH0KlhrbfHcA\",\"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/bd1a5816a611d718.js" defer=""></script><script src="/_next/static/chunks/turbopack-3bdbb570d8566903.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-67ff8c1c5b1ad9a8.js" defer=""></script><script src="/_next/static/KSqaVkql-hTCPJn2akzn5/_ssgManifest.js" defer=""></script><script src="/_next/static/KSqaVkql-hTCPJn2akzn5/_buildManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="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":"KSqaVkql-hTCPJn2akzn5","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
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/bd1a5816a611d718.js" defer=""></script><script src="/_next/static/chunks/turbopack-3bdbb570d8566903.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-67ff8c1c5b1ad9a8.js" defer=""></script><script src="/_next/static/wuIqo1AC4IH0KlhrbfHcA/_ssgManifest.js" defer=""></script><script src="/_next/static/wuIqo1AC4IH0KlhrbfHcA/_buildManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="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":"wuIqo1AC4IH0KlhrbfHcA","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
package/.next/trace CHANGED
@@ -1 +1 @@
1
- [{"name":"generate-buildid","duration":285,"timestamp":677954354190,"id":4,"parentId":1,"tags":{},"startTime":1760569468607,"traceId":"bfaa57a6523e8fd3"},{"name":"load-custom-routes","duration":176,"timestamp":677954354534,"id":5,"parentId":1,"tags":{},"startTime":1760569468607,"traceId":"bfaa57a6523e8fd3"},{"name":"create-dist-dir","duration":1646,"timestamp":677954410953,"id":6,"parentId":1,"tags":{},"startTime":1760569468663,"traceId":"bfaa57a6523e8fd3"},{"name":"create-pages-mapping","duration":171,"timestamp":677954679559,"id":7,"parentId":1,"tags":{},"startTime":1760569468932,"traceId":"bfaa57a6523e8fd3"},{"name":"collect-app-files","duration":3026,"timestamp":677954679756,"id":8,"parentId":1,"tags":{},"startTime":1760569468932,"traceId":"bfaa57a6523e8fd3"},{"name":"create-app-mapping","duration":872,"timestamp":677954682805,"id":9,"parentId":1,"tags":{},"startTime":1760569468935,"traceId":"bfaa57a6523e8fd3"},{"name":"create-app-layouts","duration":182,"timestamp":677954683692,"id":10,"parentId":1,"tags":{},"startTime":1760569468936,"traceId":"bfaa57a6523e8fd3"},{"name":"collect-default-files","duration":2058,"timestamp":677954685044,"id":12,"parentId":1,"tags":{},"startTime":1760569468938,"traceId":"bfaa57a6523e8fd3"},{"name":"generate-route-types","duration":16344,"timestamp":677954684205,"id":11,"parentId":1,"tags":{},"startTime":1760569468937,"traceId":"bfaa57a6523e8fd3"},{"name":"public-dir-conflict-check","duration":392,"timestamp":677954700630,"id":13,"parentId":1,"tags":{},"startTime":1760569468953,"traceId":"bfaa57a6523e8fd3"},{"name":"generate-routes-manifest","duration":1452,"timestamp":677954701174,"id":14,"parentId":1,"tags":{},"startTime":1760569468954,"traceId":"bfaa57a6523e8fd3"},{"name":"run-turbopack-compiler","duration":7502231,"timestamp":677954705615,"id":16,"parentId":1,"tags":{},"startTime":1760569468958,"traceId":"bfaa57a6523e8fd3"},{"name":"verify-and-lint","duration":1899720,"timestamp":677962234204,"id":19,"parentId":1,"tags":{},"startTime":1760569476487,"traceId":"bfaa57a6523e8fd3"},{"name":"verify-typescript-setup","duration":5173168,"timestamp":677962227498,"id":18,"parentId":1,"tags":{},"startTime":1760569476480,"traceId":"bfaa57a6523e8fd3"},{"name":"check-static-error-page","duration":2074,"timestamp":677967419862,"id":22,"parentId":21,"tags":{},"startTime":1760569481672,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":2171,"timestamp":677967480888,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1760569481733,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":1704,"timestamp":677967481369,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":1755,"timestamp":677967481319,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":319266,"timestamp":677967487150,"id":50,"parentId":29,"tags":{},"startTime":1760569481740,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":324993,"timestamp":677967481457,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":319227,"timestamp":677967487302,"id":52,"parentId":34,"tags":{},"startTime":1760569481740,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":324971,"timestamp":677967481565,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":322382,"timestamp":677967487425,"id":54,"parentId":41,"tags":{},"startTime":1760569481740,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":328267,"timestamp":677967481599,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":322590,"timestamp":677967487390,"id":53,"parentId":27,"tags":{},"startTime":1760569481740,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":328560,"timestamp":677967481435,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":325409,"timestamp":677967488240,"id":58,"parentId":33,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":332113,"timestamp":677967481558,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":329504,"timestamp":677967488249,"id":59,"parentId":42,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":336229,"timestamp":677967481604,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":335398,"timestamp":677967488227,"id":57,"parentId":30,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":342208,"timestamp":677967481467,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":336314,"timestamp":677967487446,"id":55,"parentId":43,"tags":{},"startTime":1760569481740,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":342165,"timestamp":677967481608,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":336312,"timestamp":677967487523,"id":56,"parentId":31,"tags":{},"startTime":1760569481740,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":342316,"timestamp":677967481533,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":346911,"timestamp":677967488262,"id":60,"parentId":45,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":353606,"timestamp":677967481618,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":348024,"timestamp":677967487272,"id":51,"parentId":32,"tags":{},"startTime":1760569481740,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":353776,"timestamp":677967481546,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":355604,"timestamp":677967488552,"id":66,"parentId":35,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":362612,"timestamp":677967481571,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":361673,"timestamp":677967494884,"id":68,"parentId":46,"tags":{},"startTime":1760569481747,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":375025,"timestamp":677967481622,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":368463,"timestamp":677967488320,"id":61,"parentId":28,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":375354,"timestamp":677967481449,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":369678,"timestamp":677967494958,"id":70,"parentId":47,"tags":{},"startTime":1760569481748,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":383035,"timestamp":677967481627,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":373522,"timestamp":677967495002,"id":71,"parentId":48,"tags":{},"startTime":1760569481748,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":386938,"timestamp":677967481631,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":387510,"timestamp":677967494905,"id":69,"parentId":26,"tags":{},"startTime":1760569481747,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":401076,"timestamp":677967481383,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":395335,"timestamp":677967503457,"id":73,"parentId":49,"tags":{},"startTime":1760569481756,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":417178,"timestamp":677967481636,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":500079,"timestamp":677967488391,"id":63,"parentId":39,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":506948,"timestamp":677967481590,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":517436,"timestamp":677967488388,"id":62,"parentId":36,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":524275,"timestamp":677967481576,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":535696,"timestamp":677967488394,"id":64,"parentId":40,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":542523,"timestamp":677967481595,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":548395,"timestamp":677967488504,"id":65,"parentId":37,"tags":{},"startTime":1760569481741,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":555346,"timestamp":677967481581,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":567140,"timestamp":677967494636,"id":67,"parentId":44,"tags":{},"startTime":1760569481747,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":580190,"timestamp":677967481613,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"is-page-static","duration":574047,"timestamp":677967500571,"id":72,"parentId":38,"tags":{},"startTime":1760569481753,"traceId":"bfaa57a6523e8fd3"},{"name":"check-page","duration":593060,"timestamp":677967481585,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1760569481734,"traceId":"bfaa57a6523e8fd3"},{"name":"static-check","duration":655383,"timestamp":677967419278,"id":21,"parentId":1,"tags":{},"startTime":1760569481672,"traceId":"bfaa57a6523e8fd3"},{"name":"generate-required-server-files","duration":214,"timestamp":677968074998,"id":75,"parentId":1,"tags":{},"startTime":1760569482328,"traceId":"bfaa57a6523e8fd3"},{"name":"write-routes-manifest","duration":6248,"timestamp":677968082523,"id":77,"parentId":1,"tags":{},"startTime":1760569482335,"traceId":"bfaa57a6523e8fd3"},{"name":"load-dotenv","duration":14,"timestamp":677968102024,"id":80,"parentId":79,"tags":{},"startTime":1760569482355,"traceId":"bfaa57a6523e8fd3"},{"name":"run-export-path-map","duration":312,"timestamp":677968204207,"id":81,"parentId":79,"tags":{},"startTime":1760569482457,"traceId":"bfaa57a6523e8fd3"},{"name":"next-export","duration":913574,"timestamp":677968101537,"id":79,"parentId":1,"tags":{},"startTime":1760569482354,"traceId":"bfaa57a6523e8fd3"},{"name":"move-exported-app-not-found-","duration":155474,"timestamp":677969016143,"id":82,"parentId":78,"tags":{},"startTime":1760569483269,"traceId":"bfaa57a6523e8fd3"},{"name":"move-exported-page","duration":10252,"timestamp":677969171699,"id":83,"parentId":78,"tags":{},"startTime":1760569483424,"traceId":"bfaa57a6523e8fd3"},{"name":"static-generation","duration":1392465,"timestamp":677968098358,"id":78,"parentId":1,"tags":{},"startTime":1760569482351,"traceId":"bfaa57a6523e8fd3"},{"name":"write-routes-manifest","duration":96746,"timestamp":677969491052,"id":84,"parentId":1,"tags":{},"startTime":1760569483744,"traceId":"bfaa57a6523e8fd3"},{"name":"node-file-trace-build","duration":3883496,"timestamp":677968078777,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1760569482331,"traceId":"bfaa57a6523e8fd3"},{"name":"apply-include-excludes","duration":378,"timestamp":677971962323,"id":85,"parentId":1,"tags":{},"startTime":1760569486215,"traceId":"bfaa57a6523e8fd3"},{"name":"print-tree-view","duration":2550,"timestamp":677971963202,"id":86,"parentId":1,"tags":{},"startTime":1760569486216,"traceId":"bfaa57a6523e8fd3"},{"name":"telemetry-flush","duration":45,"timestamp":677971965763,"id":87,"parentId":1,"tags":{},"startTime":1760569486218,"traceId":"bfaa57a6523e8fd3"},{"name":"next-build","duration":18383072,"timestamp":677953582739,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1760569467835,"traceId":"bfaa57a6523e8fd3"}]
1
+ [{"name":"generate-buildid","duration":126,"timestamp":682252296127,"id":4,"parentId":1,"tags":{},"startTime":1760573766609,"traceId":"9ca6badc1dfd1c2e"},{"name":"load-custom-routes","duration":182,"timestamp":682252296302,"id":5,"parentId":1,"tags":{},"startTime":1760573766609,"traceId":"9ca6badc1dfd1c2e"},{"name":"create-dist-dir","duration":962,"timestamp":682252327361,"id":6,"parentId":1,"tags":{},"startTime":1760573766640,"traceId":"9ca6badc1dfd1c2e"},{"name":"create-pages-mapping","duration":107,"timestamp":682252367489,"id":7,"parentId":1,"tags":{},"startTime":1760573766680,"traceId":"9ca6badc1dfd1c2e"},{"name":"collect-app-files","duration":2785,"timestamp":682252367617,"id":8,"parentId":1,"tags":{},"startTime":1760573766680,"traceId":"9ca6badc1dfd1c2e"},{"name":"create-app-mapping","duration":849,"timestamp":682252370420,"id":9,"parentId":1,"tags":{},"startTime":1760573766683,"traceId":"9ca6badc1dfd1c2e"},{"name":"create-app-layouts","duration":188,"timestamp":682252371286,"id":10,"parentId":1,"tags":{},"startTime":1760573766684,"traceId":"9ca6badc1dfd1c2e"},{"name":"collect-default-files","duration":6052,"timestamp":682252380815,"id":12,"parentId":1,"tags":{},"startTime":1760573766694,"traceId":"9ca6badc1dfd1c2e"},{"name":"generate-route-types","duration":31044,"timestamp":682252371828,"id":11,"parentId":1,"tags":{},"startTime":1760573766685,"traceId":"9ca6badc1dfd1c2e"},{"name":"public-dir-conflict-check","duration":887,"timestamp":682252403195,"id":13,"parentId":1,"tags":{},"startTime":1760573766716,"traceId":"9ca6badc1dfd1c2e"},{"name":"generate-routes-manifest","duration":1239,"timestamp":682252404189,"id":14,"parentId":1,"tags":{},"startTime":1760573766717,"traceId":"9ca6badc1dfd1c2e"},{"name":"run-turbopack-compiler","duration":7127427,"timestamp":682252409756,"id":16,"parentId":1,"tags":{},"startTime":1760573766723,"traceId":"9ca6badc1dfd1c2e"},{"name":"verify-and-lint","duration":1826439,"timestamp":682259552380,"id":19,"parentId":1,"tags":{},"startTime":1760573773865,"traceId":"9ca6badc1dfd1c2e"},{"name":"verify-typescript-setup","duration":4595228,"timestamp":682259550018,"id":18,"parentId":1,"tags":{},"startTime":1760573773863,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-static-error-page","duration":2373,"timestamp":682264158119,"id":22,"parentId":21,"tags":{},"startTime":1760573778471,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":4140,"timestamp":682264204131,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1760573778517,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":1999,"timestamp":682264206283,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1760573778519,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":2897,"timestamp":682264205386,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1760573778518,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":207167,"timestamp":682264212324,"id":50,"parentId":26,"tags":{},"startTime":1760573778525,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":213205,"timestamp":682264206325,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1760573778519,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":241175,"timestamp":682264217598,"id":51,"parentId":28,"tags":{},"startTime":1760573778531,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":252332,"timestamp":682264206521,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1760573778519,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":273498,"timestamp":682264219134,"id":54,"parentId":42,"tags":{},"startTime":1760573778532,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":285562,"timestamp":682264207122,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":273774,"timestamp":682264219047,"id":53,"parentId":33,"tags":{},"startTime":1760573778532,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":285938,"timestamp":682264206908,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":275522,"timestamp":682264220861,"id":59,"parentId":35,"tags":{},"startTime":1760573778534,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":289460,"timestamp":682264206956,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":287834,"timestamp":682264219188,"id":55,"parentId":45,"tags":{},"startTime":1760573778532,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":299939,"timestamp":682264207138,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":298880,"timestamp":682264218825,"id":52,"parentId":30,"tags":{},"startTime":1760573778532,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":311202,"timestamp":682264206571,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":304065,"timestamp":682264228407,"id":63,"parentId":46,"tags":{},"startTime":1760573778541,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":325360,"timestamp":682264207143,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":335425,"timestamp":682264228567,"id":64,"parentId":47,"tags":{},"startTime":1760573778542,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":356984,"timestamp":682264207147,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":339275,"timestamp":682264228892,"id":65,"parentId":48,"tags":{},"startTime":1760573778542,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":361040,"timestamp":682264207152,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":343302,"timestamp":682264229795,"id":66,"parentId":27,"tags":{},"startTime":1760573778543,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":366638,"timestamp":682264206482,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1760573778519,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":351364,"timestamp":682264229826,"id":67,"parentId":29,"tags":{},"startTime":1760573778543,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":374723,"timestamp":682264206547,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":356878,"timestamp":682264229829,"id":68,"parentId":32,"tags":{},"startTime":1760573778543,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":379892,"timestamp":682264206842,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":359516,"timestamp":682264229832,"id":69,"parentId":34,"tags":{},"startTime":1760573778543,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":382455,"timestamp":682264206935,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":365063,"timestamp":682264229834,"id":70,"parentId":41,"tags":{},"startTime":1760573778543,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":387832,"timestamp":682264207117,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":382145,"timestamp":682264229837,"id":71,"parentId":43,"tags":{},"startTime":1760573778543,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":404886,"timestamp":682264207127,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":384995,"timestamp":682264229938,"id":72,"parentId":31,"tags":{},"startTime":1760573778543,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":408350,"timestamp":682264206604,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":403821,"timestamp":682264232113,"id":73,"parentId":49,"tags":{},"startTime":1760573778545,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":428829,"timestamp":682264207157,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":556239,"timestamp":682264220312,"id":57,"parentId":39,"tags":{},"startTime":1760573778533,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":569512,"timestamp":682264207105,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":580137,"timestamp":682264220259,"id":56,"parentId":36,"tags":{},"startTime":1760573778533,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":593452,"timestamp":682264206975,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":580085,"timestamp":682264220363,"id":58,"parentId":40,"tags":{},"startTime":1760573778533,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":593342,"timestamp":682264207112,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":598269,"timestamp":682264221040,"id":60,"parentId":37,"tags":{},"startTime":1760573778534,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":612414,"timestamp":682264207083,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":612912,"timestamp":682264228228,"id":62,"parentId":44,"tags":{},"startTime":1760573778541,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":634044,"timestamp":682264207133,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"is-page-static","duration":647439,"timestamp":682264226277,"id":61,"parentId":38,"tags":{},"startTime":1760573778539,"traceId":"9ca6badc1dfd1c2e"},{"name":"check-page","duration":666646,"timestamp":682264207099,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1760573778520,"traceId":"9ca6badc1dfd1c2e"},{"name":"static-check","duration":716195,"timestamp":682264157574,"id":21,"parentId":1,"tags":{},"startTime":1760573778471,"traceId":"9ca6badc1dfd1c2e"},{"name":"generate-required-server-files","duration":270,"timestamp":682264874976,"id":75,"parentId":1,"tags":{},"startTime":1760573779188,"traceId":"9ca6badc1dfd1c2e"},{"name":"write-routes-manifest","duration":694,"timestamp":682264883530,"id":77,"parentId":1,"tags":{},"startTime":1760573779197,"traceId":"9ca6badc1dfd1c2e"},{"name":"load-dotenv","duration":22,"timestamp":682264898518,"id":80,"parentId":79,"tags":{},"startTime":1760573779211,"traceId":"9ca6badc1dfd1c2e"},{"name":"run-export-path-map","duration":261,"timestamp":682265021506,"id":81,"parentId":79,"tags":{},"startTime":1760573779334,"traceId":"9ca6badc1dfd1c2e"},{"name":"next-export","duration":1091411,"timestamp":682264897967,"id":79,"parentId":1,"tags":{},"startTime":1760573779211,"traceId":"9ca6badc1dfd1c2e"},{"name":"move-exported-app-not-found-","duration":7970,"timestamp":682265990386,"id":82,"parentId":78,"tags":{},"startTime":1760573780303,"traceId":"9ca6badc1dfd1c2e"},{"name":"move-exported-page","duration":40776,"timestamp":682265998459,"id":83,"parentId":78,"tags":{},"startTime":1760573780311,"traceId":"9ca6badc1dfd1c2e"},{"name":"static-generation","duration":1477574,"timestamp":682264892820,"id":78,"parentId":1,"tags":{},"startTime":1760573779206,"traceId":"9ca6badc1dfd1c2e"},{"name":"write-routes-manifest","duration":9435,"timestamp":682266370611,"id":84,"parentId":1,"tags":{},"startTime":1760573780684,"traceId":"9ca6badc1dfd1c2e"},{"name":"node-file-trace-build","duration":3804506,"timestamp":682264877642,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1760573779191,"traceId":"9ca6badc1dfd1c2e"},{"name":"apply-include-excludes","duration":280,"timestamp":682268682162,"id":85,"parentId":1,"tags":{},"startTime":1760573782995,"traceId":"9ca6badc1dfd1c2e"},{"name":"print-tree-view","duration":2218,"timestamp":682268682780,"id":86,"parentId":1,"tags":{},"startTime":1760573782996,"traceId":"9ca6badc1dfd1c2e"},{"name":"telemetry-flush","duration":31,"timestamp":682268685008,"id":87,"parentId":1,"tags":{},"startTime":1760573782998,"traceId":"9ca6badc1dfd1c2e"},{"name":"next-build","duration":16659647,"timestamp":682252025396,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1760573766338,"traceId":"9ca6badc1dfd1c2e"}]
@@ -13,6 +13,8 @@ export declare const buildGET: ({ prisma }: {
13
13
  }> | NextResponse<{
14
14
  mcpServer: {
15
15
  id: string;
16
+ name: string | null;
17
+ description: string | null;
16
18
  transportType: import("@prisma/client").$Enums.TransportType;
17
19
  sseTransport: {
18
20
  id: string;
@@ -39,6 +41,8 @@ export declare const buildPATCH: ({ prisma }: {
39
41
  }> | NextResponse<{
40
42
  mcpServer: {
41
43
  id: string;
44
+ name: string | null;
45
+ description: string | null;
42
46
  transportType: import("@prisma/client").$Enums.TransportType;
43
47
  sseTransport: {
44
48
  id: string;
@@ -65,6 +69,8 @@ export declare const buildDELETE: ({ prisma }: {
65
69
  }> | NextResponse<{
66
70
  mcpServer: {
67
71
  id: string;
72
+ name: string | null;
73
+ description: string | null;
68
74
  transportType: import("@prisma/client").$Enums.TransportType;
69
75
  sseTransport: {
70
76
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/buildRoute.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7E,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAA;AAO5D,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAC9D,CAAA;AAuBD,eAAO,MAAM,QAAQ,GAClB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;GAoD9C,CAAA;AAEH,eAAO,MAAM,UAAU,GACpB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;GA2F7C,CAAA;AAEH,eAAO,MAAM,WAAW,GACrB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;GAwD9C,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA"}
1
+ {"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/buildRoute.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7E,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAA;AAO5D,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAC9D,CAAA;AA6BD,eAAO,MAAM,QAAQ,GAClB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;GAoD9C,CAAA;AAEH,eAAO,MAAM,UAAU,GACpB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;GAkG7C,CAAA;AAEH,eAAO,MAAM,WAAW,GACrB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;GAwD9C,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA"}
@@ -6,6 +6,13 @@ import { getApiKey } from '../../../../../../lib/apiKeys/getApiKey';
6
6
  import { validate } from 'uuid';
7
7
  import { serializeApiMcpServer } from '../../../../../../lib/mcpServers/serializeApiMcpServer';
8
8
  import { mcpServerSchema } from '../../../../../../lib/mcpServers/mcpServerSchema';
9
+ const normalizeOptionalString = (value) => {
10
+ if (value === undefined)
11
+ return undefined;
12
+ if (value === null)
13
+ return null;
14
+ return value.trim();
15
+ };
9
16
  const validateIds = ({ assistantId, mcpServerId, }) => {
10
17
  if (!validate(assistantId)) {
11
18
  return NextResponse.json({ error: 'Invalid assistant id' }, { status: 400 });
@@ -76,7 +83,9 @@ export const buildPATCH = ({ prisma }) => async (request, props) => {
76
83
  if (!parsed.success) {
77
84
  return NextResponse.json({ error: 'Invalid payload' }, { status: 400 });
78
85
  }
79
- const { transportType, sseTransport, httpTransport } = parsed.data;
86
+ const { transportType, sseTransport, httpTransport, name, description } = parsed.data;
87
+ const normalizedName = normalizeOptionalString(name);
88
+ const normalizedDescription = normalizeOptionalString(description);
80
89
  const mcpServer = await prisma.mcpServer.findFirst({
81
90
  where: {
82
91
  id: mcpServerId,
@@ -93,7 +102,9 @@ export const buildPATCH = ({ prisma }) => async (request, props) => {
93
102
  where: {
94
103
  id: mcpServerId,
95
104
  },
96
- data: Object.assign(Object.assign({ transportType }, (transportType === TransportType.SSE
105
+ data: Object.assign(Object.assign(Object.assign(Object.assign({ transportType }, (normalizedName !== undefined ? { name: normalizedName } : {})), (normalizedDescription !== undefined
106
+ ? { description: normalizedDescription }
107
+ : {})), (transportType === TransportType.SSE
97
108
  ? {
98
109
  sseTransport: {
99
110
  update: {
@@ -8,6 +8,8 @@ export declare const GET: (_request: import("next/server").NextRequest, props: {
8
8
  }> | import("next/server").NextResponse<{
9
9
  mcpServer: {
10
10
  id: string;
11
+ name: string | null;
12
+ description: string | null;
11
13
  transportType: import("@prisma/client").$Enums.TransportType;
12
14
  sseTransport: {
13
15
  id: string;
@@ -37,6 +39,8 @@ export declare const PATCH: (request: import("next/server").NextRequest, props:
37
39
  }> | import("next/server").NextResponse<{
38
40
  mcpServer: {
39
41
  id: string;
42
+ name: string | null;
43
+ description: string | null;
40
44
  transportType: import("@prisma/client").$Enums.TransportType;
41
45
  sseTransport: {
42
46
  id: string;
@@ -66,6 +70,8 @@ export declare const DELETE: (_request: import("next/server").NextRequest, props
66
70
  }> | import("next/server").NextResponse<{
67
71
  mcpServer: {
68
72
  id: string;
73
+ name: string | null;
74
+ description: string | null;
69
75
  transportType: import("@prisma/client").$Enums.TransportType;
70
76
  sseTransport: {
71
77
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/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"}
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/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"}
@@ -12,6 +12,8 @@ export declare const buildGET: ({ prisma }: {
12
12
  }> | NextResponse<{
13
13
  mcpServers: {
14
14
  id: string;
15
+ name: string | null;
16
+ description: string | null;
15
17
  transportType: import("@prisma/client").$Enums.TransportType;
16
18
  sseTransport: {
17
19
  id: string;
@@ -38,6 +40,8 @@ export declare const buildPOST: ({ prisma }: {
38
40
  }> | NextResponse<{
39
41
  mcpServer: {
40
42
  id: string;
43
+ name: string | null;
44
+ description: string | null;
41
45
  transportType: import("@prisma/client").$Enums.TransportType;
42
46
  sseTransport: {
43
47
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../../src/app/api/assistants/[assistantId]/mcp-servers/buildRoute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,EAA6B,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAO7E,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACzC,CAAA;AAED,eAAO,MAAM,QAAQ,GAClB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;GAuD9C,CAAA;AAEH,eAAO,MAAM,SAAS,GACnB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;GAoF7C,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA"}
1
+ {"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../../src/app/api/assistants/[assistantId]/mcp-servers/buildRoute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,EAA6B,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAO7E,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACzC,CAAA;AAQD,eAAO,MAAM,QAAQ,GAClB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;GAuD9C,CAAA;AAEH,eAAO,MAAM,SAAS,GACnB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;GA2F7C,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA"}
@@ -5,6 +5,13 @@ import { cacheHeaders } from '../../../../../lib/cache/cacheHeaders';
5
5
  import { getApiKey } from '../../../../../lib/apiKeys/getApiKey';
6
6
  import { serializeApiMcpServer } from '../../../../../lib/mcpServers/serializeApiMcpServer';
7
7
  import { mcpServerSchema } from '../../../../../lib/mcpServers/mcpServerSchema';
8
+ const normalizeOptionalString = (value) => {
9
+ if (value === undefined)
10
+ return undefined;
11
+ if (value === null)
12
+ return null;
13
+ return value.trim();
14
+ };
8
15
  export const buildGET = ({ prisma }) => async (_request, props) => {
9
16
  const { assistantId } = await props.params;
10
17
  const headersList = await headers();
@@ -67,7 +74,9 @@ export const buildPOST = ({ prisma }) => async (request, props) => {
67
74
  if (!parsed.success) {
68
75
  return NextResponse.json({ error: 'Invalid payload' }, { status: 400 });
69
76
  }
70
- const { transportType, sseTransport, httpTransport } = parsed.data;
77
+ const { transportType, sseTransport, httpTransport, name, description } = parsed.data;
78
+ const normalizedName = normalizeOptionalString(name);
79
+ const normalizedDescription = normalizeOptionalString(description);
71
80
  const workspaceId = privateApiKey.workspaceId;
72
81
  const assistant = await prisma.assistant.findFirst({
73
82
  where: { id: assistantId, workspaceId },
@@ -76,7 +85,7 @@ export const buildPOST = ({ prisma }) => async (request, props) => {
76
85
  return NextResponse.json({ error: 'No assistant found' }, { status: 400 });
77
86
  }
78
87
  const mcpServer = await prisma.mcpServer.create({
79
- data: Object.assign(Object.assign(Object.assign({ transportType }, (transportType === TransportType.SSE
88
+ data: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ transportType }, (transportType === TransportType.SSE
80
89
  ? {
81
90
  sseTransport: {
82
91
  create: {
@@ -94,6 +103,8 @@ export const buildPOST = ({ prisma }) => async (request, props) => {
94
103
  },
95
104
  },
96
105
  }
106
+ : {})), (normalizedName !== undefined ? { name: normalizedName } : {})), (normalizedDescription !== undefined
107
+ ? { description: normalizedDescription }
97
108
  : {})), { assistant: {
98
109
  connect: {
99
110
  id: assistantId,
@@ -7,6 +7,8 @@ export declare const GET: (_request: import("next/server").NextRequest, props: {
7
7
  }> | import("next/server").NextResponse<{
8
8
  mcpServers: {
9
9
  id: string;
10
+ name: string | null;
11
+ description: string | null;
10
12
  transportType: import("@prisma/client").$Enums.TransportType;
11
13
  sseTransport: {
12
14
  id: string;
@@ -35,6 +37,8 @@ export declare const POST: (request: import("next/server").NextRequest, props: {
35
37
  }> | import("next/server").NextResponse<{
36
38
  mcpServer: {
37
39
  id: string;
40
+ name: string | null;
41
+ description: string | null;
38
42
  transportType: import("@prisma/client").$Enums.TransportType;
39
43
  sseTransport: {
40
44
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../src/app/api/assistants/[assistantId]/mcp-servers/route.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuB,CAAA;AAEvC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwB,CAAA;AAEzC,eAAO,MAAM,OAAO,8CAAiB,CAAA"}
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../src/app/api/assistants/[assistantId]/mcp-servers/route.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAuB,CAAA;AAEvC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwB,CAAA;AAEzC,eAAO,MAAM,OAAO,8CAAiB,CAAA"}
@@ -1,5 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const baseSchema: z.ZodObject<{
3
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3
5
  transportType: z.ZodEffects<z.ZodNativeEnum<{
4
6
  STDIO: "STDIO";
5
7
  SSE: "SSE";
@@ -27,6 +29,7 @@ export declare const baseSchema: z.ZodObject<{
27
29
  }>>>;
28
30
  }, "strip", z.ZodTypeAny, {
29
31
  transportType: "SSE" | "HTTP";
32
+ name?: string | null | undefined;
30
33
  httpTransport?: {
31
34
  headers: string;
32
35
  url: string;
@@ -35,8 +38,10 @@ export declare const baseSchema: z.ZodObject<{
35
38
  headers: string;
36
39
  url: string;
37
40
  } | null | undefined;
41
+ description?: string | null | undefined;
38
42
  }, {
39
43
  transportType: "STDIO" | "SSE" | "HTTP";
44
+ name?: string | null | undefined;
40
45
  httpTransport?: {
41
46
  headers: string;
42
47
  url: string;
@@ -45,9 +50,12 @@ export declare const baseSchema: z.ZodObject<{
45
50
  headers: string;
46
51
  url: string;
47
52
  } | null | undefined;
53
+ description?: string | null | undefined;
48
54
  }>;
49
55
  export declare const superRefine: (values: any, ctx: any) => void;
50
56
  export declare const mcpServerSchema: z.ZodEffects<z.ZodObject<{
57
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
58
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
51
59
  transportType: z.ZodEffects<z.ZodNativeEnum<{
52
60
  STDIO: "STDIO";
53
61
  SSE: "SSE";
@@ -75,6 +83,7 @@ export declare const mcpServerSchema: z.ZodEffects<z.ZodObject<{
75
83
  }>>>;
76
84
  }, "strip", z.ZodTypeAny, {
77
85
  transportType: "SSE" | "HTTP";
86
+ name?: string | null | undefined;
78
87
  httpTransport?: {
79
88
  headers: string;
80
89
  url: string;
@@ -83,8 +92,10 @@ export declare const mcpServerSchema: z.ZodEffects<z.ZodObject<{
83
92
  headers: string;
84
93
  url: string;
85
94
  } | null | undefined;
95
+ description?: string | null | undefined;
86
96
  }, {
87
97
  transportType: "STDIO" | "SSE" | "HTTP";
98
+ name?: string | null | undefined;
88
99
  httpTransport?: {
89
100
  headers: string;
90
101
  url: string;
@@ -93,8 +104,10 @@ export declare const mcpServerSchema: z.ZodEffects<z.ZodObject<{
93
104
  headers: string;
94
105
  url: string;
95
106
  } | null | undefined;
107
+ description?: string | null | undefined;
96
108
  }>, {
97
109
  transportType: "SSE" | "HTTP";
110
+ name?: string | null | undefined;
98
111
  httpTransport?: {
99
112
  headers: string;
100
113
  url: string;
@@ -103,8 +116,10 @@ export declare const mcpServerSchema: z.ZodEffects<z.ZodObject<{
103
116
  headers: string;
104
117
  url: string;
105
118
  } | null | undefined;
119
+ description?: string | null | undefined;
106
120
  }, {
107
121
  transportType: "STDIO" | "SSE" | "HTTP";
122
+ name?: string | null | undefined;
108
123
  httpTransport?: {
109
124
  headers: string;
110
125
  url: string;
@@ -113,5 +128,6 @@ export declare const mcpServerSchema: z.ZodEffects<z.ZodObject<{
113
128
  headers: string;
114
129
  url: string;
115
130
  } | null | undefined;
131
+ description?: string | null | undefined;
116
132
  }>;
117
133
  //# sourceMappingURL=mcpServerSchema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mcpServerSchema.d.ts","sourceRoot":"","sources":["../../../src/lib/mcpServers/mcpServerSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuBvB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQrB,CAAA;AAGF,eAAO,MAAM,WAAW,GAAI,QAAQ,GAAG,EAAE,KAAK,GAAG,SAwChD,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsC,CAAA"}
1
+ {"version":3,"file":"mcpServerSchema.d.ts","sourceRoot":"","sources":["../../../src/lib/mcpServers/mcpServerSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyBvB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,CAAA;AAGF,eAAO,MAAM,WAAW,GAAI,QAAQ,GAAG,EAAE,KAAK,GAAG,SAwChD,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsC,CAAA"}
@@ -17,7 +17,10 @@ const httpTransportSchema = z.object({
17
17
  message: 'Must be a valid JSON string.',
18
18
  }),
19
19
  });
20
+ const optionalTrimmedString = z.string().trim().min(1).optional().nullable();
20
21
  export const baseSchema = z.object({
22
+ name: optionalTrimmedString,
23
+ description: optionalTrimmedString,
21
24
  transportType: z
22
25
  .nativeEnum(TransportType)
23
26
  .refine((t) => t !== TransportType.STDIO, {
@@ -8,6 +8,8 @@ export declare const serializeApiMcpServer: ({ mcpServer, }: {
8
8
  }>;
9
9
  }) => {
10
10
  id: string;
11
+ name: string | null;
12
+ description: string | null;
11
13
  transportType: import("@prisma/client").$Enums.TransportType;
12
14
  sseTransport: {
13
15
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"serializeApiMcpServer.d.ts","sourceRoot":"","sources":["../../../src/lib/mcpServers/serializeApiMcpServer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAA+B,MAAM,gBAAgB,CAAA;AA0BzE,eAAO,MAAM,qBAAqB,GAAI,gBAEnC;IACD,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QACpC,OAAO,EAAE;YACP,YAAY,EAAE,IAAI,CAAA;YAClB,aAAa,EAAE,IAAI,CAAA;SACpB,CAAA;KACF,CAAC,CAAA;CACH;;;;;;;;;;;;;;;;;;;CAeC,CAAA"}
1
+ {"version":3,"file":"serializeApiMcpServer.d.ts","sourceRoot":"","sources":["../../../src/lib/mcpServers/serializeApiMcpServer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAA+B,MAAM,gBAAgB,CAAA;AA0BzE,eAAO,MAAM,qBAAqB,GAAI,gBAEnC;IACD,SAAS,EAAE,MAAM,CAAC,mBAAmB,CAAC;QACpC,OAAO,EAAE;YACP,YAAY,EAAE,IAAI,CAAA;YAClB,aAAa,EAAE,IAAI,CAAA;SACpB,CAAA;KACF,CAAC,CAAA;CACH;;;;;;;;;;;;;;;;;;;;;CAiBC,CAAA"}
@@ -14,6 +14,8 @@ const serializeApiHttpTransport = ({ httpTransport, }) => ({
14
14
  });
15
15
  export const serializeApiMcpServer = ({ mcpServer, }) => ({
16
16
  id: mcpServer.id,
17
+ name: mcpServer.name,
18
+ description: mcpServer.description,
17
19
  transportType: mcpServer.transportType,
18
20
  sseTransport: mcpServer.sseTransport
19
21
  ? serializeApiSseTransport({
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/tools/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAOlE,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAuRhC,eAAO,MAAM,KAAK,GAAU,gCAIzB;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,SAAS,EAAE,IAAI,CAAA;YACf,aAAa,EAAE,IAAI,CAAA;YACnB,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,eAAe,EAAE,IAAI,CAAA;oBACrB,cAAc,EAAE,IAAI,CAAA;oBACpB,aAAa,EAAE,IAAI,CAAA;oBACnB,YAAY,EAAE,IAAI,CAAA;iBACnB,CAAA;aACF,CAAA;SACF,CAAA;KACF,CAAC,CAAA;IACF,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,YAAY,CAAA;CACrB;;;WAkBQ,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;EAE9C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/tools/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAOlE,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AA8RhC,eAAO,MAAM,KAAK,GAAU,gCAIzB;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,SAAS,EAAE,IAAI,CAAA;YACf,aAAa,EAAE,IAAI,CAAA;YACnB,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,eAAe,EAAE,IAAI,CAAA;oBACrB,cAAc,EAAE,IAAI,CAAA;oBACpB,aAAa,EAAE,IAAI,CAAA;oBACnB,YAAY,EAAE,IAAI,CAAA;iBACnB,CAAA;aACF,CAAA;SACF,CAAA;KACF,CAAC,CAAA;IACF,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,YAAY,CAAA;CACrB;;;WAkBQ,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;EAE9C,CAAA"}
@@ -131,15 +131,16 @@ const mcpServerTools = async ({ assistant, thread, prisma, }) => {
131
131
  }) &&
132
132
  !assistant.modelSlug.match('computer-use')) {
133
133
  const httpMcpServers = nonComputerUseMcpServers.filter((mcpServer) => mcpServer.transportType === TransportType.HTTP);
134
- const nativeMcpServerTools = httpMcpServers.map((mcpServer) => ({
135
- type: 'mcp',
136
- mcp: {
137
- server_label: `mcp-server-${mcpServer.id}`,
138
- server_url: url({ thread, mcpServer, assistant, prisma }),
139
- headers: headers({ thread, mcpServer, assistant, prisma }),
140
- require_approval: 'never',
141
- },
142
- }));
134
+ const nativeMcpServerTools = httpMcpServers.map((mcpServer) => {
135
+ var _a;
136
+ const serverLabel = (_a = mcpServer.name) !== null && _a !== void 0 ? _a : `mcp-server-${mcpServer.id}`;
137
+ return {
138
+ type: 'mcp',
139
+ mcp: Object.assign(Object.assign({ server_label: serverLabel }, (mcpServer.description
140
+ ? { server_description: mcpServer.description }
141
+ : {})), { server_url: url({ thread, mcpServer, assistant, prisma }), headers: headers({ thread, mcpServer, assistant, prisma }), require_approval: 'never' }),
142
+ };
143
+ });
143
144
  const sseMcpServers = nonComputerUseMcpServers.filter((mcpServer) => mcpServer.transportType === TransportType.SSE);
144
145
  return [
145
146
  ...nativeMcpServerTools,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superinterface/server",
3
- "version": "1.0.39",
3
+ "version": "1.0.40",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superinterface-server": "./bin/index.cjs"
@@ -1,6 +1,8 @@
1
1
  model McpServer {
2
2
  id String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
3
3
  transportType TransportType @default(STDIO)
4
+ name String?
5
+ description String?
4
6
  assistantId String @db.Uuid
5
7
  assistant Assistant @relation(fields: [assistantId], references: [id], onDelete: Cascade)
6
8
  computerUseTool ComputerUseTool?
@@ -0,0 +1,3 @@
1
+ -- AlterTable
2
+ ALTER TABLE "McpServer" ADD COLUMN "description" TEXT,
3
+ ADD COLUMN "name" TEXT;