n9router 0.4.55 → 0.4.57

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 (497) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +16 -16
  3. package/app/.next/build-manifest.json +2 -2
  4. package/app/.next/prerender-manifest.json +3 -3
  5. package/app/.next/required-server-files.json +1 -3
  6. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  7. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  26. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  31. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  35. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  37. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  38. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  39. package/app/.next/server/app/(dashboard)/dashboard/page.js +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  41. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  42. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  43. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  44. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  45. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  47. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  49. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  50. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  54. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  55. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  56. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  57. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  58. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  59. package/app/.next/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  60. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  61. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  62. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  63. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  64. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  65. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  66. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  67. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  68. package/app/.next/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  69. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  70. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  71. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  72. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  73. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  74. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  75. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  76. package/app/.next/server/app/_global-error.html +1 -1
  77. package/app/.next/server/app/_global-error.rsc +1 -1
  78. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  79. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  80. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  81. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  82. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  83. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  84. package/app/.next/server/app/_not-found/page.js +1 -1
  85. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  86. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  87. package/app/.next/server/app/_not-found.html +1 -1
  88. package/app/.next/server/app/_not-found.rsc +3 -3
  89. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
  90. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  91. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
  92. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  93. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  94. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  95. package/app/.next/server/app/api/antigravity-tools/import/route.js +1 -1
  96. package/app/.next/server/app/api/antigravity-tools/import/route.js.nft.json +1 -1
  97. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js +1 -1
  98. package/app/.next/server/app/api/antigravity-tools/import-refresh-tokens/route.js.nft.json +1 -1
  99. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +5 -5
  100. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  101. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  102. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  103. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +1 -1
  104. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
  105. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  106. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  107. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  108. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  109. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  110. package/app/.next/server/app/api/cli-tools/devin-settings/route.js +2 -2
  111. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +1 -1
  112. package/app/.next/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  113. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  114. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  115. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  116. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  117. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  118. package/app/.next/server/app/api/internal/request-detail/route.js +1 -1
  119. package/app/.next/server/app/api/internal/request-detail/route.js.nft.json +1 -1
  120. package/app/.next/server/app/api/internal/usage/route.js +1 -1
  121. package/app/.next/server/app/api/internal/usage/route.js.nft.json +1 -1
  122. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js +1 -1
  123. package/app/.next/server/app/api/keys/[id]/reset-usage/route.js.nft.json +1 -1
  124. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  125. package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  126. package/app/.next/server/app/api/keys/[id]/usage/route.js +1 -1
  127. package/app/.next/server/app/api/keys/[id]/usage/route.js.nft.json +1 -1
  128. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  129. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  130. package/app/.next/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  131. package/app/.next/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  132. package/app/.next/server/app/api/oauth/codex/import-token/route.js +1 -1
  133. package/app/.next/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  134. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  135. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  136. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  137. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  138. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  139. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  140. package/app/.next/server/app/api/providers/client/route.js +1 -1
  141. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  142. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  143. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  144. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  145. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  146. package/app/.next/server/app/api/settings/route.js +1 -1
  147. package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
  148. package/app/.next/server/app/api/translator/send/route.js +1 -1
  149. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  150. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  151. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  152. package/app/.next/server/app/api/tunnel/disable/route.js +1 -1
  153. package/app/.next/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  154. package/app/.next/server/app/api/tunnel/enable/route.js +1 -1
  155. package/app/.next/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  156. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  157. package/app/.next/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  158. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  159. package/app/.next/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  160. package/app/.next/server/app/api/tunnel/tailscale-install/route.js +2 -2
  161. package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  162. package/app/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  163. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  164. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  165. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  166. package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
  167. package/app/.next/server/app/api/usage/history/route.js +1 -1
  168. package/app/.next/server/app/api/usage/history/route.js.nft.json +1 -1
  169. package/app/.next/server/app/api/usage/logs/route.js +1 -1
  170. package/app/.next/server/app/api/usage/logs/route.js.nft.json +1 -1
  171. package/app/.next/server/app/api/usage/report/route.js +1 -1
  172. package/app/.next/server/app/api/usage/report/route.js.nft.json +1 -1
  173. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  174. package/app/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
  175. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  176. package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  177. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  178. package/app/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
  179. package/app/.next/server/app/api/usage/stream/route.js +1 -1
  180. package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
  181. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  182. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  183. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  184. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  185. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  186. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  187. package/app/.next/server/app/api/v1/images/generations/route.js +1 -1
  188. package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  189. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  190. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  191. package/app/.next/server/app/api/v1/models/[kind]/route.js +1 -1
  192. package/app/.next/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  193. package/app/.next/server/app/api/v1/models/route.js +1 -1
  194. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  195. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  196. package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  197. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  198. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  199. package/app/.next/server/app/api/v1/route.js +1 -1
  200. package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
  201. package/app/.next/server/app/api/v1/search/route.js +1 -1
  202. package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
  203. package/app/.next/server/app/api/v1/videos/[id]/route.js +1 -1
  204. package/app/.next/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  205. package/app/.next/server/app/api/v1/videos/edits/route.js +1 -1
  206. package/app/.next/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  207. package/app/.next/server/app/api/v1/videos/extensions/route.js +1 -1
  208. package/app/.next/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  209. package/app/.next/server/app/api/v1/videos/generations/route.js +1 -1
  210. package/app/.next/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  211. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  212. package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  213. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  214. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  215. package/app/.next/server/app/api/version/route.js +1 -1
  216. package/app/.next/server/app/callback/page.js +1 -1
  217. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  218. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  219. package/app/.next/server/app/callback.html +1 -1
  220. package/app/.next/server/app/callback.rsc +3 -3
  221. package/app/.next/server/app/callback.segments/_full.segment.rsc +3 -3
  222. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  223. package/app/.next/server/app/callback.segments/_index.segment.rsc +3 -3
  224. package/app/.next/server/app/callback.segments/_tree.segment.rsc +1 -1
  225. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  226. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  227. package/app/.next/server/app/dashboard/basic-chat.html +1 -1
  228. package/app/.next/server/app/dashboard/basic-chat.rsc +5 -5
  229. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  230. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  231. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  232. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  233. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
  234. package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  235. package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
  236. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  237. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  238. package/app/.next/server/app/dashboard/cli-tools.rsc +5 -5
  239. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  240. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  241. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  242. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  243. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
  244. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  245. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
  246. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  247. package/app/.next/server/app/dashboard/combos.html +1 -1
  248. package/app/.next/server/app/dashboard/combos.rsc +5 -5
  249. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  250. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  251. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  252. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  253. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
  254. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  255. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
  256. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  257. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  258. package/app/.next/server/app/dashboard/endpoint.rsc +5 -5
  259. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  260. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  261. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  262. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  263. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
  264. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  265. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
  266. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  267. package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
  268. package/app/.next/server/app/dashboard/media-providers/web.rsc +5 -5
  269. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  270. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  271. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  272. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  273. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  274. package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
  275. package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  276. package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
  277. package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  278. package/app/.next/server/app/dashboard/mitm.html +1 -1
  279. package/app/.next/server/app/dashboard/mitm.rsc +5 -5
  280. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  281. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  282. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  283. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  284. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
  285. package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  286. package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
  287. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  288. package/app/.next/server/app/dashboard/profile.html +1 -1
  289. package/app/.next/server/app/dashboard/profile.rsc +5 -5
  290. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  291. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  292. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  293. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  294. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
  295. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  296. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
  297. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  298. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  299. package/app/.next/server/app/dashboard/providers/new.rsc +5 -5
  300. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  301. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  302. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  303. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  304. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  305. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
  306. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  307. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
  308. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  309. package/app/.next/server/app/dashboard/providers.html +1 -1
  310. package/app/.next/server/app/dashboard/providers.rsc +5 -5
  311. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  312. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  313. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  314. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  315. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
  316. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  317. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
  318. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  319. package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
  320. package/app/.next/server/app/dashboard/proxy-pools.rsc +5 -5
  321. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  322. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  323. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  324. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  325. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
  326. package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  327. package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
  328. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  329. package/app/.next/server/app/dashboard/pxpipe.html +1 -1
  330. package/app/.next/server/app/dashboard/pxpipe.rsc +5 -5
  331. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  332. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  333. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  334. package/app/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  335. package/app/.next/server/app/dashboard/pxpipe.segments/_full.segment.rsc +5 -5
  336. package/app/.next/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  337. package/app/.next/server/app/dashboard/pxpipe.segments/_index.segment.rsc +3 -3
  338. package/app/.next/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  339. package/app/.next/server/app/dashboard/quota.html +2 -2
  340. package/app/.next/server/app/dashboard/quota.rsc +6 -6
  341. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  342. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  343. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  344. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  345. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
  346. package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  347. package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
  348. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  349. package/app/.next/server/app/dashboard/settings/pricing/page.js +1 -1
  350. package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  351. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  352. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  353. package/app/.next/server/app/dashboard/settings/pricing.rsc +3 -3
  354. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  355. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  356. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
  357. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  358. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  359. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  360. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  361. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  362. package/app/.next/server/app/dashboard/skills.html +1 -1
  363. package/app/.next/server/app/dashboard/skills.rsc +5 -5
  364. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  365. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  366. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  367. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  368. package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +5 -5
  369. package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  370. package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +3 -3
  371. package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  372. package/app/.next/server/app/dashboard/token-saver.html +1 -1
  373. package/app/.next/server/app/dashboard/token-saver.rsc +5 -5
  374. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  375. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  376. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  377. package/app/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  378. package/app/.next/server/app/dashboard/token-saver.segments/_full.segment.rsc +5 -5
  379. package/app/.next/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  380. package/app/.next/server/app/dashboard/token-saver.segments/_index.segment.rsc +3 -3
  381. package/app/.next/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  382. package/app/.next/server/app/dashboard/translator.html +1 -1
  383. package/app/.next/server/app/dashboard/translator.rsc +5 -5
  384. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  385. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  386. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  387. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  388. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
  389. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  390. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
  391. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  392. package/app/.next/server/app/dashboard/usage.html +1 -1
  393. package/app/.next/server/app/dashboard/usage.rsc +5 -5
  394. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  395. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  396. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  397. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  398. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
  399. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  400. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
  401. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  402. package/app/.next/server/app/dashboard.html +1 -1
  403. package/app/.next/server/app/dashboard.rsc +5 -5
  404. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  405. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  406. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  407. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +5 -5
  408. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
  409. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +3 -3
  410. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  411. package/app/.next/server/app/index.html +1 -1
  412. package/app/.next/server/app/index.rsc +3 -3
  413. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  414. package/app/.next/server/app/index.segments/_full.segment.rsc +3 -3
  415. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  416. package/app/.next/server/app/index.segments/_index.segment.rsc +3 -3
  417. package/app/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  418. package/app/.next/server/app/landing/page.js +1 -1
  419. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  420. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  421. package/app/.next/server/app/landing.html +1 -1
  422. package/app/.next/server/app/landing.rsc +3 -3
  423. package/app/.next/server/app/landing.segments/_full.segment.rsc +3 -3
  424. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  425. package/app/.next/server/app/landing.segments/_index.segment.rsc +3 -3
  426. package/app/.next/server/app/landing.segments/_tree.segment.rsc +1 -1
  427. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  428. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  429. package/app/.next/server/app/login/page.js +1 -1
  430. package/app/.next/server/app/login/page.js.nft.json +1 -1
  431. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  432. package/app/.next/server/app/login.html +1 -1
  433. package/app/.next/server/app/login.rsc +4 -4
  434. package/app/.next/server/app/login.segments/_full.segment.rsc +4 -4
  435. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  436. package/app/.next/server/app/login.segments/_index.segment.rsc +3 -3
  437. package/app/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  438. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  439. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  440. package/app/.next/server/app/page.js +1 -1
  441. package/app/.next/server/app/page.js.nft.json +1 -1
  442. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  443. package/app/.next/server/app-paths-manifest.json +16 -16
  444. package/app/.next/server/chunks/112.js +1 -1
  445. package/app/.next/server/chunks/1470.js +1 -1
  446. package/app/.next/server/chunks/3481.js +1 -1
  447. package/app/.next/server/chunks/3913.js +1 -1
  448. package/app/.next/server/chunks/4037.js +1 -1
  449. package/app/.next/server/chunks/412.js +1 -1
  450. package/app/.next/server/chunks/4334.js +2 -2
  451. package/app/.next/server/chunks/4705.js +1 -1
  452. package/app/.next/server/chunks/4953.js +1 -1
  453. package/app/.next/server/chunks/5285.js +1 -1
  454. package/app/.next/server/chunks/6306.js +1 -1
  455. package/app/.next/server/chunks/6671.js +1 -1
  456. package/app/.next/server/chunks/6763.js +1 -1
  457. package/app/.next/server/chunks/7137.js +1 -1
  458. package/app/.next/server/chunks/7211.js +1 -1
  459. package/app/.next/server/chunks/8145.js +1 -1
  460. package/app/.next/server/chunks/8301.js +1 -1
  461. package/app/.next/server/chunks/8499.js +1 -1
  462. package/app/.next/server/chunks/869.js +1 -1
  463. package/app/.next/server/chunks/8895.js +1 -1
  464. package/app/.next/server/chunks/8920.js +1 -1
  465. package/app/.next/server/middleware-build-manifest.js +1 -1
  466. package/app/.next/server/pages/404.html +1 -1
  467. package/app/.next/server/pages/500.html +1 -1
  468. package/app/.next/server/server-reference-manifest.js +1 -1
  469. package/app/.next/server/server-reference-manifest.json +1 -1
  470. package/app/.next/static/chunks/1321-13f12c43bc4c573f.js +1 -0
  471. package/app/.next/static/chunks/3277-5ccea691719301a1.js +64 -0
  472. package/app/.next/static/chunks/{4028-9d0d68c835868df5.js → 4028-85ab0e23e6b475d3.js} +7 -7
  473. package/app/.next/static/chunks/5497-b32d50ab4f6874e1.js +7 -0
  474. package/app/.next/static/chunks/{8198-bf66ab4ae1cda8e0.js → 8198-8a92496ac8c02cb7.js} +1 -1
  475. package/app/open-sse/providers/capabilities.js +16 -0
  476. package/app/open-sse/providers/pricing.js +4 -0
  477. package/app/open-sse/providers/registry/antigravity.js +3 -0
  478. package/app/open-sse/providers/registry/commandcode.js +7 -0
  479. package/app/open-sse/providers/registry/gemini.js +1 -0
  480. package/app/open-sse/services/usage/google.js +34 -1
  481. package/app/open-sse/translator/concerns/prefetch.js +3 -0
  482. package/app/open-sse/translator/request/openai-to-commandcode.js +36 -1
  483. package/app/package.json +4 -2
  484. package/app/server.js +1 -1
  485. package/app/src/mitm/config.js +5 -2
  486. package/app/src/shared/constants/cliTools.js +4 -1
  487. package/hooks/postinstall.js +9 -182
  488. package/package.json +1 -1
  489. package/app/.next/static/chunks/1321-99f0141dbac9848a.js +0 -1
  490. package/app/.next/static/chunks/3277-443e21d6166585f4.js +0 -64
  491. package/app/.next/static/chunks/5497-017258c3c16b719e.js +0 -7
  492. package/app/node_modules/bindings/bindings.js +0 -221
  493. package/app/node_modules/bindings/package.json +0 -28
  494. package/app/node_modules/file-uri-to-path/index.js +0 -66
  495. package/app/node_modules/file-uri-to-path/package.json +0 -32
  496. /package/app/.next/static/{flxITMsAmoXf-wWjPORMD → KyRBZmQI6kYmOhE879dai}/_buildManifest.js +0 -0
  497. /package/app/.next/static/{flxITMsAmoXf-wWjPORMD → KyRBZmQI6kYmOhE879dai}/_ssgManifest.js +0 -0
