@savecontext/dashboard 0.1.23 → 0.1.25

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 (325) hide show
  1. package/.next/standalone/dashboard/.next/BUILD_ID +1 -1
  2. package/.next/standalone/dashboard/.next/app-path-routes-manifest.json +30 -23
  3. package/.next/standalone/dashboard/.next/build-manifest.json +2 -2
  4. package/.next/standalone/dashboard/.next/routes-manifest.json +46 -0
  5. package/.next/standalone/dashboard/.next/server/app/_global-error/page.js +2 -2
  6. package/.next/standalone/dashboard/.next/server/app/_global-error/page.js.nft.json +1 -1
  7. package/.next/standalone/dashboard/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  8. package/.next/standalone/dashboard/.next/server/app/_global-error.html +2 -2
  9. package/.next/standalone/dashboard/.next/server/app/_global-error.rsc +1 -1
  10. package/.next/standalone/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  11. package/.next/standalone/dashboard/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  12. package/.next/standalone/dashboard/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  13. package/.next/standalone/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  14. package/.next/standalone/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  15. package/.next/standalone/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  16. package/.next/standalone/dashboard/.next/server/app/_not-found/page.js +2 -2
  17. package/.next/standalone/dashboard/.next/server/app/_not-found/page.js.nft.json +1 -1
  18. package/.next/standalone/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  19. package/.next/standalone/dashboard/.next/server/app/_not-found.html +2 -2
  20. package/.next/standalone/dashboard/.next/server/app/_not-found.rsc +2 -2
  21. package/.next/standalone/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  22. package/.next/standalone/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  23. package/.next/standalone/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  24. package/.next/standalone/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  25. package/.next/standalone/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  26. package/.next/standalone/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  27. package/.next/standalone/dashboard/.next/server/app/api/checkpoints/[id]/items/route.js +1 -1
  28. package/.next/standalone/dashboard/.next/server/app/api/checkpoints/[id]/items/route.js.nft.json +1 -1
  29. package/.next/standalone/dashboard/.next/server/app/api/checkpoints/[id]/items/route_client-reference-manifest.js +1 -1
  30. package/.next/standalone/dashboard/.next/server/app/api/context/delete/route.js +8 -1
  31. package/.next/standalone/dashboard/.next/server/app/api/context/delete/route.js.nft.json +1 -1
  32. package/.next/standalone/dashboard/.next/server/app/api/context/delete/route_client-reference-manifest.js +1 -1
  33. package/.next/standalone/dashboard/.next/server/app/api/context/update/route.js +8 -1
  34. package/.next/standalone/dashboard/.next/server/app/api/context/update/route.js.nft.json +1 -1
  35. package/.next/standalone/dashboard/.next/server/app/api/context/update/route_client-reference-manifest.js +1 -1
  36. package/.next/standalone/dashboard/.next/server/app/api/events/route.js +14 -0
  37. package/.next/standalone/dashboard/.next/server/app/api/events/route.js.nft.json +1 -0
  38. package/.next/standalone/dashboard/.next/server/app/api/events/route_client-reference-manifest.js +1 -0
  39. package/.next/standalone/dashboard/.next/server/app/api/issues/[id]/route.js +1 -0
  40. package/.next/standalone/dashboard/.next/server/app/api/issues/[id]/route.js.nft.json +1 -0
  41. package/.next/standalone/dashboard/.next/server/app/api/issues/[id]/route_client-reference-manifest.js +1 -0
  42. package/.next/standalone/dashboard/.next/server/app/api/issues/clone/route.js +30 -0
  43. package/.next/standalone/dashboard/.next/server/app/api/issues/clone/route.js.nft.json +1 -0
  44. package/.next/standalone/dashboard/.next/server/app/api/issues/clone/route_client-reference-manifest.js +1 -0
  45. package/.next/standalone/dashboard/.next/server/app/api/issues/create/route.js +14 -7
  46. package/.next/standalone/dashboard/.next/server/app/api/issues/create/route.js.nft.json +1 -1
  47. package/.next/standalone/dashboard/.next/server/app/api/issues/create/route_client-reference-manifest.js +1 -1
  48. package/.next/standalone/dashboard/.next/server/app/api/issues/delete/route.js +9 -2
  49. package/.next/standalone/dashboard/.next/server/app/api/issues/delete/route.js.nft.json +1 -1
  50. package/.next/standalone/dashboard/.next/server/app/api/issues/delete/route_client-reference-manifest.js +1 -1
  51. package/.next/standalone/dashboard/.next/server/app/api/issues/labels/route.js +16 -0
  52. package/.next/standalone/dashboard/.next/server/app/api/issues/labels/route.js.nft.json +1 -0
  53. package/.next/standalone/dashboard/.next/server/app/api/issues/labels/route_client-reference-manifest.js +1 -0
  54. package/.next/standalone/dashboard/.next/server/app/api/issues/list/route.js +1 -1
  55. package/.next/standalone/dashboard/.next/server/app/api/issues/list/route.js.nft.json +1 -1
  56. package/.next/standalone/dashboard/.next/server/app/api/issues/list/route_client-reference-manifest.js +1 -1
  57. package/.next/standalone/dashboard/.next/server/app/api/issues/mark-duplicate/route.js +18 -0
  58. package/.next/standalone/dashboard/.next/server/app/api/issues/mark-duplicate/route.js.nft.json +1 -0
  59. package/.next/standalone/dashboard/.next/server/app/api/issues/mark-duplicate/route_client-reference-manifest.js +1 -0
  60. package/.next/standalone/dashboard/.next/server/app/api/issues/subtasks/route.js +9 -10
  61. package/.next/standalone/dashboard/.next/server/app/api/issues/subtasks/route.js.nft.json +1 -1
  62. package/.next/standalone/dashboard/.next/server/app/api/issues/subtasks/route_client-reference-manifest.js +1 -1
  63. package/.next/standalone/dashboard/.next/server/app/api/issues/update/route.js +10 -3
  64. package/.next/standalone/dashboard/.next/server/app/api/issues/update/route.js.nft.json +1 -1
  65. package/.next/standalone/dashboard/.next/server/app/api/issues/update/route_client-reference-manifest.js +1 -1
  66. package/.next/standalone/dashboard/.next/server/app/api/labels/list/route.js +1 -0
  67. package/.next/standalone/dashboard/.next/server/app/api/labels/list/route.js.nft.json +1 -0
  68. package/.next/standalone/dashboard/.next/server/app/api/labels/list/route_client-reference-manifest.js +1 -0
  69. package/.next/standalone/dashboard/.next/server/app/api/memory/delete/route.js +8 -1
  70. package/.next/standalone/dashboard/.next/server/app/api/memory/delete/route.js.nft.json +1 -1
  71. package/.next/standalone/dashboard/.next/server/app/api/memory/delete/route_client-reference-manifest.js +1 -1
  72. package/.next/standalone/dashboard/.next/server/app/api/memory/list/route.js +1 -1
  73. package/.next/standalone/dashboard/.next/server/app/api/memory/list/route.js.nft.json +1 -1
  74. package/.next/standalone/dashboard/.next/server/app/api/memory/list/route_client-reference-manifest.js +1 -1
  75. package/.next/standalone/dashboard/.next/server/app/api/memory/save/route.js +8 -1
  76. package/.next/standalone/dashboard/.next/server/app/api/memory/save/route.js.nft.json +1 -1
  77. package/.next/standalone/dashboard/.next/server/app/api/memory/save/route_client-reference-manifest.js +1 -1
  78. package/.next/standalone/dashboard/.next/server/app/api/plans/[id]/route.js +1 -1
  79. package/.next/standalone/dashboard/.next/server/app/api/plans/[id]/route.js.nft.json +1 -1
  80. package/.next/standalone/dashboard/.next/server/app/api/plans/[id]/route_client-reference-manifest.js +1 -1
  81. package/.next/standalone/dashboard/.next/server/app/api/plans/create/route.js +9 -2
  82. package/.next/standalone/dashboard/.next/server/app/api/plans/create/route.js.nft.json +1 -1
  83. package/.next/standalone/dashboard/.next/server/app/api/plans/create/route_client-reference-manifest.js +1 -1
  84. package/.next/standalone/dashboard/.next/server/app/api/plans/delete/route.js +8 -1
  85. package/.next/standalone/dashboard/.next/server/app/api/plans/delete/route.js.nft.json +1 -1
  86. package/.next/standalone/dashboard/.next/server/app/api/plans/delete/route_client-reference-manifest.js +1 -1
  87. package/.next/standalone/dashboard/.next/server/app/api/plans/list/route.js +1 -1
  88. package/.next/standalone/dashboard/.next/server/app/api/plans/list/route.js.nft.json +1 -1
  89. package/.next/standalone/dashboard/.next/server/app/api/plans/list/route_client-reference-manifest.js +1 -1
  90. package/.next/standalone/dashboard/.next/server/app/api/plans/update/route.js +9 -2
  91. package/.next/standalone/dashboard/.next/server/app/api/plans/update/route.js.nft.json +1 -1
  92. package/.next/standalone/dashboard/.next/server/app/api/plans/update/route_client-reference-manifest.js +1 -1
  93. package/.next/standalone/dashboard/.next/server/app/api/projects/[id]/route.js +1 -1
  94. package/.next/standalone/dashboard/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
  95. package/.next/standalone/dashboard/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +1 -1
  96. package/.next/standalone/dashboard/.next/server/app/api/projects/route.js +1 -1
  97. package/.next/standalone/dashboard/.next/server/app/api/projects/route.js.nft.json +1 -1
  98. package/.next/standalone/dashboard/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
  99. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/projects/route.js +1 -1
  100. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/projects/route.js.nft.json +1 -1
  101. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/projects/route_client-reference-manifest.js +1 -1
  102. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/route.js +8 -1
  103. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
  104. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/route_client-reference-manifest.js +1 -1
  105. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/stats/route.js +1 -1
  106. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/stats/route.js.nft.json +1 -1
  107. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/stats/route_client-reference-manifest.js +1 -1
  108. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/status/route.js +8 -1
  109. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/status/route.js.nft.json +1 -1
  110. package/.next/standalone/dashboard/.next/server/app/api/sessions/[id]/status/route_client-reference-manifest.js +1 -1
  111. package/.next/standalone/dashboard/.next/server/app/apple-icon.png/route.js +1 -1
  112. package/.next/standalone/dashboard/.next/server/app/apple-icon.png/route.js.nft.json +1 -1
  113. package/.next/standalone/dashboard/.next/server/app/dashboard/checkpoints/[id]/page.js +2 -2
  114. package/.next/standalone/dashboard/.next/server/app/dashboard/checkpoints/[id]/page.js.nft.json +1 -1
  115. package/.next/standalone/dashboard/.next/server/app/dashboard/checkpoints/[id]/page_client-reference-manifest.js +1 -1
  116. package/.next/standalone/dashboard/.next/server/app/dashboard/checkpoints/page.js +2 -2
  117. package/.next/standalone/dashboard/.next/server/app/dashboard/checkpoints/page.js.nft.json +1 -1
  118. package/.next/standalone/dashboard/.next/server/app/dashboard/checkpoints/page_client-reference-manifest.js +1 -1
  119. package/.next/standalone/dashboard/.next/server/app/dashboard/issues/[issueId]/page.js +2 -0
  120. package/.next/standalone/dashboard/.next/server/app/dashboard/issues/[issueId]/page.js.nft.json +1 -0
  121. package/.next/standalone/dashboard/.next/server/app/dashboard/issues/[issueId]/page_client-reference-manifest.js +1 -0
  122. package/.next/standalone/dashboard/.next/server/app/dashboard/issues/page.js +2 -2
  123. package/.next/standalone/dashboard/.next/server/app/dashboard/issues/page.js.nft.json +1 -1
  124. package/.next/standalone/dashboard/.next/server/app/dashboard/issues/page_client-reference-manifest.js +1 -1
  125. package/.next/standalone/dashboard/.next/server/app/dashboard/memory/page.js +2 -2
  126. package/.next/standalone/dashboard/.next/server/app/dashboard/memory/page.js.nft.json +1 -1
  127. package/.next/standalone/dashboard/.next/server/app/dashboard/memory/page_client-reference-manifest.js +1 -1
  128. package/.next/standalone/dashboard/.next/server/app/dashboard/page.js +2 -6
  129. package/.next/standalone/dashboard/.next/server/app/dashboard/page.js.nft.json +1 -1
  130. package/.next/standalone/dashboard/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
  131. package/.next/standalone/dashboard/.next/server/app/dashboard/plans/page.js +4 -4
  132. package/.next/standalone/dashboard/.next/server/app/dashboard/plans/page.js.nft.json +1 -1
  133. package/.next/standalone/dashboard/.next/server/app/dashboard/plans/page_client-reference-manifest.js +1 -1
  134. package/.next/standalone/dashboard/.next/server/app/dashboard/sessions/[id]/page.js +2 -2
  135. package/.next/standalone/dashboard/.next/server/app/dashboard/sessions/[id]/page.js.nft.json +1 -1
  136. package/.next/standalone/dashboard/.next/server/app/dashboard/sessions/[id]/page_client-reference-manifest.js +1 -1
  137. package/.next/standalone/dashboard/.next/server/app/dashboard/sessions/page.js +2 -2
  138. package/.next/standalone/dashboard/.next/server/app/dashboard/sessions/page.js.nft.json +1 -1
  139. package/.next/standalone/dashboard/.next/server/app/dashboard/sessions/page_client-reference-manifest.js +1 -1
  140. package/.next/standalone/dashboard/.next/server/app/favicon.ico/route.js +1 -1
  141. package/.next/standalone/dashboard/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  142. package/.next/standalone/dashboard/.next/server/app/icon.svg/route.js +1 -1
  143. package/.next/standalone/dashboard/.next/server/app/icon.svg/route.js.nft.json +1 -1
  144. package/.next/standalone/dashboard/.next/server/app/index.html +1 -1
  145. package/.next/standalone/dashboard/.next/server/app/index.rsc +2 -2
  146. package/.next/standalone/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  147. package/.next/standalone/dashboard/.next/server/app/index.segments/_full.segment.rsc +2 -2
  148. package/.next/standalone/dashboard/.next/server/app/index.segments/_head.segment.rsc +1 -1
  149. package/.next/standalone/dashboard/.next/server/app/index.segments/_index.segment.rsc +2 -2
  150. package/.next/standalone/dashboard/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  151. package/.next/standalone/dashboard/.next/server/app/page.js +2 -2
  152. package/.next/standalone/dashboard/.next/server/app/page.js.nft.json +1 -1
  153. package/.next/standalone/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
  154. package/.next/standalone/dashboard/.next/server/app-paths-manifest.json +30 -23
  155. package/.next/standalone/dashboard/.next/server/chunks/1285.js +1 -0
  156. package/.next/standalone/dashboard/.next/server/chunks/2165.js +1 -0
  157. package/.next/standalone/dashboard/.next/server/chunks/2484.js +22 -0
  158. package/.next/standalone/dashboard/.next/server/chunks/305.js +1 -0
  159. package/.next/standalone/dashboard/.next/server/chunks/3280.js +1 -0
  160. package/.next/standalone/dashboard/.next/server/chunks/3282.js +37 -0
  161. package/.next/standalone/dashboard/.next/server/chunks/3699.js +5 -0
  162. package/.next/standalone/dashboard/.next/server/chunks/4255.js +1 -0
  163. package/.next/standalone/dashboard/.next/server/chunks/4727.js +1 -0
  164. package/.next/standalone/dashboard/.next/server/chunks/5501.js +1 -0
  165. package/.next/standalone/dashboard/.next/server/chunks/5938.js +13 -0
  166. package/.next/standalone/dashboard/.next/server/chunks/6848.js +141 -0
  167. package/.next/standalone/dashboard/.next/server/chunks/7562.js +1 -0
  168. package/.next/standalone/dashboard/.next/server/chunks/8550.js +1 -0
  169. package/.next/standalone/dashboard/.next/server/chunks/9453.js +1 -0
  170. package/.next/standalone/dashboard/.next/server/functions-config-manifest.json +3 -1
  171. package/.next/standalone/dashboard/.next/server/pages/404.html +2 -2
  172. package/.next/standalone/dashboard/.next/server/pages/500.html +2 -2
  173. package/.next/standalone/dashboard/.next/server/webpack-runtime.js +1 -1
  174. package/.next/standalone/dashboard/.next/static/Ji7NntaiYfJDIM9iITzb0/_buildManifest.js +1 -0
  175. package/.next/standalone/dashboard/.next/static/chunks/2317-3a29f083f6539f97.js +1 -0
  176. package/.next/standalone/dashboard/.next/static/chunks/3655-b3e054bce344cb01.js +1 -0
  177. package/.next/standalone/dashboard/.next/static/chunks/4539-8713cc345130961a.js +1 -0
  178. package/.next/standalone/dashboard/.next/static/chunks/6253-3a87f096650ed888.js +1 -0
  179. package/.next/standalone/dashboard/.next/static/chunks/6871-39fae3b2d325cb39.js +5 -0
  180. package/.next/standalone/dashboard/.next/static/chunks/690-195148c04e2ceb01.js +1 -0
  181. package/.next/standalone/dashboard/.next/static/chunks/{7306-029b4a3ee81879be.js → 7231-2858745006ed7941.js} +1 -1
  182. package/.next/standalone/dashboard/.next/static/chunks/7419-fc863e98024c0abb.js +1 -0
  183. package/.next/standalone/dashboard/.next/static/chunks/7931-5db2f8149e1c85c9.js +1 -0
  184. package/.next/standalone/dashboard/.next/static/chunks/916-292904d9b2e9aedb.js +1 -0
  185. package/.next/standalone/dashboard/.next/static/chunks/app/_global-error/page-e016c612a8d3880a.js +1 -0
  186. package/.next/standalone/dashboard/.next/static/chunks/app/api/checkpoints/[id]/items/route-e016c612a8d3880a.js +1 -0
  187. package/.next/standalone/dashboard/.next/static/chunks/app/api/context/delete/route-e016c612a8d3880a.js +1 -0
  188. package/.next/standalone/dashboard/.next/static/chunks/app/api/context/update/route-e016c612a8d3880a.js +1 -0
  189. package/.next/standalone/dashboard/.next/static/chunks/app/api/events/route-e016c612a8d3880a.js +1 -0
  190. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/[id]/route-e016c612a8d3880a.js +1 -0
  191. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/clone/route-e016c612a8d3880a.js +1 -0
  192. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/create/route-e016c612a8d3880a.js +1 -0
  193. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/delete/route-e016c612a8d3880a.js +1 -0
  194. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/labels/route-e016c612a8d3880a.js +1 -0
  195. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/list/route-e016c612a8d3880a.js +1 -0
  196. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/mark-duplicate/route-e016c612a8d3880a.js +1 -0
  197. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/subtasks/route-e016c612a8d3880a.js +1 -0
  198. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/update/route-e016c612a8d3880a.js +1 -0
  199. package/.next/standalone/dashboard/.next/static/chunks/app/api/labels/list/route-e016c612a8d3880a.js +1 -0
  200. package/.next/standalone/dashboard/.next/static/chunks/app/api/memory/delete/route-e016c612a8d3880a.js +1 -0
  201. package/.next/standalone/dashboard/.next/static/chunks/app/api/memory/list/route-e016c612a8d3880a.js +1 -0
  202. package/.next/standalone/dashboard/.next/static/chunks/app/api/memory/save/route-e016c612a8d3880a.js +1 -0
  203. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/[id]/route-e016c612a8d3880a.js +1 -0
  204. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/create/route-e016c612a8d3880a.js +1 -0
  205. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/delete/route-e016c612a8d3880a.js +1 -0
  206. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/list/route-e016c612a8d3880a.js +1 -0
  207. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/update/route-e016c612a8d3880a.js +1 -0
  208. package/.next/standalone/dashboard/.next/static/chunks/app/api/projects/[id]/route-e016c612a8d3880a.js +1 -0
  209. package/.next/standalone/dashboard/.next/static/chunks/app/api/projects/route-e016c612a8d3880a.js +1 -0
  210. package/.next/standalone/dashboard/.next/static/chunks/app/api/sessions/[id]/projects/route-e016c612a8d3880a.js +1 -0
  211. package/.next/standalone/dashboard/.next/static/chunks/app/api/sessions/[id]/route-e016c612a8d3880a.js +1 -0
  212. package/.next/standalone/dashboard/.next/static/chunks/app/api/sessions/[id]/stats/route-e016c612a8d3880a.js +1 -0
  213. package/.next/standalone/dashboard/.next/static/chunks/app/api/sessions/[id]/status/route-e016c612a8d3880a.js +1 -0
  214. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/checkpoints/[id]/page-a710c6edb58707e4.js +1 -0
  215. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/checkpoints/page-e2adf73da0191e98.js +1 -0
  216. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/issues/[issueId]/page-07ec187fbc04a05d.js +1 -0
  217. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/issues/page-c28ffaaa8705451b.js +1 -0
  218. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/layout-04fbd7bd3d3dc9e7.js +1 -0
  219. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/memory/page-3a7f94bf76e62942.js +1 -0
  220. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/page-e8a01bea3ff5fec3.js +1 -0
  221. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/plans/page-05e4ebf282f4de06.js +5 -0
  222. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/sessions/[id]/page-e896f797e955bab3.js +1 -0
  223. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/sessions/page-063c02fe0a0ee366.js +1 -0
  224. package/.next/standalone/dashboard/.next/static/chunks/app/page-e016c612a8d3880a.js +1 -0
  225. package/.next/standalone/dashboard/.next/static/chunks/next/dist/client/components/builtin/app-error-e016c612a8d3880a.js +1 -0
  226. package/.next/standalone/dashboard/.next/static/chunks/next/dist/client/components/builtin/forbidden-e016c612a8d3880a.js +1 -0
  227. package/.next/standalone/dashboard/.next/static/chunks/next/dist/client/components/builtin/not-found-e016c612a8d3880a.js +1 -0
  228. package/.next/standalone/dashboard/.next/static/chunks/next/dist/client/components/builtin/unauthorized-e016c612a8d3880a.js +1 -0
  229. package/.next/standalone/dashboard/.next/static/css/a436f2864c069668.css +1 -0
  230. package/.next/standalone/dashboard/package.json +5 -3
  231. package/.next/standalone/package.json +1 -1
  232. package/package.json +5 -3
  233. package/.next/standalone/dashboard/.next/server/chunks/213.js +0 -1
  234. package/.next/standalone/dashboard/.next/server/chunks/322.js +0 -1
  235. package/.next/standalone/dashboard/.next/server/chunks/453.js +0 -1
  236. package/.next/standalone/dashboard/.next/server/chunks/463.js +0 -1
  237. package/.next/standalone/dashboard/.next/server/chunks/550.js +0 -1
  238. package/.next/standalone/dashboard/.next/server/chunks/562.js +0 -1
  239. package/.next/standalone/dashboard/.next/server/chunks/687.js +0 -1
  240. package/.next/standalone/dashboard/.next/server/chunks/727.js +0 -22
  241. package/.next/standalone/dashboard/.next/server/chunks/848.js +0 -114
  242. package/.next/standalone/dashboard/.next/server/chunks/919.js +0 -1
  243. package/.next/standalone/dashboard/.next/server/chunks/938.js +0 -13
  244. package/.next/standalone/dashboard/.next/static/chunks/3358-be1dcb412e5a5840.js +0 -1
  245. package/.next/standalone/dashboard/.next/static/chunks/5602-de6be5d495e39d30.js +0 -1
  246. package/.next/standalone/dashboard/.next/static/chunks/6736-2e5d92a3f8a9a938.js +0 -1
  247. package/.next/standalone/dashboard/.next/static/chunks/9353-01195b7436d6dd5e.js +0 -1
  248. package/.next/standalone/dashboard/.next/static/chunks/app/_global-error/page-356f14dcea06e3de.js +0 -1
  249. package/.next/standalone/dashboard/.next/static/chunks/app/api/checkpoints/[id]/items/route-356f14dcea06e3de.js +0 -1
  250. package/.next/standalone/dashboard/.next/static/chunks/app/api/context/delete/route-356f14dcea06e3de.js +0 -1
  251. package/.next/standalone/dashboard/.next/static/chunks/app/api/context/update/route-356f14dcea06e3de.js +0 -1
  252. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/create/route-356f14dcea06e3de.js +0 -1
  253. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/delete/route-356f14dcea06e3de.js +0 -1
  254. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/list/route-356f14dcea06e3de.js +0 -1
  255. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/subtasks/route-356f14dcea06e3de.js +0 -1
  256. package/.next/standalone/dashboard/.next/static/chunks/app/api/issues/update/route-356f14dcea06e3de.js +0 -1
  257. package/.next/standalone/dashboard/.next/static/chunks/app/api/memory/delete/route-356f14dcea06e3de.js +0 -1
  258. package/.next/standalone/dashboard/.next/static/chunks/app/api/memory/list/route-356f14dcea06e3de.js +0 -1
  259. package/.next/standalone/dashboard/.next/static/chunks/app/api/memory/save/route-356f14dcea06e3de.js +0 -1
  260. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/[id]/route-356f14dcea06e3de.js +0 -1
  261. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/create/route-356f14dcea06e3de.js +0 -1
  262. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/delete/route-356f14dcea06e3de.js +0 -1
  263. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/list/route-356f14dcea06e3de.js +0 -1
  264. package/.next/standalone/dashboard/.next/static/chunks/app/api/plans/update/route-356f14dcea06e3de.js +0 -1
  265. package/.next/standalone/dashboard/.next/static/chunks/app/api/projects/[id]/route-356f14dcea06e3de.js +0 -1
  266. package/.next/standalone/dashboard/.next/static/chunks/app/api/projects/route-356f14dcea06e3de.js +0 -1
  267. package/.next/standalone/dashboard/.next/static/chunks/app/api/sessions/[id]/projects/route-356f14dcea06e3de.js +0 -1
  268. package/.next/standalone/dashboard/.next/static/chunks/app/api/sessions/[id]/route-356f14dcea06e3de.js +0 -1
  269. package/.next/standalone/dashboard/.next/static/chunks/app/api/sessions/[id]/stats/route-356f14dcea06e3de.js +0 -1
  270. package/.next/standalone/dashboard/.next/static/chunks/app/api/sessions/[id]/status/route-356f14dcea06e3de.js +0 -1
  271. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/checkpoints/[id]/page-317c5240c6b745fc.js +0 -1
  272. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/checkpoints/page-69c93b249f9f09f9.js +0 -1
  273. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/issues/page-b176cdca78e8145d.js +0 -1
  274. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/layout-9595c9185ebc25d2.js +0 -1
  275. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/memory/page-ffbe55f2b5b3a1a4.js +0 -1
  276. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/page-e7dfa69451ac3cf4.js +0 -5
  277. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/plans/page-aa014387d68c52ed.js +0 -5
  278. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/sessions/[id]/page-1acf5db28461761f.js +0 -1
  279. package/.next/standalone/dashboard/.next/static/chunks/app/dashboard/sessions/page-bce106da597ef37a.js +0 -1
  280. package/.next/standalone/dashboard/.next/static/chunks/app/page-356f14dcea06e3de.js +0 -1
  281. package/.next/standalone/dashboard/.next/static/chunks/next/dist/client/components/builtin/app-error-356f14dcea06e3de.js +0 -1
  282. package/.next/standalone/dashboard/.next/static/chunks/next/dist/client/components/builtin/forbidden-356f14dcea06e3de.js +0 -1
  283. package/.next/standalone/dashboard/.next/static/chunks/next/dist/client/components/builtin/not-found-356f14dcea06e3de.js +0 -1
  284. package/.next/standalone/dashboard/.next/static/chunks/next/dist/client/components/builtin/unauthorized-356f14dcea06e3de.js +0 -1
  285. package/.next/standalone/dashboard/.next/static/css/c16512ce6b93e2df.css +0 -1
  286. package/.next/standalone/dashboard/.next/static/fvTz_10g1TFWYx7umMYkL/_buildManifest.js +0 -1
  287. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
  288. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/database.js +0 -90
  289. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/index.js +0 -3
  290. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/methods/aggregate.js +0 -43
  291. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/methods/backup.js +0 -67
  292. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/methods/function.js +0 -31
  293. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/methods/inspect.js +0 -7
  294. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/methods/pragma.js +0 -12
  295. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/methods/serialize.js +0 -16
  296. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/methods/table.js +0 -189
  297. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/methods/transaction.js +0 -78
  298. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/methods/wrappers.js +0 -54
  299. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/sqlite-error.js +0 -20
  300. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/lib/util.js +0 -12
  301. package/.next/standalone/node_modules/.pnpm/better-sqlite3@12.5.0/node_modules/better-sqlite3/package.json +0 -59
  302. package/.next/standalone/node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js +0 -221
  303. package/.next/standalone/node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/package.json +0 -28
  304. package/.next/standalone/node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js +0 -66
  305. package/.next/standalone/node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/package.json +0 -32
  306. package/.next/standalone/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
  307. package/.next/standalone/node_modules/better-sqlite3/lib/database.js +0 -90
  308. package/.next/standalone/node_modules/better-sqlite3/lib/index.js +0 -3
  309. package/.next/standalone/node_modules/better-sqlite3/lib/methods/aggregate.js +0 -43
  310. package/.next/standalone/node_modules/better-sqlite3/lib/methods/backup.js +0 -67
  311. package/.next/standalone/node_modules/better-sqlite3/lib/methods/function.js +0 -31
  312. package/.next/standalone/node_modules/better-sqlite3/lib/methods/inspect.js +0 -7
  313. package/.next/standalone/node_modules/better-sqlite3/lib/methods/pragma.js +0 -12
  314. package/.next/standalone/node_modules/better-sqlite3/lib/methods/serialize.js +0 -16
  315. package/.next/standalone/node_modules/better-sqlite3/lib/methods/table.js +0 -189
  316. package/.next/standalone/node_modules/better-sqlite3/lib/methods/transaction.js +0 -78
  317. package/.next/standalone/node_modules/better-sqlite3/lib/methods/wrappers.js +0 -54
  318. package/.next/standalone/node_modules/better-sqlite3/lib/sqlite-error.js +0 -20
  319. package/.next/standalone/node_modules/better-sqlite3/lib/util.js +0 -12
  320. package/.next/standalone/node_modules/better-sqlite3/package.json +0 -59
  321. package/.next/standalone/node_modules/bindings/bindings.js +0 -221
  322. package/.next/standalone/node_modules/bindings/package.json +0 -28
  323. package/.next/standalone/node_modules/file-uri-to-path/index.js +0 -66
  324. package/.next/standalone/node_modules/file-uri-to-path/package.json +0 -32
  325. /package/.next/standalone/dashboard/.next/static/{fvTz_10g1TFWYx7umMYkL → Ji7NntaiYfJDIM9iITzb0}/_ssgManifest.js +0 -0
