pi-app 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (484) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +55 -0
  3. package/.next/build-manifest.json +20 -0
  4. package/.next/diagnostics/build-diagnostics.json +6 -0
  5. package/.next/diagnostics/framework.json +1 -0
  6. package/.next/export-marker.json +6 -0
  7. package/.next/images-manifest.json +68 -0
  8. package/.next/next-minimal-server.js.nft.json +1 -0
  9. package/.next/next-server.js.nft.json +1 -0
  10. package/.next/package.json +1 -0
  11. package/.next/prerender-manifest.json +114 -0
  12. package/.next/react-loadable-manifest.json +2271 -0
  13. package/.next/required-server-files.js +347 -0
  14. package/.next/required-server-files.json +347 -0
  15. package/.next/routes-manifest.json +394 -0
  16. package/.next/server/app/_global-error/page.js +32 -0
  17. package/.next/server/app/_global-error/page.js.nft.json +1 -0
  18. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -0
  19. package/.next/server/app/_global-error.html +1 -0
  20. package/.next/server/app/_global-error.meta +16 -0
  21. package/.next/server/app/_global-error.rsc +14 -0
  22. package/.next/server/app/_global-error.segments/_full.segment.rsc +14 -0
  23. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +5 -0
  24. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +5 -0
  25. package/.next/server/app/_global-error.segments/_head.segment.rsc +5 -0
  26. package/.next/server/app/_global-error.segments/_index.segment.rsc +5 -0
  27. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  28. package/.next/server/app/_not-found/page.js +2 -0
  29. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  30. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  31. package/.next/server/app/_not-found.html +1 -0
  32. package/.next/server/app/_not-found.meta +16 -0
  33. package/.next/server/app/_not-found.rsc +19 -0
  34. package/.next/server/app/_not-found.segments/_full.segment.rsc +19 -0
  35. package/.next/server/app/_not-found.segments/_head.segment.rsc +6 -0
  36. package/.next/server/app/_not-found.segments/_index.segment.rsc +6 -0
  37. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
  38. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
  39. package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -0
  40. package/.next/server/app/api/agent/[id]/events/route.js +3 -0
  41. package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -0
  42. package/.next/server/app/api/agent/[id]/events/route_client-reference-manifest.js +1 -0
  43. package/.next/server/app/api/agent/[id]/export.html/route.js +1 -0
  44. package/.next/server/app/api/agent/[id]/export.html/route.js.nft.json +1 -0
  45. package/.next/server/app/api/agent/[id]/export.html/route_client-reference-manifest.js +1 -0
  46. package/.next/server/app/api/agent/[id]/route.js +1 -0
  47. package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -0
  48. package/.next/server/app/api/agent/[id]/route_client-reference-manifest.js +1 -0
  49. package/.next/server/app/api/agent/new/route.js +1 -0
  50. package/.next/server/app/api/agent/new/route.js.nft.json +1 -0
  51. package/.next/server/app/api/agent/new/route_client-reference-manifest.js +1 -0
  52. package/.next/server/app/api/auth/all-providers/route.js +1 -0
  53. package/.next/server/app/api/auth/all-providers/route.js.nft.json +1 -0
  54. package/.next/server/app/api/auth/all-providers/route_client-reference-manifest.js +1 -0
  55. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -0
  56. package/.next/server/app/api/auth/api-key/[provider]/route.js.nft.json +1 -0
  57. package/.next/server/app/api/auth/api-key/[provider]/route_client-reference-manifest.js +1 -0
  58. package/.next/server/app/api/auth/login/[provider]/route.js +3 -0
  59. package/.next/server/app/api/auth/login/[provider]/route.js.nft.json +1 -0
  60. package/.next/server/app/api/auth/login/[provider]/route_client-reference-manifest.js +1 -0
  61. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -0
  62. package/.next/server/app/api/auth/logout/[provider]/route.js.nft.json +1 -0
  63. package/.next/server/app/api/auth/logout/[provider]/route_client-reference-manifest.js +1 -0
  64. package/.next/server/app/api/auth/providers/route.js +1 -0
  65. package/.next/server/app/api/auth/providers/route.js.nft.json +1 -0
  66. package/.next/server/app/api/auth/providers/route_client-reference-manifest.js +1 -0
  67. package/.next/server/app/api/cwd/validate/route.js +1 -0
  68. package/.next/server/app/api/cwd/validate/route.js.nft.json +1 -0
  69. package/.next/server/app/api/cwd/validate/route_client-reference-manifest.js +1 -0
  70. package/.next/server/app/api/default-cwd/route.js +1 -0
  71. package/.next/server/app/api/default-cwd/route.js.nft.json +1 -0
  72. package/.next/server/app/api/default-cwd/route_client-reference-manifest.js +1 -0
  73. package/.next/server/app/api/extensions/route.js +2 -0
  74. package/.next/server/app/api/extensions/route.js.nft.json +1 -0
  75. package/.next/server/app/api/extensions/route_client-reference-manifest.js +1 -0
  76. package/.next/server/app/api/files/[...path]/route.js +50 -0
  77. package/.next/server/app/api/files/[...path]/route.js.nft.json +1 -0
  78. package/.next/server/app/api/files/[...path]/route_client-reference-manifest.js +1 -0
  79. package/.next/server/app/api/files/stage/route.js +1 -0
  80. package/.next/server/app/api/files/stage/route.js.nft.json +1 -0
  81. package/.next/server/app/api/files/stage/route_client-reference-manifest.js +1 -0
  82. package/.next/server/app/api/git-branch/route.js +1 -0
  83. package/.next/server/app/api/git-branch/route.js.nft.json +1 -0
  84. package/.next/server/app/api/git-branch/route_client-reference-manifest.js +1 -0
  85. package/.next/server/app/api/health/route.js +1 -0
  86. package/.next/server/app/api/health/route.js.nft.json +1 -0
  87. package/.next/server/app/api/health/route_client-reference-manifest.js +1 -0
  88. package/.next/server/app/api/history/[id]/route.js +2 -0
  89. package/.next/server/app/api/history/[id]/route.js.nft.json +1 -0
  90. package/.next/server/app/api/history/[id]/route_client-reference-manifest.js +1 -0
  91. package/.next/server/app/api/history/route.js +2 -0
  92. package/.next/server/app/api/history/route.js.nft.json +1 -0
  93. package/.next/server/app/api/history/route_client-reference-manifest.js +1 -0
  94. package/.next/server/app/api/home/route.js +1 -0
  95. package/.next/server/app/api/home/route.js.nft.json +1 -0
  96. package/.next/server/app/api/home/route_client-reference-manifest.js +1 -0
  97. package/.next/server/app/api/models/route.js +1 -0
  98. package/.next/server/app/api/models/route.js.nft.json +1 -0
  99. package/.next/server/app/api/models/route_client-reference-manifest.js +1 -0
  100. package/.next/server/app/api/models-config/route.js +1 -0
  101. package/.next/server/app/api/models-config/route.js.nft.json +1 -0
  102. package/.next/server/app/api/models-config/route_client-reference-manifest.js +1 -0
  103. package/.next/server/app/api/models-config/test/route.js +1 -0
  104. package/.next/server/app/api/models-config/test/route.js.nft.json +1 -0
  105. package/.next/server/app/api/models-config/test/route_client-reference-manifest.js +1 -0
  106. package/.next/server/app/api/notifications/agent-end/route.js +3 -0
  107. package/.next/server/app/api/notifications/agent-end/route.js.nft.json +1 -0
  108. package/.next/server/app/api/notifications/agent-end/route_client-reference-manifest.js +1 -0
  109. package/.next/server/app/api/preferences/route.js +2 -0
  110. package/.next/server/app/api/preferences/route.js.nft.json +1 -0
  111. package/.next/server/app/api/preferences/route_client-reference-manifest.js +1 -0
  112. package/.next/server/app/api/product-sessions/[id]/route.js +3 -0
  113. package/.next/server/app/api/product-sessions/[id]/route.js.nft.json +1 -0
  114. package/.next/server/app/api/product-sessions/[id]/route_client-reference-manifest.js +1 -0
  115. package/.next/server/app/api/push/route.js +2 -0
  116. package/.next/server/app/api/push/route.js.nft.json +1 -0
  117. package/.next/server/app/api/push/route_client-reference-manifest.js +1 -0
  118. package/.next/server/app/api/remote/audit/route.js +1 -0
  119. package/.next/server/app/api/remote/audit/route.js.nft.json +1 -0
  120. package/.next/server/app/api/remote/audit/route_client-reference-manifest.js +1 -0
  121. package/.next/server/app/api/remote/client/route.js +1 -0
  122. package/.next/server/app/api/remote/client/route.js.nft.json +1 -0
  123. package/.next/server/app/api/remote/client/route_client-reference-manifest.js +1 -0
  124. package/.next/server/app/api/remote/pair/route.js +1 -0
  125. package/.next/server/app/api/remote/pair/route.js.nft.json +1 -0
  126. package/.next/server/app/api/remote/pair/route_client-reference-manifest.js +1 -0
  127. package/.next/server/app/api/remote/route.js +1 -0
  128. package/.next/server/app/api/remote/route.js.nft.json +1 -0
  129. package/.next/server/app/api/remote/route_client-reference-manifest.js +1 -0
  130. package/.next/server/app/api/scene-overrides/[sceneId]/route.js +3 -0
  131. package/.next/server/app/api/scene-overrides/[sceneId]/route.js.nft.json +1 -0
  132. package/.next/server/app/api/scene-overrides/[sceneId]/route_client-reference-manifest.js +1 -0
  133. package/.next/server/app/api/scene-overrides/export/route.js +4 -0
  134. package/.next/server/app/api/scene-overrides/export/route.js.nft.json +1 -0
  135. package/.next/server/app/api/scene-overrides/export/route_client-reference-manifest.js +1 -0
  136. package/.next/server/app/api/scene-overrides/import/route.js +3 -0
  137. package/.next/server/app/api/scene-overrides/import/route.js.nft.json +1 -0
  138. package/.next/server/app/api/scene-overrides/import/route_client-reference-manifest.js +1 -0
  139. package/.next/server/app/api/scene-overrides/route.js +3 -0
  140. package/.next/server/app/api/scene-overrides/route.js.nft.json +1 -0
  141. package/.next/server/app/api/scene-overrides/route_client-reference-manifest.js +1 -0
  142. package/.next/server/app/api/sessions/[id]/context/route.js +2 -0
  143. package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -0
  144. package/.next/server/app/api/sessions/[id]/context/route_client-reference-manifest.js +1 -0
  145. package/.next/server/app/api/sessions/[id]/route.js +1 -0
  146. package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -0
  147. package/.next/server/app/api/sessions/[id]/route_client-reference-manifest.js +1 -0
  148. package/.next/server/app/api/sessions/[id]/share/route.js +1 -0
  149. package/.next/server/app/api/sessions/[id]/share/route.js.nft.json +1 -0
  150. package/.next/server/app/api/sessions/[id]/share/route_client-reference-manifest.js +1 -0
  151. package/.next/server/app/api/sessions/new/route.js +1 -0
  152. package/.next/server/app/api/sessions/new/route.js.nft.json +1 -0
  153. package/.next/server/app/api/sessions/new/route_client-reference-manifest.js +1 -0
  154. package/.next/server/app/api/sessions/route.js +2 -0
  155. package/.next/server/app/api/sessions/route.js.nft.json +1 -0
  156. package/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -0
  157. package/.next/server/app/api/settings/default-model/route.js +1 -0
  158. package/.next/server/app/api/settings/default-model/route.js.nft.json +1 -0
  159. package/.next/server/app/api/settings/default-model/route_client-reference-manifest.js +1 -0
  160. package/.next/server/app/api/share/[token]/route.js +2 -0
  161. package/.next/server/app/api/share/[token]/route.js.nft.json +1 -0
  162. package/.next/server/app/api/share/[token]/route_client-reference-manifest.js +1 -0
  163. package/.next/server/app/api/skills/install/route.js +1 -0
  164. package/.next/server/app/api/skills/install/route.js.nft.json +1 -0
  165. package/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -0
  166. package/.next/server/app/api/skills/route.js +6 -0
  167. package/.next/server/app/api/skills/route.js.nft.json +1 -0
  168. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -0
  169. package/.next/server/app/api/skills/search/route.js +1 -0
  170. package/.next/server/app/api/skills/search/route.js.nft.json +1 -0
  171. package/.next/server/app/api/skills/search/route_client-reference-manifest.js +1 -0
  172. package/.next/server/app/api/usage/route.js +2 -0
  173. package/.next/server/app/api/usage/route.js.nft.json +1 -0
  174. package/.next/server/app/api/usage/route_client-reference-manifest.js +1 -0
  175. package/.next/server/app/api/web-fetch/install-agent-browser/route.js +3 -0
  176. package/.next/server/app/api/web-fetch/install-agent-browser/route.js.nft.json +1 -0
  177. package/.next/server/app/api/web-fetch/install-agent-browser/route_client-reference-manifest.js +1 -0
  178. package/.next/server/app/api/web-fetch/preferences/route.js +1 -0
  179. package/.next/server/app/api/web-fetch/preferences/route.js.nft.json +1 -0
  180. package/.next/server/app/api/web-fetch/preferences/route_client-reference-manifest.js +1 -0
  181. package/.next/server/app/api/web-fetch/status/route.js +1 -0
  182. package/.next/server/app/api/web-fetch/status/route.js.nft.json +1 -0
  183. package/.next/server/app/api/web-fetch/status/route_client-reference-manifest.js +1 -0
  184. package/.next/server/app/favicon.ico/route.js +1 -0
  185. package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
  186. package/.next/server/app/favicon.ico.body +0 -0
  187. package/.next/server/app/favicon.ico.meta +1 -0
  188. package/.next/server/app/index.html +1 -0
  189. package/.next/server/app/index.meta +14 -0
  190. package/.next/server/app/index.rsc +18 -0
  191. package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -0
  192. package/.next/server/app/index.segments/_full.segment.rsc +18 -0
  193. package/.next/server/app/index.segments/_head.segment.rsc +6 -0
  194. package/.next/server/app/index.segments/_index.segment.rsc +6 -0
  195. package/.next/server/app/index.segments/_tree.segment.rsc +4 -0
  196. package/.next/server/app/page.js +5 -0
  197. package/.next/server/app/page.js.nft.json +1 -0
  198. package/.next/server/app/page_client-reference-manifest.js +1 -0
  199. package/.next/server/app/share/[token]/page.js +2 -0
  200. package/.next/server/app/share/[token]/page.js.nft.json +1 -0
  201. package/.next/server/app/share/[token]/page_client-reference-manifest.js +1 -0
  202. package/.next/server/app-paths-manifest.json +55 -0
  203. package/.next/server/chunks/1048.js +1 -0
  204. package/.next/server/chunks/1185.js +3 -0
  205. package/.next/server/chunks/1367.js +77 -0
  206. package/.next/server/chunks/1381.js +1 -0
  207. package/.next/server/chunks/165.js +1 -0
  208. package/.next/server/chunks/1681.js +215 -0
  209. package/.next/server/chunks/1703.js +79 -0
  210. package/.next/server/chunks/1712.js +43 -0
  211. package/.next/server/chunks/1813.js +1 -0
  212. package/.next/server/chunks/2325.js +80 -0
  213. package/.next/server/chunks/258.js +1 -0
  214. package/.next/server/chunks/2671.js +287 -0
  215. package/.next/server/chunks/2778.js +1 -0
  216. package/.next/server/chunks/2943.js +1 -0
  217. package/.next/server/chunks/3031.js +226 -0
  218. package/.next/server/chunks/3181.js +1 -0
  219. package/.next/server/chunks/319.js +45 -0
  220. package/.next/server/chunks/3379.js +1 -0
  221. package/.next/server/chunks/3451.js +1 -0
  222. package/.next/server/chunks/349.js +4 -0
  223. package/.next/server/chunks/3493.js +1 -0
  224. package/.next/server/chunks/3672.js +1 -0
  225. package/.next/server/chunks/3701.js +104 -0
  226. package/.next/server/chunks/4035.js +80 -0
  227. package/.next/server/chunks/4248.js +153 -0
  228. package/.next/server/chunks/4325.js +90 -0
  229. package/.next/server/chunks/4367.js +1 -0
  230. package/.next/server/chunks/4406.js +141 -0
  231. package/.next/server/chunks/459.js +2 -0
  232. package/.next/server/chunks/4741.js +18 -0
  233. package/.next/server/chunks/4858.js +148 -0
  234. package/.next/server/chunks/4880.js +1 -0
  235. package/.next/server/chunks/4980.js +1 -0
  236. package/.next/server/chunks/5155.js +5 -0
  237. package/.next/server/chunks/5293.js +166 -0
  238. package/.next/server/chunks/5409.js +1 -0
  239. package/.next/server/chunks/5797.js +93 -0
  240. package/.next/server/chunks/5851.js +36 -0
  241. package/.next/server/chunks/6206.js +1 -0
  242. package/.next/server/chunks/6296.js +1 -0
  243. package/.next/server/chunks/6346.js +1 -0
  244. package/.next/server/chunks/6406.js +23 -0
  245. package/.next/server/chunks/642.js +1 -0
  246. package/.next/server/chunks/6429.js +2 -0
  247. package/.next/server/chunks/6729.js +64 -0
  248. package/.next/server/chunks/6907.js +115 -0
  249. package/.next/server/chunks/6980.js +1 -0
  250. package/.next/server/chunks/7073.js +24 -0
  251. package/.next/server/chunks/7233.js +24 -0
  252. package/.next/server/chunks/7270.js +2 -0
  253. package/.next/server/chunks/7307.js +1 -0
  254. package/.next/server/chunks/7362.js +9 -0
  255. package/.next/server/chunks/7567.js +29 -0
  256. package/.next/server/chunks/8238.js +34 -0
  257. package/.next/server/chunks/8276.js +1 -0
  258. package/.next/server/chunks/8336.js +1 -0
  259. package/.next/server/chunks/8342.js +4 -0
  260. package/.next/server/chunks/8433.js +1 -0
  261. package/.next/server/chunks/8490.js +1 -0
  262. package/.next/server/chunks/8916.js +1 -0
  263. package/.next/server/chunks/9280.js +252 -0
  264. package/.next/server/chunks/9315.js +1 -0
  265. package/.next/server/chunks/966.js +1 -0
  266. package/.next/server/edge-instrumentation.js +2 -0
  267. package/.next/server/edge-runtime-webpack.js +2 -0
  268. package/.next/server/functions-config-manifest.json +8 -0
  269. package/.next/server/instrumentation.js +1 -0
  270. package/.next/server/instrumentation.js.nft.json +1 -0
  271. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  272. package/.next/server/middleware-build-manifest.js +1 -0
  273. package/.next/server/middleware-manifest.json +34 -0
  274. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  275. package/.next/server/middleware.js +10 -0
  276. package/.next/server/next-font-manifest.js +1 -0
  277. package/.next/server/next-font-manifest.json +1 -0
  278. package/.next/server/pages/404.html +1 -0
  279. package/.next/server/pages/500.html +1 -0
  280. package/.next/server/pages-manifest.json +4 -0
  281. package/.next/server/prefetch-hints.json +1 -0
  282. package/.next/server/server-reference-manifest.js +1 -0
  283. package/.next/server/server-reference-manifest.json +1 -0
  284. package/.next/server/webpack-runtime.js +1 -0
  285. package/.next/static/chunks/0b9a0da7.915b07ceecd18755.js +62 -0
  286. package/.next/static/chunks/1413.922d232de90c0c41.js +115 -0
  287. package/.next/static/chunks/1643.467a526a1f24f54d.js +24 -0
  288. package/.next/static/chunks/1852.4afb7f7ef17737c1.js +1 -0
  289. package/.next/static/chunks/1960.b1e26436d7a5f586.js +1 -0
  290. package/.next/static/chunks/2241-3268f463e00f6e38.js +1 -0
  291. package/.next/static/chunks/2261-cd89471c199745e2.js +4 -0
  292. package/.next/static/chunks/2419.fb50b8bb1874d556.js +166 -0
  293. package/.next/static/chunks/2619.9aac8983f30c7c8a.js +1 -0
  294. package/.next/static/chunks/2623.d20fabd8e18197c6.js +287 -0
  295. package/.next/static/chunks/2729.f5365061a849d659.js +34 -0
  296. package/.next/static/chunks/2821.934bcf60fbdc28c6.js +1 -0
  297. package/.next/static/chunks/2918becc.abff2ece1de37bc1.js +153 -0
  298. package/.next/static/chunks/2947.114e51cb06d1c01a.js +23 -0
  299. package/.next/static/chunks/3079.90c6008a4bba4ee1.js +79 -0
  300. package/.next/static/chunks/3274.208ca44844cd7d95.js +148 -0
  301. package/.next/static/chunks/3308.115707ee3fd446be.js +73 -0
  302. package/.next/static/chunks/3325.01cdecedf0fb6d62.js +80 -0
  303. package/.next/static/chunks/3794-ba2500baa4c52d55.js +32 -0
  304. package/.next/static/chunks/3837.a755ccfe6f9c1c1c.js +5 -0
  305. package/.next/static/chunks/394.2860c5a408dc8801.js +1 -0
  306. package/.next/static/chunks/3997.42e942ad02cc6f4b.js +1 -0
  307. package/.next/static/chunks/4491.44fdf20580ac72bd.js +24 -0
  308. package/.next/static/chunks/4829.cf1d50e43e6d9db5.js +1 -0
  309. package/.next/static/chunks/498.fe1d9da9ecad6c36.js +1 -0
  310. package/.next/static/chunks/4bd1b696-e356ca5ba0218e27.js +1 -0
  311. package/.next/static/chunks/5019.b5a1a2b8daf17525.js +1 -0
  312. package/.next/static/chunks/5034.cbaaf32db6d2086d.js +1 -0
  313. package/.next/static/chunks/5035.3755dbc45ec0eb8d.js +90 -0
  314. package/.next/static/chunks/5074.fc63ed48a3b1a61f.js +1 -0
  315. package/.next/static/chunks/5118-c59568935da468da.js +1 -0
  316. package/.next/static/chunks/532.5956ed631aff722b.js +9 -0
  317. package/.next/static/chunks/5326.69460442bdcd6cd3.js +1 -0
  318. package/.next/static/chunks/5403.ff110bf5bf600758.js +64 -0
  319. package/.next/static/chunks/547.902a733488cfe3f7.js +77 -0
  320. package/.next/static/chunks/5567.540d7fc108ad6ee5.js +215 -0
  321. package/.next/static/chunks/5590.ef62922166d308b4.js +1 -0
  322. package/.next/static/chunks/5690.9d6eb1edb1399995.js +1 -0
  323. package/.next/static/chunks/5749.25faee4a1e55b854.js +226 -0
  324. package/.next/static/chunks/58bb9007.1ccb6bba34b4c635.js +80 -0
  325. package/.next/static/chunks/6121.f3f43f1896ea0cd9.js +1 -0
  326. package/.next/static/chunks/634-ca908c8d0258d9db.js +3 -0
  327. package/.next/static/chunks/6600.583c88eef37aa524.js +1 -0
  328. package/.next/static/chunks/6696.c05e02f280b8186b.js +141 -0
  329. package/.next/static/chunks/6922.42148793782d2fe7.js +1 -0
  330. package/.next/static/chunks/7006.e191611ffc2b9528.js +43 -0
  331. package/.next/static/chunks/7343.9574ac32b87d5050.js +1 -0
  332. package/.next/static/chunks/73972abe.25a4cffa03b2bcef.js +119 -0
  333. package/.next/static/chunks/7547.8caf31f3b18ded65.js +93 -0
  334. package/.next/static/chunks/7648.4ae2f183b4db0353.js +1 -0
  335. package/.next/static/chunks/7874.8db6929b94cdf697.js +1 -0
  336. package/.next/static/chunks/7959.1f20a35df316216a.js +104 -0
  337. package/.next/static/chunks/83.85d62d7fc9850b75.js +29 -0
  338. package/.next/static/chunks/8489.fd81b5e4de9f8431.js +36 -0
  339. package/.next/static/chunks/8568.f85d8b36fc9a9037.js +1 -0
  340. package/.next/static/chunks/8863.be51033a67436277.js +1 -0
  341. package/.next/static/chunks/90542734.ecc36ada79772529.js +1 -0
  342. package/.next/static/chunks/9500.1488aec06ee78127.js +1 -0
  343. package/.next/static/chunks/9633.155548b5fca6e580.js +1 -0
  344. package/.next/static/chunks/9779.673004a62d70e36a.js +1 -0
  345. package/.next/static/chunks/9b0008ae.3afefd8b13735168.js +2 -0
  346. package/.next/static/chunks/app/_global-error/page-6ba03eac42f3d2bb.js +1 -0
  347. package/.next/static/chunks/app/_not-found/page-647d65d4d44f4663.js +1 -0
  348. package/.next/static/chunks/app/api/agent/[id]/events/route-6ba03eac42f3d2bb.js +1 -0
  349. package/.next/static/chunks/app/api/agent/[id]/export.html/route-6ba03eac42f3d2bb.js +1 -0
  350. package/.next/static/chunks/app/api/agent/[id]/route-6ba03eac42f3d2bb.js +1 -0
  351. package/.next/static/chunks/app/api/agent/new/route-6ba03eac42f3d2bb.js +1 -0
  352. package/.next/static/chunks/app/api/auth/all-providers/route-6ba03eac42f3d2bb.js +1 -0
  353. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-6ba03eac42f3d2bb.js +1 -0
  354. package/.next/static/chunks/app/api/auth/login/[provider]/route-6ba03eac42f3d2bb.js +1 -0
  355. package/.next/static/chunks/app/api/auth/logout/[provider]/route-6ba03eac42f3d2bb.js +1 -0
  356. package/.next/static/chunks/app/api/auth/providers/route-6ba03eac42f3d2bb.js +1 -0
  357. package/.next/static/chunks/app/api/cwd/validate/route-6ba03eac42f3d2bb.js +1 -0
  358. package/.next/static/chunks/app/api/default-cwd/route-6ba03eac42f3d2bb.js +1 -0
  359. package/.next/static/chunks/app/api/extensions/route-6ba03eac42f3d2bb.js +1 -0
  360. package/.next/static/chunks/app/api/files/[...path]/route-6ba03eac42f3d2bb.js +1 -0
  361. package/.next/static/chunks/app/api/files/stage/route-6ba03eac42f3d2bb.js +1 -0
  362. package/.next/static/chunks/app/api/git-branch/route-6ba03eac42f3d2bb.js +1 -0
  363. package/.next/static/chunks/app/api/health/route-6ba03eac42f3d2bb.js +1 -0
  364. package/.next/static/chunks/app/api/history/[id]/route-6ba03eac42f3d2bb.js +1 -0
  365. package/.next/static/chunks/app/api/history/route-6ba03eac42f3d2bb.js +1 -0
  366. package/.next/static/chunks/app/api/home/route-6ba03eac42f3d2bb.js +1 -0
  367. package/.next/static/chunks/app/api/models/route-6ba03eac42f3d2bb.js +1 -0
  368. package/.next/static/chunks/app/api/models-config/route-6ba03eac42f3d2bb.js +1 -0
  369. package/.next/static/chunks/app/api/models-config/test/route-6ba03eac42f3d2bb.js +1 -0
  370. package/.next/static/chunks/app/api/notifications/agent-end/route-6ba03eac42f3d2bb.js +1 -0
  371. package/.next/static/chunks/app/api/preferences/route-6ba03eac42f3d2bb.js +1 -0
  372. package/.next/static/chunks/app/api/product-sessions/[id]/route-6ba03eac42f3d2bb.js +1 -0
  373. package/.next/static/chunks/app/api/push/route-6ba03eac42f3d2bb.js +1 -0
  374. package/.next/static/chunks/app/api/remote/audit/route-6ba03eac42f3d2bb.js +1 -0
  375. package/.next/static/chunks/app/api/remote/client/route-6ba03eac42f3d2bb.js +1 -0
  376. package/.next/static/chunks/app/api/remote/pair/route-6ba03eac42f3d2bb.js +1 -0
  377. package/.next/static/chunks/app/api/remote/route-6ba03eac42f3d2bb.js +1 -0
  378. package/.next/static/chunks/app/api/scene-overrides/[sceneId]/route-6ba03eac42f3d2bb.js +1 -0
  379. package/.next/static/chunks/app/api/scene-overrides/export/route-6ba03eac42f3d2bb.js +1 -0
  380. package/.next/static/chunks/app/api/scene-overrides/import/route-6ba03eac42f3d2bb.js +1 -0
  381. package/.next/static/chunks/app/api/scene-overrides/route-6ba03eac42f3d2bb.js +1 -0
  382. package/.next/static/chunks/app/api/sessions/[id]/context/route-6ba03eac42f3d2bb.js +1 -0
  383. package/.next/static/chunks/app/api/sessions/[id]/route-6ba03eac42f3d2bb.js +1 -0
  384. package/.next/static/chunks/app/api/sessions/[id]/share/route-6ba03eac42f3d2bb.js +1 -0
  385. package/.next/static/chunks/app/api/sessions/new/route-6ba03eac42f3d2bb.js +1 -0
  386. package/.next/static/chunks/app/api/sessions/route-6ba03eac42f3d2bb.js +1 -0
  387. package/.next/static/chunks/app/api/settings/default-model/route-6ba03eac42f3d2bb.js +1 -0
  388. package/.next/static/chunks/app/api/share/[token]/route-6ba03eac42f3d2bb.js +1 -0
  389. package/.next/static/chunks/app/api/skills/install/route-6ba03eac42f3d2bb.js +1 -0
  390. package/.next/static/chunks/app/api/skills/route-6ba03eac42f3d2bb.js +1 -0
  391. package/.next/static/chunks/app/api/skills/search/route-6ba03eac42f3d2bb.js +1 -0
  392. package/.next/static/chunks/app/api/usage/route-6ba03eac42f3d2bb.js +1 -0
  393. package/.next/static/chunks/app/api/web-fetch/install-agent-browser/route-6ba03eac42f3d2bb.js +1 -0
  394. package/.next/static/chunks/app/api/web-fetch/preferences/route-6ba03eac42f3d2bb.js +1 -0
  395. package/.next/static/chunks/app/api/web-fetch/status/route-6ba03eac42f3d2bb.js +1 -0
  396. package/.next/static/chunks/app/layout-e74bc51db18cfddb.js +1 -0
  397. package/.next/static/chunks/app/page-0a72cdb03c0de546.js +2 -0
  398. package/.next/static/chunks/app/share/[token]/page-801df8f03e50e9cc.js +1 -0
  399. package/.next/static/chunks/d3ac728e.7964f816a1ca64e5.js +1 -0
  400. package/.next/static/chunks/framework-594babcea68f40f6.js +1 -0
  401. package/.next/static/chunks/main-a301b80fa032f44e.js +5 -0
  402. package/.next/static/chunks/main-app-4543b2d36de0bf44.js +1 -0
  403. package/.next/static/chunks/next/dist/client/components/builtin/app-error-6ba03eac42f3d2bb.js +1 -0
  404. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-6ba03eac42f3d2bb.js +1 -0
  405. package/.next/static/chunks/next/dist/client/components/builtin/global-error-7fe17cf3265b4136.js +1 -0
  406. package/.next/static/chunks/next/dist/client/components/builtin/not-found-6ba03eac42f3d2bb.js +1 -0
  407. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6ba03eac42f3d2bb.js +1 -0
  408. package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  409. package/.next/static/chunks/webpack-bef1f311e5b374f6.js +1 -0
  410. package/.next/static/css/889d8f95f57176c7.css +3 -0
  411. package/.next/static/mO8qg2XV3QxoVaZcobTyc/_buildManifest.js +1 -0
  412. package/.next/static/mO8qg2XV3QxoVaZcobTyc/_ssgManifest.js +1 -0
  413. package/.next/static/media/15605e25b523335c-s.woff2 +0 -0
  414. package/.next/static/media/1a3dce5cfb5f7760-s.woff2 +0 -0
  415. package/.next/static/media/1cdd02902f937a18-s.woff2 +0 -0
  416. package/.next/static/media/4c4b3b30b6bcb2be-s.woff2 +0 -0
  417. package/.next/static/media/641a7b8a5800ee0e-s.woff2 +0 -0
  418. package/.next/static/media/7deddc85b7ffd1dc-s.p.woff2 +0 -0
  419. package/.next/static/media/ec14413c594b3356-s.p.woff2 +0 -0
  420. package/.next/trace +6 -0
  421. package/.next/trace-build +1 -0
  422. package/.next/types/app/api/agent/[id]/events/route.ts +351 -0
  423. package/.next/types/app/api/agent/[id]/export.html/route.ts +351 -0
  424. package/.next/types/app/api/agent/[id]/route.ts +351 -0
  425. package/.next/types/app/api/agent/new/route.ts +351 -0
  426. package/.next/types/app/api/auth/all-providers/route.ts +351 -0
  427. package/.next/types/app/api/auth/api-key/[provider]/route.ts +351 -0
  428. package/.next/types/app/api/auth/login/[provider]/route.ts +351 -0
  429. package/.next/types/app/api/auth/logout/[provider]/route.ts +351 -0
  430. package/.next/types/app/api/auth/providers/route.ts +351 -0
  431. package/.next/types/app/api/cwd/validate/route.ts +351 -0
  432. package/.next/types/app/api/default-cwd/route.ts +351 -0
  433. package/.next/types/app/api/extensions/route.ts +351 -0
  434. package/.next/types/app/api/files/[...path]/route.ts +351 -0
  435. package/.next/types/app/api/files/stage/route.ts +351 -0
  436. package/.next/types/app/api/git-branch/route.ts +351 -0
  437. package/.next/types/app/api/health/route.ts +351 -0
  438. package/.next/types/app/api/history/[id]/route.ts +351 -0
  439. package/.next/types/app/api/history/route.ts +351 -0
  440. package/.next/types/app/api/home/route.ts +351 -0
  441. package/.next/types/app/api/models/route.ts +351 -0
  442. package/.next/types/app/api/models-config/route.ts +351 -0
  443. package/.next/types/app/api/models-config/test/route.ts +351 -0
  444. package/.next/types/app/api/notifications/agent-end/route.ts +351 -0
  445. package/.next/types/app/api/preferences/route.ts +351 -0
  446. package/.next/types/app/api/product-sessions/[id]/route.ts +351 -0
  447. package/.next/types/app/api/push/route.ts +351 -0
  448. package/.next/types/app/api/remote/audit/route.ts +351 -0
  449. package/.next/types/app/api/remote/client/route.ts +351 -0
  450. package/.next/types/app/api/remote/pair/route.ts +351 -0
  451. package/.next/types/app/api/remote/route.ts +351 -0
  452. package/.next/types/app/api/scene-overrides/[sceneId]/route.ts +351 -0
  453. package/.next/types/app/api/scene-overrides/export/route.ts +351 -0
  454. package/.next/types/app/api/scene-overrides/import/route.ts +351 -0
  455. package/.next/types/app/api/scene-overrides/route.ts +351 -0
  456. package/.next/types/app/api/sessions/[id]/context/route.ts +351 -0
  457. package/.next/types/app/api/sessions/[id]/route.ts +351 -0
  458. package/.next/types/app/api/sessions/[id]/share/route.ts +351 -0
  459. package/.next/types/app/api/sessions/new/route.ts +351 -0
  460. package/.next/types/app/api/sessions/route.ts +351 -0
  461. package/.next/types/app/api/settings/default-model/route.ts +351 -0
  462. package/.next/types/app/api/share/[token]/route.ts +351 -0
  463. package/.next/types/app/api/skills/install/route.ts +351 -0
  464. package/.next/types/app/api/skills/route.ts +351 -0
  465. package/.next/types/app/api/skills/search/route.ts +351 -0
  466. package/.next/types/app/api/usage/route.ts +351 -0
  467. package/.next/types/app/api/web-fetch/install-agent-browser/route.ts +351 -0
  468. package/.next/types/app/api/web-fetch/preferences/route.ts +351 -0
  469. package/.next/types/app/api/web-fetch/status/route.ts +351 -0
  470. package/.next/types/app/page.ts +87 -0
  471. package/.next/types/app/share/[token]/page.ts +87 -0
  472. package/.next/types/cache-life.d.ts +145 -0
  473. package/.next/types/package.json +1 -0
  474. package/.next/types/routes.d.ts +121 -0
  475. package/.next/types/validator.ts +511 -0
  476. package/LICENSE +21 -0
  477. package/README.md +142 -0
  478. package/bin/pi-app.js +113 -0
  479. package/next.config.ts +61 -0
  480. package/package.json +78 -0
  481. package/public/icon.svg +4 -0
  482. package/public/manifest.webmanifest +18 -0
  483. package/public/pdf.worker.min.mjs +21 -0
  484. package/public/sw.js +63 -0
