tower-studio 0.2.8 → 0.2.9

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 (198) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +3 -3
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  5. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  6. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/.next/standalone/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -1
  12. package/.next/standalone/.next/server/app/_not-found/page/server-reference-manifest.json +43 -43
  13. package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  14. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  15. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  16. package/.next/standalone/.next/server/app/_not-found.rsc +14 -14
  17. package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +14 -14
  18. package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  19. package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +9 -9
  20. package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  21. package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  22. package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  23. package/.next/standalone/.next/server/app/api/browse-fs/route.js.nft.json +1 -1
  24. package/.next/standalone/.next/server/app/api/git/route.js.nft.json +1 -1
  25. package/.next/standalone/.next/server/app/index.html +1 -1
  26. package/.next/standalone/.next/server/app/index.rsc +14 -14
  27. package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  28. package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +14 -14
  29. package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +4 -4
  30. package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +9 -9
  31. package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  32. package/.next/standalone/.next/server/app/missions/page/react-loadable-manifest.json +1 -1
  33. package/.next/standalone/.next/server/app/missions/page/server-reference-manifest.json +75 -75
  34. package/.next/standalone/.next/server/app/missions/page.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/missions/page_client-reference-manifest.js +1 -1
  36. package/.next/standalone/.next/server/app/onboarding/page/react-loadable-manifest.json +1 -1
  37. package/.next/standalone/.next/server/app/onboarding/page/server-reference-manifest.json +43 -43
  38. package/.next/standalone/.next/server/app/onboarding/page.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/onboarding/page_client-reference-manifest.js +1 -1
  40. package/.next/standalone/.next/server/app/onboarding.html +1 -1
  41. package/.next/standalone/.next/server/app/onboarding.rsc +16 -16
  42. package/.next/standalone/.next/server/app/onboarding.segments/_full.segment.rsc +16 -16
  43. package/.next/standalone/.next/server/app/onboarding.segments/_head.segment.rsc +4 -4
  44. package/.next/standalone/.next/server/app/onboarding.segments/_index.segment.rsc +9 -9
  45. package/.next/standalone/.next/server/app/onboarding.segments/_tree.segment.rsc +1 -1
  46. package/.next/standalone/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +4 -4
  47. package/.next/standalone/.next/server/app/onboarding.segments/onboarding.segment.rsc +3 -3
  48. package/.next/standalone/.next/server/app/page/react-loadable-manifest.json +1 -1
  49. package/.next/standalone/.next/server/app/page/server-reference-manifest.json +43 -43
  50. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  51. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  52. package/.next/standalone/.next/server/app/settings/page/react-loadable-manifest.json +1 -1
  53. package/.next/standalone/.next/server/app/settings/page/server-reference-manifest.json +56 -56
  54. package/.next/standalone/.next/server/app/settings/page.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  56. package/.next/standalone/.next/server/app/settings.html +1 -1
  57. package/.next/standalone/.next/server/app/settings.rsc +16 -16
  58. package/.next/standalone/.next/server/app/settings.segments/_full.segment.rsc +16 -16
  59. package/.next/standalone/.next/server/app/settings.segments/_head.segment.rsc +4 -4
  60. package/.next/standalone/.next/server/app/settings.segments/_index.segment.rsc +9 -9
  61. package/.next/standalone/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  62. package/.next/standalone/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +4 -4
  63. package/.next/standalone/.next/server/app/settings.segments/settings.segment.rsc +3 -3
  64. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/archive/page/react-loadable-manifest.json +1 -1
  65. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/archive/page/server-reference-manifest.json +104 -104
  66. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/archive/page.js.nft.json +1 -1
  67. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/archive/page_client-reference-manifest.js +1 -1
  68. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/assets/page/react-loadable-manifest.json +1 -1
  69. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/assets/page/server-reference-manifest.json +86 -86
  70. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/assets/page.js.nft.json +1 -1
  71. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/assets/page_client-reference-manifest.js +1 -1
  72. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/notes/page/react-loadable-manifest.json +1 -1
  73. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/notes/page/server-reference-manifest.json +75 -75
  74. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/notes/page.js.nft.json +1 -1
  75. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/notes/page_client-reference-manifest.js +1 -1
  76. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/page/react-loadable-manifest.json +1 -1
  77. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/page/server-reference-manifest.json +72 -72
  78. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/page.js.nft.json +1 -1
  79. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/page_client-reference-manifest.js +1 -1
  80. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/react-loadable-manifest.json +1 -1
  81. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/server-reference-manifest.json +43 -43
  82. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page.js.nft.json +1 -1
  83. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page_client-reference-manifest.js +1 -1
  84. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/versions/page/react-loadable-manifest.json +1 -1
  85. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/versions/page/server-reference-manifest.json +76 -76
  86. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/versions/page.js.nft.json +1 -1
  87. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/versions/page_client-reference-manifest.js +1 -1
  88. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/react-loadable-manifest.json +2 -2
  89. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/server-reference-manifest.json +86 -86
  90. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page.js.nft.json +1 -1
  91. package/.next/standalone/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page_client-reference-manifest.js +1 -1
  92. package/.next/standalone/.next/server/app/workspaces/page/react-loadable-manifest.json +1 -1
  93. package/.next/standalone/.next/server/app/workspaces/page/server-reference-manifest.json +63 -63
  94. package/.next/standalone/.next/server/app/workspaces/page.js.nft.json +1 -1
  95. package/.next/standalone/.next/server/app/workspaces/page_client-reference-manifest.js +1 -1
  96. package/.next/standalone/.next/server/chunks/0se9_next_dist_esm_build_templates_app-route_0h5yr8p.js +1 -1
  97. package/.next/standalone/.next/server/chunks/0se9_next_dist_esm_build_templates_app-route_0hrprmi.js +1 -1
  98. package/.next/standalone/.next/server/chunks/[root-of-the-server]__028ucbo._.js +1 -1
  99. package/.next/standalone/.next/server/chunks/[root-of-the-server]__03gi3ue._.js +1 -1
  100. package/.next/standalone/.next/server/chunks/[root-of-the-server]__07f7~6u._.js +1 -1
  101. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0d~z6xs._.js +2 -2
  102. package/.next/standalone/.next/server/chunks/_0_w835g._.js +1 -1
  103. package/.next/standalone/.next/server/chunks/src_0bkvm8c._.js +1 -1
  104. package/.next/standalone/.next/server/chunks/ssr/0iu._[workspaceId]_projects_[projectId]_versions_version-timeline-client_tsx_07o_kyi._.js +1 -1
  105. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__006_qh0._.js +1 -1
  106. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__02px.0y._.js +1 -1
  107. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__03ebsif._.js +3 -3
  108. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0l43.5g._.js +1 -1
  109. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ojv-d0._.js +1 -1
  110. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ps55l6._.js +1 -1
  111. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ribsk4._.js +1 -1
  112. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0souuv~._.js +1 -1
  113. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0vwc25l._.js +3 -0
  114. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0wjg_.n._.js +1 -1
  115. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0wvyks.._.js +1 -1
  116. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__121lss.._.js → [root-of-the-server]__0z7q-_5._.js} +2 -2
  117. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0zbmoit._.js +1 -1
  118. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0~03tpv._.js +1 -1
  119. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0miur_1._.js → [root-of-the-server]__10o9il8._.js} +2 -2
  120. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__13vdw4w._.js +1 -1
  121. package/.next/standalone/.next/server/chunks/ssr/{_0icu6m~._.js → _0-fpxu8._.js} +2 -2
  122. package/.next/standalone/.next/server/chunks/ssr/{_0fq4yrr._.js → _03zmko4._.js} +2 -2
  123. package/.next/standalone/.next/server/chunks/ssr/_04b71ua._.js +1 -1
  124. package/.next/standalone/.next/server/chunks/ssr/{_0.knmg-._.js → _0568hf5._.js} +2 -2
  125. package/.next/standalone/.next/server/chunks/ssr/_05h.8a~._.js +1 -1
  126. package/.next/standalone/.next/server/chunks/ssr/_07k_7zo._.js +7 -0
  127. package/.next/standalone/.next/server/chunks/ssr/{_0pu8x.f._.js → _0999z~z._.js} +2 -2
  128. package/.next/standalone/.next/server/chunks/ssr/_0_l8.dg._.js +1 -1
  129. package/.next/standalone/.next/server/chunks/ssr/_0cj9a7y._.js +1 -1
  130. package/.next/standalone/.next/server/chunks/ssr/_0ds6nk2._.js +1 -1
  131. package/.next/standalone/.next/server/chunks/ssr/_0gkxdta._.js +7 -0
  132. package/.next/standalone/.next/server/chunks/ssr/_0i4__mf._.js +1 -1
  133. package/.next/standalone/.next/server/chunks/ssr/_0ihq._v._.js +1 -1
  134. package/.next/standalone/.next/server/chunks/ssr/{_0.oe3b8._.js → _0jxhs~u._.js} +2 -2
  135. package/.next/standalone/.next/server/chunks/ssr/{_0d2cdox._.js → _0r8ftmo._.js} +2 -2
  136. package/.next/standalone/.next/server/chunks/ssr/_0r9w-k8._.js +1 -1
  137. package/.next/standalone/.next/server/chunks/ssr/_0rbctq7._.js +1 -1
  138. package/.next/standalone/.next/server/chunks/ssr/_0rt8hus._.js +1 -1
  139. package/.next/standalone/.next/server/chunks/ssr/{_0kx.c-s._.js → _0zcog8w._.js} +2 -2
  140. package/.next/standalone/.next/server/chunks/ssr/_0~80adm._.js +3 -3
  141. package/.next/standalone/.next/server/chunks/ssr/{_0xvsyc0._.js → _11uabrg._.js} +2 -2
  142. package/.next/standalone/.next/server/chunks/ssr/_13b~3az._.js +7 -0
  143. package/.next/standalone/.next/server/chunks/ssr/src_0eufeyj._.js +1 -1
  144. package/.next/standalone/.next/server/chunks/ssr/src_13jha60._.js +1 -1
  145. package/.next/standalone/.next/server/chunks/ssr/src_actions_agent-actions_ts_0~wc.sy._.js +1 -1
  146. package/.next/standalone/.next/server/chunks/ssr/src_actions_file-actions_ts_0gcvqwm._.js +1 -1
  147. package/.next/standalone/.next/server/chunks/ssr/src_app_missions_missions-client_tsx_11429lj._.js +1 -1
  148. package/.next/standalone/.next/server/chunks/ssr/src_app_onboarding_page_tsx_0xf7hpz._.js +1 -1
  149. package/.next/standalone/.next/server/chunks/ssr/src_app_settings_page_tsx_0h9v7dr._.js +1 -1
  150. package/.next/standalone/.next/server/chunks/ssr/src_app_workspaces_[workspaceId]_assets_assets-page-client_tsx_0wyzpam._.js +1 -1
  151. package/.next/standalone/.next/server/chunks/ssr/src_app_workspaces_[workspaceId]_board-page-client_tsx_0gips66._.js +1 -1
  152. package/.next/standalone/.next/server/chunks/ssr/src_app_workspaces_[workspaceId]_tasks_[taskId]_task-page-client_tsx_02t7blt._.js +1 -1
  153. package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
  154. package/.next/standalone/.next/server/pages/404.html +1 -1
  155. package/.next/standalone/.next/server/pages/500.html +1 -1
  156. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  157. package/.next/standalone/.next/server/server-reference-manifest.json +312 -312
  158. package/.next/standalone/.next/static/chunks/{09m-rcwwlggjy.js → 0-9-c__gfaxpa.js} +1 -1
  159. package/.next/standalone/.next/static/chunks/{0hueiuk3kjujl.js → 04djo-eed_8rf.js} +2 -2
  160. package/.next/standalone/.next/static/chunks/{0h1-tehkx05kz.js → 05fy_a4boi~ym.js} +1 -1
  161. package/.next/standalone/.next/static/chunks/05mg~bkdmeovq.js +1 -0
  162. package/.next/standalone/.next/static/chunks/08o3st.fn2~6x.js +1 -0
  163. package/.next/standalone/.next/static/chunks/{0ynbql~9oq0av.js → 0d5wyd0-zzb94.js} +1 -1
  164. package/.next/standalone/.next/static/chunks/0e6c~o_iuvycp.js +1 -0
  165. package/.next/standalone/.next/static/chunks/{0szduy0e92e5g.js → 0h3jzfwt-f9o7.js} +1 -1
  166. package/.next/standalone/.next/static/chunks/0igfu0uxcf238.js +1 -0
  167. package/.next/standalone/.next/static/chunks/{0lx08u-wp-gt6.js → 0jd4uhx~x74ox.js} +2 -2
  168. package/.next/standalone/.next/static/chunks/{0ur-499l_2jrc.js → 0obdotk~5x07o.js} +1 -1
  169. package/.next/standalone/.next/static/chunks/0o~dk86gtjq-..js +1 -0
  170. package/.next/standalone/.next/static/chunks/{087l367c1psb6.js → 0p_vnqgdse218.js} +1 -1
  171. package/.next/standalone/.next/static/chunks/{156si6w7d-_ct.js → 0sbpshsch~ak2.js} +2 -2
  172. package/.next/standalone/.next/static/chunks/{0xs0yzxjkoeas.js → 0t.7i1ltlf~rt.js} +1 -1
  173. package/.next/standalone/.next/static/chunks/0v--ko.s9zeij.js +1 -0
  174. package/.next/standalone/.next/static/chunks/{07vas3ezrfrjg.js → 0v-8_9de2o32z.js} +1 -1
  175. package/.next/standalone/.next/static/chunks/{0ikej72py2xo3.js → 0x~sbju1g3fjh.js} +1 -1
  176. package/.next/standalone/.next/static/chunks/{000k30wpair3e.js → 0y1m4k4hrzl33.js} +2 -2
  177. package/.next/standalone/.next/static/chunks/0ztm6whl93nyg.js +1 -0
  178. package/.next/standalone/.next/static/chunks/136efy8zbqp13.js +1 -0
  179. package/.next/standalone/package.json +1 -1
  180. package/package.json +1 -1
  181. package/scripts/post-tool-hook.js +24 -39
  182. package/scripts/session-start-hook.js +21 -19
  183. package/scripts/stop-hook.js +21 -19
  184. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__08901f9._.js +0 -3
  185. package/.next/standalone/.next/server/chunks/ssr/_05unqgy._.js +0 -7
  186. package/.next/standalone/.next/server/chunks/ssr/_0a2m~cj._.js +0 -7
  187. package/.next/standalone/.next/server/chunks/ssr/_0vnfnib._.js +0 -7
  188. package/.next/standalone/.next/static/chunks/005169or2nxlh.js +0 -1
  189. package/.next/standalone/.next/static/chunks/04uepvk5f~_a-.js +0 -1
  190. package/.next/standalone/.next/static/chunks/0mu8uzvw4gvpf.js +0 -1
  191. package/.next/standalone/.next/static/chunks/0ow7ynd7g7ptv.js +0 -1
  192. package/.next/standalone/.next/static/chunks/0szie_5oyakv1.js +0 -1
  193. package/.next/standalone/.next/static/chunks/0~88n47ys3due.js +0 -1
  194. package/.next/standalone/.next/static/chunks/10nil20v3q7~..js +0 -1
  195. package/.next/standalone/.next/static/chunks/12rh72_2o79jv.js +0 -1
  196. /package/.next/standalone/.next/static/{7DBkEq_6oXffs_C5TFLBR → 7iWXcI7IK1tpJQ-itTcOk}/_buildManifest.js +0 -0
  197. /package/.next/standalone/.next/static/{7DBkEq_6oXffs_C5TFLBR → 7iWXcI7IK1tpJQ-itTcOk}/_clientMiddlewareManifest.js +0 -0
  198. /package/.next/standalone/.next/static/{7DBkEq_6oXffs_C5TFLBR → 7iWXcI7IK1tpJQ-itTcOk}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/workspaces/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":680695,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":680695,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":484878,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":484878,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":516578,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":516578,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":90678,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":90678,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":744050,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":744050,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":834225,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":834225,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":782626,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":782626,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/components/ui/tooltip.tsx <module evaluation>":{"id":746798,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/components/ui/tooltip.tsx":{"id":746798,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/components/layout/layout-client.tsx <module evaluation>":{"id":914935,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/components/layout/layout-client.tsx":{"id":914935,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/lib/i18n.tsx <module evaluation>":{"id":533499,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/lib/i18n.tsx":{"id":533499,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/components/providers/theme-provider.tsx <module evaluation>":{"id":782406,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/components/providers/theme-provider.tsx":{"id":782406,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/lib/extensions/context.tsx <module evaluation>":{"id":770303,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/lib/extensions/context.tsx":{"id":770303,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/components/ui/sonner.tsx <module evaluation>":{"id":713354,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/src/components/ui/sonner.tsx":{"id":713354,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/lucide-react@1.6.0_react@19.2.4/node_modules/lucide-react/dist/esm/Icon.js <module evaluation>":{"id":458464,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/lucide-react@1.6.0_react@19.2.4/node_modules/lucide-react/dist/esm/Icon.js":{"id":458464,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":135230,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":135230,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0ur-499l_2jrc.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/0h1-tehkx05kz.js"],"async":false}},"ssrModuleMapping":{"680695":{"*":{"id":449225,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"484878":{"*":{"id":784784,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"516578":{"*":{"id":916393,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"90678":{"*":{"id":614964,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"744050":{"*":{"id":814840,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"834225":{"*":{"id":38071,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"782626":{"*":{"id":208382,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"746798":{"*":{"id":785259,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"914935":{"*":{"id":607884,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"533499":{"*":{"id":951192,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"782406":{"*":{"id":3896,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"770303":{"*":{"id":87309,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"713354":{"*":{"id":426419,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"458464":{"*":{"id":392223,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"135230":{"*":{"id":424746,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__08901f9._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js","server/chunks/ssr/0se9_next_dist_client_components_0uod4qi._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"680695":{"*":{"id":691495,"name":"*","chunks":[],"async":false}},"484878":{"*":{"id":533183,"name":"*","chunks":[],"async":false}},"516578":{"*":{"id":412747,"name":"*","chunks":[],"async":false}},"90678":{"*":{"id":99895,"name":"*","chunks":[],"async":false}},"744050":{"*":{"id":502387,"name":"*","chunks":[],"async":false}},"834225":{"*":{"id":426094,"name":"*","chunks":[],"async":false}},"782626":{"*":{"id":242624,"name":"*","chunks":[],"async":false}},"746798":{"*":{"id":480581,"name":"*","chunks":[],"async":false}},"914935":{"*":{"id":890170,"name":"*","chunks":[],"async":false}},"533499":{"*":{"id":604483,"name":"*","chunks":[],"async":false}},"782406":{"*":{"id":718127,"name":"*","chunks":[],"async":false}},"770303":{"*":{"id":948109,"name":"*","chunks":[],"async":false}},"713354":{"*":{"id":324257,"name":"*","chunks":[],"async":false}},"458464":{"*":{"id":857188,"name":"*","chunks":[],"async":false}},"135230":{"*":{"id":764823,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/123doanyjnwwq.css","inlined":false},{"path":"static/chunks/0o~~t9_9pm-0e.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/123doanyjnwwq.css","inlined":false},{"path":"static/chunks/0o~~t9_9pm-0e.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/076x3dc258jv8.js","static/chunks/0y4t-yk9428ag.js","static/chunks/0r6_if_1hvz-u.js","static/chunks/0n52vvco8hy2h.js","static/chunks/0b2yknsc68f2a.js","static/chunks/13.pi0v53g-4n.js","static/chunks/0v8apmh_d7lz3.js","static/chunks/0ur-499l_2jrc.js","static/chunks/16nn-au~pxlvy.js","static/chunks/0wyjnhk_5g3.8.js","static/chunks/0h1-tehkx05kz.js"],"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/076x3dc258jv8.js","static/chunks/0y4t-yk9428ag.js","static/chunks/0r6_if_1hvz-u.js","static/chunks/0n52vvco8hy2h.js","static/chunks/0b2yknsc68f2a.js","static/chunks/13.pi0v53g-4n.js","static/chunks/0v8apmh_d7lz3.js","static/chunks/0ur-499l_2jrc.js","static/chunks/16nn-au~pxlvy.js","static/chunks/0wyjnhk_5g3.8.js","static/chunks/0h1-tehkx05kz.js"]}};
2
+ globalThis.__RSC_MANIFEST["/workspaces/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":680695,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/layout-router.js":{"id":680695,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":484878,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":484878,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":516578,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-page.js":{"id":516578,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":90678,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/client-segment.js":{"id":90678,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":744050,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":744050,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":834225,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":834225,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":782626,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":782626,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/components/ui/tooltip.tsx <module evaluation>":{"id":746798,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/components/ui/tooltip.tsx":{"id":746798,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/components/layout/layout-client.tsx <module evaluation>":{"id":914935,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/components/layout/layout-client.tsx":{"id":914935,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/lib/i18n.tsx <module evaluation>":{"id":533499,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/lib/i18n.tsx":{"id":533499,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/components/providers/theme-provider.tsx <module evaluation>":{"id":782406,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/components/providers/theme-provider.tsx":{"id":782406,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/lib/extensions/context.tsx <module evaluation>":{"id":770303,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/lib/extensions/context.tsx":{"id":770303,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/components/ui/sonner.tsx <module evaluation>":{"id":713354,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/src/components/ui/sonner.tsx":{"id":713354,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/lucide-react@1.6.0_react@19.2.4/node_modules/lucide-react/dist/esm/Icon.js <module evaluation>":{"id":458464,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/lucide-react@1.6.0_react@19.2.4/node_modules/lucide-react/dist/esm/Icon.js":{"id":458464,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":135230,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error.js":{"id":135230,"name":"*","chunks":["/_next/static/chunks/076x3dc258jv8.js","/_next/static/chunks/0y4t-yk9428ag.js","/_next/static/chunks/0r6_if_1hvz-u.js","/_next/static/chunks/0n52vvco8hy2h.js","/_next/static/chunks/0b2yknsc68f2a.js","/_next/static/chunks/13.pi0v53g-4n.js","/_next/static/chunks/0v8apmh_d7lz3.js","/_next/static/chunks/0obdotk~5x07o.js","/_next/static/chunks/16nn-au~pxlvy.js","/_next/static/chunks/0wyjnhk_5g3.8.js","/_next/static/chunks/05fy_a4boi~ym.js"],"async":false}},"ssrModuleMapping":{"680695":{"*":{"id":449225,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"484878":{"*":{"id":784784,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"516578":{"*":{"id":916393,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"90678":{"*":{"id":614964,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"744050":{"*":{"id":814840,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"834225":{"*":{"id":38071,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"782626":{"*":{"id":208382,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"746798":{"*":{"id":785259,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"914935":{"*":{"id":607884,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"533499":{"*":{"id":951192,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"782406":{"*":{"id":3896,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"770303":{"*":{"id":87309,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"713354":{"*":{"id":426419,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"458464":{"*":{"id":392223,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js"],"async":false}},"135230":{"*":{"id":424746,"name":"*","chunks":["server/chunks/ssr/_0i8t39l._.js","server/chunks/ssr/node_modules__pnpm_0lqfvhm._.js","server/chunks/ssr/[root-of-the-server]__0vwc25l._.js","server/chunks/ssr/12k._sonner_dist_index_mjs_0-vmpk5._.js","server/chunks/ssr/_057su-q._.js","server/chunks/ssr/0r3._clsx_dist_clsx_mjs_0e0diqb._.js","server/chunks/ssr/_0ecu98s._.js","server/chunks/ssr/0se9_next_dist_13c3rbd._.js","server/chunks/ssr/0se9_next_dist_0c0msz0._.js","server/chunks/ssr/_0ueyys5._.js","server/chunks/ssr/_0cj9a7y._.js","server/chunks/ssr/_0fuoov5._.js","server/chunks/ssr/0se9_next_dist_client_components_0uod4qi._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"680695":{"*":{"id":691495,"name":"*","chunks":[],"async":false}},"484878":{"*":{"id":533183,"name":"*","chunks":[],"async":false}},"516578":{"*":{"id":412747,"name":"*","chunks":[],"async":false}},"90678":{"*":{"id":99895,"name":"*","chunks":[],"async":false}},"744050":{"*":{"id":502387,"name":"*","chunks":[],"async":false}},"834225":{"*":{"id":426094,"name":"*","chunks":[],"async":false}},"782626":{"*":{"id":242624,"name":"*","chunks":[],"async":false}},"746798":{"*":{"id":480581,"name":"*","chunks":[],"async":false}},"914935":{"*":{"id":890170,"name":"*","chunks":[],"async":false}},"533499":{"*":{"id":604483,"name":"*","chunks":[],"async":false}},"782406":{"*":{"id":718127,"name":"*","chunks":[],"async":false}},"770303":{"*":{"id":948109,"name":"*","chunks":[],"async":false}},"713354":{"*":{"id":324257,"name":"*","chunks":[],"async":false}},"458464":{"*":{"id":857188,"name":"*","chunks":[],"async":false}},"135230":{"*":{"id":764823,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/123doanyjnwwq.css","inlined":false},{"path":"static/chunks/0o~~t9_9pm-0e.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/123doanyjnwwq.css","inlined":false},{"path":"static/chunks/0o~~t9_9pm-0e.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/076x3dc258jv8.js","static/chunks/0y4t-yk9428ag.js","static/chunks/0r6_if_1hvz-u.js","static/chunks/0n52vvco8hy2h.js","static/chunks/0b2yknsc68f2a.js","static/chunks/13.pi0v53g-4n.js","static/chunks/0v8apmh_d7lz3.js","static/chunks/0obdotk~5x07o.js","static/chunks/16nn-au~pxlvy.js","static/chunks/0wyjnhk_5g3.8.js","static/chunks/05fy_a4boi~ym.js"],"[project]/node_modules/.pnpm/next@16.2.1_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/076x3dc258jv8.js","static/chunks/0y4t-yk9428ag.js","static/chunks/0r6_if_1hvz-u.js","static/chunks/0n52vvco8hy2h.js","static/chunks/0b2yknsc68f2a.js","static/chunks/13.pi0v53g-4n.js","static/chunks/0v8apmh_d7lz3.js","static/chunks/0obdotk~5x07o.js","static/chunks/16nn-au~pxlvy.js","static/chunks/0wyjnhk_5g3.8.js","static/chunks/05fy_a4boi~ym.js"]}};
3
3
 
@@ -1,3 +1,3 @@
1
- module.exports=[548175,e=>{"use strict";var t=e.i(765876),r=e.i(675896),n=e.i(959160),s=e.i(97944),a=e.i(86757),o=e.i(204144),i=e.i(273436),l=e.i(743641),u=e.i(813766),d=e.i(840884),c=e.i(498814),p=e.i(780006),m=e.i(544432),h=e.i(772005),g=e.i(450223),f=e.i(193695);e.i(628400);var v=e.i(800071),y=e.i(855104),w=e.i(78091),_=e.i(522734),b=e.i(874533),R=e.i(750227),$=e.i(769310),E=e.i(279711);let A=new Map;function C(e){return"object"!=typeof e||null===e||Array.isArray(e)?{}:e}function x(e,t){return"string"==typeof e&&e.length>0?e:t}function k(e,t){return"number"==typeof e&&Number.isFinite(e)?e:t}function P(e,t,r=4194304){let n=e+t;return n.length>r?n.slice(n.length-r):n}async function T(e,t,r){if(!await (0,$.resolveCommandPath)(e,{cwd:t,env:r})){if(e.includes("/")||e.includes("\\")){let r=R.default.isAbsolute(e)?e:R.default.resolve(t,e);throw Error(`Command is not executable: "${e}" (resolved: "${r}")`)}throw Error(`Command not found in PATH: "${e}"`)}}async function S(e,t,r,n){let s=n.onLogError??((e,t,r)=>console.warn({err:e,runId:t},r));return new Promise((a,o)=>{let i=(0,$.ensurePathInEnv)((0,$.stripClaudeNestingEnv)({...process.env,...n.env}));(0,$.resolveSpawnTarget)(t,r,{cwd:n.cwd,env:i}).then(r=>{let l=(0,b.spawn)(r.command,r.args,{cwd:n.cwd,env:i,shell:!1,stdio:[null!=n.stdin?"pipe":"ignore","pipe","pipe"]});null!=n.stdin&&l.stdin&&(l.stdin.write(n.stdin),l.stdin.end()),A.set(e,{child:l,graceSec:n.graceSec});let u=!1,d="",c="",p=Promise.resolve(),m=n.timeoutSec>0?setTimeout(()=>{u=!0,l.kill("SIGTERM"),setTimeout(()=>{l.killed||l.kill("SIGKILL")},1e3*Math.max(1,n.graceSec))},1e3*n.timeoutSec):null;l.stdout?.on("data",t=>{let r=String(t);d=P(d,r),p=p.then(()=>n.onLog("stdout",r)).catch(t=>s(t,e,"failed to append stdout log chunk"))}),l.stderr?.on("data",t=>{let r=String(t);c=P(c,r),p=p.then(()=>n.onLog("stderr",r)).catch(t=>s(t,e,"failed to append stderr log chunk"))}),l.on("error",r=>{m&&clearTimeout(m),A.delete(e);let s=r.code,a=i.PATH??i.Path??"";o(Error("ENOENT"===s?`Failed to start command "${t}" in "${n.cwd}". Verify command, working directory, and PATH (${a}).`:`Failed to start command "${t}" in "${n.cwd}": ${r.message}`))}),l.on("close",(t,r)=>{m&&clearTimeout(m),A.delete(e),p.finally(()=>{a({exitCode:t,signal:r,timedOut:u,stdout:d,stderr:c})})})}).catch(o)})}let N=/(?:not\s+logged\s+in|please\s+log\s+in|please\s+run\s+`?claude\s+login`?|login\s+required|requires\s+login|unauthorized|authentication\s+required)/i,I=/(https?:\/\/[^\s'"`<>()[\]{};,!?]+[^\s'"`<>()[\]{};,!.?:]+)/gi;async function O(e,t){let r=t??"claude",n=E.providerRegistry.get(r),s=n?.cli?.adapter,a=n?.cli?.command??r;return s?H(e,r,a,s):j(e)}async function H(e,t,r,n){let s=[];try{await T(r,e,{...process.env}),s.push({name:`${t}_command_resolvable`,passed:!0,message:`${r} command found in PATH`})}catch(e){return s.push({name:`${t}_command_resolvable`,passed:!1,message:e instanceof Error?e.message:`${r} command not found in PATH`}),{ok:!1,checks:s}}try{let e=await n.getVersion();s.push({name:`${t}_version`,passed:!0,message:e?`Version: ${e}`:"Version: unknown"})}catch{s.push({name:`${t}_version`,passed:!0,message:"Version: unknown"})}let a=n.getApiKeyInfo(),o=process.env[a.envVar],i="string"==typeof o&&o.trim().length>0;s.push({name:`${t}_api_key`,passed:i,message:i?`${a.envVar} is set`:`${a.envVar} is not set${a.required?"":` (${r} may use subscription auth)`}`});let l=n.buildHelloProbeArgs("Respond with just the word hello"),u=`${t}-test-${Date.now()}-${Math.random().toString(16).slice(2)}`;try{let n=await S(u,l.command,l.args,{cwd:e,env:{},timeoutSec:45,graceSec:5,onLog:async()=>{}});if(n.timedOut)s.push({name:`${t}_hello_probe`,passed:!1,message:`${r} hello probe timed out`});else if((n.exitCode??1)===0){let e=n.stdout.trim(),a=/\bhello\b/i.test(e);s.push({name:`${t}_hello_probe`,passed:a,message:a?`${r} hello probe succeeded`:`${r} probe ran but returned unexpected output: ${e.slice(0,120)}`})}else{let e=n.stderr.split(/\r?\n/).map(e=>e.trim()).find(Boolean)??"";s.push({name:`${t}_hello_probe`,passed:!1,message:e?`${r} hello probe failed: ${e}`:`${r} hello probe failed with exit code ${n.exitCode??-1}`})}}catch(e){s.push({name:`${t}_hello_probe`,passed:!1,message:e instanceof Error?e.message:`${r} hello probe threw an error`})}return{ok:s.every(e=>e.passed||e.name===`${t}_api_key`),checks:s}}async function j(e){let t=[];try{await T("claude",e,{...process.env}),t.push({name:"claude_command_resolvable",passed:!0,message:"claude command found in PATH"})}catch(e){return t.push({name:"claude_command_resolvable",passed:!1,message:e instanceof Error?e.message:"claude command not found in PATH"}),{ok:!1,checks:t}}try{let r=await S(`claude-version-${Date.now()}`,"claude",["--version"],{cwd:e,env:{},timeoutSec:5,graceSec:2,onLog:async()=>{}}),n=r.stdout.trim()||r.stderr.trim()||"";t.push({name:"claude_version",passed:!0,message:n?`Version: ${n}`:"Version: unknown"})}catch{t.push({name:"claude_version",passed:!0,message:"Version: unknown"})}let r=process.env.ANTHROPIC_API_KEY,n="string"==typeof r&&r.trim().length>0;t.push({name:"anthropic_api_key",passed:n,message:n?"ANTHROPIC_API_KEY is set":"ANTHROPIC_API_KEY is not set (claude may use browser/subscription auth)"});let s=`claude-test-${Date.now()}-${Math.random().toString(16).slice(2)}`;try{var a;let r=await S(s,"claude",["--print","-","--output-format","stream-json","--verbose"],{cwd:e,env:{},stdin:"Respond with just the word hello",timeoutSec:45,graceSec:5,onLog:async()=>{}}),n=function(e){let t=null,r="",n=null,s=[];for(let a of e.split(/\r?\n/)){let e=a.trim();if(!e)continue;let o=function(e){try{return JSON.parse(e)}catch{return null}}(e);if(!o)continue;let i=x(o.type,"");if("system"===i&&"init"===x(o.subtype,"")){t=x(o.session_id,t??"")||t,r=x(o.model,r);continue}if("assistant"===i){t=x(o.session_id,t??"")||t;let e=C(o.message);for(let t of Array.isArray(e.content)?e.content:[])if(!("object"!=typeof t||null===t||Array.isArray(t))&&"text"===x(t.type,"")){let e=x(t.text,"");e&&s.push(e)}continue}"result"===i&&(n=o,t=x(o.session_id,t??"")||t)}if(!n)return{sessionId:t,model:r,costUsd:null,usage:null,summary:s.join("\n\n").trim(),resultJson:null};let a=C(n.usage),o={inputTokens:k(a.input_tokens,0),cachedInputTokens:k(a.cache_read_input_tokens,0),outputTokens:k(a.output_tokens,0)},i=n.total_cost_usd,l="number"==typeof i&&Number.isFinite(i)?i:null;return{sessionId:t,model:r,costUsd:l,usage:o,summary:x(n.result,s.join("\n\n")).trim(),resultJson:n}}(r.stdout),o=(a={parsed:n.resultJson,stdout:r.stdout,stderr:r.stderr},{requiresLogin:[x(a.parsed?.result,"").trim(),...function(e){let t=Array.isArray(e.errors)?e.errors:[],r=[];for(let e of t){if("string"==typeof e){let t=e.trim();t&&r.push(t);continue}if("object"!=typeof e||null===e||Array.isArray(e))continue;let t=x(e.message,"")||x(e.error,"")||x(e.code,"");if(t){r.push(t);continue}try{r.push(JSON.stringify(e))}catch{}}return r}(a.parsed??{}),a.stdout,a.stderr].join("\n").split(/\r?\n/).map(e=>e.trim()).filter(Boolean).some(e=>N.test(e)),loginUrl:function(e){let t=e.match(I);if(!t||0===t.length)return null;for(let e of t){let t=e.replace(/[\])}.!,?;:'\"]+$/g,"");if(t.includes("claude")||t.includes("anthropic")||t.includes("auth"))return t}return t[0]?.replace(/[\])}.!,?;:'\"]+$/g,"")??null}([a.stdout,a.stderr].join("\n"))});if(o.requiresLogin){let e=o.loginUrl?`Run \`claude login\` and complete sign-in at ${o.loginUrl}`:"Run `claude login` to authenticate";t.push({name:"claude_hello_probe",passed:!1,message:`Claude login required. ${e}`})}else if(r.timedOut)t.push({name:"claude_hello_probe",passed:!1,message:"Claude hello probe timed out"});else if((r.exitCode??1)===0){let e=n.summary.trim(),r=/\bhello\b/i.test(e);t.push({name:"claude_hello_probe",passed:r,message:r?"Claude hello probe succeeded":`Claude probe ran but returned unexpected output: ${e.slice(0,120)}`})}else{let e=r.stderr.split(/\r?\n/).map(e=>e.trim()).find(Boolean)??"";t.push({name:"claude_hello_probe",passed:!1,message:e?`Claude hello probe failed: ${e}`:`Claude hello probe failed with exit code ${r.exitCode??-1}`})}}catch(e){t.push({name:"claude_hello_probe",passed:!1,message:e instanceof Error?e.message:"Claude hello probe threw an error"})}return{ok:t.every(e=>e.passed||"anthropic_api_key"===e.name),checks:t}}var q=e.i(843793),U=e.i(173215),M=e.i(932583);let D=w.z.object({adapterType:w.z.string().optional(),provider:w.z.string().optional(),cwd:w.z.string().optional()});async function L(e){try{let t,r=D.safeParse(await e.json());if(!r.success)return y.NextResponse.json({ok:!1,error:"Invalid request body"},{status:400});let{cwd:n,provider:s}=r.data,a=process.cwd();if(n){if(!await q.db.project.findFirst({where:{localPath:n}}))return y.NextResponse.json({ok:!1,error:"cwd must be a registered project local path"},{status:400});if(!(0,_.existsSync)(n))return y.NextResponse.json({ok:!1,error:"cwd directory does not exist"},{status:400});a=n}let o=await O(a,s);if(s)if(o.ok)try{let r=`${e.nextUrl.protocol}//${e.nextUrl.host}`;t=await (0,U.installAllForProvider)(s,r),await (0,M.markProviderConnected)(s,{version:function(e){let t=e.find(e=>e.name.endsWith("_version"));if(!t)return null;let r=t.message.match(/Version:\s*(.+)$/);return r?r[1].trim():null}(o.checks),report:t})}catch(e){t={provider:s,available:!0,ok:!1,mcp:void 0,hooks:void 0,skill:void 0},console.error("[adapters/test] install error:",e),await (0,M.markProviderDisconnected)(s,{reason:e instanceof Error?e.message:String(e)})}else{let e=o.checks.find(e=>!e.passed&&!e.name.endsWith("_api_key"));await (0,M.markProviderDisconnected)(s,{reason:e?.message??"test failed"})}let i={...o,install:t};return y.NextResponse.json(i)}catch(e){return y.NextResponse.json({ok:!1,error:e instanceof Error?e.message:"Unknown error"},{status:500})}}async function V(){return y.NextResponse.json({adapters:["claude_local"]})}e.s(["GET",0,V,"POST",0,L],178597);var F=e.i(178597);let K=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/adapters/test/route",pathname:"/api/adapters/test",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/adapters/test/route.ts",nextConfigOutput:"standalone",userland:F}),{workAsyncStorage:B,workUnitAsyncStorage:z,serverHooks:G}=K;async function J(e,t,n){n.requestMeta&&(0,s.setRequestMeta)(e,n.requestMeta),K.isDev&&(0,s.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let y="/api/adapters/test/route";y=y.replace(/\/index$/,"")||"/";let w=await K.prepare(e,t,{srcPage:y,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:_,params:b,nextConfig:R,parsedUrl:$,isDraftMode:E,prerenderManifest:A,routerServerContext:C,isOnDemandRevalidate:x,revalidateOnlyGenerated:k,resolvedPathname:P,clientReferenceManifest:T,serverActionsManifest:S}=w,N=(0,i.normalizeAppPath)(y),I=!!(A.dynamicRoutes[N]||A.routes[P]),O=async()=>((null==C?void 0:C.render404)?await C.render404(e,t,$,!1):t.end("This page could not be found"),null);if(I&&!E){let e=!!A.routes[P],t=A.dynamicRoutes[N];if(t&&!1===t.fallback&&!e){if(R.adapterPath)return await O();throw new f.NoFallbackError}}let H=null;!I||K.isDev||E||(H="/index"===(H=P)?"/":H);let j=!0===K.isDev||!I,q=I&&!j;S&&T&&(0,o.setManifestsSingleton)({page:y,clientReferenceManifest:T,serverActionsManifest:S});let U=e.method||"GET",M=(0,a.getTracer)(),D=M.getActiveScopeSpan(),L=!!(null==C?void 0:C.isWrappedByNextServer),V=!!(0,s.getRequestMeta)(e,"minimalMode"),F=(0,s.getRequestMeta)(e,"incrementalCache")||await K.getIncrementalCache(e,R,A,V);null==F||F.resetRequestCache(),globalThis.__incrementalCache=F;let B={params:b,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!R.experimental.authInterrupts},cacheComponents:!!R.cacheComponents,supportsDynamicResponse:j,incrementalCache:F,cacheLifeProfiles:R.cacheLife,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,n,s)=>K.onRequestError(e,t,n,s,C)},sharedContext:{buildId:_}},z=new l.NodeNextRequest(e),G=new l.NodeNextResponse(t),J=u.NextRequestAdapter.fromNodeNextRequest(z,(0,u.signalFromNodeResponse)(t));try{let s,o=async e=>K.handle(J,B).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=M.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let n=r.get("next.route");if(n){let t=`${U} ${n}`;e.setAttributes({"next.route":n,"http.route":n,"next.span_name":t}),e.updateName(t),s&&s!==e&&(s.setAttribute("http.route",n),s.updateName(t))}else e.updateName(`${U} ${y}`)}),i=async s=>{var a,i;let l=async({previousCacheEntry:r})=>{try{if(!V&&x&&k&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let a=await o(s);e.fetchMetrics=B.renderOpts.fetchMetrics;let i=B.renderOpts.pendingWaitUntil;i&&n.waitUntil&&(n.waitUntil(i),i=void 0);let l=B.renderOpts.collectedTags;if(!I)return await (0,p.sendResponse)(z,G,a,B.renderOpts.pendingWaitUntil),null;{let e=await a.blob(),t=(0,m.toNodeOutgoingHttpHeaders)(a.headers);l&&(t[g.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==B.renderOpts.collectedRevalidate&&!(B.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&B.renderOpts.collectedRevalidate,n=void 0===B.renderOpts.collectedExpire||B.renderOpts.collectedExpire>=g.INFINITE_CACHE?void 0:B.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:a.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:n}}}}catch(t){throw(null==r?void 0:r.isStale)&&await K.onRequestError(e,t,{routerKind:"App Router",routePath:y,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:x})},!1,C),t}},u=await K.handleResponse({req:e,nextConfig:R,cacheKey:H,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:x,revalidateOnlyGenerated:k,responseGenerator:l,waitUntil:n.waitUntil,isMinimalMode:V});if(!I)return null;if((null==u||null==(a=u.value)?void 0:a.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(i=u.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});V||t.setHeader("x-nextjs-cache",x?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),E&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let d=(0,m.fromNodeOutgoingHttpHeaders)(u.value.headers);return V&&I||d.delete(g.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||d.get("Cache-Control")||d.set("Cache-Control",(0,h.getCacheControlHeader)(u.cacheControl)),await (0,p.sendResponse)(z,G,new Response(u.value.body,{headers:d,status:u.value.status||200})),null};L&&D?await i(D):(s=M.getActiveScopeSpan(),await M.withPropagatedContext(e.headers,()=>M.trace(d.BaseServerSpan.handleRequest,{spanName:`${U} ${y}`,kind:a.SpanKind.SERVER,attributes:{"http.method":U,"http.target":e.url}},i),void 0,!L))}catch(t){if(t instanceof f.NoFallbackError||await K.onRequestError(e,t,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:x})},!1,C),I)throw t;return await (0,p.sendResponse)(z,G,new Response(null,{status:500})),null}}e.s(["handler",0,J,"patchFetch",0,function(){return(0,n.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:z})},"routeModule",0,K,"serverHooks",0,G,"workAsyncStorage",0,B,"workUnitAsyncStorage",0,z],548175)}];
1
+ module.exports=[548175,e=>{"use strict";var t=e.i(765876),r=e.i(675896),n=e.i(959160),s=e.i(97944),a=e.i(86757),o=e.i(204144),i=e.i(273436),l=e.i(743641),u=e.i(813766),d=e.i(840884),c=e.i(498814),p=e.i(780006),m=e.i(544432),h=e.i(772005),g=e.i(450223),f=e.i(193695);e.i(628400);var v=e.i(800071),y=e.i(855104),w=e.i(78091),_=e.i(522734),b=e.i(874533),R=e.i(750227),$=e.i(769310),A=e.i(279711);let E=new Map;function x(e){return"object"!=typeof e||null===e||Array.isArray(e)?{}:e}function k(e,t){return"string"==typeof e&&e.length>0?e:t}function C(e,t){return"number"==typeof e&&Number.isFinite(e)?e:t}function P(e,t,r=4194304){let n=e+t;return n.length>r?n.slice(n.length-r):n}async function T(e,t,r){if(!await (0,$.resolveCommandPath)(e,{cwd:t,env:r})){if(e.includes("/")||e.includes("\\")){let r=R.default.isAbsolute(e)?e:R.default.resolve(t,e);throw Error(`Command is not executable: "${e}" (resolved: "${r}")`)}throw Error(`Command not found in PATH: "${e}"`)}}async function S(e,t,r,n){let s=n.onLogError??((e,t,r)=>console.warn({err:e,runId:t},r));return new Promise((a,o)=>{let i=(0,$.ensurePathInEnv)((0,$.stripClaudeNestingEnv)({...process.env,...n.env}));(0,$.resolveSpawnTarget)(t,r,{cwd:n.cwd,env:i}).then(r=>{let l=(0,b.spawn)(r.command,r.args,{cwd:n.cwd,env:i,shell:!1,stdio:[null!=n.stdin?"pipe":"ignore","pipe","pipe"]});null!=n.stdin&&l.stdin&&(l.stdin.write(n.stdin),l.stdin.end()),E.set(e,{child:l,graceSec:n.graceSec});let u=!1,d="",c="",p=Promise.resolve(),m=n.timeoutSec>0?setTimeout(()=>{u=!0,l.kill("SIGTERM"),setTimeout(()=>{l.killed||l.kill("SIGKILL")},1e3*Math.max(1,n.graceSec))},1e3*n.timeoutSec):null;l.stdout?.on("data",t=>{let r=String(t);d=P(d,r),p=p.then(()=>n.onLog("stdout",r)).catch(t=>s(t,e,"failed to append stdout log chunk"))}),l.stderr?.on("data",t=>{let r=String(t);c=P(c,r),p=p.then(()=>n.onLog("stderr",r)).catch(t=>s(t,e,"failed to append stderr log chunk"))}),l.on("error",r=>{m&&clearTimeout(m),E.delete(e);let s=r.code,a=i.PATH??i.Path??"";o(Error("ENOENT"===s?`Failed to start command "${t}" in "${n.cwd}". Verify command, working directory, and PATH (${a}).`:`Failed to start command "${t}" in "${n.cwd}": ${r.message}`))}),l.on("close",(t,r)=>{m&&clearTimeout(m),E.delete(e),p.finally(()=>{a({exitCode:t,signal:r,timedOut:u,stdout:d,stderr:c})})})}).catch(o)})}let N=/(?:not\s+logged\s+in|please\s+log\s+in|please\s+run\s+`?claude\s+login`?|login\s+required|requires\s+login|unauthorized|authentication\s+required)/i,j=/(https?:\/\/[^\s'"`<>()[\]{};,!?]+[^\s'"`<>()[\]{};,!.?:]+)/gi;function O(e){try{return JSON.parse(e)}catch{return null}}async function I(e,t){let r=t??"claude",n=A.providerRegistry.get(r),s=n?.cli?.adapter,a=n?.cli?.command??r;return s?H(e,r,a,s):q(e)}async function H(e,t,r,n){let s=[];try{await T(r,e,{...process.env}),s.push({name:`${t}_command_resolvable`,passed:!0,message:`${r} command found in PATH`})}catch(e){return s.push({name:`${t}_command_resolvable`,passed:!1,message:e instanceof Error?e.message:`${r} command not found in PATH`}),{ok:!1,checks:s}}try{let e=await n.getVersion();s.push({name:`${t}_version`,passed:!0,message:e?`Version: ${e}`:"Version: unknown"})}catch{s.push({name:`${t}_version`,passed:!0,message:"Version: unknown"})}let a=n.getApiKeyInfo(),o=process.env[a.envVar],i="string"==typeof o&&o.trim().length>0;s.push({name:`${t}_api_key`,passed:i,message:i?`${a.envVar} is set`:`${a.envVar} is not set${a.required?"":` (${r} may use subscription auth)`}`});let l=n.buildHelloProbeArgs("Respond with just the word hello"),u=`${t}-test-${Date.now()}-${Math.random().toString(16).slice(2)}`;try{let n=await S(u,l.command,l.args,{cwd:e,env:{},timeoutSec:45,graceSec:5,onLog:async()=>{}});if(n.timedOut)s.push({name:`${t}_hello_probe`,passed:!1,message:`${r} hello probe timed out`});else if((n.exitCode??1)===0){let e=n.stdout.trim(),a=/\bhello\b/i.test(e);s.push({name:`${t}_hello_probe`,passed:a,message:a?`${r} hello probe succeeded`:function(e,t){let r=[];for(let e of t.split(/\r?\n/)){let t=e.trim();if(!t)continue;let n=O(t);n&&r.push(n)}if(r.length>0){let t=r.filter(e=>"hook_failed"===e.subtype||"hook_error"===e.subtype).map(e=>`${e.hook_name??"hook"}: ${e.error??e.message??"failed"}`),n=r.filter(e=>"assistant"===e.type||"result"===e.type).map(e=>{var t;let r,n;return r=(t=e).message,n=r?.content,Array.isArray(n)?n.filter(e=>"text"===e.type).map(e=>String(e.text??"")).join(" "):"string"==typeof t.result?t.result:"string"==typeof t.text?t.text:""}).filter(Boolean).join(" ").trim(),s=[];if(t.length&&s.push(`hook errors: ${t.join("; ")}`),n&&s.push(`assistant said: ${n.slice(0,400)}`),0===s.length){let e=r[r.length-1];s.push(`last event: ${JSON.stringify(e).slice(0,400)}`)}return`${e} probe ran but missing "hello" — ${s.join("; ")}`}return`${e} probe ran but returned unexpected output: ${t.slice(0,800)}`}(r,e)})}else{let e=n.stderr.split(/\r?\n/).map(e=>e.trim()).find(Boolean)??"";s.push({name:`${t}_hello_probe`,passed:!1,message:e?`${r} hello probe failed: ${e}`:`${r} hello probe failed with exit code ${n.exitCode??-1}`})}}catch(e){s.push({name:`${t}_hello_probe`,passed:!1,message:e instanceof Error?e.message:`${r} hello probe threw an error`})}return{ok:s.every(e=>e.passed||e.name===`${t}_api_key`),checks:s}}async function q(e){let t=[];try{await T("claude",e,{...process.env}),t.push({name:"claude_command_resolvable",passed:!0,message:"claude command found in PATH"})}catch(e){return t.push({name:"claude_command_resolvable",passed:!1,message:e instanceof Error?e.message:"claude command not found in PATH"}),{ok:!1,checks:t}}try{let r=await S(`claude-version-${Date.now()}`,"claude",["--version"],{cwd:e,env:{},timeoutSec:5,graceSec:2,onLog:async()=>{}}),n=r.stdout.trim()||r.stderr.trim()||"";t.push({name:"claude_version",passed:!0,message:n?`Version: ${n}`:"Version: unknown"})}catch{t.push({name:"claude_version",passed:!0,message:"Version: unknown"})}let r=process.env.ANTHROPIC_API_KEY,n="string"==typeof r&&r.trim().length>0;t.push({name:"anthropic_api_key",passed:n,message:n?"ANTHROPIC_API_KEY is set":"ANTHROPIC_API_KEY is not set (claude may use browser/subscription auth)"});let s=`claude-test-${Date.now()}-${Math.random().toString(16).slice(2)}`;try{var a;let r=await S(s,"claude",["--print","-","--output-format","stream-json","--verbose"],{cwd:e,env:{},stdin:"Respond with just the word hello",timeoutSec:45,graceSec:5,onLog:async()=>{}}),n=function(e){let t=null,r="",n=null,s=[];for(let a of e.split(/\r?\n/)){let e=a.trim();if(!e)continue;let o=O(e);if(!o)continue;let i=k(o.type,"");if("system"===i&&"init"===k(o.subtype,"")){t=k(o.session_id,t??"")||t,r=k(o.model,r);continue}if("assistant"===i){t=k(o.session_id,t??"")||t;let e=x(o.message);for(let t of Array.isArray(e.content)?e.content:[])if(!("object"!=typeof t||null===t||Array.isArray(t))&&"text"===k(t.type,"")){let e=k(t.text,"");e&&s.push(e)}continue}"result"===i&&(n=o,t=k(o.session_id,t??"")||t)}if(!n)return{sessionId:t,model:r,costUsd:null,usage:null,summary:s.join("\n\n").trim(),resultJson:null};let a=x(n.usage),o={inputTokens:C(a.input_tokens,0),cachedInputTokens:C(a.cache_read_input_tokens,0),outputTokens:C(a.output_tokens,0)},i=n.total_cost_usd,l="number"==typeof i&&Number.isFinite(i)?i:null;return{sessionId:t,model:r,costUsd:l,usage:o,summary:k(n.result,s.join("\n\n")).trim(),resultJson:n}}(r.stdout),o=(a={parsed:n.resultJson,stdout:r.stdout,stderr:r.stderr},{requiresLogin:[k(a.parsed?.result,"").trim(),...function(e){let t=Array.isArray(e.errors)?e.errors:[],r=[];for(let e of t){if("string"==typeof e){let t=e.trim();t&&r.push(t);continue}if("object"!=typeof e||null===e||Array.isArray(e))continue;let t=k(e.message,"")||k(e.error,"")||k(e.code,"");if(t){r.push(t);continue}try{r.push(JSON.stringify(e))}catch{}}return r}(a.parsed??{}),a.stdout,a.stderr].join("\n").split(/\r?\n/).map(e=>e.trim()).filter(Boolean).some(e=>N.test(e)),loginUrl:function(e){let t=e.match(j);if(!t||0===t.length)return null;for(let e of t){let t=e.replace(/[\])}.!,?;:'\"]+$/g,"");if(t.includes("claude")||t.includes("anthropic")||t.includes("auth"))return t}return t[0]?.replace(/[\])}.!,?;:'\"]+$/g,"")??null}([a.stdout,a.stderr].join("\n"))});if(o.requiresLogin){let e=o.loginUrl?`Run \`claude login\` and complete sign-in at ${o.loginUrl}`:"Run `claude login` to authenticate";t.push({name:"claude_hello_probe",passed:!1,message:`Claude login required. ${e}`})}else if(r.timedOut)t.push({name:"claude_hello_probe",passed:!1,message:"Claude hello probe timed out"});else if((r.exitCode??1)===0){let e=n.summary.trim(),r=/\bhello\b/i.test(e);t.push({name:"claude_hello_probe",passed:r,message:r?"Claude hello probe succeeded":`Claude probe ran but returned unexpected output: ${e.slice(0,120)}`})}else{let e=r.stderr.split(/\r?\n/).map(e=>e.trim()).find(Boolean)??"";t.push({name:"claude_hello_probe",passed:!1,message:e?`Claude hello probe failed: ${e}`:`Claude hello probe failed with exit code ${r.exitCode??-1}`})}}catch(e){t.push({name:"claude_hello_probe",passed:!1,message:e instanceof Error?e.message:"Claude hello probe threw an error"})}return{ok:t.every(e=>e.passed||"anthropic_api_key"===e.name),checks:t}}var U=e.i(843793),M=e.i(173215),D=e.i(932583);let L=w.z.object({adapterType:w.z.string().optional(),provider:w.z.string().optional(),cwd:w.z.string().optional()});async function V(e){try{let t,r=L.safeParse(await e.json());if(!r.success)return y.NextResponse.json({ok:!1,error:"Invalid request body"},{status:400});let{cwd:n,provider:s}=r.data,a=process.cwd();if(n){if(!await U.db.project.findFirst({where:{localPath:n}}))return y.NextResponse.json({ok:!1,error:"cwd must be a registered project local path"},{status:400});if(!(0,_.existsSync)(n))return y.NextResponse.json({ok:!1,error:"cwd directory does not exist"},{status:400});a=n}let o=await I(a,s);if(s)if(o.ok)try{let r=`${e.nextUrl.protocol}//${e.nextUrl.host}`;t=await (0,M.installAllForProvider)(s,r),await (0,D.markProviderConnected)(s,{version:function(e){let t=e.find(e=>e.name.endsWith("_version"));if(!t)return null;let r=t.message.match(/Version:\s*(.+)$/);return r?r[1].trim():null}(o.checks),report:t})}catch(e){t={provider:s,available:!0,ok:!1,mcp:void 0,hooks:void 0,skill:void 0},console.error("[adapters/test] install error:",e),await (0,D.markProviderDisconnected)(s,{reason:e instanceof Error?e.message:String(e)})}else{let e=o.checks.find(e=>!e.passed&&!e.name.endsWith("_api_key"));await (0,D.markProviderDisconnected)(s,{reason:e?.message??"test failed"})}let i={...o,install:t};return y.NextResponse.json(i)}catch(e){return y.NextResponse.json({ok:!1,error:e instanceof Error?e.message:"Unknown error"},{status:500})}}async function F(){return y.NextResponse.json({adapters:["claude_local"]})}e.s(["GET",0,F,"POST",0,V],178597);var K=e.i(178597);let B=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/adapters/test/route",pathname:"/api/adapters/test",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/adapters/test/route.ts",nextConfigOutput:"standalone",userland:K}),{workAsyncStorage:z,workUnitAsyncStorage:G,serverHooks:J}=B;async function W(e,t,n){n.requestMeta&&(0,s.setRequestMeta)(e,n.requestMeta),B.isDev&&(0,s.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let y="/api/adapters/test/route";y=y.replace(/\/index$/,"")||"/";let w=await B.prepare(e,t,{srcPage:y,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:_,params:b,nextConfig:R,parsedUrl:$,isDraftMode:A,prerenderManifest:E,routerServerContext:x,isOnDemandRevalidate:k,revalidateOnlyGenerated:C,resolvedPathname:P,clientReferenceManifest:T,serverActionsManifest:S}=w,N=(0,i.normalizeAppPath)(y),j=!!(E.dynamicRoutes[N]||E.routes[P]),O=async()=>((null==x?void 0:x.render404)?await x.render404(e,t,$,!1):t.end("This page could not be found"),null);if(j&&!A){let e=!!E.routes[P],t=E.dynamicRoutes[N];if(t&&!1===t.fallback&&!e){if(R.adapterPath)return await O();throw new f.NoFallbackError}}let I=null;!j||B.isDev||A||(I="/index"===(I=P)?"/":I);let H=!0===B.isDev||!j,q=j&&!H;S&&T&&(0,o.setManifestsSingleton)({page:y,clientReferenceManifest:T,serverActionsManifest:S});let U=e.method||"GET",M=(0,a.getTracer)(),D=M.getActiveScopeSpan(),L=!!(null==x?void 0:x.isWrappedByNextServer),V=!!(0,s.getRequestMeta)(e,"minimalMode"),F=(0,s.getRequestMeta)(e,"incrementalCache")||await B.getIncrementalCache(e,R,E,V);null==F||F.resetRequestCache(),globalThis.__incrementalCache=F;let K={params:b,previewProps:E.preview,renderOpts:{experimental:{authInterrupts:!!R.experimental.authInterrupts},cacheComponents:!!R.cacheComponents,supportsDynamicResponse:H,incrementalCache:F,cacheLifeProfiles:R.cacheLife,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,n,s)=>B.onRequestError(e,t,n,s,x)},sharedContext:{buildId:_}},z=new l.NodeNextRequest(e),G=new l.NodeNextResponse(t),J=u.NextRequestAdapter.fromNodeNextRequest(z,(0,u.signalFromNodeResponse)(t));try{let s,o=async e=>B.handle(J,K).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=M.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let n=r.get("next.route");if(n){let t=`${U} ${n}`;e.setAttributes({"next.route":n,"http.route":n,"next.span_name":t}),e.updateName(t),s&&s!==e&&(s.setAttribute("http.route",n),s.updateName(t))}else e.updateName(`${U} ${y}`)}),i=async s=>{var a,i;let l=async({previousCacheEntry:r})=>{try{if(!V&&k&&C&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let a=await o(s);e.fetchMetrics=K.renderOpts.fetchMetrics;let i=K.renderOpts.pendingWaitUntil;i&&n.waitUntil&&(n.waitUntil(i),i=void 0);let l=K.renderOpts.collectedTags;if(!j)return await (0,p.sendResponse)(z,G,a,K.renderOpts.pendingWaitUntil),null;{let e=await a.blob(),t=(0,m.toNodeOutgoingHttpHeaders)(a.headers);l&&(t[g.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==K.renderOpts.collectedRevalidate&&!(K.renderOpts.collectedRevalidate>=g.INFINITE_CACHE)&&K.renderOpts.collectedRevalidate,n=void 0===K.renderOpts.collectedExpire||K.renderOpts.collectedExpire>=g.INFINITE_CACHE?void 0:K.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:a.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:n}}}}catch(t){throw(null==r?void 0:r.isStale)&&await B.onRequestError(e,t,{routerKind:"App Router",routePath:y,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:k})},!1,x),t}},u=await B.handleResponse({req:e,nextConfig:R,cacheKey:I,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:E,isRoutePPREnabled:!1,isOnDemandRevalidate:k,revalidateOnlyGenerated:C,responseGenerator:l,waitUntil:n.waitUntil,isMinimalMode:V});if(!j)return null;if((null==u||null==(a=u.value)?void 0:a.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(i=u.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});V||t.setHeader("x-nextjs-cache",k?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let d=(0,m.fromNodeOutgoingHttpHeaders)(u.value.headers);return V&&j||d.delete(g.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||d.get("Cache-Control")||d.set("Cache-Control",(0,h.getCacheControlHeader)(u.cacheControl)),await (0,p.sendResponse)(z,G,new Response(u.value.body,{headers:d,status:u.value.status||200})),null};L&&D?await i(D):(s=M.getActiveScopeSpan(),await M.withPropagatedContext(e.headers,()=>M.trace(d.BaseServerSpan.handleRequest,{spanName:`${U} ${y}`,kind:a.SpanKind.SERVER,attributes:{"http.method":U,"http.target":e.url}},i),void 0,!L))}catch(t){if(t instanceof f.NoFallbackError||await B.onRequestError(e,t,{routerKind:"App Router",routePath:N,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:k})},!1,x),j)throw t;return await (0,p.sendResponse)(z,G,new Response(null,{status:500})),null}}e.s(["handler",0,W,"patchFetch",0,function(){return(0,n.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:G})},"routeModule",0,B,"serverHooks",0,J,"workAsyncStorage",0,z,"workUnitAsyncStorage",0,G],548175)}];
2
2
 
3
3
  //# sourceMappingURL=0se9_next_dist_esm_build_templates_app-route_0h5yr8p.js.map
@@ -1,4 +1,4 @@
1
1
  module.exports=[550972,e=>{"use strict";var t=e.i(765876),a=e.i(675896),r=e.i(959160),i=e.i(97944),n=e.i(86757),s=e.i(204144),o=e.i(273436),d=e.i(743641),l=e.i(813766),c=e.i(840884),u=e.i(498814),p=e.i(780006),w=e.i(544432),h=e.i(772005),f=e.i(450223),k=e.i(193695);e.i(628400);var E=e.i(800071),b=e.i(855104),v=e.i(78091),m=e.i(198840),R=e.i(921675),g=e.i(843793),P=e.i(195158),A=e.i(248434),I=e.i(83721),N=e.i(50377),x=e.i(572173),y=e.i(89428),S=e.i(924868),j=e.i(446786),C=e.i(814747),T=e.i(86708);let D=N.logger.create("agent-actions"),U=(0,C.join)((0,j.tmpdir)(),"tower-signals");async function O(e,t){try{await (0,S.mkdir)(U,{recursive:!0,mode:448}),await (0,S.writeFile)((0,C.join)(U,`exit-${e}`),String(t),{mode:384})}catch{}}async function M(e,t){let a=await g.db.taskMessage.create({data:{role:"USER",content:t,taskId:e}});return(0,P.revalidatePath)("/workspaces"),{userMessage:a}}async function _(e){return g.db.taskMessage.findMany({where:{taskId:e},orderBy:{createdAt:"asc"}})}async function F(e,t="CLAUDE_CODE",a,r){let i=await g.db.taskExecution.create({data:{taskId:e,agent:t,status:"RUNNING",startedAt:new Date,worktreePath:a??null,worktreeBranch:r??null}});return await g.db.task.update({where:{id:e},data:{status:"IN_PROGRESS"}}),(0,P.revalidatePath)("/workspaces"),i}async function q(e,t="FAILED"){let a=await g.db.taskExecution.update({where:{id:e},data:{status:t,endedAt:new Date}});return(0,P.revalidatePath)("/workspaces"),a}async function L(t){let{destroySession:a,getSession:r}=await e.A(217260),i=r(t),n=i?.getBuffer()??"",s=await g.db.taskExecution.findFirst({where:{taskId:t,status:"RUNNING"},orderBy:{createdAt:"desc"}}),o=await g.db.task.findUnique({where:{id:t},include:{project:{select:{localPath:!0}}}});if(a(t),s){await g.db.taskExecution.update({where:{id:s.id},data:{status:"COMPLETED",endedAt:new Date}}),await g.db.task.update({where:{id:t},data:{status:"IN_REVIEW"}});let a=s.worktreePath||o?.project?.localPath||null,{captureExecutionSummary:r}=await e.A(507603);await r(s.id,t,0,n,a)}(0,P.revalidatePath)("/workspaces")}async function B(e){return g.db.taskExecution.findMany({where:{taskId:e},orderBy:{createdAt:"desc"},include:{insightNote:{select:{id:!0,title:!0,content:!0}}}})}async function $(t,a){let r=await g.db.task.findUnique({where:{id:t},include:{project:!0}});if(!r)throw Error("Task not found");if(!r.project?.localPath)throw Error("Project has no local path configured");await g.db.taskExecution.updateMany({where:{taskId:t,status:"RUNNING",NOT:{sessionId:a}},data:{status:"FAILED",endedAt:new Date}});let i=await g.db.taskExecution.findFirst({where:{taskId:t,sessionId:a},orderBy:{createdAt:"desc"}});if(!i)throw Error("Previous execution not found");let n=i.worktreePath??r.project.localPath,s=r.subPath?(0,C.join)(n,r.subPath):n,o=await (0,x.readConfigValue)("terminal.idleTimeoutSec",180),{adapter:d}=await (0,y.resolveCliAdapter)("terminal"),l=d.buildEnvOverrides({taskId:t,taskTitle:r.title,apiUrl:`http://localhost:${process.env.PORT||"3000"}`,callbackUrl:i.callbackUrl??void 0}),c=await g.db.taskExecution.update({where:{id:i.id},data:{status:"RUNNING",endedAt:null}});await g.db.task.update({where:{id:t},data:{status:"IN_PROGRESS"}}),(0,P.revalidatePath)("/workspaces");let u=await (0,x.readConfigValue)("onboarding.username",""),p=d.buildSpawnArgs({taskId:t,prompt:"",cwd:s,resumeSessionId:a,extraArgs:[...u?["--append-system-prompt",`The user's name is ${u}.`]:[]],envOverrides:l}),w=/no conversation found with session id|unknown session|session .* not found/i;return(0,I.createSession)(t,p.command,p.args,s,()=>{},async n=>{await O(t,n);let s=await g.db.taskExecution.findUnique({where:{id:c.id}});if(s?.status!=="RUNNING")return;let{getSession:o}=await e.A(217260),d=o(t),l=d?.getBuffer()??"";if(0!==n&&w.test(l)){D.info("Session resume failed — retrying with fresh execution",{taskId:t,previousSessionId:a}),await g.db.taskExecution.update({where:{id:c.id},data:{status:"FAILED",endedAt:new Date}}).catch(()=>{});try{await H(t,r.title)}catch(e){D.error("Fresh execution retry also failed",e,{taskId:t})}return}await g.db.taskExecution.update({where:{id:c.id},data:{status:0===n?"COMPLETED":"FAILED",endedAt:new Date}}).catch(()=>{});let u=i.worktreePath||r.project.localPath,{captureExecutionSummary:p}=await e.A(507603);await p(c.id,t,n,l,u);let{dispatchTaskCompletionEvent:h}=await e.A(136565);await h({taskId:t,taskTitle:r.title,status:0===n?"COMPLETED":"FAILED",executionId:c.id,workspaceId:r.project.workspaceId}),0===n&&await g.db.task.update({where:{id:t},data:{status:"IN_REVIEW"}}).catch(()=>{})},p.env,void 0,1e3*o),{executionId:c.id,worktreePath:i.worktreePath??n??null}}async function G(t){let a=await g.db.task.findUnique({where:{id:t},include:{project:!0}});if(!a)throw Error("Task not found");if(!a.project?.localPath)throw Error("Project has no local path configured");let r=await g.db.taskExecution.findFirst({where:{taskId:t},orderBy:{createdAt:"desc"}}),{destroySession:i}=await e.A(217260);i(t),await g.db.taskExecution.updateMany({where:{taskId:t,status:"RUNNING"},data:{status:"FAILED",endedAt:new Date}});let n=r?.worktreePath??a.project.localPath,s=a.subPath?(0,C.join)(n,a.subPath):n,o=await (0,x.readConfigValue)("terminal.idleTimeoutSec",180),{adapter:d,provider:l}=await (0,y.resolveCliAdapter)("terminal"),c=d.buildEnvOverrides({taskId:t,taskTitle:a.title,apiUrl:`http://localhost:${process.env.PORT||"3000"}`}),u=await g.db.taskExecution.create({data:{taskId:t,agent:l.agentFieldValue,status:"RUNNING",startedAt:new Date,worktreePath:r?.worktreePath??null,worktreeBranch:r?.worktreeBranch??null}});await g.db.task.update({where:{id:t},data:{status:"IN_PROGRESS"}}),(0,P.revalidatePath)("/workspaces");let p=await (0,x.readConfigValue)("onboarding.username",""),w=d.buildSpawnArgs({taskId:t,prompt:"",cwd:s,continueLatest:!0,extraArgs:[...p?["--append-system-prompt",`The user's name is ${p}.`]:[]],envOverrides:c});return(0,I.createSession)(t,w.command,w.args,s,()=>{},async i=>{await O(t,i);let n=await g.db.taskExecution.findUnique({where:{id:u.id}});if(n?.status!=="RUNNING")return;let{getSession:s}=await e.A(217260),o=s(t),d=o?.getBuffer()??"";await g.db.taskExecution.update({where:{id:u.id},data:{status:0===i?"COMPLETED":"FAILED",endedAt:new Date}}).catch(()=>{});let l=r?.worktreePath||a.project.localPath,{captureExecutionSummary:c}=await e.A(507603);await c(u.id,t,i,d,l);let{dispatchTaskCompletionEvent:p}=await e.A(136565);await p({taskId:t,taskTitle:a.title,status:0===i?"COMPLETED":"FAILED",executionId:u.id,workspaceId:a.project.workspaceId}),0===i&&await g.db.task.update({where:{id:t},data:{status:"IN_REVIEW"}}).catch(()=>{})},w.env,void 0,1e3*o),{executionId:u.id,worktreePath:r?.worktreePath??n??null}}async function H(t,a,r,i,n){let s,o,d=await g.db.task.findUnique({where:{id:t},include:{project:!0}});if(!d)throw Error("Task not found");if(!d.project?.localPath)throw Error("Project has no local path configured");let l=await (0,x.readConfigValue)("system.maxConcurrentExecutions",20);if(await g.db.taskExecution.count({where:{status:"RUNNING"}})>=l)throw Error(`已达并发上限(${l}),请等待其他任务完成后再启动`);let c=await (0,x.readConfigValue)("terminal.idleTimeoutSec",180),{adapter:u,provider:p,model:w}=await (0,y.resolveCliAdapter)("terminal");await g.db.taskExecution.updateMany({where:{taskId:t,status:"RUNNING"},data:{status:"FAILED",endedAt:new Date}}),"IN_PROGRESS"!==d.status&&(await g.db.task.update({where:{id:t},data:{status:"IN_PROGRESS"}}),(0,P.revalidatePath)("/workspaces"));let h="";if(!n){let e=await g.db.taskMessage.findMany({where:{taskId:t},orderBy:{createdAt:"desc"},take:10});h=[`Task: ${d.title}`,d.description?`Description: ${d.description}`:"",e.length>0?`Recent conversation:
2
- ${e.reverse().map(e=>`${e.role}: ${e.content}`).join("\n")}`:"",a.trim()?`User message: ${a}`:""].filter(Boolean).join("\n\n")}let f=r??d.promptId;if(f){let e=await g.db.agentPrompt.findUnique({where:{id:f}});e?.content&&(o=await (0,S.mkdtemp)((0,C.join)((0,j.tmpdir)(),"tower-pty-")),s=(0,C.join)(o,"instructions.md"),await (0,S.writeFile)(s,e.content,"utf-8"))}let k=null,E=null;if(d.baseBranch&&d.project.localPath){let{worktreePath:e,worktreeBranch:a}=await (0,A.createWorktree)(d.project.localPath,t,d.baseBranch,d.subPath);k=e,E=a}let b=k??d.project.localPath,v=d.subPath?(0,C.join)(b,d.subPath):b,m=await g.db.taskExecution.create({data:{taskId:t,agent:p.agentFieldValue,status:"RUNNING",startedAt:new Date,worktreePath:k??null,worktreeBranch:E??null,callbackUrl:i??null}});if(d.project.localPath)try{let t,{execFileSync:a}=await e.A(144264);(t=k&&d.baseBranch?a("git",["merge-base",d.baseBranch,"HEAD"],{cwd:k,encoding:"utf-8",timeout:5e3}).trim():a("git",["rev-parse","HEAD"],{cwd:d.project.localPath,encoding:"utf-8",timeout:5e3}).trim())&&await g.db.taskExecution.update({where:{id:m.id},data:{forkCommit:t}})}catch{}let R="";if(s){let{readFile:t}=await e.A(260815);R+=await t(s,"utf-8")}let N=await (0,x.readConfigValue)("onboarding.username","");N&&(R+=(R?"\n":"")+`The user's name is ${N}.`);let T=u.buildSpawnArgs({taskId:t,prompt:h,cwd:v,extraArgs:[...R?["--append-system-prompt",R]:[],...w?["--model",w]:[]],envOverrides:u.buildEnvOverrides({taskId:t,taskTitle:d.title,apiUrl:`http://localhost:${process.env.PORT||"3000"}`,callbackUrl:i??void 0})});return(0,I.createSession)(t,T.command,T.args,v,()=>{},async a=>{await O(t,a);let r=await g.db.taskExecution.findUnique({where:{id:m.id}});if(r?.status!=="RUNNING")return;let{getSession:i}=await e.A(217260),n=i(t),s=n?.getBuffer()??"";await g.db.taskExecution.update({where:{id:m.id},data:{status:0===a?"COMPLETED":"FAILED",endedAt:new Date}}).catch(e=>{D.error("Failed to update execution status",e)});let l=k||d.project.localPath,{captureExecutionSummary:c}=await e.A(507603);await c(m.id,t,a,s,l);let{dispatchTaskCompletionEvent:u}=await e.A(136565);await u({taskId:t,taskTitle:d.title,status:0===a?"COMPLETED":"FAILED",executionId:m.id,workspaceId:d.project.workspaceId}),0===a&&await g.db.task.update({where:{id:t},data:{status:"IN_REVIEW"}}).catch(e=>{D.error("Failed to update task status",e)}),o&&await (0,S.rm)(o,{recursive:!0,force:!0}).catch(()=>{})},T.env,void 0,1e3*c),{executionId:m.id,worktreePath:k??b??null}}async function V(){return(await g.db.taskExecution.findMany({where:{status:"RUNNING"},orderBy:{startedAt:"asc"},include:{task:{include:{project:{include:{workspace:!0}}}}}})).map(e=>({executionId:e.id,taskId:e.taskId,taskTitle:e.task.title,projectId:e.task.project.id,projectName:e.task.project.name,projectAlias:e.task.project.alias,projectLocalPath:e.task.project.localPath,workspaceId:e.task.project.workspace.id,workspaceName:e.task.project.workspace.name,worktreePath:e.worktreePath,startedAt:e.startedAt?.toISOString()??null}))}(0,T.ensureServerEntryExports)([M,_,F,q,L,B,$,G,H,V]),(0,R.registerServerReference)(M,"607811e7897c997b73f08a868835934fa7738fe6f8",null),(0,R.registerServerReference)(_,"408beb80ccaf6ce24a22936228c8279bd761f18f20",null),(0,R.registerServerReference)(F,"78e6ec1a2953a82588e3fb5121d119cd936407190f",null),(0,R.registerServerReference)(q,"60e8ad8bd10a5ec1a00f96902088f40063f0a51625",null),(0,R.registerServerReference)(L,"4049f9f7263f0010a539061a046a13f81f18df2eea",null),(0,R.registerServerReference)(B,"4002ac2480a7f55d786d04461e3948d4be08a91408",null),(0,R.registerServerReference)($,"60d0fb27ea5c2b1c5f50f45f9c1c3275fa4f14e55c",null),(0,R.registerServerReference)(G,"40bd7ea60f47f63ba092b77ff4ad813cd142d7121b",null),(0,R.registerServerReference)(H,"7c4c2cda7b8334e2b7b7b339b8e5db124b4e2b8277",null),(0,R.registerServerReference)(V,"003622109b2d63b39c0313910327424b4a1014bcd1",null);let K=v.z.object({prompt:v.z.string().optional().default("")});async function W(e,{params:t}){let a=(0,m.requireLocalhost)(e);if(a)return a;let{taskId:r}=await t,i=(0,m.validateTaskId)(r);if(i)return i;try{let t=await e.json(),a=K.safeParse(t);if(!a.success)return b.NextResponse.json({error:"Invalid body"},{status:400});let i=await H(r,a.data.prompt);return b.NextResponse.json(i)}catch(t){let e=t instanceof Error?t.message:String(t);return b.NextResponse.json({error:e},{status:500})}}e.s(["POST",0,W,"dynamic",0,"force-dynamic","runtime",0,"nodejs"],499090);var z=e.i(499090);let X=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/internal/terminal/[taskId]/start/route",pathname:"/api/internal/terminal/[taskId]/start",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/internal/terminal/[taskId]/start/route.ts",nextConfigOutput:"standalone",userland:z}),{workAsyncStorage:Z,workUnitAsyncStorage:J,serverHooks:Q}=X;async function Y(e,t,r){r.requestMeta&&(0,i.setRequestMeta)(e,r.requestMeta),X.isDev&&(0,i.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let b="/api/internal/terminal/[taskId]/start/route";b=b.replace(/\/index$/,"")||"/";let v=await X.prepare(e,t,{srcPage:b,multiZoneDraftMode:!1});if(!v)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:m,params:R,nextConfig:g,parsedUrl:P,isDraftMode:A,prerenderManifest:I,routerServerContext:N,isOnDemandRevalidate:x,revalidateOnlyGenerated:y,resolvedPathname:S,clientReferenceManifest:j,serverActionsManifest:C}=v,T=(0,o.normalizeAppPath)(b),D=!!(I.dynamicRoutes[T]||I.routes[S]),U=async()=>((null==N?void 0:N.render404)?await N.render404(e,t,P,!1):t.end("This page could not be found"),null);if(D&&!A){let e=!!I.routes[S],t=I.dynamicRoutes[T];if(t&&!1===t.fallback&&!e){if(g.adapterPath)return await U();throw new k.NoFallbackError}}let O=null;!D||X.isDev||A||(O="/index"===(O=S)?"/":O);let M=!0===X.isDev||!D,_=D&&!M;C&&j&&(0,s.setManifestsSingleton)({page:b,clientReferenceManifest:j,serverActionsManifest:C});let F=e.method||"GET",q=(0,n.getTracer)(),L=q.getActiveScopeSpan(),B=!!(null==N?void 0:N.isWrappedByNextServer),$=!!(0,i.getRequestMeta)(e,"minimalMode"),G=(0,i.getRequestMeta)(e,"incrementalCache")||await X.getIncrementalCache(e,g,I,$);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let H={params:R,previewProps:I.preview,renderOpts:{experimental:{authInterrupts:!!g.experimental.authInterrupts},cacheComponents:!!g.cacheComponents,supportsDynamicResponse:M,incrementalCache:G,cacheLifeProfiles:g.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,i)=>X.onRequestError(e,t,r,i,N)},sharedContext:{buildId:m}},V=new d.NodeNextRequest(e),K=new d.NodeNextResponse(t),W=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(t));try{let i,s=async e=>X.handle(W,H).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let a=q.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==c.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route");if(r){let t=`${F} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t),i&&i!==e&&(i.setAttribute("http.route",r),i.updateName(t))}else e.updateName(`${F} ${b}`)}),o=async i=>{var n,o;let d=async({previousCacheEntry:a})=>{try{if(!$&&x&&y&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await s(i);e.fetchMetrics=H.renderOpts.fetchMetrics;let o=H.renderOpts.pendingWaitUntil;o&&r.waitUntil&&(r.waitUntil(o),o=void 0);let d=H.renderOpts.collectedTags;if(!D)return await (0,p.sendResponse)(V,K,n,H.renderOpts.pendingWaitUntil),null;{let e=await n.blob(),t=(0,w.toNodeOutgoingHttpHeaders)(n.headers);d&&(t[f.NEXT_CACHE_TAGS_HEADER]=d),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==H.renderOpts.collectedRevalidate&&!(H.renderOpts.collectedRevalidate>=f.INFINITE_CACHE)&&H.renderOpts.collectedRevalidate,r=void 0===H.renderOpts.collectedExpire||H.renderOpts.collectedExpire>=f.INFINITE_CACHE?void 0:H.renderOpts.collectedExpire;return{value:{kind:E.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await X.onRequestError(e,t,{routerKind:"App Router",routePath:b,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:_,isOnDemandRevalidate:x})},!1,N),t}},l=await X.handleResponse({req:e,nextConfig:g,cacheKey:O,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:I,isRoutePPREnabled:!1,isOnDemandRevalidate:x,revalidateOnlyGenerated:y,responseGenerator:d,waitUntil:r.waitUntil,isMinimalMode:$});if(!D)return null;if((null==l||null==(n=l.value)?void 0:n.kind)!==E.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(o=l.value)?void 0:o.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});$||t.setHeader("x-nextjs-cache",x?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let c=(0,w.fromNodeOutgoingHttpHeaders)(l.value.headers);return $&&D||c.delete(f.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||t.getHeader("Cache-Control")||c.get("Cache-Control")||c.set("Cache-Control",(0,h.getCacheControlHeader)(l.cacheControl)),await (0,p.sendResponse)(V,K,new Response(l.value.body,{headers:c,status:l.value.status||200})),null};B&&L?await o(L):(i=q.getActiveScopeSpan(),await q.withPropagatedContext(e.headers,()=>q.trace(c.BaseServerSpan.handleRequest,{spanName:`${F} ${b}`,kind:n.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},o),void 0,!B))}catch(t){if(t instanceof k.NoFallbackError||await X.onRequestError(e,t,{routerKind:"App Router",routePath:T,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:_,isOnDemandRevalidate:x})},!1,N),D)throw t;return await (0,p.sendResponse)(V,K,new Response(null,{status:500})),null}}e.s(["handler",0,Y,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:Z,workUnitAsyncStorage:J})},"routeModule",0,X,"serverHooks",0,Q,"workAsyncStorage",0,Z,"workUnitAsyncStorage",0,J],550972)}];
2
+ ${e.reverse().map(e=>`${e.role}: ${e.content}`).join("\n")}`:"",a.trim()?`User message: ${a}`:""].filter(Boolean).join("\n\n")}let f=r??d.promptId;if(f){let e=await g.db.agentPrompt.findUnique({where:{id:f}});e?.content&&(o=await (0,S.mkdtemp)((0,C.join)((0,j.tmpdir)(),"tower-pty-")),s=(0,C.join)(o,"instructions.md"),await (0,S.writeFile)(s,e.content,"utf-8"))}let k=null,E=null;if(d.baseBranch&&d.project.localPath){let{worktreePath:e,worktreeBranch:a}=await (0,A.createWorktree)(d.project.localPath,t,d.baseBranch,d.subPath);k=e,E=a}let b=k??d.project.localPath,v=d.subPath?(0,C.join)(b,d.subPath):b,m=await g.db.taskExecution.create({data:{taskId:t,agent:p.agentFieldValue,status:"RUNNING",startedAt:new Date,worktreePath:k??null,worktreeBranch:E??null,callbackUrl:i??null}});if(d.project.localPath)try{let t,{execFileSync:a}=await e.A(144264);(t=k&&d.baseBranch?a("git",["merge-base",d.baseBranch,"HEAD"],{cwd:k,encoding:"utf-8",timeout:5e3}).trim():a("git",["rev-parse","HEAD"],{cwd:d.project.localPath,encoding:"utf-8",timeout:5e3}).trim())&&await g.db.taskExecution.update({where:{id:m.id},data:{forkCommit:t}})}catch{}let R="";if(s){let{readFile:t}=await e.A(260815);R+=await t(s,"utf-8")}let N=await (0,x.readConfigValue)("onboarding.username","");N&&(R+=(R?"\n":"")+`The user's name is ${N}.`);let T=u.buildSpawnArgs({taskId:t,prompt:h,cwd:v,extraArgs:[...R?["--append-system-prompt",R]:[],...w?["--model",w]:[]],envOverrides:u.buildEnvOverrides({taskId:t,taskTitle:d.title,apiUrl:`http://localhost:${process.env.PORT||"3000"}`,callbackUrl:i??void 0})});return(0,I.createSession)(t,T.command,T.args,v,()=>{},async a=>{await O(t,a);let r=await g.db.taskExecution.findUnique({where:{id:m.id}});if(r?.status!=="RUNNING")return;let{getSession:i}=await e.A(217260),n=i(t),s=n?.getBuffer()??"";await g.db.taskExecution.update({where:{id:m.id},data:{status:0===a?"COMPLETED":"FAILED",endedAt:new Date}}).catch(e=>{D.error("Failed to update execution status",e)});let l=k||d.project.localPath,{captureExecutionSummary:c}=await e.A(507603);await c(m.id,t,a,s,l);let{dispatchTaskCompletionEvent:u}=await e.A(136565);await u({taskId:t,taskTitle:d.title,status:0===a?"COMPLETED":"FAILED",executionId:m.id,workspaceId:d.project.workspaceId}),0===a&&await g.db.task.update({where:{id:t},data:{status:"IN_REVIEW"}}).catch(e=>{D.error("Failed to update task status",e)}),o&&await (0,S.rm)(o,{recursive:!0,force:!0}).catch(()=>{})},T.env,void 0,1e3*c),{executionId:m.id,worktreePath:k??b??null}}async function V(){return(await g.db.taskExecution.findMany({where:{status:"RUNNING"},orderBy:{startedAt:"asc"},include:{task:{include:{project:{include:{workspace:!0}}}}}})).map(e=>({executionId:e.id,taskId:e.taskId,taskTitle:e.task.title,projectId:e.task.project.id,projectName:e.task.project.name,projectAlias:e.task.project.alias,projectLocalPath:e.task.project.localPath,workspaceId:e.task.project.workspace.id,workspaceName:e.task.project.workspace.name,worktreePath:e.worktreePath,startedAt:e.startedAt?.toISOString()??null}))}(0,T.ensureServerEntryExports)([M,_,F,q,L,B,$,G,H,V]),(0,R.registerServerReference)(M,"6071572a155c7d46eff38a961d829c97bd37ec265a",null),(0,R.registerServerReference)(_,"4089021ae0a9bf84dae1e1cae1afbd97929844e835",null),(0,R.registerServerReference)(F,"784a2fb5efb8f7626693a47245fc36b55d2bbf3b5e",null),(0,R.registerServerReference)(q,"60a5ab541f44965120a6c135598936c95f60cd4b8c",null),(0,R.registerServerReference)(L,"40540ec85ab3e8e643c8cfc26a74e479c82d473478",null),(0,R.registerServerReference)(B,"40a589d9ba3b8097114fa051abd96b50b2889ef121",null),(0,R.registerServerReference)($,"602530d647e3dfa4d7b7ef438a5bee430f90ad21af",null),(0,R.registerServerReference)(G,"40a96c37697b01caf6047d21e8b8705f9c51becfe3",null),(0,R.registerServerReference)(H,"7c6efd3ffe7760fcb04a00c6ff80e257144741dc8d",null),(0,R.registerServerReference)(V,"000e81d80a5e50fd49bd84127a4b2a07fb6e3b1f04",null);let K=v.z.object({prompt:v.z.string().optional().default("")});async function W(e,{params:t}){let a=(0,m.requireLocalhost)(e);if(a)return a;let{taskId:r}=await t,i=(0,m.validateTaskId)(r);if(i)return i;try{let t=await e.json(),a=K.safeParse(t);if(!a.success)return b.NextResponse.json({error:"Invalid body"},{status:400});let i=await H(r,a.data.prompt);return b.NextResponse.json(i)}catch(t){let e=t instanceof Error?t.message:String(t);return b.NextResponse.json({error:e},{status:500})}}e.s(["POST",0,W,"dynamic",0,"force-dynamic","runtime",0,"nodejs"],499090);var z=e.i(499090);let X=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/internal/terminal/[taskId]/start/route",pathname:"/api/internal/terminal/[taskId]/start",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/internal/terminal/[taskId]/start/route.ts",nextConfigOutput:"standalone",userland:z}),{workAsyncStorage:Z,workUnitAsyncStorage:J,serverHooks:Q}=X;async function Y(e,t,r){r.requestMeta&&(0,i.setRequestMeta)(e,r.requestMeta),X.isDev&&(0,i.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let b="/api/internal/terminal/[taskId]/start/route";b=b.replace(/\/index$/,"")||"/";let v=await X.prepare(e,t,{srcPage:b,multiZoneDraftMode:!1});if(!v)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:m,params:R,nextConfig:g,parsedUrl:P,isDraftMode:A,prerenderManifest:I,routerServerContext:N,isOnDemandRevalidate:x,revalidateOnlyGenerated:y,resolvedPathname:S,clientReferenceManifest:j,serverActionsManifest:C}=v,T=(0,o.normalizeAppPath)(b),D=!!(I.dynamicRoutes[T]||I.routes[S]),U=async()=>((null==N?void 0:N.render404)?await N.render404(e,t,P,!1):t.end("This page could not be found"),null);if(D&&!A){let e=!!I.routes[S],t=I.dynamicRoutes[T];if(t&&!1===t.fallback&&!e){if(g.adapterPath)return await U();throw new k.NoFallbackError}}let O=null;!D||X.isDev||A||(O="/index"===(O=S)?"/":O);let M=!0===X.isDev||!D,_=D&&!M;C&&j&&(0,s.setManifestsSingleton)({page:b,clientReferenceManifest:j,serverActionsManifest:C});let F=e.method||"GET",q=(0,n.getTracer)(),L=q.getActiveScopeSpan(),B=!!(null==N?void 0:N.isWrappedByNextServer),$=!!(0,i.getRequestMeta)(e,"minimalMode"),G=(0,i.getRequestMeta)(e,"incrementalCache")||await X.getIncrementalCache(e,g,I,$);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let H={params:R,previewProps:I.preview,renderOpts:{experimental:{authInterrupts:!!g.experimental.authInterrupts},cacheComponents:!!g.cacheComponents,supportsDynamicResponse:M,incrementalCache:G,cacheLifeProfiles:g.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,i)=>X.onRequestError(e,t,r,i,N)},sharedContext:{buildId:m}},V=new d.NodeNextRequest(e),K=new d.NodeNextResponse(t),W=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(t));try{let i,s=async e=>X.handle(W,H).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let a=q.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==c.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route");if(r){let t=`${F} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t),i&&i!==e&&(i.setAttribute("http.route",r),i.updateName(t))}else e.updateName(`${F} ${b}`)}),o=async i=>{var n,o;let d=async({previousCacheEntry:a})=>{try{if(!$&&x&&y&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await s(i);e.fetchMetrics=H.renderOpts.fetchMetrics;let o=H.renderOpts.pendingWaitUntil;o&&r.waitUntil&&(r.waitUntil(o),o=void 0);let d=H.renderOpts.collectedTags;if(!D)return await (0,p.sendResponse)(V,K,n,H.renderOpts.pendingWaitUntil),null;{let e=await n.blob(),t=(0,w.toNodeOutgoingHttpHeaders)(n.headers);d&&(t[f.NEXT_CACHE_TAGS_HEADER]=d),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==H.renderOpts.collectedRevalidate&&!(H.renderOpts.collectedRevalidate>=f.INFINITE_CACHE)&&H.renderOpts.collectedRevalidate,r=void 0===H.renderOpts.collectedExpire||H.renderOpts.collectedExpire>=f.INFINITE_CACHE?void 0:H.renderOpts.collectedExpire;return{value:{kind:E.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await X.onRequestError(e,t,{routerKind:"App Router",routePath:b,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:_,isOnDemandRevalidate:x})},!1,N),t}},l=await X.handleResponse({req:e,nextConfig:g,cacheKey:O,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:I,isRoutePPREnabled:!1,isOnDemandRevalidate:x,revalidateOnlyGenerated:y,responseGenerator:d,waitUntil:r.waitUntil,isMinimalMode:$});if(!D)return null;if((null==l||null==(n=l.value)?void 0:n.kind)!==E.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(o=l.value)?void 0:o.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});$||t.setHeader("x-nextjs-cache",x?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let c=(0,w.fromNodeOutgoingHttpHeaders)(l.value.headers);return $&&D||c.delete(f.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||t.getHeader("Cache-Control")||c.get("Cache-Control")||c.set("Cache-Control",(0,h.getCacheControlHeader)(l.cacheControl)),await (0,p.sendResponse)(V,K,new Response(l.value.body,{headers:c,status:l.value.status||200})),null};B&&L?await o(L):(i=q.getActiveScopeSpan(),await q.withPropagatedContext(e.headers,()=>q.trace(c.BaseServerSpan.handleRequest,{spanName:`${F} ${b}`,kind:n.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},o),void 0,!B))}catch(t){if(t instanceof k.NoFallbackError||await X.onRequestError(e,t,{routerKind:"App Router",routePath:T,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:_,isOnDemandRevalidate:x})},!1,N),D)throw t;return await (0,p.sendResponse)(V,K,new Response(null,{status:500})),null}}e.s(["handler",0,Y,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:Z,workUnitAsyncStorage:J})},"routeModule",0,X,"serverHooks",0,Q,"workAsyncStorage",0,Z,"workUnitAsyncStorage",0,J],550972)}];
3
3
 
4
4
  //# sourceMappingURL=0se9_next_dist_esm_build_templates_app-route_0hrprmi.js.map
@@ -1,4 +1,4 @@
1
1
  module.exports=[324725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},193695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},198840,e=>{"use strict";var t=e.i(855104);let r=["localhost","127.0.0.1","[::1]"],s=new Set(["127.0.0.1","::1","::ffff:127.0.0.1"]),n=/^c[a-z0-9]{20,30}$/;e.s(["requireLocalhost",0,function(e){let n=e.headers.get("x-forwarded-for");if(n&&!n.split(",").map(e=>e.trim()).every(e=>s.has(e)))return t.NextResponse.json({error:"Forbidden"},{status:403});let i=e.headers.get("host")??"";return r.some(e=>i.startsWith(e))?null:t.NextResponse.json({error:"Forbidden"},{status:403})},"validateProjectId",0,function(e){return n.test(e)?null:t.NextResponse.json({error:"Invalid projectId format"},{status:400})},"validateTaskId",0,function(e){return n.test(e)?null:t.NextResponse.json({error:"Invalid taskId format"},{status:400})}])},750227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},902157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},980738,(e,t,r)=>{t.exports=e.x("node-pty-c710df912a232c01",()=>require("node-pty-c710df912a232c01"))},433541,e=>e.a(async(t,r)=>{try{let t=await e.y("ws-4df7fc762dfa9a52");e.n(t),r()}catch(e){r(e)}},!0),504446,(e,t,r)=>{t.exports=e.x("net",()=>require("net"))},933919,(e,t,r)=>{t.exports=e.x("@prisma/client-9249dd53ac5b6a44",()=>require("@prisma/client-9249dd53ac5b6a44"))},522734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},814747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},918622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},556704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},270406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},446786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},912714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},660526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},192520,e=>{"use strict";let t;var r=e.i(750227),s=e.i(660526),n=e.i(902157);function i(){return t||(t=process.env.TOWER_DATA_DIR||(0,r.join)((0,s.homedir)(),".tower"),(0,n.existsSync)(t)||(0,n.mkdirSync)(t,{recursive:!0})),t}e.s(["getAssistantDir",0,function(){let e=(0,r.join)(i(),"assistant");return(0,n.existsSync)(e)||(0,n.mkdirSync)(e,{recursive:!0}),e},"getBackupsDir",0,function(){let e=(0,r.join)(i(),"backups");return(0,n.existsSync)(e)||(0,n.mkdirSync)(e,{recursive:!0}),e},"getStorageDir",0,function(){let e=(0,r.join)(i(),"storage");return(0,n.existsSync)(e)||(0,n.mkdirSync)(e,{recursive:!0}),e},"getTowerDbPath",0,function(){let e;return(0,r.join)((e=(0,r.join)(i(),"database"),(0,n.existsSync)(e)||(0,n.mkdirSync)(e,{recursive:!0}),e),"tower.db")},"getTowerDir",0,i])},666680,(e,t,r)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},482819,(e,t,r)=>{"use strict";t.exports=e.r(583981).vendored["react-rsc"].ReactServerDOMTurbopackServer},921675,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"registerServerReference",{enumerable:!0,get:function(){return s.registerServerReference}});let s=e.r(482819)},86708,(e,t,r)=>{"use strict";function s(e){for(let t=0;t<e.length;t++){let r=e[t];if("function"!=typeof r)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof r}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ensureServerEntryExports",{enumerable:!0,get:function(){return s}})},769310,e=>{"use strict";var t=e.i(902157),r=e.i(874533),s=e.i(750227);function n(e=process.platform){return"win32"===e}function i(e){let t=e.replace(/\r\n|\r|\n/g," ");if(!t.length)return'""';let r=t.replace(/"/g,'""');return/[\s"&<>|^()]/.test(r)?`"${r}"`:r}let a=["CLAUDECODE","CLAUDE_CODE_ENTRYPOINT","CLAUDE_CODE_SESSION","CLAUDE_CODE_PARENT_SESSION"];async function o(e,t={}){let r=t.cwd??process.cwd(),i=t.env??process.env,a=t.platform??process.platform;if(e.includes("/")||e.includes("\\")){let t=s.default.isAbsolute(e)?e:s.default.resolve(r,e);return await p(t,a)?t:null}let l=i.PATH??i.Path??"",u=n(a)?";":":",c=l.split(u).filter(Boolean),d=n(a)?(i.PATHEXT??".EXE;.CMD;.BAT;.COM").split(";").filter(Boolean):[""],f=n(a)&&s.default.extname(e).length>0;for(let t of c)for(let r of n(a)?f?[s.default.join(t,e)]:d.map(r=>s.default.join(t,`${e}${r}`)):[s.default.join(t,e)])if(await p(r,a))return r;return null}let l=e=>(0,r.execSync)(e,{encoding:"utf-8",timeout:5e3});function u(e,t=process.platform,i=l){if(s.default.extname(e)||e.includes("/")||e.includes("\\"))return e;if(!n(t)){try{let t=(0,r.execFileSync)("which",[e],{encoding:"utf-8",timeout:5e3}).trim();if(t)return t}catch{}return e}try{let t=i(`where ${e}`).trim().split("\n").map(e=>e.trim()).filter(Boolean),r=t.find(e=>/\.(cmd|bat|exe)$/i.test(e));if(r)return r;if(t.length>0)return t[0]}catch{}return e}async function c(e,t,r={}){let s=r.env??process.env,n=r.platform??process.platform;return d(await o(e,r)??e,t,s,n)}function d(e,t,r,a){if(!n(a))return{command:e,args:t};let o=s.default.extname(e).toLowerCase();return".cmd"===o||".bat"===o||".com"===o?{command:r.ComSpec||"cmd.exe",args:["/d","/s","/c",[i(e),...t.map(i)].join(" ")]}:{command:e,args:t}}async function p(e,r=process.platform){try{return await t.promises.access(e,n(r)?t.constants.F_OK:t.constants.X_OK),!0}catch{return!1}}async function f(e=process.platform){return n(e)?h():m()}async function m(){try{let e=await t.promises.readFile("/etc/shells","utf-8"),r=[],n=new Map;for(let t of e.split("\n")){let e=t.replace(/#.*/,"").trim();if(!e||!e.startsWith("/")||!await p(e))continue;let i=s.default.basename(e),a=n.get(i)??0;n.set(i,a+1),a>0&&(i=`${i} (${a+1})`),r.push({name:i,path:e})}return r}catch{let e=[];for(let t of["/bin/zsh","/bin/bash","/bin/sh"])await p(t)&&e.push({name:s.default.basename(t),path:t});return e}}async function h(){let e=[],t=[],r=await o("git",{platform:"win32"});if(r){let e=s.default.resolve(s.default.dirname(r),"..","..");t.push(s.default.join(e,"bin","bash.exe"),s.default.join(e,"usr","bin","bash.exe"))}for(let e of[process.env.ProgramW6432,process.env.ProgramFiles,process.env["ProgramFiles(x86)"],process.env.LocalAppData?s.default.join(process.env.LocalAppData,"Programs"):null].filter(Boolean))t.push(s.default.join(e,"Git","bin","bash.exe"),s.default.join(e,"Git","usr","bin","bash.exe"));let n=process.env.USERPROFILE??"";for(let r of(n&&t.push(s.default.join(n,"scoop","apps","git","current","bin","bash.exe")),process.env.CLAUDE_CODE_GIT_BASH_PATH&&t.unshift(process.env.CLAUDE_CODE_GIT_BASH_PATH),t))if(await p(r,"win32")){e.push({name:"Git Bash",path:r});break}let i=await o("pwsh",{platform:"win32"});i&&e.push({name:"PowerShell",path:i});let a=process.env.windir??"C:\\WINDOWS",l=s.default.join(a,"System32","WindowsPowerShell","v1.0","powershell.exe");await p(l,"win32")&&e.push({name:"Windows PowerShell",path:l});let u=process.env.ComSpec??s.default.join(a,"System32","cmd.exe");return await p(u,"win32")&&e.push({name:"Command Prompt",path:u}),e}let y=[{name:"Terminal",bundleName:"Terminal"},{name:"iTerm2",bundleName:"iTerm"},{name:"Warp",bundleName:"Warp"},{name:"Alacritty",bundleName:"Alacritty"},{name:"WezTerm",bundleName:"WezTerm"},{name:"kitty",bundleName:"kitty"},{name:"Hyper",bundleName:"Hyper"}];async function b(e=process.platform){if("darwin"===e){let t=[];for(let r of y)await p(`/Applications/${r.bundleName}.app`,e)&&t.push({name:r.name,value:r.bundleName});return t}if(n(e)){let t=[],r=await o("wt",{platform:e});return r&&t.push({name:"Windows Terminal",value:r}),t}return[]}e.s(["detectShells",0,f,"detectTerminalApps",0,b,"ensurePathInEnv",0,function(e,t=process.platform){let r=n(t)?"Path":"PATH";return(e.PATH??e.Path??"").length>0?e:{...e,[r]:function(e=process.platform){return n(e)?"C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\Wbem":"/usr/local/bin:/opt/homebrew/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin"}(t)}},"resolveCommandPath",0,o,"resolveCommandPathSync",0,u,"resolveSpawnTarget",0,c,"resolveSpawnTargetSync",0,function(e,t,r=process.platform,s){return d(u(e,r,s),t,process.env,r)},"stripClaudeNestingEnv",0,function(e){let t={...e};for(let e of a)delete t[e];return t}])},519895,e=>{"use strict";var t=e.i(980738),r=e.i(769310);class s{taskId;_pty;killed=!1;disconnectTimer=null;_buffer="";static BUFFER_MAX=51200;_onData;_exitListeners=[];_idleTimer=null;_idleThresholdMs;_onIdle;_idleFired=!1;constructor(e,n,i,a,o,l,u,c,d){this.taskId=e,this._onData=o,this._onIdle=c??null,this._idleThresholdMs=Math.max(d??18e4,18e4);const p={...(0,r.stripClaudeNestingEnv)((0,r.ensurePathInEnv)(process.env)),TERM:"xterm-color",...u};try{this._pty=t.spawn(n,i,{name:"xterm-color",cols:80,rows:24,cwd:a,env:p})}catch(e){throw console.error(`[pty] spawn failed: command="${n}", cwd="${a}", PATH="${p.PATH?.slice(0,200)}"`),e}this._pty.onData(e=>{this._buffer+=e,this._buffer.length>s.BUFFER_MAX&&(this._buffer=this._buffer.slice(this._buffer.length-s.BUFFER_MAX)),this._resetIdleTimer(),this._onData(e)}),this._pty.onExit(({exitCode:e,signal:t})=>{for(let r of(this.killed=!0,this._idleTimer&&(clearTimeout(this._idleTimer),this._idleTimer=null),l(e,t),this._exitListeners))r(e)}),this._resetIdleTimer()}_resetIdleTimer(){this._idleTimer&&(clearTimeout(this._idleTimer),this._idleTimer=null),null===this._onIdle||this.killed||this._idleFired||(this._idleTimer=setTimeout(()=>{this._idleFired=!0,this._onIdle?.()},this._idleThresholdMs))}setDataListener(e){this._onData=e}setExitListener(e){this._exitListeners=[e]}write(e){this.killed||(this._resetIdleTimer(),this._pty.write(e))}resize(e,t){this.killed||this._pty.resize(e,t)}getBuffer(){return this._buffer}get isIdle(){return this._idleFired}kill(e){if(!this.killed){this.killed=!0,this._idleTimer&&(clearTimeout(this._idleTimer),this._idleTimer=null);try{this._pty.kill(e)}catch{}}}forceKill(){try{this._pty.kill("SIGKILL")}catch{}this.killed=!0}}e.s(["PtySession",0,s])},83721,e=>{"use strict";var t=e.i(519895),r=e.i(769310);let s=globalThis;s.__ptySessions||(s.__ptySessions=new Map);let n=s.__ptySessions;function i(e){let t=n.get(e);t&&(n.delete(e),t.disconnectTimer&&(clearTimeout(t.disconnectTimer),t.disconnectTimer=null),t.kill())}function a(){for(let e of n.keys())i(e)}let o=globalThis;"phase-production-build"===process.env.NEXT_PHASE||o.__ptySignalHandlersRegistered||(o.__ptySignalHandlersRegistered=!0,process.once("SIGTERM",()=>{console.error("[session-store] SIGTERM received — cleaning up PTY sessions"),a()}),process.once("SIGINT",()=>{console.error("[session-store] SIGINT received — cleaning up PTY sessions"),a()})),e.s(["createSession",0,function(e,s,a,o,l,u,c,d,p){i(e);let{command:f,args:m}=(0,r.resolveSpawnTargetSync)(s,a),h=new t.PtySession(e,f,m,o,l,u,c,d,p);return n.set(e,h),h},"destroySession",0,i,"getSession",0,function(e){return n.get(e)}])},843793,e=>{"use strict";var t=e.i(933919);let r=globalThis.prisma??new t.PrismaClient({log:[]});process.on("SIGTERM",()=>{r.$disconnect().catch(()=>{})}),process.on("SIGINT",()=>{r.$disconnect().catch(()=>{})}),e.s(["db",0,r])},572173,e=>{"use strict";var t=e.i(843793);async function r(e,r){let s=await t.db.systemConfig.findUnique({where:{key:e}});if(!s)return r;try{return JSON.parse(s.value)}catch{return r}}e.s(["readConfigValue",0,r])},658053,e=>{"use strict";e.s(["ASSISTANT_SESSION_KEY",0,"__assistant__"])},427699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},687769,(e,t,r)=>{t.exports=e.x("node:events",()=>require("node:events"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},899871,(e,t,r)=>{t.exports=e.x("node:string_decoder",()=>require("node:string_decoder"))},449719,(e,t,r)=>{t.exports=e.x("assert",()=>require("assert"))},500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},406461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},57328,(e,t,r)=>{t.exports=e.x("node:assert",()=>require("node:assert"))},276534,e=>{"use strict";e.s(["CONFIG_DEFAULTS",0,{"git.pathMappingRules":{defaultValue:[],type:"object",label:"Git Path Mapping Rules"},"system.maxUploadBytes":{defaultValue:0x3200000,type:"number",label:"Max Upload Size (bytes)"},"system.maxConcurrentExecutions":{defaultValue:20,type:"number",label:"Max Concurrent Executions"},"system.maxReadableFileBytes":{defaultValue:5242880,type:"number",label:"Max Readable File Size (bytes)"},"system.backupDir":{defaultValue:"",type:"string",label:"Backup Directory"},"git.timeoutSec":{defaultValue:30,type:"number",label:"Git Operation Timeout (seconds)"},"search.resultLimit":{defaultValue:20,type:"number",label:"Search Result Limit"},"search.allModeCap":{defaultValue:5,type:"number",label:"All-Mode Per-Type Cap"},"search.debounceMs":{defaultValue:250,type:"number",label:"Search Debounce (ms)"},"search.snippetLength":{defaultValue:80,type:"number",label:"Snippet Length (characters)"},"search.codeTimeoutSec":{defaultValue:30,type:"number",label:"Code Search Timeout (seconds)"},"missions.grid.minCols":{defaultValue:1,type:"number",label:"Grid Min Columns"},"missions.grid.maxCols":{defaultValue:5,type:"number",label:"Grid Max Columns"},"missions.grid.minRows":{defaultValue:1,type:"number",label:"Grid Min Rows"},"missions.grid.maxRows":{defaultValue:5,type:"number",label:"Grid Max Rows"},"terminal.app":{defaultValue:"Terminal",type:"string",label:"Default Terminal App"},"terminal.wsPort":{defaultValue:3001,type:"number",label:"WebSocket Port"},"terminal.idleTimeoutSec":{defaultValue:180,type:"number",label:"Idle Timeout (seconds)"},"assistant.systemPrompt":{defaultValue:'You are Tower Assistant — the built-in AI operator for the Tower task management platform.\n\n## Identity\n- You are a task management operator, NOT a coding assistant.\n- You can ONLY use Tower MCP tools. You CANNOT read files, edit code, run shell commands, or search the web.\n- Always respond in the same language the user uses.\n\n## Capabilities\nWhen users ask what you can do, respond with EXACTLY these 6 groups. Translate to the user\'s language.\n\n1. **Workspace & Project** — View, create, update, delete workspaces and projects. Search projects and repositories.\n2. **Task Management** — Create tasks (priority, labels, worktree branch isolation, sub-path, auto-start). Move task status (TODO → IN_PROGRESS → IN_REVIEW → DONE / CANCELLED). Update task info and labels.\n3. **Execution Monitor** — Start task execution, check execution status, get terminal output, send commands to running terminals.\n4. **Daily Report & Todo** — Generate daily work summary (completed + in-progress). View pending task list sorted by priority.\n5. **Labels & Notes & Assets** — Manage workspace labels, project notes, and file attachments.\n6. **Global Search** — Search tasks, projects, repositories, notes, and assets by keyword.\n\nDo NOT list any capabilities beyond the above. Do NOT mention code editing, debugging, testing, git operations, or any development capabilities.\n\n## Scope Boundary\nIf the user asks you to write code, explain code, debug, search the web, read/write files, or anything outside Tower task management, reply:\n"抱歉,我只能帮你管理工作区、项目和任务。编码、调试等操作请在任务终端中完成。"',type:"string",label:"Assistant System Prompt"},"assistant.displayMode":{defaultValue:"sidebar",type:"string",label:"Assistant Display Mode"},"assistant.communicationMode":{defaultValue:"chat",type:"string",label:"Assistant Communication Mode"}}])},61920,e=>{"use strict";var t=e.i(446786),r=e.i(814747);function s(e){return e.startsWith("~/")?r.default.join(t.default.homedir(),e.slice(2)):e}function n(e){let t,r=e.match(/^git@([^:]+):(.+)$/);if(r)return{host:r[1],pathSegments:i(r[2]).split("/").filter(Boolean)};try{t=new URL(e)}catch{return null}return{host:t.hostname,pathSegments:i(decodeURIComponent(t.pathname)).split("/").filter(Boolean)}}function i(e){return e.replace(/\.git\/?$/,"")}e.s(["gitUrlToLocalPath",0,function(e){let t=e.trim();if(!t)return"";try{let e=n(t);if(!e)return"";let{host:i,pathSegments:a}=e;if("code.iflytek.com"===i){let e,t;return s((e=[...a],"osc"===e[0]&&"_source"===e[1]&&(e=e.slice(2)),((t=e.indexOf("-"))>0&&(e=e.slice(0,t)),0===e.length)?"":`~/company/${e.join("/")}`))}if("github.com"===i){var r;let e,t;return s((e=(r=a)[0],t=r[1],e&&t?`${"jp-liu"===e?"~/project/i":"~/project/f"}/${t}`:""))}let o=a[a.length-1];return o?s(`~/project/f/${o}`):""}catch{return""}},"matchGitPathRule",0,function(e,t){if(!t.length)return"";let r=e.trim();if(!r)return"";let i=n(r);if(!i)return"";let{host:a,pathSegments:o}=i,l=o[0]??"",u=o[o.length-1]??"",c=[...t].sort((e,t)=>{let r=+("*"===e.ownerMatch),s=+("*"===t.ownerMatch);return r!==s?r-s:e.priority-t.priority}),d=o.join("/");for(let e of c){if(e.host!==a||"*"!==e.ownerMatch&&e.ownerMatch!==l)continue;let t=e.localPathTemplate;if(t.includes("{path}"))return s(t.replace("{path}",d).replace("{owner}",l).replace("{repo}",u).replace(/\/+$/,""));let r=t.replace("{owner}",l).replace("{repo}","").replace(/\/+$/,"");return s(`${r}/${u}`)}return""}])},22569,e=>e.a(async(t,r)=>{try{var s=e.i(921675),n=e.i(843793),i=e.i(276534),a=e.i(61920),o=e.i(769310),l=e.i(721390),u=e.i(86708),c=t([l]);async function d(e,t){let r=await n.db.systemConfig.findUnique({where:{key:e}});if(!r)return t;try{return JSON.parse(r.value)}catch{return t}}async function p(e,t){await n.db.systemConfig.upsert({where:{key:e},create:{key:e,value:JSON.stringify(t)},update:{value:JSON.stringify(t)}})}async function f(e){let t=e.trim();if(!t)return"";try{let e=await d("git.pathMappingRules",[]),r=(0,a.matchGitPathRule)(t,e);if(r)return r;return(0,a.gitUrlToLocalPath)(t)}catch{return(0,a.gitUrlToLocalPath)(t)}}async function m(e){let t=await n.db.systemConfig.findMany({where:{key:{in:e}}}),r=Object.fromEntries(t.map(e=>{try{return[e.key,JSON.parse(e.value)]}catch{return[e.key,null]}})),s={};for(let t of e)s[t]=t in r?r[t]:i.CONFIG_DEFAULTS[t]?.defaultValue??null;return s}async function h(){return(0,o.detectShells)()}async function y(){return(0,o.detectTerminalApps)()}async function b(){return{platform:process.platform}}async function g(){let e=(0,l.getActiveWsPort)();if(null!==e)return e;let t=parseInt(process.env.PORT||"3000",10);return d("terminal.wsPort",t+1)}[l]=c.then?(await c)():c,(0,u.ensureServerEntryExports)([d,p,f,m,h,y,b,g]),(0,s.registerServerReference)(d,"60fec27b4ecd6c35573e4932e39fadb25bb46e1156",null),(0,s.registerServerReference)(p,"60342b9df974bdc696460942c842291ae4c3911e0e",null),(0,s.registerServerReference)(f,"405a5c35732eae32336a8c167130d6f2c17cc871a5",null),(0,s.registerServerReference)(m,"40ee3f0c57e06e44cef70d40dc98cfe8de7c0041ea",null),(0,s.registerServerReference)(h,"009cd6cc3cb096d66d7d8a7d3db72c3b3b4953dcd7",null),(0,s.registerServerReference)(y,"00e0af43ef8865ab136ab8da7fb7e79f17b8ecce09",null),(0,s.registerServerReference)(b,"004f25c90928ece9bcea152f57dd71944a66caffd0",null),(0,s.registerServerReference)(g,"002c27894d8d914d1e6f188ccac937a9f129a18db6",null),e.s(["getConfigValue",0,d]),r()}catch(e){r(e)}},!1)];
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ensureServerEntryExports",{enumerable:!0,get:function(){return s}})},769310,e=>{"use strict";var t=e.i(902157),r=e.i(874533),s=e.i(750227);function n(e=process.platform){return"win32"===e}function i(e){let t=e.replace(/\r\n|\r|\n/g," ");if(!t.length)return'""';let r=t.replace(/"/g,'""');return/[\s"&<>|^()]/.test(r)?`"${r}"`:r}let a=["CLAUDECODE","CLAUDE_CODE_ENTRYPOINT","CLAUDE_CODE_SESSION","CLAUDE_CODE_PARENT_SESSION"];async function o(e,t={}){let r=t.cwd??process.cwd(),i=t.env??process.env,a=t.platform??process.platform;if(e.includes("/")||e.includes("\\")){let t=s.default.isAbsolute(e)?e:s.default.resolve(r,e);return await p(t,a)?t:null}let l=i.PATH??i.Path??"",u=n(a)?";":":",c=l.split(u).filter(Boolean),d=n(a)?(i.PATHEXT??".EXE;.CMD;.BAT;.COM").split(";").filter(Boolean):[""],f=n(a)&&s.default.extname(e).length>0;for(let t of c)for(let r of n(a)?f?[s.default.join(t,e)]:d.map(r=>s.default.join(t,`${e}${r}`)):[s.default.join(t,e)])if(await p(r,a))return r;return null}let l=e=>(0,r.execSync)(e,{encoding:"utf-8",timeout:5e3});function u(e,t=process.platform,i=l){if(s.default.extname(e)||e.includes("/")||e.includes("\\"))return e;if(!n(t)){try{let t=(0,r.execFileSync)("which",[e],{encoding:"utf-8",timeout:5e3}).trim();if(t)return t}catch{}return e}try{let t=i(`where ${e}`).trim().split("\n").map(e=>e.trim()).filter(Boolean),r=t.find(e=>/\.(cmd|bat|exe)$/i.test(e));if(r)return r;if(t.length>0)return t[0]}catch{}return e}async function c(e,t,r={}){let s=r.env??process.env,n=r.platform??process.platform;return d(await o(e,r)??e,t,s,n)}function d(e,t,r,a){if(!n(a))return{command:e,args:t};let o=s.default.extname(e).toLowerCase();return".cmd"===o||".bat"===o||".com"===o?{command:r.ComSpec||"cmd.exe",args:["/d","/s","/c",[i(e),...t.map(i)].join(" ")]}:{command:e,args:t}}async function p(e,r=process.platform){try{return await t.promises.access(e,n(r)?t.constants.F_OK:t.constants.X_OK),!0}catch{return!1}}async function f(e=process.platform){return n(e)?h():m()}async function m(){try{let e=await t.promises.readFile("/etc/shells","utf-8"),r=[],n=new Map;for(let t of e.split("\n")){let e=t.replace(/#.*/,"").trim();if(!e||!e.startsWith("/")||!await p(e))continue;let i=s.default.basename(e),a=n.get(i)??0;n.set(i,a+1),a>0&&(i=`${i} (${a+1})`),r.push({name:i,path:e})}return r}catch{let e=[];for(let t of["/bin/zsh","/bin/bash","/bin/sh"])await p(t)&&e.push({name:s.default.basename(t),path:t});return e}}async function h(){let e=[],t=[],r=await o("git",{platform:"win32"});if(r){let e=s.default.resolve(s.default.dirname(r),"..","..");t.push(s.default.join(e,"bin","bash.exe"),s.default.join(e,"usr","bin","bash.exe"))}for(let e of[process.env.ProgramW6432,process.env.ProgramFiles,process.env["ProgramFiles(x86)"],process.env.LocalAppData?s.default.join(process.env.LocalAppData,"Programs"):null].filter(Boolean))t.push(s.default.join(e,"Git","bin","bash.exe"),s.default.join(e,"Git","usr","bin","bash.exe"));let n=process.env.USERPROFILE??"";for(let r of(n&&t.push(s.default.join(n,"scoop","apps","git","current","bin","bash.exe")),process.env.CLAUDE_CODE_GIT_BASH_PATH&&t.unshift(process.env.CLAUDE_CODE_GIT_BASH_PATH),t))if(await p(r,"win32")){e.push({name:"Git Bash",path:r});break}let i=await o("pwsh",{platform:"win32"});i&&e.push({name:"PowerShell",path:i});let a=process.env.windir??"C:\\WINDOWS",l=s.default.join(a,"System32","WindowsPowerShell","v1.0","powershell.exe");await p(l,"win32")&&e.push({name:"Windows PowerShell",path:l});let u=process.env.ComSpec??s.default.join(a,"System32","cmd.exe");return await p(u,"win32")&&e.push({name:"Command Prompt",path:u}),e}let y=[{name:"Terminal",bundleName:"Terminal"},{name:"iTerm2",bundleName:"iTerm"},{name:"Warp",bundleName:"Warp"},{name:"Alacritty",bundleName:"Alacritty"},{name:"WezTerm",bundleName:"WezTerm"},{name:"kitty",bundleName:"kitty"},{name:"Hyper",bundleName:"Hyper"}];async function b(e=process.platform){if("darwin"===e){let t=[];for(let r of y)await p(`/Applications/${r.bundleName}.app`,e)&&t.push({name:r.name,value:r.bundleName});return t}if(n(e)){let t=[],r=await o("wt",{platform:e});return r&&t.push({name:"Windows Terminal",value:r}),t}return[]}e.s(["detectShells",0,f,"detectTerminalApps",0,b,"ensurePathInEnv",0,function(e,t=process.platform){let r=n(t)?"Path":"PATH";return(e.PATH??e.Path??"").length>0?e:{...e,[r]:function(e=process.platform){return n(e)?"C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\Wbem":"/usr/local/bin:/opt/homebrew/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin"}(t)}},"resolveCommandPath",0,o,"resolveCommandPathSync",0,u,"resolveSpawnTarget",0,c,"resolveSpawnTargetSync",0,function(e,t,r=process.platform,s){return d(u(e,r,s),t,process.env,r)},"stripClaudeNestingEnv",0,function(e){let t={...e};for(let e of a)delete t[e];return t}])},519895,e=>{"use strict";var t=e.i(980738),r=e.i(769310);class s{taskId;_pty;killed=!1;disconnectTimer=null;_buffer="";static BUFFER_MAX=51200;_onData;_exitListeners=[];_idleTimer=null;_idleThresholdMs;_onIdle;_idleFired=!1;constructor(e,n,i,a,o,l,u,c,d){this.taskId=e,this._onData=o,this._onIdle=c??null,this._idleThresholdMs=Math.max(d??18e4,18e4);const p={...(0,r.stripClaudeNestingEnv)((0,r.ensurePathInEnv)(process.env)),TERM:"xterm-color",...u};try{this._pty=t.spawn(n,i,{name:"xterm-color",cols:80,rows:24,cwd:a,env:p})}catch(e){throw console.error(`[pty] spawn failed: command="${n}", cwd="${a}", PATH="${p.PATH?.slice(0,200)}"`),e}this._pty.onData(e=>{this._buffer+=e,this._buffer.length>s.BUFFER_MAX&&(this._buffer=this._buffer.slice(this._buffer.length-s.BUFFER_MAX)),this._resetIdleTimer(),this._onData(e)}),this._pty.onExit(({exitCode:e,signal:t})=>{for(let r of(this.killed=!0,this._idleTimer&&(clearTimeout(this._idleTimer),this._idleTimer=null),l(e,t),this._exitListeners))r(e)}),this._resetIdleTimer()}_resetIdleTimer(){this._idleTimer&&(clearTimeout(this._idleTimer),this._idleTimer=null),null===this._onIdle||this.killed||this._idleFired||(this._idleTimer=setTimeout(()=>{this._idleFired=!0,this._onIdle?.()},this._idleThresholdMs))}setDataListener(e){this._onData=e}setExitListener(e){this._exitListeners=[e]}write(e){this.killed||(this._resetIdleTimer(),this._pty.write(e))}resize(e,t){this.killed||this._pty.resize(e,t)}getBuffer(){return this._buffer}get isIdle(){return this._idleFired}kill(e){if(!this.killed){this.killed=!0,this._idleTimer&&(clearTimeout(this._idleTimer),this._idleTimer=null);try{this._pty.kill(e)}catch{}}}forceKill(){try{this._pty.kill("SIGKILL")}catch{}this.killed=!0}}e.s(["PtySession",0,s])},83721,e=>{"use strict";var t=e.i(519895),r=e.i(769310);let s=globalThis;s.__ptySessions||(s.__ptySessions=new Map);let n=s.__ptySessions;function i(e){let t=n.get(e);t&&(n.delete(e),t.disconnectTimer&&(clearTimeout(t.disconnectTimer),t.disconnectTimer=null),t.kill())}function a(){for(let e of n.keys())i(e)}let o=globalThis;"phase-production-build"===process.env.NEXT_PHASE||o.__ptySignalHandlersRegistered||(o.__ptySignalHandlersRegistered=!0,process.once("SIGTERM",()=>{console.error("[session-store] SIGTERM received — cleaning up PTY sessions"),a()}),process.once("SIGINT",()=>{console.error("[session-store] SIGINT received — cleaning up PTY sessions"),a()})),e.s(["createSession",0,function(e,s,a,o,l,u,c,d,p){i(e);let{command:f,args:m}=(0,r.resolveSpawnTargetSync)(s,a),h=new t.PtySession(e,f,m,o,l,u,c,d,p);return n.set(e,h),h},"destroySession",0,i,"getSession",0,function(e){return n.get(e)}])},843793,e=>{"use strict";var t=e.i(933919);let r=globalThis.prisma??new t.PrismaClient({log:[]});process.on("SIGTERM",()=>{r.$disconnect().catch(()=>{})}),process.on("SIGINT",()=>{r.$disconnect().catch(()=>{})}),e.s(["db",0,r])},572173,e=>{"use strict";var t=e.i(843793);async function r(e,r){let s=await t.db.systemConfig.findUnique({where:{key:e}});if(!s)return r;try{return JSON.parse(s.value)}catch{return r}}e.s(["readConfigValue",0,r])},658053,e=>{"use strict";e.s(["ASSISTANT_SESSION_KEY",0,"__assistant__"])},427699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},687769,(e,t,r)=>{t.exports=e.x("node:events",()=>require("node:events"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},899871,(e,t,r)=>{t.exports=e.x("node:string_decoder",()=>require("node:string_decoder"))},449719,(e,t,r)=>{t.exports=e.x("assert",()=>require("assert"))},500874,(e,t,r)=>{t.exports=e.x("buffer",()=>require("buffer"))},406461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},57328,(e,t,r)=>{t.exports=e.x("node:assert",()=>require("node:assert"))},276534,e=>{"use strict";e.s(["CONFIG_DEFAULTS",0,{"git.pathMappingRules":{defaultValue:[],type:"object",label:"Git Path Mapping Rules"},"system.maxUploadBytes":{defaultValue:0x3200000,type:"number",label:"Max Upload Size (bytes)"},"system.maxConcurrentExecutions":{defaultValue:20,type:"number",label:"Max Concurrent Executions"},"system.maxReadableFileBytes":{defaultValue:5242880,type:"number",label:"Max Readable File Size (bytes)"},"system.backupDir":{defaultValue:"",type:"string",label:"Backup Directory"},"git.timeoutSec":{defaultValue:30,type:"number",label:"Git Operation Timeout (seconds)"},"search.resultLimit":{defaultValue:20,type:"number",label:"Search Result Limit"},"search.allModeCap":{defaultValue:5,type:"number",label:"All-Mode Per-Type Cap"},"search.debounceMs":{defaultValue:250,type:"number",label:"Search Debounce (ms)"},"search.snippetLength":{defaultValue:80,type:"number",label:"Snippet Length (characters)"},"search.codeTimeoutSec":{defaultValue:30,type:"number",label:"Code Search Timeout (seconds)"},"missions.grid.minCols":{defaultValue:1,type:"number",label:"Grid Min Columns"},"missions.grid.maxCols":{defaultValue:5,type:"number",label:"Grid Max Columns"},"missions.grid.minRows":{defaultValue:1,type:"number",label:"Grid Min Rows"},"missions.grid.maxRows":{defaultValue:5,type:"number",label:"Grid Max Rows"},"terminal.app":{defaultValue:"Terminal",type:"string",label:"Default Terminal App"},"terminal.wsPort":{defaultValue:3001,type:"number",label:"WebSocket Port"},"terminal.idleTimeoutSec":{defaultValue:180,type:"number",label:"Idle Timeout (seconds)"},"assistant.systemPrompt":{defaultValue:'You are Tower Assistant — the built-in AI operator for the Tower task management platform.\n\n## Identity\n- You are a task management operator, NOT a coding assistant.\n- You can ONLY use Tower MCP tools. You CANNOT read files, edit code, run shell commands, or search the web.\n- Always respond in the same language the user uses.\n\n## Capabilities\nWhen users ask what you can do, respond with EXACTLY these 6 groups. Translate to the user\'s language.\n\n1. **Workspace & Project** — View, create, update, delete workspaces and projects. Search projects and repositories.\n2. **Task Management** — Create tasks (priority, labels, worktree branch isolation, sub-path, auto-start). Move task status (TODO → IN_PROGRESS → IN_REVIEW → DONE / CANCELLED). Update task info and labels.\n3. **Execution Monitor** — Start task execution, check execution status, get terminal output, send commands to running terminals.\n4. **Daily Report & Todo** — Generate daily work summary (completed + in-progress). View pending task list sorted by priority.\n5. **Labels & Notes & Assets** — Manage workspace labels, project notes, and file attachments.\n6. **Global Search** — Search tasks, projects, repositories, notes, and assets by keyword.\n\nDo NOT list any capabilities beyond the above. Do NOT mention code editing, debugging, testing, git operations, or any development capabilities.\n\n## Scope Boundary\nIf the user asks you to write code, explain code, debug, search the web, read/write files, or anything outside Tower task management, reply:\n"抱歉,我只能帮你管理工作区、项目和任务。编码、调试等操作请在任务终端中完成。"',type:"string",label:"Assistant System Prompt"},"assistant.displayMode":{defaultValue:"sidebar",type:"string",label:"Assistant Display Mode"},"assistant.communicationMode":{defaultValue:"chat",type:"string",label:"Assistant Communication Mode"}}])},61920,e=>{"use strict";var t=e.i(446786),r=e.i(814747);function s(e){return e.startsWith("~/")?r.default.join(t.default.homedir(),e.slice(2)):e}function n(e){let t,r=e.match(/^git@([^:]+):(.+)$/);if(r)return{host:r[1],pathSegments:i(r[2]).split("/").filter(Boolean)};try{t=new URL(e)}catch{return null}return{host:t.hostname,pathSegments:i(decodeURIComponent(t.pathname)).split("/").filter(Boolean)}}function i(e){return e.replace(/\.git\/?$/,"")}e.s(["gitUrlToLocalPath",0,function(e){let t=e.trim();if(!t)return"";try{let e=n(t);if(!e)return"";let{host:i,pathSegments:a}=e;if("code.iflytek.com"===i){let e,t;return s((e=[...a],"osc"===e[0]&&"_source"===e[1]&&(e=e.slice(2)),((t=e.indexOf("-"))>0&&(e=e.slice(0,t)),0===e.length)?"":`~/company/${e.join("/")}`))}if("github.com"===i){var r;let e,t;return s((e=(r=a)[0],t=r[1],e&&t?`${"jp-liu"===e?"~/project/i":"~/project/f"}/${t}`:""))}let o=a[a.length-1];return o?s(`~/project/f/${o}`):""}catch{return""}},"matchGitPathRule",0,function(e,t){if(!t.length)return"";let r=e.trim();if(!r)return"";let i=n(r);if(!i)return"";let{host:a,pathSegments:o}=i,l=o[0]??"",u=o[o.length-1]??"",c=[...t].sort((e,t)=>{let r=+("*"===e.ownerMatch),s=+("*"===t.ownerMatch);return r!==s?r-s:e.priority-t.priority}),d=o.join("/");for(let e of c){if(e.host!==a||"*"!==e.ownerMatch&&e.ownerMatch!==l)continue;let t=e.localPathTemplate;if(t.includes("{path}"))return s(t.replace("{path}",d).replace("{owner}",l).replace("{repo}",u).replace(/\/+$/,""));let r=t.replace("{owner}",l).replace("{repo}","").replace(/\/+$/,"");return s(`${r}/${u}`)}return""}])},22569,e=>e.a(async(t,r)=>{try{var s=e.i(921675),n=e.i(843793),i=e.i(276534),a=e.i(61920),o=e.i(769310),l=e.i(721390),u=e.i(86708),c=t([l]);async function d(e,t){let r=await n.db.systemConfig.findUnique({where:{key:e}});if(!r)return t;try{return JSON.parse(r.value)}catch{return t}}async function p(e,t){await n.db.systemConfig.upsert({where:{key:e},create:{key:e,value:JSON.stringify(t)},update:{value:JSON.stringify(t)}})}async function f(e){let t=e.trim();if(!t)return"";try{let e=await d("git.pathMappingRules",[]),r=(0,a.matchGitPathRule)(t,e);if(r)return r;return(0,a.gitUrlToLocalPath)(t)}catch{return(0,a.gitUrlToLocalPath)(t)}}async function m(e){let t=await n.db.systemConfig.findMany({where:{key:{in:e}}}),r=Object.fromEntries(t.map(e=>{try{return[e.key,JSON.parse(e.value)]}catch{return[e.key,null]}})),s={};for(let t of e)s[t]=t in r?r[t]:i.CONFIG_DEFAULTS[t]?.defaultValue??null;return s}async function h(){return(0,o.detectShells)()}async function y(){return(0,o.detectTerminalApps)()}async function b(){return{platform:process.platform}}async function g(){let e=(0,l.getActiveWsPort)();if(null!==e)return e;let t=parseInt(process.env.PORT||"3000",10);return d("terminal.wsPort",t+1)}[l]=c.then?(await c)():c,(0,u.ensureServerEntryExports)([d,p,f,m,h,y,b,g]),(0,s.registerServerReference)(d,"60032492f456c9c8fcc032fdeb1784777f69464a6a",null),(0,s.registerServerReference)(p,"60dcd9c388151c3e1974757b6ed257dca8cd9461bd",null),(0,s.registerServerReference)(f,"403b1efbbc6403f9a5684b49675fb2dfcb02c1d2f7",null),(0,s.registerServerReference)(m,"40530570a66aecec0e96f3807ec632598139384043",null),(0,s.registerServerReference)(h,"006cd34bb594752724ef1ddc80ce72433ecc728349",null),(0,s.registerServerReference)(y,"002d2d76b6ef4160568000224415f28f1a163652f2",null),(0,s.registerServerReference)(b,"008a180a9553b3f07ead30ab0e175f18939c1ffb19",null),(0,s.registerServerReference)(g,"00a1c3944ebee4ec0cc8cdf24600f514e18f86abef",null),e.s(["getConfigValue",0,d]),r()}catch(e){r(e)}},!1)];
3
3
 
4
4
  //# sourceMappingURL=%5Broot-of-the-server%5D__028ucbo._.js.map