@sifxprime/krouter 0.5.159 → 0.5.162

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 (668) hide show
  1. package/README.md +31 -203
  2. package/app/.next-cli-build/BUILD_ID +1 -1
  3. package/app/.next-cli-build/app-path-routes-manifest.json +10 -10
  4. package/app/.next-cli-build/build-manifest.json +4 -4
  5. package/app/.next-cli-build/prerender-manifest.json +29 -29
  6. package/app/.next-cli-build/required-server-files.json +6 -6
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/presidio/page.js +2 -2
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/presidio/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  58. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  60. package/app/.next-cli-build/server/app/_global-error.meta +8 -0
  61. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  62. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  63. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  64. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  65. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  66. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  68. package/app/.next-cli-build/server/app/_not-found.meta +8 -0
  69. package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  70. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  71. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  72. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  73. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  74. package/app/.next-cli-build/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  76. package/app/.next-cli-build/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  78. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  80. package/app/.next-cli-build/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  82. package/app/.next-cli-build/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  84. package/app/.next-cli-build/server/app/api/auth/reset-password/route_client-reference-manifest.js +1 -1
  85. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  86. package/app/.next-cli-build/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/api/cache/route.js +1 -1
  88. package/app/.next-cli-build/server/app/api/cache/route_client-reference-manifest.js +1 -1
  89. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  90. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route_client-reference-manifest.js +1 -1
  91. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  92. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
  93. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  94. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
  95. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  96. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
  97. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +1 -1
  99. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
  101. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  102. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +1 -1
  103. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  104. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route_client-reference-manifest.js +1 -1
  105. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  106. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -1
  107. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route_client-reference-manifest.js +1 -1
  109. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  110. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -1
  111. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  112. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
  113. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  114. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route_client-reference-manifest.js +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  116. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  118. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  120. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  122. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route_client-reference-manifest.js +1 -1
  123. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
  125. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/combos/route_client-reference-manifest.js +1 -1
  127. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/headroom/extras/route_client-reference-manifest.js +1 -1
  129. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route_client-reference-manifest.js +1 -1
  131. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/headroom/restart/route_client-reference-manifest.js +1 -1
  133. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/headroom/start/route_client-reference-manifest.js +1 -1
  135. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/headroom/status/route_client-reference-manifest.js +1 -1
  137. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/headroom/stop/route_client-reference-manifest.js +1 -1
  139. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/health/route_client-reference-manifest.js +1 -1
  141. package/app/.next-cli-build/server/app/api/import/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/import/route_client-reference-manifest.js +1 -1
  143. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/init/route_client-reference-manifest.js +1 -1
  145. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
  147. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/keys/route_client-reference-manifest.js +1 -1
  149. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/locale/route_client-reference-manifest.js +1 -1
  151. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -1
  153. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -1
  155. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  156. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +1 -1
  157. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route_client-reference-manifest.js +1 -1
  159. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +1 -1
  161. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -1
  163. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route_client-reference-manifest.js +1 -1
  165. package/app/.next-cli-build/server/app/api/mitm/cert/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/mitm/cert/route_client-reference-manifest.js +1 -1
  167. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
  169. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/models/availability/route_client-reference-manifest.js +1 -1
  171. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/models/custom/route_client-reference-manifest.js +1 -1
  173. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/models/disabled/route_client-reference-manifest.js +1 -1
  175. package/app/.next-cli-build/server/app/api/models/live/route.js +2 -2
  176. package/app/.next-cli-build/server/app/api/models/live/route_client-reference-manifest.js +1 -1
  177. package/app/.next-cli-build/server/app/api/models/live-by-connection/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/models/live-by-connection/route_client-reference-manifest.js +1 -1
  179. package/app/.next-cli-build/server/app/api/models/preview/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/models/preview/route_client-reference-manifest.js +1 -1
  181. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/models/route_client-reference-manifest.js +1 -1
  183. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/models/test/route_client-reference-manifest.js +1 -1
  185. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
  187. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route_client-reference-manifest.js +1 -1
  189. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +1 -1
  191. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
  193. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
  195. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route_client-reference-manifest.js +1 -1
  197. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route_client-reference-manifest.js +1 -1
  199. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route_client-reference-manifest.js +1 -1
  201. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
  203. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
  205. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
  207. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
  209. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  211. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
  213. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
  215. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
  217. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +2 -2
  218. package/app/.next-cli-build/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
  219. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
  221. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
  223. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route_client-reference-manifest.js +1 -1
  225. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
  227. package/app/.next-cli-build/server/app/api/providers/health/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/providers/health/route_client-reference-manifest.js +1 -1
  229. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route_client-reference-manifest.js +1 -1
  231. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/providers/route_client-reference-manifest.js +1 -1
  233. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/providers/suggested-models/route_client-reference-manifest.js +1 -1
  235. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
  237. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
  239. package/app/.next-cli-build/server/app/api/providers/zenith/log/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/providers/zenith/log/route_client-reference-manifest.js +1 -1
  241. package/app/.next-cli-build/server/app/api/providers/zenith/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/providers/zenith/route_client-reference-manifest.js +1 -1
  243. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route_client-reference-manifest.js +1 -1
  245. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route_client-reference-manifest.js +1 -1
  247. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  248. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route_client-reference-manifest.js +1 -1
  249. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  250. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route_client-reference-manifest.js +1 -1
  251. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/proxy-pools/route_client-reference-manifest.js +1 -1
  253. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  254. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route_client-reference-manifest.js +1 -1
  255. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  256. package/app/.next-cli-build/server/app/api/pxpipe/health/route_client-reference-manifest.js +1 -1
  257. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  258. package/app/.next-cli-build/server/app/api/pxpipe/install/route_client-reference-manifest.js +1 -1
  259. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  260. package/app/.next-cli-build/server/app/api/pxpipe/restart/route_client-reference-manifest.js +1 -1
  261. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  262. package/app/.next-cli-build/server/app/api/pxpipe/start/route_client-reference-manifest.js +1 -1
  263. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  264. package/app/.next-cli-build/server/app/api/pxpipe/stats/route_client-reference-manifest.js +1 -1
  265. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  266. package/app/.next-cli-build/server/app/api/pxpipe/status/route_client-reference-manifest.js +1 -1
  267. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  268. package/app/.next-cli-build/server/app/api/pxpipe/stop/route_client-reference-manifest.js +1 -1
  269. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/settings/database/route_client-reference-manifest.js +1 -1
  271. package/app/.next-cli-build/server/app/api/settings/environment/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/settings/environment/route_client-reference-manifest.js +1 -1
  273. package/app/.next-cli-build/server/app/api/settings/presidio/route.js +2 -2
  274. package/app/.next-cli-build/server/app/api/settings/presidio/route_client-reference-manifest.js +1 -1
  275. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/settings/proxy-test/route_client-reference-manifest.js +1 -1
  277. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
  279. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/settings/route_client-reference-manifest.js +1 -1
  281. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  283. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/tags/route_client-reference-manifest.js +1 -1
  285. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/translator/console-logs/route_client-reference-manifest.js +1 -1
  287. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  288. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route_client-reference-manifest.js +1 -1
  289. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
  291. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
  293. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
  295. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
  297. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/tunnel/disable/route_client-reference-manifest.js +1 -1
  299. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/tunnel/enable/route_client-reference-manifest.js +1 -1
  301. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/tunnel/status/route_client-reference-manifest.js +1 -1
  303. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route_client-reference-manifest.js +1 -1
  305. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route_client-reference-manifest.js +1 -1
  307. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route_client-reference-manifest.js +1 -1
  309. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  310. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route_client-reference-manifest.js +1 -1
  311. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
  313. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/usage/chart/route_client-reference-manifest.js +1 -1
  315. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
  317. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
  319. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
  321. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
  323. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/usage/stats/route_client-reference-manifest.js +1 -1
  325. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/usage/stream/route_client-reference-manifest.js +1 -1
  327. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
  329. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/v1/audio/speech/route_client-reference-manifest.js +1 -1
  331. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +1 -1
  333. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/v1/audio/voices/route_client-reference-manifest.js +1 -1
  335. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
  337. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
  339. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/v1/images/generations/route_client-reference-manifest.js +1 -1
  341. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
  343. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
  345. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route_client-reference-manifest.js +1 -1
  347. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/v1/models/info/route_client-reference-manifest.js +1 -1
  349. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  351. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/v1/responses/compact/route_client-reference-manifest.js +1 -1
  353. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
  355. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/v1/route_client-reference-manifest.js +1 -1
  357. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/v1/search/route_client-reference-manifest.js +1 -1
  359. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route_client-reference-manifest.js +1 -1
  361. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/v1/videos/edits/route_client-reference-manifest.js +1 -1
  363. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route_client-reference-manifest.js +1 -1
  365. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/v1/videos/generations/route_client-reference-manifest.js +1 -1
  367. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/v1/web/fetch/route_client-reference-manifest.js +1 -1
  369. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  371. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  373. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/version/route_client-reference-manifest.js +1 -1
  375. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/version/shutdown/route_client-reference-manifest.js +1 -1
  377. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/version/update/route_client-reference-manifest.js +1 -1
  379. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  380. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  381. package/app/.next-cli-build/server/app/callback.html +1 -1
  382. package/app/.next-cli-build/server/app/callback.meta +8 -0
  383. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  384. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  385. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  386. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  387. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  388. package/app/.next-cli-build/server/app/dashboard/basic-chat.meta +8 -0
  389. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
  390. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +5 -5
  391. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
  392. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  393. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  394. package/app/.next-cli-build/server/app/dashboard/cli-tools.meta +8 -0
  395. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  396. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +5 -5
  397. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  398. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  399. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  400. package/app/.next-cli-build/server/app/dashboard/combos.meta +8 -0
  401. package/app/.next-cli-build/server/app/dashboard/combos.rsc +5 -5
  402. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +5 -5
  403. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
  404. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  405. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  406. package/app/.next-cli-build/server/app/dashboard/endpoint.meta +8 -0
  407. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  408. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +5 -5
  409. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  410. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  411. package/app/.next-cli-build/server/app/dashboard/environment.html +1 -1
  412. package/app/.next-cli-build/server/app/dashboard/environment.meta +8 -0
  413. package/app/.next-cli-build/server/app/dashboard/environment.rsc +5 -5
  414. package/app/.next-cli-build/server/app/dashboard/environment.segments/!KGRhc2hib2FyZCk/dashboard/environment/__PAGE__.segment.rsc +5 -5
  415. package/app/.next-cli-build/server/app/dashboard/environment.segments/_full.segment.rsc +5 -5
  416. package/app/.next-cli-build/server/app/dashboard/environment.segments/_tree.segment.rsc +1 -1
  417. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  418. package/app/.next-cli-build/server/app/dashboard/media-providers/web.meta +8 -0
  419. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
  420. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +5 -5
  421. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
  422. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  423. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  424. package/app/.next-cli-build/server/app/dashboard/mitm.meta +8 -0
  425. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
  426. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +5 -5
  427. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
  428. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  429. package/app/.next-cli-build/server/app/dashboard/presidio.html +1 -1
  430. package/app/.next-cli-build/server/app/dashboard/presidio.meta +8 -0
  431. package/app/.next-cli-build/server/app/dashboard/presidio.rsc +5 -5
  432. package/app/.next-cli-build/server/app/dashboard/presidio.segments/!KGRhc2hib2FyZCk/dashboard/presidio/__PAGE__.segment.rsc +5 -5
  433. package/app/.next-cli-build/server/app/dashboard/presidio.segments/_full.segment.rsc +5 -5
  434. package/app/.next-cli-build/server/app/dashboard/presidio.segments/_tree.segment.rsc +1 -1
  435. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  436. package/app/.next-cli-build/server/app/dashboard/profile.meta +8 -0
  437. package/app/.next-cli-build/server/app/dashboard/profile.rsc +5 -5
  438. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +5 -5
  439. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
  440. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  441. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  442. package/app/.next-cli-build/server/app/dashboard/providers/new.meta +8 -0
  443. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
  444. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +5 -5
  445. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
  446. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  447. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  448. package/app/.next-cli-build/server/app/dashboard/providers.meta +8 -0
  449. package/app/.next-cli-build/server/app/dashboard/providers.rsc +5 -5
  450. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +5 -5
  451. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
  452. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  453. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  454. package/app/.next-cli-build/server/app/dashboard/proxy-pools.meta +8 -0
  455. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
  456. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +5 -5
  457. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
  458. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  459. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  460. package/app/.next-cli-build/server/app/dashboard/pxpipe.meta +8 -0
  461. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +5 -5
  462. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +5 -5
  463. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +5 -5
  464. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  465. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  466. package/app/.next-cli-build/server/app/dashboard/quota.meta +8 -0
  467. package/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
  468. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +6 -6
  469. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
  470. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  472. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  473. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  474. package/app/.next-cli-build/server/app/dashboard/settings/pricing.meta +8 -0
  475. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  476. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  477. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  478. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
  479. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  480. package/app/.next-cli-build/server/app/dashboard/skills.meta +8 -0
  481. package/app/.next-cli-build/server/app/dashboard/skills.rsc +5 -5
  482. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +5 -5
  483. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +5 -5
  484. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  485. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/token-saver.meta +8 -0
  487. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +5 -5
  488. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +5 -5
  489. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +5 -5
  490. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  492. package/app/.next-cli-build/server/app/dashboard/translator.meta +8 -0
  493. package/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
  494. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +5 -5
  495. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
  496. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  497. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  498. package/app/.next-cli-build/server/app/dashboard/usage.meta +8 -0
  499. package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
  500. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +5 -5
  501. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
  502. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  503. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  504. package/app/.next-cli-build/server/app/dashboard.meta +8 -0
  505. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  506. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +5 -5
  507. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  508. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  509. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  510. package/app/.next-cli-build/server/app/favicon.ico.meta +1 -1
  511. package/app/.next-cli-build/server/app/index.html +1 -1
  512. package/app/.next-cli-build/server/app/index.meta +8 -0
  513. package/app/.next-cli-build/server/app/index.rsc +3 -3
  514. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  515. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  516. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  517. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  518. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  519. package/app/.next-cli-build/server/app/landing.html +1 -1
  520. package/app/.next-cli-build/server/app/landing.meta +8 -0
  521. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  522. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  523. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  524. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  525. package/app/.next-cli-build/server/app/login/page.js +1 -1
  526. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  527. package/app/.next-cli-build/server/app/login.html +1 -1
  528. package/app/.next-cli-build/server/app/login.meta +8 -0
  529. package/app/.next-cli-build/server/app/login.rsc +4 -4
  530. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
  531. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  532. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  533. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  534. package/app/.next-cli-build/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  535. package/app/.next-cli-build/server/app/manifest.webmanifest.meta +1 -1
  536. package/app/.next-cli-build/server/app/page.js +1 -1
  537. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  538. package/app/.next-cli-build/server/app-paths-manifest.json +10 -10
  539. package/app/.next-cli-build/server/chunks/1307.js +1 -1
  540. package/app/.next-cli-build/server/chunks/1738.js +6 -0
  541. package/app/.next-cli-build/server/chunks/2365.js +1 -1
  542. package/app/.next-cli-build/server/chunks/2430.js +9 -9
  543. package/app/.next-cli-build/server/chunks/{6298.js → 2750.js} +2 -2
  544. package/app/.next-cli-build/server/chunks/{4741.js → 2970.js} +5 -5
  545. package/app/.next-cli-build/server/chunks/4404.js +1 -1
  546. package/app/.next-cli-build/server/chunks/4921.js +1 -1
  547. package/app/.next-cli-build/server/chunks/5330.js +1 -1
  548. package/app/.next-cli-build/server/chunks/5718.js +1 -1
  549. package/app/.next-cli-build/server/chunks/7153.js +1 -1
  550. package/app/.next-cli-build/server/chunks/7516.js +1 -0
  551. package/app/.next-cli-build/server/chunks/7774.js +14 -14
  552. package/app/.next-cli-build/server/chunks/7965.js +1 -1
  553. package/app/.next-cli-build/server/chunks/8238.js +1 -1
  554. package/app/.next-cli-build/server/chunks/8520.js +1 -1
  555. package/app/.next-cli-build/server/chunks/9958.js +1 -0
  556. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  557. package/app/.next-cli-build/server/middleware.js +8 -8
  558. package/app/.next-cli-build/server/next-font-manifest.js +1 -1
  559. package/app/.next-cli-build/server/next-font-manifest.json +1 -1
  560. package/app/.next-cli-build/server/pages/404.html +1 -1
  561. package/app/.next-cli-build/server/pages/500.html +1 -1
  562. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  563. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  564. package/app/.next-cli-build/static/chunks/{1321-1c2a824823ca3ce1.js → 1321-1cd76f0c09008d25.js} +1 -1
  565. package/app/.next-cli-build/static/chunks/{3794-a6cbe3f16d804637.js → 3794-83acfce05009cf38.js} +1 -1
  566. package/app/.next-cli-build/static/chunks/{3395-be2d0ce6411ddbf0.js → 5493-c3a04002af54801e.js} +2 -2
  567. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-90b9aed7279ea50e.js +1 -0
  568. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-59df1ec967104183.js +1 -0
  569. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-078e371cd28497b6.js → page-eaf6e24edeca4e51.js} +1 -1
  570. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-e64094ed18df3b56.js → page-18d8f169d8c3de33.js} +1 -1
  571. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-b0ca04fb70605405.js → page-a011c39badf806fe.js} +1 -1
  572. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-00af77238b25c295.js +1 -0
  573. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/environment/{page-b0ce20cbd713579f.js → page-4d68ba212f456744.js} +1 -1
  574. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-071c7098cf94202c.js → page-4bcade1442e6c0b5.js} +2 -2
  575. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-4cc4f8be00949660.js +1 -0
  576. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-3f38ec37b17f0037.js → page-5e005e5dc46b5b05.js} +1 -1
  577. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-909d17ab175e93bc.js +1 -0
  578. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-81f0e1ae55f87925.js → page-790927afb717fab0.js} +1 -1
  579. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-2fd72d435e4d9a63.js +1 -0
  580. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/presidio/{page-99353b884e6df533.js → page-b6882fbe93ce6fed.js} +2 -2
  581. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-0598a87942bb3820.js +1 -0
  582. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-b92667a32e2aeffa.js → page-1a405c510f10994f.js} +2 -2
  583. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-c3622a7d7cc18cbf.js → page-30b5b3e1b316549e.js} +1 -1
  584. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/{page-ea1a75b474ac9e70.js → page-2169b88d38be92c4.js} +1 -1
  585. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-4f7edeb50d89e01e.js → page-441862c5aef7c05b.js} +2 -2
  586. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/page-361d146966b5e6fd.js +1 -0
  587. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-a1e95f4a56398b5f.js +1 -0
  588. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-2b35b21c1542b9b8.js +1 -0
  589. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-a2aaba32f78ac588.js +1 -0
  590. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-bbc10fd10f7af626.js +1 -0
  591. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-a9f7994c00065149.js → page-92d41d63c433e741.js} +1 -1
  592. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-6253155164c2da34.js → layout-799f966f7a1927db.js} +1 -1
  593. package/app/.next-cli-build/static/chunks/app/_not-found/{page-d5c617062d30267e.js → page-69c9055276bac5d5.js} +1 -1
  594. package/app/.next-cli-build/static/chunks/app/callback/{page-50756e58d21b2c2a.js → page-cf35ed3dd79e22aa.js} +1 -1
  595. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/{page-625fde09367a7c35.js → page-5b47cc4a5715f784.js} +1 -1
  596. package/app/.next-cli-build/static/chunks/app/landing/page-da6d2100a6112d99.js +1 -0
  597. package/app/.next-cli-build/static/chunks/app/{layout-ad1b0eddf87f5d0d.js → layout-a39bb90fce7728eb.js} +1 -1
  598. package/app/.next-cli-build/static/chunks/app/login/page-dc0977f009ec9dbd.js +1 -0
  599. package/app/.next-cli-build/static/chunks/{main-2b2e5496298f74dc.js → main-1eaba0b776683ce7.js} +2 -2
  600. package/app/.next-cli-build/static/chunks/main-app-6f8e9cdd84d0eb47.js +1 -0
  601. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-bc22e7b1505a1652.js +1 -0
  602. package/app/cli/package.json +25 -10
  603. package/app/node_modules/@next/env/package.json +1 -1
  604. package/app/node_modules/next/dist/build/swc/index.js +1 -1
  605. package/app/node_modules/next/dist/build/webpack-config.js +3 -3
  606. package/app/node_modules/next/dist/compiled/hash.js/sha256/256.js +1 -0
  607. package/app/node_modules/next/dist/compiled/hash.js/sha256/package.json +1 -0
  608. package/app/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +13 -13
  609. package/app/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +17 -17
  610. package/app/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +18 -18
  611. package/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +16 -16
  612. package/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +3 -3
  613. package/app/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +13 -13
  614. package/app/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +13 -13
  615. package/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  616. package/app/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +2 -1
  617. package/app/node_modules/next/dist/server/base-server.js +1 -2
  618. package/app/node_modules/next/dist/server/config.js +1 -1
  619. package/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
  620. package/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  621. package/app/node_modules/next/dist/server/image-optimizer.js +279 -53
  622. package/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  623. package/app/node_modules/next/dist/server/lib/disk-lru-cache.external.js +7 -1
  624. package/app/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +177 -19
  625. package/app/node_modules/next/dist/server/lib/incremental-cache/index.js +36 -17
  626. package/app/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js +14 -6
  627. package/app/node_modules/next/dist/server/lib/match-next-data-pathname.js +3 -1
  628. package/app/node_modules/next/dist/server/lib/node-fs-methods.js +14 -0
  629. package/app/node_modules/next/dist/server/lib/route-cache-key.js +77 -0
  630. package/app/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +9 -11
  631. package/app/node_modules/next/dist/server/lib/start-server.js +1 -1
  632. package/app/node_modules/next/dist/server/mcp/get-mcp-middleware.js +4 -2
  633. package/app/node_modules/next/dist/server/next-server.js +7 -3
  634. package/app/node_modules/next/dist/server/response-cache/index.js +32 -16
  635. package/app/node_modules/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js +2 -2
  636. package/app/node_modules/next/dist/server/route-modules/pages/pages-handler.js +6 -1
  637. package/app/node_modules/next/dist/server/route-modules/route-module.js +9 -2
  638. package/app/node_modules/next/dist/shared/lib/router/utils/app-paths.js +18 -1
  639. package/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  640. package/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  641. package/app/node_modules/next/dist/telemetry/events/version.js +2 -2
  642. package/app/node_modules/next/package.json +10 -10
  643. package/app/package.json +5 -4
  644. package/app/server.js +1 -1
  645. package/cli.js +54 -9
  646. package/hooks/sqliteRuntime.js +9 -1
  647. package/hooks/trayRuntime.js +3 -1
  648. package/package.json +25 -10
  649. package/app/.next-cli-build/server/chunks/706.js +0 -6
  650. package/app/.next-cli-build/server/chunks/9560.js +0 -1
  651. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-0ae8d0b50b95b728.js +0 -1
  652. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-9b8b79cce7b923e4.js +0 -1
  653. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-c0336422a593932c.js +0 -1
  654. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/page-5f2ec58004dc0876.js +0 -1
  655. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-3916c3d0c200ed7f.js +0 -1
  656. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-dcf16d0f112217c2.js +0 -1
  657. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-b7a83a5b300aa4ca.js +0 -1
  658. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/page-91e616d076e87db0.js +0 -1
  659. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-06b0126c482683df.js +0 -1
  660. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-8efc0655ff743589.js +0 -1
  661. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-8c4e34eb14f3e6a0.js +0 -1
  662. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-719a6bedc7b221df.js +0 -1
  663. package/app/.next-cli-build/static/chunks/app/landing/page-15b3f417802222cf.js +0 -1
  664. package/app/.next-cli-build/static/chunks/app/login/page-fd5112b2e7b69783.js +0 -1
  665. package/app/.next-cli-build/static/chunks/main-app-660dc8e7875ac38b.js +0 -1
  666. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-a2fddafac4487574.js +0 -1
  667. /package/app/.next-cli-build/static/{5yjzy8V3yYGJ5_YtOmrKY → -JYtyz8OZjeWIc1-TrSED}/_buildManifest.js +0 -0
  668. /package/app/.next-cli-build/static/{5yjzy8V3yYGJ5_YtOmrKY → -JYtyz8OZjeWIc1-TrSED}/_ssgManifest.js +0 -0
