wiki-viewer 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) 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/required-server-files.json +5 -5
  5. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  6. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  11. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  12. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  13. package/.next/standalone/.next/server/app/api/agent/activity/route.js.nft.json +1 -1
  14. package/.next/standalone/.next/server/app/api/agent/events/[...path]/route.js.nft.json +1 -1
  15. package/.next/standalone/.next/server/app/api/agent/files/[...path]/route.js.nft.json +1 -1
  16. package/.next/standalone/.next/server/app/api/agent/fs/file/[...path]/route.js.nft.json +1 -1
  17. package/.next/standalone/.next/server/app/api/agent/fs/ls/[[...path]]/route.js.nft.json +1 -1
  18. package/.next/standalone/.next/server/app/api/agent/fs/move/route.js.nft.json +1 -1
  19. package/.next/standalone/.next/server/app/api/agent/fs/search/route.js.nft.json +1 -1
  20. package/.next/standalone/.next/server/app/api/agent/settings/route.js.nft.json +1 -1
  21. package/.next/standalone/.next/server/app/api/agent/sidecar/[...path]/route.js.nft.json +1 -1
  22. package/.next/standalone/.next/server/app/api/app-proxy/[...path]/route.js.nft.json +1 -1
  23. package/.next/standalone/.next/server/app/api/assets/[...path]/route.js.nft.json +1 -1
  24. package/.next/standalone/.next/server/app/api/pdf/save/route.js.nft.json +1 -1
  25. package/.next/standalone/.next/server/app/api/share/[token]/asset/route.js.nft.json +1 -1
  26. package/.next/standalone/.next/server/app/api/share/[token]/route.js.nft.json +1 -1
  27. package/.next/standalone/.next/server/app/api/share/route.js.nft.json +1 -1
  28. package/.next/standalone/.next/server/app/api/system/browse/route.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/api/system/reveal/route.js.nft.json +1 -1
  30. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/branch/route.js.nft.json +1 -1
  31. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/open/route.js.nft.json +1 -1
  32. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/refresh/route.js.nft.json +1 -1
  33. package/.next/standalone/.next/server/app/api/system/workspaces/[id]/route.js.nft.json +1 -1
  34. package/.next/standalone/.next/server/app/api/system/workspaces/route.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/api/upload/[...path]/route.js.nft.json +1 -1
  36. package/.next/standalone/.next/server/app/api/wiki/app/route.js.nft.json +1 -1
  37. package/.next/standalone/.next/server/app/api/wiki/backlinks/route.js.nft.json +1 -1
  38. package/.next/standalone/.next/server/app/api/wiki/content/route.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/api/wiki/download/route.js.nft.json +1 -1
  40. package/.next/standalone/.next/server/app/api/wiki/folder/route.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/api/wiki/git-branches/route.js.nft.json +1 -1
  42. package/.next/standalone/.next/server/app/api/wiki/git-checkout/route.js.nft.json +1 -1
  43. package/.next/standalone/.next/server/app/api/wiki/git-diff/route.js.nft.json +1 -1
  44. package/.next/standalone/.next/server/app/api/wiki/git-file-info/route.js.nft.json +1 -1
  45. package/.next/standalone/.next/server/app/api/wiki/git-history/route.js.nft.json +1 -1
  46. package/.next/standalone/.next/server/app/api/wiki/git-pull/route.js.nft.json +1 -1
  47. package/.next/standalone/.next/server/app/api/wiki/hosted-apps/[slug]/route.js.nft.json +1 -1
  48. package/.next/standalone/.next/server/app/api/wiki/hosted-apps/route.js.nft.json +1 -1
  49. package/.next/standalone/.next/server/app/api/wiki/move/route.js.nft.json +1 -1
  50. package/.next/standalone/.next/server/app/api/wiki/new-file/route.js.nft.json +1 -1
  51. package/.next/standalone/.next/server/app/api/wiki/outlinks/route.js.nft.json +1 -1
  52. package/.next/standalone/.next/server/app/api/wiki/page/route.js.nft.json +1 -1
  53. package/.next/standalone/.next/server/app/api/wiki/presence/route.js.nft.json +1 -1
  54. package/.next/standalone/.next/server/app/api/wiki/route.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/api/wiki/scratch/route.js.nft.json +1 -1
  56. package/.next/standalone/.next/server/app/api/wiki/search/route.js.nft.json +1 -1
  57. package/.next/standalone/.next/server/app/api/wiki/slugs/route.js.nft.json +1 -1
  58. package/.next/standalone/.next/server/app/api/wiki/upload/route.js.nft.json +1 -1
  59. package/.next/standalone/.next/server/app/api/wiki/watch/route.js.nft.json +1 -1
  60. package/.next/standalone/.next/server/app/app/[slug]/[[...rest]]/route.js.nft.json +1 -1
  61. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  62. package/.next/standalone/.next/server/app/s/[token]/page_client-reference-manifest.js +1 -1
  63. package/.next/standalone/.next/server/app/signin/page_client-reference-manifest.js +1 -1
  64. package/.next/standalone/.next/server/chunks/0.u4_next_dist_0k.q4j~._.js +1 -1
  65. package/.next/standalone/.next/server/chunks/0.u4_next_dist_esm_build_templates_app-route_0.4w~2_.js +1 -1
  66. package/.next/standalone/.next/server/chunks/0.u4_next_dist_esm_build_templates_app-route_024r~hj.js +1 -1
  67. package/.next/standalone/.next/server/chunks/0.u4_next_dist_esm_build_templates_app-route_0hlp8kc.js +1 -1
  68. package/.next/standalone/.next/server/chunks/0.u4_next_dist_esm_build_templates_app-route_0kj1.1o.js +1 -1
  69. package/.next/standalone/.next/server/chunks/0.u4_next_dist_esm_build_templates_app-route_12fsa9t.js +1 -1
  70. package/.next/standalone/.next/server/chunks/0.u4_next_dist_esm_build_templates_app-route_12qnjz7.js +1 -1
  71. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0.fl467._.js +1 -1
  72. package/.next/standalone/.next/server/chunks/[root-of-the-server]__00dflrb._.js +1 -1
  73. package/.next/standalone/.next/server/chunks/[root-of-the-server]__01aj28~._.js +1 -1
  74. package/.next/standalone/.next/server/chunks/[root-of-the-server]__01gvb63._.js +1 -1
  75. package/.next/standalone/.next/server/chunks/[root-of-the-server]__02dkper._.js +1 -1
  76. package/.next/standalone/.next/server/chunks/[root-of-the-server]__02nhhnt._.js +1 -1
  77. package/.next/standalone/.next/server/chunks/[root-of-the-server]__02ovz0q._.js +1 -1
  78. package/.next/standalone/.next/server/chunks/[root-of-the-server]__034zu-9._.js +1 -1
  79. package/.next/standalone/.next/server/chunks/[root-of-the-server]__03eilzu._.js +1 -1
  80. package/.next/standalone/.next/server/chunks/[root-of-the-server]__03ivskm._.js +1 -1
  81. package/.next/standalone/.next/server/chunks/[root-of-the-server]__04smpj8._.js +1 -1
  82. package/.next/standalone/.next/server/chunks/[root-of-the-server]__05h6fe-._.js +1 -1
  83. package/.next/standalone/.next/server/chunks/[root-of-the-server]__05s.pyr._.js +1 -1
  84. package/.next/standalone/.next/server/chunks/[root-of-the-server]__07757zz._.js +1 -1
  85. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0780pzf._.js +1 -1
  86. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0_2j7pq._.js +1 -1
  87. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0__5_f3._.js +1 -1
  88. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0_u7i7z._.js +1 -1
  89. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0_yp6y3._.js +1 -1
  90. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ah~dki._.js +1 -1
  91. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0apz83x._.js +1 -1
  92. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0b1c__~._.js +1 -1
  93. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0cjpldw._.js +1 -1
  94. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0cm0bo-._.js +1 -1
  95. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0cqahds._.js +1 -1
  96. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0d3bkh3._.js +1 -1
  97. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0dya7sd._.js +1 -1
  98. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0f.q.gf._.js +1 -1
  99. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0fkfkc.._.js +1 -1
  100. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0gri8a8._.js +1 -1
  101. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0gugnl-._.js +1 -1
  102. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ivbizg._.js +1 -1
  103. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0j3mjvx._.js +1 -1
  104. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0l.mcpo._.js +1 -1
  105. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0l.w~4m._.js +1 -1
  106. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0l2wp1m._.js +1 -1
  107. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ltsov-._.js +1 -1
  108. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0mar4ob._.js +1 -1
  109. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0mpkhjm._.js +1 -1
  110. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0owf77v._.js +1 -1
  111. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0pftyle._.js +1 -1
  112. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ppgs1m._.js +1 -1
  113. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0puvgme._.js +1 -1
  114. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0p~gv_2._.js +1 -1
  115. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0qgog4p._.js +1 -1
  116. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0qwikxp._.js +1 -1
  117. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0rdc.sv._.js +1 -1
  118. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0rqm3om._.js +1 -1
  119. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0shc-wa._.js +1 -1
  120. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0shhawu._.js +1 -1
  121. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0tjcm.o._.js +1 -1
  122. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0tl7-s6._.js +1 -1
  123. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0tuu3y1._.js +1 -1
  124. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0u7wq9p._.js +1 -1
  125. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ul.gyt._.js +1 -1
  126. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0w2ba2x._.js +1 -1
  127. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0w648ao._.js +1 -1
  128. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0yzumg-._.js +1 -1
  129. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0z2-rh.._.js +1 -1
  130. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0~a6cyg._.js +1 -1
  131. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0~q~4xc._.js +1 -1
  132. package/.next/standalone/.next/server/chunks/[root-of-the-server]__101dr96._.js +1 -1
  133. package/.next/standalone/.next/server/chunks/[root-of-the-server]__10i6erq._.js +1 -1
  134. package/.next/standalone/.next/server/chunks/[root-of-the-server]__128augu._.js +2 -2
  135. package/.next/standalone/.next/server/chunks/[root-of-the-server]__12e_piv._.js +1 -1
  136. package/.next/standalone/.next/server/chunks/node_modules__pnpm_0~gj5.~._.js +1 -1
  137. package/.next/standalone/.next/server/chunks/ssr/12y~_mermaid_dist_chunks_mermaid_core_sequenceDiagram-3UESZ5HK_mjs_015n5fb._.js +1 -1
  138. package/.next/standalone/.next/server/chunks/ssr/_0k6g8yo._.js +7 -12
  139. package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_08wjj_6._.js +1 -1
  140. package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0ue8lv5._.js +1 -1
  141. package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
  142. package/.next/standalone/.next/server/pages/500.html +1 -1
  143. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  144. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  145. package/.next/standalone/.next/static/chunks/{08j6bfg5a72bm.js → 10g31imtogo50.js} +7 -12
  146. package/.next/standalone/.next/static/chunks/13yj3_o5lzr7c.css +1 -0
  147. package/.next/standalone/node_modules/@vscode/ripgrep-linux-x64/bin/rg +0 -0
  148. package/.next/standalone/package.json +1 -1
  149. package/.next/standalone/server.js +1 -1
  150. package/package.json +135 -133
  151. package/.next/standalone/.backup-authdb/auth.db.bak-20260917-161414 +0 -0
  152. package/.next/standalone/.next/static/chunks/0qc4l9u44oy5b.css +0 -1
  153. package/.next/standalone/.proof/README.md.json +0 -780
  154. package/.next/standalone/wp-test-9dKQzu/shared.txt +0 -1
  155. /package/.next/standalone/.next/static/{0dK3SvrVBhTTBM-LZzcJP → mrSrqLgdAMIe7NGggoXtb}/_buildManifest.js +0 -0
  156. /package/.next/standalone/.next/static/{0dK3SvrVBhTTBM-LZzcJP → mrSrqLgdAMIe7NGggoXtb}/_clientMiddlewareManifest.js +0 -0
  157. /package/.next/standalone/.next/static/{0dK3SvrVBhTTBM-LZzcJP → mrSrqLgdAMIe7NGggoXtb}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx <module evaluation>":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/app/page.tsx <module evaluation>":{"id":952683,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0rows7ykoflq3.js","/_next/static/chunks/0lsw6lsaj7lby.js","/_next/static/chunks/0f8kfd9d6kq0b.js","/_next/static/chunks/0wz776506nhn1.js","/_next/static/chunks/0ujpqxim7iqme.js","/_next/static/chunks/0_6~i5v43qpgh.js","/_next/static/chunks/08j6bfg5a72bm.js","/_next/static/chunks/0lxbev-rginnd.js","/_next/static/chunks/0ch1.r_lv21oq.js"],"async":false},"[project]/src/app/page.tsx":{"id":952683,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0rows7ykoflq3.js","/_next/static/chunks/0lsw6lsaj7lby.js","/_next/static/chunks/0f8kfd9d6kq0b.js","/_next/static/chunks/0wz776506nhn1.js","/_next/static/chunks/0ujpqxim7iqme.js","/_next/static/chunks/0_6~i5v43qpgh.js","/_next/static/chunks/08j6bfg5a72bm.js","/_next/static/chunks/0lxbev-rginnd.js","/_next/static/chunks/0ch1.r_lv21oq.js"],"async":false}},"ssrModuleMapping":{"818576":{"*":{"id":631945,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"424184":{"*":{"id":6315,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"505666":{"*":{"id":208950,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"266858":{"*":{"id":958125,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"391104":{"*":{"id":898578,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"693054":{"*":{"id":530721,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"35289":{"*":{"id":961563,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"187014":{"*":{"id":263265,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"427423":{"*":{"id":301148,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"157545":{"*":{"id":39264,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/node_modules__pnpm_04rcz~-._.js"],"async":false}},"952683":{"*":{"id":240777,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/[root-of-the-server]__0cvdst3._.js","server/chunks/ssr/node_modules__pnpm_0bft7q1._.js","server/chunks/ssr/node_modules__pnpm_12r.yrc._.js","server/chunks/ssr/_0d28.zp._.js","server/chunks/ssr/_0k6g8yo._.js","server/chunks/ssr/0a.g_remark-gfm_lib_index_0jlfajt.js","server/chunks/ssr/src_lib_auth_client_ts_0sk~n1k._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"818576":{"*":{"id":427994,"name":"*","chunks":[],"async":false}},"424184":{"*":{"id":260386,"name":"*","chunks":[],"async":false}},"505666":{"*":{"id":367578,"name":"*","chunks":[],"async":false}},"266858":{"*":{"id":369205,"name":"*","chunks":[],"async":false}},"391104":{"*":{"id":467389,"name":"*","chunks":[],"async":false}},"693054":{"*":{"id":126384,"name":"*","chunks":[],"async":false}},"35289":{"*":{"id":669956,"name":"*","chunks":[],"async":false}},"187014":{"*":{"id":508023,"name":"*","chunks":[],"async":false}},"427423":{"*":{"id":425790,"name":"*","chunks":[],"async":false}},"157545":{"*":{"id":800904,"name":"*","chunks":[],"async":false}},"952683":{"*":{"id":256983,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/0qc4l9u44oy5b.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/0qc4l9u44oy5b.css","inlined":false}],"[project]/src/app/page":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/0qc4l9u44oy5b.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/src/app/page":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js","static/chunks/0rows7ykoflq3.js","static/chunks/0lsw6lsaj7lby.js","static/chunks/0f8kfd9d6kq0b.js","static/chunks/0wz776506nhn1.js","static/chunks/0ujpqxim7iqme.js","static/chunks/0_6~i5v43qpgh.js","static/chunks/08j6bfg5a72bm.js","static/chunks/0lxbev-rginnd.js","static/chunks/0ch1.r_lv21oq.js"]}};
2
+ globalThis.__RSC_MANIFEST["/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx <module evaluation>":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/app/page.tsx <module evaluation>":{"id":952683,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0rows7ykoflq3.js","/_next/static/chunks/0lsw6lsaj7lby.js","/_next/static/chunks/0f8kfd9d6kq0b.js","/_next/static/chunks/0wz776506nhn1.js","/_next/static/chunks/0ujpqxim7iqme.js","/_next/static/chunks/0_6~i5v43qpgh.js","/_next/static/chunks/10g31imtogo50.js","/_next/static/chunks/0lxbev-rginnd.js","/_next/static/chunks/0ch1.r_lv21oq.js"],"async":false},"[project]/src/app/page.tsx":{"id":952683,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0rows7ykoflq3.js","/_next/static/chunks/0lsw6lsaj7lby.js","/_next/static/chunks/0f8kfd9d6kq0b.js","/_next/static/chunks/0wz776506nhn1.js","/_next/static/chunks/0ujpqxim7iqme.js","/_next/static/chunks/0_6~i5v43qpgh.js","/_next/static/chunks/10g31imtogo50.js","/_next/static/chunks/0lxbev-rginnd.js","/_next/static/chunks/0ch1.r_lv21oq.js"],"async":false}},"ssrModuleMapping":{"818576":{"*":{"id":631945,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"424184":{"*":{"id":6315,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"505666":{"*":{"id":208950,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"266858":{"*":{"id":958125,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"391104":{"*":{"id":898578,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"693054":{"*":{"id":530721,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"35289":{"*":{"id":961563,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"187014":{"*":{"id":263265,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"427423":{"*":{"id":301148,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"157545":{"*":{"id":39264,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/node_modules__pnpm_04rcz~-._.js"],"async":false}},"952683":{"*":{"id":240777,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/[root-of-the-server]__0cvdst3._.js","server/chunks/ssr/node_modules__pnpm_0bft7q1._.js","server/chunks/ssr/node_modules__pnpm_12r.yrc._.js","server/chunks/ssr/_0d28.zp._.js","server/chunks/ssr/_0k6g8yo._.js","server/chunks/ssr/0a.g_remark-gfm_lib_index_0jlfajt.js","server/chunks/ssr/src_lib_auth_client_ts_0sk~n1k._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"818576":{"*":{"id":427994,"name":"*","chunks":[],"async":false}},"424184":{"*":{"id":260386,"name":"*","chunks":[],"async":false}},"505666":{"*":{"id":367578,"name":"*","chunks":[],"async":false}},"266858":{"*":{"id":369205,"name":"*","chunks":[],"async":false}},"391104":{"*":{"id":467389,"name":"*","chunks":[],"async":false}},"693054":{"*":{"id":126384,"name":"*","chunks":[],"async":false}},"35289":{"*":{"id":669956,"name":"*","chunks":[],"async":false}},"187014":{"*":{"id":508023,"name":"*","chunks":[],"async":false}},"427423":{"*":{"id":425790,"name":"*","chunks":[],"async":false}},"157545":{"*":{"id":800904,"name":"*","chunks":[],"async":false}},"952683":{"*":{"id":256983,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/13yj3_o5lzr7c.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/13yj3_o5lzr7c.css","inlined":false}],"[project]/src/app/page":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/13yj3_o5lzr7c.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/src/app/page":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js","static/chunks/0rows7ykoflq3.js","static/chunks/0lsw6lsaj7lby.js","static/chunks/0f8kfd9d6kq0b.js","static/chunks/0wz776506nhn1.js","static/chunks/0ujpqxim7iqme.js","static/chunks/0_6~i5v43qpgh.js","static/chunks/10g31imtogo50.js","static/chunks/0lxbev-rginnd.js","static/chunks/0ch1.r_lv21oq.js"]}};
3
3
 
@@ -1,3 +1,3 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/s/[token]/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx <module evaluation>":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/app/s/[token]/page.tsx <module evaluation>":{"id":670977,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0ccw-uc_3ao.w.js","/_next/static/chunks/03d9mze.e_uaz.js","/_next/static/chunks/136jk6_h2z_jw.js","/_next/static/chunks/065s1_n.1k11t.js","/_next/static/chunks/15zvm3og-da_i.js","/_next/static/chunks/0lxbev-rginnd.js","/_next/static/chunks/0ftz-0jz~tk6i.js","/_next/static/chunks/0drn9l.ihdwh-.js","/_next/static/chunks/0ch1.r_lv21oq.js"],"async":false},"[project]/src/app/s/[token]/page.tsx":{"id":670977,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0ccw-uc_3ao.w.js","/_next/static/chunks/03d9mze.e_uaz.js","/_next/static/chunks/136jk6_h2z_jw.js","/_next/static/chunks/065s1_n.1k11t.js","/_next/static/chunks/15zvm3og-da_i.js","/_next/static/chunks/0lxbev-rginnd.js","/_next/static/chunks/0ftz-0jz~tk6i.js","/_next/static/chunks/0drn9l.ihdwh-.js","/_next/static/chunks/0ch1.r_lv21oq.js"],"async":false}},"ssrModuleMapping":{"818576":{"*":{"id":631945,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"424184":{"*":{"id":6315,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"505666":{"*":{"id":208950,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"266858":{"*":{"id":958125,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"391104":{"*":{"id":898578,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"693054":{"*":{"id":530721,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"35289":{"*":{"id":961563,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"187014":{"*":{"id":263265,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"427423":{"*":{"id":301148,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"157545":{"*":{"id":39264,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/node_modules__pnpm_04rcz~-._.js"],"async":false}},"670977":{"*":{"id":973220,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/node_modules__pnpm_12r.yrc._.js","server/chunks/ssr/node_modules__pnpm_0bft7q1._.js","server/chunks/ssr/[root-of-the-server]__0d89mrm._.js","server/chunks/ssr/_0e1uo~z._.js","server/chunks/ssr/node_modules__pnpm_0ygdthn._.js","server/chunks/ssr/_0sr4wj.._.js","server/chunks/ssr/0a.g_remark-gfm_lib_index_0jlfajt.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"818576":{"*":{"id":427994,"name":"*","chunks":[],"async":false}},"424184":{"*":{"id":260386,"name":"*","chunks":[],"async":false}},"505666":{"*":{"id":367578,"name":"*","chunks":[],"async":false}},"266858":{"*":{"id":369205,"name":"*","chunks":[],"async":false}},"391104":{"*":{"id":467389,"name":"*","chunks":[],"async":false}},"693054":{"*":{"id":126384,"name":"*","chunks":[],"async":false}},"35289":{"*":{"id":669956,"name":"*","chunks":[],"async":false}},"187014":{"*":{"id":508023,"name":"*","chunks":[],"async":false}},"427423":{"*":{"id":425790,"name":"*","chunks":[],"async":false}},"157545":{"*":{"id":800904,"name":"*","chunks":[],"async":false}},"670977":{"*":{"id":686486,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/0qc4l9u44oy5b.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/0qc4l9u44oy5b.css","inlined":false}],"[project]/src/app/s/[token]/page":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/0qc4l9u44oy5b.css","inlined":false},{"path":"static/chunks/08~16i3vwpnbs.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/src/app/s/[token]/page":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js","static/chunks/0ccw-uc_3ao.w.js","static/chunks/03d9mze.e_uaz.js","static/chunks/136jk6_h2z_jw.js","static/chunks/065s1_n.1k11t.js","static/chunks/15zvm3og-da_i.js","static/chunks/0lxbev-rginnd.js","static/chunks/0ftz-0jz~tk6i.js","static/chunks/0drn9l.ihdwh-.js","static/chunks/0ch1.r_lv21oq.js"]}};
2
+ globalThis.__RSC_MANIFEST["/s/[token]/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx <module evaluation>":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/app/s/[token]/page.tsx <module evaluation>":{"id":670977,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0ccw-uc_3ao.w.js","/_next/static/chunks/03d9mze.e_uaz.js","/_next/static/chunks/136jk6_h2z_jw.js","/_next/static/chunks/065s1_n.1k11t.js","/_next/static/chunks/15zvm3og-da_i.js","/_next/static/chunks/0lxbev-rginnd.js","/_next/static/chunks/0ftz-0jz~tk6i.js","/_next/static/chunks/0drn9l.ihdwh-.js","/_next/static/chunks/0ch1.r_lv21oq.js"],"async":false},"[project]/src/app/s/[token]/page.tsx":{"id":670977,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0ccw-uc_3ao.w.js","/_next/static/chunks/03d9mze.e_uaz.js","/_next/static/chunks/136jk6_h2z_jw.js","/_next/static/chunks/065s1_n.1k11t.js","/_next/static/chunks/15zvm3og-da_i.js","/_next/static/chunks/0lxbev-rginnd.js","/_next/static/chunks/0ftz-0jz~tk6i.js","/_next/static/chunks/0drn9l.ihdwh-.js","/_next/static/chunks/0ch1.r_lv21oq.js"],"async":false}},"ssrModuleMapping":{"818576":{"*":{"id":631945,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"424184":{"*":{"id":6315,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"505666":{"*":{"id":208950,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"266858":{"*":{"id":958125,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"391104":{"*":{"id":898578,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"693054":{"*":{"id":530721,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"35289":{"*":{"id":961563,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"187014":{"*":{"id":263265,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"427423":{"*":{"id":301148,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"157545":{"*":{"id":39264,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/node_modules__pnpm_04rcz~-._.js"],"async":false}},"670977":{"*":{"id":973220,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/node_modules__pnpm_12r.yrc._.js","server/chunks/ssr/node_modules__pnpm_0bft7q1._.js","server/chunks/ssr/[root-of-the-server]__0d89mrm._.js","server/chunks/ssr/_0e1uo~z._.js","server/chunks/ssr/node_modules__pnpm_0ygdthn._.js","server/chunks/ssr/_0sr4wj.._.js","server/chunks/ssr/0a.g_remark-gfm_lib_index_0jlfajt.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"818576":{"*":{"id":427994,"name":"*","chunks":[],"async":false}},"424184":{"*":{"id":260386,"name":"*","chunks":[],"async":false}},"505666":{"*":{"id":367578,"name":"*","chunks":[],"async":false}},"266858":{"*":{"id":369205,"name":"*","chunks":[],"async":false}},"391104":{"*":{"id":467389,"name":"*","chunks":[],"async":false}},"693054":{"*":{"id":126384,"name":"*","chunks":[],"async":false}},"35289":{"*":{"id":669956,"name":"*","chunks":[],"async":false}},"187014":{"*":{"id":508023,"name":"*","chunks":[],"async":false}},"427423":{"*":{"id":425790,"name":"*","chunks":[],"async":false}},"157545":{"*":{"id":800904,"name":"*","chunks":[],"async":false}},"670977":{"*":{"id":686486,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/13yj3_o5lzr7c.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/13yj3_o5lzr7c.css","inlined":false}],"[project]/src/app/s/[token]/page":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/13yj3_o5lzr7c.css","inlined":false},{"path":"static/chunks/08~16i3vwpnbs.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/src/app/s/[token]/page":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js","static/chunks/0ccw-uc_3ao.w.js","static/chunks/03d9mze.e_uaz.js","static/chunks/136jk6_h2z_jw.js","static/chunks/065s1_n.1k11t.js","static/chunks/15zvm3og-da_i.js","static/chunks/0lxbev-rginnd.js","static/chunks/0ftz-0jz~tk6i.js","static/chunks/0drn9l.ihdwh-.js","static/chunks/0ch1.r_lv21oq.js"]}};
3
3
 
@@ -1,3 +1,3 @@
1
1
  globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
2
- globalThis.__RSC_MANIFEST["/signin/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx <module evaluation>":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/app/signin/signin-form.tsx <module evaluation>":{"id":419564,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0n.h-z1d6d0q0.js","/_next/static/chunks/0wz776506nhn1.js"],"async":false},"[project]/src/app/signin/signin-form.tsx":{"id":419564,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0n.h-z1d6d0q0.js","/_next/static/chunks/0wz776506nhn1.js"],"async":false}},"ssrModuleMapping":{"818576":{"*":{"id":631945,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"424184":{"*":{"id":6315,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"505666":{"*":{"id":208950,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"266858":{"*":{"id":958125,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"391104":{"*":{"id":898578,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"693054":{"*":{"id":530721,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"35289":{"*":{"id":961563,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"187014":{"*":{"id":263265,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"427423":{"*":{"id":301148,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"157545":{"*":{"id":39264,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/node_modules__pnpm_04rcz~-._.js"],"async":false}},"419564":{"*":{"id":59558,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/src_0ctb2a9._.js","server/chunks/ssr/src_lib_auth_client_ts_0sk~n1k._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"818576":{"*":{"id":427994,"name":"*","chunks":[],"async":false}},"424184":{"*":{"id":260386,"name":"*","chunks":[],"async":false}},"505666":{"*":{"id":367578,"name":"*","chunks":[],"async":false}},"266858":{"*":{"id":369205,"name":"*","chunks":[],"async":false}},"391104":{"*":{"id":467389,"name":"*","chunks":[],"async":false}},"693054":{"*":{"id":126384,"name":"*","chunks":[],"async":false}},"35289":{"*":{"id":669956,"name":"*","chunks":[],"async":false}},"187014":{"*":{"id":508023,"name":"*","chunks":[],"async":false}},"427423":{"*":{"id":425790,"name":"*","chunks":[],"async":false}},"157545":{"*":{"id":800904,"name":"*","chunks":[],"async":false}},"419564":{"*":{"id":465274,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/0qc4l9u44oy5b.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/0qc4l9u44oy5b.css","inlined":false}],"[project]/src/app/signin/page":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/0qc4l9u44oy5b.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/src/app/signin/page":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js","static/chunks/0n.h-z1d6d0q0.js","static/chunks/0wz776506nhn1.js"]}};
2
+ globalThis.__RSC_MANIFEST["/signin/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/layout-router.js":{"id":818576,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":424184,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-page.js":{"id":505666,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/client-segment.js":{"id":266858,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":391104,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":693054,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":35289,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs <module evaluation>":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/sonner@2.0.7_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/sonner/dist/index.mjs":{"id":187014,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx <module evaluation>":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/components/theme-provider.tsx":{"id":427423,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error.js":{"id":157545,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js"],"async":false},"[project]/src/app/signin/signin-form.tsx <module evaluation>":{"id":419564,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0n.h-z1d6d0q0.js","/_next/static/chunks/0wz776506nhn1.js"],"async":false},"[project]/src/app/signin/signin-form.tsx":{"id":419564,"name":"*","chunks":["/_next/static/chunks/04lnpuvyqafae.js","/_next/static/chunks/0fgzeb--wtlac.js","/_next/static/chunks/0n.h-z1d6d0q0.js","/_next/static/chunks/0wz776506nhn1.js"],"async":false}},"ssrModuleMapping":{"818576":{"*":{"id":631945,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"424184":{"*":{"id":6315,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"505666":{"*":{"id":208950,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"266858":{"*":{"id":958125,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"391104":{"*":{"id":898578,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"693054":{"*":{"id":530721,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"35289":{"*":{"id":961563,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"187014":{"*":{"id":263265,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"427423":{"*":{"id":301148,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js"],"async":false}},"157545":{"*":{"id":39264,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/node_modules__pnpm_04rcz~-._.js"],"async":false}},"419564":{"*":{"id":59558,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0d3x2u~._.js","server/chunks/ssr/0.u4_next_dist_0xugq-k._.js","server/chunks/ssr/0e.4_sonner_dist_index_mjs_0u2em8w._.js","server/chunks/ssr/src_0ctb2a9._.js","server/chunks/ssr/src_lib_auth_client_ts_0sk~n1k._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"818576":{"*":{"id":427994,"name":"*","chunks":[],"async":false}},"424184":{"*":{"id":260386,"name":"*","chunks":[],"async":false}},"505666":{"*":{"id":367578,"name":"*","chunks":[],"async":false}},"266858":{"*":{"id":369205,"name":"*","chunks":[],"async":false}},"391104":{"*":{"id":467389,"name":"*","chunks":[],"async":false}},"693054":{"*":{"id":126384,"name":"*","chunks":[],"async":false}},"35289":{"*":{"id":669956,"name":"*","chunks":[],"async":false}},"187014":{"*":{"id":508023,"name":"*","chunks":[],"async":false}},"427423":{"*":{"id":425790,"name":"*","chunks":[],"async":false}},"157545":{"*":{"id":800904,"name":"*","chunks":[],"async":false}},"419564":{"*":{"id":465274,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/src/app/layout":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/13yj3_o5lzr7c.css","inlined":false}],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/13yj3_o5lzr7c.css","inlined":false}],"[project]/src/app/signin/page":[{"path":"static/chunks/12-umagms5yro.css","inlined":false},{"path":"static/chunks/13yj3_o5lzr7c.css","inlined":false}]},"entryJSFiles":{"[project]/src/app/layout":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/node_modules/.pnpm/next@16.2.4_react-dom@19.2.5_react@19.2.5__react@19.2.5_sass@1.51.0/node_modules/next/dist/client/components/builtin/global-error":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js"],"[project]/src/app/signin/page":["static/chunks/04lnpuvyqafae.js","static/chunks/0fgzeb--wtlac.js","static/chunks/0n.h-z1d6d0q0.js","static/chunks/0wz776506nhn1.js"]}};
3
3
 
@@ -13,6 +13,6 @@ module.exports=[495876,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModul
13
13
  `].filter(Boolean).join("\n");if(s.lastModified){let e=s.lastModified instanceof Date?s.lastModified.toISOString():s.lastModified;n+=`<lastmod>${e}</lastmod>
14
14
  `}s.changeFrequency&&(n+=`<changefreq>${s.changeFrequency}</changefreq>
15
15
  `),"number"==typeof s.priority&&(n+=`<priority>${s.priority}</priority>
16
- `),n+="</url>\n"}return n+"</urlset>\n"}function s(e){return JSON.stringify(e)}function d(e,t){return"robots"===t?a(e):"sitemap"===t?l(e):"manifest"===t?s(e):""}},388041,e=>{"use strict";var t=e.i(985426),r=e.i(257574),i=e.i(507835),n=e.i(457789),o=e.i(119791),a=e.i(141062),l=e.i(957291),s=e.i(535899),d=e.i(610241),u=e.i(62749),c=e.i(624891),p=e.i(725836),v=e.i(532736),f=e.i(257858),m=e.i(135288),h=e.i(193695);e.i(484264);var g=e.i(315709),y=e.i(351216),w=e.i(323588);function R(){return{name:"Wiki Viewer",short_name:"Wiki",description:"Local file browser, viewer, and editor",start_url:(0,w.apiUrl)("/"),scope:(0,w.apiUrl)("/"),display:"standalone",background_color:"#0c0a09",theme_color:"#0c0a09",icons:[{src:(0,w.apiUrl)("/icon-192.png"),sizes:"192x192",type:"image/png",purpose:"any"},{src:(0,w.apiUrl)("/icon-512.png"),sizes:"512x512",type:"image/png",purpose:"any"},{src:(0,w.apiUrl)("/icon-maskable-512.png"),sizes:"512x512",type:"image/png",purpose:"maskable"}]}}e.s(["default",0,R],407718);var _=e.i(987208);async function b(){let e=await R(),t=(0,_.resolveRouteData)(e,"manifest");return new y.NextResponse(t,{headers:{"Content-Type":"application/manifest+json","Cache-Control":"public, max-age=0, must-revalidate"}})}e.s(["GET",0,b],238813),e.i(238813),e.i(407718),e.s(["GET",0,b],589300);var x=e.i(589300);let A=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/manifest.webmanifest/route",pathname:"/manifest.webmanifest",filename:"manifest--route-entry",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/manifest--route-entry.js",nextConfigOutput:"standalone",userland:x,...{}}),{workAsyncStorage:E,workUnitAsyncStorage:$,serverHooks:C}=A;async function O(e,t,i){i.requestMeta&&(0,n.setRequestMeta)(e,i.requestMeta),A.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let y="/manifest.webmanifest/route";y=y.replace(/\/index$/,"")||"/";let w=await A.prepare(e,t,{srcPage:y,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==i.waitUntil||i.waitUntil.call(i,Promise.resolve()),null;let{buildId:R,params:_,nextConfig:b,parsedUrl:x,isDraftMode:E,prerenderManifest:$,routerServerContext:C,isOnDemandRevalidate:O,revalidateOnlyGenerated:T,resolvedPathname:P,clientReferenceManifest:N,serverActionsManifest:S}=w,q=(0,l.normalizeAppPath)(y),U=!!($.dynamicRoutes[q]||$.routes[P]),M=async()=>((null==C?void 0:C.render404)?await C.render404(e,t,x,!1):t.end("This page could not be found"),null);if(U&&!E){let e=!!$.routes[P],t=$.dynamicRoutes[q];if(t&&!1===t.fallback&&!e){if(b.adapterPath)return await M();throw new h.NoFallbackError}}let k=null;!U||A.isDev||E||(k="/index"===(k=P)?"/":k);let D=!0===A.isDev||!U,H=U&&!D;S&&N&&(0,a.setManifestsSingleton)({page:y,clientReferenceManifest:N,serverActionsManifest:S});let I=e.method||"GET",j=(0,o.getTracer)(),F=j.getActiveScopeSpan(),K=!!(null==C?void 0:C.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),L=(0,n.getRequestMeta)(e,"incrementalCache")||await A.getIncrementalCache(e,b,$,B);null==L||L.resetRequestCache(),globalThis.__incrementalCache=L;let G={params:_,previewProps:$.preview,renderOpts:{experimental:{authInterrupts:!!b.experimental.authInterrupts},cacheComponents:!!b.cacheComponents,supportsDynamicResponse:D,incrementalCache:L,cacheLifeProfiles:b.cacheLife,waitUntil:i.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,i,n)=>A.onRequestError(e,t,i,n,C)},sharedContext:{buildId:R}},W=new s.NodeNextRequest(e),z=new s.NodeNextResponse(t),V=d.NextRequestAdapter.fromNodeNextRequest(W,(0,d.signalFromNodeResponse)(t));try{let n,a=async e=>A.handle(V,G).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=j.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.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 i=r.get("next.route");if(i){let t=`${I} ${i}`;e.setAttributes({"next.route":i,"http.route":i,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",i),n.updateName(t))}else e.updateName(`${I} ${y}`)}),l=async n=>{var o,l;let s=async({previousCacheEntry:r})=>{try{if(!B&&O&&T&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await a(n);e.fetchMetrics=G.renderOpts.fetchMetrics;let l=G.renderOpts.pendingWaitUntil;l&&i.waitUntil&&(i.waitUntil(l),l=void 0);let s=G.renderOpts.collectedTags;if(!U)return await (0,p.sendResponse)(W,z,o,G.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,v.toNodeOutgoingHttpHeaders)(o.headers);s&&(t[m.NEXT_CACHE_TAGS_HEADER]=s),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==G.renderOpts.collectedRevalidate&&!(G.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&G.renderOpts.collectedRevalidate,i=void 0===G.renderOpts.collectedExpire||G.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:G.renderOpts.collectedExpire;return{value:{kind:g.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:i}}}}catch(t){throw(null==r?void 0:r.isStale)&&await A.onRequestError(e,t,{routerKind:"App Router",routePath:y,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:O})},!1,C),t}},d=await A.handleResponse({req:e,nextConfig:b,cacheKey:k,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:$,isRoutePPREnabled:!1,isOnDemandRevalidate:O,revalidateOnlyGenerated:T,responseGenerator:s,waitUntil:i.waitUntil,isMinimalMode:B});if(!U)return null;if((null==d||null==(o=d.value)?void 0:o.kind)!==g.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(l=d.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",O?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,v.fromNodeOutgoingHttpHeaders)(d.value.headers);return B&&U||u.delete(m.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,f.getCacheControlHeader)(d.cacheControl)),await (0,p.sendResponse)(W,z,new Response(d.value.body,{headers:u,status:d.value.status||200})),null};K&&F?await l(F):(n=j.getActiveScopeSpan(),await j.withPropagatedContext(e.headers,()=>j.trace(u.BaseServerSpan.handleRequest,{spanName:`${I} ${y}`,kind:o.SpanKind.SERVER,attributes:{"http.method":I,"http.target":e.url}},l),void 0,!K))}catch(t){if(t instanceof h.NoFallbackError||await A.onRequestError(e,t,{routerKind:"App Router",routePath:q,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:O})},!1,C),U)throw t;return await (0,p.sendResponse)(W,z,new Response(null,{status:500})),null}}e.s(["handler",0,O,"patchFetch",0,function(){return(0,i.patchFetch)({workAsyncStorage:E,workUnitAsyncStorage:$})},"routeModule",0,A,"serverHooks",0,C,"workAsyncStorage",0,E,"workUnitAsyncStorage",0,$],388041)}];
16
+ `),n+="</url>\n"}return n+"</urlset>\n"}function s(e){return JSON.stringify(e)}function d(e,t){return"robots"===t?a(e):"sitemap"===t?l(e):"manifest"===t?s(e):""}},388041,e=>{"use strict";var t=e.i(985426),r=e.i(257574),i=e.i(507835),n=e.i(457789),o=e.i(119791),a=e.i(141062),l=e.i(957291),s=e.i(535899),d=e.i(610241),u=e.i(62749),c=e.i(624891),p=e.i(725836),v=e.i(532736),f=e.i(257858),m=e.i(487476),h=e.i(193695);e.i(484264);var g=e.i(315709),y=e.i(351216),w=e.i(323588);function R(){return{name:"Wiki Viewer",short_name:"Wiki",description:"Local file browser, viewer, and editor",start_url:(0,w.apiUrl)("/"),scope:(0,w.apiUrl)("/"),display:"standalone",background_color:"#0c0a09",theme_color:"#0c0a09",icons:[{src:(0,w.apiUrl)("/icon-192.png"),sizes:"192x192",type:"image/png",purpose:"any"},{src:(0,w.apiUrl)("/icon-512.png"),sizes:"512x512",type:"image/png",purpose:"any"},{src:(0,w.apiUrl)("/icon-maskable-512.png"),sizes:"512x512",type:"image/png",purpose:"maskable"}]}}e.s(["default",0,R],407718);var _=e.i(987208);async function b(){let e=await R(),t=(0,_.resolveRouteData)(e,"manifest");return new y.NextResponse(t,{headers:{"Content-Type":"application/manifest+json","Cache-Control":"public, max-age=0, must-revalidate"}})}e.s(["GET",0,b],238813),e.i(238813),e.i(407718),e.s(["GET",0,b],589300);var x=e.i(589300);let A=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/manifest.webmanifest/route",pathname:"/manifest.webmanifest",filename:"manifest--route-entry",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/manifest--route-entry.js",nextConfigOutput:"standalone",userland:x,...{}}),{workAsyncStorage:E,workUnitAsyncStorage:$,serverHooks:C}=A;async function O(e,t,i){i.requestMeta&&(0,n.setRequestMeta)(e,i.requestMeta),A.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let y="/manifest.webmanifest/route";y=y.replace(/\/index$/,"")||"/";let w=await A.prepare(e,t,{srcPage:y,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==i.waitUntil||i.waitUntil.call(i,Promise.resolve()),null;let{buildId:R,params:_,nextConfig:b,parsedUrl:x,isDraftMode:E,prerenderManifest:$,routerServerContext:C,isOnDemandRevalidate:O,revalidateOnlyGenerated:T,resolvedPathname:P,clientReferenceManifest:N,serverActionsManifest:S}=w,q=(0,l.normalizeAppPath)(y),U=!!($.dynamicRoutes[q]||$.routes[P]),M=async()=>((null==C?void 0:C.render404)?await C.render404(e,t,x,!1):t.end("This page could not be found"),null);if(U&&!E){let e=!!$.routes[P],t=$.dynamicRoutes[q];if(t&&!1===t.fallback&&!e){if(b.adapterPath)return await M();throw new h.NoFallbackError}}let k=null;!U||A.isDev||E||(k="/index"===(k=P)?"/":k);let D=!0===A.isDev||!U,H=U&&!D;S&&N&&(0,a.setManifestsSingleton)({page:y,clientReferenceManifest:N,serverActionsManifest:S});let I=e.method||"GET",j=(0,o.getTracer)(),F=j.getActiveScopeSpan(),K=!!(null==C?void 0:C.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),L=(0,n.getRequestMeta)(e,"incrementalCache")||await A.getIncrementalCache(e,b,$,B);null==L||L.resetRequestCache(),globalThis.__incrementalCache=L;let G={params:_,previewProps:$.preview,renderOpts:{experimental:{authInterrupts:!!b.experimental.authInterrupts},cacheComponents:!!b.cacheComponents,supportsDynamicResponse:D,incrementalCache:L,cacheLifeProfiles:b.cacheLife,waitUntil:i.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,i,n)=>A.onRequestError(e,t,i,n,C)},sharedContext:{buildId:R}},W=new s.NodeNextRequest(e),z=new s.NodeNextResponse(t),V=d.NextRequestAdapter.fromNodeNextRequest(W,(0,d.signalFromNodeResponse)(t));try{let n,a=async e=>A.handle(V,G).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=j.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==u.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 i=r.get("next.route");if(i){let t=`${I} ${i}`;e.setAttributes({"next.route":i,"http.route":i,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",i),n.updateName(t))}else e.updateName(`${I} ${y}`)}),l=async n=>{var o,l;let s=async({previousCacheEntry:r})=>{try{if(!B&&O&&T&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await a(n);e.fetchMetrics=G.renderOpts.fetchMetrics;let l=G.renderOpts.pendingWaitUntil;l&&i.waitUntil&&(i.waitUntil(l),l=void 0);let s=G.renderOpts.collectedTags;if(!U)return await (0,p.sendResponse)(W,z,o,G.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,v.toNodeOutgoingHttpHeaders)(o.headers);s&&(t[m.NEXT_CACHE_TAGS_HEADER]=s),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==G.renderOpts.collectedRevalidate&&!(G.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&G.renderOpts.collectedRevalidate,i=void 0===G.renderOpts.collectedExpire||G.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:G.renderOpts.collectedExpire;return{value:{kind:g.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:i}}}}catch(t){throw(null==r?void 0:r.isStale)&&await A.onRequestError(e,t,{routerKind:"App Router",routePath:y,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:O})},!1,C),t}},d=await A.handleResponse({req:e,nextConfig:b,cacheKey:k,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:$,isRoutePPREnabled:!1,isOnDemandRevalidate:O,revalidateOnlyGenerated:T,responseGenerator:s,waitUntil:i.waitUntil,isMinimalMode:B});if(!U)return null;if((null==d||null==(o=d.value)?void 0:o.kind)!==g.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(l=d.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",O?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,v.fromNodeOutgoingHttpHeaders)(d.value.headers);return B&&U||u.delete(m.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,f.getCacheControlHeader)(d.cacheControl)),await (0,p.sendResponse)(W,z,new Response(d.value.body,{headers:u,status:d.value.status||200})),null};K&&F?await l(F):(n=j.getActiveScopeSpan(),await j.withPropagatedContext(e.headers,()=>j.trace(u.BaseServerSpan.handleRequest,{spanName:`${I} ${y}`,kind:o.SpanKind.SERVER,attributes:{"http.method":I,"http.target":e.url}},l),void 0,!K))}catch(t){if(t instanceof h.NoFallbackError||await A.onRequestError(e,t,{routerKind:"App Router",routePath:q,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:H,isOnDemandRevalidate:O})},!1,C),U)throw t;return await (0,p.sendResponse)(W,z,new Response(null,{status:500})),null}}e.s(["handler",0,O,"patchFetch",0,function(){return(0,i.patchFetch)({workAsyncStorage:E,workUnitAsyncStorage:$})},"routeModule",0,A,"serverHooks",0,C,"workAsyncStorage",0,E,"workUnitAsyncStorage",0,$],388041)}];
17
17
 
18
18
  //# sourceMappingURL=0.u4_next_dist_0k.q4j~._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[649853,e=>{"use strict";var t=e.i(985426),a=e.i(257574),r=e.i(507835),o=e.i(457789),i=e.i(119791),s=e.i(141062),n=e.i(957291),l=e.i(535899),d=e.i(610241),p=e.i(62749),c=e.i(624891),h=e.i(725836),u=e.i(532736),w=e.i(257858),m=e.i(135288),g=e.i(193695);e.i(484264);var v=e.i(315709),f=e.i(351216),k=e.i(912714),R=e.i(750227);async function b(){try{let e=await (0,k.readFile)(R.default.resolve(process.cwd(),"package.json"),"utf-8");return JSON.parse(e).version??"0.0.0"}catch{return"0.0.0"}}async function E(e){let t,a,r=await b(),o=(t=e.headers.get("x-forwarded-proto")??(e.url.startsWith("https")?"https":"http"),a=e.headers.get("x-forwarded-host")??e.headers.get("host")??new URL(e.url).host,`${t}://${a}`),i=(e.headers.get("host")??"").replace(/:[0-9]+$/,"").replace(/^\[(.*)\]$/,"$1").toLowerCase(),s="localhost"===i||"127.0.0.1"===i||"::1"===i,n=(process.env.WIKI_OWNER_HOSTS??"").split(",").map(e=>e.trim().toLowerCase()).filter(Boolean),l=s||n.includes(i);return f.NextResponse.json({name:"wiki-viewer",version:r,endpoint:o,humanInstructions:"Open the wiki-viewer AI Panel (Bot icon in header). Register the agent, then approve it in the Pending Registrations list. The agent receives a one-shot token.",ownerBootstrap:{hostnameSeen:i,ownerHostTrusted:l,hint:l?"This host is trusted for owner cookie issuance. Open the AI Panel in a browser and approve pending registrations.":`This host (${i}) is not in the owner-trust allowlist, so the AI Panel cannot bootstrap an owner cookie. Restart the server with WIKI_OWNER_HOSTS=${i} or access via localhost.`},bootstrapPrompt:"You are connecting to a running wiki-viewer instance at $WIKI_URL (e.g. `http://localhost:3000`). Fetch `$WIKI_URL/api/agents/install` and follow the instructions there to register, wait for human approval, then work with files via its HTTP API. Fast path: when running directly on the wiki-viewer host, include the header `X-Service-Token: <contents of ~/.wiki-viewer/service-token>` on the register POST — registration auto-approves and the response carries your bearer token immediately (no approval wait).\n\n**Two tiers — pick by `X-Collab-State`:**\n\n- **Tier 1 Raw FS** (`/api/agent/fs/*`) — all file types, fast read/write/ls/search. Use for code, binaries, and markdown that isn't being actively co-edited.\n- **Tier 2 Collab** (`/api/agent/files/*.md`) — block-scoped clean-markdown writes with revision/idempotency protection; activity feed provides provenance. Use when `X-Collab-State: active`.\n\n**Mode rule:** Every file read returns `X-Collab-State`. If `active` → use Tier-2 block-ops so the human can review. Otherwise → use Tier-1 raw fs. A raw write to an `active` .md is rejected 409 `COLLAB_ACTIVE` with the Tier-2 URL.\n\n**Workspaces:** this instance may serve several root directories. Send `X-Workspace: <workspaceId>` (or `?ws=<id>`) on every request to target one; omit it only on a single-workspace instance (the server falls back to the default). Ask the human for the workspace id or read it from the `?ws=` param of the URL they shared. A token may be pinned to one workspace — a mismatched workspace returns 403.\n\nTier-2 content ops write markdown with revision/idempotency checks. Legacy `basis`, `basisDetail`, and `inResponseTo` fields are accepted but ignored for backward compatibility. `suggestion.add` writes an inline `<ins data-id>` or `<del data-id>` mark into the document; the mark is the record and there is no sidecar suggestion or agent settle operation. Use direct block ops when the change should apply immediately.\n\nMCP-capable agents: `npx wiki-viewer-mcp` (set `WIKI_VIEWER_URL`, `WIKI_VIEWER_TOKEN`, `WIKI_VIEWER_AGENT_ID`, and optionally `WIKI_VIEWER_WORKSPACE` to target a workspace) gives native **Tier-1 file tools** (read/write/edit/list/search/move/delete) and refuses to overwrite an `active` doc. It has **no Tier-2 collab tools** — to co-write a doc with comments or reviewable suggestion marks, call the Tier-2 HTTP endpoints directly. MCP = fast filework; Tier-2 HTTP = reviewable collaboration.\n",skillTarball:"/api/agents/skill.tar.gz",skillRaw:"/api/agents/skill",skillCli:"npx skills add anh-chu/wiki-viewer/agents/wiki-viewer-skill",routes:[{method:"POST",path:"/api/agent/register",auth:"none",purpose:"Register an agent"},{method:"GET",path:"/api/agent/register/<regId>",auth:"none",purpose:"Poll registration status"},{method:"GET",path:"/api/agent/files/<path>.md",auth:"bearer+agent-id",purpose:"Read markdown snapshot (block-ops tier)"},{method:"POST",path:"/api/agent/files/<path>.md",auth:"bearer+agent-id",purpose:"Apply block-ops"},{method:"GET",path:"/api/agent/events/<path>.md",auth:"bearer+agent-id",purpose:"Poll events"},{method:"POST",path:"/api/agent/events/<path>.md",auth:"bearer+agent-id",purpose:"Ack events"},{method:"GET",path:"/api/agent/fs/file/<path>",auth:"bearer+agent-id",purpose:"Read file bytes. Supports Range. Returns ETag (sha256), X-File-Size, X-File-Mtime, X-Collab-State."},{method:"PUT",path:"/api/agent/fs/file/<path>",auth:"bearer+agent-id",purpose:"Atomic whole-file write. If-Match required for overwrites; omit for creates. ?mkdirs=true creates parents. ?force=true bypasses If-Match (audited)."},{method:"DELETE",path:"/api/agent/fs/file/<path>",auth:"bearer+agent-id",purpose:"Delete file (+ sidecar for .md). Requires If-Match + delete scope op. ?recursive=true for directories."},{method:"GET",path:"/api/agent/fs/ls/<path>",auth:"bearer+agent-id",purpose:"Directory listing. ?recursive&limit&depth. Scope-filtered. Excludes .proof/."},{method:"POST",path:"/api/agent/fs/move",auth:"bearer+agent-id",purpose:"Move/rename. Body: {from, to, ifMatch?}. Moves .md sidecar too."},{method:"POST",path:"/api/agent/fs/search",auth:"bearer+agent-id",purpose:"Server-side grep or glob. Body: {kind:'grep'|'glob', query, path?, glob?, limit?}."},{method:"GET",path:"/api/agent/settings",auth:"bearer+agent-id",purpose:"Returns rateLimit + resolved 'root' (the active workspace's directory for the X-Workspace you send)."},{method:"POST",path:"/api/wiki/presence",auth:"session",purpose:"Human editor lease heartbeat. Body: {path, action:'open'|'heartbeat'|'close'}."}],workspaces:{description:"This instance can serve multiple root directories ('workspaces'). Every agent path is relative to ONE workspace root.",header:"X-Workspace: <workspaceId>",queryParam:"ws=<workspaceId>",default:"If omitted, the server resolves to the most-recently-opened workspace. Correct for single-workspace instances; be explicit when several exist.",discoverId:"Ask the human for the workspace id, read it from the ?ws= param of a pasted wiki-viewer URL, or call GET /api/agent/settings (with X-Workspace) to confirm the resolved 'root'.",scoped:"A token may be pinned to one workspace (scope.workspaceId at approval). Requests resolving to a different workspace return 403 FORBIDDEN. A token with no pin is wildcard (any workspace).",isolation:"Paths in one workspace never touch another, even with identical relative paths."},capabilities:{maxFileBytes:5e7,supportsRange:!0,ifMatchRequired:!0,forceBypass:!0,search:["grep","glob"],globDialect:"**,*,?",scopeOps:["read","mutate","delete"],scopeWorkspaceId:!0,workspaceHeader:"X-Workspace",collabStates:["active","tracked","untracked","not-markdown"],collabPrecondition:"If-Collab-Match"},modes:{rule:"Before editing a .md file, read it and check the X-Collab-State response header. If 'active', use block-ops (Tier 2) at the X-Collab-Snapshot URL so a human can review your changes. If 'tracked', prefer block-ops for semantic/prose edits; use raw fs only for mechanical/whole-file ops (reformat, regenerate). If 'untracked', raw fs is fine (a Tier-2 edit would create a sidecar). For non-markdown files, always use raw fs (Tier 2 does not apply). A raw PUT to an active .md is rejected 409 COLLAB_ACTIVE with the Tier-2 URL — switch to block-ops.",collabStateHeaders:["X-Collab-State: active|tracked|untracked|not-markdown","X-Collab-Revision: <n>","X-Collab-Snapshot: /api/agent/files/<path>.md"],tiers:{tier1:"Raw FS — /api/agent/fs/* — all file types, fast, light audit (ETag/sha256, file.rawWritten event, audit table).",tier2:"Collab — /api/agent/files/*.md — markdown only, block-scoped writes with revision checks, comments, and inline suggestion marks. Suggestion marks are document content in the .md source; provenance lands in the activity feed/audit log."}},mcpAdapter:{package:"wiki-viewer-mcp",invoke:"npx wiki-viewer-mcp",env:["WIKI_VIEWER_URL","WIKI_VIEWER_TOKEN","WIKI_VIEWER_AGENT_ID","WIKI_VIEWER_WORKSPACE","WIKI_VIEWER_SERVICE_TOKEN"],description:"Thin MCP adapter mapping standard MCP filesystem tools onto these endpoints. Set WIKI_VIEWER_WORKSPACE to target a specific workspace (sends X-Workspace on every call). Its register command auto-approves when WIKI_VIEWER_SERVICE_TOKEN is set (or ~/.wiki-viewer/service-token is readable). Reads X-Collab-State and blocks or warns on raw writes to active .md files."},ops:["block.replace","block.insertAfter","block.insertBefore","block.delete","block.append","block.prepend","comment.add","comment.reply","comment.edit","comment.delete","comment.resolve","comment.reopen","suggestion.add"]})}e.s(["GET",0,E,"runtime",0,"nodejs"],352957);var I=e.i(352957);let T=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/agents/install/route",pathname:"/api/agents/install",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/agents/install/route.ts",nextConfigOutput:"standalone",userland:I,...{}}),{workAsyncStorage:y,workUnitAsyncStorage:C,serverHooks:S}=T;async function A(e,t,r){r.requestMeta&&(0,o.setRequestMeta)(e,r.requestMeta),T.isDev&&(0,o.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let f="/api/agents/install/route";f=f.replace(/\/index$/,"")||"/";let k=await T.prepare(e,t,{srcPage:f,multiZoneDraftMode:!1});if(!k)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:R,params:b,nextConfig:E,parsedUrl:I,isDraftMode:y,prerenderManifest:C,routerServerContext:S,isOnDemandRevalidate:A,revalidateOnlyGenerated:_,resolvedPathname:P,clientReferenceManifest:O,serverActionsManifest:W}=k,x=(0,n.normalizeAppPath)(f),N=!!(C.dynamicRoutes[x]||C.routes[P]),U=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,I,!1):t.end("This page could not be found"),null);if(N&&!y){let e=!!C.routes[P],t=C.dynamicRoutes[x];if(t&&!1===t.fallback&&!e){if(E.adapterPath)return await U();throw new g.NoFallbackError}}let K=null;!N||T.isDev||y||(K="/index"===(K=P)?"/":K);let M=!0===T.isDev||!N,q=N&&!M;W&&O&&(0,s.setManifestsSingleton)({page:f,clientReferenceManifest:O,serverActionsManifest:W});let H=e.method||"GET",L=(0,i.getTracer)(),D=L.getActiveScopeSpan(),X=!!(null==S?void 0:S.isWrappedByNextServer),B=!!(0,o.getRequestMeta)(e,"minimalMode"),F=(0,o.getRequestMeta)(e,"incrementalCache")||await T.getIncrementalCache(e,E,C,B);null==F||F.resetRequestCache(),globalThis.__incrementalCache=F;let V={params:b,previewProps:C.preview,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts},cacheComponents:!!E.cacheComponents,supportsDynamicResponse:M,incrementalCache:F,cacheLifeProfiles:E.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,o)=>T.onRequestError(e,t,r,o,S)},sharedContext:{buildId:R}},$=new l.NodeNextRequest(e),G=new l.NodeNextResponse(t),j=d.NextRequestAdapter.fromNodeNextRequest($,(0,d.signalFromNodeResponse)(t));try{let o,s=async e=>T.handle(j,V).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let a=L.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==p.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=`${H} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t),o&&o!==e&&(o.setAttribute("http.route",r),o.updateName(t))}else e.updateName(`${H} ${f}`)}),n=async o=>{var i,n;let l=async({previousCacheEntry:a})=>{try{if(!B&&A&&_&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await s(o);e.fetchMetrics=V.renderOpts.fetchMetrics;let n=V.renderOpts.pendingWaitUntil;n&&r.waitUntil&&(r.waitUntil(n),n=void 0);let l=V.renderOpts.collectedTags;if(!N)return await (0,h.sendResponse)($,G,i,V.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,u.toNodeOutgoingHttpHeaders)(i.headers);l&&(t[m.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,r=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:V.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await T.onRequestError(e,t,{routerKind:"App Router",routePath:f,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:A})},!1,S),t}},d=await T.handleResponse({req:e,nextConfig:E,cacheKey:K,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:_,responseGenerator:l,waitUntil:r.waitUntil,isMinimalMode:B});if(!N)return null;if((null==d||null==(i=d.value)?void 0:i.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(n=d.value)?void 0:n.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",A?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),y&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let p=(0,u.fromNodeOutgoingHttpHeaders)(d.value.headers);return B&&N||p.delete(m.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||p.get("Cache-Control")||p.set("Cache-Control",(0,w.getCacheControlHeader)(d.cacheControl)),await (0,h.sendResponse)($,G,new Response(d.value.body,{headers:p,status:d.value.status||200})),null};X&&D?await n(D):(o=L.getActiveScopeSpan(),await L.withPropagatedContext(e.headers,()=>L.trace(p.BaseServerSpan.handleRequest,{spanName:`${H} ${f}`,kind:i.SpanKind.SERVER,attributes:{"http.method":H,"http.target":e.url}},n),void 0,!X))}catch(t){if(t instanceof g.NoFallbackError||await T.onRequestError(e,t,{routerKind:"App Router",routePath:x,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:A})},!1,S),N)throw t;return await (0,h.sendResponse)($,G,new Response(null,{status:500})),null}}e.s(["handler",0,A,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:y,workUnitAsyncStorage:C})},"routeModule",0,T,"serverHooks",0,S,"workAsyncStorage",0,y,"workUnitAsyncStorage",0,C],649853)}];
1
+ module.exports=[649853,e=>{"use strict";var t=e.i(985426),a=e.i(257574),r=e.i(507835),o=e.i(457789),i=e.i(119791),s=e.i(141062),n=e.i(957291),l=e.i(535899),d=e.i(610241),p=e.i(62749),c=e.i(624891),h=e.i(725836),u=e.i(532736),w=e.i(257858),m=e.i(487476),g=e.i(193695);e.i(484264);var v=e.i(315709),f=e.i(351216),k=e.i(912714),R=e.i(750227);async function b(){try{let e=await (0,k.readFile)(R.default.resolve(process.cwd(),"package.json"),"utf-8");return JSON.parse(e).version??"0.0.0"}catch{return"0.0.0"}}async function E(e){let t,a,r=await b(),o=(t=e.headers.get("x-forwarded-proto")??(e.url.startsWith("https")?"https":"http"),a=e.headers.get("x-forwarded-host")??e.headers.get("host")??new URL(e.url).host,`${t}://${a}`),i=(e.headers.get("host")??"").replace(/:[0-9]+$/,"").replace(/^\[(.*)\]$/,"$1").toLowerCase(),s="localhost"===i||"127.0.0.1"===i||"::1"===i,n=(process.env.WIKI_OWNER_HOSTS??"").split(",").map(e=>e.trim().toLowerCase()).filter(Boolean),l=s||n.includes(i);return f.NextResponse.json({name:"wiki-viewer",version:r,endpoint:o,humanInstructions:"Open the wiki-viewer AI Panel (Bot icon in header). Register the agent, then approve it in the Pending Registrations list. The agent receives a one-shot token.",ownerBootstrap:{hostnameSeen:i,ownerHostTrusted:l,hint:l?"This host is trusted for owner cookie issuance. Open the AI Panel in a browser and approve pending registrations.":`This host (${i}) is not in the owner-trust allowlist, so the AI Panel cannot bootstrap an owner cookie. Restart the server with WIKI_OWNER_HOSTS=${i} or access via localhost.`},bootstrapPrompt:"You are connecting to a running wiki-viewer instance at $WIKI_URL (e.g. `http://localhost:3000`). Fetch `$WIKI_URL/api/agents/install` and follow the instructions there to register, wait for human approval, then work with files via its HTTP API. Fast path: when running directly on the wiki-viewer host, include the header `X-Service-Token: <contents of ~/.wiki-viewer/service-token>` on the register POST — registration auto-approves and the response carries your bearer token immediately (no approval wait).\n\n**Two tiers — pick by `X-Collab-State`:**\n\n- **Tier 1 Raw FS** (`/api/agent/fs/*`) — all file types, fast read/write/ls/search. Use for code, binaries, and markdown that isn't being actively co-edited.\n- **Tier 2 Collab** (`/api/agent/files/*.md`) — block-scoped clean-markdown writes with revision/idempotency protection; activity feed provides provenance. Use when `X-Collab-State: active`.\n\n**Mode rule:** Every file read returns `X-Collab-State`. If `active` → use Tier-2 block-ops so the human can review. Otherwise → use Tier-1 raw fs. A raw write to an `active` .md is rejected 409 `COLLAB_ACTIVE` with the Tier-2 URL.\n\n**Workspaces:** this instance may serve several root directories. Send `X-Workspace: <workspaceId>` (or `?ws=<id>`) on every request to target one; omit it only on a single-workspace instance (the server falls back to the default). Ask the human for the workspace id or read it from the `?ws=` param of the URL they shared. A token may be pinned to one workspace — a mismatched workspace returns 403.\n\nTier-2 content ops write markdown with revision/idempotency checks. Legacy `basis`, `basisDetail`, and `inResponseTo` fields are accepted but ignored for backward compatibility. `suggestion.add` writes an inline `<ins data-id>` or `<del data-id>` mark into the document; the mark is the record and there is no sidecar suggestion or agent settle operation. Use direct block ops when the change should apply immediately.\n\nMCP-capable agents: `npx wiki-viewer-mcp` (set `WIKI_VIEWER_URL`, `WIKI_VIEWER_TOKEN`, `WIKI_VIEWER_AGENT_ID`, and optionally `WIKI_VIEWER_WORKSPACE` to target a workspace) gives native **Tier-1 file tools** (read/write/edit/list/search/move/delete) and refuses to overwrite an `active` doc. It has **no Tier-2 collab tools** — to co-write a doc with comments or reviewable suggestion marks, call the Tier-2 HTTP endpoints directly. MCP = fast filework; Tier-2 HTTP = reviewable collaboration.\n",skillTarball:"/api/agents/skill.tar.gz",skillRaw:"/api/agents/skill",skillCli:"npx skills add anh-chu/wiki-viewer/agents/wiki-viewer-skill",routes:[{method:"POST",path:"/api/agent/register",auth:"none",purpose:"Register an agent"},{method:"GET",path:"/api/agent/register/<regId>",auth:"none",purpose:"Poll registration status"},{method:"GET",path:"/api/agent/files/<path>.md",auth:"bearer+agent-id",purpose:"Read markdown snapshot (block-ops tier)"},{method:"POST",path:"/api/agent/files/<path>.md",auth:"bearer+agent-id",purpose:"Apply block-ops"},{method:"GET",path:"/api/agent/events/<path>.md",auth:"bearer+agent-id",purpose:"Poll events"},{method:"POST",path:"/api/agent/events/<path>.md",auth:"bearer+agent-id",purpose:"Ack events"},{method:"GET",path:"/api/agent/fs/file/<path>",auth:"bearer+agent-id",purpose:"Read file bytes. Supports Range. Returns ETag (sha256), X-File-Size, X-File-Mtime, X-Collab-State."},{method:"PUT",path:"/api/agent/fs/file/<path>",auth:"bearer+agent-id",purpose:"Atomic whole-file write. If-Match required for overwrites; omit for creates. ?mkdirs=true creates parents. ?force=true bypasses If-Match (audited)."},{method:"DELETE",path:"/api/agent/fs/file/<path>",auth:"bearer+agent-id",purpose:"Delete file (+ sidecar for .md). Requires If-Match + delete scope op. ?recursive=true for directories."},{method:"GET",path:"/api/agent/fs/ls/<path>",auth:"bearer+agent-id",purpose:"Directory listing. ?recursive&limit&depth. Scope-filtered. Excludes .proof/."},{method:"POST",path:"/api/agent/fs/move",auth:"bearer+agent-id",purpose:"Move/rename. Body: {from, to, ifMatch?}. Moves .md sidecar too."},{method:"POST",path:"/api/agent/fs/search",auth:"bearer+agent-id",purpose:"Server-side grep or glob. Body: {kind:'grep'|'glob', query, path?, glob?, limit?}."},{method:"GET",path:"/api/agent/settings",auth:"bearer+agent-id",purpose:"Returns rateLimit + resolved 'root' (the active workspace's directory for the X-Workspace you send)."},{method:"POST",path:"/api/wiki/presence",auth:"session",purpose:"Human editor lease heartbeat. Body: {path, action:'open'|'heartbeat'|'close'}."}],workspaces:{description:"This instance can serve multiple root directories ('workspaces'). Every agent path is relative to ONE workspace root.",header:"X-Workspace: <workspaceId>",queryParam:"ws=<workspaceId>",default:"If omitted, the server resolves to the most-recently-opened workspace. Correct for single-workspace instances; be explicit when several exist.",discoverId:"Ask the human for the workspace id, read it from the ?ws= param of a pasted wiki-viewer URL, or call GET /api/agent/settings (with X-Workspace) to confirm the resolved 'root'.",scoped:"A token may be pinned to one workspace (scope.workspaceId at approval). Requests resolving to a different workspace return 403 FORBIDDEN. A token with no pin is wildcard (any workspace).",isolation:"Paths in one workspace never touch another, even with identical relative paths."},capabilities:{maxFileBytes:5e7,supportsRange:!0,ifMatchRequired:!0,forceBypass:!0,search:["grep","glob"],globDialect:"**,*,?",scopeOps:["read","mutate","delete"],scopeWorkspaceId:!0,workspaceHeader:"X-Workspace",collabStates:["active","tracked","untracked","not-markdown"],collabPrecondition:"If-Collab-Match"},modes:{rule:"Before editing a .md file, read it and check the X-Collab-State response header. If 'active', use block-ops (Tier 2) at the X-Collab-Snapshot URL so a human can review your changes. If 'tracked', prefer block-ops for semantic/prose edits; use raw fs only for mechanical/whole-file ops (reformat, regenerate). If 'untracked', raw fs is fine (a Tier-2 edit would create a sidecar). For non-markdown files, always use raw fs (Tier 2 does not apply). A raw PUT to an active .md is rejected 409 COLLAB_ACTIVE with the Tier-2 URL — switch to block-ops.",collabStateHeaders:["X-Collab-State: active|tracked|untracked|not-markdown","X-Collab-Revision: <n>","X-Collab-Snapshot: /api/agent/files/<path>.md"],tiers:{tier1:"Raw FS — /api/agent/fs/* — all file types, fast, light audit (ETag/sha256, file.rawWritten event, audit table).",tier2:"Collab — /api/agent/files/*.md — markdown only, block-scoped writes with revision checks, comments, and inline suggestion marks. Suggestion marks are document content in the .md source; provenance lands in the activity feed/audit log."}},mcpAdapter:{package:"wiki-viewer-mcp",invoke:"npx wiki-viewer-mcp",env:["WIKI_VIEWER_URL","WIKI_VIEWER_TOKEN","WIKI_VIEWER_AGENT_ID","WIKI_VIEWER_WORKSPACE","WIKI_VIEWER_SERVICE_TOKEN"],description:"Thin MCP adapter mapping standard MCP filesystem tools onto these endpoints. Set WIKI_VIEWER_WORKSPACE to target a specific workspace (sends X-Workspace on every call). Its register command auto-approves when WIKI_VIEWER_SERVICE_TOKEN is set (or ~/.wiki-viewer/service-token is readable). Reads X-Collab-State and blocks or warns on raw writes to active .md files."},ops:["block.replace","block.insertAfter","block.insertBefore","block.delete","block.append","block.prepend","comment.add","comment.reply","comment.edit","comment.delete","comment.resolve","comment.reopen","suggestion.add"]})}e.s(["GET",0,E,"runtime",0,"nodejs"],352957);var I=e.i(352957);let T=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/agents/install/route",pathname:"/api/agents/install",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/agents/install/route.ts",nextConfigOutput:"standalone",userland:I,...{}}),{workAsyncStorage:y,workUnitAsyncStorage:C,serverHooks:S}=T;async function A(e,t,r){r.requestMeta&&(0,o.setRequestMeta)(e,r.requestMeta),T.isDev&&(0,o.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let f="/api/agents/install/route";f=f.replace(/\/index$/,"")||"/";let k=await T.prepare(e,t,{srcPage:f,multiZoneDraftMode:!1});if(!k)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:R,params:b,nextConfig:E,parsedUrl:I,isDraftMode:y,prerenderManifest:C,routerServerContext:S,isOnDemandRevalidate:A,revalidateOnlyGenerated:_,resolvedPathname:P,clientReferenceManifest:O,serverActionsManifest:W}=k,x=(0,n.normalizeAppPath)(f),N=!!(C.dynamicRoutes[x]||C.routes[P]),U=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,I,!1):t.end("This page could not be found"),null);if(N&&!y){let e=!!C.routes[P],t=C.dynamicRoutes[x];if(t&&!1===t.fallback&&!e){if(E.adapterPath)return await U();throw new g.NoFallbackError}}let K=null;!N||T.isDev||y||(K="/index"===(K=P)?"/":K);let M=!0===T.isDev||!N,q=N&&!M;W&&O&&(0,s.setManifestsSingleton)({page:f,clientReferenceManifest:O,serverActionsManifest:W});let H=e.method||"GET",L=(0,i.getTracer)(),D=L.getActiveScopeSpan(),X=!!(null==S?void 0:S.isWrappedByNextServer),B=!!(0,o.getRequestMeta)(e,"minimalMode"),F=(0,o.getRequestMeta)(e,"incrementalCache")||await T.getIncrementalCache(e,E,C,B);null==F||F.resetRequestCache(),globalThis.__incrementalCache=F;let V={params:b,previewProps:C.preview,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts},cacheComponents:!!E.cacheComponents,supportsDynamicResponse:M,incrementalCache:F,cacheLifeProfiles:E.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,o)=>T.onRequestError(e,t,r,o,S)},sharedContext:{buildId:R}},$=new l.NodeNextRequest(e),G=new l.NodeNextResponse(t),j=d.NextRequestAdapter.fromNodeNextRequest($,(0,d.signalFromNodeResponse)(t));try{let o,s=async e=>T.handle(j,V).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let a=L.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==p.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=`${H} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t),o&&o!==e&&(o.setAttribute("http.route",r),o.updateName(t))}else e.updateName(`${H} ${f}`)}),n=async o=>{var i,n;let l=async({previousCacheEntry:a})=>{try{if(!B&&A&&_&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await s(o);e.fetchMetrics=V.renderOpts.fetchMetrics;let n=V.renderOpts.pendingWaitUntil;n&&r.waitUntil&&(r.waitUntil(n),n=void 0);let l=V.renderOpts.collectedTags;if(!N)return await (0,h.sendResponse)($,G,i,V.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,u.toNodeOutgoingHttpHeaders)(i.headers);l&&(t[m.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,r=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:V.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await T.onRequestError(e,t,{routerKind:"App Router",routePath:f,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:A})},!1,S),t}},d=await T.handleResponse({req:e,nextConfig:E,cacheKey:K,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:_,responseGenerator:l,waitUntil:r.waitUntil,isMinimalMode:B});if(!N)return null;if((null==d||null==(i=d.value)?void 0:i.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(n=d.value)?void 0:n.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",A?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),y&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let p=(0,u.fromNodeOutgoingHttpHeaders)(d.value.headers);return B&&N||p.delete(m.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||p.get("Cache-Control")||p.set("Cache-Control",(0,w.getCacheControlHeader)(d.cacheControl)),await (0,h.sendResponse)($,G,new Response(d.value.body,{headers:p,status:d.value.status||200})),null};X&&D?await n(D):(o=L.getActiveScopeSpan(),await L.withPropagatedContext(e.headers,()=>L.trace(p.BaseServerSpan.handleRequest,{spanName:`${H} ${f}`,kind:i.SpanKind.SERVER,attributes:{"http.method":H,"http.target":e.url}},n),void 0,!X))}catch(t){if(t instanceof g.NoFallbackError||await T.onRequestError(e,t,{routerKind:"App Router",routePath:x,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:q,isOnDemandRevalidate:A})},!1,S),N)throw t;return await (0,h.sendResponse)($,G,new Response(null,{status:500})),null}}e.s(["handler",0,A,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:y,workUnitAsyncStorage:C})},"routeModule",0,T,"serverHooks",0,S,"workAsyncStorage",0,y,"workUnitAsyncStorage",0,C],649853)}];
2
2
 
3
3
  //# sourceMappingURL=0.u4_next_dist_esm_build_templates_app-route_0.4w~2_.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[213049,e=>{"use strict";var t=e.i(985426),r=e.i(257574),a=e.i(507835),n=e.i(457789),s=e.i(119791),i=e.i(141062),o=e.i(957291),l=e.i(535899),u=e.i(610241),d=e.i(62749),c=e.i(624891),p=e.i(725836),h=e.i(532736),f=e.i(257858),R=e.i(135288),v=e.i(193695);e.i(484264);var w=e.i(315709),m=e.i(666680),g=e.i(912714),x=e.i(750227),E=e.i(351216),N=e.i(402662),S=e.i(660038),y=e.i(536654),b=e.i(307764),k=e.i(716234),C=e.i(832852),A=e.i(973909),j=e.i(794776),I=e.i(206536),T=e.i(605),_=e.i(980976),P=e.i(752673);let O=new Set(["txt","md","markdown","json","yaml","yml","toml","csv","tsv","xml","html","css","js","ts","tsx","jsx","sh","bash","zsh","rb","py","go","rs","java","c","cpp","h","php","swift","kt","lua","sql","scss","mmd","mermaid","excalidraw","ini","env","log","conf"]),F=new Set(["md","markdown"]);function M(e){return`File too large (max ${Math.round(e/1048576)}MB)`}function D(e){let t=e.split(".").pop()?.toLowerCase()??"";return O.has(t)}function U(e){let t=e.split(".").pop()?.toLowerCase()??"";return F.has(t)}function q(e){return"excalidraw"===(e.split(".").pop()?.toLowerCase()??"")}function H(e){return"sha256:"+(0,m.createHash)("sha256").update(e,"utf8").digest("hex")}async function L(e){let t=await (0,S.resolveWorkspaceForUser)(e);if(!t.ok)return E.NextResponse.json({error:t.code},{status:t.status});let{rootDir:r}=t,{searchParams:a}=new URL(e.url),n=a.get("path")??"",s=await (0,y.resolveWorkspacePath)(r,n,{deniedSegments:k.DENIED_SEGMENTS});if(!s)return E.NextResponse.json({error:"Invalid path"},{status:400});let i=s.absolutePath;if(!D(x.default.basename(i)))return E.NextResponse.json({error:"Not a text file"},{status:400});try{var o;let e=await (0,g.readFile)(i),t=(o=x.default.basename(i),q(o)?0xa00000:1048576);if(e.length>t)return E.NextResponse.json({error:M(t)},{status:413});let a=e.toString("utf-8"),s={};if(q(x.default.basename(i))&&(s["X-Wiki-Sha256"]=H(a)),U(x.default.basename(i))){let e=await (0,A.readSidecar)(r,n);e&&(s["X-Wiki-Revision"]=String(e.revision),s["X-Wiki-Fingerprint"]=e.fingerprint)}return E.NextResponse.json({content:a},{headers:s})}catch{return E.NextResponse.json({error:"File not found"},{status:404})}}async function B(e){let t=(0,N.checkOrigin)(e);if(t)return t;let r=await (0,S.resolveWorkspaceForUser)(e,"write");if(!r.ok)return E.NextResponse.json({error:r.code},{status:r.status});let{rootDir:a}=r,n=await e.json(),s=n.path,i=n.content;if(!s||"string"!=typeof s)return E.NextResponse.json({error:"Invalid path"},{status:400});if("string"!=typeof i)return E.NextResponse.json({error:"Missing content"},{status:400});let o=await (0,y.resolveWorkspacePath)(a,s,{allowMissing:!0,deniedSegments:k.DENIED_SEGMENTS});if(!o)return E.NextResponse.json({error:"Invalid path"},{status:400});let l=o.absolutePath;if(!D(x.default.basename(l)))return E.NextResponse.json({error:"Not a text file"},{status:400});if(q(x.default.basename(l)))return(0,C.withFileMutex)((0,C.workspaceLockKey)(a,s),async()=>{if("string"!=typeof n.baseSha)return E.NextResponse.json({error:"BASE_SHA_REQUIRED",message:"baseSha is required when saving canvas files."},{status:400});if(Buffer.byteLength(i,"utf8")>0xa00000)return E.NextResponse.json({error:M(0xa00000)},{status:413});let e=null;try{e=await (0,g.readFile)(l,"utf-8")}catch{}let t=null===e?null:H(e);if(n.baseSha!==t)return E.NextResponse.json({error:"STALE_SHA",currentSha:t,message:"File was modified since your last read. Reload and retry."},{status:409});try{await (0,g.mkdir)(x.default.dirname(l),{recursive:!0}),await (0,g.writeFile)(l,i,"utf-8")}catch{return E.NextResponse.json({error:"Failed to save"},{status:500})}return E.NextResponse.json({ok:!0,sha:H(i)})});if(!U(x.default.basename(l)))try{return await (0,g.mkdir)(x.default.dirname(l),{recursive:!0}),await (0,g.writeFile)(l,i,"utf-8"),E.NextResponse.json({ok:!0})}catch{return E.NextResponse.json({error:"Failed to save"},{status:500})}return(0,C.withFileMutex)((0,C.workspaceLockKey)(a,s),async()=>{let e=await (0,A.readSidecar)(a,s)??(0,A.emptySidecar)(s);if(void 0===n.baseRevision||"number"!=typeof n.baseRevision)return E.NextResponse.json({error:"BASE_REVISION_REQUIRED",message:"baseRevision is required when saving markdown files."},{status:400});if(n.baseRevision!==e.revision)return E.NextResponse.json({error:"STALE_REVISION",currentRevision:e.revision,message:"File was modified since your last read. Reload and retry."},{status:409});try{let t=await (0,g.readFile)(l,"utf-8"),{blocks:r}=(0,P.assignRefs)((0,_.parseBlocks)(t),e),a=(0,T.migrateSidecar)(e,r);a.changed&&Object.assign(e,a.sidecar)}catch{}try{await (0,g.mkdir)(x.default.dirname(l),{recursive:!0}),await (0,g.writeFile)(l,i,"utf-8")}catch{return E.NextResponse.json({error:"Failed to save"},{status:500})}let t=e.revision+1;return e.revision=t,e.fingerprint=H(i),e.updatedAt=new Date().toISOString(),(0,I.reconcileRefsAndCancelOrphans)(e,i),(0,b.emitEvents)(e,[{type:"file.edited",at:new Date().toISOString(),by:`user:${r.userId}`,revision:t}]),(0,b.trimEvents)(e,j.SIDECAR_EVENT_TRIM_SIZE),await (0,A.writeSidecar)(a,s,e),E.NextResponse.json({ok:!0,revision:t})})}e.s(["GET",0,L,"PUT",0,B],400832);var $=e.i(400832);let K=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/wiki/content/route",pathname:"/api/wiki/content",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/wiki/content/route.ts",nextConfigOutput:"standalone",userland:$,...{}}),{workAsyncStorage:W,workUnitAsyncStorage:G,serverHooks:V}=K;async function X(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),K.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let m="/api/wiki/content/route";m=m.replace(/\/index$/,"")||"/";let g=await K.prepare(e,t,{srcPage:m,multiZoneDraftMode:!1});if(!g)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:x,params:E,nextConfig:N,parsedUrl:S,isDraftMode:y,prerenderManifest:b,routerServerContext:k,isOnDemandRevalidate:C,revalidateOnlyGenerated:A,resolvedPathname:j,clientReferenceManifest:I,serverActionsManifest:T}=g,_=(0,o.normalizeAppPath)(m),P=!!(b.dynamicRoutes[_]||b.routes[j]),O=async()=>((null==k?void 0:k.render404)?await k.render404(e,t,S,!1):t.end("This page could not be found"),null);if(P&&!y){let e=!!b.routes[j],t=b.dynamicRoutes[_];if(t&&!1===t.fallback&&!e){if(N.adapterPath)return await O();throw new v.NoFallbackError}}let F=null;!P||K.isDev||y||(F="/index"===(F=j)?"/":F);let M=!0===K.isDev||!P,D=P&&!M;T&&I&&(0,i.setManifestsSingleton)({page:m,clientReferenceManifest:I,serverActionsManifest:T});let U=e.method||"GET",q=(0,s.getTracer)(),H=q.getActiveScopeSpan(),L=!!(null==k?void 0:k.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),$=(0,n.getRequestMeta)(e,"incrementalCache")||await K.getIncrementalCache(e,N,b,B);null==$||$.resetRequestCache(),globalThis.__incrementalCache=$;let W={params:E,previewProps:b.preview,renderOpts:{experimental:{authInterrupts:!!N.experimental.authInterrupts},cacheComponents:!!N.cacheComponents,supportsDynamicResponse:M,incrementalCache:$,cacheLifeProfiles:N.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>K.onRequestError(e,t,a,n,k)},sharedContext:{buildId:x}},G=new l.NodeNextRequest(e),V=new l.NodeNextResponse(t),X=u.NextRequestAdapter.fromNodeNextRequest(G,(0,u.signalFromNodeResponse)(t));try{let n,i=async e=>K.handle(X,W).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=q.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 a=r.get("next.route");if(a){let t=`${U} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",a),n.updateName(t))}else e.updateName(`${U} ${m}`)}),o=async n=>{var s,o;let l=async({previousCacheEntry:r})=>{try{if(!B&&C&&A&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await i(n);e.fetchMetrics=W.renderOpts.fetchMetrics;let o=W.renderOpts.pendingWaitUntil;o&&a.waitUntil&&(a.waitUntil(o),o=void 0);let l=W.renderOpts.collectedTags;if(!P)return await (0,p.sendResponse)(G,V,s,W.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(s.headers);l&&(t[R.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==W.renderOpts.collectedRevalidate&&!(W.renderOpts.collectedRevalidate>=R.INFINITE_CACHE)&&W.renderOpts.collectedRevalidate,a=void 0===W.renderOpts.collectedExpire||W.renderOpts.collectedExpire>=R.INFINITE_CACHE?void 0:W.renderOpts.collectedExpire;return{value:{kind:w.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await K.onRequestError(e,t,{routerKind:"App Router",routePath:m,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:C})},!1,k),t}},u=await K.handleResponse({req:e,nextConfig:N,cacheKey:F,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:b,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:A,responseGenerator:l,waitUntil:a.waitUntil,isMinimalMode:B});if(!P)return null;if((null==u||null==(s=u.value)?void 0:s.kind)!==w.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(o=u.value)?void 0:o.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",C?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),y&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let d=(0,h.fromNodeOutgoingHttpHeaders)(u.value.headers);return B&&P||d.delete(R.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||d.get("Cache-Control")||d.set("Cache-Control",(0,f.getCacheControlHeader)(u.cacheControl)),await (0,p.sendResponse)(G,V,new Response(u.value.body,{headers:d,status:u.value.status||200})),null};L&&H?await o(H):(n=q.getActiveScopeSpan(),await q.withPropagatedContext(e.headers,()=>q.trace(d.BaseServerSpan.handleRequest,{spanName:`${U} ${m}`,kind:s.SpanKind.SERVER,attributes:{"http.method":U,"http.target":e.url}},o),void 0,!L))}catch(t){if(t instanceof v.NoFallbackError||await K.onRequestError(e,t,{routerKind:"App Router",routePath:_,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:C})},!1,k),P)throw t;return await (0,p.sendResponse)(G,V,new Response(null,{status:500})),null}}e.s(["handler",0,X,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:W,workUnitAsyncStorage:G})},"routeModule",0,K,"serverHooks",0,V,"workAsyncStorage",0,W,"workUnitAsyncStorage",0,G],213049)}];
1
+ module.exports=[213049,e=>{"use strict";var t=e.i(985426),r=e.i(257574),a=e.i(507835),n=e.i(457789),s=e.i(119791),i=e.i(141062),o=e.i(957291),l=e.i(535899),u=e.i(610241),d=e.i(62749),c=e.i(624891),p=e.i(725836),h=e.i(532736),f=e.i(257858),R=e.i(487476),v=e.i(193695);e.i(484264);var w=e.i(315709),m=e.i(666680),g=e.i(912714),x=e.i(750227),E=e.i(351216),N=e.i(402662),S=e.i(660038),y=e.i(536654),b=e.i(307764),k=e.i(716234),C=e.i(832852),A=e.i(973909),j=e.i(794776),I=e.i(206536),T=e.i(605),_=e.i(980976),P=e.i(752673);let O=new Set(["txt","md","markdown","json","yaml","yml","toml","csv","tsv","xml","html","css","js","ts","tsx","jsx","sh","bash","zsh","rb","py","go","rs","java","c","cpp","h","php","swift","kt","lua","sql","scss","mmd","mermaid","excalidraw","ini","env","log","conf"]),F=new Set(["md","markdown"]);function M(e){return`File too large (max ${Math.round(e/1048576)}MB)`}function D(e){let t=e.split(".").pop()?.toLowerCase()??"";return O.has(t)}function U(e){let t=e.split(".").pop()?.toLowerCase()??"";return F.has(t)}function q(e){return"excalidraw"===(e.split(".").pop()?.toLowerCase()??"")}function H(e){return"sha256:"+(0,m.createHash)("sha256").update(e,"utf8").digest("hex")}async function L(e){let t=await (0,S.resolveWorkspaceForUser)(e);if(!t.ok)return E.NextResponse.json({error:t.code},{status:t.status});let{rootDir:r}=t,{searchParams:a}=new URL(e.url),n=a.get("path")??"",s=await (0,y.resolveWorkspacePath)(r,n,{deniedSegments:k.DENIED_SEGMENTS});if(!s)return E.NextResponse.json({error:"Invalid path"},{status:400});let i=s.absolutePath;if(!D(x.default.basename(i)))return E.NextResponse.json({error:"Not a text file"},{status:400});try{var o;let e=await (0,g.readFile)(i),t=(o=x.default.basename(i),q(o)?0xa00000:1048576);if(e.length>t)return E.NextResponse.json({error:M(t)},{status:413});let a=e.toString("utf-8"),s={};if(q(x.default.basename(i))&&(s["X-Wiki-Sha256"]=H(a)),U(x.default.basename(i))){let e=await (0,A.readSidecar)(r,n);e&&(s["X-Wiki-Revision"]=String(e.revision),s["X-Wiki-Fingerprint"]=e.fingerprint)}return E.NextResponse.json({content:a},{headers:s})}catch{return E.NextResponse.json({error:"File not found"},{status:404})}}async function B(e){let t=(0,N.checkOrigin)(e);if(t)return t;let r=await (0,S.resolveWorkspaceForUser)(e,"write");if(!r.ok)return E.NextResponse.json({error:r.code},{status:r.status});let{rootDir:a}=r,n=await e.json(),s=n.path,i=n.content;if(!s||"string"!=typeof s)return E.NextResponse.json({error:"Invalid path"},{status:400});if("string"!=typeof i)return E.NextResponse.json({error:"Missing content"},{status:400});let o=await (0,y.resolveWorkspacePath)(a,s,{allowMissing:!0,deniedSegments:k.DENIED_SEGMENTS});if(!o)return E.NextResponse.json({error:"Invalid path"},{status:400});let l=o.absolutePath;if(!D(x.default.basename(l)))return E.NextResponse.json({error:"Not a text file"},{status:400});if(q(x.default.basename(l)))return(0,C.withFileMutex)((0,C.workspaceLockKey)(a,s),async()=>{if("string"!=typeof n.baseSha)return E.NextResponse.json({error:"BASE_SHA_REQUIRED",message:"baseSha is required when saving canvas files."},{status:400});if(Buffer.byteLength(i,"utf8")>0xa00000)return E.NextResponse.json({error:M(0xa00000)},{status:413});let e=null;try{e=await (0,g.readFile)(l,"utf-8")}catch{}let t=null===e?null:H(e);if(n.baseSha!==t)return E.NextResponse.json({error:"STALE_SHA",currentSha:t,message:"File was modified since your last read. Reload and retry."},{status:409});try{await (0,g.mkdir)(x.default.dirname(l),{recursive:!0}),await (0,g.writeFile)(l,i,"utf-8")}catch{return E.NextResponse.json({error:"Failed to save"},{status:500})}return E.NextResponse.json({ok:!0,sha:H(i)})});if(!U(x.default.basename(l)))try{return await (0,g.mkdir)(x.default.dirname(l),{recursive:!0}),await (0,g.writeFile)(l,i,"utf-8"),E.NextResponse.json({ok:!0})}catch{return E.NextResponse.json({error:"Failed to save"},{status:500})}return(0,C.withFileMutex)((0,C.workspaceLockKey)(a,s),async()=>{let e=await (0,A.readSidecar)(a,s)??(0,A.emptySidecar)(s);if(void 0===n.baseRevision||"number"!=typeof n.baseRevision)return E.NextResponse.json({error:"BASE_REVISION_REQUIRED",message:"baseRevision is required when saving markdown files."},{status:400});if(n.baseRevision!==e.revision)return E.NextResponse.json({error:"STALE_REVISION",currentRevision:e.revision,message:"File was modified since your last read. Reload and retry."},{status:409});try{let t=await (0,g.readFile)(l,"utf-8"),{blocks:r}=(0,P.assignRefs)((0,_.parseBlocks)(t),e),a=(0,T.migrateSidecar)(e,r);a.changed&&Object.assign(e,a.sidecar)}catch{}try{await (0,g.mkdir)(x.default.dirname(l),{recursive:!0}),await (0,g.writeFile)(l,i,"utf-8")}catch{return E.NextResponse.json({error:"Failed to save"},{status:500})}let t=e.revision+1;return e.revision=t,e.fingerprint=H(i),e.updatedAt=new Date().toISOString(),(0,I.reconcileRefsAndCancelOrphans)(e,i),(0,b.emitEvents)(e,[{type:"file.edited",at:new Date().toISOString(),by:`user:${r.userId}`,revision:t}]),(0,b.trimEvents)(e,j.SIDECAR_EVENT_TRIM_SIZE),await (0,A.writeSidecar)(a,s,e),E.NextResponse.json({ok:!0,revision:t})})}e.s(["GET",0,L,"PUT",0,B],400832);var $=e.i(400832);let K=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/wiki/content/route",pathname:"/api/wiki/content",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/wiki/content/route.ts",nextConfigOutput:"standalone",userland:$,...{}}),{workAsyncStorage:W,workUnitAsyncStorage:G,serverHooks:V}=K;async function X(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),K.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let m="/api/wiki/content/route";m=m.replace(/\/index$/,"")||"/";let g=await K.prepare(e,t,{srcPage:m,multiZoneDraftMode:!1});if(!g)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:x,params:E,nextConfig:N,parsedUrl:S,isDraftMode:y,prerenderManifest:b,routerServerContext:k,isOnDemandRevalidate:C,revalidateOnlyGenerated:A,resolvedPathname:j,clientReferenceManifest:I,serverActionsManifest:T}=g,_=(0,o.normalizeAppPath)(m),P=!!(b.dynamicRoutes[_]||b.routes[j]),O=async()=>((null==k?void 0:k.render404)?await k.render404(e,t,S,!1):t.end("This page could not be found"),null);if(P&&!y){let e=!!b.routes[j],t=b.dynamicRoutes[_];if(t&&!1===t.fallback&&!e){if(N.adapterPath)return await O();throw new v.NoFallbackError}}let F=null;!P||K.isDev||y||(F="/index"===(F=j)?"/":F);let M=!0===K.isDev||!P,D=P&&!M;T&&I&&(0,i.setManifestsSingleton)({page:m,clientReferenceManifest:I,serverActionsManifest:T});let U=e.method||"GET",q=(0,s.getTracer)(),H=q.getActiveScopeSpan(),L=!!(null==k?void 0:k.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),$=(0,n.getRequestMeta)(e,"incrementalCache")||await K.getIncrementalCache(e,N,b,B);null==$||$.resetRequestCache(),globalThis.__incrementalCache=$;let W={params:E,previewProps:b.preview,renderOpts:{experimental:{authInterrupts:!!N.experimental.authInterrupts},cacheComponents:!!N.cacheComponents,supportsDynamicResponse:M,incrementalCache:$,cacheLifeProfiles:N.cacheLife,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>K.onRequestError(e,t,a,n,k)},sharedContext:{buildId:x}},G=new l.NodeNextRequest(e),V=new l.NodeNextResponse(t),X=u.NextRequestAdapter.fromNodeNextRequest(G,(0,u.signalFromNodeResponse)(t));try{let n,i=async e=>K.handle(X,W).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=q.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 a=r.get("next.route");if(a){let t=`${U} ${a}`;e.setAttributes({"next.route":a,"http.route":a,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",a),n.updateName(t))}else e.updateName(`${U} ${m}`)}),o=async n=>{var s,o;let l=async({previousCacheEntry:r})=>{try{if(!B&&C&&A&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let s=await i(n);e.fetchMetrics=W.renderOpts.fetchMetrics;let o=W.renderOpts.pendingWaitUntil;o&&a.waitUntil&&(a.waitUntil(o),o=void 0);let l=W.renderOpts.collectedTags;if(!P)return await (0,p.sendResponse)(G,V,s,W.renderOpts.pendingWaitUntil),null;{let e=await s.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(s.headers);l&&(t[R.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==W.renderOpts.collectedRevalidate&&!(W.renderOpts.collectedRevalidate>=R.INFINITE_CACHE)&&W.renderOpts.collectedRevalidate,a=void 0===W.renderOpts.collectedExpire||W.renderOpts.collectedExpire>=R.INFINITE_CACHE?void 0:W.renderOpts.collectedExpire;return{value:{kind:w.CachedRouteKind.APP_ROUTE,status:s.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await K.onRequestError(e,t,{routerKind:"App Router",routePath:m,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:C})},!1,k),t}},u=await K.handleResponse({req:e,nextConfig:N,cacheKey:F,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:b,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:A,responseGenerator:l,waitUntil:a.waitUntil,isMinimalMode:B});if(!P)return null;if((null==u||null==(s=u.value)?void 0:s.kind)!==w.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==u||null==(o=u.value)?void 0:o.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",C?"REVALIDATED":u.isMiss?"MISS":u.isStale?"STALE":"HIT"),y&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let d=(0,h.fromNodeOutgoingHttpHeaders)(u.value.headers);return B&&P||d.delete(R.NEXT_CACHE_TAGS_HEADER),!u.cacheControl||t.getHeader("Cache-Control")||d.get("Cache-Control")||d.set("Cache-Control",(0,f.getCacheControlHeader)(u.cacheControl)),await (0,p.sendResponse)(G,V,new Response(u.value.body,{headers:d,status:u.value.status||200})),null};L&&H?await o(H):(n=q.getActiveScopeSpan(),await q.withPropagatedContext(e.headers,()=>q.trace(d.BaseServerSpan.handleRequest,{spanName:`${U} ${m}`,kind:s.SpanKind.SERVER,attributes:{"http.method":U,"http.target":e.url}},o),void 0,!L))}catch(t){if(t instanceof v.NoFallbackError||await K.onRequestError(e,t,{routerKind:"App Router",routePath:_,routeType:"route",revalidateReason:(0,c.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:C})},!1,k),P)throw t;return await (0,p.sendResponse)(G,V,new Response(null,{status:500})),null}}e.s(["handler",0,X,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:W,workUnitAsyncStorage:G})},"routeModule",0,K,"serverHooks",0,V,"workAsyncStorage",0,W,"workUnitAsyncStorage",0,G],213049)}];
2
2
 
3
3
  //# sourceMappingURL=0.u4_next_dist_esm_build_templates_app-route_024r~hj.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[609011,e=>{"use strict";var t=e.i(985426),a=e.i(257574),r=e.i(507835),n=e.i(457789),i=e.i(119791),o=e.i(141062),s=e.i(957291),l=e.i(535899),c=e.i(610241),u=e.i(62749),d=e.i(624891),p=e.i(725836),h=e.i(532736),f=e.i(257858),w=e.i(135288),g=e.i(193695);e.i(484264);var R=e.i(315709),m=e.i(912714),A=e.i(351216),N=e.i(215043),I=e.i(660038),E=e.i(359211),v=e.i(832852),y=e.i(973909),O=e.i(206536),x=e.i(670910),P=e.i(719126),T=e.i(400053);function C(e){return e.join("/")}function S(e,t,a){return A.NextResponse.json({error:e,message:t},{status:a})}async function k(e,{params:t}){let a,r,n=await (0,N.checkAuth)(e);if(!n.ok)return S("UNAUTHORIZED",n.message??"Unauthorized",401);let{path:i}=await t,o=C(i),s=await (0,I.resolveWorkspaceForAgent)(e);if(!s.ok)return S(s.code,s.code,s.status);let{ws:l,rootDir:c}=s;if(!(0,E.safeWorkspacePath)(c,o))return S("INVALID_PATH","Path traversal rejected",400);let u=await (0,P.safeAbsPath)(c,o);if(!u)return S("INVALID_PATH","Path rejected (symlink escape or denied)",400);let d=(0,N.enforceScope)(n.agent,{filePath:o,op:"read",workspaceId:l.id});if(!d.ok)return S(d.code,d.message,403);try{[a,r]=await Promise.all([(0,m.readFile)(u),(0,m.stat)(u)])}catch(e){if("ENOENT"===e.code)return S("NOT_FOUND","File not found",404);throw e}if(r.isDirectory())return S("IS_DIRECTORY","Path is a directory; use /api/agent/fs/ls/",400);let p=(0,P.sha256ofBuf)(a),h={ETag:`"${p}"`,"X-File-Size":String(r.size),"X-File-Mtime":r.mtime.toISOString(),"Content-Type":(0,P.mimeByExt)(o),"Accept-Ranges":"bytes"},f=await (0,T.computeCollabState)(c,o);"not-markdown"!==f.state?(h["X-Collab-State"]=f.state,h["X-Collab-Revision"]=String(f.revision),h["X-Collab-Snapshot"]=f.snapshotUrl):h["X-Collab-State"]=f.state;let w=e.headers.get("range");if(w){let e=/^bytes=(\d+)-(\d*)$/.exec(w);if(!e)return new A.NextResponse("Invalid Range header",{status:416});let t=parseInt(e[1],10),r=e[2]?parseInt(e[2],10):a.length-1;if(t>r||t>=a.length)return new A.NextResponse(null,{status:416,headers:{"Content-Range":`bytes */${a.length}`}});let n=Math.min(r,a.length-1),i=a.slice(t,n+1);return new A.NextResponse(i,{status:206,headers:{...h,"Content-Range":`bytes ${t}-${n}/${a.length}`,"Content-Length":String(i.length)}})}return new A.NextResponse(a,{status:200,headers:{...h,"Content-Length":String(a.length)}})}async function D(e,t,a){let r=await (0,N.checkAuth)(e);if(!r.ok)return S("UNAUTHORIZED",r.message??"Unauthorized",401);let n=await (0,I.resolveWorkspaceForAgent)(e,"write");if(!n.ok)return S(n.code,n.code,n.status);let{ws:i,rootDir:o}=n,s=C(t),l=new URL(e.url),c="true"===l.searchParams.get("mkdirs"),u="true"===l.searchParams.get("force");if(!(0,E.safeWorkspacePath)(o,s))return S("INVALID_PATH","Path traversal rejected",400);let d=await (0,P.safeAbsPath)(o,s);if(!d)return S("INVALID_PATH","Path rejected (symlink escape or denied)",400);let p=(0,N.enforceScope)(r.agent,{filePath:s,op:"mutate",workspaceId:i.id});if(!p.ok)return S(p.code,p.message,403);let h=e.headers.get("if-match"),f=e.headers.get("if-collab-match"),w=async()=>{let e,t=null;try{t=await (0,m.readFile)(d),e=(0,P.sha256ofBuf)(t)}catch(e){if("ENOENT"!==e.code)throw e}let n=null!==t;if(n){if(!u&&!h)return S("PRECONDITION_REQUIRED","If-Match header required for overwrites (use ?force=true to bypass with audit)",412);if(h&&(0,P.extractShaHex)(h)!==(0,P.extractShaHex)(e))return S("PRECONDITION_FAILED","If-Match sha256 mismatch",412)}else{if(!a.allowCreate)return S("NOT_FOUND","File not found",404);if(!await (0,P.ensureParentDir)(d,c))return S("PARENT_NOT_FOUND","Parent directory does not exist (use ?mkdirs=true to create)",400)}if((0,P.isMarkdown)(s)){let{state:e,revision:t,snapshotUrl:a}=await (0,T.computeCollabState)(o,s);if("active"===e){let e=f?.trim();if(!u&&(!e||e!==String(t)))return A.NextResponse.json({error:"COLLAB_ACTIVE",message:"File is in active collaborative session. Use block-ops (Tier-2) or supply a matching If-Collab-Match header. Use ?force=true to override (audited).",snapshotUrl:a,revision:t},{status:409})}}let l=a.computeNewBody(t);if(l instanceof A.NextResponse)return l;let p=(0,P.sha256ofBuf)(l);if(await (0,P.atomicWrite)(d,l),(0,P.isMarkdown)(s)){let e=l.toString("utf-8"),t=await (0,y.readSidecar)(o,s)??(0,y.emptySidecar)(s);await (0,O.reconcileSidecar)({rootDir:o,mdPath:s,content:e,sidecar:t,by:r.agent.id,eventType:"file.rawWritten",fingerprint:p})}(0,x.writeAuditRow)({agentId:r.agent.id,op:a.op,path:s,oldSha:e,newSha:p,forced:u,workspaceId:i.id});let w=await (0,m.stat)(d);return A.NextResponse.json({path:s,sha256:p,size:w.size,mtime:w.mtime.toISOString(),created:!n})};return(0,P.isMarkdown)(s)?(0,v.withFileMutex)((0,v.workspaceLockKey)(o,s),w):w()}async function b(e,{params:t}){let{path:a}=await t,r=Buffer.from(await e.arrayBuffer());return D(e,a,{op:"put",allowCreate:!0,computeNewBody:()=>r})}async function _(e,{params:t}){let a,{path:r}=await t;try{a=await e.json()}catch{return S("INVALID_PAYLOAD","Body must be JSON {find, replace, expectedOccurrences?}",400)}let n=a.find,i=a.replace;if("string"!=typeof n||"string"!=typeof i)return S("INVALID_PAYLOAD","find and replace must be strings",400);if(0===n.length)return S("INVALID_PAYLOAD","find must not be empty",400);if(n.length>1e6||i.length>1e6)return S("PAYLOAD_TOO_LARGE","find/replace exceeds 1MB limit",413);let o=1;if(void 0!==a.expectedOccurrences){if("number"!=typeof a.expectedOccurrences||!Number.isInteger(a.expectedOccurrences)||a.expectedOccurrences<1)return S("INVALID_PAYLOAD","expectedOccurrences must be a positive integer",400);o=a.expectedOccurrences}return D(e,r,{op:"patch",allowCreate:!1,computeNewBody:e=>{let t;if(null===e)return S("NOT_FOUND","File not found",404);if((0,P.looksLikeBinary)(e))return S("UNSUPPORTED","Cannot patch binary / non-text file",415);try{t=new TextDecoder("utf-8",{fatal:!0}).decode(e)}catch{return S("UNSUPPORTED","File is not valid UTF-8",415)}let a=0,r=t.indexOf(n);for(;-1!==r;)a++,r=t.indexOf(n,r+n.length);return a!==o?A.NextResponse.json({error:"MATCH_COUNT_MISMATCH",message:`Expected ${o} occurrence(s) of find, found ${a}. Re-read the file or adjust expectedOccurrences.`,found:a,expected:o},{status:422}):Buffer.from(t.split(n).join(i),"utf-8")}})}async function U(e,{params:t}){let a,r=await (0,N.checkAuth)(e);if(!r.ok)return S("UNAUTHORIZED",r.message??"Unauthorized",401);let{path:n}=await t,i=C(n),o="true"===new URL(e.url).searchParams.get("recursive"),s=await (0,I.resolveWorkspaceForAgent)(e,"write");if(!s.ok)return S(s.code,s.code,s.status);let{ws:l,rootDir:c}=s;if(!(0,E.safeWorkspacePath)(c,i))return S("INVALID_PATH","Path traversal rejected",400);let u=await (0,P.safeAbsPath)(c,i);if(!u)return S("INVALID_PATH","Path rejected (symlink escape or denied)",400);let d=(0,N.enforceScope)(r.agent,{filePath:i,op:"delete",workspaceId:l.id});if(!d.ok)return S(d.code,d.message,403);let p=e.headers.get("if-match");try{a=await (0,m.stat)(u)}catch(e){if("ENOENT"===e.code)return S("NOT_FOUND","File not found",404);throw e}if(a.isDirectory())return o?(await (0,m.rm)(u,{recursive:!0,force:!0}),(0,x.writeAuditRow)({agentId:r.agent.id,op:"delete",path:i,forced:!1,workspaceId:l.id}),A.NextResponse.json({deleted:i})):S("IS_DIRECTORY","Use ?recursive=true to delete a directory",400);if(!p)return S("PRECONDITION_REQUIRED","If-Match header required for delete",412);let h=await (0,m.readFile)(u),f=(0,P.sha256ofBuf)(h);return(0,P.extractShaHex)(p)!==(0,P.extractShaHex)(f)?S("PRECONDITION_FAILED","If-Match sha256 mismatch",412):((0,P.isMarkdown)(i)?await (0,v.withFileMutex)((0,v.workspaceLockKey)(c,i),async()=>{await (0,m.unlink)(u),await (0,y.deleteSidecar)(c,i)}):await (0,m.unlink)(u),(0,x.writeAuditRow)({agentId:r.agent.id,op:"delete",path:i,oldSha:f,forced:!1,workspaceId:l.id}),A.NextResponse.json({deleted:i}))}e.s(["DELETE",0,U,"GET",0,k,"PATCH",0,_,"PUT",0,b,"runtime",0,"nodejs"],884551);var H=e.i(884551);let L=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/agent/fs/file/[...path]/route",pathname:"/api/agent/fs/file/[...path]",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/agent/fs/file/[...path]/route.ts",nextConfigOutput:"standalone",userland:H,...{}}),{workAsyncStorage:F,workUnitAsyncStorage:M,serverHooks:j}=L;async function B(e,t,r){r.requestMeta&&(0,n.setRequestMeta)(e,r.requestMeta),L.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let m="/api/agent/fs/file/[...path]/route";m=m.replace(/\/index$/,"")||"/";let A=await L.prepare(e,t,{srcPage:m,multiZoneDraftMode:!1});if(!A)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:N,params:I,nextConfig:E,parsedUrl:v,isDraftMode:y,prerenderManifest:O,routerServerContext:x,isOnDemandRevalidate:P,revalidateOnlyGenerated:T,resolvedPathname:C,clientReferenceManifest:S,serverActionsManifest:k}=A,D=(0,s.normalizeAppPath)(m),b=!!(O.dynamicRoutes[D]||O.routes[C]),_=async()=>((null==x?void 0:x.render404)?await x.render404(e,t,v,!1):t.end("This page could not be found"),null);if(b&&!y){let e=!!O.routes[C],t=O.dynamicRoutes[D];if(t&&!1===t.fallback&&!e){if(E.adapterPath)return await _();throw new g.NoFallbackError}}let U=null;!b||L.isDev||y||(U="/index"===(U=C)?"/":U);let H=!0===L.isDev||!b,F=b&&!H;k&&S&&(0,o.setManifestsSingleton)({page:m,clientReferenceManifest:S,serverActionsManifest:k});let M=e.method||"GET",j=(0,i.getTracer)(),B=j.getActiveScopeSpan(),q=!!(null==x?void 0:x.isWrappedByNextServer),$=!!(0,n.getRequestMeta)(e,"minimalMode"),V=(0,n.getRequestMeta)(e,"incrementalCache")||await L.getIncrementalCache(e,E,O,$);null==V||V.resetRequestCache(),globalThis.__incrementalCache=V;let W={params:I,previewProps:O.preview,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts},cacheComponents:!!E.cacheComponents,supportsDynamicResponse:H,incrementalCache:V,cacheLifeProfiles:E.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,n)=>L.onRequestError(e,t,r,n,x)},sharedContext:{buildId:N}},K=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),z=c.NextRequestAdapter.fromNodeNextRequest(K,(0,c.signalFromNodeResponse)(t));try{let n,o=async e=>L.handle(z,W).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let a=j.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==u.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=`${M} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",r),n.updateName(t))}else e.updateName(`${M} ${m}`)}),s=async n=>{var i,s;let l=async({previousCacheEntry:a})=>{try{if(!$&&P&&T&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await o(n);e.fetchMetrics=W.renderOpts.fetchMetrics;let s=W.renderOpts.pendingWaitUntil;s&&r.waitUntil&&(r.waitUntil(s),s=void 0);let l=W.renderOpts.collectedTags;if(!b)return await (0,p.sendResponse)(K,X,i,W.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(i.headers);l&&(t[w.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==W.renderOpts.collectedRevalidate&&!(W.renderOpts.collectedRevalidate>=w.INFINITE_CACHE)&&W.renderOpts.collectedRevalidate,r=void 0===W.renderOpts.collectedExpire||W.renderOpts.collectedExpire>=w.INFINITE_CACHE?void 0:W.renderOpts.collectedExpire;return{value:{kind:R.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await L.onRequestError(e,t,{routerKind:"App Router",routePath:m,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:P})},!1,x),t}},c=await L.handleResponse({req:e,nextConfig:E,cacheKey:U,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:O,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:T,responseGenerator:l,waitUntil:r.waitUntil,isMinimalMode:$});if(!b)return null;if((null==c||null==(i=c.value)?void 0:i.kind)!==R.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==c||null==(s=c.value)?void 0:s.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});$||t.setHeader("x-nextjs-cache",P?"REVALIDATED":c.isMiss?"MISS":c.isStale?"STALE":"HIT"),y&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,h.fromNodeOutgoingHttpHeaders)(c.value.headers);return $&&b||u.delete(w.NEXT_CACHE_TAGS_HEADER),!c.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,f.getCacheControlHeader)(c.cacheControl)),await (0,p.sendResponse)(K,X,new Response(c.value.body,{headers:u,status:c.value.status||200})),null};q&&B?await s(B):(n=j.getActiveScopeSpan(),await j.withPropagatedContext(e.headers,()=>j.trace(u.BaseServerSpan.handleRequest,{spanName:`${M} ${m}`,kind:i.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},s),void 0,!q))}catch(t){if(t instanceof g.NoFallbackError||await L.onRequestError(e,t,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:P})},!1,x),b)throw t;return await (0,p.sendResponse)(K,X,new Response(null,{status:500})),null}}e.s(["handler",0,B,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:F,workUnitAsyncStorage:M})},"routeModule",0,L,"serverHooks",0,j,"workAsyncStorage",0,F,"workUnitAsyncStorage",0,M],609011)}];
1
+ module.exports=[609011,e=>{"use strict";var t=e.i(985426),a=e.i(257574),r=e.i(507835),n=e.i(457789),i=e.i(119791),o=e.i(141062),s=e.i(957291),l=e.i(535899),c=e.i(610241),u=e.i(62749),d=e.i(624891),p=e.i(725836),h=e.i(532736),f=e.i(257858),w=e.i(487476),g=e.i(193695);e.i(484264);var R=e.i(315709),m=e.i(912714),A=e.i(351216),N=e.i(215043),I=e.i(660038),E=e.i(359211),v=e.i(832852),y=e.i(973909),O=e.i(206536),x=e.i(670910),P=e.i(719126),T=e.i(400053);function C(e){return e.join("/")}function S(e,t,a){return A.NextResponse.json({error:e,message:t},{status:a})}async function k(e,{params:t}){let a,r,n=await (0,N.checkAuth)(e);if(!n.ok)return S("UNAUTHORIZED",n.message??"Unauthorized",401);let{path:i}=await t,o=C(i),s=await (0,I.resolveWorkspaceForAgent)(e);if(!s.ok)return S(s.code,s.code,s.status);let{ws:l,rootDir:c}=s;if(!(0,E.safeWorkspacePath)(c,o))return S("INVALID_PATH","Path traversal rejected",400);let u=await (0,P.safeAbsPath)(c,o);if(!u)return S("INVALID_PATH","Path rejected (symlink escape or denied)",400);let d=(0,N.enforceScope)(n.agent,{filePath:o,op:"read",workspaceId:l.id});if(!d.ok)return S(d.code,d.message,403);try{[a,r]=await Promise.all([(0,m.readFile)(u),(0,m.stat)(u)])}catch(e){if("ENOENT"===e.code)return S("NOT_FOUND","File not found",404);throw e}if(r.isDirectory())return S("IS_DIRECTORY","Path is a directory; use /api/agent/fs/ls/",400);let p=(0,P.sha256ofBuf)(a),h={ETag:`"${p}"`,"X-File-Size":String(r.size),"X-File-Mtime":r.mtime.toISOString(),"Content-Type":(0,P.mimeByExt)(o),"Accept-Ranges":"bytes"},f=await (0,T.computeCollabState)(c,o);"not-markdown"!==f.state?(h["X-Collab-State"]=f.state,h["X-Collab-Revision"]=String(f.revision),h["X-Collab-Snapshot"]=f.snapshotUrl):h["X-Collab-State"]=f.state;let w=e.headers.get("range");if(w){let e=/^bytes=(\d+)-(\d*)$/.exec(w);if(!e)return new A.NextResponse("Invalid Range header",{status:416});let t=parseInt(e[1],10),r=e[2]?parseInt(e[2],10):a.length-1;if(t>r||t>=a.length)return new A.NextResponse(null,{status:416,headers:{"Content-Range":`bytes */${a.length}`}});let n=Math.min(r,a.length-1),i=a.slice(t,n+1);return new A.NextResponse(i,{status:206,headers:{...h,"Content-Range":`bytes ${t}-${n}/${a.length}`,"Content-Length":String(i.length)}})}return new A.NextResponse(a,{status:200,headers:{...h,"Content-Length":String(a.length)}})}async function D(e,t,a){let r=await (0,N.checkAuth)(e);if(!r.ok)return S("UNAUTHORIZED",r.message??"Unauthorized",401);let n=await (0,I.resolveWorkspaceForAgent)(e,"write");if(!n.ok)return S(n.code,n.code,n.status);let{ws:i,rootDir:o}=n,s=C(t),l=new URL(e.url),c="true"===l.searchParams.get("mkdirs"),u="true"===l.searchParams.get("force");if(!(0,E.safeWorkspacePath)(o,s))return S("INVALID_PATH","Path traversal rejected",400);let d=await (0,P.safeAbsPath)(o,s);if(!d)return S("INVALID_PATH","Path rejected (symlink escape or denied)",400);let p=(0,N.enforceScope)(r.agent,{filePath:s,op:"mutate",workspaceId:i.id});if(!p.ok)return S(p.code,p.message,403);let h=e.headers.get("if-match"),f=e.headers.get("if-collab-match"),w=async()=>{let e,t=null;try{t=await (0,m.readFile)(d),e=(0,P.sha256ofBuf)(t)}catch(e){if("ENOENT"!==e.code)throw e}let n=null!==t;if(n){if(!u&&!h)return S("PRECONDITION_REQUIRED","If-Match header required for overwrites (use ?force=true to bypass with audit)",412);if(h&&(0,P.extractShaHex)(h)!==(0,P.extractShaHex)(e))return S("PRECONDITION_FAILED","If-Match sha256 mismatch",412)}else{if(!a.allowCreate)return S("NOT_FOUND","File not found",404);if(!await (0,P.ensureParentDir)(d,c))return S("PARENT_NOT_FOUND","Parent directory does not exist (use ?mkdirs=true to create)",400)}if((0,P.isMarkdown)(s)){let{state:e,revision:t,snapshotUrl:a}=await (0,T.computeCollabState)(o,s);if("active"===e){let e=f?.trim();if(!u&&(!e||e!==String(t)))return A.NextResponse.json({error:"COLLAB_ACTIVE",message:"File is in active collaborative session. Use block-ops (Tier-2) or supply a matching If-Collab-Match header. Use ?force=true to override (audited).",snapshotUrl:a,revision:t},{status:409})}}let l=a.computeNewBody(t);if(l instanceof A.NextResponse)return l;let p=(0,P.sha256ofBuf)(l);if(await (0,P.atomicWrite)(d,l),(0,P.isMarkdown)(s)){let e=l.toString("utf-8"),t=await (0,y.readSidecar)(o,s)??(0,y.emptySidecar)(s);await (0,O.reconcileSidecar)({rootDir:o,mdPath:s,content:e,sidecar:t,by:r.agent.id,eventType:"file.rawWritten",fingerprint:p})}(0,x.writeAuditRow)({agentId:r.agent.id,op:a.op,path:s,oldSha:e,newSha:p,forced:u,workspaceId:i.id});let w=await (0,m.stat)(d);return A.NextResponse.json({path:s,sha256:p,size:w.size,mtime:w.mtime.toISOString(),created:!n})};return(0,P.isMarkdown)(s)?(0,v.withFileMutex)((0,v.workspaceLockKey)(o,s),w):w()}async function b(e,{params:t}){let{path:a}=await t,r=Buffer.from(await e.arrayBuffer());return D(e,a,{op:"put",allowCreate:!0,computeNewBody:()=>r})}async function _(e,{params:t}){let a,{path:r}=await t;try{a=await e.json()}catch{return S("INVALID_PAYLOAD","Body must be JSON {find, replace, expectedOccurrences?}",400)}let n=a.find,i=a.replace;if("string"!=typeof n||"string"!=typeof i)return S("INVALID_PAYLOAD","find and replace must be strings",400);if(0===n.length)return S("INVALID_PAYLOAD","find must not be empty",400);if(n.length>1e6||i.length>1e6)return S("PAYLOAD_TOO_LARGE","find/replace exceeds 1MB limit",413);let o=1;if(void 0!==a.expectedOccurrences){if("number"!=typeof a.expectedOccurrences||!Number.isInteger(a.expectedOccurrences)||a.expectedOccurrences<1)return S("INVALID_PAYLOAD","expectedOccurrences must be a positive integer",400);o=a.expectedOccurrences}return D(e,r,{op:"patch",allowCreate:!1,computeNewBody:e=>{let t;if(null===e)return S("NOT_FOUND","File not found",404);if((0,P.looksLikeBinary)(e))return S("UNSUPPORTED","Cannot patch binary / non-text file",415);try{t=new TextDecoder("utf-8",{fatal:!0}).decode(e)}catch{return S("UNSUPPORTED","File is not valid UTF-8",415)}let a=0,r=t.indexOf(n);for(;-1!==r;)a++,r=t.indexOf(n,r+n.length);return a!==o?A.NextResponse.json({error:"MATCH_COUNT_MISMATCH",message:`Expected ${o} occurrence(s) of find, found ${a}. Re-read the file or adjust expectedOccurrences.`,found:a,expected:o},{status:422}):Buffer.from(t.split(n).join(i),"utf-8")}})}async function U(e,{params:t}){let a,r=await (0,N.checkAuth)(e);if(!r.ok)return S("UNAUTHORIZED",r.message??"Unauthorized",401);let{path:n}=await t,i=C(n),o="true"===new URL(e.url).searchParams.get("recursive"),s=await (0,I.resolveWorkspaceForAgent)(e,"write");if(!s.ok)return S(s.code,s.code,s.status);let{ws:l,rootDir:c}=s;if(!(0,E.safeWorkspacePath)(c,i))return S("INVALID_PATH","Path traversal rejected",400);let u=await (0,P.safeAbsPath)(c,i);if(!u)return S("INVALID_PATH","Path rejected (symlink escape or denied)",400);let d=(0,N.enforceScope)(r.agent,{filePath:i,op:"delete",workspaceId:l.id});if(!d.ok)return S(d.code,d.message,403);let p=e.headers.get("if-match");try{a=await (0,m.stat)(u)}catch(e){if("ENOENT"===e.code)return S("NOT_FOUND","File not found",404);throw e}if(a.isDirectory())return o?(await (0,m.rm)(u,{recursive:!0,force:!0}),(0,x.writeAuditRow)({agentId:r.agent.id,op:"delete",path:i,forced:!1,workspaceId:l.id}),A.NextResponse.json({deleted:i})):S("IS_DIRECTORY","Use ?recursive=true to delete a directory",400);if(!p)return S("PRECONDITION_REQUIRED","If-Match header required for delete",412);let h=await (0,m.readFile)(u),f=(0,P.sha256ofBuf)(h);return(0,P.extractShaHex)(p)!==(0,P.extractShaHex)(f)?S("PRECONDITION_FAILED","If-Match sha256 mismatch",412):((0,P.isMarkdown)(i)?await (0,v.withFileMutex)((0,v.workspaceLockKey)(c,i),async()=>{await (0,m.unlink)(u),await (0,y.deleteSidecar)(c,i)}):await (0,m.unlink)(u),(0,x.writeAuditRow)({agentId:r.agent.id,op:"delete",path:i,oldSha:f,forced:!1,workspaceId:l.id}),A.NextResponse.json({deleted:i}))}e.s(["DELETE",0,U,"GET",0,k,"PATCH",0,_,"PUT",0,b,"runtime",0,"nodejs"],884551);var H=e.i(884551);let L=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/agent/fs/file/[...path]/route",pathname:"/api/agent/fs/file/[...path]",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/agent/fs/file/[...path]/route.ts",nextConfigOutput:"standalone",userland:H,...{}}),{workAsyncStorage:F,workUnitAsyncStorage:M,serverHooks:j}=L;async function B(e,t,r){r.requestMeta&&(0,n.setRequestMeta)(e,r.requestMeta),L.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let m="/api/agent/fs/file/[...path]/route";m=m.replace(/\/index$/,"")||"/";let A=await L.prepare(e,t,{srcPage:m,multiZoneDraftMode:!1});if(!A)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:N,params:I,nextConfig:E,parsedUrl:v,isDraftMode:y,prerenderManifest:O,routerServerContext:x,isOnDemandRevalidate:P,revalidateOnlyGenerated:T,resolvedPathname:C,clientReferenceManifest:S,serverActionsManifest:k}=A,D=(0,s.normalizeAppPath)(m),b=!!(O.dynamicRoutes[D]||O.routes[C]),_=async()=>((null==x?void 0:x.render404)?await x.render404(e,t,v,!1):t.end("This page could not be found"),null);if(b&&!y){let e=!!O.routes[C],t=O.dynamicRoutes[D];if(t&&!1===t.fallback&&!e){if(E.adapterPath)return await _();throw new g.NoFallbackError}}let U=null;!b||L.isDev||y||(U="/index"===(U=C)?"/":U);let H=!0===L.isDev||!b,F=b&&!H;k&&S&&(0,o.setManifestsSingleton)({page:m,clientReferenceManifest:S,serverActionsManifest:k});let M=e.method||"GET",j=(0,i.getTracer)(),B=j.getActiveScopeSpan(),q=!!(null==x?void 0:x.isWrappedByNextServer),$=!!(0,n.getRequestMeta)(e,"minimalMode"),V=(0,n.getRequestMeta)(e,"incrementalCache")||await L.getIncrementalCache(e,E,O,$);null==V||V.resetRequestCache(),globalThis.__incrementalCache=V;let W={params:I,previewProps:O.preview,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts},cacheComponents:!!E.cacheComponents,supportsDynamicResponse:H,incrementalCache:V,cacheLifeProfiles:E.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,n)=>L.onRequestError(e,t,r,n,x)},sharedContext:{buildId:N}},K=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),z=c.NextRequestAdapter.fromNodeNextRequest(K,(0,c.signalFromNodeResponse)(t));try{let n,o=async e=>L.handle(z,W).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let a=j.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==u.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=`${M} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t),n&&n!==e&&(n.setAttribute("http.route",r),n.updateName(t))}else e.updateName(`${M} ${m}`)}),s=async n=>{var i,s;let l=async({previousCacheEntry:a})=>{try{if(!$&&P&&T&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await o(n);e.fetchMetrics=W.renderOpts.fetchMetrics;let s=W.renderOpts.pendingWaitUntil;s&&r.waitUntil&&(r.waitUntil(s),s=void 0);let l=W.renderOpts.collectedTags;if(!b)return await (0,p.sendResponse)(K,X,i,W.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(i.headers);l&&(t[w.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==W.renderOpts.collectedRevalidate&&!(W.renderOpts.collectedRevalidate>=w.INFINITE_CACHE)&&W.renderOpts.collectedRevalidate,r=void 0===W.renderOpts.collectedExpire||W.renderOpts.collectedExpire>=w.INFINITE_CACHE?void 0:W.renderOpts.collectedExpire;return{value:{kind:R.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await L.onRequestError(e,t,{routerKind:"App Router",routePath:m,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:P})},!1,x),t}},c=await L.handleResponse({req:e,nextConfig:E,cacheKey:U,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:O,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:T,responseGenerator:l,waitUntil:r.waitUntil,isMinimalMode:$});if(!b)return null;if((null==c||null==(i=c.value)?void 0:i.kind)!==R.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==c||null==(s=c.value)?void 0:s.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});$||t.setHeader("x-nextjs-cache",P?"REVALIDATED":c.isMiss?"MISS":c.isStale?"STALE":"HIT"),y&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let u=(0,h.fromNodeOutgoingHttpHeaders)(c.value.headers);return $&&b||u.delete(w.NEXT_CACHE_TAGS_HEADER),!c.cacheControl||t.getHeader("Cache-Control")||u.get("Cache-Control")||u.set("Cache-Control",(0,f.getCacheControlHeader)(c.cacheControl)),await (0,p.sendResponse)(K,X,new Response(c.value.body,{headers:u,status:c.value.status||200})),null};q&&B?await s(B):(n=j.getActiveScopeSpan(),await j.withPropagatedContext(e.headers,()=>j.trace(u.BaseServerSpan.handleRequest,{spanName:`${M} ${m}`,kind:i.SpanKind.SERVER,attributes:{"http.method":M,"http.target":e.url}},s),void 0,!q))}catch(t){if(t instanceof g.NoFallbackError||await L.onRequestError(e,t,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:P})},!1,x),b)throw t;return await (0,p.sendResponse)(K,X,new Response(null,{status:500})),null}}e.s(["handler",0,B,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:F,workUnitAsyncStorage:M})},"routeModule",0,L,"serverHooks",0,j,"workAsyncStorage",0,F,"workUnitAsyncStorage",0,M],609011)}];
2
2
 
3
3
  //# sourceMappingURL=0.u4_next_dist_esm_build_templates_app-route_0hlp8kc.js.map