@@ -1,54 +0,0 @@
1
- 'use strict';
2
- const { cppdb } = require('../util');
3
-
4
- exports.prepare = function prepare(sql) {
5
- return this[cppdb].prepare(sql, this, false);
6
- };
7
-
8
- exports.exec = function exec(sql) {
9
- this[cppdb].exec(sql);
10
- return this;
11
- };
12
-
13
- exports.close = function close() {
14
- this[cppdb].close();
15
- return this;
16
- };
17
-
18
- exports.loadExtension = function loadExtension(...args) {
19
- this[cppdb].loadExtension(...args);
20
- return this;
21
- };
22
-
23
- exports.defaultSafeIntegers = function defaultSafeIntegers(...args) {
24
- this[cppdb].defaultSafeIntegers(...args);
25
- return this;
26
- };
27
-
28
- exports.unsafeMode = function unsafeMode(...args) {
29
- this[cppdb].unsafeMode(...args);
30
- return this;
31
- };
32
-
33
- exports.getters = {
34
- name: {
35
- get: function name() { return this[cppdb].name; },
36
- enumerable: true,
37
- },
38
- open: {
39
- get: function open() { return this[cppdb].open; },
40
- enumerable: true,
41
- },
42
- inTransaction: {
43
- get: function inTransaction() { return this[cppdb].inTransaction; },
44
- enumerable: true,
45
- },
46
- readonly: {
47
- get: function readonly() { return this[cppdb].readonly; },
48
- enumerable: true,
49
- },
50
- memory: {
51
- get: function memory() { return this[cppdb].memory; },
52
- enumerable: true,
53
- },
54
- };
@@ -1,20 +0,0 @@
1
- 'use strict';
2
- const descriptor = { value: 'SqliteError', writable: true, enumerable: false, configurable: true };
3
-
4
- function SqliteError(message, code) {
5
- if (new.target !== SqliteError) {
6
- return new SqliteError(message, code);
7
- }
8
- if (typeof code !== 'string') {
9
- throw new TypeError('Expected second argument to be a string');
10
- }
11
- Error.call(this, message);
12
- descriptor.value = '' + message;
13
- Object.defineProperty(this, 'message', descriptor);
14
- Error.captureStackTrace(this, SqliteError);
15
- this.code = code;
16
- }
17
- Object.setPrototypeOf(SqliteError, Error);
18
- Object.setPrototypeOf(SqliteError.prototype, Error.prototype);
19
- Object.defineProperty(SqliteError.prototype, 'name', descriptor);
20
- module.exports = SqliteError;
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- exports.getBooleanOption = (options, key) => {
4
- let value = false;
5
- if (key in options && typeof (value = options[key]) !== 'boolean') {
6
- throw new TypeError(`Expected the "${key}" option to be a boolean`);
7
- }
8
- return value;
9
- };
10
-
11
- exports.cppdb = Symbol();
12
- exports.inspect = Symbol.for('nodejs.util.inspect.custom');
@@ -1,59 +0,0 @@
1
- {
2
- "name": "better-sqlite3",
3
- "version": "12.5.0",
4
- "description": "The fastest and simplest library for SQLite in Node.js.",
5
- "homepage": "http://github.com/WiseLibs/better-sqlite3",
6
- "author": "Joshua Wise <joshuathomaswise@gmail.com>",
7
- "repository": {
8
- "type": "git",
9
- "url": "git://github.com/WiseLibs/better-sqlite3.git"
10
- },
11
- "main": "lib/index.js",
12
- "files": [
13
- "binding.gyp",
14
- "src/**/*.[ch]pp",
15
- "lib/**",
16
- "deps/**"
17
- ],
18
- "engines": {
19
- "node": "20.x || 22.x || 23.x || 24.x || 25.x"
20
- },
21
- "dependencies": {
22
- "bindings": "^1.5.0",
23
- "prebuild-install": "^7.1.1"
24
- },
25
- "overrides": {
26
- "prebuild": {
27
- "node-abi": "4.15.0"
28
- }
29
- },
30
- "devDependencies": {
31
- "chai": "^4.3.8",
32
- "cli-color": "^2.0.3",
33
- "fs-extra": "^11.1.1",
34
- "mocha": "^10.2.0",
35
- "nodemark": "^0.3.0",
36
- "prebuild": "^13.0.1",
37
- "sqlite": "^5.0.1",
38
- "sqlite3": "^5.1.6"
39
- },
40
- "scripts": {
41
- "install": "prebuild-install || node-gyp rebuild --release",
42
- "build-release": "node-gyp rebuild --release",
43
- "build-debug": "node-gyp rebuild --debug",
44
- "test": "mocha --exit --slow=75 --timeout=5000",
45
- "benchmark": "node benchmark",
46
- "download": "bash ./deps/download.sh"
47
- },
48
- "license": "MIT",
49
- "keywords": [
50
- "sql",
51
- "sqlite",
52
- "sqlite3",
53
- "transactions",
54
- "user-defined functions",
55
- "aggregate functions",
56
- "window functions",
57
- "database"
58
- ]
59
- }
@@ -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
- }