@baique/pi-web-sky 0.1.18 → 0.1.20

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 (208) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +9 -8
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/react-loadable-manifest.json +1 -1
  6. package/.next/required-server-files.js +2 -2
  7. package/.next/required-server-files.json +2 -2
  8. package/.next/routes-manifest.json +6 -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 +3 -3
  20. package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
  21. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  22. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  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]/route.js +1 -1
  26. package/.next/server/app/api/agent/new/route.js +1 -1
  27. package/.next/server/app/api/agent/running/events/route.js +1 -1
  28. package/.next/server/app/api/agent/running/route.js +1 -1
  29. package/.next/server/app/api/app-update/route.js +1 -1
  30. package/.next/server/app/api/auth/all-providers/route.js +1 -1
  31. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  32. package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
  33. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  34. package/.next/server/app/api/auth/providers/route.js +1 -1
  35. package/.next/server/app/api/cwd/browse/route.js +1 -1
  36. package/.next/server/app/api/cwd/validate/route.js +1 -1
  37. package/.next/server/app/api/default-cwd/route.js +1 -1
  38. package/.next/server/app/api/file-index/route.js +1 -1
  39. package/.next/server/app/api/files/[...path]/route.js +2 -2
  40. package/.next/server/app/api/git/diff/route.js +2 -2
  41. package/.next/server/app/api/git/status/route.js +1 -1
  42. package/.next/server/app/api/home/route.js +1 -1
  43. package/.next/server/app/api/mcp/route.js +1 -0
  44. package/.next/server/app/api/mcp/route.js.nft.json +1 -0
  45. package/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -0
  46. package/.next/server/app/api/models/route.js +1 -1
  47. package/.next/server/app/api/models-config/catalog/route.js +1 -1
  48. package/.next/server/app/api/models-config/discover/route.js +1 -1
  49. package/.next/server/app/api/models-config/route.js +1 -1
  50. package/.next/server/app/api/models-config/test/route.js +1 -1
  51. package/.next/server/app/api/plugins/route.js +1 -1
  52. package/.next/server/app/api/project-trust/route.js +1 -1
  53. package/.next/server/app/api/sessions/[id]/auto-name/route.js +2 -2
  54. package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  55. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
  56. package/.next/server/app/api/sessions/[id]/export/route.js +1 -1
  57. package/.next/server/app/api/sessions/[id]/route.js +1 -1
  58. package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
  59. package/.next/server/app/api/sessions/[id]/todos/route.js +1 -1
  60. package/.next/server/app/api/sessions/route.js +1 -1
  61. package/.next/server/app/api/skills/check/route.js +1 -1
  62. package/.next/server/app/api/skills/install/route.js +1 -1
  63. package/.next/server/app/api/skills/route.js +5 -5
  64. package/.next/server/app/api/skills/search/route.js +1 -1
  65. package/.next/server/app/api/skills/update/route.js +1 -1
  66. package/.next/server/app/api/terminal/[id]/events/route.js +2 -2
  67. package/.next/server/app/api/terminal/[id]/route.js +2 -2
  68. package/.next/server/app/api/terminal/route.js +2 -2
  69. package/.next/server/app/api/worktrees/route.js +1 -1
  70. package/.next/server/app/favicon.ico/route.js +1 -1
  71. package/.next/server/app/index.html +1 -1
  72. package/.next/server/app/index.rsc +6 -6
  73. package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -6
  74. package/.next/server/app/index.segments/_full.segment.rsc +6 -6
  75. package/.next/server/app/index.segments/_tree.segment.rsc +3 -3
  76. package/.next/server/app/manifest.webmanifest/route.js +2 -2
  77. package/.next/server/app/page.js +11 -9
  78. package/.next/server/app/page_client-reference-manifest.js +1 -1
  79. package/.next/server/app-paths-manifest.json +9 -8
  80. package/.next/server/chunks/5582.js +2 -2
  81. package/.next/server/middleware-build-manifest.js +1 -1
  82. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  83. package/.next/server/middleware.js +1 -1
  84. package/.next/server/pages/404.html +1 -1
  85. package/.next/server/pages/500.html +1 -1
  86. package/.next/server/server-reference-manifest.json +1 -1
  87. package/.next/static/chunks/{3266.c17502e9302f8b18.js → 3266.4c722f2677595a04.js} +1 -1
  88. package/.next/static/chunks/app/_global-error/page-343b3c01fcb26582.js +1 -0
  89. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-343b3c01fcb26582.js +1 -0
  90. package/.next/static/chunks/app/api/agent/[id]/events/route-343b3c01fcb26582.js +1 -0
  91. package/.next/static/chunks/app/api/agent/[id]/route-343b3c01fcb26582.js +1 -0
  92. package/.next/static/chunks/app/api/agent/new/route-343b3c01fcb26582.js +1 -0
  93. package/.next/static/chunks/app/api/agent/running/events/route-343b3c01fcb26582.js +1 -0
  94. package/.next/static/chunks/app/api/agent/running/route-343b3c01fcb26582.js +1 -0
  95. package/.next/static/chunks/app/api/app-update/route-343b3c01fcb26582.js +1 -0
  96. package/.next/static/chunks/app/api/auth/all-providers/route-343b3c01fcb26582.js +1 -0
  97. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-343b3c01fcb26582.js +1 -0
  98. package/.next/static/chunks/app/api/auth/login/[provider]/route-343b3c01fcb26582.js +1 -0
  99. package/.next/static/chunks/app/api/auth/logout/[provider]/route-343b3c01fcb26582.js +1 -0
  100. package/.next/static/chunks/app/api/auth/providers/route-343b3c01fcb26582.js +1 -0
  101. package/.next/static/chunks/app/api/cwd/browse/route-343b3c01fcb26582.js +1 -0
  102. package/.next/static/chunks/app/api/cwd/validate/route-343b3c01fcb26582.js +1 -0
  103. package/.next/static/chunks/app/api/default-cwd/route-343b3c01fcb26582.js +1 -0
  104. package/.next/static/chunks/app/api/file-index/route-343b3c01fcb26582.js +1 -0
  105. package/.next/static/chunks/app/api/files/[...path]/route-343b3c01fcb26582.js +1 -0
  106. package/.next/static/chunks/app/api/git/diff/route-343b3c01fcb26582.js +1 -0
  107. package/.next/static/chunks/app/api/git/status/route-343b3c01fcb26582.js +1 -0
  108. package/.next/static/chunks/app/api/home/route-343b3c01fcb26582.js +1 -0
  109. package/.next/static/chunks/app/api/mcp/route-343b3c01fcb26582.js +1 -0
  110. package/.next/static/chunks/app/api/models/route-343b3c01fcb26582.js +1 -0
  111. package/.next/static/chunks/app/api/models-config/catalog/route-343b3c01fcb26582.js +1 -0
  112. package/.next/static/chunks/app/api/models-config/discover/route-343b3c01fcb26582.js +1 -0
  113. package/.next/static/chunks/app/api/models-config/route-343b3c01fcb26582.js +1 -0
  114. package/.next/static/chunks/app/api/models-config/test/route-343b3c01fcb26582.js +1 -0
  115. package/.next/static/chunks/app/api/plugins/route-343b3c01fcb26582.js +1 -0
  116. package/.next/static/chunks/app/api/project-trust/route-343b3c01fcb26582.js +1 -0
  117. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-343b3c01fcb26582.js +1 -0
  118. package/.next/static/chunks/app/api/sessions/[id]/context/route-343b3c01fcb26582.js +1 -0
  119. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-343b3c01fcb26582.js +1 -0
  120. package/.next/static/chunks/app/api/sessions/[id]/export/route-343b3c01fcb26582.js +1 -0
  121. package/.next/static/chunks/app/api/sessions/[id]/route-343b3c01fcb26582.js +1 -0
  122. package/.next/static/chunks/app/api/sessions/[id]/state/route-343b3c01fcb26582.js +1 -0
  123. package/.next/static/chunks/app/api/sessions/[id]/todos/route-343b3c01fcb26582.js +1 -0
  124. package/.next/static/chunks/app/api/sessions/route-343b3c01fcb26582.js +1 -0
  125. package/.next/static/chunks/app/api/skills/check/route-343b3c01fcb26582.js +1 -0
  126. package/.next/static/chunks/app/api/skills/install/route-343b3c01fcb26582.js +1 -0
  127. package/.next/static/chunks/app/api/skills/route-343b3c01fcb26582.js +1 -0
  128. package/.next/static/chunks/app/api/skills/search/route-343b3c01fcb26582.js +1 -0
  129. package/.next/static/chunks/app/api/skills/update/route-343b3c01fcb26582.js +1 -0
  130. package/.next/static/chunks/app/api/terminal/[id]/events/route-343b3c01fcb26582.js +1 -0
  131. package/.next/static/chunks/app/api/terminal/[id]/route-343b3c01fcb26582.js +1 -0
  132. package/.next/static/chunks/app/api/terminal/route-343b3c01fcb26582.js +1 -0
  133. package/.next/static/chunks/app/api/worktrees/route-343b3c01fcb26582.js +1 -0
  134. package/.next/static/chunks/app/{layout-5e5c11b772a8213e.js → layout-3b621d303526f889.js} +1 -1
  135. package/.next/static/chunks/app/manifest.webmanifest/route-343b3c01fcb26582.js +1 -0
  136. package/.next/static/chunks/app/page-9db62b5f66b2cced.js +89 -0
  137. package/.next/static/chunks/next/dist/client/components/builtin/app-error-343b3c01fcb26582.js +1 -0
  138. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-343b3c01fcb26582.js +1 -0
  139. package/.next/static/chunks/next/dist/client/components/builtin/not-found-343b3c01fcb26582.js +1 -0
  140. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-343b3c01fcb26582.js +1 -0
  141. package/.next/static/chunks/{webpack-b0f40663bdce41b4.js → webpack-8cc41c498e5b9a1b.js} +1 -1
  142. package/.next/static/css/8c3105d66a2c198b.css +1 -0
  143. package/.next/static/css/ad464d16f922f5b9.css +1 -0
  144. package/.next/static/o6x8SfyQs1Y35JX-h7hpi/_buildManifest.js +1 -0
  145. package/.next/trace +7 -6
  146. package/.next/trace-build +1 -1
  147. package/.next/types/app/api/mcp/route.ts +353 -0
  148. package/.next/types/routes.d.ts +2 -1
  149. package/.next/types/validator.ts +9 -0
  150. package/package.json +1 -1
  151. package/.next/static/chunks/app/_global-error/page-76cf4b5393676543.js +0 -1
  152. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-76cf4b5393676543.js +0 -1
  153. package/.next/static/chunks/app/api/agent/[id]/events/route-76cf4b5393676543.js +0 -1
  154. package/.next/static/chunks/app/api/agent/[id]/route-76cf4b5393676543.js +0 -1
  155. package/.next/static/chunks/app/api/agent/new/route-76cf4b5393676543.js +0 -1
  156. package/.next/static/chunks/app/api/agent/running/events/route-76cf4b5393676543.js +0 -1
  157. package/.next/static/chunks/app/api/agent/running/route-76cf4b5393676543.js +0 -1
  158. package/.next/static/chunks/app/api/app-update/route-76cf4b5393676543.js +0 -1
  159. package/.next/static/chunks/app/api/auth/all-providers/route-76cf4b5393676543.js +0 -1
  160. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-76cf4b5393676543.js +0 -1
  161. package/.next/static/chunks/app/api/auth/login/[provider]/route-76cf4b5393676543.js +0 -1
  162. package/.next/static/chunks/app/api/auth/logout/[provider]/route-76cf4b5393676543.js +0 -1
  163. package/.next/static/chunks/app/api/auth/providers/route-76cf4b5393676543.js +0 -1
  164. package/.next/static/chunks/app/api/cwd/browse/route-76cf4b5393676543.js +0 -1
  165. package/.next/static/chunks/app/api/cwd/validate/route-76cf4b5393676543.js +0 -1
  166. package/.next/static/chunks/app/api/default-cwd/route-76cf4b5393676543.js +0 -1
  167. package/.next/static/chunks/app/api/file-index/route-76cf4b5393676543.js +0 -1
  168. package/.next/static/chunks/app/api/files/[...path]/route-76cf4b5393676543.js +0 -1
  169. package/.next/static/chunks/app/api/git/diff/route-76cf4b5393676543.js +0 -1
  170. package/.next/static/chunks/app/api/git/status/route-76cf4b5393676543.js +0 -1
  171. package/.next/static/chunks/app/api/home/route-76cf4b5393676543.js +0 -1
  172. package/.next/static/chunks/app/api/models/route-76cf4b5393676543.js +0 -1
  173. package/.next/static/chunks/app/api/models-config/catalog/route-76cf4b5393676543.js +0 -1
  174. package/.next/static/chunks/app/api/models-config/discover/route-76cf4b5393676543.js +0 -1
  175. package/.next/static/chunks/app/api/models-config/route-76cf4b5393676543.js +0 -1
  176. package/.next/static/chunks/app/api/models-config/test/route-76cf4b5393676543.js +0 -1
  177. package/.next/static/chunks/app/api/plugins/route-76cf4b5393676543.js +0 -1
  178. package/.next/static/chunks/app/api/project-trust/route-76cf4b5393676543.js +0 -1
  179. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-76cf4b5393676543.js +0 -1
  180. package/.next/static/chunks/app/api/sessions/[id]/context/route-76cf4b5393676543.js +0 -1
  181. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-76cf4b5393676543.js +0 -1
  182. package/.next/static/chunks/app/api/sessions/[id]/export/route-76cf4b5393676543.js +0 -1
  183. package/.next/static/chunks/app/api/sessions/[id]/route-76cf4b5393676543.js +0 -1
  184. package/.next/static/chunks/app/api/sessions/[id]/state/route-76cf4b5393676543.js +0 -1
  185. package/.next/static/chunks/app/api/sessions/[id]/todos/route-76cf4b5393676543.js +0 -1
  186. package/.next/static/chunks/app/api/sessions/route-76cf4b5393676543.js +0 -1
  187. package/.next/static/chunks/app/api/skills/check/route-76cf4b5393676543.js +0 -1
  188. package/.next/static/chunks/app/api/skills/install/route-76cf4b5393676543.js +0 -1
  189. package/.next/static/chunks/app/api/skills/route-76cf4b5393676543.js +0 -1
  190. package/.next/static/chunks/app/api/skills/search/route-76cf4b5393676543.js +0 -1
  191. package/.next/static/chunks/app/api/skills/update/route-76cf4b5393676543.js +0 -1
  192. package/.next/static/chunks/app/api/terminal/[id]/events/route-76cf4b5393676543.js +0 -1
  193. package/.next/static/chunks/app/api/terminal/[id]/route-76cf4b5393676543.js +0 -1
  194. package/.next/static/chunks/app/api/terminal/route-76cf4b5393676543.js +0 -1
  195. package/.next/static/chunks/app/api/worktrees/route-76cf4b5393676543.js +0 -1
  196. package/.next/static/chunks/app/manifest.webmanifest/route-76cf4b5393676543.js +0 -1
  197. package/.next/static/chunks/app/page-25d854af17104440.js +0 -87
  198. package/.next/static/chunks/next/dist/client/components/builtin/app-error-76cf4b5393676543.js +0 -1
  199. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-76cf4b5393676543.js +0 -1
  200. package/.next/static/chunks/next/dist/client/components/builtin/not-found-76cf4b5393676543.js +0 -1
  201. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-76cf4b5393676543.js +0 -1
  202. package/.next/static/css/6d0bbd2ca110cab0.css +0 -1
  203. package/.next/static/css/db4014a9fa4f0548.css +0 -1
  204. package/.next/static/h5nzXQYL2XhJI-UPoFBtA/_buildManifest.js +0 -1
  205. package/public/icons/apple-touch-icon.png +0 -0
  206. package/public/icons/icon-192.png +0 -0
  207. package/public/icons/icon-512.png +0 -0
  208. /package/.next/static/{h5nzXQYL2XhJI-UPoFBtA → o6x8SfyQs1Y35JX-h7hpi}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"33463":{"*":{"id":"15083","name":"*","chunks":[],"async":false}},"39247":{"*":{"id":"55100","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"57788":{"*":{"id":"19102","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/components/PwaRegistration.tsx":{"id":57788,"name":"*","chunks":["7177","static/chunks/app/layout-5e5c11b772a8213e.js"],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Noto_Sans_Mono\",\"arguments\":[{\"subsets\":[\"latin\",\"cyrillic\"],\"variable\":\"--font-noto-mono\",\"display\":\"swap\"}],\"variableName\":\"notoSansMono\"}":{"id":83683,"name":"*","chunks":["7177","static/chunks/app/layout-5e5c11b772a8213e.js"],"async":false},"/home/wa/project/pi-web-sky/node_modules/katex/dist/katex.min.css":{"id":84559,"name":"*","chunks":["7177","static/chunks/app/layout-5e5c11b772a8213e.js"],"async":false},"/home/wa/project/pi-web-sky/app/globals.css":{"id":66872,"name":"*","chunks":["7177","static/chunks/app/layout-5e5c11b772a8213e.js"],"async":false},"/home/wa/project/pi-web-sky/components/AppShell.tsx":{"id":33463,"name":"*","chunks":["7330","static/chunks/d3ac728e-7964f816a1ca64e5.js","1074","static/chunks/1074-6cfca65ac411b2b8.js","8974","static/chunks/app/page-25d854af17104440.js"],"async":false},"/home/wa/project/pi-web-sky/hooks/useI18n.tsx":{"id":39247,"name":"*","chunks":["7330","static/chunks/d3ac728e-7964f816a1ca64e5.js","1074","static/chunks/1074-6cfca65ac411b2b8.js","8974","static/chunks/app/page-25d854af17104440.js"],"async":false}},"entryCSSFiles":{"/home/wa/project/pi-web-sky/":[],"/home/wa/project/pi-web-sky/app/layout":[{"inlined":false,"path":"static/css/88714c00e109ce28.css"},{"inlined":false,"path":"static/css/db4014a9fa4f0548.css"}],"/home/wa/project/pi-web-sky/app/page":[{"inlined":false,"path":"static/css/6d0bbd2ca110cab0.css"}]},"rscModuleMapping":{"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"33463":{"*":{"id":"35790","name":"*","chunks":[],"async":false}},"39247":{"*":{"id":"73884","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"57788":{"*":{"id":"81276","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"66872":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"84559":{"*":{"id":"25319","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"39247":{"*":{"id":"55100","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"57788":{"*":{"id":"19102","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"99468":{"*":{"id":"15926","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/wa/project/pi-web-sky/components/PwaRegistration.tsx":{"id":57788,"name":"*","chunks":["7177","static/chunks/app/layout-3b621d303526f889.js"],"async":false},"/home/wa/project/pi-web-sky/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Noto_Sans_Mono\",\"arguments\":[{\"subsets\":[\"latin\",\"cyrillic\"],\"variable\":\"--font-noto-mono\",\"display\":\"swap\"}],\"variableName\":\"notoSansMono\"}":{"id":83683,"name":"*","chunks":["7177","static/chunks/app/layout-3b621d303526f889.js"],"async":false},"/home/wa/project/pi-web-sky/node_modules/katex/dist/katex.min.css":{"id":84559,"name":"*","chunks":["7177","static/chunks/app/layout-3b621d303526f889.js"],"async":false},"/home/wa/project/pi-web-sky/app/globals.css":{"id":66872,"name":"*","chunks":["7177","static/chunks/app/layout-3b621d303526f889.js"],"async":false},"/home/wa/project/pi-web-sky/components/AppShell.tsx":{"id":99468,"name":"*","chunks":["7330","static/chunks/d3ac728e-7964f816a1ca64e5.js","1074","static/chunks/1074-6cfca65ac411b2b8.js","8974","static/chunks/app/page-9db62b5f66b2cced.js"],"async":false},"/home/wa/project/pi-web-sky/hooks/useI18n.tsx":{"id":39247,"name":"*","chunks":["7330","static/chunks/d3ac728e-7964f816a1ca64e5.js","1074","static/chunks/1074-6cfca65ac411b2b8.js","8974","static/chunks/app/page-9db62b5f66b2cced.js"],"async":false}},"entryCSSFiles":{"/home/wa/project/pi-web-sky/":[],"/home/wa/project/pi-web-sky/app/layout":[{"inlined":false,"path":"static/css/88714c00e109ce28.css"},{"inlined":false,"path":"static/css/ad464d16f922f5b9.css"}],"/home/wa/project/pi-web-sky/app/page":[{"inlined":false,"path":"static/css/8c3105d66a2c198b.css"}]},"rscModuleMapping":{"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"39247":{"*":{"id":"73884","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"57788":{"*":{"id":"81276","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"66872":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"84559":{"*":{"id":"25319","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"99468":{"*":{"id":"35790","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
@@ -20,27 +20,28 @@
20
20
  "/api/worktrees/route": "app/api/worktrees/route.js",
21
21
  "/favicon.ico/route": "app/favicon.ico/route.js",
22
22
  "/manifest.webmanifest/route": "app/manifest.webmanifest/route.js",
23
- "/api/agent/[id]/events/route": "app/api/agent/[id]/events/route.js",
24
- "/api/agent/new/route": "app/api/agent/new/route.js",
25
23
  "/api/agent/running/route": "app/api/agent/running/route.js",
26
- "/api/agent/running/events/route": "app/api/agent/running/events/route.js",
24
+ "/api/agent/[id]/events/route": "app/api/agent/[id]/events/route.js",
27
25
  "/api/auth/all-providers/route": "app/api/auth/all-providers/route.js",
28
- "/api/app-update/route": "app/api/app-update/route.js",
29
26
  "/api/auth/api-key/[provider]/route": "app/api/auth/api-key/[provider]/route.js",
30
- "/api/auth/logout/[provider]/route": "app/api/auth/logout/[provider]/route.js",
31
27
  "/api/auth/login/[provider]/route": "app/api/auth/login/[provider]/route.js",
28
+ "/api/app-update/route": "app/api/app-update/route.js",
32
29
  "/api/auth/providers/route": "app/api/auth/providers/route.js",
30
+ "/api/auth/logout/[provider]/route": "app/api/auth/logout/[provider]/route.js",
31
+ "/api/agent/running/events/route": "app/api/agent/running/events/route.js",
32
+ "/api/agent/new/route": "app/api/agent/new/route.js",
33
33
  "/api/models-config/catalog/route": "app/api/models-config/catalog/route.js",
34
- "/api/models-config/discover/route": "app/api/models-config/discover/route.js",
35
34
  "/api/models-config/route": "app/api/models-config/route.js",
36
35
  "/api/models-config/test/route": "app/api/models-config/test/route.js",
37
36
  "/api/models/route": "app/api/models/route.js",
38
37
  "/api/project-trust/route": "app/api/project-trust/route.js",
39
- "/api/plugins/route": "app/api/plugins/route.js",
40
- "/api/sessions/[id]/export/route": "app/api/sessions/[id]/export/route.js",
38
+ "/api/models-config/discover/route": "app/api/models-config/discover/route.js",
39
+ "/api/mcp/route": "app/api/mcp/route.js",
41
40
  "/api/sessions/route": "app/api/sessions/route.js",
42
41
  "/api/skills/check/route": "app/api/skills/check/route.js",
43
42
  "/api/skills/install/route": "app/api/skills/install/route.js",
43
+ "/api/plugins/route": "app/api/plugins/route.js",
44
+ "/api/sessions/[id]/export/route": "app/api/sessions/[id]/export/route.js",
44
45
  "/api/skills/route": "app/api/skills/route.js",
45
46
  "/api/skills/update/route": "app/api/skills/update/route.js",
46
47
  "/api/skills/search/route": "app/api/skills/search/route.js",
@@ -1,3 +1,3 @@
1
- exports.id=5582,exports.ids=[5582],exports.modules={12039:(a,b,c)=>{"use strict";function d(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function e(a){return function(a,b={}){if("assistant"!==a.role)return a;let c=a.content;if(!Array.isArray(c))return a;let e=c.map(a=>(function(a,b={}){if(!d(a)||"toolCall"!==a.type)return null;let c={type:"toolCall",toolCallId:"string"==typeof a.toolCallId?a.toolCallId:"string"==typeof a.id?a.id:"",toolName:"string"==typeof a.toolName?a.toolName:"string"==typeof a.name?a.name:"",input:"object"!=typeof a.input||null===a.input||Array.isArray(a.input)?"object"!=typeof a.arguments||null===a.arguments||Array.isArray(a.arguments)?{}:a.arguments:a.input},e=b.includeStreamingRawInput?function(a){if("string"==typeof a.rawInput)return a.rawInput;if("string"==typeof a.partialJson)return a.partialJson;if("string"==typeof a.partialArgs)return a.partialArgs;let b=d(a.customInput)?a.customInput:null,c=b&&"string"==typeof b.property?b.property:null,e=d(a.arguments)?a.arguments:null;return c&&e&&"string"==typeof e[c]?e[c]:void 0}(a):void 0;return void 0===e?c:{...c,rawInput:e}})(a,b)??a);return{...a,content:e}}(a)}c.d(b,{B:()=>e})},24923:(a,b,c)=>{"use strict";c.d(b,{IL:()=>t,KI:()=>n,P9:()=>p,l:()=>s,xw:()=>r});var d=c(79646),e=c(29021),f=c(33873),g=c(28354),h=c(25252),i=c(58864);let j=(0,g.promisify)(d.execFile);function k(){globalThis.__piProjectCache?.clear()}async function l(a,b){let{stdout:c}=await j("git",["-C",a,...b],{timeout:1e4,maxBuffer:1048576,env:{...process.env,LC_ALL:"C"}});return c.trim()}function m(a){try{return(0,e.realpathSync)(a)}catch{return a}}async function n(a){let b,c=(globalThis.__piProjectCache||(globalThis.__piProjectCache=new Map),globalThis.__piProjectCache),d=c.get(a);if(d&&d.expiresAt>Date.now())return d.info;try{if(!(0,e.existsSync)(a))return b=function(a){let b=(0,f.dirname)(a);if(!b.endsWith("-worktrees"))return null;let c=b.slice(0,-10);return c&&(0,e.existsSync)((0,f.join)(c,".git"))?{projectRoot:m(c),branch:(0,f.basename)(a),isWorktree:!0,isTopLevel:!0}:null}(a)??{projectRoot:a,branch:null,isWorktree:!1,isTopLevel:!1},c.set(a,{info:b,expiresAt:Date.now()+6e4}),b;let[d,g,h,j]=(await l(a,["rev-parse","--path-format=absolute","--git-common-dir","--git-dir","--show-toplevel","--abbrev-ref","HEAD"])).split("\n").map(a=>a.trim()),[k,n,o]=[d,g,h].map(i.gB),p=m(a),q=(0,i.Eb)(o,p),r=!(0,i.Eb)(n,k)&&q,s=r?(0,f.dirname)(k):o;b={projectRoot:q?m(s):a,branch:j&&"HEAD"!==j?j:null,isWorktree:r,isTopLevel:q}}catch{b={projectRoot:a,branch:null,isWorktree:!1,isTopLevel:!1}}return c.set(a,{info:b,expiresAt:Date.now()+6e4}),b}async function o(a){let b=await l(a,["rev-parse","--path-format=absolute","--git-common-dir"]);return m((0,f.dirname)((0,i.gB)(b)))}async function p(a){let b=await l(a,["worktree","list","--porcelain"]),c=[],d=null,f=()=>{d?.path&&!d.prunable&&(0,e.existsSync)(d.path)&&c.push({path:d.path,branch:d.branch??null,isMain:0===c.length}),d=null};for(let a of b.split("\n"))a.startsWith("worktree ")?(f(),d={path:(0,i.gB)(a.slice(9).trim())}):a.startsWith("branch ")&&d?d.branch=a.slice(7).trim().replace(/^refs\/heads\//,""):a.startsWith("prunable")&&d?d.prunable=!0:""===a.trim()&&f();return f(),c}function q(a,b){return a.find(a=>(0,i.Eb)(a.path,b))}function r(a,b){return q(a,m(b))?.path??null}async function s(a,b){let c=b.trim();if(!c)throw Error("Branch name is required");let d=c.replace(/[\/\\:*?"<>|\s]+/g,"-").replace(/^-+|-+$/g,"");if(!d)throw Error(`Invalid branch name: ${b}`);let g=await o(a),i=`${(0,f.resolve)(g)}-worktrees`,j=(0,f.join)(i,d);if((0,e.existsSync)(j))throw Error(`Directory already exists: ${j}`);(0,e.mkdirSync)(i,{recursive:!0});let m=!1;try{await l(g,["rev-parse","--verify","--quiet",`refs/heads/${c}`]),m=!0}catch{m=!1}try{m?await l(g,["worktree","add","--",j,c]):await l(g,["worktree","add","-b",c,"--",j])}catch(a){throw Error(u(a))}return(0,h.wz)(j),k(),{path:j,branch:c}}async function t(a,b,c=!1){let d=q(await p(a),b);if(!d)throw Error(`Not a worktree of this repository: ${b}`);if(d.isMain)throw Error("Cannot remove the main worktree");try{await l(a,["worktree","remove",...c?["--force"]:[],d.path])}catch(a){throw Error(u(a))}k()}function u(a){let b=a.stderr;return"string"==typeof b&&b.trim()?b.trim():a instanceof Error?a.message:String(a)}},25252:(a,b,c)=>{"use strict";c.d(b,{HM:()=>f,Nw:()=>e,wz:()=>g});var d=c(58864);function e(a){return(0,d.W3)(a)}function f(){return globalThis.__piAdditionalAllowedRoots||(globalThis.__piAdditionalAllowedRoots=new Set),globalThis.__piAdditionalAllowedRoots}function g(a){if(!a)return;let b=e(a);f().add(b),globalThis.__piAllowedRootsCache?.roots.add(b)}},40402:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{BR:()=>w,DK:()=>y,Hh:()=>z,O5:()=>n,O8:()=>v,Uv:()=>A,dQ:()=>p,eP:()=>x,mD:()=>q,os:()=>t,u1:()=>u,zH:()=>m});var e=c(75430),f=c(29021),g=c(33873),h=c(12039),i=c(74244),j=c(45902),k=c(24923),l=a([e]);async function m(a){let b=[...new Set(a.map(a=>a.cwd).filter(Boolean))],c=new Map;return await Promise.all(b.map(async a=>{c.set(a,await (0,k.KI)(a))})),a.map(a=>{let b=a.cwd?c.get(a.cwd):void 0,d=b?.projectRoot??a.cwd;return{...a,projectRoot:d,projectKey:(0,i.z)(d),...b?.isWorktree&&b.branch?{worktreeBranch:b.branch}:{}}})}function n(a,b){let c=new Map(b.map(a=>[a.id,a]));for(let b of a)c.set(b.id,b);return[...c.values()].sort((a,b)=>b.modified.localeCompare(a.modified))}async function o(){let a=await e.SessionManager.listAll(),b=new Map;for(let c of a)b.set((0,j.$)(c.path),c.id);let c=a.map(a=>(v(a.id,a.path),{path:a.path,id:a.id,cwd:a.cwd,name:a.name,created:a.created instanceof Date?a.created.toISOString():String(a.created),modified:a.modified instanceof Date?a.modified.toISOString():String(a.modified),messageCount:a.messageCount,firstMessage:a.firstMessage||"(no messages)",parentSessionId:a.parentSessionPath?b.get((0,j.$)(a.parentSessionPath)):void 0,transient:!1}));return m(c)}async function p(a={}){a.force&&q();let b=globalThis.__piSessionListGeneration??0;if(globalThis.__piSessionListCache&&Date.now()-globalThis.__piSessionListCache.ts<D)return globalThis.__piSessionListCache.data;if(globalThis.__piSessionListPromise&&globalThis.__piSessionListPromiseGeneration===b)return globalThis.__piSessionListPromise;let c=o().then(a=>(globalThis.__piSessionListGeneration??0)!==b?p():(globalThis.__piSessionListCache={data:a,ts:Date.now()},a)).finally(()=>{globalThis.__piSessionListPromise===c&&(globalThis.__piSessionListPromise=void 0,globalThis.__piSessionListPromiseGeneration=void 0)});return globalThis.__piSessionListPromise=c,globalThis.__piSessionListPromiseGeneration=b,c}e=(l.then?(await l)():l)[0];let D=3e4;function q(){globalThis.__piSessionListGeneration=(globalThis.__piSessionListGeneration??0)+1,globalThis.__piSessionListCache=void 0}function r(){return globalThis.__piSessionPathCache||(globalThis.__piSessionPathCache=new Map),globalThis.__piSessionPathCache}function s(){return globalThis.__piPathToSessionIdCache||(globalThis.__piPathToSessionIdCache=new Map),globalThis.__piPathToSessionIdCache}async function t(a){let b=r().get(a);return b||(await p(),r().get(a)??null)}async function u(a){let b=(0,j.$)(a),c=s().get(b);return c||(await p(),s().get(b))}function v(a,b){let c=(0,g.normalize)(b),d=(0,j.$)(c),e=r(),f=s(),h=e.get(a),i=h?(0,j.$)(h):void 0,k=f.get(d),l=k?e.get(k):void 0;i&&i!==d&&f.get(i)===a&&f.delete(i),k&&k!==a&&l&&(0,j.$)(l)===d&&e.delete(k),e.set(a,c),f.set(d,a)}function w(a){let b=r(),c=s(),d=b.get(a);b.delete(a);let e=d?(0,j.$)(d):void 0;e&&c.get(e)===a&&c.delete(e)}function x(a){let b=(0,f.openSync)(a,"r");try{let a=[],c=0,d=!1;for(;c<65536&&!d;){let e=Buffer.allocUnsafe(Math.min(4096,65536-c)),g=(0,f.readSync)(b,e,0,e.length,c);if(0===g)break;let h=e.subarray(0,g),i=h.indexOf(10);a.push(-1===i?h:h.subarray(0,i)),c+=g,d=-1!==i}if(!d&&c>=65536)return null;let e=Buffer.concat(a).toString("utf8").trimEnd();if(!e)return null;try{let a=JSON.parse(e);return"session"===a.type?a:null}catch{return null}}finally{(0,f.closeSync)(b)}}function y(a){return e.SessionManager.open(a).getEntries()}function z(a){let b=[];for(let c of a){if("custom"!==c.type||"pi-todo.state"!==c.customType)continue;let a=c.data;C(a)&&Array.isArray(a.todos)&&(b=a.todos.filter(a=>C(a)&&"string"==typeof a.content))}return b}function A(a,b,c={}){let d=new Map;for(let b of a)d.set(b.id,b);let f=(0,e.buildSessionContext)(a,b,d),g=(0,e.buildContextEntries)(a,b,d),i=[],j=[];for(let a of g){let b=function(a,b){switch(a.type){case"message":{let c=b.deferToolResultImages?function(a){if("toolResult"!==a.role)return a;let b=0,c=0,d=new Set,e=a.content.filter(a=>{let e=function(a){let b,c;if(!C(a)||"image"!==a.type||("string"==typeof a.data?(b=a.data,c="string"==typeof a.mimeType?a.mimeType:void 0):C(a.source)&&"base64"===a.source.type&&"string"==typeof a.source.data&&(b=a.source.data,c="string"==typeof a.source.media_type?a.source.media_type:void 0),!b))return null;let d=b.endsWith("==")?2:+!!b.endsWith("=");return{bytes:Math.max(0,Math.floor(3*b.length/4)-d),mime:c}}(a);return!e||(b+=1,c+=e.bytes,e.mime&&d.add(e.mime),!1)});if(0===b)return a;let f=d.size>0?`: ${[...d].join(", ")}`:"";return e.push({type:"text",text:`[${b} tool result image${1===b?"":"s"} omitted from initial history payload${f}, ~${c} bytes]`}),{...a,content:e}}((0,h.B)(a.message)):(0,h.B)(a.message);if(!b.deferThinking||"assistant"!==c.role)return c;return{...c,content:c.content.map(a=>"thinking"===a.type&&""!==a.thinking.trim()?{...a,thinking:"",deferred:!0}:a)}}case"compaction":return{role:"custom",customType:"compaction",content:a.summary,display:!0,details:{tokensBefore:a.tokensBefore,firstKeptEntryId:a.firstKeptEntryId},timestamp:B(a.timestamp)};case"branch_summary":if(!a.summary)return null;return{role:"user",content:`*The conversation briefly explored another branch and returned with this summary:*
1
+ exports.id=5582,exports.ids=[5582],exports.modules={12039:(a,b,c)=>{"use strict";function d(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function e(a){return function(a,b={}){if("assistant"!==a.role)return a;let c=a.content;if(!Array.isArray(c))return a;let e=c.map(a=>(function(a,b={}){if(!d(a)||"toolCall"!==a.type)return null;let c={type:"toolCall",toolCallId:"string"==typeof a.toolCallId?a.toolCallId:"string"==typeof a.id?a.id:"",toolName:"string"==typeof a.toolName?a.toolName:"string"==typeof a.name?a.name:"",input:"object"!=typeof a.input||null===a.input||Array.isArray(a.input)?"object"!=typeof a.arguments||null===a.arguments||Array.isArray(a.arguments)?{}:a.arguments:a.input},e=b.includeStreamingRawInput?function(a){if("string"==typeof a.rawInput)return a.rawInput;if("string"==typeof a.partialJson)return a.partialJson;if("string"==typeof a.partialArgs)return a.partialArgs;let b=d(a.customInput)?a.customInput:null,c=b&&"string"==typeof b.property?b.property:null,e=d(a.arguments)?a.arguments:null;return c&&e&&"string"==typeof e[c]?e[c]:void 0}(a):void 0;return void 0===e?c:{...c,rawInput:e}})(a,b)??a);return{...a,content:e}}(a)}c.d(b,{B:()=>e})},24923:(a,b,c)=>{"use strict";c.d(b,{IL:()=>t,KI:()=>n,P9:()=>p,l:()=>s,xw:()=>r});var d=c(79646),e=c(29021),f=c(33873),g=c(28354),h=c(25252),i=c(58864);let j=(0,g.promisify)(d.execFile);function k(){globalThis.__piProjectCache?.clear()}async function l(a,b){let{stdout:c}=await j("git",["-C",a,...b],{timeout:1e4,maxBuffer:1048576,env:{...process.env,LC_ALL:"C"}});return c.trim()}function m(a){try{return(0,e.realpathSync)(a)}catch{return a}}async function n(a){let b,c=(globalThis.__piProjectCache||(globalThis.__piProjectCache=new Map),globalThis.__piProjectCache),d=c.get(a);if(d&&d.expiresAt>Date.now())return d.info;try{if(!(0,e.existsSync)(a))return b=function(a){let b=(0,f.dirname)(a);if(!b.endsWith("-worktrees"))return null;let c=b.slice(0,-10);return c&&(0,e.existsSync)((0,f.join)(c,".git"))?{projectRoot:m(c),branch:(0,f.basename)(a),isWorktree:!0,isTopLevel:!0}:null}(a)??{projectRoot:a,branch:null,isWorktree:!1,isTopLevel:!1},c.set(a,{info:b,expiresAt:Date.now()+6e4}),b;let[d,g,h,j]=(await l(a,["rev-parse","--path-format=absolute","--git-common-dir","--git-dir","--show-toplevel","--abbrev-ref","HEAD"])).split("\n").map(a=>a.trim()),[k,n,o]=[d,g,h].map(i.gB),p=m(a),q=(0,i.Eb)(o,p),r=!(0,i.Eb)(n,k)&&q,s=r?(0,f.dirname)(k):o;b={projectRoot:q?m(s):a,branch:j&&"HEAD"!==j?j:null,isWorktree:r,isTopLevel:q}}catch{b={projectRoot:a,branch:null,isWorktree:!1,isTopLevel:!1}}return c.set(a,{info:b,expiresAt:Date.now()+6e4}),b}async function o(a){let b=await l(a,["rev-parse","--path-format=absolute","--git-common-dir"]);return m((0,f.dirname)((0,i.gB)(b)))}async function p(a){let b=await l(a,["worktree","list","--porcelain"]),c=[],d=null,f=()=>{d?.path&&!d.prunable&&(0,e.existsSync)(d.path)&&c.push({path:d.path,branch:d.branch??null,isMain:0===c.length}),d=null};for(let a of b.split("\n"))a.startsWith("worktree ")?(f(),d={path:(0,i.gB)(a.slice(9).trim())}):a.startsWith("branch ")&&d?d.branch=a.slice(7).trim().replace(/^refs\/heads\//,""):a.startsWith("prunable")&&d?d.prunable=!0:""===a.trim()&&f();return f(),c}function q(a,b){return a.find(a=>(0,i.Eb)(a.path,b))}function r(a,b){return q(a,m(b))?.path??null}async function s(a,b){let c=b.trim();if(!c)throw Error("Branch name is required");let d=c.replace(/[\/\\:*?"<>|\s]+/g,"-").replace(/^-+|-+$/g,"");if(!d)throw Error(`Invalid branch name: ${b}`);let g=await o(a),i=`${(0,f.resolve)(g)}-worktrees`,j=(0,f.join)(i,d);if((0,e.existsSync)(j))throw Error(`Directory already exists: ${j}`);(0,e.mkdirSync)(i,{recursive:!0});let m=!1;try{await l(g,["rev-parse","--verify","--quiet",`refs/heads/${c}`]),m=!0}catch{m=!1}try{m?await l(g,["worktree","add","--",j,c]):await l(g,["worktree","add","-b",c,"--",j])}catch(a){throw Error(u(a))}return(0,h.wz)(j),k(),{path:j,branch:c}}async function t(a,b,c=!1){let d=q(await p(a),b);if(!d)throw Error(`Not a worktree of this repository: ${b}`);if(d.isMain)throw Error("Cannot remove the main worktree");try{await l(a,["worktree","remove",...c?["--force"]:[],d.path])}catch(a){throw Error(u(a))}k()}function u(a){let b=a.stderr;return"string"==typeof b&&b.trim()?b.trim():a instanceof Error?a.message:String(a)}},25252:(a,b,c)=>{"use strict";c.d(b,{HM:()=>f,Nw:()=>e,wz:()=>g});var d=c(58864);function e(a){return(0,d.W3)(a)}function f(){return globalThis.__piAdditionalAllowedRoots||(globalThis.__piAdditionalAllowedRoots=new Set),globalThis.__piAdditionalAllowedRoots}function g(a){if(!a)return;let b=e(a);f().add(b),globalThis.__piAllowedRootsCache?.roots.add(b)}},40402:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{B6:()=>D,BR:()=>y,DK:()=>A,Hh:()=>B,O5:()=>o,O8:()=>x,Uv:()=>C,dQ:()=>q,eP:()=>z,mD:()=>r,os:()=>v,u1:()=>w,zH:()=>n});var e=c(75430),f=c(29021),g=c(79748),h=c(33873),i=c(12039),j=c(74244),k=c(45902),l=c(24923),m=a([e]);async function n(a){let b=[...new Set(a.map(a=>a.cwd).filter(Boolean))],c=new Map;return await Promise.all(b.map(async a=>{c.set(a,await (0,l.KI)(a))})),a.map(a=>{let b=a.cwd?c.get(a.cwd):void 0,d=b?.projectRoot??a.cwd;return{...a,projectRoot:d,projectKey:(0,j.z)(d),...b?.isWorktree&&b.branch?{worktreeBranch:b.branch}:{}}})}function o(a,b){let c=new Map(b.map(a=>[a.id,a]));for(let b of a)c.set(b.id,b);return[...c.values()].sort((a,b)=>b.modified.localeCompare(a.modified))}async function p(){let a=await e.SessionManager.listAll(),b=new Map;for(let c of a)b.set((0,k.$)(c.path),c.id);let c=a.map(a=>(x(a.id,a.path),{path:a.path,id:a.id,cwd:a.cwd,name:a.name,created:a.created instanceof Date?a.created.toISOString():String(a.created),modified:a.modified instanceof Date?a.modified.toISOString():String(a.modified),messageCount:a.messageCount,firstMessage:a.firstMessage||"(no messages)",parentSessionId:a.parentSessionPath?b.get((0,k.$)(a.parentSessionPath)):void 0,transient:!1}));return n(c)}async function q(a={}){a.force&&r();let b=globalThis.__piSessionListGeneration??0;if(globalThis.__piSessionListCache&&Date.now()-globalThis.__piSessionListCache.ts<G)return globalThis.__piSessionListCache.data;if(globalThis.__piSessionListPromise&&globalThis.__piSessionListPromiseGeneration===b)return globalThis.__piSessionListPromise;let c=p().then(a=>(globalThis.__piSessionListGeneration??0)!==b?q():(globalThis.__piSessionListCache={data:a,ts:Date.now()},a)).finally(()=>{globalThis.__piSessionListPromise===c&&(globalThis.__piSessionListPromise=void 0,globalThis.__piSessionListPromiseGeneration=void 0)});return globalThis.__piSessionListPromise=c,globalThis.__piSessionListPromiseGeneration=b,c}e=(m.then?(await m)():m)[0];let G=3e4;function r(){globalThis.__piSessionListGeneration=(globalThis.__piSessionListGeneration??0)+1,globalThis.__piSessionListCache=void 0}function s(){return globalThis.__piSessionPathCache||(globalThis.__piSessionPathCache=new Map),globalThis.__piSessionPathCache}function t(){return globalThis.__piPathToSessionIdCache||(globalThis.__piPathToSessionIdCache=new Map),globalThis.__piPathToSessionIdCache}async function u(a){let b,c=(0,h.join)((0,e.getAgentDir)(),"sessions");if(!a||!(0,f.existsSync)(c))return null;let d=`_${a}.jsonl`;try{b=await (0,g.readdir)(c,{withFileTypes:!0})}catch{return null}for(let e of b){let b;if(!e.isDirectory()&&!e.isSymbolicLink())continue;let f=(0,h.join)(c,e.name);try{b=await (0,g.readdir)(f)}catch{continue}let i=b.find(a=>a.endsWith(d));if(!i)continue;let j=(0,h.join)(f,i);try{if(z(j)?.id===a)return j}catch{}}return null}async function v(a){let b=s().get(a);if(b)return b;let c=await u(a);return c?(x(a,c),c):(await q(),s().get(a)??null)}async function w(a){let b=(0,k.$)(a),c=t().get(b);return c||(await q(),t().get(b))}function x(a,b){let c=(0,h.normalize)(b),d=(0,k.$)(c),e=s(),f=t(),g=e.get(a),i=g?(0,k.$)(g):void 0,j=f.get(d),l=j?e.get(j):void 0;i&&i!==d&&f.get(i)===a&&f.delete(i),j&&j!==a&&l&&(0,k.$)(l)===d&&e.delete(j),e.set(a,c),f.set(d,a)}function y(a){let b=s(),c=t(),d=b.get(a);b.delete(a);let e=d?(0,k.$)(d):void 0;e&&c.get(e)===a&&c.delete(e)}function z(a){let b=(0,f.openSync)(a,"r");try{let a=[],c=0,d=!1;for(;c<65536&&!d;){let e=Buffer.allocUnsafe(Math.min(4096,65536-c)),g=(0,f.readSync)(b,e,0,e.length,c);if(0===g)break;let h=e.subarray(0,g),i=h.indexOf(10);a.push(-1===i?h:h.subarray(0,i)),c+=g,d=-1!==i}if(!d&&c>=65536)return null;let e=Buffer.concat(a).toString("utf8").trimEnd();if(!e)return null;try{let a=JSON.parse(e);return"session"===a.type?a:null}catch{return null}}finally{(0,f.closeSync)(b)}}function A(a){return e.SessionManager.open(a).getEntries()}function B(a){let b=[];for(let c of a){if("custom"!==c.type||"pi-todo.state"!==c.customType)continue;let a=c.data;F(a)&&Array.isArray(a.todos)&&(b=a.todos.filter(a=>F(a)&&"string"==typeof a.content))}return b}function C(a,b,c={}){let{tail:d,excludeLeaf:f}=c,g=d&&d>0?function(a,b,c,d=!1){if(c<=0)return a;let e=new Map;for(let b of a)e.set(b.id,b);let f=b?e.get(b):a[a.length-1];if(d&&f?.parentId&&(f=e.get(f.parentId)),!f)return[];let g=[],h=f;for(;h&&g.length<c;)g.push(h),h=h.parentId?e.get(h.parentId):void 0;return g.reverse(),g}(a,b??null,d,f):a,h=new Map;for(let a of g)h.set(a.id,a);let j=(0,e.buildSessionContext)(g,b,h),k=(0,e.buildContextEntries)(g,b,h),l=[],m=[];for(let a of k){let b=function(a,b){switch(a.type){case"message":{let c=b.deferToolResultImages?function(a){if("toolResult"!==a.role)return a;let b=0,c=0,d=new Set,e=a.content.filter(a=>{let e=function(a){let b,c;if(!F(a)||"image"!==a.type||("string"==typeof a.data?(b=a.data,c="string"==typeof a.mimeType?a.mimeType:void 0):F(a.source)&&"base64"===a.source.type&&"string"==typeof a.source.data&&(b=a.source.data,c="string"==typeof a.source.media_type?a.source.media_type:void 0),!b))return null;let d=b.endsWith("==")?2:+!!b.endsWith("=");return{bytes:Math.max(0,Math.floor(3*b.length/4)-d),mime:c}}(a);return!e||(b+=1,c+=e.bytes,e.mime&&d.add(e.mime),!1)});if(0===b)return a;let f=d.size>0?`: ${[...d].join(", ")}`:"";return e.push({type:"text",text:`[${b} tool result image${1===b?"":"s"} omitted from initial history payload${f}, ~${c} bytes]`}),{...a,content:e}}((0,i.B)(a.message)):(0,i.B)(a.message);if(!b.deferThinking||"assistant"!==c.role)return c;let d=c.content;if(!Array.isArray(d))return c;return{...c,content:d.map(a=>"thinking"===a.type&&""!==a.thinking.trim()?{...a,thinking:"",deferred:!0}:a)}}case"compaction":return{role:"custom",customType:"compaction",content:a.summary,display:!0,details:{tokensBefore:a.tokensBefore,firstKeptEntryId:a.firstKeptEntryId},timestamp:E(a.timestamp)};case"branch_summary":if(!a.summary)return null;return{role:"user",content:`*The conversation briefly explored another branch and returned with this summary:*
2
2
 
3
- ${a.summary}`,timestamp:B(a.timestamp)};case"custom_message":return{role:"custom",customType:a.customType,content:a.content,display:a.display,details:a.details,timestamp:B(a.timestamp)};default:return null}}(a,c);b&&(i.push(b),j.push(a.id))}let k=z(g);return{messages:i,entryIds:j,thinkingLevel:f.thinkingLevel,model:f.model,todos:k}}function B(a){let b=Date.parse(a);return Number.isNaN(b)?void 0:b}function C(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}d()}catch(a){d(a)}})},45902:(a,b,c)=>{"use strict";c.d(b,{$:()=>f});var d=c(76760),e=c.n(d);function f(a,b=process.platform){let c="win32"===b?e().win32.normalize(a):e().posix.normalize(a);return"win32"===b?c.toLowerCase():c}},58864:(a,b,c)=>{"use strict";c.d(b,{Eb:()=>j,W3:()=>h,gB:()=>g,uK:()=>f});var d=c(33873);let e=/^[a-zA-Z]:[\\/]/;function f(a){return e.test(a)||a.startsWith("\\\\")||a.startsWith("//")}function g(a){return a&&"win32"===process.platform?(0,d.normalize)(a):a}function h(a){return a.replace(/\\/g,"/")}function i(a){let b=(0,d.normalize)(g(a)),c=(0,d.parse)(b).root.length,e=b.length;for(;e>c&&b[e-1]===d.sep;)e--;return b.slice(0,e)}function j(a,b){if(a===b)return!0;if(!a||!b)return!1;let c=i(a),d=i(b);return"win32"===process.platform?c.toLowerCase()===d.toLowerCase():c===d}},74244:(a,b,c)=>{"use strict";c.d(b,{z:()=>f});var d=c(76760),e=c.n(d);function f(a,b=process.platform){if(!a)return a;let c="win32"===b?e().win32:e().posix,d=c.normalize(a),g=c.parse(d).root.length,h=d.length;for(;h>g&&d[h-1]===c.sep;)h--;let i=d.slice(0,h);return"win32"===b?i.toLowerCase():i}},78335:()=>{},96487:()=>{}};
3
+ ${a.summary}`,timestamp:E(a.timestamp)};case"custom_message":return{role:"custom",customType:a.customType,content:a.content,display:a.display,details:a.details,timestamp:E(a.timestamp)};default:return null}}(a,c);b&&(l.push(b),m.push(a.id))}let n=B(k);return{messages:l,entryIds:m,thinkingLevel:j.thinkingLevel,model:j.model,todos:n}}function D(a,b,c,d=!1){if(c<=0)return!1;let e=new Map;for(let b of a)e.set(b.id,b);let f=b?e.get(b):a[a.length-1];d&&f?.parentId&&(f=e.get(f.parentId));let g=0;for(;f;){if(++g>c)return!0;f=f.parentId?e.get(f.parentId):void 0}return!1}function E(a){let b=Date.parse(a);return Number.isNaN(b)?void 0:b}function F(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}d()}catch(a){d(a)}})},45902:(a,b,c)=>{"use strict";c.d(b,{$:()=>f});var d=c(76760),e=c.n(d);function f(a,b=process.platform){let c="win32"===b?e().win32.normalize(a):e().posix.normalize(a);return"win32"===b?c.toLowerCase():c}},58864:(a,b,c)=>{"use strict";c.d(b,{Eb:()=>j,W3:()=>h,gB:()=>g,uK:()=>f});var d=c(33873);let e=/^[a-zA-Z]:[\\/]/;function f(a){return e.test(a)||a.startsWith("\\\\")||a.startsWith("//")}function g(a){return a&&"win32"===process.platform?(0,d.normalize)(a):a}function h(a){return a.replace(/\\/g,"/")}function i(a){let b=(0,d.normalize)(g(a)),c=(0,d.parse)(b).root.length,e=b.length;for(;e>c&&b[e-1]===d.sep;)e--;return b.slice(0,e)}function j(a,b){if(a===b)return!0;if(!a||!b)return!1;let c=i(a),d=i(b);return"win32"===process.platform?c.toLowerCase()===d.toLowerCase():c===d}},74244:(a,b,c)=>{"use strict";c.d(b,{z:()=>f});var d=c(76760),e=c.n(d);function f(a,b=process.platform){if(!a)return a;let c="win32"===b?e().win32:e().posix,d=c.normalize(a),g=c.parse(d).root.length,h=d.length;for(;h>g&&d[h-1]===c.sep;)h--;let i=d.slice(0,h);return"win32"===b?i.toLowerCase():i}},78335:()=>{},96487:()=>{}};
@@ -1 +1 @@
1
- globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/h5nzXQYL2XhJI-UPoFBtA/_buildManifest.js","static/h5nzXQYL2XhJI-UPoFBtA/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-b0f40663bdce41b4.js","static/chunks/4bd1b696-8a4ab4fdf0ae305a.js","static/chunks/3794-d29203733ca4633c.js","static/chunks/main-app-b3e8a8d15d83e1f0.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
1
+ globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/o6x8SfyQs1Y35JX-h7hpi/_buildManifest.js","static/o6x8SfyQs1Y35JX-h7hpi/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-8cc41c498e5b9a1b.js","static/chunks/4bd1b696-8a4ab4fdf0ae305a.js","static/chunks/3794-d29203733ca4633c.js","static/chunks/main-app-b3e8a8d15d83e1f0.js"],rootMainFilesTree:{},pages:{"/_app":[]}};