@superinterface/server 1.0.17 → 1.0.19

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 (250) 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/api/files/[fileId]/contents/route.js +1 -1
  9. package/.next/server/app/api/files/[fileId]/contents/route.js.nft.json +1 -1
  10. package/.next/server/app/api/files/route.js +1 -1
  11. package/.next/server/app/api/files/route.js.nft.json +1 -1
  12. package/.next/server/app/api/messages/route.js +3 -3
  13. package/.next/server/app/api/messages/route.js.nft.json +1 -1
  14. package/.next/server/app/index.html +1 -1
  15. package/.next/server/app/index.rsc +1 -1
  16. package/.next/server/chunks/[root-of-the-server]__0c1bc5ed._.js +1 -1
  17. package/.next/server/chunks/[root-of-the-server]__0c1bc5ed._.js.map +1 -1
  18. package/.next/server/chunks/[root-of-the-server]__13c6bd62._.js +1 -1
  19. package/.next/server/chunks/[root-of-the-server]__13c6bd62._.js.map +1 -1
  20. package/.next/server/chunks/[root-of-the-server]__25ee13bc._.js +1 -1
  21. package/.next/server/chunks/[root-of-the-server]__25ee13bc._.js.map +1 -1
  22. package/.next/server/chunks/[root-of-the-server]__27aadac9._.js +1 -1
  23. package/.next/server/chunks/[root-of-the-server]__27aadac9._.js.map +1 -1
  24. package/.next/server/chunks/[root-of-the-server]__2945c9e9._.js +1 -1
  25. package/.next/server/chunks/[root-of-the-server]__2945c9e9._.js.map +1 -1
  26. package/.next/server/chunks/[root-of-the-server]__29635e8e._.js +1 -1
  27. package/.next/server/chunks/[root-of-the-server]__29635e8e._.js.map +1 -1
  28. package/.next/server/chunks/[root-of-the-server]__29b43490._.js +2 -2
  29. package/.next/server/chunks/[root-of-the-server]__29b43490._.js.map +1 -1
  30. package/.next/server/chunks/[root-of-the-server]__315f084a._.js +1 -1
  31. package/.next/server/chunks/[root-of-the-server]__315f084a._.js.map +1 -1
  32. package/.next/server/chunks/[root-of-the-server]__441cee00._.js +1 -1
  33. package/.next/server/chunks/[root-of-the-server]__441cee00._.js.map +1 -1
  34. package/.next/server/chunks/[root-of-the-server]__464a4377._.js +1 -1
  35. package/.next/server/chunks/[root-of-the-server]__464a4377._.js.map +1 -1
  36. package/.next/server/chunks/[root-of-the-server]__4e536bc0._.js +1 -1
  37. package/.next/server/chunks/[root-of-the-server]__4e536bc0._.js.map +1 -1
  38. package/.next/server/chunks/[root-of-the-server]__51977f30._.js +1 -1
  39. package/.next/server/chunks/[root-of-the-server]__51977f30._.js.map +1 -1
  40. package/.next/server/chunks/[root-of-the-server]__583a7f1c._.js +1 -1
  41. package/.next/server/chunks/[root-of-the-server]__583a7f1c._.js.map +1 -1
  42. package/.next/server/chunks/[root-of-the-server]__5abf1160._.js +1 -1
  43. package/.next/server/chunks/[root-of-the-server]__5abf1160._.js.map +1 -1
  44. package/.next/server/chunks/[root-of-the-server]__5d09614a._.js +1 -1
  45. package/.next/server/chunks/[root-of-the-server]__5d09614a._.js.map +1 -1
  46. package/.next/server/chunks/[root-of-the-server]__62d958e7._.js +1 -1
  47. package/.next/server/chunks/[root-of-the-server]__62d958e7._.js.map +1 -1
  48. package/.next/server/chunks/[root-of-the-server]__7f9ca1e3._.js +1 -1
  49. package/.next/server/chunks/[root-of-the-server]__7f9ca1e3._.js.map +1 -1
  50. package/.next/server/chunks/[root-of-the-server]__83461316._.js +1 -1
  51. package/.next/server/chunks/[root-of-the-server]__83461316._.js.map +1 -1
  52. package/.next/server/chunks/[root-of-the-server]__9a611d42._.js +1 -1
  53. package/.next/server/chunks/[root-of-the-server]__9a611d42._.js.map +1 -1
  54. package/.next/server/chunks/[root-of-the-server]__a135e388._.js +1 -1
  55. package/.next/server/chunks/[root-of-the-server]__a135e388._.js.map +1 -1
  56. package/.next/server/chunks/[root-of-the-server]__b10ec83e._.js +1 -1
  57. package/.next/server/chunks/[root-of-the-server]__b10ec83e._.js.map +1 -1
  58. package/.next/server/chunks/[root-of-the-server]__b9a334c3._.js +1 -1
  59. package/.next/server/chunks/[root-of-the-server]__b9a334c3._.js.map +1 -1
  60. package/.next/server/chunks/[root-of-the-server]__c1629392._.js +1 -1
  61. package/.next/server/chunks/[root-of-the-server]__c1629392._.js.map +1 -1
  62. package/.next/server/chunks/[root-of-the-server]__dd176cb5._.js +2 -2
  63. package/.next/server/chunks/[root-of-the-server]__dd176cb5._.js.map +1 -1
  64. package/.next/server/chunks/[root-of-the-server]__eb816e13._.js +1 -1
  65. package/.next/server/chunks/[root-of-the-server]__eb816e13._.js.map +1 -1
  66. package/.next/server/chunks/[root-of-the-server]__ed6cf593._.js +1 -1
  67. package/.next/server/chunks/[root-of-the-server]__ed6cf593._.js.map +1 -1
  68. package/.next/server/chunks/{[root-of-the-server]__30845206._.js → [root-of-the-server]__ff90af03._.js} +3 -3
  69. package/.next/server/chunks/{[root-of-the-server]__30845206._.js.map → [root-of-the-server]__ff90af03._.js.map} +1 -1
  70. package/.next/server/chunks/c4f00_next_dist_esm_build_templates_app-route_cb746cf4.js +1 -1
  71. package/.next/server/chunks/c4f00_next_dist_esm_build_templates_app-route_cb746cf4.js.map +1 -1
  72. package/.next/server/chunks/c4f00_next_dist_esm_build_templates_app-route_f952d9ab.js +1 -1
  73. package/.next/server/chunks/c4f00_next_dist_esm_build_templates_app-route_f952d9ab.js.map +1 -1
  74. package/.next/server/chunks/supercorp_superinterface_bebd2c96._.js +2 -2
  75. package/.next/server/chunks/supercorp_superinterface_bebd2c96._.js.map +1 -1
  76. package/.next/server/pages/404.html +1 -1
  77. package/.next/server/pages/500.html +1 -1
  78. package/.next/trace +1 -1
  79. package/bin/index.cjs +2 -0
  80. package/dist/app/api/api-keys/[apiKeyId]/route.d.ts +55 -0
  81. package/dist/app/api/api-keys/[apiKeyId]/route.d.ts.map +1 -1
  82. package/dist/app/api/api-keys/[apiKeyId]/route.js +10 -4
  83. package/dist/app/api/api-keys/route.d.ts +29 -0
  84. package/dist/app/api/api-keys/route.d.ts.map +1 -1
  85. package/dist/app/api/api-keys/route.js +8 -3
  86. package/dist/app/api/assistants/[assistantId]/functions/[functionId]/route.d.ts +172 -0
  87. package/dist/app/api/assistants/[assistantId]/functions/[functionId]/route.d.ts.map +1 -1
  88. package/dist/app/api/assistants/[assistantId]/functions/[functionId]/route.js +11 -4
  89. package/dist/app/api/assistants/[assistantId]/functions/route.d.ts +113 -0
  90. package/dist/app/api/assistants/[assistantId]/functions/route.d.ts.map +1 -1
  91. package/dist/app/api/assistants/[assistantId]/functions/route.js +8 -3
  92. package/dist/app/api/assistants/[assistantId]/initial-messages/route.d.ts +39 -0
  93. package/dist/app/api/assistants/[assistantId]/initial-messages/route.d.ts.map +1 -1
  94. package/dist/app/api/assistants/[assistantId]/initial-messages/route.js +8 -3
  95. package/dist/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/route.d.ts +94 -0
  96. package/dist/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/route.d.ts.map +1 -1
  97. package/dist/app/api/assistants/[assistantId]/mcp-servers/[mcpServerId]/route.js +10 -4
  98. package/dist/app/api/assistants/[assistantId]/mcp-servers/route.d.ts +61 -0
  99. package/dist/app/api/assistants/[assistantId]/mcp-servers/route.d.ts.map +1 -1
  100. package/dist/app/api/assistants/[assistantId]/mcp-servers/route.js +7 -3
  101. package/dist/app/api/assistants/[assistantId]/route.d.ts +123 -0
  102. package/dist/app/api/assistants/[assistantId]/route.d.ts.map +1 -1
  103. package/dist/app/api/assistants/[assistantId]/route.js +15 -6
  104. package/dist/app/api/assistants/route.d.ts +59 -0
  105. package/dist/app/api/assistants/route.d.ts.map +1 -1
  106. package/dist/app/api/assistants/route.js +8 -4
  107. package/dist/app/api/files/[fileId]/contents/route.d.ts +3 -2
  108. package/dist/app/api/files/[fileId]/contents/route.d.ts.map +1 -1
  109. package/dist/app/api/files/[fileId]/contents/route.js +6 -3
  110. package/dist/app/api/files/route.d.ts +10 -0
  111. package/dist/app/api/files/route.d.ts.map +1 -1
  112. package/dist/app/api/files/route.js +7 -3
  113. package/dist/app/api/messages/route.d.ts +24 -1
  114. package/dist/app/api/messages/route.d.ts.map +1 -1
  115. package/dist/app/api/messages/route.js +27 -6
  116. package/dist/app/api/providers/[modelProviderId]/assistants/route.d.ts +19 -0
  117. package/dist/app/api/providers/[modelProviderId]/assistants/route.d.ts.map +1 -1
  118. package/dist/app/api/providers/[modelProviderId]/assistants/route.js +4 -2
  119. package/dist/app/api/providers/[modelProviderId]/models/route.d.ts +14 -0
  120. package/dist/app/api/providers/[modelProviderId]/models/route.d.ts.map +1 -1
  121. package/dist/app/api/providers/[modelProviderId]/models/route.js +4 -2
  122. package/dist/app/api/providers/[modelProviderId]/route.d.ts +64 -0
  123. package/dist/app/api/providers/[modelProviderId]/route.d.ts.map +1 -1
  124. package/dist/app/api/providers/[modelProviderId]/route.js +12 -6
  125. package/dist/app/api/providers/route.d.ts +35 -0
  126. package/dist/app/api/providers/route.d.ts.map +1 -1
  127. package/dist/app/api/providers/route.js +9 -5
  128. package/dist/app/api/tasks/[taskId]/route.d.ts +61 -0
  129. package/dist/app/api/tasks/[taskId]/route.d.ts.map +1 -1
  130. package/dist/app/api/tasks/[taskId]/route.js +11 -5
  131. package/dist/app/api/tasks/callback/route.d.ts.map +1 -1
  132. package/dist/app/api/tasks/callback/route.js +14 -6
  133. package/dist/app/api/tasks/route.d.ts +33 -0
  134. package/dist/app/api/tasks/route.d.ts.map +1 -1
  135. package/dist/app/api/tasks/route.js +8 -4
  136. package/dist/app/api/threads/runs/submit-client-tool-outputs/route.d.ts +9 -1
  137. package/dist/app/api/threads/runs/submit-client-tool-outputs/route.d.ts.map +1 -1
  138. package/dist/app/api/threads/runs/submit-client-tool-outputs/route.js +5 -3
  139. package/dist/app/api/workspaces/[workspaceId]/route.d.ts +33 -0
  140. package/dist/app/api/workspaces/[workspaceId]/route.d.ts.map +1 -1
  141. package/dist/app/api/workspaces/[workspaceId]/route.js +7 -3
  142. package/dist/app/api/workspaces/route.d.ts +17 -3
  143. package/dist/app/api/workspaces/route.d.ts.map +1 -1
  144. package/dist/app/api/workspaces/route.js +8 -4
  145. package/dist/lib/apiKeys/getApiKey.d.ts +3 -2
  146. package/dist/lib/apiKeys/getApiKey.d.ts.map +1 -1
  147. package/dist/lib/apiKeys/getApiKey.js +1 -2
  148. package/dist/lib/apiKeys/workspaceAccessWhere.d.ts +3 -1
  149. package/dist/lib/apiKeys/workspaceAccessWhere.d.ts.map +1 -1
  150. package/dist/lib/apiKeys/workspaceAccessWhere.js +2 -1
  151. package/dist/lib/assistants/assistantClientAdapter/buildGetOpenaiAssistant.d.ts +3 -2
  152. package/dist/lib/assistants/assistantClientAdapter/buildGetOpenaiAssistant.d.ts.map +1 -1
  153. package/dist/lib/assistants/assistantClientAdapter/buildGetOpenaiAssistant.js +3 -3
  154. package/dist/lib/assistants/assistantClientAdapter/index.d.ts.map +1 -1
  155. package/dist/lib/assistants/assistantClientAdapter/index.js +7 -2
  156. package/dist/lib/computerCalls/handleComputerCall/index.d.ts +3 -2
  157. package/dist/lib/computerCalls/handleComputerCall/index.d.ts.map +1 -1
  158. package/dist/lib/computerCalls/handleComputerCall/index.js +5 -1
  159. package/dist/lib/functions/createFunction.d.ts +2 -1
  160. package/dist/lib/functions/createFunction.d.ts.map +1 -1
  161. package/dist/lib/functions/createFunction.js +2 -2
  162. package/dist/lib/functions/handleFunction/handleAssistant.d.ts +3 -2
  163. package/dist/lib/functions/handleFunction/handleAssistant.d.ts.map +1 -1
  164. package/dist/lib/functions/handleFunction/handleAssistant.js +12 -2
  165. package/dist/lib/functions/handleFunction/handleClientTool.d.ts +3 -2
  166. package/dist/lib/functions/handleFunction/handleClientTool.d.ts.map +1 -1
  167. package/dist/lib/functions/handleFunction/handleClientTool.js +2 -1
  168. package/dist/lib/functions/handleFunction/handleFirecrawl.d.ts +3 -2
  169. package/dist/lib/functions/handleFunction/handleFirecrawl.d.ts.map +1 -1
  170. package/dist/lib/functions/handleFunction/handleFirecrawl.js +7 -1
  171. package/dist/lib/functions/handleFunction/handleReplicate.d.ts +3 -2
  172. package/dist/lib/functions/handleFunction/handleReplicate.d.ts.map +1 -1
  173. package/dist/lib/functions/handleFunction/handleReplicate.js +4 -1
  174. package/dist/lib/functions/handleFunction/handleRequest.d.ts +3 -2
  175. package/dist/lib/functions/handleFunction/handleRequest.d.ts.map +1 -1
  176. package/dist/lib/functions/handleFunction/handleRequest.js +6 -1
  177. package/dist/lib/functions/handleFunction/index.d.ts +3 -2
  178. package/dist/lib/functions/handleFunction/index.d.ts.map +1 -1
  179. package/dist/lib/functions/handleFunction/index.js +25 -1
  180. package/dist/lib/functions/handleFunction/tasks/handleCreateTask.d.ts +3 -2
  181. package/dist/lib/functions/handleFunction/tasks/handleCreateTask.d.ts.map +1 -1
  182. package/dist/lib/functions/handleFunction/tasks/handleCreateTask.js +4 -4
  183. package/dist/lib/functions/handleFunction/tasks/handleDeleteTask.d.ts +3 -2
  184. package/dist/lib/functions/handleFunction/tasks/handleDeleteTask.d.ts.map +1 -1
  185. package/dist/lib/functions/handleFunction/tasks/handleDeleteTask.js +3 -3
  186. package/dist/lib/functions/handleFunction/tasks/handleListTasks.d.ts +3 -2
  187. package/dist/lib/functions/handleFunction/tasks/handleListTasks.d.ts.map +1 -1
  188. package/dist/lib/functions/handleFunction/tasks/handleListTasks.js +3 -3
  189. package/dist/lib/functions/handleFunction/tasks/handleUpdateTask.d.ts +3 -2
  190. package/dist/lib/functions/handleFunction/tasks/handleUpdateTask.d.ts.map +1 -1
  191. package/dist/lib/functions/handleFunction/tasks/handleUpdateTask.js +4 -4
  192. package/dist/lib/functions/updateFunction.d.ts +2 -1
  193. package/dist/lib/functions/updateFunction.d.ts.map +1 -1
  194. package/dist/lib/functions/updateFunction.js +2 -2
  195. package/dist/lib/handlers/handlerPrismaInput.d.ts +3 -1
  196. package/dist/lib/handlers/handlerPrismaInput.d.ts.map +1 -1
  197. package/dist/lib/handlers/handlerPrismaInput.jsx +1 -2
  198. package/dist/lib/initialMessages/updateInitialMessages.d.ts +3 -2
  199. package/dist/lib/initialMessages/updateInitialMessages.d.ts.map +1 -1
  200. package/dist/lib/initialMessages/updateInitialMessages.js +1 -2
  201. package/dist/lib/logs/createLog.d.ts +3 -2
  202. package/dist/lib/logs/createLog.d.ts.map +1 -1
  203. package/dist/lib/logs/createLog.js +1 -2
  204. package/dist/lib/mcpServers/connectMcpServer.d.ts +6 -4
  205. package/dist/lib/mcpServers/connectMcpServer.d.ts.map +1 -1
  206. package/dist/lib/mcpServers/connectMcpServer.js +7 -5
  207. package/dist/lib/mcpServers/getToolCallMcpServer.d.ts +3 -2
  208. package/dist/lib/mcpServers/getToolCallMcpServer.d.ts.map +1 -1
  209. package/dist/lib/mcpServers/getToolCallMcpServer.js +2 -1
  210. package/dist/lib/mcpServers/headers.d.ts +3 -2
  211. package/dist/lib/mcpServers/headers.d.ts.map +1 -1
  212. package/dist/lib/mcpServers/headers.js +2 -1
  213. package/dist/lib/mcpServers/url.d.ts +3 -2
  214. package/dist/lib/mcpServers/url.d.ts.map +1 -1
  215. package/dist/lib/mcpServers/url.js +2 -1
  216. package/dist/lib/metadata/serializeMetadata.d.ts +3 -1
  217. package/dist/lib/metadata/serializeMetadata.d.ts.map +1 -1
  218. package/dist/lib/metadata/serializeMetadata.js +3 -2
  219. package/dist/lib/organizationApiKeys/getOrganizationApiKey.d.ts +3 -2
  220. package/dist/lib/organizationApiKeys/getOrganizationApiKey.d.ts.map +1 -1
  221. package/dist/lib/organizationApiKeys/getOrganizationApiKey.js +1 -2
  222. package/dist/lib/runs/createRunOpts.d.ts +3 -2
  223. package/dist/lib/runs/createRunOpts.d.ts.map +1 -1
  224. package/dist/lib/runs/createRunOpts.js +2 -2
  225. package/dist/lib/tasks/getTaskToolKey.d.ts +3 -2
  226. package/dist/lib/tasks/getTaskToolKey.d.ts.map +1 -1
  227. package/dist/lib/tasks/getTaskToolKey.js +2 -1
  228. package/dist/lib/tasks/parseTaskToolArgs.d.ts +3 -2
  229. package/dist/lib/tasks/parseTaskToolArgs.d.ts.map +1 -1
  230. package/dist/lib/tasks/parseTaskToolArgs.js +4 -1
  231. package/dist/lib/tasks/scheduleTask.d.ts +3 -2
  232. package/dist/lib/tasks/scheduleTask.d.ts.map +1 -1
  233. package/dist/lib/tasks/scheduleTask.js +1 -2
  234. package/dist/lib/threads/createThread/index.d.ts +3 -3
  235. package/dist/lib/threads/createThread/index.d.ts.map +1 -1
  236. package/dist/lib/threads/createThread/index.js +1 -0
  237. package/dist/lib/threads/managedOpenaiThreadId.d.ts +3 -2
  238. package/dist/lib/threads/managedOpenaiThreadId.d.ts.map +1 -1
  239. package/dist/lib/threads/managedOpenaiThreadId.js +1 -2
  240. package/dist/lib/toolCalls/handleToolCall.d.ts +3 -2
  241. package/dist/lib/toolCalls/handleToolCall.d.ts.map +1 -1
  242. package/dist/lib/toolCalls/handleToolCall.js +5 -1
  243. package/dist/lib/tools/tools/index.d.ts +3 -2
  244. package/dist/lib/tools/tools/index.d.ts.map +1 -1
  245. package/dist/lib/tools/tools/index.js +9 -6
  246. package/package.json +2 -2
  247. package/scripts/utils/loadPrisma.ts +1 -2
  248. /package/.next/static/{kvFNeiykUJqaQCo-lW8D0 → rEvucoSBXJWMKfLWTgPF2}/_buildManifest.js +0 -0
  249. /package/.next/static/{kvFNeiykUJqaQCo-lW8D0 → rEvucoSBXJWMKfLWTgPF2}/_clientMiddlewareManifest.json +0 -0
  250. /package/.next/static/{kvFNeiykUJqaQCo-lW8D0 → rEvucoSBXJWMKfLWTgPF2}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><!--kvFNeiykUJqaQCo_lW8D0--><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\":\"kvFNeiykUJqaQCo-lW8D0\",\"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><!--rEvucoSBXJWMKfLWTgPF2--><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\":\"rEvucoSBXJWMKfLWTgPF2\",\"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/kvFNeiykUJqaQCo-lW8D0/_ssgManifest.js" defer=""></script><script src="/_next/static/kvFNeiykUJqaQCo-lW8D0/_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":"kvFNeiykUJqaQCo-lW8D0","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/rEvucoSBXJWMKfLWTgPF2/_ssgManifest.js" defer=""></script><script src="/_next/static/rEvucoSBXJWMKfLWTgPF2/_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":"rEvucoSBXJWMKfLWTgPF2","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
