@superinterface/server 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +2 -0
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/cache/.tsbuildinfo +1 -1
  5. package/.next/cache/eslint/.cache_btwyo7 +1 -1
  6. package/.next/fallback-build-manifest.json +2 -2
  7. package/.next/routes-manifest.json +17 -0
  8. package/.next/server/app/_not-found.html +1 -1
  9. package/.next/server/app/_not-found.rsc +1 -1
  10. package/.next/server/app/api/assistants/[assistantId]/tools/[toolId]/route/app-build-manifest.json +10 -0
  11. package/.next/server/app/api/assistants/[assistantId]/tools/[toolId]/route/app-paths-manifest.json +3 -0
  12. package/.next/server/app/api/assistants/[assistantId]/tools/[toolId]/route/build-manifest.json +16 -0
  13. package/.next/server/app/api/assistants/[assistantId]/tools/[toolId]/route/server-reference-manifest.json +4 -0
  14. package/.next/server/app/api/assistants/[assistantId]/tools/[toolId]/route.js +8 -0
  15. package/.next/server/app/api/assistants/[assistantId]/tools/[toolId]/route.js.map +5 -0
  16. package/.next/server/app/api/assistants/[assistantId]/tools/[toolId]/route.js.nft.json +1 -0
  17. package/.next/server/app/api/assistants/[assistantId]/tools/[toolId]/route_client-reference-manifest.js +2 -0
  18. package/.next/server/app/api/assistants/[assistantId]/tools/route/app-build-manifest.json +10 -0
  19. package/.next/server/app/api/assistants/[assistantId]/tools/route/app-paths-manifest.json +3 -0
  20. package/.next/server/app/api/assistants/[assistantId]/tools/route/build-manifest.json +16 -0
  21. package/.next/server/app/api/assistants/[assistantId]/tools/route/server-reference-manifest.json +4 -0
  22. package/.next/server/app/api/assistants/[assistantId]/tools/route.js +8 -0
  23. package/.next/server/app/api/assistants/[assistantId]/tools/route.js.map +5 -0
  24. package/.next/server/app/api/assistants/[assistantId]/tools/route.js.nft.json +1 -0
  25. package/.next/server/app/api/assistants/[assistantId]/tools/route_client-reference-manifest.js +2 -0
  26. package/.next/server/app/api/files/[fileId]/contents/route.js +1 -1
  27. package/.next/server/app/api/files/[fileId]/contents/route.js.nft.json +1 -1
  28. package/.next/server/app/api/files/route.js +1 -1
  29. package/.next/server/app/api/files/route.js.nft.json +1 -1
  30. package/.next/server/app/api/messages/route.js +1 -1
  31. package/.next/server/app/api/messages/route.js.nft.json +1 -1
  32. package/.next/server/app/api/providers/[modelProviderId]/assistants/route.js +1 -1
  33. package/.next/server/app/api/providers/[modelProviderId]/assistants/route.js.nft.json +1 -1
  34. package/.next/server/app/api/providers/[modelProviderId]/models/route.js +1 -1
  35. package/.next/server/app/api/providers/[modelProviderId]/models/route.js.nft.json +1 -1
  36. package/.next/server/app/api/tasks/callback/route.js +1 -1
  37. package/.next/server/app/api/tasks/callback/route.js.nft.json +1 -1
  38. package/.next/server/app/index.html +1 -1
  39. package/.next/server/app/index.rsc +1 -1
  40. package/.next/server/app-paths-manifest.json +2 -0
  41. package/.next/server/chunks/[root-of-the-server]__181844d8._.js +3 -0
  42. package/.next/server/chunks/[root-of-the-server]__181844d8._.js.map +1 -0
  43. package/.next/server/chunks/[root-of-the-server]__37a3ac4f._.js +3 -0
  44. package/.next/server/chunks/[root-of-the-server]__37a3ac4f._.js.map +1 -0
  45. package/.next/server/chunks/[root-of-the-server]__4e536bc0._.js.map +1 -1
  46. package/.next/server/chunks/{[root-of-the-server]__157cba54._.js → [root-of-the-server]__5715dd1a._.js} +2 -2
  47. package/.next/server/chunks/{[root-of-the-server]__157cba54._.js.map → [root-of-the-server]__5715dd1a._.js.map} +1 -1
  48. package/.next/server/chunks/[root-of-the-server]__621f572e._.js +3 -0
  49. package/.next/server/chunks/[root-of-the-server]__621f572e._.js.map +1 -0
  50. package/.next/server/chunks/[root-of-the-server]__76635a77._.js +3 -0
  51. package/.next/server/chunks/[root-of-the-server]__76635a77._.js.map +1 -0
  52. package/.next/server/chunks/[root-of-the-server]__8b8c4831._.js +3 -0
  53. package/.next/server/chunks/[root-of-the-server]__8b8c4831._.js.map +1 -0
  54. package/.next/server/chunks/{[root-of-the-server]__0dd082e7._.js → [root-of-the-server]__e45dec0a._.js} +2 -2
  55. package/.next/server/chunks/{[root-of-the-server]__0dd082e7._.js.map → [root-of-the-server]__e45dec0a._.js.map} +1 -1
  56. package/.next/server/chunks/{[root-of-the-server]__b9d6eedd._.js → [root-of-the-server]__faa0774f._.js} +2 -2
  57. package/.next/server/chunks/{[root-of-the-server]__b9d6eedd._.js.map → [root-of-the-server]__faa0774f._.js.map} +1 -1
  58. package/.next/server/chunks/c4f00_next_dist_esm_build_templates_app-route_828c7f3d.js.map +1 -1
  59. package/.next/server/pages/404.html +1 -1
  60. package/.next/server/pages/500.html +1 -1
  61. package/.next/trace +1 -1
  62. package/.next/types/routes.d.ts +3 -1
  63. package/.next/types/validator.ts +18 -0
  64. package/dist/app/api/assistants/[assistantId]/buildRoute.d.ts.map +1 -1
  65. package/dist/app/api/assistants/[assistantId]/buildRoute.js +3 -1
  66. package/dist/app/api/assistants/[assistantId]/tools/[toolId]/buildRoute.d.ts +107 -0
  67. package/dist/app/api/assistants/[assistantId]/tools/[toolId]/buildRoute.d.ts.map +1 -0
  68. package/dist/app/api/assistants/[assistantId]/tools/[toolId]/buildRoute.js +165 -0
  69. package/dist/app/api/assistants/[assistantId]/tools/[toolId]/route.d.ts +107 -0
  70. package/dist/app/api/assistants/[assistantId]/tools/[toolId]/route.d.ts.map +1 -0
  71. package/dist/app/api/assistants/[assistantId]/tools/[toolId]/route.js +6 -0
  72. package/dist/app/api/assistants/[assistantId]/tools/buildRoute.d.ts +74 -0
  73. package/dist/app/api/assistants/[assistantId]/tools/buildRoute.d.ts.map +1 -0
  74. package/dist/app/api/assistants/[assistantId]/tools/buildRoute.js +121 -0
  75. package/dist/app/api/assistants/[assistantId]/tools/route.d.ts +70 -0
  76. package/dist/app/api/assistants/[assistantId]/tools/route.d.ts.map +1 -0
  77. package/dist/app/api/assistants/[assistantId]/tools/route.js +5 -0
  78. package/dist/app/api/assistants/buildRoute.d.ts +18 -18
  79. package/dist/app/api/assistants/buildRoute.d.ts.map +1 -1
  80. package/dist/app/api/assistants/buildRoute.js +3 -1
  81. package/dist/lib/tools/isToolConfigAvailable.d.ts +16 -0
  82. package/dist/lib/tools/isToolConfigAvailable.d.ts.map +1 -0
  83. package/dist/lib/tools/isToolConfigAvailable.js +111 -0
  84. package/dist/lib/tools/serializeApiTool.d.ts +39 -0
  85. package/dist/lib/tools/serializeApiTool.d.ts.map +1 -0
  86. package/dist/lib/tools/serializeApiTool.js +35 -0
  87. package/dist/lib/tools/toolSchema.d.ts +311 -0
  88. package/dist/lib/tools/toolSchema.d.ts.map +1 -0
  89. package/dist/lib/tools/toolSchema.js +74 -0
  90. package/package.json +16 -1
  91. package/.next/server/chunks/[root-of-the-server]__80c5437f._.js +0 -3
  92. package/.next/server/chunks/[root-of-the-server]__80c5437f._.js.map +0 -1
  93. package/.next/server/chunks/[root-of-the-server]__aa7dab38._.js +0 -3
  94. package/.next/server/chunks/[root-of-the-server]__aa7dab38._.js.map +0 -1
  95. package/.next/server/chunks/[root-of-the-server]__aacdf247._.js +0 -3
  96. package/.next/server/chunks/[root-of-the-server]__aacdf247._.js.map +0 -1
  97. /package/.next/static/{UBq-QQGk_XvgTNFv4eLnz → RTUY1MMVeKHU4_TIxAC_f}/_buildManifest.js +0 -0
  98. /package/.next/static/{UBq-QQGk_XvgTNFv4eLnz → RTUY1MMVeKHU4_TIxAC_f}/_clientMiddlewareManifest.json +0 -0
  99. /package/.next/static/{UBq-QQGk_XvgTNFv4eLnz → RTUY1MMVeKHU4_TIxAC_f}/_ssgManifest.js +0 -0
