@colinxu/pi-web-classic 0.0.0-stage → 0.12.3

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 (691) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +75 -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 +157 -0
  12. package/.next/react-loadable-manifest.json +401 -0
  13. package/.next/required-server-files.js +398 -0
  14. package/.next/required-server-files.json +398 -0
  15. package/.next/routes-manifest.json +561 -0
  16. package/.next/server/app/_global-error/page.js +31 -0
  17. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -0
  18. package/.next/server/app/_global-error.html +1 -0
  19. package/.next/server/app/_global-error.meta +35 -0
  20. package/.next/server/app/_global-error.rsc +14 -0
  21. package/.next/server/app/_global-error.segments/_full.segment.rsc +14 -0
  22. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +20 -0
  23. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  24. package/.next/server/app/_not-found/page.js +1 -0
  25. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  26. package/.next/server/app/_not-found.html +1 -0
  27. package/.next/server/app/_not-found.meta +35 -0
  28. package/.next/server/app/_not-found.rsc +22 -0
  29. package/.next/server/app/_not-found.segments/_full.segment.rsc +22 -0
  30. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +28 -0
  31. package/.next/server/app/_not-found.segments/_tree.segment.rsc +7 -0
  32. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -0
  33. package/.next/server/app/api/agent/[id]/bash-output/route_client-reference-manifest.js +1 -0
  34. package/.next/server/app/api/agent/[id]/events/route.js +3 -0
  35. package/.next/server/app/api/agent/[id]/events/route_client-reference-manifest.js +1 -0
  36. package/.next/server/app/api/agent/[id]/lease/route.js +1 -0
  37. package/.next/server/app/api/agent/[id]/lease/route_client-reference-manifest.js +1 -0
  38. package/.next/server/app/api/agent/[id]/route.js +1 -0
  39. package/.next/server/app/api/agent/[id]/route_client-reference-manifest.js +1 -0
  40. package/.next/server/app/api/agent/new/route.js +1 -0
  41. package/.next/server/app/api/agent/new/route_client-reference-manifest.js +1 -0
  42. package/.next/server/app/api/agent/running/route.js +1 -0
  43. package/.next/server/app/api/agent/running/route_client-reference-manifest.js +1 -0
  44. package/.next/server/app/api/app-update/route.js +1 -0
  45. package/.next/server/app/api/app-update/route_client-reference-manifest.js +1 -0
  46. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -0
  47. package/.next/server/app/api/auth/api-key/[provider]/route_client-reference-manifest.js +1 -0
  48. package/.next/server/app/api/auth/login/[provider]/route.js +3 -0
  49. package/.next/server/app/api/auth/login/[provider]/route_client-reference-manifest.js +1 -0
  50. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -0
  51. package/.next/server/app/api/auth/logout/[provider]/route_client-reference-manifest.js +1 -0
  52. package/.next/server/app/api/auth/providers/route.js +1 -0
  53. package/.next/server/app/api/auth/providers/route_client-reference-manifest.js +1 -0
  54. package/.next/server/app/api/cache-miss-notices/route.js +1 -0
  55. package/.next/server/app/api/cache-miss-notices/route_client-reference-manifest.js +1 -0
  56. package/.next/server/app/api/cwd/browse/route.js +1 -0
  57. package/.next/server/app/api/cwd/browse/route_client-reference-manifest.js +1 -0
  58. package/.next/server/app/api/cwd/validate/route.js +1 -0
  59. package/.next/server/app/api/cwd/validate/route_client-reference-manifest.js +1 -0
  60. package/.next/server/app/api/default-cwd/route.js +1 -0
  61. package/.next/server/app/api/default-cwd/route_client-reference-manifest.js +1 -0
  62. package/.next/server/app/api/file-index/route.js +1 -0
  63. package/.next/server/app/api/file-index/route_client-reference-manifest.js +1 -0
  64. package/.next/server/app/api/files/[...path]/route.js +49 -0
  65. package/.next/server/app/api/files/[...path]/route_client-reference-manifest.js +1 -0
  66. package/.next/server/app/api/git/diff/route.js +6 -0
  67. package/.next/server/app/api/git/diff/route_client-reference-manifest.js +1 -0
  68. package/.next/server/app/api/git/status/route.js +6 -0
  69. package/.next/server/app/api/git/status/route_client-reference-manifest.js +1 -0
  70. package/.next/server/app/api/home/route.js +1 -0
  71. package/.next/server/app/api/home/route_client-reference-manifest.js +1 -0
  72. package/.next/server/app/api/mcp/route.js +2 -0
  73. package/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -0
  74. package/.next/server/app/api/mcp/sign-in/[flowId]/route.js +1 -0
  75. package/.next/server/app/api/mcp/sign-in/[flowId]/route_client-reference-manifest.js +1 -0
  76. package/.next/server/app/api/mcp/sign-in/route.js +1 -0
  77. package/.next/server/app/api/mcp/sign-in/route_client-reference-manifest.js +1 -0
  78. package/.next/server/app/api/mcp/test/route.js +1 -0
  79. package/.next/server/app/api/mcp/test/route_client-reference-manifest.js +1 -0
  80. package/.next/server/app/api/models/default/route.js +1 -0
  81. package/.next/server/app/api/models/default/route_client-reference-manifest.js +1 -0
  82. package/.next/server/app/api/models/enabled/route.js +1 -0
  83. package/.next/server/app/api/models/enabled/route_client-reference-manifest.js +1 -0
  84. package/.next/server/app/api/models/refresh/route.js +1 -0
  85. package/.next/server/app/api/models/refresh/route_client-reference-manifest.js +1 -0
  86. package/.next/server/app/api/models/route.js +1 -0
  87. package/.next/server/app/api/models/route_client-reference-manifest.js +1 -0
  88. package/.next/server/app/api/models-config/catalog/route.js +1 -0
  89. package/.next/server/app/api/models-config/catalog/route_client-reference-manifest.js +1 -0
  90. package/.next/server/app/api/models-config/discover/route.js +1 -0
  91. package/.next/server/app/api/models-config/discover/route_client-reference-manifest.js +1 -0
  92. package/.next/server/app/api/models-config/route.js +1 -0
  93. package/.next/server/app/api/models-config/route_client-reference-manifest.js +1 -0
  94. package/.next/server/app/api/models-config/test/route.js +1 -0
  95. package/.next/server/app/api/models-config/test/route_client-reference-manifest.js +1 -0
  96. package/.next/server/app/api/open-in-explorer/route.js +1 -0
  97. package/.next/server/app/api/open-in-explorer/route_client-reference-manifest.js +1 -0
  98. package/.next/server/app/api/plugins/check/route.js +1 -0
  99. package/.next/server/app/api/plugins/check/route_client-reference-manifest.js +1 -0
  100. package/.next/server/app/api/plugins/route.js +1 -0
  101. package/.next/server/app/api/plugins/route_client-reference-manifest.js +1 -0
  102. package/.next/server/app/api/project-trust/route.js +1 -0
  103. package/.next/server/app/api/project-trust/route_client-reference-manifest.js +1 -0
  104. package/.next/server/app/api/provider-usage/query/route.js +1 -0
  105. package/.next/server/app/api/provider-usage/query/route_client-reference-manifest.js +1 -0
  106. package/.next/server/app/api/push/config/route.js +1 -0
  107. package/.next/server/app/api/push/config/route_client-reference-manifest.js +1 -0
  108. package/.next/server/app/api/push/subscribe/route.js +1 -0
  109. package/.next/server/app/api/push/subscribe/route_client-reference-manifest.js +1 -0
  110. package/.next/server/app/api/sessions/[id]/auto-name/route.js +11 -0
  111. package/.next/server/app/api/sessions/[id]/auto-name/route_client-reference-manifest.js +1 -0
  112. package/.next/server/app/api/sessions/[id]/context/route.js +1 -0
  113. package/.next/server/app/api/sessions/[id]/context/route_client-reference-manifest.js +1 -0
  114. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -0
  115. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route_client-reference-manifest.js +1 -0
  116. package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.js +1 -0
  117. package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route_client-reference-manifest.js +1 -0
  118. package/.next/server/app/api/sessions/[id]/export/route.js +54 -0
  119. package/.next/server/app/api/sessions/[id]/export/route_client-reference-manifest.js +1 -0
  120. package/.next/server/app/api/sessions/[id]/fork/route.js +1 -0
  121. package/.next/server/app/api/sessions/[id]/fork/route_client-reference-manifest.js +1 -0
  122. package/.next/server/app/api/sessions/[id]/route.js +1 -0
  123. package/.next/server/app/api/sessions/[id]/route_client-reference-manifest.js +1 -0
  124. package/.next/server/app/api/sessions/[id]/state/route.js +1 -0
  125. package/.next/server/app/api/sessions/[id]/state/route_client-reference-manifest.js +1 -0
  126. package/.next/server/app/api/sessions/delete/route.js +1 -0
  127. package/.next/server/app/api/sessions/delete/route_client-reference-manifest.js +1 -0
  128. package/.next/server/app/api/sessions/route.js +1 -0
  129. package/.next/server/app/api/sessions/route_client-reference-manifest.js +1 -0
  130. package/.next/server/app/api/sessions/search/route.js +1 -0
  131. package/.next/server/app/api/sessions/search/route_client-reference-manifest.js +1 -0
  132. package/.next/server/app/api/sessions/stats/route.js +1 -0
  133. package/.next/server/app/api/sessions/stats/route_client-reference-manifest.js +1 -0
  134. package/.next/server/app/api/sessions/ui-state/route.js +1 -0
  135. package/.next/server/app/api/sessions/ui-state/route_client-reference-manifest.js +1 -0
  136. package/.next/server/app/api/skills/check/route.js +1 -0
  137. package/.next/server/app/api/skills/check/route_client-reference-manifest.js +1 -0
  138. package/.next/server/app/api/skills/content/route.js +1 -0
  139. package/.next/server/app/api/skills/content/route_client-reference-manifest.js +1 -0
  140. package/.next/server/app/api/skills/install/route.js +1 -0
  141. package/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -0
  142. package/.next/server/app/api/skills/route.js +4 -0
  143. package/.next/server/app/api/skills/route_client-reference-manifest.js +1 -0
  144. package/.next/server/app/api/skills/search/route.js +1 -0
  145. package/.next/server/app/api/skills/search/route_client-reference-manifest.js +1 -0
  146. package/.next/server/app/api/skills/update/route.js +1 -0
  147. package/.next/server/app/api/skills/update/route_client-reference-manifest.js +1 -0
  148. package/.next/server/app/api/subagents/[id]/route.js +1 -0
  149. package/.next/server/app/api/subagents/[id]/route_client-reference-manifest.js +1 -0
  150. package/.next/server/app/api/subagents/profiles/route.js +1 -0
  151. package/.next/server/app/api/subagents/profiles/route_client-reference-manifest.js +1 -0
  152. package/.next/server/app/api/subagents/settings/route.js +1 -0
  153. package/.next/server/app/api/subagents/settings/route_client-reference-manifest.js +1 -0
  154. package/.next/server/app/api/terminal/[id]/events/route.js +4 -0
  155. package/.next/server/app/api/terminal/[id]/events/route_client-reference-manifest.js +1 -0
  156. package/.next/server/app/api/terminal/[id]/route.js +1 -0
  157. package/.next/server/app/api/terminal/[id]/route_client-reference-manifest.js +1 -0
  158. package/.next/server/app/api/terminal/route.js +1 -0
  159. package/.next/server/app/api/terminal/route_client-reference-manifest.js +1 -0
  160. package/.next/server/app/api/tools/settings/route.js +1 -0
  161. package/.next/server/app/api/tools/settings/route_client-reference-manifest.js +1 -0
  162. package/.next/server/app/api/web-auth/route.js +1 -0
  163. package/.next/server/app/api/web-auth/route_client-reference-manifest.js +1 -0
  164. package/.next/server/app/api/worktrees/route.js +1 -0
  165. package/.next/server/app/api/worktrees/route_client-reference-manifest.js +1 -0
  166. package/.next/server/app/favicon.ico/route.js +1 -0
  167. package/.next/server/app/favicon.ico.body +0 -0
  168. package/.next/server/app/favicon.ico.meta +1 -0
  169. package/.next/server/app/index.html +1 -0
  170. package/.next/server/app/index.meta +29 -0
  171. package/.next/server/app/index.rsc +23 -0
  172. package/.next/server/app/index.segments/__PAGE__.segment.rsc +27 -0
  173. package/.next/server/app/index.segments/_full.segment.rsc +23 -0
  174. package/.next/server/app/index.segments/_tree.segment.rsc +8 -0
  175. package/.next/server/app/login/page.js +1 -0
  176. package/.next/server/app/login/page_client-reference-manifest.js +1 -0
  177. package/.next/server/app/login.html +1 -0
  178. package/.next/server/app/login.meta +34 -0
  179. package/.next/server/app/login.rsc +26 -0
  180. package/.next/server/app/login.segments/_full.segment.rsc +26 -0
  181. package/.next/server/app/login.segments/_tree.segment.rsc +7 -0
  182. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +32 -0
  183. package/.next/server/app/manifest.webmanifest/route.js +17 -0
  184. package/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -0
  185. package/.next/server/app/page.js +309 -0
  186. package/.next/server/app/page_client-reference-manifest.js +1 -0
  187. package/.next/server/app-paths-manifest.json +75 -0
  188. package/.next/server/chunks/11.js +1 -0
  189. package/.next/server/chunks/1207.js +1 -0
  190. package/.next/server/chunks/1286.js +1 -0
  191. package/.next/server/chunks/1412.js +38 -0
  192. package/.next/server/chunks/1605.js +1 -0
  193. package/.next/server/chunks/169.js +1 -0
  194. package/.next/server/chunks/18.js +86 -0
  195. package/.next/server/chunks/1813.js +1 -0
  196. package/.next/server/chunks/1906.js +1 -0
  197. package/.next/server/chunks/2022.js +1 -0
  198. package/.next/server/chunks/2069.js +1 -0
  199. package/.next/server/chunks/2156.js +1 -0
  200. package/.next/server/chunks/2157.js +1 -0
  201. package/.next/server/chunks/2243.js +1 -0
  202. package/.next/server/chunks/2325.js +82 -0
  203. package/.next/server/chunks/2430.js +193 -0
  204. package/.next/server/chunks/2498.js +1 -0
  205. package/.next/server/chunks/27.js +1 -0
  206. package/.next/server/chunks/2838.js +1 -0
  207. package/.next/server/chunks/2897.js +79 -0
  208. package/.next/server/chunks/2970.js +165 -0
  209. package/.next/server/chunks/3227.js +1 -0
  210. package/.next/server/chunks/3266.js +1 -0
  211. package/.next/server/chunks/3379.js +1 -0
  212. package/.next/server/chunks/3428.js +32 -0
  213. package/.next/server/chunks/3479.js +1 -0
  214. package/.next/server/chunks/3618.js +1 -0
  215. package/.next/server/chunks/367.js +115 -0
  216. package/.next/server/chunks/3698.js +93 -0
  217. package/.next/server/chunks/3709.js +148 -0
  218. package/.next/server/chunks/3757.js +1 -0
  219. package/.next/server/chunks/3824.js +1 -0
  220. package/.next/server/chunks/4107.js +62 -0
  221. package/.next/server/chunks/426.js +14 -0
  222. package/.next/server/chunks/4569.js +34 -0
  223. package/.next/server/chunks/4698.js +1 -0
  224. package/.next/server/chunks/4755.js +153 -0
  225. package/.next/server/chunks/4815.js +3 -0
  226. package/.next/server/chunks/5002.js +1 -0
  227. package/.next/server/chunks/5112.js +1 -0
  228. package/.next/server/chunks/5289.js +8 -0
  229. package/.next/server/chunks/5318.js +1 -0
  230. package/.next/server/chunks/5452.js +23 -0
  231. package/.next/server/chunks/5453.js +1 -0
  232. package/.next/server/chunks/5582.js +8 -0
  233. package/.next/server/chunks/5749.js +27 -0
  234. package/.next/server/chunks/5782.js +36 -0
  235. package/.next/server/chunks/6163.js +104 -0
  236. package/.next/server/chunks/6169.js +64 -0
  237. package/.next/server/chunks/6208.js +172 -0
  238. package/.next/server/chunks/6399.js +24 -0
  239. package/.next/server/chunks/6429.js +32 -0
  240. package/.next/server/chunks/6496.js +1 -0
  241. package/.next/server/chunks/6686.js +1 -0
  242. package/.next/server/chunks/6823.js +215 -0
  243. package/.next/server/chunks/6888.js +1 -0
  244. package/.next/server/chunks/6953.js +1 -0
  245. package/.next/server/chunks/7245.js +77 -0
  246. package/.next/server/chunks/7307.js +1 -0
  247. package/.next/server/chunks/7372.js +287 -0
  248. package/.next/server/chunks/7384.js +226 -0
  249. package/.next/server/chunks/7492.js +1 -0
  250. package/.next/server/chunks/7516.js +1 -0
  251. package/.next/server/chunks/7531.js +24 -0
  252. package/.next/server/chunks/7591.js +1 -0
  253. package/.next/server/chunks/7755.js +138 -0
  254. package/.next/server/chunks/7916.js +1 -0
  255. package/.next/server/chunks/8078.js +94 -0
  256. package/.next/server/chunks/8253.js +41 -0
  257. package/.next/server/chunks/8635.js +1 -0
  258. package/.next/server/chunks/8637.js +1 -0
  259. package/.next/server/chunks/8688.js +1 -0
  260. package/.next/server/chunks/8872.js +1 -0
  261. package/.next/server/chunks/9006.js +1 -0
  262. package/.next/server/chunks/9018.js +1 -0
  263. package/.next/server/chunks/9047.js +1 -0
  264. package/.next/server/chunks/9108.js +1 -0
  265. package/.next/server/chunks/9165.js +1 -0
  266. package/.next/server/chunks/9280.js +256 -0
  267. package/.next/server/chunks/9419.js +1 -0
  268. package/.next/server/chunks/9430.js +1 -0
  269. package/.next/server/chunks/9586.js +1 -0
  270. package/.next/server/chunks/9690.js +90 -0
  271. package/.next/server/chunks/974.js +1 -0
  272. package/.next/server/chunks/9775.js +1 -0
  273. package/.next/server/chunks/992.js +1 -0
  274. package/.next/server/chunks/9926.js +1 -0
  275. package/.next/server/functions-config-manifest.json +27 -0
  276. package/.next/server/instrumentation.js +1 -0
  277. package/.next/server/instrumentation.js.nft.json +1 -0
  278. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  279. package/.next/server/middleware-build-manifest.js +1 -0
  280. package/.next/server/middleware-manifest.json +6 -0
  281. package/.next/server/middleware-react-loadable-manifest.js +1 -0
  282. package/.next/server/middleware.js +163 -0
  283. package/.next/server/middleware.js.nft.json +1 -0
  284. package/.next/server/next-font-manifest.js +1 -0
  285. package/.next/server/next-font-manifest.json +1 -0
  286. package/.next/server/pages/404.html +1 -0
  287. package/.next/server/pages/500.html +1 -0
  288. package/.next/server/pages-manifest.json +4 -0
  289. package/.next/server/prefetch-hints.json +53 -0
  290. package/.next/server/server-reference-manifest.js +1 -0
  291. package/.next/server/server-reference-manifest.json +1 -0
  292. package/.next/server/webpack-runtime.js +1 -0
  293. package/.next/static/2ftfKxA2Tk6WrtjeFq3pC/_buildManifest.js +1 -0
  294. package/.next/static/2ftfKxA2Tk6WrtjeFq3pC/_ssgManifest.js +1 -0
  295. package/.next/static/chunks/1213.4848a5579bece837.js +24 -0
  296. package/.next/static/chunks/1278-902e48c12cf60065.js +1 -0
  297. package/.next/static/chunks/1326.72decfb808c97abe.js +1 -0
  298. package/.next/static/chunks/1519.2f596e5f5af9ef57.js +62 -0
  299. package/.next/static/chunks/2280.e03ab3748922284c.js +1 -0
  300. package/.next/static/chunks/2521.2ba812532f472610.js +77 -0
  301. package/.next/static/chunks/2585.4d6aa847c780c666.js +1 -0
  302. package/.next/static/chunks/2589.e456c324416f9615.js +1 -0
  303. package/.next/static/chunks/2600.45ba17a0f756fc31.js +1 -0
  304. package/.next/static/chunks/2619.9431a3f48da8eef4.js +1 -0
  305. package/.next/static/chunks/26d302b2.cd19dc0940cb3e75.js +122 -0
  306. package/.next/static/chunks/2768.1a75ba9e2be767cf.js +1 -0
  307. package/.next/static/chunks/2931.c5527c92f7264e9a.js +41 -0
  308. package/.next/static/chunks/3016.406e568aa95ff867.js +1 -0
  309. package/.next/static/chunks/3052.5da5bde6a131930a.js +90 -0
  310. package/.next/static/chunks/3064.3a2a1e7cd4fdca5f.js +1 -0
  311. package/.next/static/chunks/3174.03fbed7b7d7a8256.js +1 -0
  312. package/.next/static/chunks/3189.b048866768087750.js +1 -0
  313. package/.next/static/chunks/3217.457eee26edea225c.js +24 -0
  314. package/.next/static/chunks/3308.935f7625e681e15a.js +74 -0
  315. package/.next/static/chunks/331.fc5d78e1e91daf43.js +1 -0
  316. package/.next/static/chunks/3510.5d4d1c79533e080c.js +1 -0
  317. package/.next/static/chunks/364.ce5400a9dd70b9dc.js +1 -0
  318. package/.next/static/chunks/370.a485dd5092c76362.js +1 -0
  319. package/.next/static/chunks/3789.c418b69121761983.js +1 -0
  320. package/.next/static/chunks/3794-6f271a1eb27dfa20.js +52 -0
  321. package/.next/static/chunks/3831.25ae62d10dccc27a.js +1 -0
  322. package/.next/static/chunks/3a7aa434.9780f397da64eb81.js +82 -0
  323. package/.next/static/chunks/4020.3cc19c463c49f969.js +23 -0
  324. package/.next/static/chunks/4035.f5bcc2e4f0beee2b.js +1 -0
  325. package/.next/static/chunks/405.7027b68fbb48582a.js +215 -0
  326. package/.next/static/chunks/4159.8f53338a07b26845.js +138 -0
  327. package/.next/static/chunks/4208.e3c7f2d5c26dcf2e.js +287 -0
  328. package/.next/static/chunks/4263.ffa8d9bd8a0faaae.js +1 -0
  329. package/.next/static/chunks/4561.70303588b0cd3621.js +34 -0
  330. package/.next/static/chunks/4592.507c41f345e21bee.js +93 -0
  331. package/.next/static/chunks/4799.1d3f2e30954503b8.js +1 -0
  332. package/.next/static/chunks/4bd1b696-8a4ab4fdf0ae305a.js +1 -0
  333. package/.next/static/chunks/514.b804c51b26f5e126.js +1 -0
  334. package/.next/static/chunks/5270.2b9a21b6ce8fd8d2.js +1 -0
  335. package/.next/static/chunks/52733464.74fafefbfa340fc8.js +1 -0
  336. package/.next/static/chunks/5354.b559c717a607dc5c.js +1 -0
  337. package/.next/static/chunks/5448.23a76c3983fec0f6.js +38 -0
  338. package/.next/static/chunks/5772-c8175d2fabf63b95.js +3 -0
  339. package/.next/static/chunks/587.d52737d7288c11b4.js +1 -0
  340. package/.next/static/chunks/5909.172aa3edf289b590.js +115 -0
  341. package/.next/static/chunks/5949.54e8a766895688d7.js +104 -0
  342. package/.next/static/chunks/60c48509.2ba44b5cbe52c6e7.js +158 -0
  343. package/.next/static/chunks/6361.4b1fa56fca9b6356.js +148 -0
  344. package/.next/static/chunks/6774.07517a60a602aadd.js +86 -0
  345. package/.next/static/chunks/6968.b80277c724dbc96e.js +1 -0
  346. package/.next/static/chunks/7236.55a9728d35f5b8a6.js +1 -0
  347. package/.next/static/chunks/7390.bc7f4ed9f76fe9e1.js +1 -0
  348. package/.next/static/chunks/7806.a903780fcfa3a30e.js +1 -0
  349. package/.next/static/chunks/790.45f73b5eb2e089eb.js +1 -0
  350. package/.next/static/chunks/8216.64a72d4d35ea7be0.js +1 -0
  351. package/.next/static/chunks/830.a6da04c322e3204a.js +1 -0
  352. package/.next/static/chunks/8378.6acf715f56997572.js +226 -0
  353. package/.next/static/chunks/8501.3b0a97ac3e782a0f.js +79 -0
  354. package/.next/static/chunks/8663.7deb45d41d190483.js +27 -0
  355. package/.next/static/chunks/872.96937e758ddce860.js +1 -0
  356. package/.next/static/chunks/8803.75bde095fe3613f5.js +1 -0
  357. package/.next/static/chunks/8863.582d77dad0e1cc29.js +1 -0
  358. package/.next/static/chunks/90542734.90283a0c0c838d51.js +1 -0
  359. package/.next/static/chunks/9379.979bec4531e0611a.js +64 -0
  360. package/.next/static/chunks/9389.906fe7aa9cd6a170.js +1 -0
  361. package/.next/static/chunks/9472.08db7006e4a030a4.js +94 -0
  362. package/.next/static/chunks/9647.29c5a9819b36fcda.js +15 -0
  363. package/.next/static/chunks/966.7ab226a15142fae2.js +1 -0
  364. package/.next/static/chunks/975.710b5962d34d4598.js +22 -0
  365. package/.next/static/chunks/9884.fca67f18c0fb2808.js +36 -0
  366. package/.next/static/chunks/9932-60e21347ba9f8664.js +7 -0
  367. package/.next/static/chunks/a339c874.7657a67d1b0d46c1.js +32 -0
  368. package/.next/static/chunks/app/_global-error/page-cbe4231fb889bdce.js +1 -0
  369. package/.next/static/chunks/app/_not-found/page-1e1cf8cba5576cd4.js +1 -0
  370. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-cbe4231fb889bdce.js +1 -0
  371. package/.next/static/chunks/app/api/agent/[id]/events/route-cbe4231fb889bdce.js +1 -0
  372. package/.next/static/chunks/app/api/agent/[id]/lease/route-cbe4231fb889bdce.js +1 -0
  373. package/.next/static/chunks/app/api/agent/[id]/route-cbe4231fb889bdce.js +1 -0
  374. package/.next/static/chunks/app/api/agent/new/route-cbe4231fb889bdce.js +1 -0
  375. package/.next/static/chunks/app/api/agent/running/route-cbe4231fb889bdce.js +1 -0
  376. package/.next/static/chunks/app/api/app-update/route-cbe4231fb889bdce.js +1 -0
  377. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-cbe4231fb889bdce.js +1 -0
  378. package/.next/static/chunks/app/api/auth/login/[provider]/route-cbe4231fb889bdce.js +1 -0
  379. package/.next/static/chunks/app/api/auth/logout/[provider]/route-cbe4231fb889bdce.js +1 -0
  380. package/.next/static/chunks/app/api/auth/providers/route-cbe4231fb889bdce.js +1 -0
  381. package/.next/static/chunks/app/api/cache-miss-notices/route-cbe4231fb889bdce.js +1 -0
  382. package/.next/static/chunks/app/api/cwd/browse/route-cbe4231fb889bdce.js +1 -0
  383. package/.next/static/chunks/app/api/cwd/validate/route-cbe4231fb889bdce.js +1 -0
  384. package/.next/static/chunks/app/api/default-cwd/route-cbe4231fb889bdce.js +1 -0
  385. package/.next/static/chunks/app/api/file-index/route-cbe4231fb889bdce.js +1 -0
  386. package/.next/static/chunks/app/api/files/[...path]/route-cbe4231fb889bdce.js +1 -0
  387. package/.next/static/chunks/app/api/git/diff/route-cbe4231fb889bdce.js +1 -0
  388. package/.next/static/chunks/app/api/git/status/route-cbe4231fb889bdce.js +1 -0
  389. package/.next/static/chunks/app/api/home/route-cbe4231fb889bdce.js +1 -0
  390. package/.next/static/chunks/app/api/mcp/route-cbe4231fb889bdce.js +1 -0
  391. package/.next/static/chunks/app/api/mcp/sign-in/[flowId]/route-cbe4231fb889bdce.js +1 -0
  392. package/.next/static/chunks/app/api/mcp/sign-in/route-cbe4231fb889bdce.js +1 -0
  393. package/.next/static/chunks/app/api/mcp/test/route-cbe4231fb889bdce.js +1 -0
  394. package/.next/static/chunks/app/api/models/default/route-cbe4231fb889bdce.js +1 -0
  395. package/.next/static/chunks/app/api/models/enabled/route-cbe4231fb889bdce.js +1 -0
  396. package/.next/static/chunks/app/api/models/refresh/route-cbe4231fb889bdce.js +1 -0
  397. package/.next/static/chunks/app/api/models/route-cbe4231fb889bdce.js +1 -0
  398. package/.next/static/chunks/app/api/models-config/catalog/route-cbe4231fb889bdce.js +1 -0
  399. package/.next/static/chunks/app/api/models-config/discover/route-cbe4231fb889bdce.js +1 -0
  400. package/.next/static/chunks/app/api/models-config/route-cbe4231fb889bdce.js +1 -0
  401. package/.next/static/chunks/app/api/models-config/test/route-cbe4231fb889bdce.js +1 -0
  402. package/.next/static/chunks/app/api/open-in-explorer/route-cbe4231fb889bdce.js +1 -0
  403. package/.next/static/chunks/app/api/plugins/check/route-cbe4231fb889bdce.js +1 -0
  404. package/.next/static/chunks/app/api/plugins/route-cbe4231fb889bdce.js +1 -0
  405. package/.next/static/chunks/app/api/project-trust/route-cbe4231fb889bdce.js +1 -0
  406. package/.next/static/chunks/app/api/provider-usage/query/route-cbe4231fb889bdce.js +1 -0
  407. package/.next/static/chunks/app/api/push/config/route-cbe4231fb889bdce.js +1 -0
  408. package/.next/static/chunks/app/api/push/subscribe/route-cbe4231fb889bdce.js +1 -0
  409. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-cbe4231fb889bdce.js +1 -0
  410. package/.next/static/chunks/app/api/sessions/[id]/context/route-cbe4231fb889bdce.js +1 -0
  411. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-cbe4231fb889bdce.js +1 -0
  412. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-cbe4231fb889bdce.js +1 -0
  413. package/.next/static/chunks/app/api/sessions/[id]/export/route-cbe4231fb889bdce.js +1 -0
  414. package/.next/static/chunks/app/api/sessions/[id]/fork/route-cbe4231fb889bdce.js +1 -0
  415. package/.next/static/chunks/app/api/sessions/[id]/route-cbe4231fb889bdce.js +1 -0
  416. package/.next/static/chunks/app/api/sessions/[id]/state/route-cbe4231fb889bdce.js +1 -0
  417. package/.next/static/chunks/app/api/sessions/delete/route-cbe4231fb889bdce.js +1 -0
  418. package/.next/static/chunks/app/api/sessions/route-cbe4231fb889bdce.js +1 -0
  419. package/.next/static/chunks/app/api/sessions/search/route-cbe4231fb889bdce.js +1 -0
  420. package/.next/static/chunks/app/api/sessions/stats/route-cbe4231fb889bdce.js +1 -0
  421. package/.next/static/chunks/app/api/sessions/ui-state/route-cbe4231fb889bdce.js +1 -0
  422. package/.next/static/chunks/app/api/skills/check/route-cbe4231fb889bdce.js +1 -0
  423. package/.next/static/chunks/app/api/skills/content/route-cbe4231fb889bdce.js +1 -0
  424. package/.next/static/chunks/app/api/skills/install/route-cbe4231fb889bdce.js +1 -0
  425. package/.next/static/chunks/app/api/skills/route-cbe4231fb889bdce.js +1 -0
  426. package/.next/static/chunks/app/api/skills/search/route-cbe4231fb889bdce.js +1 -0
  427. package/.next/static/chunks/app/api/skills/update/route-cbe4231fb889bdce.js +1 -0
  428. package/.next/static/chunks/app/api/subagents/[id]/route-cbe4231fb889bdce.js +1 -0
  429. package/.next/static/chunks/app/api/subagents/profiles/route-cbe4231fb889bdce.js +1 -0
  430. package/.next/static/chunks/app/api/subagents/settings/route-cbe4231fb889bdce.js +1 -0
  431. package/.next/static/chunks/app/api/terminal/[id]/events/route-cbe4231fb889bdce.js +1 -0
  432. package/.next/static/chunks/app/api/terminal/[id]/route-cbe4231fb889bdce.js +1 -0
  433. package/.next/static/chunks/app/api/terminal/route-cbe4231fb889bdce.js +1 -0
  434. package/.next/static/chunks/app/api/tools/settings/route-cbe4231fb889bdce.js +1 -0
  435. package/.next/static/chunks/app/api/web-auth/route-cbe4231fb889bdce.js +1 -0
  436. package/.next/static/chunks/app/api/worktrees/route-cbe4231fb889bdce.js +1 -0
  437. package/.next/static/chunks/app/layout-3339966738755d72.js +1 -0
  438. package/.next/static/chunks/app/login/page-3a355df23c47aa56.js +1 -0
  439. package/.next/static/chunks/app/manifest.webmanifest/route-cbe4231fb889bdce.js +1 -0
  440. package/.next/static/chunks/app/page-c6eefaf480702550.js +287 -0
  441. package/.next/static/chunks/d3ac728e-7964f816a1ca64e5.js +1 -0
  442. package/.next/static/chunks/e413bedd.1332b3d1558778d6.js +153 -0
  443. package/.next/static/chunks/e868780c-1584512c612787d7.js +18 -0
  444. package/.next/static/chunks/ea233666.528d9a11a2c6fe2f.js +62 -0
  445. package/.next/static/chunks/framework-b33a8f5d57cd8d87.js +1 -0
  446. package/.next/static/chunks/main-63ddef04e98b28f4.js +5 -0
  447. package/.next/static/chunks/main-app-a98576891fdd8f60.js +1 -0
  448. package/.next/static/chunks/next/dist/client/components/builtin/app-error-cbe4231fb889bdce.js +1 -0
  449. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-cbe4231fb889bdce.js +1 -0
  450. package/.next/static/chunks/next/dist/client/components/builtin/global-error-30078bc26a2476fc.js +1 -0
  451. package/.next/static/chunks/next/dist/client/components/builtin/not-found-cbe4231fb889bdce.js +1 -0
  452. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-cbe4231fb889bdce.js +1 -0
  453. package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  454. package/.next/static/chunks/webpack-b6c37de25f933bc6.js +1 -0
  455. package/.next/static/css/49692dbfa6f26eeb.css +1 -0
  456. package/.next/static/css/6d897e2692233627.css +1 -0
  457. package/.next/static/css/9bcd6051db4f8890.css +1 -0
  458. package/.next/static/css/b944d46e6fd6c54d.css +1 -0
  459. package/.next/static/css/c82f0c18392f486f.css +1 -0
  460. package/.next/static/media/15605e25b523335c-s.woff2 +0 -0
  461. package/.next/static/media/1a3dce5cfb5f7760-s.woff2 +0 -0
  462. package/.next/static/media/1cdd02902f937a18-s.woff2 +0 -0
  463. package/.next/static/media/4c4b3b30b6bcb2be-s.woff2 +0 -0
  464. package/.next/static/media/641a7b8a5800ee0e-s.woff2 +0 -0
  465. package/.next/static/media/7deddc85b7ffd1dc-s.p.woff2 +0 -0
  466. package/.next/static/media/KaTeX_AMS-Regular.1608a09b.woff +0 -0
  467. package/.next/static/media/KaTeX_AMS-Regular.4aafdb68.ttf +0 -0
  468. package/.next/static/media/KaTeX_AMS-Regular.a79f1c31.woff2 +0 -0
  469. package/.next/static/media/KaTeX_Caligraphic-Bold.b6770918.woff +0 -0
  470. package/.next/static/media/KaTeX_Caligraphic-Bold.cce5b8ec.ttf +0 -0
  471. package/.next/static/media/KaTeX_Caligraphic-Bold.ec17d132.woff2 +0 -0
  472. package/.next/static/media/KaTeX_Caligraphic-Regular.07ef19e7.ttf +0 -0
  473. package/.next/static/media/KaTeX_Caligraphic-Regular.55fac258.woff2 +0 -0
  474. package/.next/static/media/KaTeX_Caligraphic-Regular.dad44a7f.woff +0 -0
  475. package/.next/static/media/KaTeX_Fraktur-Bold.9f256b85.woff +0 -0
  476. package/.next/static/media/KaTeX_Fraktur-Bold.b18f59e1.ttf +0 -0
  477. package/.next/static/media/KaTeX_Fraktur-Bold.d42a5579.woff2 +0 -0
  478. package/.next/static/media/KaTeX_Fraktur-Regular.7c187121.woff +0 -0
  479. package/.next/static/media/KaTeX_Fraktur-Regular.d3c882a6.woff2 +0 -0
  480. package/.next/static/media/KaTeX_Fraktur-Regular.ed38e79f.ttf +0 -0
  481. package/.next/static/media/KaTeX_Main-Bold.b74a1a8b.ttf +0 -0
  482. package/.next/static/media/KaTeX_Main-Bold.c3fb5ac2.woff2 +0 -0
  483. package/.next/static/media/KaTeX_Main-Bold.d181c465.woff +0 -0
  484. package/.next/static/media/KaTeX_Main-BoldItalic.6f2bb1df.woff2 +0 -0
  485. package/.next/static/media/KaTeX_Main-BoldItalic.70d8b0a5.ttf +0 -0
  486. package/.next/static/media/KaTeX_Main-BoldItalic.e3f82f9d.woff +0 -0
  487. package/.next/static/media/KaTeX_Main-Italic.47373d1e.ttf +0 -0
  488. package/.next/static/media/KaTeX_Main-Italic.8916142b.woff2 +0 -0
  489. package/.next/static/media/KaTeX_Main-Italic.9024d815.woff +0 -0
  490. package/.next/static/media/KaTeX_Main-Regular.0462f03b.woff2 +0 -0
  491. package/.next/static/media/KaTeX_Main-Regular.7f51fe03.woff +0 -0
  492. package/.next/static/media/KaTeX_Main-Regular.b7f8fe9b.ttf +0 -0
  493. package/.next/static/media/KaTeX_Math-BoldItalic.572d331f.woff2 +0 -0
  494. package/.next/static/media/KaTeX_Math-BoldItalic.a879cf83.ttf +0 -0
  495. package/.next/static/media/KaTeX_Math-BoldItalic.f1035d8d.woff +0 -0
  496. package/.next/static/media/KaTeX_Math-Italic.5295ba48.woff +0 -0
  497. package/.next/static/media/KaTeX_Math-Italic.939bc644.ttf +0 -0
  498. package/.next/static/media/KaTeX_Math-Italic.f28c23ac.woff2 +0 -0
  499. package/.next/static/media/KaTeX_SansSerif-Bold.8c5b5494.woff2 +0 -0
  500. package/.next/static/media/KaTeX_SansSerif-Bold.94e1e8dc.ttf +0 -0
  501. package/.next/static/media/KaTeX_SansSerif-Bold.bf59d231.woff +0 -0
  502. package/.next/static/media/KaTeX_SansSerif-Italic.3b1e59b3.woff2 +0 -0
  503. package/.next/static/media/KaTeX_SansSerif-Italic.7c9bc82b.woff +0 -0
  504. package/.next/static/media/KaTeX_SansSerif-Italic.b4c20c84.ttf +0 -0
  505. package/.next/static/media/KaTeX_SansSerif-Regular.74048478.woff +0 -0
  506. package/.next/static/media/KaTeX_SansSerif-Regular.ba21ed5f.woff2 +0 -0
  507. package/.next/static/media/KaTeX_SansSerif-Regular.d4d7ba48.ttf +0 -0
  508. package/.next/static/media/KaTeX_Script-Regular.03e9641d.woff2 +0 -0
  509. package/.next/static/media/KaTeX_Script-Regular.07505710.woff +0 -0
  510. package/.next/static/media/KaTeX_Script-Regular.fe9cbbe1.ttf +0 -0
  511. package/.next/static/media/KaTeX_Size1-Regular.e1e279cb.woff +0 -0
  512. package/.next/static/media/KaTeX_Size1-Regular.eae34984.woff2 +0 -0
  513. package/.next/static/media/KaTeX_Size1-Regular.fabc004a.ttf +0 -0
  514. package/.next/static/media/KaTeX_Size2-Regular.57727022.woff +0 -0
  515. package/.next/static/media/KaTeX_Size2-Regular.5916a24f.woff2 +0 -0
  516. package/.next/static/media/KaTeX_Size2-Regular.d6b476ec.ttf +0 -0
  517. package/.next/static/media/KaTeX_Size3-Regular.9acaf01c.woff +0 -0
  518. package/.next/static/media/KaTeX_Size3-Regular.a144ef58.ttf +0 -0
  519. package/.next/static/media/KaTeX_Size3-Regular.b4230e7e.woff2 +0 -0
  520. package/.next/static/media/KaTeX_Size4-Regular.10d95fd3.woff2 +0 -0
  521. package/.next/static/media/KaTeX_Size4-Regular.7a996c9d.woff +0 -0
  522. package/.next/static/media/KaTeX_Size4-Regular.fbccdabe.ttf +0 -0
  523. package/.next/static/media/KaTeX_Typewriter-Regular.6258592b.woff +0 -0
  524. package/.next/static/media/KaTeX_Typewriter-Regular.a8709e36.woff2 +0 -0
  525. package/.next/static/media/KaTeX_Typewriter-Regular.d97aaf4a.ttf +0 -0
  526. package/.next/static/media/ec14413c594b3356-s.p.woff2 +0 -0
  527. package/.next/trace +83 -0
  528. package/.next/trace-build +1 -0
  529. package/.next/types/app/api/agent/[id]/bash-output/route.ts +353 -0
  530. package/.next/types/app/api/agent/[id]/events/route.ts +353 -0
  531. package/.next/types/app/api/agent/[id]/lease/route.ts +353 -0
  532. package/.next/types/app/api/agent/[id]/route.ts +353 -0
  533. package/.next/types/app/api/agent/new/route.ts +353 -0
  534. package/.next/types/app/api/agent/running/route.ts +353 -0
  535. package/.next/types/app/api/app-update/route.ts +353 -0
  536. package/.next/types/app/api/auth/api-key/[provider]/route.ts +353 -0
  537. package/.next/types/app/api/auth/login/[provider]/route.ts +353 -0
  538. package/.next/types/app/api/auth/logout/[provider]/route.ts +353 -0
  539. package/.next/types/app/api/auth/providers/route.ts +353 -0
  540. package/.next/types/app/api/cache-miss-notices/route.ts +353 -0
  541. package/.next/types/app/api/cwd/browse/route.ts +353 -0
  542. package/.next/types/app/api/cwd/validate/route.ts +353 -0
  543. package/.next/types/app/api/default-cwd/route.ts +353 -0
  544. package/.next/types/app/api/file-index/route.ts +353 -0
  545. package/.next/types/app/api/files/[...path]/route.ts +353 -0
  546. package/.next/types/app/api/git/diff/route.ts +353 -0
  547. package/.next/types/app/api/git/status/route.ts +353 -0
  548. package/.next/types/app/api/home/route.ts +353 -0
  549. package/.next/types/app/api/mcp/route.ts +353 -0
  550. package/.next/types/app/api/mcp/sign-in/[flowId]/route.ts +353 -0
  551. package/.next/types/app/api/mcp/sign-in/route.ts +353 -0
  552. package/.next/types/app/api/mcp/test/route.ts +353 -0
  553. package/.next/types/app/api/models/default/route.ts +353 -0
  554. package/.next/types/app/api/models/enabled/route.ts +353 -0
  555. package/.next/types/app/api/models/refresh/route.ts +353 -0
  556. package/.next/types/app/api/models/route.ts +353 -0
  557. package/.next/types/app/api/models-config/catalog/route.ts +353 -0
  558. package/.next/types/app/api/models-config/discover/route.ts +353 -0
  559. package/.next/types/app/api/models-config/route.ts +353 -0
  560. package/.next/types/app/api/models-config/test/route.ts +353 -0
  561. package/.next/types/app/api/open-in-explorer/route.ts +353 -0
  562. package/.next/types/app/api/plugins/check/route.ts +353 -0
  563. package/.next/types/app/api/plugins/route.ts +353 -0
  564. package/.next/types/app/api/project-trust/route.ts +353 -0
  565. package/.next/types/app/api/provider-usage/query/route.ts +353 -0
  566. package/.next/types/app/api/push/config/route.ts +353 -0
  567. package/.next/types/app/api/push/subscribe/route.ts +353 -0
  568. package/.next/types/app/api/sessions/[id]/auto-name/route.ts +353 -0
  569. package/.next/types/app/api/sessions/[id]/context/route.ts +353 -0
  570. package/.next/types/app/api/sessions/[id]/entries/[entryId]/thinking/route.ts +353 -0
  571. package/.next/types/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.ts +353 -0
  572. package/.next/types/app/api/sessions/[id]/export/route.ts +353 -0
  573. package/.next/types/app/api/sessions/[id]/fork/route.ts +353 -0
  574. package/.next/types/app/api/sessions/[id]/route.ts +353 -0
  575. package/.next/types/app/api/sessions/[id]/state/route.ts +353 -0
  576. package/.next/types/app/api/sessions/delete/route.ts +353 -0
  577. package/.next/types/app/api/sessions/route.ts +353 -0
  578. package/.next/types/app/api/sessions/search/route.ts +353 -0
  579. package/.next/types/app/api/sessions/stats/route.ts +353 -0
  580. package/.next/types/app/api/sessions/ui-state/route.ts +353 -0
  581. package/.next/types/app/api/skills/check/route.ts +353 -0
  582. package/.next/types/app/api/skills/content/route.ts +353 -0
  583. package/.next/types/app/api/skills/install/route.ts +353 -0
  584. package/.next/types/app/api/skills/route.ts +353 -0
  585. package/.next/types/app/api/skills/search/route.ts +353 -0
  586. package/.next/types/app/api/skills/update/route.ts +353 -0
  587. package/.next/types/app/api/subagents/[id]/route.ts +353 -0
  588. package/.next/types/app/api/subagents/profiles/route.ts +353 -0
  589. package/.next/types/app/api/subagents/settings/route.ts +353 -0
  590. package/.next/types/app/api/terminal/[id]/events/route.ts +353 -0
  591. package/.next/types/app/api/terminal/[id]/route.ts +353 -0
  592. package/.next/types/app/api/terminal/route.ts +353 -0
  593. package/.next/types/app/api/tools/settings/route.ts +353 -0
  594. package/.next/types/app/api/web-auth/route.ts +353 -0
  595. package/.next/types/app/api/worktrees/route.ts +353 -0
  596. package/.next/types/app/layout.ts +89 -0
  597. package/.next/types/app/login/page.ts +89 -0
  598. package/.next/types/app/page.ts +89 -0
  599. package/.next/types/cache-life.d.ts +146 -0
  600. package/.next/types/package.json +1 -0
  601. package/.next/types/root-params.d.ts +3 -0
  602. package/.next/types/routes.d.ts +140 -0
  603. package/.next/types/validator.ts +682 -0
  604. package/LICENSE +22 -0
  605. package/README.md +208 -2
  606. package/bin/browser-opener.js +34 -0
  607. package/bin/node-version.js +35 -0
  608. package/bin/pi-web-commands.js +118 -0
  609. package/bin/pi-web-node-args.js +11 -0
  610. package/bin/pi-web-options.js +141 -0
  611. package/bin/pi-web-update.js +148 -0
  612. package/bin/pi-web.js +157 -0
  613. package/bin/prepare-terminal.js +14 -0
  614. package/bin/process-lifecycle.js +81 -0
  615. package/bin/rotate-preview-secrets.js +105 -0
  616. package/bin/run-records.js +212 -0
  617. package/next.config.ts +110 -0
  618. package/package.json +105 -4
  619. package/public/icons/apple-touch-icon.png +0 -0
  620. package/public/icons/catppuccin/LICENSE +22 -0
  621. package/public/icons/catppuccin/README.md +10 -0
  622. package/public/icons/catppuccin/latte/_file.svg +3 -0
  623. package/public/icons/catppuccin/latte/_folder.svg +3 -0
  624. package/public/icons/catppuccin/latte/_folder_open.svg +3 -0
  625. package/public/icons/catppuccin/latte/bash.svg +7 -0
  626. package/public/icons/catppuccin/latte/bun-lock.svg +8 -0
  627. package/public/icons/catppuccin/latte/config.svg +3 -0
  628. package/public/icons/catppuccin/latte/css.svg +6 -0
  629. package/public/icons/catppuccin/latte/database.svg +3 -0
  630. package/public/icons/catppuccin/latte/docker.svg +3 -0
  631. package/public/icons/catppuccin/latte/env.svg +3 -0
  632. package/public/icons/catppuccin/latte/eslint.svg +6 -0
  633. package/public/icons/catppuccin/latte/git.svg +6 -0
  634. package/public/icons/catppuccin/latte/go.svg +3 -0
  635. package/public/icons/catppuccin/latte/graphql.svg +3 -0
  636. package/public/icons/catppuccin/latte/html.svg +6 -0
  637. package/public/icons/catppuccin/latte/javascript-react.svg +8 -0
  638. package/public/icons/catppuccin/latte/javascript.svg +6 -0
  639. package/public/icons/catppuccin/latte/json.svg +3 -0
  640. package/public/icons/catppuccin/latte/lock.svg +3 -0
  641. package/public/icons/catppuccin/latte/markdown.svg +3 -0
  642. package/public/icons/catppuccin/latte/ms-word.svg +6 -0
  643. package/public/icons/catppuccin/latte/next.svg +6 -0
  644. package/public/icons/catppuccin/latte/npm-lock.svg +7 -0
  645. package/public/icons/catppuccin/latte/pdf.svg +3 -0
  646. package/public/icons/catppuccin/latte/python.svg +8 -0
  647. package/public/icons/catppuccin/latte/rust.svg +6 -0
  648. package/public/icons/catppuccin/latte/sass.svg +3 -0
  649. package/public/icons/catppuccin/latte/terraform.svg +3 -0
  650. package/public/icons/catppuccin/latte/toml.svg +3 -0
  651. package/public/icons/catppuccin/latte/typescript-react.svg +8 -0
  652. package/public/icons/catppuccin/latte/typescript.svg +6 -0
  653. package/public/icons/catppuccin/latte/yaml.svg +3 -0
  654. package/public/icons/catppuccin/mocha/_file.svg +3 -0
  655. package/public/icons/catppuccin/mocha/_folder.svg +3 -0
  656. package/public/icons/catppuccin/mocha/_folder_open.svg +3 -0
  657. package/public/icons/catppuccin/mocha/bash.svg +7 -0
  658. package/public/icons/catppuccin/mocha/bun-lock.svg +8 -0
  659. package/public/icons/catppuccin/mocha/config.svg +3 -0
  660. package/public/icons/catppuccin/mocha/css.svg +6 -0
  661. package/public/icons/catppuccin/mocha/database.svg +3 -0
  662. package/public/icons/catppuccin/mocha/docker.svg +3 -0
  663. package/public/icons/catppuccin/mocha/env.svg +3 -0
  664. package/public/icons/catppuccin/mocha/eslint.svg +6 -0
  665. package/public/icons/catppuccin/mocha/git.svg +6 -0
  666. package/public/icons/catppuccin/mocha/go.svg +3 -0
  667. package/public/icons/catppuccin/mocha/graphql.svg +3 -0
  668. package/public/icons/catppuccin/mocha/html.svg +6 -0
  669. package/public/icons/catppuccin/mocha/javascript-react.svg +8 -0
  670. package/public/icons/catppuccin/mocha/javascript.svg +6 -0
  671. package/public/icons/catppuccin/mocha/json.svg +3 -0
  672. package/public/icons/catppuccin/mocha/lock.svg +3 -0
  673. package/public/icons/catppuccin/mocha/markdown.svg +3 -0
  674. package/public/icons/catppuccin/mocha/ms-word.svg +6 -0
  675. package/public/icons/catppuccin/mocha/next.svg +6 -0
  676. package/public/icons/catppuccin/mocha/npm-lock.svg +7 -0
  677. package/public/icons/catppuccin/mocha/pdf.svg +3 -0
  678. package/public/icons/catppuccin/mocha/python.svg +8 -0
  679. package/public/icons/catppuccin/mocha/rust.svg +6 -0
  680. package/public/icons/catppuccin/mocha/sass.svg +3 -0
  681. package/public/icons/catppuccin/mocha/terraform.svg +3 -0
  682. package/public/icons/catppuccin/mocha/toml.svg +3 -0
  683. package/public/icons/catppuccin/mocha/typescript-react.svg +8 -0
  684. package/public/icons/catppuccin/mocha/typescript.svg +6 -0
  685. package/public/icons/catppuccin/mocha/yaml.svg +3 -0
  686. package/public/icons/icon-192.png +0 -0
  687. package/public/icons/icon-512.png +0 -0
  688. package/public/offline.html +83 -0
  689. package/public/provider-icons.svg +54 -0
  690. package/public/sw.js +183 -0
  691. package/public/sw.test.mjs +339 -0