package/.next/trace CHANGED
@@ -1 +1 @@
1
- [{"name":"generate-buildid","duration":117,"timestamp":12972372733,"id":4,"parentId":1,"tags":{},"startTime":1759904484701,"traceId":"16d8ebacd729e9d9"},{"name":"load-custom-routes","duration":163,"timestamp":12972372899,"id":5,"parentId":1,"tags":{},"startTime":1759904484702,"traceId":"16d8ebacd729e9d9"},{"name":"create-dist-dir","duration":1407,"timestamp":12972414941,"id":6,"parentId":1,"tags":{},"startTime":1759904484744,"traceId":"16d8ebacd729e9d9"},{"name":"create-pages-mapping","duration":211,"timestamp":12972496201,"id":7,"parentId":1,"tags":{},"startTime":1759904484825,"traceId":"16d8ebacd729e9d9"},{"name":"collect-app-files","duration":5329,"timestamp":12972496443,"id":8,"parentId":1,"tags":{},"startTime":1759904484825,"traceId":"16d8ebacd729e9d9"},{"name":"create-app-mapping","duration":942,"timestamp":12972501794,"id":9,"parentId":1,"tags":{},"startTime":1759904484830,"traceId":"16d8ebacd729e9d9"},{"name":"create-app-layouts","duration":180,"timestamp":12972502750,"id":10,"parentId":1,"tags":{},"startTime":1759904484831,"traceId":"16d8ebacd729e9d9"},{"name":"collect-default-files","duration":4179,"timestamp":12972504148,"id":12,"parentId":1,"tags":{},"startTime":1759904484833,"traceId":"16d8ebacd729e9d9"},{"name":"generate-route-types","duration":21142,"timestamp":12972503244,"id":11,"parentId":1,"tags":{},"startTime":1759904484832,"traceId":"16d8ebacd729e9d9"},{"name":"public-dir-conflict-check","duration":989,"timestamp":12972524565,"id":13,"parentId":1,"tags":{},"startTime":1759904484853,"traceId":"16d8ebacd729e9d9"},{"name":"generate-routes-manifest","duration":3603,"timestamp":12972525871,"id":14,"parentId":1,"tags":{},"startTime":1759904484854,"traceId":"16d8ebacd729e9d9"},{"name":"run-turbopack-compiler","duration":6873562,"timestamp":12972538604,"id":16,"parentId":1,"tags":{},"startTime":1759904484867,"traceId":"16d8ebacd729e9d9"},{"name":"verify-and-lint","duration":2020555,"timestamp":12979441320,"id":19,"parentId":1,"tags":{},"startTime":1759904491766,"traceId":"16d8ebacd729e9d9"},{"name":"verify-typescript-setup","duration":5125069,"timestamp":12979438118,"id":18,"parentId":1,"tags":{},"startTime":1759904491763,"traceId":"16d8ebacd729e9d9"},{"name":"check-static-error-page","duration":2487,"timestamp":12984575271,"id":22,"parentId":21,"tags":{},"startTime":1759904496899,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":1810,"timestamp":12984643740,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1759904496967,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":1310,"timestamp":12984644250,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":1375,"timestamp":12984644186,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":276208,"timestamp":12984652572,"id":52,"parentId":28,"tags":{},"startTime":1759904496976,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":284446,"timestamp":12984644375,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":303933,"timestamp":12984652085,"id":51,"parentId":30,"tags":{},"startTime":1759904496975,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":311663,"timestamp":12984644390,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":304376,"timestamp":12984653013,"id":53,"parentId":27,"tags":{},"startTime":1759904496976,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":313065,"timestamp":12984644361,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":304710,"timestamp":12984657563,"id":58,"parentId":33,"tags":{},"startTime":1759904496981,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":317808,"timestamp":12984644497,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":305829,"timestamp":12984656510,"id":57,"parentId":34,"tags":{},"startTime":1759904496980,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":317841,"timestamp":12984644504,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":311542,"timestamp":12984658363,"id":61,"parentId":42,"tags":{},"startTime":1759904496982,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":325376,"timestamp":12984644555,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":326933,"timestamp":12984648232,"id":50,"parentId":46,"tags":{},"startTime":1759904496972,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":330739,"timestamp":12984644573,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":339050,"timestamp":12984653770,"id":55,"parentId":32,"tags":{},"startTime":1759904496977,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":348414,"timestamp":12984644481,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":339745,"timestamp":12984653338,"id":54,"parentId":31,"tags":{},"startTime":1759904496977,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":348699,"timestamp":12984644400,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":342762,"timestamp":12984659370,"id":64,"parentId":35,"tags":{},"startTime":1759904496983,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":357647,"timestamp":12984644510,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":353117,"timestamp":12984660004,"id":66,"parentId":47,"tags":{},"startTime":1759904496983,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":368591,"timestamp":12984644578,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":367548,"timestamp":12984659730,"id":65,"parentId":45,"tags":{},"startTime":1759904496983,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":382762,"timestamp":12984644569,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":384132,"timestamp":12984658934,"id":63,"parentId":43,"tags":{},"startTime":1759904496982,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":398536,"timestamp":12984644559,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":390667,"timestamp":12984667232,"id":68,"parentId":26,"tags":{},"startTime":1759904496991,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":413660,"timestamp":12984644265,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":396158,"timestamp":12984667713,"id":69,"parentId":41,"tags":{},"startTime":1759904496991,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":419353,"timestamp":12984644550,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":398922,"timestamp":12984668114,"id":70,"parentId":29,"tags":{},"startTime":1759904496991,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":422683,"timestamp":12984644383,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":413307,"timestamp":12984669435,"id":72,"parentId":48,"tags":{},"startTime":1759904496993,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":438191,"timestamp":12984644582,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":416882,"timestamp":12984676074,"id":73,"parentId":49,"tags":{},"startTime":1759904496999,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":448397,"timestamp":12984644587,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":523673,"timestamp":12984657875,"id":59,"parentId":37,"tags":{},"startTime":1759904496981,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":537069,"timestamp":12984644520,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":529389,"timestamp":12984658039,"id":60,"parentId":40,"tags":{},"startTime":1759904496981,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":542913,"timestamp":12984644545,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":543626,"timestamp":12984658489,"id":62,"parentId":39,"tags":{},"startTime":1759904496982,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":557630,"timestamp":12984644540,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":576903,"timestamp":12984667152,"id":67,"parentId":44,"tags":{},"startTime":1759904496991,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":599526,"timestamp":12984644564,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":591446,"timestamp":12984654628,"id":56,"parentId":36,"tags":{},"startTime":1759904496978,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":601576,"timestamp":12984644515,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"is-page-static","duration":606490,"timestamp":12984669195,"id":71,"parentId":38,"tags":{},"startTime":1759904496993,"traceId":"16d8ebacd729e9d9"},{"name":"check-page","duration":631184,"timestamp":12984644524,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1759904496968,"traceId":"16d8ebacd729e9d9"},{"name":"static-check","duration":701236,"timestamp":12984574500,"id":21,"parentId":1,"tags":{},"startTime":1759904496898,"traceId":"16d8ebacd729e9d9"},{"name":"generate-required-server-files","duration":649,"timestamp":12985276084,"id":75,"parentId":1,"tags":{},"startTime":1759904497599,"traceId":"16d8ebacd729e9d9"},{"name":"write-routes-manifest","duration":1064,"timestamp":12985283000,"id":77,"parentId":1,"tags":{},"startTime":1759904497606,"traceId":"16d8ebacd729e9d9"},{"name":"load-dotenv","duration":18,"timestamp":12985302771,"id":80,"parentId":79,"tags":{},"startTime":1759904497626,"traceId":"16d8ebacd729e9d9"},{"name":"run-export-path-map","duration":254,"timestamp":12985411522,"id":81,"parentId":79,"tags":{},"startTime":1759904497735,"traceId":"16d8ebacd729e9d9"},{"name":"next-export","duration":1041461,"timestamp":12985302277,"id":79,"parentId":1,"tags":{},"startTime":1759904497625,"traceId":"16d8ebacd729e9d9"},{"name":"move-exported-app-not-found-","duration":14023,"timestamp":12986344876,"id":82,"parentId":78,"tags":{},"startTime":1759904498668,"traceId":"16d8ebacd729e9d9"},{"name":"move-exported-page","duration":80422,"timestamp":12986359011,"id":83,"parentId":78,"tags":{},"startTime":1759904498682,"traceId":"16d8ebacd729e9d9"},{"name":"static-generation","duration":1438426,"timestamp":12985298466,"id":78,"parentId":1,"tags":{},"startTime":1759904497622,"traceId":"16d8ebacd729e9d9"},{"name":"write-routes-manifest","duration":22713,"timestamp":12986737145,"id":84,"parentId":1,"tags":{},"startTime":1759904499060,"traceId":"16d8ebacd729e9d9"},{"name":"node-file-trace-build","duration":3820312,"timestamp":12985279270,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1759904497602,"traceId":"16d8ebacd729e9d9"},{"name":"apply-include-excludes","duration":280,"timestamp":12989099603,"id":85,"parentId":1,"tags":{},"startTime":1759904501422,"traceId":"16d8ebacd729e9d9"},{"name":"print-tree-view","duration":2168,"timestamp":12989100165,"id":86,"parentId":1,"tags":{},"startTime":1759904501422,"traceId":"16d8ebacd729e9d9"},{"name":"telemetry-flush","duration":97,"timestamp":12989102349,"id":87,"parentId":1,"tags":{},"startTime":1759904501425,"traceId":"16d8ebacd729e9d9"},{"name":"next-build","duration":17025382,"timestamp":12972077073,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1759904484406,"traceId":"16d8ebacd729e9d9"}]
1
+ [{"name":"generate-buildid","duration":1826,"timestamp":67858287197,"id":4,"parentId":1,"tags":{},"startTime":1759959370795,"traceId":"63dbd0cbffa6ac3c"},{"name":"load-custom-routes","duration":3394,"timestamp":67858289253,"id":5,"parentId":1,"tags":{},"startTime":1759959370797,"traceId":"63dbd0cbffa6ac3c"},{"name":"create-dist-dir","duration":2123,"timestamp":67858474663,"id":6,"parentId":1,"tags":{},"startTime":1759959370982,"traceId":"63dbd0cbffa6ac3c"},{"name":"create-pages-mapping","duration":772,"timestamp":67858973110,"id":7,"parentId":1,"tags":{},"startTime":1759959371481,"traceId":"63dbd0cbffa6ac3c"},{"name":"collect-app-files","duration":6593,"timestamp":67858974064,"id":8,"parentId":1,"tags":{},"startTime":1759959371481,"traceId":"63dbd0cbffa6ac3c"},{"name":"create-app-mapping","duration":918,"timestamp":67858980921,"id":9,"parentId":1,"tags":{},"startTime":1759959371488,"traceId":"63dbd0cbffa6ac3c"},{"name":"create-app-layouts","duration":188,"timestamp":67858981862,"id":10,"parentId":1,"tags":{},"startTime":1759959371489,"traceId":"63dbd0cbffa6ac3c"},{"name":"collect-default-files","duration":3409,"timestamp":67858986068,"id":12,"parentId":1,"tags":{},"startTime":1759959371493,"traceId":"63dbd0cbffa6ac3c"},{"name":"generate-route-types","duration":25976,"timestamp":67858982365,"id":11,"parentId":1,"tags":{},"startTime":1759959371490,"traceId":"63dbd0cbffa6ac3c"},{"name":"public-dir-conflict-check","duration":796,"timestamp":67859008812,"id":13,"parentId":1,"tags":{},"startTime":1759959371516,"traceId":"63dbd0cbffa6ac3c"},{"name":"generate-routes-manifest","duration":4084,"timestamp":67859009903,"id":14,"parentId":1,"tags":{},"startTime":1759959371517,"traceId":"63dbd0cbffa6ac3c"},{"name":"run-turbopack-compiler","duration":37568844,"timestamp":67859021669,"id":16,"parentId":1,"tags":{},"startTime":1759959371529,"traceId":"63dbd0cbffa6ac3c"},{"name":"verify-and-lint","duration":15089463,"timestamp":67896763682,"id":19,"parentId":1,"tags":{},"startTime":1759959409271,"traceId":"63dbd0cbffa6ac3c"},{"name":"verify-typescript-setup","duration":25195427,"timestamp":67896748935,"id":18,"parentId":1,"tags":{},"startTime":1759959409256,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-static-error-page","duration":51598,"timestamp":67922284202,"id":22,"parentId":21,"tags":{},"startTime":1759959434792,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":95046,"timestamp":67922540470,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1759959435048,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":80112,"timestamp":67922555420,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1759959435063,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":83468,"timestamp":67922552065,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1759959435060,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1402734,"timestamp":67922824923,"id":54,"parentId":26,"tags":{},"startTime":1759959435333,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":1687063,"timestamp":67922555715,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1759959435063,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1592090,"timestamp":67922898042,"id":57,"parentId":35,"tags":{},"startTime":1759959435406,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":1924406,"timestamp":67922565979,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1759959435074,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1659913,"timestamp":67922855246,"id":55,"parentId":28,"tags":{},"startTime":1759959435363,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":1949530,"timestamp":67922565673,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1759959435073,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1785128,"timestamp":67922806576,"id":51,"parentId":27,"tags":{},"startTime":1759959435314,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2031832,"timestamp":67922559945,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1759959435068,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1777876,"timestamp":67922824759,"id":53,"parentId":33,"tags":{},"startTime":1759959435332,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2036752,"timestamp":67922565955,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1759959435074,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1800333,"timestamp":67922802634,"id":50,"parentId":29,"tags":{},"startTime":1759959435310,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2037222,"timestamp":67922565760,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1759959435073,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1727141,"timestamp":67922875969,"id":56,"parentId":30,"tags":{},"startTime":1759959435384,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2037350,"timestamp":67922565772,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1759959435073,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1787767,"timestamp":67922815654,"id":52,"parentId":31,"tags":{},"startTime":1759959435323,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2037546,"timestamp":67922565911,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1759959435074,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1704184,"timestamp":67922918675,"id":58,"parentId":32,"tags":{},"startTime":1759959435426,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2056962,"timestamp":67922565936,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1759959435074,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1717353,"timestamp":67922936439,"id":61,"parentId":41,"tags":{},"startTime":1759959435444,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2084114,"timestamp":67922569742,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1706287,"timestamp":67922971352,"id":65,"parentId":47,"tags":{},"startTime":1759959435479,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2107896,"timestamp":67922569785,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1696241,"timestamp":67922981551,"id":66,"parentId":48,"tags":{},"startTime":1759959435489,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2108008,"timestamp":67922569790,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1745807,"timestamp":67922960488,"id":64,"parentId":46,"tags":{},"startTime":1759959435469,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2136579,"timestamp":67922569776,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1726352,"timestamp":67923002183,"id":69,"parentId":42,"tags":{},"startTime":1759959435510,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2158809,"timestamp":67922569751,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1853334,"timestamp":67922943141,"id":62,"parentId":43,"tags":{},"startTime":1759959435451,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2227489,"timestamp":67922569757,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1821898,"timestamp":67923012051,"id":71,"parentId":34,"tags":{},"startTime":1759959435520,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2268209,"timestamp":67922565972,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1759959435074,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1942356,"timestamp":67922955462,"id":63,"parentId":45,"tags":{},"startTime":1759959435463,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2328101,"timestamp":67922569771,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":1955191,"timestamp":67923022061,"id":73,"parentId":49,"tags":{},"startTime":1759959435530,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2407591,"timestamp":67922569800,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":2561550,"timestamp":67922924516,"id":60,"parentId":36,"tags":{},"startTime":1759959435432,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2920166,"timestamp":67922565992,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1759959435074,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":2604692,"timestamp":67922919028,"id":59,"parentId":39,"tags":{},"startTime":1759959435427,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2954063,"timestamp":67922569720,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":2547529,"timestamp":67922981937,"id":67,"parentId":40,"tags":{},"startTime":1759959435490,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2959810,"timestamp":67922569735,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":2548934,"timestamp":67923002540,"id":70,"parentId":37,"tags":{},"startTime":1759959435510,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":2985542,"timestamp":67922565997,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1759959435074,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":2610757,"timestamp":67922992429,"id":68,"parentId":44,"tags":{},"startTime":1759959435500,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":3034894,"timestamp":67922569762,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"is-page-static","duration":2612775,"timestamp":67923015595,"id":72,"parentId":38,"tags":{},"startTime":1759959435523,"traceId":"63dbd0cbffa6ac3c"},{"name":"check-page","duration":3058820,"timestamp":67922569664,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1759959435077,"traceId":"63dbd0cbffa6ac3c"},{"name":"static-check","duration":3435821,"timestamp":67922192944,"id":21,"parentId":1,"tags":{},"startTime":1759959434701,"traceId":"63dbd0cbffa6ac3c"},{"name":"generate-required-server-files","duration":2707,"timestamp":67925635224,"id":75,"parentId":1,"tags":{},"startTime":1759959438143,"traceId":"63dbd0cbffa6ac3c"},{"name":"write-routes-manifest","duration":10136,"timestamp":67925754620,"id":77,"parentId":1,"tags":{},"startTime":1759959438262,"traceId":"63dbd0cbffa6ac3c"},{"name":"load-dotenv","duration":22,"timestamp":67926432382,"id":80,"parentId":79,"tags":{},"startTime":1759959438940,"traceId":"63dbd0cbffa6ac3c"},{"name":"run-export-path-map","duration":466,"timestamp":67926856572,"id":81,"parentId":79,"tags":{},"startTime":1759959439364,"traceId":"63dbd0cbffa6ac3c"},{"name":"next-export","duration":2933498,"timestamp":67926431675,"id":79,"parentId":1,"tags":{},"startTime":1759959438939,"traceId":"63dbd0cbffa6ac3c"},{"name":"move-exported-app-not-found-","duration":9750,"timestamp":67929366564,"id":82,"parentId":78,"tags":{},"startTime":1759959441874,"traceId":"63dbd0cbffa6ac3c"},{"name":"move-exported-page","duration":303331,"timestamp":67929376539,"id":83,"parentId":78,"tags":{},"startTime":1759959441884,"traceId":"63dbd0cbffa6ac3c"},{"name":"static-generation","duration":4103016,"timestamp":67926386637,"id":78,"parentId":1,"tags":{},"startTime":1759959438894,"traceId":"63dbd0cbffa6ac3c"},{"name":"write-routes-manifest","duration":227671,"timestamp":67930490263,"id":84,"parentId":1,"tags":{},"startTime":1759959442998,"traceId":"63dbd0cbffa6ac3c"},{"name":"node-file-trace-build","duration":16134424,"timestamp":67925666529,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1759959438174,"traceId":"63dbd0cbffa6ac3c"},{"name":"apply-include-excludes","duration":3666,"timestamp":67941801146,"id":85,"parentId":1,"tags":{},"startTime":1759959454309,"traceId":"63dbd0cbffa6ac3c"},{"name":"print-tree-view","duration":86449,"timestamp":67941809585,"id":86,"parentId":1,"tags":{},"startTime":1759959454317,"traceId":"63dbd0cbffa6ac3c"},{"name":"telemetry-flush","duration":106,"timestamp":67941896149,"id":87,"parentId":1,"tags":{},"startTime":1759959454404,"traceId":"63dbd0cbffa6ac3c"},{"name":"next-build","duration":84785247,"timestamp":67857111031,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1759959369618,"traceId":"63dbd0cbffa6ac3c"}]
package/bin/index.cjs CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env node
2
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
2
3
  const path = require('node:path')
4
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
3
5
  const { register, require: tsxRequire } = require('tsx/cjs/api')
4
6
 
5
7
  register()
@@ -1,4 +1,23 @@
1
1
  import { type NextRequest, NextResponse } from 'next/server';
2
+ import { type PrismaClient } from '@prisma/client';
3
+ export declare const buildGET: ({ prisma }?: {
4
+ prisma?: PrismaClient;
5
+ }) => (request: NextRequest, props: {
6
+ params: Promise<{
7
+ apiKeyId: string;
8
+ }>;
9
+ }) => Promise<NextResponse<{
10
+ error: string;
11
+ }> | NextResponse<{
12
+ apiKey: {
13
+ id: string;
14
+ type: import("@prisma/client").$Enums.ApiKeyType;
15
+ name: string;
16
+ value: string;
17
+ createdAt: string;
18
+ updatedAt: string;
19
+ };
20
+ }>>;
2
21
  export declare const GET: (request: NextRequest, props: {
3
22
  params: Promise<{
4
23
  apiKeyId: string;
@@ -15,6 +34,24 @@ export declare const GET: (request: NextRequest, props: {
15
34
  updatedAt: string;
16
35
  };
17
36
  }>>;
37
+ export declare const buildPATCH: ({ prisma }?: {
38
+ prisma?: PrismaClient;
39
+ }) => (request: NextRequest, props: {
40
+ params: Promise<{
41
+ apiKeyId: string;
42
+ }>;
43
+ }) => Promise<NextResponse<{
44
+ error: string;
45
+ }> | NextResponse<{
46
+ apiKey: {
47
+ id: string;
48
+ type: import("@prisma/client").$Enums.ApiKeyType;
49
+ name: string;
50
+ value: string;
51
+ createdAt: string;
52
+ updatedAt: string;
53
+ };
54
+ }>>;
18
55
  export declare const PATCH: (request: NextRequest, props: {
19
56
  params: Promise<{
20
57
  apiKeyId: string;
@@ -31,6 +68,24 @@ export declare const PATCH: (request: NextRequest, props: {
31
68
  updatedAt: string;
32
69
  };
33
70
  }>>;
71
+ export declare const buildDELETE: ({ prisma }?: {
72
+ prisma?: PrismaClient;
73
+ }) => (request: NextRequest, props: {
74
+ params: Promise<{
75
+ apiKeyId: string;
76
+ }>;
77
+ }) => Promise<NextResponse<{
78
+ error: string;
79
+ }> | NextResponse<{
80
+ apiKey: {
81
+ id: string;
82
+ type: import("@prisma/client").$Enums.ApiKeyType;
83
+ name: string;
84
+ value: string;
85
+ createdAt: string;
86
+ updatedAt: string;
87
+ };
88
+ }>>;
34
89
  export declare const DELETE: (request: NextRequest, props: {
35
90
  params: Promise<{
36
91
  apiKeyId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../src/app/api/api-keys/[apiKeyId]/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAU5D,eAAO,MAAM,GAAG,GACd,SAAS,WAAW,EACpB,OAAO;IACL,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACtC;;;;;;;;;;;GA2CF,CAAA;AAED,eAAO,MAAM,KAAK,GAChB,SAAS,WAAW,EACpB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;GA0DjD,CAAA;AAED,eAAO,MAAM,MAAM,GACjB,SAAS,WAAW,EACpB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;GA8CjD,CAAA;AAED,eAAO,MAAM,OAAO,wBAMjB,CAAA"}
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../src/app/api/api-keys/[apiKeyId]/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAS9D,eAAO,MAAM,QAAQ,GAClB,aAA4B;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAO,MAEzD,SAAS,WAAW,EACpB,OAAO;IACL,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACtC;;;;;;;;;;;GA4CF,CAAA;AAEH,eAAO,MAAM,GAAG,YAjDH,WAAW,SACb;IACL,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACtC;;;;;;;;;;;GA8CwB,CAAA;AAE7B,eAAO,MAAM,UAAU,GACpB,aAA4B;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAO,MAEzD,SAAS,WAAW,EACpB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;GA2DjD,CAAA;AAEH,eAAO,MAAM,KAAK,YA9DL,WAAW,SACb;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;GA6DnB,CAAA;AAEjC,eAAO,MAAM,WAAW,GACrB,aAA4B;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAO,MAEzD,SAAS,WAAW,EACpB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;GA+CjD,CAAA;AAEH,eAAO,MAAM,MAAM,YAlDN,WAAW,SACb;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;GAiDjB,CAAA;AAEnC,eAAO,MAAM,OAAO,wBAMjB,CAAA"}
@@ -2,12 +2,12 @@ import { NextResponse } from 'next/server';
2
2
  import { ApiKeyType } from '@prisma/client';
3
3
  import { headers } from 'next/headers';
4
4
  import { cacheHeaders } from '../../../../lib/cache/cacheHeaders';
5
- import { prisma } from '../../../../lib/prisma';
5
+ import { prisma as defaultPrisma } from '../../../../lib/prisma';
6
6
  import { serializeApiKey } from '../../../../lib/apiKeys/serializeApiKey';
7
7
  import { z } from 'zod';
8
8
  import { getApiKey } from '../../../../lib/apiKeys/getApiKey';
9
9
  import { validate } from 'uuid';
10
- export const GET = async (request, props) => {
10
+ export const buildGET = ({ prisma = defaultPrisma } = {}) => async (request, props) => {
11
11
  const params = await props.params;
12
12
  const { apiKeyId } = params;
13
13
  const headersList = await headers();
@@ -18,6 +18,7 @@ export const GET = async (request, props) => {
18
18
  const privateApiKey = await getApiKey({
19
19
  type: ApiKeyType.PRIVATE,
20
20
  authorization,
21
+ prisma,
21
22
  });
22
23
  if (!privateApiKey) {
23
24
  return NextResponse.json({ error: 'Invalid api key' }, { status: 400 });
@@ -37,7 +38,8 @@ export const GET = async (request, props) => {
37
38
  }
38
39
  return NextResponse.json({ apiKey: serializeApiKey({ apiKey }) }, { headers: cacheHeaders });
39
40
  };
40
- export const PATCH = async (request, props) => {
41
+ export const GET = buildGET();
42
+ export const buildPATCH = ({ prisma = defaultPrisma } = {}) => async (request, props) => {
41
43
  const params = await props.params;
42
44
  const { apiKeyId } = params;
43
45
  const headersList = await headers();
@@ -48,6 +50,7 @@ export const PATCH = async (request, props) => {
48
50
  const privateApiKey = await getApiKey({
49
51
  authorization,
50
52
  type: ApiKeyType.PRIVATE,
53
+ prisma,
51
54
  });
52
55
  if (!privateApiKey) {
53
56
  return NextResponse.json({ error: 'Invalid api key' }, { status: 400 });
@@ -78,7 +81,8 @@ export const PATCH = async (request, props) => {
78
81
  });
79
82
  return NextResponse.json({ apiKey: serializeApiKey({ apiKey }) }, { headers: cacheHeaders });
80
83
  };
81
- export const DELETE = async (request, props) => {
84
+ export const PATCH = buildPATCH();
85
+ export const buildDELETE = ({ prisma = defaultPrisma } = {}) => async (request, props) => {
82
86
  const params = await props.params;
83
87
  const { apiKeyId } = params;
84
88
  const headersList = await headers();
@@ -89,6 +93,7 @@ export const DELETE = async (request, props) => {
89
93
  const privateApiKey = await getApiKey({
90
94
  type: ApiKeyType.PRIVATE,
91
95
  authorization,
96
+ prisma,
92
97
  });
93
98
  if (!privateApiKey) {
94
99
  return NextResponse.json({ error: 'Invalid api key' }, { status: 400 });
@@ -111,6 +116,7 @@ export const DELETE = async (request, props) => {
111
116
  });
112
117
  return NextResponse.json({ apiKey: serializeApiKey({ apiKey: deletedApiKey }) }, { headers: cacheHeaders });
113
118
  };
119
+ export const DELETE = buildDELETE();
114
120
  export const OPTIONS = () => NextResponse.json({}, {
115
121
  headers: cacheHeaders,
116
122
  });
@@ -1,4 +1,19 @@
1
+ import { type PrismaClient } from '@prisma/client';
1
2
  import { NextResponse } from 'next/server';
3
+ export declare const buildGET: ({ prisma }?: {
4
+ prisma?: PrismaClient;
5
+ }) => () => Promise<NextResponse<{
6
+ error: string;
7
+ }> | NextResponse<{
8
+ apiKeys: {
9
+ id: string;
10
+ type: import("@prisma/client").$Enums.ApiKeyType;
11
+ name: string;
12
+ value: string;
13
+ createdAt: string;
14
+ updatedAt: string;
15
+ }[];
16
+ }>>;
2
17
  export declare const GET: () => Promise<NextResponse<{
3
18
  error: string;
4
19
  }> | NextResponse<{
@@ -11,6 +26,20 @@ export declare const GET: () => Promise<NextResponse<{
11
26
  updatedAt: string;
12
27
  }[];
13
28
  }>>;
29
+ export declare const buildPOST: ({ prisma }?: {
30
+ prisma?: PrismaClient;
31
+ }) => (request: Request) => Promise<NextResponse<{
32
+ error: string;
33
+ }> | NextResponse<{
34
+ apiKey: {
35
+ id: string;
36
+ type: import("@prisma/client").$Enums.ApiKeyType;
37
+ name: string;
38
+ value: string;
39
+ createdAt: string;
40
+ updatedAt: string;
41
+ };
42
+ }>>;
14
43
  export declare const POST: (request: Request) => Promise<NextResponse<{
15
44
  error: string;
16
45
  }> | NextResponse<{
@@ -1 +1 @@
1
- {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../src/app/api/api-keys/route.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAQ1C,eAAO,MAAM,GAAG;;;;;;;;;;;GAgCf,CAAA;AAED,eAAO,MAAM,IAAI,GAAU,SAAS,OAAO;;;;;;;;;;;GA8F1C,CAAA;AAED,eAAO,MAAM,OAAO,wBAMjB,CAAA"}
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../src/app/api/api-keys/route.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAQ1C,eAAO,MAAM,QAAQ,GAClB,aAA4B;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAO;;;;;;;;;;;GAkC1D,CAAA;AAEH,eAAO,MAAM,GAAG;;;;;;;;;;;GAAa,CAAA;AAE7B,eAAO,MAAM,SAAS,GACnB,aAA4B;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAO,MACpD,SAAS,OAAO;;;;;;;;;;;GAmGtB,CAAA;AAEH,eAAO,MAAM,IAAI,YArGC,OAAO;;;;;;;;;;;GAqGM,CAAA;AAE/B,eAAO,MAAM,OAAO,wBAMjB,CAAA"}
@@ -3,11 +3,11 @@ import { ApiKeyType } from '@prisma/client';
3
3
  import { NextResponse } from 'next/server';
4
4
  import { z } from 'zod';
5
5
  import { cacheHeaders } from '../../../lib/cache/cacheHeaders';
6
- import { prisma } from '../../../lib/prisma';
6
+ import { prisma as defaultPrisma } from '../../../lib/prisma';
7
7
  import { serializeApiKey } from '../../../lib/apiKeys/serializeApiKey';
8
8
  import { getApiKey } from '../../../lib/apiKeys/getApiKey';
9
9
  import { getOrganizationApiKey } from '../../../lib/organizationApiKeys/getOrganizationApiKey';
10
- export const GET = async () => {
10
+ export const buildGET = ({ prisma = defaultPrisma } = {}) => async () => {
11
11
  const headersList = await headers();
12
12
  const authorization = headersList.get('authorization');
13
13
  if (!authorization) {
@@ -16,6 +16,7 @@ export const GET = async () => {
16
16
  const privateApiKey = await getApiKey({
17
17
  type: ApiKeyType.PRIVATE,
18
18
  authorization,
19
+ prisma,
19
20
  });
20
21
  if (!privateApiKey) {
21
22
  return NextResponse.json({ error: 'Invalid api key' }, { status: 400 });
@@ -30,7 +31,8 @@ export const GET = async () => {
30
31
  apiKeys: apiKeys.map((apiKey) => serializeApiKey({ apiKey })),
31
32
  }, { headers: cacheHeaders });
32
33
  };
33
- export const POST = async (request) => {
34
+ export const GET = buildGET();
35
+ export const buildPOST = ({ prisma = defaultPrisma } = {}) => async (request) => {
34
36
  const headersList = await headers();
35
37
  const authorization = headersList.get('authorization');
36
38
  if (!authorization) {
@@ -39,6 +41,7 @@ export const POST = async (request) => {
39
41
  const body = await request.json().catch(() => null);
40
42
  const organizationApiKey = await getOrganizationApiKey({
41
43
  authorization,
44
+ prisma,
42
45
  });
43
46
  if (organizationApiKey) {
44
47
  const createSchemaOrganizationApiKey = z.object({
@@ -73,6 +76,7 @@ export const POST = async (request) => {
73
76
  const privateApiKey = await getApiKey({
74
77
  type: ApiKeyType.PRIVATE,
75
78
  authorization,
79
+ prisma,
76
80
  });
77
81
  if (!privateApiKey) {
78
82
  return NextResponse.json({ error: 'Invalid api key' }, { status: 400 });
@@ -97,6 +101,7 @@ export const POST = async (request) => {
97
101
  apiKey: serializeApiKey({ apiKey }),
98
102
  }, { headers: cacheHeaders });
99
103
  };
104
+ export const POST = buildPOST();
100
105
  export const OPTIONS = () => NextResponse.json({}, {
101
106
  headers: cacheHeaders,
102
107
  });
@@ -1,4 +1,62 @@
1
+ import { type PrismaClient } from '@prisma/client';
1
2
  import { NextResponse, type NextRequest } from 'next/server';
3
+ export declare const buildGET: ({ prisma }?: {
4
+ prisma?: PrismaClient;
5
+ }) => (_request: NextRequest, props: {
6
+ params: Promise<{
7
+ assistantId: string;
8
+ functionId: string;
9
+ }>;
10
+ }) => Promise<NextResponse<{
11
+ error: string;
12
+ }> | NextResponse<{
13
+ function: {
14
+ id: string;
15
+ openapiSpec: PrismaJson.OpenapiSpec;
16
+ handler: {
17
+ deleteTaskHandler?: {
18
+ keyTemplate: string;
19
+ } | undefined;
20
+ updateTaskHandler?: {
21
+ keyTemplate: string;
22
+ } | undefined;
23
+ createTaskHandler?: {
24
+ keyTemplate: string;
25
+ } | undefined;
26
+ listTasksHandler?: {
27
+ keyTemplate: string;
28
+ } | undefined;
29
+ assistantHandler?: {
30
+ assistantId: string;
31
+ } | undefined;
32
+ clientToolHandler?: {
33
+ type: "FUNCTION";
34
+ name: string;
35
+ arguments: PrismaJson.ClientToolHandlerArguments;
36
+ } | undefined;
37
+ replicateHandler?: {
38
+ type: "RUN";
39
+ apiKey: string;
40
+ identifier: string;
41
+ body: PrismaJson.ReplicateHandlerBody;
42
+ } | undefined;
43
+ firecrawlHandler?: {
44
+ type: import("@prisma/client").$Enums.FirecrawlHandlerType;
45
+ apiKey: string;
46
+ body: PrismaJson.FirecrawlHandlerBody;
47
+ } | undefined;
48
+ requestHandler?: {
49
+ url: string;
50
+ method: import("@prisma/client").$Enums.MethodType;
51
+ headers: PrismaJson.RequestHandlerHeaders;
52
+ body: PrismaJson.RequestHandlerBody;
53
+ } | undefined;
54
+ type: import("@prisma/client").$Enums.HandlerType;
55
+ };
56
+ createdAt: string;
57
+ updatedAt: string;
58
+ };
59
+ }>>;
2
60
  export declare const GET: (_request: NextRequest, props: {
3
61
  params: Promise<{
4
62
  assistantId: string;
@@ -54,6 +112,63 @@ export declare const GET: (_request: NextRequest, props: {
54
112
  updatedAt: string;
55
113
  };
56
114
  }>>;
115
+ export declare const buildPATCH: ({ prisma }?: {
116
+ prisma?: PrismaClient;
117
+ }) => (request: NextRequest, props: {
118
+ params: Promise<{
119
+ assistantId: string;
120
+ functionId: string;
121
+ }>;
122
+ }) => Promise<NextResponse<{
123
+ error: string;
124
+ }> | NextResponse<{
125
+ function: {
126
+ id: string;
127
+ openapiSpec: PrismaJson.OpenapiSpec;
128
+ handler: {
129
+ deleteTaskHandler?: {
130
+ keyTemplate: string;
131
+ } | undefined;
132
+ updateTaskHandler?: {
133
+ keyTemplate: string;
134
+ } | undefined;
135
+ createTaskHandler?: {
136
+ keyTemplate: string;
137
+ } | undefined;
138
+ listTasksHandler?: {
139
+ keyTemplate: string;
140
+ } | undefined;
141
+ assistantHandler?: {
142
+ assistantId: string;
143
+ } | undefined;
144
+ clientToolHandler?: {
145
+ type: "FUNCTION";
146
+ name: string;
147
+ arguments: PrismaJson.ClientToolHandlerArguments;
148
+ } | undefined;
149
+ replicateHandler?: {
150
+ type: "RUN";
151
+ apiKey: string;
152
+ identifier: string;
153
+ body: PrismaJson.ReplicateHandlerBody;
154
+ } | undefined;
155
+ firecrawlHandler?: {
156
+ type: import("@prisma/client").$Enums.FirecrawlHandlerType;
157
+ apiKey: string;
158
+ body: PrismaJson.FirecrawlHandlerBody;
159
+ } | undefined;
160
+ requestHandler?: {
161
+ url: string;
162
+ method: import("@prisma/client").$Enums.MethodType;
163
+ headers: PrismaJson.RequestHandlerHeaders;
164
+ body: PrismaJson.RequestHandlerBody;
165
+ } | undefined;
166
+ type: import("@prisma/client").$Enums.HandlerType;
167
+ };
168
+ createdAt: string;
169
+ updatedAt: string;
170
+ };
171
+ }>>;
57
172
  export declare const PATCH: (request: NextRequest, props: {
58
173
  params: Promise<{
59
174
  assistantId: string;
@@ -109,6 +224,63 @@ export declare const PATCH: (request: NextRequest, props: {
109
224
  updatedAt: string;
110
225
  };
111
226
  }>>;
227
+ export declare const buildDELETE: ({ prisma }?: {
228
+ prisma?: PrismaClient;
229
+ }) => (_request: NextRequest, props: {
230
+ params: Promise<{
231
+ assistantId: string;
232
+ functionId: string;
233
+ }>;
234
+ }) => Promise<NextResponse<{
235
+ error: string;
236
+ }> | NextResponse<{
237
+ mcpServer: {
238
+ id: string;
239
+ openapiSpec: PrismaJson.OpenapiSpec;
240
+ handler: {
241
+ deleteTaskHandler?: {
242
+ keyTemplate: string;
243
+ } | undefined;
244
+ updateTaskHandler?: {
245
+ keyTemplate: string;
246
+ } | undefined;
247
+ createTaskHandler?: {
248
+ keyTemplate: string;
249
+ } | undefined;
250
+ listTasksHandler?: {
251
+ keyTemplate: string;
252
+ } | undefined;
253
+ assistantHandler?: {
254
+ assistantId: string;
255
+ } | undefined;
256
+ clientToolHandler?: {
257
+ type: "FUNCTION";
258
+ name: string;
259
+ arguments: PrismaJson.ClientToolHandlerArguments;
260
+ } | undefined;
261
+ replicateHandler?: {
262
+ type: "RUN";
263
+ apiKey: string;
264
+ identifier: string;
265
+ body: PrismaJson.ReplicateHandlerBody;
266
+ } | undefined;
267
+ firecrawlHandler?: {
268
+ type: import("@prisma/client").$Enums.FirecrawlHandlerType;
269
+ apiKey: string;
270
+ body: PrismaJson.FirecrawlHandlerBody;
271
+ } | undefined;
272
+ requestHandler?: {
273
+ url: string;
274
+ method: import("@prisma/client").$Enums.MethodType;
275
+ headers: PrismaJson.RequestHandlerHeaders;
276
+ body: PrismaJson.RequestHandlerBody;
277
+ } | undefined;
278
+ type: import("@prisma/client").$Enums.HandlerType;
279
+ };
280
+ createdAt: string;
281
+ updatedAt: string;
282
+ };
283
+ }>>;
112
284
  export declare const DELETE: (_request: NextRequest, props: {
113
285
  params: Promise<{
114
286
  assistantId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/api/assistants/[assistantId]/functions/[functionId]/route.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAA;AAS5D,eAAO,MAAM,GAAG,GACd,UAAU,WAAW,EACrB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiExE,CAAA;AAED,eAAO,MAAM,KAAK,GAChB,SAAS,WAAW,EACpB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFxE,CAAA;AAED,eAAO,MAAM,MAAM,GACjB,UAAU,WAAW,EACrB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqExE,CAAA;AAED,eAAO,MAAM,OAAO,wBAMjB,CAAA"}
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/api/assistants/[assistantId]/functions/[functionId]/route.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAA;AAS5D,eAAO,MAAM,QAAQ,GAClB,aAA4B;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAO,MAEzD,UAAU,WAAW,EACrB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwExE,CAAA;AAEH,eAAO,MAAM,GAAG,aA3EF,WAAW,SACd;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0E9C,CAAA;AAE7B,eAAO,MAAM,UAAU,GACpB,aAA4B;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAO,MAEzD,SAAS,WAAW,EACpB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFxE,CAAA;AAEH,eAAO,MAAM,KAAK,YA5FL,WAAW,SACb;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2F1C,CAAA;AAEjC,eAAO,MAAM,WAAW,GACrB,aAA4B;IAAE,MAAM,CAAC,EAAE,YAAY,CAAA;CAAO,MAEzD,UAAU,WAAW,EACrB,OAAO;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4ExE,CAAA;AAEH,eAAO,MAAM,MAAM,aA/EL,WAAW,SACd;IAAE,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8ExC,CAAA;AAEnC,eAAO,MAAM,OAAO,wBAMjB,CAAA"}