package/.next/trace CHANGED
@@ -1 +1 @@
1
- [{"name":"generate-buildid","duration":114,"timestamp":283346951232,"id":4,"parentId":1,"tags":{},"startTime":1770443841786,"traceId":"c3182a08fec5cea4"},{"name":"load-custom-routes","duration":169,"timestamp":283346951392,"id":5,"parentId":1,"tags":{},"startTime":1770443841786,"traceId":"c3182a08fec5cea4"},{"name":"create-dist-dir","duration":643,"timestamp":283347144820,"id":6,"parentId":1,"tags":{},"startTime":1770443841979,"traceId":"c3182a08fec5cea4"},{"name":"create-pages-mapping","duration":210,"timestamp":283347523312,"id":7,"parentId":1,"tags":{},"startTime":1770443842358,"traceId":"c3182a08fec5cea4"},{"name":"collect-app-files","duration":15223,"timestamp":283347523554,"id":8,"parentId":1,"tags":{},"startTime":1770443842358,"traceId":"c3182a08fec5cea4"},{"name":"create-app-mapping","duration":1267,"timestamp":283347538828,"id":9,"parentId":1,"tags":{},"startTime":1770443842373,"traceId":"c3182a08fec5cea4"},{"name":"create-app-layouts","duration":201,"timestamp":283347540116,"id":10,"parentId":1,"tags":{},"startTime":1770443842375,"traceId":"c3182a08fec5cea4"},{"name":"collect-default-files","duration":32486,"timestamp":283347546229,"id":12,"parentId":1,"tags":{},"startTime":1770443842381,"traceId":"c3182a08fec5cea4"},{"name":"generate-route-types","duration":135869,"timestamp":283347540650,"id":11,"parentId":1,"tags":{},"startTime":1770443842375,"traceId":"c3182a08fec5cea4"},{"name":"public-dir-conflict-check","duration":2136,"timestamp":283347676645,"id":13,"parentId":1,"tags":{},"startTime":1770443842511,"traceId":"c3182a08fec5cea4"},{"name":"generate-routes-manifest","duration":11386,"timestamp":283347679127,"id":14,"parentId":1,"tags":{},"startTime":1770443842514,"traceId":"c3182a08fec5cea4"},{"name":"run-turbopack-compiler","duration":14333243,"timestamp":283347745564,"id":16,"parentId":1,"tags":{},"startTime":1770443842580,"traceId":"c3182a08fec5cea4"},{"name":"verify-and-lint","duration":1703712,"timestamp":283362099799,"id":19,"parentId":1,"tags":{},"startTime":1770443856934,"traceId":"c3182a08fec5cea4"},{"name":"verify-typescript-setup","duration":5855275,"timestamp":283362097115,"id":18,"parentId":1,"tags":{},"startTime":1770443856932,"traceId":"c3182a08fec5cea4"},{"name":"check-static-error-page","duration":3630,"timestamp":283367964927,"id":22,"parentId":21,"tags":{},"startTime":1770443862799,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":4600,"timestamp":283367990524,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1770443862825,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":4032,"timestamp":283367991106,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":4097,"timestamp":283367991041,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":355046,"timestamp":283368007145,"id":53,"parentId":34,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":370116,"timestamp":283367992144,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":355282,"timestamp":283368007024,"id":51,"parentId":29,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":371074,"timestamp":283367991240,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":355599,"timestamp":283368006860,"id":50,"parentId":27,"tags":{},"startTime":1770443862841,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":371263,"timestamp":283367991205,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":360386,"timestamp":283368007621,"id":58,"parentId":42,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":375843,"timestamp":283367992210,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":365012,"timestamp":283368007054,"id":52,"parentId":32,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":380489,"timestamp":283367991607,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":370460,"timestamp":283368007182,"id":54,"parentId":41,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":389480,"timestamp":283367992199,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":374361,"timestamp":283368007613,"id":57,"parentId":33,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":389860,"timestamp":283367992129,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":378199,"timestamp":283368007773,"id":60,"parentId":31,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":394731,"timestamp":283367991266,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":395806,"timestamp":283368007203,"id":55,"parentId":43,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":410822,"timestamp":283367992215,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":402786,"timestamp":283368007634,"id":59,"parentId":45,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":418245,"timestamp":283367992229,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":406065,"timestamp":283368014488,"id":66,"parentId":28,"tags":{},"startTime":1770443862849,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":429349,"timestamp":283367991231,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":415408,"timestamp":283368014633,"id":67,"parentId":35,"tags":{},"startTime":1770443862849,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":438001,"timestamp":283367992157,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":422945,"timestamp":283368007600,"id":56,"parentId":30,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":439341,"timestamp":283367991248,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":449052,"timestamp":283368014722,"id":68,"parentId":26,"tags":{},"startTime":1770443862849,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":472688,"timestamp":283367991121,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1770443862826,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":456099,"timestamp":283368016263,"id":70,"parentId":46,"tags":{},"startTime":1770443862851,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":480150,"timestamp":283367992241,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":466940,"timestamp":283368016310,"id":71,"parentId":47,"tags":{},"startTime":1770443862851,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":491030,"timestamp":283367992246,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":471446,"timestamp":283368016361,"id":72,"parentId":48,"tags":{},"startTime":1770443862851,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":495586,"timestamp":283367992254,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":476979,"timestamp":283368017489,"id":73,"parentId":49,"tags":{},"startTime":1770443862852,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":502258,"timestamp":283367992259,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":704382,"timestamp":283368007826,"id":61,"parentId":37,"tags":{},"startTime":1770443862842,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":720062,"timestamp":283367992174,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":703938,"timestamp":283368013537,"id":63,"parentId":39,"tags":{},"startTime":1770443862848,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":725325,"timestamp":283367992185,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":712397,"timestamp":283368013552,"id":64,"parentId":36,"tags":{},"startTime":1770443862848,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":733837,"timestamp":283367992163,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":736070,"timestamp":283368013558,"id":65,"parentId":40,"tags":{},"startTime":1770443862848,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":757466,"timestamp":283367992194,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":754268,"timestamp":283368012789,"id":62,"parentId":38,"tags":{},"startTime":1770443862847,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":774910,"timestamp":283367992180,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"is-page-static","duration":759440,"timestamp":283368016182,"id":69,"parentId":44,"tags":{},"startTime":1770443862851,"traceId":"c3182a08fec5cea4"},{"name":"check-page","duration":783433,"timestamp":283367992223,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1770443862827,"traceId":"c3182a08fec5cea4"},{"name":"static-check","duration":811940,"timestamp":283367963747,"id":21,"parentId":1,"tags":{},"startTime":1770443862798,"traceId":"c3182a08fec5cea4"},{"name":"generate-required-server-files","duration":306,"timestamp":283368776281,"id":75,"parentId":1,"tags":{},"startTime":1770443863611,"traceId":"c3182a08fec5cea4"},{"name":"write-routes-manifest","duration":1830,"timestamp":283368794854,"id":77,"parentId":1,"tags":{},"startTime":1770443863629,"traceId":"c3182a08fec5cea4"},{"name":"load-dotenv","duration":29,"timestamp":283368814698,"id":80,"parentId":79,"tags":{},"startTime":1770443863649,"traceId":"c3182a08fec5cea4"},{"name":"run-export-path-map","duration":397,"timestamp":283368998906,"id":81,"parentId":79,"tags":{},"startTime":1770443863833,"traceId":"c3182a08fec5cea4"},{"name":"next-export","duration":1265647,"timestamp":283368813663,"id":79,"parentId":1,"tags":{},"startTime":1770443863648,"traceId":"c3182a08fec5cea4"},{"name":"move-exported-app-not-found-","duration":7669,"timestamp":283370080550,"id":82,"parentId":78,"tags":{},"startTime":1770443864915,"traceId":"c3182a08fec5cea4"},{"name":"move-exported-page","duration":44988,"timestamp":283370088331,"id":83,"parentId":78,"tags":{},"startTime":1770443864923,"traceId":"c3182a08fec5cea4"},{"name":"static-generation","duration":1665188,"timestamp":283368809472,"id":78,"parentId":1,"tags":{},"startTime":1770443863644,"traceId":"c3182a08fec5cea4"},{"name":"write-routes-manifest","duration":23736,"timestamp":283370474890,"id":84,"parentId":1,"tags":{},"startTime":1770443865309,"traceId":"c3182a08fec5cea4"},{"name":"node-file-trace-build","duration":3477888,"timestamp":283368780470,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1770443863615,"traceId":"c3182a08fec5cea4"},{"name":"apply-include-excludes","duration":229,"timestamp":283372258371,"id":85,"parentId":1,"tags":{},"startTime":1770443867093,"traceId":"c3182a08fec5cea4"},{"name":"print-tree-view","duration":2155,"timestamp":283372258888,"id":86,"parentId":1,"tags":{},"startTime":1770443867093,"traceId":"c3182a08fec5cea4"},{"name":"telemetry-flush","duration":27,"timestamp":283372261052,"id":87,"parentId":1,"tags":{},"startTime":1770443867096,"traceId":"c3182a08fec5cea4"},{"name":"next-build","duration":26758088,"timestamp":283345502994,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.9","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1770443840337,"traceId":"c3182a08fec5cea4"}]
1
+ [{"name":"generate-buildid","duration":258,"timestamp":292177934148,"id":4,"parentId":1,"tags":{},"startTime":1770452672810,"traceId":"9f1bb6d27c9c7fef"},{"name":"load-custom-routes","duration":257,"timestamp":292177934795,"id":5,"parentId":1,"tags":{},"startTime":1770452672811,"traceId":"9f1bb6d27c9c7fef"},{"name":"create-dist-dir","duration":2860,"timestamp":292177992334,"id":6,"parentId":1,"tags":{},"startTime":1770452672868,"traceId":"9f1bb6d27c9c7fef"},{"name":"create-pages-mapping","duration":311,"timestamp":292178238756,"id":7,"parentId":1,"tags":{},"startTime":1770452673115,"traceId":"9f1bb6d27c9c7fef"},{"name":"collect-app-files","duration":32169,"timestamp":292178239104,"id":8,"parentId":1,"tags":{},"startTime":1770452673115,"traceId":"9f1bb6d27c9c7fef"},{"name":"create-app-mapping","duration":5798,"timestamp":292178271300,"id":9,"parentId":1,"tags":{},"startTime":1770452673147,"traceId":"9f1bb6d27c9c7fef"},{"name":"create-app-layouts","duration":606,"timestamp":292178277130,"id":10,"parentId":1,"tags":{},"startTime":1770452673153,"traceId":"9f1bb6d27c9c7fef"},{"name":"collect-default-files","duration":13688,"timestamp":292178281549,"id":12,"parentId":1,"tags":{},"startTime":1770452673158,"traceId":"9f1bb6d27c9c7fef"},{"name":"generate-route-types","duration":40014,"timestamp":292178278783,"id":11,"parentId":1,"tags":{},"startTime":1770452673155,"traceId":"9f1bb6d27c9c7fef"},{"name":"public-dir-conflict-check","duration":5295,"timestamp":292178318987,"id":13,"parentId":1,"tags":{},"startTime":1770452673195,"traceId":"9f1bb6d27c9c7fef"},{"name":"generate-routes-manifest","duration":1817,"timestamp":292178324535,"id":14,"parentId":1,"tags":{},"startTime":1770452673201,"traceId":"9f1bb6d27c9c7fef"},{"name":"run-turbopack-compiler","duration":14851334,"timestamp":292178341383,"id":16,"parentId":1,"tags":{},"startTime":1770452673217,"traceId":"9f1bb6d27c9c7fef"},{"name":"verify-and-lint","duration":1998653,"timestamp":292193287338,"id":19,"parentId":1,"tags":{},"startTime":1770452688163,"traceId":"9f1bb6d27c9c7fef"},{"name":"verify-typescript-setup","duration":6030101,"timestamp":292193254999,"id":18,"parentId":1,"tags":{},"startTime":1770452688131,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-static-error-page","duration":13188,"timestamp":292199316378,"id":22,"parentId":21,"tags":{},"startTime":1770452694192,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":26138,"timestamp":292199397108,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1770452694273,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":17889,"timestamp":292199405367,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1770452694281,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":17981,"timestamp":292199405276,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1770452694281,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":673151,"timestamp":292199483671,"id":52,"parentId":28,"tags":{},"startTime":1770452694360,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":751423,"timestamp":292199405493,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":676381,"timestamp":292199484624,"id":56,"parentId":44,"tags":{},"startTime":1770452694361,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":755301,"timestamp":292199405732,"id":44,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":696811,"timestamp":292199484523,"id":55,"parentId":36,"tags":{},"startTime":1770452694361,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":775677,"timestamp":292199405688,"id":36,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/tools"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":697079,"timestamp":292199484330,"id":53,"parentId":30,"tags":{},"startTime":1770452694360,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":775901,"timestamp":292199405514,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":697076,"timestamp":292199484369,"id":54,"parentId":33,"tags":{},"startTime":1770452694360,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":775787,"timestamp":292199405663,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":710946,"timestamp":292199485231,"id":62,"parentId":37,"tags":{},"startTime":1770452694361,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":790514,"timestamp":292199405694,"id":37,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":764244,"timestamp":292199484794,"id":58,"parentId":31,"tags":{},"startTime":1770452694361,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":843676,"timestamp":292199405587,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":776612,"timestamp":292199484651,"id":57,"parentId":47,"tags":{},"startTime":1770452694361,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":855546,"timestamp":292199405748,"id":47,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":784888,"timestamp":292199489073,"id":66,"parentId":49,"tags":{},"startTime":1770452694365,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":868291,"timestamp":292199405759,"id":49,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":807106,"timestamp":292199489137,"id":67,"parentId":48,"tags":{},"startTime":1770452694365,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":890516,"timestamp":292199405754,"id":48,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":811328,"timestamp":292199489185,"id":68,"parentId":50,"tags":{},"startTime":1770452694365,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":894835,"timestamp":292199405764,"id":50,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":835683,"timestamp":292199489218,"id":69,"parentId":26,"tags":{},"startTime":1770452694365,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":919553,"timestamp":292199405383,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1770452694281,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":839993,"timestamp":292199489409,"id":70,"parentId":27,"tags":{},"startTime":1770452694365,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":923953,"timestamp":292199405477,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":843728,"timestamp":292199489412,"id":71,"parentId":29,"tags":{},"startTime":1770452694365,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":927671,"timestamp":292199405501,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":847413,"timestamp":292199489414,"id":72,"parentId":32,"tags":{},"startTime":1770452694365,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":931294,"timestamp":292199405636,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":854170,"timestamp":292199489417,"id":73,"parentId":34,"tags":{},"startTime":1770452694365,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":938036,"timestamp":292199405673,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":858941,"timestamp":292199489420,"id":74,"parentId":35,"tags":{},"startTime":1770452694366,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":942708,"timestamp":292199405682,"id":35,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/tools/[toolId]"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":863867,"timestamp":292199489422,"id":75,"parentId":43,"tags":{},"startTime":1770452694366,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":947676,"timestamp":292199405726,"id":43,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":868962,"timestamp":292199489425,"id":76,"parentId":45,"tags":{},"startTime":1770452694366,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":952677,"timestamp":292199405737,"id":45,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":874624,"timestamp":292199489658,"id":77,"parentId":51,"tags":{},"startTime":1770452694366,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":958537,"timestamp":292199405769,"id":51,"parentId":21,"tags":{"page":"/"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":1039259,"timestamp":292199485155,"id":61,"parentId":42,"tags":{},"startTime":1770452694361,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":1118801,"timestamp":292199405721,"id":42,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":1046930,"timestamp":292199485147,"id":60,"parentId":41,"tags":{},"startTime":1770452694361,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":1126395,"timestamp":292199405716,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":1068426,"timestamp":292199485273,"id":63,"parentId":39,"tags":{},"startTime":1770452694361,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":1148027,"timestamp":292199405705,"id":39,"parentId":21,"tags":{"page":"/api/files"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":1068638,"timestamp":292199485135,"id":59,"parentId":38,"tags":{},"startTime":1770452694361,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":1148087,"timestamp":292199405699,"id":38,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":1108595,"timestamp":292199486241,"id":64,"parentId":46,"tags":{},"startTime":1770452694362,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":1189131,"timestamp":292199405743,"id":46,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"is-page-static","duration":1111917,"timestamp":292199488913,"id":65,"parentId":40,"tags":{},"startTime":1770452694365,"traceId":"9f1bb6d27c9c7fef"},{"name":"check-page","duration":1195147,"timestamp":292199405710,"id":40,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1770452694282,"traceId":"9f1bb6d27c9c7fef"},{"name":"static-check","duration":1288355,"timestamp":292199312540,"id":21,"parentId":1,"tags":{},"startTime":1770452694189,"traceId":"9f1bb6d27c9c7fef"},{"name":"generate-required-server-files","duration":368,"timestamp":292200603495,"id":79,"parentId":1,"tags":{},"startTime":1770452695480,"traceId":"9f1bb6d27c9c7fef"},{"name":"write-routes-manifest","duration":1782,"timestamp":292200616801,"id":81,"parentId":1,"tags":{},"startTime":1770452695493,"traceId":"9f1bb6d27c9c7fef"},{"name":"load-dotenv","duration":15,"timestamp":292200785148,"id":84,"parentId":83,"tags":{},"startTime":1770452695661,"traceId":"9f1bb6d27c9c7fef"},{"name":"run-export-path-map","duration":286,"timestamp":292200817334,"id":85,"parentId":83,"tags":{},"startTime":1770452695693,"traceId":"9f1bb6d27c9c7fef"},{"name":"next-export","duration":1272384,"timestamp":292200784619,"id":83,"parentId":1,"tags":{},"startTime":1770452695661,"traceId":"9f1bb6d27c9c7fef"},{"name":"move-exported-app-not-found-","duration":37902,"timestamp":292202058164,"id":86,"parentId":82,"tags":{},"startTime":1770452696934,"traceId":"9f1bb6d27c9c7fef"},{"name":"move-exported-page","duration":35798,"timestamp":292202096192,"id":87,"parentId":82,"tags":{},"startTime":1770452696972,"traceId":"9f1bb6d27c9c7fef"},{"name":"static-generation","duration":1675001,"timestamp":292200779596,"id":82,"parentId":1,"tags":{},"startTime":1770452695656,"traceId":"9f1bb6d27c9c7fef"},{"name":"write-routes-manifest","duration":23904,"timestamp":292202454816,"id":88,"parentId":1,"tags":{},"startTime":1770452697331,"traceId":"9f1bb6d27c9c7fef"},{"name":"node-file-trace-build","duration":3698338,"timestamp":292200608025,"id":80,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1770452695484,"traceId":"9f1bb6d27c9c7fef"},{"name":"apply-include-excludes","duration":448,"timestamp":292204306415,"id":89,"parentId":1,"tags":{},"startTime":1770452699183,"traceId":"9f1bb6d27c9c7fef"},{"name":"print-tree-view","duration":2444,"timestamp":292204307392,"id":90,"parentId":1,"tags":{},"startTime":1770452699183,"traceId":"9f1bb6d27c9c7fef"},{"name":"telemetry-flush","duration":49,"timestamp":292204309846,"id":91,"parentId":1,"tags":{},"startTime":1770452699186,"traceId":"9f1bb6d27c9c7fef"},{"name":"next-build","duration":26683420,"timestamp":292177626481,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.9","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1770452672502,"traceId":"9f1bb6d27c9c7fef"}]
@@ -2,7 +2,7 @@
2
2
  // Do not edit this file manually
3
3
 
4
4
  type AppRoutes = "/"
5
- type AppRouteHandlerRoutes = "/api/api-keys" | "/api/api-keys/[apiKeyId]" | "/api/assistants" | "/api/assistants/[assistantId]" | "/api/assistants/[assistantId]/functions" | "/api/assistants/[assistantId]/functions/[functionId]" | "/api/assistants/[assistantId]/initial-messages" | "/api/assistants/[assistantId]/mcp-servers" | "/api/assistants/[assistantId]/mcp-servers/[mcpServerId]" | "/api/files" | "/api/files/[fileId]/contents" | "/api/messages" | "/api/providers" | "/api/providers/[modelProviderId]" | "/api/providers/[modelProviderId]/assistants" | "/api/providers/[modelProviderId]/models" | "/api/tasks" | "/api/tasks/[taskId]" | "/api/tasks/callback" | "/api/threads/runs/submit-client-tool-outputs" | "/api/workspaces" | "/api/workspaces/[workspaceId]"
5
+ type AppRouteHandlerRoutes = "/api/api-keys" | "/api/api-keys/[apiKeyId]" | "/api/assistants" | "/api/assistants/[assistantId]" | "/api/assistants/[assistantId]/functions" | "/api/assistants/[assistantId]/functions/[functionId]" | "/api/assistants/[assistantId]/initial-messages" | "/api/assistants/[assistantId]/mcp-servers" | "/api/assistants/[assistantId]/mcp-servers/[mcpServerId]" | "/api/assistants/[assistantId]/tools" | "/api/assistants/[assistantId]/tools/[toolId]" | "/api/files" | "/api/files/[fileId]/contents" | "/api/messages" | "/api/providers" | "/api/providers/[modelProviderId]" | "/api/providers/[modelProviderId]/assistants" | "/api/providers/[modelProviderId]/models" | "/api/tasks" | "/api/tasks/[taskId]" | "/api/tasks/callback" | "/api/threads/runs/submit-client-tool-outputs" | "/api/workspaces" | "/api/workspaces/[workspaceId]"
6
6
  type PageRoutes = never
7
7
  type LayoutRoutes = "/"
8
8
  type RedirectRoutes = never
@@ -21,6 +21,8 @@ interface ParamMap {
21
21
  "/api/assistants/[assistantId]/initial-messages": { "assistantId": string; }
22
22
  "/api/assistants/[assistantId]/mcp-servers": { "assistantId": string; }
23
23
  "/api/assistants/[assistantId]/mcp-servers/[mcpServerId]": { "assistantId": string; "mcpServerId": string; }
24
+ "/api/assistants/[assistantId]/tools": { "assistantId": string; }
25
+ "/api/assistants/[assistantId]/tools/[toolId]": { "assistantId": string; "toolId": string; }
24
26
  "/api/files": {}
25
27
  "/api/files/[fileId]/contents": { "fileId": string; }
26
28
  "/api/messages": {}
@@ -128,6 +128,24 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
128
128
  type __Unused = __Check
129
129
  }
130
130
 
131
+ // Validate ../../src/app/api/assistants/[assistantId]/tools/[toolId]/route.ts
132
+ {
133
+ type __IsExpected<Specific extends RouteHandlerConfig<"/api/assistants/[assistantId]/tools/[toolId]">> = Specific
134
+ const handler = {} as typeof import("../../src/app/api/assistants/[assistantId]/tools/[toolId]/route.js")
135
+ type __Check = __IsExpected<typeof handler>
136
+ // @ts-ignore
137
+ type __Unused = __Check
138
+ }
139
+
140
+ // Validate ../../src/app/api/assistants/[assistantId]/tools/route.ts
141
+ {
142
+ type __IsExpected<Specific extends RouteHandlerConfig<"/api/assistants/[assistantId]/tools">> = Specific
143
+ const handler = {} as typeof import("../../src/app/api/assistants/[assistantId]/tools/route.js")
144
+ type __Check = __IsExpected<typeof handler>
145
+ // @ts-ignore
146
+ type __Unused = __Check
147
+ }
148
+
131
149
  // Validate ../../src/app/api/assistants/route.ts
132
150
  {
133
151
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/assistants">> = Specific
@@ -1 +1 @@
1
- {"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../src/app/api/assistants/[assistantId]/buildRoute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,gBAAgB,CAAA;AASvB,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;QACd,WAAW,EAAE,MAAM,CAAA;KACpB,CAAC,CAAA;CACH,CAAA;AAED,eAAO,MAAM,QAAQ,GAClB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2F7C,CAAA;AAEH,eAAO,MAAM,UAAU,GACpB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4L7C,CAAA;AAEH,eAAO,MAAM,WAAW,GACrB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuD9C,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA"}
1
+ {"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../src/app/api/assistants/[assistantId]/buildRoute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,gBAAgB,CAAA;AASvB,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;QACd,WAAW,EAAE,MAAM,CAAA;KACpB,CAAC,CAAA;CACH,CAAA;AAED,eAAO,MAAM,QAAQ,GAClB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2F7C,CAAA;AAEH,eAAO,MAAM,UAAU,GACpB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8L7C,CAAA;AAEH,eAAO,MAAM,WAAW,GACrB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuD9C,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA"}
@@ -166,7 +166,9 @@ export const buildPATCH = ({ prisma }) => async (request, props) => {
166
166
  azureResponsesAgentName: null,
167
167
  }))), (modelProviderId !== undefined && {
168
168
  modelProvider: { connect: { id: modelProviderId } },
169
- })), (model !== undefined && { modelSlug: model })), (name !== undefined && { name })), (description !== undefined && { description })), (instructions !== undefined && { instructions })), (truncationType !== undefined && { truncationType })), (truncationLastMessagesCount !== undefined && { truncationLastMessagesCount })), { tools: {
169
+ })), (model !== undefined && { modelSlug: model })), (name !== undefined && { name })), (description !== undefined && { description })), (instructions !== undefined && { instructions })), (truncationType !== undefined && { truncationType })), (truncationLastMessagesCount !== undefined && {
170
+ truncationLastMessagesCount,
171
+ })), { tools: {
170
172
  create: [
171
173
  ...(codeInterpreterEnabled === true
172
174
  ? [
@@ -0,0 +1,107 @@
1
+ import { type PrismaClient } from '@prisma/client';
2
+ import { NextResponse, type NextRequest } from 'next/server';
3
+ type RouteProps = {
4
+ params: Promise<{
5
+ assistantId: string;
6
+ toolId: string;
7
+ }>;
8
+ };
9
+ export declare const buildGET: ({ prisma }: {
10
+ prisma: PrismaClient;
11
+ }) => (_request: NextRequest, props: RouteProps) => Promise<NextResponse<{
12
+ error: string;
13
+ }> | NextResponse<{
14
+ tool: {
15
+ createdAt: string;
16
+ updatedAt: string;
17
+ computerUseTool?: {
18
+ displayWidth: number;
19
+ displayHeight: number;
20
+ environment: import("@prisma/client").$Enums.ComputerUseToolEnvironment;
21
+ mcpServerId: string | null;
22
+ } | undefined;
23
+ imageGenerationTool?: {
24
+ model: string;
25
+ quality: import("@prisma/client").$Enums.ImageGenerationToolQuality;
26
+ size: import("@prisma/client").$Enums.ImageGenerationToolSize;
27
+ outputFormat: import("@prisma/client").$Enums.ImageGenerationToolOutputFormat;
28
+ background: import("@prisma/client").$Enums.ImageGenerationToolBackground;
29
+ partialImages: number;
30
+ } | undefined;
31
+ codeInterpreterTool?: {} | undefined;
32
+ webSearchTool?: {} | undefined;
33
+ fileSearchTool?: {
34
+ vectorStoreIds: string[];
35
+ maxNumResults: number;
36
+ } | undefined;
37
+ id: string;
38
+ type: import("@prisma/client").$Enums.ToolType;
39
+ };
40
+ }>>;
41
+ export declare const buildPATCH: ({ prisma }: {
42
+ prisma: PrismaClient;
43
+ }) => (request: NextRequest, props: RouteProps) => Promise<NextResponse<{
44
+ error: string;
45
+ }> | NextResponse<{
46
+ tool: {
47
+ createdAt: string;
48
+ updatedAt: string;
49
+ computerUseTool?: {
50
+ displayWidth: number;
51
+ displayHeight: number;
52
+ environment: import("@prisma/client").$Enums.ComputerUseToolEnvironment;
53
+ mcpServerId: string | null;
54
+ } | undefined;
55
+ imageGenerationTool?: {
56
+ model: string;
57
+ quality: import("@prisma/client").$Enums.ImageGenerationToolQuality;
58
+ size: import("@prisma/client").$Enums.ImageGenerationToolSize;
59
+ outputFormat: import("@prisma/client").$Enums.ImageGenerationToolOutputFormat;
60
+ background: import("@prisma/client").$Enums.ImageGenerationToolBackground;
61
+ partialImages: number;
62
+ } | undefined;
63
+ codeInterpreterTool?: {} | undefined;
64
+ webSearchTool?: {} | undefined;
65
+ fileSearchTool?: {
66
+ vectorStoreIds: string[];
67
+ maxNumResults: number;
68
+ } | undefined;
69
+ id: string;
70
+ type: import("@prisma/client").$Enums.ToolType;
71
+ };
72
+ }>>;
73
+ export declare const buildDELETE: ({ prisma }: {
74
+ prisma: PrismaClient;
75
+ }) => (_request: NextRequest, props: RouteProps) => Promise<NextResponse<{
76
+ error: string;
77
+ }> | NextResponse<{
78
+ tool: {
79
+ createdAt: string;
80
+ updatedAt: string;
81
+ computerUseTool?: {
82
+ displayWidth: number;
83
+ displayHeight: number;
84
+ environment: import("@prisma/client").$Enums.ComputerUseToolEnvironment;
85
+ mcpServerId: string | null;
86
+ } | undefined;
87
+ imageGenerationTool?: {
88
+ model: string;
89
+ quality: import("@prisma/client").$Enums.ImageGenerationToolQuality;
90
+ size: import("@prisma/client").$Enums.ImageGenerationToolSize;
91
+ outputFormat: import("@prisma/client").$Enums.ImageGenerationToolOutputFormat;
92
+ background: import("@prisma/client").$Enums.ImageGenerationToolBackground;
93
+ partialImages: number;
94
+ } | undefined;
95
+ codeInterpreterTool?: {} | undefined;
96
+ webSearchTool?: {} | undefined;
97
+ fileSearchTool?: {
98
+ vectorStoreIds: string[];
99
+ maxNumResults: number;
100
+ } | undefined;
101
+ id: string;
102
+ type: import("@prisma/client").$Enums.ToolType;
103
+ };
104
+ }>>;
105
+ export declare const buildOPTIONS: () => () => NextResponse<{}>;
106
+ export {};
107
+ //# sourceMappingURL=buildRoute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/api/assistants/[assistantId]/tools/[toolId]/buildRoute.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAA;AAU5D,KAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACzD,CAAA;AAuBD,eAAO,MAAM,QAAQ,GAClB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8C9C,CAAA;AAEH,eAAO,MAAM,UAAU,GACpB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4F7C,CAAA;AAEH,eAAO,MAAM,WAAW,GACrB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,UAAU,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkD9C,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA"}
@@ -0,0 +1,165 @@
1
+ import { headers } from 'next/headers';
2
+ import { ApiKeyType, ToolType } from '@prisma/client';
3
+ import { NextResponse } from 'next/server';
4
+ import { cacheHeaders } from '../../../../../../lib/cache/cacheHeaders';
5
+ import { getApiKey } from '../../../../../../lib/apiKeys/getApiKey';
6
+ import { validate } from 'uuid';
7
+ import { serializeApiTool, toolInclude, } from '../../../../../../lib/tools/serializeApiTool';
8
+ import { updateToolSchema } from '../../../../../../lib/tools/toolSchema';
9
+ const ensureIdsValid = ({ assistantId, toolId, }) => {
10
+ if (!validate(assistantId)) {
11
+ return NextResponse.json({ error: 'Invalid assistant id' }, { status: 400 });
12
+ }
13
+ if (!validate(toolId)) {
14
+ return NextResponse.json({ error: 'Invalid tool id' }, { status: 400 });
15
+ }
16
+ return null;
17
+ };
18
+ export const buildGET = ({ prisma }) => async (_request, props) => {
19
+ const { assistantId, toolId } = await props.params;
20
+ const headersList = await headers();
21
+ const authorization = headersList.get('authorization');
22
+ if (!authorization) {
23
+ return NextResponse.json({ error: 'No authorization header found' }, { status: 400 });
24
+ }
25
+ const privateApiKey = await getApiKey({
26
+ type: ApiKeyType.PRIVATE,
27
+ authorization,
28
+ prisma,
29
+ });
30
+ if (!privateApiKey) {
31
+ return NextResponse.json({ error: 'Invalid api key' }, { status: 400 });
32
+ }
33
+ const validationError = ensureIdsValid({ assistantId, toolId });
34
+ if (validationError)
35
+ return validationError;
36
+ const tool = await prisma.tool.findFirst({
37
+ where: {
38
+ id: toolId,
39
+ assistant: {
40
+ id: assistantId,
41
+ workspaceId: privateApiKey.workspaceId,
42
+ },
43
+ },
44
+ include: toolInclude,
45
+ });
46
+ if (!tool) {
47
+ return NextResponse.json({ error: 'No tool found' }, { status: 400 });
48
+ }
49
+ return NextResponse.json({
50
+ tool: serializeApiTool({ tool }),
51
+ }, { headers: cacheHeaders });
52
+ };
53
+ export const buildPATCH = ({ prisma }) => async (request, props) => {
54
+ const { assistantId, toolId } = await props.params;
55
+ const headersList = await headers();
56
+ const authorization = headersList.get('authorization');
57
+ if (!authorization) {
58
+ return NextResponse.json({ error: 'No authorization header found' }, { status: 400 });
59
+ }
60
+ const privateApiKey = await getApiKey({
61
+ authorization,
62
+ type: ApiKeyType.PRIVATE,
63
+ prisma,
64
+ });
65
+ if (!privateApiKey) {
66
+ return NextResponse.json({ error: 'Invalid api key' }, { status: 400 });
67
+ }
68
+ const validationError = ensureIdsValid({ assistantId, toolId });
69
+ if (validationError)
70
+ return validationError;
71
+ const body = await request.json();
72
+ const parsed = updateToolSchema.safeParse(body);
73
+ if (!parsed.success) {
74
+ return NextResponse.json({ error: 'Invalid payload' }, { status: 400 });
75
+ }
76
+ const tool = await prisma.tool.findFirst({
77
+ where: {
78
+ id: toolId,
79
+ assistant: {
80
+ id: assistantId,
81
+ workspaceId: privateApiKey.workspaceId,
82
+ },
83
+ },
84
+ });
85
+ if (!tool) {
86
+ return NextResponse.json({ error: 'No tool found' }, { status: 400 });
87
+ }
88
+ const typeSpecificUpdate = {};
89
+ if (tool.type === ToolType.FILE_SEARCH &&
90
+ parsed.data.fileSearchTool) {
91
+ typeSpecificUpdate.fileSearchTool = {
92
+ upsert: {
93
+ create: parsed.data.fileSearchTool,
94
+ update: parsed.data.fileSearchTool,
95
+ },
96
+ };
97
+ }
98
+ else if (tool.type === ToolType.IMAGE_GENERATION &&
99
+ parsed.data.imageGenerationTool) {
100
+ typeSpecificUpdate.imageGenerationTool = {
101
+ upsert: {
102
+ create: parsed.data.imageGenerationTool,
103
+ update: parsed.data.imageGenerationTool,
104
+ },
105
+ };
106
+ }
107
+ else if (tool.type === ToolType.COMPUTER_USE &&
108
+ parsed.data.computerUseTool) {
109
+ typeSpecificUpdate.computerUseTool = {
110
+ upsert: {
111
+ create: parsed.data.computerUseTool,
112
+ update: parsed.data.computerUseTool,
113
+ },
114
+ };
115
+ }
116
+ const updatedTool = await prisma.tool.update({
117
+ where: { id: tool.id },
118
+ data: typeSpecificUpdate,
119
+ include: toolInclude,
120
+ });
121
+ return NextResponse.json({
122
+ tool: serializeApiTool({ tool: updatedTool }),
123
+ }, { headers: cacheHeaders });
124
+ };
125
+ export const buildDELETE = ({ prisma }) => async (_request, props) => {
126
+ const { assistantId, toolId } = await props.params;
127
+ const headersList = await headers();
128
+ const authorization = headersList.get('authorization');
129
+ if (!authorization) {
130
+ return NextResponse.json({ error: 'No authorization header found' }, { status: 400 });
131
+ }
132
+ const privateApiKey = await getApiKey({
133
+ authorization,
134
+ type: ApiKeyType.PRIVATE,
135
+ prisma,
136
+ });
137
+ if (!privateApiKey) {
138
+ return NextResponse.json({ error: 'Invalid api key' }, { status: 400 });
139
+ }
140
+ const validationError = ensureIdsValid({ assistantId, toolId });
141
+ if (validationError)
142
+ return validationError;
143
+ const tool = await prisma.tool.findFirst({
144
+ where: {
145
+ id: toolId,
146
+ assistant: {
147
+ id: assistantId,
148
+ workspaceId: privateApiKey.workspaceId,
149
+ },
150
+ },
151
+ });
152
+ if (!tool) {
153
+ return NextResponse.json({ error: 'No tool found' }, { status: 400 });
154
+ }
155
+ const deletedTool = await prisma.tool.delete({
156
+ where: { id: tool.id },
157
+ include: toolInclude,
158
+ });
159
+ return NextResponse.json({
160
+ tool: serializeApiTool({ tool: deletedTool }),
161
+ }, { headers: cacheHeaders });
162
+ };
163
+ export const buildOPTIONS = () => () => NextResponse.json({}, {
164
+ headers: cacheHeaders,
165
+ });
@@ -0,0 +1,107 @@
1
+ export declare const GET: (_request: import("next/server").NextRequest, props: {
2
+ params: Promise<{
3
+ assistantId: string;
4
+ toolId: string;
5
+ }>;
6
+ }) => Promise<import("next/server").NextResponse<{
7
+ error: string;
8
+ }> | import("next/server").NextResponse<{
9
+ tool: {
10
+ createdAt: string;
11
+ updatedAt: string;
12
+ computerUseTool?: {
13
+ displayWidth: number;
14
+ displayHeight: number;
15
+ environment: import("@prisma/client").$Enums.ComputerUseToolEnvironment;
16
+ mcpServerId: string | null;
17
+ } | undefined;
18
+ imageGenerationTool?: {
19
+ model: string;
20
+ quality: import("@prisma/client").$Enums.ImageGenerationToolQuality;
21
+ size: import("@prisma/client").$Enums.ImageGenerationToolSize;
22
+ outputFormat: import("@prisma/client").$Enums.ImageGenerationToolOutputFormat;
23
+ background: import("@prisma/client").$Enums.ImageGenerationToolBackground;
24
+ partialImages: number;
25
+ } | undefined;
26
+ codeInterpreterTool?: {} | undefined;
27
+ webSearchTool?: {} | undefined;
28
+ fileSearchTool?: {
29
+ vectorStoreIds: string[];
30
+ maxNumResults: number;
31
+ } | undefined;
32
+ id: string;
33
+ type: import("@prisma/client").$Enums.ToolType;
34
+ };
35
+ }>>;
36
+ export declare const PATCH: (request: import("next/server").NextRequest, props: {
37
+ params: Promise<{
38
+ assistantId: string;
39
+ toolId: string;
40
+ }>;
41
+ }) => Promise<import("next/server").NextResponse<{
42
+ error: string;
43
+ }> | import("next/server").NextResponse<{
44
+ tool: {
45
+ createdAt: string;
46
+ updatedAt: string;
47
+ computerUseTool?: {
48
+ displayWidth: number;
49
+ displayHeight: number;
50
+ environment: import("@prisma/client").$Enums.ComputerUseToolEnvironment;
51
+ mcpServerId: string | null;
52
+ } | undefined;
53
+ imageGenerationTool?: {
54
+ model: string;
55
+ quality: import("@prisma/client").$Enums.ImageGenerationToolQuality;
56
+ size: import("@prisma/client").$Enums.ImageGenerationToolSize;
57
+ outputFormat: import("@prisma/client").$Enums.ImageGenerationToolOutputFormat;
58
+ background: import("@prisma/client").$Enums.ImageGenerationToolBackground;
59
+ partialImages: number;
60
+ } | undefined;
61
+ codeInterpreterTool?: {} | undefined;
62
+ webSearchTool?: {} | undefined;
63
+ fileSearchTool?: {
64
+ vectorStoreIds: string[];
65
+ maxNumResults: number;
66
+ } | undefined;
67
+ id: string;
68
+ type: import("@prisma/client").$Enums.ToolType;
69
+ };
70
+ }>>;
71
+ export declare const DELETE: (_request: import("next/server").NextRequest, props: {
72
+ params: Promise<{
73
+ assistantId: string;
74
+ toolId: string;
75
+ }>;
76
+ }) => Promise<import("next/server").NextResponse<{
77
+ error: string;
78
+ }> | import("next/server").NextResponse<{
79
+ tool: {
80
+ createdAt: string;
81
+ updatedAt: string;
82
+ computerUseTool?: {
83
+ displayWidth: number;
84
+ displayHeight: number;
85
+ environment: import("@prisma/client").$Enums.ComputerUseToolEnvironment;
86
+ mcpServerId: string | null;
87
+ } | undefined;
88
+ imageGenerationTool?: {
89
+ model: string;
90
+ quality: import("@prisma/client").$Enums.ImageGenerationToolQuality;
91
+ size: import("@prisma/client").$Enums.ImageGenerationToolSize;
92
+ outputFormat: import("@prisma/client").$Enums.ImageGenerationToolOutputFormat;
93
+ background: import("@prisma/client").$Enums.ImageGenerationToolBackground;
94
+ partialImages: number;
95
+ } | undefined;
96
+ codeInterpreterTool?: {} | undefined;
97
+ webSearchTool?: {} | undefined;
98
+ fileSearchTool?: {
99
+ vectorStoreIds: string[];
100
+ maxNumResults: number;
101
+ } | undefined;
102
+ id: string;
103
+ type: import("@prisma/client").$Enums.ToolType;
104
+ };
105
+ }>>;
106
+ export declare const OPTIONS: () => import("next/server").NextResponse<{}>;
107
+ //# sourceMappingURL=route.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/app/api/assistants/[assistantId]/tools/[toolId]/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"}
@@ -0,0 +1,6 @@
1
+ import { prisma } from '../../../../../../lib/prisma';
2
+ import { buildDELETE, buildGET, buildOPTIONS, buildPATCH } from './buildRoute';
3
+ export const GET = buildGET({ prisma });
4
+ export const PATCH = buildPATCH({ prisma });
5
+ export const DELETE = buildDELETE({ prisma });
6
+ export const OPTIONS = buildOPTIONS();
@@ -0,0 +1,74 @@
1
+ import { type NextRequest, NextResponse } from 'next/server';
2
+ import { type PrismaClient } from '@prisma/client';
3
+ type RouteProps = {
4
+ params: Promise<{
5
+ assistantId: string;
6
+ }>;
7
+ };
8
+ export declare const buildGET: ({ prisma }: {
9
+ prisma: PrismaClient;
10
+ }) => (_request: NextRequest, props: RouteProps) => Promise<NextResponse<{
11
+ error: string;
12
+ }> | NextResponse<{
13
+ tools: {
14
+ createdAt: string;
15
+ updatedAt: string;
16
+ computerUseTool?: {
17
+ displayWidth: number;
18
+ displayHeight: number;
19
+ environment: import("@prisma/client").$Enums.ComputerUseToolEnvironment;
20
+ mcpServerId: string | null;
21
+ } | undefined;
22
+ imageGenerationTool?: {
23
+ model: string;
24
+ quality: import("@prisma/client").$Enums.ImageGenerationToolQuality;
25
+ size: import("@prisma/client").$Enums.ImageGenerationToolSize;
26
+ outputFormat: import("@prisma/client").$Enums.ImageGenerationToolOutputFormat;
27
+ background: import("@prisma/client").$Enums.ImageGenerationToolBackground;
28
+ partialImages: number;
29
+ } | undefined;
30
+ codeInterpreterTool?: {} | undefined;
31
+ webSearchTool?: {} | undefined;
32
+ fileSearchTool?: {
33
+ vectorStoreIds: string[];
34
+ maxNumResults: number;
35
+ } | undefined;
36
+ id: string;
37
+ type: import("@prisma/client").$Enums.ToolType;
38
+ }[];
39
+ }>>;
40
+ export declare const buildPOST: ({ prisma }: {
41
+ prisma: PrismaClient;
42
+ }) => (request: NextRequest, props: RouteProps) => Promise<NextResponse<{
43
+ error: string;
44
+ }> | NextResponse<{
45
+ tool: {
46
+ createdAt: string;
47
+ updatedAt: string;
48
+ computerUseTool?: {
49
+ displayWidth: number;
50
+ displayHeight: number;
51
+ environment: import("@prisma/client").$Enums.ComputerUseToolEnvironment;
52
+ mcpServerId: string | null;
53
+ } | undefined;
54
+ imageGenerationTool?: {
55
+ model: string;
56
+ quality: import("@prisma/client").$Enums.ImageGenerationToolQuality;
57
+ size: import("@prisma/client").$Enums.ImageGenerationToolSize;
58
+ outputFormat: import("@prisma/client").$Enums.ImageGenerationToolOutputFormat;
59
+ background: import("@prisma/client").$Enums.ImageGenerationToolBackground;
60
+ partialImages: number;
61
+ } | undefined;
62
+ codeInterpreterTool?: {} | undefined;
63
+ webSearchTool?: {} | undefined;
64
+ fileSearchTool?: {
65
+ vectorStoreIds: string[];
66
+ maxNumResults: number;
67
+ } | undefined;
68
+ id: string;
69
+ type: import("@prisma/client").$Enums.ToolType;
70
+ };
71
+ }>>;
72
+ export declare const buildOPTIONS: () => () => NextResponse<{}>;
73
+ export {};
74
+ //# sourceMappingURL=buildRoute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildRoute.d.ts","sourceRoot":"","sources":["../../../../../../src/app/api/assistants/[assistantId]/tools/buildRoute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,EAAwB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAWxE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkD9C,CAAA;AAEH,eAAO,MAAM,SAAS,GACnB,YAAY;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,MAC9B,SAAS,WAAW,EAAE,OAAO,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmG7C,CAAA;AAEH,eAAO,MAAM,YAAY,8BAMtB,CAAA"}