@tasselx/pi-web 1.1.0 → 1.2.1

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 (317) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +14 -12
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/prerender-manifest.json +1 -1
  5. package/.next/react-loadable-manifest.json +2 -2
  6. package/.next/required-server-files.js +1 -1
  7. package/.next/required-server-files.json +1 -1
  8. package/.next/routes-manifest.json +12 -0
  9. package/.next/server/app/_global-error/page.js +1 -1
  10. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/_global-error.html +1 -1
  12. package/.next/server/app/_global-error.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  16. package/.next/server/app/_not-found/page.js +1 -1
  17. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/_not-found.html +1 -1
  19. package/.next/server/app/_not-found.rsc +4 -4
  20. package/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
  21. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  22. package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
  23. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
  24. package/.next/server/app/api/agent/[id]/events/route.js +2 -2
  25. package/.next/server/app/api/agent/[id]/events/route.js.nft.json +1 -1
  26. package/.next/server/app/api/agent/[id]/lease/route.js +1 -1
  27. package/.next/server/app/api/agent/[id]/lease/route.js.nft.json +1 -1
  28. package/.next/server/app/api/agent/[id]/route.js +1 -1
  29. package/.next/server/app/api/agent/[id]/route.js.nft.json +1 -1
  30. package/.next/server/app/api/agent/new/route.js +1 -1
  31. package/.next/server/app/api/agent/new/route.js.nft.json +1 -1
  32. package/.next/server/app/api/agent/running/route.js +1 -1
  33. package/.next/server/app/api/agent/running/route.js.nft.json +1 -1
  34. package/.next/server/app/api/app-update/route.js +1 -1
  35. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  36. package/.next/server/app/api/auth/login/[provider]/route.js +1 -1
  37. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  38. package/.next/server/app/api/auth/providers/route.js +1 -1
  39. package/.next/server/app/api/cache-miss-notices/route.js +1 -1
  40. package/.next/server/app/api/cwd/browse/route.js +1 -1
  41. package/.next/server/app/api/cwd/pick/route.js +1 -0
  42. package/.next/server/app/api/cwd/pick/route.js.nft.json +1 -0
  43. package/.next/server/app/api/cwd/pick/route_client-reference-manifest.js +1 -0
  44. package/.next/server/app/api/cwd/validate/route.js +1 -1
  45. package/.next/server/app/api/default-cwd/route.js +1 -1
  46. package/.next/server/app/api/file-index/route.js +1 -1
  47. package/.next/server/app/api/files/[...path]/route.js +1 -1
  48. package/.next/server/app/api/git/diff/route.js +2 -2
  49. package/.next/server/app/api/git/status/route.js +1 -1
  50. package/.next/server/app/api/home/route.js +1 -1
  51. package/.next/server/app/api/mcp/route.js +2 -2
  52. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  53. package/.next/server/app/api/mcp/sign-in/[flowId]/route.js +1 -1
  54. package/.next/server/app/api/mcp/sign-in/route.js +1 -1
  55. package/.next/server/app/api/mcp/sign-in/route.js.nft.json +1 -1
  56. package/.next/server/app/api/mcp/test/route.js +1 -1
  57. package/.next/server/app/api/mcp/test/route.js.nft.json +1 -1
  58. package/.next/server/app/api/models/default/route.js +1 -1
  59. package/.next/server/app/api/models/enabled/route.js +1 -1
  60. package/.next/server/app/api/models/refresh/route.js +1 -1
  61. package/.next/server/app/api/models/route.js +1 -1
  62. package/.next/server/app/api/models-config/catalog/route.js +1 -1
  63. package/.next/server/app/api/models-config/discover/route.js +1 -1
  64. package/.next/server/app/api/models-config/route.js +1 -1
  65. package/.next/server/app/api/models-config/test/route.js +1 -1
  66. package/.next/server/app/api/open-in-explorer/route.js +1 -1
  67. package/.next/server/app/api/plugins/check/route.js +1 -1
  68. package/.next/server/app/api/plugins/route.js +1 -1
  69. package/.next/server/app/api/plugins/route.js.nft.json +1 -1
  70. package/.next/server/app/api/project-trust/route.js +1 -1
  71. package/.next/server/app/api/project-trust/route.js.nft.json +1 -1
  72. package/.next/server/app/api/provider-usage/query/route.js +1 -1
  73. package/.next/server/app/api/push/config/route.js +1 -1
  74. package/.next/server/app/api/push/subscribe/route.js +1 -1
  75. package/.next/server/app/api/sessions/[id]/auto-name/route.js +2 -2
  76. package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -1
  77. package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  78. package/.next/server/app/api/sessions/[id]/context/route.js.nft.json +1 -1
  79. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
  80. package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.js +1 -1
  81. package/.next/server/app/api/sessions/[id]/export/route.js +2 -2
  82. package/.next/server/app/api/sessions/[id]/fork/route.js +1 -1
  83. package/.next/server/app/api/sessions/[id]/fork/route.js.nft.json +1 -1
  84. package/.next/server/app/api/sessions/[id]/route.js +1 -1
  85. package/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
  86. package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
  87. package/.next/server/app/api/sessions/[id]/state/route.js.nft.json +1 -1
  88. package/.next/server/app/api/sessions/delete/route.js +1 -1
  89. package/.next/server/app/api/sessions/delete/route.js.nft.json +1 -1
  90. package/.next/server/app/api/sessions/route.js +1 -1
  91. package/.next/server/app/api/sessions/route.js.nft.json +1 -1
  92. package/.next/server/app/api/sessions/search/route.js +1 -1
  93. package/.next/server/app/api/sessions/stats/route.js +1 -1
  94. package/.next/server/app/api/sessions/stats/route.js.nft.json +1 -1
  95. package/.next/server/app/api/sessions/ui-state/route.js +1 -1
  96. package/.next/server/app/api/skills/check/route.js +1 -1
  97. package/.next/server/app/api/skills/content/route.js +1 -1
  98. package/.next/server/app/api/skills/install/route.js +1 -1
  99. package/.next/server/app/api/skills/route.js +1 -1
  100. package/.next/server/app/api/skills/search/route.js +1 -1
  101. package/.next/server/app/api/skills/update/route.js +1 -1
  102. package/.next/server/app/api/sleep-inhibit/route.js +1 -0
  103. package/.next/server/app/api/sleep-inhibit/route.js.nft.json +1 -0
  104. package/.next/server/app/api/sleep-inhibit/route_client-reference-manifest.js +1 -0
  105. package/.next/server/app/api/subagents/[id]/route.js +1 -1
  106. package/.next/server/app/api/subagents/[id]/route.js.nft.json +1 -1
  107. package/.next/server/app/api/subagents/profiles/route.js +1 -1
  108. package/.next/server/app/api/subagents/settings/route.js +1 -1
  109. package/.next/server/app/api/terminal/[id]/events/route.js +2 -2
  110. package/.next/server/app/api/terminal/[id]/route.js +1 -1
  111. package/.next/server/app/api/terminal/route.js +1 -1
  112. package/.next/server/app/api/tools/settings/route.js +1 -1
  113. package/.next/server/app/api/web-auth/route.js +1 -1
  114. package/.next/server/app/api/worktrees/route.js +1 -1
  115. package/.next/server/app/favicon.ico/route.js +1 -1
  116. package/.next/server/app/index.html +1 -1
  117. package/.next/server/app/index.rsc +9 -9
  118. package/.next/server/app/index.segments/__PAGE__.segment.rsc +9 -9
  119. package/.next/server/app/index.segments/_full.segment.rsc +9 -9
  120. package/.next/server/app/index.segments/_tree.segment.rsc +4 -4
  121. package/.next/server/app/login/page.js +1 -1
  122. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  123. package/.next/server/app/login.html +1 -1
  124. package/.next/server/app/login.rsc +5 -5
  125. package/.next/server/app/login.segments/_full.segment.rsc +5 -5
  126. package/.next/server/app/login.segments/_tree.segment.rsc +3 -3
  127. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
  128. package/.next/server/app/manifest.webmanifest/route.js +2 -2
  129. package/.next/server/app/page.js +134 -82
  130. package/.next/server/app/page_client-reference-manifest.js +1 -1
  131. package/.next/server/app-paths-manifest.json +14 -12
  132. package/.next/server/chunks/2243.js +1 -1
  133. package/.next/server/chunks/2650.js +1 -0
  134. package/.next/server/chunks/4315.js +2 -2
  135. package/.next/server/chunks/6216.js +6 -0
  136. package/.next/server/chunks/6429.js +2 -2
  137. package/.next/server/chunks/7979.js +1 -1
  138. package/.next/server/chunks/9165.js +1 -1
  139. package/.next/server/functions-config-manifest.json +1 -0
  140. package/.next/server/middleware-build-manifest.js +1 -1
  141. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  142. package/.next/server/pages/404.html +1 -1
  143. package/.next/server/pages/500.html +1 -1
  144. package/.next/static/chunks/1278-acbd0cb712f7f8f0.js +1 -0
  145. package/.next/static/chunks/7379.f16ffe41e8afa0ef.js +3 -0
  146. package/.next/static/chunks/app/_global-error/page-a509ce75fed6d8b0.js +1 -0
  147. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-a509ce75fed6d8b0.js +1 -0
  148. package/.next/static/chunks/app/api/agent/[id]/events/route-a509ce75fed6d8b0.js +1 -0
  149. package/.next/static/chunks/app/api/agent/[id]/lease/route-a509ce75fed6d8b0.js +1 -0
  150. package/.next/static/chunks/app/api/agent/[id]/route-a509ce75fed6d8b0.js +1 -0
  151. package/.next/static/chunks/app/api/agent/new/route-a509ce75fed6d8b0.js +1 -0
  152. package/.next/static/chunks/app/api/agent/running/route-a509ce75fed6d8b0.js +1 -0
  153. package/.next/static/chunks/app/api/app-update/route-a509ce75fed6d8b0.js +1 -0
  154. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-a509ce75fed6d8b0.js +1 -0
  155. package/.next/static/chunks/app/api/auth/login/[provider]/route-a509ce75fed6d8b0.js +1 -0
  156. package/.next/static/chunks/app/api/auth/logout/[provider]/route-a509ce75fed6d8b0.js +1 -0
  157. package/.next/static/chunks/app/api/auth/providers/route-a509ce75fed6d8b0.js +1 -0
  158. package/.next/static/chunks/app/api/cache-miss-notices/route-a509ce75fed6d8b0.js +1 -0
  159. package/.next/static/chunks/app/api/cwd/browse/route-a509ce75fed6d8b0.js +1 -0
  160. package/.next/static/chunks/app/api/cwd/pick/route-a509ce75fed6d8b0.js +1 -0
  161. package/.next/static/chunks/app/api/cwd/validate/route-a509ce75fed6d8b0.js +1 -0
  162. package/.next/static/chunks/app/api/default-cwd/route-a509ce75fed6d8b0.js +1 -0
  163. package/.next/static/chunks/app/api/file-index/route-a509ce75fed6d8b0.js +1 -0
  164. package/.next/static/chunks/app/api/files/[...path]/route-a509ce75fed6d8b0.js +1 -0
  165. package/.next/static/chunks/app/api/git/diff/route-a509ce75fed6d8b0.js +1 -0
  166. package/.next/static/chunks/app/api/git/status/route-a509ce75fed6d8b0.js +1 -0
  167. package/.next/static/chunks/app/api/home/route-a509ce75fed6d8b0.js +1 -0
  168. package/.next/static/chunks/app/api/mcp/route-a509ce75fed6d8b0.js +1 -0
  169. package/.next/static/chunks/app/api/mcp/sign-in/[flowId]/route-a509ce75fed6d8b0.js +1 -0
  170. package/.next/static/chunks/app/api/mcp/sign-in/route-a509ce75fed6d8b0.js +1 -0
  171. package/.next/static/chunks/app/api/mcp/test/route-a509ce75fed6d8b0.js +1 -0
  172. package/.next/static/chunks/app/api/models/default/route-a509ce75fed6d8b0.js +1 -0
  173. package/.next/static/chunks/app/api/models/enabled/route-a509ce75fed6d8b0.js +1 -0
  174. package/.next/static/chunks/app/api/models/refresh/route-a509ce75fed6d8b0.js +1 -0
  175. package/.next/static/chunks/app/api/models/route-a509ce75fed6d8b0.js +1 -0
  176. package/.next/static/chunks/app/api/models-config/catalog/route-a509ce75fed6d8b0.js +1 -0
  177. package/.next/static/chunks/app/api/models-config/discover/route-a509ce75fed6d8b0.js +1 -0
  178. package/.next/static/chunks/app/api/models-config/route-a509ce75fed6d8b0.js +1 -0
  179. package/.next/static/chunks/app/api/models-config/test/route-a509ce75fed6d8b0.js +1 -0
  180. package/.next/static/chunks/app/api/open-in-explorer/route-a509ce75fed6d8b0.js +1 -0
  181. package/.next/static/chunks/app/api/plugins/check/route-a509ce75fed6d8b0.js +1 -0
  182. package/.next/static/chunks/app/api/plugins/route-a509ce75fed6d8b0.js +1 -0
  183. package/.next/static/chunks/app/api/project-trust/route-a509ce75fed6d8b0.js +1 -0
  184. package/.next/static/chunks/app/api/provider-usage/query/route-a509ce75fed6d8b0.js +1 -0
  185. package/.next/static/chunks/app/api/push/config/route-a509ce75fed6d8b0.js +1 -0
  186. package/.next/static/chunks/app/api/push/subscribe/route-a509ce75fed6d8b0.js +1 -0
  187. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-a509ce75fed6d8b0.js +1 -0
  188. package/.next/static/chunks/app/api/sessions/[id]/context/route-a509ce75fed6d8b0.js +1 -0
  189. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-a509ce75fed6d8b0.js +1 -0
  190. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-a509ce75fed6d8b0.js +1 -0
  191. package/.next/static/chunks/app/api/sessions/[id]/export/route-a509ce75fed6d8b0.js +1 -0
  192. package/.next/static/chunks/app/api/sessions/[id]/fork/route-a509ce75fed6d8b0.js +1 -0
  193. package/.next/static/chunks/app/api/sessions/[id]/route-a509ce75fed6d8b0.js +1 -0
  194. package/.next/static/chunks/app/api/sessions/[id]/state/route-a509ce75fed6d8b0.js +1 -0
  195. package/.next/static/chunks/app/api/sessions/delete/route-a509ce75fed6d8b0.js +1 -0
  196. package/.next/static/chunks/app/api/sessions/route-a509ce75fed6d8b0.js +1 -0
  197. package/.next/static/chunks/app/api/sessions/search/route-a509ce75fed6d8b0.js +1 -0
  198. package/.next/static/chunks/app/api/sessions/stats/route-a509ce75fed6d8b0.js +1 -0
  199. package/.next/static/chunks/app/api/sessions/ui-state/route-a509ce75fed6d8b0.js +1 -0
  200. package/.next/static/chunks/app/api/skills/check/route-a509ce75fed6d8b0.js +1 -0
  201. package/.next/static/chunks/app/api/skills/content/route-a509ce75fed6d8b0.js +1 -0
  202. package/.next/static/chunks/app/api/skills/install/route-a509ce75fed6d8b0.js +1 -0
  203. package/.next/static/chunks/app/api/skills/route-a509ce75fed6d8b0.js +1 -0
  204. package/.next/static/chunks/app/api/skills/search/route-a509ce75fed6d8b0.js +1 -0
  205. package/.next/static/chunks/app/api/skills/update/route-a509ce75fed6d8b0.js +1 -0
  206. package/.next/static/chunks/app/api/sleep-inhibit/route-a509ce75fed6d8b0.js +1 -0
  207. package/.next/static/chunks/app/api/subagents/[id]/route-a509ce75fed6d8b0.js +1 -0
  208. package/.next/static/chunks/app/api/subagents/profiles/route-a509ce75fed6d8b0.js +1 -0
  209. package/.next/static/chunks/app/api/subagents/settings/route-a509ce75fed6d8b0.js +1 -0
  210. package/.next/static/chunks/app/api/terminal/[id]/events/route-a509ce75fed6d8b0.js +1 -0
  211. package/.next/static/chunks/app/api/terminal/[id]/route-a509ce75fed6d8b0.js +1 -0
  212. package/.next/static/chunks/app/api/terminal/route-a509ce75fed6d8b0.js +1 -0
  213. package/.next/static/chunks/app/api/tools/settings/route-a509ce75fed6d8b0.js +1 -0
  214. package/.next/static/chunks/app/api/web-auth/route-a509ce75fed6d8b0.js +1 -0
  215. package/.next/static/chunks/app/api/worktrees/route-a509ce75fed6d8b0.js +1 -0
  216. package/.next/static/chunks/app/{layout-4fac0a406b05e28e.js → layout-fba9ec844c19ded5.js} +1 -1
  217. package/.next/static/chunks/app/manifest.webmanifest/route-a509ce75fed6d8b0.js +1 -0
  218. package/.next/static/chunks/app/page-020b7792f47e61a6.js +338 -0
  219. package/.next/static/chunks/next/dist/client/components/builtin/app-error-a509ce75fed6d8b0.js +1 -0
  220. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-a509ce75fed6d8b0.js +1 -0
  221. package/.next/static/chunks/next/dist/client/components/builtin/not-found-a509ce75fed6d8b0.js +1 -0
  222. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-a509ce75fed6d8b0.js +1 -0
  223. package/.next/static/chunks/{webpack-b3e6fd1801874f85.js → webpack-10ae3428600991e0.js} +1 -1
  224. package/.next/static/css/{ad96e794a9954323.css → bf4305e2891fcef1.css} +1 -1
  225. package/.next/static/css/{2c3ed27b408ff881.css → dac4513c1f26d498.css} +1 -1
  226. package/.next/static/css/dc78b381ecea7676.css +1 -0
  227. package/.next/static/css/e423cf64c3a31a65.css +1 -0
  228. package/.next/static/d8QChh2wYaULqtNavrBMx/_buildManifest.js +1 -0
  229. package/.next/trace +59 -178
  230. package/.next/trace-build +1 -1
  231. package/.next/types/app/api/cwd/pick/route.ts +355 -0
  232. package/.next/types/app/api/sleep-inhibit/route.ts +355 -0
  233. package/.next/types/routes.d.ts +3 -1
  234. package/.next/types/validator.ts +20 -0
  235. package/README.md +1 -0
  236. package/package.json +1 -1
  237. package/.next/server/chunks/4698.js +0 -1
  238. package/.next/static/chunks/1278-04df33c86a8cedbb.js +0 -1
  239. package/.next/static/chunks/7379.49eae68e886f95ce.js +0 -3
  240. package/.next/static/chunks/app/_global-error/page-cbe4231fb889bdce.js +0 -1
  241. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-cbe4231fb889bdce.js +0 -1
  242. package/.next/static/chunks/app/api/agent/[id]/events/route-cbe4231fb889bdce.js +0 -1
  243. package/.next/static/chunks/app/api/agent/[id]/lease/route-cbe4231fb889bdce.js +0 -1
  244. package/.next/static/chunks/app/api/agent/[id]/route-cbe4231fb889bdce.js +0 -1
  245. package/.next/static/chunks/app/api/agent/new/route-cbe4231fb889bdce.js +0 -1
  246. package/.next/static/chunks/app/api/agent/running/route-cbe4231fb889bdce.js +0 -1
  247. package/.next/static/chunks/app/api/app-update/route-cbe4231fb889bdce.js +0 -1
  248. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-cbe4231fb889bdce.js +0 -1
  249. package/.next/static/chunks/app/api/auth/login/[provider]/route-cbe4231fb889bdce.js +0 -1
  250. package/.next/static/chunks/app/api/auth/logout/[provider]/route-cbe4231fb889bdce.js +0 -1
  251. package/.next/static/chunks/app/api/auth/providers/route-cbe4231fb889bdce.js +0 -1
  252. package/.next/static/chunks/app/api/cache-miss-notices/route-cbe4231fb889bdce.js +0 -1
  253. package/.next/static/chunks/app/api/cwd/browse/route-cbe4231fb889bdce.js +0 -1
  254. package/.next/static/chunks/app/api/cwd/validate/route-cbe4231fb889bdce.js +0 -1
  255. package/.next/static/chunks/app/api/default-cwd/route-cbe4231fb889bdce.js +0 -1
  256. package/.next/static/chunks/app/api/file-index/route-cbe4231fb889bdce.js +0 -1
  257. package/.next/static/chunks/app/api/files/[...path]/route-cbe4231fb889bdce.js +0 -1
  258. package/.next/static/chunks/app/api/git/diff/route-cbe4231fb889bdce.js +0 -1
  259. package/.next/static/chunks/app/api/git/status/route-cbe4231fb889bdce.js +0 -1
  260. package/.next/static/chunks/app/api/home/route-cbe4231fb889bdce.js +0 -1
  261. package/.next/static/chunks/app/api/mcp/route-cbe4231fb889bdce.js +0 -1
  262. package/.next/static/chunks/app/api/mcp/sign-in/[flowId]/route-cbe4231fb889bdce.js +0 -1
  263. package/.next/static/chunks/app/api/mcp/sign-in/route-cbe4231fb889bdce.js +0 -1
  264. package/.next/static/chunks/app/api/mcp/test/route-cbe4231fb889bdce.js +0 -1
  265. package/.next/static/chunks/app/api/models/default/route-cbe4231fb889bdce.js +0 -1
  266. package/.next/static/chunks/app/api/models/enabled/route-cbe4231fb889bdce.js +0 -1
  267. package/.next/static/chunks/app/api/models/refresh/route-cbe4231fb889bdce.js +0 -1
  268. package/.next/static/chunks/app/api/models/route-cbe4231fb889bdce.js +0 -1
  269. package/.next/static/chunks/app/api/models-config/catalog/route-cbe4231fb889bdce.js +0 -1
  270. package/.next/static/chunks/app/api/models-config/discover/route-cbe4231fb889bdce.js +0 -1
  271. package/.next/static/chunks/app/api/models-config/route-cbe4231fb889bdce.js +0 -1
  272. package/.next/static/chunks/app/api/models-config/test/route-cbe4231fb889bdce.js +0 -1
  273. package/.next/static/chunks/app/api/open-in-explorer/route-cbe4231fb889bdce.js +0 -1
  274. package/.next/static/chunks/app/api/plugins/check/route-cbe4231fb889bdce.js +0 -1
  275. package/.next/static/chunks/app/api/plugins/route-cbe4231fb889bdce.js +0 -1
  276. package/.next/static/chunks/app/api/project-trust/route-cbe4231fb889bdce.js +0 -1
  277. package/.next/static/chunks/app/api/provider-usage/query/route-cbe4231fb889bdce.js +0 -1
  278. package/.next/static/chunks/app/api/push/config/route-cbe4231fb889bdce.js +0 -1
  279. package/.next/static/chunks/app/api/push/subscribe/route-cbe4231fb889bdce.js +0 -1
  280. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-cbe4231fb889bdce.js +0 -1
  281. package/.next/static/chunks/app/api/sessions/[id]/context/route-cbe4231fb889bdce.js +0 -1
  282. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-cbe4231fb889bdce.js +0 -1
  283. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route-cbe4231fb889bdce.js +0 -1
  284. package/.next/static/chunks/app/api/sessions/[id]/export/route-cbe4231fb889bdce.js +0 -1
  285. package/.next/static/chunks/app/api/sessions/[id]/fork/route-cbe4231fb889bdce.js +0 -1
  286. package/.next/static/chunks/app/api/sessions/[id]/route-cbe4231fb889bdce.js +0 -1
  287. package/.next/static/chunks/app/api/sessions/[id]/state/route-cbe4231fb889bdce.js +0 -1
  288. package/.next/static/chunks/app/api/sessions/delete/route-cbe4231fb889bdce.js +0 -1
  289. package/.next/static/chunks/app/api/sessions/route-cbe4231fb889bdce.js +0 -1
  290. package/.next/static/chunks/app/api/sessions/search/route-cbe4231fb889bdce.js +0 -1
  291. package/.next/static/chunks/app/api/sessions/stats/route-cbe4231fb889bdce.js +0 -1
  292. package/.next/static/chunks/app/api/sessions/ui-state/route-cbe4231fb889bdce.js +0 -1
  293. package/.next/static/chunks/app/api/skills/check/route-cbe4231fb889bdce.js +0 -1
  294. package/.next/static/chunks/app/api/skills/content/route-cbe4231fb889bdce.js +0 -1
  295. package/.next/static/chunks/app/api/skills/install/route-cbe4231fb889bdce.js +0 -1
  296. package/.next/static/chunks/app/api/skills/route-cbe4231fb889bdce.js +0 -1
  297. package/.next/static/chunks/app/api/skills/search/route-cbe4231fb889bdce.js +0 -1
  298. package/.next/static/chunks/app/api/skills/update/route-cbe4231fb889bdce.js +0 -1
  299. package/.next/static/chunks/app/api/subagents/[id]/route-cbe4231fb889bdce.js +0 -1
  300. package/.next/static/chunks/app/api/subagents/profiles/route-cbe4231fb889bdce.js +0 -1
  301. package/.next/static/chunks/app/api/subagents/settings/route-cbe4231fb889bdce.js +0 -1
  302. package/.next/static/chunks/app/api/terminal/[id]/events/route-cbe4231fb889bdce.js +0 -1
  303. package/.next/static/chunks/app/api/terminal/[id]/route-cbe4231fb889bdce.js +0 -1
  304. package/.next/static/chunks/app/api/terminal/route-cbe4231fb889bdce.js +0 -1
  305. package/.next/static/chunks/app/api/tools/settings/route-cbe4231fb889bdce.js +0 -1
  306. package/.next/static/chunks/app/api/web-auth/route-cbe4231fb889bdce.js +0 -1
  307. package/.next/static/chunks/app/api/worktrees/route-cbe4231fb889bdce.js +0 -1
  308. package/.next/static/chunks/app/manifest.webmanifest/route-cbe4231fb889bdce.js +0 -1
  309. package/.next/static/chunks/app/page-55d6c63b3fad59ba.js +0 -286
  310. package/.next/static/chunks/next/dist/client/components/builtin/app-error-cbe4231fb889bdce.js +0 -1
  311. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-cbe4231fb889bdce.js +0 -1
  312. package/.next/static/chunks/next/dist/client/components/builtin/not-found-cbe4231fb889bdce.js +0 -1
  313. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-cbe4231fb889bdce.js +0 -1
  314. package/.next/static/css/2e00ddf94db0ac93.css +0 -1
  315. package/.next/static/css/992381f1f993c50d.css +0 -1
  316. package/.next/static/kGHKpcRcJUSY2DuTSILsx/_buildManifest.js +0 -1
  317. /package/.next/static/{kGHKpcRcJUSY2DuTSILsx → d8QChh2wYaULqtNavrBMx}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=3943,a.ids=[3943],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29862:a=>{a.exports=import("@earendil-works/pi-tui")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68261:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/sessions/[id]/state/route",pathname:"/api/sessions/[id]/state",filename:"route",bundlePath:"app/api/sessions/[id]/state/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/tassel/pi-web/app/api/sessions/[id]/state/route.ts",nextConfigOutput:"",userland:()=>c(87230),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/sessions/[id]/state/route";"/index"===d&&(d="/");let{instrumentation:e}=await v.ensureInstrumentation(a,{deferSpans:!0});return v.traceRequest(a,{tracer:(0,h.getTracer)(),spanName:`${a.method||"GET"} ${d}`,httpTarget:a.url,instrumentation:e},(e,f)=>B(a,b,c,d,!1,e,f))}async function B(a,b,c,d,f,w,x){let y=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:f});if(!y)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:z,deploymentId:A,params:B,nextConfig:C,parsedUrl:D,isDraftMode:E,prerenderManifest:F,routerServerContext:G,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,resolvedPathname:J,clientReferenceManifest:K,serverActionsManifest:L,previewProps:M}=y,N=(0,j.normalizeAppPath)(d),O=!!F.routes[J]&&(v.isDev||(0,t.isRouteCacheOwner)(J,v.cacheOwner,F.routes[J])),P=!!(F.dynamicRoutes[N]||O),Q=async()=>((null==G?void 0:G.render404)?await G.render404(a,b,D,!1):b.end("This page could not be found"),null);if(P&&!E){let a=F.dynamicRoutes[N];if(a&&!1===a.fallback&&!O){if(C.adapterPath)return await Q();throw new s.NoFallbackError}}let R=null;!P||v.isDev||E||(R="/index"===(R=J)?"/":R),L&&K&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:K,serverActionsManifest:L});let S=a.method||"GET",T=(0,h.getTracer)(),U=!!(null==G?void 0:G.isWrappedByNextServer),V=!!(0,g.getRequestMeta)(a,"minimalMode"),W=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,C,M,F,V);null==W||W.resetRequestCache(),globalThis.__incrementalCache=W;let X={params:B,previewProps:M,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout,durableUseCacheEntries:!!C.experimental.durableUseCacheEntries},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:E,incrementalCache:W,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:z,deploymentId:A}},Y=new k.NodeNextRequest(a),Z=new k.NodeNextResponse(b),$=l.NextRequestAdapter.fromNodeNextRequest(Y,(0,l.signalFromNodeResponse)(b)),_=async({previousCacheEntry:e})=>{try{if(!V&&H&&I&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===R?await v.handle($,X):await v.prerender($,X);a.fetchMetrics=X.renderOpts.fetchMetrics;let f=X.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=X.renderOpts.collectedTags;if(!P)return await (0,o.I)(Y,Z,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==X.renderOpts.collectedRevalidate&&!(X.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&X.renderOpts.collectedRevalidate,e=void 0===X.renderOpts.collectedExpire||X.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?C.expireTime:void 0:X.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),b}},aa=async d=>{try{var f,g;let d=await v.handleResponse({req:a,nextConfig:C,cacheKey:R,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:M,prerenderManifest:F,isRoutePPREnabled:!1,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,responseGenerator:_,waitUntil:c.waitUntil,isMinimalMode:V});if(null!==d&&"error"in d)throw d.error;if(!P)return;if((null==d||null==(f=d.value)?void 0:f.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(g=d.value)?void 0:g.kind}`);V||b.setHeader("x-nextjs-cache",H?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let h=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);V&&P||h.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||h.get("Cache-Control")||h.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(Y,Z,new Response(d.value.body,{headers:h,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),P)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(Y,Z,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=T.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||N,f=`${S} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":f}),d.updateName(f),x&&x!==d&&(x.setAttribute("http.route",e),x.updateName(f))})()}};U||void 0===a.url||null==w||w.setAttribute("http.target",a.url),await aa(w)}},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},81115:a=>{a.exports=require("constants")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87230:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>i});var e=c(23211),f=c(56429),g=c(40402),h=a([f,g]);async function i(a,{params:b}){let{id:c}=await b;try{let a=(0,f.A4)(c);if(a?.isAlive()){let b=await a.send({type:"get_state"});return e.NextResponse.json({running:!0,state:b})}if(!await (0,g.os)(c))return e.NextResponse.json({error:"Session not found"},{status:404});return e.NextResponse.json({running:!1})}catch(a){return e.NextResponse.json({error:String(a)},{status:500})}}[f,g]=h.then?(await h)():h,d()}catch(a){d(a)}})},94735:a=>{a.exports=require("events")},98995:a=>{a.exports=require("node:module")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,426,974,5582,2498,3757,4698,2243,6429],()=>b(b.s=68261));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=3943,a.ids=[3943],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},28802:a=>{a.exports=import("@earendil-works/pi-ai")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29790:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/sessions/[id]/state/route",pathname:"/api/sessions/[id]/state",filename:"route",bundlePath:"app/api/sessions/[id]/state/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/tassel/pi-web/app/api/sessions/[id]/state/route.ts",nextConfigOutput:"",userland:()=>c(87230),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/sessions/[id]/state/route";"/index"===d&&(d="/");let{instrumentation:e}=await v.ensureInstrumentation(a,{deferSpans:!0});return v.traceRequest(a,{tracer:(0,h.getTracer)(),spanName:`${a.method||"GET"} ${d}`,httpTarget:a.url,instrumentation:e},(e,f)=>B(a,b,c,d,!1,e,f))}async function B(a,b,c,d,f,w,x){let y=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:f});if(!y)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:z,deploymentId:A,params:B,nextConfig:C,parsedUrl:D,isDraftMode:E,prerenderManifest:F,routerServerContext:G,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,resolvedPathname:J,clientReferenceManifest:K,serverActionsManifest:L,previewProps:M}=y,N=(0,j.normalizeAppPath)(d),O=!!F.routes[J]&&(v.isDev||(0,t.isRouteCacheOwner)(J,v.cacheOwner,F.routes[J])),P=!!(F.dynamicRoutes[N]||O),Q=async()=>((null==G?void 0:G.render404)?await G.render404(a,b,D,!1):b.end("This page could not be found"),null);if(P&&!E){let a=F.dynamicRoutes[N];if(a&&!1===a.fallback&&!O){if(C.adapterPath)return await Q();throw new s.NoFallbackError}}let R=null;!P||v.isDev||E||(R="/index"===(R=J)?"/":R),L&&K&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:K,serverActionsManifest:L});let S=a.method||"GET",T=(0,h.getTracer)(),U=!!(null==G?void 0:G.isWrappedByNextServer),V=!!(0,g.getRequestMeta)(a,"minimalMode"),W=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,C,M,F,V);null==W||W.resetRequestCache(),globalThis.__incrementalCache=W;let X={params:B,previewProps:M,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout,durableUseCacheEntries:!!C.experimental.durableUseCacheEntries},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:E,incrementalCache:W,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:z,deploymentId:A}},Y=new k.NodeNextRequest(a),Z=new k.NodeNextResponse(b),$=l.NextRequestAdapter.fromNodeNextRequest(Y,(0,l.signalFromNodeResponse)(b)),_=async({previousCacheEntry:e})=>{try{if(!V&&H&&I&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===R?await v.handle($,X):await v.prerender($,X);a.fetchMetrics=X.renderOpts.fetchMetrics;let f=X.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=X.renderOpts.collectedTags;if(!P)return await (0,o.I)(Y,Z,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==X.renderOpts.collectedRevalidate&&!(X.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&X.renderOpts.collectedRevalidate,e=void 0===X.renderOpts.collectedExpire||X.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?C.expireTime:void 0:X.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),b}},aa=async d=>{try{var f,g;let d=await v.handleResponse({req:a,nextConfig:C,cacheKey:R,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:M,prerenderManifest:F,isRoutePPREnabled:!1,isOnDemandRevalidate:H,revalidateOnlyGenerated:I,responseGenerator:_,waitUntil:c.waitUntil,isMinimalMode:V});if(null!==d&&"error"in d)throw d.error;if(!P)return;if((null==d||null==(f=d.value)?void 0:f.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(g=d.value)?void 0:g.kind}`);V||b.setHeader("x-nextjs-cache",H?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let h=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);V&&P||h.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||h.get("Cache-Control")||h.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(Y,Z,new Response(d.value.body,{headers:h,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==R,isOnDemandRevalidate:H})},!1,G),P)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(Y,Z,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=T.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||N,f=`${S} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":f}),d.updateName(f),x&&x!==d&&(x.setAttribute("http.route",e),x.updateName(f))})()}};U||void 0===a.url||null==w||w.setAttribute("http.target",a.url),await aa(w)}},29862:a=>{a.exports=import("@earendil-works/pi-tui")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},51181:a=>{a.exports=require("web-push")},51455:a=>{a.exports=require("node:fs/promises")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},75430:a=>{a.exports=import("@earendil-works/pi-coding-agent")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},81115:a=>{a.exports=require("constants")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87230:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>i});var e=c(23211),f=c(56429),g=c(40402),h=a([f,g]);async function i(a,{params:b}){let{id:c}=await b;try{let a=(0,f.A4)(c);if(a?.isAlive()){let b=await a.send({type:"get_state"});return e.NextResponse.json({running:!0,state:b})}if(!await (0,g.os)(c))return e.NextResponse.json({error:"Session not found"},{status:404});return e.NextResponse.json({running:!1})}catch(a){return e.NextResponse.json({error:String(a)},{status:500})}}[f,g]=h.then?(await h)():h,d()}catch(a){d(a)}})},94735:a=>{a.exports=require("events")},98995:a=>{a.exports=require("node:module")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,1813,426,974,5582,2498,3757,2650,2243,6216,6429],()=>b(b.s=29790));module.exports=c})();