flujo-ai 3.26.0 → 3.27.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 (624) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +367 -274
  3. package/.next/app-path-routes-manifest.json +15 -5
  4. package/.next/build-manifest.json +5 -5
  5. package/.next/prerender-manifest.json +24 -0
  6. package/.next/react-loadable-manifest.json +19 -18
  7. package/.next/routes-manifest.json +6 -0
  8. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/_not-found.html +1 -1
  10. package/.next/server/app/_not-found.rsc +2 -2
  11. package/.next/server/app/api/approvals/[id]/route.js +1 -1
  12. package/.next/server/app/api/approvals/[id]/route.js.nft.json +1 -1
  13. package/.next/server/app/api/approvals/[id]/route_client-reference-manifest.js +1 -1
  14. package/.next/server/app/api/approvals/route.js +2 -2
  15. package/.next/server/app/api/approvals/route.js.nft.json +1 -1
  16. package/.next/server/app/api/approvals/route_client-reference-manifest.js +1 -1
  17. package/.next/server/app/api/backup/route.js +1 -1
  18. package/.next/server/app/api/backup/route.js.nft.json +1 -1
  19. package/.next/server/app/api/backup/route_client-reference-manifest.js +1 -1
  20. package/.next/server/app/api/browse/route_client-reference-manifest.js +1 -1
  21. package/.next/server/app/api/bugs/enhance/route.js +2 -2
  22. package/.next/server/app/api/bugs/enhance/route.js.nft.json +1 -1
  23. package/.next/server/app/api/bugs/enhance/route_client-reference-manifest.js +1 -1
  24. package/.next/server/app/api/cwd/route_client-reference-manifest.js +1 -1
  25. package/.next/server/app/api/encryption/secure/route.js +1 -1
  26. package/.next/server/app/api/encryption/secure/route.js.nft.json +1 -1
  27. package/.next/server/app/api/encryption/secure/route_client-reference-manifest.js +1 -1
  28. package/.next/server/app/api/env/route.js +1 -1
  29. package/.next/server/app/api/env/route_client-reference-manifest.js +1 -1
  30. package/.next/server/app/api/flow/[id]/route.js +1 -1
  31. package/.next/server/app/api/flow/[id]/route.js.nft.json +1 -1
  32. package/.next/server/app/api/flow/[id]/route_client-reference-manifest.js +1 -1
  33. package/.next/server/app/api/flow/compile/route.js +1 -1
  34. package/.next/server/app/api/flow/compile/route.js.nft.json +1 -1
  35. package/.next/server/app/api/flow/compile/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/api/flow/generate/route.js +1 -1
  37. package/.next/server/app/api/flow/generate/route.js.nft.json +1 -1
  38. package/.next/server/app/api/flow/generate/route_client-reference-manifest.js +1 -1
  39. package/.next/server/app/api/flow/improve/route.js +1 -1
  40. package/.next/server/app/api/flow/improve/route.js.nft.json +1 -1
  41. package/.next/server/app/api/flow/improve/route_client-reference-manifest.js +1 -1
  42. package/.next/server/app/api/flow/prompt-renderer/route.js +2 -2
  43. package/.next/server/app/api/flow/prompt-renderer/route.js.nft.json +1 -1
  44. package/.next/server/app/api/flow/prompt-renderer/route_client-reference-manifest.js +1 -1
  45. package/.next/server/app/api/flow/quick-chat/route.js +1 -1
  46. package/.next/server/app/api/flow/quick-chat/route.js.nft.json +1 -1
  47. package/.next/server/app/api/flow/quick-chat/route_client-reference-manifest.js +1 -1
  48. package/.next/server/app/api/flow/repair/route.js +1 -1
  49. package/.next/server/app/api/flow/repair/route.js.nft.json +1 -1
  50. package/.next/server/app/api/flow/repair/route_client-reference-manifest.js +1 -1
  51. package/.next/server/app/api/flow/route.js +1 -1
  52. package/.next/server/app/api/flow/route.js.nft.json +1 -1
  53. package/.next/server/app/api/flow/route_client-reference-manifest.js +1 -1
  54. package/.next/server/app/api/git/route.js +2 -2
  55. package/.next/server/app/api/git/route.js.nft.json +1 -1
  56. package/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
  57. package/.next/server/app/api/init/route.js +1 -1
  58. package/.next/server/app/api/init/route.js.nft.json +1 -1
  59. package/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
  60. package/.next/server/app/api/local-models/capability/route_client-reference-manifest.js +1 -1
  61. package/.next/server/app/api/local-models/pull/route_client-reference-manifest.js +1 -1
  62. package/.next/server/app/api/local-models/suggest/route_client-reference-manifest.js +1 -1
  63. package/.next/server/app/api/mcp/cancel/route.js +2 -2
  64. package/.next/server/app/api/mcp/cancel/route.js.nft.json +1 -1
  65. package/.next/server/app/api/mcp/cancel/route_client-reference-manifest.js +1 -1
  66. package/.next/server/app/api/mcp/servers/[name]/prompts/get/route.js +1 -1
  67. package/.next/server/app/api/mcp/servers/[name]/prompts/get/route.js.nft.json +1 -1
  68. package/.next/server/app/api/mcp/servers/[name]/prompts/get/route_client-reference-manifest.js +1 -1
  69. package/.next/server/app/api/mcp/servers/[name]/prompts/route.js +1 -1
  70. package/.next/server/app/api/mcp/servers/[name]/prompts/route.js.nft.json +1 -1
  71. package/.next/server/app/api/mcp/servers/[name]/prompts/route_client-reference-manifest.js +1 -1
  72. package/.next/server/app/api/mcp/servers/[name]/resources/read/route.js +1 -1
  73. package/.next/server/app/api/mcp/servers/[name]/resources/read/route.js.nft.json +1 -1
  74. package/.next/server/app/api/mcp/servers/[name]/resources/read/route_client-reference-manifest.js +1 -1
  75. package/.next/server/app/api/mcp/servers/[name]/resources/route.js +1 -1
  76. package/.next/server/app/api/mcp/servers/[name]/resources/route.js.nft.json +1 -1
  77. package/.next/server/app/api/mcp/servers/[name]/resources/route_client-reference-manifest.js +1 -1
  78. package/.next/server/app/api/mcp/servers/[name]/route.js +1 -1
  79. package/.next/server/app/api/mcp/servers/[name]/route.js.nft.json +1 -1
  80. package/.next/server/app/api/mcp/servers/[name]/route_client-reference-manifest.js +1 -1
  81. package/.next/server/app/api/mcp/servers/[name]/status/route.js +1 -1
  82. package/.next/server/app/api/mcp/servers/[name]/status/route.js.nft.json +1 -1
  83. package/.next/server/app/api/mcp/servers/[name]/status/route_client-reference-manifest.js +1 -1
  84. package/.next/server/app/api/mcp/servers/[name]/tools/[toolName]/route.js +1 -1
  85. package/.next/server/app/api/mcp/servers/[name]/tools/[toolName]/route.js.nft.json +1 -1
  86. package/.next/server/app/api/mcp/servers/[name]/tools/[toolName]/route_client-reference-manifest.js +1 -1
  87. package/.next/server/app/api/mcp/servers/[name]/tools/route.js +1 -1
  88. package/.next/server/app/api/mcp/servers/[name]/tools/route.js.nft.json +1 -1
  89. package/.next/server/app/api/mcp/servers/[name]/tools/route_client-reference-manifest.js +1 -1
  90. package/.next/server/app/api/mcp/servers/route.js +1 -1
  91. package/.next/server/app/api/mcp/servers/route.js.nft.json +1 -1
  92. package/.next/server/app/api/mcp/servers/route_client-reference-manifest.js +1 -1
  93. package/.next/server/app/api/mcp/test-connection/route.js +1 -1
  94. package/.next/server/app/api/mcp/test-connection/route.js.nft.json +1 -1
  95. package/.next/server/app/api/mcp/test-connection/route_client-reference-manifest.js +1 -1
  96. package/.next/server/app/api/mcp/test-connection/stream/route.js +1 -1
  97. package/.next/server/app/api/mcp/test-connection/stream/route.js.nft.json +1 -1
  98. package/.next/server/app/api/mcp/test-connection/stream/route_client-reference-manifest.js +1 -1
  99. package/.next/server/app/api/mcp-registry/route.js +2 -2
  100. package/.next/server/app/api/mcp-registry/route.js.nft.json +1 -1
  101. package/.next/server/app/api/mcp-registry/route_client-reference-manifest.js +1 -1
  102. package/.next/server/app/api/mcp-registry/spotlight/route_client-reference-manifest.js +1 -1
  103. package/.next/server/app/api/model/[id]/route.js +1 -1
  104. package/.next/server/app/api/model/[id]/route.js.nft.json +1 -1
  105. package/.next/server/app/api/model/[id]/route_client-reference-manifest.js +1 -1
  106. package/.next/server/app/api/model/provider/route.js +2 -2
  107. package/.next/server/app/api/model/provider/route.js.nft.json +1 -1
  108. package/.next/server/app/api/model/provider/route_client-reference-manifest.js +1 -1
  109. package/.next/server/app/api/model/route.js +1 -1
  110. package/.next/server/app/api/model/route.js.nft.json +1 -1
  111. package/.next/server/app/api/model/route_client-reference-manifest.js +1 -1
  112. package/.next/server/app/api/model/test/route.js +2 -2
  113. package/.next/server/app/api/model/test/route.js.nft.json +1 -1
  114. package/.next/server/app/api/model/test/route_client-reference-manifest.js +1 -1
  115. package/.next/server/app/api/oauth/callback/route.js +2 -2
  116. package/.next/server/app/api/oauth/callback/route.js.nft.json +1 -1
  117. package/.next/server/app/api/oauth/callback/route_client-reference-manifest.js +1 -1
  118. package/.next/server/app/api/oauth/initiate/route.js +2 -2
  119. package/.next/server/app/api/oauth/initiate/route.js.nft.json +1 -1
  120. package/.next/server/app/api/oauth/initiate/route_client-reference-manifest.js +1 -1
  121. package/.next/server/app/api/oauth/reset/route.js +2 -2
  122. package/.next/server/app/api/oauth/reset/route.js.nft.json +1 -1
  123. package/.next/server/app/api/oauth/reset/route_client-reference-manifest.js +1 -1
  124. package/.next/server/app/api/packages/build/route.js +1 -0
  125. package/.next/server/app/api/packages/build/route.js.nft.json +1 -0
  126. package/.next/server/app/api/packages/build/route_client-reference-manifest.js +1 -0
  127. package/.next/server/app/api/packages/derive-secrets/route.js +1 -0
  128. package/.next/server/app/api/packages/derive-secrets/route.js.nft.json +1 -0
  129. package/.next/server/app/api/packages/derive-secrets/route_client-reference-manifest.js +1 -0
  130. package/.next/server/app/api/packages/install/route.js +1 -0
  131. package/.next/server/app/api/packages/install/route.js.nft.json +1 -0
  132. package/.next/server/app/api/packages/install/route_client-reference-manifest.js +1 -0
  133. package/.next/server/app/api/packages/install/status/route.js +1 -0
  134. package/.next/server/app/api/packages/install/status/route.js.nft.json +1 -0
  135. package/.next/server/app/api/packages/install/status/route_client-reference-manifest.js +1 -0
  136. package/.next/server/app/api/packages/resolve/route.js +1 -0
  137. package/.next/server/app/api/packages/resolve/route.js.nft.json +1 -0
  138. package/.next/server/app/api/packages/resolve/route_client-reference-manifest.js +1 -0
  139. package/.next/server/app/api/planned-executions/[id]/route.js +1 -1
  140. package/.next/server/app/api/planned-executions/[id]/route.js.nft.json +1 -1
  141. package/.next/server/app/api/planned-executions/[id]/route_client-reference-manifest.js +1 -1
  142. package/.next/server/app/api/planned-executions/[id]/run/route.js +1 -1
  143. package/.next/server/app/api/planned-executions/[id]/run/route.js.nft.json +1 -1
  144. package/.next/server/app/api/planned-executions/[id]/run/route_client-reference-manifest.js +1 -1
  145. package/.next/server/app/api/planned-executions/[id]/runs/route.js +1 -1
  146. package/.next/server/app/api/planned-executions/[id]/runs/route.js.nft.json +1 -1
  147. package/.next/server/app/api/planned-executions/[id]/runs/route_client-reference-manifest.js +1 -1
  148. package/.next/server/app/api/planned-executions/preview-schedule/route_client-reference-manifest.js +1 -1
  149. package/.next/server/app/api/planned-executions/reconcile/route.js +1 -1
  150. package/.next/server/app/api/planned-executions/reconcile/route.js.nft.json +1 -1
  151. package/.next/server/app/api/planned-executions/reconcile/route_client-reference-manifest.js +1 -1
  152. package/.next/server/app/api/planned-executions/route.js +1 -1
  153. package/.next/server/app/api/planned-executions/route.js.nft.json +1 -1
  154. package/.next/server/app/api/planned-executions/route_client-reference-manifest.js +1 -1
  155. package/.next/server/app/api/registry/auth/resend/route.js +1 -0
  156. package/.next/server/app/api/registry/auth/resend/route.js.nft.json +1 -0
  157. package/.next/server/app/api/registry/auth/resend/route_client-reference-manifest.js +1 -0
  158. package/.next/server/app/api/registry/auth/route.js +1 -0
  159. package/.next/server/app/api/registry/auth/route.js.nft.json +1 -0
  160. package/.next/server/app/api/registry/auth/route_client-reference-manifest.js +1 -0
  161. package/.next/server/app/api/registry/publish/route.js +1 -0
  162. package/.next/server/app/api/registry/publish/route.js.nft.json +1 -0
  163. package/.next/server/app/api/registry/publish/route_client-reference-manifest.js +1 -0
  164. package/.next/server/app/api/registry/settings/route.js +1 -0
  165. package/.next/server/app/api/registry/settings/route.js.nft.json +1 -0
  166. package/.next/server/app/api/registry/settings/route_client-reference-manifest.js +1 -0
  167. package/.next/server/app/api/restore/route.js +1 -1
  168. package/.next/server/app/api/restore/route.js.nft.json +1 -1
  169. package/.next/server/app/api/restore/route_client-reference-manifest.js +1 -1
  170. package/.next/server/app/api/runs/active/route.js +2 -2
  171. package/.next/server/app/api/runs/active/route.js.nft.json +1 -1
  172. package/.next/server/app/api/runs/active/route_client-reference-manifest.js +1 -1
  173. package/.next/server/app/api/storage/route_client-reference-manifest.js +1 -1
  174. package/.next/server/app/api/update/route.js +1 -1
  175. package/.next/server/app/api/update/route.js.nft.json +1 -1
  176. package/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
  177. package/.next/server/app/api/waves/route.js +1 -1
  178. package/.next/server/app/api/waves/route.js.nft.json +1 -1
  179. package/.next/server/app/api/waves/route_client-reference-manifest.js +1 -1
  180. package/.next/server/app/api/webhooks/[id]/route.js +1 -1
  181. package/.next/server/app/api/webhooks/[id]/route.js.nft.json +1 -1
  182. package/.next/server/app/api/webhooks/[id]/route_client-reference-manifest.js +1 -1
  183. package/.next/server/app/chat/page.js +9 -10
  184. package/.next/server/app/chat/page.js.nft.json +1 -1
  185. package/.next/server/app/chat/page_client-reference-manifest.js +1 -1
  186. package/.next/server/app/chat.html +1 -1
  187. package/.next/server/app/chat.rsc +3 -3
  188. package/.next/server/app/docs/page.js +3 -3
  189. package/.next/server/app/docs/page.js.nft.json +1 -1
  190. package/.next/server/app/docs/page_client-reference-manifest.js +1 -1
  191. package/.next/server/app/docs.html +1 -1
  192. package/.next/server/app/docs.rsc +3 -3
  193. package/.next/server/app/executions/page.js +3 -3
  194. package/.next/server/app/executions/page.js.nft.json +1 -1
  195. package/.next/server/app/executions/page_client-reference-manifest.js +1 -1
  196. package/.next/server/app/executions.html +1 -1
  197. package/.next/server/app/executions.rsc +3 -3
  198. package/.next/server/app/flows/page.js +3 -3
  199. package/.next/server/app/flows/page.js.nft.json +1 -1
  200. package/.next/server/app/flows/page_client-reference-manifest.js +1 -1
  201. package/.next/server/app/flows.html +1 -1
  202. package/.next/server/app/flows.rsc +4 -4
  203. package/.next/server/app/index.html +1 -1
  204. package/.next/server/app/index.rsc +3 -3
  205. package/.next/server/app/mcp/page.js +6 -6
  206. package/.next/server/app/mcp/page.js.nft.json +1 -1
  207. package/.next/server/app/mcp/page_client-reference-manifest.js +1 -1
  208. package/.next/server/app/mcp-flows/route.js +1 -1
  209. package/.next/server/app/mcp-flows/route.js.nft.json +1 -1
  210. package/.next/server/app/mcp-flows/route_client-reference-manifest.js +1 -1
  211. package/.next/server/app/mcp-proxy/[server]/route.js +1 -1
  212. package/.next/server/app/mcp-proxy/[server]/route.js.nft.json +1 -1
  213. package/.next/server/app/mcp-proxy/[server]/route_client-reference-manifest.js +1 -1
  214. package/.next/server/app/mcp.html +1 -1
  215. package/.next/server/app/mcp.rsc +3 -3
  216. package/.next/server/app/models/page.js +2 -2
  217. package/.next/server/app/models/page.js.nft.json +1 -1
  218. package/.next/server/app/models/page_client-reference-manifest.js +1 -1
  219. package/.next/server/app/packages/page.js +3 -0
  220. package/.next/server/app/packages/page.js.nft.json +1 -0
  221. package/.next/server/app/packages/page_client-reference-manifest.js +1 -0
  222. package/.next/server/app/packages.html +1 -0
  223. package/.next/server/app/packages.meta +7 -0
  224. package/.next/server/app/packages.rsc +22 -0
  225. package/.next/server/app/page.js +1 -1
  226. package/.next/server/app/page.js.nft.json +1 -1
  227. package/.next/server/app/page_client-reference-manifest.js +1 -1
  228. package/.next/server/app/settings/page.js +3 -2
  229. package/.next/server/app/settings/page.js.nft.json +1 -1
  230. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  231. package/.next/server/app/settings.html +1 -1
  232. package/.next/server/app/settings.rsc +3 -3
  233. package/.next/server/app/v1/chat/completions/route.js +1 -1
  234. package/.next/server/app/v1/chat/completions/route.js.nft.json +1 -1
  235. package/.next/server/app/v1/chat/completions/route_client-reference-manifest.js +1 -1
  236. package/.next/server/app/v1/chat/conversations/[conversationId]/breakpoints/route.js +2 -2
  237. package/.next/server/app/v1/chat/conversations/[conversationId]/breakpoints/route.js.nft.json +1 -1
  238. package/.next/server/app/v1/chat/conversations/[conversationId]/breakpoints/route_client-reference-manifest.js +1 -1
  239. package/.next/server/app/v1/chat/conversations/[conversationId]/cancel/route.js +2 -2
  240. package/.next/server/app/v1/chat/conversations/[conversationId]/cancel/route.js.nft.json +1 -1
  241. package/.next/server/app/v1/chat/conversations/[conversationId]/cancel/route_client-reference-manifest.js +1 -1
  242. package/.next/server/app/v1/chat/conversations/[conversationId]/debug/continue/route.js +1 -1
  243. package/.next/server/app/v1/chat/conversations/[conversationId]/debug/continue/route.js.nft.json +1 -1
  244. package/.next/server/app/v1/chat/conversations/[conversationId]/debug/continue/route_client-reference-manifest.js +1 -1
  245. package/.next/server/app/v1/chat/conversations/[conversationId]/debug/step/route.js +1 -1
  246. package/.next/server/app/v1/chat/conversations/[conversationId]/debug/step/route.js.nft.json +1 -1
  247. package/.next/server/app/v1/chat/conversations/[conversationId]/debug/step/route_client-reference-manifest.js +1 -1
  248. package/.next/server/app/v1/chat/conversations/[conversationId]/edit-state/route.js +2 -2
  249. package/.next/server/app/v1/chat/conversations/[conversationId]/edit-state/route.js.nft.json +1 -1
  250. package/.next/server/app/v1/chat/conversations/[conversationId]/edit-state/route_client-reference-manifest.js +1 -1
  251. package/.next/server/app/v1/chat/conversations/[conversationId]/events/route.js +2 -2
  252. package/.next/server/app/v1/chat/conversations/[conversationId]/events/route.js.nft.json +1 -1
  253. package/.next/server/app/v1/chat/conversations/[conversationId]/events/route_client-reference-manifest.js +1 -1
  254. package/.next/server/app/v1/chat/conversations/[conversationId]/resources/route_client-reference-manifest.js +1 -1
  255. package/.next/server/app/v1/chat/conversations/[conversationId]/respond/route.js +1 -1
  256. package/.next/server/app/v1/chat/conversations/[conversationId]/respond/route.js.nft.json +1 -1
  257. package/.next/server/app/v1/chat/conversations/[conversationId]/respond/route_client-reference-manifest.js +1 -1
  258. package/.next/server/app/v1/chat/conversations/[conversationId]/route.js +2 -2
  259. package/.next/server/app/v1/chat/conversations/[conversationId]/route.js.nft.json +1 -1
  260. package/.next/server/app/v1/chat/conversations/[conversationId]/route_client-reference-manifest.js +1 -1
  261. package/.next/server/app/v1/chat/conversations/route.js +2 -2
  262. package/.next/server/app/v1/chat/conversations/route.js.nft.json +1 -1
  263. package/.next/server/app/v1/chat/conversations/route_client-reference-manifest.js +1 -1
  264. package/.next/server/app/v1/models/route.js +2 -2
  265. package/.next/server/app/v1/models/route.js.nft.json +1 -1
  266. package/.next/server/app/v1/models/route_client-reference-manifest.js +1 -1
  267. package/.next/server/app/waves/page.js +3 -3
  268. package/.next/server/app/waves/page.js.nft.json +1 -1
  269. package/.next/server/app/waves/page_client-reference-manifest.js +1 -1
  270. package/.next/server/app/waves.html +1 -1
  271. package/.next/server/app/waves.rsc +3 -3
  272. package/.next/server/app-paths-manifest.json +15 -5
  273. package/.next/server/chunks/1083.js +1 -1
  274. package/.next/server/chunks/1089.js +1 -0
  275. package/.next/server/chunks/1114.js +1 -1
  276. package/.next/server/chunks/1197.js +1 -1
  277. package/.next/server/chunks/1226.js +1 -1
  278. package/.next/server/chunks/1314.js +1 -0
  279. package/.next/server/chunks/1604.js +65 -0
  280. package/.next/server/chunks/1659.js +1 -1
  281. package/.next/server/chunks/166.js +5 -5
  282. package/.next/server/chunks/1805.js +1 -0
  283. package/.next/server/chunks/1819.js +2 -0
  284. package/.next/server/chunks/1925.js +1 -0
  285. package/.next/server/chunks/237.js +1 -0
  286. package/.next/server/chunks/2373.js +1 -1
  287. package/.next/server/chunks/2388.js +1 -0
  288. package/.next/server/chunks/2434.js +2 -0
  289. package/.next/server/chunks/2666.js +1 -0
  290. package/.next/server/chunks/2859.js +1 -1
  291. package/.next/server/chunks/2940.js +41 -0
  292. package/.next/server/chunks/2985.js +1 -0
  293. package/.next/server/chunks/3298.js +1 -1
  294. package/.next/server/chunks/{8445.js → 3392.js} +2 -2
  295. package/.next/server/chunks/346.js +1 -0
  296. package/.next/server/chunks/3569.js +1 -0
  297. package/.next/server/chunks/3629.js +1 -0
  298. package/.next/server/chunks/4042.js +1 -0
  299. package/.next/server/chunks/4306.js +1 -0
  300. package/.next/server/chunks/4322.js +1 -0
  301. package/.next/server/chunks/{3774.js → 4426.js} +2 -2
  302. package/.next/server/chunks/4545.js +3 -3
  303. package/.next/server/chunks/{6745.js → 4661.js} +1 -1
  304. package/.next/server/chunks/4671.js +1 -1
  305. package/.next/server/chunks/4681.js +1 -0
  306. package/.next/server/chunks/4765.js +1 -0
  307. package/.next/server/chunks/4771.js +1 -1
  308. package/.next/server/chunks/5094.js +2 -0
  309. package/.next/server/chunks/5096.js +1 -0
  310. package/.next/server/chunks/510.js +1 -0
  311. package/.next/server/chunks/{4578.js → 5150.js} +1 -1
  312. package/.next/server/chunks/5463.js +1 -1
  313. package/.next/server/chunks/5544.js +5 -5
  314. package/.next/server/chunks/5708.js +1 -1
  315. package/.next/server/chunks/5880.js +1 -0
  316. package/.next/server/chunks/6005.js +1 -0
  317. package/.next/server/chunks/6529.js +5 -0
  318. package/.next/server/chunks/6537.js +1 -1
  319. package/.next/server/chunks/6826.js +1 -1
  320. package/.next/server/chunks/6996.js +1 -62
  321. package/.next/server/chunks/701.js +1 -1
  322. package/.next/server/chunks/7028.js +1 -0
  323. package/.next/server/chunks/7214.js +2 -2
  324. package/.next/server/chunks/724.js +1 -1
  325. package/.next/server/chunks/7362.js +13 -13
  326. package/.next/server/chunks/7463.js +2 -2
  327. package/.next/server/chunks/7485.js +1 -0
  328. package/.next/server/chunks/7498.js +42 -0
  329. package/.next/server/chunks/7506.js +1 -1
  330. package/.next/server/chunks/7579.js +2 -2
  331. package/.next/server/chunks/{3030.js → 7674.js} +1 -1
  332. package/.next/server/chunks/7764.js +37 -0
  333. package/.next/server/chunks/7821.js +1 -1
  334. package/.next/server/chunks/8192.js +12 -0
  335. package/.next/server/chunks/826.js +52 -0
  336. package/.next/server/chunks/8387.js +1 -1
  337. package/.next/server/chunks/{5662.js → 8522.js} +1 -1
  338. package/.next/server/chunks/8667.js +1 -0
  339. package/.next/server/chunks/869.js +2 -0
  340. package/.next/server/chunks/{3489.js → 8730.js} +1 -1
  341. package/.next/server/chunks/8732.js +62 -0
  342. package/.next/server/chunks/8739.js +1 -1
  343. package/.next/server/chunks/8745.js +1 -1
  344. package/.next/server/chunks/8851.js +1 -0
  345. package/.next/server/chunks/94.js +1 -1
  346. package/.next/server/chunks/{1152.js → 9400.js} +1 -1
  347. package/.next/server/chunks/{4456.js → 9472.js} +2 -2
  348. package/.next/server/chunks/9583.js +1 -0
  349. package/.next/server/instrumentation.js +1 -1
  350. package/.next/server/instrumentation.js.nft.json +1 -1
  351. package/.next/server/middleware-build-manifest.js +1 -1
  352. package/.next/server/middleware-manifest.json +1 -1
  353. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  354. package/.next/server/pages/404.html +1 -1
  355. package/.next/server/pages/500.html +1 -1
  356. package/.next/server/server-reference-manifest.js +1 -1
  357. package/.next/server/server-reference-manifest.json +1 -1
  358. package/.next/static/O-elWbT5rs6ci1CrCqez1/_buildManifest.js +1 -0
  359. package/.next/static/chunks/{2003-7710c23acaef11c9.js → 2003-f826c607d609d1fa.js} +1 -1
  360. package/.next/static/chunks/{4003-3b3768446ae333df.js → 2019-f22580cb726c5dca.js} +1 -1
  361. package/.next/static/chunks/256-a13a59247ac6cc68.js +1 -0
  362. package/.next/static/chunks/2566-60acd5838abd9f3f.js +1 -0
  363. package/.next/static/chunks/2822-8168e3bb8443a1ec.js +1 -0
  364. package/.next/static/chunks/289-98f50bfcf833d661.js +1 -0
  365. package/.next/static/chunks/2981-10313d395eb99645.js +1 -0
  366. package/.next/static/chunks/3028-fc1f04241ed578ff.js +1 -0
  367. package/.next/static/chunks/3089.9e15df4ffd0fe4e8.js +1 -0
  368. package/.next/static/chunks/{3217.f728df99ab5da33c.js → 3217.260785c2198d1e9d.js} +1 -1
  369. package/.next/static/chunks/3392-6dd9ad3be66a7ce9.js +1 -0
  370. package/.next/static/chunks/{3556-3b6f7c99b015b752.js → 3556-b9855146c7506696.js} +1 -1
  371. package/.next/static/chunks/3560-5bdceef09b50e1c3.js +1 -0
  372. package/.next/static/chunks/3574-94e9f20550550a58.js +1 -0
  373. package/.next/static/chunks/4483-463f8bfc6f3dd5fa.js +1 -0
  374. package/.next/static/chunks/{488-623d07c3fbc21e28.js → 488-7ab54d8ae2b4b550.js} +1 -1
  375. package/.next/static/chunks/{5512.d01d565f73109a1a.js → 5512.682bef7fd3a7c286.js} +1 -1
  376. package/.next/static/chunks/5578-49bc150686c13b6f.js +1 -0
  377. package/.next/static/chunks/5766-dbd21cb8435605aa.js +1 -0
  378. package/.next/static/chunks/5866-6834cbc4ab02d86f.js +1 -0
  379. package/.next/static/chunks/6669-012c73587a6628fc.js +1 -0
  380. package/.next/static/chunks/6961-a40e97c06e616300.js +1 -0
  381. package/.next/static/chunks/7111-44538f8a64241b74.js +1 -0
  382. package/.next/static/chunks/7445-2802e158c9093556.js +1 -0
  383. package/.next/static/chunks/7554-db290baed5782cab.js +8 -0
  384. package/.next/static/chunks/795-704a0e742ecc2ef6.js +1 -0
  385. package/.next/static/chunks/8041-05830e887c133085.js +1 -0
  386. package/.next/static/chunks/{812-624e93f4c0f671c7.js → 812-8b3d4e0f6546d6f9.js} +1 -1
  387. package/.next/static/chunks/{8345.fbc0af16acce7256.js → 8345.bc5534ec13abc9ee.js} +1 -1
  388. package/.next/static/chunks/8401-0f39d91810180a88.js +1 -0
  389. package/.next/static/chunks/{8405.e728bc83a7c9fed6.js → 8405.73e8be2c8e5b55c5.js} +1 -1
  390. package/.next/static/chunks/{8989-401559d9f3bc80a0.js → 8989-5fa9c7c670eb9a1a.js} +1 -1
  391. package/.next/static/chunks/{9164-829ab5b085ec06d6.js → 9164-840f056a0e11d979.js} +1 -1
  392. package/.next/static/chunks/9562-ef0ddd4e6b9023cf.js +1 -0
  393. package/.next/static/chunks/9720-5ecb48f1a28808fe.js +1 -0
  394. package/.next/static/chunks/app/api/approvals/[id]/route-3e3cc52436d34625.js +1 -0
  395. package/.next/static/chunks/app/api/approvals/route-3e3cc52436d34625.js +1 -0
  396. package/.next/static/chunks/app/api/backup/route-3e3cc52436d34625.js +1 -0
  397. package/.next/static/chunks/app/api/browse/route-3e3cc52436d34625.js +1 -0
  398. package/.next/static/chunks/app/api/bugs/enhance/route-3e3cc52436d34625.js +1 -0
  399. package/.next/static/chunks/app/api/cwd/route-3e3cc52436d34625.js +1 -0
  400. package/.next/static/chunks/app/api/encryption/secure/route-3e3cc52436d34625.js +1 -0
  401. package/.next/static/chunks/app/api/env/route-3e3cc52436d34625.js +1 -0
  402. package/.next/static/chunks/app/api/flow/[id]/route-3e3cc52436d34625.js +1 -0
  403. package/.next/static/chunks/app/api/flow/compile/route-3e3cc52436d34625.js +1 -0
  404. package/.next/static/chunks/app/api/flow/generate/route-3e3cc52436d34625.js +1 -0
  405. package/.next/static/chunks/app/api/flow/improve/route-3e3cc52436d34625.js +1 -0
  406. package/.next/static/chunks/app/api/flow/prompt-renderer/route-3e3cc52436d34625.js +1 -0
  407. package/.next/static/chunks/app/api/flow/quick-chat/route-3e3cc52436d34625.js +1 -0
  408. package/.next/static/chunks/app/api/flow/repair/route-3e3cc52436d34625.js +1 -0
  409. package/.next/static/chunks/app/api/flow/route-3e3cc52436d34625.js +1 -0
  410. package/.next/static/chunks/app/api/git/route-3e3cc52436d34625.js +1 -0
  411. package/.next/static/chunks/app/api/init/route-3e3cc52436d34625.js +1 -0
  412. package/.next/static/chunks/app/api/local-models/capability/route-3e3cc52436d34625.js +1 -0
  413. package/.next/static/chunks/app/api/local-models/pull/route-3e3cc52436d34625.js +1 -0
  414. package/.next/static/chunks/app/api/local-models/suggest/route-3e3cc52436d34625.js +1 -0
  415. package/.next/static/chunks/app/api/mcp/cancel/route-3e3cc52436d34625.js +1 -0
  416. package/.next/static/chunks/app/api/mcp/servers/[name]/prompts/get/route-3e3cc52436d34625.js +1 -0
  417. package/.next/static/chunks/app/api/mcp/servers/[name]/prompts/route-3e3cc52436d34625.js +1 -0
  418. package/.next/static/chunks/app/api/mcp/servers/[name]/resources/read/route-3e3cc52436d34625.js +1 -0
  419. package/.next/static/chunks/app/api/mcp/servers/[name]/resources/route-3e3cc52436d34625.js +1 -0
  420. package/.next/static/chunks/app/api/mcp/servers/[name]/route-3e3cc52436d34625.js +1 -0
  421. package/.next/static/chunks/app/api/mcp/servers/[name]/status/route-3e3cc52436d34625.js +1 -0
  422. package/.next/static/chunks/app/api/mcp/servers/[name]/tools/[toolName]/route-3e3cc52436d34625.js +1 -0
  423. package/.next/static/chunks/app/api/mcp/servers/[name]/tools/route-3e3cc52436d34625.js +1 -0
  424. package/.next/static/chunks/app/api/mcp/servers/route-3e3cc52436d34625.js +1 -0
  425. package/.next/static/chunks/app/api/mcp/test-connection/route-3e3cc52436d34625.js +1 -0
  426. package/.next/static/chunks/app/api/mcp/test-connection/stream/route-3e3cc52436d34625.js +1 -0
  427. package/.next/static/chunks/app/api/mcp-registry/route-3e3cc52436d34625.js +1 -0
  428. package/.next/static/chunks/app/api/mcp-registry/spotlight/route-3e3cc52436d34625.js +1 -0
  429. package/.next/static/chunks/app/api/model/[id]/route-3e3cc52436d34625.js +1 -0
  430. package/.next/static/chunks/app/api/model/provider/route-3e3cc52436d34625.js +1 -0
  431. package/.next/static/chunks/app/api/model/route-3e3cc52436d34625.js +1 -0
  432. package/.next/static/chunks/app/api/model/test/route-3e3cc52436d34625.js +1 -0
  433. package/.next/static/chunks/app/api/oauth/callback/route-3e3cc52436d34625.js +1 -0
  434. package/.next/static/chunks/app/api/oauth/initiate/route-3e3cc52436d34625.js +1 -0
  435. package/.next/static/chunks/app/api/oauth/reset/route-3e3cc52436d34625.js +1 -0
  436. package/.next/static/chunks/app/api/packages/build/route-3e3cc52436d34625.js +1 -0
  437. package/.next/static/chunks/app/api/packages/derive-secrets/route-3e3cc52436d34625.js +1 -0
  438. package/.next/static/chunks/app/api/packages/install/route-3e3cc52436d34625.js +1 -0
  439. package/.next/static/chunks/app/api/packages/install/status/route-3e3cc52436d34625.js +1 -0
  440. package/.next/static/chunks/app/api/packages/resolve/route-3e3cc52436d34625.js +1 -0
  441. package/.next/static/chunks/app/api/planned-executions/[id]/route-3e3cc52436d34625.js +1 -0
  442. package/.next/static/chunks/app/api/planned-executions/[id]/run/route-3e3cc52436d34625.js +1 -0
  443. package/.next/static/chunks/app/api/planned-executions/[id]/runs/route-3e3cc52436d34625.js +1 -0
  444. package/.next/static/chunks/app/api/planned-executions/preview-schedule/route-3e3cc52436d34625.js +1 -0
  445. package/.next/static/chunks/app/api/planned-executions/reconcile/route-3e3cc52436d34625.js +1 -0
  446. package/.next/static/chunks/app/api/planned-executions/route-3e3cc52436d34625.js +1 -0
  447. package/.next/static/chunks/app/api/registry/auth/resend/route-3e3cc52436d34625.js +1 -0
  448. package/.next/static/chunks/app/api/registry/auth/route-3e3cc52436d34625.js +1 -0
  449. package/.next/static/chunks/app/api/registry/publish/route-3e3cc52436d34625.js +1 -0
  450. package/.next/static/chunks/app/api/registry/settings/route-3e3cc52436d34625.js +1 -0
  451. package/.next/static/chunks/app/api/restore/route-3e3cc52436d34625.js +1 -0
  452. package/.next/static/chunks/app/api/runs/active/route-3e3cc52436d34625.js +1 -0
  453. package/.next/static/chunks/app/api/storage/route-3e3cc52436d34625.js +1 -0
  454. package/.next/static/chunks/app/api/update/route-3e3cc52436d34625.js +1 -0
  455. package/.next/static/chunks/app/api/waves/route-3e3cc52436d34625.js +1 -0
  456. package/.next/static/chunks/app/api/webhooks/[id]/route-3e3cc52436d34625.js +1 -0
  457. package/.next/static/chunks/app/chat/page-93403b0e520ba8d3.js +1 -0
  458. package/.next/static/chunks/app/docs/page-2c972a639cd9a41c.js +1 -0
  459. package/.next/static/chunks/app/executions/page-bb2fef60b2240f69.js +1 -0
  460. package/.next/static/chunks/app/flows/page-d60c5b47c923564a.js +1 -0
  461. package/.next/static/chunks/app/layout-eea7078d7553c21a.js +1 -0
  462. package/.next/static/chunks/app/mcp/page-92c03186d566a4f5.js +1 -0
  463. package/.next/static/chunks/app/mcp-flows/route-3e3cc52436d34625.js +1 -0
  464. package/.next/static/chunks/app/mcp-proxy/[server]/route-3e3cc52436d34625.js +1 -0
  465. package/.next/static/chunks/app/models/page-d71e5606a8e29479.js +1 -0
  466. package/.next/static/chunks/app/packages/page-e64480d78312edd0.js +1 -0
  467. package/.next/static/chunks/app/{page-0a95c40a65dbd2eb.js → page-d3ea90b065b95d1e.js} +1 -1
  468. package/.next/static/chunks/app/settings/page-d067a3a624ec2fa0.js +1 -0
  469. package/.next/static/chunks/app/v1/chat/completions/route-3e3cc52436d34625.js +1 -0
  470. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/breakpoints/route-3e3cc52436d34625.js +1 -0
  471. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/cancel/route-3e3cc52436d34625.js +1 -0
  472. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/debug/continue/route-3e3cc52436d34625.js +1 -0
  473. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/debug/step/route-3e3cc52436d34625.js +1 -0
  474. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/edit-state/route-3e3cc52436d34625.js +1 -0
  475. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/events/route-3e3cc52436d34625.js +1 -0
  476. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/resources/route-3e3cc52436d34625.js +1 -0
  477. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/respond/route-3e3cc52436d34625.js +1 -0
  478. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/route-3e3cc52436d34625.js +1 -0
  479. package/.next/static/chunks/app/v1/chat/conversations/route-3e3cc52436d34625.js +1 -0
  480. package/.next/static/chunks/app/v1/models/route-3e3cc52436d34625.js +1 -0
  481. package/.next/static/chunks/app/waves/page-ff15db2f75fb5d62.js +1 -0
  482. package/.next/static/chunks/webpack-2b2d7505a2ac6538.js +1 -0
  483. package/.next/static/css/{64cb1f185b52a623.css → 69ab44eb350e0b6c.css} +1 -1
  484. package/.next/trace +9 -10
  485. package/.next/types/app/api/packages/build/route.ts +347 -0
  486. package/.next/types/app/api/packages/derive-secrets/route.ts +347 -0
  487. package/.next/types/app/api/packages/install/route.ts +347 -0
  488. package/.next/types/app/api/packages/install/status/route.ts +347 -0
  489. package/.next/types/app/api/packages/resolve/route.ts +347 -0
  490. package/.next/types/app/api/registry/auth/resend/route.ts +347 -0
  491. package/.next/types/app/api/registry/auth/route.ts +347 -0
  492. package/.next/types/app/api/registry/publish/route.ts +347 -0
  493. package/.next/types/app/api/registry/settings/route.ts +347 -0
  494. package/.next/types/app/packages/page.ts +84 -0
  495. package/.next/types/routes.d.ts +12 -2
  496. package/.next/types/validator.ts +90 -0
  497. package/README.md +1 -1
  498. package/package.json +6 -1
  499. package/.next/server/chunks/1223.js +0 -1
  500. package/.next/server/chunks/1377.js +0 -1
  501. package/.next/server/chunks/289.js +0 -1
  502. package/.next/server/chunks/3823.js +0 -41
  503. package/.next/server/chunks/3855.js +0 -1
  504. package/.next/server/chunks/3924.js +0 -52
  505. package/.next/server/chunks/4372.js +0 -1
  506. package/.next/server/chunks/4561.js +0 -65
  507. package/.next/server/chunks/4677.js +0 -37
  508. package/.next/server/chunks/472.js +0 -1
  509. package/.next/server/chunks/4793.js +0 -2
  510. package/.next/server/chunks/4836.js +0 -1
  511. package/.next/server/chunks/5148.js +0 -1
  512. package/.next/server/chunks/5311.js +0 -1
  513. package/.next/server/chunks/584.js +0 -1
  514. package/.next/server/chunks/62.js +0 -1
  515. package/.next/server/chunks/6240.js +0 -1
  516. package/.next/server/chunks/6306.js +0 -1
  517. package/.next/server/chunks/6793.js +0 -1
  518. package/.next/server/chunks/6908.js +0 -12
  519. package/.next/server/chunks/8216.js +0 -1
  520. package/.next/server/chunks/856.js +0 -5
  521. package/.next/server/chunks/8652.js +0 -42
  522. package/.next/server/chunks/9165.js +0 -1
  523. package/.next/server/chunks/9427.js +0 -1
  524. package/.next/static/Il6IDWxf3CN0dv-P6QQrp/_buildManifest.js +0 -1
  525. package/.next/static/chunks/1675-773454288de4309d.js +0 -1
  526. package/.next/static/chunks/1731-6e45fb529f9044a3.js +0 -1
  527. package/.next/static/chunks/2318-76fcb6c769b1a569.js +0 -1
  528. package/.next/static/chunks/2403-5c26e0abd76095b1.js +0 -1
  529. package/.next/static/chunks/2566-6e2b9d9349814789.js +0 -1
  530. package/.next/static/chunks/2734-59fbe2f62a59df86.js +0 -1
  531. package/.next/static/chunks/3089.6b4e21e1faa304e2.js +0 -1
  532. package/.next/static/chunks/3109-11bdec9bdfd996c3.js +0 -1
  533. package/.next/static/chunks/333-5f3c5be57c80c48c.js +0 -1
  534. package/.next/static/chunks/3333-b7b3e5758a568013.js +0 -1
  535. package/.next/static/chunks/4635-0fe310d3be64e71e.js +0 -1
  536. package/.next/static/chunks/4690-ec7d397cfacedac3.js +0 -1
  537. package/.next/static/chunks/4775-cb9c0be621363a08.js +0 -8
  538. package/.next/static/chunks/5336-81da1080de29ebfc.js +0 -1
  539. package/.next/static/chunks/7274-1184563607f2b5f5.js +0 -1
  540. package/.next/static/chunks/8166-e75acdc559b34fcd.js +0 -1
  541. package/.next/static/chunks/8607-5787e42775fc3acb.js +0 -1
  542. package/.next/static/chunks/8610-660d5088bc1dd7a7.js +0 -1
  543. package/.next/static/chunks/9240-d0a51f4d504f34b1.js +0 -1
  544. package/.next/static/chunks/9562-b7922ceb400ec536.js +0 -1
  545. package/.next/static/chunks/9704-6b7415964d7c042a.js +0 -1
  546. package/.next/static/chunks/app/api/approvals/[id]/route-6b442f97c5062f2c.js +0 -1
  547. package/.next/static/chunks/app/api/approvals/route-6b442f97c5062f2c.js +0 -1
  548. package/.next/static/chunks/app/api/backup/route-6b442f97c5062f2c.js +0 -1
  549. package/.next/static/chunks/app/api/browse/route-6b442f97c5062f2c.js +0 -1
  550. package/.next/static/chunks/app/api/bugs/enhance/route-6b442f97c5062f2c.js +0 -1
  551. package/.next/static/chunks/app/api/cwd/route-6b442f97c5062f2c.js +0 -1
  552. package/.next/static/chunks/app/api/encryption/secure/route-6b442f97c5062f2c.js +0 -1
  553. package/.next/static/chunks/app/api/env/route-6b442f97c5062f2c.js +0 -1
  554. package/.next/static/chunks/app/api/flow/[id]/route-6b442f97c5062f2c.js +0 -1
  555. package/.next/static/chunks/app/api/flow/compile/route-6b442f97c5062f2c.js +0 -1
  556. package/.next/static/chunks/app/api/flow/generate/route-6b442f97c5062f2c.js +0 -1
  557. package/.next/static/chunks/app/api/flow/improve/route-6b442f97c5062f2c.js +0 -1
  558. package/.next/static/chunks/app/api/flow/prompt-renderer/route-6b442f97c5062f2c.js +0 -1
  559. package/.next/static/chunks/app/api/flow/quick-chat/route-6b442f97c5062f2c.js +0 -1
  560. package/.next/static/chunks/app/api/flow/repair/route-6b442f97c5062f2c.js +0 -1
  561. package/.next/static/chunks/app/api/flow/route-6b442f97c5062f2c.js +0 -1
  562. package/.next/static/chunks/app/api/git/route-6b442f97c5062f2c.js +0 -1
  563. package/.next/static/chunks/app/api/init/route-6b442f97c5062f2c.js +0 -1
  564. package/.next/static/chunks/app/api/local-models/capability/route-6b442f97c5062f2c.js +0 -1
  565. package/.next/static/chunks/app/api/local-models/pull/route-6b442f97c5062f2c.js +0 -1
  566. package/.next/static/chunks/app/api/local-models/suggest/route-6b442f97c5062f2c.js +0 -1
  567. package/.next/static/chunks/app/api/mcp/cancel/route-6b442f97c5062f2c.js +0 -1
  568. package/.next/static/chunks/app/api/mcp/servers/[name]/prompts/get/route-6b442f97c5062f2c.js +0 -1
  569. package/.next/static/chunks/app/api/mcp/servers/[name]/prompts/route-6b442f97c5062f2c.js +0 -1
  570. package/.next/static/chunks/app/api/mcp/servers/[name]/resources/read/route-6b442f97c5062f2c.js +0 -1
  571. package/.next/static/chunks/app/api/mcp/servers/[name]/resources/route-6b442f97c5062f2c.js +0 -1
  572. package/.next/static/chunks/app/api/mcp/servers/[name]/route-6b442f97c5062f2c.js +0 -1
  573. package/.next/static/chunks/app/api/mcp/servers/[name]/status/route-6b442f97c5062f2c.js +0 -1
  574. package/.next/static/chunks/app/api/mcp/servers/[name]/tools/[toolName]/route-6b442f97c5062f2c.js +0 -1
  575. package/.next/static/chunks/app/api/mcp/servers/[name]/tools/route-6b442f97c5062f2c.js +0 -1
  576. package/.next/static/chunks/app/api/mcp/servers/route-6b442f97c5062f2c.js +0 -1
  577. package/.next/static/chunks/app/api/mcp/test-connection/route-6b442f97c5062f2c.js +0 -1
  578. package/.next/static/chunks/app/api/mcp/test-connection/stream/route-6b442f97c5062f2c.js +0 -1
  579. package/.next/static/chunks/app/api/mcp-registry/route-6b442f97c5062f2c.js +0 -1
  580. package/.next/static/chunks/app/api/mcp-registry/spotlight/route-6b442f97c5062f2c.js +0 -1
  581. package/.next/static/chunks/app/api/model/[id]/route-6b442f97c5062f2c.js +0 -1
  582. package/.next/static/chunks/app/api/model/provider/route-6b442f97c5062f2c.js +0 -1
  583. package/.next/static/chunks/app/api/model/route-6b442f97c5062f2c.js +0 -1
  584. package/.next/static/chunks/app/api/model/test/route-6b442f97c5062f2c.js +0 -1
  585. package/.next/static/chunks/app/api/oauth/callback/route-6b442f97c5062f2c.js +0 -1
  586. package/.next/static/chunks/app/api/oauth/initiate/route-6b442f97c5062f2c.js +0 -1
  587. package/.next/static/chunks/app/api/oauth/reset/route-6b442f97c5062f2c.js +0 -1
  588. package/.next/static/chunks/app/api/planned-executions/[id]/route-6b442f97c5062f2c.js +0 -1
  589. package/.next/static/chunks/app/api/planned-executions/[id]/run/route-6b442f97c5062f2c.js +0 -1
  590. package/.next/static/chunks/app/api/planned-executions/[id]/runs/route-6b442f97c5062f2c.js +0 -1
  591. package/.next/static/chunks/app/api/planned-executions/preview-schedule/route-6b442f97c5062f2c.js +0 -1
  592. package/.next/static/chunks/app/api/planned-executions/reconcile/route-6b442f97c5062f2c.js +0 -1
  593. package/.next/static/chunks/app/api/planned-executions/route-6b442f97c5062f2c.js +0 -1
  594. package/.next/static/chunks/app/api/restore/route-6b442f97c5062f2c.js +0 -1
  595. package/.next/static/chunks/app/api/runs/active/route-6b442f97c5062f2c.js +0 -1
  596. package/.next/static/chunks/app/api/storage/route-6b442f97c5062f2c.js +0 -1
  597. package/.next/static/chunks/app/api/update/route-6b442f97c5062f2c.js +0 -1
  598. package/.next/static/chunks/app/api/waves/route-6b442f97c5062f2c.js +0 -1
  599. package/.next/static/chunks/app/api/webhooks/[id]/route-6b442f97c5062f2c.js +0 -1
  600. package/.next/static/chunks/app/chat/page-04ad1fad78048afb.js +0 -1
  601. package/.next/static/chunks/app/docs/page-5475c616764dbb18.js +0 -1
  602. package/.next/static/chunks/app/executions/page-c18708ed96d228ec.js +0 -1
  603. package/.next/static/chunks/app/flows/page-f7e44aa545bcc56e.js +0 -1
  604. package/.next/static/chunks/app/layout-e6fbae80e0f456a6.js +0 -1
  605. package/.next/static/chunks/app/mcp/page-3638fbee04a3a6ea.js +0 -1
  606. package/.next/static/chunks/app/mcp-flows/route-6b442f97c5062f2c.js +0 -1
  607. package/.next/static/chunks/app/mcp-proxy/[server]/route-6b442f97c5062f2c.js +0 -1
  608. package/.next/static/chunks/app/models/page-e690a986047b1e62.js +0 -1
  609. package/.next/static/chunks/app/settings/page-3ef9b95187e18a5a.js +0 -1
  610. package/.next/static/chunks/app/v1/chat/completions/route-6b442f97c5062f2c.js +0 -1
  611. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/breakpoints/route-6b442f97c5062f2c.js +0 -1
  612. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/cancel/route-6b442f97c5062f2c.js +0 -1
  613. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/debug/continue/route-6b442f97c5062f2c.js +0 -1
  614. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/debug/step/route-6b442f97c5062f2c.js +0 -1
  615. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/edit-state/route-6b442f97c5062f2c.js +0 -1
  616. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/events/route-6b442f97c5062f2c.js +0 -1
  617. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/resources/route-6b442f97c5062f2c.js +0 -1
  618. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/respond/route-6b442f97c5062f2c.js +0 -1
  619. package/.next/static/chunks/app/v1/chat/conversations/[conversationId]/route-6b442f97c5062f2c.js +0 -1
  620. package/.next/static/chunks/app/v1/chat/conversations/route-6b442f97c5062f2c.js +0 -1
  621. package/.next/static/chunks/app/v1/models/route-6b442f97c5062f2c.js +0 -1
  622. package/.next/static/chunks/app/waves/page-c9a307e2236423a4.js +0 -1
  623. package/.next/static/chunks/webpack-a6844e1074885c2f.js +0 -1
  624. /package/.next/static/{Il6IDWxf3CN0dv-P6QQrp → O-elWbT5rs6ci1CrCqez1}/_ssgManifest.js +0 -0