@@ -11,6 +11,7 @@ Object.defineProperty(exports, "blockCrossSiteDEV", {
11
11
  const _url = require("../../../lib/url");
12
12
  const _log = require("../../../build/output/log");
13
13
  const _csrfprotection = require("../../app-render/csrf-protection");
14
+ const _parsepath = require("../../../shared/lib/router/utils/parse-path");
14
15
  const allowedDevOriginsDocs = 'https://nextjs.org/docs/app/api-reference/config/next-config-js/allowedDevOrigins';
15
16
  function getBlockedResourcePath(req) {
16
17
  var _parseUrl;
@@ -62,17 +63,14 @@ function parseHostnameFromHeader(header) {
62
63
  }
63
64
  function isInternalEndpoint(req) {
64
65
  if (!req.url) return false;
65
- try {
66
- // TODO: We should standardize on a single prefix for this
67
- const isMiddlewareRequest = req.url.includes('/__nextjs');
68
- const isInternalAsset = req.url.includes('/_next');
69
- // Static media requests are excluded, as they might be loaded via CSS and would fail
70
- // CORS checks.
71
- const isIgnoredRequest = req.url.includes('/_next/image') || req.url.includes('/_next/static/media') || req.url.includes('/_next/static/immutable/media');
72
- return !isIgnoredRequest && (isInternalAsset || isMiddlewareRequest);
73
- } catch (err) {
74
- return false;
75
- }
66
+ const { pathname } = (0, _parsepath.parsePath)(req.url);
67
+ // TODO: We should standardize on a single prefix for this
68
+ const isMiddlewareRequest = pathname.includes('/__nextjs');
69
+ const isInternalAsset = pathname.includes('/_next');
70
+ // Static media requests are excluded, as they might be loaded via CSS and would fail
71
+ // CORS checks.
72
+ const isIgnoredRequest = pathname.includes('/_next/image') || pathname.includes('/_next/static/media') || pathname.includes('/_next/static/immutable/media');
73
+ return !isIgnoredRequest && (isInternalAsset || isMiddlewareRequest);
76
74
  }
77
75
  const blockCrossSiteDEV = (req, res, allowedDevOrigins, hostname)=>{
78
76
  const allowedOrigins = [
@@ -177,7 +177,7 @@ async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup, server
177
177
  async function startServer(serverOptions) {
178
178
  const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate, serverFastRefresh } = serverOptions;
179
179
  let { port } = serverOptions;
180
- process.title = `next-server (v${"16.3.4"})`;
180
+ process.title = `next-server (v${"16.3.8"})`;
181
181
  let handlersReady = ()=>{};
182
182
  let handlersError = ()=>{};
183
183
  let handlersPromise = new Promise((resolve, reject)=>{
@@ -10,11 +10,13 @@ Object.defineProperty(exports, "getMcpMiddleware", {
10
10
  });
11
11
  const _getorcreatemcpserver = require("./get-or-create-mcp-server");
12
12
  const _parsebody = require("../api-utils/node/parse-body");
13
+ const _parsepath = require("../../shared/lib/router/utils/parse-path");
14
+ const _removetrailingslash = require("../../shared/lib/router/utils/remove-trailing-slash");
13
15
  const _streamableHttp = require("next/dist/compiled/@modelcontextprotocol/sdk/server/streamableHttp");
14
16
  function getMcpMiddleware(options) {
15
17
  return async function(req, res, next) {
16
- const { pathname } = new URL(req.url || '', 'http://n');
17
- if (!pathname.startsWith('/_next/mcp')) {
18
+ const { pathname } = (0, _parsepath.parsePath)(req.url || '');
19
+ if ((0, _removetrailingslash.removeTrailingSlash)(pathname) !== '/_next/mcp') {
18
20
  return next();
19
21
  }
20
22
  const mcpServer = (0, _getorcreatemcpserver.getOrCreateMcpServer)(options);
@@ -462,7 +462,10 @@ class NextNodeServer extends _baseserver.default {
462
462
  delete process.env.__NEXT_REQUEST_INSIGHTS;
463
463
  }
464
464
  if (!this.minimalMode) {
465
- this.imageResponseCache = new _responsecache.default(this.minimalMode);
465
+ this.imageResponseCache = new _responsecache.default({
466
+ minimalMode: this.minimalMode,
467
+ route: 'image'
468
+ });
466
469
  }
467
470
  if (!options.dev && !this.minimalMode && this.nextConfig.experimental.preloadEntriesOnStart) {
468
471
  this.unstable_preloadEntries();
@@ -594,6 +597,7 @@ class NextNodeServer extends _baseserver.default {
594
597
  }
595
598
  }
596
599
  async getIncrementalCache({ requestHeaders }) {
600
+ var _this_nextConfig_i18n;
597
601
  const dev = !!this.dev;
598
602
  let CacheHandler;
599
603
  const { cacheHandler } = this.nextConfig;
@@ -615,6 +619,7 @@ class NextNodeServer extends _baseserver.default {
615
619
  maxMemoryCacheSize: this.nextConfig.cacheMaxMemorySize,
616
620
  flushToDisk: !this.minimalMode && this.nextConfig.experimental.isrFlushToDisk,
617
621
  getPrerenderManifest: ()=>this.getPrerenderManifest(),
622
+ locales: (_this_nextConfig_i18n = this.nextConfig.i18n) == null ? void 0 : _this_nextConfig_i18n.locales,
618
623
  CurCacheHandler: CacheHandler
619
624
  });
620
625
  }
@@ -801,8 +806,7 @@ class NextNodeServer extends _baseserver.default {
801
806
  const isAppPath = Array.isArray(appPaths);
802
807
  let page = ctx.pathname;
803
808
  if (isAppPath) {
804
- // When it's an array, we need to pass all parallel routes to the loader.
805
- page = appPaths[0];
809
+ page = (0, _apppaths.selectAppPageEntry)(ctx.pathname, appPaths);
806
810
  }
807
811
  for (const edgeFunctionsPage of edgeFunctionsPages){
808
812
  if (edgeFunctionsPage === page) {
@@ -9,12 +9,13 @@ Object.defineProperty(exports, "default", {
9
9
  }
10
10
  });
11
11
  0 && __export(require("./types"));
12
+ const _types = _export_star(require("./types"), exports);
13
+ const _invarianterror = require("../../shared/lib/invariant-error");
12
14
  const _batcher = require("../../lib/batcher");
13
15
  const _lrucache = require("../lib/lru-cache");
14
16
  const _log = require("../../build/output/log");
15
17
  const _scheduler = require("../../lib/scheduler");
16
18
  const _utils = require("./utils");
17
- _export_star(require("./types"), exports);
18
19
  function _export_star(from, to) {
19
20
  Object.keys(from).forEach(function(k) {
20
21
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
@@ -74,7 +75,7 @@ function _export_star(from, to) {
74
75
  return invocationID === TTL_SENTINEL ? undefined : invocationID;
75
76
  }
76
77
  class ResponseCache {
77
- constructor(minimal_mode, maxSize = DEFAULT_MAX_SIZE, ttl = DEFAULT_TTL_MS){
78
+ constructor({ minimalMode, route, maxSize = DEFAULT_MAX_SIZE, ttl = DEFAULT_TTL_MS }){
78
79
  this.getBatcher = _batcher.Batcher.create({
79
80
  // Ensure on-demand revalidate doesn't block normal requests, it should be
80
81
  // safe to run an on-demand revalidate for the same key as a normal request.
@@ -95,7 +96,11 @@ class ResponseCache {
95
96
  * Used to detect when the cache size may be too small.
96
97
  * Bounded to prevent memory growth.
97
98
  */ this.evictedInvocationIDs = new Set();
98
- this.minimal_mode = minimal_mode;
99
+ if (!route) {
100
+ throw new _invarianterror.InvariantError('Response cache requires a source route');
101
+ }
102
+ this.route = route;
103
+ this.minimal_mode = minimalMode;
99
104
  this.maxSize = maxSize;
100
105
  this.ttl = ttl;
101
106
  // Create the LRU cache with eviction tracking
@@ -157,7 +162,7 @@ class ResponseCache {
157
162
  (0, _log.warnOnce)(`Response cache entry was evicted for invocation ${context.invocationID}. ` + `Consider increasing NEXT_PRIVATE_RESPONSE_CACHE_MAX_SIZE (current: ${this.maxSize}).`);
158
163
  }
159
164
  }
160
- const { incrementalCache, isOnDemandRevalidate = false, isFallback = false, isRoutePPREnabled = false, isPrefetch = false, waitUntil, routeKind, invocationID } = context;
165
+ const { incrementalCache, isOnDemandRevalidate = false, isFallback = false, isRoutePPREnabled = false, isPrefetch = false, waitUntil, invocationID } = context;
161
166
  const response = await this.getBatcher.batch({
162
167
  key,
163
168
  isOnDemandRevalidate
@@ -168,7 +173,6 @@ class ResponseCache {
168
173
  isFallback,
169
174
  isRoutePPREnabled,
170
175
  isPrefetch,
171
- routeKind,
172
176
  invocationID
173
177
  }, resolve);
174
178
  // We need to ensure background revalidates are passed to waitUntil.
@@ -197,11 +201,7 @@ class ResponseCache {
197
201
  let resolved = false;
198
202
  try {
199
203
  // Get the previous cache entry if not in minimal mode
200
- previousIncrementalCacheEntry = !this.minimal_mode ? await context.incrementalCache.get(key, {
201
- kind: (0, _utils.routeKindToIncrementalCacheKind)(context.routeKind),
202
- isRoutePPREnabled: context.isRoutePPREnabled,
203
- isFallback: context.isFallback
204
- }) : null;
204
+ previousIncrementalCacheEntry = !this.minimal_mode ? await context.incrementalCache.get(key, this.getCacheContext(context.isRoutePPREnabled, context.isFallback)) : null;
205
205
  // `isStale === -1` signals that the entry is past its `expire` (either
206
206
  // via an expired tag or, with `cacheLife({ expire })`, past the route's
207
207
  // expire time in the prerender manifest). In that case we must NOT
@@ -293,9 +293,8 @@ class ResponseCache {
293
293
  // every caller — including batched invocations — populates the cache.
294
294
  if (incrementalResponseCacheEntry.cacheControl && !this.minimal_mode) {
295
295
  await incrementalCache.set(key, incrementalResponseCacheEntry.value, {
296
- cacheControl: incrementalResponseCacheEntry.cacheControl,
297
- isRoutePPREnabled,
298
- isFallback
296
+ ...this.getCacheContext(isRoutePPREnabled, isFallback),
297
+ cacheControl: incrementalResponseCacheEntry.cacheControl
299
298
  });
300
299
  }
301
300
  return incrementalResponseCacheEntry;
@@ -306,18 +305,35 @@ class ResponseCache {
306
305
  const revalidate = Math.min(Math.max(previousIncrementalCacheEntry.cacheControl.revalidate || 3, 3), 30);
307
306
  const expire = previousIncrementalCacheEntry.cacheControl.expire === undefined ? undefined : Math.max(revalidate + 3, previousIncrementalCacheEntry.cacheControl.expire);
308
307
  await incrementalCache.set(key, previousIncrementalCacheEntry.value, {
308
+ ...this.getCacheContext(isRoutePPREnabled, isFallback),
309
309
  cacheControl: {
310
310
  revalidate: revalidate,
311
311
  expire: expire
312
- },
313
- isRoutePPREnabled,
314
- isFallback
312
+ }
315
313
  });
316
314
  }
317
315
  // We haven't resolved yet, so let's throw to indicate an error.
318
316
  throw err;
319
317
  }
320
318
  }
319
+ getCacheContext(isRoutePPREnabled, isFallback) {
320
+ if (this.route === 'image') {
321
+ return {
322
+ kind: _types.IncrementalCacheKind.IMAGE,
323
+ isFallback: false
324
+ };
325
+ }
326
+ const kind = (0, _utils.routeKindToIncrementalCacheKind)(this.route.kind);
327
+ if (kind === _types.IncrementalCacheKind.IMAGE) {
328
+ throw new _invarianterror.InvariantError('Images must use the image response cache');
329
+ }
330
+ return {
331
+ route: this.route,
332
+ kind,
333
+ isRoutePPREnabled,
334
+ isFallback
335
+ };
336
+ }
321
337
  }
322
338
 
323
339
  //# sourceMappingURL=index.js.map
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "AppPageRouteMatcherProvider", {
8
8
  return AppPageRouteMatcherProvider;
9
9
  }
10
10
  });
11
+ const _apppaths = require("../../shared/lib/router/utils/app-paths");
11
12
  const _isapppageroute = require("../../lib/is-app-page-route");
12
13
  const _constants = require("../../shared/lib/constants");
13
14
  const _app = require("../normalizers/built/app");
@@ -35,8 +36,7 @@ class AppPageRouteMatcherProvider extends _manifestroutematcherprovider.Manifest
35
36
  // Format the routes.
36
37
  const matchers = [];
37
38
  for (const [pathname, appPaths] of Object.entries(allAppPaths)){
38
- // TODO-APP: (wyattjoh) this is a hack right now, should be more deterministic
39
- const page = appPaths[0];
39
+ const page = (0, _apppaths.selectAppPageEntry)(pathname, appPaths, (appPath)=>this.normalizers.pathname.normalize(appPath));
40
40
  const filename = this.normalizers.filename.normalize(manifest[page]);
41
41
  const bundlePath = this.normalizers.bundlePath.normalize(page);
42
42
  matchers.push(new _apppageroutematcher.AppPageRouteMatcher({
@@ -30,6 +30,7 @@ const _redirectstatuscode = require("../../../client/components/redirect-status-
30
30
  const _isbot = require("../../../shared/lib/router/utils/is-bot");
31
31
  const _addpathprefix = require("../../../shared/lib/router/utils/add-path-prefix");
32
32
  const _removetrailingslash = require("../../../shared/lib/router/utils/remove-trailing-slash");
33
+ const _routecachekey = require("../../lib/route-cache-key");
33
34
  function _interop_require_default(obj) {
34
35
  return obj && obj.__esModule ? obj : {
35
36
  default: obj
@@ -106,8 +107,12 @@ const getHandler = ({ srcPage: originalSrcPage, config, userland, routeModule, i
106
107
  cacheKey = cacheKey === '/index' ? '/' : cacheKey;
107
108
  }
108
109
  if (hasStaticPaths && !isDraftMode) {
110
+ var _nextConfig_i18n;
109
111
  const decodedPathname = (0, _removetrailingslash.removeTrailingSlash)(locale ? (0, _addpathprefix.addPathPrefix)(resolvedPathname, `/${locale}`) : resolvedPathname);
110
- const isPrerendered = Boolean(prerenderManifest.routes[decodedPathname]) || prerenderManifest.notFoundRoutes.includes(decodedPathname);
112
+ const isPrerendered = (Boolean(prerenderManifest.routes[decodedPathname]) || prerenderManifest.notFoundRoutes.includes(decodedPathname)) && // A sibling's positive or negative prerender cannot admit parameters
113
+ // that this route excluded. Development computes static paths on demand
114
+ // instead of reading build-time prerender metadata.
115
+ (routeModule.isDev || (0, _routecachekey.isRouteCacheOwner)(decodedPathname, routeModule.cacheOwner, prerenderManifest.routes[decodedPathname], (_nextConfig_i18n = nextConfig.i18n) == null ? void 0 : _nextConfig_i18n.locales));
111
116
  const prerenderInfo = prerenderManifest.dynamicRoutes[srcPage];
112
117
  if (prerenderInfo) {
113
118
  if (prerenderInfo.fallback === false && !isPrerendered) {
@@ -28,6 +28,7 @@ const _incrementalcache = require("../lib/incremental-cache");
28
28
  const _handlers = require("../use-cache/handlers");
29
29
  const _interopdefault = require("../app-render/interop-default");
30
30
  const _routekind = require("../route-kind");
31
+ const _routecachekey = require("../lib/route-cache-key");
31
32
  const _responsecache = /*#__PURE__*/ _interop_require_default(require("../response-cache"));
32
33
  const _apppaths = require("../../shared/lib/router/utils/app-paths");
33
34
  const _routerservercontext = require("../lib/router-utils/router-server-context");
@@ -47,6 +48,7 @@ class RouteModule {
47
48
  constructor({ userland, definition, distDir, relativeProjectDir }){
48
49
  this._userland = userland;
49
50
  this.definition = definition;
51
+ this.cacheOwner = (0, _routecachekey.getResponseCacheOwner)(definition);
50
52
  this.isDev = !!process.env.__NEXT_DEV_SERVER;
51
53
  this.distDir = distDir;
52
54
  this.relativeProjectDir = relativeProjectDir;
@@ -270,6 +272,7 @@ class RouteModule {
270
272
  if (process.env.NEXT_RUNTIME === 'edge') {
271
273
  return globalThis.__incrementalCache;
272
274
  } else {
275
+ var _nextConfig_i18n;
273
276
  let CacheHandler;
274
277
  const { cacheHandler } = nextConfig;
275
278
  if (cacheHandler) {
@@ -293,7 +296,8 @@ class RouteModule {
293
296
  maxMemoryCacheSize: nextConfig.cacheMaxMemorySize,
294
297
  flushToDisk: !isMinimalMode && nextConfig.experimental.isrFlushToDisk,
295
298
  getPrerenderManifest: ()=>prerenderManifest,
296
- CurCacheHandler: CacheHandler
299
+ CurCacheHandler: CacheHandler,
300
+ locales: (_nextConfig_i18n = nextConfig.i18n) == null ? void 0 : _nextConfig_i18n.locales
297
301
  });
298
302
  globalThis.__incrementalCache = incrementalCache;
299
303
  return incrementalCache;
@@ -651,7 +655,10 @@ class RouteModule {
651
655
  getResponseCache(req) {
652
656
  if (!this.responseCache) {
653
657
  const minimalMode = (0, _requestmeta.getRequestMeta)(req, 'minimalMode') ?? false;
654
- this.responseCache = new _responsecache.default(minimalMode);
658
+ this.responseCache = new _responsecache.default({
659
+ minimalMode,
660
+ route: this.cacheOwner
661
+ });
655
662
  }
656
663
  return this.responseCache;
657
664
  }
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  0 && (module.exports = {
6
6
  compareAppPaths: null,
7
7
  normalizeAppPath: null,
8
- normalizeRscURL: null
8
+ normalizeRscURL: null,
9
+ selectAppPageEntry: null
9
10
  });
10
11
  function _export(target, all) {
11
12
  for(var name in all)Object.defineProperty(target, name, {
@@ -22,6 +23,9 @@ _export(exports, {
22
23
  },
23
24
  normalizeRscURL: function() {
24
25
  return normalizeRscURL;
26
+ },
27
+ selectAppPageEntry: function() {
28
+ return selectAppPageEntry;
25
29
  }
26
30
  });
27
31
  const _ensureleadingslash = require("../../page-path/ensure-leading-slash");
@@ -54,6 +58,19 @@ function compareAppPaths(a, b) {
54
58
  if (!aHasSlot && bHasSlot) return 1;
55
59
  return a.localeCompare(b);
56
60
  }
61
+ function selectAppPageEntry(pathname, appPaths, normalizePathname = (appPath)=>normalizeAppPath(appPath).replace(/%5F/g, '_')) {
62
+ let entry;
63
+ for (const appPath of appPaths){
64
+ if (normalizePathname(appPath) !== pathname) continue;
65
+ if (entry === undefined || compareAppPaths(entry, appPath) < 0) {
66
+ entry = appPath;
67
+ }
68
+ }
69
+ if (entry === undefined) {
70
+ throw new Error(`Invariant: no direct app page entry found for ${pathname}`);
71
+ }
72
+ return entry;
73
+ }
57
74
  function normalizeRscURL(url) {
58
75
  return url.replace(/\.rsc($|\?)/, // $1 ensures `?` is preserved
59
76
  '$1');
@@ -82,7 +82,7 @@ async function getAnonymousMeta() {
82
82
  isWsl: _iswsl.default,
83
83
  isCI: _ciinfo.isCI,
84
84
  ciName: _ciinfo.isCI && _ciinfo.name || null,
85
- nextVersion: "16.3.4",
85
+ nextVersion: "16.3.8",
86
86
  agentName: await (0, _agentname.getAgentName)()
87
87
  };
88
88
  return traits;
@@ -38,7 +38,7 @@ async function eventSwcLoadFailure(event) {
38
38
  telemetry.record({
39
39
  eventName: EVENT_PLUGIN_PRESENT,
40
40
  payload: {
41
- nextVersion: "16.3.4",
41
+ nextVersion: "16.3.8",
42
42
  glibcVersion,
43
43
  installedSwcPackages,
44
44
  arch: process.arch,
@@ -12,12 +12,12 @@ const EVENT_VERSION = 'NEXT_CLI_SESSION_STARTED';
12
12
  function eventCliSession(nextConfig, event) {
13
13
  var _nextConfig_experimental, _nextConfig_experimental_staleTimes, _nextConfig_experimental_staleTimes1, _nextConfig_reactCompiler, _nextConfig_reactCompiler1;
14
14
  // This should be an invariant, if it fails our build tooling is broken.
15
- if (typeof "16.3.4" !== 'string') {
15
+ if (typeof "16.3.8" !== 'string') {
16
16
  return [];
17
17
  }
18
18
  const { images, i18n } = nextConfig || {};
19
19
  const payload = {
20
- nextVersion: "16.3.4",
20
+ nextVersion: "16.3.8",
21
21
  nodeVersion: process.version,
22
22
  cliCommand: event.cliCommand,
23
23
  isSrcDir: event.isSrcDir,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next",
3
- "version": "16.3.4",
3
+ "version": "16.3.8",
4
4
  "description": "The React Framework",
5
5
  "main": "./dist/server/next.js",
6
6
  "license": "MIT",
@@ -81,7 +81,7 @@
81
81
  "next": "./dist/bin/next"
82
82
  },
83
83
  "dependencies": {
84
- "@next/env": "16.3.4",
84
+ "@next/env": "16.3.8",
85
85
  "@swc/helpers": "0.5.23",
86
86
  "baseline-browser-mapping": "^2.9.19",
87
87
  "caniuse-lite": "^1.0.30001579",
@@ -112,14 +112,14 @@
112
112
  },
113
113
  "optionalDependencies": {
114
114
  "sharp": "^0.35.4",
115
- "@next/swc-darwin-arm64": "16.3.4",
116
- "@next/swc-darwin-x64": "16.3.4",
117
- "@next/swc-linux-arm64-gnu": "16.3.4",
118
- "@next/swc-linux-arm64-musl": "16.3.4",
119
- "@next/swc-linux-x64-gnu": "16.3.4",
120
- "@next/swc-linux-x64-musl": "16.3.4",
121
- "@next/swc-win32-arm64-msvc": "16.3.4",
122
- "@next/swc-win32-x64-msvc": "16.3.4"
115
+ "@next/swc-darwin-arm64": "16.3.8",
116
+ "@next/swc-darwin-x64": "16.3.8",
117
+ "@next/swc-linux-arm64-gnu": "16.3.8",
118
+ "@next/swc-linux-arm64-musl": "16.3.8",
119
+ "@next/swc-linux-x64-gnu": "16.3.8",
120
+ "@next/swc-linux-x64-musl": "16.3.8",
121
+ "@next/swc-win32-arm64-msvc": "16.3.8",
122
+ "@next/swc-win32-x64-msvc": "16.3.8"
123
123
  },
124
124
  "keywords": [
125
125
  "react",
package/app/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "krouter-app",
3
- "version": "0.5.159",
3
+ "version": "0.5.162",
4
4
  "description": "kRouter (Kodelyth Router) web dashboard — Kodelyth AI Infrastructure",
5
5
  "private": true,
6
6
  "scripts": {
@@ -14,7 +14,9 @@
14
14
  "start:bun": "bun ./custom-server.js",
15
15
  "cli:pack": "npm --prefix cli run pack:cli",
16
16
  "cli:publish": "npm --prefix cli run publish:cli",
17
- "dev:preview": "NODE_OPTIONS='--require ./server-peer-patch.js' next dev --webpack --port 20129"
17
+ "dev:preview": "NODE_OPTIONS='--require ./server-peer-patch.js' next dev --webpack --port 20129",
18
+ "test": "vitest run",
19
+ "test:watch": "vitest"
18
20
  },
19
21
  "dependencies": {
20
22
  "@dnd-kit/core": "^6.3.1",
@@ -26,13 +28,12 @@
26
28
  "bcryptjs": "^3.0.3",
27
29
  "confbox": "^0.2.4",
28
30
  "fs": "^0.0.1-security",
29
- "http-proxy-middleware": "^3.0.5",
30
31
  "jose": "^6.1.3",
31
32
  "js-yaml": "^5.3.0",
32
33
  "marked": "^18.0.1",
33
34
  "material-symbols": "^0.44.6",
34
35
  "monaco-editor": "^0.53.0",
35
- "next": "^16.3.4",
36
+ "next": "^16.3.8",
36
37
  "node-forge": "^1.3.3",
37
38
  "node-machine-id": "^1.1.12",
38
39
  "open": "^11.0.0",
package/app/server.js CHANGED
@@ -9,7 +9,7 @@ const currentPort = parseInt(process.env.PORT, 10) || 3000
9
9
  const hostname = process.env.HOSTNAME || '0.0.0.0'
10
10
 
11
11
  let keepAliveTimeout = parseInt(process.env.KEEP_ALIVE_TIMEOUT, 10)
12
- const nextConfig = {"env":{},"typescript":{"ignoreBuildErrors":false},"typedRoutes":false,"distDir":"./.next-cli-build","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.mjs","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"instrumentationClientInject":[],"poweredByHeader":true,"compress":true,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":14400,"formats":["image/webp"],"maximumRedirects":3,"maximumResponseBody":50000000,"dangerouslyAllowLocalIP":false,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","localPatterns":[{"pathname":"**","search":""}],"remotePatterns":[],"qualities":[75],"unoptimized":true,"customCacheHandler":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{"serverFunctions":true,"browserToTerminal":"warn"},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"/Users/shofiqulislam","enablePrerenderSourceMaps":true,"cacheComponents":false,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":31536000}},"cacheHandlers":{},"experimental":{"appNewScrollHandler":true,"coldCacheBadge":false,"devValidationWorker":true,"useSkewCookie":false,"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"prerenderEarlyExit":true,"serverMinification":true,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"cachedNavigations":false,"dynamicOnHover":false,"useOffline":false,"varyParams":true,"optimisticRouting":true,"instrumentationClientRouterTransitionEvents":false,"prefetchInlining":{"maxSize":2048,"maxBundleSize":10240},"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","proxyPrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":10,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptOperationCache":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"devMemoryThresholdRestart":true,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"requestInsights":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":false,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"strictRouteTypes":false,"useTypeScriptCli":true,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":true,"staleTimes":{"dynamic":0,"static":300},"reactDebugChannel":true,"serverComponentsHmrCache":true,"serverComponentsHmrCancellation":false,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"transitionIndicator":false,"gestureTransition":false,"inlineCss":false,"useCache":false,"globalNotFound":false,"browserDebugInfoInTerminal":"warn","lockDistDir":true,"proxyClientMaxBodySize":134217728,"hideLogsAfterAbort":false,"mcpServer":true,"turbopackFileSystemCacheForDev":true,"turbopackFileSystemCacheForBuild":true,"turbopackInferModuleSideEffects":true,"turbopackPluginRuntimeStrategy":"childProcesses","optimizePackageImports":["@xyflow/react","@dnd-kit/core","@dnd-kit/sortable","material-symbols","marked","lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"turbopackMemoryEvictionMode":"auto","useCacheTimeout":54,"instantInsights":{"validationLevel":"warning"},"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":false,"configFileName":"next.config.mjs","serverExternalPackages":["better-sqlite3","sql.js","node:sqlite","bun:sqlite","open"],"turbopack":{"root":"/Users/shofiqulislam"},"repoRoot":"/Users/shofiqulislam/9router-master","distDirRoot":".next-cli-build","supportsImmutableAssets":false,"_originalRewrites":{"beforeFiles":[],"afterFiles":[{"source":"/v1/v1/:path*","destination":"/api/v1/:path*"},{"source":"/v1/v1","destination":"/api/v1"},{"source":"/codex/:path*","destination":"/api/v1/responses"},{"source":"/v1/:path*","destination":"/api/v1/:path*"},{"source":"/v1","destination":"/api/v1"}],"fallback":[]}}
12
+ const nextConfig = {"env":{},"typescript":{"ignoreBuildErrors":false},"typedRoutes":false,"distDir":"./.next-cli-build","cleanDistDir":true,"assetPrefix":"","cacheMaxMemorySize":52428800,"configOrigin":"next.config.mjs","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"instrumentationClientInject":[],"poweredByHeader":true,"compress":true,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","loaderFile":"","domains":[],"disableStaticImages":false,"minimumCacheTTL":14400,"formats":["image/webp"],"maximumRedirects":3,"maximumResponseBody":50000000,"dangerouslyAllowLocalIP":false,"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","contentDispositionType":"attachment","localPatterns":[{"pathname":"**","search":""}],"remotePatterns":[],"qualities":[75],"unoptimized":true,"customCacheHandler":false},"devIndicators":{"position":"bottom-left"},"onDemandEntries":{"maxInactiveAge":60000,"pagesBufferLength":5},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"excludeDefaultMomentLocales":true,"reactProductionProfiling":false,"reactStrictMode":null,"reactMaxHeadersLength":6000,"httpAgentOptions":{"keepAlive":true},"logging":{"serverFunctions":true,"browserToTerminal":"warn"},"compiler":{},"expireTime":31536000,"staticPageGenerationTimeout":60,"output":"standalone","modularizeImports":{"@mui/icons-material":{"transform":"@mui/icons-material/{{member}}"},"lodash":{"transform":"lodash/{{member}}"}},"outputFileTracingRoot":"/home/runner/work/krouter","enablePrerenderSourceMaps":true,"cacheComponents":false,"cacheLife":{"default":{"stale":300,"revalidate":900,"expire":4294967294},"seconds":{"stale":30,"revalidate":1,"expire":60},"minutes":{"stale":300,"revalidate":60,"expire":3600},"hours":{"stale":300,"revalidate":3600,"expire":86400},"days":{"stale":300,"revalidate":86400,"expire":604800},"weeks":{"stale":300,"revalidate":604800,"expire":2592000},"max":{"stale":300,"revalidate":2592000,"expire":31536000}},"cacheHandlers":{},"experimental":{"appNewScrollHandler":true,"coldCacheBadge":false,"devValidationWorker":true,"useSkewCookie":false,"cssChunking":true,"multiZoneDraftMode":false,"appNavFailHandling":false,"prerenderEarlyExit":true,"serverMinification":true,"linkNoTouchStart":false,"caseSensitiveRoutes":false,"cachedNavigations":false,"dynamicOnHover":false,"useOffline":false,"varyParams":true,"optimisticRouting":true,"instrumentationClientRouterTransitionEvents":false,"prefetchInlining":{"maxSize":2048,"maxBundleSize":10240},"preloadEntriesOnStart":true,"clientRouterFilter":true,"clientRouterFilterRedirects":false,"fetchCacheKeyPrefix":"","proxyPrefetch":"flexible","optimisticClientCache":true,"manualClientBasePath":false,"cpus":3,"memoryBasedWorkersCount":false,"imgOptConcurrency":null,"imgOptOperationCache":null,"imgOptTimeoutInSeconds":7,"imgOptMaxInputPixels":268402689,"imgOptSequentialRead":null,"isrFlushToDisk":true,"workerThreads":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"devMemoryThresholdRestart":true,"disableOptimizedLoading":false,"gzipSize":true,"craCompat":false,"esmExternals":true,"fullySpecified":false,"swcTraceProfiling":false,"forceSwcTransforms":false,"requestInsights":false,"largePageDataBytes":128000,"typedEnv":false,"parallelServerCompiles":false,"parallelServerBuildTraces":false,"ppr":false,"authInterrupts":false,"webpackMemoryOptimizations":false,"optimizeServerReact":true,"strictRouteTypes":false,"useTypeScriptCli":true,"removeUncaughtErrorAndRejectionListeners":false,"validateRSCRequestHeaders":true,"staleTimes":{"dynamic":0,"static":300},"reactDebugChannel":true,"serverComponentsHmrCache":true,"serverComponentsHmrCancellation":false,"staticGenerationMaxConcurrency":8,"staticGenerationMinPagesPerWorker":25,"transitionIndicator":false,"gestureTransition":false,"inlineCss":false,"useCache":false,"globalNotFound":false,"browserDebugInfoInTerminal":"warn","lockDistDir":true,"proxyClientMaxBodySize":134217728,"hideLogsAfterAbort":false,"mcpServer":true,"turbopackFileSystemCacheForDev":true,"turbopackFileSystemCacheForBuild":true,"turbopackInferModuleSideEffects":true,"turbopackPluginRuntimeStrategy":"childProcesses","optimizePackageImports":["@xyflow/react","@dnd-kit/core","@dnd-kit/sortable","material-symbols","marked","lucide-react","date-fns","lodash-es","ramda","antd","react-bootstrap","ahooks","@ant-design/icons","@headlessui/react","@headlessui-float/react","@heroicons/react/20/solid","@heroicons/react/24/solid","@heroicons/react/24/outline","@visx/visx","@tremor/react","rxjs","@mui/material","@mui/icons-material","recharts","react-use","effect","@effect/schema","@effect/platform","@effect/platform-node","@effect/platform-browser","@effect/platform-bun","@effect/sql","@effect/sql-mssql","@effect/sql-mysql2","@effect/sql-pg","@effect/sql-sqlite-node","@effect/sql-sqlite-bun","@effect/sql-sqlite-wasm","@effect/sql-sqlite-react-native","@effect/rpc","@effect/rpc-http","@effect/typeclass","@effect/experimental","@effect/opentelemetry","@material-ui/core","@material-ui/icons","@tabler/icons-react","mui-core","react-icons/ai","react-icons/bi","react-icons/bs","react-icons/cg","react-icons/ci","react-icons/di","react-icons/fa","react-icons/fa6","react-icons/fc","react-icons/fi","react-icons/gi","react-icons/go","react-icons/gr","react-icons/hi","react-icons/hi2","react-icons/im","react-icons/io","react-icons/io5","react-icons/lia","react-icons/lib","react-icons/lu","react-icons/md","react-icons/pi","react-icons/ri","react-icons/rx","react-icons/si","react-icons/sl","react-icons/tb","react-icons/tfi","react-icons/ti","react-icons/vsc","react-icons/wi"],"turbopackMemoryEvictionMode":"auto","useCacheTimeout":54,"instantInsights":{"validationLevel":"warning"},"trustHostHeader":false,"isExperimentalCompile":false},"htmlLimitedBots":"[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight","bundlePagesRouterDependencies":false,"configFileName":"next.config.mjs","serverExternalPackages":["better-sqlite3","sql.js","node:sqlite","bun:sqlite","open"],"turbopack":{"root":"/home/runner/work/krouter"},"repoRoot":"/home/runner/work/krouter/krouter","distDirRoot":".next-cli-build","supportsImmutableAssets":false,"_originalRewrites":{"beforeFiles":[],"afterFiles":[{"source":"/v1/v1/:path*","destination":"/api/v1/:path*"},{"source":"/v1/v1","destination":"/api/v1"},{"source":"/codex/:path*","destination":"/api/v1/responses"},{"source":"/v1/:path*","destination":"/api/v1/:path*"},{"source":"/v1","destination":"/api/v1"}],"fallback":[]}}
13
13
 
14
14
  process.env.__NEXT_PRIVATE_STANDALONE_CONFIG = JSON.stringify(nextConfig)
15
15
 
package/cli.js CHANGED
@@ -64,6 +64,21 @@ const RUNTIME_FREE_ARGS = new Set(["--version", "-v", "--help", "-h"]);
64
64
  const skipRuntimeHeal =
65
65
  process.env.KROUTER_SKIP_RUNTIME_HEAL === "1" ||
66
66
  process.env.KROUTER_SKIP_RUNTIME_HEAL === "true";
67
+ // Next.js 16, which the bundled dashboard runs on, requires Node 20.9 or newer.
68
+ // engines.node says so, but npm only WARNS on an engines mismatch unless the user
69
+ // has engine-strict set -- so on Node 18 the install succeeded and the server then
70
+ // failed to start with an error that never mentioned the Node version at all.
71
+ // --version and --help stay available so the mismatch can still be diagnosed.
72
+ const MIN_NODE = [20, 9];
73
+ if (!args.some((a) => RUNTIME_FREE_ARGS.has(a))) {
74
+ const [major, minor] = process.versions.node.split(".").map(Number);
75
+ if (major < MIN_NODE[0] || (major === MIN_NODE[0] && minor < MIN_NODE[1])) {
76
+ console.error(`\n✗ kRouter needs Node.js ${MIN_NODE.join(".")} or newer — this is ${process.versions.node}.`);
77
+ console.error(" Upgrade Node from https://nodejs.org and run kRouter again.\n");
78
+ process.exit(1);
79
+ }
80
+ }
81
+
67
82
  if (!skipRuntimeHeal && !args.some((a) => RUNTIME_FREE_ARGS.has(a))) {
68
83
  try { ensureSqliteRuntime({ silent: true }); } catch {}
69
84
  // Self-heal tray runtime (systray for macOS/Linux only). Windows skipped.
@@ -80,6 +95,11 @@ try {
80
95
 
81
96
  // Configuration constants
82
97
  const APP_NAME = pkg.name; // Use from package.json
98
+ // What a user actually types. APP_NAME is the npm package name, which is right
99
+ // for install commands and registry URLs but is not a runnable command -- --help
100
+ // used to print `Usage: @sifxprime/krouter`, telling people to run something that
101
+ // does not exist. cli/package.json "bin" is the source of truth for this.
102
+ const BIN_NAME = Object.keys(pkg.bin || {})[0] || "krouter";
83
103
  const INSTALL_CMD_LATEST = `npm i -g ${APP_NAME}@latest --prefer-online`;
84
104
 
85
105
  const DEFAULT_PORT = 20128;
@@ -147,6 +167,10 @@ for (let i = 0; i < args.length; i++) {
147
167
  }
148
168
  host = raw;
149
169
  } else if (arg === "--no-browser" || arg === "-n") {
170
+ // Accepted so existing scripts and autostart entries do not break, but it has
171
+ // never done anything: nothing opens a browser automatically (upstream 9router
172
+ // parses it and never reads it either). Dropped from --help so it stops
173
+ // promising behaviour that does not exist.
150
174
  noBrowser = true;
151
175
  } else if (arg === "--log" || arg === "-l") {
152
176
  showLog = true;
@@ -157,12 +181,11 @@ for (let i = 0; i < args.length; i++) {
157
181
  process.env.TRAY_MODE = "1";
158
182
  } else if (arg === "--help" || arg === "-h") {
159
183
  console.log(`
160
- Usage: ${APP_NAME} [options]
184
+ Usage: ${BIN_NAME} [options]
161
185
 
162
186
  Options:
163
187
  -p, --port <port> Port to run the server (default: ${DEFAULT_PORT})
164
188
  -H, --host <host> Host to bind (default: ${DEFAULT_HOST})
165
- -n, --no-browser Don't open browser automatically
166
189
  -l, --log Show server logs (default: hidden)
167
190
  -t, --tray Run in system tray mode (background)
168
191
  --skip-update Skip auto-update check
@@ -178,7 +201,7 @@ Options:
178
201
  // word: `krouter --prot 3000` or `krouter start` ran on the default port and
179
202
  // looked like it had worked.
180
203
  console.error(`Unknown option: ${args[i]}`);
181
- console.error(`Run \`${APP_NAME} --help\` to see the available options.`);
204
+ console.error(`Run \`${BIN_NAME} --help\` to see the available options.`);
182
205
  process.exit(2);
183
206
  }
184
207
  }
@@ -709,7 +732,7 @@ async function showInterfaceMenu(latestVersion) {
709
732
  menuItems.push(
710
733
  { label: "Web UI (Open in Browser)", icon: "🌐" },
711
734
  { label: "Terminal UI (Interactive CLI)", icon: "💻" },
712
- { label: "Hide to Tray (Background)", icon: "🔔" },
735
+ { label: "Hide to Tray + Start on Login", icon: "🔔" },
713
736
  { label: "Exit", icon: "🚪" }
714
737
  );
715
738
 
@@ -789,6 +812,14 @@ function startServer(latestVersion) {
789
812
  }
790
813
 
791
814
  let server = spawnServer();
815
+ // Attach crash handling HERE, immediately after the first spawn -- not at the end
816
+ // of startServer. It used to be the last statement, which tray mode (`krouter -t`,
817
+ // the mode the README recommends) never reaches: that branch returns early. So in
818
+ // tray mode a crashed server was never restarted, EADDRINUSE never recovered, the
819
+ // MITM crash-loop recovery inside tryRestart could not run, and the tray icon
820
+ // kept claiming the router was up. Registering listeners only touches `server`;
821
+ // their bodies run later, asynchronously, after every variable they read exists.
822
+ attachServerEvents();
792
823
 
793
824
  // Cleanup function - force kill server process
794
825
  let isCleaningUp = false;
@@ -914,11 +945,27 @@ function startServer(latestVersion) {
914
945
  const { clearScreen } = require("./src/cli/utils/display");
915
946
  clearScreen();
916
947
 
917
- // Enable auto startup on OS boot
948
+ // Also start kRouter on login. This used to happen silently: the menu said only
949
+ // "Hide to Tray (Background)", the call sat in an empty catch, and nothing was
950
+ // printed -- so choosing it quietly installed a persistent login item. It now
951
+ // says so, and how to undo it. Windows has no tray toggle for this, so the file
952
+ // to delete is printed there.
953
+ let startsOnLogin = false;
918
954
  try {
919
955
  const { enableAutoStart } = require("./src/cli/tray/autostart");
920
- enableAutoStart(__filename);
921
- } catch (e) { }
956
+ startsOnLogin = enableAutoStart(__filename) === true;
957
+ } catch (e) {
958
+ console.warn(`Could not set kRouter to start on login: ${e.message}`);
959
+ }
960
+ if (startsOnLogin) {
961
+ console.log("\n✓ kRouter will also start when you log in.");
962
+ if (process.platform === "win32") {
963
+ const vbs = path.join(process.env.APPDATA || "", "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "krouter.vbs");
964
+ console.log(` To stop that, delete: ${vbs}`);
965
+ } else {
966
+ console.log(' To stop that: tray icon -> "Auto-start Enabled".');
967
+ }
968
+ }
922
969
 
923
970
  if (process.platform === "darwin") {
924
971
  // macOS: keep current process alive — spawning a detached child puts
@@ -1076,6 +1123,4 @@ function startServer(latestVersion) {
1076
1123
  attachServerEvents();
1077
1124
  }, delay);
1078
1125
  }
1079
-
1080
- attachServerEvents();
1081
1126
  }