@@ -1,221 +0,0 @@
1
- /**
2
- * Module dependencies.
3
- */
4
-
5
- var fs = require('fs'),
6
- path = require('path'),
7
- fileURLToPath = require('file-uri-to-path'),
8
- join = path.join,
9
- dirname = path.dirname,
10
- exists =
11
- (fs.accessSync &&
12
- function(path) {
13
- try {
14
- fs.accessSync(path);
15
- } catch (e) {
16
- return false;
17
- }
18
- return true;
19
- }) ||
20
- fs.existsSync ||
21
- path.existsSync,
22
- defaults = {
23
- arrow: process.env.NODE_BINDINGS_ARROW || ' → ',
24
- compiled: process.env.NODE_BINDINGS_COMPILED_DIR || 'compiled',
25
- platform: process.platform,
26
- arch: process.arch,
27
- nodePreGyp:
28
- 'node-v' +
29
- process.versions.modules +
30
- '-' +
31
- process.platform +
32
- '-' +
33
- process.arch,
34
- version: process.versions.node,
35
- bindings: 'bindings.node',
36
- try: [
37
- // node-gyp's linked version in the "build" dir
38
- ['module_root', 'build', 'bindings'],
39
- // node-waf and gyp_addon (a.k.a node-gyp)
40
- ['module_root', 'build', 'Debug', 'bindings'],
41
- ['module_root', 'build', 'Release', 'bindings'],
42
- // Debug files, for development (legacy behavior, remove for node v0.9)
43
- ['module_root', 'out', 'Debug', 'bindings'],
44
- ['module_root', 'Debug', 'bindings'],
45
- // Release files, but manually compiled (legacy behavior, remove for node v0.9)
46
- ['module_root', 'out', 'Release', 'bindings'],
47
- ['module_root', 'Release', 'bindings'],
48
- // Legacy from node-waf, node <= 0.4.x
49
- ['module_root', 'build', 'default', 'bindings'],
50
- // Production "Release" buildtype binary (meh...)
51
- ['module_root', 'compiled', 'version', 'platform', 'arch', 'bindings'],
52
- // node-qbs builds
53
- ['module_root', 'addon-build', 'release', 'install-root', 'bindings'],
54
- ['module_root', 'addon-build', 'debug', 'install-root', 'bindings'],
55
- ['module_root', 'addon-build', 'default', 'install-root', 'bindings'],
56
- // node-pre-gyp path ./lib/binding/{node_abi}-{platform}-{arch}
57
- ['module_root', 'lib', 'binding', 'nodePreGyp', 'bindings']
58
- ]
59
- };
60
-
61
- /**
62
- * The main `bindings()` function loads the compiled bindings for a given module.
63
- * It uses V8's Error API to determine the parent filename that this function is
64
- * being invoked from, which is then used to find the root directory.
65
- */
66
-
67
- function bindings(opts) {
68
- // Argument surgery
69
- if (typeof opts == 'string') {
70
- opts = { bindings: opts };
71
- } else if (!opts) {
72
- opts = {};
73
- }
74
-
75
- // maps `defaults` onto `opts` object
76
- Object.keys(defaults).map(function(i) {
77
- if (!(i in opts)) opts[i] = defaults[i];
78
- });
79
-
80
- // Get the module root
81
- if (!opts.module_root) {
82
- opts.module_root = exports.getRoot(exports.getFileName());
83
- }
84
-
85
- // Ensure the given bindings name ends with .node
86
- if (path.extname(opts.bindings) != '.node') {
87
- opts.bindings += '.node';
88
- }
89
-
90
- // https://github.com/webpack/webpack/issues/4175#issuecomment-342931035
91
- var requireFunc =
92
- typeof __webpack_require__ === 'function'
93
- ? __non_webpack_require__
94
- : require;
95
-
96
- var tries = [],
97
- i = 0,
98
- l = opts.try.length,
99
- n,
100
- b,
101
- err;
102
-
103
- for (; i < l; i++) {
104
- n = join.apply(
105
- null,
106
- opts.try[i].map(function(p) {
107
- return opts[p] || p;
108
- })
109
- );
110
- tries.push(n);
111
- try {
112
- b = opts.path ? requireFunc.resolve(n) : requireFunc(n);
113
- if (!opts.path) {
114
- b.path = n;
115
- }
116
- return b;
117
- } catch (e) {
118
- if (e.code !== 'MODULE_NOT_FOUND' &&
119
- e.code !== 'QUALIFIED_PATH_RESOLUTION_FAILED' &&
120
- !/not find/i.test(e.message)) {
121
- throw e;
122
- }
123
- }
124
- }
125
-
126
- err = new Error(
127
- 'Could not locate the bindings file. Tried:\n' +
128
- tries
129
- .map(function(a) {
130
- return opts.arrow + a;
131
- })
132
- .join('\n')
133
- );
134
- err.tries = tries;
135
- throw err;
136
- }
137
- module.exports = exports = bindings;
138
-
139
- /**
140
- * Gets the filename of the JavaScript file that invokes this function.
141
- * Used to help find the root directory of a module.
142
- * Optionally accepts an filename argument to skip when searching for the invoking filename
143
- */
144
-
145
- exports.getFileName = function getFileName(calling_file) {
146
- var origPST = Error.prepareStackTrace,
147
- origSTL = Error.stackTraceLimit,
148
- dummy = {},
149
- fileName;
150
-
151
- Error.stackTraceLimit = 10;
152
-
153
- Error.prepareStackTrace = function(e, st) {
154
- for (var i = 0, l = st.length; i < l; i++) {
155
- fileName = st[i].getFileName();
156
- if (fileName !== __filename) {
157
- if (calling_file) {
158
- if (fileName !== calling_file) {
159
- return;
160
- }
161
- } else {
162
- return;
163
- }
164
- }
165
- }
166
- };
167
-
168
- // run the 'prepareStackTrace' function above
169
- Error.captureStackTrace(dummy);
170
- dummy.stack;
171
-
172
- // cleanup
173
- Error.prepareStackTrace = origPST;
174
- Error.stackTraceLimit = origSTL;
175
-
176
- // handle filename that starts with "file://"
177
- var fileSchema = 'file://';
178
- if (fileName.indexOf(fileSchema) === 0) {
179
- fileName = fileURLToPath(fileName);
180
- }
181
-
182
- return fileName;
183
- };
184
-
185
- /**
186
- * Gets the root directory of a module, given an arbitrary filename
187
- * somewhere in the module tree. The "root directory" is the directory
188
- * containing the `package.json` file.
189
- *
190
- * In: /home/nate/node-native-module/lib/index.js
191
- * Out: /home/nate/node-native-module
192
- */
193
-
194
- exports.getRoot = function getRoot(file) {
195
- var dir = dirname(file),
196
- prev;
197
- while (true) {
198
- if (dir === '.') {
199
- // Avoids an infinite loop in rare cases, like the REPL
200
- dir = process.cwd();
201
- }
202
- if (
203
- exists(join(dir, 'package.json')) ||
204
- exists(join(dir, 'node_modules'))
205
- ) {
206
- // Found the 'package.json' file or 'node_modules' dir; we're done
207
- return dir;
208
- }
209
- if (prev === dir) {
210
- // Got to the top
211
- throw new Error(
212
- 'Could not find module root given file: "' +
213
- file +
214
- '". Do you have a `package.json` file? '
215
- );
216
- }
217
- // Try the parent dir next
218
- prev = dir;
219
- dir = join(dir, '..');
220
- }
221
- };
@@ -1,28 +0,0 @@
1
- {
2
- "name": "bindings",
3
- "description": "Helper module for loading your native module's .node file",
4
- "keywords": [
5
- "native",
6
- "addon",
7
- "bindings",
8
- "gyp",
9
- "waf",
10
- "c",
11
- "c++"
12
- ],
13
- "version": "1.5.0",
14
- "author": "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)",
15
- "repository": {
16
- "type": "git",
17
- "url": "git://github.com/TooTallNate/node-bindings.git"
18
- },
19
- "main": "./bindings.js",
20
- "bugs": {
21
- "url": "https://github.com/TooTallNate/node-bindings/issues"
22
- },
23
- "homepage": "https://github.com/TooTallNate/node-bindings",
24
- "license": "MIT",
25
- "dependencies": {
26
- "file-uri-to-path": "1.0.0"
27
- }
28
- }
@@ -1,66 +0,0 @@
1
-
2
- /**
3
- * Module dependencies.
4
- */
5
-
6
- var sep = require('path').sep || '/';
7
-
8
- /**
9
- * Module exports.
10
- */
11
-
12
- module.exports = fileUriToPath;
13
-
14
- /**
15
- * File URI to Path function.
16
- *
17
- * @param {String} uri
18
- * @return {String} path
19
- * @api public
20
- */
21
-
22
- function fileUriToPath (uri) {
23
- if ('string' != typeof uri ||
24
- uri.length <= 7 ||
25
- 'file://' != uri.substring(0, 7)) {
26
- throw new TypeError('must pass in a file:// URI to convert to a file path');
27
- }
28
-
29
- var rest = decodeURI(uri.substring(7));
30
- var firstSlash = rest.indexOf('/');
31
- var host = rest.substring(0, firstSlash);
32
- var path = rest.substring(firstSlash + 1);
33
-
34
- // 2. Scheme Definition
35
- // As a special case, <host> can be the string "localhost" or the empty
36
- // string; this is interpreted as "the machine from which the URL is
37
- // being interpreted".
38
- if ('localhost' == host) host = '';
39
-
40
- if (host) {
41
- host = sep + sep + host;
42
- }
43
-
44
- // 3.2 Drives, drive letters, mount points, file system root
45
- // Drive letters are mapped into the top of a file URI in various ways,
46
- // depending on the implementation; some applications substitute
47
- // vertical bar ("|") for the colon after the drive letter, yielding
48
- // "file:///c|/tmp/test.txt". In some cases, the colon is left
49
- // unchanged, as in "file:///c:/tmp/test.txt". In other cases, the
50
- // colon is simply omitted, as in "file:///c/tmp/test.txt".
51
- path = path.replace(/^(.+)\|/, '$1:');
52
-
53
- // for Windows, we need to invert the path separators from what a URI uses
54
- if (sep == '\\') {
55
- path = path.replace(/\//g, '\\');
56
- }
57
-
58
- if (/^.+\:/.test(path)) {
59
- // has Windows drive at beginning of path
60
- } else {
61
- // unix path…
62
- path = sep + path;
63
- }
64
-
65
- return host + path;
66
- }
@@ -1,32 +0,0 @@
1
- {
2
- "name": "file-uri-to-path",
3
- "version": "1.0.0",
4
- "description": "Convert a file: URI to a file path",
5
- "main": "index.js",
6
- "types": "index.d.ts",
7
- "directories": {
8
- "test": "test"
9
- },
10
- "scripts": {
11
- "test": "mocha --reporter spec"
12
- },
13
- "repository": {
14
- "type": "git",
15
- "url": "git://github.com/TooTallNate/file-uri-to-path.git"
16
- },
17
- "keywords": [
18
- "file",
19
- "uri",
20
- "convert",
21
- "path"
22
- ],
23
- "author": "Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)",
24
- "license": "MIT",
25
- "bugs": {
26
- "url": "https://github.com/TooTallNate/file-uri-to-path/issues"
27
- },
28
- "homepage": "https://github.com/TooTallNate/file-uri-to-path",
29
- "devDependencies": {
30
- "mocha": "3"
31
- }
32
- }