@@ -0,0 +1,347 @@
1
+ // File: C:\Users\MarioAndreschak\Documents\GitHub\FLUJO\src\app\api\packages\install\route.ts
2
+ import * as entry from '../../../../../../src/app/api/packages/install/route.js'
3
+ import type { NextRequest } from 'next/server.js'
4
+
5
+ type TEntry = typeof import('../../../../../../src/app/api/packages/install/route.js')
6
+
7
+ type SegmentParams<T extends Object = any> = T extends Record<string, any>
8
+ ? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
9
+ : T
10
+
11
+ // Check that the entry is a valid entry
12
+ checkFields<Diff<{
13
+ GET?: Function
14
+ HEAD?: Function
15
+ OPTIONS?: Function
16
+ POST?: Function
17
+ PUT?: Function
18
+ DELETE?: Function
19
+ PATCH?: Function
20
+ config?: {}
21
+ generateStaticParams?: Function
22
+ revalidate?: RevalidateRange<TEntry> | false
23
+ dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
24
+ dynamicParams?: boolean
25
+ fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
26
+ preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
27
+ runtime?: 'nodejs' | 'experimental-edge' | 'edge'
28
+ maxDuration?: number
29
+
30
+ }, TEntry, ''>>()
31
+
32
+ type RouteContext = { params: Promise<SegmentParams> }
33
+ // Check the prop type of the entry function
34
+ if ('GET' in entry) {
35
+ checkFields<
36
+ Diff<
37
+ ParamCheck<Request | NextRequest>,
38
+ {
39
+ __tag__: 'GET'
40
+ __param_position__: 'first'
41
+ __param_type__: FirstArg<MaybeField<TEntry, 'GET'>>
42
+ },
43
+ 'GET'
44
+ >
45
+ >()
46
+ checkFields<
47
+ Diff<
48
+ ParamCheck<RouteContext>,
49
+ {
50
+ __tag__: 'GET'
51
+ __param_position__: 'second'
52
+ __param_type__: SecondArg<MaybeField<TEntry, 'GET'>>
53
+ },
54
+ 'GET'
55
+ >
56
+ >()
57
+
58
+ checkFields<
59
+ Diff<
60
+ {
61
+ __tag__: 'GET',
62
+ __return_type__: Response | void | never | Promise<Response | void | never>
63
+ },
64
+ {
65
+ __tag__: 'GET',
66
+ __return_type__: ReturnType<MaybeField<TEntry, 'GET'>>
67
+ },
68
+ 'GET'
69
+ >
70
+ >()
71
+ }
72
+ // Check the prop type of the entry function
73
+ if ('HEAD' in entry) {
74
+ checkFields<
75
+ Diff<
76
+ ParamCheck<Request | NextRequest>,
77
+ {
78
+ __tag__: 'HEAD'
79
+ __param_position__: 'first'
80
+ __param_type__: FirstArg<MaybeField<TEntry, 'HEAD'>>
81
+ },
82
+ 'HEAD'
83
+ >
84
+ >()
85
+ checkFields<
86
+ Diff<
87
+ ParamCheck<RouteContext>,
88
+ {
89
+ __tag__: 'HEAD'
90
+ __param_position__: 'second'
91
+ __param_type__: SecondArg<MaybeField<TEntry, 'HEAD'>>
92
+ },
93
+ 'HEAD'
94
+ >
95
+ >()
96
+
97
+ checkFields<
98
+ Diff<
99
+ {
100
+ __tag__: 'HEAD',
101
+ __return_type__: Response | void | never | Promise<Response | void | never>
102
+ },
103
+ {
104
+ __tag__: 'HEAD',
105
+ __return_type__: ReturnType<MaybeField<TEntry, 'HEAD'>>
106
+ },
107
+ 'HEAD'
108
+ >
109
+ >()
110
+ }
111
+ // Check the prop type of the entry function
112
+ if ('OPTIONS' in entry) {
113
+ checkFields<
114
+ Diff<
115
+ ParamCheck<Request | NextRequest>,
116
+ {
117
+ __tag__: 'OPTIONS'
118
+ __param_position__: 'first'
119
+ __param_type__: FirstArg<MaybeField<TEntry, 'OPTIONS'>>
120
+ },
121
+ 'OPTIONS'
122
+ >
123
+ >()
124
+ checkFields<
125
+ Diff<
126
+ ParamCheck<RouteContext>,
127
+ {
128
+ __tag__: 'OPTIONS'
129
+ __param_position__: 'second'
130
+ __param_type__: SecondArg<MaybeField<TEntry, 'OPTIONS'>>
131
+ },
132
+ 'OPTIONS'
133
+ >
134
+ >()
135
+
136
+ checkFields<
137
+ Diff<
138
+ {
139
+ __tag__: 'OPTIONS',
140
+ __return_type__: Response | void | never | Promise<Response | void | never>
141
+ },
142
+ {
143
+ __tag__: 'OPTIONS',
144
+ __return_type__: ReturnType<MaybeField<TEntry, 'OPTIONS'>>
145
+ },
146
+ 'OPTIONS'
147
+ >
148
+ >()
149
+ }
150
+ // Check the prop type of the entry function
151
+ if ('POST' in entry) {
152
+ checkFields<
153
+ Diff<
154
+ ParamCheck<Request | NextRequest>,
155
+ {
156
+ __tag__: 'POST'
157
+ __param_position__: 'first'
158
+ __param_type__: FirstArg<MaybeField<TEntry, 'POST'>>
159
+ },
160
+ 'POST'
161
+ >
162
+ >()
163
+ checkFields<
164
+ Diff<
165
+ ParamCheck<RouteContext>,
166
+ {
167
+ __tag__: 'POST'
168
+ __param_position__: 'second'
169
+ __param_type__: SecondArg<MaybeField<TEntry, 'POST'>>
170
+ },
171
+ 'POST'
172
+ >
173
+ >()
174
+
175
+ checkFields<
176
+ Diff<
177
+ {
178
+ __tag__: 'POST',
179
+ __return_type__: Response | void | never | Promise<Response | void | never>
180
+ },
181
+ {
182
+ __tag__: 'POST',
183
+ __return_type__: ReturnType<MaybeField<TEntry, 'POST'>>
184
+ },
185
+ 'POST'
186
+ >
187
+ >()
188
+ }
189
+ // Check the prop type of the entry function
190
+ if ('PUT' in entry) {
191
+ checkFields<
192
+ Diff<
193
+ ParamCheck<Request | NextRequest>,
194
+ {
195
+ __tag__: 'PUT'
196
+ __param_position__: 'first'
197
+ __param_type__: FirstArg<MaybeField<TEntry, 'PUT'>>
198
+ },
199
+ 'PUT'
200
+ >
201
+ >()
202
+ checkFields<
203
+ Diff<
204
+ ParamCheck<RouteContext>,
205
+ {
206
+ __tag__: 'PUT'
207
+ __param_position__: 'second'
208
+ __param_type__: SecondArg<MaybeField<TEntry, 'PUT'>>
209
+ },
210
+ 'PUT'
211
+ >
212
+ >()
213
+
214
+ checkFields<
215
+ Diff<
216
+ {
217
+ __tag__: 'PUT',
218
+ __return_type__: Response | void | never | Promise<Response | void | never>
219
+ },
220
+ {
221
+ __tag__: 'PUT',
222
+ __return_type__: ReturnType<MaybeField<TEntry, 'PUT'>>
223
+ },
224
+ 'PUT'
225
+ >
226
+ >()
227
+ }
228
+ // Check the prop type of the entry function
229
+ if ('DELETE' in entry) {
230
+ checkFields<
231
+ Diff<
232
+ ParamCheck<Request | NextRequest>,
233
+ {
234
+ __tag__: 'DELETE'
235
+ __param_position__: 'first'
236
+ __param_type__: FirstArg<MaybeField<TEntry, 'DELETE'>>
237
+ },
238
+ 'DELETE'
239
+ >
240
+ >()
241
+ checkFields<
242
+ Diff<
243
+ ParamCheck<RouteContext>,
244
+ {
245
+ __tag__: 'DELETE'
246
+ __param_position__: 'second'
247
+ __param_type__: SecondArg<MaybeField<TEntry, 'DELETE'>>
248
+ },
249
+ 'DELETE'
250
+ >
251
+ >()
252
+
253
+ checkFields<
254
+ Diff<
255
+ {
256
+ __tag__: 'DELETE',
257
+ __return_type__: Response | void | never | Promise<Response | void | never>
258
+ },
259
+ {
260
+ __tag__: 'DELETE',
261
+ __return_type__: ReturnType<MaybeField<TEntry, 'DELETE'>>
262
+ },
263
+ 'DELETE'
264
+ >
265
+ >()
266
+ }
267
+ // Check the prop type of the entry function
268
+ if ('PATCH' in entry) {
269
+ checkFields<
270
+ Diff<
271
+ ParamCheck<Request | NextRequest>,
272
+ {
273
+ __tag__: 'PATCH'
274
+ __param_position__: 'first'
275
+ __param_type__: FirstArg<MaybeField<TEntry, 'PATCH'>>
276
+ },
277
+ 'PATCH'
278
+ >
279
+ >()
280
+ checkFields<
281
+ Diff<
282
+ ParamCheck<RouteContext>,
283
+ {
284
+ __tag__: 'PATCH'
285
+ __param_position__: 'second'
286
+ __param_type__: SecondArg<MaybeField<TEntry, 'PATCH'>>
287
+ },
288
+ 'PATCH'
289
+ >
290
+ >()
291
+
292
+ checkFields<
293
+ Diff<
294
+ {
295
+ __tag__: 'PATCH',
296
+ __return_type__: Response | void | never | Promise<Response | void | never>
297
+ },
298
+ {
299
+ __tag__: 'PATCH',
300
+ __return_type__: ReturnType<MaybeField<TEntry, 'PATCH'>>
301
+ },
302
+ 'PATCH'
303
+ >
304
+ >()
305
+ }
306
+
307
+ // Check the arguments and return type of the generateStaticParams function
308
+ if ('generateStaticParams' in entry) {
309
+ checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
310
+ checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
311
+ }
312
+
313
+ export interface PageProps {
314
+ params?: Promise<SegmentParams>
315
+ searchParams?: Promise<any>
316
+ }
317
+ export interface LayoutProps {
318
+ children?: React.ReactNode
319
+
320
+ params?: Promise<SegmentParams>
321
+ }
322
+
323
+ // =============
324
+ // Utility types
325
+ type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
326
+
327
+ // If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
328
+ type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
329
+ type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
330
+
331
+ type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
332
+ type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
333
+ type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
334
+
335
+ type ParamCheck<T> = {
336
+ __tag__: string
337
+ __param_position__: string
338
+ __param_type__: T
339
+ }
340
+
341
+ function checkFields<_ extends { [k in keyof any]: never }>() {}
342
+
343
+ // https://github.com/sindresorhus/type-fest
344
+ type Numeric = number | bigint
345
+ type Zero = 0 | 0n
346
+ type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
347
+ type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
@@ -0,0 +1,347 @@
1
+ // File: C:\Users\MarioAndreschak\Documents\GitHub\FLUJO\src\app\api\packages\install\status\route.ts
2
+ import * as entry from '../../../../../../../src/app/api/packages/install/status/route.js'
3
+ import type { NextRequest } from 'next/server.js'
4
+
5
+ type TEntry = typeof import('../../../../../../../src/app/api/packages/install/status/route.js')
6
+
7
+ type SegmentParams<T extends Object = any> = T extends Record<string, any>
8
+ ? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
9
+ : T
10
+
11
+ // Check that the entry is a valid entry
12
+ checkFields<Diff<{
13
+ GET?: Function
14
+ HEAD?: Function
15
+ OPTIONS?: Function
16
+ POST?: Function
17
+ PUT?: Function
18
+ DELETE?: Function
19
+ PATCH?: Function
20
+ config?: {}
21
+ generateStaticParams?: Function
22
+ revalidate?: RevalidateRange<TEntry> | false
23
+ dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
24
+ dynamicParams?: boolean
25
+ fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
26
+ preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
27
+ runtime?: 'nodejs' | 'experimental-edge' | 'edge'
28
+ maxDuration?: number
29
+
30
+ }, TEntry, ''>>()
31
+
32
+ type RouteContext = { params: Promise<SegmentParams> }
33
+ // Check the prop type of the entry function
34
+ if ('GET' in entry) {
35
+ checkFields<
36
+ Diff<
37
+ ParamCheck<Request | NextRequest>,
38
+ {
39
+ __tag__: 'GET'
40
+ __param_position__: 'first'
41
+ __param_type__: FirstArg<MaybeField<TEntry, 'GET'>>
42
+ },
43
+ 'GET'
44
+ >
45
+ >()
46
+ checkFields<
47
+ Diff<
48
+ ParamCheck<RouteContext>,
49
+ {
50
+ __tag__: 'GET'
51
+ __param_position__: 'second'
52
+ __param_type__: SecondArg<MaybeField<TEntry, 'GET'>>
53
+ },
54
+ 'GET'
55
+ >
56
+ >()
57
+
58
+ checkFields<
59
+ Diff<
60
+ {
61
+ __tag__: 'GET',
62
+ __return_type__: Response | void | never | Promise<Response | void | never>
63
+ },
64
+ {
65
+ __tag__: 'GET',
66
+ __return_type__: ReturnType<MaybeField<TEntry, 'GET'>>
67
+ },
68
+ 'GET'
69
+ >
70
+ >()
71
+ }
72
+ // Check the prop type of the entry function
73
+ if ('HEAD' in entry) {
74
+ checkFields<
75
+ Diff<
76
+ ParamCheck<Request | NextRequest>,
77
+ {
78
+ __tag__: 'HEAD'
79
+ __param_position__: 'first'
80
+ __param_type__: FirstArg<MaybeField<TEntry, 'HEAD'>>
81
+ },
82
+ 'HEAD'
83
+ >
84
+ >()
85
+ checkFields<
86
+ Diff<
87
+ ParamCheck<RouteContext>,
88
+ {
89
+ __tag__: 'HEAD'
90
+ __param_position__: 'second'
91
+ __param_type__: SecondArg<MaybeField<TEntry, 'HEAD'>>
92
+ },
93
+ 'HEAD'
94
+ >
95
+ >()
96
+
97
+ checkFields<
98
+ Diff<
99
+ {
100
+ __tag__: 'HEAD',
101
+ __return_type__: Response | void | never | Promise<Response | void | never>
102
+ },
103
+ {
104
+ __tag__: 'HEAD',
105
+ __return_type__: ReturnType<MaybeField<TEntry, 'HEAD'>>
106
+ },
107
+ 'HEAD'
108
+ >
109
+ >()
110
+ }
111
+ // Check the prop type of the entry function
112
+ if ('OPTIONS' in entry) {
113
+ checkFields<
114
+ Diff<
115
+ ParamCheck<Request | NextRequest>,
116
+ {
117
+ __tag__: 'OPTIONS'
118
+ __param_position__: 'first'
119
+ __param_type__: FirstArg<MaybeField<TEntry, 'OPTIONS'>>
120
+ },
121
+ 'OPTIONS'
122
+ >
123
+ >()
124
+ checkFields<
125
+ Diff<
126
+ ParamCheck<RouteContext>,
127
+ {
128
+ __tag__: 'OPTIONS'
129
+ __param_position__: 'second'
130
+ __param_type__: SecondArg<MaybeField<TEntry, 'OPTIONS'>>
131
+ },
132
+ 'OPTIONS'
133
+ >
134
+ >()
135
+
136
+ checkFields<
137
+ Diff<
138
+ {
139
+ __tag__: 'OPTIONS',
140
+ __return_type__: Response | void | never | Promise<Response | void | never>
141
+ },
142
+ {
143
+ __tag__: 'OPTIONS',
144
+ __return_type__: ReturnType<MaybeField<TEntry, 'OPTIONS'>>
145
+ },
146
+ 'OPTIONS'
147
+ >
148
+ >()
149
+ }
150
+ // Check the prop type of the entry function
151
+ if ('POST' in entry) {
152
+ checkFields<
153
+ Diff<
154
+ ParamCheck<Request | NextRequest>,
155
+ {
156
+ __tag__: 'POST'
157
+ __param_position__: 'first'
158
+ __param_type__: FirstArg<MaybeField<TEntry, 'POST'>>
159
+ },
160
+ 'POST'
161
+ >
162
+ >()
163
+ checkFields<
164
+ Diff<
165
+ ParamCheck<RouteContext>,
166
+ {
167
+ __tag__: 'POST'
168
+ __param_position__: 'second'
169
+ __param_type__: SecondArg<MaybeField<TEntry, 'POST'>>
170
+ },
171
+ 'POST'
172
+ >
173
+ >()
174
+
175
+ checkFields<
176
+ Diff<
177
+ {
178
+ __tag__: 'POST',
179
+ __return_type__: Response | void | never | Promise<Response | void | never>
180
+ },
181
+ {
182
+ __tag__: 'POST',
183
+ __return_type__: ReturnType<MaybeField<TEntry, 'POST'>>
184
+ },
185
+ 'POST'
186
+ >
187
+ >()
188
+ }
189
+ // Check the prop type of the entry function
190
+ if ('PUT' in entry) {
191
+ checkFields<
192
+ Diff<
193
+ ParamCheck<Request | NextRequest>,
194
+ {
195
+ __tag__: 'PUT'
196
+ __param_position__: 'first'
197
+ __param_type__: FirstArg<MaybeField<TEntry, 'PUT'>>
198
+ },
199
+ 'PUT'
200
+ >
201
+ >()
202
+ checkFields<
203
+ Diff<
204
+ ParamCheck<RouteContext>,
205
+ {
206
+ __tag__: 'PUT'
207
+ __param_position__: 'second'
208
+ __param_type__: SecondArg<MaybeField<TEntry, 'PUT'>>
209
+ },
210
+ 'PUT'
211
+ >
212
+ >()
213
+
214
+ checkFields<
215
+ Diff<
216
+ {
217
+ __tag__: 'PUT',
218
+ __return_type__: Response | void | never | Promise<Response | void | never>
219
+ },
220
+ {
221
+ __tag__: 'PUT',
222
+ __return_type__: ReturnType<MaybeField<TEntry, 'PUT'>>
223
+ },
224
+ 'PUT'
225
+ >
226
+ >()
227
+ }
228
+ // Check the prop type of the entry function
229
+ if ('DELETE' in entry) {
230
+ checkFields<
231
+ Diff<
232
+ ParamCheck<Request | NextRequest>,
233
+ {
234
+ __tag__: 'DELETE'
235
+ __param_position__: 'first'
236
+ __param_type__: FirstArg<MaybeField<TEntry, 'DELETE'>>
237
+ },
238
+ 'DELETE'
239
+ >
240
+ >()
241
+ checkFields<
242
+ Diff<
243
+ ParamCheck<RouteContext>,
244
+ {
245
+ __tag__: 'DELETE'
246
+ __param_position__: 'second'
247
+ __param_type__: SecondArg<MaybeField<TEntry, 'DELETE'>>
248
+ },
249
+ 'DELETE'
250
+ >
251
+ >()
252
+
253
+ checkFields<
254
+ Diff<
255
+ {
256
+ __tag__: 'DELETE',
257
+ __return_type__: Response | void | never | Promise<Response | void | never>
258
+ },
259
+ {
260
+ __tag__: 'DELETE',
261
+ __return_type__: ReturnType<MaybeField<TEntry, 'DELETE'>>
262
+ },
263
+ 'DELETE'
264
+ >
265
+ >()
266
+ }
267
+ // Check the prop type of the entry function
268
+ if ('PATCH' in entry) {
269
+ checkFields<
270
+ Diff<
271
+ ParamCheck<Request | NextRequest>,
272
+ {
273
+ __tag__: 'PATCH'
274
+ __param_position__: 'first'
275
+ __param_type__: FirstArg<MaybeField<TEntry, 'PATCH'>>
276
+ },
277
+ 'PATCH'
278
+ >
279
+ >()
280
+ checkFields<
281
+ Diff<
282
+ ParamCheck<RouteContext>,
283
+ {
284
+ __tag__: 'PATCH'
285
+ __param_position__: 'second'
286
+ __param_type__: SecondArg<MaybeField<TEntry, 'PATCH'>>
287
+ },
288
+ 'PATCH'
289
+ >
290
+ >()
291
+
292
+ checkFields<
293
+ Diff<
294
+ {
295
+ __tag__: 'PATCH',
296
+ __return_type__: Response | void | never | Promise<Response | void | never>
297
+ },
298
+ {
299
+ __tag__: 'PATCH',
300
+ __return_type__: ReturnType<MaybeField<TEntry, 'PATCH'>>
301
+ },
302
+ 'PATCH'
303
+ >
304
+ >()
305
+ }
306
+
307
+ // Check the arguments and return type of the generateStaticParams function
308
+ if ('generateStaticParams' in entry) {
309
+ checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
310
+ checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
311
+ }
312
+
313
+ export interface PageProps {
314
+ params?: Promise<SegmentParams>
315
+ searchParams?: Promise<any>
316
+ }
317
+ export interface LayoutProps {
318
+ children?: React.ReactNode
319
+
320
+ params?: Promise<SegmentParams>
321
+ }
322
+
323
+ // =============
324
+ // Utility types
325
+ type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
326
+
327
+ // If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
328
+ type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
329
+ type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
330
+
331
+ type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
332
+ type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
333
+ type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
334
+
335
+ type ParamCheck<T> = {
336
+ __tag__: string
337
+ __param_position__: string
338
+ __param_type__: T
339
+ }
340
+
341
+ function checkFields<_ extends { [k in keyof any]: never }>() {}
342
+
343
+ // https://github.com/sindresorhus/type-fest
344
+ type Numeric = number | bigint
345
+ type Zero = 0 | 0n
346
+ type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
347
+ type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'