@@ -0,0 +1,212 @@
1
+ "use strict";
2
+
3
+ // Records of running pi-web servers: one <agentDir>/pi-web-run/<launcher pid>.json
4
+ // per server, written by the launcher once Next.js is ready and removed when it
5
+ // exits. pi-web keeps all its state in pi's agent directory, so this does too.
6
+
7
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
8
+ const { spawnSync } = require("child_process");
9
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
10
+ const fs = require("fs");
11
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
12
+ const os = require("os");
13
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
14
+ const path = require("path");
15
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
16
+ const { fileURLToPath } = require("url");
17
+
18
+ // pi's getAgentDir(): PI_CODING_AGENT_DIR with `~` expanded, else ~/.pi/agent.
19
+ function getAgentDir(env = process.env, home = os.homedir()) {
20
+ const configured = env.PI_CODING_AGENT_DIR;
21
+ if (!configured) return path.join(home, ".pi", "agent");
22
+ if (configured === "~") return home;
23
+ if (configured.startsWith("~/") || configured.startsWith("~\\")) return path.join(home, configured.slice(2));
24
+ if (configured.startsWith("file://")) return fileURLToPath(configured);
25
+ return configured;
26
+ }
27
+
28
+ function getRunDir(env = process.env, home = os.homedir()) {
29
+ return path.join(getAgentDir(env, home), "pi-web-run");
30
+ }
31
+
32
+ // The address a browser on this machine can open: wildcard binds become
33
+ // loopback, and IPv6 literals get brackets.
34
+ function getOpenUrl(hostname, port) {
35
+ let host = hostname;
36
+ if (host === "0.0.0.0") host = "127.0.0.1";
37
+ else if (host === "::" || host === "[::]") host = "::1";
38
+ if (host.includes(":") && !host.startsWith("[")) host = `[${host}]`;
39
+ return `http://${host}:${port}`;
40
+ }
41
+
42
+ function isProcessAlive(pid, kill = process.kill) {
43
+ try {
44
+ kill(pid, 0);
45
+ return true;
46
+ } catch (error) {
47
+ // EPERM: the process exists but belongs to someone else.
48
+ return error.code === "EPERM";
49
+ }
50
+ }
51
+
52
+ // What pid is running now: its command line (Windows: its image name), "" when
53
+ // no such process exists, null when there is no way to tell.
54
+ function readProcessCommand(pid, { platform = process.platform, run = spawnSync, readFile = fs.readFileSync } = {}) {
55
+ if (platform === "linux") {
56
+ try {
57
+ return readFile(`/proc/${pid}/cmdline`, "utf8").split("\0").join(" ").trim();
58
+ } catch (error) {
59
+ return error.code === "ENOENT" ? "" : null;
60
+ }
61
+ }
62
+ const result = platform === "win32"
63
+ ? run("tasklist", ["/FI", `PID eq ${pid}`, "/FO", "CSV", "/NH"], { encoding: "utf8", windowsHide: true, timeout: 5_000 })
64
+ : run("ps", ["-ww", "-p", String(pid), "-o", "args="], { encoding: "utf8", timeout: 5_000 });
65
+ if (result.error) return null;
66
+ const output = (result.stdout || "").trim();
67
+ if (platform !== "win32") return output;
68
+ // `"node.exe","1234",...`, or an INFO line when nothing matches.
69
+ const match = /^"([^"]*)","(\d+)"/.exec(output);
70
+ return match && match[2] === String(pid) ? match[1] : "";
71
+ }
72
+
73
+ // Whether pid still is the launcher or the Next.js server of a record. After a
74
+ // crash or a reboot the pid may belong to an unrelated process, which stop must
75
+ // never signal. Next.js renames its process to "next-server (vX)". Windows only
76
+ // gives the image name. When nothing can tell, the URL check alone decides.
77
+ function isRecordProcess(pid, role, { platform = process.platform, readCommand = readProcessCommand } = {}) {
78
+ const command = readCommand(pid, { platform });
79
+ if (command === null) return true;
80
+ if (platform === "win32") return /^node/i.test(command);
81
+ return role === "launcher" ? command.includes("pi-web") : command.includes("next");
82
+ }
83
+
84
+ function recordPath(dir, pid) {
85
+ return path.join(dir, `${pid}.json`);
86
+ }
87
+
88
+ function writeRunRecord(dir, record) {
89
+ fs.mkdirSync(dir, { recursive: true });
90
+ const file = recordPath(dir, record.pid);
91
+ const temp = `${file}.tmp`;
92
+ fs.writeFileSync(temp, `${JSON.stringify(record, null, 2)}\n`);
93
+ fs.renameSync(temp, file);
94
+ }
95
+
96
+ function removeRunRecord(dir, pid) {
97
+ fs.rmSync(recordPath(dir, pid), { force: true });
98
+ }
99
+
100
+ // Any HTTP answer counts (a password-protected server answers 401). Only the
101
+ // status matters, so the body is dropped: its connection is released now
102
+ // instead of being left mid-response when the CLI exits (#1174).
103
+ async function isServerAnswering(url, fetchImpl = fetch) {
104
+ let response;
105
+ try {
106
+ response = await fetchImpl(url, { redirect: "manual", signal: AbortSignal.timeout(2_000) });
107
+ } catch {
108
+ return false;
109
+ }
110
+ await response.body?.cancel().catch(() => {});
111
+ return true;
112
+ }
113
+
114
+ function isValidPid(pid) {
115
+ return Number.isSafeInteger(pid) && pid > 0;
116
+ }
117
+
118
+ // Running servers sorted by port, each with `stopPid`: the launcher, or the
119
+ // Next.js server when the launcher was killed and left it serving (`orphaned`).
120
+ // A record none of whose processes is still ours, or that cannot be read, is
121
+ // deleted. One whose process is ours but whose URL does not answer is skipped,
122
+ // not deleted.
123
+ async function listRunRecords(dir, {
124
+ isAlive = isProcessAlive,
125
+ isOurs = isRecordProcess,
126
+ isAnswering = isServerAnswering,
127
+ } = {}) {
128
+ let names;
129
+ try {
130
+ names = fs.readdirSync(dir);
131
+ } catch {
132
+ return [];
133
+ }
134
+ const candidates = [];
135
+ for (const name of names) {
136
+ if (!name.endsWith(".json")) continue;
137
+ const file = path.join(dir, name);
138
+ let record;
139
+ try {
140
+ record = JSON.parse(fs.readFileSync(file, "utf8"));
141
+ } catch {
142
+ record = null;
143
+ }
144
+ const launcherRuns = record && isValidPid(record.pid) && isAlive(record.pid) && isOurs(record.pid, "launcher");
145
+ const nextRuns = !launcherRuns && record && isValidPid(record.nextPid) && isAlive(record.nextPid) && isOurs(record.nextPid, "next");
146
+ if (launcherRuns || nextRuns) {
147
+ candidates.push({ ...record, stopPid: launcherRuns ? record.pid : record.nextPid, orphaned: !launcherRuns });
148
+ } else {
149
+ fs.rmSync(file, { force: true });
150
+ }
151
+ }
152
+ const answering = await Promise.all(candidates.map((record) => isAnswering(record.url)));
153
+ return candidates.filter((_, index) => answering[index]).sort((a, b) => a.port - b.port);
154
+ }
155
+
156
+ // The --port rule shared by stop and open.
157
+ function selectRunRecord(records, port) {
158
+ const matching = port === undefined ? records : records.filter((record) => String(record.port) === String(port));
159
+ if (matching.length === 1) return { record: matching[0] };
160
+ if (matching.length === 0) {
161
+ return { error: port === undefined ? "No pi-web server is running." : `No pi-web server is running on port ${port}.` };
162
+ }
163
+ if (port !== undefined) {
164
+ return { error: `Several pi-web servers are running on port ${port}:\n${matching.map(formatRunRecord).join("\n")}` };
165
+ }
166
+ return {
167
+ error: `Several pi-web servers are running:\n${matching.map(formatRunRecord).join("\n")}\nPass --port <port> to choose one.`,
168
+ };
169
+ }
170
+
171
+ function formatRunRecord(record) {
172
+ const pid = record.orphaned ? `Next.js pid ${record.stopPid} (launcher gone)` : `pid ${record.pid}`;
173
+ return ` ${record.url} ${pid} v${record.version} started ${record.startedAt}`;
174
+ }
175
+
176
+ // Writes the record once the server is ready and removes it when the launcher
177
+ // exits. A failed write only warns: the server keeps running without a record.
178
+ // `dir` may be a function, so a failing home lookup is caught here too.
179
+ function createRunRecordTracker({ dir, record, parentProcess = process, warn = console.warn }) {
180
+ let written = false;
181
+ return {
182
+ markReady() {
183
+ if (written) return;
184
+ written = true;
185
+ let runDir;
186
+ try {
187
+ runDir = typeof dir === "function" ? dir() : dir;
188
+ writeRunRecord(runDir, record);
189
+ } catch (error) {
190
+ warn(`[pi-web] could not write the run record (pwc status/stop/open will not see this server): ${error.message}`);
191
+ return;
192
+ }
193
+ parentProcess.once("exit", () => removeRunRecord(runDir, record.pid));
194
+ },
195
+ };
196
+ }
197
+
198
+ module.exports = {
199
+ createRunRecordTracker,
200
+ formatRunRecord,
201
+ getAgentDir,
202
+ getOpenUrl,
203
+ getRunDir,
204
+ isProcessAlive,
205
+ isRecordProcess,
206
+ isServerAnswering,
207
+ listRunRecords,
208
+ readProcessCommand,
209
+ removeRunRecord,
210
+ selectRunRecord,
211
+ writeRunRecord,
212
+ };
package/next.config.ts ADDED
@@ -0,0 +1,110 @@
1
+ import type { NextConfig } from "next";
2
+ import { readFileSync } from "fs";
3
+ import { dirname, join } from "path";
4
+ import { fileURLToPath } from "url";
5
+
6
+ const configDir = dirname(fileURLToPath(import.meta.url));
7
+ const { version } = JSON.parse(readFileSync(join(configDir, "package.json"), "utf8")) as { version: string };
8
+ let piVersion = "unknown";
9
+ try {
10
+ const piPkgPath = join(configDir, "node_modules/@earendil-works/pi-coding-agent/package.json");
11
+ piVersion = (JSON.parse(readFileSync(piPkgPath, "utf8")) as { version: string }).version;
12
+ } catch { /* package not found, use default */ }
13
+
14
+ // mdast-util-gfm-autolink-literal (remark-gfm) ships a RegExp lookbehind that
15
+ // Safari parses only from 16.4, which blanked `/` on iOS 16.2 (#753). The loader
16
+ // swaps it for an equivalent built at runtime; both bundlers must run it.
17
+ const gfmAutolinkEmailLoader = join(configDir, "lib/gfm-autolink-email-loader.cjs");
18
+
19
+ const nextConfig: NextConfig = {
20
+ outputFileTracingRoot: configDir,
21
+ experimental: {
22
+ // proxy.ts matches /api/:path*, and Next buffers the request body whenever
23
+ // a proxy is present, capped at 10 MB by default. The upload route accepts
24
+ // up to 100 MB per request, so raise the buffer above that or large uploads
25
+ // are truncated and fail with "Failed to parse body as FormData."
26
+ proxyClientMaxBodySize: "128mb",
27
+ },
28
+ // next/image is only used for the static logo, so the /_next/image optimizer
29
+ // (and its sharp/libheif attack surface, see GHSA-2xp9-vwfh-vxw4) is not needed.
30
+ images: { unoptimized: true },
31
+ // `next dev` runs Turbopack and `npm run build` runs webpack.
32
+ turbopack: {
33
+ rules: {
34
+ "**/mdast-util-gfm-autolink-literal/lib/index.js": { loaders: [gfmAutolinkEmailLoader] },
35
+ },
36
+ },
37
+ webpack(config) {
38
+ config.module.rules.push({
39
+ test: /[\\/]mdast-util-gfm-autolink-literal[\\/]lib[\\/]index\.js$/,
40
+ loader: gfmAutolinkEmailLoader,
41
+ });
42
+ return config;
43
+ },
44
+ // Node modules keep the syntax they ship unless listed here, and mermaid's
45
+ // lazy diagram chunks are full of class `static {}` blocks (#753).
46
+ transpilePackages: ["mermaid", "@mermaid-js/parser"],
47
+ serverExternalPackages: [
48
+ "node-pty",
49
+ "undici",
50
+ "web-push",
51
+ "@earendil-works/pi-coding-agent",
52
+ "@earendil-works/pi-agent-core",
53
+ "@earendil-works/pi-ai",
54
+ "@earendil-works/pi-tui",
55
+ ],
56
+ // Next 16 blocks cross-origin access to dev resources by default. Allow the
57
+ // loopback and the RFC1918 LAN ranges so the dev server stays reachable
58
+ // from other machines on the same LAN.
59
+ allowedDevOrigins: [
60
+ "127.0.0.1",
61
+ "10.*.*.*",
62
+ // 172.16.0.0/12
63
+ "172.16.*.*",
64
+ "172.17.*.*",
65
+ "172.18.*.*",
66
+ "172.19.*.*",
67
+ "172.20.*.*",
68
+ "172.21.*.*",
69
+ "172.22.*.*",
70
+ "172.23.*.*",
71
+ "172.24.*.*",
72
+ "172.25.*.*",
73
+ "172.26.*.*",
74
+ "172.27.*.*",
75
+ "172.28.*.*",
76
+ "172.29.*.*",
77
+ "172.30.*.*",
78
+ "172.31.*.*",
79
+ "192.168.*.*",
80
+ ],
81
+ async headers() {
82
+ return [
83
+ {
84
+ source: "/",
85
+ headers: [
86
+ { key: "Cache-Control", value: "private, no-cache, max-age=0, must-revalidate" },
87
+ ],
88
+ },
89
+ {
90
+ source: "/sw.js",
91
+ headers: [
92
+ { key: "Cache-Control", value: "public, max-age=0, must-revalidate" },
93
+ { key: "Service-Worker-Allowed", value: "/" },
94
+ ],
95
+ },
96
+ {
97
+ source: "/manifest.webmanifest",
98
+ headers: [
99
+ { key: "Cache-Control", value: "public, max-age=0, must-revalidate" },
100
+ ],
101
+ },
102
+ ];
103
+ },
104
+ env: {
105
+ NEXT_PUBLIC_APP_VERSION: version,
106
+ NEXT_PUBLIC_PI_VERSION: piVersion,
107
+ },
108
+ };
109
+
110
+ export default nextConfig;
package/package.json CHANGED
@@ -1,6 +1,107 @@
1
1
  {
2
2
  "name": "@colinxu/pi-web-classic",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.12.3",
4
+ "description": "Web UI for the pi coding agent",
5
+ "homepage": "https://github.com/xuzhonglin/pi-web#readme",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/xuzhonglin/pi-web.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/xuzhonglin/pi-web/issues"
12
+ },
13
+ "author": "colinxu",
14
+ "license": "MIT",
15
+ "engines": {
16
+ "node": ">=22.19.0"
17
+ },
18
+ "browserslist": [
19
+ "chrome 111",
20
+ "edge 111",
21
+ "firefox 111",
22
+ "safari 16.2",
23
+ "ios_saf 16.2"
24
+ ],
25
+ "bin": {
26
+ "pwc": "bin/pi-web.js"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "files": [
32
+ "bin",
33
+ ".next",
34
+ "!.next/cache",
35
+ "!.next/dev",
36
+ "!.next/**/*.js.map",
37
+ "!.next/server/app/**/*.nft.json",
38
+ "public",
39
+ "next.config.ts",
40
+ "package.json"
41
+ ],
42
+ "scripts": {
43
+ "postinstall": "node bin/prepare-terminal.js",
44
+ "dev": "next dev -H 127.0.0.1 -p 30141",
45
+ "dev:lan": "next dev -H 0.0.0.0 -p 30141",
46
+ "build": "next build --webpack",
47
+ "start": "next start -H 127.0.0.1 -p 30141",
48
+ "start:lan": "next start -H 0.0.0.0 -p 30141",
49
+ "lint": "eslint .",
50
+ "test:terminal": "node e2e/terminal.mjs",
51
+ "test:e2e": "node e2e/run.mjs",
52
+ "test": "node --experimental-strip-types --test \"app/**/*.test.mjs\" \"components/**/*.test.mjs\" \"hooks/**/*.test.mjs\" \"lib/**/*.test.mjs\" \"public/**/*.test.mjs\"",
53
+ "release": "npm version patch --no-git-tag-version && npm run build && npm publish --access public --registry=https://registry.npmjs.org/"
54
+ },
55
+ "dependencies": {
56
+ "@earendil-works/pi-agent-core": "1.2.0",
57
+ "@earendil-works/pi-ai": "1.2.0",
58
+ "@earendil-works/pi-codemode": "1.2.0",
59
+ "@earendil-works/pi-coding-agent": "1.2.0",
60
+ "@earendil-works/pi-mcp": "1.2.0",
61
+ "@earendil-works/pi-telemetry": "1.2.0",
62
+ "@earendil-works/pi-tui": "1.2.0",
63
+ "@xterm/addon-fit": "0.11.0",
64
+ "@xterm/xterm": "6.0.0",
65
+ "js-yaml": "^5.2.3",
66
+ "next": "16.3.8",
67
+ "node-pty": "1.2.0-beta.15",
68
+ "proper-lockfile": "4.1.2",
69
+ "react": "^19.2.4",
70
+ "react-dom": "^19.2.4",
71
+ "semver": "7.8.5",
72
+ "undici": "8.11.0",
73
+ "web-push": "^3.6.7"
74
+ },
75
+ "devDependencies": {
76
+ "@tailwindcss/postcss": "^4.2.2",
77
+ "@types/js-yaml": "^4.0.9",
78
+ "@types/mdast": "^4.0.4",
79
+ "@types/node": "^25",
80
+ "@types/proper-lockfile": "4.1.4",
81
+ "@types/react": "^19",
82
+ "@types/react-dom": "^19",
83
+ "@types/react-syntax-highlighter": "^15.5.13",
84
+ "@types/semver": "7.8.0",
85
+ "@types/web-push": "^3.6.4",
86
+ "ansi_up": "^6.0.6",
87
+ "eslint": "^9",
88
+ "eslint-config-next": "16.3.8",
89
+ "jiti": "^2.7.0",
90
+ "katex": "^0.16.47",
91
+ "mammoth": "^1.12.0",
92
+ "mermaid": "^11.16.1",
93
+ "playwright": "^1.62.1",
94
+ "postcss": "^8.5.26",
95
+ "react-markdown": "^10.1.0",
96
+ "react-syntax-highlighter": "^16.1.1",
97
+ "rehype-katex": "^7.0.1",
98
+ "rehype-raw": "^7.0.0",
99
+ "rehype-sanitize": "^6.0.0",
100
+ "remark-cjk-friendly": "^2.3.2",
101
+ "remark-frontmatter": "^5.0.0",
102
+ "remark-gfm": "^4.0.1",
103
+ "remark-math": "^6.0.0",
104
+ "tailwindcss": "^4.2.2",
105
+ "typescript": "^5"
106
+ }
107
+ }
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Catppuccin
4
+ Copyright (c) 2023 thang-nm
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,10 @@
1
+ # Catppuccin file icons
2
+
3
+ This directory contains a selected subset of [Catppuccin Icons for VSCode](https://github.com/catppuccin/vscode-icons), version `v1.26.0` (`b6915da9f6889b683a110aa747de96c2820a537d`).
4
+
5
+ - `latte/` is used in Pi Web's light theme.
6
+ - `mocha/` is used in Pi Web's dark theme.
7
+ - Pi Web uses the SVG alpha channel as a mask and applies `var(--text-dim)`,
8
+ so the rendered icons remain monochrome in both themes.
9
+
10
+ The copied assets are licensed under the MIT License. See [LICENSE](./LICENSE).
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#4c4f69" stroke-linecap="round" stroke-linejoin="round" d="M13.5 6.5v6a2 2 0 01-2 2h-7a2 2 0 01-2-2v-9c0-1.1.9-2 2-2h4.01m-.01 0 5 5h-4a1 1 0 01-1-1z" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#4c4f69" stroke-linecap="round" stroke-linejoin="round" d="M4.5 4.5H12c.83 0 1.5.67 1.5 1.5v6c0 .83-.67 1.5-1.5 1.5H2A1.5 1.5 0 01.5 12V3.5a1 1 0 011-1h5a1 1 0 011 1v1" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#4c4f69" stroke-linecap="round" stroke-linejoin="round" d="m1.87 8 .7-2.74a1 1 0 01.96-.76h10.94a1 1 0 01.97 1.24l-1.75 7a1 1 0 01-.97.76H2A1.5 1.5 0 01.5 12V3.5a1 1 0 011-1h5a1 1 0 011 1v1" />
3
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke="#40a02b" stroke-linecap="round" stroke-linejoin="round">
3
+ <path d="M2 15.5c-.7 0-1.5-.8-1.5-1.5V5c0-.7.8-1.5 1.5-1.5h9c.7 0 1.5.8 1.5 1.5v9c0 .7-.8 1.5-1.5 1.5z" />
4
+ <path d="m1.2 3.8 3.04-2.5S5.17.5 5.7.5h8.4c.66 0 1.4.73 1.4 1.4v7.73a2.7 2.7 0 01-.7 1.75l-2.68 3.51" />
5
+ <path d="M6 8.75c0-.69-.54-1.25-1.2-1.25h-.6c-.66 0-1.2.56-1.2 1.25S3.54 10 4.2 10h.6c.66 0 1.2.56 1.2 1.25s-.54 1.25-1.2 1.25h-.6c-.66 0-1.2-.56-1.2-1.25M4.5 6.5v1m0 5v1" />
6
+ </g>
7
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
3
+ <path stroke="#8c8fa1" d="M15 11.51c.28 0 .5.23.5.5v3a.5.5 0 01-.5.5h-5a.5.5 0 01-.5-.5v-3c0-.27.22-.5.5-.5zm-4 0v-1.5a1.5 1.5 0 113 0v1.5" />
4
+ <path stroke="#dc8a78" d="M14.5 7.01c0-3.69-4.2-5.57-7-6.5-2.8.93-7 2.81-7 6.5 0 4.85 5.13 5.5 7 5.5" />
5
+ <path stroke="#e64553" d="M5.5 8.51h4c-.67.67-1.33 1-2 1s-1.33-.33-2-1" />
6
+ <path stroke="#4c4f69" d="M5 6.51a.5.5 0 100-1 .5.5 0 000 1m5 0a.5.5 0 100-1 .5.5 0 000 1" />
7
+ </g>
8
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#8c8fa1" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.711" d="m7.997 9.694a1.726 1.695 0 1 0 0-3.39 1.726 1.695 0 0 0 0 3.39m3.021-6.78 3.021 5.085-3.021 5.085h-6.042l-3.021-5.085 3.021-5.085z" />
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke="#8839ef" stroke-linecap="round" stroke-linejoin="round">
3
+ <path d="m4 1.5h8c1.38 0 2.5 1.12 2.5 2.5v8c0 1.38-1.12 2.5-2.5 2.5h-8c-1.38 0-2.5-1.12-2.5-2.5v-8c0-1.38 1.12-2.5 2.5-2.5z" />
4
+ <path stroke-width=".814" d="m 10.240861,11.529149 c 0,0.58011 0.437448,1.039154 0.96002,1.035371 l 0.451635,-0.0032 c 0.522572,-0.0036 0.949379,-0.451477 0.949379,-1.032848 0,-0.581372 -0.426807,-1.065638 -0.949379,-1.065638 l -0.451635,3.4e-5 c -0.522572,3.9e-5 -0.949379,-0.4855273 -0.949379,-1.0656374 0,-0.5801104 0.426807,-1.0378931 0.949379,-1.0378931 l 0.451635,2.825e-4 c 0.522572,3.267e-4 0.951743,0.4577827 0.951743,1.0378931 M 6.8003972,11.529149 c 0,0.58011 0.4374474,1.039154 0.9600196,1.035371 l 0.46464,-0.0032 c 0.5225722,-0.0035 0.9363738,-0.451477 0.9363738,-1.031587 0,-0.580111 -0.4090724,-1.065638 -0.9316446,-1.065638 l -0.4693692,3.4e-5 c -0.5225722,3.8e-5 -0.949379,-0.4855272 -0.949379,-1.0656373 0,-0.5801104 0.4268068,-1.0378931 0.949379,-1.0378931 h 0.4516348 c 0.5225722,0 0.9635665,0.4577827 0.9635665,1.0378931 M 3.4072246,11.529149 c 0,0.58011 0.4374474,1.051765 0.9600196,1.051765 H 4.818879 c 0.5225722,0 0.949379,-0.456521 0.949379,-1.037893 m 0.01129,-2.1312747 c 0,-0.5801103 -0.4374474,-1.037893 -0.9600196,-1.037893 L 4.3678939,8.3741358 C 3.8453217,8.3744624 3.4078743,8.8420074 3.4078743,9.4233788 v 2.1186642" />
5
+ </g>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#df8e1d" stroke-linecap="round" stroke-linejoin="round" d="M8 6.5c3.59 0 6.5-1.4 6.5-2.68S11.59 1.5 8 1.5 1.5 2.54 1.5 3.82 4.41 6.5 8 6.5M14.5 8c0 .83-1.24 1.79-3.25 2.2s-4.49.41-6.5 0S1.5 8.83 1.5 8m13 4.18c0 .83-1.24 1.6-3.25 2-2.01.42-4.49.42-6.5 0-2.01-.4-3.25-1.17-3.25-2m0-8.3v8.3m13-8.3v8.3" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#1e66f5" stroke-linecap="round" stroke-linejoin="round" d="M.5 8.5H11l.75-.5a5.35 5.35 0 010-3.5c1 .6 1 1.88 1.74 2 .77-.09 1.23.01 2 .52 0 0-.97 1.77-2.5 1.98-1.93 3.65-4.5 5.5-6.98 5.5C0 14.5.5 8.5.5 8.5m1 0v-2m0 0h8m-6 2v-4m0 0h4m-2-2h2m-2 6v-6m2 6v-6m2 6v-2" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#df8e1d" stroke-linecap="round" stroke-linejoin="round" d="M5.5 8.5V12m0-6.5V4m0 4.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3m5 3.5v-1.5m0-3V4m0 6.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3M4 1.5h8A2.5 2.5 0 0114.5 4v8a2.5 2.5 0 01-2.5 2.5H4A2.5 2.5 0 011.5 12V4A2.5 2.5 0 014 1.5" />
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
3
+ <path stroke="#8839ef" d="M11.71 1.5 15.42 8l-3.71 6.5H4.29L.58 8l3.71-6.5z" />
4
+ <path stroke="#7287fd" d="m8 4.07 3.5 1.97v3.92L8 11.93 4.5 9.96V6.04z" />
5
+ </g>
6
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
3
+ <path stroke="#4c4f69" d="M8.5 10.5a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m0-6a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m3 3a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m-4-2v4m-1-6-1-1m4 4-1-1" />
4
+ <path stroke="#fe640b" d="m9.06 1.06 5.88 5.88a1.5 1.5 0 010 2.12l-5.88 5.88a1.5 1.5 0 01-2.12 0L1.06 9.06a1.5 1.5 0 010-2.12l5.88-5.88a1.5 1.5 0 012.12 0" />
5
+ </g>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#209fb5" stroke-linecap="round" stroke-linejoin="round" d="m15.48 8.06-4.85.48m4.85-.48a4.98 4.98 0 01-4.54 5.42 5 5 0 112.95-8.66l-1.7 1.84a2.5 2.5 0 00-4.18 2.06c.05.57.3 1.1.69 1.51.25.27 1 .83 1.78.82.8-.02 1.58-.25 2.07-.81 0 0 .8-.96.68-1.88M2.5 8.5l-2 .01m1.5 2h1.5m-2-3.99 2-.02" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#ea76cb" stroke-linecap="round" stroke-linejoin="round" d="M9 1.5a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m-5.5 3a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m0 7a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m11 0a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m-5.5 3a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m5.5-10a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1m-12 1v5m11-5v5m-10 1h9m-6 2.5-3-1.5m6 1.5 3-1.5m-9-2 4-8m5 8-4-8m-5 1 3-1.5m3 0 3 1.5" />
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
3
+ <path stroke="#fe640b" d="M1.5 1.5h13L13 13l-5 2-5-2z" />
4
+ <path stroke="#4c4f69" d="M11 4.5H5l.25 3h5.5l-.25 3-2.5 1-2.5-1-.08-1" />
5
+ </g>
6
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke="#04a5e5" stroke-linecap="round" stroke-linejoin="round">
3
+ <path d="M8 10.8c4.14 0 7.5-1.25 7.5-2.8S12.14 5.2 8 5.2.5 6.45.5 8s3.36 2.8 7.5 2.8" />
4
+ <path d="M5.52 9.4c2.07 3.5 4.86 5.72 6.23 4.95 1.37-.78.8-4.24-1.27-7.75C8.41 3.1 5.62.88 4.25 1.65c-1.37.78-.8 4.24 1.27 7.75" />
5
+ <path d="M5.52 6.6c-2.07 3.5-2.64 6.97-1.27 7.75 1.37.77 4.16-1.45 6.23-4.95s2.64-6.97 1.27-7.75C10.38.88 7.59 3.1 5.52 6.6" />
6
+ <path d="M8.5 8a.5.5 0 01-.5.5.5.5 0 01-.5-.5.5.5 0 01.5-.5.5.5 0 01.5.5" />
7
+ </g>
8
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke="#df8e1d" stroke-linecap="round" stroke-linejoin="round">
3
+ <path d="M4.5 11c0 .828427.6715729 1.5 1.5 1.5.8284271 0 1.5-.671573 1.5-1.5V7.5M12.5 8.75C12.5 8.05964406 11.9627417 7.5 11.3 7.5L10.7 7.5C10.0372583 7.5 9.5 8.05964406 9.5 8.75 9.5 9.44035594 10.0372583 10 10.7 10L11.3 10C11.9627417 10 12.5 10.5596441 12.5 11.25 12.5 11.9403559 11.9627417 12.5 11.3 12.5L10.7 12.5C10.0372583 12.5 9.5 11.9403559 9.5 11.25" />
4
+ <path d="m 4,1.5 h 8 c 1.385,0 2.5,1.115 2.5,2.5 v 8 c 0,1.385 -1.115,2.5 -2.5,2.5 H 4 C 2.615,14.5 1.5,13.385 1.5,12 V 4 C 1.5,2.615 2.615,1.5 4,1.5 Z" />
5
+ </g>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#df8e1d" stroke-linecap="round" stroke-linejoin="round" d="M4.5 2.5H4c-.75 0-1.5.75-1.5 1.5v2c0 1.1-1 2-1.83 2 .83 0 1.83.9 1.83 2v2c0 .75.75 1.5 1.5 1.5h.5m7-11h.5c.75 0 1.5.75 1.5 1.5v2c0 1.1 1 2 1.83 2-.83 0-1.83.9-1.83 2v2c0 .74-.75 1.5-1.5 1.5h-.5m-6.5-3a.5.5 0 100-1 .5.5 0 000 1m3 0a.5.5 0 100-1 .5.5 0 000 1m3 0a.5.5 0 100-1 .5.5 0 000 1" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#8c8fa1" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.744" d="m12.36 7.104c0.4817 0 0.8722 0.3903 0.8722 0.8717v5.23c0 0.4814-0.3905 0.8717-0.8722 0.8717h-8.721c-0.4817 0-0.8722-0.3903-0.8722-0.8717v-5.23c0-0.4814 0.3905-0.8717 0.8722-0.8717zm-6.977 0v-2.616c0-1.445 1.172-2.616 2.617-2.616 1.445 0 2.617 1.171 2.617 2.616v2.616" />
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#209fb5" stroke-linecap="round" stroke-linejoin="round" d="m9.25 8.25 2.25 2.25 2.25-2.25M3.5 11V5.5l2.04 3 1.96-3V11m4-.5V5M1.65 2.5h12.7c.59 0 1.15.49 1.15 1v9c0 .51-.56 1-1.15 1H1.65c-.59 0-1.15-.49-1.15-1V3.58c0-.5.56-1.08 1.15-1.08" />
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke="#1e66f5" stroke-linecap="round" stroke-linejoin="round">
3
+ <path d="M2.5 3.13c0-.77.86-1.63 1.62-1.63h9.76c.76 0 1.62.86 1.62 1.63v9.75c0 .76-.86 1.62-1.62 1.62H4.13c-.77 0-1.63-.86-1.63-1.62" />
4
+ <path d="m.5 5.5 1 5 1-5 1 5 .97-5m3.03 1h4m-4 3h4" />
5
+ </g>
6
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke="#4c4f69" stroke-linecap="round" stroke-linejoin="round">
3
+ <path d="M12.33 12.85a6.5 6.5 0 111.55-2.08" />
4
+ <path d="M12.33 12.85 5.5 4.5v7m5-7v3" />
5
+ </g>
6
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <g fill="none" stroke-linecap="round" stroke-linejoin="round">
3
+ <path stroke="#8c8fa1" d="M15 11.5c.27 0 .5.22.5.5v3a.5.5 0 01-.5.5h-5a.5.5 0 01-.5-.5v-3c0-.28.22-.5.5-.5zm-4 0V10a1.5 1.5 0 013 0v1.5" />
4
+ <path stroke="#4c4f69" d="M9.5 9V5.5h-2v6h-4v-8h8v3" />
5
+ <path stroke="#d20f39" d="M7.54 13.5H3A1.5 1.5 0 011.5 12V3c0-.83.67-1.5 1.5-1.5h9c.83 0 1.5.67 1.5 1.5v3.5" />
6
+ </g>
7
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path fill="none" stroke="#d20f39" stroke-linecap="round" stroke-linejoin="round" d="M2.8 14.34c1.81-1.25 3.02-3.16 3.91-5.5.9-2.33 1.86-4.33 1.44-6.63-.06-.36-.57-.73-.83-.7-1.02.06-.95 1.21-.85 1.9.24 1.71 1.56 3.7 2.84 5.56 1.27 1.87 2.32 2.16 3.78 2.26.5.03 1.25-.14 1.37-.58.77-2.8-9.02-.54-12.28 2.08-.4.33-.86 1-.6 1.46.2.36.87.4 1.23.15h0Z" />
3
+ </svg>