@@ -0,0 +1,87 @@
1
+ // File: /Users/mk/codespace/pi-web/app/page.tsx
2
+ import * as entry from '../../../app/page.js'
3
+ import type { ResolvingMetadata, ResolvingViewport } from 'next/dist/lib/metadata/types/metadata-interface.js'
4
+
5
+ import type { InstantConfigForTypeCheckInternal } from 'next/dist/build/segment-config/app/app-segment-config.js'
6
+
7
+ type TEntry = typeof import('../../../app/page.js')
8
+
9
+ type SegmentParams<T extends Object = any> = T extends Record<string, any>
10
+ ? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
11
+ : T
12
+
13
+ // Check that the entry is a valid entry
14
+ checkFields<Diff<{
15
+ default: Function
16
+ config?: {}
17
+ generateStaticParams?: Function
18
+ unstable_instant?: InstantConfigForTypeCheckInternal
19
+ unstable_dynamicStaleTime?: number
20
+ revalidate?: RevalidateRange<TEntry> | false
21
+ dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
22
+ dynamicParams?: boolean
23
+ fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
24
+ preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
25
+ runtime?: 'nodejs' | 'experimental-edge' | 'edge'
26
+ maxDuration?: number
27
+
28
+ metadata?: any
29
+ generateMetadata?: Function
30
+ viewport?: any
31
+ generateViewport?: Function
32
+
33
+ }, TEntry, ''>>()
34
+
35
+
36
+ // Check the prop type of the entry function
37
+ checkFields<Diff<PageProps, FirstArg<TEntry['default']>, 'default'>>()
38
+
39
+ // Check the arguments and return type of the generateMetadata function
40
+ if ('generateMetadata' in entry) {
41
+ checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
42
+ checkFields<Diff<ResolvingMetadata, SecondArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
43
+ }
44
+
45
+ // Check the arguments and return type of the generateViewport function
46
+ if ('generateViewport' in entry) {
47
+ checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
48
+ checkFields<Diff<ResolvingViewport, SecondArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
49
+ }
50
+
51
+ // Check the arguments and return type of the generateStaticParams function
52
+ if ('generateStaticParams' in entry) {
53
+ checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
54
+ checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
55
+ }
56
+
57
+ export interface PageProps {
58
+ params?: Promise<SegmentParams>
59
+ searchParams?: Promise<any>
60
+ }
61
+ export interface LayoutProps {
62
+ children?: React.ReactNode
63
+
64
+ params?: Promise<SegmentParams>
65
+ }
66
+
67
+ // =============
68
+ // Utility types
69
+ type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
70
+
71
+ // If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
72
+ type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
73
+ type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
74
+
75
+ type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
76
+ type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
77
+ type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
78
+
79
+
80
+
81
+ function checkFields<_ extends { [k in keyof any]: never }>() {}
82
+
83
+ // https://github.com/sindresorhus/type-fest
84
+ type Numeric = number | bigint
85
+ type Zero = 0 | 0n
86
+ type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
87
+ type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
@@ -0,0 +1,87 @@
1
+ // File: /Users/mk/codespace/pi-web/app/share/[token]/page.tsx
2
+ import * as entry from '../../../../../app/share/[token]/page.js'
3
+ import type { ResolvingMetadata, ResolvingViewport } from 'next/dist/lib/metadata/types/metadata-interface.js'
4
+
5
+ import type { InstantConfigForTypeCheckInternal } from 'next/dist/build/segment-config/app/app-segment-config.js'
6
+
7
+ type TEntry = typeof import('../../../../../app/share/[token]/page.js')
8
+
9
+ type SegmentParams<T extends Object = any> = T extends Record<string, any>
10
+ ? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
11
+ : T
12
+
13
+ // Check that the entry is a valid entry
14
+ checkFields<Diff<{
15
+ default: Function
16
+ config?: {}
17
+ generateStaticParams?: Function
18
+ unstable_instant?: InstantConfigForTypeCheckInternal
19
+ unstable_dynamicStaleTime?: number
20
+ revalidate?: RevalidateRange<TEntry> | false
21
+ dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
22
+ dynamicParams?: boolean
23
+ fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
24
+ preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
25
+ runtime?: 'nodejs' | 'experimental-edge' | 'edge'
26
+ maxDuration?: number
27
+
28
+ metadata?: any
29
+ generateMetadata?: Function
30
+ viewport?: any
31
+ generateViewport?: Function
32
+
33
+ }, TEntry, ''>>()
34
+
35
+
36
+ // Check the prop type of the entry function
37
+ checkFields<Diff<PageProps, FirstArg<TEntry['default']>, 'default'>>()
38
+
39
+ // Check the arguments and return type of the generateMetadata function
40
+ if ('generateMetadata' in entry) {
41
+ checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
42
+ checkFields<Diff<ResolvingMetadata, SecondArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
43
+ }
44
+
45
+ // Check the arguments and return type of the generateViewport function
46
+ if ('generateViewport' in entry) {
47
+ checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
48
+ checkFields<Diff<ResolvingViewport, SecondArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
49
+ }
50
+
51
+ // Check the arguments and return type of the generateStaticParams function
52
+ if ('generateStaticParams' in entry) {
53
+ checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
54
+ checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
55
+ }
56
+
57
+ export interface PageProps {
58
+ params?: Promise<SegmentParams>
59
+ searchParams?: Promise<any>
60
+ }
61
+ export interface LayoutProps {
62
+ children?: React.ReactNode
63
+
64
+ params?: Promise<SegmentParams>
65
+ }
66
+
67
+ // =============
68
+ // Utility types
69
+ type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
70
+
71
+ // If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
72
+ type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
73
+ type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
74
+
75
+ type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
76
+ type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
77
+ type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
78
+
79
+
80
+
81
+ function checkFields<_ extends { [k in keyof any]: never }>() {}
82
+
83
+ // https://github.com/sindresorhus/type-fest
84
+ type Numeric = number | bigint
85
+ type Zero = 0 | 0n
86
+ type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
87
+ type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
@@ -0,0 +1,145 @@
1
+ // Type definitions for Next.js cacheLife configs
2
+
3
+ declare module 'next/cache' {
4
+ export { unstable_cache } from 'next/dist/server/web/spec-extension/unstable-cache'
5
+ export {
6
+ updateTag,
7
+ revalidateTag,
8
+ revalidatePath,
9
+ refresh,
10
+ } from 'next/dist/server/web/spec-extension/revalidate'
11
+ export { unstable_noStore } from 'next/dist/server/web/spec-extension/unstable-no-store'
12
+
13
+
14
+ /**
15
+ * Cache this `"use cache"` for a timespan defined by the `"default"` profile.
16
+ * ```
17
+ * stale: 300 seconds (5 minutes)
18
+ * revalidate: 900 seconds (15 minutes)
19
+ * expire: never
20
+ * ```
21
+ *
22
+ * This cache may be stale on clients for 5 minutes before checking with the server.
23
+ * If the server receives a new request after 15 minutes, start revalidating new values in the background.
24
+ * It lives for the maximum age of the server cache. If this entry has no traffic for a while, it may serve an old value the next request.
25
+ */
26
+ export function cacheLife(profile: "default"): void
27
+
28
+ /**
29
+ * Cache this `"use cache"` for a timespan defined by the `"seconds"` profile.
30
+ * ```
31
+ * stale: 30 seconds
32
+ * revalidate: 1 seconds
33
+ * expire: 60 seconds (1 minute)
34
+ * ```
35
+ *
36
+ * This cache may be stale on clients for 30 seconds before checking with the server.
37
+ * If the server receives a new request after 1 seconds, start revalidating new values in the background.
38
+ * If this entry has no traffic for 1 minute it will expire. The next request will recompute it.
39
+ */
40
+ export function cacheLife(profile: "seconds"): void
41
+
42
+ /**
43
+ * Cache this `"use cache"` for a timespan defined by the `"minutes"` profile.
44
+ * ```
45
+ * stale: 300 seconds (5 minutes)
46
+ * revalidate: 60 seconds (1 minute)
47
+ * expire: 3600 seconds (1 hour)
48
+ * ```
49
+ *
50
+ * This cache may be stale on clients for 5 minutes before checking with the server.
51
+ * If the server receives a new request after 1 minute, start revalidating new values in the background.
52
+ * If this entry has no traffic for 1 hour it will expire. The next request will recompute it.
53
+ */
54
+ export function cacheLife(profile: "minutes"): void
55
+
56
+ /**
57
+ * Cache this `"use cache"` for a timespan defined by the `"hours"` profile.
58
+ * ```
59
+ * stale: 300 seconds (5 minutes)
60
+ * revalidate: 3600 seconds (1 hour)
61
+ * expire: 86400 seconds (1 day)
62
+ * ```
63
+ *
64
+ * This cache may be stale on clients for 5 minutes before checking with the server.
65
+ * If the server receives a new request after 1 hour, start revalidating new values in the background.
66
+ * If this entry has no traffic for 1 day it will expire. The next request will recompute it.
67
+ */
68
+ export function cacheLife(profile: "hours"): void
69
+
70
+ /**
71
+ * Cache this `"use cache"` for a timespan defined by the `"days"` profile.
72
+ * ```
73
+ * stale: 300 seconds (5 minutes)
74
+ * revalidate: 86400 seconds (1 day)
75
+ * expire: 604800 seconds (1 week)
76
+ * ```
77
+ *
78
+ * This cache may be stale on clients for 5 minutes before checking with the server.
79
+ * If the server receives a new request after 1 day, start revalidating new values in the background.
80
+ * If this entry has no traffic for 1 week it will expire. The next request will recompute it.
81
+ */
82
+ export function cacheLife(profile: "days"): void
83
+
84
+ /**
85
+ * Cache this `"use cache"` for a timespan defined by the `"weeks"` profile.
86
+ * ```
87
+ * stale: 300 seconds (5 minutes)
88
+ * revalidate: 604800 seconds (1 week)
89
+ * expire: 2592000 seconds (1 month)
90
+ * ```
91
+ *
92
+ * This cache may be stale on clients for 5 minutes before checking with the server.
93
+ * If the server receives a new request after 1 week, start revalidating new values in the background.
94
+ * If this entry has no traffic for 1 month it will expire. The next request will recompute it.
95
+ */
96
+ export function cacheLife(profile: "weeks"): void
97
+
98
+ /**
99
+ * Cache this `"use cache"` for a timespan defined by the `"max"` profile.
100
+ * ```
101
+ * stale: 300 seconds (5 minutes)
102
+ * revalidate: 2592000 seconds (1 month)
103
+ * expire: 31536000 seconds (365 days)
104
+ * ```
105
+ *
106
+ * This cache may be stale on clients for 5 minutes before checking with the server.
107
+ * If the server receives a new request after 1 month, start revalidating new values in the background.
108
+ * If this entry has no traffic for 365 days it will expire. The next request will recompute it.
109
+ */
110
+ export function cacheLife(profile: "max"): void
111
+
112
+ /**
113
+ * Cache this `"use cache"` using a custom timespan.
114
+ * ```
115
+ * stale: ... // seconds
116
+ * revalidate: ... // seconds
117
+ * expire: ... // seconds
118
+ * ```
119
+ *
120
+ * This is similar to Cache-Control: max-age=`stale`,s-max-age=`revalidate`,stale-while-revalidate=`expire-revalidate`
121
+ *
122
+ * If a value is left out, the lowest of other cacheLife() calls or the default, is used instead.
123
+ */
124
+ export function cacheLife(profile: {
125
+ /**
126
+ * This cache may be stale on clients for ... seconds before checking with the server.
127
+ */
128
+ stale?: number,
129
+ /**
130
+ * If the server receives a new request after ... seconds, start revalidating new values in the background.
131
+ */
132
+ revalidate?: number,
133
+ /**
134
+ * If this entry has no traffic for ... seconds it will expire. The next request will recompute it.
135
+ */
136
+ expire?: number
137
+ }): void
138
+
139
+
140
+ import { cacheTag } from 'next/dist/server/use-cache/cache-tag'
141
+ export { cacheTag }
142
+
143
+ export const unstable_cacheTag: typeof cacheTag
144
+ export const unstable_cacheLife: typeof cacheLife
145
+ }
@@ -0,0 +1 @@
1
+ {"type": "module"}
@@ -0,0 +1,121 @@
1
+ // This file is generated automatically by Next.js
2
+ // Do not edit this file manually
3
+
4
+ type AppRoutes = "/" | "/share/[token]"
5
+ type AppRouteHandlerRoutes = "/api/agent/[id]" | "/api/agent/[id]/events" | "/api/agent/[id]/export.html" | "/api/agent/new" | "/api/auth/all-providers" | "/api/auth/api-key/[provider]" | "/api/auth/login/[provider]" | "/api/auth/logout/[provider]" | "/api/auth/providers" | "/api/cwd/validate" | "/api/default-cwd" | "/api/extensions" | "/api/files/[...path]" | "/api/files/stage" | "/api/git-branch" | "/api/health" | "/api/history" | "/api/history/[id]" | "/api/home" | "/api/models" | "/api/models-config" | "/api/models-config/test" | "/api/notifications/agent-end" | "/api/preferences" | "/api/product-sessions/[id]" | "/api/push" | "/api/remote" | "/api/remote/audit" | "/api/remote/client" | "/api/remote/pair" | "/api/scene-overrides" | "/api/scene-overrides/[sceneId]" | "/api/scene-overrides/export" | "/api/scene-overrides/import" | "/api/sessions" | "/api/sessions/[id]" | "/api/sessions/[id]/context" | "/api/sessions/[id]/share" | "/api/sessions/new" | "/api/settings/default-model" | "/api/share/[token]" | "/api/skills" | "/api/skills/install" | "/api/skills/search" | "/api/usage" | "/api/web-fetch/install-agent-browser" | "/api/web-fetch/preferences" | "/api/web-fetch/status"
6
+ type PageRoutes = never
7
+ type LayoutRoutes = "/"
8
+ type RedirectRoutes = never
9
+ type RewriteRoutes = never
10
+ type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes | AppRouteHandlerRoutes
11
+
12
+
13
+ interface ParamMap {
14
+ "/": {}
15
+ "/api/agent/[id]": { "id": string; }
16
+ "/api/agent/[id]/events": { "id": string; }
17
+ "/api/agent/[id]/export.html": { "id": string; }
18
+ "/api/agent/new": {}
19
+ "/api/auth/all-providers": {}
20
+ "/api/auth/api-key/[provider]": { "provider": string; }
21
+ "/api/auth/login/[provider]": { "provider": string; }
22
+ "/api/auth/logout/[provider]": { "provider": string; }
23
+ "/api/auth/providers": {}
24
+ "/api/cwd/validate": {}
25
+ "/api/default-cwd": {}
26
+ "/api/extensions": {}
27
+ "/api/files/[...path]": { "path": string[]; }
28
+ "/api/files/stage": {}
29
+ "/api/git-branch": {}
30
+ "/api/health": {}
31
+ "/api/history": {}
32
+ "/api/history/[id]": { "id": string; }
33
+ "/api/home": {}
34
+ "/api/models": {}
35
+ "/api/models-config": {}
36
+ "/api/models-config/test": {}
37
+ "/api/notifications/agent-end": {}
38
+ "/api/preferences": {}
39
+ "/api/product-sessions/[id]": { "id": string; }
40
+ "/api/push": {}
41
+ "/api/remote": {}
42
+ "/api/remote/audit": {}
43
+ "/api/remote/client": {}
44
+ "/api/remote/pair": {}
45
+ "/api/scene-overrides": {}
46
+ "/api/scene-overrides/[sceneId]": { "sceneId": string; }
47
+ "/api/scene-overrides/export": {}
48
+ "/api/scene-overrides/import": {}
49
+ "/api/sessions": {}
50
+ "/api/sessions/[id]": { "id": string; }
51
+ "/api/sessions/[id]/context": { "id": string; }
52
+ "/api/sessions/[id]/share": { "id": string; }
53
+ "/api/sessions/new": {}
54
+ "/api/settings/default-model": {}
55
+ "/api/share/[token]": { "token": string; }
56
+ "/api/skills": {}
57
+ "/api/skills/install": {}
58
+ "/api/skills/search": {}
59
+ "/api/usage": {}
60
+ "/api/web-fetch/install-agent-browser": {}
61
+ "/api/web-fetch/preferences": {}
62
+ "/api/web-fetch/status": {}
63
+ "/share/[token]": { "token": string; }
64
+ }
65
+
66
+
67
+ export type ParamsOf<Route extends Routes> = ParamMap[Route]
68
+
69
+ interface LayoutSlotMap {
70
+ "/": never
71
+ }
72
+
73
+
74
+ export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap, AppRouteHandlerRoutes }
75
+
76
+ declare global {
77
+ /**
78
+ * Props for Next.js App Router page components
79
+ * @example
80
+ * ```tsx
81
+ * export default function Page(props: PageProps<'/blog/[slug]'>) {
82
+ * const { slug } = await props.params
83
+ * return <div>Blog post: {slug}</div>
84
+ * }
85
+ * ```
86
+ */
87
+ interface PageProps<AppRoute extends AppRoutes> {
88
+ params: Promise<ParamMap[AppRoute]>
89
+ searchParams: Promise<Record<string, string | string[] | undefined>>
90
+ }
91
+
92
+ /**
93
+ * Props for Next.js App Router layout components
94
+ * @example
95
+ * ```tsx
96
+ * export default function Layout(props: LayoutProps<'/dashboard'>) {
97
+ * return <div>{props.children}</div>
98
+ * }
99
+ * ```
100
+ */
101
+ type LayoutProps<LayoutRoute extends LayoutRoutes> = {
102
+ params: Promise<ParamMap[LayoutRoute]>
103
+ children: React.ReactNode
104
+ } & {
105
+ [K in LayoutSlotMap[LayoutRoute]]: React.ReactNode
106
+ }
107
+
108
+ /**
109
+ * Context for Next.js App Router route handlers
110
+ * @example
111
+ * ```tsx
112
+ * export async function GET(request: NextRequest, context: RouteContext<'/api/users/[id]'>) {
113
+ * const { id } = await context.params
114
+ * return Response.json({ id })
115
+ * }
116
+ * ```
117
+ */
118
+ interface RouteContext<AppRouteHandlerRoute extends AppRouteHandlerRoutes> {
119
+ params: Promise<ParamMap[AppRouteHandlerRoute]>
120
+ }
121
+ }